/* ==========================================================================
   foraerin.com — "Midnight & Gold", an anniversary-edition keepsake
   Palette: ink navy, gold foil, cream. One accent: oxblood wax.
   Type: Fraunces (display, italics with intent) / Schibsted Grotesk (text)
         / Caveat (a hand, used sparingly: hints, the wish, the sign-off)
   Old-Safari notes: no inset / aspect-ratio / :has / dvh-only / individual
   transform properties. Every full-screen layer is fixed with 4 offsets.
   Nothing that positions text uses vh (a full-page capture lays the page
   out with a 1px viewport; html.capture is set when that happens).
   ========================================================================== */

:root {
  --ink: #0a0f1e;
  --ink-2: #0e1530;
  --ink-3: #151d3c;
  --cream: #f2ead6;
  --cream-2: #d6cdb6;
  --mute: #9b9584;
  --line: rgba(242, 234, 214, 0.14);
  --gold: #c9a24e;
  --gold-2: #f1dc9c;
  --gold-3: #8a6a20;
  --wax: #7a1f26;
  --wax-2: #a8353c;
  --paper: #efe6d0;
  --paper-2: #e4d9bf;
  --paper-ink: #151a2e;
  --paper-mute: #625d4f;
  --paper-line: rgba(21, 26, 46, 0.22);
  --display: "Fraunces", "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --text: "Schibsted Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --hand: "Caveat", "Bradley Hand", "Segoe Script", "Marker Felt", cursive;
  --gutter: 20px;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-thump: cubic-bezier(0.2, 0.9, 0.25, 1.18);
}
@media (min-width: 720px) { :root { --gutter: 6vw; } }
@media (min-width: 1280px) { :root { --gutter: 80px; } }

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--ink); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html { overflow-x: hidden; }
body { width: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
}
body.locked { position: fixed; top: 0; left: 0; right: 0; height: 100%; overflow: hidden; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }
a { color: var(--gold-2); }
::selection { background: var(--gold); color: var(--ink); }
svg { display: block; }
.hand { font-family: var(--hand); }
.vh-probe { position: absolute; top: 0; left: 0; width: 1px; height: 100vh; pointer-events: none; visibility: hidden; }

main { position: relative; z-index: 1; }

/* ---------- display type scale ---------- */
.h-display {
  font-family: var(--display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(44px, 6.6vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: var(--cream);
  font-variation-settings: "SOFT" 40, "WONK" 1;
}
.lede {
  font-family: var(--text);
  font-weight: 400;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
  color: var(--cream-2);
  max-width: 48ch;
  margin-top: 22px;
}

/* section openers: a faint roman numeral, drawn in above the title */
.sec-head { position: relative; }
.sec-num {
  position: absolute; left: -0.02em; bottom: 100%; margin-bottom: -0.1em;
  height: 0.9em; width: 3.4em; overflow: visible; pointer-events: none; z-index: 0;
  font-size: clamp(56px, 8vw, 120px);
}
.sec-num text {
  font-family: var(--display); font-style: italic; font-weight: 300; font-size: 100px;
  fill: none; stroke: rgba(201, 162, 78, 0.5); stroke-width: 1;
  stroke-dasharray: 1000; stroke-dashoffset: 1000;
  transition: stroke-dashoffset 2.2s var(--ease-in-out), opacity 0.6s ease;
  opacity: 0;
}
.sec-head.in .sec-num text, html.reduce .sec-num text, html.capture .sec-num text { stroke-dashoffset: 0; opacity: 1; }
.sec-head-paper .sec-num text { stroke: rgba(21, 26, 46, 0.28); }
.sec-head > .h-display, .sec-head > .lede, .sec-head > .alm-topline, .sec-head > .alm-masthead, .sec-head > .alm-dateline { position: relative; z-index: 1; }

/* ---------- fixed atmosphere layers ---------- */
.grain {
  position: fixed; top: -50%; left: -50%; width: 200%; height: 200%;
  pointer-events: none; z-index: 70; opacity: 0.075;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.55 0'/></filter><rect width='220' height='220' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
  animation: grain 0.9s steps(6) infinite;
  will-change: transform;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 17% { transform: translate(-3%, -5%); } 34% { transform: translate(-8%, 3%); }
  51% { transform: translate(5%, -7%); } 68% { transform: translate(-4%, 8%); } 85% { transform: translate(7%, 2%); } 100% { transform: translate(0, 0); }
}
.vignette {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; z-index: 69;
  background: radial-gradient(ellipse at 50% 45%, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, 0.26) 100%);
}
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 90; pointer-events: none; }
.progress i {
  display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--gold-3), var(--gold-2));
  transform: scaleX(0); transform-origin: left; box-shadow: 0 0 10px rgba(241, 220, 156, 0.6);
}
.embers { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.confetti { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 80; pointer-events: none; }

/* ==========================================================================
   1. THE GATE — a sealed envelope, addressed by hand
   ========================================================================== */
.gate {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 100;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none;
  overflow: hidden; outline: none;
  transition: background-color 0.7s ease;
}
.gate::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 140vmax; height: 140vmax; margin: -70vmax 0 0 -70vmax;
  background: radial-gradient(circle at center, rgba(201, 162, 78, 0.16) 0%, rgba(201, 162, 78, 0.05) 22%, rgba(10, 15, 30, 0) 45%);
  pointer-events: none; transition: opacity 0.6s ease;
}
.gate.is-growing { background-color: rgba(10, 15, 30, 0); }
.gate.is-growing::before { opacity: 0; }
.gate.is-done { display: none; }
.gate:focus-visible .seal { box-shadow: 0 0 0 3px var(--gold-2); border-radius: 50%; }

.gate-inner { position: relative; display: flex; flex-direction: column; align-items: center; width: 100%; padding: 0 var(--gutter); }
.gate-hint {
  position: relative; margin-top: 36px; display: flex; align-items: center;
  font: 400 clamp(22px, 2.2vw, 27px)/1 var(--hand); color: var(--gold-2); letter-spacing: 0.01em;
  transition: opacity 0.45s ease, transform 0.6s var(--ease-out);
}
.gate-hint .hint-arrow { width: 44px; height: 30px; margin-right: 12px; color: var(--gold); transform: rotate(-20deg); }
html.js .gate-hint .hint-arrow { animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: rotate(-20deg) translateY(0); } 50% { transform: rotate(-27deg) translateY(-5px); } }
.gate-folio { position: absolute; bottom: 18px; right: 22px; font: 400 12.5px var(--text); color: rgba(155, 149, 132, 0.75); margin: 0; transition: opacity 0.4s ease; }
.gate.is-open .gate-hint { opacity: 0; transform: translateY(8px); }
.gate.is-open .gate-hint .hint-arrow { animation: none; }
.gate.is-open .gate-folio { opacity: 0; }

/* the envelope itself */
.env-scene { position: relative; }
.env {
  --ew: 620px;
  --ew: min(86vw, 620px);
  position: relative;
  width: var(--ew);
  height: calc(var(--ew) * 0.659);
  perspective: 1400px; -webkit-perspective: 1400px;
  transition: transform 0.7s var(--ease-in-out), opacity 0.6s ease;
  animation: envIdle 5s ease-in-out infinite;
}
@keyframes envIdle { 0%, 100% { transform: translateY(0) rotate(-0.4deg); } 50% { transform: translateY(-7px) rotate(0.4deg); } }
.env.is-cracking { animation: none; }
.env.is-growing { transform: translateY(70px) scale(0.92); opacity: 0; }

