:root {
  --ink: #181818;
  --cream: #ffffff;
  --pink: #ff4d9d;
  --yellow: #ffe137;
  --blue: #2454ff;
  --green: #42e879;
  --orange: #ff7139;
  --line-thin: 2px;
  --line-thick: 4px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --tracking-display: -.035em;
  --tracking-heading: -.012em;
  --tracking-compact: .075em;
  --pixel: "Bitcount Grid Double", "Arial Black", sans-serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--rf-banner-height, 46px) + 12px); }
body { margin: 0; padding-top: var(--rf-banner-height, 46px); color: var(--ink); background: var(--cream); font-family: var(--sans); overflow-x: hidden; }
a { color: inherit; }
button { font: inherit; }
p, h1, h2 { margin: 0; }
::selection { color: var(--cream); background: var(--blue); }
[hidden] { display: none !important; }

[data-section-panel]:not([hidden]) { animation: section-unfold .7s cubic-bezier(.18, .82, .18, 1) both; }

.site-header {
  position: fixed;
  z-index: 100;
  top: calc(var(--rf-banner-height, 46px) + 18px);
  left: 18px;
}
.logo { display: flex; align-items: center; gap: 9px; width: max-content; font-family: var(--pixel); font-size: 20px; font-weight: 750; text-decoration: none; letter-spacing: .015em; }
.logo span { width: 34px; aspect-ratio: 1; display: grid; place-items: center; border: var(--line-thin) solid var(--ink); border-radius: 50%; color: var(--cream); background: var(--pink); font-size: 22px; box-shadow: 2px 2px 0 var(--ink); }
.site-header .logo { padding: 8px 13px 8px 8px; border: var(--line-thin) solid var(--ink); border-radius: var(--radius-pill); background: rgba(255, 255, 255, .9); box-shadow: 4px 5px 0 var(--ink); backdrop-filter: blur(10px); transition: transform .18s ease, box-shadow .18s ease; }
.site-header .logo:hover, .site-header .logo:focus-visible { transform: translateY(-3px); box-shadow: 4px 8px 0 var(--ink); }

