/* Caldera — site styles. Tokens first, then chrome, then one block per section.
   Two palettes: bone (light, the default) and obsidian (dark). site.js sets <html data-theme>
   from the section in view; the colour tokens are registered properties, so the switch fades. */

@property --bg { syntax: "<color>"; inherits: true; initial-value: #ece7de; }
@property --fg { syntax: "<color>"; inherits: true; initial-value: #12110f; }
@property --muted { syntax: "<color>"; inherits: true; initial-value: #4d4840; }
@property --subtle { syntax: "<color>"; inherits: true; initial-value: #6e685d; }
@property --line { syntax: "<color>"; inherits: true; initial-value: rgba(18, 17, 15, 0.22); }
@property --line-soft { syntax: "<color>"; inherits: true; initial-value: rgba(18, 17, 15, 0.1); }
@property --accent { syntax: "<color>"; inherits: true; initial-value: #b4401a; }
@property --surface { syntax: "<color>"; inherits: true; initial-value: #e2dcd1; }

:root, .light {
  --bg: #ece7de; --fg: #12110f; --muted: #4d4840; --subtle: #6e685d;
  --line: rgba(18, 17, 15, 0.22); --line-soft: rgba(18, 17, 15, 0.1);
  --accent: #b4401a; --surface: #e2dcd1; --danger: #a3271b;
}
:root[data-theme="dark"], .dark, .site-header.is-over-dark, .tcard__back {
  --bg: #0c0b0a; --fg: #ece7de; --muted: #aaa398; --subtle: #8a8379;
  --line: rgba(236, 231, 222, 0.24); --line-soft: rgba(236, 231, 222, 0.11);
  --accent: #e8683a; --surface: #181614; --danger: #f08a6c;
}
/* A scope that pins its palette has to re-resolve colour too; inherited colour is already computed. */
.light, .dark, .site-header.is-over-dark, .tcard__back { color: var(--fg); }

:root {
  --f-sans: "Jost", "Futura", "Century Gothic", "Avenir Next", system-ui, sans-serif;
  --gutter: clamp(20px, 4.4vw, 84px);
  --header-h: 84px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.76, 0, 0.24, 1);
  transition: --bg 0.9s ease, --fg 0.9s ease, --muted 0.9s ease, --subtle 0.9s ease, --line 0.9s ease, --line-soft 0.9s ease, --accent 0.9s ease, --surface 0.9s ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color-scheme: light; -webkit-text-size-adjust: 100%; }
html[data-theme="dark"] { color-scheme: dark; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 1.0625rem/1.7 var(--f-sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, picture, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
h1, h2, h3 { font-weight: 300; }
ul, ol { padding: 0; list-style: none; }
::selection { background: #c9521f; color: #fff; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
html.is-locked, html.age-pending { overflow: hidden; }

.skip { position: fixed; left: 12px; top: -80px; z-index: 200; padding: 12px 18px; background: var(--fg); color: var(--bg); font-size: 0.8rem; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1760px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------------------------------------------------------------- type */
.eyebrow { font: 500 0.6875rem/1.4 var(--f-sans); letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent); }
.label { font: 400 0.6875rem/1.5 var(--f-sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--subtle); }
.t-h1 { font: 300 clamp(2.8rem, 7.2vw, 8.4rem)/0.98 var(--f-sans); letter-spacing: -0.028em; }
.t-h2 { font: 300 clamp(2rem, 4.6vw, 5rem)/1.04 var(--f-sans); letter-spacing: -0.024em; }
.t-h3 { font: 400 clamp(1.35rem, 2vw, 2.1rem)/1.16 var(--f-sans); letter-spacing: -0.012em; }
.t-quote { font: 300 clamp(1.4rem, 2.5vw, 2.7rem)/1.22 var(--f-sans); letter-spacing: -0.015em; }
.t-lead { font: 400 clamp(1.1rem, 1.3vw, 1.45rem)/1.5 var(--f-sans); color: var(--muted); }
.t-small { font-size: 0.9375rem; line-height: 1.65; color: var(--muted); }
.dia { width: 10px; height: 14px; color: var(--accent); display: inline-block; flex: none; }
.arr { width: 22px; height: 11px; flex: none; transition: transform 0.6s var(--ease-out); }
.rule { display: block; height: 1px; background: var(--line); transform-origin: left center; }

.btn {
  position: relative; display: inline-flex; align-items: center; gap: 1em; isolation: isolate; overflow: hidden;
  padding: 1.2em 2.1em; border: 1px solid var(--fg); border-radius: 999px;
  font: 500 0.6875rem/1 var(--f-sans); letter-spacing: 0.22em; text-transform: uppercase; white-space: nowrap;
  transition: color 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
}
.btn::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform 0.6s var(--ease-out); }
.btn--solid { background: var(--fg); color: var(--bg); }
.btn--solid::before { background: var(--accent); }
.btn--solid:hover, .btn--solid:focus-visible { color: #fff; border-color: var(--accent); }
.btn--line { color: var(--fg); border-color: var(--line); }
.btn--line::before { background: var(--fg); }
.btn--line:hover, .btn--line:focus-visible { color: var(--bg); border-color: var(--fg); }
.btn--sm { padding: 0.95em 1.5em; font-size: 0.625rem; }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover .arr { transform: translateX(6px); }
.link-arrow { display: inline-flex; align-items: center; gap: 1em; font: 500 0.6875rem/1 var(--f-sans); letter-spacing: 0.22em; text-transform: uppercase; padding: 0.6em 0; border-bottom: 1px solid var(--line); transition: border-color 0.4s, color 0.4s; }
.link-arrow:hover { border-color: var(--accent); color: var(--accent); }
.link-arrow:hover .arr { transform: translateX(6px); }
.link-arrow--back .arr { transform: scaleX(-1); }
.link-arrow--back:hover .arr { transform: scaleX(-1) translateX(6px); }
.scroll-cue { display: inline-flex; align-items: center; gap: 14px; color: var(--muted); }
.scroll-cue i { display: block; width: 1px; height: 44px; background: linear-gradient(var(--fg), transparent); transform-origin: top; animation: cue 2.4s var(--ease-inout) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------------------------------------------------------------- grain, cursor */
.grain { position: fixed; inset: -50%; z-index: 120; pointer-events: none; opacity: 0.1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .7 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  animation: grain 0.9s steps(5) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }
.cursor { position: fixed; left: 0; top: 0; z-index: 130; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor i { display: block; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 1px solid #e8683a; transform: scale(0.16); background: #e8683a; transition: transform 0.45s var(--ease-out), background-color 0.3s, opacity 0.3s; }
.cursor.is-link i { transform: scale(1); background: transparent; }
.cursor.is-hidden i { opacity: 0; }

/* ---------------------------------------------------------------- header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header-h); padding: 0 var(--gutter); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; transition: transform 0.7s var(--ease-out), color 0.5s; }
/* Over the page the bar is frosted in the page colour; over photography it is only a soft shade. */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bg); background: color-mix(in srgb, var(--bg) 80%, transparent); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line-soft); opacity: 0; transition: opacity 0.5s; pointer-events: none; }
.site-header.is-solid::before { opacity: 1; }
.site-header.is-over-dark::before { inset: 0 0 -40px 0; background: linear-gradient(rgba(12, 11, 10, 0.72), rgba(12, 11, 10, 0)); -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; }
.site-header.is-hidden { transform: translateY(-110%); }
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand__mark { width: 15px; height: 21px; color: var(--accent); }
.brand__name { font: 500 0.98rem/1 var(--f-sans); letter-spacing: 0.44em; margin-right: -0.44em; }
.site-nav { display: flex; justify-content: center; gap: clamp(18px, 2.4vw, 44px); }
.site-nav a { position: relative; padding: 8px 0; font: 400 0.6875rem/1 var(--f-sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); transition: color 0.4s; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform 0.6s var(--ease-out); }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--fg); }
.site-nav a:hover::after, .site-nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.site-header__actions { display: flex; align-items: center; gap: 22px; }
.menu-toggle { display: inline-flex; align-items: center; gap: 12px; padding: 10px 0; }
.menu-toggle__label { font: 400 0.6875rem/1 var(--f-sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.menu-toggle__icon { display: grid; gap: 6px; width: 30px; }
.menu-toggle__icon i { display: block; height: 1px; background: var(--fg); transform-origin: right; transition: transform 0.5s var(--ease-out); }
.menu-toggle__icon i:last-child { transform: scaleX(0.6); }
.menu-toggle:hover .menu-toggle__icon i:last-child { transform: scaleX(1); }

/* ---------------------------------------------------------------- menu overlay (pack: menu-8) */
.menu { position: fixed; inset: 0; z-index: 70; display: flex; flex-direction: column; padding: 0 var(--gutter) 28px; background: var(--bg); clip-path: inset(0 0 100% 0); visibility: hidden; overflow: hidden; }
.menu__top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; flex: none; }
.menu__close { display: inline-flex; align-items: center; gap: 14px; font: 400 0.6875rem/1 var(--f-sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); padding: 10px 0; }
.menu__x { position: relative; width: 26px; height: 26px; }
.menu__x::before, .menu__x::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--fg); transform: rotate(45deg); }
.menu__x::after { transform: rotate(-45deg); }
.menu__eyebrow { margin: 2vh 0 1vh; }
.menu__rows { flex: 1; display: flex; flex-direction: column; justify-content: center; min-height: 0; }
.menu-row { display: flex; align-items: center; gap: clamp(14px, 2vw, 36px); transition: opacity 0.45s var(--ease-out); }
.menu-row__line { height: 1px; background: var(--line); transform-origin: left center; }
.menu-row__line:first-child { flex: var(--side) 1 0; }
.menu-row__line:last-child { flex: calc(100 - var(--side)) 1 0; }
.menu-row__title { position: relative; display: inline-flex; align-items: baseline; gap: 0.5em; padding: 0.14em 0; font: 300 clamp(2rem, 5.4vh + 1.3vw, 5rem)/1.05 var(--f-sans); letter-spacing: -0.028em; white-space: nowrap; }
.menu-row__idx { font: 500 0.6875rem/1 var(--f-sans); letter-spacing: 0.26em; color: var(--accent); transform: translateY(-1.4em); }
.menu-row__name { display: inline-block; transition: transform 0.7s var(--ease-out); }
.menu-row__sub { position: absolute; left: 2.4em; top: 100%; font: 400 0.625rem/1 var(--f-sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--subtle); opacity: 0; transform: translateY(-6px); transition: opacity 0.4s, transform 0.5s var(--ease-out); white-space: nowrap; }
.menu-row:hover .menu-row__name { transform: translateX(0.14em); }
.menu-row:hover .menu-row__sub { opacity: 1; transform: none; }
.menu__rows:has(.menu-row:hover) .menu-row:not(:hover) { opacity: 0.22; }
.menu__foot { flex: none; display: flex; flex-wrap: wrap; gap: 10px 36px; align-items: center; padding-top: 22px; border-top: 1px solid var(--line-soft); font: 400 0.6875rem/1.4 var(--f-sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--subtle); }
.menu__foot a { color: var(--fg); }
.menu__foot a:hover { color: var(--accent); }
.menu__foot a:first-of-type { margin-left: auto; }
.thumb { position: absolute; left: 0; top: 0; width: min(24vw, 340px); aspect-ratio: 3 / 2; overflow: hidden; pointer-events: none; opacity: 0; z-index: 3; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
/* The menu sits over the viewport even while closed, so its lazy thumbnails would all load at once; keep them out of layout until it has been opened. */
.menu:not(.was-opened) .thumb { display: none; }
.thumb__item { position: absolute; inset: 0; opacity: 0; transition: opacity 0.45s; }
.thumb__item.is-on { opacity: 1; }
.thumb__item img, .thumb__item picture { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------------- age gate */
.age-gate { position: fixed; inset: 0; z-index: 150; display: none; place-items: center; padding: 24px; background: var(--bg); overflow: auto; }
.age-pending .age-gate { display: grid; }
.age-gate__card { width: min(540px, 100%); padding: clamp(28px, 5vw, 56px); text-align: center; display: grid; gap: 18px; justify-items: center; }
.age-gate__mark { width: 22px; height: 31px; color: var(--accent); }
.age-gate__form { display: grid; gap: 12px; justify-items: center; margin-top: 10px; width: 100%; }
.age-gate__form input { width: min(260px, 100%); padding: 12px 0; text-align: center; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--fg); font: 300 1.6rem/1 var(--f-sans); letter-spacing: 0.3em; outline: 0; transition: border-color 0.3s; }
.age-gate__form input:focus { border-color: var(--fg); }
.age-gate__form input::placeholder { color: var(--subtle); letter-spacing: 0.08em; font-size: 1rem; }
.age-gate__error { min-height: 1.4em; font-size: 0.875rem; color: var(--danger); }
.age-gate__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.age-gate__denied { font: 400 1.3rem/1.4 var(--f-sans); color: var(--danger); }
[data-age-denied] { display: grid; gap: 16px; justify-items: center; }

/* ---------------------------------------------------------------- preloader + curtain (pack: hero-7) */
.preloader { position: fixed; inset: 0; z-index: 95; pointer-events: none; display: none; }
.js .preloader { display: block; }
.preloader__panel { position: absolute; inset: 0; background: var(--bg);
  clip-path: polygon(evenodd, 0 0, 100% 0, 100% 100%, 0 100%, 0 0, 50% calc(50% - var(--ry, 0px)), calc(50% + var(--rx, 0px)) 50%, 50% calc(50% + var(--ry, 0px)), calc(50% - var(--rx, 0px)) 50%, 50% calc(50% - var(--ry, 0px))); }
.preloader__core { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px; text-align: center; }
.preloader__mark { width: 30px; height: 42px; color: var(--accent); }
.preloader__word { font: 300 clamp(1.8rem, 5vw, 3.6rem)/1 var(--f-sans); letter-spacing: 0.5em; margin-right: -0.5em; overflow: hidden; }
.preloader__line { font: 400 0.625rem/1.4 var(--f-sans); letter-spacing: 0.3em; text-transform: uppercase; color: var(--subtle); }
.preloader__bar { width: min(240px, 50vw); height: 1px; background: var(--line-soft); margin-top: 8px; }
.preloader__bar i { display: block; height: 100%; background: var(--fg); transform: scaleX(0); transform-origin: left; }
.preloader__count { font: 500 0.625rem/1 var(--f-sans); letter-spacing: 0.4em; color: var(--accent); }
.curtain { position: fixed; inset: 0; z-index: 90; background: var(--bg); clip-path: inset(100% 0 0 0); pointer-events: none; display: grid; place-items: center; }
.curtain__mark { width: 26px; height: 36px; color: var(--accent); }
.is-arriving .curtain { clip-path: inset(0); }
.js-failed .preloader, .js-failed .curtain { display: none !important; }
.js [data-intro], .js [data-hero-in], .js [data-hero-word], .js .hero__beat { opacity: 0; }
.js-failed [data-intro], .js-failed [data-hero-in], .js-failed [data-hero-word] { opacity: 1 !important; }

/* ---------------------------------------------------------------- home hero (scroll-scrubbed pour) */
.hero { position: relative; height: 620vh; }
.hero__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--bg); }
.hero__poster, .hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__poster { object-fit: cover; object-position: 55% 50%; }
.hero__canvas { opacity: 0; transition: opacity 0.6s; }
.hero.is-live .hero__canvas { opacity: 1; }
.hero__shade { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(90deg, rgba(12, 11, 10, 0.78) 0%, rgba(12, 11, 10, 0.35) 30%, transparent 52%),
  linear-gradient(180deg, rgba(12, 11, 10, 0.6) 0%, transparent 20%, transparent 72%, rgba(12, 11, 10, 0.85) 100%); }
.hero__layer { position: absolute; inset: 0; padding: calc(var(--header-h) + 4vh) var(--gutter) 16vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; pointer-events: none; }
.hero__word { font: 300 clamp(2.4rem, 4.9vw, 6.2rem)/1 var(--f-sans); letter-spacing: 0.3em; white-space: nowrap; }
.hero__tag { font: 300 clamp(1.25rem, 1.9vw, 2rem)/1.2 var(--f-sans); letter-spacing: -0.01em; color: var(--muted); }
.hero__beat { position: absolute; left: var(--gutter); top: 0; bottom: 0; display: flex; align-items: center; gap: 0.3em; font: 300 clamp(3rem, 6.6vw, 8.4rem)/0.98 var(--f-sans); letter-spacing: -0.032em; }
.hero__beat-n { align-self: center; font: 500 0.6875rem/1 var(--f-sans); letter-spacing: 0.3em; color: var(--accent); min-width: 2.8em; transform: translateY(-3.4em); }
.hero__beat .ln { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.hero__beat .ln > span { display: block; }
.hero__outro { opacity: 0; visibility: hidden; max-width: 36vw; gap: 30px; }
.hero__outro .t-quote { font-size: clamp(1.7rem, 3vw, 3.4rem); line-height: 1.08; letter-spacing: -0.026em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; pointer-events: auto; }
.hero__foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 34px; display: flex; justify-content: space-between; align-items: flex-end; font: 400 0.625rem/1.4 var(--f-sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--subtle); }
.hero__meter b { font-weight: 500; color: var(--fg); }
.hero__progress { position: absolute; right: calc(var(--gutter) / 2); top: 22vh; bottom: 22vh; width: 1px; background: var(--line-soft); }
.hero__progress i { display: block; width: 100%; height: 100%; background: var(--accent); transform: scaleY(0); transform-origin: top; }

/* ---------------------------------------------------------------- statement: words light up as they pass (pack: scroll-61) */
.statement { padding: 26vh 0 22vh; }
.statement__text { margin: 3vh 0 12vh; font: 300 clamp(2.3rem, 6vw, 7.4rem)/1.04 var(--f-sans); letter-spacing: -0.032em; max-width: 17ch; }
.statement__aside { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 5vw, 96px); align-items: start; }
.statement__aside .rule { margin-top: 0.9em; }

/* ---------------------------------------------------------------- triptych (pack: scroll-40) */
.triptych { position: relative; height: 430vh; }
.triptych__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 3.5vh; padding: calc(var(--header-h) + 1vh) var(--gutter) 7vh; }
.triptych__head { text-align: center; display: grid; gap: 10px; justify-items: center; }
.triptych__head .t-h2 { font-size: clamp(2rem, 4vw, 4.4rem); }
.triptych__head .t-lead { max-width: 58ch; font-size: clamp(1rem, 1.15vw, 1.25rem); }
/* The stage is a size container so the card row can take the largest 15:7 box that fits it. */
.triptych__stage { container-type: size; display: grid; place-items: center; min-height: 0; }
.triptych__cards { display: flex; gap: 0; width: min(100cqw, 100cqh * 15 / 7); perspective: 1600px; }
.tcard { position: relative; flex: 1; aspect-ratio: 5 / 7; }
.tcard__inner { position: absolute; inset: 0; transform-style: preserve-3d; }
.tcard__front, .tcard__back { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; border-radius: inherit; }
/* The panorama's addresses come from the section's style attribute (build.py), so they carry the same version as everywhere else. */
.tcard__front { background-color: #181614; background-image: var(--trio-jpg); background-size: 360% auto; background-position: calc(11.54% + var(--k) * 38.46%) 58%; background-repeat: no-repeat; }
@supports (background-image: image-set(url("x.avif") type("image/avif"))) {
  .tcard__front { background-image: image-set(var(--trio-avif) type("image/avif"), var(--trio-jpg) type("image/jpeg")); }
}
.tcard__front--img { background: none; }
.tcard__front--img picture, .tcard__front--img img { width: 100%; height: 100%; object-fit: cover; }
.tcard__back { transform: rotateY(180deg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.1rem; text-align: center; padding: clamp(18px, 2.4vw, 44px); background: var(--bg); }
.tcard__num { position: absolute; top: 7%; left: 0; right: 0; font: 200 clamp(3rem, 6.4vw, 7.4rem)/1 var(--f-sans); color: transparent; -webkit-text-stroke: 1px var(--line); pointer-events: none; }
.tcard__sub { font: 400 clamp(0.95rem, 1.15vw, 1.25rem)/1.4 var(--f-sans); color: var(--muted); }
.tcard__tag { font: 300 clamp(1.05rem, 1.4vw, 1.5rem)/1.3 var(--f-sans); letter-spacing: -0.01em; }
.tcard__mobile { display: none; }

/* ---------------------------------------------------------------- pinned image sequence through slats (pack: scroll-9) */
/* Without motion the slides simply stack; html.motion turns them into one pinned stage. */
.blinds { position: relative; background: var(--bg); }
.bslide { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--header-h) + 6vh) var(--gutter) 14vh; overflow: hidden; }
.bslide__fig { position: absolute; inset: 0; overflow: hidden; }
.bslide__fig picture, .bslide__fig img { width: 100%; height: 100%; object-fit: cover; }
.bslide__fig::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(12, 11, 10, 0.8), rgba(12, 11, 10, 0.3) 55%, rgba(12, 11, 10, 0.08)),
  linear-gradient(0deg, rgba(12, 11, 10, 0.82), transparent 46%); }
