/* ==========================================================================
   Lia Navarro — Photographer · "Golden Hour" template
   by Very Online Studio

   1.  Fonts
   2.  Themes (colour tokens)  ← change colours here
   3.  Base / typography
   4.  Buttons, links, utilities
   5.  Viewfinder intro + focus-reticle cursor
   6.  Nav
   7.  Hero
   8.  Statement
   9.  Work (gallery + filters)
   10. Viewer (lightbox)
   11. Contact sheet + loupe
   12. Darkroom (signature scene)
   13. Light (time-of-day)
   14. About
   15. Packages + story teaser
   16. Testimonials, FAQ, booking, footer
   17. Demo theme switcher (DEMO ONLY)
   18. Story page (story.html)
   19. JS start states + reduced motion
   ========================================================================== */

/* 1. Fonts ----------------------------------------------------------------
   Gloock (display, a high-contrast photo-book serif), Schibsted Grotesk (text + UI),
   Red Hat Mono (camera readouts, EXIF, captions). All SIL OFL 1.1, licences in fonts/. */
@font-face {
  font-family: "Gloock";
  src: url("../fonts/gloock-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Gloock";
  src: url("../fonts/gloock-latin-ext-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+20A0-20AB, U+20AD-20C0, U+2113;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+20A0-20AB, U+20AD-20C0, U+2113;
}
@font-face {
  font-family: "Red Hat Mono";
  src: url("../fonts/red-hat-mono-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
}

/* 2. Themes ----------------------------------------------------------------
   Every colour on the page comes from these tokens. To make a new theme,
   copy one block, rename it and set <html data-theme="yourname">.
   Text-safe tokens: --ink, --ink-2, --ink-3, --accent (all ≥ 4.5:1 on --bg,
   --bg-2 and --surface) and --inv-ink / --inv-ink-2 / --inv-accent on --inv-bg. */
:root,
[data-theme="gallery"] {
  --bg: #F3EEE6;
  --bg-2: #EAE2D5;
  --surface: #FBF8F3;
  --ink: #17130F;
  --ink-2: #4F463D;
  --ink-3: #6B6055;
  --line: rgb(23 19 15 / .13);
  --line-2: rgb(23 19 15 / .26);
  --accent: #96460F;
  --gold: #E0A458;
  --gold-2: #F4D8A8;
  --inv-bg: #17130F;
  --inv-bg-2: #221C17;
  --inv-ink: #F3EEE6;
  --inv-ink-2: #C7BCAE;
  --inv-accent: #EBB46E;
  --inv-line: rgb(243 238 230 / .16);
  --shadow: 40 28 16;
  --grain: .05;
  --scheme: light;
}
[data-theme="darkroom"] {
  --bg: #0F0C0B;
  --bg-2: #17120F;
  --surface: #1D1714;
  --ink: #F3EAE2;
  --ink-2: #C4B7AA;
  --ink-3: #9E9083;
  --line: rgb(243 234 226 / .11);
  --line-2: rgb(243 234 226 / .22);
  --accent: #FF7A66;
  --gold: #E3A857;
  --gold-2: #3B2A1A;
  --inv-bg: #2A0E0B;
  --inv-bg-2: #351310;
  --inv-ink: #FBEDE7;
  --inv-ink-2: #E6BFB4;
  --inv-accent: #FF9C88;
  --inv-line: rgb(251 237 231 / .16);
  --shadow: 0 0 0;
  --grain: .06;
  --scheme: dark;
}
[data-theme="film"] {
  --bg: #F2D894;
  --bg-2: #EACB7A;
  --surface: #F8E7B7;
  --ink: #2B1B0E;
  --ink-2: #553A20;
  --ink-3: #66472A;
  --line: rgb(43 27 14 / .15);
  --line-2: rgb(43 27 14 / .3);
  --accent: #8F2410;
  --gold: #C9771C;
  --gold-2: #F6C977;
  --inv-bg: #2B1B0E;
  --inv-bg-2: #3A2615;
  --inv-ink: #F6E2A8;
  --inv-ink-2: #DABD80;
  --inv-accent: #F2A64B;
  --inv-line: rgb(246 226 168 / .16);
  --shadow: 60 36 8;
  --grain: .07;
  --scheme: light;
}

:root {
  --f-serif: "Gloock", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "Red Hat Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --f-hand: var(--f-mono);

  --gutter: clamp(18px, 4.2vw, 64px);
  --wrap: 1320px;
  --radius: 4px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --sh-sm: 0 1px 2px rgb(var(--shadow) / .08), 0 4px 14px rgb(var(--shadow) / .07);
  --sh-lg: 0 2px 6px rgb(var(--shadow) / .08), 0 24px 60px -12px rgb(var(--shadow) / .28);
  --focus: var(--accent);
  /* The darkroom scene is always dark, whatever the theme */
  --dr-bg: #0B0807;
  --dr-ink: #F3E7DD;
  --dr-ink-2: #C9B6A8;
  --dr-red: #FF6450;
  --dr-red-ink: #FF8B78;
  /* The viewer is always dark too, so photos pop */
  --v-bg: #0D0B0A;
  --v-ink: #F3EDE6;
  --v-ink-2: #BDB2A6;
  --hero-ink: #FBF6EE;
}

/* 3. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; color-scheme: var(--scheme); background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  transition: background-color .5s, color .5s;
}
/* Film grain over everything (static texture, no animation) */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 200; pointer-events: none;
  background: url("../img/grain.png") repeat; background-size: 160px;
  opacity: var(--grain);
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; padding: 0; }
em, i, cite { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--gold); color: #17130F; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; background: var(--ink); color: var(--bg); border-radius: 999px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap-wide { width: min(1560px, 100% - 2 * var(--gutter)); margin-inline: auto; }
section { position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .8em;
  font-family: var(--f-mono); font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow__num { color: var(--accent); }
.eyebrow__num::after { content: ""; display: inline-block; width: 28px; height: 1px; margin-left: .8em; vertical-align: middle; background: currentColor; opacity: .6; }
.eyebrow--light { color: var(--inv-ink-2); }
.eyebrow--light .eyebrow__num { color: var(--inv-accent); }

.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 6vw, 72px); max-width: 860px; }
.section-head--split { max-width: none; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.4fr 1fr; gap: 48px; } }
.section-title {
  font-family: var(--f-serif); font-weight: 400;
  font-size: clamp(2.2rem, 1.4rem + 3.8vw, 5.2rem);
  line-height: 1.02; letter-spacing: -.02em;
  text-wrap: balance;
}
.section-title em { color: var(--accent); }
.section-lede { color: var(--ink-2); font-size: clamp(1.02rem, .98rem + .3vw, 1.2rem); max-width: 46ch; }

/* 4. Buttons & links ------------------------------------------------------- */
.btn {
  --b-bg: var(--ink); --b-ink: var(--bg); --b-line: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px; padding: .8em 1.5em; border: 1px solid var(--b-line); border-radius: 999px;
  background: var(--b-bg); color: var(--b-ink);
  font-family: var(--f-sans); font-weight: 600; font-size: .95rem; letter-spacing: .01em; text-decoration: none;
  overflow: hidden; isolation: isolate; cursor: pointer;
  transition: color .4s var(--ease-out), border-color .4s, background-color .4s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--gold); transform: translateY(101%); transition: transform .5s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: #17130F; }
