/* MoneyBee home: one day at the counter.
   Three papers for three times of day: ink (night), paper (morning), sun (noon).
   Display type is Bricolage Grotesque set narrow; text is Inter Tight; margin notes are Caveat. */

@font-face { font-family: "Bricolage"; src: url(/lite/assets/fonts/Bricolage-wdth.woff2) format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url(/lite/assets/fonts/InterTight-400Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url(/lite/assets/fonts/InterTight-500Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url(/lite/assets/fonts/InterTight-600SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Caveat"; src: url(/lite/assets/fonts/Caveat-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ink: #15130F; --paper: #F2EDE2; --sun: #F4B93A; --honey: #D9B878; --leaf: #2F7D53; --card: #FBF7EE;
  --gut: clamp(120px, 12.5vw, 200px); --pad: clamp(20px, 4vw, 56px); --arc: clamp(34px, 6vw, 110px);
  --out: cubic-bezier(.16, 1, .3, 1);
  --disp: "Bricolage", "Inter Tight", system-ui, sans-serif;
}
/* Six papers for six hours. Each scene carries its own; the header borrows whichever is under it. */
/* light: flat pastel papers, like a printed day-planner. No pinks. */
[data-tone="dawn"]   { --bg: #FAF0C8; --fg: var(--ink); --mute: #6F6540; --rule: rgba(21, 19, 15, .18); --edge: var(--ink); --pop: #B4480F; --orb: #F4B93A; }
[data-tone="paper"]  { --bg: #FBF8F1; --fg: var(--ink); --mute: #6B6456; --rule: rgba(21, 19, 15, .16); --edge: var(--ink); --pop: #B4480F; }
[data-tone="sun"]    { --bg: #F6C044; --fg: var(--ink); --mute: #5C4A1C; --rule: rgba(21, 19, 15, .22); --edge: var(--ink); --pop: var(--ink); }
[data-tone="gulf"]   { --bg: #CFE5D3; --fg: var(--ink); --mute: #4C6253; --rule: rgba(21, 19, 15, .18); --edge: var(--ink); --pop: #B4480F; --orb: #F28C38; --hive: 21, 19, 15; }
[data-tone="ink"]    { --bg: #C9D4F3; --fg: var(--ink); --mute: #4B557A; --rule: rgba(21, 19, 15, .18); --edge: var(--ink); --pop: #27337A; --luna: #FFFFFF; }
[data-tone="morrow"] { --bg: #D2E8F5; --fg: var(--ink); --mute: #4A6272; --rule: rgba(21, 19, 15, .18); --edge: var(--ink); --pop: #B4480F; --orb: #F4B93A; }
/* dark: the same day after the lights go down */
[data-theme="dark"] [data-tone="dawn"], [data-theme="dark"][data-tone="dawn"] { --bg: #100E0A; --mute: #A39B8A; --edge: #000; --fg: var(--paper); --rule: rgba(242, 237, 226, .16); --pop: var(--sun); --hive: 217, 184, 120; --luna: #EDE6D2; }
[data-theme="dark"] [data-tone="paper"], [data-theme="dark"][data-tone="paper"] { --bg: #1E1710; --mute: #A99F8C; --edge: var(--sun); --fg: var(--paper); --rule: rgba(242, 237, 226, .16); --pop: var(--sun); --hive: 217, 184, 120; --luna: #EDE6D2; }
[data-theme="dark"] [data-tone="gulf"], [data-theme="dark"][data-tone="gulf"] { --bg: #072A2B; --mute: #9DBDB9; --edge: #021718; --fg: var(--paper); --rule: rgba(242, 237, 226, .16); --pop: var(--sun); --hive: 217, 184, 120; --luna: #EDE6D2; }
[data-theme="dark"] [data-tone="ink"], [data-theme="dark"][data-tone="ink"] { --bg: #080F1B; --mute: #93A0B5; --edge: #000; --fg: var(--paper); --rule: rgba(242, 237, 226, .16); --pop: var(--sun); --hive: 217, 184, 120; --luna: #EDE6D2; }
[data-theme="dark"] [data-tone="morrow"], [data-theme="dark"][data-tone="morrow"] { --bg: #0E2230; --mute: #9DB4C2; --edge: var(--sun); --fg: var(--paper); --rule: rgba(242, 237, 226, .16); --pop: var(--sun); --hive: 217, 184, 120; --luna: #EDE6D2; }

* { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--fg); position: relative; font: 400 18px/1.5 "Inter Tight", system-ui, sans-serif; -webkit-font-smoothing: antialiased; transition: background-color .9s var(--out), color .6s var(--out); overflow-x: clip; }
body::after { content: ""; position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' 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 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
p { margin: 0; }
:focus-visible { outline: 2.5px solid currentColor; outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--sun); color: var(--ink); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- type ---------- */
.d1, .d2, .d3 { margin: 0; font-family: var(--disp); font-stretch: 76%; font-weight: 700; letter-spacing: -.012em; text-wrap: balance; }
.d1 { font-size: clamp(60px, 10.4vw, 184px); line-height: .84; }
.d2 { font-size: clamp(46px, 7.2vw, 124px); line-height: .88; }
.d3 { font-size: clamp(30px, 3.4vw, 52px); line-height: .95; font-weight: 600; }
.lede { color: color-mix(in srgb, var(--fg) 82%, var(--bg)); max-width: 34em; font-size: clamp(18px, 1.55vw, 22px); line-height: 1.45; text-wrap: pretty; }
.note { font: 600 clamp(22px, 2vw, 28px)/1.05 "Caveat", cursive; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.b { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 999px; border: 2px solid var(--fg); font-weight: 600; font-size: 17px; white-space: nowrap; transition: transform .2s var(--out), background-color .25s, color .25s, border-color .6s; }
.b:active { transform: scale(.96); }
.b-fill { background: var(--fg); color: var(--bg); }
.b { position: relative; overflow: hidden; isolation: isolate; }
.b::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--fg); transform: translateY(102%); transition: transform .5s var(--out); }
.b-line:hover { color: var(--bg); }
.b-line:hover::before { transform: none; }
.b-fill::before { background: var(--pop); }
.b-fill:hover { border-color: var(--pop); }
.b-fill:hover::before { transform: none; }
[data-tone="sun"] .b-fill:hover, .sheet .b-fill:hover { color: var(--sun); }
.b-sm { min-height: 42px; padding: 0 18px; font-size: 15.5px; }
.acts { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.hd { position: fixed; inset: 0 0 auto; z-index: 60; display: flex; align-items: center; gap: 30px; height: 72px; padding: 0 var(--pad); color: var(--fg); transition: color .6s var(--out), background-color .6s; }
.hd.stuck { background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 25px; letter-spacing: -.045em; }
.logo svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.logo svg path { stroke-width: 1.6; }
.logo em { font: 600 25px/1 "Caveat", cursive; letter-spacing: 0; color: var(--pop); transform: rotate(-8deg) translate(-2px, -7px); transition: color .6s; }
.mode { width: 42px; height: 42px; border-radius: 50%; border: 2px solid currentColor; background: none; display: grid; place-items: center; transition: transform .5s var(--out), border-color .6s; }
.mode:hover { transform: rotate(40deg); }
.mode svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mode .moon, [data-theme="dark"] .mode .sun { display: none; }
[data-theme="dark"] .mode .moon { display: block; }
.hd nav a.out { opacity: .6; }
.hd nav a.out:hover { opacity: 1; }
.hd nav { display: flex; gap: 26px; font-size: 16px; font-weight: 500; }
.hd nav a { padding: 6px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--out); }
.hd nav a:hover { background-size: 100% 2px; }
.hd .sp { margin-left: auto; }
.clock { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 16px; }
.clock svg { width: 30px; height: 18px; overflow: visible; }
.clock svg path { fill: none; stroke: currentColor; stroke-width: 1.5; opacity: .4; }
.clock svg circle { fill: currentColor; }
.clock small { font-weight: 400; font-size: 14px; color: var(--mute); transition: color .6s; }
.ar { font-size: 16px; font-weight: 500; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 2px solid currentColor; background: none; position: relative; }
.burger i { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; transition: transform .35s var(--out), top .35s var(--out); }
.burger i:first-child { top: 17px; } .burger i:last-child { top: 25px; }
.burger[aria-expanded="true"] i:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { top: 21px; transform: rotate(-45deg); }
.sheet { position: fixed; inset: 0; z-index: 55; background: var(--sun); color: var(--ink); padding: 96px var(--pad) 28px; display: flex; flex-direction: column; overflow-y: auto; clip-path: circle(0 at calc(100% - 44px) 36px); visibility: hidden; transition: clip-path .7s var(--out), visibility 0s .7s; }
.sheet.open { clip-path: circle(150% at calc(100% - 44px) 36px); visibility: visible; transition: clip-path .7s var(--out); }
.sheet a.big { font-family: var(--disp); font-stretch: 76%; font-weight: 700; font-size: clamp(44px, 13vw, 76px); line-height: 1; padding: 8px 0; border-bottom: 2px solid var(--ink); }
.sheet .acts { margin-top: auto; padding-top: 28px; }
.sheet .b { border-color: var(--ink); flex: 1 1 100%; }
.sheet .b-fill { background: var(--ink); color: var(--paper); }
/* the sun: it rises behind the phone, sets behind the till, and comes up again tomorrow. Scroll moves it. */
.orb { position: absolute; z-index: -1; border-radius: 50%; background: var(--orb); pointer-events: none; will-change: transform; }
.orb::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--fg); transform: translate(12px, -9px); opacity: .55; }
.set .orb { left: 68%; top: 6%; width: clamp(300px, 36vw, 560px); aspect-ratio: 1; transform: translate(-50%, calc(46% - var(--q) * 86%)); }
.eve .orb { right: 31%; top: 0; width: clamp(220px, 22vw, 360px); aspect-ratio: 1; transform: translateY(calc(-18% + var(--p) * 150%)); }
.next .orb { right: 12%; bottom: 0; width: clamp(280px, 34vw, 520px); aspect-ratio: 1; transform: translateY(calc(120% - var(--p) * 150%)); }
.stars { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.stars i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: var(--luna); animation: twinkle 3.6s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .15; } }
.luna { position: absolute; z-index: -1; right: 5%; top: calc(var(--arc) + 10px); width: clamp(54px, 5.5vw, 90px); aspect-ratio: 1; border-radius: 50%; box-shadow: inset -14px -6px 0 0 var(--luna); transform: translateY(calc(60px - var(--p) * 120px)) rotate(-18deg); opacity: .9; }
.menu-open .hd { color: var(--ink); background: none; backdrop-filter: none; }
.menu-open .logo em { color: var(--ink); }

/* ---------- the day: every scene has a time in the margin ---------- */
.scene { --p: .5; --q: 0; overflow: clip; background: var(--bg); color: var(--fg); isolation: isolate; position: relative; display: grid; grid-template-columns: var(--gut) minmax(0, 1fr); padding: clamp(90px, 12vw, 190px) var(--pad) clamp(70px, 9vw, 150px) 0; }
.scene + .scene, .ft { margin-top: calc(var(--arc) * -1); border-radius: 50% 50% 0 0 / var(--arc) var(--arc) 0 0; }
.scene + .scene { padding-top: calc(clamp(90px, 12vw, 190px) + var(--arc) * .4); }
.when { position: sticky; top: 92px; align-self: start; padding-left: var(--pad); display: grid; justify-items: start; font-family: "Caveat", cursive; font-weight: 600; line-height: .95; color: var(--pop); transform: rotate(-5deg); transform-origin: 0 0; }
.when { max-width: calc(var(--gut) - 8px); }
.when time { font-size: clamp(30px, 2.7vw, 40px); }
.when span { font-size: clamp(19px, 1.5vw, 23px); }
.body { min-width: 0; }

/* ---------- 06:40 hero ---------- */
.scene.hero { min-height: 100svh; padding-top: clamp(120px, 14vh, 170px); padding-bottom: 0; overflow: clip; }
.hero .d1 { font-size: clamp(50px, 10.6vw, 186px); }
.hero-low { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 70px); }
.hero-copy { padding-bottom: clamp(50px, 8vh, 110px); }
.d1 .ln { display: block; overflow: hidden; padding-bottom: .09em; margin-bottom: -.09em; }
.d1 .ln > span { display: block; transform: translateY(105%); animation: rise 1.1s var(--out) forwards; }
.d1 .ln:nth-child(2) > span { animation-delay: .09s; } .d1 .ln:nth-child(3) > span { animation-delay: .18s; }
@keyframes rise { to { transform: none; } }
.hero .lede { margin: clamp(26px, 3.4vw, 44px) 0 clamp(26px, 3vw, 38px); }
.where { margin-top: clamp(30px, 4vw, 54px); font-size: 15.5px; color: var(--mute); max-width: 36em; }

.set { position: relative; height: clamp(520px, 46vw, 760px); margin-top: clamp(-340px, -19.4vw, -90px); perspective: 1500px; }
.ring { display: none; position: absolute; left: 68%; top: -12%; width: 120%; aspect-ratio: 1; transform: translateX(-50%); animation: turn 120s linear infinite; }
.ring polygon { fill: none; stroke: var(--pop); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .5; }
@keyframes turn { to { transform: translateX(-50%) rotate(360deg); } }
.phone { margin: 0; aspect-ratio: 390 / 844; border-radius: 44px; padding: 10px; background: #0A0907; box-shadow: 0 0 0 1.5px #4A4232, 0 50px 90px -30px rgba(0, 0, 0, .9); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 35px; }
.set .phone { overflow: hidden; }
.set .phone::after { content: ""; position: absolute; inset: 0; background: linear-gradient(112deg, transparent 38%, rgba(255, 255, 255, .22) 50%, transparent 62%); transform: translateX(-130%); animation: glare 8s 2.4s var(--out) infinite; }
@keyframes glare { 22%, 100% { transform: translateX(130%); } }
.set .phone { position: absolute; left: 68%; top: 0; width: clamp(240px, 23vw, 350px); transform: translateX(-50%) rotateY(var(--ry, -7deg)) rotateX(var(--rx, 3deg)) rotate(2deg); transition: transform .5s var(--out); box-shadow: 0 0 0 1.5px #5A4F38, 0 60px 120px -20px #000, 0 0 140px -30px rgba(244, 185, 58, .55); }
/* a till receipt, the one object every cafe owner knows */
.slip { position: absolute; z-index: 2; left: 2%; top: 40%; width: 232px; padding: 18px 18px 26px; background: #FDFAF2; color: #1B1812; font: 500 13.5px/1.5 ui-monospace, "SF Mono", Menlo, Consolas, monospace; transform: rotate(-5deg) translate(var(--sx, 0), var(--sy, 0)); box-shadow: 0 30px 50px -22px rgba(0, 0, 0, .8); transition: transform .5s var(--out);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 100%; }
.js .slip { animation: print 1.5s .7s steps(11) both; }
@keyframes print { from { clip-path: inset(0 0 100% 0); translate: 0 -34px; } to { clip-path: inset(0 0 0 0); translate: 0 0; } }
.tape-bit { position: absolute; z-index: 3; left: calc(2% + 78px); top: calc(40% - 13px); width: 78px; height: 26px; background: rgba(244, 185, 58, .78); transform: rotate(-9deg); box-shadow: 0 1px 2px rgba(0, 0, 0, .12); -webkit-mask: linear-gradient(90deg, transparent 0 2px, #000 2px calc(100% - 2px), transparent 0); mask: linear-gradient(90deg, transparent 0 2px, #000 2px calc(100% - 2px), transparent 0); }
.slip { padding-bottom: 58px !important; }
.stamp { position: absolute; right: 14px; bottom: 20px; padding: 1px 9px 0; border: 3px solid var(--leaf); border-radius: 7px; color: var(--leaf); font-family: var(--disp); font-stretch: 76%; font-weight: 800; font-size: 26px; line-height: 1.15; letter-spacing: .04em; transform: rotate(-14deg); opacity: .88; filter: url(#rough); mix-blend-mode: multiply; }
.js .stamp { animation: thump .34s 2.5s cubic-bezier(.3, 1.4, .5, 1) both; }
@keyframes thump { from { opacity: 0; transform: rotate(-14deg) scale(1.9); } }
.js .tape-bit { animation: fadein .3s 2.2s both; }
.slip b { display: block; text-align: center; font-weight: 700; letter-spacing: .06em; }
.slip small { display: block; text-align: center; font-size: 11.5px; opacity: .65; margin-bottom: 10px; }
.slip dl { margin: 0; padding: 10px 0; border-top: 1.5px dashed #1B1812; border-bottom: 1.5px dashed #1B1812; }
.slip dl div { display: flex; justify-content: space-between; gap: 10px; }
.slip dt, .slip dd { margin: 0; }
.slip .tot { display: flex; justify-content: space-between; margin-top: 10px; font-weight: 700; font-size: 16px; }
.slip .ok { margin-top: 8px; font-size: 12px; opacity: .7; }
.hero .note { position: absolute; z-index: 2; left: 0; top: calc(40% - 118px); color: var(--pop); transform: rotate(-7deg); max-width: 8em; }
.scrib { position: absolute; fill: none; stroke: var(--pop); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hero .scrib { z-index: 2; left: 100px; top: calc(40% - 62px); width: 62px; height: 60px; }
.draw path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.draw.go path { transition: stroke-dashoffset 1s var(--out) .2s; stroke-dashoffset: 0; }
.hero .draw path { animation: ink 1s 1.5s var(--out) forwards; }
@keyframes ink { to { stroke-dashoffset: 0; } }
.hero .note { opacity: 0; animation: fadein .6s 1.3s forwards; }
@keyframes fadein { to { opacity: 1; } }

/* ---------- 08:15 morning ---------- */
.am-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(30px, 6vw, 100px); align-items: end; }
.am-top .lede { margin-top: 28px; }
.chat { position: relative; display: grid; gap: 9px; padding: 16px 16px 20px; border-radius: 26px; background: var(--card); border: 2px solid var(--edge); box-shadow: 9px 9px 0 var(--edge); max-width: 400px; justify-self: end; width: 100%; }
.chat-h { display: flex; align-items: center; gap: 11px; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1.5px solid rgba(21, 19, 15, .14); }
.chat-h i { width: 38px; height: 38px; border-radius: 50%; background: #27413A; color: var(--paper); display: grid; place-items: center; font: 600 13px "Inter Tight"; }
.chat-h b { display: block; font-weight: 600; font-size: 16px; line-height: 1.2; }
.chat-h small { display: block; font-size: 13.5px; color: #6B6456; }
.m { justify-self: start; max-width: 86%; padding: 10px 14px; border-radius: 18px 18px 18px 5px; background: #EAE3D3; font-size: 15.5px; line-height: 1.35; }
.m.me { justify-self: end; border-radius: 18px 18px 5px 18px; background: var(--ink); color: var(--paper); }
.m.link { width: 86%; padding: 14px; background: var(--ink); color: var(--paper); display: grid; gap: 2px; }
.m.link small { font-size: 13px; color: #B9B09F; }
.m.link b { font-family: var(--disp); font-stretch: 76%; font-weight: 700; font-size: 40px; line-height: 1; }
.pay { position: relative; display: grid; margin-top: 10px; height: 42px; border-radius: 999px; background: var(--sun); color: var(--ink); font-weight: 600; font-size: 15.5px; overflow: hidden; transition: background-color .4s, transform .15s; }
.pay i { grid-area: 1 / 1; display: grid; place-items: center; font-style: normal; transition: transform .55s var(--out), opacity .3s; }
.pay i + i { transform: translateY(100%); opacity: 0; }
.js .chat .m { opacity: 0; transform: translateY(10px) scale(.97); transform-origin: 0 100%; transition: opacity .4s, transform .6s var(--out); }
.js .chat .m.me { transform-origin: 100% 100%; }
.chat[data-s="1"] .m1, .chat[data-s="2"] .m1, .chat[data-s="3"] .m1, .chat[data-s="4"] .m1, .chat[data-s="5"] .m1,
.chat[data-s="2"] .m2, .chat[data-s="3"] .m2, .chat[data-s="4"] .m2, .chat[data-s="5"] .m2,
.chat[data-s="3"] .m3, .chat[data-s="4"] .m3, .chat[data-s="5"] .m3,
.chat[data-s="5"] .m4 { opacity: 1; transform: none; }
.chat[data-s="4"] .pay, .chat[data-s="5"] .pay { background: var(--leaf); color: #fff; }
.chat[data-s="4"] .pay i, .chat[data-s="5"] .pay i { transform: translateY(-100%); opacity: 0; }
.chat[data-s="4"] .pay i + i, .chat[data-s="5"] .pay i + i { transform: none; opacity: 1; }
.chat .note { position: absolute; right: calc(100% + 18px); bottom: 74px; width: 7.5em; text-align: right; transform: rotate(-4deg); }
.chat .scrib { right: calc(100% - 6px); bottom: 44px; width: 60px; height: 34px; stroke: var(--fg); }
.chat .note { color: var(--fg); }

/* four ways: the words are the menu, the phone is the answer */
.ways { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(30px, 6vw, 100px); margin-top: clamp(90px, 12vw, 180px); }
.ways-h { grid-column: 1 / -1; font-weight: 500; font-size: 19px; padding-bottom: 14px; border-bottom: 2px solid currentColor; }
.way { padding: clamp(40px, 9vh, 110px) 0; border-bottom: 2px solid currentColor; opacity: .22; transition: opacity .5s; }
.way.on { opacity: 1; }
.way .d2 { transition: transform .7s var(--out); transform-origin: 0 50%; }
.way p { margin-top: 20px; max-width: 25em; font-size: clamp(18px, 1.5vw, 21px); }

.way figure { display: none; }
.ways-pin { position: sticky; top: 14vh; align-self: start; height: 72vh; display: grid; place-items: center; }
.ways-pin .tile { position: absolute; inset: 0; border-radius: 34px; background: var(--sun); border: 2px solid var(--edge); transition: background-color .6s var(--out), transform .8s var(--out); transform: rotate(-2deg); }
.ways-pin[data-i="1"] .tile { background: #BFDDC6; transform: rotate(1.5deg); }
.ways-pin[data-i="2"] .tile { background: #BBC8F0; transform: rotate(-1deg); }
.ways-pin[data-i="3"] .tile { background: #F5A868; transform: rotate(2deg); }
.ways-pin .phone { position: absolute; height: 92%; top: 4%; left: 50%; opacity: 0; transform: translate(-50%, 6%) rotate(3deg); transition: opacity .45s, transform .8s var(--out); box-shadow: 0 0 0 2px var(--ink), 12px 14px 0 rgba(21, 19, 15, .9); }
.ways-pin .phone.on { opacity: 1; transform: translate(-50%, 0) rotate(0); }

/* ---------- 13:00 noon: the game ---------- */
.scene.noon { padding-top: clamp(70px, 8vw, 120px); padding-bottom: clamp(50px, 6vw, 90px); }
.noon-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.noon .lede { margin-top: 26px; font-weight: 500; }
.rules { margin: 30px 0 0; padding: 0; list-style: none; display: grid; gap: 0; max-width: 30em; border-top: 2px solid currentColor; }
.rules li { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 2px solid currentColor; font-weight: 500; }
.rules b { font-family: var(--disp); font-stretch: 76%; font-weight: 700; font-size: 26px; line-height: 1; }
.game { position: relative; padding: 22px; border-radius: 34px; background: var(--card); border: 3px solid var(--ink); box-shadow: 13px 13px 0 var(--ink); transform: rotate(1.2deg); }
.stick { position: absolute; top: -64px; right: -40px; width: 122px; height: 122px; z-index: 3; animation: spin 16s linear infinite; }
.stick text { font: 600 13.5px "Inter Tight", sans-serif; letter-spacing: .15em; fill: var(--paper); }
@keyframes spin { to { transform: rotate(360deg); } }
.g-hud { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: end; padding-right: 54px; }
.g-hud small { display: block; font-weight: 500; font-size: 14.5px; color: #6B6456; }
.g-hud b { display: block; font-family: var(--disp); font-stretch: 76%; font-weight: 700; font-size: clamp(44px, 4.6vw, 70px); line-height: .95; }
.g-time { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--sun); font-family: var(--disp); font-stretch: 76%; font-weight: 700; font-size: 32px; position: relative; }
.g-time svg { position: absolute; inset: -5px; width: 84px; height: 84px; transform: rotate(-90deg); }
.g-time circle { fill: none; stroke: var(--sun); stroke-width: 4; stroke-dasharray: 245; stroke-dashoffset: 0; transition: stroke-dashoffset 1s linear; }
.comb { position: relative; margin: 14px 0 10px; border-radius: 24px; background: var(--ink); overflow: hidden; }
.comb svg { display: block; width: 100%; height: auto; }
.cell { fill: #221E15; stroke: #3A3426; stroke-width: 1.5; transform-box: fill-box; transform-origin: center; }
.cell.on { fill: var(--sun); stroke: #FFE7A8; animation: pop .5s var(--out); }
@keyframes pop { 0% { transform: scale(.3); } 60% { transform: scale(1.16); } }
.fly { position: absolute; z-index: 4; left: 0; top: 0; padding: 7px 12px; border-radius: 999px; background: var(--card); border: 2px solid var(--ink); font-weight: 600; font-size: 14px; white-space: nowrap; pointer-events: none; box-shadow: 3px 3px 0 var(--ink); }
.fly.paid { background: var(--leaf); color: #fff; }
.g-msg { min-height: 27px; margin: 0 4px 12px; font-weight: 500; font-size: 16.5px; }
.send { width: 100%; min-height: 68px; border-radius: 20px; border: 3px solid var(--ink); background: var(--sun); color: var(--ink); font-weight: 600; font-size: 21px; box-shadow: 0 7px 0 var(--ink); transition: transform .07s, box-shadow .07s, background-color .2s; -webkit-tap-highlight-color: transparent; user-select: none; touch-action: manipulation; }
.send:hover { background: #FFC94F; }
.send:active, .send.down { transform: translateY(6px); box-shadow: 0 1px 0 var(--ink); }
.g-end { position: absolute; inset: 0; z-index: 6; border-radius: 30px; background: var(--ink); color: var(--paper); padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; gap: 14px; opacity: 0; visibility: hidden; transform: scale(.96); transition: opacity .35s, transform .6s var(--out), visibility 0s .35s; }
.g-end.show { opacity: 1; visibility: visible; transform: none; transition: opacity .35s, transform .6s var(--out); }
.g-end .d2 { color: var(--sun); }
.g-end p { font-size: 19px; max-width: 22em; }
.g-end .acts { margin-top: 10px; }
.g-end .b { border-color: var(--paper); color: var(--paper); background: none; }
.g-end .b::before, .form .b::before, .sheet .b::before { display: none; }
.g-end .b-fill { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.g-end .b-line:hover { background: var(--paper); color: var(--ink); }
.conf { position: fixed; inset: 0; z-index: 90; width: 100%; height: 100%; pointer-events: none; }
.tape { margin: clamp(70px, 9vw, 130px) calc(var(--pad) * -1) 0 calc(var(--gut) * -1); background: var(--ink); color: var(--sun); overflow: hidden; transform: rotate(-1.2deg) scale(1.04); }
.tape div { display: flex; width: max-content; padding: 14px 0; font-family: var(--disp); font-stretch: 76%; font-weight: 700; font-size: clamp(30px, 3.6vw, 54px); line-height: 1; animation: tape 36s linear infinite; }
.tape span { display: flex; align-items: center; white-space: nowrap; }
.tape span::after { content: ""; width: .5em; height: .56em; margin: 0 .5em; background: var(--sun); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
@keyframes tape { to { transform: translateX(-50%); } }

/* ---------- 18:30 evening: the hive ---------- */
.scene.eve { overflow: clip; }
.hive { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity 1.2s; }
.hive.on { opacity: 1; }
.eve-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(30px, 6vw, 100px); align-items: center; }
.eve .lede { margin-top: 28px; }
.facts { margin: clamp(30px, 4vw, 50px) 0 0; display: grid; }
.facts > div { display: grid; grid-template-columns: minmax(0, 8.5em) minmax(0, 1fr); gap: 20px; padding: 16px 0; border-top: 1.5px solid var(--rule); }
.facts > div:last-child { border-bottom: 1.5px solid var(--rule); }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; color: var(--mute); text-wrap: pretty; }
.till { position: relative; border-radius: 24px; background: #12110D; border: 2px solid var(--edge); box-shadow: 10px 10px 0 var(--edge); }
.till-h { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 22px 0; font-size: 15px; color: var(--mute); }
.till-h b { color: var(--paper); font-weight: 600; }
.till-n { padding: 4px 22px 0; font-family: var(--disp); font-stretch: 76%; font-weight: 700; font-size: clamp(54px, 6vw, 96px); line-height: 1; color: var(--sun); }
.till-n small { font-size: .4em; font-weight: 600; color: var(--mute); margin-right: .25em; }
.goal { margin: 14px 22px 8px; height: 10px; border-radius: 99px; background: #2A251A; overflow: hidden; }
.goal i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--sun); transition: width .9s var(--out); }
.goal-l { display: flex; justify-content: space-between; padding: 0 22px 14px; font-size: 14.5px; color: var(--mute); }
.log { list-style: none; margin: 0; padding: 6px 10px 12px; height: 262px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; border-top: 1.5px solid #2A251A; -webkit-mask-image: linear-gradient(180deg, transparent, #000 24%); mask-image: linear-gradient(180deg, transparent, #000 24%); }
.log li { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; animation: row .55s var(--out); }
@keyframes row { from { opacity: 0; transform: translateY(14px); } }
.log svg { width: 18px; height: 20px; fill: var(--sun); }
.log b { display: block; font-weight: 500; font-size: 16px; }
.log small { display: block; font-size: 13.5px; color: var(--mute); }
.log em { font-style: normal; font-weight: 600; font-size: 16.5px; text-align: right; }
.till .note { position: absolute; right: 18px; bottom: calc(100% + 34px); color: var(--pop); transform: rotate(3deg); text-align: right; }
.till .scrib { right: 70px; bottom: calc(100% + 2px); width: 40px; height: 34px; }

/* ---------- 23:10 night: banks and PSPs ---------- */
.late-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(30px, 6vw, 100px); align-items: end; margin-bottom: clamp(40px, 5vw, 70px); }

.board { border-radius: 28px; border: 2px solid var(--edge); background: #0D1424; padding: clamp(20px, 3vw, 40px); box-shadow: 10px 10px 0 var(--edge); }
.board-h, .board-f { display: flex; justify-content: space-between; font-size: 15px; color: var(--mute); }
.board-f { justify-content: flex-end; gap: clamp(30px, 12vw, 200px); padding: 14px clamp(0px, 16vw, 250px) 0 0; display: none; }
.board-p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 26px; padding: 14px 0 clamp(18px, 2.4vw, 30px); }
.board-p b { color: var(--sun); }
.board-p span { font-size: clamp(17px, 1.5vw, 21px); color: #CFC7B6; }
.board-r { list-style: none; margin: 0; padding: 0; }
.board-r li { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr) 3.4em 3.6em minmax(0, 17em); align-items: center; gap: clamp(12px, 2vw, 28px); padding: 18px 0; border-top: 1.5px solid #2A251A; font-size: clamp(17px, 1.5vw, 21px); color: #8F8676; transition: color .5s; }
.board-r .who { font-family: var(--disp); font-stretch: 76%; font-weight: 600; font-size: 1.5em; line-height: 1; }
.board-r .bar { height: 10px; border-radius: 99px; background: #2A251A; overflow: hidden; }
.board-r .bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: #6B6250; transition: width 1s var(--out), background-color .5s; }
.board-r .odds, .board-r .cost { text-align: right; font-weight: 500; }
.board-r .tag { font-size: 16px; color: var(--sun); opacity: 0; transform: translateX(-8px); transition: opacity .4s, transform .6s var(--out); }
.board-r li.win { color: var(--paper); }
.board-r li.win .bar i { background: var(--sun); }
.board-r li.win .tag { opacity: 1; transform: none; }
.late .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 44px); }
.late .facts > div { grid-template-columns: 1fr; gap: 6px; border-bottom: 0; }
.late .acts { margin-top: 38px; }
.late .board { margin-top: clamp(40px, 5vw, 70px); }
.biz { font: 600 clamp(26px, 2.4vw, 34px)/1 "Caveat", cursive; color: var(--pop); display: inline-block; transform: rotate(-3deg); margin-bottom: 14px; }

/* ---------- 06:39 tomorrow ---------- */
.next-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(30px, 6vw, 100px); align-items: start; }
.steps { list-style: none; counter-reset: s; margin: clamp(30px, 4vw, 50px) 0 0; padding: 0; border-top: 2px solid currentColor; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.2em minmax(0, 1fr); gap: 4px 12px; padding: 18px 0; border-bottom: 2px solid currentColor; }
.steps li::before { content: counter(s); grid-row: span 2; font-family: var(--disp); font-stretch: 76%; font-weight: 700; font-size: 44px; line-height: .9; }
.steps b { font-weight: 600; font-size: 20px; }
.steps span { color: var(--mute); }
.sign { color: var(--pop); }
.next .acts { margin-top: 32px; }
.sign { margin-top: 44px; transform: rotate(-2deg); display: inline-block; font-size: clamp(30px, 3vw, 40px); }
.form { padding: clamp(22px, 3vw, 38px); border-radius: 30px; background: var(--card); border: 2px solid var(--edge); box-shadow: 10px 10px 0 var(--edge); display: grid; gap: 16px; }
.form h3 { margin: 0 0 4px; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: 15.5px; }
.form em { font-style: normal; font-weight: 400; color: #6B6456; }
.form input, .form select, .form textarea { width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 14px; border: 2px solid var(--ink); background: #fff; font-size: 17px; }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; box-shadow: 0 0 0 4px var(--sun); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; }
.form .b { border-color: var(--ink); background: var(--ink); color: var(--paper); justify-self: start; }
.form .fine { font-size: 14.5px; color: #6B6456; }
.form .fine a { text-decoration: underline; }
.form .done { padding: 18px; border-radius: 16px; background: var(--leaf); color: #fff; }
.form .done a { text-decoration: underline; }

/* ---------- footer ---------- */
.ft { overflow: clip; position: relative; background: #0A0907; color: var(--paper); padding: clamp(50px, 7vw, 100px) var(--pad) 34px; }
.ft-big em { font: 600 .3em/1 "Caveat", cursive; letter-spacing: 0; color: var(--paper); display: inline-block; transform: rotate(-8deg) translate(-.1em, -1.2em); }
.ft-big { transform: translateY(calc((1 - var(--f, 1)) * 60%)); will-change: transform; }
.ft-big { font-family: var(--disp); font-stretch: 76%; font-weight: 700; font-size: clamp(64px, 17vw, 300px); line-height: .8; letter-spacing: -.02em; color: var(--sun); margin: 0 0 clamp(36px, 5vw, 70px) -.04em; }
.ft-cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; padding-bottom: 40px; border-bottom: 1.5px solid rgba(242, 237, 226, .16); }
.ft-cols p { max-width: 24em; color: #A39B8A; }
.ft-cols h4 { margin: 0 0 12px; font-weight: 600; font-size: 16px; }
.ft-cols a { display: block; padding: 5px 0; color: #CFC7B6; }
.ft-cols a:hover { color: var(--sun); }
.ft-legal { padding-top: 24px; display: grid; gap: 8px; font-size: 14.5px; color: #8F8676; max-width: 70em; }

/* ---------- small screens ---------- */
@media (max-width: 1000px) {
  .hd nav, .hd .b { display: none; }
  .hd { gap: 14px; }
  .burger { display: block; }
  .clock small { display: none; }
  .scene { grid-template-columns: minmax(0, 1fr); padding-left: var(--pad); }
  .when { position: static; padding: 0 0 22px; display: flex; align-items: baseline; gap: 10px; transform: rotate(-3deg); }
  .when { max-width: none; }
  .when time { font-size: 36px; } .when span { font-size: 23px; white-space: nowrap; }
  .hero-low, .am-top, .ways, .noon-top, .eve-grid, .late-top, .next-grid { grid-template-columns: minmax(0, 1fr); }
  .hero .d1 { font-size: clamp(50px, 13.2vw, 130px); }
  .hero-copy { padding-bottom: 10px; }
  .set { height: 500px; margin-top: 24px; }
  .set .phone { left: auto; right: 0; top: 30px; width: min(250px, 58%); transform: rotate(3deg); }
  .ring { left: 70%; top: 0; }
  .slip { left: 0; top: 210px; width: min(210px, 54%); }
  .hero .note { left: 2%; top: 96px; }
  .hero .scrib { left: 90px; top: 150px; }
  .board-r li { grid-template-columns: minmax(0, 1fr) 3.4em 3.6em; gap: 6px 14px; }
  .board-r .bar { grid-column: 1 / -1; grid-row: 2; }
  .board-r .tag { grid-column: 1 / -1; }
  .board-r .tag:empty { display: none; }
  .chat { justify-self: start; margin-top: 10px; }
  .chat .note { position: static; width: auto; text-align: left; transform: rotate(-2deg); margin-top: 12px; }
  .chat .scrib { display: none; }
  .ways-pin { display: none; }
  .way { opacity: 1; padding: 34px 0; }
  .way figure { display: block; margin: 26px 0 0; padding: 22px 0 0; border-radius: 26px; border: 2px solid var(--edge); background: var(--sun); overflow: hidden; height: 330px; }
  .way:nth-of-type(2) figure { background: #BFDDC6; } .way:nth-of-type(3) figure { background: #BBC8F0; } .way:nth-of-type(4) figure { background: #F5A868; }
  .way figure .phone { width: 210px; margin: 0 auto; box-shadow: 0 0 0 2px var(--ink); }
  .game { transform: none; box-shadow: 8px 8px 0 var(--ink); margin-top: 50px; }
  .stick { width: 94px; height: 94px; top: -62px; right: auto; left: -8px; }
  .g-hud { padding-right: 0; }
  .tape { margin-left: calc(var(--pad) * -1); }
  .till { margin-top: 70px; }
  .late .facts { grid-template-columns: minmax(0, 1fr); }
  .ft-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .b { flex: 1 1 100%; }
  .facts > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .f2 { grid-template-columns: 1fr; }
  .log { height: 210px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .tape div { animation: none; }
}

/* components with their own surface keep their own ink, whatever the hour */
.chat, .game, .form, .ways-pin, .way figure { color: var(--ink); }
.till, .board { color: var(--paper); --mute: #A39B8A; }
.logo em { font-size: 28px; }
@media (max-width: 560px) {
  .hd { gap: 10px; height: 64px; }
  .logo { font-size: 21px; gap: 7px; } .logo svg { width: 23px; height: 23px; } .logo em { font-size: 23px; }
  .clock { font-size: 15px; gap: 6px; } .clock svg { width: 24px; }
  .mode { width: 38px; height: 38px; } .burger { width: 40px; height: 40px; flex: none; }
  .burger i { left: 10px; right: 10px; } .burger i:first-child { top: 14px; } .burger i:last-child { top: 22px; }
  .burger[aria-expanded="true"] i:first-child, .burger[aria-expanded="true"] i:last-child { top: 18px; }
}

@media (max-width: 1000px) {
  .set .orb { left: auto; right: -6%; top: 40px; width: 300px; transform: translateY(calc(40% - var(--q) * 70%)); }
  .hero .note { max-width: 6em; font-size: 21px; }
  .tape-bit { left: 62px; top: 198px; }
  .eve .orb { right: -44px; top: 24px; width: 150px; transform: translateY(calc(-30% + var(--p) * 70%)); }
  .next .orb { right: -12%; width: 260px; }
}
@media (prefers-reduced-motion: reduce) { .orb, .luna, .ft-big { transform: none !important; } .js .slip { animation: none; } }

/* the hand: drawn lines, a cup, a bee. One pen, used sparingly. */
.hero .d1 { position: relative; }
.squig { position: absolute; left: -.02em; bottom: -.14em; width: 3.25em; height: .15em; overflow: visible; fill: none; stroke: var(--pop); stroke-width: 5; stroke-linecap: round; }
.squig path { vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: ink .9s 1.25s var(--out) forwards; }
.where { display: flex; align-items: center; gap: 16px; }
.cup { flex: none; width: 58px; height: 54px; fill: none; stroke: var(--fg); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cup .steam { stroke: var(--pop); stroke-dasharray: 1; animation: steam 3.4s ease-in-out infinite; }
@keyframes steam { 0% { stroke-dashoffset: 1; opacity: 0; } 35% { opacity: 1; } 70% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.ring-it { position: relative; white-space: nowrap; }
.ring-it svg { position: absolute; left: -5%; top: -6%; width: 110%; height: 118%; overflow: visible; fill: none; stroke: var(--fg); stroke-width: 3; stroke-linecap: round; pointer-events: none; }
.ring-it svg path { vector-effect: non-scaling-stroke; }
.ways-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; }
.ways-h .note { color: var(--pop); transform: rotate(-2deg); }
.thats { display: block; margin: 16px 0 0 2.6em; color: var(--pop); transform: rotate(-2deg); }
.form { position: relative; }
.form .person { position: absolute; right: 18px; top: 16px; max-width: 7em; text-align: right; color: #B4480F; transform: rotate(4deg); font-size: 22px; }
.sign { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.bee { width: 150px; height: 60px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(4deg); }
.bee .trail { stroke-dasharray: .028 .03; opacity: .7; }
@media (max-width: 560px) { .form .person { position: static; text-align: left; max-width: none; transform: rotate(-2deg); margin-top: -8px; } .cup { width: 48px; } }
@media (prefers-reduced-motion: reduce) { .squig path { animation: none; stroke-dashoffset: 0; } .cup .steam { animation: none; } }
.next .d2 { font-size: clamp(44px, 5.6vw, 98px); }
.late .d2 { font-size: clamp(44px, 6vw, 104px); }
@media (max-width: 1000px) { .hero .note { max-width: 5em; top: 70px; left: 0; } .hero .scrib { top: 148px; left: 60px; } }

/* 23:10 for your website */
.plug { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.levels { list-style: none; margin: 0; padding: 0; border-top: 2px solid currentColor; }
.levels li { display: grid; gap: 6px; padding: 20px 0; border-bottom: 2px solid currentColor; }
.levels b { font-family: var(--disp); font-stretch: 76%; font-weight: 700; font-size: clamp(30px, 3vw, 44px); line-height: 1; }
.levels span { color: var(--mute); max-width: 30em; }
.code { position: relative; border-radius: 26px; background: #0D1424; color: #E8ECF8; border: 2px solid var(--edge); box-shadow: 10px 10px 0 var(--edge); }
.code-h { display: flex; justify-content: space-between; padding: 16px 22px; border-bottom: 1.5px solid #222C44; font-size: 15px; color: #93A0B5; }
.code pre { margin: 0; padding: 20px 22px 24px; overflow-x: auto; font: 500 15px/1.65 ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.code i { font-style: normal; }
.code .k { color: #F6C044; } .code .s { color: #A9DDB7; } .code .n { color: #F5A868; } .code .f { color: #BBC8F0; } .code .c { color: #7C8AA8; }
.code .note { position: absolute; right: 20px; bottom: calc(100% + 30px); color: var(--pop); transform: rotate(3deg); text-align: right; }
.code .scrib { right: 70px; bottom: calc(100% + 2px); width: 40px; height: 34px; }
.late .acts { margin-top: 40px; }
@media (max-width: 1000px) { .plug { grid-template-columns: minmax(0, 1fr); } .code { margin-top: 60px; } .code pre { font-size: 13px; } }
.page { min-height: 100svh; display: grid; place-content: center; gap: 24px; padding: 120px var(--pad) 80px; background: var(--bg); color: var(--fg); }

/* ---------- second pass: finer lines, one hand, one film ---------- */
body::after { opacity: .045; }
.d2 { font-size: clamp(44px, 6.4vw, 112px); line-height: .9; }
.b { border-width: 1.5px; min-height: 52px; } .mode, .burger { border-width: 1.5px; }
.chat, .till, .code, .form { box-shadow: 8px 8px 0 var(--edge); }
.game { border-width: 2px; box-shadow: 10px 10px 0 var(--ink); transform: rotate(.8deg); }
.send { border-width: 2px; }
.rules, .steps, .levels { border-top-width: 1.5px; }
.rules li, .steps li, .levels li, .way, .ways-h { border-bottom-width: 1.5px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* the hand writes: each letter is uncovered left to right, in order */
.note .w { display: inline-block; white-space: nowrap; }
.note .c { display: inline-block; }
.js .note.hw .c { opacity: 0; }
.js .note.hw.go .c { animation: write .11s linear both; animation-delay: calc(var(--d, 0s) + var(--i) * 34ms); }
@keyframes write { from { opacity: 1; clip-path: inset(-30% 100% -30% -10%); } to { opacity: 1; clip-path: inset(-30% -12% -30% -10%); } }
.hero .note { opacity: 1; animation: none; --d: 1.5s; }
.hero .draw path { animation-delay: 2.7s; }
/* a highlighter pulled across the one phrase that matters */
.hl { --hlc: color-mix(in srgb, var(--sun) 62%, transparent); color: inherit; background: linear-gradient(var(--hlc), var(--hlc)) 0 90% / 0 .44em no-repeat; padding: 0 .1em; margin: 0 -.1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size .9s var(--out) .2s; }
.hl.go, html:not(.js) .hl { background-size: 100% .44em; }
[data-tone="sun"] .hl { --hlc: rgba(255, 255, 255, .55); }
[data-theme="dark"] .hl { --hlc: color-mix(in srgb, var(--sun) 34%, transparent); }
.tick { flex: none; width: 26px; height: 19px; overflow: visible; fill: none; stroke: var(--pop); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.facts dt { display: flex; align-items: center; gap: 10px; }
.way .tip { display: inline-block; margin-top: 16px; color: var(--pop); transform: rotate(-1.5deg); transform-origin: 0 50%; }
.levels .note { display: inline-block; margin-left: .45em; color: var(--pop); transform: rotate(-4deg) translateY(-.12em); font-stretch: 100%; letter-spacing: 0; }

/* 06:40 a quiet third option under the buttons */
.watch { display: inline-flex; align-items: center; gap: 11px; margin-top: 20px; font-weight: 600; font-size: 16.5px; }
.watch i { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; transition: background-color .25s, color .25s, transform .4s var(--out); }
.watch svg { width: 16px; height: 16px; fill: currentColor; margin-left: 2px; }
.watch span { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; padding-bottom: 2px; }
.watch:hover i { background: var(--fg); color: var(--bg); transform: scale(1.08); }

/* 07:00 the film: the one dark room in a bright day */
[data-tone="reel"] { --bg: #15130F; --fg: var(--paper); --mute: #A39B8A; --rule: rgba(242, 237, 226, .2); --edge: var(--sun); --pop: var(--sun); }
[data-theme="dark"] [data-tone="reel"], [data-theme="dark"][data-tone="reel"] { --bg: #F4B93A; --fg: var(--ink); --mute: #5C4A1C; --rule: rgba(21, 19, 15, .24); --edge: var(--ink); --pop: var(--ink); }
.film-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(30px, 6vw, 100px); align-items: center; }
.film .lede { margin-top: 28px; }
.sound { display: flex; align-items: flex-start; gap: 10px; margin-top: 30px; color: var(--pop); }
.sound .note { transform: rotate(-3deg); }
.sound .scrib { position: static; flex: none; width: 64px; height: 36px; margin-top: 10px; }
.spec { list-style: none; margin: clamp(30px, 4vw, 48px) 0 0; padding: 0; max-width: 36em; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(20px, 3vw, 44px); border-top: 1.5px solid var(--rule); }
.spec li { display: flex; align-items: center; gap: 12px; padding: 15px 0; border-bottom: 1.5px solid var(--rule); font-weight: 500; font-size: 17px; }
.reel { position: relative; justify-self: center; width: clamp(250px, 25vw, 372px); aspect-ratio: 9 / 16; border-radius: 34px; overflow: hidden; background: #FAF0C8; border: 2px solid var(--edge); box-shadow: 10px 10px 0 var(--edge); }
.reel video { display: block; width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; border: 0; background: rgba(21, 19, 15, .12); color: var(--ink); }
.play[hidden] { display: none; }
.play i { position: relative; width: 92px; height: 92px; border-radius: 50%; background: var(--ink); color: var(--sun); display: grid; place-items: center; transition: transform .45s var(--out); }
.play i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--ink); animation: ring 2.4s var(--out) infinite; }
@keyframes ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.7); opacity: 0; } }
.play svg { width: 38px; height: 38px; fill: currentColor; margin-left: 5px; }
.play b { display: inline-flex; gap: 10px; align-items: baseline; padding: 9px 16px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--ink); font-weight: 600; font-size: 15.5px; }
.play small { font-weight: 500; font-size: 14px; color: #6B6456; font-variant-numeric: tabular-nums; }
.play:hover i { transform: scale(1.08); }
@media (max-width: 1000px) { .film-grid { grid-template-columns: minmax(0, 1fr); } .reel { margin-top: 44px; width: min(320px, 82%); } }
@media (max-width: 560px) { .spec { grid-template-columns: 1fr; } .watch { margin-top: 18px; } }
@media (prefers-reduced-motion: reduce) { .play i::after { animation: none; opacity: 0; } }

/* ---------- third pass: nothing sits on top of anything ---------- */
.hero-copy { padding-bottom: calc(var(--arc) + clamp(44px, 7vh, 96px)); }
.hd.stuck { background: color-mix(in srgb, var(--bg) 97%, transparent); }
.hd nav { gap: 24px; } .hd nav a, .clock, .hd .b { white-space: nowrap; }
@media (max-width: 1340px) { .clock small { display: none; } }
@media (max-width: 1120px) { .hd nav a[href="#noon"] { display: none; } }
@media (min-width: 1001px) {
  .set { --pw: clamp(240px, 23vw, 350px); --sw: 232px; --sl: max(-40px, calc(74% - var(--pw) / 2 - var(--sw) - 58px)); }
  .set .phone { left: 74%; width: var(--pw); }
  .set .orb { left: 74%; }
  .slip { left: var(--sl); width: var(--sw); }
  .hero .note { left: calc(var(--sl) - 6px); }
  .hero .scrib { left: calc(var(--sl) + 96px); }
}
@media (min-width: 1001px) and (max-width: 1240px) { .set { --sw: 192px; } .slip { font-size: 11.5px; } .slip .tot { font-size: 14px; } .hero-copy { padding-right: 22px; } }
@media (min-width: 1001px) and (max-width: 1100px) { .clock { display: none; } .set .phone, .set .orb { left: 79%; } }
