/* Kounchai Visuals, homepage v2 "studio sweep"
   Light ground reads like a white seamless backdrop, dark like a black one.
   Velvet Fade colors: carbon, bone, and amaranth used only as the camera's red-dot index.
   Fonts: Archivo (variable) + DM Mono, SIL OFL 1.1, self-hosted. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("../fonts/dm-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --carbon: #1A1919;
  --amaranth: #6E1E3B;
  --bone: #E8DFD0;

  --ground: #F4F2EE;            /* bone lifted toward white: the seamless */
  --panel: var(--bone);
  --ink: var(--carbon);         /* 15.7:1 */
  --ink-2: #5E5853;             /* 6.3:1 on ground, 5.3:1 on bone */
  --line: rgba(26, 25, 25, .14);
  --dot: var(--amaranth);       /* the red dot: dial index, active filter, focus */
  --dot-ink: var(--amaranth);   /* 9.8:1 on ground */
  --btn-bg: var(--carbon);
  --btn-ink: #F4F2EE;
  --shade: rgba(26, 25, 25, .18);

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 3.4vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --ground: var(--carbon);
  --panel: #232121;
  --ink: var(--bone);           /* 13.3:1 */
  --ink-2: #A9A091;             /* 6.8:1 on ground, 6.2:1 on panel */
  --line: rgba(232, 223, 208, .14);
  --dot-ink: #CF7E9C;           /* amaranth lifted for text on carbon, 6.0:1 */
  --btn-bg: var(--bone);
  --btn-ink: var(--carbon);
  --shade: rgba(0, 0, 0, .5);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: var(--carbon); --panel: #232121; --ink: var(--bone); --ink-2: #A9A091;
    --line: rgba(232, 223, 208, .14); --dot-ink: #CF7E9C; --btn-bg: var(--bone); --btn-ink: var(--carbon);
    --shade: rgba(0, 0, 0, .5); color-scheme: dark;
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.55;
  overflow-x: hidden;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--dot-ink); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--btn-bg); color: var(--btn-ink); padding: 8px 14px; }
.skip:focus { left: 16px; }
.num { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--ink-2); }
[id] { scroll-margin-top: 56px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 22px; border: 0; border-radius: 2px;
  background: var(--btn-bg); color: var(--btn-ink);
  font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer;
  transition: opacity .2s;
}
.btn:hover { opacity: .86; }
.textlink { font-size: 15px; font-weight: 500; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: color .2s; }
.textlink:hover { color: var(--dot-ink); }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 28px;
  padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--ground) 90%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.brand { font-weight: 600; font-size: 15px; letter-spacing: -.01em; text-decoration: none; }
.top__nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
.top { padding-right: calc(var(--gutter) + clamp(180px, 14vw, 200px) + 20px); }
.top__nav a { text-decoration: none; color: var(--ink-2); transition: color .2s; }
.top__nav a:hover { color: var(--ink); }
.social { width: 34px; height: 34px; display: grid; place-items: center; color: var(--ink); margin-left: 8px; transition: color .2s; }
.social:hover, .hero__social:hover { color: var(--dot-ink); }
.social svg, .hero__social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.social svg .dot, .hero__social svg .dot { fill: currentColor; stroke: none; }
.hero__social { display: inline-flex; align-items: center; gap: 8px; margin: -14px 0 26px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink); transition: color .2s; }
.book__dm { margin-top: 18px; }
.theme { width: 34px; height: 34px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; color: var(--ink); padding: 0; }
.theme svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .5s var(--ease); }
.theme svg path { fill: currentColor; stroke: none; }
:root[data-theme="dark"] .theme svg { transform: rotate(180deg); }