.bslide__cap { position: relative; display: grid; gap: 1.5rem; justify-items: start; max-width: min(46rem, 60vw); }
.bslide__quote { font: 300 clamp(2.2rem, 5vw, 5.6rem)/1.02 var(--f-sans); letter-spacing: -0.032em; max-width: 13ch; }
.bslide__cap .t-lead { max-width: 38ch; }
.bslide__hl { display: inline-flex; align-items: center; gap: 12px; padding-top: 1.1rem; border-top: 1px solid var(--line); color: var(--fg); max-width: 44ch; }
.bslide__body { font: 300 clamp(1.25rem, 2.05vw, 2.3rem)/1.32 var(--f-sans); letter-spacing: -0.016em; max-width: 31ch; }
.bslide__note { position: absolute; right: var(--gutter); bottom: 14vh; display: grid; gap: 8px; max-width: 26ch; text-align: right; font-size: 0.9375rem; line-height: 1.45; color: var(--muted); }
.blinds__ui { display: none; }
.motion .blinds { height: calc(var(--n) * 112vh + 70vh); }
.motion .blinds__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.motion .bslide { position: absolute; inset: 0; min-height: 0; }
.motion .blinds__ui { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 38px; display: flex; align-items: center; gap: 22px; font: 400 0.625rem/1 var(--f-sans); letter-spacing: 0.24em; color: var(--subtle); }
.blinds__count b { font-weight: 500; color: var(--fg); }
.blinds__bar { flex: 1; display: flex; gap: 8px; }
.blinds__bar i { position: relative; flex: 1; height: 1px; background: var(--line); }
.blinds__bar i b { position: absolute; inset: 0; background: var(--fg); transform: scaleX(0); transform-origin: left; }

