/* ============================================================
   HOORAY DIGITAL — design system
   Palette, type & logo unchanged. Everything else: cinema.
   ============================================================ */

:root {
  --blue: #3575D4;
  --blue-light: #4a8de8;
  --magenta: #B22387;
  --magenta-light: #d42da0;
  --navy: #4A4B66;
  --grey: #6b6d8a;
  --surface: #f5f6fb;
  --surface-2: #f0f1f7;
  --line: #e2e3ea;
  --white: #ffffff;
  /* deep navy stage for cinematic sections (darkened --navy hue) */
  --ink: #23243a;
  --ink-2: #1c1d2e;
  --grad: linear-gradient(100deg, var(--blue) 0%, var(--blue-light) 45%, var(--magenta) 100%);

  --font: 'Figtree', sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --nav-h: 88px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--navy);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--blue); color: #fff; }

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 1000;
  background: var(--ink); color: #fff; padding: .7rem 1.2rem;
  border-radius: 8px; text-decoration: none; transition: top .3s;
}
.skip-link:focus { top: 1rem; }

/* ---------- grain overlay (generated asset) ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 999; pointer-events: none;
  background: url('../img/gen/grain.svg') repeat;
  background-size: 240px;
  opacity: .05;
  animation: grain-shift 1.2s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 3%); }
  50% { transform: translate(3%, -2%); }
  75% { transform: translate(-3%, -3%); }
  100% { transform: translate(2%, 2%); }
}

/* ---------- custom cursor ---------- */
.cursor, .cursor-ring { display: none; }
@media (pointer: fine) {
  .cursor {
    display: block; position: fixed; z-index: 1001; top: 0; left: 0;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--magenta); pointer-events: none;
    transform: translate(-50%, -50%);
  }
  .cursor-ring {
    display: flex; align-items: center; justify-content: center;
    position: fixed; z-index: 1000; top: 0; left: 0;
    width: 38px; height: 38px; border-radius: 50%;
    border: 1.5px solid rgba(53, 117, 212, .55);
    pointer-events: none; transform: translate(-50%, -50%);
    transition: width .35s var(--ease), height .35s var(--ease),
      background-color .35s, border-color .35s;
    font-size: 0; color: #fff; font-weight: 700; letter-spacing: .08em;
  }
  .cursor-ring.is-hover {
    width: 64px; height: 64px;
    background: rgba(53, 117, 212, .12);
    border-color: var(--blue);
  }
  .cursor-ring.is-view {
    width: 88px; height: 88px;
    background: var(--blue); border-color: var(--blue);
    font-size: .68rem;
  }
  .cursor-ring.is-view::after { content: 'VIEW'; }
}

/* ---------- preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1200;
  background: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 1.4rem;
  transition: clip-path .9s var(--ease-io);
  clip-path: inset(0 0 0 0);
}
.loader.done { clip-path: inset(0 0 100% 0); }
.loader-logo { width: clamp(140px, 22vw, 220px); height: auto; }
.loader-logo .lt { opacity: 0; animation: loader-in .7s var(--ease) forwards; }
.loader-logo .lt:nth-child(2) { animation-delay: .12s; }
@keyframes loader-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.loader-bar {
  width: clamp(140px, 22vw, 220px); height: 2px;
  background: rgba(255, 255, 255, .12); border-radius: 2px; overflow: hidden;
}
.loader-bar i {
  display: block; height: 100%; width: 100%;
  background: var(--grad);
  transform: translateX(-100%);
  animation: loader-fill .9s var(--ease-io) forwards;
}
@keyframes loader-fill { to { transform: translateX(0); } }
body.loading { overflow: hidden; }

/* ---------- nav ---------- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: .9rem var(--gutter);
  transition: background .45s, box-shadow .45s, padding .45s;
}
/* backdrop layer lives on a pseudo-element: backdrop-filter on nav itself
   would make nav the containing block for the fixed .nav-links overlay */
