:root {
  --paper: #dfe1c7;
  --sage: #a9b39b;
  --sage-dark: #697464;
  --ink: #171812;
  --cream: #f7f0df;
  --powder: #c8e5ea;
  --coral: #df674f;
  --tan: #dca254;
  --mint: #c8dfcd;
  --font-display: 'Arial Rounded MT Bold', 'Trebuchet MS', Arial, sans-serif;
  --font-body: 'Trebuchet MS', Arial, sans-serif;
  --vibe-speed: 1.25s;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font-family: inherit; }
::selection { background: var(--coral); color: var(--ink); }

.site-shell {
  min-height: 100vh;
  overflow: clip;
  background: var(--paper);
  transition: background-color 700ms ease, filter 700ms ease;
}

.site-shell[data-mood='midnight'] {
  --paper: #83958e;
  --sage: #62746d;
  --sage-dark: #45564f;
  --powder: #a7ccd5;
  --cream: #e9e3d4;
  --tan: #c08b50;
  --coral: #d75949;
}

.site-shell[data-mood='sunday'] {
  --paper: #f0e5c9;
  --sage: #bdc8a9;
  --sage-dark: #88917b;
  --powder: #c9e3dc;
  --cream: #fff8e8;
  --tan: #e7af62;
  --coral: #e7775c;
}

.scroll-meter { position: fixed; z-index: 100; top: 0; left: 0; width: 100%; height: 5px; background: transparent; pointer-events: none; }
.scroll-meter span { display: block; width: 0; height: 100%; background: var(--coral); border-right: 3px solid var(--ink); transition: width 80ms linear; }

.site-nav {
  position: sticky; z-index: 90; top: 0; display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; min-height: 82px; padding: 0 4.5vw; border-bottom: 3px solid var(--ink);
  background: color-mix(in srgb, var(--paper) 89%, transparent); backdrop-filter: blur(16px) saturate(1.1);
}
.brand, .site-nav nav, .nav-actions { display: flex; align-items: center; }
.brand { gap: 10px; font: 900 13px/1 var(--font-display); letter-spacing: .08em; }
.brand-dot { width: 17px; height: 17px; flex: 0 0 auto; border: 3px solid var(--ink); border-radius: 50% 45% 55% 42%; background: var(--coral); box-shadow: 3px 3px 0 var(--ink); }
.site-nav nav { gap: 28px; font-size: 10px; font-weight: 900; letter-spacing: .15em; }
.site-nav nav a { position: relative; padding-block: 9px; }
.site-nav nav a::after { position: absolute; right: 0; bottom: 2px; left: 0; height: 3px; background: var(--coral); content: ''; transform: scaleX(0) rotate(-2deg); transform-origin: left; transition: transform 180ms ease; }
.site-nav nav a:hover::after { transform: scaleX(1) rotate(-2deg); }
.nav-actions { justify-content: flex-end; gap: 9px; }
.sound-button, .nav-x, .buy-button { display: inline-flex; align-items: center; justify-content: center; height: 42px; border: 3px solid var(--ink); color: var(--ink); font: 900 12px/1 var(--font-display); transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease; }
.sound-button, .nav-x { width: 42px; border-radius: 50%; background: var(--cream); }
.sound-button svg { width: 17px; }
.buy-button { gap: 7px; padding: 0 18px; border-radius: 13px 17px 12px 15px; background: var(--coral); box-shadow: 4px 4px 0 var(--ink); }
.buy-button svg { width: 16px; }
.sound-button:hover, .nav-x:hover, .buy-button:hover { transform: translate(-2px, -2px) rotate(-1deg); box-shadow: 5px 5px 0 var(--ink); background: var(--tan); }

