/* Innoraze */

@font-face {
  font-family: "Mona Sans";
  src: url("fonts/mona-sans-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Mona Sans";
  src: url("fonts/mona-sans-latin-ext.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --chalk: #f4f5f2;
  --ink: #101613;
  --slate: #5c6661;
  --rule: #dcdfd8;
  --pitch: #123b2c;
  --pitch-2: #184a38;
  --pitch-3: #1f5743;
  --oranje: #ff6a1a;
  --oranje-text: #ff7d36;
  --oranje-ink: #b0480c;
  --on-dark: #f4f5f2;
  --on-dark-2: rgba(244, 245, 242, 0.7);
  --on-dark-3: rgba(244, 245, 242, 0.62);
  --line-dark: rgba(244, 245, 242, 0.14);

  --max: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(88px, 11vw, 152px);

  --font: "Mona Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --focus: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--chalk);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p, figure { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.dark { --focus: var(--on-dark); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--chalk); padding: 10px 14px; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* Type ------------------------------------------------------------ */

.display, .h2 {
  font-stretch: 112%;
  font-weight: 600;
  letter-spacing: -0.034em;
  text-wrap: balance;
}
.display { font-size: clamp(2.6rem, 1.4rem + 4.4vw, 5.25rem); line-height: 0.98; }
.h2 { font-size: clamp(2rem, 1.25rem + 2.7vw, 3.4rem); line-height: 1.02; }
.h3 { font-size: 1.3125rem; line-height: 1.25; letter-spacing: -0.012em; font-stretch: 104%; }

.lede { font-size: clamp(1.125rem, 1.02rem + 0.4vw, 1.3125rem); line-height: 1.5; color: var(--slate); max-width: 34em; text-wrap: pretty; }
.dark .lede { color: var(--on-dark-2); }
.muted { color: var(--slate); }
.dark .muted { color: var(--on-dark-2); }

.num { font-stretch: 78%; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: 0; }

/* Buttons --------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  border-radius: 10px; border: 0;
  background: var(--oranje); color: var(--ink);
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease;
}
.btn:hover { background: #ff8340; }
.btn--small { min-height: 40px; padding: 0 16px; font-size: 0.9375rem; border-radius: 9px; }

.link {
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px;
  text-underline-offset: 5px; text-decoration-color: rgba(16, 22, 19, 0.35);
  transition: text-decoration-color 0.15s ease;
}
.link:hover { text-decoration-color: currentColor; }
.dark .link, .window .link { text-decoration-color: rgba(244, 245, 242, 0.4); }
.dark .link:hover { text-decoration-color: currentColor; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }

/* Header ---------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 245, 242, 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.site-header .wrap { display: flex; align-items: center; height: 68px; gap: 40px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand svg { height: 22px; width: auto; }
.brand .mark { height: 28px; width: 28px; }

.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav a:not(.btn) { text-decoration: none; font-size: 0.9688rem; font-weight: 500; color: var(--slate); transition: color 0.15s ease; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav .btn { margin-left: 8px; }

.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  align-items: center; justify-content: center; border-radius: 8px;
}
.nav-toggle > span:first-child, .nav-toggle > span:first-child::before, .nav-toggle > span:first-child::after {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.nav-toggle > span:first-child::before, .nav-toggle > span:first-child::after { content: ""; position: absolute; left: 0; }
.nav-toggle > span:first-child::before { top: -6px; }
.nav-toggle > span:first-child::after { top: 6px; }
.nav-toggle[aria-expanded="true"] > span:first-child { background: transparent; }
.nav-toggle[aria-expanded="true"] > span:first-child::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] > span:first-child::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--chalk); border-bottom: 1px solid var(--rule);
    padding: 8px var(--gutter) 24px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; font-size: 1.125rem; color: var(--ink); border-bottom: 1px solid var(--rule); }
  .nav .btn { margin: 20px 0 0; }
}

/* Hero ------------------------------------------------------------ */

.hero { padding-top: clamp(48px, 6.5vw, 88px); }
.hero .display { max-width: 13.5em; }
.hero .lede { margin-top: 26px; max-width: 31em; }
.hero .actions { margin-top: 32px; }

/* Product window (dark UI) ---------------------------------------- */

.window {
  --focus: var(--on-dark);
  background: var(--pitch);
  color: var(--on-dark);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 36px 64px -36px rgba(18, 59, 44, 0.5);
}
.window__bar {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-dark);
  font-size: 0.875rem; color: var(--on-dark-2);
}
.window__bar .tabs-static { display: flex; gap: 4px; margin-left: 14px; }
.window__bar .tabs-static span { padding: 5px 10px; border-radius: 6px; }
.window__bar .tabs-static span:first-child { background: var(--pitch-2); color: var(--on-dark); }
.window__title { color: var(--on-dark); font-weight: 600; display: inline-flex; align-items: center; gap: 10px; }
.window__title svg { width: 18px; height: 18px; }
.window__meta { margin-left: auto; }

.hero-window { margin-top: clamp(44px, 5vw, 64px); }

.score {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  padding: 22px 20px 6px;
  font-size: 1rem; color: var(--on-dark-2);
}
.score strong { font-size: 2.25rem; line-height: 1; color: var(--on-dark); font-weight: 600; }
.score .team { display: inline-flex; align-items: center; gap: 8px; min-width: 7.5em; }
.score .team:first-child { justify-content: flex-end; }
.score .swatch { width: 10px; height: 10px; border-radius: 50%; background: var(--oranje); flex-shrink: 0; }
.score .swatch--opp { background: var(--on-dark-2); }
.clock-row { text-align: center; font-size: 0.875rem; color: var(--on-dark-3); padding-bottom: 4px; }

.report { display: grid; grid-template-columns: 1.55fr 1fr; gap: 0; }
.report__map, .report__race { padding: 18px 24px 22px; }
.report__race { border-left: 1px solid var(--line-dark); display: flex; flex-direction: column; }
.panel-title { font-size: 0.875rem; font-weight: 600; color: var(--on-dark); margin-bottom: 12px; display: flex; justify-content: space-between; gap: 12px; }
.panel-title span { font-weight: 400; color: var(--on-dark-3); text-align: right; }
@media (max-width: 560px) {
  .panel-title { flex-direction: column; gap: 2px; }
  .panel-title span { text-align: left; }
  .screen { padding: 18px 16px 20px; }
}
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: 0.8125rem; color: var(--on-dark-3); }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; vertical-align: 0; }
.legend .k-us { background: var(--oranje); }
.legend .k-opp { background: var(--on-dark-2); }
.legend .k-miss { border: 1.5px solid var(--on-dark-2); }

.stats { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-dark); }
.stats div { padding: 16px 24px 18px; }
.stats div + div { border-left: 1px solid var(--line-dark); }
.stats dt { font-size: 0.8125rem; color: var(--on-dark-3); }
.stats dd { margin-top: 4px; font-size: 1.625rem; line-height: 1.1; }
.stats dd small { font-size: 1rem; color: var(--on-dark-3); font-weight: 500; }