/* ---------- hero ---------- */
.hero { padding: clamp(72px, 9vh, 88px) var(--gutter) 0; }
.hero__name {
  margin: 0; font-weight: 600; font-stretch: 100%;
  font-size: var(--word, 17vw); line-height: .8; letter-spacing: -.055em;
  text-transform: uppercase; white-space: nowrap;
  margin-left: -.045em;
}
.hero__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: clamp(16px, 2.2vw, 32px);
  margin-top: clamp(16px, 2.4vh, 28px);
  padding-top: clamp(16px, 2.4vh, 24px);
  border-top: 1px solid var(--line);
  align-items: end;
}
.hero__copy { max-width: 340px; align-self: start; }
.hero__line { font-size: clamp(22px, 1.9vw, 28px); line-height: 1.2; letter-spacing: -.02em; font-weight: 500; margin: 0 0 14px; }
.hero__meta { margin: 0 0 28px; color: var(--ink-2); font-size: 15px; max-width: 30ch; }
.hero__meta span { white-space: nowrap; }
.hero__ctas { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

.stage { margin: 0; }
.stage__frame {
  height: clamp(340px, calc(100svh - var(--word, 17vw) * .8 - 190px), 660px);
  aspect-ratio: 2 / 3;
  overflow: hidden; background: var(--panel);
}
.stage--b .stage__frame { height: calc(clamp(340px, calc(100svh - var(--word, 17vw) * .8 - 190px), 660px) * .72); }
.stage__frame { position: relative; }
.stage__frame img { width: 100%; height: 100%; object-fit: cover; }
.stage__cap { display: flex; align-items: baseline; gap: 12px; margin-top: 10px; font-size: 13px; color: var(--ink-2); }

/* hero reel: each new frame opens over the old one through a growing circle */
[data-reel] .frame { position: absolute; inset: 0; opacity: 0; z-index: 0; transform-origin: 50% 50%; }
[data-reel] .frame.is-on { opacity: 1; z-index: 1; }
[data-reel] .frame.is-top { z-index: 2; }
.flash { position: absolute; inset: 0; z-index: 3; background: #fff; opacity: 0; pointer-events: none; mix-blend-mode: soft-light; }
.stage__pause {
  margin-left: auto; border: 0; background: none; padding: 0; cursor: pointer;
  font-size: 13px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line);
}
.stage__pause:hover { color: var(--ink); }

/* opening iris: the whole screen starts dark and the dark pulls in to the hero photo */
.iris { display: none; }
.intro .iris {
  display: block; position: fixed; inset: 0; z-index: 100; pointer-events: none;
  background: #0d0d0d;
}

/* name: letters rise in once on load (JS adds .is-split) */
.hero__name .ch { display: inline-block; }
.hero__name.is-split .ch { opacity: 0; transform: translateY(.18em); }
.hero__name.is-in .ch { opacity: 1; transform: none; transition: opacity .45s var(--ease), transform .55s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i) * 28ms); }

