/*
Theme Name: Sportseye
Author: Sportseye
Description: The Sportseye.ai website. A court-blue surface, chalk lines and one optic ball, built from the Sportseye brand kit.
Version: 1.0.1
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sportseye
*/

/* ---------- Tokens (from the brand kit) ---------- */
:root {
  --chalk: #f1f2ec;
  --night: #071320;
  --court: #1a43d9;
  --optic: #d7ff3d;
  --clay: #e2623a;
  --grass: #1b6a44;
  --ground: var(--chalk);
  --ground-raised: #fbfbf8;
  --ground-sunken: #e5e7df;
  --ink: var(--night);
  --ink-muted: #4a5a6d;
  --ink-faint: #6f7d8c;
  --line: rgba(7, 19, 32, 0.14);
  --line-strong: #6f7d8c;
  --ball: var(--court);
  --court-ink: var(--court);
  --court-soft: #dde4fa;
  --clay-ink: #b43d1d;
  --clay-soft: #f7e0d6;
  --grass-ink: var(--grass);
  --grass-soft: #dbeee2;
  --on-court: var(--chalk);
  --on-optic: var(--night);
  --on-clay: var(--night);
  --on-grass: var(--chalk);
  --action: var(--night);
  --on-action: var(--chalk);
  --action-ball: var(--optic);
  --on-action-ball: var(--night);
  --call-in: var(--court-ink);
  --call-out: var(--clay-ink);
  --focus-ring: var(--court);
  --font-display: "Sofia Sans Extra Condensed", "Arial Narrow", Impact, sans-serif;
  --font-sans: "Sofia Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  --radius-none: 0px;
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-ball: 999px;
  --stroke-hair: 1px;
  --stroke-line: 2px;
  --stroke-trace: 3px;
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-ui: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-tap: 120ms;
  --dur-ui: 240ms;
  --dur-move: 500ms;
  --dur-reveal: 900ms;
  --stagger: 40ms;
}
.t-day {
  --chalk: #f1f2ec;
  --night: #071320;
  --court: #1a43d9;
  --optic: #d7ff3d;
  --clay: #e2623a;
  --grass: #1b6a44;
  --ground: var(--chalk);
  --ground-raised: #fbfbf8;
  --ground-sunken: #e5e7df;
  --ink: var(--night);
  --ink-muted: #4a5a6d;
  --ink-faint: #6f7d8c;
  --line: rgba(7, 19, 32, 0.14);
  --line-strong: #6f7d8c;
  --ball: var(--court);
  --court-ink: var(--court);
  --court-soft: #dde4fa;
  --clay-ink: #b43d1d;
  --clay-soft: #f7e0d6;
  --grass-ink: var(--grass);
  --grass-soft: #dbeee2;
  --on-court: var(--chalk);
  --on-optic: var(--night);
  --on-clay: var(--night);
  --on-grass: var(--chalk);
  --action: var(--night);
  --on-action: var(--chalk);
  --action-ball: var(--optic);
  --on-action-ball: var(--night);
  --call-in: var(--court-ink);
  --call-out: var(--clay-ink);
  --focus-ring: var(--court);
  background: var(--ground); color: var(--ink);
}
.t-night {
  --chalk: #f1f2ec;
  --night: #071320;
  --court: #1a43d9;
  --optic: #d7ff3d;
  --clay: #e2623a;
  --grass: #1b6a44;
  --ground: var(--night);
  --ground-raised: #0e2034;
  --ground-sunken: #040b14;
  --ink: var(--chalk);
  --ink-muted: #9baec2;
  --ink-faint: #6f8499;
  --line: rgba(241, 242, 236, 0.16);
  --line-strong: #62778c;
  --ball: var(--optic);
  --court-ink: #7391ff;
  --court-soft: #12284e;
  --clay-ink: #ff8e6b;
  --clay-soft: #3a1c12;
  --grass-ink: #62d197;
  --grass-soft: #10301f;
  --on-court: var(--chalk);
  --on-optic: var(--night);
  --on-clay: var(--night);
  --on-grass: var(--chalk);
  --action: var(--optic);
  --on-action: var(--night);
  --action-ball: var(--night);
  --on-action-ball: var(--optic);
  --call-in: var(--court-ink);
  --call-out: var(--clay-ink);
  --focus-ring: var(--optic);
  background: var(--ground); color: var(--ink);
}

