/* vincecoombs concept — "From the back garden"
   Palette: garden #22271D, garden-2 #2E3427, cream #F2F0E7, stone #B9BBAA, ink #141511, ember #E8642C
   Type: Mona Sans (heavy, wide) mixed with Instrument Serif inside headlines */

:root {
  --garden: #22271d;
  --garden-2: #2e3427;
  --cream: #f2f0e7;
  --stone: #b9bbaa;
  --ink: #141511;
  --ember: #e8642c;
  --sans: "Mona Sans", "Arial Black", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --edge: clamp(16px, 2.6vw, 40px);
  --ease: cubic-bezier(.22, .8, .2, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--garden); color: var(--cream);
  font: 450 1rem/1.5 var(--sans); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
p, h2, figure, blockquote { margin: 0; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
::selection { background: var(--ember); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 200; padding: 10px 14px; background: var(--cream); color: var(--ink); transform: translateY(-160%); }
.skip:focus { transform: none; }

.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; text-transform: none; }
.sans { font-family: var(--sans); font-weight: 850; font-stretch: 112%; text-transform: uppercase; letter-spacing: -.035em; }
.tick { display: inline-block; width: 9px; height: 9px; background: var(--ember); flex: none; }

/* ---------- Text roll on hover ---------- */
.roll { display: inline-flex; overflow: hidden; text-decoration: none; }
.roll span { position: relative; display: inline-block; transition: transform .45s var(--ease); }
.roll span::after { content: attr(data-t); position: absolute; left: 0; top: calc(100% + 1em); }
@media (hover: hover) { .roll:hover span { transform: translateY(calc(-100% - 1em)); } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: max(14px, env(safe-area-inset-top)) var(--edge) 14px;
  color: var(--cream); transition: color .4s;
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav.is-light { color: var(--ink); }
.logo { display: flex; flex-direction: column; text-decoration: none; line-height: .82; }
.logo__a { font: 400 1.55rem/.8 var(--serif); }
.logo__b { font: 850 1.3rem/.9 var(--sans); font-stretch: 115%; text-transform: uppercase; letter-spacing: -.03em; }
.nav__links { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); font-weight: 650; font-size: .9rem; text-transform: uppercase; letter-spacing: .01em; }
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .62em 1.1em; border-radius: 999px;
  background: var(--ember); color: var(--ink) !important;
  font-weight: 750; text-transform: uppercase; font-size: .85rem; letter-spacing: .01em;
}
.pill--lg { font-size: 1rem; padding: .9em 1.6em; }
@media (max-width: 560px) { .nav__links a:not(.pill) { display: none; } }