/* ---------------------------------------------------------------- six elements on a staircase (pack: scroll-19) */
.stair { padding: 22vh 0 20vh; }
.stair__head { display: grid; gap: 22px; max-width: 48rem; margin-bottom: 13vh; }
.stair__grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); }
.sitem { position: relative; grid-row: var(--r); grid-column: var(--c) / span var(--s); }
.sitem__img { position: relative; overflow: hidden; aspect-ratio: var(--a, 16 / 10); background: var(--surface); }
.sitem__inner { position: absolute; inset: 0; }
.sitem__inner picture, .sitem__inner img { width: 100%; height: 100%; object-fit: cover; }
.sitem__cap { position: absolute; left: 0; right: 0; top: 100%; display: grid; gap: 7px; padding: 18px 20px 0 0; }
/* When the stair turns back to the left, the caption sits against the next image and needs air on that side. */
.sitem--back .sitem__cap { padding-left: 22px; }
.sitem__meta { display: flex; align-items: baseline; gap: 14px; margin-bottom: 6px; }
.sitem__n { font: 300 1.5rem/1 var(--f-sans); letter-spacing: -0.02em; }
.sitem__cap .t-small { max-width: 34ch; }
.stair__more { display: flex; justify-content: flex-end; margin-top: 17rem; }

