:root {
  --bg: #e3e7eb;
  --bg-2: #d6dbe1;
  --ink: #1f252b;
  --muted: #66707b;
  --line: #c3cad2;
  --body: #3d4650;
  --serif: "Cormorant Garamond", 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(--sans); font-weight: 300; line-height: 1.6; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
figure { overflow: hidden; }
figure img { transition: transform 1.2s ease, opacity .8s ease; cursor: zoom-in; }
@media (hover: hover) { figure:hover img { transform: scale(1.025); } }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; }
body.no-scroll { overflow: hidden; }

/* Header */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: max(1.25rem, env(safe-area-inset-top)) clamp(1.25rem, 4vw, 3rem) 1.25rem;
  color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.25);
  transition: background .3s, color .3s, padding .3s;
}
.nav.solid:not(.menu-open) {
  background: rgba(227,231,235,.92); color: var(--ink); text-shadow: none;
  padding-top: max(.8rem, env(safe-area-inset-top)); padding-bottom: .8rem;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(195,202,210,.6);
}
.logo { font-family: var(--serif); font-size: 1.5rem; letter-spacing: .04em; position: relative; z-index: 2; }
.nav nav { display: flex; align-items: center; }
.nav nav > a, .sub-toggle { margin-left: clamp(.9rem, 2.5vw, 2rem); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }
.sub-toggle { background: none; border: 0; cursor: pointer; text-shadow: inherit; display: inline-flex; align-items: center; gap: .4em; }
.sub-toggle::after { content: ""; width: .4em; height: .4em; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .25s; }
.has-sub { position: relative; }
.has-sub .sub {
  position: absolute; top: calc(100% + .9rem); left: 50%; transform: translate(-50%, -6px);
  min-width: 13rem; padding: .9rem 0; background: var(--ink); color: var(--bg); text-shadow: none;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.has-sub .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -1rem; height: 1rem; }
.has-sub .sub a { display: block; padding: .55rem 1.4rem; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; transition: background .2s; }
.has-sub .sub a[aria-current="page"] { background: rgba(255,255,255,.08); }
@media (hover: hover) { .has-sub .sub a:hover { background: rgba(255,255,255,.08); } }
@media (hover: hover) and (min-width: 761px) {
  .has-sub:hover .sub { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
}
@media (min-width: 761px) {
  .has-sub.open .sub, .has-sub:focus-within .sub { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
}
.has-sub.open .sub-toggle::after { transform: translateY(1px) rotate(-135deg); }

.menu-btn { display: none; position: relative; z-index: 2; width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; cursor: pointer; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .3s, top .3s; box-shadow: 0 0 6px rgba(0,0,0,.35); }
.nav.solid .menu-btn span, .menu-open .menu-btn span { box-shadow: none; }
.menu-btn span:first-child { top: 18px; }
.menu-btn span:last-child { top: 25px; }

/* Home hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 480px; }
.hero picture { display: block; height: 100%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.45), transparent 45%); }
.hero-text { position: absolute; left: clamp(1.25rem, 4vw, 3rem); bottom: clamp(2rem, 7vh, 5rem); color: #fff; z-index: 1; }
.hero h1 { font-family: "Syncopate", var(--sans); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 6.5vw, 6rem); line-height: 1.05; letter-spacing: .08em; }

.eyebrow { font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.hero .eyebrow { color: rgba(255,255,255,.85); }
.center { text-align: center; }
.lead { font-family: var(--serif); font-size: clamp(1.5rem, 2.8vw, 2.3rem); line-height: 1.3; font-weight: 300; }

.intro { max-width: 900px; margin: 0 auto; padding: clamp(5rem, 12vw, 10rem) 1.5rem; }

/* Home 3 x 4 photo grid */
.home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4.2vw, 60px); padding: clamp(24px, 4.2vw, 60px); }
.home-grid figure { aspect-ratio: 3 / 4; overflow: hidden; }
.home-grid img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .6s ease; }
.home-grid.square figure { aspect-ratio: 1; }
.home-grid video { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-grid .video { position: relative; }
.home-grid .video::after { content: ""; position: absolute; right: 12px; bottom: 12px; width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent rgba(255,255,255,.9); filter: drop-shadow(0 1px 3px rgba(0,0,0,.4)); transition: opacity .3s; pointer-events: none; }
.home-grid .video.playing::after { opacity: 0; }
.home-grid.square img { object-position: 50% 45%; }
@media (hover: hover) { .home-grid figure:hover img, .home-grid figure:hover video { transform: scale(1.03); } }
.home-grid video { transition: transform .6s ease; }
body:has(.home-grid) footer { padding-top: 2.5rem; }

/* Collections index list */
.coll-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: clamp(2.5rem, 5vw, 4rem); }
.coll-list a { display: flex; justify-content: space-between; align-items: baseline; padding: 1.2rem .25rem; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.6rem); transition: color .2s, padding .3s; }
.coll-list li:not(:nth-child(3n)) a { margin-right: 1.5rem; }
.coll-list a::after { content: "\2192"; font-family: var(--sans); font-size: .9rem; color: var(--muted); transition: transform .3s; }
.coll-list a:hover::after { transform: translateX(4px); }
.coll-list a:hover { color: var(--muted); }

.spread { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 6px; }
.spread .wide { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.spread .half { aspect-ratio: 3 / 2; }

.looks { padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 4vw, 3rem); max-width: 1400px; margin: 0 auto; }
.look { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: end; margin: clamp(3rem, 8vw, 7rem) 0; }
.look.reverse > .tall { order: 2; }
.look .tall { aspect-ratio: 2 / 3; }
.look-side figure { aspect-ratio: 3 / 2; margin-top: 2rem; }
.look h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; margin-bottom: 1rem; }
.look h2 span { display: block; font-family: var(--sans); font-size: .7rem; letter-spacing: .3em; color: var(--muted); margin-bottom: .6rem; }
.look p { max-width: 34ch; color: var(--body); }
.look.solo { grid-template-columns: 2fr 1fr; }
.look.solo figure { aspect-ratio: 3 / 2; }