.btn__icon { width: 18px; height: 18px; flex: none; transition: transform .4s var(--ease-out); }
.btn:hover .btn__icon { transform: translateX(4px); }
.btn--sm { min-height: 42px; padding: .55em 1.15em; font-size: .88rem; }
.btn--ink { --b-bg: var(--ink); --b-ink: var(--bg); }
.btn--light { --b-bg: var(--hero-ink); --b-ink: #17130F; }
.btn--gold { --b-bg: var(--inv-accent); --b-ink: #17130F; }
.btn--gold::before { background: var(--inv-ink); }
.btn--line { --b-bg: transparent; --b-ink: var(--ink); --b-line: var(--line-2); }
.link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color .3s; }
.link:hover { color: var(--accent); }
.br-desk { display: none; }
@media (min-width: 900px) { .br-desk { display: inline; } }

/* 5. Viewfinder intro + reticle ------------------------------------------- */
.vf { display: none; }
.js.intro .vf {
  position: fixed; inset: 0; z-index: 150; display: block; pointer-events: auto; cursor: pointer;
  color: #F6EFE6; font-family: var(--f-mono);
}
.vf__iris { position: absolute; inset: 0; width: 100%; height: 100%; }
.vf__chrome { position: absolute; inset: 0; }
.vf__corner { position: absolute; width: clamp(22px, 3vw, 40px); height: clamp(22px, 3vw, 40px); border-color: currentColor; border-style: solid; border-width: 0; opacity: .85; }
.vf__corner--tl { top: clamp(14px, 3vw, 34px); left: clamp(14px, 3vw, 34px); border-top-width: 1.5px; border-left-width: 1.5px; }
.vf__corner--tr { top: clamp(14px, 3vw, 34px); right: clamp(14px, 3vw, 34px); border-top-width: 1.5px; border-right-width: 1.5px; }
.vf__corner--bl { bottom: clamp(54px, 7vw, 80px); left: clamp(14px, 3vw, 34px); border-bottom-width: 1.5px; border-left-width: 1.5px; }
.vf__corner--br { bottom: clamp(54px, 7vw, 80px); right: clamp(14px, 3vw, 34px); border-bottom-width: 1.5px; border-right-width: 1.5px; }
.vf__af { position: absolute; left: 50%; top: 50%; width: 56px; height: 40px; margin: -20px 0 0 -28px; border: 1.5px solid currentColor; opacity: .8; transition: border-color .2s, transform .3s var(--ease-out); }
.vf__af i { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: currentColor; }
.vf.is-focused .vf__af { border-color: var(--gold); color: var(--gold); transform: scale(.86); }
.vf__readout {
  position: absolute; left: 0; right: 0; bottom: clamp(14px, 2.4vw, 26px);
  display: flex; justify-content: center; align-items: center; gap: clamp(10px, 2.4vw, 28px);
  font-size: clamp(.68rem, .6rem + .4vw, .9rem); letter-spacing: .08em; white-space: nowrap;
}
.vf__mode { padding: 1px 6px; border: 1px solid currentColor; border-radius: 3px; }
.vf__val { min-width: 4.6ch; text-align: center; font-variant-numeric: tabular-nums; }
.vf__val--f { color: var(--gold); }
.vf__meter { position: relative; display: none; }
.vf__meter i { font-style: normal; opacity: .7; letter-spacing: 0; }
.vf__meter b { position: absolute; left: 0; top: -6px; width: 2px; height: 5px; background: var(--gold); transform: translateX(var(--m, 0px)); }
@media (min-width: 700px) { .vf__meter { display: inline-block; } }
.vf__skip { position: absolute; right: clamp(14px, 3vw, 34px); top: clamp(14px, 3vw, 34px); transform: translate(-48px, 4px); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.vf__flash { position: absolute; inset: 0; background: #FFF8EC; opacity: 0; pointer-events: none; }

.reticle { display: none; }
@media (hover: hover) and (pointer: fine) {
  .motion-ok .reticle {
    position: fixed; left: 0; top: 0; z-index: 160; display: block; pointer-events: none;
    width: 0; height: 0; color: var(--hero-ink); mix-blend-mode: difference;
  }
  .reticle__box { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; transition: all .45s var(--ease-out); }
  .reticle__box i { position: absolute; width: 8px; height: 8px; border: 0 solid currentColor; transition: all .45s var(--ease-out); }
  .reticle__box i:nth-child(1) { left: 0; top: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
  .reticle__box i:nth-child(2) { right: 0; top: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
  .reticle__box i:nth-child(3) { left: 0; bottom: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
  .reticle__box i:nth-child(4) { right: 0; bottom: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
  .reticle__label { position: absolute; left: 50%; top: 42px; transform: translateX(-50%); font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; opacity: 0; transition: opacity .3s; }
  .reticle.is-on .reticle__box { left: -36px; top: -26px; width: 72px; height: 52px; }
  .reticle.is-on .reticle__box i { width: 14px; height: 14px; }
  .reticle.is-on .reticle__label { opacity: 1; }
  .reticle.is-lock .reticle__box { left: -28px; top: -20px; width: 56px; height: 40px; color: #1F5BA7; }
  .reticle.is-hidden { opacity: 0; }
  .motion-ok [data-reticle], .motion-ok [data-reticle] * { cursor: none; }
}

/* 6. Nav ------------------------------------------------------------------ */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; padding: 14px var(--gutter) 0; transition: transform .6s var(--ease-out); pointer-events: none; }
.nav.is-hidden, .nav.is-away { transform: translateY(-120%); }
.nav__inner {
  pointer-events: auto;
  display: flex; align-items: center; gap: 18px; max-width: 1560px; margin-inline: auto;
  padding: 8px 8px 8px 18px; border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid var(--line);
  transition: background-color .5s, border-color .5s, color .5s;
}
.nav.is-over-hero .nav__inner { background: rgb(15 11 8 / .22); border-color: rgb(255 255 255 / .16); color: var(--hero-ink); }
.nav.is-over-hero .btn--ink { --b-bg: var(--hero-ink); --b-ink: #17130F; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-serif); font-size: 1.45rem; line-height: 1; letter-spacing: -.01em; }
.brand__mark { width: 24px; height: 24px; transition: transform 1.2s var(--ease-out); }
.brand:hover .brand__mark { transform: rotate(120deg); }
.nav__menu { margin-left: auto; }
.nav__links { display: flex; gap: clamp(14px, 2vw, 30px); }
.nav__links a { position: relative; text-decoration: none; font-size: .9rem; font-weight: 500; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__num { display: none; }
.nav__menu-foot { display: none; }
.nav__toggle { display: none; }
@media (max-width: 899.98px) {
  .nav__inner { padding: 6px 6px 6px 16px; gap: 10px; }
  .nav__cta { margin-left: auto; }
  .nav__toggle {
    display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px;
    border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 30%, transparent); border-radius: 999px; background: transparent;
    font-size: .85rem; font-weight: 600;
  }
  .nav__toggle-lines { position: relative; width: 16px; height: 8px; }
  .nav__toggle-lines span { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .4s var(--ease-out), top .4s var(--ease-out); }
  .nav__toggle-lines span:first-child { top: 0; }
  .nav__toggle-lines span:last-child { top: 6.5px; }
  .nav.is-open .nav__toggle-lines span:first-child { top: 3.25px; transform: rotate(45deg); }
  .nav.is-open .nav__toggle-lines span:last-child { top: 3.25px; transform: rotate(-45deg); }
  .nav__menu {
    position: fixed; inset: 0; z-index: -1; margin: 0; padding: 110px var(--gutter) 40px;
    display: flex; flex-direction: column; justify-content: space-between;
    background: var(--bg); color: var(--ink);
    clip-path: circle(0 at calc(100% - 50px) 40px); visibility: hidden;
    transition: clip-path .8s var(--ease-in-out), visibility 0s .8s;
    overflow-y: auto;
  }
  .nav.is-open .nav__menu { clip-path: circle(150vmax at calc(100% - 50px) 40px); visibility: visible; transition: clip-path .8s var(--ease-in-out), visibility 0s; }
  .nav.is-open .nav__inner { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--ink); }
  .nav.is-open .btn--ink { --b-bg: var(--ink); --b-ink: var(--bg); }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links li { border-bottom: 1px solid var(--line); }
  .nav__links a { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; font-family: var(--f-serif); font-size: clamp(2.1rem, 9vw, 3.2rem); font-weight: 400; line-height: 1.1; }
  .nav__links a::after { display: none; }
  .nav__num { display: inline; font-family: var(--f-mono); font-size: .75rem; color: var(--accent); }
  .nav__menu-foot { display: block; color: var(--ink-2); font-size: .9rem; margin-top: 30px; }
}
.brand, .nav__cta, .nav__toggle { white-space: nowrap; flex: none; }
.nav__only-m { display: none; }
@media (max-width: 899.98px) { .nav__only-m { display: block; } }
@media (max-width: 519.98px) { .nav__cta { display: none; } .nav__toggle { margin-left: auto; } }

/* 7. Hero ----------------------------------------------------------------- */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: var(--hero-ink); overflow: clip; background: #17130F; }
.hero__media { position: absolute; inset: 0; }
.hero__shot { position: absolute; inset: 0; overflow: hidden; }
.hero__shot picture, .hero__img, .hero__blur { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos, 50% 50%); }
.hero__blur { opacity: 0; filter: blur(10px); transform: scale(1.08); }
.hero__shot::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgb(12 8 5 / .38) 0%, rgb(12 8 5 / 0) 24%, rgb(12 8 5 / 0) 46%, rgb(12 8 5 / .62) 82%, rgb(12 8 5 / .78) 100%);
}
.hero__leak { position: absolute; inset: -20%; background: radial-gradient(40% 50% at 85% 20%, rgb(255 170 80 / .35), transparent 70%); mix-blend-mode: screen; pointer-events: none; }
.hero__vf { position: absolute; inset: 0; color: var(--hero-ink); pointer-events: none; }
.hero__vf .vf__corner { opacity: .7; }
.hero__vf .vf__corner--tl, .hero__vf .vf__corner--tr { top: 86px; }
.hero__thirds { position: absolute; inset: 0; opacity: .12;
  background:
    linear-gradient(90deg, transparent calc(33.33% - .5px), currentColor calc(33.33% - .5px), currentColor calc(33.33% + .5px), transparent calc(33.33% + .5px), transparent calc(66.66% - .5px), currentColor calc(66.66% - .5px), currentColor calc(66.66% + .5px), transparent calc(66.66% + .5px)),
    linear-gradient(180deg, transparent calc(33.33% - .5px), currentColor calc(33.33% - .5px), currentColor calc(33.33% + .5px), transparent calc(33.33% + .5px), transparent calc(66.66% - .5px), currentColor calc(66.66% - .5px), currentColor calc(66.66% + .5px), transparent calc(66.66% + .5px));
}
.hero__af { position: absolute; left: var(--af-x, 50%); top: var(--af-y, 46%); width: 44px; height: 32px; margin: -16px 0 0 -22px; border: 1.5px solid var(--gold); opacity: .9; }
.hero__readout { position: absolute; left: 50%; bottom: clamp(54px, 7vw, 80px); transform: translate(-50%, 130%); font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; white-space: nowrap; opacity: .75; }
.hero__copy { position: relative; z-index: 2; padding-bottom: clamp(96px, 12vw, 130px); display: grid; gap: 18px; }
.hero__eyebrow { color: var(--hero-ink); opacity: .9; }
.hero__title { font-family: var(--f-serif); font-weight: 400; font-size: clamp(3.6rem, min(19vw, 26svh), 14rem); white-space: nowrap; line-height: .86; letter-spacing: -.03em; margin-left: -.03em; }
.hero__line { display: block; }
.hero__line + .hero__line { padding-left: .5em; }
.hero__line em { color: var(--gold-2); }
[data-theme="darkroom"] .hero__line em { color: #F4D8A8; }
.hero__tag { font-size: clamp(1.05rem, .95rem + .5vw, 1.35rem); line-height: 1.45; max-width: 34ch; text-wrap: pretty; }
.amp { font-family: var(--f-serif); font-size: 1.1em; }
.hero__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 6px; }
.hero__sun { display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; line-height: 1.5; }
.hero__sun time { font-size: .92rem; color: var(--gold-2); letter-spacing: .04em; }
[data-theme="darkroom"] .hero__sun time { color: #F4D8A8; }
.hero__sun-icon { width: 26px; height: 26px; color: var(--gold); flex: none; animation: spin 24s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__scroll { position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(96px, 12vw, 130px); display: none; flex-direction: column; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; writing-mode: vertical-rl; }
.hero__scroll i { width: 1px; height: 64px; background: linear-gradient(currentColor 50%, transparent 50%) 0 0 / 1px 200%; animation: drip 2.2s var(--ease-in-out) infinite; }
@keyframes drip { from { background-position: 0 100%; } to { background-position: 0 -100%; } }
@media (min-width: 900px) {
  .hero__copy { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 60px; }
  .hero__title { font-size: clamp(5rem, min(14vw, 25svh), 14rem); }
  .hero__eyebrow, .hero__title { grid-column: 1 / -1; }
  .hero__tag { grid-column: 2; grid-row: 2; margin-bottom: .6em; }
  .hero__title { grid-row: 2; grid-column: 1; }
  .hero__bottom { grid-column: 1 / -1; }
  .hero__scroll { display: flex; }
}
@media (max-width: 899.98px) { .hero__readout { display: none; } }
.is-off .hero__sun-icon, .is-off .hero__scroll i { animation-play-state: paused; }

/* 8. Statement ------------------------------------------------------------ */
.statement { padding: clamp(96px, 14vw, 200px) 0 clamp(80px, 11vw, 160px); }
.statement .eyebrow { margin-bottom: 28px; }
.statement__text {
  font-family: var(--f-serif); font-size: clamp(1.75rem, 1.1rem + 3vw, 4.1rem); line-height: 1.12; letter-spacing: -.015em;
  max-width: 22ch; text-wrap: pretty;
}
.statement__text em { color: var(--accent); }
.pill { display: inline-block; vertical-align: middle; width: 1.9em; height: .82em; margin: -.1em .08em 0; border-radius: 999px; overflow: hidden; transform: translateY(-.06em); }
.pill--b { width: 1.5em; }
.pill img { width: 100%; height: 100%; object-fit: cover; }
.statement__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 24px; margin-top: clamp(48px, 7vw, 96px); padding-top: 28px; border-top: 1px solid var(--line-2); }
.statement__facts li { display: grid; gap: 4px; }
.statement__facts b { font-family: var(--f-serif); font-weight: 400; font-size: clamp(3rem, 2rem + 3vw, 4.6rem); line-height: 1; font-variant-numeric: tabular-nums; }
.statement__facts span { color: var(--ink-2); font-size: .95rem; }
.word { transition: none; }

/* 9. Work ----------------------------------------------------------------- */
.work { padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 12vw, 160px); }
.filters fieldset { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(28px, 4vw, 48px); padding: 0; border: 0; min-width: 0; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: baseline; gap: 4px; min-height: 42px; align-items: center; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line-2); font-weight: 500; font-size: .92rem; transition: background-color .35s, color .35s, border-color .35s;
}
.chip sup { font-family: var(--f-mono); font-size: .66rem; vertical-align: super; color: var(--ink-3); transition: color .35s; }
.chip input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip input:checked + span sup { color: var(--gold); }
.chip input:hover + span { border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; grid-auto-flow: dense; gap: clamp(14px, 2.4vw, 36px) clamp(12px, 2vw, 32px); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.shot { grid-column: span 2; min-width: 0; }
.shot--tall { grid-column: span 1; }
@media (min-width: 900px) {
  .shot { grid-column: span 2; }
  .shot--wide { grid-column: span 4; }
  .shot--tall, .shot--wide { grid-row: span 2; }
  .shot { align-self: start; }
}
.shot.is-hidden { display: none; }
.shot__btn { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; border-radius: var(--radius); }
.shot__frame { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); aspect-ratio: var(--ar, 4 / 5); }
.shot--wide .shot__frame { aspect-ratio: var(--ar, 3 / 2); }
.shot__frame img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transform: scale(1.001); transition: transform 1.2s var(--ease-out); }
.shot__btn:hover .shot__frame img { transform: scale(1.045); }
.shot__frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 0 var(--gold); transition: box-shadow .5s var(--ease-out); pointer-events: none; }
.shot__btn:hover .shot__frame::after, .shot__btn:focus-visible .shot__frame::after { box-shadow: inset 0 0 0 6px color-mix(in srgb, var(--bg) 80%, transparent); }
.shot__cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; padding-top: 10px; font-size: .86rem; line-height: 1.35; }
.shot__no { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; color: var(--accent); }
.shot__title { font-family: var(--f-serif); font-size: 1.15rem; }
.shot__place { color: var(--ink-3); margin-left: auto; font-size: .8rem; }
@media (max-width: 599.98px) { .shot__place { display: none; } .shot__title { font-size: 1.02rem; } }
.shot__exif { display: none; }

