/* Trybal Games v3 "Big Letters". Six colours, two typefaces, one toy-block motif. */
:root {
  --cream: #fbf4e6;
  --ink: #3a1a0b;
  --berry: #ff5a7a;
  --butter: #ffc83d;
  --peri: #7a90f0;
  --grass: #3fae5e;

  --display: "Bowlby One", "Arial Black", Impact, sans-serif;
  --body: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --padx: clamp(16px, 3vw, 44px);
  --block: 88px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --pop: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--body); font-size: 18px; line-height: 1.45;
  font-optical-sizing: auto; overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 4px solid var(--ink); outline-offset: 3px; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--padx); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px; border-radius: 999px;
  border: 3px solid var(--ink); background: var(--cream); color: var(--ink);
  font-family: var(--body); font-weight: 750; font-size: 17px; text-decoration: none; line-height: 1.1;
  box-shadow: 0 5px 0 var(--ink); transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink); }
.btn:active { transform: translateY(5px); box-shadow: 0 0 0 var(--ink); }
.btn-ink { background: var(--ink); color: var(--cream); box-shadow: 0 5px 0 rgba(58, 26, 11, .35); }
.btn-ink:hover { box-shadow: 0 7px 0 rgba(58, 26, 11, .35); }
.btn-butter { background: var(--butter); }
.btn-berry { background: var(--berry); }
.btn-line { background: transparent; box-shadow: none; }
.btn-line:hover { box-shadow: none; background: rgba(58, 26, 11, .06); }
.play { width: 0; height: 0; border-left: 13px solid currentColor; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }

/* ---------- the motif: toy blocks ---------- */
.blocks { position: fixed; top: 0; right: 0; z-index: 60; display: flex; align-items: flex-start; }
.block {
  width: var(--block); height: var(--block); border: 0; padding: 0; display: grid; place-items: center;
  font-family: var(--body); font-weight: 800; font-size: 17px; color: var(--ink); text-decoration: none;
  transition: transform .35s var(--pop);
}
.block-sq { background: var(--berry); }
.block-ci { background: var(--butter); border-radius: 50%; }
.block-tri { background: var(--peri); clip-path: polygon(50% 2%, 100% 100%, 0 100%); align-items: end; padding-bottom: 12%; }
.block-sq:hover { transform: rotate(-8deg); }
.block-ci:hover { transform: scale(1.08); }
.block-tri:hover { transform: translateY(4px) rotate(6deg); }
.block-tri.bump { animation: bump .6s var(--pop); }
.tri-count { font-size: 15px; font-variant-numeric: tabular-nums; }
@keyframes bump { 40% { transform: scale(1.25) rotate(-10deg); } }
.egg-hint {
  position: fixed; z-index: 61; top: calc(var(--block) + 12px); right: 12px; max-width: 300px;
  background: var(--ink); color: var(--cream); padding: 16px 18px; border-radius: 18px; font-size: 16px;
  display: grid; gap: 4px; box-shadow: 8px 8px 0 var(--peri);
}
.egg-hint[hidden] { display: none; }

