/* Retro Lanes: a 1970s bowling alley. Cream wall with a sunburst, ink outlines, hard printed shadows.
   Orange is the one thing to press; teal is the ball. Fonts are self-hosted and SIL OFL (fonts/). */
@font-face { font-family: "Righteous"; src: url("fonts/Righteous-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/DMSans.ttf") format("truetype"); font-weight: 100 1000; font-display: swap; }
:root {
  --cream: #f4e6c8; --cream-deep: #ecd6a8; --paper: #fffaf0; --ink: #3b2415; --soft: #7a5a44;
  --orange: #d96c2b; --mustard: #e9b23c; --teal: #2f7f7a; --brown: #6b3a1e;
  --display: "Righteous", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --line: 3px solid var(--ink); --drop: 5px 5px 0 var(--ink);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; }
a { color: var(--teal); }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

/* ---------- header ---------- */
.top { position: fixed; z-index: 20; inset: 0 0 auto 0; display: flex; align-items: center; justify-content: space-between;
  padding: max(12px, env(safe-area-inset-top)) 20px 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 21px; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 9px; border: 2px solid var(--ink); }
.top nav { display: flex; gap: 8px; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; padding: 6px 13px; border-radius: 999px;
  background: var(--paper); border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.top nav a:hover { background: var(--mustard); }
.top nav a:active { transform: translate(2px, 2px); box-shadow: none; }

/* ---------- story ---------- */
.story { position: relative; }
.stage { position: relative; overflow: hidden;
  background: repeating-conic-gradient(from 0deg at 62% 42%, rgba(217, 108, 43, 0.1) 0 10deg, transparent 10deg 20deg),
    radial-gradient(120% 90% at 62% 42%, #f8eed6 0%, var(--cream-deep) 100%); }
#scene { display: none; }
.hud { display: none; }
.panels { max-width: 620px; margin: 0 auto; padding: 110px 20px 40px; display: grid; gap: 44px; }
.panel h1 { font-size: clamp(46px, 6.6vw, 92px); white-space: nowrap; line-height: 1; color: var(--orange); text-shadow: 0.045em 0.045em 0 var(--ink); }
.panel h1 .ch { display: inline-block; }
.panel h2 { font-size: clamp(32px, 5vw, 50px); line-height: 1.08; margin-bottom: 12px; }
.panel p { font-size: clamp(17px, 2vw, 20px); color: var(--soft); max-width: 30em; }
.eyebrow, .step { font-weight: 700; font-size: 14px !important; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal) !important; margin-bottom: 12px; }
.lead { font-size: clamp(20px, 2.6vw, 26px) !important; color: var(--ink) !important; font-weight: 600; margin-top: 16px; }
.soon { display: inline-block; margin-top: 22px; padding: 11px 20px; border-radius: 999px; background: var(--orange); color: var(--ink) !important;
  font-family: var(--display); font-size: 18px !important; border: var(--line); box-shadow: var(--drop); }
.cue { margin-top: 28px; font-size: 15px !important; font-weight: 700; color: var(--ink) !important; display: none; }
.cue-arrow { display: inline-block; }
.stars { font-size: 46px !important; color: var(--mustard) !important; -webkit-text-stroke: 2.5px var(--ink); letter-spacing: 8px; line-height: 1; margin-bottom: 8px; }
.stars span { display: inline-block; }
.strike h2 { color: var(--orange); text-shadow: 0.05em 0.05em 0 var(--ink); font-size: clamp(44px, 7vw, 76px); display: inline-block; transform: rotate(-3deg); }

/* Pinned, scroll-driven version: only when the script is running. */
.js .story { height: 640vh; }
.js .stage { position: sticky; top: 0; height: 100vh; height: 100svh; }
.js #scene { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.js .hud { display: flex; gap: 0; position: absolute; z-index: 3; top: 76px; right: 22px; background: var(--paper); border: var(--line); box-shadow: 4px 4px 0 var(--ink); }
.chip { padding: 6px 16px 7px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--soft);
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px; }
.chip + .chip { border-left: var(--line); }
.chip > span, .chip b { font-family: var(--display); font-weight: 400; font-size: 20px; letter-spacing: 0; color: var(--ink); font-variant-numeric: tabular-nums; }
.lock-dot { width: 17px; height: 17px; margin: 5px 0 6px; border-radius: 50%; background: var(--orange); border: 2.5px solid var(--ink); display: inline-block; transition: background 0.25s; }
.lock-dot.used { background: transparent; border-style: dashed; }
.js .panels { position: absolute; inset: 0; max-width: none; margin: 0; padding: 0; display: block; pointer-events: none; z-index: 2; }
.js .panel { position: absolute; left: clamp(20px, 7vw, 110px); top: 50%; width: min(440px, 40vw); transform: translateY(-50%);
  opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0s linear 0.35s; }
.js .panel.hero { width: min(620px, 47vw); }
.js .panel.on { opacity: 1; visibility: visible; transition: opacity 0.35s ease; pointer-events: auto; }
.js .cue { display: block; }

@media (max-width: 760px) {
  .top nav a:not(:last-child) { display: none; }
  .js .hud { top: 68px; right: 14px; }
  .js .panel { left: 14px; right: 18px; width: auto; top: auto; bottom: max(22px, env(safe-area-inset-bottom)); transform: none;
    background: var(--paper); border: var(--line); border-radius: 22px; padding: 20px 20px 22px; box-shadow: var(--drop); }
  .js .panel.hero { width: auto; background: none; border: 0; box-shadow: none; padding: 0 6px 6px; }
  .panel h2 { margin-bottom: 8px; }
  .cue { margin-top: 16px; }
  .soon { margin-top: 16px; }
}

/* ---------- sections ---------- */
.stripes { height: 54px; background: linear-gradient(var(--orange) 0 14px, var(--cream) 14px 20px, var(--mustard) 20px 34px, var(--cream) 34px 40px, var(--teal) 40px 54px); }
.inside, .shots, .closing { padding: clamp(64px, 10vw, 120px) 20px; }
.inside { background: var(--cream); }
.section-title { text-align: center; font-size: clamp(30px, 4.6vw, 46px); margin-bottom: clamp(28px, 5vw, 52px); }
.cards { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { background: var(--paper); border: var(--line); border-radius: 22px; padding: 24px 22px 28px; box-shadow: var(--drop); }
.card .big { font-family: var(--display); font-size: 66px; line-height: 1; color: var(--orange); text-shadow: 3px 3px 0 var(--ink); margin-bottom: 16px; }
.card h3 { font-size: 21px; line-height: 1.2; margin: 0 0 8px; }
.card p:last-child { color: var(--soft); font-size: 16px; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cards { grid-template-columns: 1fr; } }

.shots { background: var(--teal); color: var(--paper); overflow: hidden; border-block: var(--line); }
.phones { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 3vw, 38px); align-items: start; }
.phone { margin: 0; border-radius: clamp(18px, 3vw, 34px); overflow: hidden; border: clamp(4px, 0.7vw, 7px) solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink); background: var(--ink); }
.phone:nth-child(2) { margin-top: clamp(16px, 5vw, 56px); }
@media (max-width: 560px) {
  .phones { grid-template-columns: repeat(3, 62vw); overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 12px 30px; margin: 0 -20px; padding-left: 20px; }
  .phone { scroll-snap-align: center; }
  .phone:nth-child(2) { margin-top: 0; }
}

.closing { text-align: center; background: var(--cream);
  background-image: repeating-conic-gradient(from 0deg at 50% 38%, rgba(217, 108, 43, 0.1) 0 10deg, transparent 10deg 20deg); }
.closing img { margin: 0 auto 24px; border-radius: 20px; border: var(--line); box-shadow: var(--drop); }
.closing h2 { font-size: clamp(28px, 4.6vw, 44px); margin-bottom: 12px; }
.closing p { color: var(--soft); }

.foot { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; padding: 26px 20px max(26px, env(safe-area-inset-bottom));
  background: var(--brown); border-top: var(--line); color: rgba(255, 250, 240, 0.78); font-size: 15px; }
.foot span { font-family: var(--display); color: var(--paper); }
.foot a { color: var(--paper); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