.hero {
  position: relative;
  min-height: calc(100svh - var(--rf-banner-height, 46px));
  display: grid;
  grid-template-columns: 1fr minmax(420px, .82fr);
  grid-template-rows: auto 1fr auto;
  column-gap: 5vw;
  padding: 120px 5vw 52px;
  overflow: hidden;
  background: var(--yellow);
}
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 34% 43%, rgba(255,255,255,.55) 0 1px, transparent 2px) 0 0 / 14px 14px; opacity: .55; pointer-events: none; }
.checker { --checker-x: 0px; --checker-y: 0px; --checker-bg: var(--pink); background-color: var(--checker-bg); background-image: conic-gradient(from 90deg, var(--ink) 0 25%, var(--checker-bg) 0 50%, var(--ink) 0 75%, var(--checker-bg) 0); background-position: var(--checker-x) var(--checker-y); background-size: 48px 48px; }
.hero-checker { --hero-checker-opacity: .96; position: absolute; right: -30px; top: 0; width: 21vw; height: 100%; opacity: var(--hero-checker-opacity); transform-origin: right center; animation: hero-checker-in .9s cubic-bezier(.18, .82, .18, 1) .1s both; }
.hero h1 { position: relative; z-index: 7; grid-column: 1 / -1; grid-row: 2; align-self: center; width: max-content; display: flex; gap: .1em; font-family: var(--pixel); font-size: clamp(78px, 9.2vw, 146px); line-height: .8; letter-spacing: var(--tracking-display); pointer-events: none; }
.hero h1 span { --hero-x: 0%; display: block; width: max-content; font-variation-settings: "wght" 760, "slnt" 0, "CRSV" 1, "ELSH" 0, "ELXP" 0; filter: drop-shadow(5px 7px 0 var(--cream)); transform: translateX(var(--hero-x)); animation: hero-word-in .9s cubic-bezier(.16, .9, .24, 1.16) .28s both; }
.hero h1 span:nth-child(2) { color: var(--blue); animation-delay: .39s; }
.hero h1 span:nth-child(3) { color: var(--pink); animation-delay: .5s; }
.hero-deck { position: relative; z-index: 2; grid-row: 3; max-width: 490px; align-self: end; font-size: 17px; line-height: 1.45; font-weight: 500; animation: hero-copy-in .65s ease .75s both; }
.round-link { position: absolute; z-index: 8; right: 39%; bottom: 42px; width: 116px; aspect-ratio: 1; display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 20px; border: var(--line-thin) solid var(--ink); border-radius: 50%; background: var(--green); box-shadow: 5px 6px 0 var(--ink); font-size: 11px; font-weight: 700; line-height: 1.15; text-decoration: none; transform: rotate(8deg); transition: transform .2s ease; animation: hero-round-link-in .65s cubic-bezier(.16, .9, .24, 1.2) 1.05s both; }
.round-link:hover { transform: rotate(-4deg) scale(1.05); }
.round-link b { font-size: 23px; }
.claw-machine { --claw-x: 0px; --claw-drop: 0px; position: relative; z-index: 3; grid-column: 2; grid-row: 1 / 4; align-self: center; justify-self: center; width: min(480px, 94%); height: min(690px, 78vh); overflow: hidden; border: var(--line-thick) solid var(--ink); border-radius: var(--radius-lg); background: var(--pink); box-shadow: 18px 22px 0 var(--blue), 21px 25px 0 var(--ink); transform: rotate(2.5deg); animation: hero-machine-in 1s cubic-bezier(.16, .9, .24, 1.12) .24s both; }
.machine-top { position: relative; z-index: 3; height: 13%; display: grid; place-items: center; border-bottom: var(--line-thick) solid var(--ink); border-radius: calc(var(--radius-lg) - var(--line-thick)) calc(var(--radius-lg) - var(--line-thick)) 0 0; background: var(--pink); font-family: var(--pixel); font-size: clamp(20px, 2.4vw, 35px); font-weight: 800; letter-spacing: var(--tracking-compact); }
.machine-glass { --shine-center: -28%; --shine-width: 8%; position: relative; height: 62%; margin: 0 20px; overflow: hidden; border: var(--line-thick) solid var(--ink); border-top: 0; border-radius: 0 0 var(--radius-md) var(--radius-md); background: rgba(255, 255, 255, .86); }
.machine-glass::after { content: ""; position: absolute; z-index: 6; inset-block: 0; left: var(--shine-center); width: var(--shine-width); background: linear-gradient(90deg, rgba(255,255,255,.18), rgba(255,255,255,.72) 42%, rgba(255,255,255,.42)); transform: translateX(-50%) skewX(-11deg); transform-origin: center; pointer-events: none; }
.claw-line { position: absolute; z-index: 1; top: 0; left: calc(50% - 2px + var(--claw-x)); width: 5px; height: calc(24% + var(--claw-drop)); border-radius: var(--radius-pill); background: var(--ink); }
.claw-assembly { position: absolute; z-index: 3; top: 18%; left: 50%; width: 170px; height: 128px; transform: translateX(calc(-50% + var(--claw-x))) translateY(var(--claw-drop)); }
.claw-hub { position: absolute; z-index: 4; top: 0; left: 50%; width: 38px; aspect-ratio: 1; border: var(--line-thick) solid var(--ink); border-radius: 50%; background: var(--blue); box-shadow: 3px 4px 0 var(--ink); transform: translateX(-50%); }
.claw-hub::after, .claw-joint::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 3px; border-radius: var(--radius-pill); background: var(--ink); transform: translate(-50%, -50%) rotate(-18deg); }
.claw-pincer { position: absolute; z-index: 2; top: 14px; width: 70px; height: 112px; }
.claw-pincer--left { left: 15px; }
.claw-pincer--right { right: 15px; }
.claw-segment { position: absolute; display: block; width: 19px; border: var(--line-thick) solid var(--ink); border-radius: var(--radius-pill); background: var(--yellow); box-shadow: inset -3px -4px 0 rgba(24,24,24,.12); transform-origin: 50% 9px; }
.claw-segment--upper { height: 62px; }
.claw-segment--lower { height: 58px; background: var(--pink); }
.claw-pincer--left .claw-segment--upper { top: 0; left: 46px; transform: rotate(35deg); }
.claw-pincer--left .claw-segment--lower { top: 44px; left: 13px; transform: rotate(-18deg); }
.claw-pincer--right .claw-segment--upper { top: 0; left: 5px; transform: rotate(-35deg); }
.claw-pincer--right .claw-segment--lower { top: 44px; left: 38px; transform: rotate(18deg); }
.claw-segment--lower { transition: transform .24s cubic-bezier(.2, .8, .2, 1); }
.claw-machine.is-claw-closed .claw-pincer--left .claw-segment--lower { transform: rotate(-42deg); }
.claw-machine.is-claw-closed .claw-pincer--right .claw-segment--lower { transform: rotate(42deg); }
.claw-joint { position: absolute; z-index: 4; top: 39px; width: 23px; aspect-ratio: 1; border: var(--line-thick) solid var(--ink); border-radius: 50%; background: var(--cream); box-shadow: 2px 3px 0 var(--ink); }
.claw-pincer--left .claw-joint { left: 10px; }
.claw-pincer--right .claw-joint { left: 36px; }
.toy { --toy-size: 58px; position: absolute; z-index: 2; left: 0; top: 0; width: var(--toy-size); aspect-ratio: 1; border: var(--line-thick) solid var(--ink); border-radius: 50%; background: var(--toy-color, var(--yellow)); box-shadow: inset -5px -6px 0 rgba(0,0,0,.13); will-change: transform; }
.toy--sm { --toy-size: 52px; }
.toy--md { --toy-size: 58px; }
.toy--lg { --toy-size: 64px; }
.toy--pink { --toy-color: var(--pink); }
.toy--blue { --toy-color: var(--blue); }
.toy--yellow { --toy-color: var(--yellow); }
.toy--green { --toy-color: var(--green); }
.toy--orange { --toy-color: var(--orange); }
.toy--cream { --toy-color: var(--cream); }
.prize-chute { position: absolute; z-index: 1; right: 0; bottom: 0; width: 92px; height: 92px; display: grid; place-items: center; border-left: var(--line-thick) solid var(--ink); border-radius: var(--radius-md) 0 0 0; color: var(--cream); background: var(--ink); box-shadow: inset 10px 12px 0 rgba(255,255,255,.08); }
.prize-chute span { font-size: 8px; font-weight: 800; line-height: 1.05; letter-spacing: .08em; text-align: center; }
.machine-console { position: relative; z-index: 7; height: calc(25% + 18px); display: grid; grid-template-columns: 46px 70px 70px 46px; justify-content: center; align-items: center; gap: 10px; margin-top: -18px; padding: 12px; border-top: var(--line-thick) solid var(--ink); border-radius: var(--radius-sm) var(--radius-sm) calc(var(--radius-lg) - var(--line-thick)) calc(var(--radius-lg) - var(--line-thick)); background: var(--cream); }
.machine-control { position: relative; min-width: 0; border: var(--line-thick) solid var(--ink); color: var(--cream); background: var(--blue); box-shadow: 4px 5px 0 var(--ink); cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.machine-control:hover, .machine-control:focus-visible { background: var(--green); transform: translateY(-3px); box-shadow: 4px 8px 0 var(--ink); }
.machine-control:active { transform: translateY(3px); box-shadow: 1px 2px 0 var(--ink); }
.machine-control--left, .machine-control--right { width: 46px; height: 50px; padding: 0; border: 0; outline: 0; appearance: none; -webkit-tap-highlight-color: transparent; background: transparent; filter: drop-shadow(4px 5px 0 var(--ink)); box-shadow: none; }
.machine-control--left svg, .machine-control--right svg { display: block; width: 100%; height: 100%; overflow: visible; fill: var(--blue); stroke: var(--ink); stroke-width: var(--line-thick); stroke-linejoin: round; transition: fill .16s ease; }
.machine-control--left:hover svg, .machine-control--left:focus-visible svg, .machine-control--right:hover svg, .machine-control--right:focus-visible svg { fill: var(--green); }
.machine-control--left:hover, .machine-control--left:focus-visible, .machine-control--right:hover, .machine-control--right:focus-visible { outline: 0; background: transparent; box-shadow: none; filter: drop-shadow(4px 8px 0 var(--ink)); }
.machine-control--left:active, .machine-control--right:active { background: transparent; box-shadow: none; filter: drop-shadow(1px 2px 0 var(--ink)); }
.machine-control--drop, .machine-control--grab { width: 70px; height: 48px; border-radius: var(--radius-sm); }
.machine-control--grab { background: var(--pink); }
.machine-control--grab[aria-pressed="true"] { color: var(--ink); background: var(--yellow); }
.machine-control span { display: block; font-size: 9px; font-weight: 800; letter-spacing: .06em; pointer-events: none; }
.hero-stamp { position: absolute; z-index: 6; right: 4.5%; top: 16%; width: 106px; aspect-ratio: 1; display: grid; place-items: center; border: var(--line-thick) solid var(--ink); border-radius: 50%; background: var(--green); font-family: var(--pixel); font-size: 19px; line-height: .78; text-align: center; transform: rotate(13deg); box-shadow: 6px 7px 0 var(--ink); animation: hero-stamp-in .65s cubic-bezier(.16, .9, .24, 1.25) .95s both; }

.ticker { height: 48px; overflow: hidden; border-block: var(--line-thick) solid var(--ink); color: var(--cream); background: var(--blue); font-family: var(--pixel); font-size: 22px; font-weight: 700; white-space: nowrap; }
.ticker-track { width: max-content; display: flex; line-height: 42px; animation: ticker 34s linear infinite; will-change: transform; }
.ticker-group { display: flex; flex: none; }
.ticker-group span { flex: none; padding-right: .42em; }
.letter-chamber {
  position: relative;
  z-index: 18;
  height: 88px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-block: var(--line-thick) solid var(--ink);
  isolation: isolate;
}
.letter-chamber::before,
.letter-chamber::after {
  content: "";
  position: absolute;
  z-index: 5;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(24,24,24,.88);
  box-shadow: 0 2px 0 rgba(255,255,255,.18);
  pointer-events: none;
}
.letter-chamber::before { top: 0; }
.letter-chamber::after { bottom: 0; transform: rotate(180deg); }
.letter-chamber--pink { background-color: var(--pink); }
.letter-chamber--yellow { background-color: var(--yellow); }
.letter-chamber--blue { background-color: var(--blue); }
.letter-chamber--green { background-color: var(--green); }
.letter-chamber--cream { background-color: var(--cream); }
.letter-chamber-balls { position: relative; z-index: 3; width: 100%; display: flex; justify-content: center; align-items: center; gap: clamp(4px, .65vw, 11px); padding-inline: 12px; pointer-events: none; }
.chamber-toggle {
  position: absolute;
  z-index: 9;
  right: clamp(12px, 2.2vw, 34px);
  top: 50%;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 0 9px 0 17px;
  border: var(--line-thick) solid var(--ink);
  border-radius: var(--radius-pill);
  color: var(--ink);
  background: var(--cream);
  box-shadow: 4px 5px 0 var(--ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  transform: translateY(-50%) rotate(-1.5deg);
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease;
}
.chamber-toggle:hover { transform: translate(-2px, calc(-50% - 2px)) rotate(1deg); box-shadow: 6px 7px 0 var(--ink); }
.chamber-toggle b { width: 28px; aspect-ratio: 1; display: grid; place-items: center; border: var(--line-thin) solid var(--ink); border-radius: 50%; color: var(--cream); background: var(--blue); font-size: 19px; line-height: 1; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.chamber-toggle[aria-expanded="true"] b { transform: rotate(45deg); }
.letter-ball {
  --texture-rotation: 0deg;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  flex: 0 0 auto;
  width: clamp(27px, 4.4vw, 58px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: var(--line-thick) solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  background: var(--cream);
  box-shadow: inset -6px -7px 0 rgba(24,24,24,.12), 3px 4px 0 var(--ink);
  font-family: var(--pixel);
  font-size: clamp(16px, 2.6vw, 35px);
  font-weight: 780;
  line-height: 1;
  will-change: transform;
}
.letter-ball::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -18%;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 12deg, transparent 0 17deg, rgba(24,24,24,.25) 18deg 20deg, transparent 21deg 38deg),
    radial-gradient(circle at 32% 26%, rgba(255,255,255,.8) 0 6%, transparent 7%),
    radial-gradient(circle at 63% 72%, rgba(24,24,24,.28) 0 3%, transparent 4%);
  opacity: .22;
  transform: rotate(var(--texture-rotation));
  will-change: transform;
}
.letter-ball b { position: relative; z-index: 2; font: inherit; line-height: inherit; }
.letter-ball:nth-child(5n + 1) { background: var(--yellow); }
.letter-ball:nth-child(5n + 2) { color: var(--cream); background: var(--blue); }
.letter-ball:nth-child(5n + 3) { background: var(--green); }
.letter-ball:nth-child(5n + 4) { background: var(--pink); }
.letter-ball:nth-child(5n + 5) { background: var(--cream); }
.letter-ball--space { margin-left: clamp(8px, 1.7vw, 26px); }

.physics-section { position: relative; min-height: calc(100svh - 88px - var(--rf-banner-height, 46px) - 12px); display: grid; grid-template-columns: minmax(300px, .72fr) minmax(520px, 1.28fr); gap: 3vw; align-items: end; padding: 3.6vw 5vw; overflow: hidden; border-bottom: var(--line-thick) solid var(--ink); }
.physics-section--games { background: var(--cream); }
.physics-section--locations { color: var(--cream); background: var(--blue); }
.physics-section--services { background: var(--green); }
.section-intro { position: relative; z-index: 3; align-self: start; padding-top: 1vh; }
.section-intro h2, .visit h2 { font-family: var(--pixel); font-size: clamp(62px, 7vw, 112px); font-weight: 740; line-height: .8; letter-spacing: var(--tracking-heading); }
.bloom-letter {
  display: inline-block;
  opacity: .72;
  font-variation-settings:
    "wght" var(--axis-start-weight, 140),
    "slnt" var(--axis-start-slant, -8),
    "CRSV" var(--axis-start-cursive, 0),
    "ELSH" var(--axis-start-shape, 0),
    "ELXP" var(--axis-start-expand, 0);
  transition:
    opacity .3s ease calc(var(--bloom-index) * 8ms),
    font-variation-settings .7s cubic-bezier(.2, .62, .22, 1) calc(var(--bloom-index) * 8ms);
}
.bloom-word { display: inline-block; white-space: nowrap; }
.bloom-heading.is-bloomed .bloom-letter {
  opacity: 1;
  font-variation-settings:
    "wght" 740,
    "slnt" 0,
    "CRSV" 1,
    "ELSH" 0,
    "ELXP" 0;
}
.ball-detail { max-width: 480px; min-height: 154px; margin-top: 26px; padding-top: 16px; border-top: var(--line-thin) solid currentColor; }
.ball-detail h3 { margin: 0; font-family: var(--pixel); font-size: clamp(22px, 2vw, 31px); font-weight: 730; line-height: .92; letter-spacing: .035em; text-wrap: balance; }
.ball-detail p { margin: 10px 0 0; font-size: 14px; font-weight: 500; line-height: 1.55; text-wrap: pretty; }
.ball-detail.is-updating h3, .ball-detail.is-updating p { animation: detail-swap .34s cubic-bezier(.2,.7,.2,1) both; }
.section-intro--light { color: var(--cream); }
.text-link { display: inline-block; margin-top: 26px; padding-bottom: 4px; border-bottom: var(--line-thin) solid currentColor; font-size: 13px; font-weight: 700; text-decoration: none; }
.physics-stage { position: relative; z-index: 4; height: clamp(500px, calc(100svh - 88px - var(--rf-banner-height, 46px) - 12px - 7.2vw), 720px); min-height: 0; align-self: end; overflow: hidden; border: var(--line-thick) solid var(--ink); border-radius: var(--radius-lg); background: rgba(255,255,255,.18); box-shadow: inset 0 0 0 8px rgba(255,255,255,.12); touch-action: none; cursor: grab; }
.physics-stage:active { cursor: grabbing; }
[data-physics-section]:not([data-physics-initialized]) .ball { visibility: hidden; }
.physics-section--games .physics-stage { background: var(--pink); background-image: radial-gradient(rgba(24,24,24,.28) 1.5px, transparent 1.5px); background-size: 18px 18px; }
.physics-section--locations .physics-stage { background: rgba(24,24,24,.2); }
.physics-section--services .physics-stage { background: var(--cream); }
.ball { position: absolute; left: 0; top: 0; overflow: hidden; width: var(--size); aspect-ratio: 1; display: grid; place-items: center; padding: 12%; border: var(--line-thick) solid var(--ink); border-radius: 50%; color: var(--ink); text-align: center; box-shadow: inset -14px -17px 0 rgba(24,24,24,.14), 5px 7px 0 rgba(24,24,24,.9); cursor: grab; user-select: none; will-change: transform; }
.ball:focus-visible { outline: var(--line-thick) solid var(--cream); outline-offset: -11px; }
.ball > span { position: absolute; left: 12%; right: 12%; top: 50%; width: auto; max-width: none; display: block; font-family: var(--pixel); font-size: clamp(16px, calc(var(--size) * .145), 35px); font-weight: 760; line-height: .84; text-align: center; text-wrap: balance; transform: translateY(-50%); pointer-events: none; }
.ball small { position: absolute; left: 12%; right: 12%; bottom: 13%; display: block; font-size: clamp(8px, calc(var(--size) * .045), 11px); font-weight: 800; line-height: 1.12; letter-spacing: .025em; text-align: center; text-wrap: balance; pointer-events: none; }
.ball--xl { --size: clamp(210px, 22vw, 340px); }
.ball--lg { --size: clamp(178px, 18vw, 280px); }
.ball--md { --size: clamp(150px, 15vw, 230px); }
.ball--sm { --size: clamp(124px, 12vw, 186px); }
.ball--xs { --size: clamp(98px, 9vw, 142px); }
.ball--yellow { background-color: var(--yellow); }
.ball--pink { background-color: var(--pink); }
.ball--blue { color: var(--cream); background-color: var(--blue); }
.ball--green { background-color: var(--green); }
.ball--cream { background-color: var(--cream); }
.physics-hint { position: absolute; z-index: 6; right: 5vw; bottom: 3vw; padding: 8px 11px; border: var(--line-thin) solid var(--ink); border-radius: var(--radius-sm); background: var(--yellow); font-size: 9px; font-weight: 800; letter-spacing: .08em; transform: rotate(-2deg); }
.map-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px); background-size: 52px 52px; transform: rotate(-8deg) scale(1.3); }
.location-key { position: absolute; left: 5vw; bottom: 5vw; display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.location-key i { width: 12px; aspect-ratio: 1; border: var(--line-thin) solid var(--ink); border-radius: 50%; background: var(--pink); box-shadow: 2px 2px 0 var(--ink); }
.checker--services { --checker-bg: var(--yellow); position: absolute; inset: auto 0 0; height: 17%; }

.how-it-works { display: grid; grid-template-columns: .72fr 1.2fr .55fr; gap: 4vw; align-items: stretch; padding: 3.2vw 5vw 4.6vw; border-bottom: var(--line-thick) solid var(--ink); background: var(--yellow); }
.how-heading h2, .event-lead h2, .prize-copy h2, .quick-answers h2 { font-family: var(--pixel); font-size: clamp(58px, 6.4vw, 98px); font-weight: 760; line-height: .8; letter-spacing: var(--tracking-heading); }
.steps { display: grid; margin: 0; padding: 0; list-style: none; border-top: var(--line-thick) solid var(--ink); }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 8px 18px; align-items: baseline; padding: 24px 4px; border-bottom: var(--line-thick) solid var(--ink); }
.steps b { grid-row: 1 / 3; width: 36px; aspect-ratio: 1; display: grid; place-items: center; border: var(--line-thin) solid var(--ink); border-radius: 50%; background: var(--pink); font-size: 11px; }
.steps span { font-family: var(--pixel); font-size: 28px; font-weight: 700; letter-spacing: .025em; }
.steps p { max-width: 480px; font-size: 13px; line-height: 1.45; }
.play-pass { display: grid; align-content: start; gap: 14px; padding: 25px; border: var(--line-thick) solid var(--ink); border-radius: var(--radius-md); background: var(--cream); box-shadow: 10px 12px 0 var(--blue), 13px 15px 0 var(--ink); transform: rotate(3deg); }
.play-pass p { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.play-pass strong { font-family: var(--pixel); font-size: clamp(62px, 6vw, 90px); line-height: .8; }
.play-pass span { font-size: 13px; line-height: 1.35; }
.play-pass a { margin-top: auto; padding-top: 14px; border-top: var(--line-thin) solid var(--ink); font-size: 12px; font-weight: 800; text-decoration: none; }

.event-details { display: grid; grid-template-columns: minmax(320px, .7fr) minmax(520px, 1.3fr); gap: 6vw; padding: 3.6vw 5vw 5vw; border-bottom: var(--line-thick) solid var(--ink); background: var(--cream); }
.event-lead > p { max-width: 480px; margin-top: 28px; font-size: 16px; line-height: 1.55; }
.event-options { border-top: var(--line-thick) solid var(--ink); }
.event-options article { display: grid; grid-template-columns: 118px minmax(0, 500px) max-content; gap: 14px clamp(14px, 1.5vw, 22px); justify-content: start; align-items: start; padding: 28px 4px; border-bottom: var(--line-thick) solid var(--ink); }
.event-options article > span { grid-row: 1 / 3; display: inline-flex; align-items: center; gap: 10px; width: max-content; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.event-options article > span i { width: 36px; aspect-ratio: 1; display: grid; place-items: center; border: var(--line-thin) solid var(--ink); border-radius: 50%; background: var(--pink); font-size: 11px; font-style: normal; letter-spacing: 0; }
.event-options article > span em { font-style: normal; }
.event-options h3 { margin: 0; font-family: var(--pixel); font-size: 30px; line-height: .9; letter-spacing: .025em; }
.event-options p { max-width: 500px; font-size: 13px; line-height: 1.5; }
.event-options b { grid-row: 1 / 3; width: max-content; justify-self: start; padding: 7px 10px; border: var(--line-thin) solid var(--ink); border-radius: var(--radius-sm); background: var(--green); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; transform: rotate(2deg); }

.prize-drop { display: grid; grid-template-columns: .72fr 1.28fr; gap: 5vw; align-items: center; padding: 3.6vw 5vw 5vw; overflow: hidden; border-bottom: var(--line-thick) solid var(--ink); background: var(--blue); color: var(--cream); }
.prize-copy > p { max-width: 450px; margin-top: 28px; font-size: 16px; line-height: 1.5; }
.prize-shelf { min-height: 560px; display: block; padding: 0; border-color: var(--cream); background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 34px 34px; }
.prize-ball .prize-ball-content { display: contents; }
.prize-ball .prize-ball-content i { position: absolute; left: 8%; right: 8%; top: 7%; display: block; font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif; font-size: clamp(30px, calc(var(--size) * .28), 95px); font-style: normal; line-height: 1; text-align: center; pointer-events: none; }
.prize-ball .prize-ball-content b { position: absolute; left: 10%; right: 10%; top: 50%; display: block; font-family: var(--pixel); font-size: clamp(13px, calc(var(--size) * .105), 28px); font-weight: 780; line-height: .84; letter-spacing: .025em; text-align: center; transform: translateY(-50%); pointer-events: none; }

.visit { position: relative; min-height: 72svh; display: grid; grid-template-columns: 1fr .9fr; align-items: center; padding: 3.6vw 7vw 5vw; overflow: hidden; color: var(--cream); background: var(--pink); }
.visit::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--ink) 1.2px, transparent 1.2px); background-size: 18px 18px; opacity: .2; }
.visit-copy { position: relative; z-index: 3; }
.visit-copy p { max-width: 430px; margin-top: 28px; font-size: 17px; line-height: 1.5; }
.visit-button { width: min(390px, 100%); min-height: 68px; display: flex; justify-content: space-between; align-items: center; margin-top: 38px; padding: 0 22px; border: var(--line-thick) solid var(--ink); border-radius: var(--radius-md); color: var(--ink); background: var(--yellow); box-shadow: 8px 9px 0 var(--ink); font-size: 14px; font-weight: 800; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.visit-button:hover { transform: translate(-3px, -3px); box-shadow: 11px 12px 0 var(--ink); }
.visit-button span { font-size: 25px; }
.giant-capsule { --capsule-scroll-rotation: 0deg; position: relative; z-index: 2; justify-self: center; width: min(430px, 80%); aspect-ratio: .74; border: var(--line-thick) solid var(--ink); border-radius: var(--radius-pill); background: linear-gradient(to bottom, rgba(255,255,255,.92) 0 48%, var(--blue) 48% 100%); box-shadow: inset -25px -20px 0 rgba(24,24,24,.15), 19px 22px 0 var(--ink); transform: rotate(calc(13deg + var(--capsule-scroll-rotation))); transform-origin: center; will-change: transform; }
.giant-capsule::after { content: ""; position: absolute; left: 0; right: 0; top: 48%; border-top: var(--line-thick) solid var(--ink); }
.giant-capsule span { position: absolute; z-index: 2; left: 50%; top: 50%; width: 45%; aspect-ratio: 1; display: grid; place-items: center; border: var(--line-thick) solid var(--ink); border-radius: 50%; color: var(--ink); background: var(--green); font-family: var(--pixel); font-size: clamp(29px, 4vw, 60px); font-weight: 800; line-height: .78; text-align: center; transform: translate(-50%, -50%) rotate(calc(-13deg - var(--capsule-scroll-rotation))); transform-origin: center; box-shadow: 7px 8px 0 var(--ink); }
.visit-checker { position: absolute; right: -3%; bottom: -4%; width: 46%; height: 29%; transform: rotate(-6deg); }

.quick-answers { display: grid; grid-template-columns: .8fr 1.2fr; column-gap: 8vw; padding: 3.2vw 5vw 5vw; border-bottom: var(--line-thick) solid var(--ink); background: var(--yellow); }
.quick-answers > div { grid-row: 1 / 5; }
.quick-answers details { border-top: var(--line-thick) solid var(--ink); }
.quick-answers details:last-child { border-bottom: var(--line-thick) solid var(--ink); }
.quick-answers summary { padding: 22px 42px 22px 0; font-family: var(--pixel); font-size: 24px; font-weight: 700; letter-spacing: .025em; cursor: pointer; }
.quick-answers details p { max-width: 620px; padding: 0 50px 24px 0; font-size: 14px; line-height: 1.55; }

footer { min-height: 360px; display: grid; grid-template-columns: minmax(210px, 1.35fr) repeat(3, minmax(120px, .75fr)) minmax(150px, .9fr); gap: clamp(28px, 4vw, 72px); align-items: start; padding: 58px 5vw 30px; border-top: var(--line-thick) solid var(--ink); color: var(--cream); background: var(--ink); }
.logo--footer span { border-color: var(--cream); box-shadow: 2px 2px 0 var(--cream); }
.footer-brand { display: grid; gap: 24px; }
.footer-brand p { font-size: 13px; line-height: 1.5; }
.footer-column, .footer-social { display: grid; align-content: start; gap: 9px; }
footer h2 { margin: 0 0 12px; color: var(--yellow); font-family: var(--pixel); font-size: 17px; line-height: .9; letter-spacing: .1em; }
.footer-column a, .footer-social a { width: max-content; color: rgba(255,255,255,.78); font-size: 12px; text-decoration: none; }
.footer-column a { position: relative; padding-bottom: 2px; }
.footer-column a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: var(--line-thin); background: var(--pink); transition: right .2s ease; }
.footer-column a:hover::after, .footer-column a:focus-visible::after { right: 0; }
.footer-social a { display: flex; align-items: center; gap: 9px; }
.footer-social svg { width: 24px; height: 24px; overflow: visible; fill: none; stroke: currentColor; stroke-width: var(--line-thin); stroke-linecap: round; stroke-linejoin: round; }
.footer-meta { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 24px; padding-top: 24px; border-top: var(--line-thin) solid rgba(255,255,255,.28); color: rgba(255,255,255,.58); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.designer-credit { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.designer-credit > * { min-height: 58px; display: flex; align-items: center; justify-content: center; padding: 14px 16px; border: var(--line-thin) solid var(--ink); border-radius: var(--radius-md); color: var(--ink); background: var(--cream); box-shadow: 4px 5px 0 rgba(255,255,255,.28); text-align: center; }
.designer-credit strong { letter-spacing: .14em; }
.designer-credit a { font-weight: 800; text-decoration: none; transition: color .18s ease, transform .18s ease, box-shadow .18s ease; }
.designer-credit a:hover, .designer-credit a:focus-visible { color: var(--ink); transform: translateY(-3px); box-shadow: 4px 8px 0 rgba(255,255,255,.48); }
.text-link { display: inline-block; }
footer a:not(.logo) { will-change: transform; }

@keyframes ticker { to { transform: translate3d(-50%, 0, 0); } }
@keyframes section-unfold { from { opacity: 0; transform: translateY(-28px); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0); } }
@keyframes detail-swap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes hero-checker-in { from { opacity: 0; transform: scaleX(0); } to { opacity: var(--hero-checker-opacity); transform: scaleX(1); } }
@keyframes hero-copy-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes hero-word-in { from { opacity: 0; font-variation-settings: "wght" 120, "slnt" -8, "CRSV" 0, "ELSH" 82, "ELXP" 8; transform: translateX(var(--hero-x)) translateY(.5em) rotate(3deg); } to { opacity: 1; font-variation-settings: "wght" 760, "slnt" 0, "CRSV" 1, "ELSH" 0, "ELXP" 0; transform: translateX(var(--hero-x)); } }
@keyframes hero-machine-in { from { opacity: 0; transform: translateY(90px) rotate(8deg) scale(.86); } to { opacity: 1; transform: rotate(2.5deg); } }
@keyframes hero-round-link-in { from { opacity: 0; transform: rotate(28deg) scale(.35); } to { opacity: 1; transform: rotate(8deg); } }
@keyframes hero-stamp-in { from { opacity: 0; transform: rotate(-25deg) scale(.2); } to { opacity: 1; transform: rotate(13deg); } }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr .85fr; }
  .hero h1 { font-size: clamp(70px, 9.5vw, 92px); }
  .round-link { display: none; }
  .physics-section { min-height: 0; grid-template-columns: 1fr; grid-template-rows: auto auto; row-gap: 32px; align-content: start; align-items: start; padding-top: 40px; }
  .section-intro { max-width: 720px; padding-top: 0; }
  .ball-detail { margin-top: 18px; }
  .physics-stage { width: 100%; height: auto; min-height: clamp(580px, 72svh, 740px); align-self: start; }
  .location-key { top: 48px; bottom: auto; }
  .how-it-works { grid-template-columns: .65fr 1fr; }
  .play-pass { grid-column: 1 / -1; width: min(380px, 100%); justify-self: end; }
  .event-details, .prize-drop { grid-template-columns: 1fr; }
  .visit { grid-template-columns: 1fr .75fr; }
  .quick-answers { grid-template-columns: 1fr; }
  .quick-answers > div { grid-row: auto; margin-bottom: 50px; }
  footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand, .footer-meta, .designer-credit { grid-column: 1 / -1; }
  .designer-credit { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 961px) and (max-width: 1100px) {
  .physics-section { min-height: 0; grid-template-columns: 1fr; grid-template-rows: auto auto; row-gap: 32px; align-content: start; align-items: start; padding-top: 40px; }
  .section-intro { max-width: 720px; padding-top: 0; }
  .ball-detail { margin-top: 18px; }
  .physics-stage { width: 100%; height: auto; min-height: clamp(620px, 72svh, 760px); align-self: start; }
}