.shape { display: inline-block; width: .8em; height: .8em; margin-right: .45em; vertical-align: -.05em; background: currentColor; }
.shape.ci { border-radius: 50%; }
.shape.tri { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.shape.star { clip-path: polygon(50% 0, 61% 26%, 85% 15%, 74% 39%, 100% 50%, 74% 61%, 85% 85%, 61% 74%, 50% 100%, 39% 74%, 15% 85%, 26% 61%, 0 50%, 26% 39%, 15% 15%, 39% 26%); }
.shape-sq, .shape-ci, .shape-tri { display: inline-grid; place-items: center; }
.shape-sq { background: var(--berry); }
.shape-ci { background: var(--butter); border-radius: 50%; }
.shape-tri { background: var(--peri); clip-path: polygon(50% 0, 100% 100%, 0 100%); }

/* ---------- checker bands ---------- */
.checker { --sq: clamp(30px, 4vw, 56px); --c: var(--peri); position: relative; height: calc(var(--sq) * 2); overflow: hidden; }
.checker-track {
  position: absolute; top: 0; bottom: 0; left: -240px; right: -240px;
  background: repeating-conic-gradient(var(--c) 0 25%, transparent 0 50%) 0 0 / calc(var(--sq) * 2) calc(var(--sq) * 2);
  transform: translate3d(calc(var(--shift, 0) * 1px), 0, 0);
}
.checker-berry { --c: var(--berry); }
.checker-butter { --c: var(--butter); }
.checker.on-ink { background: var(--ink); }
.odd-square {
  position: absolute; top: 0; left: calc(var(--sq) * 13); width: var(--sq); height: var(--sq);
  border: 0; padding: 0; background: var(--butter); transition: transform .6s var(--pop), background .3s;
}
.odd-square:hover { transform: scale(.88) rotate(8deg); }
.odd-square.found { background: var(--peri); transform: rotateY(180deg); }

/* ---------- HERO ---------- */
.hero { position: relative; background: var(--ink); }
.stage { position: relative; }
.hero-top {
  position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; isolation: isolate; background: var(--ink);
  --wm: min(31.5vh, calc((100vw - var(--padx) * 2) / 4.04)); --wmTop: 20px;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.knock {
  /* White paper with black letters, screen-blended: black shows the footage, white stays white. */
  position: absolute; inset: 0; background: #fff; color: #000; mix-blend-mode: screen;
}
/* Multiplying cream over the white turns the paper cream and barely warms the footage. */
.tint { position: absolute; inset: 0; background: var(--cream); mix-blend-mode: multiply; pointer-events: none; }
.wm {
  position: absolute; left: var(--padx); top: var(--wmTop);
  display: flex; flex-direction: column; font-family: var(--display); font-size: var(--wm);
  line-height: .86; letter-spacing: -.01em; white-space: nowrap;
}
.wm-line { display: block; animation: rise .9s var(--ease) both; }
.wm-line:nth-child(2) { animation-delay: .08s; }
.wm-line:nth-child(3) { animation-delay: .16s; }
@keyframes rise { from { transform: translateY(18%); } }
.peep {
  position: absolute; background: #000; border-radius: 50%;
  width: calc(var(--wm) * .8); aspect-ratio: 1; left: calc(var(--padx) + var(--wm) * 2.2); top: calc(var(--wmTop) + var(--wm) * .03);
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
}
.hero-copy {
  position: absolute; z-index: 2; left: calc(var(--padx) + var(--wm) * 2.4); right: var(--padx);
  top: calc(var(--wmTop) + var(--wm) * .9); height: calc(var(--wm) * .8);
  display: flex; flex-direction: column; justify-content: center; gap: 16px; max-width: 640px;
}
.hero-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.dot-live { width: 10px; height: 10px; border-radius: 50%; background: var(--berry); box-shadow: 0 0 0 0 var(--berry); animation: live 1.6s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(255, 90, 122, 0); } }
.hero-line { font-size: clamp(20px, 1.9vw, 30px); font-weight: 650; line-height: 1.18; text-wrap: balance; max-width: 22ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-area { font-size: 15px; font-weight: 650; }
.hero-checker { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; --sq: clamp(28px, 3.2vw, 46px); opacity: var(--copy, 1); }
.scroll-cue { display: none; }
/* Arrow Tag beat: in motion mode it lives on the zoomed footage */
.beat-arrow { background: var(--grass); position: relative; }
.beat-shade { display: none; }
.frame { position: relative; overflow: hidden; background: var(--ink); }
.frame img { width: 100%; height: 100%; object-fit: cover; }

.motion .hero { height: calc(100svh + 200vh); }
.motion .stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.motion .hero-top { position: absolute; inset: 0; height: auto; }
.motion .knock, .motion .tint { will-change: opacity; }
.motion .knock { transform-origin: var(--ox, 0) var(--oy, 0); }
.motion .hero-copy { opacity: var(--copy, 1); transform: translateY(calc((1 - var(--copy, 1)) * -30px)); }
.motion .beat-arrow {
  position: absolute; inset: 0; background: transparent; color: var(--cream);
  opacity: var(--arrow, 0); visibility: hidden; display: grid; align-items: center;
}
.motion .beat-arrow.on { visibility: visible; }
.motion .beat-arrow .beat-shade {
  display: block; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(58, 26, 11, .86) 0%, rgba(58, 26, 11, .55) 42%, rgba(58, 26, 11, 0) 75%),
              linear-gradient(0deg, rgba(58, 26, 11, .5), transparent 40%);
}
.motion .static-only { display: none; }
.motion .beat-arrow .beat-inner { min-height: 0; padding-top: var(--block); }
.motion .beat-arrow .beat-text { transform: translateY(calc((1 - var(--arrow, 0)) * 40px)); }
.motion .beat-arrow .facts li { background: rgba(251, 244, 230, .14); border-color: rgba(251, 244, 230, .5); }
.motion .beat-arrow .beat-count { background: var(--grass); color: var(--ink); }
.motion .beat-arrow .beat-art { align-self: end; }
.motion .beat-arrow .sticker { position: relative; left: auto; top: auto; width: min(260px, 22vw); margin-left: auto; }

/* ---------- game beats ---------- */
.beat { position: relative; overflow: hidden; }
.beat-inner {
  position: relative; z-index: 1; max-width: 1320px; margin: 0 auto; min-height: 100vh;
  padding: calc(var(--block) + 48px) var(--padx) 96px;
  display: grid; grid-template-columns: 5fr 6fr; gap: clamp(24px, 5vw, 80px); align-items: center;
}
.beat-count {
  display: inline-flex; align-items: center; padding: 8px 16px 8px 14px; border-radius: 999px;
  background: var(--ink); color: var(--cream); font-weight: 800; font-size: 15px; letter-spacing: .08em; text-transform: uppercase;
}
.beat-name {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(54px, 7.4vw, 124px); line-height: .88; margin: 20px 0 18px; letter-spacing: -.01em; text-wrap: balance;
}
.hook { font-size: clamp(19px, 1.6vw, 24px); font-weight: 560; line-height: 1.3; max-width: 30ch; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.facts li { border: 2px solid var(--ink); border-radius: 999px; padding: 6px 14px; font-size: 15px; font-weight: 700; }
.beat-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.beat-art { position: relative; justify-self: center; width: 100%; max-width: 600px; }
.beat-art .frame { box-shadow: 14px 14px 0 var(--ink); transform: translate3d(0, calc((var(--p, .5) - .5) * 60px), 0); }
.beat-art .frame:not(.detail) img { animation: kb 18s ease-in-out infinite alternate; transform-origin: 60% 40%; }
@keyframes kb { from { transform: scale(1.08) translate(-2%, 1%); } to { transform: scale(1.22) translate(3%, -2%); } }
.frame-circle { border-radius: 50%; aspect-ratio: 1; }
.frame-blob { border-radius: 44% 56% 38% 62% / 56% 42% 58% 44%; aspect-ratio: 1; }
.frame-arch { border-radius: 999px 999px 28px 28px; aspect-ratio: 4 / 5; }
.detail {
  position: absolute !important; width: 44%; aspect-ratio: 3 / 2; right: -4%; bottom: -6%;
  border: 6px solid var(--cream); border-radius: 18px; box-shadow: 8px 8px 0 var(--ink) !important;
  transform: translate3d(0, calc((var(--p, .5) - .5) * -160px), 0) rotate(4deg) !important;
}
.sticker {
  position: absolute; z-index: 3; left: -8%; top: -6%; width: 38%; padding: 0; border: 0; background: none;
  filter: drop-shadow(6px 8px 0 rgba(58, 26, 11, .28)); animation: wobble 2.6s ease-in-out infinite; touch-action: manipulation;
}
.sticker img { width: 100%; height: auto; pointer-events: none; }
@keyframes wobble { 0%, 100% { transform: rotate(-7deg) translateY(0); } 50% { transform: rotate(6deg) translateY(-6px); } }
.sticker:hover { animation-duration: .7s; }

.marquee {
  position: absolute; z-index: 0; top: 50%; left: 0; white-space: nowrap; pointer-events: none;
  font-family: var(--display); font-size: clamp(140px, 24vw, 380px); line-height: 1; color: transparent;
  -webkit-text-stroke: 2px rgba(58, 26, 11, .2); transform: translate3d(calc(var(--p, .5) * -45%), -50%, 0);
}
.beat-rc { background: var(--butter); }
.beat-sci { background: var(--peri); }
.beat-sci .beat-inner { grid-template-columns: 6fr 5fr; }
.beat-sci .beat-text { order: 2; }
.beat-sci .sticker { left: auto; right: -6%; }
.beat-sci .detail { right: auto; left: -4%; transform: translate3d(0, calc((var(--p, .5) - .5) * -160px), 0) rotate(-4deg) !important; }
.beat-maw { background: var(--ink); color: var(--cream); }
.beat-maw .beat-name { font-size: clamp(48px, 6vw, 100px); }
.beat-maw .beat-count { background: var(--butter); color: var(--ink); }
.beat-maw .facts li { border-color: rgba(251, 244, 230, .6); }
.beat-maw .marquee { -webkit-text-stroke-color: rgba(255, 200, 61, .14); }
.beat-maw .beat-art .frame { box-shadow: 14px 14px 0 var(--butter); }
.beat-maw .detail { border-color: var(--ink); box-shadow: 8px 8px 0 var(--butter) !important; }
.stars {
  position: absolute; inset: 0; opacity: .1; transition: opacity .8s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23ffc83d' stroke-width='2'%3E%3Crect x='30' y='30' width='36' height='36'/%3E%3Crect x='30' y='30' width='36' height='36' transform='rotate(45 48 48)'/%3E%3Ccircle cx='48' cy='48' r='6'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 96px 96px;
}
.beat-maw.lit .stars { opacity: .4; animation: twinkle 2.4s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .22; } }
.beat-maw.lit .sticker { filter: drop-shadow(0 0 30px var(--butter)) drop-shadow(0 0 60px var(--butter)); }

.beat-name .w { display: inline-block; white-space: nowrap; }
.motion .beat-name .ch { display: inline-block; opacity: 0; transform: translateY(-70%) rotate(-14deg); transition: transform .7s var(--pop) calc(var(--i) * 32ms), opacity .2s linear calc(var(--i) * 32ms); }
.motion .beat-name.in .ch { opacity: 1; transform: none; }

/* egg effects */
.sticker.fly { animation: fly 1.4s cubic-bezier(.5, 0, .3, 1) both; }
@keyframes fly { 0% { transform: rotate(-20deg); } 45% { transform: translate(120vw, -10vh) rotate(-20deg); } 46% { transform: translate(-120vw, -10vh) rotate(-20deg); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; } }
.sticker.drive { animation: drive 1.5s cubic-bezier(.6, 0, .3, 1) both; }
@keyframes drive { 0% { transform: none; } 15% { transform: translateX(10px) rotate(4deg); } 50% { transform: translateX(-130vw) rotate(-4deg); } 51% { transform: translateX(130vw); } 100% { transform: none; } }
.foam { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.foam i { position: absolute; border-radius: 50%; background: var(--cream); border: 3px solid var(--ink); animation: bubble 1.6s var(--ease) forwards; }
@keyframes bubble { from { transform: translate(0, 0) scale(.2); opacity: 1; } to { transform: translate(var(--dx), var(--dy)) scale(1); opacity: 0; } }

/* ---------- how ---------- */
.how { padding: clamp(72px, 10vw, 140px) 0; }
.big { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(44px, 7.2vw, 120px); line-height: .9; letter-spacing: -.01em; text-wrap: balance; }
.mid { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 3.6vw, 52px); line-height: .95; }
.hl { /* a band behind the caps only, so it never paints over the line above */
  background: linear-gradient(var(--butter), var(--butter)) 0 72% / 100% .84em no-repeat; padding: 0 .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.kicker { font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 14px; margin-bottom: 14px; }
.lede { font-size: clamp(18px, 1.5vw, 22px); max-width: 52ch; margin-top: 22px; font-weight: 500; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); margin-top: clamp(40px, 6vw, 80px); counter-reset: s; }
.steps li { display: grid; gap: 18px; align-content: start; }
.step-n { width: 96px; height: 96px; font-family: var(--display); font-size: 48px; }
.step-n.shape-tri { padding-top: 26px; }
.steps p { font-size: clamp(19px, 1.6vw, 24px); font-weight: 650; line-height: 1.25; max-width: 22ch; }
.safety { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 7vw, 96px); border: 3px solid var(--ink); border-radius: 28px; overflow: hidden; }
.safety li { padding: 26px 24px 28px; font-size: 17px; font-weight: 600; line-height: 1.3; border-left: 3px solid var(--ink); }
.safety li:first-child { border-left: 0; background: var(--grass); }
.safety li:nth-child(2) { background: var(--peri); }
.safety li:nth-child(3) { background: var(--butter); }
.safety li:nth-child(4) { background: var(--berry); }
.safety b { display: block; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(28px, 2.8vw, 42px); line-height: 1; margin-bottom: 10px; }