nav::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: transparent; pointer-events: none;
  transition: background .45s, box-shadow .45s, -webkit-backdrop-filter .45s, backdrop-filter .45s;
}
nav.scrolled { padding: .55rem var(--gutter); }
nav.scrolled::before {
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(74, 75, 102, .08), 0 12px 40px -18px rgba(35, 36, 58, .25);
}
nav.on-dark:not(.scrolled) .nav-links > a:not(.nav-cta),
nav.on-dark:not(.scrolled) .nav-dropdown-trigger { color: rgba(255, 255, 255, .85); }
nav.on-dark:not(.scrolled) .nav-links > a:not(.nav-cta):hover,
nav.on-dark:not(.scrolled) .nav-dropdown-trigger:hover { color: #fff; }

.logo-img {
  height: 72px; width: auto;
  aspect-ratio: 423 / 268;
  margin-bottom: -22px;
  position: relative; z-index: 101;
  transition: height .45s var(--ease);
}
nav.scrolled .logo-img { height: 58px; margin-bottom: -18px; }
/* white plate keeps the two-tone logo legible over the dark hero */
nav .logo-plate {
  display: inline-flex;
  background: rgba(255, 255, 255, .92);
  border-radius: 14px;
  padding: .45rem .7rem .2rem;
  box-shadow: 0 8px 30px -12px rgba(28, 29, 46, .45);
  transition: background .45s, box-shadow .45s;
}
nav.scrolled .logo-plate { background: transparent; box-shadow: none; }

.nav-links { display: flex; gap: 2.1rem; align-items: center; }
.nav-links > a, .nav-dropdown-trigger {
  color: var(--grey); text-decoration: none;
  font-size: 1rem; font-weight: 600;
  transition: color .3s;
  position: relative;
}
.nav-links > a:not(.nav-cta)::after,
.nav-dropdown-trigger::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 2px; background: var(--grad);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav-links > a:not(.nav-cta):hover::after,
.nav-dropdown:hover .nav-dropdown-trigger::after {
  transform: scaleX(1); transform-origin: left;
}
.nav-links > a:hover, .nav-dropdown-trigger:hover { color: var(--navy); }

.nav-cta {
  background: var(--ink); color: #fff !important;
  padding: .68rem 1.5rem; border-radius: 100px;
  font-weight: 700 !important; text-decoration: none;
  position: relative; overflow: hidden; isolation: isolate;
}
.nav-cta::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--grad);
  transform: translateY(101%); transition: transform .45s var(--ease);
}
.nav-cta:hover::before { transform: translateY(0); }

.nav-dropdown { position: relative; }
.nav-dropdown-trigger { display: flex; align-items: center; gap: .35rem; cursor: pointer; }
.nav-arrow { font-size: .6rem; transition: transform .3s; display: inline-block; }
.nav-dropdown:hover .nav-arrow { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translate(-50%, 12px) scale(.97);
  min-width: 300px; padding: .6rem;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(74, 75, 102, .08);
  border-radius: 18px;
  box-shadow: 0 30px 70px -20px rgba(35, 36, 58, .35);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; visibility: visible;
  transform: translate(-50%, 6px) scale(1);
}
.nav-dropdown-menu a {
  display: block; padding: .65rem .9rem;
  color: var(--navy); text-decoration: none;
  font-size: .95rem; font-weight: 600; border-radius: 10px;
  transition: background .25s, color .25s, padding-left .25s;
}
.nav-dropdown-menu a:hover {
  background: var(--surface); color: var(--blue); padding-left: 1.15rem;
}

.nav-toggle {
  display: none; position: relative; z-index: 130;
  width: 48px; height: 48px;
  background: var(--ink); border: 0; border-radius: 50%;
  cursor: pointer;
}
.nav-toggle span {
  position: absolute; left: 14px; right: 14px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform .4s var(--ease), opacity .3s, top .4s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle.active span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

/* ---------- shared section furniture ---------- */
section, .ctab { position: relative; }
.wrap { max-width: 1340px; margin: 0 auto; padding: 0 var(--gutter); }

.stag {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8rem; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--blue);
}
.stag::before {
  content: ''; width: 34px; height: 2px; background: var(--grad);
  border-radius: 2px;
}
.on-ink .stag { color: var(--blue-light); }

.stitle {
  font-size: clamp(2.4rem, 5.2vw, 4.6rem);
  font-weight: 800; line-height: 1.02; letter-spacing: -0.03em;
  margin: 1.1rem 0 1.4rem;
}
.ssub {
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.65; color: var(--grey); max-width: 620px;
  font-weight: 400;
}
.on-ink .ssub { color: rgba(255, 255, 255, .62); }