.env-back {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; border-radius: 3px;
  box-shadow: 0 40px 60px rgba(0, 0, 0, 0.6), 0 6px 16px rgba(0, 0, 0, 0.35);
  background: linear-gradient(180deg, #d6cab0 0%, #dccfb3 100%);
}
.env-letter {
  position: absolute; left: 6%; top: 5%; width: 88%; height: 92%; z-index: 2;
  background: linear-gradient(175deg, #fbf6e9 0%, #f0e7d3 100%);
  border-radius: 2px; box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
  transform: translateY(0);
  transition: transform 0.85s cubic-bezier(0.25, 0.7, 0.2, 1), opacity 0.45s ease;
  will-change: transform;
  overflow: hidden;
}
.letter-inner { position: absolute; top: 0; left: 0; right: 0; bottom: 0; padding: 6% 7% 5%; color: var(--paper-ink); display: flex; flex-direction: column; align-items: center; text-align: center; }
.letter-greeting { font: italic 500 calc(var(--ew) * 0.06)/1.05 var(--display); color: var(--paper-ink); font-variation-settings: "SOFT" 40, "WONK" 1; letter-spacing: -0.01em; }
.letter-line { font: 400 calc(var(--ew) * 0.048)/1.15 var(--hand); color: #3b3a52; margin-top: 0.4em; }
.letter-from { font: 400 calc(var(--ew) * 0.046)/1.1 var(--hand); color: var(--wax); margin-top: auto; align-self: flex-end; transform: rotate(-2deg); }
.env.is-peeking .env-letter { transform: translateY(-14%); transition: transform 0.7s cubic-bezier(0.25, 0.7, 0.2, 1); }
.env.is-lifting .env-letter { transform: translateY(-108%) rotate(-1deg); box-shadow: 0 30px 40px rgba(0, 0, 0, 0.35); transition: transform 0.85s cubic-bezier(0.25, 0.7, 0.2, 1), box-shadow 0.85s ease; }
.env.is-growing .env-letter { transform: translateY(-120%) scale(1.6); opacity: 0; transition: transform 0.65s cubic-bezier(0.6, 0, 0.7, 1), opacity 0.35s ease 0.1s; }

.env-pocket { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 3; overflow: visible; }

/* printed on the face: address, stamp, postmark, a scrawl */
.env-face { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; }
.env-address {
  position: absolute; left: 20%; right: 20%; top: 71%; text-align: center;
  font-family: var(--display); color: var(--paper-ink); line-height: 1.28; white-space: nowrap;
}
.env-address span { display: block; font-style: italic; font-weight: 400; font-size: calc(var(--ew) * 0.036); font-variation-settings: "SOFT" 30, "WONK" 1; }
.env-address span:first-child { font-style: normal; font-weight: 600; font-size: calc(var(--ew) * 0.04); letter-spacing: -0.005em; }
.env-stamp { position: absolute; right: 5.5%; top: 25%; width: 13%; height: auto; transform: rotate(3deg); filter: drop-shadow(0 1px 1px rgba(60, 40, 10, 0.25)); }
.env-postmark { position: absolute; left: 57%; top: 32.5%; width: 34%; height: auto; transform: rotate(-8deg); }
.env-scrawl {
  position: absolute; left: 6%; bottom: 8%; z-index: 4; pointer-events: none;
  font: 400 calc(var(--ew) * 0.036)/1 var(--hand); color: rgba(60, 50, 30, 0.62);
  transform: rotate(-3deg);
}

.env-flap {
  position: absolute; top: 0; left: 0; width: 100%; height: 60%; z-index: 5;
  transform-origin: 50% 0; -webkit-transform-origin: 50% 0;
  transform-style: preserve-3d; -webkit-transform-style: preserve-3d;
  transform: rotateX(0deg);
  will-change: transform;
  transition: transform 0.62s cubic-bezier(0.4, 0, 0.2, 1);
}
.env.is-unfolding .env-flap { transform: rotateX(180deg); }
.env.is-behind .env-flap { z-index: 1; }
.flap-face { position: absolute; top: 0; left: 0; width: 100%; height: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flap-face svg { width: 100%; height: 100%; }
.flap-back { transform: rotateX(180deg); }
.flap-shade { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.env.is-unfolding .flap-shade { animation: flapShade 0.62s forwards; }
@keyframes flapShade { 0% { opacity: 0; } 35% { opacity: 0.9; } 50% { opacity: 0; } 100% { opacity: 0; } }

/* wax seal — sits on the flap's tip; the crack only exists once you tap */
.seal {
  position: absolute; left: 50%; top: 100%; width: calc(var(--ew) * 0.123); height: calc(var(--ew) * 0.123); margin: calc(var(--ew) * -0.068) 0 0 calc(var(--ew) * -0.0615);
  transform: rotate(-6deg); transition: transform 0.25s var(--ease-out);
}
.seal svg { width: 100%; height: 100%; overflow: visible; }
.gate:hover .seal { transform: rotate(-6deg) scale(1.04); }
.seal-half { transition: transform 0.5s var(--ease-in-out), opacity 0.32s ease; transform-box: fill-box; transform-origin: center; }
.seal-crack { opacity: 0; stroke-dasharray: 100; stroke-dashoffset: 100; }
.env.is-cracking .seal-crack { animation: crack 0.7s ease-out forwards; }
@keyframes crack { 0% { opacity: 1; stroke-dashoffset: 100; } 32% { opacity: 1; stroke-dashoffset: 0; } 70% { opacity: 1; } 100% { opacity: 0; stroke-dashoffset: 0; } }
.env.is-cracking .seal-half.l { transform: translate(-10px, 6px) rotate(-12deg); opacity: 0; transition-delay: 0.16s, 0.3s; }
.env.is-cracking .seal-half.r { transform: translate(10px, 7px) rotate(11deg); opacity: 0; transition-delay: 0.16s, 0.3s; }
.env.is-cracking .seal-shadow { opacity: 0; transition: opacity 0.3s ease 0.28s; }

/* ==========================================================================
   2. THE COVER
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column;
  padding: 22px var(--gutter) 28px;
}
.hero::before {
  content: ""; position: absolute; left: -20vw; top: -30vw; width: 90vw; height: 90vw; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(201, 162, 78, 0.13) 0%, rgba(201, 162, 78, 0) 60%);
}
.hero-top { display: flex; justify-content: flex-start; align-items: flex-start; position: relative; z-index: 3; }
.hero-folio { font: 500 13.5px/1.45 var(--text); color: var(--mute); }
.hero-folio span { display: block; }
.hero-postmark {
  width: 84px; height: 84px; margin: -14px 0 0 22px; color: var(--gold); opacity: 0;
  transform: rotate(-12deg) scale(1.5); flex: none;
}
.hero.is-in .hero-postmark { animation: stampIn 0.55s var(--ease-thump) 1.5s forwards; }
@keyframes stampIn { from { opacity: 0; transform: rotate(-12deg) scale(1.5); } to { opacity: 0.85; transform: rotate(-12deg) scale(1); } }
.hero-stage { position: relative; flex: 1; min-height: 104vw; }
.hero-kicker {
  position: absolute; left: 0; bottom: 100%; margin-bottom: -0.35em;
  font: italic 400 clamp(20px, 2.4vw, 32px) var(--display); color: var(--gold); white-space: nowrap;
}
.hero-name-wrap { position: absolute; left: 0; bottom: 0; max-width: 100%; }
.hero-name {
  position: relative; display: inline-block;
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(120px, 56vw, 260px);
  line-height: 0.82; letter-spacing: -0.035em;
  font-variation-settings: "SOFT" 60, "WONK" 1;
  font-kerning: none; font-feature-settings: "kern" 0, "liga" 0;
  margin-left: -0.05em; white-space: nowrap;
  will-change: transform;
}
.hero-letters { display: inline-block; }
.hero-letter {
  display: inline-block; position: relative; overflow: hidden; vertical-align: bottom;
  padding: 0.14em 0.22em 0.08em; margin: -0.14em -0.22em -0.08em;
}
.hero-letter i {
  display: inline-block; font-style: inherit;
  padding: 0.14em 0.22em 0.08em; margin: -0.14em -0.22em -0.08em;
  background: linear-gradient(178deg, #fff6d9 0%, var(--gold-2) 30%, var(--gold) 62%, #a8843a 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  transform: translateY(112%) rotate(4deg); transform-origin: 0 100%;
  transition: transform 0.85s cubic-bezier(0.2, 0.75, 0.15, 1);
  transition-delay: calc(var(--i) * 75ms);
}
.hero.is-in .hero-letter i { transform: translateY(0) rotate(0); }
.hero-sheen {
  position: absolute; left: 0; top: 0; pointer-events: none; white-space: nowrap;
  padding: 0.14em 0.22em 0.08em; margin: -0.14em -0.22em -0.08em;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 38%, rgba(255, 250, 235, 0.75) 48%, rgba(255, 255, 255, 0.95) 50%, rgba(255, 250, 235, 0.75) 52%, rgba(255, 255, 255, 0) 62%);
  background-size: 280% 100%; background-position: 120% 0;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  opacity: 0;
}
.hero.is-sheen .hero-sheen { opacity: 1; animation: sheen 4.2s cubic-bezier(0.6, 0, 0.3, 1) 0.2s infinite; }
@keyframes sheen { 0% { background-position: 120% 0; } 60% { background-position: -80% 0; } 100% { background-position: -80% 0; } }

.hero-age {
  position: absolute; right: -2px; top: 26px; line-height: 0.8;
  font-family: var(--display); font-weight: 300; font-style: normal;
  font-size: clamp(110px, 34vw, 220px); letter-spacing: -0.04em;
  will-change: transform;
}
.hero-age-outline {
  display: block; color: transparent;
  -webkit-text-stroke: 1px rgba(242, 234, 214, 0.55);
  opacity: 0;
}
.hero-age-fill {
  position: absolute; left: 0; top: 0; display: block; color: var(--cream);
  clip-path: inset(100% 0 0 0); -webkit-clip-path: inset(100% 0 0 0);
  transition: clip-path 1.3s var(--ease-in-out) 0.6s, -webkit-clip-path 1.3s var(--ease-in-out) 0.6s;
}
/* outline first, foil fill wipes up, then the outline lets go (no stray hairline) */
.hero.is-in .hero-age-outline { animation: ageOutline 2.6s ease forwards; }
@keyframes ageOutline { 0% { opacity: 0; } 20% { opacity: 1; } 65% { opacity: 1; } 100% { opacity: 0; } }
.hero.is-in .hero-age-fill { clip-path: inset(0 0 0 0); -webkit-clip-path: inset(0 0 0 0); }

.hero-bottom { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; margin-top: 26px; }
.hero-side { max-width: 36ch; }
.hero-deck {
  font: 400 clamp(18px, 1.55vw, 22px)/1.5 var(--text); color: var(--cream); max-width: 34ch;
  opacity: 0; transform: translateY(14px); transition: opacity 0.9s ease 0.9s, transform 0.9s var(--ease-out) 0.9s;
}
.hero-sub {
  margin-top: 14px; font: italic 400 clamp(16px, 1.2vw, 17.5px)/1.5 var(--display); color: var(--cream-2); max-width: 36ch;
  opacity: 0; transform: translateY(14px); transition: opacity 0.9s ease 1.1s, transform 0.9s var(--ease-out) 1.1s;
}
.hero.is-in .hero-deck, .hero.is-in .hero-sub { opacity: 1; transform: none; }
.hero-scroll {
  margin-top: 24px;
  display: flex; flex-direction: column; align-items: flex-start; text-decoration: none;
  font: 400 22px/1 var(--hand); color: var(--gold-2); min-height: 44px; min-width: 44px;
  opacity: 0; transition: opacity 0.9s ease 1.4s;
}
.hero.is-in .hero-scroll { opacity: 1; }
.hero-scroll i { display: block; width: 1px; height: 34px; margin-top: 10px; margin-left: 2px; background: linear-gradient(var(--gold), rgba(201, 162, 78, 0)); position: relative; overflow: hidden; }
.hero-scroll i::after { content: ""; position: absolute; left: 0; top: -12px; width: 1px; height: 12px; background: var(--gold-2); animation: cue 2s ease-in-out infinite; }
@keyframes cueX { 0% { transform: translateX(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateX(58px); opacity: 0; } }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(46px); opacity: 0; } }
.hero-rule { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 1px; background: var(--line); }

@media (min-width: 900px) {
  .hero { padding-top: 26px; }
  .hero-folio { font-size: 14px; }
  .hero-postmark { width: 92px; height: 92px; margin: -18px 0 0 26px; }
  .hero-stage { min-height: 40vw; }
  .hero-name { font-size: clamp(148px, 26vw, 400px); font-size: clamp(148px, min(54vw, 74vh), 900px); }
  .hero-age { right: 2vw; top: -1.5vw; font-size: clamp(120px, 21vw, 330px); }
  .hero-bottom { margin-top: 22px; padding-bottom: 6px; }
  .hero-side { display: grid; grid-template-columns: minmax(0, 42ch) minmax(0, 36ch) auto; column-gap: 48px; align-items: end; max-width: none; width: 100%; }
  .hero-deck { max-width: 42ch; }
  .hero-sub { margin-top: 0; max-width: 36ch; }
  .hero-scroll { margin-top: 0; justify-self: end; flex-direction: row; align-items: center; }
  .hero-scroll i { width: 46px; height: 1px; margin: 0 0 0 14px; background: linear-gradient(90deg, var(--gold), rgba(201, 162, 78, 0)); }
  .hero-scroll i::after { top: 0; left: -12px; width: 12px; height: 1px; animation: cueX 2s ease-in-out infinite; }
  .hero-kicker { margin-bottom: -0.1em; }
}

/* ---------- ornaments between sections ---------- */
.orn { display: block; width: min(420px, 60vw); height: 24px; margin: 0 auto; overflow: visible; }
.orn path { fill: none; stroke: var(--gold); stroke-width: 1; stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset 1.4s var(--ease-in-out); }
.orn .orn-c { fill: var(--gold); stroke: none; transform: scale(0); transform-box: fill-box; transform-origin: center; transition: transform 0.6s var(--ease-out) 0.5s; }
.rv.in .orn path, .orn.in path { stroke-dashoffset: 0; }
.rv.in .orn .orn-c, .orn.in .orn-c { transform: scale(1); }

/* ==========================================================================
   3. THE CAKE — wheeled in on a trolley
   ========================================================================== */
.cake { padding: 64px var(--gutter) 40px; overflow: hidden; }
.cake-grid { display: grid; grid-template-columns: 1fr; grid-template-areas: "copy" "actions" "art"; gap: 18px; align-items: center; max-width: 1240px; margin: 0 auto; }
.cake-copy { grid-area: copy; max-width: 46ch; }
.cake-actions { grid-area: actions; }
.cake-art { grid-area: art; }
.cake-hint { margin-top: 14px; min-height: 24px; font: italic 400 17px/1.4 var(--display); color: var(--mute); transition: opacity 0.3s; }
.cake-wish {
  margin-top: 0; max-height: 0; overflow: hidden; font: 400 clamp(26px, 2.8vw, 38px)/1.2 var(--hand); color: var(--gold-2); max-width: 26ch;
  opacity: 0; transform: translateY(10px) rotate(0deg); transition: opacity 1s ease 0.5s, transform 1s var(--ease-out) 0.5s, max-height 0.8s ease, margin-top 0.8s ease;
}
.cake-wish.show { opacity: 1; transform: translateY(0) rotate(-1.5deg); max-height: 240px; margin-top: 18px; }
.cake-art { position: relative; margin: 0 auto; width: min(100%, 560px); }
.cake-art svg { width: 100%; height: auto; overflow: visible; }
html.js .cake-all { transform: translate(760px, 0); transition: transform 1.7s cubic-bezier(0.2, 0.8, 0.25, 1); }
html.js .cake-art.in .cake-all { transform: translate(0, 0); }
.wheel { transform-box: fill-box; transform-origin: 50% 50%; }
.cake-art.in .wheel { animation: roll 1.7s cubic-bezier(0.2, 0.8, 0.25, 1) both; }
@keyframes roll { from { transform: rotate(-900deg); } to { transform: rotate(0deg); } }
@media (min-width: 900px) {
  .cake { padding: 90px var(--gutter) 60px; }
  .cake-grid { grid-template-columns: 6fr 6fr; grid-template-areas: "art copy" "art actions"; grid-template-rows: auto auto; column-gap: 48px; row-gap: 0; align-content: center; }
  .cake-copy { align-self: end; padding-left: 4%; }
  .cake-actions { align-self: start; padding-left: 4%; margin-top: 30px; }
  .cake-art { margin: 0; align-self: center; }
}

/* buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 14px 28px; border-radius: 999px; overflow: hidden;
  border: 1px solid var(--gold); background: transparent; color: var(--gold-2);
  font: 500 15px/1 var(--text); letter-spacing: 0.01em; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform 0.18s var(--ease-out), color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
.btn::before {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, rgba(241, 220, 156, 0) 0%, rgba(241, 220, 156, 0.35) 50%, rgba(241, 220, 156, 0) 100%);
  transform: skewX(-18deg); transition: left 0.7s var(--ease-in-out);
}
.btn:hover::before, .btn:focus-visible::before { left: 120%; }
.btn:hover, .btn:focus-visible { background: rgba(201, 162, 78, 0.12); box-shadow: 0 0 0 4px rgba(201, 162, 78, 0.12); }
.btn:active { transform: scale(0.97); }
.btn:disabled { cursor: default; opacity: 0.6; }
.btn:focus-visible { outline: none; }
.btn-solid { background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, #b58f3d); color: #241b06; border-color: transparent; font-weight: 600; }
.btn-solid:hover, .btn-solid:focus-visible { background: linear-gradient(180deg, #fff2c8, var(--gold-2) 55%, var(--gold)); }
.btn-label { position: relative; }

/* cake flames, halos, smoke */
.flame { transform-box: fill-box; transform-origin: 50% 100%; transition: transform 0.25s ease; }
.flame-anim { transform-box: fill-box; transform-origin: 50% 100%; animation: flick 0.32s ease-in-out infinite alternate; }
.f2 .flame-anim { animation-duration: 0.27s; animation-delay: 0.08s; }
.f3 .flame-anim { animation-duration: 0.36s; animation-delay: 0.15s; }
.f4 .flame-anim { animation-duration: 0.29s; animation-delay: 0.05s; }
.f5 .flame-anim { animation-duration: 0.34s; animation-delay: 0.11s; }
.f6 .flame-anim { animation-duration: 0.31s; animation-delay: 0.19s; }
.f7 .flame-anim { animation-duration: 0.38s; animation-delay: 0.02s; }
@keyframes flick {
  from { transform: scale(1, 1) skewX(-2deg); }
  to { transform: scale(0.92, 1.1) skewX(3deg); }
}
.flame-glow { animation: glowPulse 1.6s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
@keyframes glowPulse { from { opacity: 0.55; transform: scale(1); } to { opacity: 0.85; transform: scale(1.12); } }
.halo { transform-box: fill-box; transform-origin: 50% 50%; animation: haloPulse 1.1s ease-in-out infinite alternate; transition: opacity 0.7s ease; }
.h2 { animation-duration: 1.35s; animation-delay: -0.4s; } .h3 { animation-duration: 0.95s; animation-delay: -0.2s; } .h4 { animation-duration: 1.2s; animation-delay: -0.7s; }
.h5 { animation-duration: 1.05s; animation-delay: -0.9s; } .h6 { animation-duration: 1.3s; animation-delay: -0.3s; } .h7 { animation-duration: 0.9s; animation-delay: -0.6s; }
@keyframes haloPulse { from { opacity: 0.7; transform: scale(0.92); } to { opacity: 1; transform: scale(1.08); } }
.cake-art.is-listening .flame-anim { animation-duration: 0.16s; }
.cake-art.is-listening .halo { animation-duration: 0.4s; }
.cake-art.is-out .flame { animation: blowout 0.6s cubic-bezier(0.5, 0, 0.8, 0.5) forwards; }
.cake-art.is-out .f2 { animation-delay: 0.07s; } .cake-art.is-out .f3 { animation-delay: 0.12s; } .cake-art.is-out .f4 { animation-delay: 0.05s; } .cake-art.is-out .f5 { animation-delay: 0.16s; } .cake-art.is-out .f6 { animation-delay: 0.2s; } .cake-art.is-out .f7 { animation-delay: 0.1s; }
@keyframes blowout { 0% { transform: skewX(0) scale(1, 1); opacity: 1; } 40% { transform: skewX(-38deg) scale(0.7, 1.3); opacity: 1; } 100% { transform: skewX(-65deg) scale(0.08, 0.3); opacity: 0; } }
.cake-art.is-out .flame-glow { animation: none; opacity: 0; transition: opacity 0.5s; }
.cake-art.is-out .halo { animation: none; opacity: 0; }
.cake-glow { transition: opacity 1.2s ease; }
.cake-art.is-out .cake-glow { opacity: 0.12; }
.smoke { opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; stroke-dasharray: 160; stroke-dashoffset: 160; }
.cake-art.is-out .smoke { animation: smokeUp 3.8s ease-out forwards; }
.cake-art.is-out .s1b, .cake-art.is-out .s2b { animation-duration: 4.4s; animation-delay: 0.5s; }
.cake-art.is-out .s2 { animation-delay: 0.18s; } .cake-art.is-out .s3 { animation-delay: 0.32s; } .cake-art.is-out .s4 { animation-delay: 0.1s; } .cake-art.is-out .s5 { animation-delay: 0.26s; } .cake-art.is-out .s6 { animation-delay: 0.4s; } .cake-art.is-out .s7 { animation-delay: 0.22s; }
@keyframes smokeUp {
  0% { opacity: 0; transform: translateY(0) scale(0.6, 0.5); stroke-dashoffset: 160; }
  14% { opacity: 0.75; }
  55% { opacity: 0.5; }
  100% { opacity: 0; transform: translateY(-78px) scale(1.4, 1.55); stroke-dashoffset: 0; }
}
.wick-glow { opacity: 0; transition: opacity 0.4s ease 0.4s; }
.cake-art.is-out .wick-glow { opacity: 1; animation: ember 1.6s ease-out 0.5s forwards; }
@keyframes ember { to { opacity: 0; } }

/* ==========================================================================
   4. THE ALMANAC — a broadsheet insert
   ========================================================================== */
.almanac {
  position: relative; background: var(--paper); color: var(--paper-ink);
  padding: 56px var(--gutter) 56px; margin-top: 24px;
}
@media (min-width: 900px) { .almanac { margin-top: 56px; padding-top: 76px; } }
.almanac::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='p'><feTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.3 0 0 0 0 0.2 0 0 0 0.12 0'/></filter><rect width='300' height='300' filter='url(%23p)'/></svg>");
}
.almanac::after {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 10px; pointer-events: none;
  background: linear-gradient(90deg, var(--gold-3), var(--gold-2) 40%, var(--gold) 70%, var(--gold-3));
  opacity: 0.85;
}
.paper { position: relative; max-width: 1240px; margin: 0 auto; }
.alm-head .sec-num { font-size: clamp(48px, 6vw, 88px); margin-bottom: 0.02em; left: auto; right: 0; }
.alm-topline {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid var(--paper-ink); border-bottom: 1px solid var(--paper-ink); padding: 7px 0;
  font: 500 13px var(--text);
}
.alm-masthead {
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap;
  padding: 10px 0 6px; font-family: var(--display);
}
.alm-masthead-word { font-weight: 700; font-style: normal; font-size: clamp(54px, 9vw, 150px); line-height: 0.95; letter-spacing: -0.03em; font-variation-settings: "SOFT" 20, "WONK" 0; }
.alm-masthead-year { font-weight: 300; font-style: italic; font-size: clamp(54px, 9vw, 150px); line-height: 0.95; color: var(--gold-3); letter-spacing: -0.02em; font-variation-settings: "SOFT" 60, "WONK" 1; }
.alm-dateline {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 20px;
  border-top: 3px double var(--paper-ink); border-bottom: 1px solid var(--paper-ink); padding: 7px 0;
  font: 400 13.5px var(--text); color: var(--paper-mute);
}
.alm-intro { font: italic 400 clamp(20px, 2.3vw, 30px)/1.28 var(--display); max-width: 56ch; margin: 22px 0 28px; color: var(--paper-ink); font-variation-settings: "SOFT" 30, "WONK" 1; }
.alm-grid { display: grid; grid-template-columns: 1fr; gap: 24px 34px; }
.alm-h { font: 700 21px/1.2 var(--display); border-bottom: 1px solid var(--paper-ink); padding-bottom: 7px; margin-bottom: 12px; letter-spacing: -0.01em; }
.alm-col { min-width: 0; }
.ledger-row { display: flex; align-items: baseline; font: 400 16px/1.5 var(--text); padding: 4px 0; }
.ledger-row span:first-child { flex: 0 1 auto; }
.ledger-dots { flex: 1 1 8px; margin: 0 8px; border-bottom: 1px dotted rgba(21, 26, 46, 0.55); position: relative; top: -5px; min-width: 12px; }
.ledger-price { font: 600 17px var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.alm-note { font: 400 14px/1.5 var(--text); color: var(--paper-mute); margin-top: 12px; }
.alm-spot { width: 124px; height: auto; margin: 14px 0 0 auto; color: var(--paper-ink); opacity: 0.85; }
.alm-spot path, .alm-spot circle { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s var(--ease-in-out); }
.alm-spot.in path, .alm-spot.in circle, html.reduce .alm-spot path, html.reduce .alm-spot circle, html.capture .alm-spot path, html.capture .alm-spot circle { stroke-dashoffset: 0; }
.alm-item { margin-bottom: 11px; }
.alm-item .k { display: block; font: 500 13px/1.4 var(--text); color: var(--paper-mute); }
.alm-item .v { display: block; font: 600 19px/1.25 var(--display); margin: 3px 0 2px; }
.alm-item .d { display: block; font: 400 14.5px/1.5 var(--text); color: var(--paper-mute); }
.alm-stop { border: 2px solid var(--paper-ink); padding: 18px 20px 20px; position: relative; background: rgba(255, 255, 255, 0.28); }
.alm-stop .alm-h { border-bottom: 0; padding: 0; margin-bottom: 10px; font-style: italic; font-weight: 400; color: var(--wax); }
.alm-stop h3 { font: 700 clamp(24px, 2.4vw, 32px)/1.05 var(--display); letter-spacing: -0.02em; margin-bottom: 12px; padding-right: 64px; }
.alm-stop p { font: 400 15.5px/1.55 var(--text); }
.alm-stop p::first-letter { float: left; font: 700 3.3em/0.78 var(--display); padding: 6px 8px 0 0; color: var(--paper-ink); }
.alm-moon { position: absolute; right: 14px; top: 12px; width: 60px; height: 60px; color: var(--paper-ink); opacity: 0.9; }
.alm-new .alm-h { margin-bottom: 4px; }
.alm-new-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0 32px; }
.alm-new-list li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--paper-line); }
.alm-new-list .n { font: italic 400 24px/1 var(--display); color: var(--gold-3); padding-top: 2px; }
.alm-new-list .h { font: 600 18px/1.25 var(--display); }
.alm-new-list .d { font: 400 14.5px/1.5 var(--text); color: var(--paper-mute); margin-top: 3px; }
.alm-more {
  display: none; width: 100%; margin-top: 4px; padding: 14px 0; min-height: 48px; background: none; border: 0; border-bottom: 1px solid var(--paper-ink);
  font: italic 400 18px/1.3 var(--display); color: var(--paper-ink); text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.alm-more::after { content: "+"; float: right; font: 400 26px/0.7 var(--display); color: var(--gold-3); }
.alm-new.is-more .alm-more::after { content: "–"; }
.alm-sport .alm-item { margin-bottom: 10px; }
@media (max-width: 719px) {
  .alm-more { display: block; }
  html.js .alm-new-list li.extra { display: none; }
  html.js .alm-new.is-more .alm-new-list li.extra { display: grid; }
  html.capture .alm-new-list li.extra, html.capture .alm-new.is-more .alm-new-list li.extra { display: grid; }
  html.capture .alm-more { display: none; }
}
@media (min-width: 720px) {
  .alm-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 34px; }
  .alm-new { grid-column: span 2; }
  .alm-new-list { grid-template-columns: repeat(2, 1fr); }
  .alm-wireless, .alm-nation { border-left: 1px solid var(--paper-line); padding-left: 32px; }
}
@media (min-width: 1040px) {
  .almanac { padding: 70px var(--gutter) 96px; }
  .alm-grid { grid-template-columns: repeat(12, 1fr); }
  .alm-ledger { grid-column: span 4; }
  .alm-wireless { grid-column: span 4; border-left: 1px solid var(--paper-line); padding-left: 32px; }
  .alm-stop { grid-column: span 4; align-self: start; }
  .alm-charge { grid-column: span 4; }
  .alm-nation { grid-column: span 4; border-left: 1px solid var(--paper-line); padding-left: 32px; }
  .alm-sport { grid-column: span 4; border-left: 1px solid var(--paper-line); padding-left: 32px; }
  .alm-new { grid-column: span 12; }
  .alm-new-list { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   5. THE DECADES — a thread through sixty-seven years
   (phone: a vertical thread; desktop: a pinned strip that runs sideways)
   ========================================================================== */
.decades { padding: 64px 0 24px; position: relative; }
.dec-head { padding: 0 var(--gutter); max-width: 1240px; margin: 0 auto 22px; }
.dec-meter {
  position: -webkit-sticky; position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; padding: 12px var(--gutter);
  background: linear-gradient(180deg, rgba(10, 15, 30, 0.96) 60%, rgba(10, 15, 30, 0));
}
.dec-meter-inner { display: flex; align-items: center; width: 100%; max-width: 1240px; margin: 0 auto; }
.dec-year { font: italic 400 30px/1 var(--display); color: var(--gold-2); font-variant-numeric: tabular-nums; min-width: 4.2ch; }
.dec-year-end { font: 400 14px var(--text); color: var(--mute); margin-left: 14px; }
.dec-bar { flex: 1; height: 1px; background: var(--line); position: relative; margin-left: 14px; }
.dec-bar i { position: absolute; left: 0; top: -1px; height: 3px; width: 100%; background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 10px rgba(241, 220, 156, 0.5); }
.dec-viewport { position: relative; }
.dec-track { position: relative; max-width: 1240px; margin: 0 auto; padding: 20px var(--gutter) 0 calc(var(--gutter) + 30px); }
.dec-line { position: absolute; top: 0; bottom: 0; left: calc(var(--gutter) + 6px); width: 1px; background: var(--line); }
.dec-thread { position: absolute; top: 0; left: calc(var(--gutter) + 5px); width: 3px; height: 100%; background: linear-gradient(var(--gold-2), var(--gold)); transform: scaleY(0); transform-origin: top; box-shadow: 0 0 12px rgba(201, 162, 78, 0.5); }
.dec-marker { position: absolute; left: calc(var(--gutter) - 1px); top: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 5px rgba(201, 162, 78, 0.25), 0 0 18px var(--gold); margin-top: -7px; will-change: transform; }
.dec-cap { position: relative; padding: 0 0 20px; }
.dec-cap-year { font: italic 300 clamp(56px, 10vw, 140px)/0.9 var(--display); color: var(--gold-2); letter-spacing: -0.03em; font-variation-settings: "SOFT" 60, "WONK" 1; }
.dec-cap-label { font: 500 clamp(22px, 3vw, 40px)/1.1 var(--display); margin-top: 6px; }
.dec-cap-text { font: 400 16px/1.5 var(--text); color: var(--cream-2); max-width: 40ch; margin-top: 6px; }
.dec-cap::before, .dec-item::before {
  content: ""; position: absolute; left: -30px; top: 0.55em; width: 9px; height: 9px; border-radius: 50%;
  background: var(--ink); border: 1px solid var(--gold); margin-left: -4px;
}
.dec-cap::before { top: 0.4em; }
.dec-group { position: relative; padding: 2px 0 8px; }
.dec-label {
  font: 400 clamp(40px, 10vw, 150px)/0.9 var(--display); letter-spacing: -0.03em;
  color: transparent; -webkit-text-stroke: 1px rgba(242, 234, 214, 0.42);
  margin: 0 0 8px -0.03em; position: relative; white-space: nowrap;
}
.dec-item { position: relative; margin: 0 0 16px; max-width: 46ch; }
.dec-item-year { font: italic 400 21px/1 var(--display); color: var(--gold-2); }
.dec-item-age { font: 500 14px var(--text); color: var(--gold); margin-left: 12px; }
.dec-item-h { font: 500 clamp(20px, 2.2vw, 28px)/1.12 var(--display); margin: 5px 0 4px; letter-spacing: -0.01em; }
.dec-item-d { font: 400 16px/1.45 var(--text); color: var(--cream-2); }
.dec-end { padding-bottom: 8px; }

@media (min-width: 900px) {
  .decades { height: 300vh; min-height: 2100px; padding: 0; }
  .dec-stage {
    position: -webkit-sticky; position: sticky; top: 0; height: 100vh; min-height: 720px; overflow: hidden;
    display: flex; flex-direction: column; justify-content: center; padding: 30px 0 24px;
  }
  .dec-head { width: 100%; margin-bottom: 6px; }
  .dec-head .lede { margin-top: 12px; }
  .dec-meter { position: static; background: none; padding: 6px var(--gutter); }
  .dec-viewport { overflow: visible; margin-top: 14px; }
  .dec-track { display: flex; align-items: flex-start; max-width: none; margin: 0; padding: 30px 0 0 max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter))); will-change: transform; }
  .dec-line { top: 0; bottom: auto; left: 0; right: -100vw; width: auto; height: 1px; }
  .dec-thread { top: -1px; left: 0; width: 100%; height: 3px; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); }
  .dec-marker { left: 0; top: 0; margin: -7px 0 0 -7px; }
  .dec-cap, .dec-group { flex: none; padding: 12px 0 0; margin-right: 30px; }
  .dec-cap { width: 300px; }
  .dec-cap::before, .dec-item::before { display: none; }
  .dec-cap::after, .dec-group::after { content: ""; position: absolute; left: 0; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); border: 1px solid var(--gold); }
  .dec-cap.dec-start { padding-right: 20px; }
  .dec-cap-year { font-size: 96px; }
  .dec-cap-label { font-size: 30px; }
  .dec-cap.dec-end { width: 340px; margin-right: 80px; }
  .dec-group { width: 400px; padding-top: 16px; }
  .dec-label { position: absolute; left: -0.04em; top: -0.12em; font-size: 120px; margin: 0; opacity: 0.9; z-index: 0; -webkit-text-stroke: 1px rgba(242, 234, 214, 0.28); }
  .dec-group .dec-item:first-of-type { margin-top: 74px; }
  .dec-item { position: relative; z-index: 1; margin: 0 0 22px; max-width: 360px; }
  .dec-item-h { font-size: 23px; }
  .dec-item-d { font-size: 15.5px; line-height: 1.5; }
}
/* print, capture, reduced motion and short viewports: the strip lies flat, wrapped, fully drawn */
html.capture .decades, html.reduce .decades, html.short .decades { height: auto !important; min-height: 0 !important; padding: 72px 0 32px !important; }
html.capture .dec-stage, html.reduce .dec-stage, html.short .dec-stage { position: static !important; height: auto !important; min-height: 0 !important; overflow: visible !important; }
html.capture .dec-track, html.reduce .dec-track, html.short .dec-track { transform: none !important; }
@media (min-width: 900px) {
  html.capture .dec-track, html.reduce .dec-track, html.short .dec-track { flex-wrap: wrap; padding-right: var(--gutter); row-gap: 40px; }
  html.capture .dec-line, html.reduce .dec-line, html.short .dec-line { display: none; }
  html.capture .dec-thread, html.reduce .dec-thread, html.short .dec-thread { display: none; }
  html.capture .dec-marker, html.reduce .dec-marker, html.short .dec-marker { display: none; }
}
html.capture .dec-thread, html.reduce .dec-thread, html.short .dec-thread { transform: none !important; }