/* ---------- prices ---------- */
.prices { padding: clamp(72px, 10vw, 140px) 0; border-top: 3px solid var(--ink); }
.pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); margin-top: clamp(40px, 6vw, 72px); align-items: start; }
.pkg {
  position: relative; border: 3px solid var(--ink); border-radius: 28px; padding: 28px 26px 30px;
  box-shadow: 10px 10px 0 var(--ink); display: grid; gap: 14px; transition: transform .3s var(--pop);
}
.pkg:hover { transform: translateY(-6px) rotate(-.6deg); }
.pkg-starter { background: var(--butter); }
.pkg-party { background: var(--berry); }
.pkg-allin { background: var(--peri); }
.pkg.is-pop { transform: translateY(-18px); }
.pkg.is-pop:hover { transform: translateY(-24px) rotate(.6deg); }
.pkg h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(34px, 3vw, 46px); line-height: 1; }
.price { font-family: var(--display); font-size: clamp(64px, 6.4vw, 96px); line-height: .9; letter-spacing: -.02em; }
.price .cur { font-size: .5em; vertical-align: .62em; margin-right: .04em; }
.price .unit { display: block; font-family: var(--body); font-size: 16px; font-weight: 750; letter-spacing: .02em; margin-top: 8px; }
.pkg-meta { font-weight: 800; font-size: 17px; padding: 10px 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.pkg ul { display: grid; gap: 8px; margin-bottom: 8px; }
.pkg li { padding-left: 26px; position: relative; font-weight: 600; }
.pkg li::before { content: ""; position: absolute; left: 0; top: .32em; width: 14px; height: 14px; background: var(--ink); border-radius: 3px; }
.pkg li:nth-child(2)::before { border-radius: 50%; }
.pkg li:nth-child(3)::before { clip-path: polygon(50% 0, 100% 100%, 0 100%); border-radius: 0; }
.pop {
  position: absolute; top: -34px; right: -18px; width: 108px; height: 108px; border-radius: 50%;
  background: var(--butter); border: 3px solid var(--ink); display: grid; place-items: center; text-align: center;
  font-weight: 850; font-size: 15px; line-height: 1.05; text-transform: uppercase; letter-spacing: .04em; transform: rotate(12deg);
}
.pop span { max-width: 70px; }
.price-more { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: clamp(16px, 2.4vw, 32px); margin-top: clamp(40px, 5vw, 64px); }
.price-more > div { border: 3px solid var(--ink); border-radius: 24px; padding: 24px; }
.price-more h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 28px; margin-bottom: 14px; }
.extras dl { display: grid; gap: 12px; }
.extras dl div { display: grid; gap: 2px; }
.extras dt { font-weight: 800; }
.extras dd { font-family: var(--display); font-size: 30px; line-height: 1; }
.extras dd span { display: block; font-family: var(--body); font-size: 15px; font-weight: 600; margin-top: 4px; }
.small { font-size: 15px; margin-top: 16px; line-height: 1.4; }
.addons ul { display: grid; }
.addons li { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding: 10px 0; border-top: 2px dashed rgba(58, 26, 11, .35); }
.addons li:first-child { border-top: 0; padding-top: 0; }
.ao-name { font-weight: 750; }
.ao-for { grid-column: 1; font-size: 14px; font-weight: 600; opacity: .85; }
.ao-price { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-family: var(--display); font-size: 22px; text-align: right; }
.ao-price small { display: block; font-family: var(--body); font-size: 12px; font-weight: 700; }
.travel ul { display: grid; gap: 14px; }
.travel li { display: grid; gap: 2px; font-weight: 600; font-size: 16px; }
.travel b { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1; }