/* ---------- 1. Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: #141511; color: var(--cream); cursor: crosshair; touch-action: none; overscroll-behavior: none; }
.hero__fallback, .hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__fallback { filter: blur(14px) brightness(.72) saturate(.9); transform: scale(1.06); object-position: 60% 50%; }
.hero__gl { opacity: 0; transition: opacity 1.2s; }
.hero.gl-ready .hero__gl { opacity: 1; }
.hero__ui { position: absolute; inset: 0; pointer-events: none; }
/* Viewfinder overlay */
.vf { position: absolute; inset: clamp(86px, 12vh, 120px) var(--edge) clamp(92px, 13vh, 130px); pointer-events: none; z-index: 1; opacity: 0; transition: opacity 1s .6s; }
.hero.gl-ready .vf { opacity: 1; }
.vf__c { position: absolute; width: 26px; height: 26px; border: 0 solid rgb(242 240 231 / .8); }
.vf__c--tl { left: 0; top: 0; border-width: 2px 0 0 2px; } .vf__c--tr { right: 0; top: 0; border-width: 2px 2px 0 0; }
.vf__c--bl { left: 0; bottom: 0; border-width: 0 0 2px 2px; } .vf__c--br { right: 0; bottom: 0; border-width: 0 2px 2px 0; }
.vf__read { position: absolute; left: 50%; top: 0; transform: translate(-50%, -2px); display: flex; gap: 22px; align-items: center; font: 750 .74rem/1 var(--sans); text-transform: uppercase; letter-spacing: .04em; color: rgb(242 240 231 / .9); text-shadow: 0 1px 6px rgb(0 0 0 / .5); font-variant-numeric: tabular-nums; white-space: nowrap; }
.vf__read b { font-weight: inherit; }
.vf__dot { width: 9px; height: 9px; border-radius: 50%; background: rgb(242 240 231 / .3); transition: background .15s; }
.hero.is-af .vf__dot { background: #5fd35f; box-shadow: 0 0 8px rgb(95 211 95 / .7); }
.vf__af { position: absolute; z-index: 1; left: var(--afx, 56%); top: var(--afy, 50%); width: 56px; height: 56px; color: rgb(242 240 231 / .95); pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(1.12); transition: transform .18s, color .15s, opacity 1s .6s; }
.hero.gl-ready .vf__af { opacity: 1; }
.hero.is-af .vf__af { color: #5fd35f; transform: translate(-50%, -50%) scale(1); }
.vf__af i { position: absolute; width: 12px; height: 12px; border: 0 solid currentColor; filter: drop-shadow(0 0 2px rgb(0 0 0 / .5)); }
.vf__af i:nth-child(1) { left: 0; top: 0; border-width: 2px 0 0 2px; } .vf__af i:nth-child(2) { right: 0; top: 0; border-width: 2px 2px 0 0; }
.vf__af i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 2px 2px; } .vf__af i:nth-child(4) { right: 0; bottom: 0; border-width: 0 2px 2px 0; }
.vf__blink { position: absolute; inset: 0; z-index: 3; background: #050505; opacity: 0; pointer-events: none; }
.hero.is-shot .vf__blink { animation: vfShot .26s ease-out; }
@keyframes vfShot { 0% { opacity: 0; } 15% { opacity: 1; } 55% { opacity: 1; } 100% { opacity: 0; } }
@media (max-width: 640px) { .vf__read { gap: 14px; font-size: .66rem; } .vf__c { width: 18px; height: 18px; } }
@media (prefers-reduced-motion: reduce) { .hero.is-shot .vf__blink { animation: none; } }
.hero__label { position: absolute; bottom: clamp(20px, 4vh, 40px); display: flex; gap: 10px; align-items: flex-start; font-weight: 750; text-transform: uppercase; font-size: .95rem; line-height: 1.15; }
.hero__label small { display: block; font: 400 1.05rem/1 var(--serif); text-transform: none; color: rgb(242 240 231 / .7); margin-bottom: 4px; }
.hero__label .tick { margin-top: 4px; }
.hero__label--l { left: var(--edge); }
.hero__label--r { left: calc(var(--edge) + 23rem); } /* clear of the longest "Last sighting" caption */
.hero__hint { position: absolute; right: var(--edge); bottom: clamp(20px, 4vh, 40px); font: italic 400 1.1rem/1 var(--serif); color: rgb(242 240 231 / .75); }
.hint-touch { display: none; }
@media (hover: none) { .hint-desk { display: none; } .hint-touch { display: inline; } }
.hint-next { display: none; }
.hero__hint.is-nudge span { display: none; }
.hero__hint.is-nudge .hint-next { display: inline; color: var(--cream); }
@media (max-width: 640px) { .hero__hint { bottom: 96px; } .hero__label { font-size: .8rem; } .hero__label--r { display: none; } }

/* ---------- 2. Marquee ---------- */
.marquee { position: relative; height: 100svh; min-height: 560px; display: grid; place-items: center; overflow: hidden; background: var(--garden); }
/* Vince's signature: his own brush-pen artwork, uncovered by pen strokes drawn in writing order */
.sig { position: absolute; left: 50%; top: 50%; z-index: 4; width: min(82vw, 940px); height: auto; overflow: visible; pointer-events: none; transform: translate(-50%, -50%); filter: drop-shadow(0 2px 3px rgb(0 0 0 / .3)); transition: opacity .6s ease; }
.sig .ink { fill: var(--ember); }
.sig .pen { fill: none; stroke: #fff; stroke-width: 64; stroke-linecap: round; stroke-linejoin: round; }
.signed { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: var(--garden); }
@media (max-width: 700px) { .sig { width: 94vw; } }
.marquee__rows { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 1vw; }
.mrow { overflow: hidden; white-space: nowrap; }
.mrow__inner { display: inline-flex; will-change: transform; }
.mrow span { padding-right: .35em; }
.mrow--serif { font: 400 clamp(4rem, 13vw, 14rem)/.9 var(--serif); color: var(--cream); }
.mrow--sans { font: 850 clamp(3.4rem, 11vw, 12rem)/.9 var(--sans); font-stretch: 115%; text-transform: uppercase; letter-spacing: -.04em; color: var(--stone); }
.mrow--serif span { display: inline-flex; align-items: center; }
.mrow--serif i { display: inline-block; width: .16em; height: .16em; margin-left: .35em; background: var(--ember); transform: rotate(45deg); }

/* The deck: a stack of garden regulars you can drag, click or key through */
.deck { position: relative; z-index: 2; width: clamp(220px, 27vw, 400px); aspect-ratio: 4 / 5; perspective: 900px; touch-action: pan-y; outline: none; cursor: grab; }
.deck:focus-visible { outline: 2px solid var(--ember); outline-offset: 10px; border-radius: 16px; }
.deck.is-dragging { cursor: grabbing; }
.dcard { position: absolute; inset: 0; margin: 0; border-radius: 14px; overflow: hidden; background: #2b2f25; box-shadow: 0 30px 70px rgb(0 0 0 / .45); transform-style: preserve-3d; user-select: none; -webkit-user-select: none; }
.dcard:first-child { z-index: 20; }
.dcard img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.dcard::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: var(--glare, 0); transition: opacity .4s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgb(255 255 255 / .35), transparent 55%); mix-blend-mode: soft-light; }
.dcard figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; gap: 8px; align-items: center; font-size: .78rem; font-weight: 700; text-transform: uppercase; color: var(--cream); text-shadow: 0 1px 8px rgb(0 0 0 / .5); }
.dcard figcaption small { margin-left: auto; padding: 2px 6px; background: var(--ember); color: var(--ink); border-radius: 3px; font-size: .66rem; text-shadow: none; }
.deck__hint { position: absolute; left: 50%; bottom: clamp(24px, 6vh, 56px); z-index: 3; transform: translateX(-50%); display: flex; gap: 14px; align-items: baseline; white-space: nowrap; font: italic 400 1.1rem/1 var(--serif); color: var(--stone); }
.deck__count { font: 700 .78rem/1 var(--sans); font-style: normal; text-transform: uppercase; letter-spacing: .02em; color: var(--cream); font-variant-numeric: tabular-nums; }
.deck__count b { color: var(--ember); }

/* ---------- 3. Statement ---------- */
.statement { padding: clamp(80px, 18vh, 200px) var(--edge) clamp(40px, 9vh, 100px); display: grid; place-items: center; }
.statement__text {
  max-width: 17ch; text-align: center;
  font: 850 clamp(2.4rem, 6.4vw, 7rem)/.92 var(--sans); font-stretch: 112%;
  text-transform: uppercase; letter-spacing: -.04em;
}
/* each line rises out of its own strip; give the strip room below the letters (and a hair at the sides) so nothing is clipped,
   with matching negative margins so the line spacing stays the same */
.statement__text > [class*="mask"] { padding: .02em .08em .16em; margin: -.02em -.08em -.16em; }
.statement__text em { position: relative; font: italic 400 1.08em/.85 var(--serif); text-transform: none; letter-spacing: -.01em; color: var(--ember); }

.hi { position: relative; z-index: 0; padding: 0 .06em; background: none; color: inherit; transition: color .4s .35s; }
.hi::before { content: ""; position: absolute; left: 0; right: 0; top: .08em; bottom: .02em; z-index: -1; background: var(--ember); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.hi.is-on { color: var(--ink); }
.hi.is-on::before { transform: scaleX(1); }
.scrib-wrap { position: relative; display: inline-block; }
.scribble--loop { left: -9%; top: -16%; width: 118%; height: 132%; }
.scribble--under { left: 61%; bottom: -.28em; width: 39%; height: .35em; }

/* ---------- 4. Horizontal track ---------- */
.track { position: relative; height: 360vh; background: var(--garden); }
.track__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.track__rail { position: absolute; inset: 0 auto 0 0; width: 345vw; will-change: transform; }
.tc { position: absolute; left: calc(var(--x) * 1vw); top: calc(var(--y) * 1svh); width: calc(var(--w) * 1vw); }
.tc__img { overflow: hidden; aspect-ratio: 16 / 10; border-radius: 6px; }
.tc__img img { width: 118%; max-width: none; height: 100%; object-fit: cover; margin-left: -9%; will-change: transform; }
.tc__img img { filter: grayscale(1) contrast(1.06); transition: filter .9s ease; }
.tc:hover .tc__img img, .tc.is-live .tc__img img { filter: none; }
.tc.is-mono .tc__img img { filter: grayscale(1) contrast(1.1); }
.tc figcaption { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; }
.tq { position: absolute; left: calc(var(--x) * 1vw); top: calc(var(--y) * 1svh); width: 34vw; }
.tq p { font: 400 clamp(2rem, 4.2vw, 4.6rem)/1 var(--serif); }
.tq cite { display: block; margin-top: 18px; font: 750 .8rem/1 var(--sans); text-transform: uppercase; font-style: normal; color: var(--ember); }
.track__progress { position: absolute; left: var(--edge); right: var(--edge); bottom: 22px; height: 2px; background: rgb(242 240 231 / .15); }
.track__progress span { display: block; height: 100%; background: var(--ember); transform-origin: left; transform: scaleX(0); }
@media (max-width: 700px) {
  .track__rail { width: 640vw; }
  .tc { left: calc(var(--x) * 1.85vw); width: calc(var(--w) * 2.3vw); }
  .tq { left: calc(var(--x) * 1.85vw); width: 78vw; }
}

/* ---------- 5. Sky / Ground ---------- */
.split { position: relative; background: var(--cream); color: var(--ink); min-height: 100svh; display: grid; align-items: center; padding: 18vh var(--edge); overflow: hidden; }
.contours { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .6; }
.split__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 9vw, 150px); max-width: 1200px; margin: 0 auto; width: 100%; }
/* The horizon between sky and ground: a hairline that draws down the middle, with an ember marker */
.split__grid::before { content: ""; position: absolute; left: 50%; top: -6vh; bottom: -6vh; width: 1px; background: rgb(20 21 17 / .28); transform-origin: top; transition: transform 1.4s cubic-bezier(.65,0,.35,1); }
.split__grid::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; background: var(--ember); transform: rotate(45deg); transition: transform .6s cubic-bezier(.34,1.56,.64,1) .9s; }
.split__grid.rule-anim:not(.is-drawn)::before { transform: scaleY(0); }
.split__grid.rule-anim:not(.is-drawn)::after { transform: rotate(45deg) scale(0); }
.split__col { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; text-decoration: none; }
.split__col:nth-child(1) { align-items: flex-end; text-align: right; }
.split__col:nth-child(2) { align-items: flex-start; text-align: left; }
.split__title { display: flex; flex-direction: column; line-height: .82; }
.split__title .serif { font-size: clamp(3rem, 6.6vw, 7rem); line-height: .8; }
.split__title .sans { font-size: clamp(3rem, 6.4vw, 6.5rem); }
.split__col p { max-width: 26ch; font-size: .98rem; color: #4a4d43; }
.sq { display: grid; place-items: center; width: 46px; height: 46px; background: var(--ember); border-radius: 6px; transition: transform .4s var(--ease); }
.sq svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .split__col:hover .sq { transform: rotate(-45deg); } .split__col:hover .sq--left { transform: rotate(45deg); } .split__pic:hover img:first-child { filter: brightness(1.04); } }
/* Each side shows a little deck of photos above its title, on every screen:
   swipe or drag across that half, or tap/click the photo, to flick through */
