/* Genesis — model portfolio
   Editorial and quiet so the photographs lead. Plum-black, bone, gold as hairline.
   One signature shape: every frame has a single clipped corner. */

@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda-italic.woff2") format("woff2");
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --ink: #0f0912;
  --ink-2: #160f1a;
  --ink-3: #201726;
  --bone: #efe7db;
  --bone-dim: #a89e94;
  --gold: #c5a266;
  --gold-hi: #e9d5a6;
  --line: rgba(197, 162, 102, .32);
  --hair: rgba(239, 231, 219, .12);
  --glow: rgba(124, 76, 170, .34);

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", "Times New Roman", serif;
  --sans: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --wrap: max(var(--gutter), calc((100vw - 1320px) / 2));
  --corner: clamp(22px, 2.6vw, 40px);
  --ease: cubic-bezier(.2, .7, .1, 1);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font: 300 1.0625rem/1.7 var(--sans);
  overflow-x: clip;
}
/* faint film grain — static */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; }
em { font-style: italic; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 1px solid var(--gold-hi); outline-offset: 4px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--ink); padding: .6em 1em; text-decoration: none;
}
.skip:focus { top: 16px; }

/* ---------- the signature: one clipped corner, and a hairline frame offset behind ---------- */
.cut { clip-path: polygon(0 0, calc(100% - var(--corner)) 0, 100% var(--corner), 100% 100%, 0 100%); }
.framed { position: relative; isolation: isolate; }
.framed::before {
  content: ""; position: absolute; z-index: -1;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--line);
  pointer-events: none;
}
.frame-code {
  margin: 30px 0 0;
  font: 400 .62rem/1 var(--sans); letter-spacing: .32em; text-transform: uppercase;
  color: var(--bone-dim);
}

/* ---------- type ---------- */
.label {
  font: 400 .68rem/1.5 var(--sans);
  letter-spacing: .34em; text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}
.sec-head { padding: 0 var(--wrap); margin-bottom: clamp(40px, 6vw, 80px); }
.sec-head-left { padding: 0; }
.sec-num {
  display: flex; align-items: center; gap: 18px;
  margin: 0 0 18px;
  font: 400 .7rem/1 var(--sans); letter-spacing: .3em; color: var(--gold);
}
.sec-num::after { content: ""; flex: 0 0 64px; height: 1px; background: var(--line); }
.sec-title {
  margin: 0;
  font: 400 clamp(2.8rem, 7vw, 6.4rem)/.95 var(--serif);
  letter-spacing: -.025em;
}
.sec-title em { color: var(--gold-hi); }
.sec-note { margin: 22px 0 0; color: var(--bone-dim); max-width: 36em; }

/* placeholder content the client still owes — easy to grep, easy to spot */
.todo {
  font: 400 .78em/1.3 var(--sans);
  letter-spacing: .03em;
  color: var(--ink);
  background: #f3d34a;
  padding: .05em .35em;
  border-radius: 2px;
}

