/* 36Stories website — the "Contact sheet" design (docs/design/handoff-2026-10-19).
   Tokens and component classes follow tokens/cs.css; sizes are in rem so the page
   follows the reader's text size. */

/* ---------- Fonts (OFL, self-hosted) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("fonts/Archivo.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 100% 125%;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("fonts/DMMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("fonts/DMMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/InstrumentSerif-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Doto";
  src: url("fonts/Doto.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}

/* ---------- Tokens (light theme + the fixed viewfinder palette) ---------- */
:root {
  --surface: #F5F3EE;
  --raised: #FFFFFF;
  --sunken: #ECE8E0;
  --text: #141414;
  --muted: #5E5A55;
  --line: #141414;
  --hair: #DDD8CF;
  --accent: #FF7A2E;
  --accent-ink: #B84A0E;
  --on-accent: #141414;
  --fill: #141414;
  --on-fill: #F5F3EE;
  --fill-pressed: #3A3835;
  --mark: #D2232A;
  --on-mark: #FFFFFF;
  --success: #1D7044;
  --warning: #8A5300;
  --warning-fill: #F2B33D;
  --danger: #B42318;
  --neg: #C9773F;
  --neg-frame: #8E4A22;
  --band: #141414;
  --on-band: #F5F3EE;
  --hole: #F5F3EE;
  --focus: #FF7A2E;
  --vf-bg: #111111;
  --vf-raised: #1C1B19;
  --vf-text: #F5F3EE;
  --vf-muted: #9C978F;
  --vf-line: #3A3835;
  --vf-hole: #2B2927;
  --vf-accent: #FF7A2E;
  --vf-scrim: rgba(17, 17, 17, 0.72);
  --emphasis: 4px 4px 0 #FF7A2E;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --develop-ease: cubic-bezier(0.45, 0, 0.15, 1);
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;   /* italic accents only (2026-10-20) */
  --stamp: "Doto", "DM Mono", ui-monospace, monospace;
  --gutter: 1rem;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
a:hover { color: var(--accent-ink); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--on-accent); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: 75rem; margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 48rem) { :root { --gutter: 1.5rem; } }
.stack > * + * { margin-top: var(--stack, 1rem); }

