@font-face { font-family: Cinzel; src: url(/assets/fonts/cinzel.woff2) format('woff2'); font-weight: 400 900; font-display: swap; }
@font-face { font-family: 'IM Fell English'; src: url(/assets/fonts/fell.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'IM Fell English'; src: url(/assets/fonts/fell-italic.woff2) format('woff2'); font-style: italic; font-display: swap; }

:root {
  --night: #061518; --teal: #0e1a1c; --teal2: #1f3a3d; --moss: #313831;
  --fog: #9aa7a2; --moon: #d9d6c8; --bone: #e8e2d0; --paper: #e4dece; --ink: #14201f;
  --orange: #e8781e; --orange-hot: #ffb15c;
  --serif: 'IM Fell English', 'EB Garamond', Garamond, Georgia, serif;
  --caps: Cinzel, 'Trajan Pro', Georgia, serif;
  --vh: 1vh;
}
* { box-sizing: border-box; }
html { background: var(--night); color: var(--bone); scroll-behavior: auto; }
body { margin: 0; font-family: var(--serif); font-size: 18px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: none; }
a { color: inherit; }
em { font-style: normal; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 50; background: var(--bone); color: var(--night); padding: 8px 14px; font-family: var(--caps); font-size: 13px; letter-spacing: .12em; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--orange-hot); outline-offset: 3px; }

/* the small controls that stay all the way down */
.chrome { position: fixed; inset: 0 0 auto 0; z-index: 40; display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; pointer-events: none; }
.chrome > * { pointer-events: auto; }
.pill { margin-left: auto; font-family: var(--caps); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--bone); border: 1px solid rgba(232, 120, 30, .7); background: rgba(6, 21, 24, .55); padding: 8px 16px; border-radius: 999px; backdrop-filter: blur(6px); transition: opacity .6s, background .3s; }
.pill:hover { background: var(--orange); color: var(--night); }
.js .pill { opacity: 0; }
.js .pill.on { opacity: 1; }
.sound { font: 12px var(--caps); letter-spacing: .16em; text-transform: uppercase; color: var(--bone); background: rgba(6, 21, 24, .55); border: 1px solid rgba(232, 226, 208, .35); border-radius: 999px; padding: 8px 14px; display: flex; gap: 8px; align-items: center; cursor: pointer; backdrop-filter: blur(6px); }
.sound[hidden] { display: none; }
.sound-icon { width: 14px; height: 10px; background: linear-gradient(90deg, currentColor 2px, transparent 2px 4px, currentColor 4px 6px, transparent 6px 8px, currentColor 8px 10px, transparent 10px 12px, currentColor 12px) bottom / 100% 40% no-repeat; }
.sound[aria-pressed="true"] .sound-icon { background-size: 100% 100%; }