/* ---------------------------------------------------------------- terroir cards: a pile, then four corners (pack: scroll-47) */
.pile { position: relative; padding: 18vh 0; }
.pile__head { position: relative; display: grid; gap: 24px; justify-items: center; text-align: center; padding: 0 var(--gutter); }
.pile__head .t-h2 { max-width: 13ch; }
.pile__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 9vh var(--gutter) 0; }
.pcard { display: grid; align-content: start; background: var(--surface); }
.pcard__fig { aspect-ratio: 16 / 11; overflow: hidden; }
.pcard__fig picture, .pcard__fig img { width: 100%; height: 100%; object-fit: cover; }
.pcard__cap { display: grid; gap: 8px; padding: 18px 18px 22px; }
.pcard__metric { font: 300 clamp(1.7rem, 2.3vw, 2.5rem)/1 var(--f-sans); letter-spacing: -0.035em; }
.pcard__cap .t-small { font-size: 0.875rem; line-height: 1.5; }
@media (min-width: 1000px) {
  .motion .pile { height: 420vh; padding: 0; }
  .motion .pile__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
  .motion .pile__head { max-width: 46vw; }
  .motion .pile__cards { position: absolute; inset: 0; display: block; padding: 0; pointer-events: none; }
  .motion .pcard { position: absolute; left: 50%; top: 50%; width: clamp(200px, min(20vw, 30vh), 360px); box-shadow: 0 40px 80px -30px rgba(12, 11, 10, 0.5); }
}

/* ---------------------------------------------------------------- closing: through a diamond window (pack: scroll-34) */
.portal { position: relative; }
.portal__scene { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; overflow: hidden; isolation: isolate; padding: 20vh 0; background: var(--bg); }
.portal__bg { position: absolute; inset: -6% 0; z-index: -2; }
.portal__bg picture, .portal__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.62; }
.portal__scene::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 50% 50%, rgba(12, 11, 10, 0.3), rgba(12, 11, 10, 0.9)); }
.portal__copy { display: grid; justify-items: center; gap: 30px; text-align: center; }
.portal__copy .t-lead { max-width: 46ch; }
.portal__panel, .portal__line { display: none; }
.motion .portal { height: 400vh; }
.motion .portal__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.motion .portal__scene { position: absolute; inset: 0; min-height: 0; padding: 0; }
.motion .portal__panel { display: block; position: absolute; inset: 0; background: var(--bg);
  clip-path: polygon(evenodd, 0 0, 100% 0, 100% 100%, 0 100%, 0 0, 50% calc(50% - var(--ry, 23vh)), calc(50% + var(--rx, 13.8vh)) 50%, 50% calc(50% + var(--ry, 23vh)), calc(50% - var(--rx, 13.8vh)) 50%, 50% calc(50% - var(--ry, 23vh))); }
.motion .portal__line { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; font: 300 clamp(1.9rem, 3.7vw, 4.4rem)/1.04 var(--f-sans); letter-spacing: -0.03em; pointer-events: none; will-change: transform; }
.motion .portal__line--a { right: calc(50% + 24vh); text-align: right; transform-origin: 100% 50%; }
.motion .portal__line--b { left: calc(50% + 24vh); transform-origin: 0% 50%; }

/* ---------------------------------------------------------------- closing call (inner pages) */
.cta { position: relative; min-height: 100vh; display: grid; place-items: center; overflow: hidden; padding: 20vh 0; isolation: isolate; background: var(--bg); }
.cta__bg { position: absolute; inset: -12% 0; z-index: -2; }
.cta__bg picture, .cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 50% 50%, rgba(12, 11, 10, 0.3), rgba(12, 11, 10, 0.9)); }
.cta__embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.cta__inner { display: grid; justify-items: center; gap: 30px; text-align: center; }
.cta__mark { width: 26px; height: 36px; color: var(--accent); }
.cta__inner .t-lead { max-width: 46ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------------------------------------------------------------- inner page hero */
.phero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: calc(var(--header-h) + 10vh) 0 15vh; background: var(--bg); }
.phero__media { position: absolute; inset: 0; overflow: hidden; }
.phero__img { position: absolute; inset: -12% 0; }
.phero__img picture, .phero__img img { width: 100%; height: 100%; object-fit: cover; }
.phero__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12, 11, 10, 0.94) 2%, rgba(12, 11, 10, 0.55) 40%, rgba(12, 11, 10, 0.22) 70%, rgba(12, 11, 10, 0.6)), linear-gradient(90deg, rgba(12, 11, 10, 0.6), transparent 60%); }
.phero__content { position: relative; display: grid; gap: 26px; }
.phero__content .t-h1 { max-width: 13ch; }
.phero__quote { max-width: 30ch; color: var(--muted); }
.phero__foot { position: absolute; left: 0; right: 0; bottom: 34px; display: flex; justify-content: space-between; align-items: flex-end; font: 400 0.625rem/1.4 var(--f-sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--subtle); }
.phero--portrait .phero__media { left: 46%; }
.phero--portrait .phero__shade { background: linear-gradient(90deg, var(--bg) 44%, rgba(12, 11, 10, 0.2) 70%, rgba(12, 11, 10, 0.5)), linear-gradient(0deg, var(--bg), transparent 30%); }