/* ==========================================================================
   5b. YOUNGER THAN YOU — a sheet of perforated stamps
   ========================================================================== */
.younger { padding: 48px var(--gutter) 32px; max-width: 1240px; margin: 0 auto; }
.younger .sec-head { margin-top: 44px; }
.stamps { display: flex; flex-wrap: wrap; margin: 24px -5px 0; padding: 4px 0 26px; overflow: hidden; }
.pstamp {
  position: relative; width: calc(33.333% - 10px); margin: 5px; padding: 0; border: 0; text-align: left; cursor: pointer;
  background-color: transparent;
  background-image: radial-gradient(circle at 0 0, transparent 3.2px, var(--paper) 3.6px);
  background-size: 12px 12px; background-position: 0 0;
  transform: rotate(var(--r, 0deg));
  display: flex; flex-direction: column; color: var(--paper-ink);
  -webkit-tap-highlight-color: transparent; font: inherit;
  -webkit-filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.45)); filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.45));
  transition: transform 0.35s var(--ease-out), filter 0.35s ease, -webkit-filter 0.35s ease, opacity 0.3s ease;
}
.pstamp-in { flex: 1 1 auto; margin: 6px; border: 1px solid rgba(21, 26, 46, 0.5); padding: 10px 8px 9px; min-height: 112px; background: var(--paper); display: flex; flex-direction: column; position: relative; }
.pstamp-in::after { content: ""; position: absolute; left: 3px; top: 3px; right: 3px; bottom: 3px; border: 1px solid rgba(21, 26, 46, 0.14); pointer-events: none; }
.ps-year { display: block; font: italic 300 26px/1 var(--display); color: var(--wax); margin-bottom: 6px; font-variation-settings: "SOFT" 60, "WONK" 1; }
.ps-name { display: block; font: 600 16px/1.15 var(--display); color: var(--paper-ink); }
.ps-age { display: flex; align-items: baseline; margin-top: auto; padding-top: 8px; font: 500 13px/1 var(--text); color: var(--gold-3); letter-spacing: 0.02em; white-space: nowrap; opacity: 0; transition: opacity 0.35s ease 0.1s; }
.ps-age i { flex: 1 1 0; min-width: 4px; margin: 0 4px; border-bottom: 1px dotted rgba(21, 26, 46, 0.5); position: relative; top: -3px; }
.ps-age b { font: 600 15px/1 var(--display); color: var(--paper-ink); margin-right: 3px; }
.pstamp.is-on .ps-age, html.reduce .ps-age, html.capture .ps-age { opacity: 1; }
@media (max-width: 480px) { .ps-age { font-size: 12px; justify-content: space-between; } .ps-age b { font-size: 14px; } .ps-age i { display: none; } }
.pstamp:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }
@media (hover: hover) { .pstamp:hover { transform: rotate(var(--r, 0deg)) translateY(-4px); } }
.pstamp.is-on { transform: rotate(0deg) scale(1.04); z-index: 2; }
.pstamp.is-on .pstamp-in { border-color: var(--wax); }
.yng-note {
  width: 100%; margin: 6px 6px 8px; max-height: 0; overflow: hidden; opacity: 0;
  font: 400 16px/1.55 var(--text); color: var(--cream-2);
  transition: max-height 0.5s var(--ease-out), opacity 0.4s ease, margin 0.4s ease;
}
.yng-note.show { max-height: 260px; opacity: 1; margin-top: 10px; margin-bottom: 14px; }
.yng-note-in { border-left: 2px solid var(--gold); padding: 6px 0 6px 16px; max-width: 60ch; }
.yng-note-in b { display: block; font: italic 500 20px/1.2 var(--display); color: var(--gold-2); margin-bottom: 4px; }
.yng-outro { margin-top: 30px; font: italic 300 clamp(24px, 2.8vw, 38px)/1.25 var(--display); color: var(--gold-2); max-width: 28ch; font-variation-settings: "SOFT" 40, "WONK" 1; }
@media (min-width: 640px) { .pstamp { width: calc(25% - 12px); margin: 6px; } .pstamp-in { padding: 11px 10px 10px; } .ps-year { font-size: 30px; } }
@media (min-width: 1000px) { .pstamp { width: calc(100% / 7 - 12px); } .pstamp-in { min-height: 150px; } .younger { padding: 72px var(--gutter) 60px; } .ps-name { font-size: 16.5px; } }

