/*!
 * Final Four Marketing – stylesheet
 *
 * Contents
 *   1. Design tokens
 *   2. Base and reset
 *   3. Ambient background
 *   4. Liquid glass
 *   5. Header and navigation
 *   6. Buttons
 *   7. Hero
 *   8. Basketball
 *   9. Bracket simulator
 *  10. Channel ticker
 *  11. Section layout and scroll reveal
 *  12. Scoreboard
 *  13. Services
 *  14. Process
 *  15. Case studies
 *  16. Pricing
 *  17. FAQ
 *  18. Quote
 *  19. Closing call to action
 *  20. Footer
 *  21. Mobile booking bar
 *  22. Responsive
 *  23. Reduced motion
 */

/* =========================================================================
   1. Design tokens
   Colours, glass materials, type and motion. Dark values apply when the OS prefers dark,
   unless the visitor picked light; [data-theme="dark"] forces dark.
   ========================================================================= */
:root {
  --paper: #f3f5fa;
  --surface: #ffffff;
  --ink: #0e1b4d;
  --ink-soft: #46527a;
  --line: #d5dae5;
  --orange: #ff6a13;
  --orange-ink: #c2410c;
  --blue: #2747e8;
  --on-orange: #0e1b4d;
  --court: #c3cce2;
  --shadow: rgba(14, 27, 77, 0.22);
  --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.4));
  --glass-strong: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.62));
  --rim-hi: rgba(255, 255, 255, 1);
  --rim-lo: rgba(255, 255, 255, 0.55);
  --spec: rgba(255, 255, 255, 0.65);
  --glass-line: rgba(14, 27, 77, 0.1);
  --glass-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75), inset 0 -1px 2px rgba(14, 27, 77, 0.05),
    0 30px 60px -30px rgba(14, 27, 77, 0.3), 0 2px 8px rgba(14, 27, 77, 0.05);
  --orb1: #ff8a3d;
  --orb2: #5b78ff;
  --orb3: #3cc8f0;
  --orb-o: 0.38;
  --display: 'Big Shoulders Display', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --text: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --wrap: 1240px;
  color-scheme: light;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --paper: #070d26;
    --surface: #111c45;
    --ink: #eef1fa;
    --ink-soft: #aab3d2;
    --line: #26325e;
    --orange: #ff7a2e;
    --orange-ink: #ff8a45;
    --blue: #8da0ff;
    --on-orange: #0a1233;
    --court: #1f2b5e;
    --shadow: rgba(0, 0, 0, 0.6);
    --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04));
    --glass-strong: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.07));
    --rim-hi: rgba(255, 255, 255, 0.5);
    --rim-lo: rgba(255, 255, 255, 0.12);
    --spec: rgba(255, 255, 255, 0.16);
    --glass-line: rgba(255, 255, 255, 0.14);
    --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 40px 80px -40px rgba(0, 0, 0, 0.8);
    --orb1: #ff6a13;
    --orb2: #3d5bff;
    --orb3: #1ba7d6;
    --orb-o: 0.42;
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --paper: #070d26;
  --surface: #111c45;
  --ink: #eef1fa;
  --ink-soft: #aab3d2;
  --line: #26325e;
  --orange: #ff7a2e;
  --orange-ink: #ff8a45;
  --blue: #8da0ff;
  --on-orange: #0a1233;
  --court: #1f2b5e;
  --shadow: rgba(0, 0, 0, 0.6);
  --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04));
  --glass-strong: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.07));
  --rim-hi: rgba(255, 255, 255, 0.5);
  --rim-lo: rgba(255, 255, 255, 0.12);
  --spec: rgba(255, 255, 255, 0.16);
  --glass-line: rgba(255, 255, 255, 0.14);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 40px 80px -40px rgba(0, 0, 0, 0.8);
  --orb1: #ff6a13;
  --orb2: #3d5bff;
  --orb3: #1ba7d6;
  --orb-o: 0.42;
  color-scheme: dark;
}

/* =========================================================================
   2. Base and reset
   ========================================================================= */