/* story hero: split word + expanding window (pack: scroll-41) */
.splithero { position: relative; height: 260vh; background: var(--bg); }
.splithero__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.splithero__window { position: absolute; inset: 0; clip-path: inset(22% 39% 22% 39%); }
.splithero__img { position: absolute; inset: 0; }
.splithero__img picture, .splithero__img img { width: 100%; height: 100%; object-fit: cover; }
.splithero__word { position: absolute; top: 50%; font: 200 clamp(3.2rem, 8vw, 10rem)/1 var(--f-sans); letter-spacing: 0.1em; transform: translateY(-50%); white-space: nowrap; }
.splithero__word--a { right: calc(50% + 13vw); }
.splithero__word--b { left: calc(50% + 13vw); }
.splithero__sticky::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12, 11, 10, 0.85), transparent 45%); pointer-events: none; }
.splithero__title { position: absolute; left: 0; right: 0; bottom: 13vh; z-index: 1; display: grid; gap: 22px; }
.splithero .phero__foot { z-index: 1; }
.splithero__title .t-h1 { max-width: 14ch; font-size: clamp(2.4rem, 5.4vw, 6.4rem); }

/* ---------------------------------------------------------------- prose */
.prose-sec { padding: 16vh 0; }
.prose-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 7vw, 140px); align-items: start; }
.prose-aside { position: sticky; top: 22vh; display: grid; gap: 26px; }
.prose-aside .t-h2 { max-width: 12ch; }
.prose-fig { aspect-ratio: 4 / 5; overflow: hidden; position: relative; }
.prose-fig picture, .prose-fig img { width: 100%; height: 100%; object-fit: cover; }
.prose > p { font: 400 clamp(1.06rem, 1.2vw, 1.3rem)/1.75 var(--f-sans); color: var(--muted); max-width: 60ch; }
.prose > p + p { margin-top: 1.7em; }
.prose em { font-style: normal; color: var(--accent); }
/* The opening paragraph of a monograph is set larger instead of taking a drop cap. */
.prose > p.dropcap { font: 300 clamp(1.3rem, 1.75vw, 1.95rem)/1.42 var(--f-sans); letter-spacing: -0.012em; color: var(--fg); max-width: 40ch; }
.prose__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 3rem; }
.sign { display: grid; gap: 8px; justify-items: start; margin-top: 3.4rem; padding-top: 2rem; border-top: 1px solid var(--line-soft); }
.pull { padding: 18vh 0; }
.pull__q { font: 300 clamp(2rem, 5vw, 5.8rem)/1.08 var(--f-sans); letter-spacing: -0.03em; max-width: 21ch; }

/* stacked stage panels */
.stages { position: relative; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: flex-end; border-top: 1px solid var(--line-soft); background: var(--bg); }
.stage__media { position: absolute; inset: 0; }
.stage__media picture, .stage__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.62; }
.stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12, 11, 10, 0.92), rgba(12, 11, 10, 0.1) 60%); pointer-events: none; }
.stage__inner { position: relative; z-index: 1; display: grid; gap: 20px; padding-bottom: 14vh; }
.stage__inner .t-lead { max-width: 40ch; }

/* next chapter */
.next__link { position: relative; display: flex; align-items: flex-end; min-height: 78vh; overflow: hidden; isolation: isolate; background: var(--bg); }
.next__media { position: absolute; inset: 0; z-index: -1; }
.next__media picture, .next__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.34; transform: scale(1.06); transition: opacity 0.9s var(--ease-out), transform 1.6s var(--ease-out); }
.next__link:hover .next__media img { opacity: 0.62; transform: scale(1); }
.next__inner { display: grid; gap: 20px; padding-top: 14vh; padding-bottom: 12vh; }
.next__title { display: flex; align-items: center; gap: 0.5em; font: 300 clamp(2.5rem, 7vw, 8rem)/1 var(--f-sans); letter-spacing: -0.032em; }
.next__title .arr { width: 0.9em; height: 0.45em; color: var(--accent); }
.next__link:hover .next__title .arr { transform: translateX(0.25em); }

/* ---------------------------------------------------------------- spirit page */
.facts { padding: 14vh 0 12vh; }
.facts__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 56px); }
.fact { display: grid; gap: 12px; align-content: start; padding-top: 26px; border-top: 1px solid var(--line); }
.fact__metric { font: 200 clamp(2.4rem, 4.6vw, 5.4rem)/1 var(--f-sans); letter-spacing: -0.04em; }
.words { position: relative; height: 300vh; background: var(--bg); }
.words__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; }
.words__bg { position: absolute; inset: 0; }
.words__bg picture, .words__bg img { width: 100%; height: 100%; object-fit: cover; }
.words__line { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #050505; color: #fff; mix-blend-mode: multiply; font: 500 clamp(4.4rem, 17vw, 20rem)/0.9 var(--f-sans); letter-spacing: 0.01em; text-transform: uppercase; }
.words__line span { display: block; }
.duo { padding: 8vh 0 20vh; }
.duo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 120px); }
.duo__item { display: grid; gap: 22px; align-content: start; }
.duo__item--drop { margin-top: 22vh; }
.duo__fig { aspect-ratio: 4 / 3; overflow: hidden; position: relative; margin-bottom: 8px; }
.duo__fig picture, .duo__fig img { width: 100%; height: 100%; object-fit: cover; }
.duo__item .t-lead { max-width: 36ch; }

/* vessel page */
.wide { padding: 6vh 0 18vh; }
.wide__fig { height: 86vh; overflow: hidden; position: relative; }
.wide__fig > div { position: absolute; inset: -12% 0; }
.wide__fig picture, .wide__fig img { width: 100%; height: 100%; object-fit: cover; }
.wide__cap { display: grid; gap: 14px; padding-top: 34px; }
.triptych--feat .triptych__cards { gap: 22px; width: min(100cqw, (100cqh * 15 / 7) + 44px); }

