/* Memories from a Millennial
   Layout concept: a scroll-driven memory reel. Transparent "window" sections (hero, trail)
   look onto a single fixed WebGL world; opaque editorial sections (paper, forest, charcoal)
   slide over it like prints laid on a table. */
:root {
  --cream: #F3EBDD;
  --paper: #D8C7A5;
  --forest: #17271F;
  --charcoal: #171717;
  --burgundy: #6A3030;
  --gold: #C99445;
  --ink: #2a2420;
  --ink-soft: #5b5046;
  --cream-dim: rgba(243, 235, 221, .72);
  --line-light: rgba(243, 235, 221, .16);
  --line-dark: rgba(42, 36, 32, .16);

  --f-display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --f-hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(.22, .8, .2, 1);
  --vb: 0px; /* height of the phone browser bar that can slide away */
  color-scheme: dark;
}
@supports (height: 100lvh) { :root { --vb: calc(100lvh - 100svh); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--charcoal); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--charcoal);
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--gold); color: var(--charcoal); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px; }
.sr-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.mono { font-family: var(--f-mono); letter-spacing: .08em; font-size: .72rem; text-transform: uppercase; }
.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.wrap > * { min-width: 0; }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--burgundy); margin: 0 0 1.4rem; display: inline-flex; align-items: center; gap: .8rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--light { color: var(--gold); }
.display {
  font-family: var(--f-display); font-weight: 400; font-size: clamp(2.6rem, 6.4vw, 6rem);
  line-height: .98; letter-spacing: -.015em; margin: 0 0 1.6rem; color: var(--ink); text-wrap: balance;
}
.display em { font-style: italic; color: var(--burgundy); font-weight: 300; }
.display--light { color: var(--cream); }
.display--light em { color: var(--gold); }

/* ---------- atmosphere ---------- */
#world { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; background: #1c1712; }
#world.is-hidden { visibility: hidden; }
.grain {
  position: fixed; inset: -50%; width: 200%; height: 200%; z-index: 90; pointer-events: none;
  opacity: .06; background-size: 220px 220px; will-change: transform;
  animation: grain 1.2s steps(5) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -2%); }
  60% { transform: translate(-2%, -4%); } 80% { transform: translate(4%, 2%); } 100% { transform: translate(0, 0); }
}
/* custom cursor: a firefly with a cassette-reel ring */
.cursor { display: none; }
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor input, html.has-cursor textarea { cursor: text !important; }
html.has-cursor .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cursor.is-on .cursor__dot, .cursor.is-on .cursor__ring { opacity: 1; }
.cursor__dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: #ffd27a; box-shadow: 0 0 10px 3px rgba(255, 196, 92, .75), 0 0 26px 8px rgba(255, 180, 70, .28); }
.cursor__ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(201, 148, 69, .75);
  background: radial-gradient(circle, transparent 0 34%, rgba(201, 148, 69, .22) 35% 37%, transparent 38%) ; display: grid; place-items: center;
  transition: opacity .3s, width .35s cubic-bezier(.22,.8,.2,1), height .35s cubic-bezier(.22,.8,.2,1), margin .35s cubic-bezier(.22,.8,.2,1), background-color .35s, border-color .35s; }