/* 10. Viewer -------------------------------------------------------------- */
.viewer {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--v-bg); color: var(--v-ink); overflow: hidden;
}
.viewer::backdrop { background: rgb(8 6 5 / .9); }
.viewer[open] { display: block; }
.viewer__inner {
  position: relative; height: 100%;
  display: grid; grid-template-rows: minmax(0, 1fr) auto auto;
}
.viewer__stage { position: relative; min-height: 0; margin: 64px 12px 8px; touch-action: pan-y; }
.viewer__canvas, .viewer__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.viewer__img { object-fit: contain; }
.viewer.has-gl .viewer__img { visibility: hidden; }
.viewer__canvas { display: none; }
.viewer.has-gl .viewer__canvas { display: block; }
.viewer__nav {
  position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; margin-top: -24px;
  border: 1px solid rgb(255 255 255 / .22); border-radius: 50%; background: rgb(13 11 10 / .45); color: var(--v-ink);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .3s, transform .4s var(--ease-out);
}
.viewer__nav:hover { background: var(--gold); color: #17130F; }
.viewer__nav svg { width: 22px; height: 22px; }
.viewer__nav--prev { left: 6px; }
.viewer__nav--next { right: 6px; }
.viewer__info { padding: 4px 18px 10px; display: grid; gap: 4px; }
.viewer__count { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; color: var(--gold); }
.viewer__title { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); line-height: 1.05; }
.viewer__place { color: var(--v-ink-2); font-size: .9rem; }
.viewer__exif { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 14px; margin-top: 10px; padding-top: 12px; border-top: 1px solid rgb(255 255 255 / .14); font-family: var(--f-mono); }
.viewer__exif div { min-width: 0; }
.viewer__exif dt { font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--v-ink-2); }
.viewer__exif dd { font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viewer__keys { display: none; }
.viewer__strip { display: flex; gap: 6px; overflow-x: auto; padding: 8px 12px calc(12px + env(safe-area-inset-bottom)); scrollbar-width: none; overscroll-behavior: contain; }
.viewer__strip::-webkit-scrollbar { display: none; }
.viewer__thumb { flex: none; width: 54px; height: 54px; padding: 0; border: 0; border-radius: 3px; overflow: hidden; background: #222; opacity: .45; transition: opacity .3s, transform .4s var(--ease-out); }
.viewer__thumb img { width: 100%; height: 100%; object-fit: cover; }
.viewer__thumb:hover { opacity: .85; }
.viewer__thumb[aria-current="true"] { opacity: 1; outline: 1.5px solid var(--gold); outline-offset: 2px; }
.viewer__close {
  position: absolute; top: 12px; right: 12px; z-index: 3; display: grid; place-items: center; width: 46px; height: 46px;
  border: 1px solid rgb(255 255 255 / .22); border-radius: 50%; background: transparent; color: var(--v-ink); transition: background-color .3s, transform .5s var(--ease-out);
}
.viewer__close:hover { background: var(--v-ink); color: var(--v-bg); transform: rotate(90deg); }
.viewer__close svg { width: 22px; height: 22px; }
.viewer :focus-visible { outline-color: var(--gold); }
@media (min-width: 900px) {
  .viewer__inner { grid-template-columns: minmax(0, 1fr) 340px; grid-template-rows: minmax(0, 1fr) auto; }
  .viewer__stage { margin: 28px 0 12px 28px; }
  .viewer__info { align-content: end; padding: 28px 32px 24px; }
  .viewer__exif { grid-template-columns: 1fr 1fr; gap: 14px 18px; margin-top: 22px; padding-top: 20px; }
  .viewer__exif dd { font-size: .86rem; }
  .viewer__keys { display: block; margin-top: 18px; font-family: var(--f-mono); font-size: .68rem; color: var(--v-ink-2); }
  .viewer__keys kbd { display: inline-block; padding: 1px 6px; border: 1px solid rgb(255 255 255 / .25); border-radius: 3px; font-family: inherit; }
  .viewer__strip { grid-column: 1 / -1; padding: 10px 28px 18px; justify-content: center; }
  .viewer__thumb { width: 62px; height: 62px; }
  .viewer__nav--prev { left: 14px; }
  .viewer__nav--next { right: 14px; }
  .viewer__close { top: 20px; right: 22px; }
}

/* 11. Contact sheet + loupe ----------------------------------------------- */
.sheet { padding: clamp(80px, 11vw, 150px) 0; background: var(--bg-2); overflow: clip; }
.sheet__layout { display: grid; gap: clamp(36px, 5vw, 80px); align-items: center; }
@media (min-width: 1000px) { .sheet__layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); } }
.sheet__copy { display: grid; gap: 22px; align-content: start; }
.sheet__copy > p:not(.eyebrow) { color: var(--ink-2); max-width: 44ch; }
.sheet__hint { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .06em; color: var(--ink-2) !important; }
.sheet__hint svg { width: 18px; height: 18px; color: var(--accent); }
.hint-touch { display: none; }
@media (hover: none), (pointer: coarse) { .hint-desk { display: none; } .hint-touch { display: inline; } }
.sheet__board { position: relative; }
.sheet__paper {
  position: relative; padding: clamp(12px, 2.4vw, 28px); background: #F7F4EE; color: #17130F;
  border-radius: 2px; box-shadow: var(--sh-lg); transform: rotate(-.6deg);
}
[data-theme="darkroom"] .sheet__paper { background: #EDE6DC; }
.strip { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 16px 6px; background: #120E0B; }
.strip + .strip { margin-top: clamp(6px, 1vw, 10px); }
@media (min-width: 600px) { .strip { grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 20px 8px; } }
.strip::before, .strip::after {
  content: ""; position: absolute; left: 4px; right: 4px; height: 7px;
  background: radial-gradient(circle at 50% 50%, #F7F4EE 0 1.6px, transparent 2.2px) 0 0 / 11px 7px repeat-x;
  -webkit-mask: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent); mask: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
}
.strip::before { top: 4px; }
.strip::after { bottom: 4px; }
@media (min-width: 600px) { .strip::before, .strip::after { height: 9px; background-size: 14px 9px; background-image: radial-gradient(circle at 50% 50%, #F7F4EE 0 2.2px, transparent 2.9px); } .strip::before { top: 5px; } .strip::after { bottom: 5px; } }
.strip__edge { position: absolute; left: 10px; right: 10px; bottom: -1px; transform: translateY(100%); font-family: var(--f-mono); font-size: .5rem; letter-spacing: .14em; color: #C26A1A; white-space: nowrap; overflow: hidden; display: none; }
.frame { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #2a221c; }
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.frame--dim img { filter: brightness(.6) contrast(.9); }
.frame--hot img { filter: brightness(1.35) saturate(.8); }
.frame::after { content: attr(data-n); position: absolute; left: 3px; top: -15px; font-family: var(--f-mono); font-size: .5rem; color: #E08A3C; }
@media (max-width: 599.98px) { .frame:nth-child(n+5) { display: none; } }
.sheet__marks { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.sheet__marks path { fill: none; stroke: #D3241B; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; opacity: .92; }
.pencil-note { position: absolute; font-family: var(--f-hand); font-weight: 600; font-size: clamp(1.15rem, .9rem + 1vw, 1.75rem); color: #D3241B; line-height: 1; pointer-events: none; white-space: nowrap; transform: rotate(-6deg); }
.loupe { display: none; }
.motion-ok .loupe, .js-loupe .loupe {
  display: block; position: absolute; left: 0; top: 0; z-index: 3; width: var(--ls, 150px); height: var(--ls, 150px);
  margin: calc(var(--ls, 150px) / -2) 0 0 calc(var(--ls, 150px) / -2);
  border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity .35s, scale .4s var(--ease-out); scale: .7;
}
.loupe.is-on { opacity: 1; scale: 1; }
.loupe__lens { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: #F7F4EE; box-shadow: 0 18px 40px -10px rgb(0 0 0 / .55), inset 0 0 22px rgb(0 0 0 / .35); }
.loupe__lens > .sheet__paper { position: absolute; left: 0; top: 0; transform-origin: 0 0; box-shadow: none; margin: 0; }
.loupe__ring { position: absolute; inset: -9px; border-radius: 50%; border: 9px solid #1d1916; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .18), 0 0 0 1px rgb(0 0 0 / .4); }
.loupe__ring::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; background: linear-gradient(140deg, rgb(255 255 255 / .35), transparent 32%); pointer-events: none; }
@media (hover: none), (pointer: coarse) { html.js-loupe .loupe { pointer-events: auto; touch-action: none; cursor: grab; } .loupe.is-on { opacity: 1; } }

/* 12. Darkroom ------------------------------------------------------------ */
.darkroom { background: var(--dr-bg); color: var(--dr-ink); overflow: clip; }
.darkroom__stage { position: relative; padding: clamp(80px, 10vw, 140px) 0; }
.darkroom__room { position: absolute; inset: 0; pointer-events: none; }
.darkroom__glow { position: absolute; inset: 0; background: radial-gradient(60% 70% at 78% 8%, rgb(255 70 40 / .22), transparent 70%), radial-gradient(70% 50% at 50% 100%, rgb(255 60 30 / .1), transparent 70%); opacity: var(--glow, 0); }
.darkroom__lamp { position: absolute; right: 10%; top: -10px; width: 80px; height: auto; color: #2b211d; }
.darkroom__bulb { fill: #FF5038; filter: drop-shadow(0 0 18px #ff4a30) drop-shadow(0 0 40px #ff3a20); opacity: var(--glow, 0); }
.darkroom__copy { position: relative; z-index: 6; width: min(var(--wrap), 100% - 2 * var(--gutter)); margin: 0 auto; display: grid; gap: 18px; }
.eyebrow--safe { color: var(--dr-ink-2); }
.eyebrow--safe .eyebrow__num { color: var(--dr-red-ink); }
.darkroom .section-title { color: var(--dr-ink); max-width: 12ch; }
.darkroom .section-title em { color: var(--dr-red-ink); }
.darkroom__text { color: var(--dr-ink-2); max-width: 44ch; }
.darkroom__scene { position: relative; }
.darkroom__line-wrap { position: relative; z-index: 3; width: min(1100px, 100% - 2 * var(--gutter)); margin: clamp(48px, 7vw, 90px) auto 0; }
.darkroom__line { position: absolute; left: -6vw; right: -6vw; top: 0; width: calc(100% + 12vw); height: 40px; color: #8a7466; }
.darkroom__prints { position: relative; display: flex; justify-content: center; gap: clamp(14px, 5vw, 80px); padding-top: 12px; }
.print { width: clamp(96px, 26vw, 250px); flex: none; transform-origin: 50% 0; }
.print:nth-child(2) { margin-top: 18px; }
.print figure { position: relative; }
.print__pin { position: absolute; left: 50%; top: -14px; z-index: 2; width: 12px; height: 30px; margin-left: -6px; border-radius: 3px; background: linear-gradient(90deg, #b99a7a, #e2c9a8 45%, #a8876a); box-shadow: 0 2px 4px rgb(0 0 0 / .4); }
.print__pin::after { content: ""; position: absolute; left: 50%; top: 9px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #6d5643; }
.print__paper { position: relative; padding: 7%; background: #F4F0E8; box-shadow: 0 14px 30px -8px rgb(0 0 0 / .65); }
.print__paper img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.print__paper canvas { position: absolute; left: 7%; top: 5.6%; width: 86%; height: 88.8%; }
.print figcaption { margin-top: 12px; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .06em; color: var(--dr-ink-2); text-align: center; line-height: 1.4; }
.print figcaption b { display: block; color: var(--dr-red-ink); font-weight: 500; }
.darkroom__tray, .darkroom__drops, .darkroom__hud, .darkroom__done { display: none; }
.darkroom__safelight { position: absolute; inset: 0; z-index: 4; pointer-events: none; background: #FF3B24; mix-blend-mode: multiply; opacity: 0; }

/* Motion mode: the pinned scene */
.motion-ok .darkroom__stage { padding: 0; }
.darkroom, .motion-ok .darkroom__stage, .motion-ok .darkroom__scene { background-color: var(--dr-room, var(--dr-bg)); }
.motion-ok .darkroom__scene { height: 100vh; height: 100svh; overflow: hidden; }
.motion-ok .darkroom__copy { padding-top: 96px; }
.motion-ok .darkroom__line-wrap { position: absolute; left: 50%; top: 9%; margin: 0; transform: translateX(-50%); }
.motion-ok .darkroom__tray {
  display: block; position: absolute; z-index: 1; left: 50%; bottom: 7%;
  width: min(74vw, 520px); aspect-ratio: 1.25; transform: translateX(-50%) perspective(1400px) rotateX(52deg) rotateZ(var(--rock, 0deg)); transform-origin: 50% 100%;
  border-radius: 12px; background: #231814; box-shadow: inset 0 0 0 10px #2f201b, inset 0 0 0 11px #3d2a23, 0 40px 60px -20px #000;
}
.tray__liquid { position: absolute; inset: 14px; border-radius: 6px; background: radial-gradient(80% 70% at 40% 30%, #3b2622, #1b100e); overflow: hidden; }
.tray__liquid::after { content: ""; position: absolute; inset: -40%; background: repeating-radial-gradient(circle at 50% 50%, transparent 0 18px, rgb(255 120 100 / .06) 19px 21px, transparent 22px 40px); animation: ripple 5s linear infinite; }
@keyframes ripple { to { transform: scale(1.35); } }
.is-off .tray__liquid::after { animation-play-state: paused; }
.motion-ok .darkroom__drops { display: block; position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.darkroom__drops i { position: absolute; left: 50%; top: 50%; width: 3px; height: 7px; border-radius: 50% 50% 50% 50% / 70% 70% 30% 30%; background: rgb(255 210 200 / .6); opacity: 0; }
.motion-ok .darkroom__hud { display: flex; position: absolute; z-index: 6; left: var(--gutter); bottom: 6%; flex-direction: column; gap: 10px; font-family: var(--f-mono); color: var(--dr-ink-2); }
.hud__timer { font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem); line-height: 1; color: var(--dr-red-ink); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.hud__steps { display: flex; gap: 10px; padding: 0; margin: 0; list-style: none; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; }
.hud__steps li { opacity: .35; transition: opacity .3s, color .3s; }
.hud__steps li.is-on { opacity: 1; color: var(--dr-ink); }
.motion-ok .darkroom__done { display: block; position: absolute; z-index: 6; right: var(--gutter); bottom: 6%; margin: 0; font-family: var(--f-serif); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); line-height: 1; color: var(--dr-ink); opacity: 0; text-align: right; }
.darkroom__done em { color: var(--gold); }
.motion-ok .print__paper { background: #F4F0E8; }
.motion-ok .print__paper canvas { opacity: 0; }

@media (min-width: 900px) {
  .motion-ok .darkroom__stage { height: 100vh; overflow: hidden; }
  .motion-ok .darkroom__scene { position: absolute; inset: 0; height: auto; }
  .motion-ok .darkroom__copy { position: absolute; z-index: 6; left: var(--gutter); top: 50%; width: min(400px, 30vw); margin: 0; padding: 0; transform: translateY(-50%); }
  .motion-ok .darkroom__line-wrap { left: auto; right: var(--gutter); width: calc(100% - 2 * var(--gutter) - min(400px, 30vw) - 40px); transform: none; top: 12%; }
  .motion-ok .darkroom__tray { left: auto; right: calc(var(--gutter) + (100vw - 2 * var(--gutter) - min(400px, 30vw) - 40px) / 2); transform: translateX(50%) perspective(1400px) rotateX(52deg) rotateZ(var(--rock, 0deg)); width: min(36vw, 560px); bottom: 5%; }
  .motion-ok .print { width: clamp(110px, 13vw, 210px); }
  .motion-ok .darkroom__hud { left: auto; right: auto; left: var(--gutter); bottom: 8%; }
}
@media (max-width: 899.98px) {
  .motion-ok .darkroom__copy { padding-bottom: 40px; }
  .motion-ok .darkroom__line-wrap { top: 8%; }
  .motion-ok .print { width: 25vw; }
  .motion-ok .darkroom__hud { bottom: auto; top: 41%; left: var(--gutter); }
  .motion-ok .darkroom__tray { width: min(84vw, 460px); bottom: 9%; }
  .motion-ok .darkroom__done { bottom: auto; top: 41%; right: var(--gutter); left: auto; }
}

/* 13. Light --------------------------------------------------------------- */
.light { padding: clamp(80px, 12vw, 170px) 0; }
.light__stage { display: grid; gap: 22px; }
.light__frame { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: #222; isolation: isolate; }
@media (min-width: 700px) { .light__frame { aspect-ratio: 16 / 9; } }
.light__img, .light__canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.light__img { transition: filter .25s linear; }
.light__canvas { opacity: 0; transition: opacity .6s; }
.light.has-gl .light__canvas { opacity: 1; }
.light__grade { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; }
.light__arc { position: absolute; left: 4%; right: 4%; top: 7%; bottom: 46%; width: 92%; height: 47%; overflow: visible; pointer-events: none; }
.light__arc-path { stroke: rgb(255 248 236 / .5); stroke-width: 1; stroke-dasharray: 2 7; }
.light__sun { position: absolute; left: 0; top: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: #FFF6E0; box-shadow: 0 0 0 6px rgb(255 230 180 / .25), 0 0 40px 12px rgb(255 200 120 / .55); pointer-events: none; will-change: transform; }
.light__clock { position: absolute; left: clamp(14px, 3vw, 36px); bottom: clamp(12px, 3vw, 30px); display: flex; align-items: baseline; gap: 8px; color: #FFF8EE; text-shadow: 0 2px 20px rgb(0 0 0 / .35); }
.light__time { font-family: var(--f-serif); font-size: clamp(3.4rem, 2rem + 6vw, 8rem); line-height: .9; font-variant-numeric: tabular-nums; }
.light__ampm { font-family: var(--f-mono); font-size: .9rem; letter-spacing: .1em; }
.light__controls { display: grid; gap: 10px; }
.light__label { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.light__range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; touch-action: pan-y; }
.light__range::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, #2E3D6B 0%, #E79A6E 4%, #F2D7A0 12%, #E9EEF0 46%, #F4D9A2 82%, #E58A3F 92%, #8E4C7A 97%, #2E2F5E 100%); }
.light__range::-moz-range-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, #2E3D6B 0%, #E79A6E 4%, #F2D7A0 12%, #E9EEF0 46%, #F4D9A2 82%, #E58A3F 92%, #8E4C7A 97%, #2E2F5E 100%); }
.light__range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--ink); box-shadow: var(--sh-sm); }
.light__range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--surface); border: 2px solid var(--ink); }
.light__range:focus-visible { outline: none; }
.light__range:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--focus); outline-offset: 3px; }
.light__range:focus-visible::-moz-range-thumb { outline: 2px solid var(--focus); outline-offset: 3px; }
.light__ticks { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: .68rem; color: var(--ink-3); margin-top: -6px; }
.light__presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.light__presets button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-size: .88rem; font-weight: 500; transition: background-color .3s, color .3s, border-color .3s; }
.light__presets button:hover { border-color: var(--ink); }
.light__presets button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.light__moods { min-height: 4.8em; font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); max-width: 60ch; }
.light__moods b { font-family: var(--f-serif); font-weight: 400; font-size: 1.2em; color: var(--accent); }
.js .light__moods li { display: none; }
.js .light__moods li.is-on { display: block; animation: fade-up .6s var(--ease-out) both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } }
@media (min-width: 900px) {
  .light__stage { grid-template-columns: 1fr 1fr; gap: 28px 56px; }
  .light__frame { grid-column: 1 / -1; }
}

/* 14. About --------------------------------------------------------------- */
.about { padding: clamp(80px, 12vw, 170px) 0; background: var(--bg-2); }
.about__layout { display: grid; gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (min-width: 900px) { .about__layout { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } .about__photo { position: sticky; top: 110px; } }
.about__frame { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; }
.about__frame img { width: 100%; height: 115%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.about__photo figcaption { margin-top: 12px; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .06em; color: var(--ink-3); }
.about__copy { display: grid; gap: 26px; }
.about__text { display: grid; gap: 1em; color: var(--ink-2); max-width: 56ch; font-size: clamp(1.02rem, .98rem + .25vw, 1.15rem); }
.about__text p:first-child::first-letter { float: left; font-family: var(--f-serif); font-size: 4.4em; line-height: .8; padding: .06em .1em 0 0; color: var(--ink); }
.gear { margin-top: 10px; padding-top: 24px; border-top: 1px solid var(--line-2); }
.gear__title { font-family: var(--f-mono); font-weight: 500; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.gear__list div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 600px) { .gear__list div { grid-template-columns: 110px 1fr; gap: 20px; } }
.gear__list dt { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .06em; color: var(--ink-3); padding-top: .2em; }
.gear__list dd { font-size: .98rem; }

/* 15. Packages + teaser --------------------------------------------------- */
.packages { padding: clamp(80px, 12vw, 170px) 0; }
.plans { display: grid; gap: 18px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; } }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(26px, 3vw, 38px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.plan:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.plan__no { font-family: var(--f-mono); font-weight: 500; font-size: .8rem; letter-spacing: .14em; color: var(--accent); }
.plan__name { font-family: var(--f-serif); font-weight: 400; font-size: clamp(2rem, 1.6rem + 1.4vw, 2.8rem); line-height: 1; }
.plan__for { color: var(--ink-2); font-size: .94rem; }
.plan__price { font-family: var(--f-serif); font-size: clamp(2.2rem, 1.8rem + 1.6vw, 3.2rem); line-height: 1; margin: 6px 0; }
.plan__price small { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-right: 4px; vertical-align: middle; }
.plan__list { display: grid; gap: 8px; margin-bottom: 10px; flex: 1; }
.plan__list li { position: relative; padding-left: 22px; font-size: .95rem; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 1px; background: var(--accent); }
.plan .btn { align-self: flex-start; }
.plan--featured { background: var(--inv-bg); color: var(--inv-ink); border-color: var(--inv-bg); }
.plan--featured .plan__no, .plan--featured .plan__list li::before { color: var(--inv-accent); background-color: transparent; }
.plan--featured .plan__list li::before { background: var(--inv-accent); }
.plan--featured .plan__for, .plan--featured .plan__price small { color: var(--inv-ink-2); }
.plan__badge { position: absolute; top: clamp(26px, 3vw, 38px); right: clamp(26px, 3vw, 38px); padding: 4px 10px; border-radius: 99px; background: var(--inv-accent); color: #17130F; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; }
.plans__note { margin-top: 28px; color: var(--ink-2); }

.teaser { padding: 0; }
.teaser__card { position: relative; display: block; min-height: 82svh; color: var(--hero-ink); text-decoration: none; overflow: hidden; background: #17130F; }
.teaser__media { position: absolute; inset: -12% 0; }
.teaser__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform 1.6s var(--ease-out); }
.teaser__card:hover .teaser__media img { transform: scale(1.04); }
.teaser__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(12 8 5 / .1), rgb(12 8 5 / .7)); }
.teaser__copy { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(36px, 6vw, 80px); display: grid; gap: 14px; }
.teaser .eyebrow--light { color: var(--hero-ink); }
.teaser__title { font-family: var(--f-serif); font-weight: 400; font-size: clamp(2.6rem, 1.6rem + 5vw, 7rem); line-height: .98; letter-spacing: -.02em; }
.teaser__title em { color: var(--gold-2); }
[data-theme="darkroom"] .teaser__title em { color: #F4D8A8; }
.teaser__cta { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.teaser__cta svg { width: 20px; height: 20px; transition: transform .5s var(--ease-out); }
.teaser__card:hover .teaser__cta svg { transform: translateX(6px); }
.teaser__card:focus-visible { outline-offset: -6px; outline-color: var(--gold); }

/* 16. Notes, FAQ, booking, footer ----------------------------------------- */
.notes { padding: clamp(80px, 12vw, 170px) 0 clamp(60px, 8vw, 120px); overflow: clip; }
.notes__track { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 20px 0 40px; }
.notes__track::-webkit-scrollbar { display: none; }
.notes__track:focus-visible { outline-offset: -4px; }
.notes__list { display: flex; gap: clamp(16px, 2.4vw, 32px); width: max-content; padding-inline: max(var(--gutter), (100vw - var(--wrap)) / 2); }
.note {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  width: min(78vw, 400px); min-height: 330px; padding: 30px 28px 26px; scroll-snap-align: center;
  background: var(--surface); color: var(--ink); border-radius: 2px; box-shadow: var(--sh-sm);
  background-image: repeating-linear-gradient(-32deg, transparent 0 46px, color-mix(in srgb, var(--ink) 3.5%, transparent) 46px 47px);
  rotate: var(--r, 0deg);
}
.note:nth-child(odd) { --r: -1.2deg; }
.note:nth-child(even) { --r: 1deg; margin-top: 18px; }
.note blockquote p { font-family: var(--f-serif); font-size: clamp(1.45rem, 1.2rem + .8vw, 1.85rem); line-height: 1.18; }
.note blockquote p::before { content: "“"; display: block; font-size: 2.6em; line-height: .6; color: var(--accent); margin-bottom: 6px; }
.note__who { display: flex; align-items: center; gap: 12px; font-size: .86rem; color: var(--ink-2); }
.note__who img { width: 44px; height: 44px; border-radius: 50%; }
.note__who b { display: block; color: var(--ink); font-weight: 600; }
.note__stamp { position: absolute; top: 18px; right: 18px; font-family: var(--f-mono); font-size: .56rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); border: 1px solid var(--line-2); padding: 3px 7px; border-radius: 2px; rotate: 4deg; }

.faq { padding: clamp(60px, 9vw, 130px) 0 clamp(80px, 12vw, 170px); }
.faq__layout { display: grid; gap: 30px; }
@media (min-width: 900px) { .faq__layout { grid-template-columns: .8fr 1.2fr; gap: 80px; } }
.qa { border-bottom: 1px solid var(--line-2); }
.qa:first-child { border-top: 1px solid var(--line-2); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-family: var(--f-serif); font-size: clamp(1.35rem, 1.15rem + .7vw, 1.8rem); line-height: 1.15; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary svg { width: 22px; height: 22px; flex: none; color: var(--accent); transition: transform .5s var(--ease-out); }
.qa[open]:not(.is-closing) summary svg { transform: rotate(45deg); }
.qa__body { overflow: hidden; }
.qa__body p { padding: 0 0 24px; color: var(--ink-2); max-width: 60ch; }

.contact { padding: clamp(80px, 12vw, 160px) 0; background: var(--inv-bg); color: var(--inv-ink); overflow: clip; }
.contact__layout { display: grid; gap: clamp(40px, 6vw, 90px); }
@media (min-width: 900px) { .contact__layout { grid-template-columns: 1fr 1fr; align-items: start; } }
.contact__copy { display: grid; gap: 22px; }
.contact__title { font-family: var(--f-serif); font-weight: 400; font-size: clamp(2.6rem, 1.6rem + 5vw, 6.6rem); line-height: .98; letter-spacing: -.02em; }
.contact__title em { color: var(--inv-accent); }
.contact__copy > p:not(.eyebrow) { color: var(--inv-ink-2); max-width: 40ch; font-size: 1.08rem; }
.contact__list { display: grid; gap: 12px; margin-top: 10px; }
.contact__list li { display: flex; align-items: center; gap: 12px; }
.contact__list svg { width: 20px; height: 20px; color: var(--inv-accent); flex: none; }
.contact__list a { text-decoration: none; border-bottom: 1px solid var(--inv-line); transition: border-color .3s, color .3s; }
.contact__list a:hover { color: var(--inv-accent); border-color: currentColor; }
.book { display: grid; gap: 16px; padding: clamp(22px, 3vw, 40px); border: 1px solid var(--inv-line); border-radius: var(--radius); background: var(--inv-bg-2); }
.book__row { display: grid; gap: 16px; }
@media (min-width: 600px) { .book__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field span { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--inv-ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; min-height: 48px; padding: 10px 14px; border-radius: 3px; border: 1px solid var(--inv-line);
  background: rgb(255 255 255 / .04); color: var(--inv-ink); color-scheme: dark; transition: border-color .3s, background-color .3s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: var(--inv-ink-2); opacity: .7; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--inv-accent); background: rgb(255 255 255 / .07); box-shadow: 0 0 0 2px var(--inv-accent); }
.field select option { background: var(--inv-bg); color: var(--inv-ink); }
.book .btn { justify-self: start; }
.book__thanks { display: flex; gap: 10px; align-items: flex-start; color: var(--inv-ink); font-size: .95rem; }
.book__thanks[hidden] { display: none; }
.book__thanks svg { width: 20px; height: 20px; color: var(--inv-accent); flex: none; margin-top: 2px; }
.contact :focus-visible { outline-color: var(--inv-accent); }

.footer { padding: clamp(40px, 6vw, 80px) 0 calc(90px + env(safe-area-inset-bottom)); background: var(--inv-bg); color: var(--inv-ink-2); border-top: 1px solid var(--inv-line); font-size: .88rem; }
.footer__big { font-family: var(--f-serif); font-size: clamp(3rem, 14.5vw, 15rem); line-height: .8; letter-spacing: -.04em; color: var(--inv-ink); margin: 0 0 clamp(24px, 4vw, 48px) -.04em; white-space: nowrap; }
.footer__big em { color: var(--inv-accent); }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; }
.footer a { color: var(--inv-ink); }
.footer :focus-visible { outline-color: var(--inv-accent); }
.footer__credits { margin-top: 26px; font-size: .74rem; line-height: 1.6; max-width: 120ch; opacity: .9; }

/* 17. DEMO ONLY: theme switcher — remove for client sites ------------------- */
.demo-switch { position: fixed; left: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 90; }
.menu-open .demo-switch, .viewer-open .demo-switch { opacity: 0; visibility: hidden; }
.demo-switch fieldset {
  display: flex; align-items: center; gap: 6px; margin: 0; padding: 6px 7px 6px 12px; min-width: 0;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--sh-lg);
}
.demo-switch__label { float: left; padding: 0 4px 0 0; text-transform: uppercase; font-family: var(--f-mono); font-size: .62rem; font-weight: 500; letter-spacing: .16em; color: var(--ink-2); }
.demo-switch__opt { position: relative; display: block; width: 26px; height: 26px; border-radius: 50%; cursor: pointer; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .14); transition: transform .3s var(--ease-out); }
.demo-switch__opt:hover { transform: scale(1.12); }
.demo-switch__opt input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.demo-switch__opt:has(input:checked) { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--ink); }
.demo-switch__opt:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 4px; }
.demo-switch__opt--gallery { background: linear-gradient(135deg, #F3EEE6 50%, #17130F 50%); }
.demo-switch__opt--darkroom { background: linear-gradient(135deg, #FF6450 50%, #0F0C0B 50%); }
.demo-switch__opt--film { background: linear-gradient(135deg, #F2D894 50%, #8F2410 50%); }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { animation: vt-reveal .9s var(--ease-in-out) both; }
@keyframes vt-reveal { from { clip-path: circle(0 at var(--vt-x, 30px) var(--vt-y, 100%)); } to { clip-path: circle(var(--vt-r, 150vmax) at var(--vt-x, 30px) var(--vt-y, 100%)); } }

/* 18. Story page ---------------------------------------------------------- */
.story-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--hero-ink); background: #17130F; overflow: clip; }
.story-hero__media { position: absolute; inset: 0; }
.story-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.story-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(12 8 5 / .35), transparent 30%, transparent 50%, rgb(12 8 5 / .75)); }
.story-hero__copy { position: relative; z-index: 2; padding-bottom: clamp(60px, 9vw, 110px); display: grid; gap: 16px; }
.story-hero .eyebrow { color: var(--hero-ink); }
.story-title { font-family: var(--f-serif); font-weight: 400; font-size: clamp(2.8rem, 1.4rem + 7.6vw, 10rem); line-height: .92; letter-spacing: -.03em; }
.story-title em { color: var(--gold-2); }
[data-theme="darkroom"] .story-title em { color: #F4D8A8; }
.story-meta { display: flex; flex-wrap: wrap; gap: 8px 26px; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
.story-back { position: fixed; z-index: 95; left: 14px; top: 14px; }
.story-intro { padding: clamp(80px, 12vw, 160px) 0 clamp(60px, 8vw, 110px); }
.story-intro__text { font-family: var(--f-serif); font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.6rem); line-height: 1.12; max-width: 26ch; text-wrap: pretty; }
.story-intro__text em { color: var(--accent); }
.story-cols { display: grid; gap: 24px; margin-top: 36px; color: var(--ink-2); }
@media (min-width: 800px) { .story-cols { grid-template-columns: 1fr 1fr; gap: 48px; max-width: 980px; } }

.filmstrip { position: relative; background: #0E0B09; color: #F2E6D8; overflow: hidden; }
.filmstrip__head { padding: clamp(60px, 8vw, 110px) 0 30px; }
.filmstrip__head .eyebrow { color: #CDBBA9; }
.filmstrip__head .eyebrow__num { color: #F2A64B; }
.filmstrip__head h2 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(2.4rem, 1.6rem + 3.6vw, 5rem); line-height: 1; margin-top: 14px; }
.filmstrip__head h2 em { color: #F2A64B; }
.filmstrip__viewport { overflow-x: auto; scrollbar-width: none; padding: 20px 0 clamp(60px, 8vw, 100px); }
.filmstrip__viewport::-webkit-scrollbar { display: none; }
.motion-ok .filmstrip__viewport { overflow: visible; }
.film {
  --h: clamp(200px, 50vh, 500px);
  --edge: max(18px, calc(var(--h) * .07));
  --sp: max(9px, calc(var(--h) * .04));
  --pad: calc(var(--edge) + var(--sp) + var(--h) * .035);
  position: relative; display: flex; width: max-content; padding: var(--pad) calc(var(--h) * .03); margin-inline: var(--gutter);
  background: linear-gradient(180deg, #2B1C12, #24170F 50%, #2B1C12); border-radius: 3px;
  box-shadow: 0 30px 60px -20px #000, inset 0 0 0 1px rgb(255 200 140 / .06);
}
.film::before, .film::after {
  content: ""; position: absolute; left: 6px; right: 6px; height: var(--sp);
  background: repeating-linear-gradient(90deg, transparent 0 calc(var(--sp) * .55), #0E0B09 calc(var(--sp) * .55) calc(var(--sp) * 1.55), transparent calc(var(--sp) * 1.55) calc(var(--sp) * 2.2));
  -webkit-mask: radial-gradient(closest-side, #000 99%, transparent) 0 0 / calc(var(--sp) * 2.2) 100% repeat-x;
  border-radius: 2px;
}
.film::before { top: var(--edge); }
.film::after { bottom: var(--edge); }
.film__frame { position: relative; flex: none; height: var(--h); margin: 0 calc(var(--h) * .03); }
.film__frame img { height: 100%; width: auto; max-width: none; object-fit: cover; border-radius: 2px; }
.film__frame figcaption { position: absolute; left: 0; right: 0; bottom: calc(-1 * var(--pad)); height: var(--edge); display: flex; align-items: center; justify-content: space-between; gap: 12px; white-space: nowrap; overflow: hidden; font-family: var(--f-mono); font-size: clamp(.55rem, .5rem + .2vw, .7rem); letter-spacing: .1em; color: #F2A64B; }
.film__frame figcaption span:last-child { color: #E6D6C4; letter-spacing: .02em; font-family: var(--f-sans); font-size: clamp(.66rem, .6rem + .25vw, .82rem); overflow: hidden; text-overflow: ellipsis; }
.film__frame::before { content: attr(data-n); position: absolute; left: 0; top: calc(-1 * var(--pad)); height: var(--edge); display: flex; align-items: center; font-family: var(--f-mono); font-size: clamp(.55rem, .5rem + .2vw, .7rem); letter-spacing: .14em; color: #F2A64B; }
.film__edge { position: absolute; top: 0; left: 50%; height: var(--edge); display: flex; align-items: center; font-family: var(--f-mono); font-size: .56rem; letter-spacing: .3em; color: #F2A64B; opacity: .55; white-space: nowrap; }
.filmstrip__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 34px; height: 1px; background: rgb(242 230 216 / .16); display: none; }
.motion-ok .filmstrip__progress { display: block; }
.filmstrip__progress span { position: absolute; inset: 0; background: #F2A64B; transform-origin: 0 50%; transform: scaleX(0); }

.story-spread { padding: clamp(80px, 12vw, 160px) 0; }
.spread { display: grid; gap: clamp(20px, 3vw, 40px); align-items: end; }
.spread + .spread { margin-top: clamp(60px, 9vw, 140px); }
@media (min-width: 900px) {
  .spread { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .spread__a { grid-column: 1 / span 7; }
  .spread__b { grid-column: 9 / span 4; }
  .spread--flip .spread__a { grid-column: 8 / span 4; grid-row: 1; }
  .spread--flip .spread__b { grid-column: 2 / span 5; grid-row: 1; align-self: center; }
}
.spread figure { overflow: hidden; border-radius: var(--radius); }
.spread img { width: 100%; height: auto; }
.spread figcaption, .spread__note { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .06em; color: var(--ink-3); margin-top: 10px; }
.spread__text { font-family: var(--f-serif); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.4rem); line-height: 1.15; }
.spread__text em { color: var(--accent); }
.story-quote { padding: clamp(80px, 12vw, 160px) 0; text-align: center; background: var(--bg-2); }
.story-quote blockquote p { font-family: var(--f-serif); font-size: clamp(2rem, 1.2rem + 3.6vw, 4.6rem); line-height: 1.05; max-width: 20ch; margin-inline: auto; text-wrap: balance; }
.story-quote footer { margin-top: 24px; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.story-next { padding: clamp(60px, 9vw, 120px) 0; text-align: center; }
.story-next .btn { margin-top: 24px; }

/* Page transition (iris close before leaving the page) */
.pt { position: fixed; inset: 0; z-index: 400; pointer-events: none; display: none; }
.pt.is-on { display: block; pointer-events: auto; }
.pt canvas { width: 100%; height: 100%; }

/* SplitText masks: room for descenders/italic overhang */
.split-line-mask { padding: .06em .14em .16em .02em; margin: -.06em -.14em -.16em -.02em; }

/* 19. JS start states + reduced motion -------------------------------------- */
.js .motion-pending [data-reveal], .js [data-reveal] { opacity: 0; }
.js [data-split] { opacity: 0; }
.js [data-hero-item] { opacity: 0; }
.js .hero__line { opacity: 0; }
.js .nav__inner { opacity: 0; }
.reduced-motion [data-reveal], .reduced-motion [data-split], .reduced-motion [data-hero-item], .reduced-motion .hero__line, .reduced-motion .nav__inner { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  ::view-transition-new(root) { animation: none; }
}
.js.pt-enter body::before { content: ""; position: fixed; inset: 0; z-index: 399; background: #0a0807; }
.js .story-title { opacity: 0; }
.reduced-motion .story-title { opacity: 1; }
.motion-ok .print__pin { opacity: clamp(0, calc(var(--hang, 1) * 3 - 2), 1); }
.motion-ok .print figcaption { opacity: clamp(0, calc(var(--hang, 1) * 2 - 1), 1); }
@media (min-width: 900px) { .motion-ok .print { width: clamp(130px, 14vw, 240px); } }
.js.intro .vf:not(.vf-ready) { background: #0a0807; }
.js.intro .hero__vf { opacity: 0; }
.viewer__exif div:last-child { grid-column: 1 / -1; }
.viewer__exif div:last-child dd { white-space: normal; }
.hero__eyebrow, .hero__tag, .hero__sun, .story-hero .eyebrow, .story-meta, .teaser .eyebrow--light { text-shadow: 0 1px 2px rgb(12 8 5 / .35), 0 2px 18px rgb(12 8 5 / .45); }

/* 20. Scroll story: day cycle, film advance, envelope, prints on a line, focus locks ----------
   All decorative. Hidden (or static) for reduced motion and no-JS. */
main, .footer { position: relative; z-index: 1; }
.daylight, .dayrail { display: none; }
.motion-ok .daylight { display: block; position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.daylight i { position: absolute; left: 0; top: 0; width: 320px; height: 320px; margin: -160px 0 0 -160px; border-radius: 50%; opacity: 0; will-change: transform, opacity; }
.daylight__cool { background: radial-gradient(closest-side, rgb(118 146 206 / .26), rgb(118 146 206 / .08) 55%, transparent); }
.daylight__rose { background: radial-gradient(closest-side, rgb(232 146 146 / .24), rgb(232 146 146 / .07) 55%, transparent); }
.daylight__gold { background: radial-gradient(closest-side, rgb(242 168 78 / .26), rgb(242 168 78 / .08) 55%, transparent); }
[data-theme="darkroom"] .daylight { opacity: .55; }
.motion-ok .dayrail { display: block; position: fixed; z-index: 85; pointer-events: none; transition: opacity .5s; }
.dayrail__track { position: absolute; inset: 0; border-radius: 2px; opacity: .6; }
.dayrail__sun { position: absolute; left: 0; top: 0; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: #F0B25A; box-shadow: 0 0 0 4px rgb(240 178 90 / .2), 0 0 16px rgb(240 178 90 / .7); will-change: transform; }
.dayrail__time { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); padding: 3px 8px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font: 500 .62rem/1.2 var(--f-mono); letter-spacing: .08em; color: var(--ink-2); white-space: nowrap; box-shadow: var(--sh-sm); }
@media (min-width: 900px) {
  .motion-ok .dayrail { right: 20px; top: 50%; width: 2px; height: 44vh; margin-top: -22vh; }
  .dayrail__track { background: linear-gradient(180deg, #5B6FA8, #E59A8C 16%, #E3D6BC 42%, #F0B25A 80%, #C4567A); }
  .dayrail__sun { left: 1px; }
}
@media (max-width: 899.98px) {
  .motion-ok .dayrail { left: 0; right: 0; top: 0; height: 2px; }
  .dayrail__track { background: linear-gradient(90deg, #5B6FA8, #E59A8C 16%, #E3D6BC 42%, #F0B25A 80%, #C4567A); }
  .dayrail__sun { top: 1px; width: 8px; height: 8px; margin: -4px 0 0 -4px; }
  .dayrail__time { display: none; }
}
.intro .dayrail, .menu-open .dayrail, .viewer-open .dayrail, .dayrail.is-away { opacity: 0; }

.advance { position: relative; z-index: 1; height: 40px; overflow: hidden; background: #1C130C; color: #F2A64B; }
.advance::before, .advance::after {
  content: ""; position: absolute; left: 0; right: 0; height: 6px;
  background: repeating-linear-gradient(90deg, transparent 0 7px, var(--bg) 7px 15px, transparent 15px 22px);
}
.advance::before { top: 5px; }
.advance::after { bottom: 5px; }
.advance__track { display: flex; align-items: center; gap: 30px; width: max-content; height: 100%; margin: 0; padding-left: 24px; font: 500 .6rem/1 var(--f-mono); letter-spacing: .22em; white-space: nowrap; will-change: transform; }
.advance__label { color: #E6D6C4; text-transform: uppercase; letter-spacing: .16em; }

.plans-wrap { position: relative; }
.envelope { display: none; }
@media (min-width: 900px) {
  .motion-ok .envelope {
    display: block; position: absolute; z-index: 3; left: -2.5%; right: -2.5%; top: 44%; height: 135%; pointer-events: none;
    border-radius: 4px 4px 8px 8px;
    background:
      linear-gradient(160deg, rgb(255 255 255 / .18), transparent 40%),
      repeating-linear-gradient(115deg, rgb(120 80 40 / .05) 0 2px, transparent 2px 7px),
      #C9A77E;
    clip-path: polygon(0 0, 50% 16%, 100% 0, 100% 100%, 0 100%);
    box-shadow: 0 -20px 40px -20px rgb(0 0 0 / .4);
  }
  .envelope__flap { position: absolute; inset: 0; background: linear-gradient(to bottom right, transparent calc(50% - 1px), rgb(90 60 30 / .25) 50%, transparent calc(50% + 1px)) 0 0 / 50% 16% no-repeat, linear-gradient(to bottom left, transparent calc(50% - 1px), rgb(90 60 30 / .25) 50%, transparent calc(50% + 1px)) 100% 0 / 50% 16% no-repeat; }
  .envelope__label { position: absolute; left: 6%; top: 24%; font: 500 .72rem/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: #5A3E22; }
  .envelope__stamp { position: absolute; right: 5%; top: 21%; display: grid; place-items: center; width: 52px; height: 62px; border: 2px dashed rgb(90 60 30 / .45); font-family: var(--f-serif); font-size: 1.8rem; color: #7A2E14; transform: rotate(6deg); }
}

.notes__list { position: relative; padding-top: 36px; }
.notes__list::before { content: ""; position: absolute; left: 0; right: 0; top: 17px; height: 1px; background: var(--line-2); }
.note { transform-origin: 50% -20px; }
.note:nth-child(even) { margin-top: 0; }
.note::before { content: ""; position: absolute; left: 50%; top: -25px; z-index: 2; width: 12px; height: 30px; margin-left: -6px; border-radius: 3px; background: linear-gradient(90deg, #b99a7a, #e2c9a8 45%, #a8876a); box-shadow: 0 2px 4px rgb(0 0 0 / .3); }

.aflock { position: absolute; z-index: 2; left: 0; top: 0; pointer-events: none; opacity: 0; color: var(--accent); }
.aflock i { position: absolute; width: 14px; height: 14px; border: 0 solid currentColor; }
.aflock i:nth-child(1) { left: 0; top: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.aflock i:nth-child(2) { right: 0; top: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.aflock i:nth-child(3) { left: 0; bottom: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.aflock i:nth-child(4) { right: 0; bottom: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.aflock b { position: absolute; right: 0; top: -18px; font: 500 .58rem/1 var(--f-mono); letter-spacing: .14em; }
.section-head, .sheet__copy, .about__copy, .contact__copy, .about__photo { position: relative; }
.contact .aflock, .darkroom .aflock { color: var(--inv-accent); }

.contact { isolation: isolate; }
.contact__sun { position: absolute; z-index: -1; right: 4%; top: 0; width: min(78vw, 780px); aspect-ratio: 1; border-radius: 50%; pointer-events: none; transform: translate(26%, -42%);
  background: radial-gradient(closest-side, rgb(243 160 80 / .32), rgb(230 110 60 / .12) 45%, transparent 72%); }

.motion-ok .gear__list div { border-bottom-color: transparent; background: linear-gradient(var(--line-2), var(--line-2)) 0 100% / var(--gl, 100%) 1px no-repeat; }
.motion-ok .faq .qa { border-bottom-color: transparent; background: linear-gradient(var(--line-2), var(--line-2)) 0 100% / var(--gl, 100%) 1px no-repeat; }
.motion-ok .plan { transition: box-shadow .6s var(--ease-out); }
.motion-ok .plan:hover { transform: none; }

/* 21. Emphasis without italics: photographic treatments -------------------
   <em> in titles = a word held in viewfinder brackets (it also pulls into focus on scroll).
   .darkroom em = a word in a safelight-red box. .light em = an over-exposed, glowing word. */
.section-title em, .contact__title em, .story-intro__text em, .spread__text em, .statement__text em {
  position: relative; color: var(--accent); white-space: nowrap;
}
.section-title em::before, .section-title em::after, .contact__title em::before, .contact__title em::after {
  content: ""; position: absolute; width: .22em; height: .22em; border: 0 solid currentColor; opacity: .75; pointer-events: none;
}
.section-title em::before, .contact__title em::before { left: -.12em; top: .02em; border-top-width: max(1.5px, .03em); border-left-width: max(1.5px, .03em); }
.section-title em::after, .contact__title em::after { right: -.12em; bottom: .02em; border-bottom-width: max(1.5px, .03em); border-right-width: max(1.5px, .03em); }
.contact__title em { color: var(--inv-accent); }
.darkroom .section-title em { color: #1A0705; background: var(--dr-red-ink); padding: 0 .14em .04em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.darkroom .section-title em::before, .darkroom .section-title em::after { display: none; }
.light .section-title em { color: var(--accent); text-shadow: 0 0 .5em color-mix(in srgb, var(--gold) 70%, transparent); }
.light .section-title em::before, .light .section-title em::after { display: none; }
.statement__text em { white-space: normal; }
.hero__line em, .footer__big em, .story-title em, .teaser__title em { font-style: normal; }
.plan__name { letter-spacing: -.01em; }
.note blockquote p::before { font-family: var(--f-serif); }

/* 22. Focus interlude: a lens racks focus, two lines come into focus ------------- */
.focus { padding: clamp(60px, 9vw, 120px) 0; }
.focus__sticky { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(12px, 3svh, 30px); text-align: center; padding-inline: var(--gutter); }
.focus__line { font-family: var(--f-serif); font-size: clamp(1.8rem, min(6.2vw, 7.4svh), 5.2rem); line-height: 1.06; letter-spacing: -.02em; max-width: 18ch; will-change: transform, filter; }
.focus__line--b { color: var(--ink-2); }
.focus__word { position: relative; color: var(--accent); white-space: nowrap; }
.focus__word::before, .focus__word::after { content: ""; position: absolute; width: .24em; height: .24em; border: 0 solid currentColor; opacity: 0; transition: opacity .4s, transform .5s var(--ease-out); }
.focus__word::before { left: -.14em; top: .02em; border-top-width: 2px; border-left-width: 2px; transform: translate(-.2em, -.2em); }
.focus__word::after { right: -.14em; bottom: .04em; border-bottom-width: 2px; border-right-width: 2px; transform: translate(.2em, .2em); }
.focus__word.is-locked::before, .focus__word.is-locked::after, html:not(.motion-ok) .focus__word::before, html:not(.motion-ok) .focus__word::after { opacity: 1; transform: none; }
.focus__lens-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.focus__lens { width: min(62vw, 40svh, 420px); height: auto; aspect-ratio: 1; overflow: visible; }
.lens__body { fill: #16120F; stroke: var(--line-2); stroke-width: 1; }
.lens__ring { fill: #231C17; stroke: #3a312a; }
.lens__ticks line { stroke: #9a8b7a; stroke-width: 1.2; }
.lens__nums text { fill: #EDE2D2; font: 500 14px var(--f-mono); text-anchor: middle; dominant-baseline: middle; }
.lens__ring2 { fill: #1b1613; stroke: #3a312a; }
.lens__ap text { fill: #F0B25A; font: 500 11px var(--f-mono); text-anchor: middle; dominant-baseline: middle; }
.lens__index { fill: var(--accent); }
.focus__iris { fill: #0b0907; }
.focus__readout { font: 500 .8rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.motion-ok .focus { height: 230vh; height: 230svh; padding: 0; }
.motion-ok .focus__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

/* 23. Behind the frame -------------------------------------------------------------- */
.bts { padding: clamp(70px, 10vw, 140px) 0 clamp(50px, 7vw, 100px); }
.bts__head { display: grid; gap: 16px; margin-bottom: clamp(28px, 4vw, 56px); }
.bts__stage { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.bts__frame, .bts__instruments, .bts__progress { display: none; }
.bts__shots { display: grid; gap: clamp(44px, 6vw, 84px); }
.bts__shot { display: grid; gap: 18px 44px; align-items: center; }
@media (min-width: 900px) { .bts__shot { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); } }
.bts__photo { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); background: #1a1512; margin: 0; }
.bts__photo img { width: 100%; height: 100%; object-fit: cover; }
.bts__notes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; filter: drop-shadow(0 1px 1.5px rgb(0 0 0 / .5)); }
.bts__notes .ink { fill: none; stroke: #FFF6EA; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.bts__notes .ink--dash { stroke-dasharray: 3 4; stroke-width: 1; opacity: .85; }
.bts__notes .ink-t { fill: #FFF6EA; font: 600 8.6px var(--f-mono); letter-spacing: .06em; }
@media (max-width: 599.98px) { .bts__notes .ink-t { font-size: 10.4px; letter-spacing: .02em; } }
.bts__copy { display: grid; gap: 10px; align-content: start; }
.bts__no { font: 500 .8rem/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.bts__title { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.7rem); line-height: 1.06; }
.bts__text { color: var(--ink-2); max-width: 42ch; }
.bts__exif { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 6px; font-family: var(--f-mono); }
.bts__exif dt { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.bts__exif dd { font-size: .92rem; }

.motion-ok .bts__stage {
  --inst-h: clamp(92px, 16svh, 150px);
  position: relative; width: 100%; max-width: 1560px; height: 100vh; height: 100svh;
  padding: max(70px, 9svh) var(--gutter) max(20px, 4svh);
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) var(--inst-h); column-gap: clamp(26px, 4vw, 64px); row-gap: 14px;
}
.motion-ok .bts__shots { position: absolute; inset: 0; padding: inherit; display: grid; grid-template-columns: inherit; grid-template-rows: inherit; column-gap: inherit; row-gap: inherit; pointer-events: none; }
.motion-ok .bts__shot { display: contents; }
.motion-ok .bts__photo, .motion-ok .bts__frame { grid-column: 1; grid-row: 1 / -1; align-self: center; width: 100%; max-height: 100%; aspect-ratio: 3 / 2; margin: 0; }
.motion-ok .bts__photo { background: transparent; }
.motion-ok .bts__frame { display: block; position: relative; overflow: hidden; border-radius: var(--radius); background: #14100d; }
.motion-ok .bts__copy { grid-column: 2; grid-row: 1; align-self: center; opacity: 0; pointer-events: auto; }
.motion-ok .bts__exif { display: none; }
.motion-ok .bts.has-gl .bts__photo img { opacity: 0; }
.bts__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.bts__count, .bts__rec { position: absolute; z-index: 2; top: 12px; font: 500 .78rem/1 var(--f-mono); letter-spacing: .12em; color: #FFF6EA; text-shadow: 0 1px 6px rgb(0 0 0 / .5); }
.bts__count { left: 14px; }
.bts__rec { right: 14px; display: flex; align-items: center; gap: 8px; }
.bts__rec i { width: 8px; height: 8px; border-radius: 50%; background: #FF5A45; box-shadow: 0 0 8px #FF5A45; }
.bts__histo { position: absolute; z-index: 2; left: 12px; bottom: 12px; width: clamp(96px, 16%, 150px); padding: 6px 8px 4px; border-radius: 4px; background: rgb(12 9 7 / .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #FFF6EA; }
.bts__histo svg { display: block; width: 100%; height: 30px; }
.bts__histo path { fill: rgb(255 246 234 / .75); stroke: none; }
.bts__histo small { display: block; margin-top: 3px; font: 500 .56rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.motion-ok .bts__instruments { grid-column: 2; grid-row: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; align-items: end; }
.gauge { display: grid; justify-items: center; gap: 4px; text-align: center; min-width: 0; }
.gauge svg { width: clamp(40px, min(5vw, 8svh), 72px); height: auto; overflow: visible; }
.gauge__rim { fill: var(--surface); stroke: var(--line-2); stroke-width: 1.5; }
.gauge__iris { fill: var(--ink); }
.gauge__ticks line { stroke: var(--ink-3); stroke-width: 1.4; stroke-linecap: round; }
.gauge__needle { stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; }
.gauge__hub { fill: var(--ink); }
.gauge__bars rect { fill: var(--line-2); }
.gauge__bars rect.is-on { fill: var(--accent); }
.plan__bg { fill: var(--surface); stroke: var(--line-2); }
.plan__ray { stroke: #E3A040; stroke-width: 1.4; stroke-dasharray: 3 3; }
.plan__view { stroke: var(--ink-2); stroke-width: 1.2; }
.plan__sun circle { fill: #F0B25A; }
.plan__sun path { stroke: #E3A040; stroke-width: 1.6; stroke-linecap: round; }
.plan__card { fill: var(--surface); stroke: var(--ink-3); }
.plan__subject { fill: var(--accent); }
.plan__cam rect, .plan__cam circle { fill: var(--ink); }
.gauge__val { font: 600 .86rem/1.1 var(--f-mono); color: var(--ink); white-space: nowrap; }
.gauge__lbl { font: 500 .66rem/1.1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.motion-ok .bts__progress { display: block; position: absolute; left: var(--gutter); right: var(--gutter); top: max(52px, 6.5svh); height: 2px; background: var(--line); }
.bts__progress i { position: absolute; inset: 0; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
@media (max-width: 899.98px) and (orientation: portrait) {
  .motion-ok .bts__stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) var(--inst-h); padding-top: max(26px, 4svh); --inst-h: clamp(84px, 13svh, 120px); }
  .motion-ok .bts__photo, .motion-ok .bts__frame { grid-row: 1; align-self: start; }
  .motion-ok .bts__copy { grid-column: 1; grid-row: 2; align-self: start; padding-top: 4px; }
  .motion-ok .bts__instruments { grid-column: 1; grid-row: 3; }
  .motion-ok .bts__progress { top: 12px; }
  .bts__text { font-size: .95rem; line-height: 1.5; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .motion-ok .bts__stage { padding-top: 30px; padding-bottom: 12px; --inst-h: 86px; }
  .motion-ok .bts__progress { top: 12px; }
  .bts__text { font-size: .88rem; line-height: 1.45; }
  .bts__title { font-size: 1.35rem; }
  .bts__count, .bts__rec { font-size: .66rem; }
}

/* Gallery: 8 frames first, the rest on demand */
.gallery__more { display: none; margin-top: clamp(28px, 4vw, 48px); text-align: center; }
.js .gallery__more { display: block; }
.js .gallery:not(.is-expanded):not(.is-filtered) .shot.is-more { display: none; }
.js .gallery.is-expanded + .gallery__more, .js .gallery.is-filtered + .gallery__more { display: none; }

/* Fixed UI steps aside during pinned scenes */
.demo-switch { transition: opacity .3s, visibility .3s; }
.pin-active .demo-switch { opacity: 0; visibility: hidden; }

/* 24. Phones: legible sizes + 44px tap targets ----------------------------------- */
.pencil-note { font-family: var(--f-mono); font-weight: 600; font-size: clamp(.62rem, .54rem + .3vw, .82rem); letter-spacing: .06em; text-transform: uppercase; transform: rotate(-4deg); }
.chip span, .light__presets button, .btn--sm, .nav__toggle { min-height: 44px; }
.hero { padding-top: 84px; }
@media (max-width: 599.98px) {
  .eyebrow, .hero__sun, .sheet__hint, .story-meta, .story-quote footer, .light__label { font-size: .8125rem; }
  .shot__no, .viewer__count, .light__ticks, .plan__price small, .plan__badge, .print figcaption, .about__photo figcaption, .gear__list dt, .field span, .spread figcaption, .spread__note, .footer__credits { font-size: .78rem; }
  .viewer__exif dt { font-size: .7rem; }
  .viewer__exif dd { font-size: .88rem; }
  .film__frame figcaption span:last-child { font-size: .78rem; }
  .demo-switch__opt { width: 30px; height: 30px; }
}

/* 25. Story page: sun path over the film strip, notes on a spread, phone sizing ---- */
.daypath { position: relative; height: clamp(46px, 8svh, 90px); margin-bottom: clamp(6px, 1.5svh, 18px); }
.daypath__svg { position: absolute; inset: 0; width: 100%; height: calc(100% - 18px); overflow: visible; }
.daypath__arc { fill: none; stroke: rgb(242 166 75 / .55); stroke-width: 1.4; stroke-dasharray: 3 6; vector-effect: non-scaling-stroke; }
.daypath__horizon { stroke: rgb(242 230 216 / .2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.daypath__sun { position: absolute; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #F2A64B; box-shadow: 0 0 0 5px rgb(242 166 75 / .2), 0 0 22px rgb(242 166 75 / .8); opacity: 0; will-change: transform; }
.motion-ok .daypath__sun { opacity: 1; }
.daypath__ticks { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; margin: 0; padding: 0; list-style: none; font: 500 .72rem/1 var(--f-mono); letter-spacing: .08em; color: #CDBBA9; }
.spread__shot { position: relative; display: block; }
.spread__shot .bts__notes { z-index: 1; }
.film { --h: clamp(150px, min(46svh, 92vw), 480px); }
.filmstrip__head { padding: clamp(36px, 7svh, 100px) 0 clamp(12px, 2svh, 26px); }
.filmstrip__head h2 { font-size: clamp(1.9rem, 1.3rem + 3vw, 4.4rem); margin-top: 10px; }
.motion-ok .filmstrip__viewport { padding-bottom: clamp(36px, 6svh, 80px); }
@media (max-height: 520px) and (orientation: landscape) {
  .film { --h: clamp(120px, 40svh, 200px); }
  .filmstrip__head { padding: 18px 0 6px; }
  .filmstrip__head h2 { font-size: 1.5rem; margin-top: 4px; }
  .daypath { height: 34px; margin-bottom: 4px; }
  .motion-ok .filmstrip__viewport { padding-top: 6px; padding-bottom: 26px; }
  .motion-ok .filmstrip__progress { bottom: 14px; }
}
@media (max-width: 599.98px) { .daypath__ticks { font-size: .66rem; } .daypath__ticks li:nth-child(2), .daypath__ticks li:nth-child(4) { visibility: hidden; } }
.story-intro__text em, .spread__text em { white-space: normal; }
.film__edge { display: none; }
@media (max-width: 599.98px), (max-height: 520px) and (orientation: landscape) {
  .eyebrow, .hero__sun, .sheet__hint, .story-meta, .story-quote footer, .light__label, .gear__title, .hint-touch { font-size: .8125rem; }
  .shot__no, .viewer__count, .light__ticks, .plan__price small, .plan__badge, .print figcaption, .about__photo figcaption, .gear__list dt, .field span, .spread figcaption, .spread__note, .footer__credits, .bts__exif dt, .film__frame figcaption, .film__frame figcaption span:last-child, .film__frame::before { font-size: .8125rem; }
  .chip sup { font-size: .75rem; }
}
@media (max-width: 899.98px) and (orientation: portrait) {
  .motion-ok .bts__stage { grid-template-rows: auto var(--inst-h) minmax(0, 1fr); }
  .motion-ok .bts__instruments { grid-row: 2; align-items: center; }
  .motion-ok .bts__copy { grid-row: 3; }
}
.section-title em, .contact__title em { white-space: normal; }
.darkroom .section-title { max-width: 15ch; }
