/* Iron Yard: black steel, chalk and hazard yellow, with competition plate colours.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #0E0E0E;
  --surface: #171717;
  --soft: #1F1F1F;
  --ink: #EDEDE6;
  --muted: #A3A39B;
  --line: #2C2C2C;
  --line-strong: #444441;
  --hazard: #F5C400;
  --red: #D7262E;
  --blue: #1F4FB5;
  --brand: #F5C400;
  --brand-hover: #FFD433;
  --brand-ink: #0E0E0E;
  --brand-text: #F5C400;
  --eyebrow: #F5C400;
  --focus: #F5C400;
  --input-bg: #121212;
  --menu-bg: #0E0E0E;
  --head: "Big Shoulders Display", Impact, sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
  --radius: 4px;
  --radius-lg: 6px;
  --btn-radius: 4px;
  --wrap: 1200px;
  --gap: 18px;
  --ok: #3CC48A;
  --ok-text: #6FE0A8;
  --danger: #FF7A6B;
  color-scheme: dark;
}
h1, h2, h3 { font-weight: 900; text-transform: uppercase; letter-spacing: .01em; }
h1 em, h2 em, .f-statement em { font-style: normal; color: var(--hazard); }
.eyebrow { letter-spacing: .18em; }
.btn { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; }
.btn svg { width: 18px; height: 18px; }
.btn-ghost { color: var(--ink); }
.text-link { color: var(--hazard); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; text-underline-offset: 5px; }
.hazard { height: 14px; background: repeating-linear-gradient(-45deg, var(--hazard) 0 14px, #0E0E0E 14px 28px); }
details summary { text-transform: none; }
.tt-class[data-type="strength"] { --type: var(--red); }
.tt-class[data-type="technique"] { --type: var(--blue); }
.tt-class[data-type="conditioning"] { --type: var(--hazard); }

/* ---------- header ---------- */
.header { background: rgba(14,14,14,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 44px; height: 22px; }
.logo b { font: 900 1.9rem var(--head); text-transform: uppercase; letter-spacing: .02em; }
.nav a { color: var(--muted); font-weight: 600; text-transform: uppercase; font-size: .86rem; letter-spacing: .08em; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--hazard); border-radius: 0; }
.nav-toggle { color: var(--ink); }

/* ---------- hero ---------- */
.hero { padding-top: clamp(40px, 6vw, 80px); overflow: hidden; }
.hero h1 { font-size: clamp(4rem, 14vw, 11rem); line-height: .82; margin: 18px 0 28px; }
.hero-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.hero-row .lede { max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.next-pill { display: grid; padding: 8px 16px; border: 1.5px solid var(--line-strong); border-radius: var(--radius); text-decoration: none; }
.next-pill span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.next-pill b { font-weight: 600; }
.hero-bar { margin-top: clamp(32px, 5vw, 56px); width: min(1400px, 140vw); margin-inline: auto; transform: translateX(-10%); }
.bar-art { display: block; width: 100%; height: auto; }

/* ---------- sections ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 12px 32px; flex-wrap: wrap; margin-bottom: 26px; }
.sec-head h2, .sec-title { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: .9; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }
.stats div { display: grid; padding: 24px; background: var(--bg); }
.stats b { font: 900 clamp(2.6rem, 6vw, 4rem)/1 var(--head); color: var(--hazard); }
.stats span { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; }
.tools-band { background: var(--surface); border-block: 1px solid var(--line); }
.split-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .split-2 { grid-template-columns: minmax(0, 1fr); } }
.mini-plates { list-style: none; display: flex; flex-wrap: wrap; gap: 14px; align-items: end; }
.mini-plates li { display: grid; justify-items: center; gap: 6px; font-weight: 700; font-size: .84rem; }
.mini-plates span { width: 22px; height: 90px; border-radius: 3px; background: var(--c); border: 2px solid #000; }
.mini-plates li:nth-child(n+5) span { height: 60px; width: 16px; }

/* ---------- tools (signature) ---------- */
.tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
@media (max-width: 860px) { .tools { grid-template-columns: minmax(0, 1fr); } }
.tool { display: grid; gap: 14px; align-content: start; padding: clamp(18px, 2.6vw, 28px); background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--hazard); border-radius: var(--radius-lg); }
.tool-wide { grid-column: 1 / -1; order: -1; border-top-color: var(--red); }
.tool h2 { font-size: 2.4rem; line-height: 1; }
.tool-note { color: var(--muted); }
.big-out { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 14px 16px; background: var(--soft); border-radius: var(--radius); }
.big-out span { color: var(--muted); }
.big-out b { font: 900 2.4rem/1 var(--head); color: var(--hazard); text-transform: uppercase; }
.pct { width: 100%; border-collapse: collapse; font-size: .92rem; }
.pct th, .pct td { padding: 8px 10px; text-align: left; border-bottom: 1px solid var(--line); font-weight: 400; }
.pct thead th { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.pct tbody th { font-weight: 700; color: var(--hazard); }
.pct td:nth-child(2) { font-weight: 700; font-variant-numeric: tabular-nums; }
.bar-stage { padding: 20px 0; background: radial-gradient(ellipse at 50% 50%, #242424, var(--surface) 70%); border-radius: var(--radius); }
.plates-out { font-weight: 600; }
.levels { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.levels li { display: grid; gap: 4px; padding: 10px 6px; text-align: center; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: var(--soft); border-radius: var(--radius); color: var(--muted); }
.levels li span { font-size: .78rem; text-transform: none; letter-spacing: 0; font-variant-numeric: tabular-nums; min-height: 1.2em; }
.levels li.is-on { background: #3A3200; color: var(--ink); }
.levels li.is-you { background: var(--hazard); color: #0E0E0E; }
@media (max-width: 480px) { .levels { grid-template-columns: repeat(3, 1fr); } }

/* ---------- plans, coaches, timetable ---------- */
.plan h3, .coach h3 { font-size: 2rem; }
.plan-price b { color: var(--hazard); }
.plan.is-best { border-color: var(--hazard); }
.coach-art { border-radius: var(--radius); }

/* ---------- inner pages ---------- */
.page-head { border-bottom: 1px solid var(--line); margin-bottom: clamp(24px, 4vw, 48px); }
.page-head h1 { font-size: clamp(3.2rem, 9vw, 6.4rem); line-height: .88; }
.card h2, .done h2, .faq-group h2 { font-size: 1.8rem; }
.empty h1 { color: var(--ink); }

/* ---------- CTA + footer ---------- */
.cta-band { padding-block: clamp(56px, 8vw, 104px); text-align: center; background: var(--hazard); color: #0E0E0E; }
.cta-band h2 { font-size: clamp(3rem, 8vw, 6rem); line-height: .9; }
.cta-band h2 em { color: var(--red); }
.cta-band p { margin: 14px auto 0; max-width: 52ch; }
.cta-band .btn-primary { background: #0E0E0E; color: var(--hazard); }
.cta-band .btn-ghost { color: #0E0E0E; border-color: #0E0E0E; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.footer { background: #080808; color: var(--muted); --footer-line: var(--line); padding-top: 0; }
.footer > .wrap { padding-top: 56px; }
.f-statement { font: 900 clamp(3rem, 8vw, 6rem)/.88 var(--head); text-transform: uppercase; color: var(--ink); margin-bottom: 48px; }
.footer h2 { color: var(--hazard); opacity: 1; }
.f-about { margin: 14px 0 10px; max-width: 34ch; }
.footer .credit a { color: var(--ink); }