/* ---------- area ---------- */
.area { background: var(--grass); padding: clamp(72px, 10vw, 140px) 0; }
.town-check { margin-top: 36px; max-width: 640px; }
.town-check label { display: block; font-weight: 800; margin-bottom: 8px; }
.town-row input { width: 100%; font: inherit; font-size: 20px; font-weight: 600; padding: 16px 20px; border: 3px solid var(--ink); border-radius: 999px; background: var(--cream); color: var(--ink); box-shadow: 0 5px 0 var(--ink); }
.town-out { min-height: 1.5em; margin-top: 14px; font-weight: 750; font-size: 19px; }
.zones { display: grid; grid-template-columns: 2.2fr 1fr 1fr; gap: 20px; margin-top: 40px; }
.zone { background: var(--cream); border: 3px solid var(--ink); border-radius: 24px; padding: 22px; display: grid; gap: 18px; align-content: start; }
.zone-1 { display: grid; grid-template-columns: 1fr 1fr; }
.zone-1 .zone-tag { grid-column: 1 / -1; }
.zone-tag { display: flex; align-items: baseline; gap: 10px; font-weight: 800; font-size: 17px; }
.zone-tag b { font-family: var(--display); font-weight: 400; font-size: 26px; text-transform: uppercase; }
.region h3 { font-size: 16px; font-weight: 850; margin-bottom: 8px; }
.region ul { display: flex; flex-wrap: wrap; gap: 6px; }
.region li { font-size: 14px; font-weight: 650; border: 2px solid var(--ink); border-radius: 999px; padding: 3px 10px; transition: background .2s, transform .3s var(--pop); }
.region li.hit { background: var(--butter); transform: scale(1.12); }
.fallback { margin-top: 28px; font-weight: 750; font-size: 19px; }