/* ---------- Type (DESIGN-SPEC §4) ---------- */
.t-display, .t-headline, .t-title { text-wrap: balance; }
.t-display {
  font-weight: 800; font-stretch: 125%;
  font-size: clamp(2.125rem, 1.4rem + 3.6vw, 4.25rem); line-height: 1.04; letter-spacing: -0.03em;
}
.t-headline {
  font-weight: 800; font-stretch: 125%;
  font-size: clamp(1.5625rem, 1.2rem + 1.9vw, 2.625rem); line-height: 1.08; letter-spacing: -0.025em;
}
.t-title { font-weight: 700; font-size: 1.25rem; line-height: 1.2; letter-spacing: -0.01em; }
.t-lead { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.5; text-wrap: pretty; }
.t-body { font-size: 1rem; line-height: 1.5; text-wrap: pretty; }
.t-label { font-weight: 600; font-size: 0.875rem; line-height: 1.3; }
.t-caption { font-size: 0.8125rem; line-height: 1.4; }
.t-mono { font-family: var(--mono); font-size: 0.75rem; line-height: 1.35; font-variant-numeric: tabular-nums; }
.t-overline {
  font-family: var(--mono); font-weight: 500; font-size: 0.75rem; line-height: 1.3;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.t-code { font-family: var(--mono); font-weight: 500; font-size: 1.75rem; line-height: 1.2; letter-spacing: 0.08em; }
.stamp { font-family: var(--stamp); font-weight: 900; color: var(--accent); line-height: 1; font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.ink-accent { color: var(--accent-ink); }

/* ---------- Icons: 24 grid, 1.5 stroke ---------- */
svg.i { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  min-height: 3rem; padding: 0.625rem 1.25rem; border-radius: 4px; border: 0;
  font: 700 0.9375rem/1.3 var(--sans); display: inline-flex; align-items: center;
  justify-content: center; gap: 0.5rem; text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color 90ms var(--ease), transform 90ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--fill); color: var(--on-fill); }
.btn-primary:hover { background: var(--fill-pressed); color: var(--on-fill); }
.btn-secondary { background: transparent; color: var(--text); border: 1.5px solid var(--line); }
.btn-secondary:hover { background: var(--sunken); color: var(--text); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: #E2621A; color: var(--on-accent); }
.btn-sm { min-height: 2.75rem; padding: 0.5rem 1rem; font-size: 0.875rem; }
.on-dark .btn-primary { background: var(--vf-text); color: var(--vf-bg); }
.on-dark .btn-primary:hover { background: #D9D4CB; color: var(--vf-bg); }
.on-dark .btn-secondary { color: var(--vf-text); border-color: var(--vf-text); }
.on-dark .btn-secondary:hover { background: var(--vf-raised); color: var(--vf-text); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* ---------- Frames and cards ---------- */
.card { background: var(--raised); border: 1.5px solid var(--line); }
.card-soft { background: var(--raised); border: 1px solid var(--hair); }
.emphasis { box-shadow: var(--emphasis); }
.rule { border: 0; border-top: 1.5px solid var(--line); margin: 0; }

/* ---------- Sprocket bands and holes ---------- */
.band {
  background: var(--band); color: var(--on-band); display: flex; flex-direction: column;
  justify-content: space-between; gap: 0.375rem; padding: 0.25rem 0; overflow: hidden;
}
.band-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding-inline: var(--gutter); line-height: 1; white-space: nowrap; }
.band-row .t-overline { line-height: 1; }
.band-row .hot { color: var(--accent); }
.holes { height: 4px; margin: 0 6px; background: repeating-linear-gradient(90deg, var(--hole) 0 6px, transparent 6px 16px); }
.holes-m { height: 6px; margin: 0 8px; background: repeating-linear-gradient(90deg, var(--hole) 0 9px, transparent 9px 21px); }

/* ---------- Badges ---------- */
.badge {
  min-height: 1.375rem; padding: 0.2rem 0.45rem; display: inline-flex; align-items: center; gap: 0.3rem;
  font: 500 0.6875rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap;
}
.badge .dot { width: 6px; height: 6px; background: currentColor; display: block; }
.b-live { background: var(--mark); color: var(--on-mark); }
.b-plain { border: 1.5px solid var(--line); color: var(--text); }
.b-club { background: var(--accent); color: #141414; }
.b-developing { background: var(--warning-fill); color: #141414; }
.b-developed { border: 1.5px solid var(--success); color: var(--success); }

/* ---------- Code boxes (8 characters) ---------- */
.code { display: flex; gap: 0.375rem; align-items: center; flex-wrap: nowrap; }
.code .c {
  width: 2.25rem; height: 3.25rem; border: 1.5px solid var(--line); background: var(--raised);
  display: flex; align-items: center; justify-content: center; font: 500 1.625rem/1 var(--mono); color: var(--text);
}
.code .gap { width: 0.625rem; height: 2px; background: var(--line); flex: none; }

/* ---------- Logo (John's brand kit, L1-A) ---------- */
/* The lockup is twice as wide as it is tall; its height follows the font size
   each place sets on .wm, so the old sizes keep their proportions. */
.wm-img { display: block; height: 2em; width: auto; }
.wm--lockup .wm-img { height: 1.6em; }
/* The "36" stamp, still used on its own in the page art (sheets, table cards). */
.wm { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0.3em; line-height: 1; }
.wm-36 {
  background: #141414; color: var(--accent); font-family: var(--stamp); font-weight: 900;
  font-size: 1em; line-height: 1; padding: 0.12em 0.2em 0.1em; letter-spacing: 0.02em;
}
.wm-sub { font-family: var(--mono); font-weight: 500; font-size: 0.32em; letter-spacing: 0.32em;
  text-transform: uppercase; padding-left: 0.1em; }
.wm--rev .wm-36 { background: var(--vf-text); }

/* ---------- Skip link ---------- */
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--fill); color: var(--on-fill);
  padding: 0.75rem 1rem; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 1rem; color: var(--on-fill); }

/* ---------- Floating navbar (John, 2026-10-20: "retro, trendy, floating") ----------
   A dark film-leader strip that floats above the page: sprocket holes on its edges, a viewfinder
   frame that slides to the link you point at (it rests on the current page, or on the section
   you're reading), and a paper sign-in button with a hard orange shadow. The header itself is
   transparent and lets clicks through; only the bar takes them. On the dark landing heroes the
   page slides up underneath it. */
:root { --nav-h: 4.25rem; --nav-top: 0.75rem; --nav-space: calc(var(--nav-top) + var(--nav-h)); --nav-clear: 0rem; }
@media (max-width: 63.99rem) { :root { --nav-top: 0.5rem; } }
.site-header { position: sticky; top: 0; z-index: 50; padding: var(--nav-top) var(--gutter) 0; pointer-events: none; }
.navbar {
  position: relative; pointer-events: auto; width: min(100%, 72rem); margin-inline: auto; color: var(--vf-text);
  background: linear-gradient(180deg, #1D1C1A, #111111 70%); border: 1.5px solid var(--vf-line); border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255, 122, 46, 0.35), 0 0.75rem 1.75rem -0.25rem rgba(0, 0, 0, 0.45), 0 0.125rem 0 rgba(0, 0, 0, 0.35);
}
.navbar.is-scrolled { border-color: #55524D; box-shadow: 0 1.1rem 2.25rem -0.25rem rgba(0, 0, 0, 0.6), 0 0.125rem 0 rgba(0, 0, 0, 0.4); }
.navbar__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: calc(var(--nav-h) - 3px);   /* 3px: the bar's own border */
  padding: 0.55rem 0.75rem 0.55rem 1rem; flex-wrap: wrap; }
.site-home { font-size: 1.3125rem; text-decoration: none; color: var(--vf-text); display: inline-flex;
  min-height: 2.75rem; align-items: center; }
.site-home:hover { color: var(--vf-text); }
.site-nav { position: relative; display: flex; align-items: center; gap: 0.5rem; }
.site-nav__end { display: flex; align-items: center; gap: 0.5rem; }
/* Wide screens: the links split left and right, with the logo in the middle of the bar. */
@media (min-width: 64rem) {
  .navbar__in { position: relative; }
  .site-home { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
  .site-nav { flex: 1; justify-content: space-between; }
}
.site-nav__list { display: flex; flex-wrap: wrap; gap: 0.125rem; margin: 0; padding: 0; list-style: none; }
.site-nav__list a {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.8rem; color: var(--vf-text); text-decoration: none;
  font: 500 0.8125rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.07em; white-space: nowrap;
}
.site-nav__list a:hover, .site-nav__list a[aria-current] { color: var(--vf-accent); }
/* The viewfinder frame: four corner brackets that travel between links (site.js sets --mx and --mw). */
.navbar__marker {
  --c: var(--vf-accent); position: absolute; left: 0; top: 50%; width: var(--mw, 0); height: 2.125rem; margin-top: -1.0625rem;
  transform: translate3d(var(--mx, 0), 0, 0); opacity: 0; pointer-events: none;
  contain: layout style;   /* its width changes (it grows to the link) can't touch any other layout */
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / 9px 1.5px, linear-gradient(var(--c), var(--c)) 0 0 / 1.5px 9px,
    linear-gradient(var(--c), var(--c)) 100% 0 / 9px 1.5px, linear-gradient(var(--c), var(--c)) 100% 0 / 1.5px 9px,
    linear-gradient(var(--c), var(--c)) 0 100% / 9px 1.5px, linear-gradient(var(--c), var(--c)) 0 100% / 1.5px 9px,
    linear-gradient(var(--c), var(--c)) 100% 100% / 9px 1.5px, linear-gradient(var(--c), var(--c)) 100% 100% / 1.5px 9px;
  background-repeat: no-repeat;
}
.navbar__marker.is-on { opacity: 1; }
.site-nav .site-nav__cta {
  margin-left: 0.75rem; min-height: 2.5rem; background: var(--vf-text); color: var(--vf-bg); border-radius: 4px; white-space: nowrap;
  box-shadow: 3px 3px 0 var(--accent);
}
.site-nav .site-nav__cta:hover { background: #FFFFFF; color: var(--vf-bg); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--accent); }
.site-nav .site-nav__cta:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--accent); }
/* The menu button (phones): two lines that fold into a cross when the sheet is open. */
.menu-btn { display: none; position: relative; padding-left: 2.6rem; background: transparent; color: var(--vf-text);
  border: 1.5px solid var(--vf-text); font: 500 0.8125rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.07em; }
.menu-btn:hover { background: var(--vf-raised); color: var(--vf-text); }
.menu-btn::before, .menu-btn::after { content: ""; position: absolute; left: 0.9rem; width: 1.1rem; height: 1.5px; background: currentColor; }
.menu-btn::before { top: calc(50% - 4px); }
.menu-btn::after { top: calc(50% + 2.5px); }
.menu-btn[aria-expanded="true"] { background: var(--vf-text); color: var(--vf-bg); }
.menu-btn[aria-expanded="true"]::before { top: 50%; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"]::after { top: 50%; transform: rotate(-45deg); }
@media (max-width: 63.99rem) {
  /* Without JavaScript the links stay visible as a wrapped row under the wordmark. */
  .no-js .site-nav { width: 100%; flex-wrap: wrap; padding-bottom: 0.75rem; }
  .no-js .navbar__marker { display: none; }
  .js .menu-btn { display: inline-flex; }
  .js .navbar__marker { display: none; }
  .js .site-nav {
    display: none; position: absolute; left: -1.5px; right: -1.5px; top: calc(100% + 0.5rem); z-index: 2;
    background: linear-gradient(180deg, #1D1C1A, #111111 70%); border: 1.5px solid var(--vf-line); border-radius: 4px;
    box-shadow: 0 1.1rem 2.25rem -0.25rem rgba(0, 0, 0, 0.6); padding: 0.5rem 1rem 1.25rem;
    flex-direction: column; align-items: stretch; gap: 0.75rem;
  }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav__list, .js .site-nav__end { flex-direction: column; align-items: stretch; gap: 0; }
  .js .site-nav__list a { width: 100%; min-height: 3.25rem; padding: 0; font-size: 0.9375rem; border-bottom: 1px solid var(--vf-line); }
  .js .site-nav .site-nav__cta { margin-left: 0; align-self: flex-start; min-height: 2.75rem; }
}
/* On desktop the bar is exactly one row, so the space reserved for it is exact; tighter links keep six of them
   and the button on one row down to the 900px breakpoint. */
@media (min-width: 64rem) {
  .navbar { height: var(--nav-h); }
  .navbar__in { height: 100%; flex-wrap: nowrap; min-height: 0; }
}
@media (min-width: 64rem) and (max-width: 79.99rem) {
  .site-nav__list a { padding: 0 0.55rem; letter-spacing: 0.04em; font-size: 0.75rem; }
  .site-nav .site-nav__cta { margin-left: 0.25rem; }
  .navbar__in { gap: 0.5rem; padding-left: 0.75rem; }
}
/* The landing heroes are dark and full bleed: the page slides up under the floating bar. */
@media (min-width: 64rem) { .landing .site-header { margin-bottom: calc(-1 * var(--nav-space)); } .landing { --nav-clear: var(--nav-space); } }
@media (max-width: 63.99rem) { .js .landing .site-header { margin-bottom: calc(-1 * var(--nav-space)); } .js .landing { --nav-clear: var(--nav-space); } }
@media (prefers-reduced-motion: no-preference) {
  .navbar__marker { transition: transform 0.38s var(--ease), width 0.38s var(--ease), opacity 0.22s var(--ease); }
  .navbar, .site-nav .site-nav__cta, .menu-btn::before, .menu-btn::after { transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.12s var(--ease), top 0.2s var(--ease); }
  .js .site-nav.is-open { animation: nav-open 0.34s var(--develop-ease); }
}
@keyframes nav-open {
  from { opacity: 0; clip-path: inset(0 0 100% 0); transform: translateY(-0.5rem); }
  to { opacity: 1; clip-path: inset(0 0 0 0); transform: none; }
}

/* ---------- Messages ---------- */
.messages { padding-block: 1rem 0; }
.banner { display: block; padding: 0.75rem 1rem; background: var(--warning-fill); color: #141414;
  font: 500 0.875rem/1.45 var(--sans); }
.banner.info { background: var(--fill); color: var(--on-fill); }

/* ---------- Plain pages (sign-in, studio): a centred column of forms ---------- */
body.page main { width: 100%; max-width: 40rem; margin-inline: auto; padding: 3rem var(--gutter) 4.5rem; }
body.page main h1 { font-weight: 800; font-stretch: 125%; font-size: clamp(1.5625rem, 1.2rem + 1.9vw, 2.25rem);
  line-height: 1.1; letter-spacing: -0.025em; margin-bottom: 1rem; text-wrap: balance; }
body.page main h2 { font-weight: 700; font-size: 1.25rem; line-height: 1.25; margin: 1.75rem 0 0.5rem; }
body.page main p { margin-bottom: 0.75rem; }
main form { display: flex; flex-direction: column; gap: 1rem; margin-block: 1.25rem; }
main form p { display: flex; flex-direction: column; gap: 0.375rem; margin: 0; }
main label { font: 600 0.875rem/1.3 var(--sans); }
main input[type="text"], main input[type="email"], main input[type="password"], main input[type="search"],
main input[type="url"], main input[type="number"], main select, main textarea {
  min-height: 3.25rem; width: 100%; border: 1.5px solid var(--line); background: var(--raised);
  padding: 0.75rem 0.875rem; font: 400 1rem/1.4 var(--sans); color: var(--text); border-radius: 0;
}
main input:focus-visible, main select:focus-visible, main textarea:focus-visible {
  border: 2px solid var(--accent-ink); outline: 2px solid var(--focus); outline-offset: 2px;
}
main input[type="checkbox"] { width: 1.25rem; height: 1.25rem; accent-color: #141414; }
main button[type="submit"], main input[type="submit"] {
  min-height: 3rem; padding: 0.625rem 1.25rem; border-radius: 4px; border: 0; background: var(--fill);
  color: var(--on-fill); font: 700 0.9375rem/1.3 var(--sans); cursor: pointer; align-self: flex-start;
}
main button[type="submit"]:hover { background: var(--fill-pressed); }
main .errorlist { color: var(--danger); font-size: 0.875rem; padding-left: 1.1rem; margin: 0; }
main .helptext { color: var(--muted); font-size: 0.8125rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--vf-bg); color: var(--vf-text); margin-top: 0; }
.site-footer__in { display: grid; gap: 2.5rem; padding-block: 3.5rem 2.5rem; }
@media (min-width: 56.25rem) { .site-footer__in { grid-template-columns: 1.1fr 2fr; } }
.site-footer__brand { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.site-footer__brand .wm { font-size: 2.25rem; }
.site-footer__line { color: var(--vf-muted); font-size: 0.9375rem; }
.site-footer .soon { color: var(--vf-muted); }
.site-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 2rem 1.5rem; }
.site-footer__cols .t-overline { color: var(--vf-muted); margin-bottom: 0.5rem; }
.site-footer__list a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--vf-text);
  text-decoration: none; font-weight: 600; font-size: 0.9375rem; overflow-wrap: anywhere; }
.site-footer__list a:hover { color: var(--accent); text-decoration: underline; }
.site-footer__base { border-top: 1px solid var(--vf-line); padding-block: 1.25rem; color: var(--vf-muted); }
.soon { color: var(--muted); }

/* ---------- Photos (AI-generated, John 2026-10-20; developed frames only) ---------- */
.ph { background-color: #8b847b; }
.p0 { background: #8b847b url("photos/sheet-0.webp") center / cover no-repeat; }
.p1 { background: #8b847b url("photos/sheet-1.webp") center / cover no-repeat; }
.p2 { background: #8b847b url("photos/sheet-2.webp") center / cover no-repeat; }
.p3 { background: #8b847b url("photos/sheet-3.webp") center / cover no-repeat; }
.p4 { background: #8b847b url("photos/sheet-4.webp") center / cover no-repeat; }
.p5 { background: #8b847b url("photos/sheet-5.webp") center / cover no-repeat; }
.p6 { background: #8b847b url("photos/sheet-6.webp") center / cover no-repeat; }
.p7 { background: #8b847b url("photos/sheet-7.webp") center / cover no-repeat; }
.p8 { background: #8b847b url("photos/sheet-8.webp") center / cover no-repeat; }
.p9 { background: #8b847b url("photos/sheet-9.webp") center / cover no-repeat; }
.cover-wed { background: #3a3633 url("photos/occ-wed.webp") center / cover no-repeat; }
.cover-party { background: #3a3633 url("photos/occ-party.webp") center / cover no-repeat; }
.cover-raya { background: #3a3633 url("photos/occ-raya.webp") center / cover no-repeat; }
.cover-dinner { background: #3a3633 url("photos/occ-dinner.webp") center / cover no-repeat; }
.cover-diwali { background: #3a3633 url("photos/occ-diwali.webp") center / cover no-repeat; }
.cover-beach { background: #3a3633 url("photos/occ-beach.webp") center / cover no-repeat; }
.s-classic { filter: contrast(1.06) saturate(0.92); }
.s-bw { filter: grayscale(1) contrast(1.1); }
.s-faded { filter: saturate(0.7) brightness(1.06) contrast(0.9); }

/* ---------- Sections ---------- */
.sec { padding-block: clamp(4rem, 3rem + 5vw, 7.5rem); }
.sec--sunken { background: var(--sunken); }
.sec--dark { background: var(--vf-bg); color: var(--vf-text); }
.sec--dark .muted, .on-dark .muted { color: var(--vf-muted); }
.sec__head { max-width: 46rem; display: flex; flex-direction: column; gap: 1rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.sec__over { color: var(--muted); }
.sec--dark .sec__over { color: var(--vf-muted); }
.hot { color: var(--accent); }
.sec__foot { margin-top: 2rem; }

/* ---------- Hero ---------- */
.hero { padding-block: calc(var(--nav-clear) + clamp(2.5rem, 1.5rem + 4vw, 5.5rem)) clamp(3rem, 2rem + 4vw, 5rem); overflow: hidden; }
.hero__in { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 56.25rem) { .hero__in { grid-template-columns: 1.15fr 0.85fr; gap: 4rem; } }
.hero__copy { display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; max-width: 38rem; }
.hero__over { color: var(--muted); }
.hero__copy .actions { margin-top: 0.5rem; }
.hero__art { position: relative; justify-self: center; width: min(100%, 22rem); padding-right: 3.5rem; }

/* ---------- Phone + viewfinder (B3) ---------- */
.phone { width: 100%; max-width: 17.5rem; aspect-ratio: 393 / 852; background: #000; border-radius: 2.6rem;
  padding: 0.55rem; box-shadow: 0 1.5rem 3rem rgba(20, 20, 20, 0.22); }
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 2.1rem; overflow: hidden;
  background: var(--vf-bg); color: var(--vf-text); display: flex; flex-direction: column; }
.phone__island { width: 32%; height: 4.3%; background: #000; border-radius: 2rem; margin: 3.2% auto 0; flex: none; }
.vf__top { display: flex; justify-content: space-between; padding: 5% 7% 3%; font-size: 0.5625rem; color: var(--vf-muted); }
.vf__feed { position: relative; flex: 1; margin: 0 4%; overflow: hidden;
  /* The live view: the couple at their sanding (AI-generated, John 2026-10-20). */
  background: #2e3a35 url("photos/viewfinder.webp") 50% 30% / cover no-repeat; }
.vf__corner { position: absolute; width: 16%; aspect-ratio: 1; border: 2px solid rgba(245, 243, 238, 0.85); }
.vf__corner--tl { top: 7%; left: 7%; border-right: 0; border-bottom: 0; }
.vf__corner--tr { top: 7%; right: 7%; border-left: 0; border-bottom: 0; }
.vf__corner--bl { bottom: 7%; left: 7%; border-right: 0; border-top: 0; }
.vf__corner--br { bottom: 7%; right: 7%; border-left: 0; border-top: 0; }
.vf__date { position: absolute; right: 9%; bottom: 10%; font-size: 0.8125rem; text-shadow: 0 0 0.35rem rgba(0, 0, 0, 0.75), 0 0 6px rgba(255, 122, 46, 0.5); }
.vf__controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 7% 7% 12%; gap: 0.5rem; }
.vf__count { position: relative; display: flex; align-items: baseline; gap: 0.3rem; justify-self: start; padding: 0.3rem 0.4rem; }
.vf__num { font-size: 1.85rem; }
.vf__left { font-size: 0.5625rem; color: var(--vf-muted); }
.grease { position: absolute; inset: -0.45rem -0.7rem; width: calc(100% + 1.4rem); height: calc(100% + 0.9rem);
  fill: none; stroke: var(--mark); stroke-width: 3; stroke-linecap: round; overflow: visible; }
.shutter { width: 3.6rem; height: 3.6rem; border-radius: 50%; border: 3px solid var(--vf-text); display: flex;
  align-items: center; justify-content: center; }
.shutter > span { width: 81%; height: 81%; border-radius: 50%; background: var(--vf-text); display: block; }
.vf__roll { justify-self: end; width: 2.2rem; height: 2.2rem; border: 1.5px solid var(--vf-line); border-radius: 6px;
  display: flex; align-items: center; justify-content: center; }
.vf__roll .neg { width: 1.1rem; height: 1.4rem; }
.hero__box { position: absolute; right: 0; bottom: 6%; width: 7.6rem; transform: rotate(6deg); }

/* ---------- Stock box (BR4) ---------- */
.stock { background: var(--raised); border: 2px solid var(--line); display: flex; flex-direction: column;
  color: #141414; width: 100%; }
.stock__band { display: flex; justify-content: space-between; background: #141414; color: #F5F3EE;
  font-size: 0.5625rem; padding: 0.45rem 0.55rem; }
.stock__name { font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: 0.9375rem; line-height: 1.05;
  letter-spacing: -0.01em; padding: 0.6rem 0.6rem 0.2rem; min-height: 2.6rem; }
.stock__iso { font-size: 1.6rem; color: var(--accent-ink); padding: 0 0.6rem 0.7rem; }
.stock__sample { margin: 0 0.6rem 0.6rem; aspect-ratio: 3 / 2; border: 2px solid #141414; }
.stock__stripe { height: 0.6rem; background: var(--stripe); margin-top: auto; }


/* ---------- The darkroom sign (between the opening and How it works) ---------- */
.sign { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem 2rem; padding: 1.25rem var(--gutter);
  background: var(--lx-base); border-block: 1px solid #2A1512; text-align: center; }
.sign__plate { display: inline-flex; align-items: center; gap: 0.75rem; margin: 0; padding: 0.55rem 1.1rem; border: 1.5px solid rgba(255, 122, 46, 0.65);
  border-radius: 4px; color: #FF8A4C; font: 800 0.9375rem/1 var(--sans); font-stretch: 125%; text-transform: uppercase; letter-spacing: 0.08em;
  text-shadow: 0 0 0.6rem rgba(255, 122, 46, 0.75); box-shadow: 0 0 1.5rem rgba(255, 122, 46, 0.35), inset 0 0 1rem rgba(255, 122, 46, 0.22); }
.sign__lamp { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #FF7A2E; box-shadow: 0 0 0.5rem 2px rgba(255, 122, 46, 0.8); }
@media (prefers-reduced-motion: no-preference) {
  /* The sign switches on, with a flicker, when it comes into view. */
  .js .sign:not(.is-in) .sign__plate { opacity: 0.3; text-shadow: none; box-shadow: none; }
  .js .sign.is-in .sign__plate { animation: sign-on 1.1s steps(1, end); }
}
@keyframes sign-on { 0% { opacity: 0.3; } 12% { opacity: 1; } 20% { opacity: 0.4; } 32% { opacity: 1; } 40% { opacity: 0.55; } 52%, 100% { opacity: 1; } }

/* ---------- How it works ---------- */
.how { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 56.25rem) { .how { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; } }
.steps { display: flex; flex-direction: column; }
.step { display: grid; grid-template-columns: 3.25rem 1fr; column-gap: 1rem; row-gap: 0.4rem; padding-block: 1.5rem;
  border-top: 1.5px solid var(--line); }
.step:last-child { border-bottom: 1.5px solid var(--line); }
.step__num { grid-row: span 2; font-size: 2rem; }
.how__sheet { display: flex; flex-direction: column; gap: 0.875rem; }
.sheet { background: var(--raised); border: 1.5px solid var(--line); padding: clamp(0.6rem, 0.4rem + 1vw, 1.1rem); }
.sheet__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(3px, 0.6vw, 6px); }
.fr { aspect-ratio: 3 / 2; border: 1.5px solid #141414; }
.sheet__edge { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 0.75rem;
  color: var(--muted); text-transform: uppercase; font-size: 0.625rem; letter-spacing: 0.06em; }
.sheet__mark { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--text); font-family: var(--sans);
  font-weight: 800; text-transform: none; letter-spacing: -0.01em; font-size: 0.75rem; }
.sheet__mark .wm-36 { font-size: 0.625rem; }

/* ---------- The film: the shelf ---------- */
.shelf { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; }
@media (min-width: 40rem) { .shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .shelf { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; } }
.shelf__item { display: flex; flex-direction: column; gap: 0.3rem; }
.shelf__item .stock { margin-bottom: 0.6rem; }
.shelf__name { margin-top: 0.2rem; }

/* ---------- Events (dark) ---------- */
.evsteps { display: grid; gap: 2.5rem; }
@media (min-width: 56.25rem) { .evsteps { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.evstep { display: flex; flex-direction: column; gap: 0.6rem; }
.evstep__art { background: var(--vf-raised); border: 1.5px solid var(--vf-line); padding: 1.25rem; min-height: 12.5rem;
  display: flex; flex-direction: column; justify-content: center; gap: 1rem; margin-bottom: 0.75rem; }
.evstep__label { color: var(--vf-muted); }
.evstep__num { font-size: 1.5rem; }
.evstep .t-body { color: #D9D4CB; }
.evstep__art .code .c { width: auto; flex: 1; max-width: 2.1rem; height: 2.75rem; font-size: 1.25rem; }
.tablecard { display: flex; gap: 0.75rem; align-items: center; background: var(--surface); color: #141414; padding: 0.6rem;
  border: 1.5px solid var(--vf-line); }
.tablecard__qr { width: 3.25rem; height: 3.25rem; flex: none; display: flex; align-items: center; justify-content: center;
  background: repeating-conic-gradient(#141414 0 25%, #F5F3EE 0 50%) 0 0 / 0.65rem 0.65rem; border: 3px solid #141414; }
.tablecard__qr .wm-36 { font-size: 0.75rem; outline: 3px solid #F5F3EE; }
.tablecard__words { display: flex; flex-direction: column; gap: 0.15rem; }
.rollbar { display: flex; align-items: center; gap: 0.75rem; background: #000; border: 1.5px solid var(--vf-line); padding: 0.75rem; }
.rollbar__num { font-size: 1.9rem; }
.rollbar__words { display: flex; flex-direction: column; gap: 0.15rem; flex: 1; min-width: 0; }
.rollbar__up { display: flex; align-items: center; gap: 0.3rem; color: var(--vf-muted); }
.rollbar__up .i { width: 1rem; height: 1rem; }
.rollbar__shoot { display: inline-flex; align-items: center; gap: 0.35rem; background: var(--vf-text); color: #141414;
  border-radius: 4px; padding: 0.45rem 0.6rem; font-weight: 700; font-size: 0.8125rem; }
.rollbar__shoot .i { width: 1rem; height: 1rem; }
.negs { background: #000; padding-block: 0.3rem; --hole: var(--vf-hole); }
.negs__frames { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; padding: 0.35rem 0.5rem; }
.neg { display: block; aspect-ratio: 2 / 3; background: var(--neg); border: 1.5px solid var(--neg-frame); }
.countbox { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; border: 1.5px solid var(--vf-line);
  background: #000; padding: 0.7rem 0.8rem; }
.countbox .t-overline { color: var(--vf-muted); }
.countbox__time { font-size: 1.5rem; }
.reveal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.reveal .ph { aspect-ratio: 1; border: 1.5px solid #000; }
.mine { margin-top: clamp(3rem, 2rem + 4vw, 5rem); border-top: 1.5px solid var(--vf-line); padding-top: 2.5rem; }
.mine__title { margin-bottom: 1.5rem; }
.mine__grid { display: grid; gap: 1rem; }
@media (min-width: 48rem) { .mine__grid { grid-template-columns: 1fr 1fr; } .mine__card--wide { grid-column: 1 / -1; } }
@media (min-width: 64rem) { .mine__grid { grid-template-columns: 1fr 1fr 2fr; } .mine__card--wide { grid-column: auto; } }
.mine__card { border: 1.5px solid var(--vf-line); padding: 1.25rem; display: flex; flex-direction: column; gap: 0.6rem; }
.mine__over { color: var(--accent); }
.reveals { margin: 0; display: grid; gap: 0.75rem; }
.reveals div { display: grid; gap: 0.15rem; }
.reveals dd { margin: 0; color: #D9D4CB; }
.mine__small { margin-top: 1.5rem; color: var(--vf-muted); }

/* ---------- Event Kit ---------- */
.evtabs { display: flex; overflow-x: auto; border: 1.5px solid var(--line); width: max-content; max-width: 100%;
  margin-bottom: 2rem; scrollbar-width: none; }
.evtabs span { padding: 0.7rem 1rem; font: 600 0.875rem/1 var(--sans); white-space: nowrap; }
.evtabs span + span { border-left: 1.5px solid var(--line); }
.evtabs .on { background: var(--fill); color: var(--on-fill); }
.kit { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 56.25rem) { .kit { grid-template-columns: 1.4fr 0.6fr; gap: 3rem; } }
.kit__cards { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .kit__cards { grid-template-columns: 1fr 1fr; } }
.kit__card { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.kit__card .i { width: 1.75rem; height: 1.75rem; color: var(--accent-ink); margin-bottom: 0.25rem; }
.kit__quote { color: var(--accent-ink); font-weight: 600; }
.lock { display: flex; flex-direction: column; gap: 1rem; max-width: 22rem; justify-self: center; width: 100%; }
.lock__screen { background: linear-gradient(170deg, #3d4b56, #6b5a6e 55%, #b07d62); border-radius: 1.75rem;
  padding: 2rem 0.9rem 2.5rem; color: #fff; text-align: center; border: 6px solid #000; }
.lock__time { font-size: 3.4rem; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.lock__date { font-size: 0.8125rem; margin: 0.4rem 0 1.75rem; opacity: 0.9; }
.note { display: flex; gap: 0.6rem; text-align: left; background: rgba(245, 243, 238, 0.82); color: #141414;
  border-radius: 1rem; padding: 0.7rem 0.75rem; backdrop-filter: blur(8px); }
.note__icon { width: 2.1rem; height: 2.1rem; flex: none; background: #fff; border-radius: 0.5rem; display: flex;
  align-items: center; justify-content: center; }
.note__icon .wm-36 { font-size: 0.6875rem; }
.note__body { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.note__top { display: flex; justify-content: space-between; gap: 0.5rem; font-size: 0.8125rem; }
.note__top span { color: #5E5A55; }
.note__text { font-size: 0.8125rem; line-height: 1.35; }

/* ---------- Occasions ---------- */
.occasions { display: grid; gap: 2rem 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.occ { display: flex; flex-direction: column; gap: 0.4rem; }
.occ__cover { position: relative; display: block; aspect-ratio: 3 / 2; border: 1.5px solid var(--line);
  outline: 0.5rem solid #141414; outline-offset: -0.5rem; margin-bottom: 0.6rem; }
.occ__date { position: absolute; right: 0.9rem; bottom: 0.8rem; font-size: 0.9375rem; text-shadow: 0 0 6px rgba(255, 122, 46, 0.45); }

/* ---------- The rules of the roll ---------- */
.promises { display: grid; gap: 1rem; }
@media (min-width: 56.25rem) { .promises { grid-template-columns: 0.8fr 1.2fr; gap: 4rem; align-items: start; } }
.rules { display: flex; flex-direction: column; }
.rule-item { display: grid; grid-template-columns: 1.75rem 1fr; gap: 1rem; padding-block: 1.1rem;
  border-top: 1px solid var(--vf-line); color: #D9D4CB; }
.rule-item:last-child { border-bottom: 1px solid var(--vf-line); }
.rule-item .i { color: var(--accent); margin-top: 0.1rem; }
.rule-item strong { color: var(--vf-text); font-weight: 700; display: block; margin-bottom: 0.15rem; }

/* ---------- Planners ---------- */
.plans { display: grid; gap: 1.5rem; }
@media (min-width: 56.25rem) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { padding: 1.75rem 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.plan__name { font-weight: 800; font-stretch: 125%; font-size: 1.75rem; line-height: 1; letter-spacing: -0.02em; }
.plan__price { display: flex; flex-direction: column; gap: 0.2rem; }
.plan__facts { display: flex; flex-direction: column; gap: 0.75rem; border-top: 1.5px solid var(--line); padding-top: 1.25rem; }
.plan__facts li { display: grid; grid-template-columns: 1.375rem 1fr; gap: 0.6rem; font-size: 0.9375rem; line-height: 1.4; }
.plan__facts .i { width: 1.375rem; height: 1.375rem; color: var(--accent-ink); }
.plans__actions { margin-top: 2.5rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 1rem; }
@media (min-width: 56.25rem) { .faq { grid-template-columns: 0.8fr 1.2fr; gap: 4rem; align-items: start; } }
.faq__list { border-top: 1.5px solid var(--line); }
.faq__list details { border-bottom: 1.5px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  min-height: 3.5rem; padding-block: 1rem; font-weight: 700; font-size: 1.0625rem; line-height: 1.35;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; flex: none; width: 0.75rem; height: 0.75rem; border-right: 2px solid var(--text); border-bottom: 2px solid var(--text);
  transform: rotate(45deg) translate(-0.15rem, -0.15rem); transition: transform 160ms var(--ease);
}
.faq__list details[open] summary::after { transform: rotate(-135deg) translate(-0.15rem, -0.15rem); }
.faq__list summary:hover { color: var(--accent-ink); }
.faq__list details p { padding: 0 2rem 1.25rem 0; color: var(--muted); max-width: 40rem; }

/* ---------- Last call ---------- */
.last { background: var(--vf-bg); color: var(--vf-text); padding-block: clamp(4rem, 3rem + 5vw, 7rem); overflow: hidden;
  border-bottom: 1px solid var(--vf-line); }
.last__in { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 56.25rem) { .last__in { grid-template-columns: auto 1fr; gap: 4rem; } }
.last__36 { font-size: clamp(7rem, 5rem + 10vw, 13rem); line-height: 0.8; text-shadow: 0 0 24px rgba(255, 122, 46, 0.35); }
.last__copy { display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; }
.last__copy .t-lead { color: #D9D4CB; }
.last a:not(.btn) { color: var(--accent); }

/* ---------- Motion (start states only with JavaScript and without reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* Prints come up from blank paper, like in the developer tray. */
  .js .sheet .fr { transition: filter 2s var(--develop-ease); }
  .js .sheet .fr:not(.is-developed) { filter: brightness(2.6) contrast(0.2) grayscale(1); }
  .js .occ__cover, .js .reveal .ph, .js .tstrip .ph, .js .cobrand__cover { transition: filter 2.2s var(--develop-ease); }
  .js .occ__cover:not(.is-in), .js .reveal .ph:not(.is-in), .js .tstrip .ph:not(.is-in), .js .cobrand__cover:not(.is-in) {
    filter: brightness(2.6) contrast(0.2) grayscale(1); }
  .vf__num.is-ticked { animation: tick 340ms var(--ease); }
}
@keyframes tick { from { opacity: 0.2; } to { opacity: 1; } }

/* ---------- Reading pages (legal, account) ---------- */
body.page--prose main { max-width: 44rem; }
.prose { display: flex; flex-direction: column; gap: 1rem; }
.prose__over { color: var(--accent-ink); }
.prose h1 { padding-bottom: 1.25rem; border-bottom: 1.5px solid var(--line); }
.prose p, .prose li { max-width: 68ch; line-height: 1.6; }
.prose h2 { margin-top: 1.5rem; }

/* ---------- Join card (F1) ---------- */
body.page--join main { max-width: 34rem; }
.join { overflow: hidden; }
.join__band { --hole: var(--surface); }
.join__body { padding: 1.75rem 1.5rem 2rem; display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.join .code .c { width: auto; flex: 1; max-width: 2.25rem; }
.join .code { width: 100%; }
body.page main .join__title { margin: 0.75rem 0 0; }
.join__date { font-size: 1.5rem; }

/* ---------- Large text: single-column grids may shrink below their content's width ---------- */
.hero__in, .how, .evsteps, .kit, .promises, .faq, .last__in, .mine__grid, .plans, .kit__cards { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) { .kit__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 48rem) { .mine__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 56.25rem) {
  .hero__in { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
  .how { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .evsteps, .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kit { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); }
  .promises, .faq { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .last__in { grid-template-columns: auto minmax(0, 1fr); }
}
@media (min-width: 64rem) { .mine__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr); } }
.hero__copy, .evstep, .plan, .kit__card, .occ, .shelf__item { min-width: 0; }
.t-display, .t-headline, .t-title { overflow-wrap: anywhere; hyphens: auto; }
/* Decorative drawings (aria-hidden) clip to their frames instead of widening the page. */
.evstep__art, .sheet, .phone__screen, .lock__screen, .cobrand { overflow: hidden; max-width: 100%; }
.hero__art { max-width: 100%; }
.site-footer__brand .wm { font-size: min(2.25rem, 11vw); }
/* The hero drawing keeps its proportions at large text sizes. */
.hero__art { width: min(100%, 22rem, 92vw); padding-right: min(3.5rem, 14vw); }
.phone { max-width: min(17.5rem, 70vw); }
.hero__box { width: min(7.6rem, 32vw); }
.hero__box .stock { font-size: min(1rem, 4.2vw); }

/* ---------- Inner pages (/weddings/, /planners/) ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--hair); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent-ink); }
.more-link, .occ__link { font-weight: 700; color: var(--text); }
.more-link::after { content: " \2192"; }
.occ__link { text-decoration: none; }
.occ__link:hover { text-decoration: underline; }
.subhero .hero__copy { gap: 1.1rem; }
.steps--grid { display: grid; gap: 0 2.5rem; }
@media (min-width: 56.25rem) { .steps--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps--grid .step:nth-last-child(2) { border-bottom: 1.5px solid var(--line); } }
.points { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.point { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.point .i { width: 1.75rem; height: 1.75rem; color: var(--accent-ink); margin-bottom: 0.25rem; }
.why { display: grid; gap: 2.5rem; align-items: start; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 64rem) { .why { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); } .why .points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kitdark { list-style: none; margin: 0; padding: 0; }
@media (min-width: 64rem) { .kitdark { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.twocol { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 56.25rem) { .twocol { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 4rem; align-items: start; } }
.twocol a { font-weight: 700; }
.caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.cap { padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.cap__n { font-size: 2.25rem; color: var(--accent-ink); }
.evsteps--five { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 48rem) { .evsteps--five { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .evsteps--five { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; } }
.evsteps--five .evstep { border-top: 1.5px solid var(--vf-line); padding-top: 1.25rem; }

/* The wedding table card (H2's A6 card) */
.tcard { width: min(100%, 17.5rem, 72vw); background: var(--raised); border: 1.5px solid var(--line); padding: 1.25rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem; text-align: center;
  box-shadow: 0 1.5rem 3rem rgba(20, 20, 20, 0.16); transform: rotate(-3deg); }
.tcard__top .wm { font-size: 1rem; }
.tcard__event { color: var(--muted); font-size: 0.625rem; }
.tcard__title { font-weight: 800; font-stretch: 125%; font-size: 1.5rem; line-height: 1.05; letter-spacing: -0.02em; }
.tcard__qr { width: 62%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  background: repeating-conic-gradient(#141414 0 25%, #F5F3EE 0 50%) 0 0 / 12% 12%; border: 6px solid #141414; }
.tcard__qr .wm-36 { font-size: 1.1rem; outline: 5px solid #F5F3EE; }
.tcard__code { font-size: 1.25rem; }
.tcard__foot { color: var(--muted); }
.tstrip { background: #141414; padding: 0.45rem; transform: rotate(5deg); bottom: 2%; }
.tstrip .ph { display: block; aspect-ratio: 3 / 2; }

/* The co-branded join screen (F1 with a planner) */
.cobrand { width: min(100%, 19rem, 80vw); background: var(--surface); border: 1.5px solid var(--line); padding: 1rem;
  display: flex; flex-direction: column; gap: 0.75rem; box-shadow: var(--emphasis); }
.cobrand__brands { display: flex; align-items: center; gap: 0.5rem; }
.cobrand__logo { width: 2rem; height: 2rem; display: inline-flex; align-items: center; justify-content: center;
  background: #2F4A3E; color: #F5F3EE; font: 700 0.75rem/1 var(--sans); letter-spacing: 0.04em; }
.cobrand__cover { position: relative; aspect-ratio: 16 / 9; border: 1.5px solid var(--line); }
.cobrand__event { color: var(--muted); font-size: 0.625rem; }
.cobrand__title { font-weight: 800; font-stretch: 125%; font-size: 1.25rem; line-height: 1.1; letter-spacing: -0.02em; }
.cobrand__facts { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid var(--line); }
.cobrand__facts > span { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.5rem 0.6rem; font-size: 0.8125rem; }
.cobrand__facts > span + span { border-left: 1.5px solid var(--line); }
.cobrand__facts .t-overline { font-size: 0.5625rem; color: var(--muted); }
.cobrand__btn { background: var(--fill); color: var(--on-fill); text-align: center; font-weight: 700; font-size: 0.875rem;
  padding: 0.75rem; border-radius: 4px; }
.subhero .hero__art { display: flex; justify-content: center; padding-right: 0; }
.tcard { position: relative; z-index: 1; }
.subhero .tstrip { top: 0; left: 0; right: auto; bottom: auto; width: min(8.5rem, 34vw); transform: rotate(-8deg); z-index: 0; }
@media (min-width: 64rem) { #you .points { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Film effects (John, 2026-10-20, after the Luden reference) ----------
   Dark "long exposure" heroes and bands with light leaks in the stock colours, film grain,
   develop-in reveals, marker highlights, a pointer light and halation. Everything that moves sits
   under prefers-reduced-motion: no-preference, and hidden start states also need JavaScript. */
:root {
  /* The darkroom (John, 2026-10-20): a safelight hangs above every dark section; amber-orange since
     orange became the one bold colour. */
  --safelight: #E8641F;
  --lx-base: #0A0706;
  --lx-glow: radial-gradient(85% 55% at 50% -12%, rgba(255, 122, 46, 0.38) 0%, rgba(184, 74, 14, 0.22) 42%, transparent 72%),
    radial-gradient(70% 40% at 50% 118%, rgba(140, 56, 10, 0.3), transparent 70%);
  --grain-img: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='2.2' intercept='-0.6'/%3E%3CfeFuncG type='linear' slope='2.2' intercept='-0.6'/%3E%3CfeFuncB type='linear' slope='2.2' intercept='-0.6'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

/* Long exposure: near-black with a teal and rose glow rising from the bottom edge. */
.hero--dark, .sec--dark, .last { background: var(--lx-glow), var(--lx-base); position: relative; isolation: isolate; }
.hero--dark > .wrap, .sec--dark > .wrap, .last > .wrap { position: relative; z-index: 1; }
.hero--dark { color: var(--vf-text); }
/* Paper things in the dark hero keep their own ink. */
.hero--dark .tcard, .hero--dark .cobrand { color: var(--text); }
/* Break headline words only where a phone with large text needs it. */
@media (min-width: 40rem) { .t-display, .t-headline { hyphens: manual; } }
.hero--dark .hero__over, .hero--dark .crumbs ol, .hero--dark .crumbs a, .on-dark .soon { color: var(--vf-muted); }
.hero--dark .crumbs li + li::before { color: var(--vf-line); }
.hero--dark .t-lead { color: #D9D4CB; }
.on-dark .ink-accent { color: var(--vf-accent); }
.on-dark a:not(.btn):hover { color: var(--vf-accent); }
.hero--dark .phone { box-shadow: 0 0 0 1.5px var(--vf-line), 0 2rem 4rem rgba(0, 0, 0, 0.6), 0 0 6rem rgba(255, 122, 46, 0.12); }

/* Light leaks: soft blooms of the stock colours, screened onto the dark. */
.leaks { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.leaks__l { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; mix-blend-mode: screen;
  background: radial-gradient(closest-side, var(--leak), transparent); }
.leaks__l--1 { --leak: rgba(255, 122, 46, 0.3); top: -42vmax; right: -28vmax; }
.leaks__l--2 { --leak: rgba(255, 122, 46, 0.16); bottom: -48vmax; left: -34vmax; }
.leaks__l--3 { --leak: rgba(184, 74, 14, 0.3); bottom: -54vmax; right: -12vmax; }
.leaks__pointer { position: absolute; left: 0; top: 0; width: 34rem; height: 34rem; margin: -17rem 0 0 -17rem;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 122, 46, 0.24), transparent);
  mix-blend-mode: screen; opacity: 0; display: none; transition: opacity 0.5s var(--ease); will-change: transform; }

/* Film grain over every page, under nothing that takes a click. */
.grain { position: fixed; inset: 0; z-index: 100; pointer-events: none; overflow: hidden; opacity: 0.13; }
.grain::before { content: ""; position: absolute; inset: -96px; background: var(--grain-img) 0 0 / 180px 180px; }
@media (prefers-contrast: more), (prefers-reduced-transparency: reduce) { .grain { display: none; } }
@media print { .grain, .leaks { display: none; } }

/* The orange bar over each section head (Luden's section rule), and marker highlights. */
.sec__head::before { content: ""; display: block; width: 100%; height: 0.3rem; background: var(--accent); transform-origin: left center; }
mark.hl { background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 0 / 100% 100%; color: #141414;
  padding: 0 0.1em; margin: 0 -0.05em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

@media (prefers-reduced-motion: no-preference) {
  .grain::before { animation: grain-shift 0.8s steps(1, end) infinite; }
  .leaks__l { animation: leak-drift 48s var(--develop-ease) infinite alternate; }
  .leaks__l--2 { animation-duration: 61s; animation-delay: -21s; }
  .leaks__l--3 { animation-duration: 55s; animation-delay: -37s; }

  /* The hero develops on load, line by line. */
  .js .hero__copy > *, .js .hero__art { animation: develop-in 1.1s var(--develop-ease) both; }
  .js .hero__copy > :nth-child(2) { animation-delay: 0.08s; }
  .js .hero__copy > :nth-child(3) { animation-delay: 0.16s; }
  .js .hero__copy > :nth-child(4) { animation-delay: 0.24s; }
  .js .hero__copy > :nth-child(5) { animation-delay: 0.32s; }
  .js .hero__copy > :nth-child(n+6) { animation-delay: 0.4s; }
  .js .hero__art { animation-duration: 1.6s; animation-delay: 0.2s; }

  /* Everything else develops as it scrolls in (site.js adds .is-in). */
  .js [data-reveal] { transition: opacity 0.9s var(--develop-ease), filter 0.9s var(--develop-ease), transform 0.9s var(--develop-ease); }
  .js [data-reveal]:not(.is-in) { opacity: 0; filter: blur(12px) brightness(1.5); transform: translate3d(0, 0.75rem, 0); }
  .js .sec__head::before { transition: transform 0.9s var(--develop-ease) 0.15s; }
  .js .sec__head:not(.is-in)::before { transform: scaleX(0); }
  .js .hl { transition: background-size 0.7s var(--develop-ease) 0.45s, color 0.25s ease 0.55s; }
  .js .hl:not(.is-in) { background-size: 0% 100%; color: inherit; }
}
@keyframes grain-shift {
  0% { transform: translate3d(0, 0, 0); } 17% { transform: translate3d(-2.3rem, 1.1rem, 0); }
  33% { transform: translate3d(1.4rem, -2.6rem, 0); } 50% { transform: translate3d(-0.9rem, 2.2rem, 0); }
  67% { transform: translate3d(2.5rem, 0.7rem, 0); } 83% { transform: translate3d(-1.6rem, -1.8rem, 0); }
  100% { transform: translate3d(0, 0, 0); }
}
@keyframes leak-drift { to { transform: translate3d(-9vmax, 7vmax, 0) scale(1.15); } }
@keyframes develop-in {
  from { opacity: 0; filter: blur(14px) brightness(1.6); transform: translate3d(0, 0.75rem, 0); }
  to { opacity: 1; filter: none; transform: none; }
}

/* Desktop only: a light that follows the pointer in the dark, and halation on big headlines. */
@media (hover: hover) and (pointer: fine) {
  .leaks__pointer { display: block; }
  .is-lit > .leaks .leaks__pointer { opacity: 1; }
  .t-display, .t-headline { transition: text-shadow 0.35s var(--ease); }
  .t-display:hover, .t-headline:hover {
    text-shadow: -0.03em 0 0 rgba(255, 64, 32, 0.55), 0.03em 0 0 rgba(46, 111, 208, 0.55), 0 0 0.45em rgba(255, 122, 46, 0.3);
  }
}

/* ---------- "The Roll": scenes (John, 2026-10-20) ----------
   Sections that stay in place while scrolling drives them. site.js sizes each pinned scene and
   writes its progress (0 to 1) as --p. Without JavaScript, or with reduced motion, nothing is
   pinned: the opening is a plain hero and the film strip scrolls sideways by hand. */
:root { --head-h: var(--nav-space); }
.scene__stick { position: relative; }
.scene__stick > .wrap { position: relative; z-index: 1; }
.scene__cue { display: none; }

/* The opening: four shots that drop out of the phone as undeveloped frames. */
.shots { position: absolute; left: -0.5rem; bottom: -0.75rem; z-index: 2; display: flex; gap: 0.3rem; padding: 0.4rem;
  background: #000; border: 1px solid var(--vf-line); transform: rotate(-6deg); }
.shot .neg { width: 1.5rem; height: 2.25rem; }
/* On a wide screen the shots land in the gap between the words and the phone. */
@media (min-width: 56.25rem) { .shots { left: -7.5rem; bottom: auto; top: 44%; } }
/* The opening's photo: a party at night, blurred and faded out where the words sit. */
.hero__photo { position: absolute; inset: -4%; z-index: 0; pointer-events: none;
  background: url("photos/hero.webp") 70% 40% / cover no-repeat; opacity: 0.32; filter: blur(3px) grayscale(1) sepia(1) hue-rotate(-12deg) saturate(2.4) brightness(0.72);   /* seen under the safelight */
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.2), #000 65%); mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.2), #000 65%); }
@media (min-width: 56.25rem) {
  .hero__photo { opacity: 0.45;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.3) 38%, #000 72%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.3) 38%, #000 72%); }
}
@media (prefers-contrast: more) { .hero__photo { display: none; } }
.vf__feed::after { content: ""; position: absolute; inset: 0; background: #FFF8EE; opacity: 0; pointer-events: none; }

/* How it works: a strip of film crossing the page. Holes are punched through to the paper. */
/* How it works: prints hung to dry on a wire across the darkroom, each on a clothespin. */
.strip { overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; }
.strip:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.strip__row { --strip-pad: max(var(--gutter), calc((100vw - 75rem) / 2 + var(--gutter)));
  position: relative; display: flex; align-items: flex-start; gap: 1.75rem; width: max-content; padding: 3.5rem var(--strip-pad) 3rem; }
.line__wire { position: absolute; left: 0; right: 0; top: 1.6rem; height: 1.5px;
  background: linear-gradient(90deg, #4A3A35, #8C7A72 50%, #4A3A35); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.6); }
.strip__steps { display: flex; align-items: flex-start; gap: 1.75rem; margin: 0; padding: 0; list-style: none; flex-direction: row; }
.frame { flex: none; position: relative; width: min(76vw, 21rem); min-height: min(54vh, 24rem); display: flex; flex-direction: column;
  gap: 0.75rem; padding: 1.75rem 1.5rem 1.75rem; background: #F2EEE6; color: var(--text); border-radius: 2px;
  box-shadow: 0 1.5rem 2.5rem -0.75rem rgba(0, 0, 0, 0.7); scroll-snap-align: center; }
.frame--intro { width: min(84vw, 28rem); justify-content: space-between; }
.frame--intro .sec__head { margin: 0; }
.frame--sheet { width: min(86vw, 32rem); justify-content: center; }
.frame--sheet .sheet { border: 0; padding: 0; background: none; }
.frame .muted, .frame .frame__hint { color: var(--muted); }
.frame .ink-accent { color: var(--accent-ink); }
/* A wooden clothespin with its steel spring, holding the print to the wire. */
.frame__clip { position: absolute; top: -2.05rem; left: 50%; width: 0.75rem; height: 2.6rem; margin-left: -0.375rem; z-index: 1;
  background: linear-gradient(90deg, #8A6A44, #C9A574 45%, #A8865A); border-radius: 2px; box-shadow: 0 0.2rem 0.35rem rgba(0, 0, 0, 0.55); }
.frame__clip::after { content: ""; position: absolute; left: -2px; right: -2px; top: 42%; height: 3px; background: #9C9A96; border-radius: 2px; }
/* Each print hangs a little crooked; scrolling makes it sway from its clip (site.js sets --sway). */
.scene--strip .frame { transform-origin: 50% -2rem; transform: rotate(calc(var(--tilt, 0deg) + var(--sway, 0deg))) scale(var(--zoom, 1)); }
.frame--intro { --tilt: -1.2deg; }
.strip__steps .frame:nth-child(1) { --tilt: 1.4deg; }
.strip__steps .frame:nth-child(2) { --tilt: -0.9deg; }
.strip__steps .frame:nth-child(3) { --tilt: 0.8deg; }
.frame--sheet { --tilt: -0.6deg; }
.strip .step { display: flex; padding: 1.75rem 1.5rem; border: 0; }
.strip .step:last-child { border-bottom: 0; }
.strip .step__num { font-size: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); line-height: 0.9; color: var(--accent-ink); margin-bottom: auto; }
.strip .step .t-title { font-size: 1.5rem; }
/* Real app screens (the app's golden renders) in a small phone at the frame's top right. */
.screen { position: absolute; top: 1.25rem; right: 1.25rem; width: min(34%, 7.5rem); aspect-ratio: 393 / 852; padding: 0.3rem;
  background: #000; border-radius: 1.15rem; box-shadow: 0 0 0 1px var(--vf-line), 0 1.25rem 2.5rem rgba(0, 0, 0, 0.55);
  transform: rotate(3deg); }
/* The words on a print with a phone keep clear of it. */
.frame:has(.screen) > .t-title, .frame:has(.screen) > .t-body { max-width: calc(100% - min(34%, 7.5rem) - 0.5rem); }
.screen img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0.9rem; }

@media (prefers-reduced-motion: no-preference) {
  .js .scene { overflow: clip; }

  /* Pinned stages (site.js sets each scene's height; until it runs these are a screen tall). */
  .js .scene--strip { padding-block: 0; }
  .js .scene--strip > .scene__stick { position: sticky; top: var(--head-h); height: calc(100vh - var(--head-h));
    display: flex; flex-direction: column; justify-content: center; gap: 1.5rem; overflow: clip; }
  .js .scene--strip .strip { overflow: visible; scroll-snap-type: none; will-change: transform; }
  .js .scene--strip .frame { will-change: opacity, transform; transition: opacity 0.2s linear; }

  /* The opening pins only where hero and phone fit one screen. */
  @media (min-width: 56.25rem) and (min-height: 40rem) {
    .js .scene--opening { padding-block: 0; }
    .js .scene--opening > .scene__stick { position: sticky; top: var(--head-h); height: calc(100vh - var(--head-h));
      display: grid; align-content: center; overflow: clip; }
    .js .scene--opening .scene__cue { display: flex; align-items: center; gap: 0.75rem; position: absolute; left: 50%;
      bottom: 1.5rem; z-index: 1; color: var(--vf-muted); transform: translateX(-50%); opacity: calc(1 - var(--p, 0) * 6); }
  }
  .scene__cue-line { display: block; width: 2.5rem; height: 1.5px; background: var(--vf-accent); transform-origin: left center;
    animation: cue-line 1.8s var(--develop-ease) infinite; }

  /* Scrolling through the opening: the phone comes up to the eye, the box and leaks drift. */
  .js .scene--opening .phone { transform: perspective(1400px) rotateY(calc((1 - var(--p, 0)) * -14deg))
    rotateX(calc((1 - var(--p, 0)) * 6deg)) translate3d(0, calc(var(--p, 0) * -1rem), 0); }
  .js .scene--opening .hero__box { transform: translate3d(calc(var(--p, 0) * 2.5rem), calc(var(--p, 0) * -4rem), 0)
    rotate(calc(6deg + var(--p, 0) * 12deg)); }
  .js .scene--opening .hero__copy { transform: translate3d(0, calc(var(--p, 0) * -2rem), 0); }
  .js .scene--opening .hero__photo { transform: translate3d(0, calc(var(--p, 0) * 4%), 0) scale(calc(1.04 + var(--p, 0) * 0.08)); }
  .js .scene--opening .leaks { transform: translate3d(0, calc(var(--p, 0) * -10%), 0) scale(calc(1 + var(--p, 0) * 0.15)); }

  /* Each shot drops out of the phone; scrolling back up winds them back in. */
  .js .shots { transition: opacity 0.3s var(--ease); }
  .js .shots:not(.has-shots) { opacity: 0; }
  .js .shot { transition: opacity 0.45s var(--ease), transform 0.55s var(--ease); }
  .js .shot:not(.is-shot) { opacity: 0; transform: translate3d(2.5rem, -5rem, 0) scale(0.6) rotate(10deg); }
  .js .vf__feed.is-flash::after { animation: flash 0.32s ease-out; }
}
@keyframes flash { from { opacity: 0.85; } to { opacity: 0; } }
@keyframes cue-line { 0% { transform: scaleX(0); } 60% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }

/* ---------- After nakedcityfilms.com (John, 2026-10-20) ----------
   The intro: a paper card over the night grows to fill the screen (with JavaScript and motion);
   the manifesto follows on the same paper. Key phrases switch to the italic serif on orange.
   The occasions: an uneven gallery in the dark, captions in serif orange and plain paper. */
.intro { background: var(--surface); }
.intro ~ .hero { --nav-clear: 0rem; }   /* only the first section slides under the bar */
.intro__photo { display: none; }
.intro__card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem;
  padding: calc(var(--nav-clear) + 3rem) var(--gutter) 2.5rem; background: var(--surface); overflow: hidden; }
.intro__logo .wm { font-size: clamp(2.75rem, 1.5rem + 6.5vw, 7.5rem); }
.intro__ticker { width: 100%; overflow: hidden; background: var(--accent); color: var(--vf-bg); padding-block: 0.4rem; }
.intro__track { display: flex; gap: 0.9rem; width: max-content; white-space: nowrap; text-transform: uppercase; letter-spacing: 0.08em; }
.intro__body { display: grid; gap: 2rem; padding-block: clamp(3rem, 2rem + 4vw, 6rem); }
.manifesto { margin: 0; font-weight: 800; font-size: clamp(1.5rem, 1.05rem + 1.9vw, 2.75rem); line-height: 1.12;
  letter-spacing: -0.025em; color: var(--accent-ink); text-wrap: pretty; max-width: 32ch; }
.intro__note { margin: 0; color: var(--muted); }
@media (min-width: 64rem) {
  .intro__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); align-items: end; }
  .manifesto { grid-column: 2; grid-row: 1; justify-self: end; }
  .intro__note { grid-column: 1; grid-row: 1; }
}
mark.hl.hl--serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--surface);
  background-image: linear-gradient(var(--accent-ink), var(--accent-ink)); padding: 0 0.12em 0.04em; }

@media (prefers-reduced-motion: no-preference) {
  .intro__track { animation: intro-ticker 28s linear infinite; }
  /* The card: pinned over the photo, opening from a window in the middle to the whole screen. */
  @media (min-height: 34rem) {
    .js .scene--intro { --e: min(1, calc(var(--p, 0) * 1.25)); }
    .js .scene--intro > .scene__stick { position: sticky; top: 0; height: 100vh; overflow: clip; }
    .js .scene--intro .intro__photo { display: block; position: absolute; inset: 0;
      background: #1D1C1A url("photos/hero.webp") 60% 40% / cover no-repeat; filter: sepia(0.5) saturate(1.3) hue-rotate(-8deg) brightness(0.8);
      transform: scale(calc(1.12 - var(--e) * 0.12)); }
    .js .scene--intro .intro__card { position: absolute; inset: 0; padding: 0; justify-content: center;
      clip-path: inset(calc((1 - var(--e)) * 21vh) calc((1 - var(--e)) * 20vw) calc((1 - var(--e)) * 19vh) calc((1 - var(--e)) * 20vw)); }
    .js .scene--intro .intro__logo { transform: scale(calc(0.86 + var(--e) * 0.14)); }
    .js .scene--intro .intro__ticker { position: absolute; left: 0; right: 0; bottom: 0; transform: translate3d(0, calc((1 - var(--e)) * -19vh), 0); }
  }
  /* Phones: a taller, wider window. */
  @media (max-width: 47.99rem) and (min-height: 34rem) {
    .js .scene--intro .intro__card { clip-path: inset(calc((1 - var(--e)) * 24vh) calc((1 - var(--e)) * 7vw) calc((1 - var(--e)) * 22vh) calc((1 - var(--e)) * 7vw)); }
    .js .scene--intro .intro__ticker { transform: translate3d(0, calc((1 - var(--e)) * -22vh), 0); }
  }
}
@keyframes intro-ticker { to { transform: translateX(-50%); } }

/* The occasions: an uneven gallery, after a production company's reel page. */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1rem; align-items: start; margin: 0; padding: 0; list-style: none; }
.gallery__item { display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.gallery__item--big, .gallery__item--wide { grid-column: 1 / -1; }
.gallery__cover { border: 0; outline: 0; margin-bottom: 0; overflow: hidden; }   /* bare photos, no print frame */
.gallery__item--big .gallery__cover { aspect-ratio: 4 / 3; }
.gallery__item--tall .gallery__cover { aspect-ratio: 4 / 5; }
.gallery__item--small .gallery__cover { aspect-ratio: 1; }
.gallery__item--mid .gallery__cover { aspect-ratio: 5 / 4; }
.gallery__item--wide .gallery__cover { aspect-ratio: 16 / 9; }
.gallery__name { margin: 0.35rem 0 0; font: italic 400 clamp(1.5rem, 1.2rem + 1vw, 2.125rem)/1.05 var(--serif); color: var(--accent); }
.gallery__name a { color: inherit; text-decoration: none; }
.gallery__name a:hover { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.12em; }
.gallery__line { margin: 0; font-weight: 600; color: var(--vf-text); max-width: 34ch; }
@media (min-width: 48rem) {
  .gallery { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3.5rem 1.5rem; }
  .gallery__item:nth-child(1) { grid-column: 1 / span 7; }
  .gallery__item:nth-child(2) { grid-column: 9 / span 4; margin-top: 5rem; }
  .gallery__item:nth-child(3) { grid-column: 2 / span 3; }
  .gallery__item:nth-child(4) { grid-column: 6 / span 5; margin-top: 3rem; }
  .gallery__item:nth-child(5) { grid-column: 1 / span 4; margin-top: -2rem; }
  .gallery__item:nth-child(6) { grid-column: 6 / span 7; margin-top: 2rem; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .gallery__cover { transition: transform 0.6s var(--ease), filter 2.2s var(--develop-ease); }
  .gallery__item:hover .gallery__cover { transform: scale(1.02); }
}

/* ---------- The story (John, 2026-10-20): the night, beat by beat, one chapter per screen ----------
   Every chapter is at least a screen tall with its words in the middle; long chapters simply grow.
   The page scrolls freely. Pinned scenes keep their own layout. */
.chapter { min-height: 100svh; display: grid; align-content: center;
  padding-block: calc(var(--nav-space) + 1.5rem) clamp(3rem, 2rem + 3vw, 5rem); }
.chapter > .wrap { width: 100%; }
@media (prefers-reduced-motion: no-preference) {
  /* A pinned scene starts at its own top: align-content also centres block layout in current browsers. */
  .js .scene.chapter { display: block; align-content: normal; }
}

/* No peeking: the sign, large, over the line nobody can break. */
.darkroom__in { display: grid; justify-items: center; gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); text-align: center; }
.darkroom .sign { background: none; border: 0; padding: 0; }
.darkroom .sign__plate { font-size: clamp(1rem, 0.8rem + 0.8vw, 1.375rem); padding: 0.75rem 1.4rem; }
.darkroom__title { max-width: 16ch; }
.darkroom__lead { max-width: 40ch; color: #D9D4CB; }

/* The wait: a countdown as big as the room. */
.wait { display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.wait .sec__head { margin-bottom: 0; }
.wait__count { display: grid; gap: 0.5rem; margin: 0; }
.wait__count .t-overline { color: var(--vf-muted); }
.wait__clock { font-size: clamp(3.75rem, 1.5rem + 10vw, 10rem); line-height: 0.9; color: var(--accent);
  font-variant-numeric: tabular-nums; text-shadow: 0 0 2rem rgba(255, 122, 46, 0.35); }
.wait .mine { margin-top: 0; }

.prose__date { color: var(--muted); margin-top: -0.25rem; }
.prose h3 { margin-top: 1rem; font-size: 1.0625rem; }
.prose__lang { margin: -0.25rem 0 0.5rem; font-weight: 600; }
.prose__note { color: var(--muted); font-size: 0.9375rem; }