:root { --gutter: clamp(20px, 3.4vw, 56px); --sec: clamp(72px, 9vw, 136px); --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h10M8.5 3.5 13 8l-4.5 4.5' fill='none' stroke='%23071320' stroke-width='1.8'/%3E%3C/svg%3E"); }
.t-night { --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h10M8.5 3.5 13 8l-4.5 4.5' fill='none' stroke='%23d7ff3d' stroke-width='1.8'/%3E%3C/svg%3E"); }
.g-court { background: var(--court); color: var(--chalk); --ink: var(--chalk); --ink-muted: var(--chalk); --ball: var(--optic); --line: rgba(241, 242, 236, 0.3); --action: var(--chalk); --on-action: var(--night); --action-ball: var(--optic); --focus-ring: var(--optic); --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h10M8.5 3.5 13 8l-4.5 4.5' fill='none' stroke='%23071320' stroke-width='1.8'/%3E%3C/svg%3E"); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font-sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p, figure, ul { margin: 0; }
a { color: inherit; }
svg { max-width: 100%; }
.wp-site-blocks > *, .wp-block-post-content > *, .se-main > * { margin-block-start: 0; margin-block-end: 0; }
:where(.wp-site-blocks, .wp-block-post-content, .wp-block-group) > * { margin-block-start: 0; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }

/* ---------- Component styles from the brand kit ---------- */
/* Sportseye.ai component styles. Loads after tokens.css; every colour, size and curve comes from a token. */
.se, .se *, .se *::before, .se *::after { box-sizing: border-box; }
.se { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 26px; -webkit-font-smoothing: antialiased; }
.se-pad { padding: var(--space-6); }
.se-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); }

/* The four voices */
.se-display { margin: 0; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; line-height: 0.86; }
.se-label { font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.se-readout { font-family: var(--font-mono); font-size: 14px; line-height: 20px; font-weight: 500; font-variant-numeric: tabular-nums; }
.se-insight { margin: 0; font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 36px; line-height: 1.1; letter-spacing: -0.01em; text-wrap: balance; }

/* Button: a pill with the ball inside */
.se-btn { display: inline-flex; align-items: center; gap: var(--space-3); height: 48px; padding: 0 6px 0 var(--space-5); border: 0; border-radius: var(--radius-ball); background: var(--action); color: var(--on-action); font-family: var(--font-sans); font-size: 15px; line-height: 20px; font-weight: 600; text-decoration: none; cursor: pointer; }
.se-btn__ball { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius-ball); background: var(--action-ball); color: var(--on-action-ball); transition: transform var(--dur-ui, 240ms) var(--ease-bounce, cubic-bezier(0.34, 1.56, 0.64, 1)); }
.se-btn:hover .se-btn__ball { transform: scale(1.1); }
.se-btn:active .se-btn__ball { transform: scale(0.94); transition-duration: var(--dur-tap, 120ms); }
.se-btn--line { padding: 0 var(--space-5); background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); transition: box-shadow var(--dur-ui, 240ms) var(--ease-ui, cubic-bezier(0.25, 1, 0.5, 1)); }
.se-btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.se-link { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--court-ink); font-weight: 600; font-size: 15px; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.se-btn:focus-visible, .se-link:focus-visible, .se-tag:focus-visible { outline: var(--stroke-line, 2px) solid var(--focus-ring); outline-offset: 3px; }