.cursor__ring::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 1px dashed rgba(201, 148, 69, .45); animation: reelspin 6s linear infinite; }
.cursor__text { font-family: var(--f-mono); font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: #f6d79c; text-shadow: 0 1px 4px rgba(0, 0, 0, .55); opacity: 0; transition: opacity .25s; transform: translateY(30px); }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background-color: rgba(201, 148, 69, .16); border-color: rgba(201, 148, 69, .95); }
.cursor.is-hover .cursor__ring::before { border-color: rgba(201, 148, 69, .6); animation-duration: 2s; }
.cursor.is-hover .cursor__text { opacity: 1; }
.cursor.is-hover .cursor__dot { transform: scale(.6); }
.cursor.is-down .cursor__ring { transform: scale(.85); }
.cursor.is-text .cursor__ring, .cursor.is-text .cursor__dot { opacity: 0; }
@keyframes reelspin { to { transform: rotate(360deg); } }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--gold); --fg: var(--charcoal);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 52px; padding: .95rem 1.9rem; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg); text-decoration: none; overflow: hidden; isolation: isolate;
  font-family: var(--f-body); font-weight: 600; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  transition: color .4s var(--ease), border-color .4s, background-color .4s;
  will-change: transform;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--charcoal);
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:focus-visible::after { transform: translateY(0); }
.btn:focus-visible { color: var(--cream); }
@media (hover: hover) { .btn:hover::after { transform: translateY(0); } .btn:hover { color: var(--cream); } .btn--glass:hover { color: var(--charcoal); } }
.btn__label { position: relative; }
.btn__hint { font-family: var(--f-hand); font-size: 1.15rem; text-transform: none; letter-spacing: 0; font-weight: 400; opacity: .75; }
.btn--gold { --bg: var(--gold); --fg: var(--charcoal); }
.btn--ink { --bg: var(--ink); --fg: var(--cream); }
.btn--ink::after { background: var(--burgundy); }
.btn--glass {
  --bg: rgba(243, 235, 221, .08); --fg: var(--cream);
  border-color: rgba(243, 235, 221, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn--glass::after { background: var(--cream); }
.btn--glass:hover, .btn--glass:focus-visible { color: var(--charcoal); }
.link-quiet {
  background: none; border: 0; padding: .4rem 0; color: var(--ink-soft); text-decoration: none;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  background-image: linear-gradient(currentColor, currentColor); background-size: 0% 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .5s var(--ease), color .3s;
}
.link-quiet:hover, .link-quiet:focus-visible { background-size: 100% 1px; color: var(--ink); }
.link-quiet--light { color: var(--cream-dim); }
.link-quiet--light:hover, .link-quiet--light:focus-visible { color: var(--cream); }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; text-align: center;
  background: radial-gradient(120% 90% at 50% 40%, #241d17 0%, #120f0d 70%);
  padding: 24px max(20px, env(safe-area-inset-right, 0px)) 24px max(20px, env(safe-area-inset-left, 0px));
}
html:not(.js) .loader { display: none; }
.loader__inner { max-width: 720px; width: 100%; }
.loader__stamp { color: var(--cream-dim); display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 2rem; }
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: #d4483b; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.loader__title {
  font-family: var(--f-display); font-weight: 400; font-size: clamp(2.4rem, 8vw, 5rem); line-height: .95; margin: 0;
  color: var(--cream); letter-spacing: -.01em;
}
.loader__title em { font-weight: 300; color: var(--gold); display: block; font-size: .6em; margin: .15em 0; }
.loader__title span { display: block; text-transform: uppercase; letter-spacing: .04em; }
.loader__sub { font-family: var(--f-hand); font-size: 1.5rem; color: var(--paper); margin: 1.2rem 0 2rem; }
.loader__bar { width: min(280px, 70%); height: 1px; margin: 0 auto; background: rgba(243, 235, 221, .15); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.loader__actions { margin-top: 2.4rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; opacity: 0; visibility: hidden; }
.loader__actions .link-quiet { color: var(--cream-dim); }
.loader__actions .link-quiet:hover { color: var(--cream); }

/* ---------- nav ---------- */
.nav {
  position: fixed; z-index: 100; left: 50%; top: calc(14px + env(safe-area-inset-top, 0px));
  width: min(1200px, calc(100% - 24px)); transform: translateX(-50%);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .55rem .6rem .55rem 1.2rem; border-radius: 999px;
  border: 1px solid rgba(243, 235, 221, 0); background: rgba(23, 23, 23, 0);
  transition: background-color .6s var(--ease), border-color .6s, padding .6s var(--ease), opacity .5s, transform .6s var(--ease);
}
.nav.is-solid { background: rgba(20, 18, 16, .62); border-color: rgba(243, 235, 221, .12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav.is-light.is-solid { background: rgba(243, 235, 221, .72); border-color: rgba(42, 36, 32, .12); }
.nav.is-light { color: var(--ink); }
.nav.is-tucked { transform: translate(-50%, calc(-100% - 30px)); }
.nav__mark { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.nav__mono { font-family: var(--f-display); font-size: 1.5rem; letter-spacing: .02em; line-height: 1; }
.nav__mono em { font-style: italic; color: var(--gold); font-size: .85em; }
.nav__logo { display: block; height: 34px; width: auto; aspect-ratio: var(--logo-ar, 900 / 197); background-color: currentColor; transition: background-color .6s var(--ease);
  -webkit-mask: var(--logo, url(../img/logo-mask.webp)) center / contain no-repeat; mask: var(--logo, url(../img/logo-mask.webp)) center / contain no-repeat; }
.nav__logo + .nav__name, .nav__mono--img + .nav__name { display: none; }
.nav__mono--img img { display: block; height: 34px; width: auto; max-width: 160px; object-fit: contain; }
.nav__name { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; opacity: .7; white-space: nowrap; }
.nav__links { display: flex; gap: clamp(.9rem, 1.8vw, 1.8rem); }
.nav__links a {
  text-decoration: none; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; opacity: .72;
  position: relative; padding: .4rem 0; transition: opacity .3s; white-space: nowrap;
}
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { opacity: 1; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__tools { display: flex; align-items: center; gap: .4rem; }
.sound-toggle { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 2px; border: 0; background: transparent; }
.mini-cass { display: block; width: 72px; height: auto; overflow: visible; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .45)); transition: transform .4s cubic-bezier(.22,.8,.2,1), filter .4s; }
.sound-toggle:hover .mini-cass { transform: translateY(-1px) rotate(-3deg); }
.mini-cass__side { font-family: var(--f-display); font-size: 15px; font-weight: 600; fill: var(--burgundy); }
.mini-cass .mreel { transform-box: fill-box; transform-origin: center; }
.sound-toggle.is-on .mreel { animation: reelspin 1.6s linear infinite; }
.sound-toggle.is-on .mini-cass { filter: drop-shadow(0 0 7px rgba(201, 148, 69, .7)) drop-shadow(0 6px 8px rgba(0, 0, 0, .4)); }
.sound-toggle.is-on .mini-cass__shell { stroke: rgba(201, 148, 69, .8); }
.sound-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(127, 120, 110, .35); background: transparent; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease); }
.menu-btn span:first-child { top: 18px; } .menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--forest); display: flex; flex-direction: column; justify-content: center; overflow-y: auto;
  padding: calc(110px + env(safe-area-inset-top, 0px)) max(clamp(28px, 9vw, 140px), env(safe-area-inset-right, 0px)) calc(36px + env(safe-area-inset-bottom, 0px)) max(clamp(28px, 9vw, 140px), env(safe-area-inset-left, 0px));
  clip-path: circle(0% at calc(100% - 44px) 36px);
  background-image: radial-gradient(60% 50% at 90% 10%, rgba(201, 148, 69, .12), transparent 70%);
}
.mobile-menu nav { display: flex; flex-direction: column; width: min(560px, 100%); border-top: 1px solid var(--line-light); }
.mobile-menu a { font-family: var(--f-display); font-size: clamp(1.6rem, min(5vw, 5.4vh), 2.5rem); line-height: 1.1; padding: clamp(.7rem, 1.8vh, 1rem) 0; border-bottom: 1px solid var(--line-light); text-decoration: none; display: flex; align-items: baseline; gap: 1.2rem; color: var(--cream); transition: color .3s, padding .4s var(--ease); }
.mobile-menu a:hover, .mobile-menu a:focus-visible { color: var(--gold); padding-left: .5rem; }
.mobile-menu a small { font-family: var(--f-mono); font-size: .68rem; color: var(--gold); letter-spacing: .1em; min-width: 1.6rem; }
.mobile-menu__foot { margin-top: clamp(1.6rem, 5vh, 3rem); color: var(--cream-dim); }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; height: 100lvh; z-index: 1; }
.hero__pin { position: relative; height: 100vh; height: 100lvh; overflow: hidden; display: grid; place-items: center; padding-bottom: var(--vb); }
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 45% at 50% 42%, rgba(30, 16, 4, .42), rgba(30, 16, 4, 0) 75%),
    linear-gradient(180deg, rgba(20, 14, 8, .45) 0%, rgba(20, 14, 8, .08) 30%, rgba(20, 14, 8, 0) 46%, rgba(20, 14, 8, .55) 78%, rgba(14, 10, 6, .82) 100%),
    radial-gradient(120% 80% at 50% 50%, rgba(0, 0, 0, 0) 55%, rgba(10, 6, 2, .5) 100%);
}
.hero__leak {
  position: absolute; inset: 0; pointer-events: none; opacity: .45;
  background: radial-gradient(40% 50% at 96% 6%, rgba(255, 130, 60, .55), transparent 70%), radial-gradient(30% 40% at 0% 100%, rgba(255, 80, 40, .25), transparent 70%);
  animation: leak 9s ease-in-out infinite alternate;
}
@keyframes leak { from { opacity: .35; } to { opacity: .7; } }
.camcorder {
  position: absolute; left: max(24px, env(safe-area-inset-left, 0px)); bottom: calc(26px + var(--vb) + env(safe-area-inset-bottom, 0px)); margin: 0;
  display: flex; gap: 1.2rem; color: rgba(255, 246, 225, .85); text-shadow: 0 0 6px rgba(0, 0, 0, .5); font-size: .78rem;
}
.camcorder__play { color: #fff; }
.camcorder--r { left: auto; right: max(24px, env(safe-area-inset-right, 0px)); align-items: center; gap: .6rem; }
.batt { width: 22px; height: 10px; border: 1px solid currentColor; display: inline-block; position: relative; padding: 1px; }
.batt::after { content: ""; position: absolute; right: -4px; top: 2px; width: 2px; height: 4px; background: currentColor; }
.batt i { display: block; width: 70%; height: 100%; background: currentColor; }
.hero__content {
  position: relative; z-index: 2; text-align: center; margin-top: 6vh;
  padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px));
  display: flex; flex-direction: column; align-items: center;
}
.hero__eyebrow { color: var(--paper); margin-bottom: 1.2rem; }
.hero__eyebrow::before { display: none; }
.hero__eyebrow span { font-family: var(--f-hand); font-size: 1.6rem; letter-spacing: 0; text-transform: none; color: var(--paper); }
.hero__title {
  font-family: var(--f-display); font-weight: 400; margin: 0; color: var(--cream);
  font-size: clamp(3.4rem, 13.2vw, 12.5rem); line-height: .84; letter-spacing: -.02em; text-transform: uppercase;
  text-shadow: 0 2px 30px rgba(40, 20, 0, .45);
}
.hero__title .line { display: block; padding: .02em .04em; clip-path: inset(-0.8em -0.6em -0.16em -0.6em); }
.hero__title .word { display: inline-block; }
.hero__title .line--italic { text-transform: none; font-style: italic; font-weight: 400; color: #fff1d6; text-shadow: 0 0 34px rgba(60, 28, 0, .7), 0 2px 10px rgba(60, 28, 0, .4); font-size: .5em; line-height: 1.1; letter-spacing: 0; }
.hero__lede { max-width: 30rem; margin: 1.8rem auto 0; color: rgba(243, 235, 221, .9); font-size: clamp(.95rem, 1.2vw, 1.08rem); line-height: 1.65; text-wrap: balance; }
.hero__author { margin: 1.4rem 0 0; font-size: .78rem; letter-spacing: .42em; text-transform: uppercase; color: var(--cream); font-weight: 500; }
.hero__cta { margin-top: 2rem; }
.hero__arrive { position: absolute; z-index: 2; text-align: center; opacity: 0; pointer-events: none; padding: 0 20px; }
.hero__arrive .mono { color: var(--paper); margin: 0 0 .6rem; font-size: .8rem; letter-spacing: .3em; }
.hero__arrive-big { font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: clamp(3rem, 9vw, 8rem); margin: 0; line-height: 1; color: var(--cream); text-shadow: 0 2px 40px rgba(40, 20, 0, .4); }
.hero__flash { position: absolute; inset: 0; background: var(--cream); opacity: 0; pointer-events: none; z-index: 3; }
.scroll-cue { position: absolute; left: 50%; bottom: calc(22px + var(--vb) + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .7rem; color: var(--cream-dim); font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; z-index: 2; }
.scroll-cue i { width: 1px; height: 42px; background: linear-gradient(var(--cream), transparent); transform-origin: top; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- paper sections ---------- */
.paper {
  position: relative; z-index: 2; color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(120% 60% at 0% 0%, rgba(216, 199, 165, .45), transparent 60%),
    radial-gradient(90% 60% at 100% 100%, rgba(201, 148, 69, .14), transparent 60%);
}
.paper::before { /* faint ruled-notebook memory */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: repeating-linear-gradient(180deg, transparent 0 39px, rgba(106, 48, 48, .045) 39px 40px);
}

/* ---------- story ---------- */
.story { padding-block: clamp(4.5rem, 9vw, 8rem) clamp(5rem, 12vw, 10rem); overflow: hidden; }
/* the section right after the hero rises over the second half of the pinned hero, so there is no empty screen between them */
html.js .slide-over { margin-top: -100vh; margin-top: -100lvh; box-shadow: 0 -40px 80px -30px rgba(20, 12, 4, .45); }
.story__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; position: relative; }
.story__teaser { font-family: var(--f-display); font-size: clamp(1.35rem, 2.1vw, 1.85rem); line-height: 1.42; color: var(--ink); max-width: 34rem; margin: 0 0 2rem; }
.scrub-words .w { opacity: .16; transition: none; }
html:not(.js) .scrub-words .w { opacity: 1; }
.story__quote { margin: 0 0 2.6rem; padding-left: 1.2rem; border-left: 2px solid var(--gold); }
.story__quote p { margin: 0; font-family: var(--f-hand); font-size: 1.7rem; color: var(--burgundy); line-height: 1.2; }
.story__photos { position: relative; height: clamp(420px, 48vw, 620px); }
.polaroid {
  position: absolute; margin: 0; background: #fbf6ec; padding: 12px 12px 54px; width: min(78%, 420px);
  box-shadow: 0 30px 60px -20px rgba(40, 25, 10, .45), 0 2px 6px rgba(40, 25, 10, .15);
}
.polaroid__img { overflow: hidden; aspect-ratio: 1 / 1; background: var(--paper); }
.polaroid__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); filter: saturate(.9) contrast(1.05); }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font-family: var(--f-hand); font-size: 1.45rem; color: var(--ink); }
.polaroid--a { left: 0; top: 0; transform: rotate(-5deg); }
.polaroid--b { right: 0; bottom: 0; transform: rotate(4deg); }
.tape { position: absolute; width: 110px; height: 30px; background: rgba(216, 199, 165, .7); box-shadow: 0 1px 2px rgba(0, 0, 0, .1); }
.tape--1 { left: 50%; top: -14px; margin-left: -55px; transform: rotate(-6deg); z-index: 1; }
.tape--2 { right: 12%; bottom: calc(min(78%, 420px) + 20px); transform: rotate(8deg); display: none; }