.btn-orange { display: inline-block; font-family: var(--caps); font-weight: 600; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: #140b03; background: var(--orange); padding: 14px 26px; border-radius: 2px; box-shadow: 0 0 0 rgba(232, 120, 30, 0); transition: box-shadow .4s, background .3s; }
.btn-orange:hover { background: var(--orange-hot); box-shadow: 0 0 36px rgba(232, 120, 30, .55); }
.btn-orange.big { font-size: 15px; padding: 16px 32px; }
.date { font-family: var(--caps); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; margin: 12px 0 0; opacity: .9; text-shadow: 0 0 14px rgba(2, 8, 9, .9); }

/* ---------- the film: one sticky stage, every scene layered inside it ---------- */
.film { position: relative; }
.stage { position: relative; }
.scene { position: relative; min-height: 100vh; overflow: hidden; }
.scene .bg, .scene .bg-lights { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.scene .bg-lights { display: none; }
.cut { position: absolute; height: auto; pointer-events: none; z-index: 1; }
.fx { display: none; }

.js.film-on .film { height: calc(var(--film-screens, 18.5) * var(--vh) * 100); }
.js.film-on .stage { position: sticky; top: 0; height: calc(var(--vh) * 100); overflow: hidden; background: var(--night); }
.js.film-on .scene { position: absolute; inset: 0; min-height: 0; visibility: hidden; }
.js.film-on .scene.live { visibility: visible; }
.js.film-on .scene .bg-lights { display: block; }
.js.film-on .fx { display: block; position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.js.film-on .scene .bg, .js.film-on .cut, .js.film-on .bg-lights { will-change: transform, opacity; }
/* the walk and gallop frames: only one is up at a time, so they skip their own layers */
.js.film-on .cut[aria-hidden="true"] { will-change: auto; }

/* fog, made in code */
.fog { position: absolute; inset: 0; background-repeat: repeat-x; opacity: 0; will-change: transform, opacity; }
.fog-left, .fog-right { background-image: url(/assets/art/fog-a.webp); background-size: 1024px 100%; width: 70%; }
.fog-left { left: 0; -webkit-mask-image: linear-gradient(90deg, #000 30%, transparent); mask-image: linear-gradient(90deg, #000 30%, transparent); animation: drift 90s linear infinite; }
.fog-right { left: auto; right: 0; background-image: url(/assets/art/fog-b.webp); -webkit-mask-image: linear-gradient(270deg, #000 30%, transparent); mask-image: linear-gradient(270deg, #000 30%, transparent); animation: drift 110s linear infinite reverse; }
.fog-low { top: auto; height: 55%; background-image: url(/assets/art/fog-low.webp); background-size: 1024px 100%; animation: drift 70s linear infinite; }
.fog-full { background: radial-gradient(ellipse at 50% 60%, rgba(160, 172, 166, .95), rgba(110, 126, 122, .97) 60%, rgba(70, 86, 84, 1)); }
.fog-full::after { content: ''; position: absolute; inset: 0; background: url(/assets/art/fog-a.webp) 0 0 / 1024px 100% repeat-x; animation: drift 60s linear infinite; opacity: .8; }
@keyframes drift { to { background-position: 1024px 0; } }
.dark { position: absolute; inset: 0; background: #020809; opacity: 0; }
.grain { position: absolute; inset: -50%; background: url(/assets/art/grain.png); opacity: .5; mix-blend-mode: overlay; animation: grain 1.2s steps(4) infinite; }
@keyframes grain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-1%, 3%); } }
.burst { position: absolute; inset: 0; width: 100%; height: 100%; }

/* the one warm thing: the lantern glow that travels the whole film */
.glow { position: absolute; left: 0; top: 0; width: 0; height: 0; opacity: 0; will-change: transform, opacity; }
.glow i { position: absolute; left: -50px; top: -50px; width: 100px; height: 100px; border-radius: 50%;
  background: radial-gradient(circle, #fff3dc 0 6%, #ffb15c 12%, rgba(232, 120, 30, .85) 24%, rgba(232, 120, 30, .32) 42%, rgba(232, 120, 30, .08) 62%, transparent 72%);
  transform: scale(var(--gs, .1)); mix-blend-mode: screen; }

/* hero */
.hero-copy { position: absolute; left: 7vw; top: 12vh; max-width: 54vw; z-index: 7; }
.title { margin: 0; font-family: var(--caps); font-weight: 600; font-size: clamp(54px, 9.6vw, 168px); line-height: .9; letter-spacing: .04em; text-transform: uppercase; color: var(--bone); text-shadow: 0 0 40px rgba(6, 21, 24, .8), 0 2px 1px rgba(0, 0, 0, .4); }
.title-word { display: block; }
.subtitle { font-family: var(--caps); font-size: clamp(12px, 1.15vw, 17px); letter-spacing: .34em; text-transform: uppercase; margin: 18px 0 0; color: var(--bone); text-shadow: 0 0 18px rgba(2, 8, 9, .95); }
.byline { font-family: var(--caps); font-size: clamp(12px, 1.1vw, 16px); letter-spacing: .4em; text-transform: uppercase; margin: 8px 0 0; color: var(--moon); text-shadow: 0 0 18px rgba(2, 8, 9, .95); }
.hero-buy { margin-top: 34px; }
.skip-inline { display: inline-block; margin-top: 10px; font-size: 15px; color: var(--fog); }
.hero-book { position: absolute; right: 9vw; top: 17vh; width: min(26vw, 380px); height: 62vh; margin: 0; z-index: 2; }
.hero-book img[data-book-fallback] { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .6)); }

/* story lines: words inside the scene, in its open space */
.line { position: absolute; z-index: 7; margin: 0; font-family: var(--serif); font-size: clamp(24px, 3vw, 46px); line-height: 1.15; color: var(--bone); text-shadow: 0 0 24px rgba(2, 8, 9, .9), 0 0 4px rgba(2, 8, 9, .6); max-width: 46vw; }
.line .key { font-size: 1.32em; }
.line.small { font-size: clamp(18px, 1.9vw, 28px); }
.line span { display: inline; }
.js.film-on .line { opacity: 0; transform: var(--base, translate(0)) translate(var(--tx, 0px), var(--ty, 0px)) scale(var(--sc, 1)); will-change: opacity, transform; }
.l-sky { left: 50%; top: 13vh; --base: translateX(-50%); text-align: center; max-width: 70vw; }
.l-lane { left: 8vw; top: 46vh; }
.l-window { right: 7vw; top: 16vh; text-align: right; max-width: 40vw; }
.l-brom { left: 7vw; top: 18vh; max-width: 42vw; }
.l-dark { left: 7vw; bottom: 16vh; max-width: 48vw; }
.l-road { left: 50%; top: 60vh; --base: translateX(-50%); text-align: center; white-space: nowrap; }
.l-far { left: 76vw; top: 50vh; letter-spacing: .2em; }
.l-gap { left: 50%; top: 16vh; --base: translateX(-50%); text-align: center; white-space: nowrap; }
.l-gap2 { left: 50%; top: 27vh; --base: translateX(-50%); text-align: center; white-space: nowrap; color: var(--fog); font-style: italic; }
.l-center { left: 50%; top: 34vh; --base: translateX(-50%); text-align: center; white-space: nowrap; font-family: var(--caps); font-size: clamp(22px, 2.6vw, 40px); letter-spacing: .08em; text-transform: uppercase; max-width: none; }
.l-center .headless { display: block; font-size: clamp(64px, 12vw, 210px); line-height: 1; letter-spacing: .06em; color: var(--bone); text-shadow: 0 0 2px var(--orange), 0 0 30px rgba(232, 120, 30, .7), 0 0 90px rgba(232, 120, 30, .35); }
.l-horse { left: 6vw; top: 18vh; }
.l-hat { left: 34vw; top: 30vh; }
.l-shards { right: 6vw; top: 22vh; text-align: right; }
.l-shards .key { color: var(--orange); }
.l-hook { left: 50%; top: 14vh; --base: translateX(-50%); text-align: center; max-width: 80vw; text-shadow: none; }
.hook { margin: 0 0 22px; font-size: clamp(30px, 4vw, 60px); color: var(--ink); text-shadow: 0 0 30px rgba(232, 226, 208, .9); }

/* scene pieces */
.window-glow { position: absolute; left: 82.5%; top: 26%; width: 18vw; height: 18vw; margin: -9vw 0 0 -9vw; border-radius: 50%; background: radial-gradient(circle, rgba(240, 232, 205, .55), rgba(240, 232, 205, .12) 35%, transparent 65%); mix-blend-mode: screen; opacity: 0; z-index: -1; }
.ichabod { left: 28vw; bottom: -2vh; height: 62vh; width: auto; }
.brom { right: 8vw; bottom: -3vh; height: 74vh; width: auto; }
.brom-shadow { position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, transparent 0 var(--edge, 100%), rgba(2, 8, 9, .82) calc(var(--edge, 100%) + 6%)); }
.door-line { position: absolute; left: 50%; top: 40%; width: 2px; height: 14%; background: #f3ead2; box-shadow: 0 0 18px 4px rgba(243, 234, 210, .6); opacity: 0; z-index: -1; }
.horseman { left: 0; top: 24vh; height: 60vh; width: auto; }
.lantern-light { position: absolute; inset: 0; z-index: 2; opacity: 0; background: radial-gradient(circle at var(--lx, 50%) var(--ly, 40%), rgba(255, 170, 80, .55), rgba(232, 120, 30, .22) 14%, rgba(232, 120, 30, .06) 32%, transparent 48%); mix-blend-mode: screen; }
.horse { left: 6vw; bottom: 2vh; height: 50vh; width: auto; }
.hat { left: 47vw; bottom: 5vh; height: 12vh; width: auto; }
.shards { right: 8vw; bottom: 3vh; height: 20vh; width: auto; }

/* ---------- after the film: the calm morning paper ---------- */
.paper { position: relative; background: linear-gradient(180deg, #cfcabb 0, var(--paper) 22vh, #ddd6c4 100%); color: var(--ink); padding: 14vh 6vw 16vh; overflow: hidden; min-height: 100vh; }
.paper::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 26vh; background: url(/assets/art/fog-a.webp) 0 0 / 1024px 100% repeat-x; opacity: .9; pointer-events: none; }
.branches { position: absolute; inset: 0; background: url(/assets/art/branches-left.webp) left top / auto 62vh no-repeat, url(/assets/art/branches-right.webp) right top / auto 62vh no-repeat; opacity: .55; pointer-events: none; }
.paper-horse { position: absolute; left: 1vw; bottom: 5vh; height: 36vh; width: auto; opacity: .92; filter: sepia(.15) saturate(.7) brightness(1.08) contrast(.95); }
.paper-hat { position: absolute; left: 21vw; bottom: 5vh; height: 8vh; width: auto; opacity: .9; filter: saturate(.7) brightness(1.08); }
.buy { position: relative; display: grid; grid-template-columns: minmax(260px, 420px) minmax(280px, 480px); gap: 5vw; justify-content: center; align-items: center; margin-left: 26vw; }
.buy-book { margin: 0; height: 64vh; min-height: 420px; position: relative; }
.buy-book img[data-book-fallback] { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(20, 32, 31, .35)); }
.buy-title { font-family: var(--caps); font-weight: 600; font-size: clamp(40px, 5vw, 76px); line-height: .95; text-transform: uppercase; letter-spacing: .04em; margin: 0; }
.buy-sub { font-family: var(--caps); font-size: 13px; letter-spacing: .24em; text-transform: uppercase; margin: 14px 0 30px; color: #3d4a48; }
.paper .date { color: #3d4a48; }
.review { margin: 34px 0 0; }
.review + .review { margin-top: 22px; }
.review blockquote { margin: 0; font-style: italic; font-size: 24px; line-height: 1.3; }
.review figcaption { font-family: var(--caps); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin-top: 6px; color: #4b5856; }

.author { position: relative; min-height: 92vh; background: linear-gradient(180deg, #ddd6c4 0, #6f7a76 18vh, #13221f 46vh, var(--night)); overflow: hidden; padding: 30vh 6vw 22vh; }
.author-road { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; -webkit-mask-image: linear-gradient(180deg, transparent 20%, #000 60%); mask-image: linear-gradient(180deg, transparent 20%, #000 60%); }
.author-fog { position: absolute; inset: auto 0 0 0; height: 70%; opacity: .55; animation-duration: 80s; }
.author-fog.fog-left { width: 60%; }
.author-fog.fog-right { width: 60%; left: auto; right: 0; }
.author-point { position: absolute; left: 50%; top: 66%; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: var(--orange-hot); box-shadow: 0 0 10px 4px rgba(232, 120, 30, .8), 0 0 40px 12px rgba(232, 120, 30, .3); opacity: 0; transition: opacity 2.4s; }
.author-point.on { opacity: 1; }
.author-copy { position: relative; max-width: 640px; margin: 0 auto; text-align: center; }
.author-copy h2 { font-family: var(--caps); font-weight: 400; font-size: 14px; letter-spacing: .3em; text-transform: uppercase; color: var(--fog); margin: 0 0 18px; }
.author-copy p { font-size: 23px; line-height: 1.55; margin: 0; }
.author-copy em { color: var(--moon); }
.foot { position: relative; margin-top: 18vh; text-align: center; font-size: 15px; color: var(--fog); }
.foot a { color: var(--bone); }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 1.4s ease, transform 1.4s ease; }
.js .reveal.seen { opacity: 1; transform: none; }

/* ---------- still version: no JavaScript, or reduced motion ---------- */
html:not(.film-on) .scene { display: flex; flex-direction: column; justify-content: flex-start; padding: 16vh 7vw 12vh; gap: 18px; }
html:not(.film-on) .scene .line { position: relative; inset: auto; transform: none; max-width: 640px; font-size: clamp(24px, 3vw, 40px); }
html:not(.film-on) .scene .line.l-hook { margin: 0 auto; text-align: center; }
html:not(.film-on) .scene[data-scene="hero"] { justify-content: flex-start; }
html:not(.film-on) .hero-copy { position: relative; left: 0; top: 0; }
html:not(.film-on) .hero-book { width: 26vw; height: 60vh; }
html:not(.film-on) .scene::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 21, 24, .55), rgba(6, 21, 24, .1) 50%, rgba(6, 21, 24, .5)); }
html:not(.film-on) .scene[data-scene="morning"]::after { background: linear-gradient(180deg, rgba(232, 226, 208, .5), transparent 50%); }
html:not(.film-on) .scene[data-scene="morning"] .line { color: var(--ink); text-shadow: 0 0 20px rgba(232, 226, 208, .9); }
html:not(.film-on) .scene[data-scene="horseman"] .horseman { left: 18vw; }
html:not(.film-on) .scene[data-scene="horseman"] .line { margin-top: auto; text-align: center; }
html:not(.film-on) .ichabod { left: auto; right: 12vw; height: 50vh; }
html:not(.film-on) .brom { height: 56vh; }
html:not(.film-on) .scene[data-scene="morning"] .cut.horse { height: 36vh; }
html:not(.film-on) .scene[data-scene="hero"] .bg, html:not(.film-on) .scene[data-scene="road"] .bg-b { }
html:not(.film-on) .scene[data-scene="road"] .bg-b { display: none; }
html:not(.film-on) .l-center .headless { font-size: clamp(54px, 9vw, 140px); }

/* ---------- phones ---------- */
@media (max-width: 760px) {
  body { font-size: 17px; }
  .hero-copy { left: 6vw; right: 6vw; top: 9vh; max-width: none; text-align: center; }
  .title { font-size: 17vw; }
  .subtitle { letter-spacing: .22em; font-size: 11px; }
  .byline { font-size: 11px; }
  .hero-buy { margin-top: 18px; }
  .hero-buy .btn-orange { padding: 12px 20px; font-size: 13px; }
  .hero-book { left: 24vw; right: auto; top: auto; bottom: 7vh; width: 52vw; height: 38vh; }
  .line { font-size: 25px; max-width: 88vw; }
  .line.small { font-size: 19px; }
  .l-sky, .l-lane, .l-window, .l-brom, .l-dark, .l-road, .l-gap, .l-horse, .l-hat, .l-shards, .l-hook, .l-center { left: 6vw; right: 6vw; top: 11vh; bottom: auto; --base: translate(0); text-align: center; max-width: none; white-space: normal; }
  .l-window.small { top: 22vh; }
  .l-far { left: 50%; top: 22vh; --base: translateX(-50%); }
  .l-gap2 { left: 6vw; right: 6vw; top: 20vh; --base: translate(0); text-align: center; white-space: normal; }
  .l-center { top: 13vh; }
  .l-center .headless { font-size: 14.5vw; }
  .ichabod { left: 18vw; height: 46vh; }
  .brom { right: -6vw; height: 54vh; }
  .horseman { top: 40vh; height: 34vh; }
  .horse { left: -8vw; bottom: 4vh; height: 30vh; }
  .hat { left: 62vw; height: 7vh; bottom: 2vh; }
  .shards { right: 2vw; height: 11vh; bottom: 14vh; }
  .hook { font-size: 30px; }
  .paper { padding: 12vh 6vw 44vh; }
  .buy { grid-template-columns: 1fr; margin: 0; margin-left: 0; justify-items: center; text-align: center; gap: 24px; }
  .buy-book { height: 46vh; min-height: 300px; width: 70vw; }
  .paper-horse { height: 26vh; left: -6vw; bottom: 9vh; }
  .paper-hat { left: 52vw; bottom: 10vh; height: 7vh; }
  .branches { background-size: auto 34vh, auto 34vh; }
  .author { padding: 24vh 7vw 20vh; }
  .author-copy p { font-size: 20px; }
  .chrome { padding: 10px 12px; }
  html:not(.film-on) .scene { padding: 12vh 6vw 10vh; }
  html:not(.film-on) .hero-book { position: relative; right: auto; left: auto; bottom: auto; transform: none; width: 60vw; height: 40vh; margin: 20px auto 0; }
}

/* the bottom tape: concept notice */
.tape { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; height: 30px; padding-bottom: env(safe-area-inset-bottom); background: repeating-linear-gradient(-45deg, rgba(247, 205, 40, .92) 0 14px, rgba(232, 190, 25, .92) 14px 28px); color: #111; font: 600 11px/1 system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; pointer-events: none; box-shadow: 0 -1px 0 rgba(0, 0, 0, .5), 0 1px 0 rgba(0, 0, 0, .5) inset; }
.tape-run { flex: 1; overflow: hidden; white-space: nowrap; }
.tape-track { display: inline-flex; animation: tape 40s linear infinite; }
.tape-track span { padding-right: 2.4em; }
.tape.paused .tape-track { animation-play-state: paused; }
@keyframes tape { to { transform: translateX(-50%); } }
.tape-pause, .tape-cta { pointer-events: auto; }
.tape-pause { width: 30px; height: 30px; border: 0; border-left: 1px solid rgba(0, 0, 0, .4); background: rgba(0, 0, 0, .08); color: #111; cursor: pointer; display: grid; place-items: center; }
.tape-cta { display: flex; flex-direction: column; justify-content: center; height: 30px; padding: 0 12px; background: #111; color: #f7cd28; text-decoration: none; font-size: 10px; line-height: 1.05; }
.tape-cta small { font-size: 8px; color: #fff; letter-spacing: .14em; }
body { padding-bottom: 30px; }

@media (prefers-reduced-motion: reduce) {
  .tape-track, .fog, .grain, .fog-full::after { animation: none !important; }
  .js .reveal { transition: opacity .6s; transform: none; }
}