/* ==========================================================================
   6. BY THE NUMBERS — an infographic set like a magazine spread
   ========================================================================== */
.numbers { padding: 72px var(--gutter) 50px; max-width: 1240px; margin: 0 auto; }
.num-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; margin-top: 32px; border-top: 1px solid var(--line); }
.num { padding: 18px 14px 20px 0; border-bottom: 1px solid var(--line); min-width: 0; position: relative; }
.num::before { content: ""; position: absolute; left: 0; top: -1px; width: 40px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.9s var(--ease-out); }
.num.is-counted::before, html.reduce .num::before, html.capture .num::before { transform: scaleX(1); }
.num-value { display: block; font-family: var(--display); font-weight: 300; line-height: 0.95; letter-spacing: -0.03em; color: var(--gold-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.num-value .affix { font-size: 0.5em; font-weight: 300; letter-spacing: 0; margin-left: 0.06em; color: var(--gold); }
.num-value .affix.pre { margin: 0 0.06em 0 0; }
.num-label { display: block; font: italic 400 clamp(18px, 1.6vw, 24px)/1.2 var(--display); color: var(--cream); margin-top: 10px; font-variation-settings: "SOFT" 30, "WONK" 1; }
.num-note { display: block; font: 400 14.5px/1.5 var(--text); color: var(--mute); margin-top: 8px; max-width: 36ch; }
.num[data-size="xl"] { grid-column: span 6; }
.num[data-size="l"] { grid-column: span 6; }
.num[data-size="m"] { grid-column: span 3; }
.num[data-size="s"] { grid-column: span 2; }
.num[data-size="xl"] .num-value { font-size: clamp(64px, 17vw, 168px); }
.num[data-size="l"] .num-value { font-size: clamp(52px, 12vw, 112px); }
.num[data-size="m"] .num-value { font-size: clamp(34px, 8.6vw, 72px); }
.num[data-size="s"] .num-value { font-size: clamp(30px, 7vw, 56px); }
.num[data-size="s"] .num-label { font-size: 16px; }
.num[data-size="s"] .num-note { font-size: 13.5px; }
@media (min-width: 720px) {
  .num-grid { grid-template-columns: repeat(12, 1fr); }
  .num { padding: 28px 24px 30px 0; }
  .num[data-size="xl"] { grid-column: span 6; }
  .num[data-size="l"] { grid-column: span 4; }
  .num[data-size="m"] { grid-column: span 4; }
  .num[data-size="s"] { grid-column: span 4; }
  .num[data-size="xl"] .num-value { font-size: clamp(96px, 9.5vw, 160px); }
  .num[data-size="l"] .num-value { font-size: clamp(64px, 6.4vw, 104px); }
  .num[data-size="m"] .num-value { font-size: clamp(44px, 4.4vw, 68px); }
  .num[data-size="s"] .num-value { font-size: clamp(38px, 3.2vw, 52px); }
}
@media (min-width: 1100px) {
  .num[data-size="m"] { grid-column: span 3; }
  .num[data-size="s"] { grid-column: span 2; }
  .num[data-size="s"] .num-note { max-width: 22ch; }
}

/* ==========================================================================
   7. THE TOY — fireworks over the river (printed ones, and live ones)
   ========================================================================== */
.sky {
  position: relative; overflow: hidden; margin-top: 30px;
  height: 64vh; min-height: 520px; max-height: 780px;
  background: radial-gradient(ellipse at 50% 110%, #1a2450 0%, #0d1330 45%, var(--ink) 80%);
  cursor: crosshair; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.sky-stars {
  position: absolute; top: 0; left: 0; right: 0; bottom: 30%; pointer-events: none; opacity: 0.8;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255, 240, 200, 0.7), rgba(255, 240, 200, 0) 100%),
    radial-gradient(1px 1px at 33% 42%, rgba(255, 240, 200, 0.5), rgba(255, 240, 200, 0) 100%),
    radial-gradient(1.5px 1.5px at 58% 12%, rgba(255, 240, 200, 0.6), rgba(255, 240, 200, 0) 100%),
    radial-gradient(1px 1px at 76% 30%, rgba(255, 240, 200, 0.55), rgba(255, 240, 200, 0) 100%),
    radial-gradient(1px 1px at 88% 58%, rgba(255, 240, 200, 0.4), rgba(255, 240, 200, 0) 100%),
    radial-gradient(1px 1px at 45% 66%, rgba(255, 240, 200, 0.35), rgba(255, 240, 200, 0) 100%),
    radial-gradient(1.5px 1.5px at 22% 74%, rgba(255, 240, 200, 0.45), rgba(255, 240, 200, 0) 100%),
    radial-gradient(1px 1px at 66% 48%, rgba(255, 240, 200, 0.4), rgba(255, 240, 200, 0) 100%);
  background-size: 260px 260px;
}
.sky-print { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.55; pointer-events: none; overflow: hidden; }
.sky-print path, .sky-print .burst-ring { transition: stroke-dashoffset 1.6s var(--ease-out); }
.sky-print .burst-dots { opacity: 0; transition: opacity 0.8s ease 1.2s; }
.sky-print.in path, .sky-print.in .burst-ring, html.reduce .sky-print path, html.reduce .sky-print .burst-ring, html.capture .sky-print path, html.capture .sky-print .burst-ring { stroke-dashoffset: 0 !important; }
.sky-print.in .burst-dots, html.reduce .sky-print .burst-dots, html.capture .sky-print .burst-dots { opacity: 1; }
.sky-print .b2 path, .sky-print .b2 .burst-ring { transition-delay: 0.5s; } .sky-print .b3 path { transition-delay: 0.9s; }
.sky-print .b2 .burst-dots { transition-delay: 1.7s; }
.sky-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.sky-copy { position: absolute; top: 46px; left: var(--gutter); right: var(--gutter); max-width: 620px; z-index: 2; pointer-events: none; }
.sky-copy .h-display { font-size: clamp(40px, 5.4vw, 84px); }
.sky-copy .lede { max-width: 30ch; }
.sky-line { position: absolute; bottom: -2px; left: 0; width: 100%; height: 30%; pointer-events: none; z-index: 1; }
.sky-line .wins rect, .sky-line .wins circle { animation: twinkle 2.4s ease-in-out infinite alternate; }
.sky-line .wins rect:nth-child(2n) { animation-delay: -1.1s; } .sky-line .wins rect:nth-child(3n) { animation-delay: -0.6s; } .sky-line .wins rect:nth-child(5n) { animation-delay: -1.8s; }
@keyframes twinkle { from { opacity: 0.35; } to { opacity: 1; } }
.sky-hint {
  position: absolute; left: 50%; bottom: 33%; transform: translateX(-50%); z-index: 2; pointer-events: none;
  font: 400 22px/1 var(--hand); color: rgba(242, 234, 214, 0.6); white-space: nowrap;
  animation: hintPulse 3s ease-in-out infinite;
}
@keyframes hintPulse { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }
.sky.is-touched .sky-hint { opacity: 0; animation: none; transition: opacity 0.5s; }
@media (max-width: 899px) { .sky { height: 60vh; min-height: 460px; } .sky-copy { top: 34px; right: var(--gutter); } .sky-copy .sec-num { display: none; } .sky-print { opacity: 0.38; } }
html.capture .sky { height: 560px; }

/* ==========================================================================
   8. THE GUESTBOOK — ticket stubs pinned to a wall
   ========================================================================== */
.guestbook { padding: 80px var(--gutter) 80px; max-width: 1240px; margin: 0 auto; }
.gb-grid { display: grid; grid-template-columns: 1fr; gap: 50px; }
.gb-form { position: relative; margin-top: 30px; padding-top: 6px; }
.gb-stamp { position: absolute; right: 0; top: -10px; width: 58px; height: auto; transform: rotate(5deg); opacity: 0.9; pointer-events: none; }
.field { display: block; position: relative; margin-bottom: 26px; }
.field > span:first-child { display: block; font: 500 13px var(--text); color: var(--gold); margin-bottom: 4px; }
.field input, .field textarea {
  display: block; width: 100%; background: transparent; border: 0; border-radius: 0; color: var(--cream);
  border-bottom: 1px solid rgba(242, 234, 214, 0.28); padding: 10px 0 10px; outline: none; -webkit-appearance: none;
  font: 400 18px/1.5 var(--text); min-height: 46px;
}
.field input { padding-right: 70px; }
.field textarea { font: italic 400 21px/1.4 var(--display); resize: vertical; min-height: 110px; font-variation-settings: "SOFT" 30, "WONK" 1; }
.field input::placeholder, .field textarea::placeholder { color: rgba(155, 149, 132, 0.7); }
.field::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--gold-2); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease-out); box-shadow: 0 0 10px rgba(241, 220, 156, 0.4); }
.field.is-focus::after { transform: scaleX(1); }
.field-ta { margin-bottom: 30px; }
.count { position: absolute; right: 0; bottom: -22px; font: 500 12.5px var(--text); color: var(--mute); font-variant-numeric: tabular-nums; transition: color 0.3s; }
.count.is-low { color: #e2a2a7; }
.field.shake { animation: shake 0.45s ease; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.gb-row { display: flex; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.gb-row .btn { margin: 0 18px 8px 0; }
.gb-status { font: italic 400 16px var(--display); color: var(--mute); min-height: 24px; margin-bottom: 8px; transition: color 0.3s; }
.gb-status.ok { color: var(--gold-2); }
.gb-status.err { color: #e2a2a7; }
.gb-wall-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 26px; font: 500 14px var(--text); color: var(--mute); }
.gb-wall-head span:first-child { font: italic 400 22px var(--display); color: var(--cream); }
.gb-wall { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: start; }
.ticket {
  position: relative; min-width: 0;
  background: linear-gradient(176deg, #f7f0dd 0%, var(--paper) 60%, var(--paper-2) 100%); color: var(--paper-ink);
  padding: 22px 22px 14px 40px; border-radius: 2px;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transform: rotate(var(--r, 0deg));
}
.ticket-stub { position: absolute; left: 22px; top: 8px; bottom: 8px; border-left: 1px dashed rgba(21, 26, 46, 0.5); pointer-events: none; }
.ticket .notch { position: absolute; left: 22px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--ink); z-index: 2; }
.ticket .notch.n1 { top: -7px; } .ticket .notch.n2 { bottom: -7px; }
.ticket-pin { position: absolute; top: -9px; right: 18px; width: 22px; height: 26px; z-index: 4; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.35)); }
.t-serial { position: absolute; left: 4px; top: 50%; margin: 0; white-space: nowrap; transform-origin: 0 0; transform: rotate(-90deg) translate(-50%, 0); font: 600 10.5px/1 var(--text); letter-spacing: 0.22em; color: var(--wax); z-index: 1; }
.t-msg { position: relative; z-index: 1; font: italic 400 19px/1.4 var(--display); white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere; font-variation-settings: "SOFT" 30, "WONK" 1; }
.t-meta { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 8px; border-top: 1px solid rgba(21, 26, 46, 0.18); font: 500 13.5px var(--text); color: var(--paper-mute); }
.t-meta b { font-weight: 600; color: var(--paper-ink); overflow-wrap: anywhere; }
.t-meta span { white-space: nowrap; margin-left: 12px; }
.ticket.is-new { animation: pinIn 0.85s cubic-bezier(0.2, 0.9, 0.3, 1.15) both; }
.ticket.is-new .ticket-pin { animation: pinDrop 0.5s var(--ease-out) 0.35s both; }
@keyframes pinIn { from { opacity: 0; transform: translateY(-46px) rotate(calc(var(--r, 0deg) - 5deg)) scale(1.04); } to { opacity: 1; transform: translateY(0) rotate(var(--r, 0deg)) scale(1); } }
@keyframes pinDrop { from { transform: translateY(-30px) scale(1.3); opacity: 0; } to { transform: none; opacity: 1; } }
html.js .ticket.rv { transform: translateY(-24px) rotate(calc(var(--r, 0deg) - 2deg)); }
html.js .ticket.rv.in { transform: rotate(var(--r, 0deg)); }
.gb-empty { font: italic 400 22px/1.35 var(--display); color: var(--mute); max-width: 30ch; padding: 30px 0; }
@media (min-width: 700px) { .gb-wall { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
  .guestbook { padding: 110px var(--gutter) 100px; }
  .gb-grid { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
  .gb-form-col { position: -webkit-sticky; position: sticky; top: 40px; }
  .gb-stamp { width: 66px; }
}

/* ==========================================================================
   9. SIGN-OFF
   ========================================================================== */
.signoff { position: relative; z-index: 1; padding: 30px var(--gutter) 60px; text-align: center; border-top: 1px solid var(--line); }
.signoff .orn { margin-bottom: 30px; }
.signoff-line { font: italic 400 clamp(26px, 3.4vw, 46px)/1.15 var(--display); color: var(--cream); max-width: 22ch; margin: 0 auto; font-variation-settings: "SOFT" 40, "WONK" 1; }
.signoff-from { margin-top: 18px; font: 400 clamp(26px, 2.6vw, 34px)/1 var(--hand); color: var(--gold-2); transform: rotate(-2deg); }
.foot-seal { width: 84px; height: 84px; margin: 30px auto 0; overflow: visible; -webkit-filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.45)); filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.45)); }
.signoff-colophon { margin: 34px auto 0; font: 400 13px/1.6 var(--text); color: var(--mute); max-width: 50ch; }