@media (max-width: 680px) {
  .site-header { top: calc(var(--rf-banner-height, 40px) + 10px); left: 10px; }
  .logo { font-size: 16px; }
  .logo span { width: 30px; font-size: 18px; }
  .hero { min-height: 960px; display: block; padding: 100px 18px 40px; }
  .hero-checker { --hero-checker-opacity: .25; width: 33vw; }
  .hero h1 { width: auto; display: block; font-size: clamp(72px, 24vw, 105px); }
  .hero h1 span:nth-child(2) { --hero-x: 12%; }
  .hero h1 span:nth-child(3) { --hero-x: 3%; }
  .hero-deck { margin-top: 38px; padding-right: 18%; }
  .claw-machine { width: min(350px, 90vw); height: 440px; margin: 48px auto 0; }
  .hero-stamp { top: auto; right: 15px; bottom: 40px; width: 88px; font-size: 16px; }
  .letter-chamber { height: 68px; }
  .letter-chamber::before, .letter-chamber::after { height: 6px; }
  .chamber-toggle { right: 7px; min-height: 38px; padding: 3px; border-width: var(--line-thin); box-shadow: 3px 3px 0 var(--ink); }
  .chamber-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .chamber-toggle b { width: 28px; border-width: var(--line-thin); }
  .letter-ball { border-width: var(--line-thin); box-shadow: inset -4px -5px 0 rgba(24,24,24,.13), 3px 4px 0 var(--ink); }
  .physics-section { min-height: 1180px; display: block; padding: 33px 16px 38px; }
  .section-intro h2, .visit h2 { font-size: clamp(56px, 18vw, 82px); }
  .ball-detail { min-height: 0; margin-top: 22px; }
  .physics-stage { min-height: 690px; margin-top: 44px; border-radius: var(--radius-lg); }
  .ball--xl { --size: clamp(188px, 52vw, 240px); }
  .ball--lg { --size: clamp(158px, 43vw, 205px); }
  .ball--md { --size: clamp(132px, 36vw, 170px); }
  .ball--sm { --size: clamp(110px, 29vw, 142px); }
  .ball--xs { --size: clamp(88px, 23vw, 112px); }
  .physics-hint { right: 18px; bottom: 18px; }
  .location-key { top: 36px; left: 18px; }
  .how-it-works { grid-template-columns: 1fr; padding: 30px 18px 46px; }
  .steps { margin-top: 30px; }
  .play-pass { grid-column: auto; width: 100%; margin-top: 30px; }
  .event-details, .prize-drop { padding: 33px 18px 50px; }
  .event-options { margin-top: 44px; }
  .event-options article { grid-template-columns: 1fr; }
  .event-options article > span, .event-options b { grid-row: auto; }
  .event-options b { width: max-content; }
  .prize-shelf { min-height: 900px; margin-top: 48px; padding: 0; }
  .visit { min-height: 820px; display: block; padding: 37px 20px 48px; }
  .giant-capsule { width: 270px; margin: 72px auto 0; }
  .visit-checker { width: 72%; height: 22%; }
  .quick-answers { padding: 33px 18px 50px; }
  footer { grid-template-columns: 1fr; min-height: 400px; padding: 44px 22px 24px; }
  .footer-brand, .footer-meta, .designer-credit { grid-column: auto; }
  .footer-meta { display: grid; }
  .designer-credit { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .letter-ball { transform: none !important; }
  .bloom-letter { opacity: 1; font-variation-settings: "wght" 740, "slnt" 0, "CRSV" 1, "ELSH" 0, "ELXP" 0; transform: none; }
  .machine-glass { --shine-center: 22%; --shine-width: 18%; }
  .ball { position: relative; display: inline-grid; visibility: visible; transform: none !important; margin: 10px; vertical-align: middle; }
  .physics-stage { height: auto; padding: 20px; }
  [data-section-panel]:not([hidden]) { animation: none; }
}