.split__pic { display: block; }
@media all {
  .split__col { touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
  .split__pic { cursor: pointer; position: relative; width: clamp(170px, 24vw, 280px); aspect-ratio: 4 / 3; margin-bottom: 8px; transform: rotate(-5deg); }
  .split__col:nth-child(2) .split__pic { transform: rotate(5deg); }
  .split__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 10px; box-shadow: 0 18px 44px rgb(0 0 0 / .22); background: #d9d7cc; -webkit-user-drag: none; }
  .split__count { font: 750 .72rem/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; color: #6b6e63; font-variant-numeric: tabular-nums; }
  .split__count b { color: var(--ember); font-weight: inherit; }
}
.peek { display: none; position: fixed; left: 0; top: 0; width: 280px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; pointer-events: none; z-index: 5; opacity: 0; transform: translate(-50%, -50%) scale(.6); box-shadow: 0 20px 60px rgb(0 0 0 / .25); }
@media (max-width: 700px) { .split__grid { grid-template-columns: 1fr; gap: 96px; } .split__col:nth-child(n) { align-items: center; text-align: center; }
  .split__grid::before { left: 20%; right: 20%; top: 50%; bottom: auto; width: auto; height: 1px; transform-origin: left; }
  .split__grid.rule-anim:not(.is-drawn)::before { transform: scaleX(0); } }

/* ---------- 5b. Moon eyepiece: the moon rises into a round viewfinder, then scroll (or the tabs) moves through four moons ---------- */
.moon { position: relative; height: 340vh; background: var(--ink); color: var(--cream); --S: clamp(240px, 34vw, 440px); }
.moon__sticky { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 50% 50%, rgb(232 100 44 / var(--glow, .10)), transparent 42%); }
.moon__title { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr calc(var(--S) + 5vw) 1fr; align-items: center; pointer-events: none; line-height: .85; white-space: nowrap; }
.moon__title .serif { grid-column: 1; justify-self: end; font-size: clamp(2.6rem, 6.6vw, 7.5rem); display: inline-block; }
.moon__title .sans { grid-column: 3; justify-self: start; }
.moon__title .sans { font-size: clamp(2.4rem, 6.4vw, 7rem); color: var(--stone); }
.moon__eye { position: relative; width: var(--S); aspect-ratio: 1; z-index: 2; }
.moon__view { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: #05060a; box-shadow: 0 0 0 1px rgb(242 240 231 / .12), 0 40px 120px rgb(0 0 0 / .6), inset 0 0 40px rgb(0 0 0 / .8); }
.mn { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.08); transition: opacity .8s ease, transform 1.2s cubic-bezier(.16,1,.3,1); }
.mn.is-on { opacity: 1; transform: none; }
/* Each photo is at least big enough to cover the whole circle, and is never pushed so far that an edge shows */
.mn img { --w: max(calc(var(--S) * var(--f) / var(--d)), calc(var(--S) * 1.85)); position: absolute; width: var(--w); max-width: none; height: auto;
  left: clamp(calc(var(--S) - var(--w)), calc(var(--S) * .5 - var(--w) * var(--cx) + var(--px, 0px)), 0px);
  top: clamp(calc(var(--S) - var(--w) * .5615), calc(var(--S) * .5 - var(--w) * .5615 * var(--cy) + var(--py, 0px)), 0px); }
.moon__ring { position: absolute; inset: -14px; width: calc(100% + 28px); height: calc(100% + 28px); overflow: visible; pointer-events: none; }
.moon__ring circle { fill: none; stroke: rgb(242 240 231 / .25); stroke-width: .5; }
.moon__ticks line { stroke: rgb(242 240 231 / .45); stroke-width: .6; }
.moon__ticks line.is-major { stroke: var(--ember); stroke-width: 1; }
.moon__tabs { position: absolute; left: 50%; bottom: clamp(20px, 5vh, 48px); transform: translateX(-50%); display: flex; gap: clamp(6px, 1.5vw, 18px); z-index: 3; }
.moon__tab { display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border: 1px solid rgb(242 240 231 / .18); border-radius: 999px; background: rgb(20 21 17 / .6); color: var(--cream); font: 700 .78rem/1 var(--sans); text-transform: uppercase; cursor: pointer; transition: border-color .3s, background .3s, color .3s; }
.moon__tab:hover { border-color: rgb(242 240 231 / .5); }
.moon__tab.is-on { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.moon__tab:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
.moon__thumb { position: relative; width: 26px; height: 26px; border-radius: 50%; overflow: hidden; background: #05060a; flex: none; }
.moon__thumb img { --w: calc(26px * .8 / var(--d)); position: absolute; width: var(--w); max-width: none; left: calc(50% - var(--w) * var(--cx)); top: calc(50% - var(--w) * .5615 * var(--cy)); }
@media (max-width: 700px) {
  .moon { --S: min(72vw, 46svh); }
  .moon__title { grid-template-columns: 1fr; grid-template-rows: 1fr calc(var(--S) + 6vh) 1fr; justify-items: center; }
  .moon__title .serif { grid-column: 1; grid-row: 1; justify-self: center; align-self: end; }
  .moon__title .sans { grid-column: 1; grid-row: 3; justify-self: center; align-self: start; }
  .moon__tab { padding: 5px; font-size: 0; gap: 0; }
}

/* ---------- 6. Wall ---------- */
.wall { background: var(--ink); padding: clamp(80px, 14vh, 160px) var(--edge) clamp(80px, 18vh, 200px); overflow: hidden; }
.wall__head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; margin-bottom: clamp(40px, 8vh, 90px); }
.wall__title { display: flex; flex-direction: column; line-height: .82; }
.wall__title .sans { font-size: clamp(3rem, 7vw, 7.5rem); }
.wall__title .serif { font-size: clamp(3rem, 7vw, 7.5rem); color: var(--ember); margin-top: -.08em; }
.wall__intro { max-width: 36ch; justify-self: end; color: var(--stone); }
.wall__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid #2b2d27; }
.wall__col { display: flex; flex-direction: column; border-right: 1px solid #2b2d27; will-change: transform; }
.wall__col:nth-child(even) { margin-top: 18vh; }
.wc { position: relative; padding: 14px; border-bottom: 1px solid #2b2d27; }
.wc img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; filter: grayscale(1) contrast(1.05); transition: filter .7s ease; }
.wc:hover img, .wc.is-live img { filter: none; }
.wc figcaption { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.wc figcaption span { padding: 2px 6px; background: var(--ember); color: var(--ink); border-radius: 3px; font-size: .68rem; }
@media (max-width: 800px) {
  .wall__head { grid-template-columns: 1fr; } .wall__intro { justify-self: start; }
  .wall__grid { grid-template-columns: repeat(2, 1fr); }
  .wall__col:nth-child(even) { margin-top: 12vh; }
}

/* ---------- 7. Work ---------- */
.work { position: relative; background: var(--cream); color: var(--ink); padding: clamp(80px, 14vh, 160px) var(--edge); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.work__visor { aspect-ratio: 16 / 10; border-radius: 999px 999px 40px 40px; overflow: hidden; }
.work__visor img { width: 100%; height: 115%; object-fit: cover; }
.work__title { display: flex; flex-direction: column; line-height: .82; margin-bottom: 32px; }
.work__title .sans { font-size: clamp(3rem, 6.5vw, 7rem); }
.work__title .serif { font-size: clamp(3rem, 6.5vw, 7rem); color: var(--ember); }
.work__list { list-style: none; margin: 0 0 36px; padding: 0; border-top: 1px solid #d3d1c6; }
.work__list li { display: grid; grid-template-columns: 11rem 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid #d3d1c6; }
.work__list b { font-weight: 800; text-transform: uppercase; font-size: .95rem; }
.work__list span { color: #4a4d43; }
@media (max-width: 800px) { .work { grid-template-columns: 1fr; } .work__list li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- 8. Kit ---------- */
.kit { background: var(--cream); color: var(--ink); padding: 30px 0 clamp(60px, 12vh, 130px); overflow: hidden; border-top: 1px solid #d3d1c6; }
.kit__row { white-space: nowrap; }
.kit__inner { display: inline-flex; align-items: center; gap: 2.4rem; padding-right: 2.4rem; font: 800 clamp(1.4rem, 2.6vw, 2.4rem)/1 var(--sans); font-stretch: 115%; text-transform: uppercase; letter-spacing: -.02em; color: #6c6f62; animation: kit 32s linear infinite; }
.kit__inner i { width: 12px; height: 12px; background: var(--ember); transform: rotate(45deg); }
@keyframes kit { to { transform: translateX(-50%); } }

/* ---------- 9. Fan ---------- */
.fan { background: var(--cream); color: var(--ink); padding: clamp(60px, 10vh, 120px) var(--edge) clamp(90px, 14vh, 160px); text-align: center; overflow: hidden; }
.fan__title { display: flex; flex-direction: column; align-items: center; line-height: .85; margin-bottom: clamp(40px, 8vh, 80px); }
.fan__title .sans { font-size: clamp(2.6rem, 5.5vw, 6rem); }
.fan__title .serif { font-size: clamp(2.6rem, 5.5vw, 6rem); }
.fan__deck { position: relative; height: clamp(300px, 42vw, 520px); }
.fc { position: absolute; left: 50%; top: 0; width: clamp(150px, 19vw, 280px); aspect-ratio: 3 / 4; object-fit: cover; border-radius: 22px; margin-left: calc(clamp(150px, 19vw, 280px) / -2); box-shadow: 0 18px 40px rgb(20 21 17 / .22); transform-origin: 50% 120%; }
.fan__sub { margin-top: 28px; font: 400 1.5rem/1 var(--serif); }
.fan__links { display: flex; justify-content: center; gap: 28px; margin-top: 16px; font-weight: 750; text-transform: uppercase; font-size: .85rem; }

/* ---------- 10. Footer ---------- */
.foot { background: var(--ember); padding: clamp(14px, 2vw, 26px); }
.visor { position: relative; background: var(--garden); color: var(--cream); border-radius: clamp(28px, 6vw, 100px) clamp(28px, 6vw, 100px) 28px 28px; padding: clamp(70px, 12vh, 140px) var(--edge) clamp(30px, 5vh, 60px); text-align: center; overflow: hidden; }
.visor__title { font-size: clamp(3rem, 8vw, 9rem); line-height: .85; }
.visor__title .serif { color: var(--ember); }
.visor__cols { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 24px; align-items: center; margin: clamp(40px, 8vh, 80px) 0; }
.visor__cols > div:not(.visor__photo) { display: flex; flex-direction: column; align-items: center; gap: 6px; font-weight: 800; text-transform: uppercase; font-size: 1.05rem; }
.visor__h { font: 400 1.05rem/1 var(--serif); text-transform: none; color: var(--stone); margin-bottom: 6px; }
.visor__photo { border-radius: 999px; overflow: hidden; aspect-ratio: 16 / 9; }
.visor__photo img { width: 100%; height: 100%; object-fit: cover; }
.foot__bar { display: flex; justify-content: space-between; gap: 12px; padding: 16px 8px 4px; color: var(--ink); font-weight: 700; font-size: .78rem; text-transform: uppercase; }
@media (max-width: 760px) { .visor__cols { grid-template-columns: 1fr 1fr; } .visor__photo { grid-column: 1 / -1; order: -1; } }

/* ---------- 0. Intro: the lens racks from 18mm to 600mm while the page loads ---------- */
.intro { display: none; }
html.js:not(.no-intro) .intro { position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; justify-items: center; gap: 10px; background: var(--garden); color: var(--cream); clip-path: inset(0 0 0 0); transition: clip-path 1s cubic-bezier(.76,0,.24,1); }
html.intro-on { overflow: hidden; }
.intro__name { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.intro__name .serif { font: italic 400 1.15em/1 var(--serif); text-transform: none; color: var(--ember); }
.intro__mm { font: 800 clamp(5rem, 17vw, 15rem)/.85 var(--sans); font-stretch: 125%; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.intro__mm b { font-weight: inherit; }
.intro__note { font: italic 400 1.15rem/1 var(--serif); color: var(--stone); }
.intro__bar { position: absolute; left: var(--edge); right: var(--edge); bottom: clamp(24px, 5vh, 48px); height: 2px; background: rgb(242 240 231 / .15); }
.intro__bar i { display: block; height: 100%; background: var(--ember); transform-origin: left; transform: scaleX(var(--p, 0)); }
.intro.is-done { clip-path: inset(0 0 100% 0); }
.intro.is-done > * { opacity: 0; transform: translateY(-30px); transition: opacity .5s, transform .8s cubic-bezier(.76,0,.24,1); }

@media (prefers-reduced-motion: reduce) {
  .tc__img img, .wc img { filter: none; }
  .kit__inner { animation: none; }
  .roll span { transition: none; }
  .track { height: auto; } .track__sticky { position: relative; height: auto; overflow-x: auto; } .track__rail { position: relative; height: 100svh; }
  .moon { height: auto; } .moon__sticky { position: relative; height: 100svh; } .mn { transition: none; }
}

/* R50 viewfinder readout around the lens */
.vf__ring { position: absolute; z-index: 1; left: var(--afx, 56%); top: var(--afy, 50%); transform: translate(-50%, -50%); pointer-events: none; overflow: visible; opacity: 0; }
.vf__t { font: 650 11px/1 var(--sans); letter-spacing: .06em; fill: rgb(242 240 231 / .92); paint-order: stroke; stroke: rgb(10 12 8 / .55); stroke-width: 3px; stroke-linejoin: round; font-variant-numeric: tabular-nums; }
.vf__t--big { font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.vf__iso { font-size: 9px; }
.vf__eye { transition: fill .15s; }
.hero.is-af .vf__eye { fill: #5fd35f; }
.vf__exp line { stroke: rgb(242 240 231 / .8); stroke-width: 1.2; }
.vf__exp line.z { stroke-width: 2; }
.vf__mk { fill: #f2f0e7; }
.vf__mode rect { fill: none; stroke: rgb(242 240 231 / .9); stroke-width: 1.4; }
.vf__bat rect { fill: rgb(242 240 231 / .92); }
.vf__bat .vf__bat-b { fill: none; stroke: rgb(242 240 231 / .92); stroke-width: 1.4; }
.vf__side, .vf__lvl path { fill: none; stroke: rgb(242 240 231 / .75); stroke-width: 1.6; stroke-linecap: round; transition: stroke .2s; }
.vf__lvl path { stroke: rgb(242 240 231 / .45); stroke-width: 1.2; }
.vf__ring.is-level .vf__lvl path, .vf__ring.is-level .vf__side { stroke: rgb(95 211 95 / .8); }
@media (max-width: 700px) { .vf__t { font-size: 9.5px; } .vf__t--big { font-size: 11px; } }
