
/* ==========================================================================
   PowerTrader: design tokens
   Fonts: Figtree and Geist Mono (variable), loaded from the fontsource CDN.
   ========================================================================== */
@font-face { font-family: "Figtree"; src: url(/fonts/figtree.woff2) format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(/fonts/geist-mono.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  /* Surfaces */
  --ground: #e6edf4;          /* pale court-blue frame around the shell */
  --shell: #ffffff;           /* the white rounded shell */
  --surface: #f3f7fb;         /* tinted panels inside the shell */
  --surface-2: #e9f1f8;
  /* Ink */
  --ink: #0b1a30;
  --ink-2: #2c3b52;
  --muted: #5a6880;
  --faint: #8a97ab;
  --line: rgba(11, 26, 48, .09);
  --line-2: rgba(11, 26, 48, .16);
  /* Navy feature cards */
  --navy: #0c1b34;
  --navy-2: #142a4c;
  --navy-3: #1d3660;
  --on-navy: #f3f7fc;
  --on-navy-2: #a9b8cf;
  --navy-line: rgba(255, 255, 255, .12);
  /* Sky accent (the one accent) */
  --sky: #2f9cf0;
  --sky-2: #8ccbf8;
  --sky-tint: #e2f0fc;
  --sky-ink: #0b5fae;
  --blue: #146dc6;            /* membership highlight, white text passes AA */
  --blue-2: #0f5fae;
  /* States */
  --ok: #17845a;
  --ok-tint: #e3f4ec;
  --danger: #c0392b;
  --danger-tint: #fdecea;
  /* Radius scale: shell 28, media 22, cards 18, controls 12, pills full */
  --r-shell: 28px;
  --r-xl: 22px;
  --r-lg: 18px;
  --r-md: 12px;
  --r-sm: 8px;
  --r-pill: 999px;
  /* Shadows tinted with ink */
  --shadow-1: 0 1px 2px rgba(11, 26, 48, .06), 0 2px 8px -2px rgba(11, 26, 48, .06);
  --shadow-2: 0 1px 2px rgba(11, 26, 48, .05), 0 14px 34px -14px rgba(11, 26, 48, .22);
  --shadow-3: 0 2px 6px rgba(11, 26, 48, .06), 0 34px 70px -28px rgba(11, 26, 48, .34);
  /* Type */
  --font: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --fs-display: clamp(3rem, 5.3vw, 4.5rem);     /* 48 to 72 px, the home hero headline */
  --fs-h1: clamp(2.25rem, 1.4rem + 2.6vw, 3.75rem);  /* 36 to 60 px, inner page titles */
  --fs-h2: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem);  /* 28 to 44 px, section headings */
  --fs-h3: clamp(1.25rem, 1.12rem + .45vw, 1.55rem);
  --fs-lead: clamp(1.0625rem, .98rem + .38vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-sm: .9375rem;
  --fs-xs: .8125rem;
  /* Motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --d-press: 140ms;
  --d-fast: 180ms;
  --d-mid: 260ms;
  --d-reveal: 680ms;
  /* Layout */
  --container: 1320px;
  --gutter: clamp(18px, 3.4vw, 44px);
  --frame: 12px;
  --header-h: 76px;
  --section: clamp(80px, 9vw, 140px);
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ground); -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-size: var(--fs-body); line-height: 1.6; font-weight: 400; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-feature-settings: "ss01" 0; overflow-x: hidden; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-weight: 400; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: #bfe1fb; color: var(--ink); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .on-blue :focus-visible { outline-color: #fff; }
.num, .tabular { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); font-size: .8125rem; letter-spacing: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.i-sm { width: 16px; height: 16px; }
.i-lg { width: 24px; height: 24px; }

.skip-link { position: fixed; left: 16px; top: 12px; z-index: 200; padding: 12px 18px; border-radius: var(--r-pill); background: var(--navy); color: #fff; font-weight: 600; transform: translateY(-160%); transition: transform var(--d-fast) var(--ease-out); }
.skip-link:focus-visible { transform: none; }

/* The white rounded shell that holds the whole site */
.shell { position: relative; margin: var(--frame); background: var(--shell); border-radius: var(--r-shell); overflow: clip; min-height: calc(100vh - var(--frame) * 2); box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 1px 3px rgba(11, 26, 48, .05); }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(56px, 6vw, 88px); }

/* Type helpers */
.display { font-size: var(--fs-display); line-height: 1.04; letter-spacing: -.024em; font-weight: 400; }
.h1 { font-size: var(--fs-h1); line-height: 1; letter-spacing: -.036em; font-weight: 360; }
.h2 { font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -.03em; font-weight: 380; }
.h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -.012em; font-weight: 560; }
.h4 { font-size: 1.0625rem; line-height: 1.35; font-weight: 600; letter-spacing: -.005em; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.body { color: var(--ink-2); max-width: 66ch; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }
.xs { font-size: var(--fs-xs); }
.label { font-family: var(--mono); font-size: .75rem; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.soft { color: var(--muted); }
.stack-xs > * + * { margin-top: 8px; }
.stack-sm > * + * { margin-top: 14px; }
.stack > * + * { margin-top: 22px; }
.stack-lg > * + * { margin-top: 36px; }
.link { color: var(--sky-ink); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; border-radius: 6px; transition: color var(--d-fast); }
.link .i { transition: transform var(--d-fast) var(--ease-out); }
.link:hover { color: var(--blue-2); }
.link:hover .i { transform: translateX(3px); }
.text-link { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: text-decoration-color var(--d-fast); }
.text-link:hover { text-decoration-color: currentColor; }

/* ==========================================================================
   Buttons, chips, controls
   ========================================================================== */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--r-pill); font-size: .9375rem; font-weight: 600; letter-spacing: -.005em; line-height: 1; white-space: nowrap; border: 1px solid transparent; transition: transform var(--d-press) var(--ease-out), background-color var(--d-fast), color var(--d-fast), border-color var(--d-fast), box-shadow var(--d-fast); -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97); }