/* ---------- world ---------- */
.world { position: relative; z-index: 2; background: var(--forest); padding-bottom: clamp(5rem, 10vw, 9rem); }
.world__intro { position: relative; height: 100vh; height: 100lvh; display: grid; place-items: center; overflow: hidden; }
.world__mask { position: absolute; inset: 0; overflow: hidden; will-change: transform; backface-visibility: hidden; }
.world__mask img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; will-change: transform; }
.world__mask-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 39, 31, .15), rgba(23, 39, 31, .35) 40%, rgba(23, 39, 31, .96)); }
.world__headline { position: relative; z-index: 2; align-self: end; padding-bottom: calc(clamp(3rem, 8vh, 6rem) + var(--vb)); }
.world__headline .display { max-width: 15ch; font-size: clamp(2.6rem, 7vw, 6.8rem); }
.world__places {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1.2rem, 2.5vw, 2.4rem);
  row-gap: clamp(3rem, 7vw, 6rem); margin-top: clamp(3rem, 8vw, 7rem);
}
.place { grid-column: span 5; margin: 0; }
.place--wide { grid-column: 1 / span 8; }
.place--tall { grid-column: 9 / span 4; margin-top: 30%; }
.place--right { grid-column: 5 / span 8; }
.place:nth-child(3) { grid-column: 2 / span 5; }
.place:nth-child(4) { grid-column: 8 / span 5; margin-top: 18%; }
.place:nth-child(6) { grid-column: 1 / span 6; }
.place:nth-child(7) { grid-column: 7 / span 6; margin-top: 14%; }
.place__img { overflow: hidden; border-radius: 4px; position: relative; aspect-ratio: 16 / 10; background: #0f1a14; }
.place--tall .place__img { aspect-ratio: 4 / 5; }
.place__img img { width: 100%; height: 125%; object-fit: cover; position: absolute; top: -12.5%; left: 0; will-change: transform; transition: filter .8s var(--ease); filter: saturate(.92); }
.place:hover .place__img img { filter: saturate(1.1) brightness(1.04); }
.place__img::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 80px rgba(0, 0, 0, .35); pointer-events: none; }
.place__cap { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: baseline; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line-light); }
.place__cap .mono { color: var(--gold); white-space: nowrap; }
.place--tall .place__cap { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
.place__cap p { margin: 0; color: var(--cream-dim); font-family: var(--f-display); font-size: 1.22rem; line-height: 1.35; font-style: italic; }

/* ---------- trail ---------- */
.trail { position: relative; z-index: 1; height: 680vh; }
.trail__pin { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; }
.trail__shade { position: absolute; inset: 0; background: radial-gradient(90% 70% at 50% 50%, transparent 40%, rgba(8, 10, 6, .55) 100%), linear-gradient(180deg, rgba(10, 14, 8, .4), transparent 30%, transparent 70%, rgba(10, 14, 8, .5)); pointer-events: none; }
.trail__label { position: absolute; left: max(24px, env(safe-area-inset-left, 0px)); top: calc(96px + env(safe-area-inset-top, 0px)); margin: 0; }
.trail__clock { position: absolute; right: max(24px, env(safe-area-inset-right, 0px)); top: calc(96px + env(safe-area-inset-top, 0px)); margin: 0; color: var(--cream); font-size: .85rem; text-shadow: 0 0 8px rgba(0, 0, 0, .6); }
.trail__frags { position: absolute; inset: 0 0 var(--vb); display: grid; place-items: center; pointer-events: none; }
.frag {
  grid-area: 1 / 1; margin: 0; max-width: 18ch; text-align: center; padding: 0 20px;
  font-family: var(--f-display); font-size: clamp(2rem, 5vw, 4.4rem); line-height: 1.05; color: var(--cream);
  text-shadow: 0 2px 30px rgba(0, 0, 0, .55); opacity: 0; text-wrap: balance;
}
.frag em { color: var(--gold); font-weight: 300; }
.frag--big { font-size: clamp(2.4rem, 6.6vw, 6rem); font-style: italic; font-weight: 300; max-width: 16ch; }
.trail__progress { position: absolute; left: 50%; bottom: calc(30px + var(--vb) + env(safe-area-inset-bottom, 0px)); width: min(240px, 50vw); height: 1px; background: rgba(243, 235, 221, .2); transform: translateX(-50%); }
.trail__progress span { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); }