*,
*::before,
*::after {
  box-sizing: inherit;
}
html {
  scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 104px);
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition:
    background-color 0.6s var(--ease),
    color 0.6s var(--ease);
}
body::before {
  content: '';
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 40;
  background: var(--paper);
}
img,
svg {
  max-width: 100%;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.95;
  margin: 0;
  letter-spacing: -0.005em;
}
p {
  margin: 0;
}
.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* =========================================================================
   3. Ambient background
   Slow-moving coloured light behind the whole page, so glass has something to refract.
   ========================================================================= */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: var(--orb-o);
  will-change: transform;
}
.o1 {
  width: 52vw;
  height: 52vw;
  max-width: 780px;
  max-height: 780px;
  background: var(--orb1);
  top: -14vw;
  right: -10vw;
  animation: drift1 28s ease-in-out infinite alternate;
}
.o2 {
  width: 46vw;
  height: 46vw;
  max-width: 700px;
  max-height: 700px;
  background: var(--orb2);
  top: 38vh;
  left: -16vw;
  animation: drift2 34s ease-in-out infinite alternate;
}
.o3 {
  width: 40vw;
  height: 40vw;
  max-width: 620px;
  max-height: 620px;
  background: var(--orb3);
  bottom: -18vw;
  right: 12vw;
  opacity: calc(var(--orb-o) * 0.8);
  animation: drift3 40s ease-in-out infinite alternate;
}
@keyframes drift1 {
  to {
    transform: translate3d(-12vw, 16vh, 0) scale(1.12);
  }
}
@keyframes drift2 {
  to {
    transform: translate3d(18vw, -10vh, 0) scale(0.9);
  }
}
@keyframes drift3 {
  to {
    transform: translate3d(-16vw, -14vh, 0) scale(1.15);
  }
}

/* =========================================================================
   4. Liquid glass
   .glass is the frosted surface with a rim light and a cursor-following highlight.
   .lens-on adds edge refraction in Chromium browsers (html.refract is set in main.js).
   ========================================================================= */
.glass {
  position: relative;
  isolation: isolate;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(24px) saturate(185%);
  backdrop-filter: blur(24px) saturate(185%);
  border-radius: var(--r, 28px);
  box-shadow: var(--glass-shadow);
}
.glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.2px;
  background: linear-gradient(
    145deg,
    var(--rim-hi),
    rgba(255, 255, 255, 0) 32%,
    rgba(255, 255, 255, 0) 68%,
    var(--rim-lo)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
}
.glass::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(520px circle at var(--gx, 18%) var(--gy, -20%), var(--spec), rgba(255, 255, 255, 0) 46%);
  pointer-events: none;
  z-index: -1;
  transition: background-position 0.2s;
}

.refract .lens-on {
  -webkit-backdrop-filter: url(#lg) blur(var(--gb, 14px)) saturate(190%);
  backdrop-filter: url(#lg) blur(var(--gb, 14px)) saturate(190%);
}
.nav-pill {
  --gb: 8px;
}

/* =========================================================================
   5. Header and navigation
   ========================================================================= */
.site-head {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 14px);
  z-index: 30;
  margin-top: 14px;
}
.nav-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 64px;
  padding: 0 10px 0 22px;
  --r: 999px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 27px;
}
.brand svg {
  width: 34px;
  height: 28px;
  flex: none;
}
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
}
.nav-ind {
  position: absolute;
  top: 50%;
  height: 40px;
  margin-top: -20px;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  opacity: 0;
  z-index: -1;
  transition:
    left 0.7s var(--spring),
    width 0.7s var(--spring),
    opacity 0.4s var(--ease);
}
.nav a.link.active {
  color: var(--ink);
}
.nav a.link {
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-soft);
  padding: 10px 14px;
  border-radius: 999px;
  transition:
    background-color 0.3s var(--ease),
    color 0.3s;
}
.nav a.link:hover {
  color: var(--ink);
  background: color-mix(in srgb, var(--ink) 7%, transparent);
}
.theme {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  margin: 0 6px;
  transition:
    transform 0.5s var(--spring),
    background-color 0.3s;
}
.theme:hover {
  transform: rotate(-18deg) scale(1.06);
}
.theme svg {
  width: 18px;
  height: 18px;
}
@media (max-width: 960px) {
  .nav a.link {
    display: none;
  }
}
@media (max-width: 440px) {
  .nav .btn {
    display: none;
  }
}