.btn .i { transition: transform var(--d-fast) var(--ease-out); }
.btn:hover .i-go { transform: translateX(3px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 8px 20px -10px rgba(12, 27, 52, .6); }
.btn-primary:hover { background: var(--navy-3); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -10px rgba(20, 109, 198, .7); }
.btn-blue:hover { background: var(--blue-2); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--surface); border-color: rgba(11,26,48,.24); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--sky-tint); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.06); }
.btn-outline-light:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.7); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .875rem; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .7s linear infinite; }
.btn-ghost.is-loading::after { border-color: var(--line-2); border-top-color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; color: var(--ink); transition: transform var(--d-press) var(--ease-out), background-color var(--d-fast), border-color var(--d-fast), opacity var(--d-fast); }
.icon-btn:hover { background: var(--surface); }
.icon-btn:active { transform: scale(.94); }
.icon-btn[disabled] { opacity: .35; cursor: default; transform: none; }
.icon-btn.dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.icon-btn.dark:hover { background: var(--navy-3); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: #fff; color: var(--ink-2); font-size: .875rem; font-weight: 550; white-space: nowrap; transition: background-color var(--d-fast), color var(--d-fast), border-color var(--d-fast), transform var(--d-press) var(--ease-out); }
.chip:hover { border-color: rgba(11,26,48,.28); color: var(--ink); }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"], .chip.is-active, .choice input:checked + .chip { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip .count { font-family: var(--mono); font-size: .75rem; opacity: .7; }
.choice { position: relative; display: inline-flex; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice input:focus-visible + .chip, .choice input:focus-visible + .slot, .choice input:focus-visible + .day { outline: 2px solid var(--sky); outline-offset: 2px; }
.choice input:disabled { cursor: not-allowed; }

.seg { display: inline-flex; padding: 4px; gap: 2px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--line); }
.seg .choice .chip { border: 0; background: transparent; min-height: 36px; padding: 0 16px; }
.seg .choice input:checked + .chip { background: #fff; color: var(--ink); box-shadow: var(--shadow-1); }
.on-dark .seg { background: rgba(255,255,255,.08); border-color: var(--navy-line); }
.on-dark .seg .choice .chip { color: var(--on-navy-2); }
.on-dark .seg .choice input:checked + .chip { background: #fff; color: var(--navy); }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--ink-2); font-size: .75rem; font-weight: 600; letter-spacing: .01em; white-space: nowrap; }
.badge.sky { background: var(--sky-tint); color: var(--sky-ink); }
.badge.ok { background: var(--ok-tint); color: var(--ok); }
.badge.navy { background: var(--navy); color: #fff; }
.badge.line { background: transparent; border: 1px solid var(--line-2); }

/* Switch */
.switch { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: .9375rem; font-weight: 550; cursor: pointer; }
.switch-track { position: relative; width: 46px; height: 28px; border-radius: var(--r-pill); background: rgba(255,255,255,.18); border: 1px solid var(--navy-line); transition: background-color var(--d-mid) var(--ease-out); flex: none; }
.switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.25); transition: transform var(--d-mid) var(--ease-out); }
.switch[aria-checked="true"] .switch-track { background: var(--sky); border-color: var(--sky); }
.switch[aria-checked="true"] .switch-track::after { transform: translateX(18px); }
.switch.light .switch-track { background: var(--surface-2); border-color: var(--line-2); }

/* Forms */
.field { display: grid; gap: 8px; }
.field > label, .field > .field-label, fieldset > legend { font-size: .875rem; font-weight: 600; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.input, .select, .textarea { width: 100%; min-height: 50px; padding: 0 16px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: #fff; font-size: 1rem; color: var(--ink); transition: border-color var(--d-fast), box-shadow var(--d-fast), background-color var(--d-fast); }
.textarea { padding: 14px 16px; min-height: 132px; resize: vertical; line-height: 1.5; }
.select { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a6880' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; cursor: pointer; }
.input::placeholder, .textarea::placeholder { color: #7d8aa0; }
.input:hover, .select:hover, .textarea:hover { border-color: rgba(11,26,48,.28); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(47, 156, 240, .18); border-radius: var(--r-md); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea, [aria-invalid="true"] { border-color: var(--danger) !important; }
.field.has-error .input:focus-visible, .field.has-error .textarea:focus-visible { box-shadow: 0 0 0 4px rgba(192, 57, 43, .14); }
.field-error { display: none; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 550; color: var(--danger); }
.field.has-error .field-error { display: flex; }
.field-hint { font-size: .8125rem; color: var(--muted); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; color: var(--ink-2); cursor: pointer; }
.check input { appearance: none; flex: none; width: 22px; height: 22px; margin: 1px 0 0; border-radius: 6px; border: 1.5px solid var(--line-2); background: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color var(--d-fast), border-color var(--d-fast); }
.check input:checked { background: var(--navy); border-color: var(--navy); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); background-position: center; background-repeat: no-repeat; }
.check input:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .span-2 { grid-column: 1 / -1; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset > legend { padding: 0; margin-bottom: 10px; }
.form-note { display: flex; gap: 10px; align-items: flex-start; font-size: .8125rem; color: var(--muted); }

/* Success panel shared by forms */
.success { display: none; padding: 28px; border-radius: var(--r-lg); background: var(--ok-tint); color: var(--ink); }
.success.is-shown { display: block; animation: rise var(--d-reveal) var(--ease-out) both; }
.success .tick { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ok); color: #fff; margin-bottom: 16px; }
.success .tick .i { stroke-width: 2.5; }
.preview-note { display: inline-flex; gap: 8px; align-items: center; margin-top: 14px; font-size: .8125rem; color: var(--ink-2); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 60; height: var(--header-h); display: flex; align-items: center; transition: background-color var(--d-mid), box-shadow var(--d-mid), border-radius var(--d-mid); }
.site-header::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.84); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); opacity: 0; transition: opacity var(--d-mid); border-radius: 0 0 20px 20px; box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(11,26,48,.25); }
.site-header.is-scrolled::before { opacity: 1; }
.header-inner { position: relative; display: flex; align-items: center; gap: 24px; width: 100%; padding-inline: clamp(16px, 2.2vw, 28px); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1.125rem; letter-spacing: -.015em; white-space: nowrap; border-radius: 10px; }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand b { font-weight: 700; }
.brand span { font-weight: 450; color: var(--ink-2); }
.nav { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav a { position: relative; display: inline-flex; align-items: center; height: 44px; padding: 0 14px; border-radius: var(--r-pill); font-size: .9375rem; font-weight: 520; color: var(--ink-2); transition: color var(--d-fast), background-color var(--d-fast); }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 7px; height: 2px; border-radius: 2px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform var(--d-mid) var(--ease-out); }
.nav a:hover { color: var(--ink); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 620; }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: var(--r-pill); font-size: .9375rem; font-weight: 550; color: var(--ink-2); }
.header-phone:hover { background: var(--surface); color: var(--ink); }
.menu-btn { display: none; }

/* Mobile sheet */
.sheet { position: fixed; inset: 0; z-index: 120; display: grid; visibility: hidden; pointer-events: none; }
.sheet.is-open { visibility: visible; pointer-events: auto; }
.sheet-scrim { position: absolute; inset: 0; background: rgba(8, 18, 36, .42); opacity: 0; transition: opacity var(--d-mid) var(--ease-out); }
.sheet.is-open .sheet-scrim { opacity: 1; }
.sheet-panel { position: absolute; top: 8px; right: 8px; left: 8px; max-height: calc(100dvh - 16px); overflow: auto; background: #fff; border-radius: 24px; padding: 14px 18px 24px; box-shadow: var(--shadow-3); transform: translateY(-14px) scale(.985); opacity: 0; transform-origin: top center; transition: transform 300ms var(--ease-out), opacity 220ms var(--ease-out); }
.sheet.is-open .sheet-panel { transform: none; opacity: 1; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; height: 52px; margin-bottom: 8px; }
.sheet-nav a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 6px; border-bottom: 1px solid var(--line); font-size: 1.375rem; font-weight: 450; letter-spacing: -.02em; }
.sheet-nav a[aria-current="page"] { color: var(--sky-ink); }
.sheet-nav a .i { color: var(--faint); }
.sheet-foot { display: grid; gap: 10px; margin-top: 22px; }
.sheet-meta { margin-top: 18px; font-size: .875rem; color: var(--muted); }

/* ==========================================================================
   Routes and transitions
   ========================================================================== */
main { display: block; transition: opacity 170ms var(--ease-out), transform 170ms var(--ease-out); }
main.is-leaving { opacity: 0; transform: translateY(6px); }
.route { display: none; }
.route.is-active { display: block; animation: routeIn 360ms var(--ease-out) both; }
@keyframes routeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Reveal on scroll (content is visible without JS; .js arms it) */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity var(--d-reveal) var(--ease-out), transform var(--d-reveal) var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="scale"] { transform: scale(.975); }
.js [data-reveal="scale"].is-in { transform: none; }

/* Page header for inner routes */
.page-head { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(36px, 4.5vw, 64px); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .875rem; color: var(--muted); margin-bottom: clamp(20px, 2.6vw, 34px); }
.crumbs a { border-radius: 6px; padding: 2px 2px; transition: color var(--d-fast); }
.crumbs a:hover { color: var(--ink); }
.crumbs .i { width: 14px; height: 14px; color: var(--faint); }
.crumbs [aria-current] { color: var(--ink); font-weight: 550; }
.page-title { font-size: var(--fs-h1); line-height: 1; letter-spacing: -.036em; font-weight: 360; max-width: 16ch; }
.page-title:focus { outline: none; }
.page-intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.page-intro .lead { max-width: 46ch; }

/* ==========================================================================
   Home: hero
   ========================================================================== */
.hero { position: relative; padding: 0 clamp(8px, 1.1vw, 16px); }
/* Home hero: rounded 500 px photo band, left copy, one button, three quiet
   links bottom right. Headline 72 px at regular weight; no stat strips, chips
   or overlapping widgets. */
.hero-media { position: relative; min-height: 500px; display: flex; flex-direction: column; justify-content: center; padding: 60px 28px 80px; border-radius: var(--r-xl); overflow: hidden; background: #5f8fc4; color: #fff; isolation: isolate; }
.hero-media > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 2%; }
.hero-media::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 31, 64, .54) 0%, rgba(7, 31, 64, .3) 30%, rgba(12, 53, 89, .06) 70%); pointer-events: none; }
.hero-copy { position: relative; max-width: 640px; }
.hero-copy h1 { font-size: var(--fs-display); line-height: 1.04; letter-spacing: -.024em; font-weight: 400; max-width: 12ch; width: fit-content; text-shadow: 0 2px 24px rgba(0, 40, 80, .22); }
.hero-copy h1 .line { display: block; }
.hero-copy .lead { margin: 20px 0 26px; max-width: 21ch; font-size: 1rem; line-height: 1.55; color: rgba(255, 255, 255, .94); text-wrap: balance; text-shadow: 0 1px 12px rgba(0, 30, 60, .3); }
.hero-btn { min-height: 44px; padding: 0 20px; font-size: .875rem; font-weight: 550; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) inset, 0 10px 24px -12px rgba(5, 18, 38, .7); }
.hero-links { position: absolute; right: 20px; bottom: 20px; display: flex; gap: 2px; padding: 4px; border-radius: var(--r-pill); background: rgba(9, 26, 50, .3); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2); font-size: .8125rem; font-weight: 520; }
.hero-links a { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 0 11px; border-radius: var(--r-pill); color: #fff; transition: background-color var(--d-fast); }
.hero-links a .i { width: 14px; height: 14px; opacity: .8; transition: transform var(--d-fast) var(--ease-out); }
.hero-links a:hover { background: rgba(255, 255, 255, .14); }
.hero-links a:hover .i { transform: translate(2px, -2px); }
.hero-links a:active { background: rgba(255, 255, 255, .22); }
.hero-media :focus-visible { outline-color: #fff; }
.js .hero-media > img { animation: heroSettle 900ms var(--ease-out) both; }
.js .hero-copy .line, .js .hero-copy .lead, .js .hero-btn { animation: rise 640ms var(--ease-out) both; }
.js .hero-copy .line:nth-child(2) { animation-delay: 60ms; }
.js .hero-copy .lead { animation-delay: 120ms; }
.js .hero-btn { animation-delay: 180ms; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(24px, 2.6vw, 34px); }
.js .hero-ctas { animation: rise 640ms var(--ease-out) 180ms both; }
@keyframes heroSettle { from { transform: scale(1.03); } to { transform: none; } }

/* Quick booking bar: its own strip directly below the hero, never on it */
.qb-wrap { padding: clamp(16px, 1.8vw, 24px) clamp(8px, 1.1vw, 16px) 0; }
.quickbook { position: relative; margin: 0 auto; width: min(1080px, 100%); background: #fff; border-radius: 20px; box-shadow: var(--shadow-1); border: 1px solid var(--line-2); padding: 10px; display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr) auto; gap: 8px; align-items: stretch; }
.qb-cell { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 8px 14px; border-radius: 14px; min-width: 0; }
.qb-cell + .qb-cell { box-shadow: -1px 0 0 var(--line); border-radius: 0; }
.qb-cell .label { font-size: .6875rem; }
.qb-cell select { appearance: none; border: 0; background: transparent; font-size: 1rem; font-weight: 600; padding: 4px 22px 4px 0; min-height: 36px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230b1a30' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0 center; border-radius: 6px; width: 100%; }
.qb-cell select:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }
.qb-sport { padding: 4px; }
.qb-result { display: flex; flex-direction: row; align-items: center; gap: 12px; padding: 8px 14px; min-width: 0; }
.qb-result .avail { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--sky-tint); color: var(--sky-ink); font-weight: 700; font-size: 1.125rem; flex: none; font-variant-numeric: tabular-nums; }
.qb-result p { font-size: .875rem; line-height: 1.35; color: var(--muted); min-width: 0; }
.qb-result strong { display: block; color: var(--ink); font-size: .9375rem; font-weight: 600; }
.quickbook .btn { min-height: 52px; border-radius: 14px; padding: 0 22px; }

/* Home: statement */
.section-after-hero { padding-top: clamp(56px, 6vw, 88px); }
.statement { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: clamp(24px, 4vw, 64px); }
.statement-text { font-size: clamp(1.5rem, 1.05rem + 1.5vw, 2.5rem); line-height: 1.16; letter-spacing: -.028em; font-weight: 380; color: var(--ink); max-width: 24ch; }
.statement-text .soft { color: #8492a7; }
.pill-img { display: inline-block; width: 1.9em; height: .92em; border-radius: var(--r-pill); overflow: hidden; vertical-align: -.08em; margin: 0 .06em; box-shadow: 0 0 0 1px var(--line); }
.pill-img img { width: 100%; height: 100%; object-fit: cover; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line); }
.stat { padding: 26px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat .stat-num { margin: 0; color: var(--ink); max-width: none; font-size: clamp(2.5rem, 1.8rem + 2vw, 4rem); line-height: 1; letter-spacing: -.04em; font-weight: 340; font-variant-numeric: tabular-nums; }
.stat-num small { font-size: .5em; letter-spacing: -.02em; margin-left: 2px; color: var(--muted); }
.stat p { margin-top: 10px; font-size: .9375rem; color: var(--muted); max-width: 22ch; }

/* Home: courts bento */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(0, auto); gap: 16px; }
.tile { position: relative; border-radius: var(--r-lg); overflow: hidden; }
.tile-navy { grid-column: span 4; grid-row: span 2; background: radial-gradient(120% 80% at 100% 0%, rgba(47,156,240,.22) 0%, rgba(47,156,240,0) 55%), var(--navy); color: var(--on-navy); padding: clamp(24px, 2.6vw, 36px); display: flex; flex-direction: column; min-height: 560px; }
.tile-navy .court-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid var(--navy-line); color: var(--sky-2); }
.tile-navy h3 { margin-top: auto; font-size: clamp(1.5rem, 1.2rem + .8vw, 1.875rem); line-height: 1.08; letter-spacing: -.028em; font-weight: 380; }
.tile-navy p { color: var(--on-navy-2); margin-top: 16px; font-size: .9875rem; }
.tile-navy .switch { margin-top: 26px; color: #fff; }
.tile-navy .tile-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--navy-line); }
.tile-navy .tile-foot .link { color: #fff; }
.tile-photo { grid-column: span 8; min-height: 360px; background: var(--surface-2); }
.tile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 700ms var(--ease-out), transform 1200ms var(--ease-out); }
.tile-photo .night { opacity: 0; }
.tile-photo.is-night .night { opacity: 1; }
.tile-photo.is-night .day { opacity: 0; }
.tile-photo figcaption { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--r-pill); background: rgba(255,255,255,.86); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: .8125rem; font-weight: 600; color: var(--ink); }
.tile-slots { grid-column: span 4; background: var(--surface); padding: clamp(22px, 2.2vw, 30px); display: flex; flex-direction: column; }
.slot-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.slot-row:first-of-type { border-top: 0; }
.slot-row .t { font-family: var(--mono); font-size: .9375rem; font-weight: 500; }
.slot-row .w { font-size: .9375rem; font-weight: 600; line-height: 1.25; }
.slot-row .w span { display: block; font-weight: 400; color: var(--muted); font-size: .8125rem; }
.tile-detail { grid-column: span 4; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.tile-detail .img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.tile-detail .img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.tile-detail .copy { padding: 20px 22px 22px; }

/* Section headers */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head .h2 { max-width: 18ch; }
.sec-head .lead { margin-top: 16px; }
.sec-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

/* Program rail */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(286px, 28vw, 384px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 4px var(--gutter) 24px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.pcard { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); background: #fff; transition: transform var(--d-mid) var(--ease-out); }
.pcard[hidden] { display: none; }
.pcard .img { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); }
.pcard .img img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.pcard .go { position: absolute; right: 14px; bottom: 14px; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow-2); transition: transform var(--d-mid) var(--ease-out), background-color var(--d-fast), color var(--d-fast); }
.pcard .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.pcard h3 { margin-top: 12px; }
.pcard p { margin-top: 8px; color: var(--muted); font-size: .9375rem; }
.pcard .foot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: auto; padding-top: 16px; font-size: .875rem; color: var(--ink-2); }
.pcard .foot strong { font-size: 1rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.pcard a.cover { position: absolute; inset: 0; z-index: 1; border-radius: var(--r-lg); }
@media (hover: hover) and (pointer: fine) {
  .pcard:hover .img img { transform: scale(1.04); }
  .pcard:hover .go { background: var(--navy); color: #fff; transform: translate(2px, -2px); }
}
.pcard.compact .img { aspect-ratio: 3 / 2; }
.pcard-cta { background: var(--navy); color: var(--on-navy); padding: 30px; justify-content: space-between; min-height: 100%; }
.pcard-cta h3 { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); font-weight: 380; letter-spacing: -.026em; line-height: 1.1; color: #fff; margin-top: 0; }
.pcard-cta p { color: var(--on-navy-2); }
.pcard-cta .ball { width: 92px; height: 92px; }
.rail-empty { padding: 48px 0; color: var(--muted); }

/* Membership band */
.band { margin: 0 clamp(8px, 1.1vw, 16px); border-radius: var(--r-xl); background: var(--surface); }
.plans-home { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.plans-intro { display: flex; flex-direction: column; padding-right: clamp(0px, 2vw, 24px); }
.plans-intro .seg { margin-top: 28px; align-self: flex-start; }
.plans-intro .note { margin-top: auto; padding-top: 28px; }
.plan-blue { position: relative; overflow: hidden; border-radius: var(--r-lg); color: #fff; padding: clamp(26px, 2.6vw, 36px); background: radial-gradient(90% 70% at 100% 0%, rgba(140, 203, 248, .45) 0%, rgba(140,203,248,0) 60%), linear-gradient(165deg, #1a78d2 0%, var(--blue) 50%, #0f5eb0 100%); box-shadow: 0 30px 60px -30px rgba(20, 109, 198, .65); display: flex; flex-direction: column; }
.plan-blue::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.18); box-shadow: 0 0 0 40px rgba(255,255,255,.04), 0 0 0 80px rgba(255,255,255,.03); pointer-events: none; }
.plan-blue .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.plan-blue .badge { background: rgba(255,255,255,.16); color: #fff; }
.plan-name { font-size: clamp(1.5rem, 1.25rem + .8vw, 2rem); font-weight: 450; letter-spacing: -.022em; line-height: 1.1; }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 22px; font-variant-numeric: tabular-nums; }
.price .amt { font-size: clamp(3rem, 2.3rem + 2vw, 4.4rem); line-height: .9; font-weight: 330; letter-spacing: -.045em; }
.price .per { font-size: .9375rem; opacity: .9; }
.price-note { font-size: .8125rem; margin-top: 8px; min-height: 1.3em; }
.plan-blue .price-note { color: rgba(255,255,255,.92); }
.plan-list { margin-top: 24px; display: grid; gap: 12px; font-size: .9375rem; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; }
.plan-list .i { width: 18px; height: 18px; margin-top: 3px; }
.plan-blue .plan-list { color: #fff; }
.plan-blue .plan-list .i { color: var(--sky-2); stroke-width: 2.2; }
.plan-blue .btn { margin-top: 28px; position: relative; z-index: 1; }
.plan-stack { display: grid; gap: 16px; }
.plan-card { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); padding: 24px 26px; display: flex; flex-direction: column; box-shadow: var(--shadow-1); }
.plan-card .price { margin-top: 12px; }
.plan-card .price .amt { font-size: 2.5rem; }
.plan-card .price .per { color: var(--muted); }
.plan-card .price-note { color: var(--muted); }
.plan-card .plan-list { margin-top: 14px; color: var(--ink-2); gap: 8px; font-size: .875rem; }
.plan-card .plan-list .i { color: var(--sky); width: 16px; height: 16px; stroke-width: 2.2; }
.plan-card .link { margin-top: 16px; }

/* Coaches row */
.coach-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ccard { position: relative; display: block; border-radius: var(--r-lg); }
.ccard .img { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); }
.ccard .img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform 900ms var(--ease-out); }
.ccard .go { position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; opacity: 0; transform: translateY(6px); transition: opacity var(--d-mid) var(--ease-out), transform var(--d-mid) var(--ease-out); }
.ccard .info { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-top: 16px; }
.ccard h3 { font-size: 1.1875rem; font-weight: 600; letter-spacing: -.012em; line-height: 1.25; }
.ccard .role { color: var(--muted); font-size: .9375rem; margin-top: 2px; }
.ccard .yrs { font-family: var(--mono); font-size: .75rem; color: var(--muted); white-space: nowrap; padding-top: 4px; }
@media (hover: hover) and (pointer: fine) {
  .ccard:hover .img img { transform: scale(1.035); }
  .ccard:hover .go { opacity: 1; transform: none; }
}
.ccard:focus-visible .go { opacity: 1; transform: none; }