/* svg pitch + charts */
.pitch-lines { fill: none; stroke: rgba(244, 245, 242, 0.24); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pitch-turf { fill: var(--pitch-2); }
.shot { transform-box: fill-box; transform-origin: center; }
.shot--us { fill: rgba(255, 106, 26, 0.22); stroke: var(--oranje); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.shot--us.goal { fill: var(--oranje); }
.shot--opp { fill: rgba(244, 245, 242, 0.12); stroke: rgba(244, 245, 242, 0.75); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.shot--opp.goal { fill: var(--on-dark); stroke: var(--on-dark); }

.chart-grid { stroke: rgba(244, 245, 242, 0.1); stroke-width: 1; }
.chart-ht { stroke: rgba(244, 245, 242, 0.28); stroke-width: 1; stroke-dasharray: 3 4; }
.chart-label { fill: var(--on-dark-3); font-size: 11px; font-stretch: 90%; }
.chart-end { font-size: 15px; font-weight: 600; font-stretch: 78%; font-variant-numeric: tabular-nums; }
.race { fill: none; stroke-width: 2.25; stroke-linejoin: round; }
.race--us { stroke: var(--oranje); }
.race--opp { stroke: rgba(244, 245, 242, 0.75); }
.race-goal--us { fill: var(--oranje); }
.race-goal--opp { fill: var(--on-dark); }

/* One orchestrated load moment: the match replays in the report. */
.js .hero-window .shot,
.js .hero-window .race-goal { opacity: 0; }
.js .hero-window .race { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .hero-window.is-played .race { transition: stroke-dashoffset 2.6s linear 0.4s; stroke-dashoffset: 0; }
.js .hero-window.is-played .shot,
.js .hero-window.is-played .race-goal {
  opacity: 1;
  transition: opacity 0.35s ease calc(0.4s + var(--t) * 2.6s), transform 0.5s cubic-bezier(.2,1.6,.4,1) calc(0.4s + var(--t) * 2.6s);
}
.js .hero-window .shot { transform: scale(0.2); }
.js .hero-window.is-played .shot { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  .js .hero-window .shot, .js .hero-window .race-goal { opacity: 1; transform: none; transition: none; }
  .js .hero-window .race { stroke-dashoffset: 0; transition: none; }
}

@media (max-width: 900px) {
  .window__bar .tabs-static { display: none; }
  .report { grid-template-columns: 1fr; }
  .report__race { border-left: 0; border-top: 1px solid var(--line-dark); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div { border-top: 1px solid var(--line-dark); }
  .stats div + div { border-left: 0; }
  .stats div:nth-child(even) { border-left: 1px solid var(--line-dark); }
  .stats div:nth-child(-n+2) { border-top: 0; }
  .stats div:last-child { grid-column: 1 / -1; border-left: 0; }
}
@media (max-width: 560px) {
  .report__map, .report__race { padding: 16px; }
  .stats div { padding: 14px 16px; }
  .score { gap: 10px; font-size: 0.875rem; }
  .score .team { min-width: 0; }
  .score strong { font-size: 1.875rem; }
  .window__bar { padding: 12px 16px; }
}

/* Sections -------------------------------------------------------- */

.section { padding-block: var(--section); }
.section--tight-top { padding-top: calc(var(--section) * 0.8); }

.section-head {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px 32px; align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head .h2 { grid-column: 1 / span 7; }
.section-head .lede { grid-column: 8 / span 5; }
.section-head--stack .h2 { grid-column: 1 / span 9; }
.section-head--stack .lede { grid-column: 1 / span 7; }
@media (max-width: 900px) {
  .section-head .h2, .section-head .lede { grid-column: 1 / -1; }
}

/* Roles */
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.roles li { border-top: 1px solid var(--ink); padding-top: 20px; }
.roles p { margin-top: 10px; color: var(--slate); }
@media (max-width: 900px) { .roles { grid-template-columns: repeat(2, 1fr); gap: 40px 28px; } }
@media (max-width: 520px) { .roles { grid-template-columns: 1fr; } }

/* Matchweek (dark band) */
.band { background: var(--pitch); color: var(--on-dark); }

.week { position: relative; }
.week__tabs {
  position: relative; display: grid; grid-template-columns: repeat(5, 1fr);
  margin-bottom: 40px;
}
.week__tabs::before {
  content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line-dark);
}
.week__tab {
  position: relative; display: flex; flex-direction: column; justify-content: flex-start; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 30px 16px 4px 0; color: var(--on-dark-3);
  transition: color 0.15s ease;
}
.week__tab::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--pitch); border: 1.5px solid var(--on-dark-3);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.week__tab:hover { color: var(--on-dark-2); }
.week__tab[aria-selected="true"] { color: var(--on-dark); }
.week__tab[aria-selected="true"]::before { background: var(--oranje); border-color: var(--oranje); }
.week__tab .num { display: block; font-size: 1.75rem; line-height: 1; }
.week__tab .day { display: block; margin-top: 8px; font-size: 0.9375rem; font-weight: 500; }

.week__panel {
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: center;
  border-top: 1px solid var(--line-dark); padding-top: 48px;
}
.week__panel[hidden] { display: none; }
.week__panel .h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-stretch: 108%; letter-spacing: -0.024em; line-height: 1.1; }
.week__copy p { margin-top: 16px; color: var(--on-dark-2); max-width: 30em; }
.week__panel .when { margin-top: 24px; font-size: 0.9375rem; color: var(--on-dark-3); }
.week__panel .when strong { color: var(--on-dark); font-weight: 600; }

.js .week__panel:not([hidden]) { animation: panel-in 0.32s ease both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .week__panel:not([hidden]) { animation: none; } }

.screen {
  background: var(--pitch-2); border-radius: 14px; padding: 22px 24px 24px;
  border: 1px solid var(--line-dark);
}
.screen .panel-title { margin-bottom: 16px; }

@media (max-width: 900px) {
  .week__tabs {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .week__tabs::-webkit-scrollbar { display: none; }
  .week__tabs::before { left: var(--gutter); right: auto; width: 760px; }
  .week__tab { flex: 0 0 152px; scroll-snap-align: start; }
  .week__tab:last-child { flex-basis: calc(152px + var(--gutter)); padding-right: var(--gutter); }
  .week__panel { grid-template-columns: 1fr; padding-top: 36px; }
}

/* paired bars (half-time) */
.pairs { display: grid; gap: 16px; }
.pair { display: grid; grid-template-columns: 3.2em 1fr 3.2em; align-items: center; gap: 12px; font-size: 0.875rem; }
.pair__label { grid-column: 1 / -1; color: var(--on-dark-2); margin-bottom: -6px; }
.pair .num { font-size: 1.25rem; }
.pair .num:last-child { text-align: right; color: var(--on-dark-2); }
.pair__bar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: var(--line-dark); gap: 2px; }
.pair__bar span:first-child { background: var(--oranje); }
.pair__bar span:last-child { background: rgba(244, 245, 242, 0.55); }

/* briefing */
.brief { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.brief h4 { margin: 0 0 12px; font-size: 0.9375rem; font-weight: 600; }
.brief ol { counter-reset: b; display: grid; gap: 12px; }
.brief li { counter-increment: b; display: grid; grid-template-columns: 1.5em 1fr; font-size: 0.9375rem; color: var(--on-dark-2); line-height: 1.4; }
.brief li::before { content: counter(b); font-stretch: 78%; font-weight: 600; color: var(--oranje-text); font-size: 1.0625rem; }
.brief .stop li::before { color: var(--on-dark); }
@media (max-width: 560px) { .brief { grid-template-columns: 1fr; } }

.metrics-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-dark); }
.metrics-row dt { font-size: 0.75rem; color: var(--on-dark-3); line-height: 1.3; }
.metrics-row dd { font-size: 1.375rem; margin-top: 4px; }
@media (max-width: 560px) { .metrics-row { grid-template-columns: repeat(2, 1fr); } }

/* Recruitment */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split > div:first-child .lede { margin-top: 24px; }
.checks { margin-top: 32px; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.checks li { padding: 14px 0; border-bottom: 1px solid var(--rule); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.search {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px;
  background: var(--pitch-2); border-radius: 10px; font-size: 0.9375rem; color: var(--on-dark);
}
.search svg { width: 16px; height: 16px; flex-shrink: 0; opacity: 0.6; }
.scout { display: grid; grid-template-columns: 1fr 1.05fr; }
.scout__list { padding: 18px 20px; border-right: 1px solid var(--line-dark); }
.scout__detail { padding: 18px 22px 22px; }
.shortlist { margin-top: 14px; }
.shortlist li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 10px; border-radius: 8px; }
.shortlist li.is-active { background: var(--pitch-2); }
.shortlist .who { font-weight: 600; font-size: 0.9375rem; }
.shortlist .where { grid-column: 1; font-size: 0.8125rem; color: var(--on-dark-3); }
.shortlist .match { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 1.25rem; }
.shortlist .match small { font-size: 0.8125rem; color: var(--on-dark-3); }
.profile-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.profile-head .who { font-weight: 600; font-size: 1.0625rem; }
.profile-head .muted { font-size: 0.8125rem; }
.pct { margin-top: 18px; display: grid; gap: 13px; }
.pct li { display: grid; grid-template-columns: 1fr 2.2em; gap: 6px 10px; align-items: center; font-size: 0.8125rem; color: var(--on-dark-2); }
.pct .bar { grid-column: 1 / -1; height: 6px; background: var(--line-dark); border-radius: 3px; overflow: hidden; }
.pct .bar span { display: block; height: 100%; background: var(--oranje); border-radius: 3px; }
.pct .num { text-align: right; color: var(--on-dark); font-size: 1rem; grid-row: 1; grid-column: 2; }
.pct-note { margin-top: 16px; font-size: 0.75rem; color: var(--on-dark-3); }
@media (max-width: 640px) {
  .scout { grid-template-columns: 1fr; }
  .scout__list { border-right: 0; border-bottom: 1px solid var(--line-dark); }
}

/* Data + glossary */
.data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.data-grid .h3 { margin-bottom: 8px; }
.defs { border-top: 1px solid var(--rule); margin-top: 20px; }
.defs div { display: grid; grid-template-columns: 11em 1fr; gap: 6px 24px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.defs dt { font-weight: 600; }
.defs dd { color: var(--slate); }
@media (max-width: 900px) { .data-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .defs div { grid-template-columns: 1fr; } }

/* Closing call to action */
.closing { padding-block: var(--section); border-top: 1px solid var(--rule); }
.closing__inner { display: grid; grid-template-columns: 7fr 5fr; gap: 32px 64px; align-items: end; }
.closing .lede { margin-top: 24px; }
.closing .actions { justify-content: flex-start; }
.closing__aside { margin-top: 20px; font-size: 0.9375rem; color: var(--slate); }
.closing__aside a { color: var(--ink); font-weight: 600; }
.closing__aside p + p { margin-top: 6px; }
@media (max-width: 900px) { .closing__inner { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--pitch); color: var(--on-dark-2); padding: 72px 0 36px; font-size: 0.9375rem; }
.site-footer a { text-decoration: none; transition: color 0.15s ease; }
.site-footer a:hover { color: var(--on-dark); }
.footer-top { display: grid; grid-template-columns: 4fr repeat(3, 2fr); gap: 40px 32px; }
.footer-top .brand svg { height: 22px; }
.footer-top .brand { color: var(--on-dark); }
.footer-top p { margin-top: 18px; max-width: 22em; }
.site-footer h2 { font-size: 0.875rem; font-weight: 600; color: var(--on-dark); margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 10px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 0.875rem; color: var(--on-dark-3); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > div:first-child { grid-column: 1 / -1; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Shared additions ------------------------------------------------ */

.btn--ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--chalk); }
.dark .btn--ghost { color: var(--on-dark); box-shadow: inset 0 0 0 1.5px var(--on-dark); }
.dark .btn--ghost:hover { background: var(--on-dark); color: var(--pitch); }

.window-note { margin-top: 18px; font-size: 0.9375rem; text-align: right; }
.window__body { padding: 20px 24px 22px; }
.window__btn {
  display: inline-flex; align-items: center; gap: 8px; margin-left: 12px;
  background: none; border: 1px solid var(--line-dark); border-radius: 7px; padding: 4px 10px;
  color: var(--on-dark-2); font-size: 0.8125rem; cursor: pointer;
}
.window__btn:hover { color: var(--on-dark); border-color: var(--on-dark-3); }
.window__btn[hidden] { display: none; }

.icon-pause { width: 8px; height: 10px; border-left: 2.5px solid currentColor; border-right: 2.5px solid currentColor; }
.icon-play { width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid currentColor; }

.legend .k-ball { background: #fff; width: 7px; height: 7px; }

.section--flush-top { padding-top: 0; }

/* Page hero (inner pages) */
.page-hero { padding-block: clamp(56px, 8vw, 112px) clamp(64px, 8vw, 112px); }
.page-hero--tight { padding-bottom: clamp(40px, 5vw, 64px); }
.display--page { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.5rem); max-width: 15em; }
.page-hero .lede { margin-top: 24px; max-width: 34em; }
.page-hero .actions { margin-top: 32px; }

/* Matchweek autoplay */
.week__control {
  position: absolute; right: 0; top: -56px;
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 1px solid var(--line-dark); border-radius: 8px; padding: 6px 12px;
  color: var(--on-dark-2); font-size: 0.875rem; cursor: pointer;
}
.week__control:hover { color: var(--on-dark); border-color: var(--on-dark-3); }
.week__control[hidden] { display: none; }
.week__tab::after {
  content: ""; position: absolute; left: 0; top: 7px; height: 1px; width: 0; background: var(--oranje);
}
.week.is-auto .week__tab[aria-selected="true"]::after { animation: week-progress var(--week-step, 6s) linear forwards; }
.week.is-auto.is-paused .week__tab[aria-selected="true"]::after { animation-play-state: paused; }
@keyframes week-progress { from { width: 0; } to { width: 100%; } }
@media (max-width: 900px) { .week__control { top: -50px; } }

/* Tracking replay */
.tracking { margin-bottom: clamp(56px, 7vw, 96px); }
.tracking__body { display: grid; grid-template-columns: 1.7fr 1fr; }
.tracking__pitch { padding: 20px 24px 22px; }
.tracking__log { padding: 20px 24px 22px; border-left: 1px solid var(--line-dark); }
.trk-ball { fill: #fff; stroke: var(--pitch); stroke-width: 0.35; }
.trk-trail { fill: none; stroke: rgba(255, 255, 255, 0.7); stroke-width: 1.25; stroke-dasharray: 2 2.5; vector-effect: non-scaling-stroke; }
.trk-us { fill: var(--oranje); }
.trk-opp { fill: rgba(244, 245, 242, 0.85); }
.events { display: grid; gap: 0; counter-reset: none; }
.events li {
  display: grid; grid-template-columns: 3.4em 1fr auto; gap: 12px; align-items: baseline;
  padding: 11px 0; border-bottom: 1px solid var(--line-dark); font-size: 0.9375rem; color: var(--on-dark-2);
}
.events li .num:first-child { color: var(--on-dark-3); font-size: 0.9375rem; }
.events li .num:last-child { color: var(--on-dark); font-size: 1rem; }
.events li.is-goal { color: var(--oranje-text); font-weight: 600; }
.js .events[data-live] li { opacity: 0.18; transition: opacity 0.25s ease; }
.js .events[data-live] li.is-on { opacity: 1; }
@media (max-width: 900px) {
  .tracking__body { grid-template-columns: 1fr; }
  .tracking__log { border-left: 0; border-top: 1px solid var(--line-dark); }
}
@media (max-width: 560px) { .tracking__pitch, .tracking__log { padding: 16px; } }

/* Closing offer */
.offer { border-left: 1px solid var(--rule); padding-left: clamp(24px, 4vw, 56px); }
.offer p { margin-top: 12px; color: var(--slate); }
.offer .btn { margin-top: 24px; }
.closing__inner { align-items: start; }
.closing .actions { margin-top: 32px; }
@media (max-width: 900px) { .offer { border-left: 0; border-top: 1px solid var(--rule); padding: 32px 0 0; } }

/* Platform: reports list */
.reports { border-top: 1px solid var(--ink); }
.reports__row {
  display: grid; grid-template-columns: 6em 12em 12em 1fr; gap: 8px 32px;
  padding: 22px 0; border-bottom: 1px solid var(--rule); align-items: baseline;
}
.reports__row--head { padding: 12px 0; font-size: 0.875rem; color: var(--slate); }
.reports__when { font-size: 1.5rem; line-height: 1; }
.reports__name { font-weight: 600; font-size: 1.125rem; }
.reports__who { color: var(--slate); }
@media (max-width: 900px) {
  .reports__row { grid-template-columns: 5em 1fr; }
  .reports__row--head { display: none; }
  .reports__who, .reports__what { grid-column: 2; }
  .reports__who { font-size: 0.9375rem; }
}

.questions { margin-top: 32px; border-top: 1px solid var(--rule); }
.questions div { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.questions dt { font-size: 0.875rem; color: var(--slate); }
.questions dd { margin-top: 4px; font-size: 1.125rem; font-weight: 500; }

/* Platform: data flow */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.flow li { border-top: 1px solid var(--line-dark); padding-top: 20px; position: relative; }
.flow__n { display: block; font-size: 2.25rem; line-height: 1; color: var(--oranje); margin-bottom: 18px; }
.flow p { margin-top: 10px; color: var(--on-dark-2); }
@media (max-width: 900px) { .flow { grid-template-columns: repeat(2, 1fr); gap: 40px 28px; } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } }

/* Platform: plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.plan { border-top: 1px solid var(--ink); padding-top: 22px; display: flex; flex-direction: column; }
.plan__for { margin-top: 6px; color: var(--slate); }
.plan ul { margin: 20px 0 28px; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.plan li { padding: 11px 0; border-bottom: 1px solid var(--rule); }
.plan .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; gap: 48px; } }

/* About */
.story { display: grid; grid-template-columns: 5fr 7fr; gap: 32px 64px; align-items: start; }
.prose { max-width: 38em; }
.prose p { font-size: 1.1875rem; line-height: 1.6; }
.prose p + p { margin-top: 1.1em; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } }

.founder { display: grid; grid-template-columns: 5fr 7fr; gap: 40px 64px; align-items: start; }
.founder .lede { margin-top: 20px; }
.founder__card { border-top: 1px solid var(--line-dark); padding-top: 24px; max-width: 36em; }
.founder__card .h3 { font-size: 1.625rem; font-stretch: 108%; letter-spacing: -0.02em; }
.founder__role { color: var(--oranje-text); font-weight: 600; margin-top: 4px; }
.founder__card p + p { margin-top: 14px; }
.founder__card p:not(.founder__role) { color: var(--on-dark-2); }
.founder__card a { color: var(--on-dark); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: clamp(56px, 7vw, 96px); }
.facts div { border-top: 1px solid var(--line-dark); padding-top: 16px; }
.facts dt { font-size: 0.875rem; color: var(--on-dark-3); }
.facts dd { margin-top: 6px; font-size: 1.25rem; font-weight: 500; }
@media (max-width: 900px) { .founder { grid-template-columns: 1fr; } .facts { grid-template-columns: 1fr; gap: 0; } .facts div { padding: 16px 0; } }

/* Contact */
.contact { display: grid; grid-template-columns: 7fr 4fr; gap: 48px clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: 0.9375rem; }
.field__hint { font-size: 0.875rem; color: var(--slate); margin-top: -2px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: #fff; border: 1px solid #c9cdc4; border-radius: 10px; padding: 12px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--slate) 50%), linear-gradient(135deg, var(--slate) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(16, 22, 19, 0.12); }
.field--choice { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.field--choice legend { margin-bottom: 10px; padding: 0; width: 100%; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 10px;
  border: 1px solid #c9cdc4; background: #fff; font-weight: 500; transition: border-color 0.15s ease, background-color 0.15s ease;
}
.choice input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--chalk); }
.choice input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 6px; }
.form__status { font-size: 0.9375rem; color: var(--slate); }
.form__status.is-error { color: #b42318; }
.form-done { border-top: 1px solid var(--ink); padding-top: 24px; }
.form-done .h3 { font-size: 1.625rem; }
.form-done p { margin-top: 10px; color: var(--slate); max-width: 32em; }

.contact__aside { border-top: 1px solid var(--ink); padding-top: 22px; }
.next { counter-reset: n; margin-top: 18px; display: grid; gap: 16px; }
.next li { counter-increment: n; display: grid; grid-template-columns: 1.8em 1fr; color: var(--slate); }
.next li::before { content: counter(n); font-stretch: 78%; font-weight: 600; font-size: 1.25rem; line-height: 1.25; color: var(--ink); }
.contact__details { margin-top: 32px; border-top: 1px solid var(--rule); }
.contact__details div { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.contact__details dt { font-size: 0.875rem; color: var(--slate); }
.contact__details dd { margin-top: 2px; font-weight: 500; }
.contact__details a { text-decoration: none; }
.contact__details a:hover { text-decoration: underline; text-underline-offset: 4px; }

.faq { display: grid; grid-template-columns: 5fr 7fr; gap: 32px 64px; align-items: start; }
.faq__list { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-weight: 600; font-size: 1.125rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 40px 22px 0; color: var(--slate); max-width: 38em; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } }

/* Legal */
.legal .prose { max-width: 42em; }
.legal .prose h2 { font-size: 1.3125rem; font-stretch: 104%; letter-spacing: -0.01em; margin: 2.2em 0 0.6em; }
.legal .prose p, .legal .prose li { font-size: 1.0625rem; line-height: 1.65; }
.legal .prose ul { list-style: disc; padding-left: 1.2em; margin: 0.8em 0; display: grid; gap: 6px; }
.legal .prose p + p { margin-top: 0.9em; }
.legal .prose a { text-underline-offset: 3px; }

/* 404 */
.not-found { min-height: 62vh; display: flex; align-items: center; }
.not-found .wrap { width: 100%; }

/* Sample report app */
.report-intro { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.report-intro .actions { margin: 0; }
@media (max-width: 900px) { .report-intro { grid-template-columns: 1fr; } }
.app__bar { flex-wrap: wrap; }
.app__tabs { display: flex; gap: 4px; margin-left: 14px; }
.app__tabs button {
  background: none; border: 0; border-radius: 6px; padding: 6px 11px; cursor: pointer;
  color: var(--on-dark-2); font-size: 0.875rem;
}
.app__tabs button:hover { color: var(--on-dark); }
.app__tabs button[aria-selected="true"] { background: var(--pitch-2); color: var(--on-dark); }
.app__panel[hidden] { display: none; }
.app__section { padding: 20px 24px 24px; border-top: 1px solid var(--line-dark); }
.app__section--first { border-top: 0; }
.app__chart { max-width: 640px; }
.pairs--wide { grid-template-columns: 1fr 1fr; gap: 18px 48px; }
@media (max-width: 900px) {
  .app__bar { gap: 10px 16px; }
  .app__tabs { order: 3; width: 100%; margin: 0; overflow-x: auto; }
  .pairs--wide { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .app__section { padding: 16px; } }

.report--shots { grid-template-columns: 1.2fr 1fr; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.table th { text-align: left; font-weight: 500; color: var(--on-dark-3); padding: 8px 10px; border-bottom: 1px solid var(--line-dark); white-space: nowrap; }
.table td { padding: 9px 10px; border-bottom: 1px solid var(--line-dark); color: var(--on-dark-2); white-space: nowrap; }
.table td.num { color: var(--on-dark); font-size: 1rem; }
.table td strong { color: var(--oranje-text); font-weight: 600; }
.table .swatch { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--oranje); margin-right: 8px; vertical-align: 1px; }
.table .swatch--opp { background: var(--on-dark-2); }
.table tbody tr { transition: background-color 0.12s ease; }
.table tbody tr.is-hot { background: var(--pitch-3); }
.table th button { all: unset; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.table th button:focus-visible { outline: 2px solid var(--on-dark); outline-offset: 2px; border-radius: 3px; }
.table th button::after { content: ""; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid transparent; }
.table th[aria-sort="descending"] button::after { border-top-color: currentColor; }
.table th[aria-sort="ascending"] button::after { border-top: 0; border-bottom: 5px solid currentColor; }
.table th[aria-sort] { color: var(--on-dark); }
.table--players td:nth-child(2) { color: var(--on-dark); }
.shot[data-shot] { cursor: pointer; outline: none; transition: stroke-width 0.12s ease; }
.shot[data-shot].is-hot, .shot[data-shot]:focus-visible { stroke: #fff; stroke-width: 2.5; }
@media (max-width: 900px) { .report--shots { grid-template-columns: 1fr; } }
@media (min-width: 901px) { .report--shots .report__map { position: sticky; top: 84px; align-self: start; } }
@media (max-width: 900px) {
  .week__control { position: static; margin: -16px 0 28px; }
}
@media (max-width: 560px) {
  .chart-label { font-size: 14px; }
  .chart-end { font-size: 17px; }
}
@media (max-width: 480px) {
  .window__meta { display: none; }
}

.window .muted { color: var(--on-dark-2); }
.legend .k-goal { background: var(--on-dark); }
.form__note { flex-basis: 100%; font-size: 0.875rem; color: var(--slate); }
.form__note a { color: var(--ink); }
@media (max-width: 560px) { .table .col-opt { display: none; } }

/* ================================================================
   Round 2: hero on a pitch, products, story, living details
   ================================================================ */

.hero2 { position: relative; overflow: hidden; background: var(--pitch); color: var(--on-dark); padding-top: clamp(40px, 6vw, 84px); }
.hero2__copy { position: relative; z-index: 2; }
.hero2 .display { max-width: 11.6em; }
.hero2 .lede { margin-top: 26px; max-width: 31em; color: var(--on-dark-2); }
.hero2 .actions { margin-top: 32px; }
.hero2__pitch { position: relative; z-index: 1; margin-top: clamp(-90px, -5vw, 0px); pointer-events: none; }
.hero2__pitch svg { display: block; width: 100%; height: auto; overflow: visible; }
.hp-surround { fill: #154434; }
.hp-grass { fill: #1a4c3b; }
.hp-stripe { fill: rgba(255, 255, 255, 0.03); }
.hp-lines { fill: none; stroke: rgba(244, 245, 242, 0.42); stroke-width: 1.6; stroke-linejoin: round; }
.hp-spot { fill: rgba(244, 245, 242, 0.5); }
.hp-goal { fill: none; stroke: rgba(244, 245, 242, 0.9); stroke-width: 2.4; stroke-linejoin: round; }
.hp-net { fill: rgba(244, 245, 242, 0.05); stroke: rgba(244, 245, 242, 0.25); stroke-width: 1; }
.hp-zone path { fill: rgba(255, 106, 26, 0.12); stroke: rgba(255, 106, 26, 0.65); stroke-width: 1.5; stroke-dasharray: 6 6; }
.hp-us circle { fill: var(--oranje); }
.hp-opp circle { fill: #e9ece6; }
.hp-shadow { fill: rgba(0, 0, 0, 0.3); }
.hp-ball { fill: #fff; stroke: #0b241b; stroke-width: 1; }
.hp-ring { fill: none; stroke-width: 1.8; }
.hp-ring.is-us { stroke: var(--oranje); }
.hp-ring.is-opp { stroke: rgba(244, 245, 242, 0.85); }
.hp-pass { fill: none; stroke-width: 2.4; stroke-linecap: round; }
.hp-pass--us { stroke: var(--oranje); }
.hp-pass--opp { stroke: rgba(244, 245, 242, 0.6); stroke-dasharray: 5 7; }
.hp-chip rect { fill: rgba(10, 34, 25, 0.92); stroke: rgba(244, 245, 242, 0.22); }
.hp-chip text { fill: var(--on-dark); font-size: 16px; font-weight: 500; font-family: var(--font); }
.hp-chip circle { fill: rgba(244, 245, 242, 0.75); }
.hp-chip.is-accent circle { fill: var(--oranje); }
.hp-chip__line { stroke: rgba(244, 245, 242, 0.4); stroke-width: 1; }
@media (max-width: 700px) { .hero2__pitch { margin-top: 20px; } }

/* Page-to-page transitions (supporting browsers) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.22s; }
.site-header { view-transition-name: site-header; }

/* Header over the dark hero */
.site-header.is-dark { background: rgba(18, 59, 44, 0.86); border-bottom-color: transparent; }
.site-header.is-dark .brand svg:not(.mark) path { fill: var(--chalk); }
.site-header.is-dark .brand .mark rect { fill: var(--chalk); }
.site-header.is-dark .nav a:not(.btn) { color: var(--on-dark-2); }
.site-header.is-dark .nav a:not(.btn):hover { color: var(--on-dark); }
.site-header.is-dark .nav-toggle > span:first-child,
.site-header.is-dark .nav-toggle > span:first-child::before,
.site-header.is-dark .nav-toggle > span:first-child::after { background: var(--chalk); }
.site-header.is-dark .nav-toggle[aria-expanded="true"] > span:first-child { background: transparent; }
.site-header, .site-header .nav a, .site-header .brand path, .site-header .brand rect { transition: background-color 0.3s ease, color 0.2s ease, fill 0.3s ease, border-color 0.2s ease; }
@media (max-width: 860px) {
  .site-header.is-dark .nav { background: var(--pitch); border-bottom-color: var(--line-dark); }
  .site-header.is-dark .nav a:not(.btn) { color: var(--on-dark); border-bottom-color: var(--line-dark); }
}

/* The mark draws itself on the first page of a visit */
.first-visit .site-header .mark path { transform-box: fill-box; transform-origin: 0 100%; animation: mark-in 0.8s cubic-bezier(0.2, 1.3, 0.35, 1) 0.15s both; }
@keyframes mark-in { from { transform: scale(0); } to { transform: none; } }

.btn:active { transform: translateY(1px) scale(0.985); }
.btn { transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease; }

.icon-replay { width: 10px; height: 10px; border: 1.8px solid currentColor; border-right-color: transparent; border-radius: 50%; }

/* Soft light that follows the pointer over product windows */
@media (hover: hover) and (pointer: fine) {
  .window { position: relative; isolation: isolate; }
  .window::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 5;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -200px), rgba(255, 255, 255, 0.055), transparent 60%);
    opacity: 0; transition: opacity 0.3s ease;
  }
  .window:hover::after { opacity: 1; }
}

/* Hero pause */
.hero2__pause {
  position: absolute; right: var(--gutter); bottom: 18px; z-index: 3; pointer-events: auto;
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 8px;
  background: rgba(10, 34, 25, 0.7); border: 1px solid var(--line-dark); color: var(--on-dark-2); font-size: 0.8125rem; cursor: pointer;
}
.hero2__pause:hover { color: var(--on-dark); }
.hero2__pause[hidden] { display: none; }

.section-head > div:first-child { grid-column: 1 / span 7; }
@media (max-width: 900px) { .section-head > div:first-child { grid-column: 1 / -1; } }
.product__kind { font-size: 0.9375rem; color: var(--slate); margin-top: 6px; }
.section-head .product__kind, .split .product__kind { margin: 0 0 10px; color: var(--oranje-ink); font-weight: 600; }
.dark .section-head .product__kind { color: var(--oranje-text); }

/* Products */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.product { display: flex; flex-direction: column; }
.product > .h3 { margin-top: 28px; font-size: 1.5rem; font-stretch: 108%; letter-spacing: -0.02em; }
.product > p:not(.product__kind) { margin-top: 12px; color: var(--slate); }
.product > .link { margin-top: 18px; align-self: flex-start; }
.mini { border-radius: 14px; box-shadow: 0 24px 48px -32px rgba(18, 59, 44, 0.55); }
.mini .window__bar { padding: 11px 16px; font-size: 0.8125rem; }
@media (max-width: 960px) { .products { grid-template-columns: 1fr; gap: 56px; } .product { max-width: 560px; } }

/* Matchweek feed */
.feed { height: 186px; overflow: hidden; position: relative; padding: 0 16px; }
.feed::before, .feed::after { content: ""; position: absolute; left: 0; right: 0; height: 28px; z-index: 1; pointer-events: none; }
.feed::before { top: 0; background: linear-gradient(var(--pitch), transparent); }
.feed::after { bottom: 0; background: linear-gradient(transparent, var(--pitch)); }
.feed__track { padding-top: 8px; }
.feed__track li {
  display: grid; grid-template-columns: 3.4em 1fr auto; align-items: center; gap: 10px;
  height: 56px; border-bottom: 1px solid var(--line-dark); font-size: 0.875rem; color: var(--on-dark-2);
}
.feed__md { display: inline-block; text-align: center; padding: 3px 0; border-radius: 6px; background: var(--pitch-2); color: var(--on-dark); font-size: 0.875rem; }
.feed__time { color: var(--on-dark-3); font-size: 0.8125rem; font-variant-numeric: tabular-nums; }
.feed__track li.is-new .feed__md { background: var(--oranje); color: var(--ink); }
.feed__track li.is-new .feed__text { color: var(--on-dark); }

/* Recruit mini search */
.msearch { padding: 16px; height: 186px; }
.msearch .search { font-size: 0.875rem; }
.caret { display: inline-block; width: 1.5px; height: 1.1em; background: var(--oranje); margin-left: -6px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.msearch__results { margin-top: 12px; display: grid; gap: 4px; }
.msearch__results li { display: grid; grid-template-columns: 5.2em 1fr 2.6em; gap: 12px; align-items: center; height: 32px; font-size: 0.875rem; color: var(--on-dark); transition: opacity 0.3s ease, transform 0.3s ease; }
.msearch__results .num { text-align: right; }
.mbar { height: 5px; border-radius: 3px; background: var(--line-dark); overflow: hidden; }
.mbar span { display: block; height: 100%; background: var(--oranje); border-radius: 3px; transition: width 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.msearch__results.is-hidden li { opacity: 0; transform: translateY(4px); }
.msearch__results.is-hidden .mbar span { width: 0 !important; }

/* Dashboards mini trend */
.mtrend { padding: 14px 16px 12px; height: 186px; display: flex; flex-direction: column; }
.mtrend__head { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.8125rem; color: var(--on-dark-3); }
.mtrend__head strong { font-size: 1.375rem; color: var(--on-dark); font-weight: 600; }
.mtrend svg { flex: 1; min-height: 0; margin-top: 4px; cursor: crosshair; }
.mtrend .legend { margin-top: 6px; }
.mtrend .legend span:last-child { margin-left: auto; font-variant-numeric: tabular-nums; }
.trend-line { fill: none; stroke-width: 2.25; stroke-linejoin: round; stroke-linecap: round; }
.trend-line--us { stroke: var(--oranje); }
.trend-line--opp { stroke: rgba(244, 245, 242, 0.7); }
.trend-gap { fill: rgba(255, 106, 26, 0.1); }
.trend-cursor { stroke: rgba(244, 245, 242, 0.3); stroke-width: 1; }
.trend-dot--us { fill: var(--oranje); stroke: var(--pitch); stroke-width: 2; }
.trend-dot--opp { fill: var(--chalk); stroke: var(--pitch); stroke-width: 2; }

/* Draw-on-reveal, used by the trend chart and the story screens */
.js [data-reveal] .draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s cubic-bezier(0.4, 0, 0.2, 1) calc(var(--i, 0) * 60ms); }
.js [data-reveal].is-active .draw { stroke-dashoffset: 0; }
.js [data-reveal] .fade { opacity: 0; transition: opacity 0.5s ease calc(0.35s + var(--i, 0) * 60ms); }
.js [data-reveal].is-active .fade { opacity: 1; }
.js [data-reveal] .bar { transform: scaleY(0); transform-box: fill-box; transform-origin: 50% 100%; transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) calc(var(--i, 0) * 70ms); }
.js [data-reveal].is-active .bar { transform: none; }
.js [data-reveal] .pop { opacity: 0; transform: scale(0.4); transform-box: fill-box; transform-origin: center; transition: opacity 0.3s ease, transform 0.5s cubic-bezier(0.2, 1.4, 0.4, 1); transition-delay: calc(0.2s + var(--i, 0) * 40ms); }
.js [data-reveal].is-active .pop { opacity: 1; transform: none; }
.js [data-reveal] .pair__bar span { transform: scaleX(0); transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s; }
.js [data-reveal] .pair__bar span:first-child { transform-origin: 0 50%; }
.js [data-reveal] .pair__bar span:last-child { transform-origin: 100% 50%; }
.js [data-reveal].is-active .pair__bar span { transform: none; }
.js [data-reveal] .brief li { opacity: 0; transform: translateY(6px); transition: opacity 0.4s ease, transform 0.4s ease; transition-delay: calc(0.1s + var(--i, 0) * 90ms); }
.js [data-reveal].is-active .brief li { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] .draw, .js [data-reveal] .fade, .js [data-reveal] .bar, .js [data-reveal] .pop,
  .js [data-reveal] .pair__bar span, .js [data-reveal] .brief li { transition: none; stroke-dashoffset: 0; opacity: 1; transform: none; }
}

/* Services */
.services { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 24px 40px; margin-top: clamp(56px, 7vw, 88px); padding-top: 28px; border-top: 1px solid var(--ink); }
.services dt { font-weight: 600; font-size: 1.125rem; }
.services dd { margin-top: 8px; color: var(--slate); }
.services__intro dt { font-size: 1.3125rem; }
.services--dark { grid-template-columns: 1fr 1fr; border-top-color: var(--line-dark); }
.services--dark dd { color: var(--on-dark-2); }
@media (max-width: 900px) { .services, .services--dark { grid-template-columns: 1fr; } }

/* Matchweek as a scroll story */
.story { position: relative; }
.story__steps { display: grid; gap: 64px; }
.story__md { display: flex; align-items: baseline; gap: 12px; color: var(--on-dark-3); font-size: 0.9375rem; margin-bottom: 14px; }
.story__md .num { font-size: 2rem; line-height: 1; color: var(--oranje); }
.story__copy .h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-stretch: 108%; letter-spacing: -0.024em; line-height: 1.1; }
.story__copy p:not(.story__md) { margin-top: 14px; color: var(--on-dark-2); max-width: 30em; }
.story__screen { margin-top: 28px; }
.story__stage { display: none; }

@media (min-width: 961px) {
  .js .story.is-staged { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 5vw, 80px); }
  .js .story.is-staged .story__steps { gap: 0; position: relative; padding-left: 28px; }
  .js .story.is-staged .story__steps::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line-dark); }
  .js .story.is-staged .story__steps::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: calc(var(--progress, 0) * 100%); background: var(--oranje); }
  .js .story.is-staged .story__step { min-height: 72vh; display: flex; align-items: center; opacity: 0.32; transition: opacity 0.4s ease; }
  .js .story.is-staged .story__step:first-child { min-height: 60vh; align-items: flex-start; padding-top: 8vh; }
  .js .story.is-staged .story__step:last-child { min-height: 60vh; }
  .js .story.is-staged .story__step.is-current { opacity: 1; }
  .js .story.is-staged .story__stage { display: block; position: sticky; top: calc(50vh - 230px); height: 460px; align-self: start; }
  .js .story.is-staged .story__stage .story__screen { position: absolute; inset: 0 0 auto 0; margin: 0; opacity: 0; transform: translateY(14px) scale(0.985); transition: opacity 0.45s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); pointer-events: none; }
  .js .story.is-staged .story__stage .story__screen.is-current { opacity: 1; transform: none; pointer-events: auto; }
}

/* Recruit window: rows are buttons */
.shortlist li { display: block; padding: 0; }
.shortlist button {
  all: unset; box-sizing: border-box; width: 100%; cursor: pointer;
  display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 10px; border-radius: 8px;
  transition: background-color 0.25s ease;
}
.shortlist button:hover { background: rgba(244, 245, 242, 0.05); }
.shortlist button.is-active { background: var(--pitch-2); }
.shortlist button:focus-visible { outline: 2px solid var(--on-dark); outline-offset: 2px; }
.pct .bar span { transition: width 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
[data-pname] { transition: opacity 0.2s ease; }

/* Start: free report, pilot, season */
.start { border-top: 1px solid var(--rule); }
.path { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-top: 34px; }
.path::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--rule); }
.path::after { content: ""; position: absolute; left: 0; top: 6px; height: 2px; width: calc(var(--progress, 1) * 100%); background: var(--oranje); }
.path li { position: relative; }
.path li::before { content: ""; position: absolute; top: -34px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--chalk); border: 2px solid var(--oranje); }
.path__when { display: block; font-size: 0.875rem; font-weight: 600; color: var(--oranje-ink); margin-bottom: 8px; }
.path .h3 { font-size: 1.5rem; font-stretch: 108%; letter-spacing: -0.02em; }
.path p { margin-top: 10px; color: var(--slate); max-width: 26em; }
.start__actions { margin-top: 48px; }
@media (max-width: 900px) {
  .path { grid-template-columns: 1fr; gap: 36px; padding: 0 0 0 30px; }
  .path::before { left: 6px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .path::after { left: 6px; top: 0; width: 2px; height: calc(var(--progress, 1) * 100%); }
  .path li::before { top: 4px; left: -30px; }
}

/* Platform sub-navigation */
.subnav { position: sticky; top: 68px; z-index: 40; background: rgba(244, 245, 242, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { flex: 0 0 auto; text-decoration: none; font-size: 0.9375rem; font-weight: 500; color: var(--slate); padding: 6px 12px; border-radius: 8px; transition: background-color 0.2s ease, color 0.2s ease; }
.subnav a:hover { color: var(--ink); }
.subnav a[aria-current="true"] { background: var(--ink); color: var(--chalk); }
html:has(.subnav) { scroll-padding-top: 140px; }

/* Footer wordmark */
.footer-mark { margin-top: 72px; color: rgba(244, 245, 242, 0.07); }
.footer-mark svg { width: 100%; height: auto; display: block; }
.footer-mark + .footer-bottom { margin-top: 28px; }

.hp-net { transition: fill 0.3s ease; }
.hp-net.is-flash { fill: rgba(255, 106, 26, 0.28); stroke: rgba(255, 106, 26, 0.7); }

/* ================================================================
   Round 3: chat, booking, methodology
   ================================================================ */

/* Chat launcher (only shown once chat is switched on) */
.chat-launch {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px;
  border: 0; border-radius: 26px; cursor: pointer;
  background: var(--pitch); color: var(--on-dark); font-weight: 600; font-size: 0.9375rem;
  box-shadow: 0 12px 32px -12px rgba(16, 22, 19, 0.55), inset 0 0 0 1px rgba(244, 245, 242, 0.12);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.chat-launch[hidden] { display: none; }
.chat-launch:hover { transform: translateY(-2px); background: var(--pitch-2); }
.chat-launch svg { width: 20px; height: 20px; color: var(--oranje); }
.chat-launch:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.chat-launch.is-loading svg { animation: chat-pulse 0.9s ease-in-out infinite; }
@keyframes chat-pulse { 50% { opacity: 0.35; } }
.chat-launch__badge { position: absolute; top: 6px; left: 30px; width: 10px; height: 10px; border-radius: 50%; background: var(--oranje); box-shadow: 0 0 0 2px var(--pitch); }
.chat-launch__badge[hidden] { display: none; }
@media (max-width: 560px) {
  .chat-launch { width: 52px; padding: 0; justify-content: center; right: 16px; bottom: 16px; }
  .chat-launch__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .chat-launch__badge { left: 30px; }
}
.hero2__pause { right: auto; left: var(--gutter); }

/* Demo booking: the calendar inside our own frame */
html.is-modal { overflow: hidden; }
.booking {
  display: flex; flex-direction: column;
  width: min(600px, calc(100% - 32px)); height: fit-content;
  max-width: none; max-height: calc(100% - 48px); margin: auto; padding: 0; border: 0;
  border-radius: 20px; overflow: hidden;
  background: #fff; color: var(--ink);
  box-shadow: 0 48px 120px -32px rgba(16, 22, 19, 0.6), 0 0 0 1px rgba(16, 22, 19, 0.08);
}
.booking:not([open]) { display: none; }
.booking::backdrop { background: rgba(16, 22, 19, 0.56); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.booking[open] { animation: booking-in 0.34s cubic-bezier(0.2, 0.8, 0.2, 1); }
.booking[open]::backdrop { animation: booking-fade 0.34s ease; }
.booking.is-closing { animation: booking-out 0.2s ease forwards; }
.booking.is-closing::backdrop { animation: booking-fade-out 0.2s ease forwards; }
@keyframes booking-in { from { opacity: 0; transform: translateY(18px) scale(0.98); } }
@keyframes booking-out { to { opacity: 0; transform: translateY(10px) scale(0.99); } }
@keyframes booking-up { from { transform: translateY(100%); } }
@keyframes booking-down { to { transform: translateY(100%); } }
@keyframes booking-fade { from { opacity: 0; } }
@keyframes booking-fade-out { to { opacity: 0; } }

.booking__bar { flex: none; display: flex; align-items: center; gap: 14px; padding: 14px 14px 14px 20px; border-bottom: 1px solid var(--rule); }
.booking__mark { flex: none; width: 34px; height: 34px; }
.booking__head { flex: 1; min-width: 0; }
.booking__title { font-size: 1.0625rem; font-weight: 600; font-stretch: 112%; line-height: 1.25; letter-spacing: -0.01em; }
.booking__sub { margin-top: 1px; font-size: 0.875rem; color: var(--slate); }
.booking__close {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: var(--chalk); color: var(--ink); cursor: pointer;
  transition: background-color 0.2s ease;
}
.booking__close:hover { background: var(--rule); }
.booking__close:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.booking__close svg { width: 16px; height: 16px; }

.booking__body { position: relative; flex: 0 1 auto; height: var(--bk-h, 600px); min-height: 0; background: #fff; transition: height 0.32s cubic-bezier(0.2, 0.8, 0.2, 1); }
.booking__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity 0.35s ease; }
.booking__body.is-ready .booking__frame { opacity: 1; }
.booking__wait {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px;
  padding: 32px; text-align: center; font-size: 0.9375rem; color: var(--slate);
  transition: opacity 0.2s ease, visibility 0.2s;
}
.booking__body.is-ready .booking__wait { opacity: 0; visibility: hidden; }
.booking__dots { display: inline-flex; gap: 7px; }
.booking__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--oranje); animation: booking-dot 1.1s ease-in-out infinite; }
.booking__dots i:nth-child(2) { animation-delay: 0.15s; }
.booking__dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes booking-dot { 0%, 80%, 100% { opacity: 0.25; transform: scale(0.75); } 40% { opacity: 1; transform: none; } }
.booking__slow { max-width: 30ch; }
.booking__slow[hidden] { display: none; }
.booking__slow a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 640px) {
  .booking { width: 100%; max-height: calc(100% - 10px); margin: auto 0 0; border-radius: 20px 20px 0 0; }
  .booking[open] { animation: booking-up 0.38s cubic-bezier(0.2, 0.8, 0.2, 1); }
  .booking.is-closing { animation: booking-down 0.22s ease forwards; }
  .booking__bar { padding: 12px 12px 12px 16px; }
  .booking__role { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .booking[open], .booking[open]::backdrop, .booking.is-closing, .booking.is-closing::backdrop, .booking__dots i { animation: none; }
  .booking__body { transition: none; }
}

/* Booking block on the contact page */
.book { padding: 22px; margin-bottom: 32px; border-radius: 14px; background: var(--pitch); color: var(--on-dark); }
.book[hidden] { display: none; }
.book p { margin-top: 6px; color: var(--on-dark-2); }
.book .btn { margin-top: 16px; }
.contact__aside .book + .h3 { margin-top: 4px; }

.defs__more { margin-top: 20px; }
.flow--light li { border-top-color: var(--ink); }
.flow--light p { color: var(--slate); }
.flow--light .flow__n { color: var(--oranje-ink); }
.defs--wide { margin-top: 0; }
.defs--wide div { grid-template-columns: 14em 1fr; }
.defs--wide dd { max-width: 44em; }
@media (max-width: 560px) { .defs--wide div { grid-template-columns: 1fr; } }

/* Expected goals explorer */
.xg { align-items: start; }
.xg__presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.xg__presets button {
  font: inherit; font-size: 0.9375rem; font-weight: 500; cursor: pointer;
  padding: 8px 14px; border-radius: 9px; border: 1px solid #c9cdc4; background: #fff; color: var(--ink);
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.xg__presets button:hover { border-color: var(--ink); }
.xg__presets button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--chalk); }
.xg__note { margin-top: 24px; font-size: 0.9375rem; color: var(--slate); max-width: 34em; }
.xg__window .window__body { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: center; }
.xg-pitch { touch-action: none; cursor: crosshair; user-select: none; }
.xg-pitch image { opacity: 0.9; }
.xg-marker { fill: #fff; stroke: var(--pitch); stroke-width: 0.5; transition: r 0.15s ease; }
.xg-cone { fill: rgba(255, 255, 255, 0.14); stroke: rgba(255, 255, 255, 0.55); stroke-width: 0.25; }
.xg__value { display: flex; align-items: baseline; gap: 10px; }
.xg__value .num { font-size: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); line-height: 0.9; color: var(--on-dark); }
.xg__value span:last-child { font-size: 1.25rem; color: var(--on-dark-3); }
.xg__detail { margin-top: 14px; color: var(--on-dark-2); font-size: 0.9375rem; }
.xg__plain { margin-top: 6px; color: var(--oranje-text); font-weight: 600; }
@media (max-width: 1100px) { .xg__window .window__body { grid-template-columns: 1fr; } }

/* In-development tag above the page titles */
.status-tag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; font-size: 0.875rem; font-weight: 600; color: var(--oranje-ink); }
.status-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--oranje); box-shadow: 0 0 0 4px rgba(255, 106, 26, 0.18); }
.dark .status-tag { color: var(--oranje-text); }

/* About: more than one person in the team band */
.founder__cards { display: grid; gap: 40px; }