/* =========================================================================
   6. Buttons
   ========================================================================= */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: 600 16px/1 var(--text);
  text-decoration: none;
  padding: 16px 24px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transform: translate3d(var(--bx, 0px), var(--by, 0px), 0);
  transition:
    transform 0.6s var(--spring),
    box-shadow 0.4s var(--ease),
    filter 0.3s;
}
.btn:active {
  transform: translate3d(var(--bx, 0px), var(--by, 0px), 0) scale(0.96);
  transition-duration: 0.15s;
}
.btn-primary {
  color: var(--on-orange);
  background: linear-gradient(180deg, #ff9a52 0%, #ff6a13 52%, #ee5a06 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -3px 8px rgba(150, 40, 0, 0.28),
    0 14px 30px -12px rgba(255, 106, 19, 0.75),
    0 2px 4px rgba(150, 40, 0, 0.18);
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 1px 1px 50% 1px;
  border-radius: 999px 999px 40% 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.btn-primary:hover {
  filter: brightness(1.06) saturate(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -3px 8px rgba(150, 40, 0, 0.28),
    0 20px 40px -14px rgba(255, 106, 19, 0.9),
    0 2px 4px rgba(150, 40, 0, 0.18);
}
.btn-glass {
  color: var(--ink);
  --r: 999px;
}
.btn-glass:hover {
  filter: brightness(1.04);
}
.nav .btn {
  padding: 13px 20px;
  font-size: 15px;
}

/* =========================================================================
   7. Hero
   ========================================================================= */
.hero {
  position: relative;
  padding: 64px 0 84px;
}
.court-stage {
  position: absolute;
  inset: 0;
  z-index: -1;
  perspective: 1100px;
  pointer-events: none;
  overflow: hidden;
}
.court {
  position: absolute;
  width: 1200px;
  left: 50%;
  top: 46%;
  margin-left: -760px;
  transform: rotateX(64deg) rotateZ(calc(-14deg + var(--cz, 0deg))) translate3d(var(--cx, 0px), var(--cy, 0px), 0);
  opacity: 0.75;
}
.court svg {
  width: 100%;
  height: auto;
  display: block;
}
.court path,
.court rect,
.court circle,
.court line {
  stroke: var(--court);
  stroke-width: 3;
  fill: none;
}
.court .paint {
  fill: color-mix(in srgb, var(--orange) 10%, transparent);
}
.hero h1 {
  font-size: clamp(52px, 7.4vw, 112px);
  font-weight: 900;
  text-wrap: balance;
  position: relative;
  z-index: 2;
  pointer-events: none;
  will-change: transform;
}
.hero h1 .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0 0.02em 0.1em;
  margin: 0 -0.02em -0.1em;
}
.hero h1 .w > span {
  display: inline-block;
}
.js .hero h1 .w > span {
  transform: translate3d(0, 108%, 0) rotate(5deg);
  opacity: 0;
  filter: blur(8px);
  transition:
    transform 1.25s var(--ease),
    opacity 0.9s var(--ease),
    filter 1s var(--ease);
  transition-delay: calc(var(--i) * 60ms + 80ms);
}
.js .hero h1.go .w > span {
  transform: none;
  opacity: 1;
  filter: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  margin-top: 40px;
  align-items: start;
}
.hero-grid > *,
.sec-head > *,
.final-grid > * {
  min-width: 0;
}
.lede {
  font-size: 21px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 34ch;
}
.lede strong {
  color: var(--ink);
  font-weight: 600;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.proof-mini {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 26px;
  margin-top: 40px;
  padding: 16px 22px;
  --r: 20px;
  max-width: 100%;
}
.proof-mini div {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.35;
}
.proof-mini b {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 28px;
  color: var(--ink);
  line-height: 1;
}

/* =========================================================================
   8. Basketball
   SVG fallback ball; the WebGL ball replaces it when available (see ball-3d.js).
   ========================================================================= */
.ball {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.ball .seams {
  transform-box: view-box;
  transform-origin: 200px 200px;
  animation: spinseam 46s linear infinite;
}
.ball .body {
  animation: floaty 7s ease-in-out infinite;
}
.ball .shadow {
  transform-box: fill-box;
  transform-origin: center;
  animation: shadowy 7s ease-in-out infinite;
}
@keyframes spinseam {
  to {
    transform: rotate(360deg);
  }
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(-8px);
  }
  50% {
    transform: translateY(10px);
  }
}
@keyframes shadowy {
  0%,
  100% {
    transform: scale(0.86);
    opacity: 0.7;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
}

/* =========================================================================
   9. Bracket simulator
   ========================================================================= */
.sim-col {
  position: relative;
}
.hero-ball {
  position: absolute;
  width: 300px;
  top: -150px;
  right: -46px;
  z-index: 0;
  pointer-events: none;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
}
.hero-ball canvas {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  pointer-events: auto;
  cursor: grab;
  opacity: 0;
  transition: opacity 1s var(--ease);
  touch-action: none;
}
.hero-ball canvas:active {
  cursor: grabbing;
}
.hero-ball.webgl canvas {
  opacity: 1;
}
.hero-ball.webgl .svgb .body {
  opacity: 0;
  transition: opacity 1s var(--ease);
}
.spin-hint {
  position: absolute;
  right: 8%;
  top: -6px;
  font: 600 12px/1 var(--text);
  color: var(--ink);
  padding: 8px 11px;
  --r: 999px;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
  pointer-events: none;
  white-space: nowrap;
}
.hero-ball.webgl:hover .spin-hint {
  opacity: 1;
  transform: none;
}
.tilt {
  perspective: 1400px;
  position: relative;
  z-index: 1;
}
.panel {
  padding: 24px 24px 20px;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  will-change: transform;
}
.bracket-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.bracket-top h2 {
  font-size: 32px;
}
.bracket-top p {
  font-size: 14px;
  color: var(--ink-soft);
}
.chip-btn {
  font: 600 14px/1 var(--text);
  color: var(--ink);
  background: var(--glass-strong);
  border: 0;
  border-radius: 999px;
  padding: 11px 15px;
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 6px 16px -8px var(--shadow),
    0 0 0 1px var(--glass-line);
  transition:
    transform 0.5s var(--spring),
    box-shadow 0.3s;
}
.chip-btn:hover {
  transform: translateY(-1px);
}
.chip-btn:active {
  transform: scale(0.95);
}
.chip-btn svg {
  width: 15px;
  height: 15px;
  transition: transform 0.7s var(--ease);
}
.chip-btn.spin svg {
  transform: rotate(-360deg);
}
#bracket {
  display: block;
  width: 100%;
  height: auto;
}
#bracket text {
  font-family: var(--text);
}
#bracket.compact .b-name,
#bracket.compact .b-roas,
#bracket.compact .b-amt {
  font-size: 13px;
}
.b-head {
  font-size: 13px;
  font-weight: 600;
  fill: var(--ink-soft);
}
.b-box {
  fill: color-mix(in srgb, var(--surface) 62%, transparent);
  stroke: var(--glass-line);
  stroke-width: 1;
}
.b-name {
  font-size: 15px;
  font-weight: 600;
  fill: var(--ink);
}
.b-roas {
  font-size: 15px;
  font-weight: 700;
  fill: var(--ink-soft);
}
.b-entry {
  transition: opacity 0.7s var(--ease);
}
.b-entry.lost {
  opacity: 0.34;
}
.b-path {
  fill: none;
  stroke: var(--glass-line);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.b-path.win {
  stroke: var(--orange);
  stroke-width: 3;
}
.b-final .b-box {
  fill: url(#fgrad);
  stroke: rgba(255, 255, 255, 0.55);
}
.b-final .b-gloss {
  fill: rgba(255, 255, 255, 0.28);
}
.b-final .b-name,
.b-final .b-roas,
.b-final .b-amt {
  fill: #0e1b4d;
}
.b-final {
  transition:
    opacity 0.6s var(--ease),
    transform 0.8s var(--spring);
}
.b-bar {
  fill: var(--ink);
}
.b-amt {
  font-size: 15px;
  font-weight: 700;
  fill: var(--ink);
}
.sim-controls {
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--glass-line);
}
.sim-controls label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.budget-row {
  display: flex;
  align-items: center;
  gap: 18px;
}
.budget-val {
  font-family: var(--display);
  font-weight: 800;
  font-size: 32px;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  min-width: 4.6ch;
}
input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 8px;
  background: linear-gradient(
    90deg,
    #ff9a52,
    var(--orange) var(--fill, 20%),
    color-mix(in srgb, var(--ink) 12%, transparent) var(--fill, 20%)
  );
  outline-offset: 6px;
  box-shadow: inset 0 1px 2px rgba(14, 27, 77, 0.15);
}
input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #e9edf7 60%, #cbd3e6);
  box-shadow:
    0 4px 12px rgba(14, 27, 77, 0.3),
    inset 0 -2px 3px rgba(14, 27, 77, 0.12),
    0 0 0 1px rgba(14, 27, 77, 0.08);
  cursor: grab;
  transition: transform 0.4s var(--spring);
}
input[type='range']:active::-webkit-slider-thumb {
  transform: scale(1.15);
  cursor: grabbing;
}
input[type='range']::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #e9edf7 60%, #cbd3e6);
  box-shadow: 0 4px 12px rgba(14, 27, 77, 0.3);
  cursor: grab;
}
.bracket-note {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 12px;
}