/* ---------- image placeholders ---------- */
.ph {
  position: relative;
  display: grid; place-content: center; gap: 10px;
  text-align: center;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(80% 60% at 30% 20%, rgba(197, 162, 102, .10), transparent 70%),
    repeating-linear-gradient(-45deg, rgba(239, 231, 219, .035) 0 1px, transparent 1px 14px),
    var(--ink-3);
  color: var(--bone);
}
.ph::before { /* crop marks */
  content: ""; position: absolute; inset: 12%;
  background:
    linear-gradient(var(--line), var(--line)) 0 0 / 16px 1px,
    linear-gradient(var(--line), var(--line)) 0 0 / 1px 16px,
    linear-gradient(var(--line), var(--line)) 100% 100% / 16px 1px,
    linear-gradient(var(--line), var(--line)) 100% 100% / 1px 16px;
  background-repeat: no-repeat;
}
.ph-label { font: italic 400 clamp(1.4rem, 2.4vw, 2rem)/1 var(--serif); }
.ph-meta { font: 400 .6rem/1.3 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--bone-dim); }
.ph-light { background: repeating-linear-gradient(-45deg, rgba(15, 9, 18, .05) 0 1px, transparent 1px 12px), #e4ddd1; color: #2a2230; }
.ph-light::before { display: none; }
.ph-light .ph-label { font-size: clamp(1rem, 1.6vw, 1.3rem); }
.ph-light .ph-meta { color: #6d6168; font-size: .52rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 30px;
  font: 400 .72rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  transition: background .35s var(--ease), color .35s var(--ease);
}
.btn-solid { border: 0; background: var(--gold); color: var(--ink); }
.btn-solid:hover, .btn-solid:focus-visible { background: var(--gold-hi); }
.btn-line { border: 1px solid var(--line); background: transparent; color: var(--bone); }
.btn-line:hover, .btn-line:focus-visible { border-color: var(--gold); color: var(--gold-hi); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 70;
  display: flex; align-items: center; justify-content: space-between;
  padding: max(18px, env(safe-area-inset-top)) var(--gutter) 18px;
  background: linear-gradient(var(--ink), rgba(15, 9, 18, .75) 60%, transparent);
}
.nav-mark { font: 400 1.35rem/1 var(--serif); letter-spacing: .01em; text-decoration: none; }
.nav-menu { display: flex; gap: clamp(20px, 3vw, 44px); align-items: center; }
.nav-menu a {
  font: 400 .68rem/1 var(--sans); letter-spacing: .32em; text-transform: uppercase;
  text-decoration: none; color: var(--bone); padding: 10px 0;
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat;
  transition: background-size .45s var(--ease), color .3s;
}
.nav-menu a:hover, .nav-menu a:focus-visible { color: var(--gold-hi); background-size: 100% 1px; }
.nav-menu .nav-book { padding: 13px 22px; border: 1px solid var(--line); background: none; }
.nav-menu .nav-book:hover { border-color: var(--gold); }
.nav-toggle { display: none; }

/* language switch: ES / EN with a gold hairline that slides to the active one */
.lang {
  position: relative;
  display: flex; align-items: center; gap: 2px;
  margin-left: clamp(18px, 2.4vw, 36px);
}
.lang button {
  position: relative; z-index: 1;
  min-width: 40px; min-height: 44px; padding: 0 6px;
  background: none; border: 0; cursor: pointer;
  font: 400 .66rem/1 var(--sans); letter-spacing: .28em; text-indent: .28em;
  color: var(--bone-dim);
  transition: color .4s var(--ease);
}
.lang button:hover { color: var(--bone); }
.lang button[aria-pressed="true"] { color: var(--gold-hi); }
.lang button + button::before { /* the slash between them */
  content: ""; position: absolute; left: -1px; top: 50%;
  width: 1px; height: 14px; translate: 0 -50%; rotate: 20deg;
  background: var(--line);
}
.lang-bar {
  position: absolute; left: 6px; bottom: 9px;
  width: 28px; height: 1px; background: var(--gold);
  transition: translate .55s var(--ease), width .55s var(--ease);
}
.lang[data-lang="en"] .lang-bar { translate: 42px 0; }

/* the language switch re-develops the page: old copy blurs out, new copy sharpens in */
@media (prefers-reduced-motion: no-preference) {
  .lang-switch::view-transition-old(root) { animation: lang-out .45s var(--ease) both; }
  .lang-switch::view-transition-new(root) { animation: lang-in .6s .1s var(--ease) both; }
}
@keyframes lang-out { to { opacity: 0; filter: blur(8px); } }
@keyframes lang-in { from { opacity: 0; filter: blur(8px); } }

@media (min-width: 760px) {
  .nav-menu { margin-left: auto; }
}
@media (max-width: 759px) {
  .lang { margin-left: auto; margin-right: 6px; }

  /* the hamburger stays exactly as it is — two lines, the lower one shorter —
     and folds into an × when the menu opens, then back */
  .nav-toggle {
    position: relative; z-index: 2;
    display: grid; place-content: center; gap: 8px;
    width: 48px; height: 48px; margin-right: -12px;
    background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span {
    display: block; width: 26px; height: 1px; background: var(--bone);
    transition: translate .45s var(--ease), rotate .45s var(--ease), width .45s var(--ease), background .3s;
  }
  .nav-toggle span:last-child { width: 16px; justify-self: end; }
  .menu-open .nav-toggle span { background: var(--gold-hi); }
  .menu-open .nav-toggle span:first-child { translate: 0 4.5px; rotate: 45deg; }
  .menu-open .nav-toggle span:last-child { width: 26px; translate: 0 -4.5px; rotate: -45deg; }

  .nav-menu {
    position: fixed; inset: 0; z-index: -1;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
    gap: 22px; padding: 100px var(--gutter) 60px;
    background: var(--ink);
    visibility: hidden; opacity: 0;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path .6s var(--ease), opacity .4s, visibility 0s .6s;
  }
  .menu-open .nav-menu {
    visibility: visible; opacity: 1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transition: clip-path .6s var(--ease), opacity .3s, visibility 0s;
  }
  .nav-menu a {
    font: 400 2.6rem/1.1 var(--serif); letter-spacing: -.015em; text-transform: none;
    opacity: 0; translate: 0 14px;
    transition: opacity .4s, translate .5s var(--ease), color .3s;
  }
  .menu-open .nav-menu a { opacity: 1; translate: 0 0; }
  .menu-open .nav-menu a:nth-child(2) { transition-delay: .06s; }
  .menu-open .nav-menu a:nth-child(3) { transition-delay: .12s; }
  .menu-open .nav-menu a:nth-child(4) { transition-delay: .18s; }
  .menu-open .nav-menu a:nth-child(5) { transition-delay: .24s; }
  .nav-menu .nav-book { font: 400 .75rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; margin-top: 18px; }
  .menu-open { overflow: hidden; }
}

/* ---------- running folio ---------- */
.folio {
  position: fixed; left: 26px; top: 50%; z-index: 60;
  margin: 0; display: none; align-items: center; gap: 12px;
  writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg);
  font: 400 .6rem/1 var(--sans); letter-spacing: .32em; text-transform: uppercase;
  color: var(--bone-dim);
}
.folio-num { color: var(--gold); }
.folio-rule { display: inline-block; width: 1px; height: 36px; background: var(--line); }
@media (min-width: 1200px) { .folio { display: flex; } }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid; align-items: center;
  grid-template-columns: minmax(0, 1fr);
  gap: 64px;
  padding: 130px var(--wrap) 110px;
  isolation: isolate;
  --x: 70%; --y: 40%; --fx: 50%; --fy: 30%;
}
.hero-glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(36vmax 36vmax at var(--x) var(--y), var(--glow), transparent 70%);
}
.hero-text { position: relative; z-index: 2; }
.hero-name {
  margin: .12em 0 .18em;
  font: 400 clamp(4.4rem, 17vw, 15rem)/.82 var(--serif);
  letter-spacing: -.045em;
}
.hero-line { font: italic 400 clamp(1.15rem, 1.9vw, 1.5rem)/1.4 var(--serif); margin: 0 0 34px; max-width: 24em; }
.hero-line em { color: var(--gold-hi); }
.hero-facts {
  display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 14px 40px;
  margin: 0 0 40px; padding: 22px 0; border-block: 1px solid var(--hair);
}
.hero-facts dt { font: 400 .6rem/1.6 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.hero-facts dd { margin: 0; font: 400 1.1rem/1.3 var(--serif); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-frame { justify-self: center; width: min(86vw, 520px); }
.hero-photo { position: relative; aspect-ratio: 784 / 1134; overflow: hidden; background: var(--ink-3); }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-dim img { filter: brightness(.3) contrast(1.05); }
.hero-lit img {
  -webkit-mask-image: radial-gradient(ellipse 62% 44% at var(--fx) var(--fy), #000 0%, #000 32%, transparent 100%);
          mask-image: radial-gradient(ellipse 62% 44% at var(--fx) var(--fy), #000 0%, #000 32%, transparent 100%);
}
/* phones: the light follows a finger, or sweeps down her as the page scrolls
   (JS sets --fx/--fy in %); reduced motion gets a fixed soft light instead */
@media (hover: none) {
  .hero-lit img {
    -webkit-mask-image: radial-gradient(ellipse 78% 46% at var(--fx) var(--fy), #000 0%, #000 34%, transparent 100%);
            mask-image: radial-gradient(ellipse 78% 46% at var(--fx) var(--fy), #000 0%, #000 34%, transparent 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-lit img {
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 34%, #000 35%, transparent 100%);
            mask-image: radial-gradient(ellipse 90% 70% at 50% 34%, #000 35%, transparent 100%);
  }
}
@media (max-width: 899px) {
  /* on phones the photograph leads */
  .hero { padding-top: 104px; gap: 44px; }
  .hero-frame { order: -1; width: min(74vw, 380px); justify-self: start; }
  .hero-kicker { letter-spacing: .24em; font-size: .6rem; }
}
.hero-cue {
  position: absolute; left: 50%; bottom: 34px; translate: -50% 0;
  text-decoration: none; font-size: .58rem; color: var(--bone-dim);
  display: none;
}
.hero-cue::after { content: ""; display: block; width: 1px; height: 40px; margin: 12px auto 0; background: var(--line); }

@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 5vw; }
  .hero-text { order: 0; }
  .hero-name { margin-right: -9vw; } /* the name runs into the photograph */
  .hero-frame { justify-self: end; width: min(38vw, 540px, calc((100svh - 250px) * 784 / 1134)); }
  .hero-facts { grid-template-columns: repeat(4, auto); }
  .hero-cue { display: block; }
}

/* ---------- runway ---------- */
.walk { position: relative; background: var(--ink-2); padding: clamp(90px, 10vw, 140px) 0; border-block: 1px solid var(--hair); }
.walk-pin { position: relative; }
.walk-hint { color: var(--gold); letter-spacing: .1em; }
.walk-track {
  list-style: none; margin: 0; padding: 10px var(--wrap) 20px;
  display: flex; gap: 22px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--wrap);
  scrollbar-width: none;
}
.walk-track::-webkit-scrollbar { display: none; }
.look { flex: 0 0 68vw; max-width: 340px; scroll-snap-align: center; --dev: 1; }
.look-frame {
  position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: var(--ink-3);
  filter: grayscale(calc(1 - var(--dev))) brightness(calc(.4 + .6 * var(--dev)));
}
.look-frame img { width: 100%; height: 100%; object-fit: cover; }
.look-frame.ph { aspect-ratio: 9 / 16; }
.look-cap {
  display: flex; flex-direction: column; gap: 8px;
  margin: 18px 0 0; font: italic 400 1.2rem/1.2 var(--serif);
  opacity: calc(.45 + .55 * var(--dev));
}
.look-cap .frame-code { margin: 0; font-style: normal; }
.walk-progress { margin: 34px var(--wrap) 0; height: 1px; background: var(--hair); }
.walk-progress span { display: block; height: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(var(--p, .08)); }

@property --p { syntax: "<number>"; inherits: true; initial-value: 0; }
@keyframes walk { from { --p: 0; } to { --p: 1; } }

/* Desktop: pin the section and walk the looks sideways as the page scrolls.
   Height gives the scroll distance; --shift is set by JS from the track width. */
@media (min-width: 900px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .walk { height: 380vh; padding: 0; }
  @supports (animation-timeline: view()) {
    .walk { animation: walk linear both; animation-timeline: view(); animation-range: contain 0% contain 100%; }
  }
  .walk-pin {
    position: sticky; top: 0; height: 100vh; overflow: hidden;
    display: grid; grid-template-rows: 1fr auto; align-content: center;
    padding: 100px 0 48px;
  }
  .walk-hint { display: none; }
  .walk-head {
    position: absolute; left: 0; top: 50%; translate: 0 -50%;
    width: 36vw; margin: 0; z-index: 1;
    opacity: clamp(0, 1 - var(--p, 0) * 9, 1);
  }
  .walk-track {
    position: relative; z-index: 2;
    align-self: center;
    overflow: visible; scroll-snap-type: none;
    align-items: center; gap: 5vw;
    padding: 0 14vw 0 max(var(--gutter), 44vw);
    transform: translateX(calc(var(--p, 0) * var(--shift, 0px) * -1));
    will-change: transform;
  }
  .look { flex: 0 0 auto; width: min(20vw, 34vh); max-width: none; --dev: 0; }
  .walk-progress { grid-row: 2; }
}

/* ---------- portfolio ---------- */
.portfolio { padding: clamp(110px, 12vw, 180px) 0; }
.filters {
  display: flex; flex-wrap: wrap; gap: 6px 28px;
  padding: 0 var(--wrap); margin: 0 0 clamp(40px, 5vw, 64px);
}
.filters button {
  min-height: 44px; padding: 0;
  background: none; border: 0; cursor: pointer;
  font: 400 .7rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase;
  color: var(--bone-dim);
  background: linear-gradient(var(--gold), var(--gold)) 0 calc(100% - 8px) / 0 1px no-repeat;
  transition: color .3s, background-size .45s var(--ease);
}
.filters button:hover { color: var(--bone); }
.filters button[aria-pressed="true"] { color: var(--gold-hi); background-size: 100% 1px; }
.filters button[hidden] { display: none; }

.gallery {
  list-style: none; margin: 0; padding: 0 var(--wrap);
  columns: 1; column-gap: clamp(20px, 3vw, 44px);
}
@media (min-width: 640px) { .gallery { columns: 2; } }
@media (min-width: 1100px) { .gallery { columns: 3; } }
.shot { break-inside: avoid; margin: 0 0 clamp(36px, 4vw, 56px); }
.shot[hidden] { display: none; }
.shot-frame {
  position: relative; display: block; width: 100%; padding: 0; border: 0; margin: 0;
  aspect-ratio: 4 / 5; overflow: hidden;
  background-color: var(--ink-3);
}
.shot-tall .shot-frame { aspect-ratio: 3 / 4; }
.shot-frame.ph { display: grid; }
.shot-open { cursor: zoom-in; }
.shot-open img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.4s var(--ease); }
.shot-open:hover img { scale: 1.02; }
.has-loupe .shot-open { cursor: none; }
.shot-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 14px 0 0; font: italic 400 1.1rem/1.3 var(--serif); }
.shot-meta .label { order: 2; font-style: normal; font-size: .58rem; color: var(--bone-dim); }

/* the loupe */
.loupe {
  position: fixed; left: 0; top: 0; z-index: 80;
  width: 210px; height: 210px; margin: -105px 0 0 -105px;
  background-color: var(--ink-3); background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px var(--gold-hi), inset 0 0 40px rgba(0, 0, 0, .35);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  pointer-events: none;
  opacity: 0; scale: .85;
  transition: opacity .25s, scale .35s var(--ease);
}
.loupe.on { opacity: 1; scale: 1; }
.loupe-x { position: absolute; left: 12px; bottom: 10px; font-size: .55rem; color: var(--gold-hi); text-shadow: 0 1px 4px #000; }

/* ---------- digitals ---------- */
.digitals { background: var(--ink-2); padding: clamp(110px, 12vw, 180px) 0; border-block: 1px solid var(--hair); }
.digitals-grid {
  display: grid; gap: clamp(56px, 7vw, 100px); align-items: start;
  padding: 0 var(--wrap);
}
@media (min-width: 980px) { .digitals-grid { grid-template-columns: 1.2fr 1fr; } }
.polaroids { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 2.4vw, 28px); }
.polaroid {
  margin: 0; padding: 10px 10px 0;
  background: #f4efe6; color: #2a2230;
  box-shadow: 0 24px 50px -30px #000;
  transition: translate .5s var(--ease);
}
.polaroid:hover { translate: 0 -4px; }
.polaroid-img { aspect-ratio: 3 / 4; }
.polaroid figcaption { padding: 14px 0 16px; text-align: center; font: 400 .58rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; }

.spec {
  position: relative;
  padding: clamp(28px, 4vw, 44px);
  background: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.spec-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.units { display: flex; border: 1px solid var(--line); }
.units button {
  min-width: 48px; min-height: 36px; padding: 0 12px;
  background: none; border: 0; cursor: pointer;
  font: 400 .66rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--bone-dim);
}
.units button[aria-pressed="true"] { background: var(--gold); color: var(--ink); }
.stats { margin: 0 0 32px; }
.stats div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--hair); }
.stats dt { font: 400 .62rem/1.6 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.stats dd { margin: 0; font: 400 1.15rem/1.3 var(--serif); text-align: right; }
.spec-note { margin: 16px 0 0; color: var(--bone-dim); font-size: .85rem; }

/* ---------- about ---------- */
.about {
  display: grid; gap: clamp(56px, 7vw, 110px); align-items: center;
  padding: clamp(110px, 13vw, 200px) var(--wrap);
}
.about-frame { width: min(86vw, 480px); justify-self: center; }
.about-photo { aspect-ratio: 3 / 4; overflow: hidden; background: var(--ink-3); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-copy .sec-head { margin-bottom: 36px; }
.about-lede { font: italic 400 clamp(1.5rem, 2.6vw, 2.1rem)/1.3 var(--serif); margin: 0 0 24px; max-width: 20em; }
.about-copy p:not(.about-lede):not(.sec-num) { max-width: 34em; color: var(--bone); }
@media (min-width: 900px) {
  .about { grid-template-columns: 5fr 6fr; }
  .about-frame { justify-self: start; }
}

/* ---------- booking ---------- */
.book {
  display: grid; gap: clamp(48px, 6vw, 96px);
  padding: clamp(110px, 12vw, 180px) var(--wrap);
  background: var(--ink-2); border-top: 1px solid var(--hair);
}
@media (min-width: 1000px) { .book { grid-template-columns: 4fr 7fr; } }
.book-intro > p { color: var(--bone); max-width: 26em; }
.contact { margin: 36px 0 0; }
.contact div { padding: 14px 0; border-top: 1px solid var(--hair); }
.contact dt { font: 400 .6rem/1.6 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.contact dd { margin: 4px 0 0; font: 400 1.1rem/1.4 var(--serif); }

.book-form { display: grid; gap: 26px 28px; align-content: start; }
@media (min-width: 720px) {
  .book-form { grid-template-columns: 1fr 1fr; }
  .field-wide { grid-column: 1 / -1; }
}
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend {
  font: 400 .62rem/1.4 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold);
  padding: 0; margin-bottom: 6px;
}
.field legend { margin-bottom: 14px; }
.opt { color: var(--bone-dim); letter-spacing: .1em; text-transform: none; }
.book-form input:not([type="hidden"]):not(.hp), .book-form select, .book-form textarea {
  width: 100%; min-height: 48px;
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  color: var(--bone);
  font: 300 1rem/1.4 var(--sans);
  padding: 10px 2px;
  transition: border-color .3s;
  color-scheme: dark;
}
.book-form select option { background: var(--ink-2); }
.book-form textarea { resize: vertical; min-height: 130px; }
.book-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 12px) 50%, calc(100% - 7px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 30px; }
.book-form :is(input, select, textarea):focus { outline: none; border-color: var(--gold-hi); }
.book-form ::placeholder { color: rgba(168, 158, 148, .6); }
.field-pair { display: flex; align-items: center; gap: 12px; }
.field-pair span { color: var(--gold); }
.field-trio { display: grid; gap: 14px; }
@media (min-width: 560px) { .field-trio { grid-template-columns: repeat(3, 1fr); } }
.hp { position: absolute; left: -9999px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 6px; }
.form-legal { color: var(--bone-dim); font-size: .82rem; margin: 0; max-width: 32em; }
.form-status { margin: 0; min-height: 1.5em; font: italic 400 1.1rem/1.4 var(--serif); color: var(--gold-hi); }
.form-status[data-state="error"] { color: #eba4a4; }

/* ---------- footer ---------- */
.footer { text-align: center; padding: clamp(80px, 10vw, 140px) var(--gutter) max(44px, env(safe-area-inset-bottom)); border-top: 1px solid var(--hair); }
.footer-mark { margin: 0 0 36px; font: 400 clamp(3.6rem, 13vw, 11rem)/.85 var(--serif); letter-spacing: -.045em; }
.footer-links { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.footer-links a { font: 400 .68rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; text-decoration: none; padding: 12px 0; }
.footer-links a:hover { color: var(--gold-hi); }
.footer-legal { color: var(--bone-dim); font-size: .58rem; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { color: var(--gold); }

/* ---------- lightbox ---------- */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; color: var(--bone); overflow: hidden;
}
.lightbox::backdrop { background: rgba(10, 6, 12, .96); }
.lightbox figure { margin: 0; height: 100%; display: grid; place-items: center; grid-template-rows: 1fr auto; padding: 70px 16px 28px; }
.lightbox img {
  max-width: min(92vw, 1000px); max-height: calc(100dvh - 160px); width: auto; height: auto; object-fit: contain;
  clip-path: polygon(0 0, calc(100% - var(--corner)) 0, 100% var(--corner), 100% 100%, 0 100%);
}
.lightbox figcaption { padding-top: 18px; text-align: center; font: italic 400 1.15rem/1.3 var(--serif); }
.lightbox figcaption .label { display: block; font-style: normal; font-size: .58rem; margin-bottom: 6px; }
.lightbox button {
  position: absolute; width: 50px; height: 50px;
  background: rgba(15, 9, 18, .6); border: 1px solid var(--line); color: var(--bone);
  font: 300 1.6rem/1 var(--sans); cursor: pointer; display: grid; place-items: center;
}
.lightbox button:hover { border-color: var(--gold); color: var(--gold-hi); }
.lb-close { top: max(18px, env(safe-area-inset-top)); right: 20px; }
.lb-prev { left: 20px; top: 50%; translate: 0 -50%; }
.lb-next { right: 20px; top: 50%; translate: 0 -50%; }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 20px; translate: none; } }
.lightbox[data-count="1"] :is(.lb-prev, .lb-next) { display: none; }
::view-transition-group(*) { animation-duration: .6s; animation-timing-function: var(--ease); }

/* ---------- legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 150px var(--gutter) 96px; }
.legal h1 { font: 400 clamp(2.8rem, 8vw, 5rem)/.95 var(--serif); letter-spacing: -.02em; margin: .3em 0 .7em; }
.legal h2 { font: italic 400 1.5rem/1.2 var(--serif); color: var(--gold-hi); margin: 2.2em 0 .5em; }
.legal a { color: var(--gold-hi); }
.legal .todo { font-size: .85em; }

/* =========================================================
   Motion — opt-in via no-preference; reduced motion gets the
   final state. Nothing loops.
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  .hero-kicker { animation: fade-up 1s .1s var(--ease) both; }
  .hero-name { animation: unveil 1.3s .2s var(--ease) both; }
  .hero-line { animation: fade-up 1s .55s var(--ease) both; }
  .hero-facts { animation: fade-up 1s .7s var(--ease) both; }
  .hero-cta { animation: fade-up 1s .85s var(--ease) both; }
  .hero-photo { animation: open-frame 1.5s .1s var(--ease) both; }
  .hero-photo img { animation: settle-in 2.2s .1s var(--ease) both; }
  .hero-frame::before { animation: draw 1.2s .9s var(--ease) both; }

  @supports (animation-timeline: view()) {
    .sec-head, .shot, .polaroids, .spec, .about-copy, .book-intro, .book-form, .about-frame, .footer-mark {
      animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 24%;
    }
    .about-photo img { animation: zoom-settle linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
    .hero-frame { animation: drift linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
  }
}
@keyframes fade-up { from { opacity: 0; translate: 0 18px; } }
@keyframes unveil { from { clip-path: inset(0 0 100% 0); translate: 0 .25em; } to { clip-path: inset(-10% -20% -20% 0); } }
@keyframes open-frame { from { clip-path: polygon(0 100%, calc(100% - var(--corner)) 100%, 100% 100%, 100% 100%, 0 100%); } to { clip-path: polygon(0 0, calc(100% - var(--corner)) 0, 100% var(--corner), 100% 100%, 0 100%); } }
@keyframes settle-in { from { scale: 1.12; } }
@keyframes draw { from { opacity: 0; translate: -18px 18px; } }
@keyframes rise { from { opacity: 0; translate: 0 36px; } to { opacity: 1; translate: 0 0; } }
@keyframes zoom-settle { from { scale: 1.08; } to { scale: 1; } }
@keyframes drift { to { translate: 0 -6vh; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .look { --dev: 1 !important; }
  .loupe { display: none; }
}