/* Line call: the word, a shape and a colour, never colour alone */
.se-call { display: inline-flex; align-items: center; gap: var(--space-2); height: 28px; padding: 0 12px 0 10px; border-radius: var(--radius-ball); font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.se-call::before { content: ""; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.se-call--in { background: var(--court-soft); color: var(--call-in); }
.se-call--in::before { background: currentColor; }
.se-call--out { background: var(--clay-soft); color: var(--call-out); }
.se-call--out::before { box-shadow: inset 0 0 0 2.5px currentColor; }
.se-call--review { background: var(--ground-sunken); color: var(--ink-muted); }
.se-call--review::before { width: 10px; height: 2px; border-radius: 0; background: currentColor; }

/* Stat tile */
.se-stat { display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; padding: var(--space-5); background: var(--ground-raised); border: var(--stroke-hair, 1px) solid var(--line); border-radius: var(--radius-md); }
.se-stat__value { display: flex; align-items: baseline; gap: var(--space-2); }
.se-stat__num { font-family: var(--font-display); font-weight: 700; font-size: 96px; line-height: 0.85; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.se-stat__unit { font-family: var(--font-mono); font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink-muted); }
.se-stat__delta { font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 600; }
.se-stat__delta--up { color: var(--grass-ink); }
.se-stat__delta--down { color: var(--clay-ink); }

/* Tag */
.se-tag { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border: 0; border-radius: var(--radius-ball); background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 500; cursor: pointer; }
.se-tag[aria-pressed="true"] { background: var(--ink); color: var(--ground); box-shadow: none; }

/* Card */
.se-card { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-6); background: var(--ground-raised); border: var(--stroke-hair, 1px) solid var(--line); border-radius: var(--radius-md); }

/* Calibration mark */
.se-plus { position: relative; display: inline-block; width: 12px; height: 12px; color: var(--ink-faint); }
.se-plus::before, .se-plus::after { content: ""; position: absolute; background: currentColor; }
.se-plus::before { left: 0; right: 0; top: 5px; height: 2px; }
.se-plus::after { top: 0; bottom: 0; left: 5px; width: 2px; }

@media (prefers-reduced-motion: reduce) { .se *, .se *::before, .se *::after { animation: none !important; transition: none !important; } }


/* ---------- Type ---------- */
.se-eyebrow { font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.se-display { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; line-height: 0.84; letter-spacing: -0.01em; }
.se-display--xl { font-size: 14.2vw; }
.se-display--l { font-size: clamp(64px, 9.4vw, 156px); line-height: 0.86; }
.se-display--m { font-size: clamp(38px, 4.2vw, 60px); line-height: 0.9; letter-spacing: -0.005em; }
.se-display--ball::after { content: ""; display: inline-block; width: 0.19em; height: 0.19em; margin-left: 0.035em; border-radius: 50%; background: var(--ball); }
.se-display--ring::after { content: ""; display: inline-block; width: 0.19em; height: 0.19em; margin-left: 0.035em; border-radius: 50%; box-shadow: inset 0 0 0 0.045em currentColor; }
.se-lead { max-width: 34em; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; }
.se-muted { color: var(--ink-muted); }
.se-readout--l { font-size: 20px; line-height: 28px; }

/* ---------- Buttons (WordPress button blocks and plain links) ---------- */
.wp-block-buttons.se-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.wp-block-button.se-btn, .wp-block-button.se-btn--line { height: auto; padding: 0; background: none; box-shadow: none; border-radius: 0; }
.wp-block-button.se-btn > .wp-block-button__link, a.se-btn { display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 8px 0 26px; border: 0; border-radius: 999px; background: var(--action); color: var(--on-action); font-family: var(--font-sans); font-size: 16px; line-height: 1; font-weight: 600; text-decoration: none; white-space: nowrap; }
.wp-block-button.se-btn > .wp-block-button__link::after, a.se-btn::after { content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--action-ball) var(--arrow) center / 16px no-repeat; transition: transform var(--dur-ui) var(--ease-bounce); }
.wp-block-button.se-btn > .wp-block-button__link:hover::after, a.se-btn:hover::after { transform: scale(1.12); }
.wp-block-button.se-btn--line > .wp-block-button__link, a.se-btn--line { display: inline-flex; align-items: center; height: 52px; padding: 0 26px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); font-family: var(--font-sans); font-size: 16px; line-height: 1; font-weight: 600; text-decoration: none; white-space: nowrap; transition: box-shadow var(--dur-ui) var(--ease-ui); }
.wp-block-button.se-btn--line > .wp-block-button__link:hover, a.se-btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
a.se-btn--sm { height: 42px; padding: 0 5px 0 18px; font-size: 14px; }
a.se-btn--sm::after { width: 32px; height: 32px; background-size: 14px; }
.se-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; color: var(--court-ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }

/* ---------- Header ---------- */
header.wp-block-template-part { position: sticky; top: 0; z-index: 50; }
.admin-bar header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { .admin-bar header.wp-block-template-part { top: 46px; } }
.se-header { padding: 14px var(--gutter) 0; }
.se-header__bar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 60px; padding: 0 9px 0 22px; border-radius: 999px; background: color-mix(in srgb, var(--ground-raised) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--line); }
.se-header__logo { display: block; width: 168px; color: var(--ink); --lg-ball: var(--ball); }
.lg-svg { display: block; width: 100%; height: auto; overflow: visible; }
.lg-line { stroke: currentColor; }
.lg-ball { fill: var(--lg-ball, currentColor); }
.se-nav { display: flex; align-items: center; gap: 4px; }
.se-nav a { padding: 9px 15px; border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; transition: background var(--dur-ui) var(--ease-ui); }
.se-nav a:hover { background: var(--ground-sunken); }
.se-nav a[aria-current="page"] { box-shadow: inset 0 0 0 1.5px var(--ink); }
.se-header__right { display: flex; align-items: center; gap: 8px; }
.se-menu { display: none; height: 42px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); font: 600 14px/1 var(--font-sans); cursor: pointer; }

/* ---------- Hero ---------- */
.se-hero { padding: clamp(28px, 4.6vw, 72px) var(--gutter) 0; }
.se-hero > .se-display { margin-top: clamp(14px, 1.6vw, 24px); }
.se-hero__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 48px; margin-top: clamp(20px, 2.6vw, 40px); padding-bottom: clamp(28px, 4vw, 56px); }
.se-band { padding: clamp(18px, 2.8vw, 44px) var(--gutter) clamp(14px, 1.6vw, 24px); }
.se-band svg { display: block; width: 100%; height: auto; overflow: visible; }
.se-band__cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: 14px; }
.se-band__cap p { font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.se-phero { padding: clamp(36px, 6vw, 96px) var(--gutter) clamp(40px, 5vw, 80px); }
.se-phero > .se-display { margin-top: clamp(14px, 1.6vw, 24px); }
.se-phero > .se-lead { margin-top: clamp(20px, 2.4vw, 36px); }

/* ---------- Court graphics ---------- */
.c-fill { fill: var(--court); }
.c-line { fill: none; stroke: var(--chalk); stroke-width: 2px; vector-effect: non-scaling-stroke; }
.c-net { fill: none; stroke: var(--chalk); stroke-width: 2px; stroke-dasharray: 2 5; vector-effect: non-scaling-stroke; }
.c-dot { fill: var(--chalk); }
.c-ndot { fill: var(--night); }
.c-ring { fill: none; stroke: var(--chalk); stroke-width: 2.5px; vector-effect: non-scaling-stroke; }
.c-ball { fill: var(--optic); }
.c-kitchen { fill: var(--optic); }
.c-tag { fill: var(--night); }
.c-text { font-family: var(--font-mono); font-weight: 600; letter-spacing: 0.06em; fill: var(--chalk); }
.c-zone { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; fill: var(--chalk); opacity: 0.8; }
.d-line { fill: none; stroke: var(--ink); stroke-width: 2px; vector-effect: non-scaling-stroke; }
.d-hair { fill: none; stroke: var(--line-strong); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.d-mark { fill: none; stroke: var(--ink-faint); stroke-width: 2px; vector-effect: non-scaling-stroke; }
.d-dot { fill: var(--ink); }
.d-ball { fill: var(--ball); }
.d-text { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; fill: var(--ink-muted); }

/* ---------- Sections ---------- */
.se-sec { padding: var(--sec) var(--gutter); }
.se-sec__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 16px; row-gap: 18px; align-items: end; margin-bottom: clamp(36px, 5vw, 72px); }
.se-sec__head > .se-eyebrow { grid-column: 1 / -1; }
.se-sec__head > .se-display { grid-column: 1 / span 8; }
.se-sec__head > .se-lead { grid-column: 9 / -1; }
.se-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.se-step { display: flex; flex-direction: column; gap: 14px; padding-top: 22px; border-top: 2px solid var(--ink); }
.se-step > p:last-child { max-width: 30em; color: var(--ink-muted); }
.se-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.se-tile { grid-column: span 6; display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: clamp(20px, 2.4vw, 32px); background: var(--ground-raised); border: 1px solid var(--line); border-radius: var(--radius-md); }
.se-tile--7 { grid-column: span 7; }
.se-tile--5 { grid-column: span 5; }
.se-tile h3 { font-size: 24px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
.se-tile > p { color: var(--ink-muted); }
.se-viz { margin-top: auto; padding-top: 14px; }
.se-viz svg { display: block; width: 100%; height: auto; }
.se-viz .se-row { gap: 10px; margin-bottom: 14px; }
.se-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.se-nums b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(56px, 6vw, 92px); line-height: 0.85; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.se-nums i { display: block; margin-top: 8px; font-style: normal; font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--ink-muted); }
.se-sports { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.se-sport { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.se-sport__court { display: grid; place-items: center; aspect-ratio: 16 / 9; padding: clamp(16px, 2.6vw, 40px); background: var(--court); }
.se-sport__court svg { display: block; width: 100%; height: auto; overflow: visible; }
.se-sport > p { max-width: 32em; color: var(--ink-muted); }
.se-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; padding: 0; list-style: none; }
.se-list li { padding: 14px 0; border-top: 1px solid var(--line); font-weight: 500; }
.se-rows { display: flex; flex-direction: column; gap: clamp(48px, 7vw, 112px); }
.se-rowx { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 16px; row-gap: 24px; align-items: center; }
.se-rowx__viz { grid-column: 1 / span 6; padding: clamp(16px, 2.4vw, 36px); background: var(--ground-raised); border: 1px solid var(--line); }
.se-rowx__viz svg { display: block; width: 100%; height: auto; }
.se-rowx__text { grid-column: 8 / -1; display: flex; flex-direction: column; gap: 16px; }
.se-rowx:nth-child(even) .se-rowx__viz { grid-column: 7 / -1; order: 2; }
.se-rowx:nth-child(even) .se-rowx__text { grid-column: 1 / span 5; order: 1; }
.se-rowx__text > p:last-child { color: var(--ink-muted); }
.se-quote { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 16px; row-gap: 24px; }
.se-quote > * { grid-column: 1 / span 9; }
.se-quote .se-insight { font-size: clamp(34px, 4.6vw, 72px); line-height: 1.04; }
.se-contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.se-ctile { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: clamp(20px, 2.4vw, 32px); background: var(--ground-raised); border: 1px solid var(--line); border-radius: var(--radius-md); }
.se-ctile .se-big { font-family: var(--font-mono); font-size: clamp(17px, 1.6vw, 22px); line-height: 1.3; font-weight: 500; overflow-wrap: anywhere; }
.se-ctile .se-big a { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.se-ctile > p:last-child { color: var(--ink-muted); }

/* ---------- Call to action and footer ---------- */
.se-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px 48px; padding: var(--sec) var(--gutter); }
.se-cta .se-lead { margin-top: clamp(18px, 2vw, 28px); }
.se-footer { padding: clamp(48px, 6vw, 96px) var(--gutter) 28px; }
.se-footer__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 16px; }
.se-footer__brand { grid-column: span 6; display: flex; flex-direction: column; gap: 18px; }
.se-footer__brand .se-footer__logo { width: 200px; color: var(--ink); --lg-ball: var(--ball); }
.se-footer__col { grid-column: span 3; display: flex; flex-direction: column; gap: 10px; }
.se-footer__col a { width: fit-content; text-decoration: none; }
.se-footer__col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.se-footer__word { margin-top: clamp(40px, 6vw, 96px); color: var(--ink); --lg-ball: var(--ball); }
.se-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: 22px; }