.hero { position: relative; display: grid; grid-template-columns: minmax(0,.92fr) minmax(380px,.78fr); align-items: center; min-height: calc(100svh - 82px); padding: clamp(80px,8vw,138px) 6.5vw clamp(75px,8vw,130px); isolation: isolate; }
.room-art { position: absolute; z-index: -3; inset: 0; overflow: hidden; }
.room-art img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(.9); transform: scale(1.035); animation: room-breathe 12s ease-in-out infinite alternate; }
.hero-wash { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--paper) 96%, transparent) 0%, color-mix(in srgb, var(--paper) 87%, transparent) 43%, color-mix(in srgb, var(--paper) 17%, transparent) 74%), linear-gradient(0deg, color-mix(in srgb, var(--paper) 60%, transparent), transparent 34%); }
.hero-copy { position: relative; z-index: 2; max-width: 710px; }
[data-reveal] { opacity: 0; transform: translateY(28px) rotate(.3deg); transition: opacity 700ms ease, transform 750ms cubic-bezier(.2,.8,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0) rotate(0); }
.eyebrow { display: inline-block; margin: 0 0 25px; padding: 10px 14px 8px; border: 2px solid var(--ink); border-radius: 16px 12px 18px 10px; background: var(--powder); box-shadow: 3px 3px 0 var(--ink); font: 900 10px/1 var(--font-display); letter-spacing: .12em; transform: rotate(-1.5deg); }
h1, h2, h3, p { text-wrap: pretty; }
h1 { max-width: 780px; margin: 0; font: 900 clamp(4.4rem,8vw,8.6rem)/.79 var(--font-display); letter-spacing: -.075em; }
h1 span { display: inline-block; color: var(--coral); -webkit-text-stroke: 3px var(--ink); text-shadow: 5px 5px 0 var(--cream); transform: rotate(-2deg); }
.tagline { max-width: 500px; margin: 32px 0 30px; font-size: clamp(1rem,1.35vw,1.25rem); font-weight: 800; line-height: 1.45; }
.hero-actions { display: flex; align-items: center; gap: 22px; }
.chill-button { --hold: 0%; position: relative; display: flex; align-items: center; gap: 22px; min-height: 64px; overflow: hidden; padding: 0 10px 0 23px; border: 3px solid var(--ink); border-radius: 20px 14px 18px 15px; background: var(--cream); box-shadow: 6px 6px 0 var(--ink); color: var(--ink); font: 900 12px/1 var(--font-display); letter-spacing: .08em; cursor: pointer; user-select: none; touch-action: none; transition: transform 150ms ease, box-shadow 150ms ease; }
.chill-button:active { transform: translate(4px,4px); box-shadow: 2px 2px 0 var(--ink); }
.hold-fill { position: absolute; inset: 0 auto 0 0; width: var(--hold); background: var(--powder); transition: width 35ms linear; }
.hold-label, .hold-number { position: relative; z-index: 1; }
.hold-number { display: grid; place-items: center; width: 46px; height: 43px; border: 2px solid var(--ink); border-radius: 14px 11px 13px 10px; background: var(--coral); font-size: 10px; }
.story-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 0; font: 900 11px/1 var(--font-display); letter-spacing: .12em; }
.story-link svg { width: 18px; animation: nudge-down 1.5s ease-in-out infinite; }
.secret-hint { margin: 24px 0 0; color: color-mix(in srgb, var(--ink) 62%, transparent); font-size: 11px; font-weight: 800; letter-spacing: .03em; }

