/* --gold is the brand accent; now Binny Boy's official sky blue */
:root { --blue: #050b1a; --royal: #0e1c3b; --gold: #6ec6f1; --ink: #ffffff; --muted: #a7b3cc; }
* { box-sizing: border-box; margin: 0; }
body { font: 17px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; background: var(--blue); color: var(--ink); }
a { color: var(--gold); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }
header.top { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; }
header.top .logo { font-weight: 800; letter-spacing: .12em; text-decoration: none; color: var(--ink); }
nav a { margin-left: 18px; text-decoration: none; color: var(--muted); }
nav a:hover { color: var(--gold); }
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 48px 0 64px; }
.hero img { width: 100%; height: auto; border: 2px solid var(--gold); }
.kicker { color: var(--gold); text-transform: uppercase; letter-spacing: .24em; font-size: 13px; font-weight: 700; }
h1 { font-size: clamp(44px, 8vw, 88px); line-height: .95; margin: 10px 0 16px; font-weight: 900; letter-spacing: -.02em; text-transform: uppercase; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.05; margin-bottom: 16px; color: var(--ink); font-weight: 900; letter-spacing: -.01em; text-transform: uppercase; }
.about p + p { margin-top: 12px; }
.lyric { font-style: italic; color: var(--muted); margin-bottom: 24px; }
.btn { display: inline-block; background: var(--gold); color: var(--blue); font-weight: 800; padding: 15px 30px; text-decoration: none; text-transform: uppercase; letter-spacing: .1em; font-size: 15px; border-radius: 999px; transition: box-shadow .2s, transform .2s; }
.btn:hover { box-shadow: 0 0 28px rgba(110,198,241,.55); transform: translateY(-2px); }
.chapter.quote h2 { font-size: clamp(48px, 7vw, 96px); color: var(--gold); }
.chapter.quote .photo img { height: 80vh; object-position: 50% 85%; }
.btn.ghost { background: none; color: var(--gold); border: 2px solid var(--gold); margin-left: 10px; }
section { padding: 56px 0; border-top: 1px solid var(--royal); }
.about { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }
.about img { width: 100%; height: auto; }
.music { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.music a { display: block; padding: 14px; background: var(--royal); text-decoration: none; color: var(--ink); }
.music span { display: block; color: var(--muted); font-size: 14px; }
.links { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; }
.links a { display: inline-block; padding: 10px 16px; border: 1px solid var(--muted); text-decoration: none; color: var(--ink); }
footer { padding: 32px 0; color: var(--muted); font-size: 14px; border-top: 1px solid var(--royal); }
.article { max-width: 680px; padding: 32px 0 64px; }
.article p { margin-bottom: 16px; }
.article h2 { margin-top: 32px; }
@media (max-width: 720px) {
  .hero, .about { grid-template-columns: 1fr; }
  nav { display: none; }
  .btn.ghost { margin: 12px 0 0; }
}
/* one-page journey (index.html) */
html:has(.journey) { scroll-padding-top: 64px; }
.journey header.bar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 14px 24px; background: rgba(5,11,26,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--royal); }
.journey header.bar .logo { font-weight: 800; letter-spacing: .12em; text-decoration: none; color: var(--ink); }
.journey section { border-top: 0; }
.open { display: grid; grid-template-columns: 1fr 1fr; min-height: 92vh; padding: 0; }
.open img, .chapter .photo img, .now img { width: 100%; height: 100%; object-fit: cover; display: block; }
.open-text { align-self: center; padding: 48px; }
.lead { font-size: 20px; color: var(--muted); margin-bottom: 28px; max-width: 30em; }
.inner .lead { margin-left: auto; margin-right: auto; }
.chapter { display: grid; grid-template-columns: 1fr 1fr; padding: 0; min-height: 80vh; }
.chapter.flip .photo { order: 2; }
.chapter .story { align-self: center; padding: 48px; max-width: 560px; }
.chapter .story p + p { margin-top: 14px; }
.num { color: var(--gold); letter-spacing: .2em; text-transform: uppercase; font-size: 13px; margin-bottom: 8px; }
.chapter h2 { font-size: clamp(32px, 4vw, 48px); color: var(--ink); line-height: 1.1; }
.press { display: inline-block; margin-top: 18px; }
.now { display: grid; grid-template-columns: 1fr 1fr; padding: 0; background: linear-gradient(135deg, var(--royal), var(--blue)); }
.now-text { padding: 48px; align-self: center; }
.now-text h2 { font-size: clamp(40px, 6vw, 64px); color: var(--ink); }
.video { position: relative; aspect-ratio: 16 / 9; margin: 20px 0 24px; border: 2px solid var(--gold); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.inner { max-width: 960px; margin: 0 auto; padding: 72px 24px; text-align: center; }
.inner .links { justify-content: center; margin: 24px 0; }
.contact { color: var(--muted); font-size: 15px; }
.journey footer { text-align: center; }
.mantra { color: var(--gold); font-style: italic; margin: 18px 0 24px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.signup { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 8px auto 12px; max-width: 520px; }
.signup input[type=email] { flex: 1 1 240px; padding: 12px 14px; font: inherit; border: 1px solid var(--gold); background: var(--royal); color: var(--ink); }
.signup .btn { margin: 0; border: 0; cursor: pointer; font: inherit; }
.joined { color: var(--gold); font-weight: 700; }
.share-title { margin-top: 48px; font-size: 24px; }
.share { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 16px; }
.share a, .share button:not(.btn) { padding: 10px 16px; border: 1px solid var(--muted); background: none; color: var(--ink); font: inherit; font-size: 14px; text-decoration: none; cursor: pointer; }
.share .btn { margin: 0; border: 0; cursor: pointer; font: inherit; }
.ticker { position: sticky; top: 56px; z-index: 2; display: block; overflow: hidden; white-space: nowrap; background: var(--gold); color: var(--blue); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; padding: 10px 0; }
.ticker:hover { background: var(--ink); }
.ticker-track { display: inline-block; animation: ticker 28s linear infinite; }
.ticker-track span { padding-right: 24px; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }
#bell { margin: auto; max-width: 460px; width: calc(100% - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; border: 2px solid var(--gold); background: var(--blue); color: var(--ink); padding: 28px 24px; text-align: center; }
#bell::backdrop { background: rgba(0,0,0,.7); }
#bell h2 { font-size: 34px; margin-bottom: 6px; }
#bell h3 { margin: 28px 0 12px; color: var(--gold); }
#bell .close { position: absolute; top: 8px; right: 12px; background: none; border: 0; color: var(--ink); font-size: 28px; cursor: pointer; }
.bells { display: grid; gap: 10px; margin-top: 18px; }
.bells a { display: block; padding: 14px; background: var(--royal); color: var(--ink); text-decoration: none; font-weight: 700; border: 1px solid var(--royal); }
.bells a:hover, .bells a:focus-visible { border-color: var(--gold); }
.road { list-style: none; padding: 0; margin: 0 0 24px; text-align: left; border-left: 2px solid var(--gold); }
.road li { padding: 6px 0 14px 18px; position: relative; color: var(--muted); }
.road li::before { content: ""; position: absolute; left: -7px; top: 10px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); border: 2px solid var(--gold); }
.road li.here::before { background: var(--gold); }
.road li.here strong { color: var(--gold); }
.road strong { display: block; color: var(--ink); }
.road span { font-size: 14px; }
.road li.past { padding: 2px 0 6px 18px; font-size: 14px; }
.road li.past::before { top: 7px; width: 8px; height: 8px; left: -5px; background: var(--muted); border-color: var(--muted); }
.road li.mystery { margin: 6px 0 0 14px; padding: 14px 16px; border: 2px dashed var(--gold); background: rgba(110,198,241,.08); text-align: center; animation: glow 2.4s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 22px rgba(110,198,241,.45); } }
.road li.mystery::before { content: "?"; left: -23px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; line-height: 18px; text-align: center; font-size: 12px; font-weight: 800; color: var(--blue); background: var(--gold); }
.road li.mystery strong { color: var(--gold); letter-spacing: .4em; font-size: 22px; }
.open.white { background: #fff; color: var(--blue); }
.open.white img { object-position: top; }
.open.white h1, .open.white .lead { color: var(--blue); }
.open.white .kicker, .open.white .mantra { color: #0a6c9c; }
/* space hero: the photo dissolves into a star field, and drifts into it */
.open.space { background: #04060f; }
.open.space.splashy .open-text { background: rgba(4,6,15,.72); }
.open.space picture img { object-fit: cover; object-position: center; animation: pulled 26s ease-in-out infinite alternate; }
@keyframes pulled { to { scale: 1.12; } }
.label img { width: min(420px, 80%); height: auto; }
.label .contact { margin-top: 16px; }
.ring { display: inline-block; margin-right: 8px; transform-origin: 50% 10%; animation: ring 4s ease-in-out infinite; }
@keyframes ring { 0%, 80%, 100% { transform: none; } 84% { transform: rotate(18deg); } 88% { transform: rotate(-16deg); } 92% { transform: rotate(10deg); } 96% { transform: rotate(-6deg); } }
.owl { position: fixed; inset: auto; margin: 0; padding: 0; border: 0; background: none; overflow: visible; pointer-events: none; width: 110px; height: auto; filter: drop-shadow(0 0 14px rgba(110,198,241,.8)); }
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .ring, .road li.mystery { animation: none; } .reveal { opacity: 1; transform: none; } }
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: stretch; background: var(--gold); color: var(--blue); text-decoration: none; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -4px 16px rgba(0,0,0,.35); }
.dock-roll { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; padding: 15px 0; }
.dock-btn { flex: none; display: flex; align-items: center; background: var(--blue); color: var(--gold); padding: 0 20px; border: 2px solid var(--gold); letter-spacing: .04em; }
.dock:hover .ticker-track { animation-play-state: paused; }
body:has(.dock) { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
.splashy { position: relative; overflow: hidden; }
.splashy picture { position: relative; z-index: 1; }
.splashy .open-text { position: relative; z-index: 3; }
.splashy picture { display: block; height: 100%; }
.splashes { position: absolute; inset: 0; pointer-events: none; z-index: 2; } /* bursts sit on the photo, words sit above them */
.splashy .splashes img { position: absolute; height: auto; object-fit: initial; translate: -50% -50%; opacity: 0; transition: scale .26s cubic-bezier(.3,1.6,.5,1); animation: splat .45s cubic-bezier(.2,1.6,.4,1) var(--delay) forwards, drift var(--d) ease-in-out calc(var(--delay) + .45s) infinite alternate, hue var(--hd) linear infinite; }
@keyframes hue { to { filter: hue-rotate(360deg); } }
@keyframes splat { from { opacity: 0; transform: rotate(var(--r)) scale(.1); } to { opacity: .9; transform: rotate(var(--r)) scale(1); } }
@keyframes drift { from { opacity: .9; transform: rotate(var(--r)) scale(1); } to { opacity: .9; transform: translate(var(--dx), var(--dy)) rotate(calc(var(--r) + 40deg)) scale(1.12); } }
.splashy .open-text { background: rgba(255,255,255,.82); border-radius: 18px; margin: 32px; backdrop-filter: blur(3px); }
.games { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; margin-top: 28px; text-align: center; }
.game { background: var(--royal); border: 1px solid rgba(110,198,241,.35); border-radius: 18px; padding: 20px; }
.game h3 { color: var(--gold); margin: 0 0 4px; }
.game > p { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.game .score { color: var(--ink); min-height: 1.4em; margin-top: 12px; }
.game .score a { color: var(--gold); }
#catch { width: 100%; max-width: 320px; aspect-ratio: 4 / 5; background: linear-gradient(#050b1a, #0e1c3b); border-radius: 12px; touch-action: none; cursor: pointer; }
.quiz { min-height: 260px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.quiz .q { font-size: 20px; font-weight: 700; color: var(--ink); }
.opts { display: grid; gap: 8px; }
.opts button, .match button { font: inherit; color: var(--ink); background: var(--blue); border: 1px solid var(--gold); border-radius: 10px; padding: 10px; cursor: pointer; }
.opts .ok { background: #1fb5a8; } .opts .no { background: #e83e8c; }
.timer { color: var(--gold); font-weight: 800; }
.match { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 320px; margin: 0 auto; }
.match button { aspect-ratio: 1; font-size: 28px; padding: 0; background: linear-gradient(135deg, var(--royal), var(--blue)); transition: transform .3s; }
.match button.up { background: var(--gold); transform: rotateY(180deg) scaleX(-1); }
#catch.hit { animation: shake .3s; }
@keyframes shake { 25% { translate: -6px 0; } 75% { translate: 6px 0; } }
.player { display: block; color: var(--muted); font-size: 14px; margin-top: 12px; }
.player input { font: inherit; margin-left: 8px; padding: 8px 12px; width: 150px; border: 1px solid var(--gold); border-radius: 10px; background: var(--royal); color: var(--ink); }
.challenge { margin: 16px auto 0; max-width: 520px; padding: 12px 16px; border: 2px dashed var(--gold); border-radius: 14px; color: var(--ink); font-weight: 700; }
.end-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 10px; }
.end-row .btn, .score > .btn { margin: 0; font-size: 13px; padding: 10px 16px; }
.score > .btn { margin-top: 8px; cursor: pointer; }
.fan-box { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; margin-top: 12px; }
.fan-box .player { margin-top: 0; }
.fan-box .btn { margin: 0; }
.fan-status { flex-basis: 100%; margin: 0; color: var(--ink); font-weight: 700; min-height: 1.2em; }
.board { margin-top: 12px; text-align: left; font-size: 14px; }
.board h4 { margin: 0 0 4px; color: var(--gold); font-size: 14px; }
.board ol { margin: 0; padding-left: 22px; color: var(--muted); }
.board li.me { color: var(--ink); font-weight: 700; }
.board-mine { color: var(--muted); font-size: 13px; margin: 6px 0 0; }
.chess { display: grid; grid-template-columns: repeat(8, 1fr); max-width: 320px; margin: 0 auto; border: 2px solid var(--gold); border-radius: 8px; overflow: hidden; }
.chess button { aspect-ratio: 1; border: 0; padding: 0; font-size: clamp(20px, 7vw, 30px); line-height: 1; cursor: pointer; color: #fff; text-shadow: 0 1px 2px #000; }
.chess .lt { background: #cfe9f8; } .chess .dk { background: #3d7fb3; }
.chess .bp { color: #050b1a; text-shadow: 0 0 2px #fff; }
.chess .last { box-shadow: inset 0 0 0 3px rgba(247,200,59,.8); }
.chess .sel { box-shadow: inset 0 0 0 3px #e83e8c; }
.chess .to { background-image: radial-gradient(circle, rgba(232,62,140,.7) 18%, transparent 22%); }
.paint { position: absolute; top: 0; left: 0; width: 100%; pointer-events: none; overflow: hidden; z-index: 3; }
.paint .shot { position: absolute; height: auto; translate: -50% -50%; animation: splat .4s cubic-bezier(.2,1.6,.4,1) forwards, fade .8s ease-in 2.4s forwards; }
@keyframes fade { to { opacity: 0; } }
.sung { position: absolute; translate: -50% -100%; max-width: 92vw; white-space: normal; text-align: center; padding: 8px 14px; border-radius: 999px; background: var(--gold); color: var(--blue); font-weight: 800; box-shadow: 0 6px 18px rgba(0,0,0,.3); animation: sung 2.6s ease-out forwards; }
@keyframes sung { 0% { opacity: 0; transform: scale(.6); } 12% { opacity: 1; transform: scale(1.08); } 20% { transform: none; } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(-40px); } }
.room { max-width: 620px; margin: 0 auto 32px; padding: 20px; border: 1px solid var(--royal); border-radius: 16px; background: rgba(14,28,59,.45); }
.room h3 { font-size: 20px; margin-bottom: 6px; }
.room-lead { font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.room-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.room-join { display: flex; gap: 8px; align-items: center; }
.room-join input { width: 110px; padding: 12px 14px; border-radius: 10px; border: 2px solid var(--royal); background: var(--blue); color: var(--ink); font: inherit; text-transform: uppercase; letter-spacing: .16em; }
.room-join .btn.ghost { margin-left: 0; }
.room-status { margin-top: 12px; font-size: 15px; color: var(--muted); }
.room-live { margin-top: 16px; display: grid; gap: 12px; }
.room-code-line { font-size: 15px; }
.room-code-line strong { color: var(--gold); letter-spacing: .2em; }
.room-people { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.room-people li { padding: 6px 12px; border-radius: 999px; background: var(--royal); font-size: 14px; font-weight: 700; }
.room-scores { list-style: none; display: grid; gap: 6px; font-size: 15px; }
.room-scores li { padding: 8px 12px; border-radius: 10px; background: rgba(5,11,26,.6); }
.room-live .btn.ghost { margin-left: 0; justify-self: start; }
.game .score a.btn:not(.ghost) { color: var(--blue); } /* .game .score a would paint it gold on gold */
/* shown when the 30 s preview runs out: the rest is on the stores */
#stream-cue { position: fixed; left: 12px; right: 12px; bottom: calc(72px + env(safe-area-inset-bottom)); z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--gold); color: var(--blue); font-size: 14px; font-weight: 700; box-shadow: 0 8px 24px rgba(0,0,0,.45); }
#stream-cue a { margin-left: auto; padding: 8px 14px; border-radius: 999px; background: var(--blue); color: var(--gold); text-decoration: none; }
#stream-cue button { order: -1; background: none; border: 0; padding: 0 4px; font-size: 20px; line-height: 1; color: inherit; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .splashes, .paint .shot { display: none; } .sung, .open.space picture img { animation: none; } }
@media (max-width: 720px) {
  .open, .chapter, .now { grid-template-columns: 1fr; min-height: 0; }
  .open img, .chapter .photo img, .now img { height: 70vh; }
  .splashy picture img { height: 60vh; }
  .splashy .open-text { margin: 0 12px 24px; }
  .chapter.flip .photo { order: 0; }
  .open-text, .chapter .story, .now-text { padding: 28px 20px 40px; }
  .open-text { padding: 20px 16px 28px; }
  .journey header.bar nav { display: none; }
  /* phone: the picture becomes the screen, text sits on it, and the button lands in the first view */
  .open.space { display: block; position: relative; min-height: 100svh; }
  .open.space picture { position: absolute; inset: 0; height: 100%; }
  .open.space picture img { height: 100%; object-position: center 30%; }
  .open.space.splashy .open-text { margin: 0; padding: 24vh 18px 22px; border-radius: 0; backdrop-filter: none; background: linear-gradient(180deg, rgba(4,6,15,0) 0%, rgba(4,6,15,.62) 34%, rgba(4,6,15,.92) 100%); }
  .open.space picture img { height: 100%; }
  .open-text h1 { font-size: clamp(34px, 9.5vw, 46px); margin: 6px 0 10px; }
  .open-text .kicker { margin-bottom: 2px; }
  .open-text .lead { font-size: 16px; line-height: 1.45; margin-bottom: 12px; }
  .open-text p:not(.kicker):not(.lead):not(.mantra) { display: none; }
  .open-text .mantra { font-size: 14px; margin-bottom: 16px; }
  .open-text .btn { display: block; text-align: center; padding: 16px 24px; font-size: 16px; }
  .chapter .story p + p { margin-top: 12px; }
  .chapter .story p:nth-of-type(n+4) { display: none; }
  .game p { font-size: 15px; }
}
@media (max-width: 380px) {
  .open.space.splashy .open-text { padding: 18vh 14px 20px; }
  .open-text .mantra { display: none; }
  .open-text .lead { font-size: 15px; }
}