/* ---------- characters ---------- */
.chars { position: relative; z-index: 2; background: var(--charcoal); padding-block: clamp(6rem, 12vw, 10rem); overflow: hidden; }
.chars::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 85% 10%, rgba(106, 48, 48, .3), transparent 70%), radial-gradient(50% 40% at 0% 100%, rgba(23, 39, 31, .7), transparent 70%); pointer-events: none; }
.chars__head { position: relative; max-width: 760px; margin-bottom: clamp(3rem, 6vw, 5rem); }
.chars__note { color: var(--cream-dim); font-size: 1.05rem; margin: 0; max-width: 32rem; }
.chars__list { list-style: none; margin: 0; padding: 0; position: relative; border-top: 1px solid var(--line-light); }
.char {
  position: relative; display: grid; grid-template-columns: minmax(150px, 1fr) minmax(0, 2.4fr) minmax(0, 1.6fr); gap: 1rem 2rem; align-items: center;
  padding: clamp(1.4rem, 2.8vw, 2.4rem) 0; border-bottom: 1px solid var(--line-light); cursor: default; outline: none;
}
.char::before { content: ""; position: absolute; inset: 0 -100vw; background: linear-gradient(90deg, rgba(201, 148, 69, 0), rgba(201, 148, 69, .07), rgba(201, 148, 69, 0)); opacity: 0; transition: opacity .5s; pointer-events: none; }
.char.is-active::before { opacity: 1; }
.char__role { color: var(--gold); opacity: .8; }
.char__name {
  font-family: var(--f-display); font-size: clamp(2rem, 4vw, 3.9rem); line-height: 1.05; letter-spacing: -.005em; color: var(--cream);
  transition: letter-spacing .7s var(--ease), color .5s, transform .7s var(--ease); display: inline-block; transform-origin: left center;
}
.char.is-active .char__name { font-style: italic; color: var(--gold); letter-spacing: .01em; transform: translateX(.25em); }
.char__desc { color: var(--cream-dim); font-size: .95rem; line-height: 1.6; max-width: 34ch; transition: opacity .4s; }
.char__phrase {
  grid-column: 2 / span 2; font-family: var(--f-hand); font-size: 1.6rem; color: var(--paper); line-height: 1.2;
  max-height: 0; opacity: 0; overflow: hidden; transform: translateY(10px); transition: max-height .6s var(--ease), opacity .5s, transform .6s var(--ease);
}
.char.is-active .char__phrase { max-height: 4rem; opacity: 1; transform: none; }
.char__mobile-img { display: none; }