/* ---------------------------------------------------------------- first edition */
.ed { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: start; border-top: 1px solid var(--line-soft); }
.ed__media { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.ed__clip { position: absolute; inset: 0; clip-path: polygon(22% 8%, 78% 8%, 92% 92%, 8% 92%); }
.ed__img { position: absolute; inset: -10% 0; }
.ed__img picture, .ed__img img { width: 100%; height: 100%; object-fit: cover; }
.ed__body { position: relative; display: grid; gap: 26px; align-content: center; min-height: 100vh; padding: 20vh var(--gutter) 20vh clamp(24px, 5vw, 100px); }
.ed--flip .ed__media { order: 2; }
.ed--flip .ed__body { padding: 20vh clamp(24px, 5vw, 100px) 20vh var(--gutter); }
.ed__num { position: absolute; right: var(--gutter); top: 12vh; font: 200 clamp(8rem, 22vw, 26rem)/0.8 var(--f-sans); color: transparent; -webkit-text-stroke: 1px var(--line-soft); pointer-events: none; z-index: -1; }
.ed__body .t-lead { max-width: 44ch; }
.ed__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin-top: 8px; }
.ed__specs > div { padding: 16px 0; border-top: 1px solid var(--line-soft); display: grid; gap: 6px; }
.ed__specs dt, .spec dt, .receipt__list dt { font: 400 0.625rem/1.4 var(--f-sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--subtle); }
.ed__specs dd { font: 400 1.06rem/1.35 var(--f-sans); }
.ed__attrs { display: grid; gap: 14px; }
.ed__attrs li { display: grid; gap: 4px; padding-left: 22px; position: relative; }
.ed__attrs li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; border: 1px solid var(--accent); transform: rotate(45deg); }
.ed__attrs b { font: 500 1.06rem/1.3 var(--f-sans); }
.ed__attrs span { font-size: 0.9375rem; color: var(--muted); line-height: 1.55; }
.ed__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.compare { padding: 20vh 0 16vh; }
.compare .t-h2 { margin: 18px 0 8vh; }
.compare__table { width: 100%; border-collapse: collapse; text-align: left; }
.compare__table th, .compare__table td { padding: 26px 22px 26px 0; border-top: 1px solid var(--line-soft); vertical-align: top; }
.compare__table thead th { border-top: 0; padding-top: 0; font: 400 0.625rem/1.4 var(--f-sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--subtle); }
.compare__table tbody th a { display: grid; gap: 8px; font: 300 clamp(1.5rem, 2.2vw, 2.3rem)/1.1 var(--f-sans); letter-spacing: -0.02em; transition: color 0.4s; }
.compare__table tbody th a:hover { color: var(--accent); }
.compare__table td { font: 400 1.02rem/1.45 var(--f-sans); color: var(--muted); max-width: 26ch; }
.compare__table tbody tr { transition: background-color 0.4s; }
.compare__table tbody tr:hover { background: var(--line-soft); }

/* edition detail */
.ehero { position: relative; display: grid; grid-template-columns: 52fr 48fr; min-height: 100vh; }
/* The portrait hangs as a plate inside the page, clear of the header. */
.ehero__media { position: relative; margin: calc(var(--header-h) + 1vh) 0 5vh var(--gutter); height: calc(100vh - var(--header-h) - 6vh); height: calc(100svh - var(--header-h) - 6vh); overflow: hidden; }
.ehero__img { position: absolute; inset: -8% 0; }
.ehero__img picture, .ehero__img img { width: 100%; height: 100%; object-fit: cover; }
.ehero__body { position: relative; display: grid; gap: 24px; align-content: center; padding: calc(var(--header-h) + 6vh) var(--gutter) 10vh clamp(24px, 4.5vw, 90px); }
.ehero__num { position: absolute; right: var(--gutter); top: 14vh; font: 200 clamp(8rem, 20vw, 24rem)/0.8 var(--f-sans); color: transparent; -webkit-text-stroke: 1px var(--line-soft); pointer-events: none; z-index: -1; }
.ehero__title { font-size: clamp(3rem, 6.4vw, 7.4rem); }
.ehero__body .t-lead { max-width: 42ch; }
.ehero__tag { display: flex; align-items: center; gap: 14px; font: 400 1.1rem/1.3 var(--f-sans); }
.specs { padding: 6vh 0 18vh; }
.specs__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 7vw, 140px); align-items: start; }
.specs__grid header { position: sticky; top: 22vh; display: grid; gap: 20px; }
.spec { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line-soft); align-items: baseline; }
.spec:last-child { border-bottom: 1px solid var(--line-soft); }
.spec dd { font: 300 clamp(1.15rem, 1.55vw, 1.65rem)/1.3 var(--f-sans); letter-spacing: -0.012em; }
.inspect { position: relative; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-soft); }
.inspect__media { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; padding: calc(var(--header-h) + 2vh) clamp(20px, 4vw, 80px) 6vh var(--gutter); }
.inspect__frame { position: relative; height: 100%; aspect-ratio: 3 / 4; max-width: 100%; overflow: hidden; background: #181614; }
.inspect__img { position: absolute; inset: 0; will-change: transform; }
.inspect__img picture, .inspect__img img { width: 100%; height: 100%; object-fit: cover; }
.inspect__hud { position: absolute; left: 14px; right: 14px; top: 14px; display: flex; justify-content: space-between; gap: 12px; font: 400 0.5625rem/1.3 var(--f-sans); letter-spacing: 0.2em; color: #ece7de; text-shadow: 0 1px 8px #000; }
.inspect__reticle { --tick: #ece7de; position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(var(--tick), var(--tick)) left 12px top 40px / 26px 1px no-repeat, linear-gradient(var(--tick), var(--tick)) left 12px top 40px / 1px 26px no-repeat,
  linear-gradient(var(--tick), var(--tick)) right 12px top 40px / 26px 1px no-repeat, linear-gradient(var(--tick), var(--tick)) right 12px top 40px / 1px 26px no-repeat,
  linear-gradient(var(--tick), var(--tick)) left 12px bottom 12px / 26px 1px no-repeat, linear-gradient(var(--tick), var(--tick)) left 12px bottom 12px / 1px 26px no-repeat,
  linear-gradient(var(--tick), var(--tick)) right 12px bottom 12px / 26px 1px no-repeat, linear-gradient(var(--tick), var(--tick)) right 12px bottom 12px / 1px 26px no-repeat;
  opacity: 0.8; }
.inspect__reticle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px; border: 1px solid rgba(232, 104, 58, 0.85); border-radius: 50%; }
.inspect__text { padding-right: var(--gutter); }
.detail { min-height: 86vh; display: grid; gap: 22px; align-content: center; padding: 8vh 0 8vh clamp(0px, 2vw, 40px); }
.detail--head { min-height: 62vh; }
.detail .t-lead { max-width: 38ch; }
.notes { padding: 20vh 0; border-top: 1px solid var(--line-soft); }
.notes__grid { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: clamp(28px, 5vw, 96px); margin-top: 8vh; }
.notes__col { display: grid; gap: 26px; align-content: start; }
.chips { display: grid; gap: 14px; }
.chips li { position: relative; padding: 0 0 14px 24px; border-bottom: 1px solid var(--line-soft); font: 300 clamp(1.15rem, 1.5vw, 1.6rem)/1.25 var(--f-sans); letter-spacing: -0.012em; }
.chips li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 7px; height: 7px; border: 1px solid var(--accent); transform: rotate(45deg); }
.pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-soft); }
.pager__link { display: grid; gap: 10px; padding: 9vh var(--gutter); transition: background-color 0.5s; }
.pager__link + .pager__link { border-left: 1px solid var(--line-soft); }
.pager__link--next { text-align: right; justify-items: end; }
.pager__link:hover { background: var(--line-soft); }
.pager__link .t-h3 { transition: color 0.4s; }
.pager__link:hover .t-h3 { color: var(--accent); }