/* ---------- trust slot ---------- */
.trust { padding: clamp(56px, 7vw, 96px) 0; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.slot { border: 3px dashed rgba(58, 26, 11, .45); border-radius: 24px; padding: 28px 24px; min-height: 140px; display: grid; place-content: center; text-align: center; font-weight: 750; }
.slot small { font-weight: 550; font-size: 14px; }

/* ---------- faq ---------- */
.faq { padding: clamp(72px, 10vw, 140px) 0; background: var(--peri); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-grid > div:first-child { position: sticky; top: calc(var(--block) + 24px); }
.qs { display: grid; gap: 12px; }
.qs details { background: var(--cream); border: 3px solid var(--ink); border-radius: 22px; transition: box-shadow .2s; }
.qs details[open] { box-shadow: 8px 8px 0 var(--ink); }
.qs summary { list-style: none; cursor: pointer; padding: 20px 64px 20px 22px; font-weight: 800; font-size: 19px; position: relative; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; width: 36px; height: 36px; margin-top: -18px;
  border-radius: 50%; background: var(--butter); border: 2px solid var(--ink); display: grid; place-items: center;
  font-family: var(--display); font-size: 22px; line-height: 1; transition: transform .3s var(--pop);
}
.qs details[open] summary::after { transform: rotate(135deg); background: var(--berry); }
.qs details p { padding: 0 22px 22px; font-size: 18px; max-width: 60ch; }

/* ---------- booking ---------- */
.book { background: var(--berry); padding: clamp(72px, 10vw, 140px) 0; }
.mode { display: inline-flex; margin: 32px 0 24px; background: var(--cream); border: 3px solid var(--ink); border-radius: 999px; padding: 4px; }
.mode button { border: 0; background: none; border-radius: 999px; padding: 12px 22px; font-weight: 800; font-size: 16px; }
.mode button[aria-selected="true"] { background: var(--ink); color: var(--cream); }
.book-grid { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.bk, .tk { background: var(--cream); border: 3px solid var(--ink); border-radius: 32px; padding: clamp(20px, 3vw, 40px); box-shadow: 12px 12px 0 var(--ink); }
.tk { max-width: 760px; display: grid; gap: 18px; }
.tk .lede { margin: 0; }
.bk-steps { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.bk-steps li { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; padding: 4px 14px 4px 4px; border-radius: 999px; border: 2px solid rgba(58, 26, 11, .25); opacity: .55; }
.bk-steps li span { width: 34px; height: 34px; font-size: 12px; font-weight: 900; }
.bk-steps li .shape-tri { padding-top: 10px; }
.bk-steps li.is-on, .bk-steps li.is-done { opacity: 1; border-color: var(--ink); }
.bk-steps li.is-on { background: var(--ink); color: var(--cream); }
.bk-steps li.is-on span { color: var(--ink); }
.bk-step { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.bk-step.is-on { display: grid; gap: 14px; animation: stepIn .35s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } }
.bk-h { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(24px, 2.4vw, 32px); line-height: 1; margin-top: 10px; }
.bk-h small { font-family: var(--body); font-size: 15px; text-transform: none; font-weight: 600; }
.pick { display: grid; gap: 10px; }
.pick-game { grid-template-columns: repeat(4, 1fr); }
.pick-pkg { grid-template-columns: repeat(3, 1fr); }
.pick label { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pick span {
  display: grid; gap: 4px; justify-items: center; text-align: center; height: 100%;
  border: 3px solid var(--ink); border-radius: 20px; padding: 14px 10px; font-weight: 800; font-size: 16px; line-height: 1.15;
  transition: transform .25s var(--pop), background .2s, box-shadow .2s;
}
.pick-game img { width: 64px; height: 64px; object-fit: contain; }
.pick-pkg span { font-family: var(--display); font-weight: 400; font-size: 26px; }
.pick-pkg b { font-family: var(--body); font-weight: 850; font-size: 16px; text-transform: uppercase; letter-spacing: .06em; }
.pick-pkg small { font-family: var(--body); font-weight: 650; font-size: 13px; }
.pick-pkg em { font-family: var(--body); font-style: normal; font-weight: 850; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; background: var(--berry); padding: 2px 8px; border-radius: 999px; }
.pick input:checked + span { background: var(--butter); box-shadow: 0 6px 0 var(--ink); transform: translateY(-4px); }
.pick input:focus-visible + span { outline: 4px solid var(--ink); outline-offset: 3px; }
.pick-addons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pick-addons label { display: flex; align-items: center; gap: 10px; border: 2px solid var(--ink); border-radius: 14px; padding: 10px 12px; font-weight: 700; font-size: 15px; cursor: pointer; }
.pick-addons label[hidden] { display: none; }
.pick-addons label span { margin-left: auto; font-weight: 800; white-space: nowrap; }
.pick-addons input { width: 20px; height: 20px; accent-color: var(--ink); flex: none; }
.pick-addons label:has(input:checked) { background: var(--butter); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-weight: 800; font-size: 15px; }
.field label small { font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: #fff8;
  border: 2px solid var(--ink); border-radius: 14px; padding: 12px 14px; min-height: 50px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: 0 0 0 4px var(--butter); }
.field [aria-invalid="true"] { border-color: #b3123a; box-shadow: 0 0 0 3px rgba(255, 90, 122, .45); }
.help { font-size: 14px; font-weight: 600; }
.note { display: flex; gap: 10px; align-items: flex-start; font-weight: 650; font-size: 16px; background: rgba(255, 200, 61, .35); padding: 12px 14px; border-radius: 14px; }
.note span { flex: none; width: 16px; height: 16px; margin-top: 4px; }
.err { color: #9b0f31; font-weight: 800; min-height: 0; }
.err:empty { display: none; }
.bk-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.review { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: 16px; }
.review dt { font-weight: 800; }
.bk-done { display: grid; gap: 16px; justify-items: start; padding: 10px 0; }
.bk-done[hidden] { display: none; }
.done-big { font-family: var(--display); font-size: clamp(56px, 7vw, 96px); line-height: .9; text-transform: uppercase; }
.bk-done p:not(.done-big) { font-size: 19px; font-weight: 600; max-width: 46ch; }

.ticket { position: sticky; top: calc(var(--block) + 20px); background: var(--ink); color: var(--cream); border-radius: 28px; padding: 24px; box-shadow: 12px 12px 0 var(--butter); }
.ticket-bar { display: none; }
.ticket-h { font-family: var(--display); text-transform: uppercase; font-size: 26px; margin-bottom: 14px; }
.t-lines { display: grid; gap: 8px; font-size: 15px; font-weight: 600; }
.t-lines li { display: flex; justify-content: space-between; gap: 12px; }
.t-lines li b { white-space: nowrap; }
.t-lines li.muted { opacity: .75; }
.t-sum { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding-top: 14px; border-top: 2px dashed rgba(251, 244, 230, .5); font-weight: 800; }
.t-sum .t-total { font-family: var(--display); font-size: 48px; font-weight: 400; line-height: 1; color: var(--butter); }
.t-total.tick { animation: tick .4s var(--pop); }
@keyframes tick { 40% { transform: scale(1.15) rotate(-3deg); } }
.t-dep { font-size: 14px; margin-top: 10px; opacity: .9; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--cream); overflow: hidden; }
.foot .checker { margin-bottom: 56px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.foot-line { font-weight: 600; max-width: 60ch; }
.foot .btn-ink { background: var(--butter); color: var(--ink); }
.foot-wm { font-family: var(--display); font-size: 22.4vw; line-height: .8; letter-spacing: -.02em; margin: 48px 0 -.1em -0.04em; white-space: nowrap; color: var(--cream); }

/* ---------- menu ---------- */
.menu {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--berry); color: var(--ink); overflow: auto;
}
.menu::backdrop { background: transparent; }
.menu[open] { animation: menuOpen .38s var(--ease) both; }
.menu.closing { animation: menuClose .28s var(--ease) both; }
@keyframes menuOpen { from { clip-path: circle(0 at var(--mx, 95%) var(--my, 5%)); } to { clip-path: circle(150% at var(--mx, 95%) var(--my, 5%)); } }
@keyframes menuClose { from { clip-path: circle(150% at var(--mx, 95%) var(--my, 5%)); } to { clip-path: circle(0 at var(--mx, 95%) var(--my, 5%)); } }
.menu-in { min-height: 100%; display: grid; grid-template-rows: auto 1fr auto; padding: 0 0 var(--padx); position: relative; }
.menu-in::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; background: repeating-conic-gradient(var(--butter) 0 25%, transparent 0 50%) 0 0 / 64px 64px; opacity: .9; z-index: 0; pointer-events: none; }
.menu-top { display: flex; justify-content: space-between; align-items: flex-start; }
.menu-logo { font-family: var(--display); font-size: 22px; padding: 28px var(--padx); text-transform: uppercase; }
.menu-close { position: relative; background: var(--ink); color: var(--cream); }
.menu-toys { position: absolute; right: 6vw; top: 50%; width: min(34vw, 460px); aspect-ratio: 1; transform: translateY(-55%); pointer-events: none; }
.menu-toys i, .menu-toys img { position: absolute; display: block; }
.menu-toys .t-sq { width: 46%; aspect-ratio: 1; left: 4%; bottom: 0; background: var(--butter); border: 4px solid var(--ink); }
.menu-toys .t-ci { width: 42%; aspect-ratio: 1; right: 6%; bottom: 0; background: var(--peri); border: 4px solid var(--ink); border-radius: 50%; }
.menu-toys .t-tri { width: 50%; aspect-ratio: 1.1; left: 25%; bottom: 44%; background: var(--grass); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.menu-toys img { width: 62%; right: -6%; top: -8%; transform: rotate(18deg); filter: drop-shadow(6px 8px 0 rgba(58, 26, 11, .3)); }
.menu[open] .menu-toys > * { animation: toyDrop .6s var(--pop) both; }
.menu[open] .menu-toys .t-sq { animation-delay: .08s; }
.menu[open] .menu-toys .t-ci { animation-delay: .16s; }
.menu[open] .menu-toys .t-tri { animation-delay: .24s; }
.menu[open] .menu-toys img { animation-delay: .34s; }
@keyframes toyDrop { from { translate: 0 -120vh; rotate: -20deg; } }
.menu-links { align-self: center; padding: 24px var(--padx); display: grid; gap: 2px; counter-reset: m; }
.menu-links a {
  display: inline-flex; align-items: flex-start; gap: 14px; text-decoration: none;
  font-family: var(--display); text-transform: uppercase; font-size: clamp(46px, 10.5vh, 128px); line-height: .98; letter-spacing: -.01em;
  transition: transform .25s var(--pop), color .2s;
}
.menu-links .n { font-family: var(--body); font-weight: 850; font-size: 16px; margin-top: .7em; letter-spacing: .06em; }
.menu-links a:hover, .menu-links a:focus-visible { transform: translateX(14px); color: var(--cream); }
.menu[open] .menu-links li { animation: linkIn .5s var(--ease) both; }
.menu[open] .menu-links li:nth-child(2) { animation-delay: .04s; }
.menu[open] .menu-links li:nth-child(3) { animation-delay: .08s; }
.menu[open] .menu-links li:nth-child(4) { animation-delay: .12s; }
.menu[open] .menu-links li:nth-child(5) { animation-delay: .16s; }
@keyframes linkIn { from { transform: translateY(60%); opacity: 0; } }
.menu-foot { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 0 var(--padx) 80px; flex-wrap: wrap; }
.menu-secrets { font-weight: 800; }
.menu-cta { min-width: 260px; font-size: 19px; min-height: 60px; }

/* ---------- video dialog ---------- */
.vid { border: 0; padding: 0; background: transparent; max-width: min(1000px, 94vw); width: 100%; overflow: visible; }
.vid::backdrop { background: rgba(58, 26, 11, .88); }
.vid-in { position: relative; }
.vid video { width: 100%; border-radius: 24px; border: 4px solid var(--cream); background: #000; }
.vid-close { position: absolute; top: -70px; right: 0; width: 60px; height: 60px; font-size: 14px; }
.vid[open] { animation: pop .35s var(--pop); }
@keyframes pop { from { transform: scale(.85); opacity: 0; } }

/* ---------- toast + confetti ---------- */
.toast {
  position: fixed; z-index: 80; left: 50%; bottom: 24px; transform: translate(-50%, calc(100% + 40px)); visibility: hidden;
  background: var(--ink); color: var(--cream); padding: 14px 22px; border-radius: 999px; font-weight: 800; font-size: 17px;
  box-shadow: 0 6px 0 var(--butter); transition: transform .45s var(--pop), visibility 0s .45s; white-space: nowrap; max-width: calc(100vw - 32px);
}
.toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform .45s var(--pop); }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 79; overflow: hidden; }
.confetti i { position: absolute; top: -60px; width: 26px; height: 26px; animation: fall 2.6s cubic-bezier(.3, .6, .5, 1) forwards; }
@keyframes fall { to { transform: translate(var(--dx), 115vh) rotate(var(--r)); } }

/* ---------- static (no-JS / reduced / low-end) Arrow Tag beat ---------- */
html:not(.motion) .beat-arrow .beat-inner { min-height: 0; }
html:not(.motion) .beat-arrow .sticker { left: auto; right: -6%; top: -10%; width: 30%; }
html:not(.motion) .beat-arrow .frame { aspect-ratio: 640 / 352; border-radius: 28px; }

/* ---------- phone, designed on purpose ---------- */
@media (max-width: 760px) {
  :root { --block: 60px; }
  body { font-size: 17px; }
  .block { font-size: 14px; }
  .tri-count { font-size: 13px; }
  .motion .beat-arrow { align-items: end; }
  .motion .beat-arrow .beat-shade { background: linear-gradient(0deg, rgba(58, 26, 11, .92) 0%, rgba(58, 26, 11, .7) 55%, rgba(58, 26, 11, .1) 100%); }
  .motion .beat-arrow .beat-art { position: absolute; top: calc(var(--block) + 12px); right: 12px; width: 120px; }
  .motion .beat-arrow .sticker { width: 120px; }
  .beat-inner { grid-template-columns: 1fr !important; min-height: 0; padding: calc(var(--block) + 28px) 16px 72px; gap: 36px; }
  .beat-sci .beat-text { order: 0; }
  .beat-art { max-width: 420px; margin-right: 18px; }
  .beat-name { font-size: clamp(48px, 15vw, 72px); }
  .beat-maw .beat-name { font-size: clamp(40px, 12vw, 60px); }
  .marquee { top: auto; bottom: 18%; font-size: 40vw; }
  .facts li { font-size: 14px; }
  .beat-ctas .btn { width: 100%; }
  .big { font-size: clamp(40px, 12.5vw, 64px); }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .steps li { grid-template-columns: 72px 1fr; align-items: center; }
  .step-n { width: 72px; height: 72px; font-size: 34px; }
  .step-n.shape-tri { padding-top: 20px; }
  .safety { grid-template-columns: 1fr 1fr; }
  .safety li:nth-child(3) { border-left: 0; }
  .safety li:nth-child(n+3) { border-top: 3px solid var(--ink); }
  .safety li { padding: 18px 16px 20px; font-size: 15px; }
  .pkgs { grid-template-columns: 1fr; gap: 28px; }
  .pkg.is-pop { transform: none; order: -1; }
  .pkg.is-pop:hover { transform: none; }
  .pop { top: -22px; right: -6px; width: 92px; height: 92px; font-size: 13px; }
  .price-more { grid-template-columns: 1fr; }
  .zones, .zone-1 { grid-template-columns: 1fr; }
  .slots { grid-template-columns: 1fr; }
  .slot { min-height: 0; padding: 18px; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid > div:first-child { position: static; }
  .qs summary { font-size: 17px; padding: 18px 58px 18px 18px; }
  .book-grid { grid-template-columns: 1fr; gap: 0; }
  .bk { box-shadow: 6px 6px 0 var(--ink); border-radius: 26px; padding: 18px 16px 24px; }
  .bk-steps { gap: 6px; }
  .bk-steps li { font-size: 0; padding: 3px; gap: 0; }
  .bk-steps li span { font-size: 12px; }
  .bk-steps li.is-on { font-size: 14px; padding-right: 12px; gap: 6px; }
  .pick-game, .pick-pkg { grid-template-columns: 1fr 1fr; }
  .pick-pkg label:last-child { grid-column: 1 / -1; }
  .pick-addons, .row2 { grid-template-columns: 1fr; }
  .bk-nav .btn { flex: 1; }
  .ticket { position: sticky; top: auto; bottom: 0; margin: 16px -16px 0; border-radius: 24px 24px 0 0; padding: 0; box-shadow: 0 -6px 0 var(--butter); z-index: 5; }
  .ticket-bar { display: flex; width: 100%; align-items: center; gap: 12px; background: none; border: 0; color: var(--cream); padding: 14px 20px; min-height: 64px; font-weight: 800; }
  .ticket-bar .t-total { font-family: var(--display); font-size: 30px; font-weight: 400; color: var(--butter); }
  .ticket-bar .t-more { margin-left: auto; font-size: 14px; text-decoration: underline; }
  .ticket-body { display: none; padding: 0 20px 20px; }
  .ticket.open .ticket-body { display: block; }
  .ticket-h { display: none; }
  .menu-links a { font-size: clamp(44px, 13vw, 64px); }
  .menu-toys { display: none; }
  .menu-foot { padding-bottom: 88px; }
  .menu-cta { width: 100%; }
  .vid-close { top: -68px; }
  .toast { font-size: 15px; white-space: normal; text-align: center; border-radius: 22px; bottom: 16px; }
}
@media (max-width: 760px) and (max-height: 720px) {
  .motion .beat-arrow .facts { display: none; }
}

/* ---------- portrait hero (phones and portrait tablets): the round window becomes a tall arch under the letters ---------- */
@media (max-width: 760px), (max-aspect-ratio: 4/5) {
  .hero-top { --wm: calc((100vw - var(--padx) * 2) / 4.04); --wmTop: calc(var(--block) + 16px); }
  .hero-video { object-position: 58% 50%; }
  .peep { left: var(--padx); right: var(--padx); width: auto; aspect-ratio: auto; top: calc(var(--wmTop) + var(--wm) * 2.58 + 14px); bottom: 196px; border-radius: 999px 999px 28px 28px; }
  .hero-copy { left: var(--padx); right: var(--padx); top: auto; bottom: 22px; height: auto; width: auto; max-width: none; gap: 14px; }
  .hero-line { max-width: 30ch; }
  .hero-area, .hero-badge, .hero-checker { display: none; }
}
@media (max-width: 760px) {
  .hero-line { font-size: 19px; max-width: none; }
  .hero-ctas .btn { flex: 1; padding: 12px 16px; }
}
/* short landscape screens: keep the copy inside the BAL row */
@media (min-width: 761px) and (max-height: 860px) and (min-aspect-ratio: 4/5) {
  .hero-area { display: none; }
  .hero-copy { gap: 12px; }
}

/* ---------- respectful motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  .marquee, .beat-art .frame, .detail, .checker-track { transform: none !important; }
  .detail { transform: rotate(4deg) !important; }
}