/* ---------- timeline ---------- */
.timeline { position: relative; z-index: 2; }
.timeline__pin { position: relative; height: 100vh; height: 100lvh; overflow: hidden; background: #3a2a14; }
.timeline__bg { position: absolute; inset: 0; background: radial-gradient(80% 70% at 70% 30%, rgba(255, 210, 140, .22), transparent 70%); }
.timeline__year {
  position: absolute; right: -2vw; bottom: -6vh; font-family: var(--f-display); font-weight: 300; font-style: italic;
  font-size: clamp(10rem, 34vw, 34rem); line-height: .8; color: rgba(243, 235, 221, .07); pointer-events: none; white-space: nowrap;
}
.timeline__head { position: absolute; left: max(24px, env(safe-area-inset-left, 0px)); top: calc(100px + env(safe-area-inset-top, 0px)); z-index: 2; }
.timeline__head .eyebrow { margin-bottom: .8rem; }
.timeline__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.2rem, 4.6vw, 4rem); margin: 0; line-height: 1; color: var(--cream); }
.timeline__title .arrow { color: var(--gold); font-style: italic; }
.timeline__season { margin: .8rem 0 0; color: var(--paper); }
.timeline__track { position: absolute; left: 0; top: 0; bottom: var(--vb); display: flex; align-items: center; gap: clamp(1.6rem, 4vw, 4.5rem); padding: 0 12vw 0 max(36vw, 420px); will-change: transform; }
.mem { flex: 0 0 auto; width: clamp(200px, min(24vw, 34vh), 340px); color: var(--cream); position: relative; padding-top: 7vh; }
.mem:nth-child(even) { margin-top: 12vh; }
.mem:nth-child(3n) { margin-top: -4vh; }
.mem__date { display: block; color: var(--gold); margin-bottom: .9rem; }
.mem h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.5rem, min(2.5vw, 3.6vh), 2.4rem); margin: 1rem 0 .35rem; line-height: 1; }
.mem p { margin: 0; color: var(--cream-dim); font-size: clamp(.84rem, 1.6vh, .95rem); line-height: 1.5; }
.mem__photo { background: #fbf6ec; padding: 9px 9px 34px; transform: rotate(-2deg); box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .55); }
.mem:nth-child(odd) .mem__photo { transform: rotate(2.4deg); }
.mem__photo img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.mem__cd, .cd { aspect-ratio: 1; width: 78%; border-radius: 50%; position: relative;
  background:
    radial-gradient(circle at 50% 50%, #e9e4da 0 9%, #b8b2a8 9.5% 10.5%, transparent 11%),
    conic-gradient(from 20deg, #d7dbe0, #f3d3ae, #c7e3e0, #e2c6e6, #f2e7b8, #b9d4ea, #f0c8b4, #d7dbe0);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .4);
}
.mem__cd::after, .cd::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: repeating-radial-gradient(circle, rgba(255, 255, 255, .06) 0 1px, transparent 1px 3px); }
.mem__book { aspect-ratio: 3 / 4; width: 62%; background: linear-gradient(100deg, #4a1e22, #6A3030 20%, #5a2428); border-radius: 2px 6px 6px 2px; box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .6), inset 6px 0 0 rgba(0, 0, 0, .25); display: grid; place-items: center; padding: 1rem; transform: rotate(-4deg); }
.mem__book span { font-family: var(--f-hand); color: var(--paper); font-size: 1.25rem; text-align: center; line-height: 1.1; }
.mem__phone { width: 60%; color: var(--paper); }
.mem__phone svg { width: 100%; height: auto; display: block; }
.mem__letter { aspect-ratio: 3 / 2; width: 80%; background: #efe4cc; border-radius: 3px; position: relative; transform: rotate(3deg); box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .5);
  background-image: repeating-linear-gradient(135deg, #6A3030 0 10px, #efe4cc 10px 20px, #2f4a6a 20px 30px, #efe4cc 30px 40px);
}
.mem__letter::before { content: ""; position: absolute; inset: 8px; background: #efe4cc; }
.mem__letter span { position: absolute; left: 18px; top: 16px; font-family: var(--f-mono); font-size: .6rem; letter-spacing: .2em; color: #2f4a6a; text-transform: uppercase; }
.mem__letter::after { content: ""; position: absolute; right: 16px; top: 14px; width: 34px; height: 40px; background: var(--burgundy); outline: 2px dashed #efe4cc; outline-offset: -4px; }
.timeline__rail { position: absolute; left: max(24px, env(safe-area-inset-left, 0px)); right: max(24px, env(safe-area-inset-right, 0px)); bottom: calc(34px + var(--vb) + env(safe-area-inset-bottom, 0px)); height: 1px; background: rgba(243, 235, 221, .18); }
.timeline__rail span { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); }

/* ---------- memory box ---------- */
.box { --u: min(1vw, 1.25vh); min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding-block: calc(96px + env(safe-area-inset-top, 0px)) clamp(1.5rem, 4vh, 3rem); overflow: hidden; }
.box__head { position: relative; max-width: 1320px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .4rem 2rem; }
.box__head .eyebrow { flex: 1 0 100%; margin-bottom: .8rem; }
.box__head .display { max-width: none; font-size: clamp(2.2rem, min(4.6vw, 7vh), 4.8rem); margin: 0; }
.box__hint { font-family: var(--f-hand); font-size: clamp(1.2rem, 1.6vw, 1.5rem); color: var(--burgundy); margin: 0 0 .3rem; }
.hint-touch { display: none; }
@media (hover: none), (pointer: coarse) { .hint-fine { display: none; } .hint-touch { display: inline; } }
.box__stage { position: relative; width: min(1240px, calc(100% - 40px)); margin: clamp(1.2rem, 3vh, 2.4rem) auto 0; flex: 1 1 auto; min-height: 400px; max-height: 760px; }
.item { position: absolute; left: var(--x); top: var(--y); transform: rotate(var(--r)); touch-action: auto; user-select: none; -webkit-user-select: none; margin: 0; filter: drop-shadow(0 18px 24px rgba(50, 30, 10, .28)); transition: filter .4s; }
@media (hover: hover) and (pointer: fine) { .item { cursor: grab; } .item:active { cursor: grabbing; } }
.item.is-lifted { filter: drop-shadow(0 34px 40px rgba(50, 30, 10, .38)); }
.item--cd .cd { width: clamp(110px, calc(var(--u) * 15), 220px); }
.cd__label { position: absolute; left: 50%; top: 22%; transform: translateX(-50%) rotate(-8deg); font-family: var(--f-hand); color: #2a2a3a; font-size: 1.3rem; line-height: 1; text-align: center; z-index: 1; }
.item--photo { background: #fbf6ec; padding: 10px 10px 40px; width: clamp(120px, calc(var(--u) * 17), 250px); }
.item--photo img { aspect-ratio: 1; object-fit: cover; width: 100%; pointer-events: none; }
.item--photo figcaption { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font-family: var(--f-hand); font-size: 1.3rem; color: var(--ink); }
.item--note { width: clamp(175px, calc(var(--u) * 16), 230px); background: #fdf9ee; padding: 1.2rem 1.2rem 1rem; background-image: repeating-linear-gradient(180deg, transparent 0 27px, rgba(47, 74, 106, .25) 27px 28px); background-position: 0 10px; }
.item--note::before { content: ""; position: absolute; left: 22px; top: 0; bottom: 0; width: 1px; background: rgba(106, 48, 48, .4); }
.item--note p { margin: 0; font-family: var(--f-hand); font-size: 1.45rem; line-height: 28px; color: #2f3a5a; padding-left: 14px; }
.item--note p span { font-size: 1.1rem; color: var(--burgundy); }
.item--note .checks { display: flex; gap: .7rem; font-family: var(--f-hand); font-size: 1.15rem; color: #2f3a5a; padding-left: 14px; margin-top: .3rem; }
.mini-tape { width: clamp(160px, calc(var(--u) * 15), 220px); aspect-ratio: 1.6; background: linear-gradient(160deg, #2a2a2a, #121212); border-radius: 8px; position: relative; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.mini-tape::before { content: ""; position: absolute; left: 9%; right: 9%; top: 12%; height: 44%; background: #efe4cc; border-radius: 3px; }
.mini-tape::after { content: ""; position: absolute; left: 30%; right: 30%; top: 30%; height: 16%; background: #2a2420; border-radius: 10px; box-shadow: inset 0 0 0 3px #6b5e4c; }
.mini-tape span { position: absolute; left: 14%; top: 15%; font-family: var(--f-hand); font-size: .9rem; white-space: nowrap; color: var(--burgundy); z-index: 1; }
.vhs { width: clamp(150px, calc(var(--u) * 20), 290px); aspect-ratio: 1.8; background: linear-gradient(180deg, #1d1d1d, #0e0e0e); border-radius: 4px; position: relative; padding: 14% 8% 0; }
.vhs::after { content: ""; position: absolute; left: 25%; right: 25%; bottom: 14%; height: 18%; background: rgba(255, 255, 255, .06); border-radius: 2px; }
.vhs__label { display: block; background: #f6f0e2; color: var(--ink); font-family: var(--f-hand); font-size: 1.5rem; padding: .2rem .6rem; line-height: 1.2; border-left: 8px solid var(--burgundy); }
.vhs__small { display: block; margin-top: .5rem; font-family: var(--f-mono); font-size: .55rem; letter-spacing: .2em; color: rgba(243, 235, 221, .6); }
.item--photo-b { width: clamp(115px, calc(var(--u) * 15), 220px); }
.notebook { width: clamp(195px, calc(var(--u) * 18), 270px); aspect-ratio: 1.15; background: #fffdf6; padding: 1rem 1.2rem 1rem 2.4rem; position: relative; background-image: repeating-linear-gradient(180deg, transparent 0 25px, rgba(47, 74, 106, .22) 25px 26px); }
.notebook::before { content: ""; position: absolute; left: 8px; top: 10px; bottom: 10px; width: 10px; background: radial-gradient(circle, #d8c7a5 0 3px, transparent 3.5px) 0 0 / 10px 24px repeat-y; }
.notebook p { margin: 0; font-family: var(--f-hand); color: #2f3a5a; font-size: 1.1rem; line-height: 26px; }
.notebook .doodle { font-size: 2.3rem; line-height: 1.3; margin-top: .6rem; color: var(--burgundy); }
.scribble { position: relative; display: inline-block; }
.scribble::after { content: ""; position: absolute; left: -4px; right: -4px; top: 45%; height: 14px; background: repeating-linear-gradient(-20deg, var(--burgundy) 0 2px, transparent 2px 5px); }
.notebook .small { color: var(--ink-soft); }
.ticket { width: clamp(145px, calc(var(--u) * 13), 185px); white-space: nowrap; background: #c99445; color: var(--charcoal); padding: .9rem 1rem; display: flex; flex-direction: column; gap: .2rem; border-radius: 3px; position: relative;
  -webkit-mask: radial-gradient(circle at 0 50%, transparent 8px, #000 8.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 8px, #000 8.5px) right / 51% 100% no-repeat;
  mask: radial-gradient(circle at 0 50%, transparent 8px, #000 8.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 8px, #000 8.5px) right / 51% 100% no-repeat; }
.ticket span { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .25em; }
.ticket b { font-family: var(--f-display); font-size: 1.6rem; font-weight: 500; }
.bracelet { width: clamp(80px, calc(var(--u) * 10), 135px); aspect-ratio: 1; border-radius: 50%; border: 12px solid transparent; background: repeating-conic-gradient(var(--burgundy) 0 12deg, var(--gold) 12deg 24deg, #2f4a6a 24deg 36deg, #efe4cc 36deg 48deg) border-box; -webkit-mask: radial-gradient(circle, transparent 54%, #000 55%); mask: radial-gradient(circle, transparent 54%, #000 55%); }

/* ---------- music ---------- */
.music { position: relative; z-index: 2; background: var(--forest); padding-block: clamp(6rem, 12vw, 10rem); overflow: hidden; }
.music::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 80% 50%, rgba(201, 148, 69, .16), transparent 70%); pointer-events: none; }
.music__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; position: relative; }
.music__text { color: var(--cream-dim); font-size: 1.05rem; max-width: 30rem; margin: 0 0 2.2rem; }
.music__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; }
.music__fine { margin: 1.2rem 0 0; font-size: .8rem; color: rgba(243, 235, 221, .5); }
.music__deck { position: relative; display: grid; justify-items: center; gap: 2rem; perspective: 1200px; }
.cassette { position: relative; width: min(100%, 520px); aspect-ratio: 1.58; transform-style: preserve-3d; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.cassette__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; transform-style: preserve-3d; }
.cassette { --d: clamp(12px, 2.2vw, 24px); }
.cassette__face--a { transform: translateZ(calc(var(--d) / 2)); }
.cassette__face--b { transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); }
/* the shell's thickness: four edge strips so the tape reads as a solid object while it turns */
.cassette__edge { position: absolute; display: block; background: linear-gradient(90deg, #0d0c0b, #2b2622 45%, #1a1714); }
.cassette__edge::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 6px); }
.cassette__edge--l { left: 0; top: 10px; bottom: 10px; width: var(--d); transform-origin: left center; transform: translateZ(calc(var(--d) / 2)) rotateY(90deg); }
.cassette__edge--r { right: 0; top: 10px; bottom: 10px; width: var(--d); transform-origin: right center; transform: translateZ(calc(var(--d) / 2)) rotateY(-90deg); }
.cassette__edge--t, .cassette__edge--b { left: 10px; right: 10px; height: var(--d); background: linear-gradient(180deg, #0d0c0b, #2b2622 45%, #1a1714); }
.cassette__edge--t { top: 0; transform-origin: center top; transform: translateZ(calc(var(--d) / 2)) rotateX(-90deg); }
.cassette__edge--b { bottom: 0; transform-origin: center bottom; transform: translateZ(calc(var(--d) / 2)) rotateX(90deg); }
.cassette__edge--t::before { content: ""; position: absolute; left: 20%; right: 20%; top: 25%; bottom: 25%; background: rgba(0, 0, 0, .55); border-radius: 2px; }
.cassette__face--b .cassette__shell { background: linear-gradient(160deg, rgba(48, 44, 52, .97), rgba(20, 18, 22, .98)); }
.cassette__hint { margin: -1rem 0 0; font-family: var(--f-hand); font-size: 1.25rem; color: var(--paper); opacity: .75; }
.cassette__shell {
  position: absolute; inset: 0; border-radius: 12px; padding: 5% 5% 0;
  background: linear-gradient(160deg, rgba(60, 54, 48, .96), rgba(22, 20, 18, .98));
  box-shadow: 0 50px 80px -30px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .09), inset 0 2px 0 rgba(255, 255, 255, .06);
}
.cassette__shell::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .015) 0 2px, transparent 2px 4px); pointer-events: none; }
.cassette__label { position: relative; height: 62%; border-radius: 8px; background: linear-gradient(180deg, #f3ebdd 0 26%, var(--burgundy) 26% 30%, #f3ebdd 30% 100%); padding: 3% 5%; display: flex; align-items: flex-start; gap: 4%; }
.cassette__side { font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--burgundy); line-height: 1; font-weight: 600; }
.cassette__title { font-family: var(--f-hand); color: #2f3a5a; font-size: clamp(1.2rem, 2.3vw, 1.9rem); line-height: 1.1; padding-top: .2em; }
.cassette__window { position: absolute; left: 22%; right: 22%; top: 36%; height: 24%; background: rgba(20, 16, 12, .92); border-radius: 40px; display: flex; align-items: center; justify-content: space-between; padding: 0 6%; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .06); }
.cassette__tape { position: absolute; left: 30%; right: 30%; top: 30%; bottom: 30%; background: linear-gradient(180deg, #3a2618, #24160e); border-radius: 4px; }
.reel { position: relative; z-index: 1; width: 25%; aspect-ratio: 1; border-radius: 50%; background: #efe4cc; display: grid; place-items: center; box-shadow: 0 0 0 5px #3a2618; }
.reel i { width: 55%; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(#2a2420 0 20deg, transparent 20deg 60deg, #2a2420 60deg 80deg, transparent 80deg 120deg, #2a2420 120deg 140deg, transparent 140deg 180deg, #2a2420 180deg 200deg, transparent 200deg 240deg, #2a2420 240deg 260deg, transparent 260deg 300deg, #2a2420 300deg 320deg, transparent 320deg); }
.cassette__foot { position: absolute; left: 20%; right: 20%; bottom: 0; height: 16%; background: rgba(0, 0, 0, .25); clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%); display: flex; justify-content: space-around; align-items: center; }
.cassette__foot i { width: 7%; aspect-ratio: 1; border-radius: 50%; background: #0c0b0a; }
.jcard { width: min(100%, 520px); background: #f3ebdd; color: #2f3a5a; border-radius: 4px; padding: 1.2rem 1.6rem; transform: rotate(-1.5deg); box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .5); background-image: repeating-linear-gradient(180deg, transparent 0 31px, rgba(47, 74, 106, .18) 31px 32px); }
.jcard__list { margin: 0; padding-left: 1.6rem; font-family: var(--f-hand); font-size: clamp(1.2rem, 1.9vw, 1.45rem); line-height: 32px; columns: 1; }
.jcard__list li::marker { color: var(--burgundy); }
.jcard__list li { transition: color .3s; }
.jcard__list li.is-playing { color: var(--burgundy); }

/* ---------- letters ---------- */
.letters { position: relative; z-index: 2; height: 360vh; background: var(--cream); color: var(--ink); }
.letters::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 50% at 50% 60%, rgba(201, 148, 69, .18), transparent 70%); pointer-events: none; }
.letters__pin { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; justify-items: center; padding: calc(96px + env(safe-area-inset-top, 0px)) 20px calc(28px + var(--vb) + env(safe-area-inset-bottom, 0px)); }
.letters__head { text-align: center; max-width: 900px; padding: 0 4px; }
.letters__head .display { font-size: clamp(2.2rem, 5vw, 4.6rem); margin-bottom: 0; }
.letters__head .eyebrow { margin-bottom: 1rem; }
.letters__head .eyebrow::before { display: none; }
.env-stage { position: relative; width: 100%; display: grid; place-items: center; perspective: 1400px; }
.envelope { position: relative; width: min(520px, 84vw, (100vh - 330px) * 1.25); aspect-ratio: 1.6; transform-style: preserve-3d; }
.envelope__back, .envelope__front, .envelope__flap { position: absolute; inset: 0; }
.envelope__back { background: #d9c7a1; border-radius: 6px; box-shadow: 0 40px 70px -30px rgba(60, 35, 10, .5); }
.envelope__front { z-index: 3; border-radius: 6px; pointer-events: none; background: linear-gradient(170deg, #ece0c2, #e0cfa9); clip-path: polygon(0 0, 50% 56%, 100% 0, 100% 100%, 0 100%); box-shadow: inset 0 -20px 30px -20px rgba(60, 35, 10, .25); }
.envelope__flap { z-index: 4; height: 54%; transform-origin: top center; transform-style: preserve-3d; clip-path: polygon(0 0, 100% 0, 50% 100%); background: linear-gradient(180deg, #d6c299, #cdb78c); backface-visibility: visible; }
.envelope__stamp { position: absolute; z-index: 5; right: 6%; bottom: 10%; width: 64px; height: 76px; background: var(--burgundy); display: grid; place-items: center; outline: 3px dashed #eadcbc; outline-offset: -5px; transform: rotate(4deg); }
.envelope__stamp span { font-family: var(--f-display); font-size: 1.3rem; color: var(--cream); font-style: italic; }
.letter { position: absolute; z-index: 2; left: 5%; right: 5%; top: 6%; height: 88%; overflow: hidden; background: #fffaf0; border-radius: 3px; transform-origin: center bottom; box-shadow: 0 20px 40px -20px rgba(60, 35, 10, .4); transform-style: preserve-3d; background-image: repeating-linear-gradient(180deg, transparent 0 39px, rgba(47, 74, 106, .14) 39px 40px); background-position: 0 44px; }
.letter__body { padding: 8% 8% 0; }
.hand { font-family: var(--f-hand); font-size: clamp(1.3rem, 2.2vw, 1.72rem); white-space: nowrap; line-height: 40px; color: #2f3a5a; margin: 0; clip-path: inset(0 100% 0 0); }
html:not(.js) .hand { clip-path: none; }
.hand.fade-out { -webkit-mask: linear-gradient(90deg, #000 30%, transparent 92%); mask: linear-gradient(90deg, #000 30%, transparent 92%); }
.letter__fold { position: absolute; left: 0; right: 0; height: 34%; background: #f6efe0; backface-visibility: hidden; }
.letter__fold--top { top: 0; transform-origin: center bottom; box-shadow: inset 0 -12px 20px -14px rgba(60, 35, 10, .35); }
.letter__fold--bottom { bottom: 0; transform-origin: center top; box-shadow: inset 0 12px 20px -14px rgba(60, 35, 10, .35); }
.letters__after { font-family: var(--f-hand); font-size: 1.6rem; color: var(--burgundy); margin: 0; opacity: 0; text-align: center; }

/* ---------- book ---------- */
.bookx { position: relative; z-index: 2; height: 300vh; }
.bookx__pin { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 2rem; padding: 90px max(24px, env(safe-area-inset-right, 0px)) calc(40px + var(--vb)) max(24px, env(safe-area-inset-left, 0px)); background: var(--charcoal); }
.bookx__bg { position: absolute; inset: 0; opacity: 0; background: radial-gradient(70% 70% at 30% 50%, #8a3a36 0%, var(--burgundy) 40%, #2a1212 100%); }
.bookx__stage { position: relative; display: grid; place-items: center; perspective: 1600px; height: 100%; }
.book3d { --w: clamp(210px, 22vw, 330px); --h: calc(var(--w) * 1.5); --d: calc(var(--w) * .14); position: relative; width: var(--w); height: var(--h); transform-style: preserve-3d; }
.book3d__inner { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(-38deg) rotateX(8deg); }
.book3d__face { position: absolute; backface-visibility: hidden; }
.book3d__front { inset: 0; transform: translateZ(calc(var(--d) / 2)); border-radius: 2px 6px 6px 2px; overflow: hidden; box-shadow: inset 4px 0 8px rgba(0, 0, 0, .35); }
.book3d__front img { width: 100%; height: 100%; object-fit: cover; }
.book3d__front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(255, 255, 255, .0) 30%, rgba(255, 240, 210, .18) 45%, rgba(255, 255, 255, 0) 60%), linear-gradient(90deg, rgba(0, 0, 0, .3), transparent 6%); pointer-events: none; }
.cover-type { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 12% 8% 9%; color: var(--cream); }
.cover-type__top { font-family: var(--f-hand); font-size: calc(var(--w) * .075); color: var(--paper); }
.cover-type__title { font-family: var(--f-display); text-transform: uppercase; font-size: calc(var(--w) * .135); line-height: .92; letter-spacing: .02em; margin-top: 6%; text-shadow: 0 2px 20px rgba(0, 0, 0, .4); }
.cover-type__title em { text-transform: none; font-weight: 300; color: var(--gold); font-size: .62em; }
.cover-type__author { margin-top: auto; font-size: calc(var(--w) * .042); letter-spacing: .4em; text-transform: uppercase; font-weight: 500; }
.book3d__back { inset: 0; transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); background: var(--forest); color: var(--cream); display: grid; place-items: center; padding: 14%; border-radius: 6px 2px 2px 6px; }
.book3d__back p { font-family: var(--f-display); font-style: italic; font-size: calc(var(--w) * .07); line-height: 1.3; text-align: center; margin: 0; }
.book3d__spine { top: 0; left: 50%; width: var(--d); height: 100%; margin-left: calc(var(--d) / -2); transform: rotateY(-90deg) translateZ(calc(var(--w) / 2)); background: linear-gradient(90deg, #0f1a14, var(--forest) 30%, #22382c 70%, #0f1a14); display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 12% 0 8%; }
.book3d__spine span { writing-mode: vertical-rl; color: var(--paper); font-size: calc(var(--d) * .3); letter-spacing: .25em; font-weight: 500; }
.book3d__pages { top: 1.5%; left: 50%; width: calc(var(--d) - 4px); height: 97%; margin-left: calc((var(--d) - 4px) / -2); transform: rotateY(90deg) translateZ(calc(var(--w) / 2 - 3px)); background: repeating-linear-gradient(90deg, #efe6d2 0 1px, #d8ccb2 1px 2px); }
.book3d__top, .book3d__bottom { left: 0; width: calc(100% - 3px); height: var(--d); top: 50%; margin-top: calc(var(--d) / -2); background: repeating-linear-gradient(180deg, #efe6d2 0 1px, #d8ccb2 1px 2px); }
.book3d__top { transform: rotateX(90deg) translateZ(calc(var(--h) / 2 - 2px)); }
.book3d__bottom { transform: rotateX(-90deg) translateZ(calc(var(--h) / 2 - 2px)); }
.book3d__shadow { position: absolute; left: 10%; right: -10%; bottom: -14%; height: 10%; background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent); filter: blur(6px); transform: translateZ(-80px); }
.bookx__copy { position: relative; max-width: 34rem; }
.bookx__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.8rem, 5.6vw, 5.6rem); line-height: .95; margin: 0 0 1rem; color: var(--cream); text-wrap: balance; }
.bookx__title em { color: var(--gold); font-weight: 300; }
.bookx__by { margin: 0 0 1.6rem; font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: var(--paper); }
.bookx__text { color: var(--cream-dim); font-size: 1.05rem; margin: 0 0 2.2rem; }
.bookx__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem 2rem; }

/* ---------- author ---------- */
.author { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-block: calc(92px + env(safe-area-inset-top, 0px)) clamp(2rem, 5vh, 4rem); overflow: hidden; }
.author > .wrap { width: 100%; }
.author__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; position: relative; }
.author .display { font-size: clamp(2.4rem, min(5vw, 8vh), 5.2rem); margin-bottom: clamp(.8rem, 2vh, 1.4rem); }
.author .eyebrow { margin-bottom: clamp(.7rem, 1.6vh, 1.2rem); }
.author__photo { margin: 0; grid-row: 1 / span 2; align-self: center; }
.author__copy { align-self: end; }
.author .newsletter { grid-column: 2; align-self: start; width: 100%; }
.author__polaroid { background: #fbf6ec; padding: 14px 14px 58px; transform: rotate(-3deg); box-shadow: 0 40px 70px -26px rgba(40, 25, 10, .5); position: relative; max-width: min(420px, (100vh - 240px) * .8); margin-inline: auto; }
.author__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper); }
.author__img img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.25) saturate(.9); }
.author__polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; font-family: var(--f-hand); font-size: 1.6rem; color: var(--ink); }
.author__bio { font-family: var(--f-display); font-size: clamp(1.1rem, min(1.6vw, 2.5vh), 1.5rem); line-height: 1.45; max-width: 38rem; margin: 0 0 clamp(1rem, 2.4vh, 1.8rem); }
.author__quote { margin: 0 0 clamp(1rem, 2.4vh, 1.8rem); padding: clamp(.8rem, 2vh, 1.3rem) 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); max-width: 36rem; }
.author__quote p { margin: 0 0 .5rem; font-family: var(--f-hand); font-size: clamp(1.4rem, min(2vw, 3vh), 1.8rem); color: var(--burgundy); line-height: 1.2; }
.author__quote cite { font-style: normal; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.author__social { list-style: none; padding: 0; margin: 0 0 clamp(1.2rem, 3vh, 2.2rem); display: flex; flex-wrap: wrap; gap: .6rem 1.8rem; }
.author__social a { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--ink); padding: .4rem 0; border-bottom: 1px solid var(--line-dark); transition: border-color .3s, color .3s; }
.author__social a:hover { border-color: var(--burgundy); color: var(--burgundy); }
.newsletter { background: rgba(255, 252, 244, .6); border: 1px solid var(--line-dark); border-radius: 10px; padding: clamp(1rem, 2.6vh, 1.8rem) clamp(1.2rem, 3vw, 2rem); max-width: 38rem; }
.newsletter__label { font-family: var(--f-display); font-size: clamp(1.4rem, 2.6vh, 1.7rem); display: block; line-height: 1.1; }
.newsletter__desc { margin: .3rem 0 1rem; color: var(--ink-soft); font-size: .95rem; }
.newsletter__row { display: flex; gap: .7rem; flex-wrap: wrap; }
.newsletter input { flex: 1 1 220px; min-width: 0; min-height: 52px; border-radius: 999px; border: 1px solid rgba(42, 36, 32, .25); background: #fffdf8; padding: 0 1.3rem; font: inherit; color: var(--ink); }
.newsletter input:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.newsletter__msg { margin: .5rem 0 0; min-height: 1.4em; font-family: var(--f-hand); font-size: 1.35rem; color: var(--burgundy); }

/* ---------- footer ---------- */
.foot { position: relative; z-index: 2; background: var(--charcoal); padding-block: clamp(5rem, 10vw, 8rem) calc(2rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line-light); }
.foot__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2rem; }
.foot__big { font-family: var(--f-display); font-size: clamp(3rem, 10vw, 9rem); line-height: .9; margin: 0; }
.foot__big em { color: var(--gold); font-weight: 300; }
.rewind { background: none; border: 1px solid var(--line-light); border-radius: 999px; padding: .9rem 1.6rem; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cream); transition: border-color .3s, background-color .3s; }
.rewind:hover { border-color: var(--gold); background: rgba(201, 148, 69, .1); }
.foot__row { width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line-light); color: rgba(243, 235, 221, .5); font-size: .8rem; }
.foot__row p { margin: 0; }

/* ---------- synopsis overlay ---------- */
.synopsis { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; }
.synopsis__backdrop { position: absolute; inset: 0; background: rgba(12, 10, 8, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.synopsis__sheet {
  position: relative; width: min(760px, 100%); max-height: min(86vh, 900px); overflow-y: scroll; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: var(--burgundy) rgba(106, 48, 48, .12);
  background: var(--cream); color: var(--ink); border-radius: 6px; padding: clamp(2rem, 6vw, 4rem);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .8);
  background-image: repeating-linear-gradient(180deg, transparent 0 39px, rgba(106, 48, 48, .05) 39px 40px);
}
.synopsis__sheet::-webkit-scrollbar { width: 10px; }
.synopsis__sheet::-webkit-scrollbar-track { background: rgba(106, 48, 48, .08); border-radius: 0 6px 6px 0; }
.synopsis__sheet::-webkit-scrollbar-thumb { background: var(--burgundy); border-radius: 10px; border: 3px solid var(--cream); }
.synopsis__sheet::-webkit-scrollbar-thumb:hover { background: #8a3a36; }
.synopsis__sheet .display { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.synopsis__body p { font-family: var(--f-display); font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.55; margin: 0 0 1.1rem; }
.synopsis__tease { font-family: var(--f-hand); font-size: 1.8rem; color: var(--burgundy); margin: 1.6rem 0 0; }
.synopsis__close { position: sticky; top: 0; float: right; z-index: 2; margin: -1rem -1rem 0 1rem; background: var(--cream); border: 1px solid var(--line-dark); border-radius: 999px; padding: .5rem 1rem; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.synopsis__close:hover { border-color: var(--burgundy); color: var(--burgundy); }

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .menu-btn { display: inline-block; }
  .nav__name { display: none; }
}
@media (max-width: 900px) and (min-width: 701px) {
  /* tablet: keep the desktop compositions, just tighter */
  .story { padding-bottom: clamp(3rem, 7vh, 5rem); }
  .story__grid { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .story .display { font-size: clamp(2.4rem, 5.6vw, 3.2rem); margin-bottom: 1rem; }
  .story__teaser { font-size: 1.12rem; max-width: 40rem; margin-bottom: 1.2rem; }
  .story__quote { margin-bottom: 1.4rem; }
  .story__quote p { font-size: 1.4rem; }
  .story__photos { height: min(40vw, 46vh, 360px); max-width: 640px; margin-inline: auto; width: 100%; }
  .polaroid { width: min(46%, 290px); padding: 9px 9px 40px; }
  .polaroid figcaption { font-size: 1.15rem; bottom: 8px; }
  .polaroid--a { left: 2%; } .polaroid--b { right: 2%; }

  .world__places { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.4rem 1.4rem; }
  .world__places .place { grid-column: auto !important; margin-top: 0 !important; }
  .world__places .place:last-child:nth-child(odd) { grid-column: 1 / -1 !important; justify-self: center; width: calc(50% - .7rem); }
  .place__img, .place--tall .place__img { aspect-ratio: 16 / 11; }
  .place__cap { grid-template-columns: minmax(0, 1fr); gap: .4rem; margin-top: .8rem; padding-top: .8rem; }
  .place__cap p { font-size: 1.05rem; }

  .char { grid-template-columns: minmax(96px, .8fr) minmax(0, 1.5fr) minmax(0, 1.9fr); gap: .6rem 1.2rem; padding: 1.3rem 0; }
  .char__name { font-size: clamp(1.5rem, 3.4vw, 2rem); }
  .char__desc { font-size: .82rem; line-height: 1.5; }
  .char__role { font-size: .6rem; }
  .char__phrase { font-size: 1.3rem; }

  .music { padding-block: clamp(4rem, 9vh, 6rem); }
  .music__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
  .music .display { font-size: clamp(2.2rem, 5vw, 2.9rem); }
  .music__text { font-size: .92rem; margin-bottom: 1.4rem; }
  .music__controls { gap: .8rem 1.2rem; }
  .music__controls .btn { min-height: 46px; padding: .8rem 1.4rem; }
  .music__deck { gap: 1.4rem; }
  .cassette, .jcard { width: min(100%, 340px); }
  .jcard { padding: .8rem 1.1rem; }
  .jcard__list { font-size: 1.05rem; line-height: 26px; }
  .jcard { background-image: repeating-linear-gradient(180deg, transparent 0 25px, rgba(47, 74, 106, .18) 25px 26px); }
  .cassette__hint { font-size: 1.05rem; margin-top: -.6rem; }

  .bookx__pin { gap: 1.2rem; }
  .bookx__title { font-size: clamp(2.2rem, 5.4vw, 3.2rem); }
  .bookx__text { font-size: .92rem; margin-bottom: 1.4rem; }
  .bookx__ctas { gap: 1rem; }
  .book3d { --w: clamp(170px, 26vw, 240px); }

  .author__grid { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 1.6rem 2.4rem; }
  .author__photo { grid-row: 1; }
  .author__polaroid { max-width: min(280px, (100vh - 420px) * .8); padding: 10px 10px 44px; }
  .author__polaroid figcaption { font-size: 1.2rem; bottom: 10px; }
  .author .display { font-size: clamp(2.2rem, 5vw, 2.8rem); }
  .author__bio { font-size: 1.05rem; margin-bottom: .9rem; }
  .author__quote { padding: .7rem 0; margin-bottom: .9rem; }
  .author__quote p { font-size: 1.3rem; }
  .author__social { margin-bottom: 0; }
  .author .newsletter { grid-column: 1 / -1; grid-row: 2; justify-self: center; max-width: 600px; text-align: center; }
  .author .newsletter__row { justify-content: center; }
}
@media (max-width: 700px) {
  .nav__logo { height: 26px; }
  .story__grid, .music__grid, .author__grid { grid-template-columns: minmax(0, 1fr); }
  .author__photo, .author .newsletter { grid-row: auto; grid-column: auto; }
  .story__photos { height: 120vw; max-height: 620px; }
  .world__places { grid-template-columns: minmax(0, 1fr); row-gap: 3rem; }
  .world__places .place { grid-column: 1 / -1 !important; margin-top: 0 !important; }
  .place--tall .place__img { aspect-ratio: 4 / 5; }
  .char { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .char__phrase { grid-column: 1; }
  .bookx__pin { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; text-align: center; padding-top: 80px; gap: 0; }
  .bookx__copy { margin: 0 auto; padding-bottom: 1rem; }
  .bookx__ctas { justify-content: center; }
  .bookx__text { display: none; }
  .bookx__title { font-size: clamp(2.2rem, 9vw, 3.4rem); }
  .book3d { --w: clamp(150px, 40vw, 230px); }
  .author__photo { max-width: 360px; margin-inline: auto; }
  .box { min-height: 0; padding-block: clamp(5rem, 14vw, 7rem) 4rem; }
  .box__stage { min-height: 0; max-height: none; flex: none; }
  body { font-size: 15px; }
  .camcorder { font-size: .66rem; gap: .7rem; bottom: auto; top: calc(80px + env(safe-area-inset-top, 0px)); }
  .camcorder--r { display: none; }
  .hero__content { margin-top: 0; }
  .hero__title { font-size: clamp(2.6rem, 12.4vw, 6rem); }
  .hero__lede { font-size: .95rem; margin-top: 2.2rem; }
  .hero__title { line-height: .9; }
  .scroll-cue span { display: none; }
  .place__cap { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .char { padding: 1.4rem 0; cursor: pointer; }
  .char__mobile-img { display: block; grid-row: 1; overflow: hidden; border-radius: 4px; max-height: 0; opacity: 0; transition: max-height .7s var(--ease), opacity .5s, margin .5s; }
  .char__mobile-img img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
  .char.is-active .char__mobile-img { max-height: 260px; opacity: 1; margin-bottom: .8rem; }
  .char.is-active .char__phrase { max-height: 6rem; }
  .timeline__track { padding-left: 82vw; }
  .mem { width: 72vw; padding-top: 12vh; }
  .mem:nth-child(even), .mem:nth-child(3n) { margin-top: 0; }
  .timeline__year { font-size: 52vw; bottom: 4vh; }
  .box__stage { height: auto; width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.4rem 1rem; padding: 0 var(--gutter-r) 0 var(--gutter); justify-items: center; align-items: center; }
  .item { position: relative; left: auto; top: auto; }
  .item--vhs, .item--notebook { grid-column: 1 / -1; }
  .item--cd, .item--tape, .item--note, .item--photo, .item--photo-b, .item--ticket { width: 100%; max-width: 190px; }
  .item--cd .cd, .mini-tape, .ticket { width: 100%; }
  .bracelet { width: 110px; }
  .letters { height: 300vh; }
  .letters__pin { padding-top: calc(84px + env(safe-area-inset-top, 0px)); }
  .envelope { width: 84vw; }
  .letter__body { padding: 8% 7% 0; }
  .hand { line-height: 32px; white-space: normal; font-size: 1.22rem; }
  .letter { background-image: repeating-linear-gradient(180deg, transparent 0 31px, rgba(47, 74, 106, .14) 31px 32px); background-position: 0 24px; }
  .foot__row { justify-content: center; text-align: center; }
}
@media (max-height: 640px) and (min-width: 701px) {
  .hero__lede { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .grain, .hero__leak, .scroll-cue i, .rec-dot { animation: none; }
  * { scroll-behavior: auto !important; }
}