/* ---------------------------------------------------------------- collectors */
.dossier { padding: 14vh 0 22vh; }
.dossier__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 7vw, 140px); align-items: start; }
.dossier__aside { position: sticky; top: 20vh; display: grid; gap: 22px; justify-items: start; }
.dossier__aside .rule { width: 100%; margin: 14px 0; }
.form { display: grid; gap: 34px; padding: clamp(24px, 4vw, 64px); background: var(--surface); }
.form__field { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.form__field legend { padding: 0; margin-bottom: 12px; }
.form input[type="text"], .form input[type="email"], .form textarea { width: 100%; padding: 12px 0 14px; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--fg); font: 400 1.2rem/1.4 var(--f-sans); outline: 0; transition: border-color 0.3s; }
.form textarea { resize: vertical; min-height: 9em; }
.form input:focus, .form textarea:focus { border-color: var(--fg); }
.form ::placeholder { color: var(--subtle); opacity: 0.75; }
.form__err { min-height: 1.2em; font-size: 0.875rem; color: var(--danger); }
.form__count { font: 400 0.625rem/1 var(--f-sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--subtle); justify-self: end; }
.form__count.is-ok { color: var(--accent); }
.form__submit { justify-self: start; }
.form__submit[disabled] { opacity: 0.6; pointer-events: none; }
.famopts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.famopt { position: relative; cursor: pointer; }
.famopt input { position: absolute; opacity: 0; inset: 0; }
.famopt__box { display: grid; gap: 8px; height: 100%; padding: 18px; border: 1px solid var(--line-soft); transition: border-color 0.35s, background-color 0.35s; }
.famopt__t { font: 400 1.25rem/1.15 var(--f-sans); letter-spacing: -0.012em; }
.famopt__s { font-size: 0.8125rem; line-height: 1.45; color: var(--muted); }
.famopt:hover .famopt__box { border-color: var(--line); }
.famopt input:checked + .famopt__box { border-color: var(--fg); background: var(--bg); }
.famopt input:focus-visible + .famopt__box { outline: 1px solid var(--accent); outline-offset: 4px; }
.receipt { display: grid; gap: 22px; justify-items: start; padding: clamp(24px, 4vw, 64px); border: 1px solid var(--fg); }
.receipt__mark { width: 24px; height: 34px; color: var(--accent); }
.receipt__ref { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 16px 20px; border: 1px solid var(--line); }
.receipt__ref b { font: 500 1.05rem/1 var(--f-sans); letter-spacing: 0.18em; color: var(--accent); }
.receipt__copy { font: 400 0.625rem/1 var(--f-sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.receipt__list { display: grid; gap: 0; width: 100%; }
.receipt__list > div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-top: 1px solid var(--line-soft); }
.receipt__list dd { font: 400 1.1rem/1.3 var(--f-sans); text-align: right; overflow-wrap: anywhere; }
.receipt__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------------------------------------------------------------- journal */
.jlist { position: relative; padding: 10vh 0 14vh; }
.jlist .wrap { position: relative; }
.jrow { border-top: 1px solid var(--line-soft); transition: opacity 0.45s; }
.jrow:last-child { border-bottom: 1px solid var(--line-soft); }
.jrow__link { display: grid; grid-template-columns: minmax(180px, 2fr) 6fr 3fr auto; gap: clamp(18px, 3vw, 56px); align-items: center; padding: clamp(28px, 5vh, 60px) 0; }
.jrow__meta { display: grid; gap: 10px; }
.jrow__title { transition: transform 0.7s var(--ease-out); max-width: 18ch; }
.jrow:hover .jrow__title { transform: translateX(14px); }
.jlist__rows:has(.jrow:hover) .jrow:not(:hover) { opacity: 0.3; }
.jlist .thumb { z-index: 2; }
.archive { padding: 4vh 0 18vh; }
.archive__inner { display: grid; gap: 14px; justify-items: center; text-align: center; max-width: 560px; padding: 44px var(--gutter); border: 1px solid var(--line-soft); }
.post__head { display: grid; gap: 26px; justify-items: start; padding-top: calc(var(--header-h) + 12vh); padding-bottom: 9vh; }
.post__head .t-h1 { max-width: 16ch; font-size: clamp(2.6rem, 6.2vw, 7.2rem); }
.post__head .t-quote { max-width: 32ch; color: var(--muted); }
.post__meta { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.post__fig { height: 78vh; overflow: hidden; position: relative; margin-bottom: 14vh; }
.post__fig > div { position: absolute; inset: -12% 0; }
.post__fig picture, .post__fig img { width: 100%; height: 100%; object-fit: cover; }
.post__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; padding-bottom: 18vh; }
.post__foot .sign { margin-top: 0; }
.lost { min-height: 100vh; display: grid; place-items: center; padding: calc(var(--header-h) + 8vh) 0 12vh; }
.lost__inner { display: grid; gap: 26px; justify-items: center; text-align: center; }

/* ---------------------------------------------------------------- footer */
.site-footer { position: relative; border-top: 1px solid var(--line-soft); padding-top: 14vh; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: clamp(28px, 5vw, 96px); align-items: start; }
.footer__lede { display: grid; gap: 26px; }
.footer__lede .t-quote { max-width: 21ch; font-size: clamp(1.6rem, 3vw, 3.2rem); line-height: 1.1; letter-spacing: -0.026em; }
.footer__col { display: grid; gap: 20px; justify-items: start; }
.footer__links { display: grid; gap: 10px; }
.footer__links a { font: 400 1.12rem/1.3 var(--f-sans); color: var(--muted); transition: color 0.35s, padding-left 0.5s var(--ease-out); }
.footer__links a:hover { color: var(--fg); padding-left: 10px; }
.footer__mark { margin-top: 12vh; text-align: center; line-height: 0.74; overflow: hidden; }
.footer__mark span { display: inline-block; font: 200 clamp(3.4rem, 16.4vw, 22rem)/0.8 var(--f-sans); letter-spacing: 0.1em; margin-right: -0.1em; white-space: nowrap; }
.footer__mark span > div { display: inline-block; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; padding-top: 26px; padding-bottom: 30px; margin-top: 4vh; border-top: 1px solid var(--line-soft); font: 400 0.625rem/1.5 var(--f-sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--subtle); }
.footer__legal span { display: inline-flex; align-items: center; gap: 10px; }

/* ---------------------------------------------------------------- small screens */
@media (max-width: 1180px) {
  .site-nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
}
@media (max-width: 999px) {
  :root { --header-h: 68px; }
  .hero { height: 480vh; }
  .hero__shade { background: linear-gradient(180deg, rgba(12, 11, 10, 0.75) 0%, rgba(12, 11, 10, 0.15) 30%, rgba(12, 11, 10, 0.15) 62%, rgba(12, 11, 10, 0.9) 100%); }
  .hero__layer { justify-content: flex-start; align-items: center; text-align: center; padding-top: calc(var(--header-h) + 5vh); gap: 14px; }
  .hero__word { font-size: clamp(2.1rem, 10.6vw, 4.8rem); letter-spacing: 0.26em; margin-right: -0.26em; }
  .hero__beat { left: 0; right: 0; bottom: auto; top: calc(var(--header-h) + 11vh); justify-content: center; text-align: center; font-size: clamp(2.3rem, 10.4vw, 4.6rem); }
  .hero__beat .ln { display: inline-block; vertical-align: top; }
  .hero__beat-n { position: absolute; top: -2.4em; left: 0; right: 0; min-width: 0; text-align: center; transform: none; }
  .hero__outro { max-width: none; justify-content: flex-end; padding-bottom: 15vh; }
  .hero__actions { justify-content: center; }
  .hero__foot > span:first-child, .hero__meter { display: none; }
  .hero__foot { justify-content: center; }
  .hero__progress { display: none; }
  .statement { padding: 16vh 0; }
  .statement__aside { grid-template-columns: 1fr; }
  .triptych { height: auto; }
  .triptych__sticky { position: static; height: auto; overflow: visible; padding: 12vh var(--gutter); display: block; }
  .triptych__head { position: static; padding: 0; margin-bottom: 7vh; }
  .triptych__stage { container-type: normal; display: block; }
  .triptych__cards, .triptych--feat .triptych__cards { width: 100%; flex-direction: column; gap: 5vh; margin: 0; perspective: none; }
  .tcard { aspect-ratio: auto; display: flex; flex-direction: column; }
  .tcard__mobile { order: -1; display: block; aspect-ratio: 4 / 5; overflow: hidden; }
  .tcard__mobile picture, .tcard__mobile img { width: 100%; height: 100%; object-fit: cover; }
  .tcard__inner { position: static; transform: none !important; }
  .tcard__front { display: none; }
  .tcard__back { position: static; transform: none; backface-visibility: visible; padding: 28px 22px 32px; align-items: flex-start; text-align: left; }
  .tcard__num { display: none; }
  .bslide { padding-bottom: 12vh; }
  /* Captions run the full width on a narrow screen, so the shade comes up from the bottom instead of in from the left. */
  .bslide__fig::after { background: linear-gradient(0deg, rgba(12, 11, 10, 0.95) 0%, rgba(12, 11, 10, 0.86) 42%, rgba(12, 11, 10, 0.3) 72%, rgba(12, 11, 10, 0.12) 100%); }
  .bslide__cap { max-width: none; gap: 1.1rem; }
  .bslide__note { position: relative; right: auto; bottom: auto; margin-top: 1.4rem; text-align: left; max-width: none; }
  .stair { padding: 14vh 0; }
  .stair__head { margin-bottom: 8vh; }
  .stair__grid { grid-template-columns: 1fr; gap: 8vh; }
  .sitem { grid-row: auto; grid-column: auto; }
  .sitem__img { aspect-ratio: 16 / 11; }
  .sitem__cap, .sitem--back .sitem__cap { position: static; padding: 18px 0 0; }
  .stair__more { justify-content: flex-start; margin-top: 9vh; }
  .motion .portal__line { left: 0; right: 0; justify-content: center; text-align: center; font-size: clamp(1.7rem, 7.4vw, 3rem); transform-origin: 50% 50%; }
  .motion .portal__line br { display: none; }
  .motion .portal__line--a { top: 0; bottom: calc(50% + 27vh); align-items: flex-end; }
  .motion .portal__line--b { top: calc(50% + 27vh); bottom: 0; align-items: flex-start; }
  .phero--portrait .phero__media { left: 0; opacity: 0.6; }
  .phero--portrait .phero__shade { background: linear-gradient(0deg, var(--bg) 8%, rgba(12, 11, 10, 0.3) 60%, rgba(12, 11, 10, 0.6)); }
  .splithero__window { clip-path: inset(26% 20% 26% 20%); }
  .splithero__word { font-size: clamp(3.4rem, 20vw, 8rem); left: 50% !important; right: auto !important; transform: translate(-50%, -50%); }
  .splithero__word--a { top: 17%; }
  .splithero__word--b { top: 83%; }
  .splithero__title { bottom: 9vh; }
  .splithero__title .t-h1 { display: none; }
  .prose-grid, .specs__grid, .dossier__grid { grid-template-columns: 1fr; }
  .prose-aside, .specs__grid header, .dossier__aside { position: static; }
  .prose-sec { padding: 11vh 0; }
  .pull { padding: 12vh 0; }
  .facts__grid { grid-template-columns: 1fr 1fr; }
  .duo__grid { grid-template-columns: 1fr; }
  .duo__item--drop { margin-top: 0; }
  .ed, .ehero, .inspect { grid-template-columns: 1fr; }
  .ed__media { position: relative; height: 82vh; }
  .ed--flip .ed__media { order: 0; }
  .ed__body, .ed--flip .ed__body { min-height: 0; padding: 9vh var(--gutter) 13vh; }
  .ed__specs { grid-template-columns: 1fr; }
  .ehero__media { margin: calc(var(--header-h) + 8px) var(--gutter) 0; height: 70vh; }
  .ehero__body { padding: 7vh var(--gutter) 10vh; }
  /* On a phone the portrait stays pinned across the top and the notes scroll underneath it. */
  .inspect__media { padding: calc(var(--header-h) + 8px) var(--gutter) 14px; height: 50vh; position: sticky; top: 0; z-index: 2; background: var(--bg); border-bottom: 1px solid var(--line-soft); }
  .inspect__text { padding: 0 var(--gutter); }
  .detail { min-height: 56vh; padding: 7vh 0; }
  .detail--head { min-height: 0; }
  .notes__grid { grid-template-columns: 1fr; }
  .spec { grid-template-columns: 1fr; gap: 6px; }
  .compare__table thead { display: none; }
  .compare__table, .compare__table tbody, .compare__table tr, .compare__table th, .compare__table td { display: block; }
  .compare__table tr { padding: 26px 0; border-top: 1px solid var(--line); }
  .compare__table th, .compare__table td { border: 0; padding: 6px 0; max-width: none; }
  .compare__table td::before { content: attr(data-th); display: block; font: 400 0.625rem/1.4 var(--f-sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--subtle); margin-top: 10px; }
  .famopts { grid-template-columns: 1fr; }
  .jrow__link { grid-template-columns: 1fr; gap: 14px; }
  .jlist .thumb, .menu .thumb { display: none; }
  .footer__top { grid-template-columns: 1fr; }
  .pager { grid-template-columns: 1fr; }
  .pager__link + .pager__link { border-left: 0; border-top: 1px solid var(--line-soft); }
  .menu-row { display: block; padding: 0.4em 0; border-bottom: 1px solid var(--line-soft); }
  .menu-row__line { display: none; }
  .menu-row__title { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: baseline; font-size: clamp(1.9rem, 8vw, 3rem); white-space: normal; }
  .menu-row__idx { transform: none; }
  .menu-row__sub { position: static; opacity: 1; transform: none; display: block; grid-column: 2; margin-top: 4px; white-space: normal; }
  .menu__rows { justify-content: flex-start; overflow-y: auto; }
  .menu__foot a:first-of-type { margin-left: 0; }
  .words__line { font-size: clamp(3.6rem, 22vw, 9rem); }
}
@media (max-width: 620px) {
  .site-header__actions .btn { display: none; }
  .brand__name { font-size: 0.88rem; letter-spacing: 0.36em; }
  .facts__grid { grid-template-columns: 1fr; }
  .pile__cards { grid-template-columns: 1fr; }
  .bslide__quote { font-size: clamp(2rem, 9.4vw, 3rem); }
  .bslide__hl { font-size: 0.625rem; }
  .btn { padding: 1.15em 1.6em; letter-spacing: 0.18em; white-space: normal; text-align: center; }
  .next__link { min-height: 62vh; }
}

/* ---------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  :root { transition: none; }
  .grain, .scroll-cue i { animation: none; }
  .js [data-intro], .js [data-hero-in], .js [data-hero-word] { opacity: 1; }
  .hero { height: 100vh; }
  .hero__outro { opacity: 1; visibility: visible; }
  .hero__beats, .hero__progress { display: none; }
  .triptych, .words, .splithero { height: auto; }
  .triptych__sticky, .words__sticky, .splithero__sticky { position: relative; }
  .splithero__window { clip-path: none; opacity: 0.5; }
  .words__line { mix-blend-mode: normal; background: rgba(12, 11, 10, 0.55); }
}