/* =========================================================================
   10. Channel ticker
   ========================================================================= */
.ticker {
  overflow: hidden;
  --r: 0px;
  margin-top: 8px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: tick 44s linear infinite;
}
.ticker:hover .ticker-track {
  animation-play-state: paused;
}
.ticker ul {
  display: flex;
  margin: 0;
  padding: 20px 0;
  list-style: none;
}
.ticker li {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: 24px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 30px;
  white-space: nowrap;
}
.ticker li::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffc08a, var(--orange) 60%, #b3400a);
}
@keyframes tick {
  to {
    transform: translateX(-50%);
  }
}

/* =========================================================================
   11. Section layout and scroll reveal
   ========================================================================= */
section {
  padding: 112px 0;
}
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 48px;
}
.sec-head h2 {
  font-size: clamp(44px, 6vw, 84px);
}
.sec-head p {
  color: var(--ink-soft);
  max-width: 52ch;
}

.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 34px, 0) scale(0.985);
  filter: blur(10px);
  transition:
    opacity 1s var(--ease),
    transform 1.3s var(--ease),
    filter 1.1s var(--ease);
  transition-delay: var(--d, 0ms);
}
/* Stagger: data-delay sets the entrance delay in ms. */
[data-delay='120'] {
  --d: 120ms;
}
[data-delay='240'] {
  --d: 240ms;
}
[data-delay='300'] {
  --d: 300ms;
}
[data-delay='450'] {
  --d: 450ms;
}
[data-delay='560'] {
  --d: 560ms;
}
[data-delay='680'] {
  --d: 680ms;
}
.js [data-reveal].in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* =========================================================================
   12. Scoreboard
   ========================================================================= */
