/* Go Live website. Broadcast vernacular: tally red = on air, cue green = preview, amber = timecode.
   Barlow Condensed for display (sports-graphics width), Barlow for text. */
:root {
  --night: #060b16;
  --night-2: #0b1322;
  --panel: #0e1828;
  --panel-2: #142136;
  --wire: #1f2d44;
  --paper: #f4f6f9;
  --paper-2: #e9edf2;
  --ink: #111c2b;
  --muted: #566476;
  --line: #d6dde6;
  --on-dark: #e8eef5;
  --on-dark-muted: #93a2b6;
  --tally: #ee3b2f;
  --tally-dark: #c42a20;
  --ember: #ff7a3d;
  --cue: #22b863;
  --amber: #f5b53d;
  --focus: #3b82f6;
  --radius-s: 6px;
  --radius-m: 12px;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --text: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1240px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.todo { background: #fff3cd; color: #7a4b00; padding: 0 4px; border-radius: 3px; font-weight: 600; }

h1, h2, h3 { font-family: var(--display); line-height: 1; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(48px, 7vw, 100px); font-weight: 800; }
h2 { font-size: clamp(36px, 5vw, 64px); font-weight: 800; }
h3 { font-size: 24px; font-weight: 700; line-height: 1.15; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--muted); max-width: 36em; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font: 600 17px/1 var(--text); text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s var(--ease), box-shadow .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-live { background: var(--tally); color: #fff; box-shadow: 0 8px 24px rgba(238, 59, 47, .35); }
.btn-live:hover { background: var(--tally-dark); box-shadow: 0 10px 30px rgba(238, 59, 47, .45); }
.btn-live .dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(127, 140, 160, .14); }
.btn[disabled] { opacity: .55; cursor: progress; }

/* ------------------------------------------------------------------ header */
.site-header { position: sticky; top: 0; z-index: 30; color: var(--on-dark); background: rgba(6, 11, 22, .82); backdrop-filter: blur(12px) saturate(140%); border-bottom: 1px solid rgba(255, 255, 255, .06); transition: background-color .3s; }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 26px/1 var(--display); letter-spacing: .01em; color: inherit; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-mark .ring { transform-origin: 15px 15px; animation: spin 6s linear infinite; }
.site-nav { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.site-nav a { text-decoration: none; color: var(--on-dark-muted); font-weight: 500; font-size: 16px; transition: color .15s; }
.site-nav a:hover, .site-nav a[aria-current='page'] { color: #fff; }
.site-nav .btn { min-height: 42px; padding: 0 18px; font-size: 16px; color: #fff; }
@media (max-width: 820px) { .site-nav .hide-sm { display: none; } .site-nav { gap: 16px; } }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; background: var(--night); color: var(--on-dark); overflow: hidden; padding: 64px 0 40px; isolation: isolate; }
.hero::before { /* faint broadcast grid */
  content: ''; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}
.hero-glow { position: absolute; z-index: -1; width: 900px; height: 900px; left: 50%; top: 260px; transform: translateX(-50%); background: radial-gradient(circle, rgba(238, 59, 47, .22), transparent 60%); filter: blur(10px); animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .55; transform: translateX(-50%) scale(1.08); } }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: end; }
.hero h1 { color: #fff; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; animation: rise .9s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; color: transparent; -webkit-text-stroke: 2px #fff; }
@keyframes rise { from { transform: translateY(105%); } }
.hero .lede { color: var(--on-dark-muted); margin: 0; }
.hero-side { padding-bottom: 10px; animation: fade 1s .4s both; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-note { margin-top: 16px; font-size: 15px; color: var(--on-dark-muted); }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } }
@media (max-width: 980px) { .hero { padding-top: 40px; } .hero-top { grid-template-columns: 1fr; gap: 22px; } }

/* The network: many events -> Go Live -> every platform. The page's centrepiece. */
.network { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 200px minmax(0, 1fr); gap: 44px; align-items: center; margin-top: 56px; padding: 30px; border-radius: 20px; background: linear-gradient(180deg, rgba(20, 33, 54, .55), rgba(11, 19, 34, .3)); border: 1px solid rgba(255, 255, 255, .07); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); animation: fade 1s .55s both; }
.net-label { position: absolute; top: -12px; padding: 3px 10px; border-radius: 999px; background: var(--night-2); border: 1px solid var(--wire); font-size: 13px; color: var(--on-dark-muted); font-weight: 600; }
.net-label.l { left: 30px; } .net-label.c { left: 50%; transform: translateX(-50%); } .net-label.r { right: 30px; }
.net-events { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; position: relative; z-index: 2; }
.net-outs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; position: relative; z-index: 2; }
.net-wires { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible; }
.wire { fill: none; stroke: rgba(147, 162, 182, .2); stroke-width: 1.4; transition: stroke .4s, stroke-width .4s; }
.wire.hot { stroke: var(--tally); stroke-width: 2.2; stroke-dasharray: 7 9; animation: flow 0.9s linear infinite; filter: drop-shadow(0 0 4px rgba(238, 59, 47, .7)); }
@keyframes flow { to { stroke-dashoffset: -16; } }
.spark { fill: #ffb07a; filter: drop-shadow(0 0 3px #ff7a3d); }
.spark.dim { fill: rgba(232, 238, 245, .55); filter: none; }

.net-core { position: relative; z-index: 2; aspect-ratio: 1; display: grid; place-items: center; }
.core-ring { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 55%, rgba(238, 59, 47, .15) 65%, var(--tally) 88%, var(--ember) 96%, transparent 100%); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px)); mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px)); animation: spin 2.6s linear infinite; }
.core-ring.r2 { inset: 14px; animation-duration: 4.2s; animation-direction: reverse; opacity: .6; }
.core-pulse { position: absolute; inset: 22px; border-radius: 50%; border: 1px solid rgba(238, 59, 47, .5); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { transform: scale(.8); opacity: .9; } to { transform: scale(1.35); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
.core-disc { position: relative; width: 74%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #1b2a44, #0a1222 70%); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 0 60px rgba(238, 59, 47, .35), inset 0 0 20px rgba(0, 0, 0, .6); display: grid; place-content: center; justify-items: center; text-align: center; gap: 4px; }
.core-disc .brand-mark { width: 36px; height: 36px; }
.core-disc strong { font: 800 26px/1 var(--display); color: #fff; }
.core-disc span { font-size: 12px; color: var(--on-dark-muted); max-width: 11em; line-height: 1.3; min-height: 2.6em; }
.eq { display: flex; gap: 3px; align-items: flex-end; height: 14px; margin-top: 2px; }
.eq i { width: 3px; height: 100%; background: var(--cue); border-radius: 2px; transform-origin: bottom; animation: eq .9s ease-in-out infinite alternate; }
.eq i:nth-child(2) { animation-delay: -.3s; } .eq i:nth-child(3) { animation-delay: -.6s; } .eq i:nth-child(4) { animation-delay: -.15s; } .eq i:nth-child(5) { animation-delay: -.45s; }
@keyframes eq { from { transform: scaleY(.2); } to { transform: scaleY(1); } }

/* Monitors: small live feeds. */
.monitor { position: relative; aspect-ratio: 16 / 9; border-radius: 9px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .09), 0 14px 30px rgba(0, 0, 0, .45); transition: box-shadow .35s, transform .35s var(--ease); }
.monitor-stage { position: absolute; inset: 0; }
.monitor .scene, .dest-screen .scene { position: absolute; inset: 0; opacity: 0; transition: opacity .22s linear; }
.monitor .scene.on, .dest-screen .scene.on { opacity: 1; }
.monitor .scene svg, .dest-screen .scene svg { width: 100%; height: 100%; }
.monitor.cut::after { content: ''; position: absolute; inset: 0; background: #fff; opacity: 0; animation: cutflash .3s; pointer-events: none; }
@keyframes cutflash { 0% { opacity: .18; } 100% { opacity: 0; } }
.monitor.featured { box-shadow: 0 0 0 2px var(--tally), 0 0 34px rgba(238, 59, 47, .5); transform: scale(1.03); }
.mon-tag { position: absolute; top: 6px; left: 6px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px 3px 6px; border-radius: 4px; background: rgba(6, 11, 22, .72); color: #fff; font: 600 11px/1.2 var(--text); backdrop-filter: blur(4px); }
.mon-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--tally); animation: blink 1.4s steps(1) infinite; }
.monitor.featured .mon-tag { background: var(--tally); }
.monitor.featured .mon-tag i { background: #fff; }
.cap { position: absolute; left: 6%; bottom: 8%; display: flex; max-width: 88%; font-family: var(--display); color: #fff; font-size: clamp(10px, 1vw, 13px); }
.cap b { background: var(--tally); padding: 2px 6px; font-weight: 700; white-space: nowrap; }
.cap span { background: rgba(6, 11, 22, .86); padding: 2px 7px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes blink { 50% { opacity: .25; } }

/* Destinations */
.dest { background: var(--panel); border: 1px solid var(--wire); border-radius: 12px; padding: 8px; transition: border-color .4s, box-shadow .4s; }
.dest.flash { border-color: rgba(238, 59, 47, .7); box-shadow: 0 0 22px rgba(238, 59, 47, .25); }
.dest-head { display: flex; align-items: center; gap: 7px; padding: 2px 2px 7px; font-size: 13px; font-weight: 600; color: #fff; }
.dest-head .glyph { width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; flex: none; }
.dest-head .glyph svg { width: 11px; height: 11px; }
.dest-head .views { margin-left: auto; color: var(--on-dark-muted); font-weight: 500; font-variant-numeric: tabular-nums; font-size: 12px; white-space: nowrap; }
.dest-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #000; }
.dest-screen.vertical { background: #000; }
.dest-screen.vertical .v-frame { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); aspect-ratio: 9 / 16; overflow: hidden; border-radius: 4px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15); }
.dest-screen.vertical .v-blur, .dest-screen.vertical .v-main { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.dest-screen.vertical .v-blur { height: 100%; aspect-ratio: 16 / 9; filter: blur(6px) brightness(.6); }
.dest-screen.vertical .v-main { width: 100%; aspect-ratio: 16 / 9; }
.dest-screen.vertical .v-blur .scene, .dest-screen.vertical .v-main .scene { position: absolute; inset: 0; }
.dest-screen.watch { display: grid; grid-template-columns: 1.5fr 1fr; gap: 4px; padding: 14px 4px 4px; background: #f4f6f9; }
.dest-screen.watch::before { content: ''; position: absolute; top: 4px; left: 6px; width: 18px; height: 4px; border-radius: 2px; background: radial-gradient(circle, #ee3b2f 1.6px, transparent 2px) 0 0/6px 4px repeat-x; }
.dest-screen.watch .w-video { position: relative; border-radius: 3px; overflow: hidden; background: #000; }
.dest-screen.watch .w-side { display: flex; flex-direction: column; gap: 3px; overflow: hidden; }
.dest-screen.watch .w-row { height: 5px; border-radius: 2px; background: #dfe5ec; }
.dest-screen.watch .w-row.lead { background: #111c2b; width: 80%; }
.dest-screen.watch .w-chat { margin-top: auto; height: 7px; border-radius: 4px; background: #e3f5ea; animation: chatin .6s var(--ease) both; }
@keyframes chatin { from { transform: translateX(14px); opacity: 0; } }

@media (max-width: 980px) {
  .network { grid-template-columns: 1fr; gap: 26px; padding: 22px 14px; margin-top: 36px; }
  .net-wires { display: none; }
  .net-core { width: 170px; margin: 0 auto; }
  .net-core::before, .net-core::after { content: ''; position: absolute; left: 50%; width: 2px; height: 26px; background: repeating-linear-gradient(var(--tally) 0 6px, transparent 6px 12px); background-size: 2px 12px; animation: drip .6s linear infinite; }
  .net-core::before { top: -26px; } .net-core::after { bottom: -26px; }
  .net-label { position: static; display: inline-block; margin-bottom: -12px; justify-self: start; }
  .net-label.c { transform: none; justify-self: center; margin-bottom: 0; }
  .net-label.l { order: 1; } .net-events { order: 2; } .net-label.c { order: 3; } .net-core { order: 4; } .net-label.r { order: 5; } .net-outs { order: 6; }
  .dest-head .views .w { display: none; }
}
@keyframes drip { to { background-position: 0 12px; } }

/* Scene motion: cameras are rolling. */
.scene .drift { animation: drift 9s ease-in-out infinite alternate; transform-origin: 50% 60%; }
.scene .bob { animation: bob 1.8s ease-in-out infinite alternate; }
.scene .sweep { animation: sweep 5s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 0; }
.scene .twinkle { animation: twinkle 1.6s ease-in-out infinite alternate; }
.scene .run { animation: run 6s linear infinite; }
.scene .stride { animation: bob .35s ease-in-out infinite alternate; }
.scene .roll { animation: roll 3s ease-in-out infinite alternate; }
.scene .bowl { animation: bowl 1.6s ease-in infinite; }
.scene .bar { transform-box: fill-box; transform-origin: 50% 100%; animation: grow 2.4s var(--ease) infinite alternate; }
.scene .sway { animation: sway 4s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 100%; }
.scene .sparkle { animation: twinkle .9s steps(2) infinite; }
@keyframes drift { from { transform: scale(1.04) translateX(-1.5%); } to { transform: scale(1.1) translateX(1.5%); } }
@keyframes bob { to { transform: translateY(-1.2px); } }
@keyframes sweep { from { transform: rotate(-9deg); } to { transform: rotate(9deg); } }
@keyframes twinkle { from { opacity: .25; } to { opacity: 1; } }
@keyframes run { from { transform: translateX(-30px); } to { transform: translateX(150px); } }
@keyframes roll { to { transform: translateX(14px); } }
@keyframes bowl { from { transform: translateY(0); opacity: 1; } 90% { opacity: 1; } to { transform: translateY(44px); opacity: 0; } }
@keyframes grow { from { transform: scaleY(.55); } to { transform: scaleY(1); } }
@keyframes sway { from { transform: rotate(-1.5deg); } to { transform: rotate(1.5deg); } }
.paused *, .paused *::before, .paused *::after { animation-play-state: paused !important; }

/* ------------------------------------------------------------------ marquee */
.marquee { background: var(--night-2); color: #fff; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .06); padding: 22px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee ul { display: flex; gap: 0; margin: 0; padding: 0; list-style: none; }
.marquee li { font: 800 clamp(30px, 4vw, 52px)/1 var(--display); white-space: nowrap; display: flex; align-items: center; }
.marquee li::after { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--tally); margin: 0 30px; box-shadow: 0 0 12px rgba(238, 59, 47, .8); }
.marquee li:nth-child(even) { color: transparent; -webkit-text-stroke: 1.4px rgba(232, 238, 245, .65); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------ sections */
.section { padding: 110px 0; }
.section-tight { padding: 72px 0; }
.section-head { max-width: 780px; margin-bottom: 48px; }
.section-head p { margin-top: 18px; color: var(--muted); font-size: 19px; line-height: 1.55; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--tally); margin-bottom: 14px; }
.kicker::before { content: ''; width: 22px; height: 2px; background: currentColor; }
@media (max-width: 760px) { .section { padding: 72px 0; } .section-head { margin-bottom: 32px; } }
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* Director section with the interactive mixer */
.director { background: linear-gradient(180deg, var(--night-2), var(--night)); color: var(--on-dark); }
.director .section-head p { color: var(--on-dark-muted); }
.director .kicker { color: var(--ember); }
.director-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.director-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.director-points li { display: grid; grid-template-columns: 14px 1fr; gap: 14px; }
.director-points li::before { content: ''; width: 12px; height: 12px; margin-top: 7px; border-radius: 3px; background: var(--cue); }
.director-points li:nth-child(2)::before { background: var(--tally); }
.director-points li:nth-child(3)::before { background: var(--amber); }
.director-points strong { display: block; color: #fff; font: 700 22px/1.2 var(--display); }
.director-points span { color: var(--on-dark-muted); font-size: 16px; }
@media (max-width: 980px) { .director-grid { grid-template-columns: 1fr; gap: 40px; } }

.mixer { margin: 0; min-width: 0; background: #08101c; border: 1px solid var(--wire); border-radius: 16px; padding: 14px; box-shadow: 0 40px 90px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .03); }
.mixer-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 13px; color: var(--on-dark-muted); }
.tc { font: 600 18px/1 var(--display); color: var(--amber); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.onair { display: inline-flex; align-items: center; gap: 6px; background: var(--tally); color: #fff; font: 700 13px/1 var(--text); padding: 5px 8px; border-radius: 4px; }
.onair::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.6s steps(1) infinite; }
.dests { margin-left: auto; display: flex; gap: 6px; }
.dests span { padding: 4px 7px; border-radius: 4px; background: var(--panel-2); color: var(--on-dark); font-size: 12px; font-weight: 600; }
.pgm { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; outline: 3px solid var(--tally); background: #000; }
.pgm .scene, .feed .scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.pgm .scene svg, .feed .scene svg { width: 100%; height: 100%; }
.pgm .scene { transition: opacity .18s linear; }
.pgm .scene.leaving { opacity: 0; }
.l3 { position: absolute; left: 4%; bottom: 7%; display: flex; align-items: stretch; max-width: 80%; font-family: var(--display); color: #fff; transition: transform .35s var(--ease), opacity .25s; }
.l3.out { transform: translateX(-12px); opacity: 0; }
.l3 b { background: var(--tally); padding: 6px 10px; font-weight: 700; font-size: clamp(13px, 1.5vw, 17px); white-space: nowrap; }
.l3 span { background: rgba(6, 11, 22, .88); padding: 6px 12px; font-weight: 600; font-size: clamp(13px, 1.5vw, 17px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pgm-label { position: absolute; top: 8px; left: 8px; background: rgba(6, 11, 22, .75); color: #fff; font: 700 12px/1 var(--text); padding: 5px 7px; border-radius: 3px; z-index: 1; }
.feeds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.feed { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; outline: 2px solid var(--wire); background: #000; cursor: pointer; padding: 0; border: 0; color: #fff; transition: outline-color .2s; }
.feed.pvw { outline: 3px solid var(--cue); }
.feed.pgm-on { outline: 3px solid var(--tally); }
.feed-name { position: absolute; left: 0; right: 0; bottom: 0; padding: 3px 6px; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); font: 600 12px/1.2 var(--text); text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mixer-bottom { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.take { flex: 1; min-height: 42px; border-radius: 6px; border: 0; background: var(--panel-2); color: var(--on-dark); font: 700 16px/1 var(--display); letter-spacing: .08em; cursor: pointer; transition: background-color .12s; }
.take.hit { background: var(--tally); color: #fff; }
.mixer-meta { font-size: 13px; color: var(--on-dark-muted); white-space: nowrap; }
.mixer-meta strong { color: #fff; font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .dests span:nth-child(n+3) { display: none; } .mixer-meta { display: none; } .feed-name { font-size: 10px; padding: 2px 4px; } }

/* Calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: 18px; background: #fff; overflow: hidden; box-shadow: 0 30px 60px rgba(17, 28, 43, .08); }
.calc-controls { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 26px 30px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.calc-controls label { display: block; font-weight: 600; margin-bottom: 8px; }
.calc-controls output { font: 800 30px/1 var(--display); margin-left: 6px; }
input[type='range'] { width: 100%; accent-color: var(--tally); height: 28px; }
.bill { padding: 26px 30px 30px; }
.bill + .bill { border-left: 1px solid var(--line); }
.bill h3 { margin-bottom: 14px; }
.bill dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 9px 16px; font-size: 16px; }
.bill dt { color: var(--muted); }
.bill dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; font-weight: 500; }
.bill .total { border-top: 2px solid var(--ink); margin-top: 14px; padding-top: 12px; display: flex; justify-content: space-between; align-items: baseline; }
.bill .total span { font-weight: 600; }
.bill .total strong { font: 800 44px/1 var(--display); font-variant-numeric: tabular-nums; }
.bill.crew .total strong { text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: rgba(238, 59, 47, .6); }
.bill.ours .total strong { color: var(--tally); }
.saving { grid-column: 1 / -1; background: var(--night); color: #fff; padding: 24px 30px; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; position: relative; overflow: hidden; }
.saving::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .07) 50%, transparent 70%); transform: translateX(-100%); animation: sheen 4s ease-in-out infinite; }
@keyframes sheen { 60%, 100% { transform: translateX(100%); } }
.saving strong { font: 800 clamp(38px, 5vw, 60px)/1 var(--display); color: var(--amber); font-variant-numeric: tabular-nums; }
.calc-note { margin-top: 14px; font-size: 14px; color: var(--muted); max-width: 70em; }
@media (max-width: 760px) {
  .calc, .calc-controls { grid-template-columns: 1fr; }
  .bill + .bill { border-left: 0; border-top: 1px solid var(--line); }
  .calc-controls, .bill, .saving { padding-inline: 18px; }
}

/* Features */
.studio { background: var(--night); color: var(--on-dark); }
.studio .section-head p { color: var(--on-dark-muted); }
.studio .kicker { color: var(--ember); }
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; }
.spec { position: relative; padding: 24px; border-radius: 14px; background: linear-gradient(180deg, var(--panel), rgba(14, 24, 40, .4)); border: 1px solid var(--wire); overflow: hidden; transition: border-color .3s, transform .3s var(--ease); }
.spec::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(238, 59, 47, .18), transparent 40%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.spec:hover { border-color: rgba(238, 59, 47, .4); transform: translateY(-2px); }
.spec:hover::before { opacity: 1; }
.spec svg { width: 30px; height: 30px; color: var(--amber); margin-bottom: 14px; }
.spec dt { font: 700 23px/1.2 var(--display); color: #fff; margin-bottom: 6px; }
.spec dd { margin: 0; color: var(--on-dark-muted); font-size: 16px; }
.spec.wide { grid-column: span 2; }
@media (max-width: 980px) { .specs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .specs { grid-template-columns: 1fr; } .spec.wide { grid-column: auto; } }

/* Steps: a real sequence, so it is numbered. The line fills as you scroll. */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: step; position: relative; }
.steps::before, .steps::after { content: ''; position: absolute; top: 23px; left: 24px; right: 24px; height: 2px; background: var(--line); }
.steps::after { background: linear-gradient(90deg, var(--ink), var(--tally)); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .2s linear; }
.steps li { counter-increment: step; padding: 0 22px 0 0; position: relative; z-index: 1; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line); color: var(--muted); font: 800 22px/1 var(--display); margin-bottom: 18px; transition: background-color .3s, border-color .3s, color .3s; }
.steps li.done::before { background: var(--ink); border-color: var(--ink); color: #fff; }
.steps li.done:last-child::before { background: var(--tally); border-color: var(--tally); }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 16px; margin: 0; }
@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before, .steps::after { top: 24px; bottom: 24px; left: 23px; right: auto; width: 2px; height: auto; }
  .steps::after { transform-origin: top; transform: scaleY(var(--p, 0)); }
  .steps li { display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; padding: 0; }
  .steps li::before { grid-row: span 2; margin: 0; }
}

/* Pricing */
.price-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.free-box { border-radius: 18px; padding: 30px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(17, 28, 43, .08); position: relative; overflow: hidden; }
.free-box::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--tally), var(--ember), var(--amber)); }
.free-box .big { font: 800 clamp(42px, 5vw, 64px)/1 var(--display); margin: 6px 0 12px; }
.rates { margin: 18px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.rates li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.rates strong { font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.packs { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.packs caption { text-align: left; font: 700 26px/1.2 var(--display); padding-bottom: 12px; }
.packs th, .packs td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.packs th { font-weight: 600; color: var(--muted); font-size: 15px; background: var(--paper-2); }
.packs td:not(:first-child), .packs th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.packs tr:last-child td { border-bottom: 0; }
.example { margin-top: 18px; font-size: 16px; color: var(--muted); }
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative; font: 700 24px/1.25 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 18px; font: 400 30px/1 var(--text); color: var(--muted); transition: transform .25s var(--ease), color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--tally); }
.faq details p { color: var(--muted); padding-bottom: 8px; max-width: 46em; }
.faq details[open] p { animation: fade .4s var(--ease); }

/* Closing call */
.closer { position: relative; background: var(--night); color: #fff; padding: 110px 0; overflow: hidden; isolation: isolate; text-align: center; }
.closer::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 120%, rgba(238, 59, 47, .5), transparent 60%); }
.onair-sign { display: inline-flex; align-items: center; gap: 14px; padding: 12px 26px; border-radius: 12px; border: 2px solid var(--tally); color: var(--tally); font: 800 clamp(28px, 4vw, 44px)/1 var(--display); letter-spacing: .12em; margin-bottom: 28px; text-shadow: 0 0 18px rgba(238, 59, 47, .9); box-shadow: 0 0 30px rgba(238, 59, 47, .45), inset 0 0 20px rgba(238, 59, 47, .25); animation: neon 3.2s ease-in-out infinite; }
@keyframes neon { 0%, 18%, 22%, 100% { opacity: 1; } 20% { opacity: .55; } }
.closer h2 { max-width: 14em; margin: 0 auto 30px; }

/* ------------------------------------------------------------------ footer */
.site-footer { background: #04070f; color: var(--on-dark-muted); padding: 48px 0 40px; font-size: 15px; border-top: 1px solid rgba(255, 255, 255, .06); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .brand { color: #fff; margin-bottom: 10px; }
.site-footer small { display: block; max-width: 40em; }

/* ------------------------------------------------------------------ auth pages */
.auth { min-height: calc(100vh - 68px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth-form { padding: 56px clamp(16px, 6vw, 88px); display: flex; flex-direction: column; justify-content: center; max-width: 620px; width: 100%; justify-self: end; animation: fade .6s var(--ease) both; }
.auth-form h1 { font-size: clamp(42px, 5vw, 64px); }
.auth-form .lede { margin: 12px 0 28px; }
.auth-side { background: var(--night); color: var(--on-dark); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 36px; padding: 48px clamp(20px, 5vw, 64px); isolation: isolate; }
.auth-side::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 80% 100%, rgba(238, 59, 47, .3), transparent 60%); }
.auth-wall { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 560px; }
.auth-side blockquote { margin: 0; max-width: 28em; }
.auth-side blockquote p { font: 800 clamp(28px, 3vw, 42px)/1.05 var(--display); color: #fff; }
.auth-side blockquote footer { color: var(--on-dark-muted); }
.tally-lamp { display: flex; gap: 10px; align-items: center; font-weight: 600; color: #fff; }
.tally-lamp i { width: 14px; height: 14px; border-radius: 50%; background: var(--cue); box-shadow: 0 0 0 6px rgba(34, 184, 99, .25); transition: background-color .3s, box-shadow .3s; }
.auth-side.armed .tally-lamp i { background: var(--tally); box-shadow: 0 0 0 6px rgba(238, 59, 47, .3); }
@media (max-width: 860px) { .auth { grid-template-columns: 1fr; } .auth-side { display: none; } .auth-form { justify-self: stretch; max-width: none; padding-top: 36px; } }

.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 16px; }
.field .hint { font-size: 14px; color: var(--muted); margin-top: 4px; }
.field input[type='text'], .field input[type='email'], .field input[type='password'], .field input[type='tel'] {
  width: 100%; min-height: 52px; padding: 0 14px; font: 400 17px var(--text); color: var(--ink);
  border: 1.5px solid #b9c3cf; border-radius: 10px; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(59, 130, 246, .2); }
.field input[aria-invalid='true'] { border-color: var(--tally); }
.pw { position: relative; }
.pw button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); font: 600 14px var(--text); padding: 8px; cursor: pointer; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 15px; color: var(--muted); margin: 6px 0 22px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.form-error { display: none; background: #fdecea; color: #8a1c15; border-left: 4px solid var(--tally); padding: 12px 14px; border-radius: 6px; margin-bottom: 18px; font-size: 16px; }
.form-error.show { display: block; animation: nudge .3s; }
@keyframes nudge { 30% { transform: translateX(-5px); } 60% { transform: translateX(4px); } }
.auth-form .btn-live { width: 100%; }
.switch-link { margin-top: 22px; color: var(--muted); }

/* ------------------------------------------------------------------ account */
.account { padding: 48px 0 80px; }
.account-head { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: end; margin-bottom: 32px; }
.account-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 28px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: 0 20px 40px rgba(17, 28, 43, .05); }
.panel h2 { font-size: 32px; margin-bottom: 12px; }
.balance { font: 800 64px/1 var(--display); font-variant-numeric: tabular-nums; margin: 8px 0 10px; }
.balance small { font-size: 26px; font-weight: 700; color: var(--muted); margin-left: 8px; }
.next-steps { margin: 0; padding-left: 22px; }
.next-steps li { margin-bottom: 10px; }
.pack-pick { display: grid; gap: 10px; margin: 8px 0 18px; }
.pack-pick label { display: flex; justify-content: space-between; gap: 12px; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; padding: 14px 16px; cursor: pointer; transition: border-color .15s, background-color .15s; }
.pack-pick input { accent-color: var(--tally); width: 18px; height: 18px; margin: 0 10px 0 0; }
.pack-pick label:has(input:checked) { border-color: var(--ink); background: var(--paper); }
.pack-pick .name { font-weight: 600; display: flex; align-items: center; }
.pack-pick .price { font: 700 22px/1 var(--display); font-variant-numeric: tabular-nums; }
.store-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.notice { background: var(--paper-2); border-radius: 8px; padding: 12px 14px; font-size: 15px; color: var(--muted); }
@media (max-width: 860px) { .account-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ legal */
.legal { padding: 56px 0 88px; }
.legal .wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; }
.legal-toc { position: sticky; top: 92px; align-self: start; font-size: 15px; }
.legal-toc ol { margin: 0; padding-left: 20px; color: var(--muted); }
.legal-toc li { margin-bottom: 7px; }
.legal-toc a { text-decoration: none; color: var(--muted); }
.legal-toc a:hover { color: var(--ink); text-decoration: underline; }
.legal article { max-width: 46em; }
.legal h1 { font-size: clamp(46px, 6vw, 72px); margin-bottom: 8px; }
.legal .updated { color: var(--muted); margin-bottom: 32px; }
.legal h2 { font-size: 32px; margin: 44px 0 12px; scroll-margin-top: 88px; }
.legal h3 { font-size: 21px; margin: 24px 0 8px; }
.legal ul, .legal ol { padding-left: 22px; margin: 0 0 1em; }
.legal li { margin-bottom: 6px; }
.legal table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: 15px; background: #fff; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
.legal th { background: var(--paper-2); }
.legal .callout { border-left: 4px solid var(--tally); background: #fff; padding: 16px 18px; margin: 18px 0; border-radius: 0 8px 8px 0; }
.table-scroll { overflow-x: auto; }
@media (max-width: 900px) { .legal .wrap { grid-template-columns: 1fr; gap: 24px; } .legal-toc { position: static; } }

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

/* Sign in with Google (P1-2) */
.google-row{margin:8px 0 18px}
.google-row #google-btn{min-height:44px;display:flex}
.google-note{font-size:13px;color:#5b6573;margin:10px 0 0}
.or{display:flex;align-items:center;gap:12px;margin:18px 0 4px;color:#5b6573;font-size:13px;text-transform:uppercase;letter-spacing:.08em}
.or::before,.or::after{content:"";flex:1;height:1px;background:#d6dce4}
.name-org{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.name-org input{flex:1 1 220px;min-height:44px;padding:0 12px;font:inherit;border-radius:6px;border:1.5px solid #b9c3cf}

/* Web-to-app handoff QR (P1-3) */
.handoff{margin-top:12px}
.handoff-qr{width:200px;height:200px;background:#fff;padding:8px;border-radius:8px;border:1.5px solid #d6dce4;margin-top:12px}
.handoff-qr svg{width:100%;height:100%;display:block}