.hero-portrait { position: relative; z-index: 1; justify-self: end; width: min(35vw,520px); margin-right: 1.5vw; transform: rotate(1.5deg); transition-delay: 130ms; }
.portrait-button { position: relative; z-index: 1; display: block; width: 100%; padding: 0; border: 4px solid var(--ink); border-radius: 48% 44% 43% 47%; background: none; box-shadow: 12px 14px 0 var(--ink); cursor: pointer; transition: transform 300ms cubic-bezier(.2,.8,.2,1); }
.portrait-button:hover { transform: rotate(-2deg) translateY(-7px); }
.portrait-button img { display: block; width: 100%; border-radius: inherit; }
.portrait-shadow { position: absolute; inset: 9% -7% -6% 4%; border: 4px solid var(--ink); border-radius: 49% 42% 51% 45%; background: var(--powder); transform: rotate(-5deg); }
.portrait-stamp { position: absolute; z-index: 3; right: -7%; bottom: 15%; padding: 12px 16px; border: 3px solid var(--ink); border-radius: 50%; background: var(--cream); box-shadow: 4px 4px 0 var(--ink); font: 900 10px/1 var(--font-display); transform: rotate(8deg); }
.portrait-bubble { position: absolute; z-index: 4; top: -8%; right: -7%; width: 190px; padding: 12px 14px; border: 3px solid var(--ink); border-radius: 17px 13px 16px 12px; background: var(--cream); box-shadow: 4px 4px 0 var(--ink); font: 900 9px/1.35 var(--font-display); letter-spacing: .04em; transform: rotate(4deg); }
.portrait-bubble::after { position: absolute; bottom: -13px; left: 28px; width: 20px; height: 20px; border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); background: var(--cream); content: ''; transform: rotate(45deg); }
.prop-hotspot { position: absolute; z-index: 4; display: grid; place-items: center; width: 58px; height: 58px; border: 3px solid var(--ink); border-radius: 50% 43% 48% 45%; background: var(--tan); box-shadow: 4px 4px 0 var(--ink); cursor: pointer; animation: floaty calc(var(--vibe-speed) * 2.9) ease-in-out infinite alternate; }
.prop-hotspot svg { width: 24px; }
.prop-hotspot span { position: absolute; top: calc(100% + 8px); white-space: nowrap; padding: 4px 6px; border: 2px solid var(--ink); background: var(--cream); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.hotspot-phone { top: 21%; right: 2.8%; transform: rotate(8deg); }
.hotspot-spark { right: 45%; bottom: 10%; background: var(--coral); animation-delay: -.7s; }

.ticker { overflow: hidden; border-block: 3px solid var(--ink); background: var(--ink); color: var(--cream); }
.ticker div { display: flex; align-items: center; width: max-content; padding: 20px 0; animation: ticker 28s linear infinite; }
.ticker span { padding: 0 34px; font: 900 clamp(1rem,1.8vw,1.6rem)/1 var(--font-display); letter-spacing: .05em; }
.ticker i { color: var(--coral); font-style: normal; }
.ticker:hover div { animation-play-state: paused; }

.story-section { padding: clamp(90px,10vw,155px) 0 clamp(100px,11vw,170px); background: var(--ink); color: var(--cream); }
.section-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,.55fr); align-items: end; gap: 50px; padding: 0 6.5vw 65px; }
.section-heading.compact { padding-bottom: 50px; }
.section-kicker { margin: 0 0 17px; color: var(--coral); font-size: 10px; font-weight: 900; letter-spacing: .2em; }
.section-heading h2, .lab-copy h2, .route-intro h2, .finale h2 { margin: 0; font: 900 clamp(3.4rem,6vw,7rem)/.84 var(--font-display); letter-spacing: -.055em; }
.section-heading h2 em, .route-intro h2 em { color: var(--coral); font-style: normal; -webkit-text-stroke: 2px currentColor; }
.story-controls { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding-bottom: 4px; }
.story-controls > p { max-width: 390px; margin: 0; color: rgb(247 240 223 / 70%); font-weight: 700; line-height: 1.55; }
.story-controls > div { display: flex; gap: 10px; }
.arrow-button { width: 48px; height: 48px; border: 3px solid var(--cream); border-radius: 50%; background: transparent; color: var(--cream); }
.arrow-button:hover { background: var(--coral); color: var(--ink); transform: rotate(-6deg); }
.story-rail { display: grid; grid-auto-columns: min(690px,78vw); grid-auto-flow: column; gap: 24px; overflow-x: auto; padding: 5px 6.5vw 26px; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-color: var(--coral) transparent; }
.story-card { position: relative; min-height: 490px; padding: clamp(34px,5vw,64px); border: 4px solid var(--ink); border-radius: 39px 27px 35px 24px; background: var(--cream); box-shadow: 9px 10px 0 var(--coral); color: var(--ink); scroll-snap-align: start; }
.story-card:nth-child(2) { background: var(--powder); transform: rotate(.5deg); }
.story-card:nth-child(3) { background: var(--tan); transform: rotate(-.35deg); }
.story-card:nth-child(4) { background: var(--mint); }
.chapter-number { position: absolute; top: 30px; right: 35px; color: color-mix(in srgb, var(--ink) 17%, transparent); font: 900 clamp(4.5rem,8vw,8.3rem)/1 var(--font-display); }
.chapter-kicker { position: relative; z-index: 1; margin: 0 0 35px; font-size: 9px; font-weight: 900; letter-spacing: .18em; }
.story-card h3 { position: relative; z-index: 1; max-width: 570px; margin: 0 0 26px; font: 900 clamp(2.4rem,4.5vw,4.7rem)/.9 var(--font-display); letter-spacing: -.05em; }
.chapter-copy { position: relative; z-index: 1; max-width: 570px; margin: 0; font-size: clamp(.98rem,1.5vw,1.18rem); font-weight: 700; line-height: 1.58; }
.story-card footer { position: absolute; right: clamp(30px,5vw,64px); bottom: 30px; left: clamp(30px,5vw,64px); display: flex; justify-content: space-between; align-items: end; gap: 20px; padding-top: 19px; border-top: 2px dashed var(--ink); }
.story-card footer span { max-width: 460px; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.story-card footer svg { width: 30px; height: 30px; }

.vibe-lab { display: grid; grid-template-columns: minmax(0,.8fr) minmax(480px,1.1fr); gap: 8vw; padding: clamp(100px,11vw,180px) 6.5vw; background: var(--powder); }
.lab-copy h2 { max-width: 700px; }
.lab-copy > p:last-of-type { max-width: 530px; margin: 30px 0; font-size: 1.08rem; font-weight: 800; line-height: 1.6; }
.mood-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.mood-buttons button { height: 42px; border: 3px solid var(--ink); border-radius: 15px 11px 14px 10px; background: var(--cream); color: var(--ink); font-size: 10px; font-weight: 900; letter-spacing: .08em; box-shadow: 3px 3px 0 var(--ink); }
.mood-buttons button.is-active { background: var(--coral); transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }
.vibe-console { align-self: center; min-height: 520px; padding: clamp(28px,4vw,52px); border: 4px solid var(--ink); border-radius: 45px 32px 41px 28px; background: var(--sage); box-shadow: 13px 15px 0 var(--ink); transform: rotate(.8deg); }
.console-top { display: grid; grid-template-columns: 1fr .7fr; align-items: center; gap: 25px; }
.record-orbit { position: relative; display: grid; place-items: center; aspect-ratio: 1; border: 3px dashed var(--ink); border-radius: 50%; }
.record { display: grid; place-items: center; width: 78%; aspect-ratio: 1; border: 4px solid var(--ink); border-radius: 50%; background: repeating-radial-gradient(circle, #23241e 0 4px, #34352f 5px 8px); animation: spin calc(var(--vibe-speed) * 5) linear infinite; }
.record span { width: 29%; aspect-ratio: 1; border: 3px solid var(--ink); border-radius: 50%; background: var(--coral); }
.needle { position: absolute; top: 7%; right: 5%; width: 9px; height: 59%; border: 3px solid var(--ink); border-radius: 20px; background: var(--cream); transform: rotate(21deg); transform-origin: top; }
.frequency-readout { display: flex; flex-direction: column; align-items: center; padding: 25px 14px; border: 3px solid var(--ink); border-radius: 20px 15px 24px 13px; background: var(--cream); box-shadow: inset 0 0 0 7px var(--powder); text-align: center; }
.frequency-readout span, .frequency-readout small { font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.frequency-readout strong { font: 900 clamp(3.8rem,7vw,6.5rem)/1 var(--font-display); letter-spacing: -.08em; }
.vibe-slider { width: 100%; height: 31px; margin: 42px 0 35px; appearance: none; background: transparent; cursor: ew-resize; }
.vibe-slider::-webkit-slider-runnable-track { height: 15px; border: 3px solid var(--ink); border-radius: 20px; background: linear-gradient(90deg,var(--coral) 0 var(--slider-position),var(--cream) var(--slider-position)); }
.vibe-slider::-webkit-slider-thumb { width: 31px; height: 31px; margin-top: -11px; appearance: none; border: 4px solid var(--ink); border-radius: 50%; background: var(--tan); box-shadow: 3px 3px 0 var(--ink); }
.vibe-slider::-moz-range-track { height: 11px; border: 3px solid var(--ink); border-radius: 20px; background: var(--cream); }
.vibe-slider::-moz-range-progress { height: 11px; background: var(--coral); }
.vibe-slider::-moz-range-thumb { width: 25px; height: 25px; border: 4px solid var(--ink); border-radius: 50%; background: var(--tan); box-shadow: 3px 3px 0 var(--ink); }
.quote-machine { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 23px; border: 3px solid var(--ink); border-radius: 17px 23px 15px 21px; background: var(--ink); color: var(--cream); }
.quote-machine p { max-width: 330px; margin: 0; font: 900 13px/1.4 var(--font-display); }
.shuffle-button { flex: 0 0 auto; min-height: 44px; border: 2px solid var(--cream); background: transparent; color: var(--cream); font-size: 9px; font-weight: 900; letter-spacing: .06em; }
.shuffle-button:hover { background: var(--coral); color: var(--ink); }

.pockets-section { padding: clamp(95px,11vw,170px) 0; background: var(--tan); }
.pockets-section .section-heading { color: var(--ink); }
.pockets-section .section-heading > p { max-width: 430px; margin: 0 0 12px; font-size: 1.05rem; font-weight: 800; line-height: 1.55; }
.pocket-board { position: relative; min-height: min(67vw,700px); margin: 0 6.5vw; overflow: hidden; border: 4px solid var(--ink); border-radius: 48px 33px 46px 30px; background: var(--cream); box-shadow: 13px 14px 0 var(--ink); touch-action: none; }
.board-grid { position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(var(--ink) 1px,transparent 1px),linear-gradient(90deg,var(--ink) 1px,transparent 1px); background-size: 34px 34px; }
.pocket-board::before { position: absolute; top: 0; right: 0; padding: 10px 16px; border-bottom: 3px solid var(--ink); border-left: 3px solid var(--ink); background: var(--powder); font: 900 9px/1 var(--font-display); letter-spacing: .1em; content: 'POCKET INVENTORY · DRAGGABLE'; }
.pocket-item { --item-rotate: 0deg; position: absolute; display: grid; place-items: center; width: clamp(100px,13vw,170px); aspect-ratio: 1; padding: 18px; border: 4px solid var(--ink); border-radius: 44% 51% 47% 43%; background: var(--sage); box-shadow: 8px 9px 0 var(--ink); color: var(--ink); cursor: grab; transform: translate(-50%,-50%) rotate(var(--item-rotate)); transition: box-shadow 130ms ease, background 130ms ease; user-select: none; touch-action: none; }
.pocket-item:nth-of-type(3) { background: var(--coral); }
.pocket-item:nth-of-type(4) { background: var(--powder); }
.pocket-item:nth-of-type(5) { background: var(--mint); }
.pocket-item svg { width: 42%; height: 42%; stroke-width: 1.8; }
.pocket-item span { max-width: 130px; font: 900 8px/1.2 var(--font-display); letter-spacing: .06em; text-align: center; }
.pocket-item:hover { background: var(--coral); }
.pocket-item.is-dragging { z-index: 7; cursor: grabbing; box-shadow: 14px 15px 0 var(--ink); transform: translate(-50%,-50%) rotate(0) scale(1.07); }
.pocket-message { position: absolute; right: 5%; bottom: 5%; left: 5%; padding: 18px 22px; border: 3px solid var(--ink); border-radius: 17px 12px 19px 14px; background: var(--ink); color: var(--cream); font: 900 clamp(.7rem,1.4vw,1rem)/1.3 var(--font-display); letter-spacing: .06em; text-align: center; }
.call-joe-button { position: absolute; z-index: 8; top: 45%; left: 48%; height: 58px; gap: 10px; padding: 0 22px; border: 4px solid var(--ink); border-radius: 22px 15px 19px 14px; background: var(--coral); color: var(--ink); box-shadow: 6px 7px 0 var(--ink); font: 900 11px/1 var(--font-display); letter-spacing: .08em; transform: rotate(-4deg); }
.call-joe-button:hover { transform: rotate(2deg) scale(1.04); background: var(--tan); }

.phone-overlay { position: fixed; z-index: 150; inset: 0; display: grid; place-items: center; padding: 18px; background: rgb(23 24 18 / 40%); backdrop-filter: blur(9px); animation: overlay-in 220ms ease both; }
.joe-phone-dialog { position: relative; display: grid; width: min(430px,calc(100vw - 36px)); max-width: 430px; gap: 20px; padding: 30px; border: 4px solid var(--ink); border-radius: 32px 24px 29px 21px; background: var(--cream); box-shadow: 12px 13px 0 var(--ink); color: var(--ink); }
.phone-close { position: absolute; z-index: 2; top: 12px; right: 12px; display: grid; place-items: center; width: 34px; height: 34px; border: 3px solid var(--ink); border-radius: 50%; background: var(--coral); cursor: pointer; }
.phone-close svg { width: 16px; }
.dialog-status { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.dialog-status span { width: 9px; height: 9px; border: 2px solid var(--ink); border-radius: 50%; background: #60a965; }
.joe-phone-dialog h3 { margin: 14px 0 0; font: 900 2.2rem/.95 var(--font-display); letter-spacing: -.04em; }
.dialog-description { margin: 7px 0 0; color: var(--sage-dark); font-weight: 700; line-height: 1.45; }
.message-thread { display: flex; flex-direction: column; gap: 10px; min-height: 220px; padding: 18px; border: 3px solid var(--ink); border-radius: 21px 15px 22px 14px; background: var(--powder); }
.message { max-width: 78%; margin: 0; padding: 10px 13px; border: 2px solid var(--ink); font-weight: 800; line-height: 1.35; }
.message.received { align-self: flex-start; border-radius: 14px 14px 14px 4px; background: var(--cream); }
.message.sent { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: var(--coral); }
.reply-button { min-height: 46px; border: 3px solid var(--ink); background: var(--coral); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.phone-end { margin: 0; text-align: center; font-size: 9px; font-weight: 900; letter-spacing: .13em; }

.roadmap-section { display: grid; grid-template-columns: minmax(310px,.62fr) minmax(600px,1.38fr); gap: 4vw; padding: clamp(100px,11vw,170px) 4vw clamp(110px,12vw,190px) 6.5vw; background: var(--sage); }
.route-intro { align-self: center; }
.route-intro > p:last-child { max-width: 470px; margin: 30px 0 0; font-size: 1.05rem; font-weight: 800; line-height: 1.6; }
.route-machine { position: relative; min-height: 670px; }
.route-path { position: absolute; inset: 4% 3%; }
.route-path svg { width: 100%; height: 100%; overflow: visible; }
.route-path path { fill: none; stroke: var(--ink); stroke-width: 5px; stroke-linecap: round; stroke-dasharray: 10 17; animation: route-dash 22s linear infinite; }
.cassette-core { position: absolute; z-index: 3; top: 50%; left: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; width: min(41vw,440px); min-height: 330px; padding: 40px 42px; border: 5px solid var(--ink); border-radius: 35px 27px 39px 25px; background: var(--coral); box-shadow: 13px 15px 0 var(--ink); text-align: center; transform: translate(-50%,-50%) rotate(-1deg); }
.tape-window { position: relative; display: flex; justify-content: space-around; align-items: center; width: 74%; height: 76px; margin-bottom: 19px; border: 4px solid var(--ink); border-radius: 14px; background: var(--cream); }
.tape-window span { width: 40px; height: 40px; border: 4px dashed var(--ink); border-radius: 50%; animation: spin calc(var(--vibe-speed) * 3) linear infinite; }
.tape-window i { position: absolute; bottom: -17px; width: 50%; height: 26px; border: 4px solid var(--ink); border-radius: 8px; background: var(--tan); }
.cassette-core > p { margin: 10px 0 6px; font-size: 9px; font-weight: 900; letter-spacing: .2em; }
.cassette-core h3 { margin: 0 0 12px; font: 900 clamp(1.9rem,3.3vw,3.2rem)/.9 var(--font-display); letter-spacing: -.04em; }
.cassette-core > span { max-width: 330px; font-weight: 800; line-height: 1.45; }
.play-track { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 11px 15px; border: 3px solid var(--ink); border-radius: 13px 9px 14px 10px; background: var(--ink); color: var(--cream); font-size: 9px; font-weight: 900; letter-spacing: .1em; cursor: pointer; }
.play-track svg { width: 15px; fill: currentColor; }
.track-nodes button { position: absolute; z-index: 5; display: flex; align-items: center; gap: 9px; min-height: 49px; padding: 8px 14px 8px 8px; border: 3px solid var(--ink); border-radius: 25px 17px 23px 15px; background: var(--cream); color: var(--ink); box-shadow: 4px 5px 0 var(--ink); font-size: 8px; font-weight: 900; letter-spacing: .05em; cursor: pointer; transition: transform 160ms ease, background 160ms ease; }
.track-nodes button span { display: grid; place-items: center; width: 31px; height: 31px; border: 2px solid var(--ink); border-radius: 50%; background: var(--powder); }
.track-nodes button.is-active { background: var(--tan); transform: scale(1.08) rotate(-2deg); }
.track-nodes button:nth-child(1) { top: 14%; left: 5%; }
.track-nodes button:nth-child(2) { top: 4%; left: 47%; }
.track-nodes button:nth-child(3) { top: 38%; right: 0; }
.track-nodes button:nth-child(4) { right: 13%; bottom: 5%; }
.track-nodes button:nth-child(5) { bottom: 10%; left: 3%; }

.finale { position: relative; min-height: 90vh; display: grid; place-items: center; overflow: hidden; border-top: 4px solid var(--ink); isolation: isolate; }
.finale-art { position: absolute; z-index: -2; inset: 0; }
.finale-art img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75); transform: scale(1.04); }
.finale::after { position: absolute; z-index: -1; inset: 0; background: color-mix(in srgb,var(--sage) 58%,transparent); backdrop-filter: blur(1px); content: ''; }
.finale-copy { width: min(1080px,88vw); padding: clamp(45px,7vw,90px); border: 5px solid var(--ink); border-radius: 48px 30px 44px 31px; background: color-mix(in srgb,var(--cream) 92%,transparent); box-shadow: 15px 17px 0 var(--ink); text-align: center; }
.finale-copy > p { margin: 0 0 20px; color: var(--coral); font-size: 10px; font-weight: 900; letter-spacing: .22em; }
.finale h2 { font-size: clamp(3.4rem,7vw,7.6rem); }
.finale-copy > div { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 42px; }
.big-buy, .big-x { display: inline-flex; align-items: center; gap: 10px; min-height: 62px; padding: 0 24px; border: 4px solid var(--ink); border-radius: 19px 13px 21px 15px; font: 900 11px/1 var(--font-display); letter-spacing: .07em; transition: transform 160ms ease, box-shadow 160ms ease; }
.big-buy { background: var(--coral); box-shadow: 6px 7px 0 var(--ink); }
.big-x { background: var(--powder); }
.big-buy:hover, .big-x:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: 8px 10px 0 var(--ink); }
.big-buy svg, .big-x svg { width: 17px; }

.site-footer { display: grid; grid-template-columns: 1fr minmax(300px,.8fr) 1fr; align-items: center; gap: 35px; min-height: 120px; padding: 30px 5vw; border-top: 4px solid var(--ink); background: var(--ink); color: var(--cream); font-size: 9px; font-weight: 900; letter-spacing: .08em; }
.footer-brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); }
.site-footer p { margin: 0; color: rgb(247 240 223 / 60%); line-height: 1.5; text-align: center; }
.site-footer > span { text-align: right; }

.chill-overlay { position: fixed; z-index: 200; inset: 0; display: grid; place-items: center; overflow: hidden; background: color-mix(in srgb,var(--powder) 94%,transparent); backdrop-filter: blur(18px); animation: overlay-in 480ms cubic-bezier(.2,.8,.2,1) both; }
.close-chill { position: absolute; z-index: 3; top: 28px; right: 28px; display: grid; place-items: center; width: 50px; height: 50px; border: 3px solid var(--ink); border-radius: 50%; background: var(--cream); box-shadow: 4px 4px 0 var(--ink); cursor: pointer; }
.chill-message { position: relative; z-index: 2; max-width: 900px; padding: 50px; text-align: center; }
.chill-message > span { display: inline-block; padding: 9px 13px; border: 3px solid var(--ink); border-radius: 14px; background: var(--coral); box-shadow: 4px 4px 0 var(--ink); font: 900 10px/1 var(--font-display); letter-spacing: .15em; transform: rotate(-2deg); }
.chill-message h2 { margin: 28px 0 18px; font: 900 clamp(4rem,10vw,9rem)/.78 var(--font-display); letter-spacing: -.07em; }
.chill-message p { font-size: 1.1rem; font-weight: 800; }
.chill-message button { display: inline-flex; align-items: center; gap: 9px; min-height: 55px; margin-top: 22px; padding: 0 20px; border: 3px solid var(--ink); border-radius: 18px 12px 16px 13px; background: var(--cream); box-shadow: 5px 5px 0 var(--ink); font-size: 10px; font-weight: 900; letter-spacing: .08em; cursor: pointer; }
.orbit { position: absolute; display: flex; justify-content: space-between; align-items: center; width: min(82vw,980px); aspect-ratio: 1; padding: 0 5%; border: 4px dashed var(--ink); border-radius: 50%; animation: spin 18s linear infinite; }
.orbit svg, .orbit > span { display: grid; place-items: center; width: clamp(35px,5vw,70px); height: clamp(35px,5vw,70px); padding: 9px; border: 3px solid var(--ink); border-radius: 50%; background: var(--cream); font: 900 clamp(1.1rem,3vw,2.4rem)/1 var(--font-display); }
.orbit-two { width: min(54vw,670px); animation-direction: reverse; animation-duration: 12s; }

@keyframes room-breathe { to { transform: scale(1.07) translate3d(-1%,.5%,0); } }
@keyframes nudge-down { 50% { transform: translateY(5px); } }
@keyframes floaty { to { margin-top: -13px; transform: rotate(-5deg); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes route-dash { to { stroke-dashoffset: -400; } }
@keyframes overlay-in { from { opacity: 0; transform: scale(1.06); } }

@media (max-width: 1050px) {
  .site-nav { grid-template-columns: 1fr auto; }
  .site-nav nav { display: none; }
  .hero { grid-template-columns: minmax(0,1fr) minmax(340px,.7fr); padding-inline: 4.5vw; }
  h1 { font-size: clamp(4.2rem,9.3vw,7rem); }
  .hotspot-phone { display: none; }
  .vibe-lab { grid-template-columns: 1fr; }
  .vibe-console { width: min(720px,100%); }
  .roadmap-section { grid-template-columns: 1fr; padding-inline: 6vw; }
  .route-intro { max-width: 720px; }
  .route-machine { min-height: 700px; }
  .cassette-core { width: min(53vw,440px); }
}

@media (max-width: 760px) {
  .site-nav { min-height: 74px; padding: 0 18px; }
  .brand span:last-child { display: none; }
  .sound-button { display: none; }
  .nav-x, .buy-button { height: 40px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 85px 22px 95px; }
  .hero-wash { background: linear-gradient(180deg,color-mix(in srgb,var(--paper) 94%,transparent) 0 48%,color-mix(in srgb,var(--paper) 38%,transparent) 100%); }
  h1 { font-size: clamp(3.6rem,18vw,7rem); }
  .hero-portrait { justify-self: center; width: min(83vw,520px); margin-top: 75px; }
  .portrait-bubble { top: -7%; right: -2%; width: 160px; }
  .hotspot-spark { right: 8%; bottom: 3%; }
  .secret-hint { display: none; }
  .section-heading { grid-template-columns: 1fr; align-items: start; padding-inline: 22px; }
  .section-heading h2, .lab-copy h2, .route-intro h2 { font-size: clamp(3.1rem,14vw,5.5rem); }
  .story-rail { grid-auto-columns: 88vw; padding-inline: 22px; }
  .story-card { min-height: 565px; padding: 38px 30px; }
  .story-card footer { right: 30px; bottom: 28px; left: 30px; }
  .vibe-lab { padding-inline: 22px; }
  .console-top { grid-template-columns: 1fr; }
  .record-orbit { width: 72%; justify-self: center; }
  .quote-machine { align-items: stretch; flex-direction: column; }
  .pocket-board { min-height: 680px; margin-inline: 18px; }
  .pocket-item { width: 112px; }
  .call-joe-button { top: 46%; left: 38%; }
  .roadmap-section { padding-inline: 22px; }
  .route-machine { display: flex; flex-direction: column; min-height: 900px; padding-top: 60px; }
  .route-path { display: none; }
  .cassette-core { position: relative; top: auto; left: auto; width: 100%; transform: rotate(-1deg); }
  .track-nodes { display: grid; gap: 12px; margin-top: 45px; }
  .track-nodes button { position: static; width: 100%; transform: none !important; }
  .track-nodes button.is-active { background: var(--tan); }
  .finale { padding: 85px 0; }
  .finale-copy { padding: 50px 24px; }
  .finale-copy > div { flex-direction: column; }
  .big-buy, .big-x { justify-content: center; }
  .site-footer { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-content: center; }
  .site-footer > span { text-align: center; }
  .orbit { width: 120vw; }
  .orbit-two { width: 82vw; }
}

@media (max-width: 470px) {
  .buy-button { padding-inline: 13px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-portrait { width: 88vw; }
  .chapter-number { font-size: 4.3rem; }
  .story-card h3 { font-size: 2.45rem; }
  .pocket-item { width: 94px; }
  .pocket-item span { font-size: 7px; }
  .call-joe-button { left: 30%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