/* ---------- featured project ---------- */
.feature { padding: clamp(80px, 13vh, 150px) 0 0; }
.feature__head {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px 24px;
  padding: 0 var(--gutter) 18px; margin: 0 var(--gutter) clamp(20px, 3vw, 32px);
  padding-left: 0; padding-right: 0; border-bottom: 1px solid var(--line);
}
.feature__label { margin: 0; grid-column: 1 / -1; font-size: 14px; color: var(--ink-2); }
.feature__head h2 { margin: 0; font-weight: 500; font-size: clamp(34px, 4.6vw, 64px); line-height: 1; letter-spacing: -.045em; }
.feature__nav { display: flex; gap: 18px; }
.feature__nav button { border: 0; background: none; padding: 6px 0; cursor: pointer; font-size: 15px; color: var(--ink-2); }
.feature__nav button:hover { color: var(--ink); }
.strip {
  display: flex; gap: clamp(10px, 1.4vw, 20px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  padding: 0 var(--gutter) 12px;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.strip img { flex: none; height: clamp(320px, 62vh, 620px); width: auto; aspect-ratio: 4 / 5; object-fit: cover; scroll-snap-align: start; background: #111; }
.strip:focus-visible { outline-offset: -2px; }

/* ---------- the dial: a black camera mode dial hanging from the top-right corner ---------- */
.navdial {
  --size: clamp(180px, 14vw, 200px);
  position: fixed; z-index: 40;
  top: calc(var(--size) * -.42);
  right: var(--gutter);
  width: var(--size); height: var(--size);
}
.dial {
  --rot: -42deg;
  position: absolute; inset: 0;
  filter: drop-shadow(0 10px 12px var(--shade)) drop-shadow(0 2px 3px rgba(0,0,0,.3));
}
.dial.is-nudge { animation: nudge 1.2s cubic-bezier(.3, 1.3, .5, 1); }
@keyframes nudge { 0% { rotate: 0deg; } 35% { rotate: -14deg; } 100% { rotate: 0deg; } }
.dial__index {
  position: absolute; left: 50%; bottom: -12px; translate: -50% 0;
  width: 4px; height: 8px; border-radius: 2px; background: var(--dot);
}
.dial__body {
  position: absolute; inset: 0; border-radius: 50%;
  transform: rotate(var(--rot));
  transition: transform .55s cubic-bezier(.25, 1.25, .45, 1);
  touch-action: none; cursor: grab;
}
.dial.is-dragging .dial__body { transition: none; cursor: grabbing; }
/* knurled edge: fine ridges that turn with the dial */
.dial__knurl {
  position: absolute; inset: 0; border-radius: 50%;
  background: repeating-conic-gradient(#3b3a39 0deg 1.1deg, #0b0b0b 1.1deg 2.25deg, #232222 2.25deg 3deg);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.9);
}
/* top face: brushed black */
.dial__face {
  position: absolute; inset: 8%; border-radius: 50%;
  background:
    repeating-conic-gradient(rgba(255,255,255,.025) 0deg .6deg, rgba(0,0,0,.04) .6deg 1.2deg),
    radial-gradient(circle at 50% 50%, #1d1c1c 0%, #141414 70%, #101010 100%);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.16), inset 0 -2px 3px rgba(0,0,0,.7), 0 0 0 1px #000;
}
/* engraved dots between the modes */
.dial__face i {
  position: absolute; left: 50%; top: 50%;
  width: 3px; height: 3px; margin: -1.5px 0 0 -1.5px; border-radius: 50%;
  background: #8d8a85;
  transform: rotate(var(--a)) translateY(calc(var(--size) * .395));
}
/* labels sit on the lower half, so the one at the index reads upright */
.dial__mode {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%) rotate(var(--a)) translateY(calc(var(--size) * .35));
  padding: 6px 2px; text-decoration: none;
  font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: #EDEBE6; opacity: .55;
  transition: opacity .3s var(--ease);
}
.dial__mode[aria-current="true"], .dial__mode:hover { opacity: 1; }
.dial__mode:focus-visible { outline-offset: 0; opacity: 1; }
/* fixed light: the sheen does not turn with the dial */
.dial__sheen {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background:
    conic-gradient(from 110deg, rgba(255,255,255,0) 0deg, rgba(255,255,255,.12) 40deg, rgba(255,255,255,0) 85deg,
      rgba(255,255,255,0) 180deg, rgba(255,255,255,.06) 220deg, rgba(255,255,255,0) 265deg),
    radial-gradient(circle at 30% 70%, rgba(255,255,255,.08), rgba(255,255,255,0) 45%);
  mix-blend-mode: screen;
}

/* ---------- sections ---------- */
.section { padding: clamp(80px, 13vh, 150px) var(--gutter) 0; }
.section__head {
  display: grid; grid-template-columns: 56px auto 1fr; align-items: baseline; gap: 0 16px;
  padding-bottom: 18px; margin-bottom: clamp(20px, 3vw, 36px);
  border-bottom: 1px solid var(--line);
}
.section__lede { grid-column: 2 / -1; grid-row: 2; margin: 12px 0 0; max-width: 44ch; color: var(--ink-2); font-size: 16px; }
.section__head h2 { margin: 0; font-weight: 500; font-size: clamp(34px, 4.6vw, 64px); line-height: 1; letter-spacing: -.045em; }

/* work */
.filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 22px; }
.filters button {
  border: 0; background: none; padding: 6px 0; cursor: pointer;
  font-size: 15px; color: var(--ink-2); position: relative;
  transition: color .2s;
}
.filters button:hover { color: var(--ink); }
.filters button[aria-selected="true"] { color: var(--ink); }
.filters button[aria-selected="true"]::after { content: ""; position: absolute; left: 50%; bottom: -3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--dot); }
/* Work filters live in a bar that sticks under the top bar while the grid scrolls */
#work .section__head { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.workbar {
  position: sticky; top: var(--top-h, 58px); z-index: 15;
  margin: clamp(10px, 1.6vw, 18px) calc(var(--gutter) * -1) clamp(20px, 3vw, 36px);
  padding: 8px var(--gutter) 10px;
  background: color-mix(in srgb, var(--ground) 92%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.workbar .filters { justify-content: flex-start; margin: 0; padding: 0; }
.grid { columns: 3 280px; column-gap: clamp(12px, 1.6vw, 24px); }
.shot { display: block; break-inside: avoid; margin: 0 0 clamp(12px, 1.6vw, 24px); background: var(--panel); overflow: hidden; }
.shot img { width: 100%; transition: transform .9s var(--ease); }
.shot:hover img { transform: scale(1.02); }
.shot[hidden] { display: none; }
.shot.is-in { animation: rise .5s var(--ease) both; }
/* View more: the grid shows a few rows, fades out, and opens on demand */
.gridwrap { position: relative; }
.gridwrap.is-clipped { max-height: clamp(720px, 110vw, 1180px); overflow: hidden; }
.gridwrap.is-clipped::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; background: linear-gradient(to bottom, transparent, var(--ground)); pointer-events: none; }
.more { display: flex; justify-content: center; margin-top: 18px; }
.more[hidden] { display: none; }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px currentColor; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* video */
.reel { display: grid; gap: 16px; }
.reel__frame { position: relative; aspect-ratio: 21 / 9; overflow: hidden; background: #111; }
.reel__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: brightness(.82); }
.reel__frame video { display: block; width: 100%; height: 100%; object-fit: cover; background: #111; }
.reel__text { margin: 0; color: var(--ink-2); font-size: 15px; }
/* more films under the lead video: a sideways swipe strip like the NFL feature, wide and vertical films at one height */
.film { margin: 0; }
.film__dur { margin-left: auto; }
.films__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-top: clamp(32px, 4vw, 56px); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.films { margin: clamp(16px, 2vw, 24px) calc(-1 * var(--gutter)) 0; --film-h: clamp(220px, 44vh, 440px); }
.films .film { flex: none; scroll-snap-align: start; }
.film__frame { position: relative; height: var(--film-h); overflow: hidden; background: #111; }
.film--wide .film__frame { aspect-ratio: 16 / 9; }
.film--tall .film__frame { aspect-ratio: 9 / 16; }
.film__frame video { display: block; width: 100%; height: 100%; object-fit: cover; background: #111; }
.film--wide .film__frame video { object-fit: contain; }
.films__note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: clamp(20px, 3vw, 32px); }
.tag { position: absolute; left: 14px; top: 14px; padding: 5px 9px; background: rgba(26,25,25,.72); color: #F4F2EE; font-family: var(--mono); font-size: 11px; }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; }
.about__photo { position: relative; margin: 0; aspect-ratio: 3 / 4; max-width: 520px; background: var(--panel); overflow: hidden; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__text { padding-bottom: 8px; }
.about__text .lead { font-size: clamp(24px, 2.6vw, 38px); line-height: 1.15; letter-spacing: -.03em; font-weight: 500; margin: 0 0 18px; max-width: 22ch; }
.about__text p { margin: 0 0 22px; color: var(--ink-2); max-width: 40ch; }
.about__text p.about__motto { color: var(--ink); font-size: 17px; font-weight: 500; padding-left: 14px; border-left: 2px solid var(--dot); }

/* book */
.book { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(24px, 5vw, 80px); }
.book__hours { margin: 0 0 16px; font-size: clamp(28px, 3vw, 44px); line-height: 1.05; letter-spacing: -.04em; font-weight: 500; }
.book__note { margin: 0; color: var(--ink-2); max-width: 32ch; }
.form { display: grid; gap: 26px; max-width: 640px; }
.field { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
legend, .label { font-size: 13px; color: var(--ink-2); padding: 0; margin-bottom: 10px; }
.label { margin-bottom: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--line); width: fit-content; }
.choices label { position: relative; }
.choices label + label { border-left: 1px solid var(--line); }
.choices input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choices span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; font-size: 15px; cursor: pointer; transition: background-color .2s, color .2s; }
.choices input:checked + span { background: var(--btn-bg); color: var(--btn-ink); }
.choices input:focus-visible + span { outline: 2px solid var(--dot-ink); outline-offset: 2px; }
.days { display: flex; gap: 0; overflow-x: auto; border: 1px solid var(--line); border-right: 0; scrollbar-width: thin; scroll-snap-type: x proximity; }
.days button {
  flex: none; width: 72px; min-height: 64px; display: grid; place-content: center; gap: 2px;
  border: 0; border-right: 1px solid var(--line); background: none; cursor: pointer; scroll-snap-align: start;
  transition: background-color .2s, color .2s;
}
.days button .dow { font-size: 12px; color: var(--ink-2); }
.days button .dom { font-size: 18px; font-weight: 500; }
.days button:hover { background: var(--panel); }
.days button[aria-pressed="true"] { background: var(--btn-bg); color: var(--btn-ink); }
.days button[aria-pressed="true"] .dow { color: inherit; opacity: .75; }
.slots-note { margin: 0; padding: 14px; font-size: 14px; color: var(--ink-2); border-right: 1px solid var(--line); }
.tz { color: var(--ink-2); opacity: .8; }
.times:empty { display: none; }
.form[hidden], .booked[hidden] { display: none; }
.booked { grid-column: 2; max-width: 640px; padding: 4px 0 28px; }
.booked:focus { outline: none; }
.booked__head { margin: 0 0 10px; font-size: clamp(28px, 3vw, 40px); font-weight: 500; letter-spacing: -.035em; }
.booked__line { margin: 0 0 10px; font-size: 17px; }
.booked__note { margin: 0; color: var(--ink-2); font-size: 15px; }
.btn[disabled] { opacity: .5; cursor: progress; }
.times { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.times button { min-height: 44px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: none; cursor: pointer; font-family: var(--mono); font-size: 13px; transition: background-color .2s, color .2s; }
.times button:hover { background: var(--panel); }
.times button[aria-pressed="true"] { background: var(--btn-bg); color: var(--btn-ink); }
input[type="text"], input[type="tel"], input[type="email"], input[type="date"], textarea {
  width: 100%; min-height: 44px; padding: 10px 0;
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  background: transparent; color: var(--ink); font-size: 16px;
}
input:focus, textarea:focus { outline: none; border-bottom-color: var(--ink); }
textarea { resize: vertical; }
::placeholder { color: var(--ink-2); opacity: .7; }
.form__end { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form__status { margin: 0; font-size: 14px; color: var(--dot-ink); }

/* footer */
.foot { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 40px var(--gutter); margin-top: clamp(96px, 14vh, 160px); border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.foot a { text-decoration: none; }
.foot__draft { margin-left: auto; }

/* lightbox */
.lightbox { border: 0; padding: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: rgba(20, 19, 19, .96); color: #F4F2EE; }
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1000px); max-height: 88vh; width: auto; height: auto; }
.lightbox__btn { position: absolute; border: 0; background: none; color: #F4F2EE; padding: 12px 14px; font-size: 14px; cursor: pointer; opacity: .8; }
.lightbox__btn:hover { opacity: 1; }
.lightbox__close { top: 10px; right: 10px; }
.lightbox__prev { left: 10px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 10px; top: 50%; translate: 0 -50%; }

.reveal { opacity: 0; transform: translateY(12px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
  .hero__row { grid-template-columns: minmax(0, 1fr) auto; }
  .hero__copy { grid-column: 1 / -1; max-width: none; display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: end; }
  .hero__copy .hero__ctas { grid-row: 1 / 4; grid-column: 2; }
  .hero__social { margin: 0; }
  .hero__meta { margin-bottom: 0; }
  .stage__frame { height: auto; width: min(44vw, 420px); }
  .stage--b .stage__frame { height: auto; width: min(30vw, 300px); }
  .section__head { grid-template-columns: 40px 1fr; }
  .filters { grid-column: 1 / -1; grid-row: 3; justify-content: flex-start; margin-top: 14px; }
}

/* ---------- phone ---------- */
@media (max-width: 720px) {
  /* phones: the dial hangs below the top bar, so the tabs stick just under it and a band fills the gap once stuck */
  .workbar { top: var(--bar-top, var(--top-h, 58px)); }
  .workbar::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: calc(var(--bar-top, 0px) - var(--top-h, 0px)); background: var(--ground); opacity: 0; pointer-events: none; }
  .workbar.is-stuck::before { opacity: 1; }
  .workbar .filters { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; gap: 4px 16px; }
  .films { --film-h: 52vw; }
  .film--tall .film__frame { height: calc(var(--film-h) * 1.6); }
  .top { gap: 16px; padding-top: 14px; padding-bottom: 14px; padding-right: calc(var(--gutter) + 172px + 10px); }
  .navdial { --size: 172px; right: 10px; }
  .top__nav { display: none; }
  .social { margin-left: auto; }
  .brand { white-space: nowrap; }
  .brand__more { display: none; }
  .dial__mode { font-size: 9px; letter-spacing: .1em; }

  .hero { padding-top: 64px; }
  .hero__row { display: flex; flex-direction: column; border-top: 0; padding-top: 0; margin-top: 16px; gap: 0; }
  .stage { order: 1; width: 100%; }
  .stage__frame { width: 100%; height: auto; aspect-ratio: 4 / 5; }
  .stage--b { display: none; }
  .strip img { height: 58vh; max-height: 460px; }
  .feature { padding-top: 80px; }
  .hero__copy { order: 2; display: block; margin-top: 22px; }
  .hero__line { font-size: 24px; }
  .hero__meta { margin-bottom: 22px; }
  .hero__social { margin: -8px 0 22px; }

  .section { padding-top: 80px; }
  .section__head { grid-template-columns: 32px 1fr; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 14px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .filters button { flex: none; }
  .grid { columns: 2; column-gap: 8px; }
  .shot { margin-bottom: 8px; }
  .reel__frame { aspect-ratio: 4 / 3; }
  .about, .book { grid-template-columns: 1fr; }
  .booked { grid-column: 1; }
  .about__photo { aspect-ratio: 3 / 4; max-width: none; }
  .times { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .field-row { grid-template-columns: 1fr; }
  .foot__draft { margin-left: 0; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__name.is-split .ch { opacity: 1; transform: none; }
  .stage__pause { display: none; }
}