.hl {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- buttons ---------- */
.btn-p, .btn-o {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: 1.05rem 2.2rem; border-radius: 100px;
  font-family: var(--font); font-size: 1.05rem; font-weight: 700;
  text-decoration: none; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .35s, border-color .35s, transform .2s;
  will-change: transform;
}
.btn-p { background: var(--blue); color: #fff; border: 0; }
.btn-p::before {
  content: ''; position: absolute; inset: -2px; z-index: -1;
  background: var(--grad);
  transform: translateX(-101%); transition: transform .5s var(--ease);
}
.btn-p:hover::before { transform: translateX(0); }
.btn-o {
  background: transparent; color: var(--navy);
  border: 1.5px solid rgba(74, 75, 102, .35);
}
.btn-o:hover { border-color: var(--navy); }
.on-ink .btn-o, .hero .btn-o { color: #fff; border-color: rgba(255, 255, 255, .35); }
.on-ink .btn-o:hover, .hero .btn-o:hover { border-color: #fff; }
.btn-p .arr { transition: transform .35s var(--ease); display: inline-block; }
.btn-p:hover .arr { transform: translateX(5px); }

/* ---------- reveals ---------- */
.reveal {
  opacity: 0; transform: translateY(44px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal.from-scale { transform: scale(.94) translateY(20px); }
.reveal.from-scale.visible { transform: none; }

/* split-line reveal (hero & big titles) */
.line { display: block; overflow: hidden; padding-block: 0.08em; margin-block: -0.08em; }
.line-inner {
  display: block; transform: translateY(115%);
  transition: transform 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}
.lines-in .line-inner { transform: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--ink-2) url('../img/gen/mesh-hero.svg') center / cover no-repeat;
  color: #fff;
  overflow: clip;
  padding: calc(var(--nav-h) + 4rem) 0 8.5rem;
}
.hero-layer { position: absolute; inset: 0; pointer-events: none; will-change: transform; }
.hero-field {
  background: url('../img/gen/field.svg') center / cover no-repeat;
  opacity: .8; inset: -6% -4%;
}
.hero-orb-b {
  background: url('../img/gen/orb-blue.svg') center / contain no-repeat;
  width: 56vw; height: 56vw; inset: auto;
  left: -16vw; top: -12vw;
}
.hero-orb-m {
  background: url('../img/gen/orb-magenta.svg') center / contain no-repeat;
  width: 48vw; height: 48vw; inset: auto;
  right: -14vw; bottom: -16vw;
}
.hero-video {
  position: absolute; inset: 0; overflow: hidden;
  opacity: .24; pointer-events: none;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 45%, #000 40%, transparent 78%);
  mask-image: radial-gradient(120% 90% at 50% 45%, #000 40%, transparent 78%);
}
/* dark scrim above the video layers for text legibility */
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(28, 29, 46, .45) 0%,
    rgba(28, 29, 46, .25) 45%,
    rgba(28, 29, 46, .6) 100%);
}
.hero-video iframe {
  position: absolute; top: 50%; left: 50%;
  width: max(100vw, 177.78svh); height: max(100svh, 56.25vw);
  transform: translate(-50%, -50%);
  border: 0;
}
.hero-watermark {
  position: absolute; left: 0; right: 0; bottom: -0.18em;
  font-size: clamp(8rem, 22vw, 22rem);
  font-weight: 900; letter-spacing: -0.05em; line-height: 1;
  text-align: center; white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .07);
  user-select: none; pointer-events: none;
}

.hero-content { position: relative; z-index: 2; }
.hero-tag {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .82rem; font-weight: 700;
  letter-spacing: .3em; text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 100px; padding: .6rem 1.3rem;
  background: rgba(255, 255, 255, .04);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hero-tag::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 12px var(--blue-light);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { transform: scale(1.5); opacity: .6; } }

.hero h1 {
  font-size: clamp(3.4rem, 9.4vw, 9rem);
  font-weight: 800; line-height: .98; letter-spacing: -0.04em;
  margin: 1.6rem 0 1.8rem;
}
.hero h1 em { font-style: italic; font-weight: 300; }
.hero-sub {
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  line-height: 1.6; color: rgba(255, 255, 255, .66);
  max-width: 560px; font-weight: 400;
}
.hero-sub strong { color: #fff; font-weight: 600; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.6rem; }

.scroll-hint {
  position: absolute; bottom: 2.2rem; left: var(--gutter); z-index: 3;
  display: inline-flex; align-items: center; gap: .7rem;
  color: rgba(255, 255, 255, .55); text-decoration: none;
  font-size: .85rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.scroll-hint .scroll-arrow { animation: bob 1.8s ease-in-out infinite; display: inline-block; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero {
  background: var(--ink-2) url('../img/gen/mesh-hero.svg') center / cover no-repeat;
  color: #fff;
  padding: calc(var(--nav-h) + clamp(4rem, 9vw, 7.5rem)) 0 clamp(3.5rem, 7vw, 6rem);
  position: relative; overflow: clip;
}
.page-hero .stag { color: var(--blue-light); }
.page-hero h1 {
  font-size: clamp(2.7rem, 6.6vw, 5.8rem);
  font-weight: 800; line-height: 1; letter-spacing: -0.035em;
  margin: 1.2rem 0 1.4rem;
}
.page-hero .ssub { color: rgba(255, 255, 255, .65); }
.page-hero .hero-ctas { margin-top: 2.2rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============================================================
   PROSE (long-form articles, policies)
   ============================================================ */
.prose {
  max-width: 780px; margin: 0 auto;
  font-size: 1.08rem; line-height: 1.78; color: var(--navy);
}
.prose h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.15;
  margin: 2.6em 0 .7em;
}
.prose h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 700;
  letter-spacing: -0.01em; margin: 2em 0 .6em;
}
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p { margin: 0 0 1.25em; color: var(--grey); }
.prose strong { color: var(--navy); }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 1.4em; color: var(--grey); }
.prose li { margin-bottom: .55em; }
.prose li::marker { color: var(--blue); font-weight: 700; }
.prose a:not(.btn-p):not(.btn-o) {
  color: var(--blue); font-weight: 600; text-decoration: none;
  background-image: var(--grad);
  background-repeat: no-repeat; background-size: 100% 1.5px;
  background-position: 0 100%; padding-bottom: 2px;
}
.prose .btn-p { color: #fff; }
.prose .btn-o { color: var(--navy); }
.prose blockquote {
  border-left: 3px solid; border-image: var(--grad) 1;
  padding: .4em 0 .4em 1.4em; margin: 1.8em 0;
  font-size: 1.18em; font-weight: 600; color: var(--navy);
}
.prose img { border-radius: 18px; margin: 2em 0; }
.prose table {
  width: 100%; border-collapse: collapse; margin: 1.8em 0;
  font-size: .98rem;
}
.prose th {
  text-align: left; font-weight: 700; color: var(--navy);
  background: var(--surface);
  padding: .8em 1em; border-bottom: 2px solid var(--line);
}
.prose td { padding: .8em 1em; border-bottom: 1px solid var(--line); color: var(--grey); }
.prose code {
  background: var(--surface); border-radius: 6px;
  padding: .15em .45em; font-size: .92em; color: var(--magenta);
}
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.5em 0; }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: var(--grad);
  color: #fff; overflow: hidden;
  padding: 1.1rem 0;
  transform: rotate(-1.5deg) scale(1.02);
  margin: -1.6rem 0;
  position: relative; z-index: 4;
  box-shadow: 0 30px 60px -30px rgba(35, 36, 58, .5);
}
.marquee-track {
  display: flex; gap: 3rem; width: max-content;
  animation: marquee 28s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 3rem;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  white-space: nowrap;
}
.marquee-track span::after {
  content: ''; width: 20px; height: 20px; flex: none;
  background: url('../img/gen/star.svg') center / contain no-repeat;
  animation: spin 6s linear infinite;
}
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   SCOREBOARD
   ============================================================ */
.scoreboard {
  display: grid; grid-template-columns: repeat(3, 1fr);
  max-width: 1340px; margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) var(--gutter) 0;
  gap: clamp(1.5rem, 4vw, 4rem);
  position: relative;
}
.stat-card { text-align: left; position: relative; padding-top: 1.6rem; }
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 1px; background: var(--line);
}
.stat-card::after {
  content: ''; position: absolute; top: -1px; left: 0;
  width: 56px; height: 3px; background: var(--grad); border-radius: 3px;
}
.stat-num {
  font-size: clamp(3.6rem, 7.5vw, 6.8rem);
  font-weight: 900; letter-spacing: -0.04em; line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-lbl {
  margin-top: .7rem; font-size: 1.02rem; font-weight: 600;
  color: var(--grey); letter-spacing: .02em;
}

/* ============================================================
   GAME CHANGED — sticky split
   ============================================================ */
.gc { padding: clamp(6rem, 12vw, 11rem) 0 clamp(5rem, 9vw, 8rem); }
.gc-grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: start;
}
.gc-sticky { position: sticky; top: calc(var(--nav-h) + 3rem); }
.gc-rings {
  position: absolute; width: 760px; height: 760px;
  left: -320px; top: -120px; z-index: -1;
  background: url('../img/gen/rings.svg') center / contain no-repeat;
}
.cc {
  background: var(--surface);
  border: 1px solid rgba(74, 75, 102, .07);
  border-radius: 24px;
  padding: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 1.6rem;
  position: relative; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.cc:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 80px -40px rgba(35, 36, 58, .3);
}
.cc::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--grad);
  transform: scaleY(0); transform-origin: top;
  transition: transform .6s var(--ease);
}
.cc:hover::before { transform: scaleY(1); }
.ow {
  font-size: .72rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--grey); opacity: .7;
}
.ot {
  font-size: 1rem; color: var(--grey);
  text-decoration: line-through;
  text-decoration-color: var(--magenta);
  text-decoration-thickness: 1.5px;
  margin: .4rem 0 1.4rem;
}
.nw {
  font-size: .72rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--blue);
}
.cc h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 800;
  letter-spacing: -0.015em; margin: .45rem 0 .8rem;
}
.cc p { color: var(--grey); line-height: 1.7; font-size: 1.02rem; }

