/* Subject Motorsports: The #77 Pit-Wall Timing Board.
   One physical object organizes the site: a black composite timing board in an aluminium extrusion frame,
   with machined corner joints, quarter-turn fasteners, side mounting brackets and a yellow carry handle.
   Colour has jobs: deep charcoal for the board and racing bands, vivid cobalt for a few big surfaces,
   yellow for the signal and the main actions, warm white for reading. Condensed capitals are kept for a
   few big headlines; navigation, labels, buttons and prose are Inter; dates and results use tabular figures. */
:root {
  --cobalt: #1d46d6;
  --cobalt-deep: #0f2a8f;
  --yellow: #ffd329;
  --yellow-deep: #e2b40c;
  --char: #121418;
  --char-2: #1b1e23;
  --char-3: #2a2e35;
  --asphalt: #121418;
  --warm: #f6f4ee;
  --white: #ffffff;
  --ink: #111317;
  --ink-2: #444852;
  --steel-ink: #5b616b;
  --line: #dedbd2;
  --line-dark: #2e333b;
  --on-dark-2: #c9cdd5;
  --on-cobalt-2: #e1e7ff;
  --radius: 14px;
  --display: "Barlow Condensed", "Barlow Condensed Fallback", sans-serif;
  --body: "Inter", "Inter Fallback", sans-serif;
  --gutter: clamp(18px, 4vw, 56px);
  --frame: min(1320px, 100% - var(--gutter) * 2);
  --head-h: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --step-0: clamp(1rem, .97rem + .15vw, 1.0625rem);
  --step-1: clamp(1.15rem, 1.06rem + .4vw, 1.375rem);
  --step-2: clamp(1.5rem, 1.25rem + 1.1vw, 2.25rem);
  --step-3: clamp(2.3rem, 1.6rem + 2.8vw, 4.2rem);
  --step-4: clamp(2.9rem, 1.7rem + 5vw, 6.4rem);
  /* the timing board frame: rail widths */
  --rail-y: 22px;
  --rail-x: 32px;
}
@media (max-width: 699px) { :root { --rail-y: 15px; --rail-x: 21px; } }
@font-face { font-family: "Barlow Condensed Fallback"; src: local("Arial Narrow"), local("Arial"); size-adjust: 82%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"); size-adjust: 107%; ascent-override: 90%; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); scrollbar-color: var(--cobalt) var(--char-2); }
body { margin: 0; font-family: var(--body); font-size: var(--step-0); line-height: 1.6; color: var(--ink); background: var(--warm); font-feature-settings: "cv11", "ss01"; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cobalt); text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
a:hover { color: var(--cobalt-deep); }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; box-shadow: 0 0 0 6px var(--char); }
.band-warm :focus-visible, .band-white :focus-visible, .band-yellow :focus-visible, .cred :focus-visible { outline-color: var(--cobalt); box-shadow: 0 0 0 6px #fff; }
h1, h2 { font-family: var(--display); font-weight: 800; line-height: .94; letter-spacing: -.005em; margin: 0 0 .45em; text-transform: uppercase; text-wrap: balance; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3, h4 { font-family: var(--body); font-weight: 750; line-height: 1.2; letter-spacing: -.012em; margin: 0 0 .5em; text-wrap: balance; }
h3 { font-size: var(--step-1); }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; max-width: 68ch; text-wrap: pretty; }
ul, ol { padding-left: 1.2em; }
li { margin: .3em 0; }
.num, table { font-variant-numeric: tabular-nums lining-nums; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 12px 18px; font-weight: 700; border-radius: 8px; }
.skip:focus { top: 12px; }
.frame { width: var(--frame); margin-inline: auto; }
.small { font-size: .92rem; }

/* ---------- Bands: light, white, deep brand colour ---------- */
.band { padding-block: clamp(64px, 8vw, 120px); position: relative; }
.band-tight { padding-block: clamp(44px, 6vw, 80px); }
.band-warm { background: var(--warm); }
.band-white { background: var(--white); }
.band-cobalt { background: var(--cobalt); color: #fff; }
.band-cobalt a:not(.btn) { color: #fff; }
.band-cobalt p, .band-cobalt li { color: var(--on-cobalt-2); }
.band-asphalt { background: var(--char); color: #fff; }
.band-asphalt p, .band-asphalt li, .band-asphalt dd { color: var(--on-dark-2); }
.band-asphalt a:not(.btn) { color: var(--yellow); }
.band-yellow { background: var(--yellow); color: var(--ink); }
.band-yellow a:not(.btn) { color: var(--ink); }

.lede { font-size: var(--step-1); line-height: 1.5; max-width: 56ch; }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(30px, 4vw, 52px); max-width: 940px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; }
.split { display: grid; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split-wide { grid-template-columns: 1.25fr 1fr; }
  .split-narrow { grid-template-columns: .8fr 1.2fr; }
}
.split > * { min-width: 0; }

/* ---------- Buttons: Inter, sentence case, a clear press ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 22px; font-family: var(--body); font-weight: 750; font-size: 1.02rem; letter-spacing: -.005em; line-height: 1; text-decoration: none; white-space: nowrap; border: 2px solid transparent; border-radius: 10px; cursor: pointer; transition: background-color .15s, color .15s, transform .12s var(--ease), box-shadow .15s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 3px 0 var(--yellow-deep), 0 12px 24px -12px rgba(0,0,0,.6); }
.btn-yellow:hover { background: #ffe168; color: var(--ink); }
.btn-cobalt { background: var(--cobalt); color: #fff; box-shadow: 0 3px 0 var(--cobalt-deep), 0 12px 24px -14px rgba(15,42,143,.8); }
.btn-cobalt:hover { background: #2a56ec; color: #fff; }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: inherit; }
.band-warm .btn-ghost:hover, .band-white .btn-ghost:hover, .band-yellow .btn-ghost:hover { background: rgba(17,19,23,.06); }
.btn-dark { background: var(--char); color: #fff; }
.btn-dark:hover { background: var(--char-3); color: #fff; }
.btn-lg { min-height: 60px; padding: 14px 28px; font-size: 1.12rem; }
.btn:active { transform: translateY(2px) scale(.985); box-shadow: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }
.text-link { font-weight: 700; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.text-link svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- The timing board ---------- */
.tb, .board {
  position: relative; color: #fff;
  border-style: solid; border-width: var(--rail-y) var(--rail-x);
  border-image: url("../img/tb-frame.webp") 44 64 / var(--rail-y) var(--rail-x) stretch;
  background:
    url("../img/tb-dzus.webp") left 10px top 10px / 22px no-repeat,
    url("../img/tb-dzus.webp") right 10px top 10px / 22px no-repeat,
    url("../img/tb-dzus.webp") left 10px bottom 10px / 22px no-repeat,
    url("../img/tb-dzus.webp") right 10px bottom 10px / 22px no-repeat,
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,0) 40%),
    #16181c url("../img/tb-weave.webp") 0 0 / 24px;
  background-clip: padding-box;
  box-shadow: 0 36px 70px -32px rgba(0,0,0,.85), 0 12px 22px -14px rgba(0,0,0,.6);
}
.board { padding: clamp(26px, 3.4vw, 48px); }
.tb-face { position: relative; padding: clamp(26px, 3.4vw, 52px); }
@media (max-width: 699px) { .board, .tb-face { padding: 22px 18px; } .tb, .board { background-size: 16px, 16px, 16px, 16px, auto, 24px; background-position: left 6px top 6px, right 6px top 6px, left 6px bottom 6px, right 6px bottom 6px, 0 0, 0 0; } }
.tb { margin-top: 64px; }
.tb-handle { position: absolute; left: 50%; top: calc(-1 * var(--rail-y) - 64px); width: 280px; height: auto; transform: translateX(-50%); pointer-events: none; filter: drop-shadow(0 6px 6px rgba(0,0,0,.35)); }
@media (max-width: 699px) { .tb { margin-top: 46px; } .tb-handle { width: 190px; top: calc(-1 * var(--rail-y) - 43px); } }
.tb p, .tb li, .tb dd, .board p, .board li, .board dd { color: var(--on-dark-2); }
.tb h2, .tb h3, .board h2, .board h3 { color: #fff; }
.tb a:not(.btn), .board a:not(.btn) { color: var(--yellow); }
.board-big { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: var(--step-2); line-height: 1; color: #fff !important; }

/* small labels and chips */
.chip { display: inline-flex; align-items: center; min-height: 30px; padding: 3px 12px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; font-size: .9rem; font-weight: 650; white-space: nowrap; }
.chips { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { margin: 0; }
.chips a, .chips-lg li { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 2px solid var(--ink); border-radius: 999px; color: var(--ink); font-weight: 700; text-decoration: none; }
.chips a:hover { background: var(--ink); color: var(--yellow); }
.band-asphalt .chips-lg li, .band-cobalt .chips-lg li { border-color: rgba(255,255,255,.6); color: #fff; }
.chips-lg li.core { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.plate { display: inline-flex; align-items: center; padding: .2em .55em; border-radius: 6px; background: #eceae4; color: var(--ink); font-family: var(--body); font-weight: 750; line-height: 1.1; }
.plate-y { background: var(--yellow); }
.plate-c { background: var(--cobalt); color: #fff; }
.restrict { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); background: var(--yellow); padding: 3px 10px; border-radius: 6px; font-size: .9rem; white-space: nowrap; }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--char); color: #fff; transition: box-shadow .2s; }
.site-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; background: linear-gradient(90deg, var(--yellow) 0 30%, var(--cobalt) 30% 100%); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.site-head.scrolled { box-shadow: 0 10px 26px -12px rgba(0,0,0,.7); }
.site-head.scrolled::after { transform: scaleX(1); }
.head-row { width: min(1480px, 100% - var(--gutter) * 2); margin-inline: auto; height: var(--head-h); display: flex; align-items: center; gap: 18px; }
.wordmark { display: inline-flex; align-items: center; gap: .22em; min-height: 44px; font-family: var(--display); font-weight: 800; font-size: 1.6rem; letter-spacing: .01em; text-transform: uppercase; color: #fff; text-decoration: none; white-space: nowrap; line-height: 1; }
.wordmark span { color: var(--yellow); }
.wordmark:hover { color: #fff; }
.nav { margin-left: auto; display: none; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; margin: 0; }
.nav-list > li > a, .nav-list > li > button { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 10px; font-family: var(--body); font-weight: 600; font-size: .95rem; color: #fff; text-decoration: none; background: none; border: 0; cursor: pointer; white-space: nowrap; border-radius: 6px; }
.nav-list > li > a:hover, .nav-list > li > button:hover, .nav-list > li > a[aria-current="page"], .nav-list > li > button.current { color: var(--yellow); }
.nav-list > li > a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--yellow); border-radius: 0; }
.nav-list button svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-list button[aria-expanded="true"] svg { transform: rotate(180deg); }
.sub { position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px; list-style: none; margin: 0; padding: 10px; background: var(--char-2); border: 1px solid #333944; border-radius: 12px; box-shadow: 0 24px 40px -18px rgba(0,0,0,.8); display: none; z-index: 5; }
.sub.open { display: block; }
.sub li { margin: 0; }
.sub a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; color: #fff; text-decoration: none; border-radius: 8px; font-weight: 550; }
.sub a:hover, .sub a[aria-current="page"] { background: var(--cobalt); color: #fff; }
.head-tel { margin-left: auto; flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0 10px; color: #fff; text-decoration: none; border: 2px solid #3a3f48; border-radius: 10px; font-weight: 700; font-size: .98rem; white-space: nowrap; }
.head-tel svg { width: 20px; height: 20px; flex: none; }
.head-tel span { display: none; }
.head-tel:hover { border-color: var(--yellow); color: var(--yellow); }
.head-cta { display: none; }
.menu-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; background: var(--yellow); color: var(--ink); border: 0; border-radius: 10px; font-family: var(--body); font-weight: 750; font-size: 1rem; cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }
@media (max-width: 1239px) { .head-row { gap: 8px; } }
@media (min-width: 600px) and (max-width: 1239px) { .head-tel span { display: inline; } }
@media (min-width: 1240px) {
  :root { --head-h: 84px; }
  .nav { display: block; }
  .head-tel { margin-left: 14px; min-height: 48px; }
  .head-cta { display: inline-flex; min-height: 48px; padding: 10px 18px; margin-left: 8px; }
  .menu-btn { display: none; }
}
@media (min-width: 1240px) and (max-width: 1379px) { .nav { display: none; } .head-cta { display: none; } .menu-btn { display: inline-flex; } .head-tel { margin-left: auto; } .head-tel span { display: inline; } }
@media (min-width: 1560px) { .head-tel span { display: inline; } }
@media (max-width: 420px) { .wordmark { font-size: 1.32rem; } :root { --head-h: 64px; } .menu-btn { padding: 0 12px; } }

/* mobile menu: a full sheet */
.mnav { position: fixed; inset: 0; z-index: 80; background: var(--char); color: #fff; overflow-y: auto; padding: 0 0 40px; display: none; }
.mnav.open { display: block; }
.mnav-top { display: flex; align-items: center; justify-content: space-between; height: var(--head-h); width: calc(100% - var(--gutter) * 2); margin-inline: auto; }
.mnav-close { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; background: transparent; color: #fff; border: 2px solid #fff; border-radius: 10px; font-family: var(--body); font-weight: 700; font-size: 1rem; cursor: pointer; }
.mnav-close svg { width: 18px; height: 18px; }
.mnav-body { width: calc(100% - var(--gutter) * 2); margin: 8px auto 0; display: grid; gap: 22px; }
.mnav-group h2 { font-family: var(--body); font-size: .9rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--yellow); margin: 0 0 4px; }
.mnav ul { list-style: none; padding: 0; margin: 0; }
.mnav li { margin: 0; border-bottom: 1px solid #2c313a; }
.mnav li a { display: flex; align-items: center; min-height: 52px; color: #fff; text-decoration: none; font-weight: 650; font-size: 1.2rem; }
.mnav li a[aria-current="page"] { color: var(--yellow); }
.mnav-actions { display: grid; gap: 12px; }
.mnav-actions .btn { width: 100%; }
.mnav-contact { color: var(--on-dark-2); font-size: .95rem; }

/* mobile action bar: never covers the end of the page */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; padding: 8px max(10px, env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom)); background: rgba(18,20,24,.97); border-top: 3px solid var(--yellow); transition: transform .3s var(--ease); }
.callbar .btn { min-height: 48px; font-size: 1rem; padding: 8px 10px; }
.callbar .btn-ghost { color: #fff; }
.callbar.away { transform: translateY(110%); }
@media (min-width: 900px) { .callbar { display: none; } }
@media (max-width: 899px) { body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); } }

/* ---------- Hero: the #77 at speed, the board in front ---------- */
.hero { position: relative; background: var(--char); color: #fff; overflow: hidden; isolation: isolate; }
.hero-in { position: relative; width: min(1440px, 100%); margin-inline: auto; }
.hero-photo { margin: 0; position: relative; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.credit { position: absolute; right: 10px; top: 10px; margin: 0; padding: 3px 8px; font-size: .75rem; line-height: 1.35; color: #fff; background: rgba(18,20,24,.78); border-radius: 6px; max-width: min(62%, 340px); }
.tb-hero h1 { margin: 0 0 18px; font-size: inherit; line-height: .9; }
.tb-hero .l1 { display: block; color: var(--yellow); font-size: clamp(3rem, 1.4rem + 4.6vw, 6.4rem); letter-spacing: -.01em; }
.tb-hero .l1 > span { display: block; }
.tb-hero .l2 { display: block; margin-top: .22em; font-style: italic; font-weight: 700; color: #fff; text-transform: none; font-size: clamp(1.6rem, 1rem + 1.8vw, 2.7rem); letter-spacing: 0; }
.hero-sub { font-size: clamp(1.05rem, .98rem + .4vw, 1.3rem); line-height: 1.45; color: #eef0f3 !important; max-width: 34ch; margin: 0 0 24px; }
.tb-num { position: absolute; right: clamp(22px, 3vw, 46px); top: clamp(18px, 2.4vw, 36px); font-family: var(--display); font-weight: 800; font-style: italic; font-size: clamp(3.4rem, 2rem + 4vw, 6.6rem); line-height: .8; color: var(--cobalt); -webkit-text-stroke: 3px #fff; paint-order: stroke fill; letter-spacing: -.02em; pointer-events: none; }
@media (max-width: 999px) {
  .hero { padding-bottom: 26px; }
  .hero-photo { aspect-ratio: 16 / 10; }
  .hero-photo img { object-position: 52% 68%; }
  .tb-hero { margin: -8px 12px 0; }
  .tb-hero .tb-face { padding-top: 18px; }
  .tb-num { font-size: 2.6rem; -webkit-text-stroke-width: 2px; top: 14px; right: 16px; }
  .hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: linear-gradient(90deg, var(--yellow) 0 30%, var(--cobalt) 30% 100%); }
}
@media (max-width: 420px) { .tb-hero .l1 { font-size: 2.95rem; } .tb-hero .l2 { font-size: 1.5rem; } .hero-sub { font-size: 1rem; margin-bottom: 18px; } .tb-hero .actions .btn { min-height: 48px; padding: 10px 16px; } }
@media (min-width: 1000px) {
  .hero-in { min-height: 680px; display: flex; align-items: flex-end; padding: 0 0 70px; }
  .hero-photo { position: absolute; right: 0; top: 0; width: min(800px, 58%); aspect-ratio: 800 / 533; z-index: 1; }
  .hero::before { content: ""; position: absolute; z-index: 0; right: 0; bottom: 0; width: 62%; height: 46%; background: var(--cobalt); clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
  .hero::after { content: ""; position: absolute; z-index: 0; right: 0; bottom: 0; width: 62%; height: 46%; background: var(--yellow); clip-path: polygon(10.5% 0, 13% 0, -1% 100%, -3.5% 100%); }
  .tb-hero { z-index: 2; width: min(680px, 54%); margin: 150px 0 0 max(var(--gutter), calc((100% - 1320px) / 2)); }
  .tb-hero::before, .tb-hero::after { content: ""; position: absolute; top: 34%; width: 52px; height: 96px; background: url("../img/tb-bracket.webp") center / contain no-repeat; }
  .tb-hero::before { left: calc(-1 * var(--rail-x) - 40px); }
  .tb-hero::after { right: calc(-1 * var(--rail-x) - 40px); transform: scaleX(-1); }
  .tb-hero .tb-face { padding: 56px 56px 50px; }
}
@media (min-width: 1441px) { .hero-photo img { border-radius: 0 0 0 var(--radius); } }

/* credibility strip: experience, championship years, core classes */
.cred { background: var(--white); border-bottom: 1px solid var(--line); padding-block: clamp(26px, 3vw, 40px); }
.cred-list { display: grid; gap: 20px 40px; margin: 0; }
@media (min-width: 900px) { .cred-list { grid-template-columns: 1.15fr 1.5fr 1fr; } .cred-list > div + div { border-left: 1px solid var(--line); padding-left: 36px; } }
.cred-list > div { margin: 0; }
.cred dt { font-weight: 700; font-size: .9rem; color: var(--steel-ink); margin-bottom: 6px; }
.cred dd { margin: 0 0 4px; line-height: 1.4; }
.cred dd .num { font-weight: 800; margin-right: 8px; color: var(--ink); }
.cred-exp dd { display: flex; gap: 14px; align-items: center; }
.cred-exp b { font-family: var(--display); font-weight: 800; font-size: clamp(3rem, 2.2rem + 2.4vw, 4.2rem); line-height: .8; color: var(--cobalt); flex: none; }

/* ---------- Program finder: one question at a time, inside the board ---------- */
.finder-band .section-head { margin-bottom: 8px; }
.tb-finder { max-width: 1120px; }
.selector { position: relative; }
.sel-progress { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--line-dark); min-height: 58px; }
.sel-count { font-weight: 700; color: #fff; font-size: .98rem; }
.sel-bars { display: inline-flex; gap: 6px; }
.sel-bars i { width: 34px; height: 6px; border-radius: 3px; background: #3a3f48; }
.sel-bars i.on { background: var(--yellow); }
.sel-bars i.done { background: #fff; }
.sel-picked { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.sel-q { border: 0; padding: 0; margin: 0; min-width: 0; }
.sel-q legend { font-family: var(--display); font-weight: 800; font-size: var(--step-2); text-transform: uppercase; line-height: 1; margin-bottom: 18px; padding: 0; color: #fff; }
.sel-step { font-weight: 700; color: var(--yellow); margin: 0 0 8px; font-size: .95rem; }
.sel-opts { display: grid; gap: 10px; }
@media (min-width: 640px) { .sel-opts { grid-template-columns: 1fr 1fr; } .sel-opts > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .sel-opts { grid-template-columns: repeat(3, 1fr); } .sel-opts > :last-child:nth-child(odd) { grid-column: auto; } }
.sel-opt { position: relative; display: grid; align-content: center; gap: 2px; text-align: left; min-height: 64px; padding: 12px 16px 12px 50px; color: #fff; background: #1f2329; border: 1.5px solid #3b414b; border-radius: 12px; cursor: pointer; font: inherit; transition: border-color .15s, background-color .15s, transform .15s var(--ease); }
.sel-opt .dot { position: absolute; left: 17px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; border: 2px solid #8c939e; }
.sel-opt strong { font-weight: 700; font-size: 1.05rem; line-height: 1.25; }
.sel-opt span { font-size: .9rem; color: #c3c8d0; line-height: 1.35; }
.sel-opt:hover { border-color: var(--yellow); transform: translateY(-1px); }
.sel-opt[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.sel-opt[aria-pressed="true"] span { color: #3a3d44; }
.sel-opt[aria-pressed="true"] .dot { border-color: var(--ink); background: radial-gradient(circle, var(--ink) 0 4px, transparent 5px); }
.sel-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.sel-nav .btn { min-height: 46px; font-size: .98rem; color: #fff; }
.sel-result h3 { font-size: 1rem; color: var(--yellow); margin: 0 0 6px; }
.sel-route { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: var(--step-3); line-height: .95; color: #fff !important; margin: 0 0 12px; max-width: 18ch; }
.sel-route:focus { outline: none; }
.sel-why { display: grid; gap: 24px; margin: 18px 0; }
@media (min-width: 900px) { .sel-why { grid-template-columns: 1.3fr 1fr; } }
.sel-summary { background: rgba(255,255,255,.05); border: 1px solid #343a44; border-radius: 12px; padding: 16px 18px; align-self: start; }
.sel-summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .95rem; }
.sel-summary dt { color: var(--yellow); font-weight: 650; }
.sel-summary dd { margin: 0; color: #fff !important; }
.sel-note { font-size: .92rem; border-top: 1px solid #343a44; padding-top: 14px; margin-top: 18px; }
.copy-status { font-size: .95rem; color: var(--yellow) !important; min-height: 1.5em; margin: 8px 0 0; }
@media (prefers-reduced-motion: no-preference) {
  .sel-panel.enter { animation: panel-in .34s var(--ease) both; }
  .sel-picked .chip.new { animation: chip-in .4s var(--ease) both; }
}
@keyframes panel-in { from { opacity: .4; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@keyframes chip-in { from { transform: translateX(-18px); opacity: .5; } to { transform: none; opacity: 1; } }

/* ---------- Photos keep soft corners ---------- */
.ph { margin: 0; position: relative; }
.ph img { border-radius: var(--radius); width: 100%; }
.ph figcaption { font-size: .86rem; line-height: 1.45; color: var(--ink-2); margin-top: 10px; max-width: 60ch; }
.band-asphalt .ph figcaption, .page-head .ph figcaption { color: var(--on-dark-2); }
.band-cobalt .ph figcaption { color: var(--on-cobalt-2); }

/* Paul: portrait with the paddock */
.paul-intro { display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (min-width: 1000px) { .paul-intro { grid-template-columns: minmax(0, 500px) 1fr; } }
.paul-photos { position: relative; padding-right: clamp(40px, 8vw, 110px); }
.paul-photos .ph-main img { max-width: 440px; }
.ph-portrait { position: absolute; right: 0; top: 34px; width: clamp(130px, 30%, 200px); background: #fff; padding: 7px 7px 4px; border-radius: 16px; box-shadow: 0 24px 40px -20px rgba(0,0,0,.6); transform: rotate(2.5deg); }
.ph-portrait img { border-radius: 10px; }
.ph-portrait figcaption { margin: 4px 2px 0; font-size: .78rem; font-weight: 650; color: var(--ink); }
.pull { margin: 24px 0; padding: 0; }
.pull p { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); line-height: 1.08; color: var(--ink); max-width: 30ch; margin: 0 0 8px; }
.pull footer { font-size: .92rem; color: var(--ink-2); }
.paul { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (min-width: 900px) { .paul { grid-template-columns: minmax(0, 312px) 1fr; } .paul-wide { grid-template-columns: minmax(0, 420px) 1fr; } }
.portrait img { max-width: 100%; }

/* three service routes, each with an image window */
.routes { display: grid; gap: 22px; }
@media (min-width: 900px) { .routes { grid-template-columns: repeat(3, 1fr); } }
.route { display: flex; flex-direction: column; background: var(--warm); border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s; }
.route:hover { transform: translateY(-4px); box-shadow: 0 26px 40px -26px rgba(0,0,0,.45); color: var(--ink); }
.route-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-bottom: 6px solid var(--yellow); }
.route-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.route:hover .route-img img { transform: scale(1.04); }
.route h3 { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.75rem); margin: 22px 24px 8px; }
.route p { margin: 0 24px 12px; }
.route .suits { font-weight: 650; color: var(--cobalt); }
.route .go { margin: auto 24px 22px; padding-top: 8px; font-weight: 750; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.route .go svg { width: 20px; height: 20px; transition: transform .2s var(--ease); }
.route:hover .go svg { transform: translateX(5px); }
.routes-note { margin: 26px 0 0; max-width: none; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.suits strong { color: var(--cobalt); margin-right: 6px; }
.band-asphalt .suits strong, .band-cobalt .suits strong { color: var(--yellow); }

/* client words */
.quotes { display: grid; gap: 22px; }
@media (min-width: 900px) { .quotes.q3 { grid-template-columns: repeat(3, 1fr); } }
.qcard { margin: 0; background: #fff; border-radius: 18px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; box-shadow: 0 20px 34px -26px rgba(0,0,0,.5); }
.qcard blockquote { margin: 0; position: relative; padding-top: 34px; }
.qcard blockquote::before { content: "\201C"; position: absolute; top: -14px; left: -4px; font-family: var(--display); font-weight: 800; font-size: 5rem; line-height: 1; color: var(--cobalt); }
.qcard blockquote p { margin: 0; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); font-weight: 600; line-height: 1.45; color: var(--ink); }
.qcard figcaption { margin-top: auto; font-size: .92rem; color: var(--ink-2); }
.qcard figcaption strong { display: block; color: var(--ink); font-size: 1rem; }
.quote-solo .quotes { max-width: 860px; }
.quote-solo h2 { font-size: var(--step-2); max-width: 26ch; }
.more { margin: 26px 0 0; }

/* racing: results as a readable table */
.racing-top { display: grid; gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (min-width: 1000px) { .racing-top { grid-template-columns: 1.25fr 1fr; } }
.racing-top .actions { margin-top: 16px; }
.results-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.results-table th { text-align: left; font-size: .85rem; font-weight: 700; color: var(--on-dark-2); padding: 0 16px 10px 0; border-bottom: 2px solid var(--yellow); }
.results-table td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line-dark); vertical-align: top; color: #fff; }
.results-table td:first-child { white-space: nowrap; color: var(--yellow); font-weight: 700; }
.results-table td a { color: #fff !important; font-weight: 750; text-decoration: none; display: inline-flex; min-height: 28px; }
.results-table td a:hover { text-decoration: underline; color: var(--yellow) !important; }
.results-table td span { display: block; font-size: .88rem; color: var(--on-dark-2); }
@media (max-width: 699px) {
  .results-table thead { display: none; }
  .results-table tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
  .results-table td { display: block; border: 0; padding: 2px 0; }
  .results-table td a { min-height: 44px; align-items: center; }
}
.tb-results { margin-top: 16px; }
.list-title { font-size: var(--step-1); margin: clamp(40px, 5vw, 64px) 0 8px; }
.follow { margin-top: 22px; max-width: none; display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; }

/* reports list (home + archive) */
.reports { display: grid; gap: 0; list-style: none; padding: 0; margin: 0; }
.report { border-top: 1px solid var(--line); margin: 0; }
.band-asphalt .report { border-color: var(--line-dark); }
.report a { display: grid; gap: 4px 26px; padding: 18px 0; text-decoration: none; color: inherit; min-height: 44px; }
@media (min-width: 900px) { .report a { grid-template-columns: 140px 1fr auto; align-items: baseline; } }
.report time { font-weight: 700; font-size: .95rem; color: var(--cobalt); font-variant-numeric: tabular-nums; }
.band-asphalt .report time { color: var(--yellow); }
.report h3 { font-size: 1.12rem; margin: 0; }
.band-asphalt .report h3 { color: #fff; }
.report .cats { font-size: .86rem; color: var(--steel-ink); }
.band-asphalt .report .cats { color: var(--on-dark-2); }
.report a:hover h3 { color: var(--cobalt); text-decoration: underline; text-decoration-thickness: 2px; }
.band-asphalt .report a:hover h3 { color: var(--yellow); }

/* badges */
.logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 640px) { .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.logos li { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; place-items: center; min-height: 92px; }
.logos img { max-height: 64px; width: auto; object-fit: contain; border-radius: 0; }
.logos a { display: grid; place-items: center; min-height: 44px; }
.badge-note { font-size: .9rem; color: var(--ink-2); margin-top: 14px; }
.thanks { max-width: 90ch; }
.partners-home { align-items: start; }
.partners-home .list-title { margin-top: 0; }

/* closing call: cobalt, with the phone number big */
.closer { background: var(--cobalt); color: #fff; position: relative; overflow: hidden; }
.closer h2 { font-size: var(--step-4); max-width: 12ch; color: #fff; }
.closer .lede { color: var(--on-cobalt-2); }
.closer-grid { display: grid; gap: 32px; align-items: end; position: relative; z-index: 1; }
@media (min-width: 980px) { .closer-grid { grid-template-columns: 1.3fr 1fr; } }
.closer-actions { display: grid; gap: 16px; justify-items: start; }
.closer-tel { display: inline-flex; align-items: center; gap: 16px; color: #fff; text-decoration: none; min-height: 44px; }
.closer-tel svg { width: 30px; height: 30px; padding: 14px; box-sizing: content-box; background: var(--yellow); color: var(--ink); border-radius: 50%; flex: none; }
.closer-tel span { display: grid; font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.6rem); line-height: .95; font-variant-numeric: tabular-nums; }
.closer-tel small { font-family: var(--body); font-size: .95rem; font-weight: 650; color: var(--on-cobalt-2); }
.closer-tel:hover span { color: var(--yellow); }
.closer-actions p { margin: 6px 0 0; font-size: .95rem; line-height: 1.7; color: var(--on-cobalt-2); }
.big77 { position: absolute; right: -0.04em; bottom: -0.18em; font-family: var(--display); font-weight: 800; font-style: italic; font-size: clamp(12rem, 30vw, 30rem); line-height: .8; color: rgba(255,255,255,.07); pointer-events: none; user-select: none; }

/* ---------- Interior page heads: a board with the page name, a large photo ---------- */
.page-head { background: var(--char); color: #fff; padding-block: clamp(20px, 3vw, 40px) clamp(52px, 6vw, 96px); position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: linear-gradient(90deg, var(--yellow) 0 22%, var(--cobalt) 22% 100%); }
.page-head-grid { display: grid; gap: clamp(26px, 4vw, 56px); align-items: center; }
.page-head .tb { max-width: 900px; }
@media (min-width: 980px) {
  .page-head.has-photo .page-head-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
  .page-head.flip .page-head-grid > .ph { order: -1; }
}
.page-head h1 { margin: 0 0 14px; font-size: var(--step-4); }
.page-head h1 .l1 { color: var(--yellow); }
.page-head h1 .l2 { color: #fff; }
.page-head .lede { color: #e8eaee !important; margin: 0 0 22px; }
.page-head .tb-face > :last-child { margin-bottom: 0; }
.page-head .ph img { box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); max-height: 560px; width: auto; max-width: 100%; }
.page-head .ph { justify-self: center; }
.crumbs { font-size: .9rem; color: var(--on-dark-2); }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0 10px; }
.crumbs li { margin: 0; display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: "/"; color: #6b717b; }
.crumbs a { color: #fff; display: inline-flex; min-height: 44px; align-items: center; }
.article-head h1 { font-size: var(--step-3); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: .95rem; color: var(--on-dark-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--cobalt); color: #fff !important; font-size: .88rem; font-weight: 650; text-decoration: none; }
.tag:hover { background: var(--cobalt-deep); }

/* prose */
.prose { max-width: 72ch; }
.prose h2 { font-size: var(--step-2); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }
.prose img { border-radius: var(--radius); }

/* spec sheet and tables */
.spec { width: 100%; border-collapse: collapse; font-size: 1rem; }
.spec th, .spec td { text-align: left; padding: 11px 14px 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { font-weight: 650; width: 42%; color: var(--on-dark-2); }
.board .spec th, .board .spec td { border-color: var(--line-dark); }
.board .spec td { color: #fff; font-weight: 650; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rtable { width: 100%; border-collapse: collapse; font-size: .95rem; background: #fff; border-radius: 10px; overflow: hidden; }
.rtable th, .rtable td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.rtable thead th { background: var(--char); color: #fff; font-weight: 700; font-size: .9rem; }
@media (max-width: 640px) {
  .rtable thead { display: none; }
  .rtable tr { display: block; padding: 10px 0; border-bottom: 2px solid var(--line); }
  .rtable td { display: grid; grid-template-columns: 40% 1fr; gap: 10px; border: 0; padding: 4px 12px; }
  .rtable td[data-label]::before { content: attr(data-label); font-weight: 700; color: var(--ink-2); }
  .rtable td:not([data-label]) { grid-template-columns: 1fr; }
}
.rtable a, .article-body h2 a, .article-body h3 a { display: inline-flex; align-items: center; min-height: 44px; }
.season-status { background: var(--warm); border-radius: 14px; padding: 18px 22px; margin: 0 0 18px; max-width: 760px; }
.season-status p { margin: 0 0 6px; }
.season-status p:last-child { margin: 0; }

/* Individual Programs */
.svc { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(36px, 5vw, 72px); border-top: 1px solid var(--line); }
.svc:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .svc { grid-template-columns: 1fr 1fr; } .svc.flip > :first-child { order: 2; } }
.svc > * { min-width: 0; }
.svc h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: var(--step-3); line-height: .95; letter-spacing: -.005em; margin-bottom: .35em; }
.svc h4 { margin-bottom: 4px; }
.suits { background: var(--warm); border-radius: 12px; padding: 12px 16px; }
.band-white .suits { background: var(--warm); }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 30px; margin: 0; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 14px; height: 8px; border-left: 3px solid var(--cobalt); border-bottom: 3px solid var(--cobalt); transform: rotate(-45deg); }
.band-asphalt .ticks li::before, .band-cobalt .ticks li::before, .board .ticks li::before, .tb .ticks li::before { border-color: var(--yellow); }
.cols { columns: 2 280px; column-gap: 40px; }
.cols li { break-inside: avoid; }
.jump { list-style: none; padding: 0; margin: 0; }
.jump li { margin: 0; border-bottom: 1px solid var(--line-dark); }
.jump li:last-child { border-bottom: 0; }
.jump a { display: grid; gap: 2px; padding: 14px 0; min-height: 56px; text-decoration: none; }
.jump b { color: #fff; font-size: 1.1rem; }
.jump span { color: var(--on-dark-2); font-size: .9rem; }
.jump a:hover b { color: var(--yellow); }
.session { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (min-width: 980px) { .session { grid-template-columns: 1fr 1fr; } }
.sheet-title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: var(--step-2); color: var(--yellow) !important; line-height: 1; margin: 0 0 14px; }
.sheet { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.sheet li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; gap: 2px 14px; padding: 14px 0; border-top: 1px solid var(--line-dark); margin: 0; }
.sheet li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; font-family: var(--display); font-weight: 800; font-size: 1.9rem; line-height: 1; color: var(--yellow); font-variant-numeric: tabular-nums; }
.sheet b { color: #fff; font-size: 1.08rem; }
.sheet span { color: var(--on-dark-2); }
.laps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: lap; }
.laps > li { counter-increment: lap; display: grid; grid-template-columns: auto 1fr; gap: 4px 20px; padding: 20px 0; border-top: 2px solid currentColor; margin: 0; }
.laps > li::before { content: counter(lap); grid-row: span 2; font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); line-height: .85; color: var(--cobalt); min-width: 1.1em; font-variant-numeric: tabular-nums; }
.laps h3 { margin: 0; }
.laps p { margin: 0; }
@media (min-width: 980px) { .laps-row { grid-template-columns: repeat(4, 1fr); gap: 0 26px; } .laps-row > li { grid-template-columns: 1fr; align-content: start; } .laps-row > li::before { grid-row: auto; } }

/* Corporate: brief on the board; seven elements in paired rows with aligned text */
.brief { margin: 0; display: grid; gap: 0; }
.brief > div { padding: 14px 0; border-top: 1px solid var(--line-dark); }
.brief > div:first-child { border-top: 0; padding-top: 0; }
.brief dt { font-weight: 700; color: var(--yellow); font-size: .95rem; margin-bottom: 2px; }
.brief dd { margin: 0; color: #fff !important; font-size: 1.05rem; line-height: 1.45; }
.drills { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.drills li { margin: 0; display: grid; grid-template-columns: 58px 1fr; column-gap: 18px; padding: 22px 0; border-top: 1px solid var(--line-dark); }
.drills .dn { grid-row: 1 / span 2; font-family: var(--display); font-weight: 800; font-size: 2.8rem; line-height: 1; color: var(--yellow); }
.drills h3 { grid-column: 2; margin: 0 0 4px; font-size: 1.3rem; line-height: 1.3; color: #fff; align-self: end; }
.drills p { grid-column: 2; margin: 0; line-height: 1.5; color: var(--on-dark-2); }
@media (min-width: 900px) {
  .drills { grid-template-columns: 1fr 1fr; column-gap: 56px; }
  .drills li { grid-row: span 2; grid-template-rows: subgrid; }
  .drills li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* About */
.ledger { list-style: none; padding: 0; margin: 0; display: grid; }
.ledger li { display: grid; gap: 4px 24px; padding: 14px 0; border-top: 1px solid var(--line); margin: 0; }
@media (min-width: 700px) { .ledger li { grid-template-columns: 170px 1fr; align-items: baseline; } }
.ledger .yr { font-weight: 800; font-size: 1.05rem; color: var(--cobalt); font-variant-numeric: tabular-nums; }
.car-figs { display: flex; flex-wrap: wrap; gap: 14px 36px; margin: 18px 0 26px; }
.car-figs div { display: grid; gap: 2px; }
.car-figs b { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 1.6rem + 1.4vw, 2.8rem); line-height: 1; color: var(--yellow); text-transform: uppercase; }
.car-figs .lbl { font-size: .9rem; color: var(--on-cobalt-2); }

/* archive */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filters a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 2px solid var(--ink); border-radius: 999px; font-weight: 650; color: var(--ink); text-decoration: none; white-space: nowrap; }
.filters a:hover { background: rgba(17,19,23,.06); }
.filters a[aria-current="page"] { background: var(--ink); color: var(--yellow); }
.filters .n { margin-left: 8px; font-size: .85rem; font-variant-numeric: tabular-nums; }
.year-head { font-size: var(--step-2); margin: 44px 0 6px; color: var(--cobalt); }
.year-head:first-child { margin-top: 0; }
.article-body { max-width: 74ch; overflow-wrap: anywhere; }
.article-body img { border-radius: var(--radius); }
.article-body .ph { margin-bottom: 28px; }
.article-nav { display: grid; gap: 14px; margin-top: 48px; padding-top: 22px; border-top: 2px solid var(--ink); }
@media (min-width: 800px) { .article-nav { grid-template-columns: 1fr 1fr; } .article-nav .next { text-align: right; } }
.article-nav a { display: block; text-decoration: none; padding: 10px 0; min-height: 44px; }
.article-nav small { display: block; font-size: .85rem; color: var(--steel-ink); }
.article-nav strong { font-weight: 750; font-size: 1.08rem; }

/* gallery: a deliberate sequence, keyboard operable */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; }
@media (min-width: 600px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, minmax(0, 312px)); gap: 20px; } }
.gallery li { margin: 0; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; transition: transform .3s var(--ease); }
.gallery button:hover img { transform: scale(1.04); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1000px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(10,11,14,.97); }
.lightbox figure { margin: 0; }
.lightbox img { max-height: 76vh; width: auto; margin-inline: auto; border-radius: 12px; }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 10px; font-size: .95rem; }
.lb-bar { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.lb-bar button { min-height: 44px; min-width: 44px; padding: 0 16px; border-radius: 10px; border: 2px solid #fff; background: transparent; color: #fff; font-family: var(--body); font-weight: 700; font-size: 1rem; cursor: pointer; }
.lb-bar button:hover { background: rgba(255,255,255,.12); }

/* videos: a small board as the poster, click to load */
.videos { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
@media (min-width: 700px) { .videos-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.video { margin: 0; display: grid; gap: 10px; align-content: start; }
.video-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.board-poster { border-style: solid; border-width: 11px 16px; border-image: url("../img/tb-frame.webp") 44 64 / 11px 16px stretch; background: #16181c url("../img/tb-weave.webp") 0 0 / 24px; background-clip: padding-box; }
.video-frame button { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.poster-plates { position: absolute; left: 16px; right: 16px; top: 14px; display: grid; gap: 6px; justify-items: start; text-align: left; }
.poster-num { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 2rem; line-height: .9; color: var(--cobalt); -webkit-text-stroke: 2px #fff; paint-order: stroke fill; }
.poster-title { font-family: var(--display); font-weight: 800; font-size: clamp(1.15rem, .9rem + .9vw, 1.55rem); line-height: 1.02; text-transform: uppercase; color: #fff; max-width: 78%; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.video-frame .play { position: absolute; right: 14px; bottom: 12px; width: 64px; height: 46px; background: var(--yellow); border-radius: 12px; display: grid; place-items: center; box-shadow: 0 10px 26px -8px rgba(0,0,0,.7); transition: transform .2s var(--ease); }
.video-frame button:hover .play { transform: scale(1.08); }
.video-frame .play svg { width: 24px; height: 24px; color: var(--ink); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video figcaption { font-size: .95rem; }
.video figcaption strong { display: block; font-weight: 750; line-height: 1.3; }
.video figcaption a { display: inline-flex; min-height: 44px; align-items: center; }

/* downloads */
.dl-group { margin: 30px 0 12px; }
.dl-group:first-of-type { margin-top: 8px; }
.downloads { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.downloads li { margin: 0; }
.dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; align-items: center; padding: 16px 18px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: border-color .2s, transform .2s var(--ease); }
.dl:hover { border-color: var(--cobalt); transform: translateY(-2px); color: inherit; }
.dl .ico { grid-row: span 2; width: 48px; height: 58px; border-radius: 8px; background: var(--cobalt); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .85rem; }
.dl strong { font-weight: 750; font-size: 1.05rem; line-height: 1.3; }
.dl span { font-size: .9rem; color: var(--ink-2); }

/* partners */
.partner { display: grid; gap: 14px 40px; padding: clamp(26px, 4vw, 44px) 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .partner { grid-template-columns: 320px 1fr; align-items: start; } }
.partner h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: var(--step-2); line-height: 1; margin: 0; }
.partner-promo h3 { color: var(--cobalt); }
.opps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0 32px; }
@media (min-width: 800px) { .opps { grid-template-columns: repeat(3, 1fr); } }
.opps li { margin: 0; display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line-dark); color: #fff !important; font-weight: 650; font-size: 1.08rem; }
.opps .num { font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: var(--yellow); }

/* FAQ */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 14px 0; font-weight: 750; font-size: 1.12rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; transition: transform .25s var(--ease); color: var(--cobalt); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .faq-a { padding: 0 0 20px; }
.band-asphalt .faq { border-color: #fff; }
.band-asphalt .faq details { border-color: var(--line-dark); }

/* testimonials page */
.tgroup { margin-top: clamp(40px, 6vw, 80px); }
.tgroup:first-child { margin-top: 0; }
.tlist { display: grid; gap: 22px; }
.tcard { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 3vw, 40px); display: grid; gap: 14px; }
.tcard .who { font-weight: 700; }
.tcard .who span { display: block; font-weight: 450; color: var(--ink-2); font-size: .95rem; }
.tcard p { max-width: 70ch; }
.tcard-lead { background: var(--char); color: #fff; border-color: var(--char); }
.tcard-lead p, .tcard-lead .who span, .tcard-lead .meta { color: var(--on-dark-2); }
.tcard-lead a { color: var(--yellow); display: inline-flex; align-items: center; min-height: 44px; }
.tcard .meta { font-size: .9rem; color: var(--steel-ink); }
.tpull { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.04; color: var(--ink); margin: 0; max-width: 26ch; }
.tcard-lead .tpull { color: #fff; }
.tplate { justify-self: start; background: var(--yellow); color: var(--ink); }
@media (min-width: 1000px) { .tcard { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 48px; align-items: start; } .tcard > * { grid-column: 2; } .tcard > .tpull, .tcard > .tplate { grid-column: 1; } .tcard > .tplate { grid-row: 1; } .tcard > .tpull { grid-row: 2 / span 3; } .tcard > .tpull:first-child { grid-row: 1 / span 3; } }
.tgroup-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin: 26px 0 8px; }
.tgroup-cta span { font-weight: 800; font-size: 1.15rem; margin-right: 6px; }
.slot-title h2 { margin: 0; }

/* contact */
.contact-grid { display: grid; gap: clamp(28px, 5vw, 64px); }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 1fr 1.1fr; } }
.contact-card { display: grid; gap: 4px; }
.contact-card dt { font-weight: 700; font-size: .9rem; color: var(--steel-ink); margin-top: 14px; }
.contact-card dd { margin: 0; font-size: 1.15rem; }
.contact-card dd a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; }
.where { columns: 2 220px; }
.form-card { background: var(--warm); color: var(--ink); border-radius: 12px; padding: 22px; }
.form-card p, .form-card label { color: var(--ink) !important; }
.form-card .form-note { color: var(--ink-2) !important; }

/* ---------- Forms and dialog ---------- */
.kform { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 650; font-size: .95rem; }
.field .opt { font-weight: 450; color: var(--steel-ink); }
.field input, .field textarea, .field select { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 2px solid #c9c7bf; border-radius: 10px; padding: 12px 14px; min-height: 50px; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 4px rgba(29,70,214,.22); }
.field input:user-invalid { border-color: #b3261e; }
.two { display: grid; gap: 16px; }
@media (min-width: 600px) { .two { grid-template-columns: 1fr 1fr; } }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.form-note { font-size: .9rem; color: var(--ink-2); margin: 0; }
.kf-sent { background: var(--char) url("../img/tb-weave.webp") 0 0 / 24px; color: #fff; border-radius: var(--radius); padding: 26px; }
.kf-sent:focus { outline: none; }
.kf-sent p { margin: 0; color: var(--on-dark-2) !important; }
.kf-sent .kf-sent-h { font-family: var(--display); font-weight: 800; font-size: 1.8rem; text-transform: uppercase; color: var(--yellow) !important; margin-bottom: 6px; line-height: 1.05; }
.kf-error { background: #fdecea; color: #7a1c14; border: 2px solid #b3261e; border-radius: 10px; padding: 12px 14px; margin: 0; font-weight: 600; }
.kf-error a { color: #7a1c14; }
.dlg { border: 0; padding: 0; width: min(640px, 100vw - 24px); max-height: calc(100dvh - 24px); border-radius: 16px; background: var(--warm); color: var(--ink); box-shadow: 0 40px 90px -30px rgba(0,0,0,.8); overflow: auto; overscroll-behavior: contain; }
.dlg::backdrop { background: rgba(10,11,14,.75); }
.dlg-head { background: var(--char); color: #fff; padding: 22px 24px 18px; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: start; position: sticky; top: 0; z-index: 2; border-bottom: 5px solid var(--yellow); }
.dlg-head h2 { margin: 0; font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); }
.dlg-head p { margin: 6px 0 0; color: var(--on-dark-2); font-size: .95rem; }
.dlg-head p a { color: #fff; }
.dlg-close { min-height: 44px; min-width: 44px; display: grid; place-items: center; background: transparent; border: 2px solid #fff; border-radius: 10px; color: #fff; cursor: pointer; }
.dlg-close svg { width: 18px; height: 18px; }
.dlg-body { padding: 22px 24px 26px; }
html.dlg-open { overflow: hidden; scrollbar-gutter: stable; }

/* ---------- Footer ---------- */
.site-foot { background: #0b0c0f; color: var(--on-dark-2); padding-block: 64px 30px; font-size: .95rem; }
.foot-top { display: grid; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid #262a31; }
@media (min-width: 980px) { .foot-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot-name { font-family: var(--display); font-weight: 800; font-size: 2.2rem; text-transform: uppercase; color: #fff; line-height: 1; margin: 0 0 12px; }
.foot-name span { color: var(--yellow); }
.site-foot h2 { font-family: var(--body); font-size: .95rem; letter-spacing: 0; text-transform: none; color: var(--yellow); margin: 0 0 10px; font-weight: 700; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin: 0; }
.site-foot a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.site-foot a:hover { color: var(--yellow); text-decoration: underline; }
.site-foot address { font-style: normal; line-height: 1.6; margin-bottom: 8px; }
.socials { display: flex; gap: 10px; margin-top: 12px; }
.socials a { width: 48px; height: 48px; justify-content: center; border: 1px solid #3a404a; border-radius: 10px; }
.socials a:hover { border-color: var(--yellow); }
.socials svg { width: 22px; height: 22px; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 22px; font-size: .9rem; }
.foot-bottom a { min-height: 44px; }
.foot-bottom p { margin: 0; display: flex; align-items: center; }

/* ---------- Motion: short, purposeful, and only when allowed ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { transform: translateY(20px); transition: transform .7s var(--ease); }
  .js .rv.in { transform: none; }
  .js .rv-img img { clip-path: inset(0 0 10% 0 round var(--radius)); transition: clip-path 1s var(--ease); }
  .js .rv-img.in img { clip-path: inset(0 0 0 0 round var(--radius)); }
  .js .tb-hero { animation: board-in .8s var(--ease) both; }
  .js .hero-photo img { animation: photo-in 1.1s var(--ease) both; }
  @keyframes board-in { from { transform: translateY(26px); } to { transform: none; } }
  @keyframes photo-in { from { transform: scale(1.04) translateX(14px); } to { transform: none; } }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
@media print { .site-head, .callbar, .site-foot, .mnav, .dlg { display: none !important; } }
@media (min-width: 1380px) and (max-width: 1679px) {
  .head-row { gap: 10px; }
  .wordmark { font-size: 1.45rem; }
  .nav-list > li > a, .nav-list > li > button { padding: 0 7px; font-size: .92rem; }
  .head-tel { margin-left: 6px; }
  .head-cta { padding: 10px 14px; margin-left: 4px; }
}
.route .suits { background: none; padding: 0; }
.follow { display: block; }
.follow .text-link { margin-right: 14px; }
.ph-tall { justify-self: end; max-width: 440px; }
@media (max-width: 999px) { .ph-tall img { aspect-ratio: 4 / 3; object-fit: cover; } }
.sel-q legend { text-wrap: balance; max-width: 100%; }
@media (max-width: 599px) { .cred dd { margin-bottom: 10px; } .cred dd .num { display: block; } }
@media (min-width: 900px) {
  .quote-solo { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); gap: 56px; align-items: center; }
  .quote-solo h2 { font-size: var(--step-3); margin: 0; }
}
.svc { align-items: start; }
.board-big { text-wrap: balance; hyphens: manual; }
.band-asphalt .faq summary svg, .board .faq summary svg { color: var(--yellow); }
.nw { white-space: nowrap; }
.tb-num, .poster-num { color: #fff; -webkit-text-stroke-color: var(--cobalt); }
@media (max-width: 380px) {
  .head-row { gap: 6px; }
  .wordmark { font-size: 1.18rem; gap: .18em; }
  .head-tel { padding: 0; min-width: 44px; }
  .menu-btn { padding: 0 10px; gap: 6px; }
}
.tcard.tcard-lead .meta { color: var(--on-dark-2); }
.page-head-grid > * { min-width: 0; }
.ph img { width: auto; max-width: 100%; }
@media (min-width: 600px) and (max-width: 899px) {
  .route { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); grid-template-rows: auto auto 1fr auto; }
  .route-img { grid-row: 1 / -1; aspect-ratio: auto; border-bottom: 0; border-right: 6px solid var(--yellow); }
  .route h3 { margin-top: 22px; }
}
.paul-intro > *, .racing-top > *, .session > *, .paul > * { min-width: 0; }
.ph-portrait img, .ph-main img { width: 100%; }
@media (min-width: 900px) and (max-width: 1199px) {
  .cred-list { grid-template-columns: 1fr 1fr; }
  .cred-list > .cred-exp { grid-column: 1 / -1; }
  .cred-list > div + div { border-left: 0; padding-left: 0; }
  .cred-list > div:last-child { border-left: 1px solid var(--line); padding-left: 36px; }
}
.text-link { width: fit-content; }