.board {
  --r: 30px;
  background:
    radial-gradient(560px circle at var(--mx, 30%) var(--my, 20%), rgba(255, 122, 46, 0.24), rgba(255, 122, 46, 0) 60%),
    linear-gradient(160deg, #13235f, #0b1540 60%, #0a1233);
  color: #f5f7fa;
  overflow: hidden;
  box-shadow:
    0 40px 80px -40px rgba(10, 18, 51, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.board::before {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.45),
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0) 70%,
    rgba(255, 255, 255, 0.14)
  );
}
.board::after {
  background-image: radial-gradient(rgba(245, 247, 250, 0.08) 1.2px, transparent 1.3px);
  background-size: 14px 14px;
}
.board-scroll {
  overflow-x: auto;
}
.board table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}
.board th {
  font: 600 14px/1.3 var(--text);
  text-align: left;
  padding: 20px 26px;
  color: rgba(245, 247, 250, 0.68);
  border-bottom: 1px solid rgba(245, 247, 250, 0.16);
}
.board td {
  padding: 24px 26px;
  border-bottom: 1px solid rgba(245, 247, 250, 0.1);
  vertical-align: baseline;
}
.board tr:last-child td {
  border-bottom: 0;
}
.board tbody tr {
  transition: background-color 0.35s var(--ease);
}
.board tbody tr:hover {
  background: rgba(245, 247, 250, 0.06);
}
.board .client {
  font-weight: 600;
  font-size: 18px;
}
.board .channel {
  font-size: 15px;
  color: rgba(245, 247, 250, 0.72);
}
.board .num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 46px;
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.board .before {
  color: rgba(245, 247, 250, 0.5);
}
.board .after {
  background: linear-gradient(180deg, #ffb27a, #ff7a2e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.board .metric {
  display: block;
  font: 500 13px/1.3 var(--text);
  color: rgba(245, 247, 250, 0.6);
  margin-top: 6px;
}
.board td.time {
  white-space: nowrap;
}
.board .lift {
  display: inline-block;
  font: 700 13px/1 var(--text);
  color: #0e1b4d;
  padding: 7px 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffb27a, #ff7a2e);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.board-foot {
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 14px;
}

/* =========================================================================
   13. Services
   ========================================================================= */
.services {
  display: grid;
  gap: 20px;
}
.service {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 4fr);
  gap: 44px;
  padding: 40px 44px;
}
.service > * {
  min-width: 0;
}
.service h3 {
  font-size: clamp(48px, 5.2vw, 74px);
  margin-bottom: 22px;
}
.lens {
  --r: 22px;
  padding: 16px 18px 10px;
  background: var(--glass-strong);
  max-width: 320px;
}
.viz {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
.viz .axis {
  stroke: var(--glass-line);
  stroke-width: 1;
}
.viz .lbl {
  font: 600 12px var(--text);
  fill: var(--ink-soft);
}
.viz .curve {
  fill: none;
  stroke: url(#curvegrad);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  transition: stroke-dashoffset 2s var(--ease);
}
.viz .area {
  fill: url(#areagrad);
  opacity: 0;
  transition: opacity 1.2s var(--ease) 0.7s;
}
.viz .dot {
  fill: var(--ink);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0);
  transition:
    transform 0.6s var(--spring),
    opacity 0.3s;
}
.viz .dot:nth-of-type(2) {
  transition-delay: 0.9s;
}
.viz .dot:nth-of-type(3) {
  transition-delay: 1.6s;
}
.viz .link {
  stroke: var(--glass-line);
  stroke-width: 2;
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  transition: stroke-dashoffset 1s var(--ease);
}
.viz .link.hot {
  stroke: var(--orange);
}
.viz .node {
  fill: var(--surface);
  stroke: var(--ink);
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0);
  transition: transform 0.7s var(--spring);
}
.viz .node.hot {
  fill: url(#nodegrad);
  stroke: rgba(255, 255, 255, 0.7);
}
.viz .hub {
  fill: var(--ink);
}
.viz .hub-t {
  font: 700 12px var(--text);
  fill: var(--paper);
}
.viz .pulse {
  fill: none;
  stroke: var(--orange);
  stroke-width: 2;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.viz.in .pulse {
  animation: pulse 2.8s var(--ease) 1.4s infinite;
}
@keyframes pulse {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(2.2);
  }
}
.viz .bar {
  fill: var(--ink);
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transform: scaleY(0);
  transition:
    transform 1s var(--spring),
    opacity 0.6s var(--ease),
    fill 0.6s var(--ease);
}
.viz .bar:nth-of-type(2) {
  transition-delay: 0.08s;
}
.viz .bar:nth-of-type(3) {
  transition-delay: 0.16s;
}
.viz .bar:nth-of-type(4) {
  transition-delay: 0.24s;
}
.viz .bar:nth-of-type(5) {
  transition-delay: 0.32s;
}
.viz.in .curve {
  stroke-dashoffset: 0;
}
.viz.in .area {
  opacity: 1;
}
.viz.in .dot {
  opacity: 1;
  transform: scale(1);
}
.viz.in .link {
  stroke-dashoffset: 0;
}
.viz.in .node {
  transform: scale(1);
}
.viz.in .bar {
  transform: scaleY(1);
}
.viz.done .bar.lose {
  opacity: 0.22;
}
.viz.done .bar.win {
  fill: url(#bargrad);
}
.service .promise {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 12px;
}
.service .desc {
  color: var(--ink-soft);
}
.service h4 {
  font: 700 15px/1.3 var(--text);
  margin: 0 0 10px;
}
.service ul {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.service li {
  padding: 8px 0 8px 22px;
  position: relative;
  border-bottom: 1px solid var(--glass-line);
  font-size: 16px;
}
.service li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 17px;
  width: 10px;
  height: 3px;
  border-radius: 2px;
  background: var(--orange);
}
.service .measure {
  font-size: 16px;
}

/* =========================================================================
   14. Process
   ========================================================================= */
.process-panel {
  padding: 36px 36px 30px;
}
.track {
  position: relative;
  height: 8px;
  background: color-mix(in srgb, var(--ink) 9%, transparent);
  border-radius: 8px;
  margin-bottom: 30px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(14, 27, 77, 0.12);
}
.track span {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: linear-gradient(90deg, #ffb27a, var(--orange));
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
}
.rounds {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.round {
  padding: 6px 26px;
  border-left: 1px solid var(--glass-line);
}
.round:first-child {
  border-left: 0;
  padding-left: 0;
}
.round .field {
  font-family: var(--display);
  font-weight: 900;
  font-size: 100px;
  line-height: 0.9;
  color: color-mix(in srgb, var(--ink) 14%, transparent);
  transition:
    color 0.8s var(--ease),
    transform 0.8s var(--spring);
  transform: translateY(8px);
}
.round.on .field {
  color: var(--ink);
  transform: none;
}
.round.on:nth-child(3) .field {
  background: linear-gradient(180deg, #ffb27a, var(--orange) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.round h3 {
  font-size: 30px;
  margin: 16px 0 4px;
}
.round .stage {
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 12px;
}
.round p:last-child {
  color: var(--ink-soft);
  font-size: 16px;
}

/* =========================================================================
   15. Case studies
   ========================================================================= */
.cases {
  padding: 6px 36px;
}
.case {
  border-bottom: 1px solid var(--glass-line);
}
.case:last-child {
  border-bottom: 0;
}
.case summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) auto;
  gap: 32px;
  align-items: center;
  padding: 30px 0;
}
.case summary::-webkit-details-marker {
  display: none;
}
.case .who {
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 16px;
}
.case .result {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1;
}
.case .toggle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--glass-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 0 0 1px var(--glass-line);
  transition:
    transform 0.7s var(--spring),
    background 0.3s;
}
.case .toggle svg {
  width: 16px;
  height: 16px;
}
.case[open] .toggle {
  transform: rotate(135deg);
  background: linear-gradient(180deg, #ff9a52, var(--orange));
  color: #0e1b4d;
}
.case-body {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding: 0 0 34px;
}
.case-body h4 {
  font: 700 15px/1.3 var(--text);
  margin: 0 0 6px;
}
.case-body p {
  color: var(--ink-soft);
  font-size: 16px;
}
.case-body,
.faq .ans {
  overflow: hidden;
}
@keyframes open {
  from {
    opacity: 0;
    transform: translateY(-10px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
.spark {
  display: block;
  width: 100%;
  max-width: 240px;
  height: 60px;
  margin-top: 12px;
}
.spark path {
  fill: none;
  stroke: var(--orange);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
}
.case[open] .spark path {
  animation: draw 1.4s var(--ease) 0.25s forwards;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
.spark .base {
  stroke: var(--glass-line);
  stroke-width: 1;
}

/* =========================================================================
   16. Pricing
   ========================================================================= */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.plan {
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.7s var(--spring);
}
.plan:hover {
  transform: translateY(-6px);
}
.plan h3 {
  font-size: 40px;
}
.plan .price {
  font-family: var(--display);
  font-weight: 800;
  font-size: 32px;
  margin: 14px 0 4px;
  color: var(--orange-ink);
}
.plan .terms {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.plan ul {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.plan li {
  padding: 8px 0;
  font-size: 16px;
  border-bottom: 1px solid var(--glass-line);
}
.plan .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* =========================================================================
   17. FAQ
   ========================================================================= */
.faq {
  padding: 6px 36px;
}
.faq details {
  border-bottom: 1px solid var(--glass-line);
}
.faq details:last-child {
  border-bottom: 0;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  font-weight: 600;
  font-size: 20px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq .toggle {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--glass-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 0 0 1px var(--glass-line);
  transition:
    transform 0.7s var(--spring),
    background 0.3s;
}
.faq .toggle svg {
  width: 14px;
  height: 14px;
}
.faq details[open] .toggle {
  transform: rotate(135deg);
  background: linear-gradient(180deg, #ff9a52, var(--orange));
  color: #0e1b4d;
}
.faq .ans p {
  color: var(--ink-soft);
  max-width: 70ch;
  padding: 0 0 26px;
}

/* =========================================================================
   18. Quote
   ========================================================================= */
.quote {
  padding: 84px 0 112px;
}
.quote blockquote {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(40px, 5.6vw, 82px);
  line-height: 1;
  max-width: 20ch;
  text-wrap: balance;
}
.quote cite {
  display: block;
  font: 500 16px/1.5 var(--text);
  font-style: normal;
  color: var(--ink-soft);
  margin-top: 24px;
}

/* =========================================================================
   19. Closing call to action
   ========================================================================= */
.final {
  padding: 0 0 64px;
}
.final-card {
  --r: 40px;
  overflow: hidden;
  padding: 84px 64px;
  background: linear-gradient(135deg, #ff9a52, #ff6a13 45%, #e8520a);
  color: #0e1b4d;
  box-shadow:
    0 50px 100px -50px rgba(232, 82, 10, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.final-card::after {
  background: radial-gradient(
    640px circle at var(--gx, 20%) var(--gy, 0%),
    rgba(255, 255, 255, 0.35),
    rgba(255, 255, 255, 0) 50%
  );
}
.final-ball {
  position: absolute;
  width: 520px;
  right: -120px;
  top: 50%;
  margin-top: -250px;
  z-index: -1;
  opacity: 0.95;
  pointer-events: none;
}
.final h2 {
  font-size: clamp(56px, 8.4vw, 128px);
  font-weight: 900;
  max-width: 11ch;
}
.final-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px;
  align-items: end;
  position: relative;
}
.final-copy {
  padding: 28px;
  --r: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.16));
}
.final p {
  font-size: 19px;
  max-width: 40ch;
}
.final .btn {
  margin-top: 22px;
  background: linear-gradient(180deg, #1c2c6e, #0e1b4d);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 14px 30px -12px rgba(14, 27, 77, 0.7);
}
.final .btn::after {
  display: none;
}
.final .mail {
  display: inline-block;
  margin-top: 16px;
  font-weight: 600;
  font-size: 17px;
}

/* =========================================================================
   20. Footer
   ========================================================================= */
footer {
  padding: 24px 0 48px;
  font-size: 15px;
  color: var(--ink-soft);
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
footer a {
  text-decoration: none;
}
footer a:hover {
  color: var(--ink);
}

/* =========================================================================
   21. Mobile booking bar
   ========================================================================= */
.mobile-cta {
  display: none;
}
@media (max-width: 700px) {
  .mobile-cta {
    display: flex;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
    z-index: 35;
    padding: 7px;
    --r: 999px;
    transform: translateY(160%);
    transition: transform 0.8s var(--spring);
  }
  .mobile-cta.show {
    transform: none;
  }
  .mobile-cta .btn {
    flex: 1;
  }
  footer {
    padding-bottom: 110px;
  }
}

/* =========================================================================
   22. Responsive
   ========================================================================= */
@media (max-width: 960px) {
  .hero-grid,
  .sec-head,
  .final-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .service {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 30px 26px;
  }
  .rounds {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .round {
    border-left: 0;
    padding: 22px 0;
    border-top: 1px solid var(--glass-line);
  }
  .round:nth-child(-n + 2) {
    border-top: 0;
  }
  .round:nth-child(odd) {
    padding-right: 20px;
  }
  .case summary {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }
  .case .who {
    grid-column: 1 / -1;
  }
  .case-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .plans {
    grid-template-columns: minmax(0, 1fr);
  }
  section {
    padding: 84px 0;
  }
  .court {
    width: 900px;
    top: 56%;
    margin-left: -450px;
  }
  .sim-col {
    margin-top: 64px;
  }
  .hero-ball {
    width: 190px;
    top: -128px;
    right: -10px;
  }
  .final-card {
    padding: 56px 28px;
  }
  .final-ball {
    width: 360px;
    right: -150px;
    top: -60px;
    margin-top: 0;
  }
  .process-panel {
    padding: 28px 24px;
  }
  .cases,
  .faq {
    padding: 4px 22px;
  }
  .faq summary {
    font-size: 18px;
  }
}
@media (max-width: 700px) {
  .board table {
    min-width: 0;
  }
  .board thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .board table,
  .board tbody {
    display: block;
  }
  .board tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px 16px;
    padding: 22px 20px;
    border-bottom: 1px solid rgba(245, 247, 250, 0.14);
  }
  .board tr:last-child {
    border-bottom: 0;
  }
  .board td {
    display: block;
    padding: 0;
    border: 0;
  }
  .board td.client,
  .board td.channel {
    grid-column: 1 / -1;
  }
  .board td.channel {
    margin-top: -10px;
  }
  .board td[data-label]::before {
    content: attr(data-label);
    display: block;
    font: 500 13px/1.3 var(--text);
    color: rgba(245, 247, 250, 0.62);
    margin-bottom: 6px;
  }
  .board .num {
    font-size: 38px;
  }
}
@media (max-width: 560px) {
  .wrap {
    padding: 0 18px;
  }
  .rounds {
    grid-template-columns: minmax(0, 1fr);
  }
  .round {
    border-top: 1px solid var(--glass-line) !important;
    padding: 20px 0 !important;
  }
  .round:first-child {
    border-top: 0 !important;
  }
  .hero {
    padding-top: 44px;
  }
  .lede {
    font-size: 19px;
  }
  .panel {
    padding: 18px 16px 14px;
  }
  .ticker li {
    font-size: 24px;
  }
  .nav-pill {
    padding: 0 8px 0 16px;
  }
  .sim-col {
    margin-top: 96px;
  }
  .hero-ball {
    width: 150px;
    top: -104px;
    right: -4px;
  }
  .proof-mini {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 14px 16px;
  }
  .proof-mini b {
    font-size: 24px;
  }
  .proof-mini div {
    font-size: 13px;
  }
}

/* =========================================================================
   23. Reduced motion
   Everything renders in its final state; no ambient or scroll-driven motion.
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .orb,
  .ticker-track,
  .ball .seams,
  .ball .body,
  .ball .shadow,
  .viz .pulse {
    animation: none !important;
  }
  .ticker-track {
    flex-wrap: wrap;
    width: auto;
  }
  .ticker ul[aria-hidden] {
    display: none;
  }
  .js [data-reveal],
  .js .hero h1 .w > span {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
  * {
    transition-duration: 0.01ms !important;
  }
}