/* ============================================================
   SERVICES — typographic index
   ============================================================ */
.svcs { padding: clamp(6rem, 12vw, 11rem) 0; background: var(--surface); }
.svcs .head { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.svc-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  align-items: center; gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.6rem, 3vw, 2.4rem) 0;
  border-top: 1px solid rgba(74, 75, 102, .14);
  text-decoration: none; color: var(--navy);
  position: relative;
}
.svc-row:last-of-type { border-bottom: 1px solid rgba(74, 75, 102, .14); }
.svc-row::before {
  content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease);
}
.svc-row:hover::before { transform: scaleX(1); }
.svc-num {
  font-size: .95rem; font-weight: 700; color: var(--grey);
  letter-spacing: .1em; transition: color .4s;
}
.svc-row:hover .svc-num { color: var(--magenta); }
.svc-body h3 {
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  font-weight: 800; letter-spacing: -0.025em; line-height: 1.08;
  transition: transform .5s var(--ease);
}
.svc-row:hover .svc-body h3 { transform: translateX(12px); }
.svc-body p {
  color: var(--grey); line-height: 1.65; max-width: 640px;
  font-size: 1.02rem;
  display: grid; grid-template-rows: 0fr; overflow: hidden;
  transition: grid-template-rows .55s var(--ease), margin-top .55s var(--ease), opacity .45s;
  opacity: 0; margin-top: 0;
}
.svc-body p > span { min-height: 0; display: block; }
.svc-row:hover .svc-body p, .svc-row:focus-visible .svc-body p {
  grid-template-rows: 1fr; opacity: 1; margin-top: .8rem;
}
.svc-arrow {
  width: 58px; height: 58px; border-radius: 50%; flex: none;
  border: 1.5px solid rgba(74, 75, 102, .25);
  display: grid; place-items: center;
  font-size: 1.25rem; color: var(--navy);
  transition: background .45s var(--ease), color .45s, border-color .45s, transform .55s var(--ease);
}
.svc-row:hover .svc-arrow {
  background: var(--ink); border-color: var(--ink);
  color: #fff; transform: rotate(-45deg);
}