/* ---------- Blog and plain pages ---------- */
.se-prose { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 96px) var(--gutter) var(--sec); }
.se-prose > * + * { margin-top: 1.1em; }
.se-prose h1 { font-size: clamp(34px, 4vw, 52px); line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; }
.se-prose h2 { font-size: 28px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
.se-prose h2 a { text-decoration: none; }
.se-prose a { color: var(--court-ink); }
.se-prose ul { padding-left: 1.2em; }

/* ---------- Motion ---------- */
.js .se-reveal { opacity: 0; transform: translateY(28px); }
.js .se-reveal.is-in { opacity: 1; transform: none; transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js .se-rise { clip-path: inset(0 0 100% 0); transform: translateY(16%); }
.js .se-rise.is-in { clip-path: inset(-12% -4% -12% -4%); transform: none; transition: clip-path var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out); }
.js .se-anim .se-tr { opacity: 0; }
.js .se-anim.is-in .se-tr { opacity: 1; transition: opacity 160ms linear; transition-delay: calc(var(--i) * 70ms + 350ms); }
.js .se-anim .se-tb { transform: scale(0); transform-box: fill-box; transform-origin: center; }
.js .se-anim.is-in .se-tb { transform: scale(1); transition: transform var(--dur-ui) var(--ease-bounce) 1250ms; }
.js .se-anim .se-tt { opacity: 0; }
.js .se-anim.is-in .se-tt { opacity: 1; transition: opacity var(--dur-move) var(--ease-out) 1500ms; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .se-reveal, .js .se-rise, .js .se-anim .se-tr, .js .se-anim .se-tb, .js .se-anim .se-tt { opacity: 1; transform: none; clip-path: none; transition: none; }
}

/* ---------- Smaller screens ---------- */
@media (max-width: 900px) {
  .se-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px; border-radius: 24px; background: var(--ground-raised); box-shadow: inset 0 0 0 1px var(--line); }
  .se-nav.is-open { display: flex; }
  .se-nav a { padding: 14px 16px; font-size: 17px; }
  .se-menu { display: inline-flex; align-items: center; }
  .se-header__logo { width: 150px; }
  .se-header__right a.se-btn { display: none; }
  .se-hero__row, .se-cta { grid-template-columns: minmax(0, 1fr); }
  .se-sec__head > .se-display, .se-sec__head > .se-lead, .se-quote > * { grid-column: 1 / -1; }
  .se-steps, .se-sports, .se-contact { grid-template-columns: minmax(0, 1fr); }
  .se-step { padding-bottom: 12px; }
  .se-tile, .se-tile--7, .se-tile--5 { grid-column: 1 / -1; }
  .se-rowx__viz, .se-rowx__text, .se-rowx:nth-child(even) .se-rowx__viz, .se-rowx:nth-child(even) .se-rowx__text { grid-column: 1 / -1; order: 0; }
  .se-footer__brand { grid-column: 1 / -1; }
  .se-footer__col { grid-column: span 6; }
}
@media (max-width: 700px) {
  .se-display--xl { font-size: 21vw; }
  .se-band .se-tt { display: none; }
  .se-list { grid-template-columns: minmax(0, 1fr); }
  .se-nums { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .se-nums > div { display: flex; align-items: baseline; gap: 12px; }
  .se-nums i { margin-top: 0; }
}
