@font-face { font-family: 'Montserrat'; src: url(/assets/fonts/montserrat.woff2) format('woff2'); font-weight: 300 600; font-display: swap; }
@font-face { font-family: 'Anton'; src: url(/assets/fonts/anton.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Libre Caslon Text'; src: url(/assets/fonts/caslon.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Libre Caslon Text'; src: url(/assets/fonts/caslon-italic.woff2) format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Libre Caslon Text'; src: url(/assets/fonts/caslon-bold.woff2) format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --ivory: #F5F0E6; --ink: #141414; --red: #B52C25; --beige: #E8E0D2;
  --serif: 'Libre Caslon Text', Georgia, serif; --sans: 'Montserrat', system-ui, sans-serif; --heavy: 'Anton', Impact, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--ivory); color: var(--ink); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 18px/1.6 var(--serif); }
img { max-width: 100%; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 80; padding: 8px 14px; background: var(--ink); color: var(--ivory); text-decoration: none; font: 500 13px var(--sans); }
.skip:focus { top: 12px; }

.btn { display: inline-block; padding: 15px 30px; background: var(--red); color: #fff; text-decoration: none; font: 500 13px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; border: 1px solid var(--red); transition: background .2s, color .2s; }
.btn:hover, .btn:focus-visible { background: var(--ivory); color: var(--red); }
.quiet { font: 500 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.quiet.small { font-size: 11px; opacity: .7; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.pill { position: fixed; top: 16px; right: 16px; z-index: 50; padding: 10px 18px; background: var(--red); color: #fff; font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; opacity: 0; pointer-events: none; transition: opacity .4s; }
.pill.on { opacity: 1; pointer-events: auto; }

/* ---------- the film: one sticky stage ---------- */
.film { position: relative; height: calc(var(--screens, 14.5) * 100svh + 100svh); }
.stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--ivory); }
.world { position: absolute; left: 0; top: 0; width: 1875px; height: 2775px; transform-origin: 0 0; will-change: transform; visibility: hidden; }
.world.on { visibility: visible; }
.L { position: absolute; display: block; max-width: none; transform-origin: 0 0; }
.scene-art { left: 0; top: 0; width: 1875px; height: 2775px; }
.sea { top: 1500px; width: 900px; height: 1275px; }
.sea-left { left: -900px; } .sea-right { left: 1875px; }
.shore { width: 2000px; height: 732px; left: 0; top: 0; opacity: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 86%, transparent); }
.town { width: 2000px; height: 1333px; left: 0; top: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 86%, transparent); }
.bunting { left: -700px; top: 610px; width: 3200px; height: 260px; overflow: visible; }
.person img { position: absolute; inset: 0; width: 100%; height: 100%; }
.person .worried { opacity: 0; }
.person, .handshake { opacity: 0; }
.mirror { transform: scaleX(-1); }
.glint { width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; background: radial-gradient(circle, rgba(181, 44, 37, .95) 0 10%, rgba(181, 44, 37, .35) 30%, transparent 62%); mix-blend-mode: multiply; opacity: 0; }
.chain-svg { overflow: visible; }
.chain-path { stroke-width: 120; }
.ghost-path { stroke-width: 9; stroke-dasharray: 26 16; opacity: 0; }
.chain-red { opacity: 0; }
.cover-flat { opacity: 1; }
.type { opacity: 0; }
.wash { position: absolute; inset: 0; background: var(--beige); mix-blend-mode: multiply; opacity: 0; pointer-events: none; }
.grain { position: absolute; inset: -50%; pointer-events: none; opacity: .06; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* hero */
.hero { position: absolute; inset: 0; display: flex; align-items: center; padding: 0 0 0 7vw; pointer-events: none; }
.hero-copy { width: min(46vw, 640px); pointer-events: auto; }
.title { margin: 0; font: 500 clamp(26px, 3.3vw, 54px)/1.25 var(--sans); letter-spacing: .32em; text-transform: uppercase; }
.title span { display: block; white-space: nowrap; }
.title .t1 { color: var(--red); }
.subtitle { margin: 18px 0 0; font: 400 clamp(14px, 1.15vw, 18px)/1.4 var(--sans); letter-spacing: .04em; }
.byline { margin: 10px 0 0; font: 400 clamp(20px, 1.8vw, 28px)/1 var(--heavy); letter-spacing: .14em; text-transform: uppercase; }
.headline { margin: 6vh 0 0; font: 400 clamp(24px, 2.4vw, 40px)/1.22 var(--serif); }
.headline .key { font-style: italic; color: var(--red); }
.intro { margin: 18px 0 0; max-width: 34em; font-size: clamp(15px, 1.1vw, 17px); color: #4a463f; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 28px; margin-top: 30px; }
.stage-book { position: absolute; left: 0; top: 0; margin: 0; width: 300px; height: 450px; transform-origin: 0 0; z-index: 3; }
.stage-book > img { width: 100%; height: 100%; object-fit: contain; }

/* story lines */
.lines { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.line { position: absolute; margin: 0; font: 400 clamp(28px, 3.2vw, 54px)/1.12 var(--serif); opacity: 0; max-width: 40vw; }
.line > span { display: block; }
.line .key { font-style: italic; font-size: 1.32em; line-height: .95; }
.line .key.red { color: var(--red); }
.line.l-dark .key { color: var(--ink); }
.l-left { left: 6vw; top: 14vh; }
.l-left.l-second { top: calc(14vh + 1.5em); }
.l-left:not(.l-dark) > span { white-space: nowrap; }
.l-right { right: 6vw; top: 16vh; text-align: right; }
.l-top { left: 6vw; top: 7vh; max-width: 62vw; }
.l-top > span { display: inline; }
.l-list { right: 6vw; text-align: right; top: 31vh; font-size: clamp(20px, 2vw, 32px); line-height: 1.3; font-family: var(--sans); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.l-list > span { opacity: 0; }
.l-slam { right: 6vw; top: 10vh; text-align: right; font-family: var(--sans); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-size: clamp(18px, 1.75vw, 32px); line-height: 1.5; }
.l-slam .s1 .key { font-size: 3.4em; }
.l-slam .s1 .key { font-family: var(--heavy); font-style: normal; font-size: 2.6em; letter-spacing: .06em; line-height: 1.05; }
.l-slam > span { opacity: 0; }
.l-hook { left: 54vw; top: 30vh; max-width: 40vw; }
.l-hook .h1 { font-size: .7em; opacity: .55; margin-bottom: .3em; transition: opacity .6s; }
.l-follow { left: 54vw; top: 62vh; pointer-events: auto; }
.l-right.l-dark { top: 12vh; max-width: 40vw; }
.l-right.l-dark .key { color: var(--ink); }
.l-right.l-dark .key.red { color: var(--red); }
.still-pic { display: none; }

.hang { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; overflow: visible; }
.hang .link-o, .hang-tail .link-o { fill: none; stroke: var(--ink); stroke-width: 4.5; }
.hang .link-e, .hang-tail .link-e { fill: var(--ink); }

/* ---------- the town notice ---------- */
.notice { position: relative; background: var(--beige); padding: 120px 6vw 90px; }
.notice::before, .author::before { content: ''; position: absolute; left: 6vw; right: 6vw; top: 48px; height: 7px; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink); }
.hang-tail { position: absolute; left: 0; top: 0; width: 100%; height: 130px; overflow: visible; pointer-events: none; }
.hang-tail .ring { fill: none; stroke: var(--ink); stroke-width: 6; }
.notice-sheet { display: grid; grid-template-columns: minmax(260px, 5fr) 7fr; gap: 6vw; max-width: 1240px; margin: 0 auto; align-items: start; }
.notice-book { position: sticky; top: 8vh; }
.buy-book { margin: 0; width: 100%; aspect-ratio: 4 / 5; position: relative; }
.buy-book > img { width: 100%; height: 100%; object-fit: contain; }
.notice-kicker { margin: 0 0 18px; font: 500 12px/1 var(--sans); letter-spacing: .36em; text-transform: uppercase; color: var(--red); }
.notice-title { margin: 0; font: 500 clamp(26px, 3vw, 46px)/1.25 var(--sans); letter-spacing: .3em; text-transform: uppercase; }
.notice-title span { display: block; }
.notice-title .t1 { color: var(--red); }
.notice-sub { margin: 14px 0 0; font: 400 16px/1.4 var(--sans); letter-spacing: .04em; }
.notice-by { margin: 8px 0 0; font: 400 15px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.notice-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin: 34px 0 44px; padding-bottom: 40px; border-bottom: 1px solid rgba(20, 20, 20, .35); }
.notice-body { max-width: 36em; }
.notice-body h3 { margin: 0 0 14px; font: 500 13px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; }
.notice-body p { margin: 0 0 1em; }
.notice-body p:first-of-type::first-letter { float: left; font: 400 3.6em/.85 var(--serif); padding: 6px 10px 0 0; color: var(--red); }

/* ---------- the author ---------- */
.author { position: relative; background: var(--beige); padding: 120px 6vw 120px; }
.author-sheet { display: grid; grid-template-columns: minmax(220px, 4fr) 8fr; gap: 6vw; max-width: 1240px; margin: 0 auto; align-items: center; }
.author-photo { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 30%; border: 1px solid var(--ink); padding: 8px; background: var(--ivory); }
.author-name { margin: 0 0 22px; font: 400 clamp(44px, 6vw, 92px)/1 var(--heavy); letter-spacing: .08em; text-transform: uppercase; }
.author-copy p { max-width: 36em; }
.author-copy .btn { margin-top: 18px; }
.foot { max-width: 1240px; margin: 90px auto 0; padding: 22px 0 60px; border-top: 1px solid rgba(20, 20, 20, .35); font: 500 11px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; }

/* ---------- phones ---------- */
@media (max-width: 760px), (max-aspect-ratio: 4/5) {
  .hero { align-items: flex-start; padding: 9svh 7vw 0; }
  .hero-copy { width: 100%; }
  .title { font-size: clamp(18px, 5.6vw, 30px); letter-spacing: .26em; }
  .headline { margin-top: 16px; font-size: clamp(20px, 5.6vw, 28px); }
  .intro { display: none; }
  .hero-actions { margin-top: 18px; gap: 14px 20px; }
  .line { max-width: 88vw; font-size: clamp(25px, 7.4vw, 36px); }
  .l-left, .l-left.l-second, .l-right, .l-right.l-dark, .l-top, .l-slam, .l-hook { left: 6vw; right: auto; top: 8svh; text-align: left; max-width: 88vw; }
  .l-left.l-second { top: calc(8svh + 2.6em); }
  .l-left.l-second { font-size: clamp(25px, 7.4vw, 36px); }
  .l-list { left: 6vw; right: auto; text-align: left; top: calc(8svh + 4.6em); font-size: 15px; }
  .bunting { display: none; }
  .notice-title { font-size: 21px; letter-spacing: .2em; }
  .l-slam { font-size: 17px; }
  .l-right.l-dark { font-size: clamp(21px, 6vw, 30px); }
  .l-hook { top: 60svh; }
  .l-follow { left: 6vw; top: 80svh; }
  .notice, .author { padding: 110px 7vw 70px; }
  .notice-sheet, .author-sheet { grid-template-columns: 1fr; gap: 36px; }
  .notice-book { position: relative; top: 0; max-width: 300px; margin: 0 auto; width: 100%; }
  .author-photo { max-width: 300px; }
}

/* ---------- the still version: no JavaScript, or reduced motion ---------- */
.no-js .film, .still .film { height: auto; }
.no-js .stage, .still .stage { position: relative; height: auto; overflow: visible; }
.no-js .world, .still .world, .no-js .wash, .still .wash, .no-js .hang, .still .hang, .no-js .hang-tail, .still .hang-tail { display: none; }
.no-js .hero, .still .hero { position: relative; display: grid; grid-template-columns: 1fr minmax(220px, 34vw); gap: 6vw; align-items: center; padding: 10vh 7vw; }
.no-js .hero-copy, .still .hero-copy { width: auto; }
.no-js .stage-book, .still .stage-book { position: relative; width: min(34vw, 380px); height: auto; aspect-ratio: 2 / 3; margin: 0 7vw 0 auto; transform: none !important; }
.no-js .lines, .still .lines { position: relative; display: block; padding: 0 7vw 40px; max-width: 900px; margin: 0 auto; }
.no-js .line, .still .line { position: relative; inset: auto; opacity: 1 !important; max-width: none; text-align: left; margin: 0 0 40px; transform: none !important; }
.no-js .line > span, .still .line > span { opacity: 1 !important; transform: none !important; }
.no-js .still-pic, .still .still-pic { display: block; margin: 40px auto; max-width: 360px; }
.no-js .l-hook .h1, .still .l-hook .h1 { opacity: 1; }
@media (max-width: 760px) { .no-js .hero, .still .hero { grid-template-columns: 1fr; } .no-js .stage-book, .still .stage-book { width: 70vw; margin: 0 auto; } }

/* 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; }
.foot { margin-bottom: 30px; }
@media (prefers-reduced-motion: reduce) { .tape-track { animation: none !important; } }