/* ============================================================
   PLAYBOOK — stacked sticky cards
   ============================================================ */
.hwp { padding: clamp(6rem, 12vw, 11rem) 0 clamp(4rem, 8vw, 7rem); }
.hwp .head { text-align: center; }
.hwp .head .stag { justify-content: center; }
.hwp .head .ssub { margin: 0 auto; }
.ps { margin-top: clamp(3rem, 6vw, 5rem); display: grid; gap: 1.4rem; }
.psi {
  position: sticky;
  background: var(--ink); color: #fff;
  border-radius: 28px;
  padding: clamp(2.2rem, 4.5vw, 4rem);
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.4rem, 4vw, 3.5rem);
  align-items: start;
  overflow: hidden; isolation: isolate;
  box-shadow: 0 -20px 60px -40px rgba(35, 36, 58, .8);
  will-change: transform;
}
.psi::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: url('../img/gen/field.svg') right -200px center / 900px no-repeat;
  opacity: .35;
}
.psi:nth-child(1) { top: calc(var(--nav-h) + 2rem); }
.psi:nth-child(2) { top: calc(var(--nav-h) + 3.4rem); background: linear-gradient(135deg, var(--ink) 30%, #2b3c63 130%); }
.psi:nth-child(3) { top: calc(var(--nav-h) + 4.8rem); background: linear-gradient(135deg, var(--ink) 30%, #532b56 130%); }
.psi:nth-child(4) { top: calc(var(--nav-h) + 6.2rem); background: linear-gradient(135deg, #2b3c63 -20%, var(--ink) 60%); }
.psi-num {
  font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 900; line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.04em;
}
.psi h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 800;
  letter-spacing: -0.02em; margin-bottom: .7rem;
}
.psi p { color: rgba(255, 255, 255, .62); line-height: 1.7; max-width: 560px; font-size: 1.05rem; }
.hwp .cta-row { text-align: center; margin-top: clamp(3rem, 5vw, 4rem); }

/* ============================================================
   WORK — parallax showcases
   ============================================================ */
.rw { padding: clamp(6rem, 12vw, 11rem) 0; background: var(--surface-2); overflow: clip; }
.rwg {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem) clamp(1.5rem, 4vw, 4rem);
  margin-top: clamp(3rem, 6vw, 5rem);
}
.rwc {
  text-decoration: none; color: var(--navy);
  display: block; position: relative;
}
.rwi {
  position: relative; border-radius: 20px; overflow: hidden;
  background: var(--ink);
  box-shadow: 0 30px 70px -35px rgba(35, 36, 58, .45);
  transition: box-shadow .6s var(--ease);
}
.rwc:hover .rwi { box-shadow: 0 50px 100px -40px rgba(35, 36, 58, .6); }
.rwb {
  display: flex; align-items: center; gap: 1rem;
  background: var(--ink); padding: .8rem 1.1rem;
  position: relative; z-index: 2;
}
.rwbd { display: flex; gap: 6px; }
.rwbd span { width: 10px; height: 10px; border-radius: 50%; }
.rwbd span:nth-child(1) { background: #ff5f57; }
.rwbd span:nth-child(2) { background: #ffbd2e; }
.rwbd span:nth-child(3) { background: #28c840; }
.rwurl {
  font-size: .8rem; color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .08);
  padding: .3rem 1rem; border-radius: 6px;
  letter-spacing: .03em;
}
.rwp { aspect-ratio: 1200 / 916; overflow: hidden; position: relative; }
.rwp img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  transition: scale .8s var(--ease);
}
.rwc:hover .rwp img { scale: 1.04; }
.rwph {
  position: absolute; z-index: 3;
  right: clamp(-10px, -1vw, -18px); bottom: 3.2rem;
  width: clamp(84px, 9.5vw, 132px);
  border-radius: 16px; overflow: hidden;
  border: 3px solid var(--white);
  box-shadow: 0 24px 50px -20px rgba(35, 36, 58, .55);
  will-change: transform;
}
.rwph img { width: 100%; }
.rwt {
  padding: 1.4rem .3rem 0;
  display: flex; align-items: baseline; gap: 1rem;
  min-height: 4.6rem; align-content: flex-start; flex-wrap: wrap;
}
.rwt h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 800; letter-spacing: -0.02em;
  position: relative;
}
.rwt h3::after {
  content: ''; position: absolute; left: 0; bottom: -3px; height: 2px; width: 100%;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.rwc:hover .rwt h3::after { transform: scaleX(1); }
.rwt p { color: var(--grey); font-size: .98rem; }

/* ============================================================
   MATCH REPORT — quote
   ============================================================ */
.mr {
  background: var(--ink-2) url('../img/gen/mesh-hero.svg') center / cover no-repeat;
  color: #fff; text-align: center;
  padding: clamp(7rem, 13vw, 12rem) 0;
  overflow: clip;
}
.mr .stag { color: var(--blue-light); }
.mr blockquote {
  font-size: clamp(1.7rem, 3.8vw, 3.4rem);
  font-weight: 700; line-height: 1.25; letter-spacing: -0.02em;
  max-width: 1000px; margin: 2.2rem auto 2.4rem;
}
.mr blockquote .w { opacity: .16; transition: opacity .45s ease; }
.mr blockquote .w.lit { opacity: 1; }
.mr cite {
  font-style: normal; font-size: 1.05rem;
  color: rgba(255, 255, 255, .6);
}
.mr cite strong { color: #fff; }

/* ============================================================
   CTA
   ============================================================ */
.ctab {
  text-align: center;
  padding: clamp(7rem, 14vw, 13rem) var(--gutter);
  position: relative; overflow: clip;
  background: var(--white);
}
.ctab .cta-orb {
  position: absolute; pointer-events: none; will-change: transform;
}
.ctab .cta-orb.b {
  width: 50vw; height: 50vw; left: -12vw; top: -8vw;
  background: url('../img/gen/orb-blue.svg') center / contain no-repeat;
}
.ctab .cta-orb.m {
  width: 44vw; height: 44vw; right: -10vw; bottom: -10vw;
  background: url('../img/gen/orb-magenta.svg') center / contain no-repeat;
}
.ctab h2 {
  font-size: clamp(2.8rem, 7vw, 6.4rem);
  font-weight: 800; letter-spacing: -0.035em; line-height: 1;
  margin: 1.4rem 0 1.6rem;
}
.ctab p {
  color: var(--grey); font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.65; max-width: 580px; margin: 0 auto 2.8rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--ink-2); color: #fff;
  padding: clamp(4.5rem, 8vw, 7rem) 0 0;
  position: relative; overflow: clip;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: 1340px; margin: 0 auto;
  padding: 0 var(--gutter) clamp(3rem, 6vw, 5rem);
  position: relative; z-index: 2;
}
.flogo {
  width: 150px; height: auto;
  background: rgba(255, 255, 255, .94);
  border-radius: 16px; padding: .8rem .9rem .5rem;
}
.footer-tagline {
  margin: 1.4rem 0 1rem;
  color: rgba(255, 255, 255, .55); line-height: 1.7; max-width: 320px;
}
.footer-email {
  color: #fff; text-decoration: none; font-weight: 700;
  background-image: var(--grad);
  background-repeat: no-repeat; background-size: 100% 2px;
  background-position: 0 100%;
  padding-bottom: 4px;
}
.footer-col h4 {
  font-size: .78rem; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
  margin-bottom: 1.3rem;
}
.footer-col a {
  display: block; color: rgba(255, 255, 255, .72);
  text-decoration: none; padding: .34rem 0;
  font-size: .98rem; transition: color .25s, padding-left .3s var(--ease);
}
.footer-col a:hover { color: #fff; padding-left: .5rem; }
.footer-watermark {
  font-size: clamp(4.5rem, 15.5vw, 15rem);
  font-weight: 900; letter-spacing: -0.04em; line-height: .8;
  text-align: center; white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .1);
  user-select: none; pointer-events: none;
  transform: translateY(0.12em);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  max-width: 1340px; margin: 0 auto;
  padding: 1.6rem var(--gutter) 2rem;
  color: rgba(255, 255, 255, .45); font-size: .92rem;
  position: relative; z-index: 2;
}
.flinks { display: flex; gap: 1.6rem; }
.flinks a { color: rgba(255, 255, 255, .55); text-decoration: none; transition: color .25s; }
.flinks a:hover { color: #fff; }

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 960px) {
  .gc-grid { grid-template-columns: 1fr; }
  .gc-sticky { position: static; }
  .rwg { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .svc-arrow { width: 46px; height: 46px; }
}

@media (max-width: 640px) {
  :root { --nav-h: 72px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 0; z-index: 120;
    flex-direction: column; justify-content: flex-start; align-items: flex-start;
    gap: .4rem;
    background: var(--ink-2);
    padding: calc(var(--nav-h) + 1.5rem) 2rem 3rem;
    clip-path: circle(0% at calc(100% - 46px) 46px);
    transition: clip-path .65s var(--ease-io);
    visibility: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  /* centre when content fits, scroll when it doesn't */
  .nav-links > :first-child { margin-top: auto; }
  .nav-links > :last-child { margin-bottom: auto; }
  .nav-links.open { clip-path: circle(150% at calc(100% - 46px) 46px); visibility: visible; }
  .nav-links > a, .nav-dropdown-trigger {
    font-size: 2rem; font-weight: 800; color: #fff; letter-spacing: -0.02em;
    padding: .35rem 0;
    opacity: 0; transform: translateY(24px);
    transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s;
  }
  .nav-links.open > a, .nav-links.open .nav-dropdown-trigger {
    opacity: 1; transform: none;
  }
  .nav-links.open > a:nth-child(2) { transition-delay: .1s; }
  .nav-links.open .nav-dropdown .nav-dropdown-trigger { transition-delay: .16s; }
  .nav-links.open > a:nth-child(4) { transition-delay: .22s; }
  .nav-links.open > a:nth-child(5) { transition-delay: .28s; }
  .nav-links.open > a:nth-child(6) { transition-delay: .34s; }
  .nav-links.open > a.nav-cta { transition-delay: .4s; }
  .nav-links > a:not(.nav-cta)::after { display: none; }
  .nav-dropdown { width: 100%; }
  .nav-dropdown .nav-arrow { transition: transform .35s var(--ease); }
  .nav-dropdown.open .nav-arrow { transform: rotate(180deg); }
  .nav-dropdown-menu {
    position: static; transform: none; min-width: 0;
    background: transparent; border: 0; box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    padding: 0 0 0 1rem;
    display: block; opacity: 0; visibility: visible;
    max-height: 0; overflow: hidden;
    transition: max-height .5s var(--ease), opacity .4s ease;
  }
  .nav-dropdown.open .nav-dropdown-menu { max-height: 480px; opacity: 1; }
  .nav-dropdown-menu a { color: rgba(255, 255, 255, .75); font-size: 1.05rem; padding: .45rem 0; }
  .nav-dropdown-menu a:hover { background: none; color: #fff; }
  .nav-cta {
    margin-top: 2.2rem;
    width: 100%;
    display: flex; justify-content: center; align-items: center; gap: .6rem;
    background: var(--grad);
    font-size: 2rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
    padding: 1rem 1.5rem;
    border-radius: 100px;
    box-shadow: 0 14px 40px -12px rgba(53, 117, 212, .55);
    letter-spacing: .01em;
  }
  .nav-cta::after {
    content: '\2192';
    font-size: 1.25rem; line-height: 1;
    transition: transform .35s var(--ease);
  }
  .nav-cta:active { transform: scale(.97); }
  .logo-img { height: 56px; margin-bottom: -17px; }
  nav.scrolled .logo-img { height: 50px; margin-bottom: -15px; }

  .hero { padding-bottom: 7rem; }
  .hero-ctas .btn-p, .hero-ctas .btn-o { width: 100%; justify-content: center; }
  .scroll-hint { display: none; }
  .marquee { transform: rotate(-2.5deg) scale(1.06); }

  .scoreboard { grid-template-columns: 1fr; gap: 2.2rem; }
  .psi { grid-template-columns: 1fr; gap: .8rem; }
  .psi:nth-child(n) { top: calc(var(--nav-h) + 1rem); }
  .svc-row { grid-template-columns: 1fr auto; }
  .svc-num { display: none; }
  .svc-body p { grid-template-rows: 1fr; opacity: 1; margin-top: .7rem; }
  .rwph { bottom: 2.4rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal, .line-inner { opacity: 1 !important; transform: none !important; }
  .mr blockquote .w { opacity: 1; }
  .grain { display: none; }
  .loader { display: none; }
  [data-prlx], .hero-layer, .rwp img, .rwph { transform: none !important; }
}
