/* GameReady inner pages — pages.css (loaded after site.css on /train/, /recover/, /basketball/, /grid/, /prices/) */

@font-face { font-family: "Doto"; src: url("/assets/fonts/doto.woff2") format("woff2"); font-weight: 900; font-display: swap; }

/* ---------- Shared building blocks ---------- */
.page { background: var(--bg0); }
.crumb { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin: 0 0 20px; }
.crumb a { color: var(--faint); text-decoration: none; }
.crumb span { color: var(--red-text); }
.psec { padding: var(--sec) 0; border-bottom: 1px solid #1F2125; }
.psec--alt { background: var(--bg1); }
.psec h2 { color: #fff; }
.cards { display: grid; gap: 16px; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--rule); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card__bar { width: 36px; height: 3px; background: var(--c, var(--ink)); }
.card h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: -.05em; text-transform: uppercase; color: #fff; }
.card p { margin: 0; color: var(--mute); font-size: 15px; flex-grow: 1; }
.card .meta { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); flex-grow: 0; }
.card .big { font-family: var(--display); font-size: 44px; letter-spacing: -.07em; line-height: 1; color: #fff; flex-grow: 0; }
.card .big small { font-family: var(--body); font-size: 14px; letter-spacing: 0; color: var(--mute); }
.card a.more { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding-top: 12px; border-top: 1px solid var(--rule); }
.card--feature { background: var(--bone); color: var(--bone-ink); border-color: var(--bone); }
.card--feature h3, .card--feature .big { color: var(--bone-ink); }
.card--feature .big small { color: var(--bone-dim); }
.card--feature p { color: var(--bone-dim); }
.card--feature .meta { color: var(--red-on-bone); }
.card--feature a.more { color: var(--bone-ink); border-top-color: #C9CCD1; }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.split .lede { margin-top: 20px; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: 14px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl th { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.tbl td:first-child { color: #fff; }
.tbl .c { text-align: center; }
.tbl .yes { color: var(--ink); font-weight: 700; }
.tbl .no { color: #4A4E56; }
.soon { border: 1px dashed var(--rule2); border-radius: 14px; padding: 36px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.soon h3 { margin: 0 0 8px; font-family: var(--display); font-weight: 400; font-size: 26px; letter-spacing: -.05em; text-transform: uppercase; color: #fff; }
.soon p { margin: 0; color: var(--mute); }
.soon > * { min-width: 0; }
.soon h3 { overflow-wrap: anywhere; }
.pcta { padding: 96px 0; background: var(--bg1); }
.pcta__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.pcta h2 { margin: 0; color: #fff; }
.pcta p { margin: 12px 0 0; color: var(--mute); }
.team-strip .players { margin-top: 0; }
.h-page { margin: 0; font-size: clamp(34px, 5.2vw, 76px); line-height: 1; color: #fff; }

/* ---------- Pinned scroll moments (the section holds while you scroll) ---------- */
.pin { position: relative; }
.pin.is-pinned { height: var(--pin-h, 320vh); }
.pin__stage { position: relative; }
.pin.is-pinned .pin__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.pin.is-pinned .pin__stage > .wrap { width: 100%; }

/* ======================= TRAIN ======================= */
.t-hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--announce-h, 44px) + 110px); box-sizing: border-box; }
.t-hero__photo { position: absolute; inset: 0; background: url("/assets/img/club-exterior.jpg") center 35% / cover; background-image: image-set(url("/assets/img/club-exterior.webp") type("image/webp"), url("/assets/img/club-exterior.jpg") type("image/jpeg")); filter: grayscale(.35) contrast(1.05); }
.t-hero__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,11,13,.95) 0%, rgba(10,11,13,.6) 45%, rgba(10,11,13,.2) 100%), linear-gradient(180deg, rgba(10,11,13,.65), rgba(10,11,13,0) 30%, rgba(10,11,13,.92)); }
.t-hero__word { position: absolute; left: 3vw; top: calc(var(--announce-h, 44px) + 90px); font-family: var(--display); font-size: clamp(120px, 23vw, 340px); letter-spacing: -.08em; line-height: .8; color: transparent; -webkit-text-stroke: 2px rgba(244,244,242,.2); pointer-events: none; }
.t-hero__body { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding-bottom: 56px; }
.t-hero__main { max-width: 720px; }
.t-hero h1 { margin: 0 0 22px; font-size: clamp(44px, 6vw, 88px); line-height: .98; color: #fff; }
.t-hero__facts { display: flex; flex-direction: column; gap: 14px; text-align: right; }
.t-hero__facts b { display: block; font-family: var(--display); font-weight: 400; font-size: 32px; letter-spacing: -.06em; color: #fff; }
.t-hero__facts span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.ticker { position: relative; z-index: 2; height: 100px; border-top: 1px solid rgba(244,244,242,.15); background: rgba(10,11,13,.85); overflow: hidden; display: flex; align-items: center; }
.ticker__track { display: flex; gap: 56px; white-space: nowrap; padding-left: 56px; animation: marquee 40s linear infinite; }
.ticker span { display: flex; align-items: center; gap: 18px; font-family: var(--display); font-size: 38px; letter-spacing: -.06em; text-transform: uppercase; color: #fff; }
.ticker i { width: 15px; height: 15px; border-radius: 50%; background: var(--c); }

.t-clock { background: var(--bg1); border-top: 1px solid #1F2125; }
.t-clock__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding-block: 40px; }
.t-clock__ring { position: relative; width: min(560px, 100%); aspect-ratio: 1; margin: 0 auto; }
.t-clock__ring svg { width: 100%; height: 100%; display: block; }
.t-clock__center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.t-clock__min { font-family: var(--display); font-size: clamp(64px, 8.5vw, 124px); letter-spacing: -.07em; line-height: .9; color: #fff; font-variant-numeric: tabular-nums; }
.t-clock__lbl { font-size: 12px; letter-spacing: .2em; color: var(--faint); margin-top: 10px; text-transform: uppercase; }
.t-clock h2 { margin: 0 0 18px; }
.t-phases { list-style: none; padding: 0; margin: 30px 0 0; border-top: 1px solid var(--rule); }
.t-phases li { display: grid; grid-template-columns: 90px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--rule); opacity: .3; transition: opacity .3s; }
.t-phases li.on, .t-phases li.cur { opacity: 1; }
.t-phases em { font-style: normal; font-family: var(--display); font-size: 14px; color: var(--faint); }
.t-phases li.cur em { color: var(--red-text); }
.t-phases strong { display: block; font-size: 16px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.t-phases li.cur strong { color: #fff; }
.t-phases p { margin: 4px 0 0; color: var(--mute); font-size: 15px; }
.t-clock__note { margin: 14px 0 0; font-size: 12px; color: var(--faint); letter-spacing: .06em; }

.t-side { background: var(--bg0); border-top: 1px solid #1F2125; }
.t-side .pin__stage { flex-direction: column; justify-content: center; align-items: stretch; }
.t-side__glow { position: absolute; inset: 0; background: radial-gradient(60% 70% at 55% 62%, var(--gc, #E0312E), transparent 70%); opacity: .2; transition: background .5s; pointer-events: none; }
.t-side__head { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; }
.t-side__count { font-family: var(--display); font-size: 22px; color: var(--mute); }
.t-side__viewport { position: relative; overflow: hidden; }
.t-side__track { display: flex; gap: 28px; padding: 10px 0 20px; transform: translateX(var(--tx, 0px)); will-change: transform; }
.s-card { flex: 0 0 min(420px, 78vw); min-height: 440px; border-radius: 18px; background: var(--panel); border: 1px solid var(--rule); padding: 36px; display: flex; flex-direction: column; justify-content: space-between; transform: scale(.92); opacity: .45; transition: transform .45s var(--ease-out), opacity .45s, border-color .45s, box-shadow .45s; }
.s-card.is-cur { transform: none; opacity: 1; border-color: var(--cc); box-shadow: 0 0 0 1px var(--cc), 0 40px 90px rgba(0,0,0,.5); }
.s-card__n { font-family: var(--display); font-size: 110px; letter-spacing: -.08em; line-height: .8; color: rgba(244,244,242,.08); }
.s-card__bar { width: 60px; height: 5px; background: var(--cc); margin-bottom: 22px; }
.s-card h3 { margin: 0 0 12px; font-family: var(--display); font-weight: 400; font-size: 40px; letter-spacing: -.06em; text-transform: uppercase; color: #fff; }
.s-card p { margin: 0; color: var(--dim); font-size: 18px; line-height: 1.5; }
.t-side__dots { display: none; justify-content: center; gap: 8px; margin-top: 18px; }
.t-side__dots i { width: 8px; height: 8px; border-radius: 50%; background: #33363C; transition: background .3s, width .3s; }
.t-side__dots i.on { background: var(--ink); width: 22px; border-radius: 99px; }
.t-side__prog { position: relative; height: 4px; background: #1E2024; border-radius: 9px; margin-top: 28px; }
.t-side__prog i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--pw, 0%); background: var(--ink); border-radius: 9px; }

/* ======================= RECOVER ======================= */
.r-split { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; --x: 50%; touch-action: pan-y; }
.r-split__hot, .r-split__cold { position: absolute; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--pad) 110px; overflow: hidden; }
.r-split__hot { left: 0; width: var(--x); background: radial-gradient(90% 80% at 20% 90%, rgba(224,49,46,.55), rgba(90,20,18,.35) 45%, #120B0B 80%); }
.r-split__cold { right: 0; width: calc(100% - var(--x)); background: radial-gradient(90% 80% at 80% 90%, rgba(170,205,230,.38), rgba(40,60,80,.35) 45%, #0A0E12 80%); align-items: flex-end; text-align: right; }
.r-temp { font-family: var(--display); font-size: clamp(80px, 9vw, 136px); letter-spacing: -.08em; line-height: .85; color: #fff; white-space: nowrap; }
.r-temp sup { font-family: var(--body); font-weight: 300; font-size: .6em; vertical-align: .55em; }
.r-name { font-size: 14px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.8); margin-top: 18px; white-space: nowrap; }
.r-desc { margin-top: 10px; color: rgba(255,255,255,.7); font-size: 17px; max-width: 340px; }
.r-split__div { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 30px rgba(255,255,255,.4); z-index: 3; }
.r-split__handle { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 58px; height: 58px; border-radius: 50%; background: #fff; color: #0A0B0D; border: 0; display: grid; place-items: center; font-size: 22px; font-weight: 700; cursor: ew-resize; padding: 0; }
.r-split__top { position: absolute; left: 0; right: 0; top: calc(var(--announce-h, 44px) + 110px); z-index: 4; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; pointer-events: none; }
.r-split__top > * { pointer-events: auto; }
.r-split h1 { margin: 0; font-size: clamp(44px, 5.4vw, 80px); line-height: .98; color: #fff; }
.r-split__side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.r-split .kicker { color: #fff; }
.r-inc { border: 1px solid rgba(255,255,255,.28); border-radius: 99px; padding: 10px 18px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #fff; background: rgba(10,11,13,.4); white-space: nowrap; }
.r-split__cta { margin-top: 26px; }

.r-fan { background: var(--bg1); }
.r-fan__deck { position: relative; height: 470px; margin-top: 56px; }
.r-fan__card { position: absolute; left: 50%; top: 0; width: 300px; height: 420px; margin-left: -150px; border-radius: 18px; background: var(--panel); border: 1px solid var(--rule); padding: 30px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 30px 70px rgba(0,0,0,.45);
  transform: translateX(calc(var(--i) * var(--spread, 0) * 1px)) rotate(calc(var(--i) * var(--rot, 6) * 1deg)); transition: transform .12s linear; }
.r-fan__card .card__bar { --c: var(--spd); }
.r-fan__card h3 { margin: 0 0 10px; font-family: var(--display); font-weight: 400; font-size: 28px; letter-spacing: -.06em; text-transform: uppercase; color: #fff; }
.r-fan__card p { margin: 0; color: var(--mute); font-size: 16px; }
.r-fan__card a { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; border-top: 1px solid var(--rule); padding-top: 14px; text-decoration: none; }

/* ======================= BASKETBALL ======================= */
.b-hero { position: relative; display: flex; flex-direction: column; padding: calc(var(--announce-h, 44px) + 110px) 0 72px; overflow: hidden; }
.b-hero__word { font-family: var(--display); font-size: clamp(64px, 13vw, 200px); letter-spacing: -.085em; line-height: .86; text-transform: uppercase; margin: 10px 0 0 -.04em; color: #fff; }
.b-hero__photo { margin: 28px 0 0; border-radius: 14px; overflow: hidden; height: clamp(200px, 32vh, 380px); }
.b-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; }
.b-hero__body { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: 40px; }
.b-hero__body p { margin: 0 0 26px; max-width: 560px; font-size: 20px; line-height: 1.5; color: var(--dim); }
.shotclock { background: #050505; border: 2px solid #1d1d1d; border-radius: 12px; padding: 16px 22px; min-width: 320px; box-shadow: inset 0 0 0 6px #0c0c0c; }
.shotclock__h { font-size: 11px; font-weight: 700; letter-spacing: .18em; color: #9a6a1c; margin-bottom: 6px; }
.shotclock__led { font-family: "Doto", monospace; font-weight: 900; font-size: 36px; color: #FFB23F; text-shadow: 0 0 10px rgba(255,178,63,.5); letter-spacing: .04em; }
.b-court { background: var(--bg1); border-top: 1px solid #1F2125; }
.b-court__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; padding-block: 30px; }
.b-court svg { width: 100%; max-width: 640px; max-height: 76vh; display: block; margin-left: auto; overflow: visible; }
.b-legend { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.b-legend li { display: flex; align-items: center; gap: 14px; opacity: .25; transition: opacity .4s, transform .4s; transform: translateX(-6px); }
.b-legend li.on { opacity: 1; transform: none; }
.b-legend i { width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 25%, transparent); flex: none; }
.b-legend b { display: block; font-family: var(--display); font-weight: 400; font-size: 20px; letter-spacing: -.05em; text-transform: uppercase; color: #fff; }
.b-legend span { font-size: 14px; color: var(--mute); }

/* ======================= GRID ======================= */
.g-build { background: var(--bg0); padding-top: 0; }
.g-build__grid { display: grid; grid-template-columns: 480px 1fr; gap: 56px; align-items: center; }
.g-build h1 { margin: 0 0 12px; font-size: clamp(34px, 3.6vw, 52px); line-height: 1; color: #fff; }
.pin.is-pinned.g-build .pin__stage { padding: 88px 0 20px; box-sizing: border-box; }
.pin.is-pinned.g-build .lede { display: none; }
.pin.is-pinned.g-build .crumb { margin-top: 0 !important; }
.g-build .lede { margin-bottom: 20px; }
.g-tests { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.g-tests li { display: grid; grid-template-columns: 50px 1fr 44px; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--rule); opacity: .28; transition: opacity .3s; }
.g-tests li.on { opacity: 1; }
.g-tests li.cur { background: linear-gradient(90deg, rgba(244,244,242,.06), transparent); }
.g-tests i { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--c); }
.g-tests strong { font-size: 15px; letter-spacing: .04em; color: #fff; font-weight: 600; }
.g-tests em { font-style: normal; text-align: right; font-family: var(--display); font-size: 17px; color: #fff; }
.g-viz { position: relative; width: min(600px, 100%); aspect-ratio: 1; margin: 0 auto; }
.g-viz svg { width: 100%; height: 100%; display: block; }
.g-viz__num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; }
.g-viz__num b { font-family: var(--display); font-weight: 400; font-size: clamp(72px, 9vw, 130px); letter-spacing: -.08em; line-height: .85; color: #fff; text-shadow: 0 0 30px #0A0B0D, 0 0 12px #0A0B0D; font-variant-numeric: tabular-nums; }
.g-viz__num span { margin-top: 12px; font-size: 12px; letter-spacing: .2em; color: var(--faint); }
.g-viz__tier { position: absolute; right: 0; top: 0; border: 2px solid var(--rule2); border-radius: 10px; padding: 8px 16px; font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--mute); text-transform: uppercase; }
.g-actions { margin-top: 22px; }
.g-actions p { margin: 14px 0 0; color: var(--mute); font-size: 15px; }
.g-ladder { background: var(--bg1); }
.g-ladder__grid { display: grid; grid-template-columns: 1fr 520px; gap: 64px; align-items: center; }
.g-ladder__wrap { margin-left: 70px; }
.g-ladder__wrap { position: relative; padding-left: 64px; }
.g-ladder__rail { position: absolute; left: 14px; top: 0; bottom: 0; width: 6px; border-radius: 9px; background: #1E2024; }
.g-ladder__rail i { position: absolute; left: 0; right: 0; bottom: 0; height: var(--h, 0%); border-radius: 9px; background: linear-gradient(0deg, #4A4E56, #9BA0A8 60%, #F4F4F2); }
.g-ladder__you { position: absolute; left: 2px; width: 30px; height: 30px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(244,244,242,.15), 0 0 30px rgba(255,255,255,.5); bottom: calc(var(--h, 0%) - 15px); }
.g-ladder__you span { position: absolute; right: 42px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: 12px; font-weight: 800; letter-spacing: .14em; color: #fff; background: var(--bg1); padding: 2px 6px; }
.g-rungs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.g-rung { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 18px; border-radius: 10px; border: 2px solid var(--b, #26282D); color: var(--faint); border-color: #26282D; font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; transition: color .35s, border-color .35s; }
.g-rung.on { color: var(--bt, var(--ink)); border-color: var(--b, #26282D); }
.g-rung em { font-style: normal; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--faint); font-size: 13px; text-align: right; }
.g-rung.carbon { background: #232428; border-color: #3A3D44; color: #C9CCD1; }
.g-rung.carbon.on { background: var(--ink); border-color: var(--ink); color: #0A0B0D; }
.g-rung.carbon em { color: var(--mute); }
.g-rung.carbon.on em { color: #4A4E56; }

/* ======================= PRICES ======================= */
.p-pick { padding: calc(var(--announce-h, 44px) + 140px) 0 var(--sec); border-bottom: 1px solid #1F2125; }
.p-pick__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.p-pick h1 { margin: 0 0 18px; font-size: clamp(40px, 5vw, 72px); line-height: 1; color: #fff; }
.p-opts { margin: 30px 0 0; display: flex; flex-direction: column; gap: 10px; }
.p-opt { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; min-height: 56px; padding: 16px 22px; border: 1px solid var(--rule2); border-radius: 12px; background: transparent; color: var(--dim); font: inherit; font-size: 17px; text-align: left; cursor: pointer; transition: border-color .25s, background-color .25s, color .25s; }
.p-opt:hover { border-color: #4A4E56; }
.p-opt[aria-pressed="true"] { border-color: var(--ink); color: #fff; background: rgba(244,244,242,.05); }
.p-opt i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #4A4E56; flex: none; }
.p-opt[aria-pressed="true"] i { border-color: var(--ink); background: radial-gradient(circle, var(--ink) 45%, transparent 50%); }
.p-res { border-radius: 18px; background: var(--bone); color: var(--bone-ink); padding: 44px; box-shadow: 0 40px 100px rgba(0,0,0,.5); }
.p-res__k { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--red-on-bone); }
.p-res h2 { margin: 12px 0 4px; font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3.2vw, 44px); letter-spacing: -.06em; text-transform: uppercase; color: var(--bone-ink); }
.p-res__price { font-family: var(--display); font-size: clamp(64px, 7vw, 92px); letter-spacing: -.07em; line-height: 1; margin: 14px 0; }
.p-res__price small { font-family: var(--body); font-size: 16px; letter-spacing: 0; color: var(--bone-dim); }
.p-res__note { margin: -4px 0 12px; font-size: 14px; color: var(--bone-dim); }
.p-res ul { margin: 0 0 26px; padding: 18px 0 0; border-top: 1px solid #C9CCD1; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 16px; }
.p-res.swap { animation: resIn .4s var(--ease-out); }
@keyframes resIn { from { opacity: .3; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.p-alt { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.p-alt a { border: 1px solid var(--rule2); border-radius: 99px; padding: 10px 16px; color: var(--mute); font-size: 14px; text-decoration: none; }
.p-alt a:hover { color: var(--ink); border-color: var(--ink); }
.p-time { background: var(--bg0); padding: var(--sec) 0; border-bottom: 1px solid #1F2125; }
.p-time__rail { position: relative; height: 6px; border-radius: 9px; background: #1E2024; margin: 70px 23px 0; }
.p-time__rail i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w, 0%); border-radius: 9px; background: linear-gradient(90deg, #9BA0A8, #F4F4F2 70%, #E0312E); }
.p-time__stops { position: relative; list-style: none; margin: -26px 23px 0; padding: 0; height: 90px; }
.p-time__stops li { position: absolute; top: 0; left: calc(var(--x) * 100%); width: 300px; margin-left: -150px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.p-time__stops li:first-child { margin-left: -23px; align-items: flex-start; text-align: left; }
.p-time__stops li:last-child { margin-left: -277px; align-items: flex-end; text-align: right; }
.p-time__mk { width: 46px; height: 46px; border-radius: 50%; background: #0A0B0D; border: 3px solid #33363C; display: grid; place-items: center; font-family: var(--display); font-size: 11px; color: #5C6068; transition: all .35s; }
.p-time__stops span { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); transition: color .35s; }
.p-time__stops li.on .p-time__mk { background: var(--ink); border-color: var(--ink); color: #0A0B0D; }
.p-time__stops li.on span { color: #fff; }
.p-time__stops li.red.on .p-time__mk { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 0 0 6px rgba(224,49,46,.2), 0 0 36px rgba(224,49,46,.6); }
.p-time__panels { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.p-tp { border: 1px solid var(--rule); border-radius: 16px; padding: 32px 36px; background: var(--panel); opacity: .35; transition: opacity .4s, background-color .4s, color .4s; }
.p-tp.on { opacity: 1; }
.p-tp.jan.on { background: var(--bone); color: var(--bone-ink); border-color: var(--bone); }
.p-tp__k { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.p-tp.jan.on .p-tp__k { color: var(--red-on-bone); }
.p-tp h3 { margin: 10px 0 6px; font-family: var(--display); font-weight: 400; font-size: 28px; letter-spacing: -.06em; text-transform: uppercase; }
.p-tp__price { font-family: var(--display); font-size: 58px; letter-spacing: -.07em; line-height: 1; }
.p-tp__price small { font-family: var(--body); font-size: 15px; letter-spacing: 0; opacity: .7; }
.p-tp p { margin: 10px 0 0; font-size: 16px; opacity: .85; }

/* Compare as cards (phones) */
.cmp-cards { display: none; }
.cmp-card { background: var(--panel); border: 1px solid var(--rule); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.cmp-card--feature { background: var(--bone); color: var(--bone-ink); border-color: var(--bone); }
.cmp-card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; }
.cmp-card__top h3 { min-width: 0; overflow-wrap: anywhere; }
.cmp-card h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: -.05em; text-transform: uppercase; }
.cmp-card__price { font-family: var(--display); font-size: 28px; letter-spacing: -.06em; white-space: nowrap; }
.cmp-card__price small { font-family: var(--body); font-size: 12px; letter-spacing: 0; opacity: .7; }
.cmp-card ul { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.cmp-card--feature ul { border-top-color: #C9CCD1; }
.cmp-card li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; }
.cmp-card li b { font-weight: 700; }
.cmp-card li.no { opacity: .45; }
.cmp-card .btn { width: 100%; }
.cmp-card__tag { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.cmp-card--feature .cmp-card__tag { color: var(--red-on-bone); }


/* ======================= TIMETABLE (Train page) ======================= */
.tt { position: relative; padding: var(--sec) 0; background: var(--bg1); border-top: 1px solid #1F2125; border-bottom: 1px solid #1F2125; }
.tt__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 34px; }
.tt__head h2 { margin: 0; color: #fff; }
.tt__live { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.tt__pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 99px; border: 1px solid var(--rule2); font-size: 13px; color: var(--dim); background: var(--bg0); }
.tt__pill b { color: #fff; font-weight: 700; }
.tt__pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--spd); animation: ttPulse 1.8s infinite; }
.tt__pill--next .dot { background: var(--pwr); animation: none; }
@keyframes ttPulse { 0% { box-shadow: 0 0 0 0 rgba(31,168,92,.55); } 70% { box-shadow: 0 0 0 10px rgba(31,168,92,0); } 100% { box-shadow: 0 0 0 0 rgba(31,168,92,0); } }
.tt__note { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); text-align: right; }
.tt__bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid var(--rule); }
.tt__days { position: relative; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.tt__days::-webkit-scrollbar { display: none; }
.tt__glider { position: absolute; left: 0; top: 2px; bottom: 2px; border-radius: 12px; background: var(--ink); transition: transform .45s var(--ease-out), width .45s var(--ease-out); z-index: 0; }
.tt__day { position: relative; z-index: 1; flex: none; width: 76px; padding: 12px 0 10px; border-radius: 12px; border: 1px solid var(--rule2); background: transparent; color: var(--dim); cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; font: inherit; transition: color .3s, border-color .3s; }
.tt__day span { font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.tt__day b { font-family: var(--display); font-weight: 400; font-size: 24px; letter-spacing: -.06em; color: #fff; transition: color .3s; }
.tt__day em { font-style: normal; font-size: 10px; letter-spacing: .12em; color: var(--red-text); height: 12px; }
.tt__day[aria-selected="true"] { color: #0A0B0D; border-color: transparent; }
.tt__day[aria-selected="true"] b { color: #0A0B0D; }
.tt__day[aria-selected="true"] em { color: var(--red-on-bone); }
.tt__view { display: flex; border: 1px solid var(--rule2); border-radius: 99px; padding: 4px; }
.tt__view button { border: 0; background: transparent; color: var(--dim); font: inherit; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 9px 16px; border-radius: 99px; cursor: pointer; }
.tt__view button[aria-pressed="true"] { background: var(--ink); color: #0A0B0D; font-weight: 700; }
.tt__filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0 26px; }
.tt__filters button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 15px; border-radius: 99px; border: 1px solid var(--rule2); background: transparent; color: var(--ink); font: inherit; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.tt__filters button i { width: 10px; height: 10px; border-radius: 3px; background: var(--k); }
.tt__filters button[aria-pressed="true"] { background: var(--ink); color: #0A0B0D; border-color: var(--ink); font-weight: 700; }
.k-club { --k: linear-gradient(180deg, var(--str) 0 25%, var(--pwr) 25% 50%, var(--spd) 50% 75%, var(--end) 75%); }
.k-pilates { --k: #F4F4F2; }
.k-bball { --k: #FFB23F; }
.k-junior { --k: repeating-linear-gradient(180deg, var(--str) 0 6px, var(--end) 6px 12px); }
.k-grid { --k: var(--red); }
/* day list + today's line */
.tt__day-wrap { position: relative; padding-left: 40px; }
.tt.is-week .tt__day-wrap { display: none; }
.tt__rail { position: absolute; left: 10px; width: 6px; border-radius: 99px; background: #1E2024; transition: opacity .3s; }
.tt__rail > i { position: absolute; left: 0; top: 0; width: 6px; border-radius: 99px; background: linear-gradient(180deg, var(--str) 0 25%, var(--pwr) 25% 50%, var(--spd) 50% 75%, var(--end) 75%) no-repeat; transition: height .8s var(--ease-out); }
.tt__stop { position: absolute; left: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--bg1); border: 3px solid #33363C; }
.tt__stop.past { background: var(--ink); border-color: var(--ink); }
.tt__stop.now { background: var(--spd); border-color: #fff; box-shadow: 0 0 0 5px rgba(31,168,92,.25); animation: ttPulse 1.8s infinite; }
.tt__list { display: flex; flex-direction: column; }
.tt-wrap { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .4s var(--ease-out), opacity .35s, margin .4s; margin-bottom: 10px; }
.tt-wrap > * { min-height: 0; overflow: hidden; }
.tt-wrap.is-out { grid-template-rows: 0fr; opacity: 0; margin-bottom: 0; pointer-events: none; }
.tt-row { position: relative; display: grid; grid-template-columns: 170px 1fr 230px 190px; gap: 24px; align-items: center; padding: 20px 26px 20px 34px; border: 1px solid var(--rule); border-radius: 14px; background: var(--panel); cursor: pointer; transition: border-color .25s, transform .25s, opacity .3s; }
.tt-row:hover, .tt-row:focus-visible { border-color: #3A3D44; transform: translateX(4px); }
.tt-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--k); }
.tt-row.past::before { filter: grayscale(1); opacity: .35; }
.tt-row.past .tt-row__time b, .tt-row.past .tt-row__name strong, .tt-row.past .tt-coach b { color: var(--mute); }
.tt-row.past .tt-coach img { opacity: .6; }
.tt-row.now { border-color: rgba(31,168,92,.6); box-shadow: 0 0 0 1px rgba(31,168,92,.35), 0 20px 50px rgba(0,0,0,.35); }
.tt-row.sweep::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(31,168,92,.28), transparent); transform: translateX(-100%); animation: ttSweep 1.2s var(--ease-out) forwards; pointer-events: none; }
@keyframes ttSweep { to { transform: translateX(100%); } }
.tt-row__time b { display: block; white-space: nowrap; font-family: var(--display); font-weight: 400; font-size: 30px; letter-spacing: -.06em; color: #fff; line-height: 1; }
.tt-row__time small { font-size: .5em; letter-spacing: 0; }
.tt-row__time span { font-size: 12px; color: var(--faint); letter-spacing: .08em; }
.tt-row__name { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tt-row__name strong { font-size: 17px; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.tt-row__name small { font-size: 14px; color: var(--mute); }
.tt-row__tag { display: none; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--spd); text-transform: uppercase; }
.tt-row.now .tt-row__tag { display: inline-flex; }
.tt-row__tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--spd); animation: ttPulse 1.8s infinite; }
.tt-coach { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tt-coach img, .tt-coach__ph { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; object-position: center 22%; filter: grayscale(1); background: #1E2024; border: 1px solid var(--rule2); flex: none; transition: filter .4s; }
.tt-coach__ph { display: grid; place-items: center; font-family: var(--display); font-size: 12px; color: var(--mute); filter: none; }
.tt-row:hover .tt-coach img { filter: none; }
.tt-coach b { display: block; font-size: 14px; color: #fff; font-weight: 600; }
.tt-coach span { font-size: 12px; color: var(--faint); }
.tt-row__act { display: flex; justify-content: flex-end; align-items: center; }
.tt-row__btn { min-height: 42px; font-size: 11px; padding: 0 20px; }
.tt-row__free, .tt-row__done { font-size: 13px; color: var(--mute); text-align: right; }
.tt-spots { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; width: 100%; }
.tt-spots__bar { width: 100%; height: 6px; border-radius: 99px; background: #26282D; overflow: hidden; }
.tt-spots__bar i { display: block; height: 100%; width: var(--f); background: var(--ink); border-radius: 99px; }
.tt-spots span { font-size: 12px; color: var(--mute); }
.tt-spots span.low { color: var(--pwr); }
.tt__empty, .tt__loading { color: var(--mute); }
/* cascade + day slide */
.js .tt:not(.tt--in) .tt-wrap { opacity: 0; transform: translateY(14px); }
.tt--in .tt-wrap:not(.is-out) { animation: ttIn .5s var(--ease-out) both; animation-delay: calc(var(--i) * 45ms); }
@keyframes ttIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.tt__list.slide-left .tt-wrap:not(.is-out) { animation: ttLeft .45s var(--ease-out) both; animation-delay: calc(var(--i) * 30ms); }
.tt__list.slide-right .tt-wrap:not(.is-out) { animation: ttRight .45s var(--ease-out) both; animation-delay: calc(var(--i) * 30ms); }
@keyframes ttLeft { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes ttRight { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
/* week grid */
.wk { display: none; grid-template-columns: 64px repeat(7, 1fr); border: 1px solid var(--rule); border-radius: 14px; overflow: hidden; background: var(--bg0); }
.tt.is-week .wk { display: grid; }
.wk__h { padding: 14px 8px; text-align: center; border-bottom: 1px solid var(--rule); font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--dim); }
.wk__h.today { color: #fff; background: rgba(244,244,242,.05); }
.wk__times { position: relative; border-right: 1px solid var(--rule); }
.wk__col { position: relative; border-right: 1px solid var(--rule); }
.wk__col:last-child { border-right: 0; }
.wk__col.today { background: rgba(244,244,242,.03); }
.wk__line { position: absolute; left: 0; right: 0; border-top: 1px dashed #1E2024; }
.wk__lbl { position: absolute; right: 8px; font-size: 10px; color: var(--faint); transform: translateY(-50%); }
.blk { position: absolute; border-radius: 8px; background: var(--panel); border: 1px solid var(--rule2); padding: 5px 7px 5px 11px; overflow: hidden; font: inherit; font-size: 11px; line-height: 1.25; color: #fff; cursor: pointer; text-align: left; }
.blk::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--k); }
.blk b { display: block; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; }
.blk span { color: var(--faint); font-size: 10px; }
.blk.past { opacity: .35; }
.blk.now { border-color: rgba(31,168,92,.8); }
.wk.lit .blk { animation: ttLight .5s var(--ease-out) both; animation-delay: calc(var(--o) * 28ms); }
@keyframes ttLight { from { opacity: 0; filter: brightness(2); } to { opacity: 1; filter: none; } }
.wk.lit .blk.past { animation-name: ttLightPast; }
@keyframes ttLightPast { from { opacity: 0; } to { opacity: .35; } }
.wk__now { position: absolute; left: 0; right: 0; height: 2px; background: var(--spd); z-index: 3; }
.wk__now::before { content: ""; position: absolute; left: -4px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--spd); }
/* details panel */
.sheet { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(5,6,8,0); transition: background .25s; }
.sheet[hidden] { display: none; }
.sheet.on { background: rgba(5,6,8,.72); }
.sheet__card { width: min(520px, 100%); background: var(--bg1); border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; opacity: 0; transform: scale(.92); transform-origin: var(--ox, 50%) var(--oy, 50%); transition: opacity .25s, transform .35s var(--ease-out); }
.sheet.on .sheet__card { opacity: 1; transform: none; }
.sheet__rule { display: flex; height: 5px; transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out) .1s; }
.sheet__rule i { flex: 1; } .sheet__rule i:nth-child(1) { background: var(--str); } .sheet__rule i:nth-child(2) { background: var(--pwr); } .sheet__rule i:nth-child(3) { background: var(--spd); } .sheet__rule i:nth-child(4) { background: var(--end); }
.sheet.on .sheet__rule { transform: none; }
.sheet__body { padding: 30px 32px 30px; display: flex; flex-direction: column; gap: 16px; }
.sheet__body .kicker { margin: 0; }
.sheet__body h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 32px; letter-spacing: -.07em; text-transform: uppercase; color: #fff; line-height: 1; }
.sheet__body p { margin: 0; color: var(--dim); font-size: 15px; line-height: 1.55; }
.sheet__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; background: var(--rule); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; }
.sheet__meta div { background: var(--bg0); padding: 14px 16px; }
.sheet__meta dt { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.sheet__meta dd { margin: 4px 0 0; font-size: 15px; color: #fff; }
.sheet__btns { display: flex; gap: 10px; } .sheet__btns .btn { flex: 1; }
.t-side__sub { margin: 14px 0 0; max-width: 620px; color: var(--dim); font-size: 17px; line-height: 1.5; }

/* ======================= INTERACTIVE LADDER (GRID page) ======================= */
.g-rungs li { list-style: none; }
.g-rung { width: 100%; font: inherit; font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: transparent; cursor: pointer; text-align: left; transition: opacity .35s, box-shadow .35s, background-color .35s, transform .25s; }
.g-rung:hover { transform: translateX(-3px); }
.g-rung.is-here { opacity: 1; box-shadow: 0 0 0 4px color-mix(in srgb, var(--b, #9BA0A8) 22%, transparent), 0 0 30px color-mix(in srgb, var(--b, #9BA0A8) 45%, transparent); }
.g-rung.carbon.is-here { box-shadow: 0 0 0 4px rgba(244,244,242,.2), 0 0 34px rgba(244,244,242,.5); }
.g-ladder__you { cursor: grab; touch-action: none; outline: none; }
.g-ladder__you:active { cursor: grabbing; }
.g-ladder__you:focus-visible { box-shadow: 0 0 0 6px rgba(244,244,242,.25), 0 0 0 9px var(--red); }
.g-ladder__box.is-manual .g-ladder__rail i, .g-ladder__box.is-manual .g-ladder__you { transition: height .18s ease-out, bottom .18s ease-out; }
.g-ladder__hint { position: absolute; right: 42px; top: calc(50% + 20px); white-space: nowrap; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red-text); opacity: 0; transition: opacity .4s; }
.g-ladder__box.show-hint .g-ladder__hint { opacity: 1; animation: ladderNudge 1.6s ease-in-out infinite; }
@keyframes ladderNudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.g-ladder__msg { margin: 20px 0 0 70px; min-height: 3em; color: var(--dim); font-size: 15px; }
.g-ladder__msg b { color: #fff; }

@media (max-width: 960px) {
  .tt__head { flex-direction: column; align-items: flex-start; } .tt__live { align-items: flex-start; } .tt__note { text-align: left; }
  .tt__view { display: none; } .tt.is-week .wk { display: none; } .tt.is-week .tt__day-wrap { display: block; }
  .tt__day-wrap { padding-left: 30px; }
  .tt__rail { left: 6px; }
  .tt-row { grid-template-columns: 112px 1fr; gap: 10px 14px; padding: 16px 16px 16px 24px; }
  .tt-row__time b { font-size: 21px; }
  .tt-row .tt-coach { grid-column: 2; }
  .tt-row__act { grid-column: 1 / -1; justify-content: space-between; }
  .tt__filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(var(--pad) * -1); }
  .tt__filters button { flex: none; }
  .tt__day { width: 64px; }
  .sheet { align-items: flex-end; padding: 0; }
  .sheet__card { border-radius: 18px 18px 0 0; transform: translateY(100%); transform-origin: 50% 100%; }
  .sheet.on .sheet__card { transform: none; }
  .g-ladder__hint { right: auto; left: 40px; top: auto; bottom: -22px; }
  .g-ladder__you span { display: none; }
  .g-ladder__msg { margin-left: 50px; }
}
@media (max-width: 380px) { .tt-row { grid-template-columns: 96px 1fr; } .tt-row__time b { font-size: 18px; } .sheet__meta { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .tt__glider, .tt-wrap, .tt__rail > i, .sheet, .sheet__card, .sheet__rule, .g-rung { transition: none !important; }
  .tt-wrap, .tt__list .tt-wrap, .wk.lit .blk, .tt__pill .dot, .tt__stop.now, .tt-row__tag i, .g-ladder__box.show-hint .g-ladder__hint { animation: none !important; }
  .js .tt:not(.tt--in) .tt-wrap { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-build__grid { grid-template-columns: 400px 1fr; gap: 36px; }
}
@media (max-width: 960px) {
  .split, .t-clock__grid, .b-court__grid, .g-ladder__grid, .p-pick__grid, .g-build__grid { grid-template-columns: 1fr; }
  .cards--3 { grid-template-columns: 1fr; }
  .t-hero__body { flex-direction: column; align-items: flex-start; }
  .t-hero__facts { flex-direction: row; flex-wrap: wrap; gap: 20px 28px; text-align: left; }
  .t-hero__facts b { font-size: 24px; }
  /* phone: sideways cards become a swipe */
  .t-side__viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); }
  .t-side__viewport::-webkit-scrollbar { display: none; }
  .t-side__track { transform: none !important; }
  .s-card { scroll-snap-align: center; min-height: 320px; flex: 0 0 78vw; min-width: 0; padding: 28px; transform: scale(.96); }
  .s-card h3 { font-size: clamp(22px, 7vw, 28px); }
  .s-card p { font-size: 16px; }
  .s-card__n { font-size: 80px; }
  .t-side__track { gap: 14px; }
  .s-card.is-cur { transform: none; }
  .t-side__dots { display: flex; }
  .t-side__prog { display: none; }
  .t-side__head { align-items: flex-start; }
  .t-side__count { font-size: 16px; white-space: nowrap; }
  .t-side { padding: var(--sec) 0; }
  .b-court svg { margin: 0 auto; max-height: 52vh; }
  .b-hero__body { flex-direction: column; align-items: stretch; }
  .shotclock { min-width: 0; }
  .p-time__panels { grid-template-columns: 1fr; }
  .soon { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .cards--2, .cards--4 { grid-template-columns: 1fr; }
  .t-hero__word { display: none; }
  .ticker { height: 72px; }
  .ticker span { font-size: 26px; }
  .t-hero .btns, .b-hero .btns, .r-split .btns { flex-direction: column; align-items: stretch; }
  .t-hero .btn, .b-hero .btn, .r-split .btn { width: 100%; }
  /* clock: compact so ring + steps fit one screen */
  .pin.is-pinned .t-clock__grid { gap: 14px; padding-block: 12px 10px; }
  .t-clock__ring { width: min(42vh, 78vw); }
  .t-clock .t-clock__intro { display: none; }
  .t-phases { margin-top: 0; }
  .t-phases li { grid-template-columns: 62px 1fr; padding: 9px 0; gap: 10px; }
  .t-phases p { display: none; }
  .t-phases li.cur p { display: block; font-size: 13px; }
  /* phones: keep held sections clear of the menu bar */
  .pin.is-pinned .pin__stage { padding-top: 76px; box-sizing: border-box; align-items: flex-start; }
  .pin.is-pinned .b-court__grid, .pin.is-pinned .g-build__grid, .pin.is-pinned .t-clock__grid { padding-top: 12px; }
  .r-split { display: flex; flex-direction: column; }
  .r-split__top { order: -1; }
  .t-hero { padding-top: calc(var(--announce-h, 44px) + 84px); min-height: 0; }
  /* recover: hot on top, cold below */
  .r-split { height: auto; min-height: 0; }
  .r-split__top { position: relative; top: auto; padding-top: calc(var(--announce-h, 44px) + 84px); padding-bottom: 28px; flex-direction: column; }
  .r-split__hot, .r-split__cold { position: relative; width: auto !important; min-height: 0; padding: 22px var(--pad); justify-content: flex-end; transition: height .15s linear; }
  .r-split__hot { height: calc(var(--xn, .5) * 520px + 60px); }
  .r-split__cold { height: calc((1 - var(--xn, .5)) * 520px + 60px); border-top: 2px solid #fff; box-shadow: 0 -10px 30px rgba(255,255,255,.18); }
  .r-temp { font-size: 76px; }
  .r-split__cold { align-items: flex-start; text-align: left; }
  .r-split__div { display: none; }
  .r-split__side { align-items: flex-start; }
  .r-split__bg { background: #0A0B0D; }
  .r-fan__deck { height: auto; margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
  .r-fan__card { position: relative; left: auto; margin: 0; width: auto; height: auto; min-height: 0; transform: none !important; gap: 14px; box-shadow: none; }
  /* grid: title, then diamond, then tests and buttons */
  .g-build { padding: calc(var(--announce-h, 44px) + 84px) 0 var(--sec); }
  .g-build__grid > div:first-child { display: contents; }
  .g-build__intro { order: 0; }
  .g-viz { width: min(80vw, 340px); order: 1; margin: 8px auto 4px; }
  .g-tests { order: 2; }
  .g-actions { order: 3; }
  .g-build .crumb { margin-top: 0 !important; }
  .g-viz__tier { top: -6px; right: -6px; font-size: 11px; padding: 6px 10px; }
  .g-tests li { padding: 6px 0; grid-template-columns: 44px 1fr 36px; }
  .g-tests strong { font-size: 13px; }
  .g-ladder__wrap { padding-left: 50px; margin-left: 0; }
  .g-ladder__you span { right: auto; left: 50%; top: auto; bottom: 36px; transform: translateX(-22%); background: var(--ink); color: #0A0B0D; border-radius: 99px; padding: 4px 10px; font-size: 11px; }
  .g-rung { padding: 10px 12px; font-size: 12px; }
  .g-rung em { font-size: 12px; }
  .b-hero__word { margin-top: 14px; }
  .b-hero { padding-top: calc(var(--announce-h, 44px) + 84px); }
  .b-hero__photo { height: 220px; margin-top: 20px; }
  .p-pick { padding-top: calc(var(--announce-h, 44px) + 84px); }
  .pin.is-pinned .b-court__grid { gap: 10px; padding-top: 64px; }
  .b-court__intro .lede, .b-court__intro .btns { display: none; }
  .b-legend { margin-top: 12px; gap: 8px; }
  .b-legend b { font-size: 16px; }
  .p-res { padding: 30px 24px; }
  .cmp-cards { display: flex; flex-direction: column; gap: 12px; }
  #compare .tbl-wrap { display: none; }
  .p-plans { display: none; }
  .p-time__panels { display: none; }
  .p-time__panels > * { min-width: 0; }
  .p-tp { padding: 24px 22px; }
  .p-tp h3 { font-size: 22px; }
  .p-tp__price { font-size: 48px; }
  .p-time__rail { display: none; }
  .p-time__stops { height: auto; margin: 32px 0 0; display: flex; flex-direction: column; gap: 18px; padding-left: 4px; }
  .p-time__stops li, .p-time__stops li:first-child, .p-time__stops li:last-child { position: static; width: auto; margin: 0; flex-direction: row; align-items: center; text-align: left; }
  .pcta .btns { width: 100%; flex-direction: column; }
  .pcta .btn { width: 100%; }
}
@media (max-width: 380px) {
  .soon h3 { font-size: 21px; }
  .soon { padding: 26px 22px; }
  .h-page { font-size: 30px; }
  .card { padding: 22px; }
  .shotclock__led { font-size: 28px; }
}

/* ---------- Reduced motion: finished states, nothing moves ---------- */
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; flex-wrap: wrap; }
  .pin.is-pinned { height: auto; }
  .pin.is-pinned .pin__stage { position: relative; height: auto; }
  .s-card { transform: none; opacity: 1; }
  .r-fan__card { transition: none; }
}

/* v5.9 */
.cmp-card__eoi { margin: 0; font-size: 14px; line-height: 1.5; opacity: .8; }

/* v5.11: the court legend rows are links to each service */
.b-legend--links li > a { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; padding: 4px 0; }
.b-legend--links li > a:hover b, .b-legend--links li > a:focus-visible b { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.b-court__intro h2 { font-size: clamp(34px, 4.3vw, 64px); }
.b-court__intro h2 br + * , .b-court__intro h2 { text-wrap: balance; }
.b-legend--links { margin-top: 22px; gap: 10px; }
@media (max-height: 760px) and (min-width: 961px) {
  .b-court__intro .lede { display: none; }
}

/* v5.11.2: phones, while the court section is held on screen. Everything must fit one screen:
   the four rows become a compact two-by-two block and the court scales to whatever height is left,
   so the whole court is always visible. */
@media (max-width: 760px) {
  .pin.is-pinned.b-court .pin__stage > .wrap { align-self: stretch; }
  .pin.is-pinned .b-court__grid { display: flex; flex-direction: column; gap: 14px; padding-top: 8px; padding-bottom: 18px; box-sizing: border-box; }
  .pin.is-pinned .b-court__intro { flex: none; }
  .pin.is-pinned .b-court__intro h2 { font-size: clamp(26px, 8vw, 32px); margin-top: 8px; }
  .pin.is-pinned .b-legend--links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin-top: 14px; }
  .pin.is-pinned .b-legend--links li > a { gap: 10px; padding: 3px 0; align-items: center; }
  .pin.is-pinned .b-legend--links i { width: 12px; height: 12px; box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 25%, transparent); margin-left: 4px; }
  .pin.is-pinned .b-legend--links b { font-size: 13px; line-height: 1.15; }
  .pin.is-pinned .b-legend--links span { display: none; }
  .pin.is-pinned.b-court svg { flex: 1 1 0; min-height: 0; width: 100%; max-width: none; max-height: none; margin: 0; }
}

/* ====================== v5.12: Huupe page (/basketball/huupe/) ====================== */
.hu-hero { position: relative; background: var(--bg0); }
.hu-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; padding-top: clamp(104px, 8.5vw, 128px); padding-bottom: clamp(56px, 7vw, 104px); }
.hu-hero__main { display: flex; flex-direction: column; min-width: 0; --hs: clamp(20px, 2.1vw, 28px); }
.hu-hero__main .crumb { margin: 0; }
.hu-hero__main .kicker { margin: var(--hs) 0 0; }
.hu-hero__head { display: inline-flex; flex-direction: column; align-self: flex-start; max-width: 100%; }
.hu-hero__title { margin: var(--hs) 0 0; font-size: clamp(30px, 4.7vw, 70px); line-height: .98; color: #fff; white-space: nowrap; }
.hu-hero__rule { margin-top: var(--hs); height: 7px; width: 100%; background: var(--red); transform-origin: left; animation: huRule 1.1s var(--ease-out) .3s both; }
@keyframes huRule { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hu-hero__main .lede { margin: var(--hs) 0 0; max-width: 54ch; }
.hu-hero__main .btns { margin-top: var(--hs); }
.hu-hero .rule { position: static; }

.hu-demo { background: var(--panel); border: 1px solid var(--rule); border-radius: 16px; padding: clamp(20px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hu-demo__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.hu-demo__live { display: flex; align-items: center; gap: 8px; color: var(--ink); letter-spacing: .18em; }
.hu-demo__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--spd); animation: huBlink 1.4s ease-in-out infinite; }
@keyframes huBlink { 50% { opacity: .35; } }
.hu-demo__ring { display: flex; flex-direction: column; align-items: center; }
.hu-hub { display: flex; align-items: center; gap: 8px; padding: 5px 10px; border: 1px solid var(--rule2); border-bottom: 0; border-radius: 8px 8px 0 0; background: var(--bg0); font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.hu-hub i { width: 6px; height: 6px; border-radius: 50%; background: var(--red-text); animation: huPulse 1.8s ease-in-out infinite; }
@keyframes huPulse { 50% { transform: scale(1.9); opacity: .25; } }
.hu-board { width: min(100%, 300px); aspect-ratio: 1.7; border: 4px solid var(--rule2); border-radius: 6px; background: rgba(244,244,242,.03); display: flex; align-items: flex-end; justify-content: center; transition: border-color .35s, box-shadow .35s; }
.hu-board span { width: 34%; aspect-ratio: 1.35; border: 2px solid rgba(244,244,242,.75); margin-bottom: 10%; }
.hu-board.is-make { border-color: var(--spd); box-shadow: 0 0 46px 6px rgba(31,168,92,.5); }
.hu-board.is-miss { border-color: var(--red); box-shadow: 0 0 46px 6px rgba(224,49,46,.5); }
.hu-rim { width: 64px; height: 12px; border: 3px solid var(--ink); border-radius: 50%; margin-top: -8px; background: var(--panel); }
.hu-court { width: 100%; height: auto; display: block; overflow: visible; }
.hu-shot { opacity: 0; transform: scale(0); transform-box: fill-box; transform-origin: center; transition: transform .45s var(--ease-out), opacity .3s; }
.hu-shot.on { opacity: 1; transform: none; }
.hu-stats { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 20px; border-top: 1px solid var(--rule); padding-top: 20px; }
.hu-stats div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hu-stats dd { margin: 0; font-size: clamp(20px, 2vw, 30px); line-height: 1; letter-spacing: -.06em; color: #fff; }
.hu-stats dt { order: 2; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.hu-stats__last.is-make { color: #3FBF78; }
.hu-stats__last.is-miss { color: var(--red-text); }

.hu-facts { background: var(--bg1); border-bottom: 1px solid #1F2125; padding: clamp(40px, 5vw, 64px) 0; }
.hu-facts__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(28px, 4vw, 56px); }
.hu-facts__grid > div { border-top: 1px solid var(--rule2); padding-top: 20px; }
.hu-facts strong, .hu-ways strong, .hu-steps strong { display: block; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; }
.hu-facts p, .hu-ways p { margin: 8px 0 0; color: var(--mute); font-size: 15px; }

.hu-how { background: var(--bone); color: var(--bone-ink); padding: var(--sec) 0; }
.hu-how__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.hu-how__intro .lede { margin-top: 22px; color: var(--bone-dim); }
.hu-how__photo { margin: 32px 0 0; border-radius: 12px; overflow: hidden; }
.hu-how__photo img { display: block; width: 100%; height: auto; }
.hu-steps { list-style: none; margin: 0; padding: 0; }
.hu-steps li { display: flex; gap: 24px; padding: 22px 0; border-top: 1px solid #C9CCD1; }
.hu-steps li:last-child { border-bottom: 1px solid #C9CCD1; }
.hu-steps li > span { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--bone-ink); color: var(--bone); display: flex; align-items: center; justify-content: center; font-size: 12px; letter-spacing: -.02em; }
.hu-steps__last > span { background: var(--red-on-bone) !important; color: #fff !important; }
.hu-steps p { margin: 6px 0 0; color: var(--bone-dim); font-size: 15px; }

.hu-light { align-items: center; gap: 26px; padding: 36px 28px 28px; }
.hu-light > div:last-child { align-self: stretch; }
.hu-light p { margin-top: 6px; }
.hu-light__board { width: min(100%, 220px); aspect-ratio: 1.7; border: 4px solid var(--rule2); border-radius: 6px; display: flex; align-items: flex-end; justify-content: center; }
.hu-light__board span { width: 34%; aspect-ratio: 1.35; border: 2px solid rgba(244,244,242,.7); margin-bottom: 10%; }
.hu-light__board.g { animation: huGlowG 4.5s ease-out infinite; }
.hu-light__board.y { animation: huGlowY 4.5s ease-out 1.5s infinite; }
.hu-light__board.r { animation: huGlowR 4.5s ease-out 3s infinite; }
@keyframes huGlowG { 18% { box-shadow: 0 0 44px 6px rgba(31,168,92,.55); border-color: #1FA85C; } 46%, 100% { box-shadow: 0 0 0 0 rgba(31,168,92,0); border-color: #33363C; } }
@keyframes huGlowY { 18% { box-shadow: 0 0 44px 6px rgba(242,176,30,.55); border-color: #F2B01E; } 46%, 100% { box-shadow: 0 0 0 0 rgba(242,176,30,0); border-color: #33363C; } }
@keyframes huGlowR { 18% { box-shadow: 0 0 44px 6px rgba(224,49,46,.55); border-color: #E0312E; } 46%, 100% { box-shadow: 0 0 0 0 rgba(224,49,46,0); border-color: #33363C; } }
.hu-light__name { display: block; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; }
.hu-light__name--g { color: #3FBF78; }
.hu-light__name--y { color: var(--pwr); }
.hu-light__name--r { color: var(--red-text); }

.hu-ways { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); }
.hu-ways li { border-top: 1px solid var(--rule2); padding: 26px 0 30px; }
.hu-ways li:first-child { border-top-color: var(--red); }

.hu-book { background: var(--red-btn); color: #fff; padding: clamp(64px, 8vw, 112px) 0; }
.hu-book__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px clamp(40px, 6vw, 96px); align-items: center; }
.hu-book .kicker { color: #fff; margin: 0 0 22px; }
.hu-book h2 { color: #fff; }
.hu-book .lede { color: #fff; margin: 22px 0 0; max-width: 46ch; }
.hu-book .btns { margin-top: 28px; }
.hu-book .btn--ghost { border-color: #fff; color: #fff; }
.hu-book__facts { margin: 0; }
.hu-book__facts div { display: flex; justify-content: space-between; gap: 24px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.45); }
.hu-book__facts div:last-child { border-bottom: 1px solid rgba(255,255,255,.45); }
.hu-book__facts dt { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hu-book__facts dd { margin: 0; text-align: right; }
.hu-fine { background: var(--bg0); padding: 28px 0 32px; font-size: 13px; color: var(--mute); }
.hu-fine p { margin: 0; }

@media (max-width: 960px) {
  .hu-hero__title { font-size: clamp(30px, 9.2vw, 64px); }
  .hu-hero__grid, .hu-how__grid, .hu-book__grid { grid-template-columns: 1fr; }
  .hu-ways { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hu-facts__grid { grid-template-columns: 1fr; }
  .hu-ways { grid-template-columns: 1fr; }
  .hu-hero .btns, .hu-book .btns { flex-direction: column; align-items: stretch; }
  .hu-hero .btn, .hu-book .btn { width: 100%; }
  .hu-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hu-book__facts div { flex-direction: column; gap: 6px; }
  .hu-book__facts dd { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .hu-hero__rule, .hu-demo__live i, .hu-hub i, .hu-light__board { animation: none; }
  .hu-light__board.g { border-color: #1FA85C; } .hu-light__board.y { border-color: #F2B01E; } .hu-light__board.r { border-color: #E0312E; }
  .hu-shot { transition: none; }
}
/* Huupe hero: on laptops the whole sample session fits the first screen */
@media (min-width: 961px) {
  .hu-board { width: min(100%, 190px); }
  .hu-court { width: auto; max-width: 100%; height: clamp(210px, 31vh, 420px); margin: 0 auto; }
  .hu-demo { gap: 18px; }
}
@media (min-width: 961px) and (max-height: 760px) {
  .hu-board { width: min(100%, 150px); }
  .hu-demo { gap: 14px; padding: 20px 24px; }
}

/* Basketball "Get on the court": the four cards line up row by row (label, name, headline figure, text, link) */
@media (min-width: 1181px) {
  @supports (grid-template-rows: subgrid) {
    #ways .cards--4 { row-gap: 0; }
    #ways .cards--4 > .card { display: grid; grid-template-rows: subgrid; grid-row: span 5; gap: 0; }
    #ways .cards--4 > .card > * { margin-top: 12px; }
    #ways .cards--4 > .card > .meta { margin-top: 0; }
    #ways .cards--4 > .card > h3 { align-self: start; }
    #ways .cards--4 > .card > .big { align-self: end; }
    #ways .cards--4 > .card > a.more { align-self: end; margin-top: 16px; }
  }
}

/* ====================== v5.13: page-by-page layout fixes ====================== */
/* GRID, Classified: was boxed into a narrow strip with no top or bottom room. Same width and rhythm as every other section. */
.psec.lk { max-width: none; margin: 0; padding: var(--sec) 0; }
.psec.lk .lk__head { align-items: flex-end; margin-bottom: clamp(32px, 4vw, 48px); }
.psec.lk .lk__head h2 { font-size: clamp(30px, 4.1vw, 60px); line-height: 1.02; letter-spacing: -.075em; }
@media (max-width: 1180px) { .psec.lk .lk__head { flex-direction: column; align-items: flex-start; } }
.psec.lk .lk__head .lede { margin-top: 20px; }
.psec.lk .lk__grid { gap: 16px; }

/* Headings no longer sit on top of the text under them */
.g-ladder .lede { margin-top: 20px; }
.b-court__intro .lede { margin-top: 16px; }

/* GRID ladder on phones: the "Drag me" label sat on a rung. Rungs are tappable there, so the label goes. */
@media (max-width: 760px) { .g-ladder__hint { display: none; } }

/* GRID first screen on laptops: more room under the menu, and the small print cannot run to the bottom edge */
@media (min-width: 961px) {
  .pin.is-pinned.g-build .pin__stage { padding-top: 96px; padding-bottom: 28px; }
  .pin.is-pinned.g-build .crumb { margin-bottom: 14px; }
}
@media (min-width: 961px) and (max-height: 860px) {
  .pin.is-pinned.g-build .g-tests li { padding-top: 7px; padding-bottom: 7px; }
  .pin.is-pinned.g-build h1 { font-size: clamp(30px, 3.1vw, 44px); }
  .pin.is-pinned.g-build .g-build__note { display: none; }
}

/* Recover, first screen: the heading and the big temperatures scale with screen height so they never crowd,
   and the temperatures share the page's left and right edges */
@media (min-width: 761px) {
  .r-split h1 { font-size: clamp(38px, min(5.4vw, 8.2vh), 80px); }
  .r-temp { font-size: clamp(64px, min(9vw, 13vh), 136px); }
  .r-split__hot, .r-split__cold { padding-bottom: clamp(56px, 10vh, 110px); padding-left: max(var(--pad), calc((100vw - 1440px) / 2 + var(--pad))); padding-right: max(var(--pad), calc((100vw - 1440px) / 2 + var(--pad))); }
}

/* Recover, care team cards: long names fit the card, and the four cards read level */
.r-fan__card h3 { font-size: 22px; line-height: 1.12; min-height: 2.24em; overflow-wrap: anywhere; }
@media (max-width: 760px) { .r-fan__card h3 { min-height: 0; } }

/* v5.14: Train, program focus tiles on phones. The last tile stops the same distance from the right edge
   as the first tile sits from the left (browsers drop the end padding of a sideways scroller, so a spacer holds it). */
@media (max-width: 960px) {
  .t-side__track::after { content: ""; flex: 0 0 calc(var(--pad) - 14px); }
}

/* v5.14: four-across cards that line up row by row (bar, label, name, text, link), e.g. Train "Four ways to train" */
@media (min-width: 1181px) {
  @supports (grid-template-rows: subgrid) {
    .cards--rows { row-gap: 0; }
    .cards--rows > .card { display: grid; grid-template-rows: subgrid; grid-row: span 5; gap: 0; }
    .cards--rows > .card > * { margin-top: 12px; }
    .cards--rows > .card > :first-child { margin-top: 0; }
    .cards--rows > .card > h3 { align-self: start; }
    .cards--rows > .card > a.more { align-self: end; margin-top: 16px; }
  }
}

/* v5.14: timetable week arrows (back and forward through the weeks) */
.tt__weeknav { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.tt__wk-btn { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--rule2); border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; transition: border-color .25s, background-color .25s, opacity .25s; }
.tt__wk-btn:hover:not(:disabled) { border-color: var(--ink); background: rgba(244,244,242,.06); }
.tt__wk-btn:disabled { opacity: .3; cursor: default; }
.tt__wk-btn:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.tt__wk-label { margin: 0; min-width: 190px; display: flex; flex-direction: column; gap: 2px; text-align: center; }
.tt__wk-label b { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.tt__wk-label span { font-size: 13px; color: var(--mute); }
@media (max-width: 760px) {
  .tt__weeknav { justify-content: space-between; }
  .tt__wk-label { min-width: 0; flex: 1; }
}

/* ====================== v5.14: Recover, "Five ways to recover" (scroll-held) ====================== */
.r-room { background: var(--bg1); border-top: 1px solid #1F2125; border-bottom: 1px solid #1F2125; padding: var(--sec) 0; }
.r-room.is-pinned { padding: 0; }
.r-room__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.r-room__intro .kicker { margin: 0 0 22px; }
.r-room__intro .lede { margin-top: 18px; max-width: 46ch; }
.r-room__intro h2 { font-size: clamp(30px, 3.9vw, 58px); }
.r-room__list { list-style: none; margin: 26px 0 0; padding: 0; }
.r-room__list li { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--rule); opacity: .4; transition: opacity .5s; }
.r-room__list li.on { opacity: .7; }
.r-room__list li.cur { opacity: 1; }
.r-room__list span { flex: none; width: 28px; font-family: var(--display); font-size: 12px; color: var(--mute); }
.r-room__list i { flex: none; width: 14px; height: 14px; border-radius: 50%; background: #3A3D44; transition: background-color .5s, box-shadow .5s; }
.r-room__list li.on i { background: var(--c); }
.r-room__list li.cur i { box-shadow: 0 0 0 5px rgba(var(--rgb), .25); }
.r-room__list b { flex: 1 1 auto; min-width: 0; font-family: var(--display); font-weight: 400; font-size: clamp(15px, 1.5vw, 20px); letter-spacing: -.05em; text-transform: uppercase; color: #fff; }
.r-room__list em { flex: none; font-style: normal; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.r-room__rail { display: flex; gap: 6px; margin-top: 18px; }
.r-room__rail i { flex: 1 1 0; height: 4px; border-radius: 2px; background: var(--rule); transition: background-color .5s; }
.r-room__rail i.on { background: var(--c); }
.r-room__panel { min-width: 0; background: var(--panel); border: 1px solid var(--rule); border-radius: 16px; padding: clamp(18px, 2.2vw, 28px); display: flex; flex-direction: column; gap: 16px; --rgb: 224,49,46; --tc: #EC4743; }
.r-room__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.r-room__top b { font-weight: 700; }
.r-room__chip { padding: 6px 12px; border: 1px solid rgb(var(--rgb)); border-radius: 99px; letter-spacing: .16em; color: var(--ink); transition: border-color .5s; }
.r-room__stage { position: relative; width: 100%; height: clamp(170px, 34vh, 340px); border-radius: 12px; overflow: hidden; background: radial-gradient(62% 78% at 50% 62%, rgba(var(--rgb), .2), rgba(15,16,19,0) 72%), #0F1013; }
.r-room__art { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; }
.r-room__art.on { opacity: 1; }
.r-room__art svg { display: block; width: 100%; height: 100%; }
.r-room__thumbs { display: flex; gap: 10px; }
.r-room__thumb { flex: 1 1 0; min-width: 0; height: clamp(44px, 7vh, 64px); display: flex; align-items: center; justify-content: center; border: 1px solid var(--rule); border-radius: 10px; color: #5A5F68; transition: border-color .5s, background-color .5s, box-shadow .5s, color .5s; }
.r-room__thumb svg { height: 60%; width: auto; }
.r-room__thumb.lit { color: var(--tc); border-color: rgba(var(--rgb), .4); }
.r-room__thumb.cur { border-color: rgb(var(--rgb)); background: rgba(var(--rgb), .14); box-shadow: 0 0 26px rgba(var(--rgb), .35); }
.r-room__read { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); border-top: 1px solid var(--rule); padding-top: 16px; min-height: 84px; }
.r-room__read > span { flex: none; font-size: clamp(38px, 4.6vw, 68px); line-height: 1; color: var(--tc); transition: color .4s; }
.r-room__read strong { display: block; font-weight: 400; font-size: clamp(16px, 1.8vw, 25px); line-height: 1.1; letter-spacing: -.05em; color: #fff; }
.r-room__read p { margin: 6px 0 0; font-size: 15px; color: var(--dim); }
/* the little movements inside each drawing only run on the drawing being shown */
.r-room__art [class*="rr-"] { animation-play-state: paused; }
.r-room__art.on [class*="rr-"] { animation-play-state: running; }
.rr-glowbar { animation: rrGlow 2.2s ease-in-out infinite; }
.rr-bob { animation: rrBob 2.6s ease-in-out infinite; }
.rr-wave { animation: rrWave 3.2s ease-in-out infinite; }
.rr-sq { animation: rrSqueeze 2.6s ease-in-out infinite; }
.rr-punch { animation: rrPunch .16s linear infinite alternate; }
.rr-buzz { animation: rrBuzz .5s ease-in-out infinite; }
.rr-roll { animation: rrRoll 3.4s ease-in-out infinite alternate; }
.rr-spin { transform-box: fill-box; transform-origin: center; animation: rrSpin 3.4s ease-in-out infinite alternate; }
.rr-d2 { animation-delay: .5s; } .rr-d3 { animation-delay: 1s; } .rr-d4 { animation-delay: 1.05s; }
.rr-sq.rr-d2 { animation-delay: .35s; } .rr-sq.rr-d3 { animation-delay: .7s; }
.rr-buzz.rr-d2 { animation-delay: .15s; } .rr-buzz.rr-d3 { animation-delay: .3s; }
@keyframes rrGlow { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes rrBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes rrWave { 0%, 100% { transform: translateX(-5px); } 50% { transform: translateX(5px); } }
@keyframes rrSqueeze { 0% { opacity: .1; } 20% { opacity: .9; } 45%, 100% { opacity: .1; } }
@keyframes rrPunch { to { transform: translateX(9px); } }
@keyframes rrBuzz { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
@keyframes rrRoll { to { transform: translateX(86px); } }
@keyframes rrSpin { to { transform: rotate(300deg); } }
@media (prefers-reduced-motion: reduce) { .r-room__art [class*="rr-"] { animation: none !important; } }
@media (max-width: 960px) {
  .r-room__grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 760px) {
  /* phones: everything on one held screen. The list gives way to the icon row, which shows the same five. */
  .r-room.is-pinned .r-room__list, .r-room.is-pinned .r-room__intro .lede { display: none; }
  .r-room.is-pinned .pin__stage > .wrap { align-self: stretch; }
  .r-room.is-pinned .r-room__grid { display: flex; flex-direction: column; gap: 14px; padding-top: 8px; padding-bottom: 16px; box-sizing: border-box; }
  .r-room.is-pinned .r-room__intro { flex: none; }
  .r-room.is-pinned .r-room__intro .kicker { margin-bottom: 12px; }
  .r-room.is-pinned .r-room__intro h2 { font-size: clamp(24px, 7.6vw, 30px); }
  .r-room.is-pinned .r-room__rail { margin-top: 14px; }
  .r-room.is-pinned .r-room__panel { flex: 1 1 auto; min-height: 0; padding: 14px; gap: 12px; }
  .r-room.is-pinned .r-room__stage { flex: 1 1 0; min-height: 110px; height: auto; }
  .r-room__read { min-height: 0; padding-top: 12px; }
  .r-room__read p { font-size: 14px; }
  .r-room__thumb { height: 44px; }
}
@media (min-width: 961px) and (max-height: 880px) {
  .r-room.is-pinned .r-room__intro .lede { display: none; }
  .r-room.is-pinned .pin__stage { padding-top: 56px; box-sizing: border-box; }
  .r-room.is-pinned .r-room__list li { padding: 9px 0; }
}

/* ====================== v5.14: Train, the method / two ways / the crew / the floor ====================== */
.t-method { background: var(--bg0); border-bottom: 1px solid #1F2125; padding: var(--sec) 0; }
.t-method.is-pinned { padding: 0; }
.t-method__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.t-method__intro .kicker { margin: 0 0 22px; }
.t-method__intro .lede { margin-top: 18px; max-width: 48ch; }
.t-method__steps { list-style: none; margin: 26px 0 0; padding: 0; }
.t-method__steps li { display: flex; gap: 20px; padding: 18px 0; border-top: 1px solid var(--rule); opacity: .4; transition: opacity .5s; }
.t-method__steps li.done { opacity: .65; }
.t-method__steps li.cur { opacity: 1; }
.t-method__steps li > span { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 2px solid #3A3D44; color: var(--dim); display: flex; align-items: center; justify-content: center; font-size: 12px; letter-spacing: -.02em; transition: border-color .5s, background-color .5s, color .5s; }
.t-method__steps li.done > span { border-color: var(--ink); }
.t-method__steps li.cur > span { border-color: var(--red); background: var(--red); color: #fff; }
.t-method__steps strong { display: block; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.t-method__steps p { margin: 6px 0 0; font-size: 15px; color: var(--dim); }
.t-method__panel { min-width: 0; background: var(--panel); border: 1px solid var(--rule); border-radius: 16px; padding: clamp(20px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 24px; --rc: #C8813F; --deg: 273.6deg; }
.t-method__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.t-method__chip { padding: 6px 12px; border: 1px solid var(--rc); border-radius: 99px; letter-spacing: .16em; color: var(--ink); transition: border-color .4s; }
.t-method__body { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(20px, 3vw, 40px); }
.t-method__ring { flex: none; position: relative; width: clamp(160px, 16vw, 220px); aspect-ratio: 1; border-radius: 50%; background: conic-gradient(var(--rc) var(--deg), var(--rule) 0); }
.t-method__ring > div { position: absolute; inset: 14px; border-radius: 50%; background: var(--panel); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.t-method__ring b { font-weight: 400; font-size: clamp(40px, 4.4vw, 62px); line-height: 1; color: #fff; }
.t-method__ring small { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.t-method__bars { flex: 1 1 220px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.t-method__bars li { display: flex; align-items: center; gap: 12px; }
.t-method__bars span { flex: none; width: 34px; font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--tc); }
.t-method__bars div { flex: 1 1 auto; height: 8px; border-radius: 4px; background: var(--rule); overflow: hidden; }
.t-method__bars i { display: block; height: 100%; border-radius: 4px; background: var(--c); }
.t-method__bars b { flex: none; width: 30px; text-align: right; font-weight: 400; font-size: 13px; color: #fff; }
.t-method__note { margin: 0; border-top: 1px solid var(--rule); padding-top: 18px; min-height: 48px; font-size: 15px; color: var(--dim); }

.t-aim { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 28px; padding: clamp(24px, 2.6vw, 36px); }
.t-aim > div:last-child { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.t-aim h3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.1; }
.t-aim p:not(.meta) { color: var(--dim); }
.t-aim__bars { flex: none; width: 150px; height: 150px; display: flex; align-items: flex-end; gap: 10px; border-bottom: 2px solid var(--rule2); }
.t-aim__bars i { flex: 1 1 0; border-radius: 4px 4px 0 0; }
.t-aim__bars--all i:nth-child(1) { background: var(--str); height: 60%; animation: aimA 2.8s ease-in-out infinite alternate; }
.t-aim__bars--all i:nth-child(2) { background: var(--pwr); height: 52%; animation: aimB 2.8s ease-in-out .2s infinite alternate; }
.t-aim__bars--all i:nth-child(3) { background: var(--spd); height: 64%; animation: aimC 2.8s ease-in-out .4s infinite alternate; }
.t-aim__bars--all i:nth-child(4) { background: var(--end); height: 56%; animation: aimD 2.8s ease-in-out .6s infinite alternate; }
.t-aim__bars--one i { background: #3A3D44; height: 42%; }
.t-aim__bars--one i:nth-child(2) { height: 38%; }
.t-aim__bars--one i:nth-child(3) { background: var(--spd); height: 70%; box-shadow: 0 0 26px rgba(31,168,92,.45); animation: aimOne 2.8s ease-in-out infinite alternate; }
@keyframes aimA { from { height: 40%; } to { height: 74%; } }
@keyframes aimB { from { height: 32%; } to { height: 70%; } }
@keyframes aimC { from { height: 46%; } to { height: 80%; } }
@keyframes aimD { from { height: 38%; } to { height: 72%; } }
@keyframes aimOne { from { height: 38%; } to { height: 94%; } }

.t-crew__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.t-crew__copy .kicker { margin: 0; }
.t-crew__lead { margin: 24px 0 0; max-width: 30ch; font-size: clamp(20px, 2vw, 28px); line-height: 1.35; color: var(--dim); }
.t-crew__title { margin: 20px 0 0; font-size: clamp(30px, 4.5vw, 68px); line-height: .98; color: #fff; }
.t-crew__rule { margin-top: 28px; height: 7px; width: min(100%, 420px); background: var(--red); }
.t-crew__copy .lede { margin-top: 28px; max-width: 48ch; }
.t-crew__copy .btns { margin-top: 28px; }
.t-crew__photo { margin: 0; border-radius: 14px; overflow: hidden; }
.t-crew__photo img { display: block; width: 100%; height: clamp(360px, 42vw, 560px); object-fit: cover; }

.t-floor { background: var(--bone); color: var(--bone-ink); padding: var(--sec) 0; }
.t-floor .sec-head h2 { color: var(--bone-ink); }
.t-floor .sec-head__aside { color: var(--bone-dim); max-width: 48ch; }
.t-lanes { background: #0F1013; color: var(--ink); border-radius: 16px; padding: clamp(18px, 2.4vw, 32px); }
.t-lanes__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; padding-bottom: 18px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.t-lanes__live { display: flex; align-items: center; gap: 8px; letter-spacing: .18em; color: var(--ink); }
.t-lanes__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--spd); animation: huBlink 1.4s ease-in-out infinite; }
.t-lane { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 12px 28px; align-items: center; padding: 22px 0; border-top: 1px solid var(--rule); }
.t-lane strong { display: block; font-weight: 400; font-size: clamp(17px, 1.7vw, 22px); letter-spacing: -.05em; color: #fff; }
.t-lane p { margin: 4px 0 0; font-size: 14px; color: var(--dim); }
.t-lane__track { position: relative; height: 56px; border-radius: 8px; background: var(--panel); overflow: hidden; }
.t-lane__track i { position: absolute; display: block; width: 16px; height: 16px; border-radius: 50%; }
.t-lane__track--a::before { content: ""; position: absolute; left: 3%; right: 3%; top: 50%; border-top: 2px dashed var(--rule2); }
.t-lane__group { position: absolute; top: 50%; left: 2%; width: 82px; height: 16px; margin-top: -8px; display: flex; gap: 6px; animation: laneA 7s ease-in-out infinite alternate; }
.t-lane__group i { position: static; background: var(--str); }
.t-lane__track--b::before { content: ""; position: absolute; left: 3%; right: 3%; top: 50%; border-top: 2px solid var(--rule2); }
.t-lane__track--b b { position: absolute; top: 50%; width: 2px; height: 14px; margin-top: -7px; background: #5A5F68; }
.t-lane__track--b b:nth-child(1) { left: 25%; } .t-lane__track--b b:nth-child(2) { left: 50%; } .t-lane__track--b b:nth-child(3) { left: 75%; }
.t-lane__track--b i { top: 50%; left: 3%; margin-top: -8px; background: var(--pwr); animation: laneB 9s linear infinite alternate; }
.t-lane__track--c i { top: 62%; left: 8%; margin: -8px 0 0 -8px; background: var(--ink); animation: laneC 11s ease-in-out infinite alternate; }
@keyframes laneA { from { left: 2%; } to { left: calc(98% - 82px); } }
@keyframes laneB { from { left: 3%; } to { left: calc(97% - 16px); } }
@keyframes laneC { 0% { left: 8%; top: 62%; } 22% { left: 36%; top: 26%; } 46% { left: 28%; top: 70%; } 72% { left: 70%; top: 30%; } 100% { left: 90%; top: 64%; } }
.t-lanes__key { margin: 0; padding-top: 18px; border-top: 1px solid var(--rule); display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.t-lanes__key i { width: 10px; height: 10px; border-radius: 50%; background: var(--mute); }
.t-floor__foot { margin-top: clamp(28px, 3.5vw, 48px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; }
.t-floor__foot p { margin: 0; max-width: 56ch; color: var(--bone-dim); }
.t-floor__ghost { border: 1px solid #8A9099; color: var(--bone-ink); background: transparent; }
.t-floor__ghost:hover { border-color: var(--bone-ink); background: rgba(10,11,13,.05); }

@media (max-width: 960px) {
  .t-method__grid, .t-crew__grid { grid-template-columns: 1fr; }
  .t-method__panel { order: -1; }
  .t-method__intro { display: contents; }
  .t-method__grid > .t-method__intro > .kicker { order: -4; margin-bottom: 0; }
  .t-method__grid > .t-method__intro > h2 { order: -3; }
  .t-method__grid > .t-method__intro > .lede { order: -2; margin-top: 0; }
  .t-method__grid { gap: 22px; }
  .t-method__steps { margin-top: 0; }
}
@media (max-width: 760px) {
  .t-lane { grid-template-columns: 1fr; }
  .t-floor .btns, .t-crew .btns { flex-direction: column; align-items: stretch; width: 100%; }
  .t-floor .btn, .t-crew .btn { width: 100%; }
  .t-aim__bars { width: 120px; height: 120px; }
}
@media (min-width: 961px) and (max-height: 820px) {
  .t-method.is-pinned .lede { display: none; }
  .t-method.is-pinned .t-method__steps li { padding: 13px 0; }
  .t-method.is-pinned .t-method__steps { margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .t-aim__bars i, .t-lane__group, .t-lane__track i, .t-lanes__live i { animation: none !important; }
}

/* ====================== v5.14: Dr Dish page (/basketball/dr-dish/), shares the Huupe page's building blocks ====================== */
.dd-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.dd-soon { padding: 4px 10px; border: 1px solid var(--rule2); border-radius: 99px; color: var(--ink); letter-spacing: .16em; }
.dd-title { font-size: clamp(28px, 4.2vw, 62px); }
.dd-live i { background: var(--red); }
.dd-spot { stroke: #5A5F68; stroke-width: 2.5; fill: transparent; transition: stroke .4s, fill .4s; }
.dd-spot.on { stroke: var(--red); fill: rgba(224,49,46,.25); }
.dd-pass { transition: opacity .4s; }
.dd-ball { transition: transform .6s cubic-bezier(.3,.7,.3,1); }
.dd-stats { grid-template-columns: repeat(3, minmax(0, .8fr)) minmax(0, 1.6fr); }
.dd-stats__spot { font-size: clamp(14px, 1.4vw, 19px) !important; line-height: 1.6 !important; letter-spacing: -.05em; text-transform: uppercase; color: var(--red-text) !important; }
.dd-machine { margin-top: 28px; max-width: 360px; background: #0F1013; border-radius: 14px; padding: 16px; }
.dd-machine svg { display: block; width: 100%; height: auto; }
.dd-drop { animation: ddDrop 2.4s ease-in infinite; }
.dd-fire { animation: ddFire 2.4s ease-out 1.2s infinite; }
.dd-scr { animation: ddScr 2s ease-in-out infinite; }
@keyframes ddDrop { 0% { transform: translateY(-70px); opacity: 0; } 15% { opacity: 1; } 70% { transform: translateY(60px); opacity: 1; } 100% { transform: translateY(96px); opacity: 0; } }
@keyframes ddFire { 0% { transform: translate(0,0); opacity: 0; } 10% { opacity: 1; } 100% { transform: translate(120px,-70px); opacity: 0; } }
@keyframes ddScr { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
.hu-ways a { color: var(--ink); }
.b-tech { margin-top: 16px; }
@media (max-width: 960px) { .dd-title { font-size: clamp(26px, 8vw, 56px); } }
@media (max-width: 760px) { .dd-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .dd-stats > div:last-child { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: reduce) { .dd-drop, .dd-fire, .dd-scr { animation: none; } .dd-ball { transition: none; } }

/* ==========================================================================
   v5.17: partner tech pages (Hawkin Dynamics, BlazePod) and the Train page tech section.
   Each page sets its own highlight: --tk (accent), --tk-text (accent on dark), --tk-deep (band).
   ========================================================================== */
.tk { --tk: var(--end); --tk-text: var(--end-text); --tk-deep: #2B4EC2; }
.tk--green { --tk: var(--spd); --tk-text: #3FBF78; --tk-deep: #157A43; }
.tk .crumb span { color: var(--tk-text); }
.tk-hero { background: var(--bg0); }
.tk-hero__grid { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 88px); align-items: center; padding-top: clamp(104px, 8.5vw, 128px); padding-bottom: clamp(56px, 7vw, 104px); }
.tk-hero__main { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; }
.tk-hero__main .kicker { color: var(--tk-text); display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.tk-pill { padding: 4px 10px; border: 1px solid var(--tk); border-radius: 99px; color: var(--ink); letter-spacing: .16em; }
.tk-hero h1 { margin: 22px 0 0; font-size: clamp(36px, 5vw, 76px); line-height: .98; color: #fff; }
.tk-rule { margin-top: 26px; height: 7px; width: min(100%, 520px); background: var(--tk); transform-origin: left; animation: tkRule 1.1s var(--ease-out) .3s both; }
@keyframes tkRule { from { transform: scaleX(0); } to { transform: none; } }
.tk-hero .lede { margin-top: 26px; color: #C9CCD1; max-width: 54ch; }
.tk-hero .btns { margin-top: 28px; }
.btn--tk { background: var(--tk-deep); color: #fff; font-weight: 700; }
.btn--tk:hover { background: var(--tk); color: #fff; }
.tk-panel { flex: 1 1 480px; min-width: 0; background: var(--panel); border: 1px solid var(--rule); border-radius: 16px; padding: clamp(20px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 18px; }
.tk-panel--accent { border-color: var(--tk); }
.tk-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; }
.tk-top p, .tk-label { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.tk-live { display: flex; align-items: center; gap: 8px; color: var(--ink) !important; white-space: nowrap; }
.tk-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--tk); animation: tkBlink 1.4s ease-in-out infinite; }
@keyframes tkBlink { 50% { opacity: .35; } }
.tk-screen { background: #0F1013; border-radius: 12px; padding: 14px 14px 8px; }
.tk-screen svg { display: block; width: 100%; height: auto; }
.tk-trace { stroke: var(--tk); stroke-dasharray: 1400; animation: tkTrace 5.2s cubic-bezier(.45,.05,.3,1) infinite; }
@keyframes tkTrace { 0% { stroke-dashoffset: 1400; } 55% { stroke-dashoffset: 0; } 88% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.tk-phases { display: flex; justify-content: space-between; gap: 6px; padding: 6px 4px 4px; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.tk-phases b { color: var(--tk-text); font-weight: 700; }
.tk-stats { display: flex; flex-wrap: wrap; gap: 14px 24px; border-top: 1px solid var(--rule); padding-top: 18px; align-items: flex-start; }
.tk-stat { flex: 1 1 100px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tk-stat b { font-family: var(--display); font-weight: 400; font-size: clamp(20px, 2.2vw, 30px); line-height: 1; letter-spacing: -.06em; color: #fff; white-space: nowrap; }
.tk-stat b.hi { color: var(--tk-text); }
.tk-stat span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.tk-band4 { display: flex; height: 4px; }
.tk-band4 i { flex: 1; } .tk-band4 i:nth-child(1) { background: var(--str); } .tk-band4 i:nth-child(2) { background: var(--pwr); } .tk-band4 i:nth-child(3) { background: var(--spd); } .tk-band4 i:nth-child(4) { background: var(--end); }
.tk-facts { background: var(--bg1); border-bottom: 1px solid #1F2125; }
.tk-facts .wrap { display: flex; flex-wrap: wrap; gap: 28px clamp(28px, 4vw, 56px); padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }
.tk-fact { flex: 1 1 240px; border-top: 1px solid var(--rule2); padding-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.tk-fact:first-child { border-top-color: var(--tk); }
.tk-fact strong { font-size: 16px; letter-spacing: .08em; text-transform: uppercase; }
.tk-fact span { color: var(--mute); font-size: 15px; }
.tk .sec-head .kicker { color: var(--tk-text); }
.tk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tk-chips button { min-height: 44px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--rule2); background: transparent; color: #C9CCD1; font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.tk-chips button:hover { border-color: var(--tk); color: #fff; }
.tk-chips button[aria-pressed="true"] { background: var(--tk-deep); border-color: var(--tk); color: #fff; }
.tk-lab { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.tk-lab .tk-panel { flex: 1.25 1 520px; }
.tk-info { flex: 1 1 340px; min-width: 0; background: var(--panel); border: 1px solid var(--tk); border-radius: 16px; padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 18px; }
.tk-info h3 { margin: 0; font-size: clamp(17px, 5.2vw, 24px); line-height: 1.05; color: #fff; }
.tk-info > div { display: flex; flex-direction: column; gap: 6px; }
.tk-info > div + div { padding-top: 16px; border-top: 1px solid var(--rule); }
.tk-info p { margin: 0; font-size: 15px; color: #C9CCD1; }
.tk-info .tk-label { color: var(--tk-text); }
.tk-bone { background: var(--bone); color: var(--bone-ink); }
.tk-bone .wrap { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 96px); padding-top: var(--sec); padding-bottom: var(--sec); }
.tk-bone__lead { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.tk-bone__lead .kicker { color: var(--tk-deep); margin: 0; }
.tk-bone__lead p:not(.kicker) { margin: 0; max-width: 44ch; color: var(--bone-dim); }
.tk-photo { margin-top: 10px; border: 1px dashed #8A9099; border-radius: 12px; padding: 22px; color: var(--bone-dim); font-size: 14px; }
.tk-steps { flex: 1 1 460px; list-style: none; margin: 0; padding: 0; }
.tk-steps li { display: flex; gap: 24px; padding: 22px 0; border-top: 1px solid #C9CCD1; }
.tk-steps li:last-child { border-bottom: 1px solid #C9CCD1; }
.tk-steps li > span { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--bone-ink); color: #fff; display: grid; place-items: center; font-family: var(--display); font-size: 13px; }
.tk-steps li:last-child > span { background: var(--tk-deep); }
.tk-steps strong { display: block; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; }
.tk-steps em { display: block; margin-top: 6px; font-style: normal; color: var(--bone-dim); font-size: 15px; }
.tk-kit { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.tk-kitcard { flex: 1 1 280px; min-width: 0; background: var(--panel); border: 1px solid var(--rule); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.tk-kitcard .tk-label { color: var(--tk-text); }
.tk-kitcard h3 { margin: 0; font-size: 20px; color: #fff; }
.tk-kitcard > p { margin: 0; font-size: 15px; color: var(--mute); }
.tk-kitcard ul { list-style: none; margin: 0; padding: 0; }
.tk-kitcard li { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid var(--rule); font-size: 14px; color: #C9CCD1; }
.tk-kitcard li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--tk); }
.tk-kitcard small { margin-top: auto; font-size: 13px; color: var(--faint); }
.tk-split .wrap { display: flex; flex-wrap: wrap; gap: clamp(36px, 5vw, 80px); align-items: center; padding-top: var(--sec); padding-bottom: var(--sec); }
.tk-split__lead { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.tk-split__lead .kicker { color: var(--tk-text); margin: 0; }
.tk-split__lead p:not(.kicker) { margin: 0; max-width: 48ch; color: #C9CCD1; }
.tk-points { flex: 1 1 420px; min-width: 0; }
.tk-points > div { display: flex; gap: 18px; padding: 22px 0; border-top: 1px solid var(--rule2); }
.tk-points > div:last-child { border-bottom: 1px solid var(--rule2); }
.tk-points i { flex: none; width: 12px; height: 12px; margin-top: 6px; border-radius: 50%; background: var(--tk); }
.tk-points strong { display: block; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; }
.tk-points span { display: block; margin-top: 6px; color: var(--mute); font-size: 15px; }
.tk-band { position: relative; overflow: hidden; background: var(--tk-deep); color: #fff; }
.tk-band::before { content: ""; position: absolute; left: 0; top: 0; width: 50%; height: 3px; background: rgba(255,255,255,.7); animation: tkSweep 2.6s linear infinite; }
@keyframes tkSweep { from { transform: translateX(-100%); } to { transform: translateX(200%); } }
.tk-band .wrap { display: flex; flex-wrap: wrap; gap: 40px clamp(40px, 6vw, 96px); align-items: center; padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); }
.tk-band__lead { flex: 1 1 460px; display: flex; flex-direction: column; gap: 22px; }
.tk-band__lead .kicker { color: #fff; margin: 0; }
.tk-band__lead h2 { color: #fff; }
.tk-band__lead p:not(.kicker) { margin: 0; max-width: 48ch; }
.tk-band .btn--dark { background: var(--bg0); color: #fff; }
.tk-band .btn--line { border: 1px solid #fff; color: #fff; background: transparent; }
.tk-logo { flex: 1 1 320px; display: flex; justify-content: center; }
.tk-logo div { width: min(100%, 360px); aspect-ratio: 1.6; border: 2px solid rgba(255,255,255,.55); border-radius: 14px; display: grid; place-items: center; text-align: center; padding: 18px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.85); box-sizing: border-box; }
.tk-logo .tk-logo__name { font-family: var(--display); font-size: clamp(20px, 3.4vw, 30px); letter-spacing: .02em; line-height: 1.2; color: #fff; }
.tk-fine { padding-top: 28px; font-size: 13px; color: var(--mute); }
/* BlazePod: pods */
.tk-pods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); padding: clamp(10px, 2vw, 24px); background: #0F1013; border-radius: 12px; width: 100%; max-width: 440px; box-sizing: border-box; align-self: center; }
.tk-pod { aspect-ratio: 1; width: 100%; padding: 0; border-radius: 50%; border: 2px solid var(--rule2); background: #1A1C20; color: #0A0B0D; font-family: var(--display); font-size: 18px; cursor: pointer; transition: background-color .12s, box-shadow .12s, border-color .12s; }
.tk-pod.on { background: var(--pc); border-color: var(--pc); box-shadow: 0 0 26px var(--pc), 0 0 6px var(--pc); }
.tk-pod:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.tk-key { margin: 0; font-size: 13px; color: var(--mute); text-align: center; }
.tk-reset { flex: none; min-height: 44px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--rule2); background: transparent; color: var(--ink); font: inherit; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
/* the Train page section */
.tk-tech__row { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.tk-tech__row + .tk-tech__row { margin-top: 16px; }
.tk-tcard { flex: 1 1 300px; min-width: 0; background: var(--panel); border: 1px solid var(--rule); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.tk-tcard h3 { margin: 0; font-size: 20px; color: #fff; }
.tk-tcard > p { margin: 0; font-size: 15px; color: var(--mute); }
.tk-tcard ul { list-style: none; margin: 0; padding: 0; }
.tk-tcard li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--rule); font-size: 15px; }
.tk-tcard li:last-child { border-bottom: 1px solid var(--rule); }
.tk-tcard li span:last-child { color: var(--mute); text-align: right; }
.tk-tcard li span.b { color: var(--end-text); } .tk-tcard li span.g { color: #3FBF78; }
.tk-feat { flex: 1 1 420px; min-width: 0; text-decoration: none; color: var(--ink); background: var(--panel); border: 1px solid var(--tk); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 16px; transition: transform .35s var(--ease-out); }
.tk-feat:hover { transform: translateY(-4px); color: var(--ink); }
.tk-feat .tk-top p:first-child { color: var(--tk-text); }
.tk-feat h3 { margin: 0; font-size: 24px; line-height: 1.05; color: #fff; }
.tk-feat > p { margin: 0; font-size: 15px; color: #C9CCD1; }
.tk-feat .btn { margin-top: auto; align-self: flex-start; }
.tk-mini { background: #0F1013; border-radius: 10px; padding: 14px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.tk-mini span { display: block; aspect-ratio: 1; border-radius: 50%; background: #1A1C20; border: 2px solid var(--rule2); animation: tkPod 4.2s steps(1) infinite; }
@keyframes tkPod { 0% { background: var(--spd); border-color: var(--spd); box-shadow: 0 0 16px var(--spd); } 12%, 100% { background: #1A1C20; border-color: var(--rule2); box-shadow: none; } }
@media (max-width: 640px) { .tk-hero .btns { flex-direction: column; align-items: stretch; } .tk-band .btns { flex-direction: column; align-items: stretch; } }
@media (prefers-reduced-motion: reduce) { .tk-rule, .tk-live i, .tk-trace, .tk-band::before, .tk-mini span { animation: none; } .tk-feat { transition: none; } }

/* v5.20: GRID first screen on tablets: the page top cleared only the menu, not the announcement bar above it */
@media (min-width: 761px) and (max-width: 960px) { .g-build { padding-top: calc(var(--announce-h, 44px) + 16px); } }
/* v5.20: compare table: four equal plan columns, long notes wrap instead of stretching one column */
#compare .tbl { table-layout: fixed; min-width: 720px; }
#compare .tbl th:first-child, #compare .tbl td:first-child { width: 28%; }
/* v5.20: small laptops: the test-lab title and Dr Dish stat labels fit their boxes */
@media (min-width: 961px) and (max-width: 1200px) {
  .tk-info h3 { font-size: 20px; }
  .dd-stats dt { font-size: 10px; letter-spacing: .1em; }
}
/* Prices: five plans (Your own program added) and five "other ways in" cards */
@media (min-width: 1181px) { .plans--5 { grid-template-columns: 1.2fr repeat(4, minmax(0, 1fr)); } }
.cards--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1180px) { .cards--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) { .cards--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .cards--5 { grid-template-columns: 1fr; } }
