@font-face { font-family: "FS Kim Local"; src: local("FS Kim W05 Regular"), local("FSKim-Regular"), local("FS Kim Regular"), local("FS Kim"); unicode-range: U+0000-002F, U+003A-10FFFF; }
:root { --cream: #fdf4e8; --sand: #f3e2cb; --ink: #2a1721; --plum: #6d2250; --yellow: #ffc21c; --display: "FS Kim Local", "Newsreader", "Iowan Old Style", Palatino, Georgia, serif; --text: "Helvetica Neue", Arial, sans-serif; --mono: "DM Mono", "SF Mono", ui-monospace, Menlo, monospace; --edge: clamp(20px, 4.4vw, 84px); color-scheme: light; }
* { box-sizing: border-box; } [hidden] { display: none !important; }
html, body { margin: 0; height: 100%; overflow: hidden; overscroll-behavior: none; background: #f8d6b8; color: var(--ink); font: 400 17px/1.5 var(--text); -webkit-text-size-adjust: 100%; }
h1, h2, p, dl, dd, ul { margin: 0; } h1, h2 { font: 400 clamp(34px, 4.4vw, 74px)/1.04 var(--display); letter-spacing: -.01em; text-wrap: balance; }
a { color: inherit; text-underline-offset: .18em; } button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; } [data-tone="dark"] :focus-visible { outline-color: var(--yellow); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 40; top: 10px; left: 10px; padding: 14px 18px; background: var(--ink); color: var(--cream); transform: translateY(-200%); } .skip:focus { transform: none; }
#world { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; display: block; touch-action: none; transition: opacity .2s linear; } .cut #world { opacity: 0; }
main { position: fixed; inset: 0; pointer-events: none; }
.beat { position: absolute; inset: 0; opacity: 0; transform: translateY(14px); transition: opacity .28s linear, transform .28s ease-in; visibility: hidden; transition-behavior: allow-discrete; }
.beat.on { opacity: 1; transform: none; visibility: visible; transition: opacity .55s .12s cubic-bezier(.2,.8,.2,1), transform .8s .12s cubic-bezier(.2,.8,.2,1); }
.beat.on a, .beat.on button, .beat.on .credits, .beat.on .card { pointer-events: auto; }
.sub { position: absolute; left: 0; right: 0; top: 52.5%; text-align: center; font: 400 clamp(19px, 1.9vw, 32px)/1.2 var(--text); }
.cue { position: absolute; left: 50%; bottom: max(34px, env(safe-area-inset-bottom)); translate: -50% 0; font: 400 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; padding-bottom: 46px; color: var(--cream); text-shadow: 0 0 14px #5a1a10, 0 0 4px #5a1a10; }
.cue::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 18px; height: 34px; translate: -50% 0; background: url(assets/pom-gold.webp) center top / 18px no-repeat; animation: drop 1.9s cubic-bezier(.4,0,.3,1) infinite; }
@keyframes drop { 0% { translate: -50% -6px; opacity: 0; } 25% { opacity: 1; } 100% { translate: -50% 16px; opacity: 0; } }
.line { position: absolute; left: var(--edge); font: 400 clamp(30px, 3.4vw, 58px)/1.06 var(--display); } .line.low { bottom: clamp(56px, 9vh, 110px); color: var(--ink); background: var(--cream); padding: .28em .5em .34em; } .line.under { left: 27%; top: 44%; font-size: clamp(24px, 2.4vw, 42px); }
.note { position: absolute; left: var(--edge); bottom: clamp(44px, 7.5vh, 92px); width: min(30rem, calc(100vw - 2 * var(--edge))); padding: clamp(18px, 1.7vw, 28px); background: color-mix(in srgb, var(--cream) 95%, transparent); font-size: clamp(16.5px, 1.28vw, 21px); line-height: 1.42; box-shadow: 0 18px 50px rgb(90 30 10 / .18); }
.note::after, .card::after { content: ""; position: absolute; inset: 8px; border: 1.5px dashed rgb(109 34 80 / .5); pointer-events: none; }
.note .small { margin-top: 12px; font-size: .78em; line-height: 1.5; } .note b { font: 400 .86em/1 var(--mono); text-transform: uppercase; letter-spacing: .04em; margin-right: .5em; color: var(--plum); } .note a { display: inline-block; padding: 4px 0; margin-right: .5em; }
.beat[data-u="21"] h2 { position: absolute; left: var(--edge); top: clamp(60px, 11vh, 120px); max-width: 9em; }
.note.wall { width: min(21.5rem, calc(100vw - 2 * var(--edge))); } .tally { display: flex; align-items: center; gap: 8px; margin-top: 10px; font: 400 34px/1 var(--display); } .tally span { min-width: 4.2em; } .tally button { width: 44px; height: 44px; padding: 0; border: 0; background: var(--yellow); font: 400 24px/1 var(--text); cursor: pointer; } .tally button:disabled { background: var(--sand); color: rgb(42 23 33 / .45); cursor: default; }
.card { position: absolute; left: var(--edge); top: 50%; translate: 0 -50%; width: min(26rem, calc(100vw - 2 * var(--edge))); max-height: calc(100svh - 48px); overflow: auto; padding: clamp(24px, 2.2vw, 36px); background: var(--cream); box-shadow: 0 24px 70px rgb(90 30 10 / .25); } .card h2 { font-size: clamp(30px, 2.7vw, 42px); }
.dots { display: flex; gap: 4px; margin: 10px 0 4px -8px; } .pom { width: 44px; height: 44px; padding: 0; border: 0; background: url(assets/pom-gold.webp) center / 28px no-repeat; filter: grayscale(1) opacity(.3); cursor: pointer; transition: filter .25s, transform .3s cubic-bezier(.2,1.5,.4,1); } .pom[data-on="yes"] { filter: none; } .pom[aria-current] { transform: scale(1.18); }
.q { display: grid; gap: 8px; } .ask { font: 400 26px/1.1 var(--display); margin: 2px 0 6px; } .option { min-height: 50px; padding: 0 16px; border: 0; border-radius: 0; background: var(--sand); text-align: left; cursor: pointer; } .option[data-on="yes"], .option:active { background: var(--yellow); } @media (hover: hover) { .option:hover { background: var(--yellow); } }
.again { justify-self: start; min-height: 44px; padding: 0; border: 0; background: none; font: 400 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .04em; text-decoration: underline; text-underline-offset: .25em; cursor: pointer; }
.answers dt { font: 400 12.5px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .04em; margin-top: 10px; } .answers dd { font: 400 26px/1.1 var(--display); } .answers .none { opacity: .72; } .go { margin-top: 14px; font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; } .button { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border: 0; background: var(--ink); color: var(--cream); text-decoration: none; cursor: pointer; } .button.book { background: var(--yellow); color: var(--ink); } .tiny { margin-top: 12px; font-size: 14.5px; }
.tiers { position: fixed; inset: 0; pointer-events: none; opacity: 0; } .tiers span { position: absolute; left: 0; top: 0; padding: 6px 10px 7px; background: var(--cream); font: 400 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; transition: opacity .3s; }
.rail { position: fixed; z-index: 5; right: clamp(10px, 1.6vw, 28px); top: 9vh; bottom: 9vh; width: 44px; --p: 0; opacity: 0; transition: opacity .6s; } body.ready .rail { opacity: 1; }
.rail::before, .rail::after { content: ""; position: absolute; left: 50%; top: 0; width: 5px; height: 100%; translate: -50% 0; border-radius: 3px; background: rgb(109 34 80 / .2); } .rail::after { transform-origin: top; transform: scaleY(var(--p)); background: repeating-linear-gradient(-38deg, #ffd35a 0 3px, #d98c05 3px 6px); } [data-tone="dark"] .rail::before { background: rgb(255 225 190 / .25); }
.rail button { position: absolute; z-index: 1; left: 0; top: calc(var(--y) * 100%); width: 44px; height: min(32px, 3.3vh); translate: 0 -50%; padding: 0; border: 0; background: none; cursor: pointer; } .rail button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; translate: -50% -50%; background: url(assets/pom-gold.webp) center / contain no-repeat; scale: .5; filter: grayscale(.9) brightness(.82); transition: scale .35s cubic-bezier(.2,1.5,.4,1), filter .3s; } .rail button[data-past="yes"]::before { filter: none; } .rail button[aria-current]::before, .rail button:hover::before { scale: 1.1; filter: none; }
.rail span { position: absolute; right: 46px; top: 50%; translate: 0 -50%; padding: 6px 10px 7px; background: var(--cream); color: var(--ink); font: 400 13px/1 var(--mono); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; } .rail button:hover span, .rail button:focus-visible span { opacity: 1; }
.credits { position: absolute; left: 2%; width: 52%; top: 0; bottom: 20%; perspective: 900px; perspective-origin: 50% 10%; overflow: hidden; cursor: pointer; -webkit-mask-image: linear-gradient(transparent 3%, #000 24%, #000 88%, transparent); mask-image: linear-gradient(transparent 3%, #000 24%, #000 88%, transparent); } .plane { position: absolute; inset: 0; transform: rotateX(24deg); transform-origin: 50% 100%; } .roll { text-align: center; will-change: transform; } .roll-title { font: 400 clamp(44px, 5vw, 92px)/1.02 var(--display); letter-spacing: -.01em; margin-bottom: 1em; } .roll-title.end { margin: 1.1em 0 0; } .credit { margin-bottom: clamp(44px, 5vw, 84px); } .credit > p { font: 400 clamp(13px, 1.05vw, 18px)/1.2 var(--mono); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .7em; } .credit b { display: block; font: 400 clamp(26px, 2.6vw, 46px)/1.14 var(--display); text-wrap: balance; } .credit a { display: block; text-decoration: none; margin-bottom: 1.6em; } .credit a:hover b { text-decoration: underline; } .credit span { font-size: clamp(15px, 1.25vw, 20px); } .credits.static { overflow: auto; mask-image: none; -webkit-mask-image: none; padding: 40px 0; } .credits.static .plane { position: static; transform: none; }
.loader { position: fixed; z-index: 30; inset: 0; display: grid; place-content: center; justify-items: center; gap: 22px; background: #f8d6b8; font: 400 14px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; transition: opacity .9s .1s, visibility 0s 1s; } .loader i { width: 84px; height: 84px; background: url(assets/pom-gold.webp) center / contain no-repeat; animation: roll 1.6s cubic-bezier(.5,0,.5,1) infinite; } @keyframes roll { 50% { transform: translateY(-16px) rotate(180deg); } 100% { transform: rotate(360deg); } } body.ready .loader { opacity: 0; visibility: hidden; }
.reading { position: fixed; z-index: 25; inset: 0; overflow: auto; background: var(--cream); padding: 60px var(--edge) 90px; overscroll-behavior: contain; } .measure { max-width: 41rem; } .reading h1 { margin: 34px 0 10px; } .reading h2 { font-size: 30px; margin: 36px 0 10px; } .reading p + p { margin-top: 12px; } .nojs { position: fixed; z-index: 31; inset: auto 20px 20px; }
@media (max-aspect-ratio: 85/100) {
  .sub { top: 50.5%; } .note { left: 16px; right: 60px; width: auto; bottom: max(28px, calc(env(safe-area-inset-bottom) + 18px)); font-size: 16px; padding: 18px 20px; } .card { left: 14px; right: 58px; width: auto; top: auto; bottom: max(20px, calc(env(safe-area-inset-bottom) + 10px)); translate: none; padding: 20px 22px; } .card h2 { font-size: 27px; } .ask { font-size: 22px; } .option { min-height: 46px; }
  .line.under { left: 20px; top: 34%; } .line.low { left: 16px; bottom: 60px; max-width: calc(100vw - 76px); font-size: clamp(24px, 7vw, 30px); } .credits { left: 0; width: 68%; bottom: 36%; perspective: 620px; } .roll-title { font-size: 38px; } .credit b { font-size: 23px; } .rail { right: 6px; top: 9vh; bottom: 11vh; } .note.wall { width: auto; } .rail span { display: none; } .tiers span { font-size: 11px; padding: 5px 7px 6px; } .beat[data-u="21"] h2 { top: 84px; right: 70px; }
}
@media (max-height: 560px) { .card { top: 10px; translate: none; } .note { font-size: 14.5px; bottom: 14px; padding: 14px 18px; } }
.calm .beat, .calm .beat.on { transition: opacity .15s linear; transform: none; } .calm .cue::after { animation: none; }
@media (prefers-reduced-motion: reduce) { .loader i, .cue::after { animation: none; } }