@media (hover: hover) {
  .ticket.in { transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease; }
  .ticket.in:hover { transform: rotate(var(--r, 0deg)) translateY(-4px); box-shadow: 0 30px 50px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
  .dec-item .dec-item-year { transition: text-shadow 0.35s ease; }
  .dec-item:hover .dec-item-year { text-shadow: 0 0 18px rgba(241, 220, 156, 0.7); }
  .num .num-value { transition: color 0.35s ease; }
  .num:hover .num-value { color: #fff3c8; }
}

/* phone: body copy never below 16px, gutters never below 20px */
@media (max-width: 720px) {
  .alm-item .d, .alm-new-list .d, .alm-note, .alm-stop p, .num-note, .num[data-size="s"] .num-note, .dec-cap-text, .yng-note, .t-meta, .hero-sub, .gb-status { font-size: 16px; }
  .ledger-row { font-size: 16px; }
  .hero-folio { font-size: 13.5px; }
  .field > span:first-child, .count { font-size: 13px; }
  .num[data-size="s"] .num-note { font-size: 15px; }
  .num[data-size="s"] .num-label { font-size: 16px; line-height: 1.15; }
  .num[data-size="m"] .num-label { font-size: 18px; }
  .num[data-size="l"] { grid-column: span 3; }
  .num[data-size="l"] .num-value { font-size: clamp(40px, 11.5vw, 112px); }
  .num[data-size="l"] .num-label { font-size: 19px; }
  .alm-masthead-word, .alm-masthead-year { font-size: 10vw; }
  .alm-grid { gap: 18px 34px; }
  .alm-item .v { font-size: 18px; }
  .alm-stop { padding: 16px 18px 18px; }
  .dec-item { margin-bottom: 13px; }
  .dec-group { padding-bottom: 4px; }
  .dec-label { margin-bottom: 6px; }
  .pstamp-in { min-height: 104px; }
  .signoff { padding: 24px var(--gutter) 48px; }
  .signoff-colophon { margin-top: 26px; }
  .foot-seal { margin-top: 24px; }
}

/* ==========================================================================
   Scroll reveals — varied choreography, nothing hidden without JS
   ========================================================================== */
html.js .rv { opacity: 0; transition: opacity 0.85s ease, transform 0.95s var(--ease-out), clip-path 1.1s var(--ease-in-out), -webkit-clip-path 1.1s var(--ease-in-out), filter 0.8s ease; transition-delay: calc(var(--i, 0) * 80ms + var(--d, 0ms)); }
html.js .rv[data-rv="up"] { transform: translateY(30px); }
html.js .rv[data-rv="left"] { transform: translateX(-40px); transform: translateX(calc(-1 * min(40px, 4vw))); }
html.js .rv[data-rv="right"] { transform: translateX(40px); transform: translateX(min(40px, 4vw)); }
html.js .rv[data-rv="print"] { transform: translateY(10px); filter: blur(8px); }
html.js .rv[data-rv="scale"] { transform: scale(0.94); }
html.js .rv[data-rv="zoom"] { transform: scale(0.86); }
html.js .rv[data-rv="flip"] { transform: perspective(1000px) rotateX(18deg); transform-origin: 50% 100%; }
html.js .rv[data-rv="drop"] { transform: translateY(-30px) rotate(-1.5deg); }
html.js .rv[data-rv="thump"] { transform: scale(1.16) rotate(var(--r, 0deg)); transition: opacity 0.3s ease, transform 0.55s var(--ease-thump); transition-delay: calc(var(--i, 0) * 70ms); }
html.js .rv[data-rv="wipe"] { opacity: 1; clip-path: inset(0 100% 0 0); -webkit-clip-path: inset(0 100% 0 0); }
html.js .rv[data-rv="draw"] { opacity: 1; }
html.js .rv[data-rv="fade"] { transform: none; }
html.js .rv.in { opacity: 1; transform: none; filter: none; clip-path: inset(0 0 0 0); -webkit-clip-path: inset(0 0 0 0); }
html.js .rv[data-rv="thump"].in { transform: rotate(var(--r, 0deg)); }
html.js .pstamp.rv { -webkit-filter: none; filter: none; }
html.js .pstamp.rv.in { -webkit-filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.45)); filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.45)); }
html.js .pstamp.rv.in.is-on { transform: rotate(0deg) scale(1.04); }

