:root {
  --ink: #111;
  --muted: #8a8a8a;
  --line: #e6e6e6;
  --bg: #fcfcfc;
  --display: "Cormorant Garamond", Georgia, serif;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: center; gap: 2.2rem;
  padding: 1.4rem 1rem;
  background: rgba(252,252,252,.92);
  backdrop-filter: blur(6px);
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .08em;
}
.nav a { color: var(--muted); transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--ink); }

/* IMAGE FRAMES — grey placeholder until a photo is added */
.frame {
  position: relative;
  background: #ececec;
  overflow: hidden;
}
.frame::before {
  content: attr(data-label);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--sans); font-size: .65rem; letter-spacing: .06em;
  color: #aaa;
}
.frame img {
  position: relative;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
}

/* HERO */
.hero {
  max-width: 1200px; margin: 0 auto;
  min-height: 80vh;
  display: grid; grid-template-columns: 1fr 1.6fr;
  align-items: center; gap: 3rem;
  padding: 3rem 4rem 8rem;
}
.name {
  font-family: var(--display);
  font-weight: 300;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: .02em;
}
.tagline {
  margin-top: .6rem;
  font-style: italic;
  font-size: .85rem;
}
.hero-img { aspect-ratio: 3 / 2; }

/* ABOUT */
.about {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.7fr;
  gap: 4rem;
  padding: 6rem 4rem;
}
.portrait { aspect-ratio: 3 / 4.4; }
.role {
  margin: .9rem 0 2.2rem;
  font-family: var(--sans); font-weight: 500;
  font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
}
.about-text p:not(.role) {
  font-size: .85rem; line-height: 1.85;
  margin-bottom: 1.3rem;
  max-width: 46ch;
}

/* GALLERIES */
.section { padding: 6rem 2rem; }
.section-title {
  text-align: center;
  font-family: var(--sans); font-weight: 400;
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2.5rem;
}
.project-intro {
  max-width: 560px; margin: 0 auto 3rem;
  text-align: center;
}
.project-title {
  font-family: var(--display); font-weight: 300;
  font-size: 2rem; text-transform: uppercase; letter-spacing: .03em;
  margin-bottom: 1.4rem;
}
.project-intro p {
  font-size: .85rem; line-height: 1.85; color: #333;
  margin-bottom: 1rem;
}
.grid { display: grid; gap: .5rem; margin: 0 auto; }
.grid-3 { grid-template-columns: repeat(3, 1fr); max-width: 1000px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.narrow { max-width: 560px; }
.grid .frame { aspect-ratio: 3 / 4.2; }
.grid img { transition: transform .6s ease; }
.grid .frame:hover img { transform: scale(1.03); }

/* CONTACT */
.contact {
  text-align: center;
  padding: 6rem 2rem 6rem;
}
.contact-intro {
  font-size: .75rem; line-height: 1.9; color: #555;
  margin-bottom: 3.5rem;
}
.contact-title {
  font-family: var(--display); font-weight: 400;
  font-size: 1.7rem; text-transform: uppercase; letter-spacing: .04em;
}
.email { display: inline-block; margin-top: .3rem; font-size: .78rem; }
.email:hover { text-decoration: underline; }
.socials { display: flex; justify-content: center; gap: 1rem; margin-top: 1.6rem; }
.socials a {
  width: 44px; height: 44px; border: 1.5px solid var(--ink); border-radius: 50%;
  display: grid; place-items: center; transition: background .2s, color .2s;
}
.socials a:hover { background: var(--ink); color: var(--bg); }
.socials svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.footer {
  text-align: center;
  padding: 3rem 1rem 2.5rem;
  font-family: var(--sans); font-size: .6rem; letter-spacing: .06em;
  color: #b5b5b5;
}

/* MOBILE */
@media (max-width: 760px) {
  .nav { gap: 1.1rem; font-size: .65rem; }
  .hero, .about { grid-template-columns: 1fr; padding: 2.5rem 1.5rem; gap: 2rem; }
  .hero { min-height: auto; padding-bottom: 5rem; }
  .hero-text { text-align: center; order: 2; }
  .about-text { text-align: left; }
  .portrait { max-width: 320px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 4rem 1rem; }
}

/* MASONRY GALLERIES — photos shown uncropped */
.masonry { columns: 3; column-gap: .6rem; max-width: 1100px; margin: 0 auto; }
.masonry.two { columns: 2; max-width: 720px; }
.masonry .frame { break-inside: avoid; margin-bottom: .6rem; background: none; }
.masonry .frame::before { display: none; }
.masonry img { height: auto; cursor: zoom-in; transition: opacity .3s; }
.masonry img:hover { opacity: .85; }

/* LIGHTBOX */
.lightbox {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(252,252,252,.97);
  display: none; place-items: center; cursor: zoom-out;
}
.lightbox.open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 90vh; object-fit: contain; filter: grayscale(100%); }

@media (max-width: 760px) {
  .masonry { columns: 2; }
}

/* keep section tops clear of the sticky menu when jumping via links */
section { scroll-margin-top: 4rem; }
@media (max-width: 760px) {
  .hero-text { order: 0; }   /* name above the photo on phones */
  .portrait { margin: 0 auto; width: 100%; }
}