.process { padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 4vw, 3rem); border-top: 1px solid var(--line); margin-top: 6px; }
.process .lead { margin-bottom: 3.5rem; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.75rem, 2vw, 1.5rem); max-width: 1200px; margin: 0 auto; }
.grid3 figure img { aspect-ratio: 3 / 4; }
figcaption { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: .8rem; }

/* Collection sub-pages */
.page-head { max-width: 1100px; margin: 0 auto; padding: clamp(8rem, 16vw, 12rem) clamp(1.25rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem); }
.page-head .crumb a { color: var(--muted); }
.page-head .crumb a:hover { color: var(--ink); }
.page-head h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 9vw, 7.5rem); line-height: .95; letter-spacing: -.01em; margin-bottom: 1.5rem; }
.page-head .lead { max-width: 36ch; color: var(--body); }
.gallery { columns: 3 320px; column-gap: 6px; padding: 0 6px; }
.gallery figure { break-inside: avoid; margin-bottom: 6px; }
.gallery img { height: auto; }
.coming-soon { margin: 0 clamp(1.25rem, 4vw, 3rem); border: 1px solid var(--line); background: var(--bg-2); min-height: 38vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 4rem 1.5rem; }
.coming-soon p:last-child { font-family: var(--serif); font-size: clamp(1.4rem, 2.5vw, 2rem); }
.coll-pager { display: flex; justify-content: space-between; gap: 1rem; padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3rem); max-width: 1400px; margin: 0 auto; }
.coll-pager a { display: flex; flex-direction: column; gap: .3rem; font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 2rem); }
.coll-pager a span { font-family: var(--sans); font-size: .68rem; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); }
.coll-pager a:last-child { text-align: right; margin-left: auto; }

.contact { text-align: center; padding: clamp(5rem, 10vw, 8rem) 1.5rem; background: var(--ink); color: var(--bg); }
.contact h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: 1rem; }
.contact .eyebrow { color: #9aa3ad; }
footer { background: var(--ink); color: #87909a; text-align: center; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; padding: 0 1rem 2.5rem; }

.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(22,27,32,.96); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s; padding: 3.5rem 1rem; touch-action: pan-y; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; cursor: default; }
.lightbox button { position: absolute; background: none; border: 0; color: #eee; cursor: pointer; font-family: var(--serif); line-height: 1; padding: .5rem 1rem; }
.lb-close { top: max(.5rem, env(safe-area-inset-top)); right: .5rem; font-size: 2.4rem; }
.lb-nav { top: 50%; transform: translateY(-50%); font-size: 3rem; opacity: .7; }
.lb-prev { left: 0; }
.lb-next { right: 0; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav nav {
    position: fixed; inset: 0; background: var(--ink); color: var(--bg); text-shadow: none;
    flex-direction: column; justify-content: center; align-items: center; gap: 1.6rem;
    overflow-y: auto; padding: 5rem 1.5rem;
    opacity: 0; pointer-events: none; transition: opacity .35s;
  }
  .nav nav > a, .sub-toggle { margin: 0; font-family: var(--serif); font-size: 2rem; letter-spacing: .02em; text-transform: none; }
  .sub-toggle { justify-content: center; }
  .has-sub { display: flex; flex-direction: column; align-items: center; }
  .has-sub .sub {
    position: static; transform: none; background: none; box-shadow: none; min-width: 0; padding: 0;
    opacity: 1; pointer-events: auto; max-height: 0; overflow: hidden; text-align: center;
    transition: max-height .4s ease, margin .4s ease;
  }
  .has-sub.open .sub { max-height: 22rem; margin-top: .6rem; }
  .has-sub .sub::before { display: none; }
  .has-sub .sub a { padding: .45rem 1rem; font-size: .75rem; color: #b8c0c8; }
  .menu-open nav { opacity: 1; pointer-events: auto; }
  .menu-open .menu-btn span:first-child { top: 21px; transform: rotate(45deg); }
  .menu-open .menu-btn span:last-child { top: 21px; transform: rotate(-45deg); }
  .menu-open { color: var(--bg); text-shadow: none; }

  .hero img { object-position: 50% 30%; }
  .intro { padding: 4rem 1.5rem; }
  .coll-list { grid-template-columns: 1fr; }
  .coll-list li a { margin-right: 0 !important; }
  .spread { grid-template-columns: 1fr; gap: 4px; padding: 0 4px; }
  .spread .wide, .spread .half { aspect-ratio: 4 / 3; }
  .looks { padding: 4rem 1.25rem; }
  .look, .look.solo { grid-template-columns: 1fr; gap: 1.5rem; margin: 3rem 0 4rem; }
  .look.reverse > .tall { order: 0; }
  .look .tall { aspect-ratio: 4 / 5; }
  .look-side figure { margin-top: 1.5rem; }
  .look p { max-width: none; }
  .process { padding: 4rem 1.25rem; }
  .process .lead { margin-bottom: 2rem; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .grid3 figure:first-child { grid-column: 1 / -1; }
  .grid3 figure:first-child img { aspect-ratio: 4 / 3; }
  .gallery { columns: 2; column-gap: 4px; padding: 0 4px; }
  .gallery figure { margin-bottom: 4px; }
  .page-head { padding-top: 7rem; }
  .contact { padding: 4rem 1.5rem; }
  footer { padding-bottom: max(2.5rem, env(safe-area-inset-bottom)); }
  .lb-nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  figure img { transition: none; }
}