/* everything readable with animations minimised, and in a capture */
html.reduce .rv, html.capture .rv { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; -webkit-clip-path: none !important; transition: none !important; }
html.reduce .rv[data-rv="thump"], html.capture .rv[data-rv="thump"] { transform: rotate(var(--r, 0deg)) !important; }
html.capture .hero-letter i, html.capture .hero-deck, html.capture .hero-sub, html.capture .hero-scroll { opacity: 1 !important; transform: none !important; transition: none !important; }
html.capture .hero-age-outline { opacity: 0 !important; animation: none !important; }
html.capture .hero-age-fill { clip-path: inset(0 0 0 0) !important; -webkit-clip-path: inset(0 0 0 0) !important; transition: none !important; }
html.capture .hero-postmark { opacity: 0.85 !important; transform: rotate(-12deg) !important; animation: none !important; }
html.capture .hero-name, html.capture .hero-age, html.capture .hero-deck { transform: none !important; }
html.capture .hero { min-height: 0; }
html.capture .hero-stage { min-height: 104vw; }
@media (min-width: 900px) { html.capture .hero-stage { min-height: 40vw; } html.capture .hero-name { font-size: min(54vw, 760px); } }
html.capture .orn path { stroke-dashoffset: 0 !important; } html.capture .orn .orn-c { transform: scale(1) !important; }
html.capture .cake-all, html.reduce .cake-all { transform: none !important; transition: none !important; }
html.capture .wheel, html.reduce .wheel { animation: none !important; }
html.capture .cake-wish { transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  .grain, .env, .gate-hint .hint-arrow, .sky-hint, .hero-sheen, .hero-scroll i::after, .flame-anim, .flame-glow, .halo, .sky-line .wins rect, .sky-line .wins circle { animation: none !important; }
  .hero-letter i, .hero-age-outline, .hero-age-fill, .hero-deck, .hero-sub, .hero-scroll, .cake-wish, .yng-note, .ticket, .orn path, .orn .orn-c, .sec-num text, .sky-print path, .sky-print .burst-dots, .num::before { transition: none !important; }
  .hero-letter i { transform: none !important; }
  .hero-age-outline { opacity: 0 !important; animation: none !important; }
  .hero-deck, .hero-sub, .hero-scroll { opacity: 1 !important; transform: none !important; }
  .hero-postmark { opacity: 0.85 !important; transform: rotate(-12deg) !important; animation: none !important; }
  .hero-age-fill { clip-path: inset(0 0 0 0) !important; -webkit-clip-path: inset(0 0 0 0) !important; }
  .orn path { stroke-dashoffset: 0 !important; } .orn .orn-c { transform: scale(1) !important; }
  .ticket.is-new, .ticket.is-new .ticket-pin { animation: none !important; }
  .cake-art.is-out .flame { animation: none !important; opacity: 0; }
  .cake-art.is-out .smoke { animation: none !important; opacity: 0.5; stroke-dashoffset: 0; transform: translateY(-30px); }
  .gate-hint { transition: none !important; animation: none !important; }
  .dec-thread { transform: scaleY(1) !important; }
  .field::after, .btn::before { transition: none !important; }
  .hero-stage { min-height: 104vw; }
}