/* This week schedule */
.week { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.week-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.week-aside .img { margin-top: 32px; aspect-ratio: 5 / 4; border-radius: var(--r-lg); overflow: hidden; }
.week-aside .img img { width: 100%; height: 100%; object-fit: cover; }
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.tabs::-webkit-scrollbar { display: none; }
.day-tab { flex: 1 0 auto; min-width: 64px; display: grid; justify-items: center; gap: 2px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); transition: background-color var(--d-fast), color var(--d-fast), border-color var(--d-fast), transform var(--d-press) var(--ease-out); }
.day-tab:hover { border-color: var(--line-2); }
.day-tab:active { transform: scale(.97); }
.day-tab .dn { font-size: .75rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.day-tab .dd { font-size: 1.25rem; font-weight: 550; font-variant-numeric: tabular-nums; }
.day-tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.day-tab[aria-selected="true"] .dn { color: var(--on-navy-2); }
.sessions { margin-top: 18px; border-top: 1px solid var(--line); }
.session { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.session .time { font-family: var(--mono); font-size: .9375rem; font-variant-numeric: tabular-nums; color: var(--ink); line-height: 1.3; }
.session .time span { display: block; color: var(--muted); font-size: .8125rem; }
.session h4 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.008em; }
.session h4 a:hover { color: var(--sky-ink); }
.session .sub { margin-top: 4px; font-size: .875rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.session .act { display: flex; align-items: center; gap: 14px; }
.spots { font-size: .8125rem; font-weight: 600; color: var(--ok); white-space: nowrap; }
.spots.low { color: #a1580e; }
.spots.full { color: var(--muted); }
.sessions.is-swapping .session { animation: rise 420ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 45ms); }

/* Events */
.ev-feature { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); border-radius: var(--r-xl); overflow: hidden; background: var(--navy); color: var(--on-navy); }
.ev-feature .img { position: relative; min-height: 420px; }
.ev-feature .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ev-feature .body { padding: clamp(28px, 3.4vw, 48px); display: flex; flex-direction: column; }
.date-tile { display: inline-grid; justify-items: center; align-content: center; width: 76px; height: 82px; border-radius: 16px; background: var(--sky); color: var(--navy); flex: none; }
.date-tile .d { font-size: 2rem; line-height: 1; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.date-tile .m { font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
.date-tile.navy { background: var(--navy); color: #fff; }
.date-tile.navy .m { color: var(--on-navy-2); }
.date-tile.pale { background: var(--surface-2); color: var(--ink); }
.ev-feature h3 { margin-top: 26px; font-size: clamp(1.75rem, 1.3rem + 1vw, 2.25rem); line-height: 1.04; letter-spacing: -.03em; font-weight: 380; color: #fff; }
.ev-feature p { margin-top: 14px; color: var(--on-navy-2); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--navy-line); }
.facts dt { font-family: var(--mono); font-size: .6875rem; letter-spacing: .07em; text-transform: uppercase; color: var(--on-navy-2); }
.facts dd { margin-top: 4px; font-weight: 550; color: #fff; font-variant-numeric: tabular-nums; }
.ev-feature .actions { margin-top: auto; padding-top: 32px; display: flex; gap: 10px; flex-wrap: wrap; }
.ev-list { margin-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ev-row { position: relative; display: flex; gap: 20px; align-items: center; padding: 18px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; transition: border-color var(--d-fast), box-shadow var(--d-mid), transform var(--d-press) var(--ease-out); }
.ev-row:hover { border-color: var(--line-2); box-shadow: var(--shadow-2); }
.ev-row:active { transform: scale(.99); }
.ev-row h4 { font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; }
.ev-row p { font-size: .875rem; color: var(--muted); margin-top: 4px; }
.ev-row .arrow { margin-left: auto; color: var(--ink-2); }

/* Voices */
.voices { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 104px); align-items: stretch; }
.voices-side { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.voice-stage { position: relative; min-height: 280px; }
.voice { opacity: 0; transform: translateY(10px); transition: opacity 420ms var(--ease-out), transform 520ms var(--ease-out); }
.voice.is-current { opacity: 1; transform: none; }
.voice blockquote { font-size: clamp(1.5rem, 1.05rem + 1.45vw, 2.35rem); line-height: 1.24; letter-spacing: -.022em; font-weight: 380; max-width: 32ch; color: var(--ink); }
.voice figcaption { margin-top: 28px; display: flex; gap: 14px; align-items: center; padding-top: 22px; border-top: 1px solid var(--line-2); max-width: 32ch; }
.voice figcaption b { display: block; font-weight: 600; }
.voice figcaption span span { color: var(--muted); font-size: .9375rem; }
.voice-mark { width: 36px; height: 36px; color: var(--sky); margin-bottom: 20px; }
.voice-nav { display: flex; align-items: center; gap: 10px; }
.voice-count { font-family: var(--mono); font-size: .8125rem; color: var(--muted); min-width: 52px; text-align: center; font-variant-numeric: tabular-nums; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.desk-card { margin-top: 32px; padding: 22px; border-radius: var(--r-lg); background: var(--surface); display: flex; gap: 16px; align-items: center; }
.desk-card .ico { width: 48px; height: 48px; border-radius: 14px; background: #fff; display: grid; place-items: center; color: var(--sky-ink); flex: none; box-shadow: var(--shadow-1); }
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; text-align: left; font-size: 1.125rem; font-weight: 550; letter-spacing: -.01em; color: var(--ink); border-radius: 8px; }
.acc-btn .plus { position: relative; width: 32px; height: 32px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background-color var(--d-fast), border-color var(--d-fast), transform var(--d-mid) var(--ease-out); }
.acc-btn .plus .i { transition: transform var(--d-mid) var(--ease-out); }
.acc-btn[aria-expanded="true"] .plus { background: var(--navy); border-color: var(--navy); color: #fff; }
.acc-btn[aria-expanded="true"] .plus .i { transform: rotate(45deg); }
.acc-btn:hover .plus { border-color: rgba(11,26,48,.32); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 360ms var(--ease-out); }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding: 0 56px 24px 0; color: var(--ink-2); max-width: 64ch; }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }

/* CTA photo */
.cta { position: relative; margin: 0 clamp(8px, 1.1vw, 16px); border-radius: var(--r-xl); overflow: hidden; min-height: clamp(480px, 46vw, 640px); display: flex; align-items: flex-end; isolation: isolate; }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; z-index: -1; }
.cta-copy { margin: clamp(16px, 2.6vw, 36px); padding: clamp(26px, 3.2vw, 44px); max-width: 600px; color: var(--navy); background: rgba(255, 255, 255, .82); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(12, 27, 52, .45); border: 1px solid rgba(255,255,255,.6); }
.cta-copy h2 { font-size: var(--fs-h2); line-height: 1.02; letter-spacing: -.032em; font-weight: 380; }
.cta-copy p { margin-top: 16px; font-size: var(--fs-lead); color: var(--ink-2); max-width: 40ch; }
.cta-copy .hero-ctas { margin-top: 26px; }

/* Footer */
.footer { margin: clamp(72px, 8vw, 120px) clamp(8px, 1.1vw, 16px) clamp(8px, 1.1vw, 16px); border-radius: var(--r-xl); background: var(--navy); color: var(--on-navy); overflow: hidden; position: relative; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, .7fr)) minmax(0, 1fr); gap: 40px; padding: clamp(40px, 5vw, 72px) clamp(24px, 4.4vw, 64px) 40px; }
.footer .brand span { color: var(--on-navy-2); }
.footer h2 { font-family: var(--mono); font-size: .75rem; letter-spacing: .07em; text-transform: uppercase; color: var(--on-navy-2); font-weight: 450; margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer ul a { color: #dfe7f2; font-size: .9375rem; border-radius: 4px; transition: color var(--d-fast); }
.footer ul a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.4); }
.footer-intro p { margin-top: 18px; color: var(--on-navy-2); max-width: 34ch; font-size: .9375rem; }
.news { margin-top: 26px; display: flex; gap: 8px; max-width: 420px; }
.news-label { display: block; margin-top: 26px; font-size: .875rem; font-weight: 600; color: #fff; }
.news-label + .news { margin-top: 10px; }
.news .field { flex: 1; }
.news .input { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: #fff; min-height: 48px; border-radius: var(--r-pill); padding: 0 18px; }
.news .input::placeholder { color: #93a3bb; }
.news .input:focus-visible { border-color: var(--sky); }
.news .field-error { color: #ff9c8f; }
.news .btn { flex: none; }
.news-ok { margin-top: 12px; font-size: .875rem; color: var(--sky-2); min-height: 1.4em; }
.hours { display: grid; gap: 8px; font-size: .9375rem; color: #dfe7f2; }
.hours div { display: flex; justify-content: space-between; gap: 16px; }
.hours span:last-child { font-variant-numeric: tabular-nums; color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 22px clamp(24px, 4.4vw, 64px); border-top: 1px solid var(--navy-line); font-size: .8125rem; color: var(--on-navy-2); position: relative; z-index: 1; }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }
.socials { display: flex; gap: 8px; }
.socials button { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--navy-line); color: #dfe7f2; transition: background-color var(--d-fast), color var(--d-fast); }
.socials button:hover { background: rgba(255,255,255,.1); color: #fff; }
.wordmark { font-size: clamp(5rem, 27vw, 25rem); line-height: .78; letter-spacing: -.06em; font-weight: 600; color: var(--navy-2); padding: 0 clamp(16px, 3vw, 48px); margin-bottom: -.12em; user-select: none; white-space: nowrap; }

/* ==========================================================================
   Inner pages: shared components
   ========================================================================== */
.media { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--surface-2); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media-wide { aspect-ratio: 21 / 9; }
.media-32 { aspect-ratio: 3 / 2; }
.media-45 { aspect-ratio: 4 / 5; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split-wide { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.detail { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.sticky { position: sticky; top: calc(var(--header-h) + 20px); }
.panel { border-radius: var(--r-lg); background: var(--surface); padding: clamp(22px, 2.4vw, 32px); }
.panel-white { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.panel-navy { background: var(--navy); color: var(--on-navy); }
.kv { display: grid; gap: 0; }
.kv > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.kv > div:last-child { border-bottom: 0; }
.kv dt { color: var(--muted); }
.kv dd { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.checklist .tick { width: 26px; height: 26px; border-radius: 50%; background: var(--sky-tint); color: var(--sky-ink); display: grid; place-items: center; flex: none; margin-top: 1px; }
.checklist .tick .i { width: 14px; height: 14px; stroke-width: 2.6; }
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); }
.table { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 560px; }
.table th { text-align: left; font-family: var(--mono); font-size: .6875rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding: 14px 18px; background: var(--surface); border-bottom: 1px solid var(--line); }
.table td { padding: 15px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table td.mono { font-size: .875rem; white-space: nowrap; }
.table .center { text-align: center; }
.table td .i { color: var(--sky-ink); stroke-width: 2.2; }
.table td .no { color: var(--faint); }
.table .hl { background: rgba(226, 240, 252, .55); }
.sub-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.sub-title { font-size: clamp(1.5rem, 1.2rem + .9vw, 2rem); line-height: 1.1; letter-spacing: -.024em; font-weight: 420; }
.divider { height: 1px; background: var(--line); border: 0; margin: clamp(40px, 5vw, 64px) 0; }

/* Filter bar & cards grid */
.filterbar { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; justify-content: space-between; padding: 12px; border-radius: 20px; background: var(--surface); margin-bottom: 28px; }
.searchbox { position: relative; flex: 1 1 240px; max-width: 340px; }
.searchbox .i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.searchbox .input { padding-left: 46px; border-radius: var(--r-pill); min-height: 44px; }
.sort { display: flex; align-items: center; gap: 10px; font-size: .875rem; color: var(--muted); }
.sort .select { min-height: 44px; border-radius: var(--r-pill); width: auto; font-size: .9375rem; }
.results-meta { font-size: .875rem; color: var(--muted); margin-bottom: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.empty { display: none; text-align: left; padding: clamp(36px, 5vw, 64px); border-radius: var(--r-lg); border: 1px dashed var(--line-2); background: #fff; }
.empty.is-shown { display: grid; gap: 14px; justify-items: start; animation: rise 420ms var(--ease-out) both; }
.empty .ico { width: 52px; height: 52px; border-radius: 16px; background: var(--surface-2); display: grid; place-items: center; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.step { padding: 26px 24px 28px; border-radius: var(--r-lg); background: var(--surface); position: relative; }
.step .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--sky-ink); box-shadow: var(--shadow-1); margin-bottom: 40px; }
.step h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; }
.step p { margin-top: 8px; color: var(--muted); font-size: .9375rem; }
.step:nth-child(4) { background: var(--navy); color: #fff; }
.step:nth-child(4) p { color: var(--on-navy-2); }
.step:nth-child(4) .ico { background: rgba(255,255,255,.08); color: var(--sky-2); box-shadow: none; }

/* Coach detail */
.coach-hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.coach-hero .portrait { aspect-ratio: 4 / 5; border-radius: var(--r-xl); overflow: hidden; background: var(--surface-2); }
.coach-hero .portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.coach-name { font-size: var(--fs-h1); line-height: .98; letter-spacing: -.04em; font-weight: 360; }
.mini-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); margin-top: 32px; }
.mini-facts > div { background: #fff; padding: 18px 20px; }
.mini-facts dt { font-family: var(--mono); font-size: .6875rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.mini-facts dd { margin-top: 6px; font-size: 1.125rem; font-weight: 550; font-variant-numeric: tabular-nums; }
.avail { margin-top: 18px; }
.avail-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.avail-day { display: grid; gap: 8px; align-content: start; }
.avail-day .dh { font-size: .8125rem; color: var(--muted); text-align: center; padding-bottom: 4px; }
.avail-day .dh b { display: block; color: var(--ink); font-size: .9375rem; font-weight: 600; }
.slot { display: grid; place-items: center; width: 100%; min-height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; font-family: var(--mono); font-size: .875rem; color: var(--ink); transition: background-color var(--d-fast), color var(--d-fast), border-color var(--d-fast), transform var(--d-press) var(--ease-out); }
.slot:hover { border-color: var(--sky); }
.choice input:checked + .slot { background: var(--navy); border-color: var(--navy); color: #fff; }
.choice input:disabled + .slot { background: var(--surface); color: #9aa6b8; border-color: transparent; text-decoration: line-through; cursor: not-allowed; }
.choice:active .slot { transform: scale(.97); }
.avail .choice { display: flex; }
.quote-card { padding: clamp(26px, 3vw, 40px); border-radius: var(--r-lg); background: var(--sky-tint); }
.quote-card blockquote { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.65rem); line-height: 1.32; letter-spacing: -.016em; font-weight: 420; color: var(--navy); }
.quote-card .who { margin-top: 18px; font-size: .9375rem; color: var(--ink-2); }

/* Memberships page */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plans .plan-card, .plans .plan-blue { padding: clamp(26px, 2.6vw, 34px); }
.plans .plan-card .price .amt { font-size: clamp(2.6rem, 2.2rem + 1.4vw, 3.6rem); }
.plans .plan-card .plan-list { font-size: .9375rem; gap: 12px; margin-top: 24px; }
.plans .btn { margin-top: auto; }
.plans .plan-list { margin-bottom: 30px; }
.plan-card.is-recommended, .plan-blue.is-recommended { box-shadow: 0 0 0 3px var(--sky), var(--shadow-2); }
.finder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.range { width: 100%; accent-color: var(--blue); height: 44px; cursor: pointer; }
.range-scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .75rem; color: var(--muted); }
.finder-out { padding: clamp(24px, 2.6vw, 34px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.finder-out .big { font-size: clamp(2rem, 1.6rem + 1.2vw, 2.75rem); letter-spacing: -.03em; font-weight: 400; line-height: 1.05; margin-top: 8px; }
.finder-out .per-session { margin-top: 10px; color: var(--muted); }
.amenities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.amenity { padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }
.amenity .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--sky-tint); color: var(--sky-ink); margin-bottom: 22px; }
.amenity h3 { font-size: 1.0625rem; font-weight: 600; }
.amenity p { margin-top: 6px; font-size: .9375rem; color: var(--muted); }

/* Facilities map */
.site-plan { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
.plan-board { padding: clamp(16px, 2vw, 28px); border-radius: var(--r-xl); background: linear-gradient(180deg, #d9e8d5 0%, #cfe2cc 100%); position: relative; }
.plan-board .zone-label { font-family: var(--mono); font-size: .6875rem; letter-spacing: .07em; text-transform: uppercase; color: #3d5a45; margin: 4px 2px 10px; }
.courts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.courts-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.court { position: relative; aspect-ratio: 1 / 2.05; border-radius: 6px; background: #2f6fb3; border: 2px solid transparent; color: #fff; display: grid; place-items: center; transition: transform var(--d-press) var(--ease-out), box-shadow var(--d-fast), background-color var(--d-fast); overflow: hidden; }
.court svg { position: absolute; inset: 8% 12%; width: 76%; height: 84%; stroke: rgba(255,255,255,.85); stroke-width: 1.2; fill: none; }
.court .cn { position: relative; z-index: 1; font-family: var(--mono); font-size: .75rem; font-weight: 600; padding: 2px 6px; border-radius: 6px; background: rgba(12,27,52,.55); }
.court.padel { aspect-ratio: 1 / 1.9; background: #2a7cc8; border-color: rgba(255,255,255,.65); }
.court:hover { box-shadow: 0 10px 22px -10px rgba(12,27,52,.5); }
.court:active { transform: scale(.97); }
.court[aria-pressed="true"] { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--navy); }
.court.is-busy { background: #47678f; }
.court.is-busy.padel { background: #4b6f97; }
.plan-row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-top: 22px; align-items: stretch; }
.plan-row2 .zone-label { margin-top: 0; }
.legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; font-size: .8125rem; color: #2f4a37; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.clubhouse-block { display: grid; grid-template-rows: 1.6fr 1fr; gap: 8px; padding-top: 26px; }
.clubhouse-block div { border-radius: 8px; background: #f7f4ee; color: #4a5562; font-size: .8125rem; font-weight: 600; display: grid; place-items: center; text-align: center; padding: 8px; }
.clubhouse-block div:last-child { background: #c6d5c2; color: #3d5a45; }

/* Booking */
.booking { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.bk-step { padding: clamp(22px, 2.6vw, 32px) 0; border-top: 1px solid var(--line); }
.bk-step:first-child { border-top: 0; padding-top: 0; }
.bk-step > h2 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.012em; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.bk-step > h2 .n { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: .8125rem; font-family: var(--mono); }
.type-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.type-card { display: flex; flex-direction: column; gap: 6px; width: 100%; padding: 16px; border-radius: 16px; border: 1px solid var(--line-2); background: #fff; text-align: left; transition: border-color var(--d-fast), background-color var(--d-fast), box-shadow var(--d-fast), transform var(--d-press) var(--ease-out); cursor: pointer; }
.type-card .i { color: var(--sky-ink); }
.type-card b { font-size: .9375rem; font-weight: 600; }
.type-card span { font-size: .8125rem; color: var(--muted); }
.choice:active .type-card { transform: scale(.98); }
.choice input:checked + .type-card { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); background: var(--surface); }
.type-grid .choice { display: flex; }
.choice input:focus-visible + .type-card { outline: 2px solid var(--sky); outline-offset: 2px; }
.days { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.days::-webkit-scrollbar { display: none; }
.day { display: grid; justify-items: center; gap: 2px; min-width: 64px; padding: 10px 6px; border-radius: 14px; border: 1px solid var(--line-2); background: #fff; transition: background-color var(--d-fast), color var(--d-fast), border-color var(--d-fast); cursor: pointer; }
.day .dn { font-family: var(--mono); font-size: .6875rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.day .dd { font-size: 1.25rem; font-weight: 550; font-variant-numeric: tabular-nums; }
.day .dm { font-size: .6875rem; color: var(--muted); }
.choice input:checked + .day { background: var(--navy); border-color: var(--navy); color: #fff; }
.choice input:checked + .day .dn, .choice input:checked + .day .dm { color: var(--on-navy-2); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slots .choice { display: flex; }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.summary { padding: clamp(22px, 2.4vw, 30px); border-radius: var(--r-lg); background: var(--navy); color: var(--on-navy); }
.summary h2 { font-size: 1.125rem; font-weight: 600; color: #fff; }
.summary .kv > div { border-color: var(--navy-line); }
.summary .kv dt { color: var(--on-navy-2); }
.summary .kv dd { color: #fff; }
.summary .total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding-top: 18px; border-top: 1px solid var(--navy-line); }
.summary .total b { font-size: 2.25rem; font-weight: 380; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: #fff; }
.summary .switch { color: #fff; margin-top: 8px; }
.summary-note { margin-top: 16px; font-size: .8125rem; color: var(--on-navy-2); }
.side-card { margin-top: 14px; padding: 20px 22px; border-radius: var(--r-lg); background: var(--surface); font-size: .9375rem; }

/* Contact */
.contact-cards { display: grid; gap: 12px; }
.ccontact { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--r-lg); background: var(--surface); }
.ccontact .ico { width: 44px; height: 44px; border-radius: 12px; background: #fff; display: grid; place-items: center; color: var(--sky-ink); flex: none; box-shadow: var(--shadow-1); }
.ccontact b { display: block; font-weight: 600; }
.ccontact span, .ccontact a { color: var(--ink-2); font-size: .9375rem; }
.map { position: relative; border-radius: var(--r-xl); overflow: hidden; background: #d8e9f6; aspect-ratio: 16 / 10; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pin { position: absolute; left: 57%; top: 41%; transform: translate(-50%, -100%); display: grid; justify-items: center; gap: 6px; }
.map-pin .tag { padding: 8px 12px; border-radius: 12px; background: var(--navy); color: #fff; font-size: .8125rem; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow-2); }
.map-pin .dot { width: 18px; height: 18px; border-radius: 50%; background: var(--sky); border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(47,156,240,.25); }

/* Policies */
.policy { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 2px; }
.toc a { display: block; padding: 10px 14px; border-radius: 10px; font-size: .9375rem; color: var(--muted); border-left: 2px solid transparent; transition: color var(--d-fast), background-color var(--d-fast); }
.toc a:hover { color: var(--ink); background: var(--surface); }
.toc a.is-current { color: var(--ink); font-weight: 600; background: var(--surface); }
.prose { max-width: 70ch; color: var(--ink-2); }
.prose section + section { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--line); }
.prose h2 { font-size: clamp(1.5rem, 1.25rem + .8vw, 2rem); line-height: 1.12; letter-spacing: -.022em; font-weight: 450; color: var(--ink); margin-bottom: 18px; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h3 { font-size: 1.0625rem; font-weight: 600; color: var(--ink); margin: 26px 0 8px; }
.prose p + p { margin-top: 14px; }
.prose ul { margin-top: 14px; display: grid; gap: 10px; }
.prose li { padding-left: 22px; position: relative; }
.prose li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); }

/* 404 */
.nf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; min-height: 64vh; }
.nf-art { aspect-ratio: 1; border-radius: var(--r-xl); background: var(--surface); position: relative; overflow: hidden; }
.nf-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.nf .code { font-family: var(--mono); font-size: .875rem; color: var(--muted); }

/* Timeline (about) */
.timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-2); }
.tl { position: relative; padding: 30px 24px 0 0; }
.tl::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 2px solid var(--sky); }
.tl .yr { font-size: 2rem; font-weight: 360; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.tl h3 { margin-top: 10px; font-size: 1.0625rem; font-weight: 600; }
.tl p { margin-top: 6px; font-size: .9375rem; color: var(--muted); max-width: 26ch; }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.value { background: #fff; padding: clamp(24px, 2.8vw, 36px); }
.value .ico { color: var(--sky-ink); margin-bottom: 26px; }
.value h3 { font-size: 1.25rem; font-weight: 550; letter-spacing: -.014em; }
.value p { margin-top: 8px; color: var(--muted); }
.duo { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; }
.duo .media:first-child { aspect-ratio: 16 / 11; }
.duo .media:last-child { aspect-ratio: auto; }

/* Toast */
.toasts { position: fixed; left: 50%; bottom: 24px; z-index: 150; display: grid; gap: 8px; transform: translateX(-50%); width: min(440px, calc(100vw - 32px)); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: var(--navy); color: #fff; font-size: .9375rem; box-shadow: var(--shadow-3); pointer-events: auto; animation: toastIn 320ms var(--ease-out) both; }
.toast .i { color: var(--sky-2); }
.toast.is-leaving { animation: toastOut 220ms var(--ease-out) both; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(8px); } }

/* Mobile book bar */
.mbar { display: none; }


h1[tabindex="-1"]:focus, h1[tabindex="-1"]:focus-visible { outline: none; }
.type-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
form.is-done .bk-step { display: none; }
.stars { display: none; }
main:has(.route.is-active > .cta:last-child) + .footer { margin-top: clamp(12px, 1.4vw, 16px); }
.cta { margin-top: clamp(0px, 1vw, 8px); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav a { padding: 0 10px; }
  .nav a::after { left: 10px; right: 10px; }
  .header-phone { display: none; }
  .quickbook { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) auto; }
  .qb-result { grid-column: 1 / -1; order: 5; border-top: 1px solid var(--line); box-shadow: none !important; border-radius: 0 !important; padding: 12px 6px 4px; background: transparent !important; }
  .qb-result .avail { width: 36px; height: 36px; font-size: 1rem; border-radius: 10px; }
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-intro, .footer-visit { grid-column: 1 / -1; }
  .type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .nav, .header-actions .btn-book { display: none; }
  .menu-btn { display: inline-grid; }
  .header-actions { margin-left: auto; }
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tile-navy { grid-column: span 6; grid-row: auto; min-height: 0; }
  .tile-navy h3 { margin-top: 40px; }
  .tile-photo { grid-column: span 6; min-height: 340px; }
  .tile-slots, .tile-detail { grid-column: span 3; }
  .plans-home { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .plans-intro { grid-column: 1 / -1; padding-right: 0; }
  .plans-intro .note { padding-top: 20px; }
  .week { grid-template-columns: minmax(0, 1fr); }
  .week-aside { position: static; }
  .week-aside .img { display: none; }
  .ev-feature { grid-template-columns: minmax(0, 1fr); }
  .ev-feature .img { min-height: 320px; }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .detail, .booking, .site-plan, .coach-hero, .split, .split-wide, .finder, .nf { grid-template-columns: minmax(0, 1fr); }
  .sticky { position: static; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline { grid-template-columns: minmax(0, 1fr); border-top: 0; border-left: 1px solid var(--line-2); margin-left: 6px; }
  .tl { padding: 0 0 32px 28px; }
  .tl::before { top: 10px; left: -7px; }
  .policy { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; display: flex; overflow-x: auto; gap: 6px; scrollbar-width: none; }
  .toc a { white-space: nowrap; border: 1px solid var(--line); }
  .amenities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .page-intro { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 20px; }
}
@media (max-width: 760px) {
  :root { --frame: 6px; --r-shell: 22px; --header-h: 64px; }
  body { font-size: 1rem; }
  .brand span { display: none; }
  .header-actions .btn-trial { display: none; }
  .hero { padding: 0 6px; }
  .hero-media { min-height: 460px; justify-content: flex-end; padding: 38px 26px 64px; }
  .hero-media > img { object-position: 56% 0%; }
  .hero-media::after { background: linear-gradient(180deg, rgba(16, 37, 59, .12) 0%, rgba(16, 37, 59, .3) 45%, rgba(16, 37, 59, .68) 100%); }
  .hero-copy h1 { font-size: 43px; }
  .hero-copy .lead { font-size: .9375rem; max-width: 23ch; margin: 16px 0 20px; }
  .hero-links { display: none; }
  .qb-wrap { padding: 14px 6px 0; }
  .quickbook { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 10px; border-radius: 20px; }
  .qb-sport { grid-column: 1 / -1; }
  .qb-sport .seg { width: 100%; }
  .qb-sport .seg .choice { flex: 1; }
  .qb-sport .seg .chip { width: 100%; justify-content: center; }
  .qb-cell + .qb-cell { box-shadow: none; background: var(--surface); border-radius: 14px; }
  .quickbook .btn { grid-column: 1 / -1; }
  .statement { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 22px 12px 22px 0; }
  .stat + .stat { padding-left: 0; border-left: 0; }
  .stat:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .tile-slots, .tile-detail { grid-column: span 6; }
  .tile-photo { min-height: 260px; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .sec-tools { justify-content: flex-start; }
  .rail { grid-auto-columns: 82%; }
  .plans-home { grid-template-columns: minmax(0, 1fr); }
  .coach-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .ccard h3 { font-size: 1.0625rem; }
  .ccard .info { flex-direction: column; gap: 4px; }
  .ccard .yrs { padding-top: 0; }
  .session { grid-template-columns: 76px minmax(0, 1fr); gap: 6px 14px; }
  .session .act { grid-column: 2; justify-content: space-between; margin-top: 6px; }
  .ev-list { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .voices { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .voice-stage { min-height: 0; }
  .acc-panel p { padding-right: 0; }
  .cta { min-height: 560px; }
  .cta img { object-position: 30% 70%; }
  .cta-copy { margin: 10px; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .footer-visit { grid-column: 1 / -1; }
  .news { flex-direction: column; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .grid-3, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step .ico { margin-bottom: 20px; }
  .checklist { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .opts { grid-template-columns: minmax(0, 1fr); }
  .mini-facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .mini-facts > div:last-child { grid-column: 1 / -1; }
  .avail-days { grid-template-columns: repeat(5, minmax(56px, 1fr)); overflow-x: auto; }
  .amenities { grid-template-columns: minmax(0, 1fr); }
  .values { grid-template-columns: minmax(0, 1fr); }
  .duo { grid-template-columns: minmax(0, 1fr); }
  .duo .media:last-child { aspect-ratio: 4 / 3; }
  .filterbar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .filterbar .searchbox { flex: none; width: 100%; }
  .sort .select { flex: 1; min-width: 0; width: 100%; }
  .filterbar .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -12px; padding: 0 12px; }
  .searchbox { max-width: none; }
  .sort { justify-content: space-between; }
  .media-wide { aspect-ratio: 4 / 3; }
  .courts { gap: 6px; }
  .courts-8 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .plan-row2 { grid-template-columns: minmax(0, 1fr); }
  .clubhouse-block { grid-template-rows: none; grid-template-columns: 1.6fr 1fr; padding-top: 0; min-height: 64px; }
  .hero-ctas .btn-lg { min-height: 52px; padding: 0 18px; font-size: .9375rem; }
  .court .cn { font-size: .6875rem; padding: 2px 5px; }
  .type-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .type-grid.three { grid-template-columns: minmax(0, 1fr); }
  .mbar { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 70; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 20px; background: rgba(12, 27, 52, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; box-shadow: var(--shadow-3); transform: translateY(140%); transition: transform 360ms var(--ease-out); }
  .mbar.is-shown { transform: none; }
  .mbar p { font-size: .875rem; line-height: 1.3; }
  .mbar p span { display: block; color: var(--on-navy-2); font-size: .75rem; }
  .wordmark { font-size: 27vw; }
}
@media (pointer: coarse) {
  .btn-sm { min-height: 44px; }
  .chip { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  main.is-leaving { transform: none; }
}

/* ==========================================================================
   PowerTrader additions on top of the shell system
   ========================================================================== */
:root { --red: #d8262d; }
body { font-size: 1rem; }
.brand img { display: block; height: 46px; width: auto; }
.footer .brand img { height: 56px; }
.sheet-top .brand img { height: 38px; }
.brand-word { font-size: .8125rem; font-weight: 500; color: var(--muted); padding-left: 12px; margin-left: 2px; border-left: 1px solid var(--line-2); line-height: 1.2; }

/* Header dropdown for Products */
.nav .has-menu { position: relative; display: inline-flex; }
.nav .has-menu > a .i { width: 14px; height: 14px; margin-left: 4px; transition: transform var(--d-mid) var(--ease-out); }
.nav .has-menu:hover > a .i, .nav .has-menu:focus-within > a .i { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 6px); left: 50%; width: min(760px, 86vw); transform: translate(-50%, 8px); opacity: 0; visibility: hidden; pointer-events: none; padding: 14px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-3); display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 6px; transition: opacity var(--d-mid) var(--ease-out), transform var(--d-mid) var(--ease-out), visibility 0s linear var(--d-mid); z-index: 80; }
.nav .has-menu:hover .mega, .nav .has-menu:focus-within .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition-delay: 0s; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav .mega a { height: auto; min-height: 0; padding: 10px 12px; border-radius: 14px; display: flex; align-items: center; gap: 12px; font-size: .9375rem; }
.nav .mega a::after { display: none; }
.mega .thumb { width: 46px; height: 46px; border-radius: 12px; background: var(--surface); flex: none; overflow: hidden; display: grid; place-items: center; }
.mega .thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; mix-blend-mode: multiply; }
.mega .mt b { display: block; font-weight: 600; color: var(--ink); line-height: 1.2; }
.mega .mt span { display: block; font-size: .8125rem; color: var(--muted); line-height: 1.3; margin-top: 2px; }
.mega .feature { grid-row: span 3; flex-direction: column; align-items: stretch !important; justify-content: space-between; background: var(--navy); color: var(--on-navy) !important; padding: 18px !important; }
.mega .feature:hover { background: var(--navy-3) !important; }
.mega .feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.mega .feature b { color: #fff; font-size: 1.0625rem; margin-top: 14px; display: block; }
.mega .feature span { color: var(--on-navy-2); font-size: .8125rem; display: block; margin-top: 4px; line-height: 1.4; }
.sheet-nav .sub { padding-left: 16px; font-size: 1.0625rem !important; min-height: 46px !important; color: var(--ink-2); }

/* Fit finder: the strip below the hero */
.finder-bar { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.5fr) auto; align-items: center; }
.finder-bar .btn { align-self: center; }
.finder-bar .qb-result p strong { display: inline; }
.hero-media::after { background: linear-gradient(90deg, rgba(7, 24, 48, .72) 0%, rgba(7, 24, 48, .46) 34%, rgba(12, 40, 72, .08) 68%), linear-gradient(0deg, rgba(7, 24, 48, .35) 0%, rgba(7, 24, 48, 0) 40%); }
.finder-bar .seg { flex-wrap: wrap; }
.finder-bar .qb-sport .seg .chip { padding: 0 12px; }
.fit-weight { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 8px 16px; min-width: 0; }
.fit-weight .row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.fit-weight output { font-size: 1rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fit-weight input[type=range] { width: 100%; accent-color: var(--navy); height: 28px; margin: 0; cursor: pointer; }
.fit-models { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.fit-models span { font-family: var(--mono); font-size: .75rem; padding: 2px 7px; border-radius: 6px; background: var(--surface-2); color: var(--ink); }

/* Statement pills reuse .pill-img */
.statement-text .accent { color: var(--ink); }

/* Product cards */
.pcard .img.product { background: var(--surface); display: grid; place-items: center; }
.pcard .img.product img { object-fit: contain; padding: 9%; mix-blend-mode: multiply; }
.pcard .img.photo img { object-fit: cover; }
.pcard .rng { font-family: var(--mono); font-size: .8125rem; color: var(--ink); font-weight: 500; }
.pcard-cta .cta-ico { width: 64px; height: 64px; border-radius: 18px; background: rgba(255,255,255,.08); border: 1px solid var(--navy-line); color: var(--sky-2); display: grid; place-items: center; }
.pcard-cta .cta-ico .i { width: 28px; height: 28px; }

/* Bento factory switch */
.tile-photo .alt { opacity: 0; }
.tile-photo.is-alt .alt { opacity: 1; }
.tile-photo.is-alt .base { opacity: 0; }
.housing-row { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.housing-row:first-of-type { border-top: 0; }
.housing-row .t { font-weight: 600; font-size: .9375rem; }
.housing-row .w { font-size: .875rem; color: var(--muted); line-height: 1.35; }
.housing-row .m { font-family: var(--mono); font-size: .8125rem; color: var(--ink); white-space: nowrap; }

/* Partner plans (no prices: what each partner gets) */
.plan-for { font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; opacity: .78; margin-top: 18px; }
.plan-blue .plan-for { color: var(--sky-2); opacity: 1; }
.plan-card .plan-name { color: var(--ink); }
.plan-card p.desc, .plan-blue p.desc { margin-top: 12px; font-size: .9375rem; }
.plan-card p.desc { color: var(--muted); }
.plan-blue p.desc { color: rgba(255,255,255,.88); }

/* Range strip (more attachments) */
.cut-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cut { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--surface); padding: 18px 18px 20px; transition: background-color var(--d-fast), transform var(--d-press) var(--ease-out); }
.cut:hover { background: var(--surface-2); }
.cut:active { transform: scale(.985); }
.cut .img { position: relative; aspect-ratio: 1; }
.cut .img img { position: absolute; inset: 9%; width: 82%; height: 82%; object-fit: contain; transition: transform 900ms var(--ease-out); }
.cut h3 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; margin-top: 10px; }
.cut p { font-size: .875rem; color: var(--muted); margin-top: 2px; display: flex; align-items: center; gap: 6px; }
.cut p .i { width: 15px; height: 15px; transition: transform var(--d-fast) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .cut:hover .img img { transform: scale(1.05); } .cut:hover p .i { transform: translateX(3px); } }

/* Promises (mission statement) */
.promises { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.promises-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.promises-aside .img { margin-top: 32px; aspect-ratio: 5 / 4; border-radius: var(--r-lg); overflow: hidden; }
.promises-aside .img img { width: 100%; height: 100%; object-fit: cover; }
.promise-list { border-top: 1px solid var(--line); counter-reset: p; }
.promise { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.promise .n { font-family: var(--mono); font-size: .875rem; color: var(--sky-ink); padding-top: 6px; }
.promise h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.625rem); font-weight: 420; letter-spacing: -.02em; line-height: 1.2; }
.promise p { margin-top: 8px; color: var(--muted); max-width: 58ch; }

/* Inner page banner (shorter photo band) */
.page-banner { position: relative; margin: 0 clamp(8px, 1.1vw, 16px); border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 21 / 7; min-height: 260px; background: var(--surface-2); }
.page-banner img { width: 100%; height: 100%; object-fit: cover; }
.js .page-banner img { animation: heroSettle 900ms var(--ease-out) both; }

/* Specs table */
.spec-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 18px; }
.spec-tools .carrier { display: flex; align-items: center; gap: 12px; font-size: .9375rem; color: var(--ink-2); }
.spec-tools .carrier .input { width: 120px; min-height: 44px; border-radius: var(--r-pill); }
.spec-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }
.spec { border-collapse: separate; border-spacing: 0; width: 100%; font-size: .875rem; font-variant-numeric: tabular-nums; }
.spec th, .spec td { padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; text-align: left; }
.spec thead th { position: sticky; top: 0; background: var(--navy); color: #fff; font-family: var(--mono); font-size: .75rem; letter-spacing: .04em; font-weight: 500; }
.spec thead th:first-child { color: var(--on-navy-2); }
.spec tbody th { position: sticky; left: 0; z-index: 1; background: var(--surface); font-weight: 600; color: var(--ink); font-size: .8125rem; min-width: 190px; }
.spec tbody th small { display: block; font-weight: 400; color: var(--muted); font-family: var(--mono); font-size: .6875rem; margin-top: 2px; }
.spec thead th:first-child { position: sticky; left: 0; z-index: 2; }
.spec tbody tr:last-child > * { border-bottom: 0; }
.spec tbody tr:hover td { background: rgba(226, 240, 252, .45); }
.spec .col-hit { background: rgba(47, 156, 240, .12) !important; }
.spec thead th.col-hit { background: var(--sky) !important; color: var(--navy) !important; }
.spec td.span { text-align: center; color: var(--ink-2); }
.spec .na { color: var(--faint); }
[data-units="metric"] .u-imp, [data-units="imperial"] .u-met { display: none; }
.spec-note { margin-top: 14px; font-size: .8125rem; color: var(--muted); display: grid; gap: 4px; }
.spec-empty { margin-top: 10px; font-size: .875rem; color: var(--muted); min-height: 1.4em; }

/* Tabs (series and structure) */
.tablist { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--line); flex-wrap: wrap; }
.tablist button { min-height: 40px; padding: 0 18px; border-radius: var(--r-pill); font-size: .9375rem; font-weight: 550; color: var(--ink-2); transition: background-color var(--d-fast), color var(--d-fast), transform var(--d-press) var(--ease-out); }
.tablist button:hover { color: var(--ink); }
.tablist button:active { transform: scale(.97); }
.tablist button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-1); }
.tabpanel[hidden] { display: none; }
.tabpanel.is-swapping { animation: rise 420ms var(--ease-out) both; }

/* Series panel */
.series { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; margin-top: 24px; }
.series .lineup { border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); display: grid; place-items: center; padding: clamp(18px, 3vw, 40px); }
.series .lineup img { width: 100%; height: auto; }
.series .side { display: grid; gap: 16px; grid-template-rows: auto 1fr; }
.series .side .panel h3 { font-size: 1.25rem; font-weight: 550; letter-spacing: -.012em; }
.series .side .media { min-height: 220px; }

/* Anatomy */
.anatomy { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.cutaway { position: sticky; top: calc(var(--header-h) + 20px); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); padding: clamp(16px, 2.4vw, 32px); }
.cutaway .stage { position: relative; aspect-ratio: 1 / 1.12; }
.cutaway .stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity 500ms var(--ease-out); }
.cutaway .stage img.is-off { opacity: 0; }
.cutaway .applied { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.cutaway .applied .models { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cutaway .applied .models span { font-family: var(--mono); font-size: .75rem; padding: 4px 8px; border-radius: 6px; background: var(--sky-tint); color: var(--sky-ink); }
.parts-list { border-top: 1px solid var(--line); }
.part { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.part .n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: .8125rem; background: var(--surface-2); color: var(--ink); }
.part h3 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.008em; }
.part p { margin-top: 4px; color: var(--ink-2); font-size: .9375rem; max-width: 60ch; }

/* Detail aside facts */
.facts-panel h2 { font-size: 1.125rem; font-weight: 600; color: #fff; }
.facts-panel .kv > div { border-color: var(--navy-line); }
.facts-panel .kv dt { color: var(--on-navy-2); }
.facts-panel .kv dd { color: #fff; }
.facts-panel .btn { margin-top: 20px; }
.facts-panel .btn + .btn { margin-top: 10px; }
.facts-panel .note { margin-top: 16px; font-size: .8125rem; color: var(--on-navy-2); }
.feature-list { display: grid; gap: 12px; margin-top: 26px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.feature-list .tick { width: 26px; height: 26px; border-radius: 50%; background: var(--sky-tint); color: var(--sky-ink); display: grid; place-items: center; flex: none; margin-top: 1px; }
.feature-list .tick .i { width: 14px; height: 14px; stroke-width: 2.6; }

/* Photo set inside detail pages */
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.shot { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); aspect-ratio: 4 / 3; cursor: zoom-in; }
.shot.wide { grid-column: span 2; aspect-ratio: auto; min-height: 100%; }
.shot.product { background: #fff; border: 1px solid var(--line); }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.shot.product img { object-fit: contain; padding: 8%; }
.shot figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(255,255,255,.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: .8125rem; font-weight: 600; color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .shot:hover img { transform: scale(1.035); } }

/* Tools */
.tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tool { border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; padding: 18px 20px 22px; display: flex; flex-direction: column; }
.tool .img { aspect-ratio: 3.4 / 1; display: grid; place-items: center; background: var(--surface); border-radius: 12px; padding: 10px 14px; }
.tool .img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.tool h3 { font-size: 1.0625rem; font-weight: 600; margin-top: 16px; }
.tool .aka { font-family: var(--mono); font-size: .75rem; color: var(--muted); margin-top: 2px; }
.tool p { margin-top: 8px; font-size: .9375rem; color: var(--ink-2); }
.compat { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.compat-result { margin-top: 18px; min-height: 64px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--surface); display: flex; gap: 14px; align-items: center; }
.compat-result .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--sky-ink); flex: none; box-shadow: var(--shadow-1); }
.compat-result.ok .ico { background: var(--ok); color: #fff; }
.compat-result p { font-size: .9375rem; color: var(--ink-2); }
.compat-result b { color: var(--ink); }
.brands { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 18px; border-top: 1px solid var(--line); }
.brands li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; color: var(--ink-2); transition: color var(--d-fast), opacity var(--d-fast); }
.brands li.is-dim { opacity: .28; }
.brands li.is-hit { color: var(--ink); font-weight: 650; }
.part-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.part-card { border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.part-card .img { aspect-ratio: 4 / 3; overflow: hidden; }
.part-card .img img { width: 100%; height: 100%; object-fit: cover; }
.part-card div.t { padding: 14px 16px 16px; font-weight: 600; font-size: .9375rem; }

/* Gallery */
.gal { columns: 3 300px; column-gap: 14px; }
.gal figure { break-inside: avoid; margin: 0 0 14px; position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); cursor: zoom-in; }
.gal figure[hidden] { display: none; }
.gal img { width: 100%; height: auto; transition: transform 900ms var(--ease-out); }
.gal figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(255,255,255,.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: .8125rem; font-weight: 600; color: var(--ink); opacity: 0; transform: translateY(6px); transition: opacity var(--d-mid) var(--ease-out), transform var(--d-mid) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .gal figure:hover img { transform: scale(1.03); } .gal figure:hover figcaption { opacity: 1; transform: none; } }
@media (hover: none) { .gal figcaption { opacity: 1; transform: none; } }
.lightbox { position: fixed; inset: 0; z-index: 140; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: rgba(6, 14, 28, .94); color: #fff; opacity: 0; visibility: hidden; transition: opacity var(--d-mid) var(--ease-out), visibility 0s linear var(--d-mid); }
.lightbox.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; }
.lb-top .count { font-family: var(--mono); font-size: .8125rem; color: var(--on-navy-2); }
.lb-stage { display: grid; place-items: center; padding: 0 64px; min-height: 0; }
.lb-stage { position: relative; height: 100%; }
.lb-stage img { position: absolute; inset: 0 64px; width: calc(100% - 128px); height: 100%; max-width: none; object-fit: contain; border-radius: 12px; }
.lb-cap { text-align: center; padding: 14px 18px 22px; font-size: .9375rem; color: #dfe7f2; min-height: 1.6em; }
.lightbox .icon-btn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #fff; }
.lightbox .icon-btn:hover { background: rgba(255,255,255,.16); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-prev:active, .lb-next:active { transform: translateY(-50%) scale(.94); }

/* Company */
.letter { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.letter .prose p { font-size: 1.0625rem; }
.letter .sign { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-2); display: flex; gap: 14px; align-items: center; }
.letter .sign .ico { width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 600; flex: none; }
.letter .sign b { display: block; }
.letter .sign span { color: var(--muted); font-size: .9375rem; }
.sites { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.site-card { border-radius: var(--r-xl); overflow: hidden; background: var(--surface); display: flex; flex-direction: column; }
.site-card .img { aspect-ratio: 16 / 9; overflow: hidden; }
.site-card .img img { width: 100%; height: 100%; object-fit: cover; }
.site-card .copy { padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.site-card h3 { font-size: 1.375rem; font-weight: 500; letter-spacing: -.018em; }
.site-card address { font-style: normal; color: var(--ink-2); }
.site-card .link { margin-top: auto; padding-top: 8px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.form-card { border-radius: var(--r-xl); border: 1px solid var(--line); background: #fff; padding: clamp(22px, 3vw, 40px); box-shadow: var(--shadow-2); }
.form-card h2 { font-size: 1.5rem; font-weight: 500; letter-spacing: -.02em; }
.form-card .sub { color: var(--muted); margin-top: 6px; margin-bottom: 26px; font-size: .9375rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; }
.form-alert { display: none; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; background: var(--danger-tint); color: var(--danger); font-size: .875rem; font-weight: 550; margin-bottom: 18px; }
.form-alert.is-shown { display: flex; }
.success .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.success pre { white-space: pre-wrap; font-family: var(--mono); font-size: .8125rem; background: #fff; border-radius: 12px; padding: 14px; margin-top: 16px; color: var(--ink-2); max-height: 220px; overflow: auto; }
.ccontact a:hover { color: var(--sky-ink); }
.hours-note { margin-top: 14px; display: flex; align-items: center; gap: 10px; font-size: .9375rem; color: var(--ink-2); padding: 16px 20px; border-radius: var(--r-lg); border: 1px solid var(--line); }
.hours-note .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 5px var(--ok-tint); flex: none; }

/* Product index groups */
.group-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 18px; }
.chart-card { border-radius: var(--r-xl); border: 1px solid var(--line); background: #fff; padding: clamp(14px, 2.4vw, 32px); }
.chart-card img { width: 100%; height: auto; }

.btn-wa { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-wa:hover { background: var(--surface); }
.btn-wa .i { color: var(--ok); }
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 65; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity var(--d-mid) var(--ease-out), transform var(--d-mid) var(--ease-out); box-shadow: var(--shadow-2); }
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }

@media (max-width: 1180px) {
  .finder-bar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
  .finder-bar .qb-result { grid-column: 1 / -1; }
  .brand-word { display: none; }
}
@media (max-width: 1024px) {
  .cut-grid, .tool-grid, .part-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promises, .anatomy, .letter, .contact-grid, .compat, .series { grid-template-columns: minmax(0, 1fr); }
  .promises-aside, .cutaway { position: static; }
  .promises-aside .img { display: none; }
  .cutaway .stage { aspect-ratio: 4 / 3; }
  .brands { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .brand img { height: 36px; }
  .footer .brand img { height: 46px; }
  .finder-bar { grid-template-columns: minmax(0, 1fr); }
  .hero-media::after { background: linear-gradient(180deg, rgba(7, 24, 48, .08) 0%, rgba(7, 24, 48, .32) 42%, rgba(7, 24, 48, .8) 100%); }
  .finder-bar .qb-result { order: 3; border-top: 0; padding: 6px 4px 2px; }
  .finder-bar .btn { order: 4; }
  .finder-bar .qb-cell { background: var(--surface); border-radius: 14px !important; padding: 10px 14px; box-shadow: none !important; }
  .page-banner { aspect-ratio: 4 / 3; min-height: 0; margin: 0 6px; }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .shot { aspect-ratio: 1; }
  .shot.wide { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .sites { grid-template-columns: minmax(0, 1fr); }
  .brands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cut-grid { gap: 10px; }
  .cut { padding: 12px 12px 16px; }
  .promise { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; }
  .lb-stage { padding: 0 8px; }
  .lb-stage img { inset: 0 8px; width: calc(100% - 16px); }
  .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; }
  .lb-prev:active, .lb-next:active { transform: scale(.94); }
  .tool-grid, .part-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .tool { padding: 14px; }
  .spec tbody th { min-width: 150px; }
  .to-top { bottom: 84px; }
}

/* Footer wordmark: full brand name, always fills the card width exactly */
.wordmark.wm-fit { font-size: 0; line-height: 0; margin: 0; padding: 0 clamp(16px, 3vw, 48px); white-space: normal; }
.wm-fit svg { display: block; width: 100%; height: auto; overflow: hidden; }
.wm-fit text { font-family: var(--font); font-weight: 650; font-size: 230px; letter-spacing: -.02em; fill: var(--navy-2); }

/* Home hero slideshow: the headline stays, the photo behind it changes slowly */
.hero-slides { position: absolute; inset: 0; z-index: -2; background: #5f8fc4; }
.hs { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1200ms var(--ease-out); }
.hs.is-on { opacity: 1; }
.hs img { width: 100%; height: 100%; object-fit: cover; object-position: var(--p, 50% 50%); transform-origin: 60% 50%; }
.js .hs.is-on img { animation: hsDrift 8s linear both; }
@keyframes hsDrift { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-ctrl { position: absolute; left: 28px; bottom: 22px; display: flex; align-items: center; gap: 14px; z-index: 1; }
.hs-tag { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px 0 12px; border-radius: var(--r-pill); background: rgba(9, 26, 50, .3); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2); color: #fff; font-size: .8125rem; font-weight: 560; transition: background-color var(--d-fast); }
.hs-tag:hover { background: rgba(9, 26, 50, .5); }
.hs-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sky-2); }
.hs-tag .i { width: 14px; height: 14px; opacity: .8; transition: transform var(--d-fast) var(--ease-out); }
.hs-tag:hover .i { transform: translate(2px, -2px); }
.hs-tag #hs-name { transition: opacity 300ms var(--ease-out); }
.hs-tag.is-swap #hs-name { opacity: 0; }
.hs-bars { display: flex; gap: 4px; }
.hs-bars button { width: 38px; height: 28px; display: flex; align-items: center; border-radius: 6px; }
.hs-bars button i { position: relative; display: block; width: 100%; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .34); overflow: hidden; }
.hs-bars button i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hs-bars button.is-done i::after { transform: scaleX(1); }
.js .hs-bars button.is-on i::after { animation: hsFill var(--hs-dur, 6500ms) linear forwards; }
.hero-media.is-paused .hs-bars button.is-on i::after, .hero-media.is-paused .hs.is-on img { animation-play-state: paused; }
.no-auto .hs-bars button.is-on i::after { animation: none; transform: scaleX(1); }
@keyframes hsFill { to { transform: scaleX(1); } }
.hs-bars button:hover i { background: rgba(255, 255, 255, .6); }
@media (max-width: 760px) {
  .hs img { object-position: var(--pm, 50% 50%); }
  .hero-ctrl { top: 16px; bottom: auto; left: 18px; gap: 10px; }
  .hs-tag { min-height: 32px; font-size: .75rem; }
  .hs-bars button { width: 24px; }
}
@media (prefers-reduced-motion: reduce) { .hs { transition: none; } .js .hs.is-on img { animation: none; } }

/* Korean address lines: break between words, not inside them */
[lang="ko"] { word-break: keep-all; }

/* Honeypot field: hidden from people, bots fill it */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
