/* ============ Iron Forge theme ============ */
:root {
  --bg: #0a0a0a;
  --bg-2: #111214;
  --bg-3: #181a1d;
  --text: #f5f5f5;
  --muted: #a8adb3;
  --accent: #dc2828;
  --accent-dark: #a81e1e;
  --line: #26282c;
  --radius: 10px;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Arial Narrow", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }

.section { padding: 4.5rem 0; }
.section-dark { background: var(--bg-2); }

.section-title {
  font-family: var(--font-head);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 0.5rem;
  border-left: 5px solid var(--accent);
  padding-left: 0.8rem;
}

.section-lede { color: var(--muted); margin-bottom: 2rem; max-width: 60ch; }

h3 { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.03em; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.85rem 1.8rem;
  border-radius: 6px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.2s ease, transform 0.15s ease;
}
.btn:hover, .btn:focus-visible { background: var(--accent-dark); transform: translateY(-1px); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ============ Header / Nav ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: 1200px; margin: 0 auto; padding: 0.6rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}

.nav-logo { height: 40px; width: auto; }

.nav-links {
  list-style: none; display: flex; gap: 0.25rem; flex-wrap: wrap;
}

.nav-links a {
  color: var(--text); text-decoration: none;
  font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 0.5rem 0.65rem; border-radius: 4px;
}
.nav-links a:hover, .nav-links a:focus-visible,
.nav-links a.active { color: var(--accent); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 6px; padding: 0.55rem 0.6rem; cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0; }

/* ============ Hero ============ */
.hero {
  min-height: 88vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 4rem 1.25rem;
  background: radial-gradient(ellipse at 50% 30%, #1a1214 0%, var(--bg) 70%);
}

.hero-inner { max-width: 800px; }

.hero-logo { width: min(420px, 80vw); margin: 0 auto 1.5rem; }

.hero-tagline { font-size: clamp(1.1rem, 2.5vw, 1.5rem); color: var(--muted); margin-bottom: 2rem; }

.hero-stats { display: flex; justify-content: center; gap: 2.5rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-head); font-weight: 900; font-size: 2rem; color: var(--accent); }
.stat-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }

/* ============ About ============ */
.about-text p { margin-bottom: 1.1rem; max-width: 70ch; }
.fact-list { list-style: none; margin-top: 1.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.6rem; }
.fact-list li { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.8rem 1rem; }

/* ============ PRs ============ */
.pr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.pr-card {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1rem; text-align: center; display: flex; flex-direction: column; gap: 0.3rem;
}
.pr-card.pr-featured { border-color: var(--accent); box-shadow: 0 0 24px rgba(220, 40, 40, 0.15); }
.pr-lift { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.pr-num { font-family: var(--font-head); font-weight: 900; font-size: 2.4rem; }
.pr-num small { font-size: 1rem; color: var(--muted); }
.pr-note { font-size: 0.85rem; color: var(--muted); }
.pr-disclaimer { color: var(--muted); font-size: 0.9rem; font-style: italic; }

/* ============ Tables ============ */
.table-wrap { overflow-x: auto; }
.comp-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.comp-table th, .comp-table td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.comp-table th { text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.08em; color: var(--muted); }
.badge {
  display: inline-block; padding: 0.25rem 0.7rem; border-radius: 999px;
  font-size: 0.8rem; font-weight: 700; background: var(--bg-3); border: 1px solid var(--line);
}
.badge.gold { background: rgba(212, 175, 55, 0.15); border-color: #d4af37; color: #f0d060; }
.badge.silver { background: rgba(180, 190, 200, 0.12); border-color: #9aa2ab; color: #cfd6dd; }
.table-note { color: var(--muted); font-size: 0.9rem; margin-top: 1rem; }

/* ============ Timeline ============ */
.timeline { list-style: none; position: relative; padding-left: 1.5rem; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 2rem 1.5rem; }
.timeline li::before {
  content: ""; position: absolute; left: -1.5rem; top: 0.35rem;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px rgba(220, 40, 40, 0.2);
}
.tl-year { font-family: var(--font-head); font-weight: 900; color: var(--accent); font-size: 1.1rem; }
.tl-body h3 { margin: 0.25rem 0 0.4rem; }
.tl-body p { color: var(--muted); max-width: 65ch; }

/* ============ Gallery ============ */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-bottom: 2.5rem; }
.gallery-item {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.gallery-item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.gallery-item figcaption { padding: 0.7rem 1rem; font-size: 0.9rem; color: var(--muted); }

.bulk-stats { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-bottom: 2.5rem; }
.bulk-stat { text-align: center; }
.bulk-num { display: block; font-family: var(--font-head); font-weight: 900; font-size: 1.8rem; color: var(--accent); }
.bulk-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.bulk-arrow { font-size: 2rem; color: var(--muted); }

.approach-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.approach-card { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.approach-card h3 { color: var(--accent); margin-bottom: 0.5rem; }
.approach-card p { color: var(--muted); font-size: 0.95rem; }

/* ============ Training log ============ */
.log-feed { display: flex; flex-direction: column; gap: 1.25rem; }
.log-entry {
  display: grid; grid-template-columns: 90px 1fr; gap: 1.25rem;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem;
}
.log-date { text-align: center; }
.log-day { display: block; font-family: var(--font-head); font-weight: 900; font-size: 2rem; color: var(--accent); line-height: 1; }
.log-month { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.log-body h3 { margin-bottom: 0.5rem; }
.log-body ul { margin: 0 0 0.75rem 1.2rem; color: var(--text); }
.log-body li { margin-bottom: 0.25rem; }
.log-note { color: var(--muted); font-size: 0.92rem; font-style: italic; }

/* ============ Next comp / Calendar ============ */
.next-comp-card {
  background: var(--bg-3); border: 1px solid var(--accent); border-radius: var(--radius);
  padding: 2rem; box-shadow: 0 0 32px rgba(220, 40, 40, 0.12);
}
.next-comp-card h3 { font-size: 1.6rem; margin-bottom: 0.3rem; }
.nc-meta { color: var(--muted); margin-bottom: 1.5rem; }
.event-list { list-style: none; margin-bottom: 1.25rem; }
.event-list li {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 0.7rem 0; border-bottom: 1px solid var(--line);
}
.event-list span { color: var(--accent); font-weight: 700; }
.nc-note { color: var(--muted); font-size: 0.9rem; font-style: italic; }

.calendar-list { display: flex; flex-direction: column; gap: 1rem; }
.calendar-item {
  display: grid; grid-template-columns: 90px 1fr; gap: 1.25rem; align-items: center;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem;
}
.cal-date { text-align: center; }
.cal-month { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); font-weight: 700; }
.cal-day { display: block; font-family: var(--font-head); font-weight: 900; font-size: 2.2rem; line-height: 1; }
.cal-year { font-size: 0.85rem; color: var(--muted); }
.cal-body h3 { margin-bottom: 0.25rem; }
.cal-body p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.5rem; }
.calendar-item.tba { opacity: 0.75; }

/* ============ Film ============ */
.film-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.film-card {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.4rem; text-decoration: none; color: var(--text);
  transition: border-color 0.2s ease, transform 0.15s ease; display: block;
}
.film-card:hover, .film-card:focus-visible { border-color: var(--accent); transform: translateY(-2px); }
.film-thumb {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 1.2rem; margin-bottom: 1rem;
}
.film-card h3 { margin-bottom: 0.4rem; font-size: 1.05rem; }
.film-card p { color: var(--muted); font-size: 0.92rem; }

/* ============ Coaching ============ */
.coaching-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.coaching-offers h3 { color: var(--accent); margin: 1.25rem 0 0.6rem; }
.coaching-offers h3:first-child { margin-top: 0; }
.coaching-offers ul { margin-left: 1.2rem; }
.coaching-offers li { margin-bottom: 0.6rem; color: var(--muted); }
.coaching-offers li strong { color: var(--text); }

/* ============ Forms ============ */
.contact-form {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem; max-width: 640px;
}
.contact-form h3 { margin-bottom: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: block; margin-bottom: 1rem; font-size: 0.9rem; font-weight: 600; }
.contact-form input, .contact-form textarea {
  width: 100%; margin-top: 0.4rem; padding: 0.75rem 0.9rem;
  background: var(--bg); border: 1px solid var(--line); border-radius: 6px;
  color: var(--text); font: inherit; font-weight: 400;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px rgba(220, 40, 40, 0.25);
}
.form-status { margin-top: 0.9rem; font-size: 0.92rem; min-height: 1.4em; }
.form-status.ok { color: #7dd87d; }
.form-status.err { color: var(--accent); }

/* ============ Press kit ============ */
.press-sheet {
  background: #fff; color: #111; border-radius: var(--radius);
  padding: 2.5rem; max-width: 800px; margin: 0 auto 1.75rem;
}
.press-header { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1.75rem; }
.press-logo { width: 170px; filter: invert(1); }
.press-class { font-family: var(--font-head); font-weight: 900; text-transform: uppercase; font-size: 1.3rem; }
.press-tag { color: #555; }
.press-sheet h3 { color: var(--accent-dark); margin-bottom: 0.5rem; font-size: 1rem; letter-spacing: 0.06em; }
.press-bio { margin-bottom: 1.5rem; }
.press-bio p { color: #333; font-size: 0.95rem; }
.press-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-bottom: 1.5rem; }
.press-stats div {
  background: #f4f4f4; border-radius: 8px; padding: 0.9rem; text-align: center;
  font-size: 0.8rem; color: #555; text-transform: uppercase; letter-spacing: 0.05em;
}
.press-stats span { display: block; font-family: var(--font-head); font-weight: 900; font-size: 1.4rem; color: #111; }
.press-next p { color: #333; font-size: 0.95rem; }
.press-actions { text-align: center; }
.press-hint { color: var(--muted); font-size: 0.85rem; margin-top: 0.6rem; }

/* ============ Footer ============ */
.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0; text-align: center; }
.footer-logo { width: 150px; margin: 0 auto 1rem; }
.footer-tag { color: var(--muted); margin-bottom: 0.5rem; }
.footer-copy { color: var(--muted); font-size: 0.85rem; }

/* ============ Chat widget ============ */
.chat-widget { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 200; }

.chat-toggle {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--accent); color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(220, 40, 40, 0.45);
  transition: transform 0.15s ease, background 0.2s ease;
}
.chat-toggle:hover { background: var(--accent-dark); transform: scale(1.06); }

.chat-panel {
  position: absolute; right: 0; bottom: 72px;
  width: min(360px, calc(100vw - 2.5rem)); height: 480px; max-height: 70vh;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 14px;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
}
.chat-panel[hidden] { display: none; }

.chat-header {
  background: var(--accent); color: #fff; padding: 0.9rem 1rem;
  display: flex; align-items: center; gap: 0.7rem;
}
.chat-dot { width: 10px; height: 10px; border-radius: 50%; background: #7dd87d; flex-shrink: 0; }
.chat-header div { flex: 1; }
.chat-header strong { display: block; font-size: 0.95rem; }
.chat-header small { opacity: 0.85; font-size: 0.75rem; }
.chat-close {
  background: none; border: none; color: #fff; font-size: 1.6rem;
  cursor: pointer; line-height: 1; padding: 0 0.25rem;
}

.chat-messages { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.7rem; }
.chat-msg { max-width: 85%; padding: 0.65rem 0.9rem; border-radius: 12px; font-size: 0.9rem; line-height: 1.45; }
.chat-msg.bot { background: var(--bg); border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg.user { background: var(--accent); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }

.chat-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0 1rem 0.75rem; }
.chat-chip {
  background: var(--bg); border: 1px solid var(--accent); color: var(--text);
  border-radius: 999px; padding: 0.35rem 0.8rem; font-size: 0.8rem; cursor: pointer;
}
.chat-chip:hover { background: var(--accent); color: #fff; }

.chat-input { display: flex; border-top: 1px solid var(--line); padding: 0.6rem; gap: 0.5rem; }
.chat-input input {
  flex: 1; background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
  color: var(--text); padding: 0.6rem 0.8rem; font: inherit; font-size: 0.9rem;
}
.chat-input input:focus { outline: none; border-color: var(--accent); }
.chat-input button {
  background: var(--accent); color: #fff; border: none; border-radius: 8px;
  width: 44px; cursor: pointer; font-size: 1.1rem;
}
.chat-input button:hover { background: var(--accent-dark); }

/* ============ Reveal on scroll ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 0.5rem 1.25rem 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.7rem 0.25rem; border-bottom: 1px solid var(--line); }
  .coaching-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .section { padding: 3rem 0; }
  .form-row { grid-template-columns: 1fr; }
  .log-entry, .calendar-item { grid-template-columns: 70px 1fr; gap: 0.9rem; padding: 1.1rem; }
  .press-sheet { padding: 1.5rem; }
  .press-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 1.5rem; }
  .chat-panel { height: 440px; }
}

/* ============ Print (press kit) ============ */
@media print {
  .site-header, .chat-widget, .press-actions, #contact, .site-footer,
  .hero, #about, #prs, #history, #journey, #gallery, #training,
  #next-comp, #calendar, #film, #coaching { display: none !important; }
  body { background: #fff; }
  #press { padding: 0; }
  #press .section-title, #press .section-lede { display: none; }
  .press-sheet { box-shadow: none; border: 1px solid #ddd; margin: 0; max-width: none; }
}

.hero-name {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0.5rem 0;
  color: #fff;
}

/* ---------- Shop / Merch ---------- */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.shop-item {
  background: #161616;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  padding: 1.25rem;
  text-align: center;
}
.shop-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem;
  background: #0a0a0a;
}
.shop-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  letter-spacing: 0.04em;
}
.shop-price {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.shop-desc {
  color: #b0b0b0;
  font-size: 0.9rem;
  line-height: 1.5;
}
.shop-vip {
  border-color: var(--accent);
  background: #1a1214;
}
.shop-note {
  text-align: center;
  color: #888;
  margin-top: 2rem;
  font-size: 0.95rem;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 2rem auto 0; display: grid; gap: 0.75rem; }
.faq-item {
  background: #161616; border: 1px solid #2a2a2a; border-radius: 10px;
  padding: 0 1.25rem; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; padding: 1.1rem 0; font-weight: 700; font-size: 1rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; color: var(--accent); font-size: 1.4rem; font-weight: 400;
  flex-shrink: 0; transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: #b0b0b0; line-height: 1.6; padding: 0 0 1.25rem; margin: 0; }
.faq-item p a { color: var(--accent); }

/* Countdown */
.nc-countdown{font-size:1.35rem;font-weight:800;letter-spacing:.04em;color:#e5322d;margin:.4rem 0 .8rem;text-transform:uppercase}
/* Road to 80kg tracker */
.bw-track{display:flex;gap:.5rem;flex-wrap:wrap;margin:1.2rem 0}
.bw-milestone{flex:1 1 120px;border:2px solid #3a3a40;border-radius:10px;padding:.8rem .6rem;text-align:center;background:#17171b}
.bw-milestone .bw-num{display:block;font-size:1.6rem;font-weight:800}
.bw-milestone .bw-label{display:block;font-size:.78rem;opacity:.75;margin-top:.2rem}
.bw-milestone.done{border-color:#e5322d;background:#221114}
.bw-milestone.goal{border-color:#e5322d}
.bw-note{max-width:60ch}
.vip-count{color:#e5322d}

.footer-legal{font-size:.8rem;opacity:.75;max-width:70ch;margin:.4rem auto 0;line-height:1.5}

/* Alive: announcement bar + coupon */
.announce-bar{background:#e5322d;color:#fff;text-align:center;padding:.55rem 1rem;font-weight:700;letter-spacing:.03em;font-size:.92rem}
.announce-bar a{color:#fff;text-decoration:underline}
.coupon-card{border:2px dashed #e5322d;border-radius:12px;padding:1rem 1.2rem;margin-top:1.2rem;text-align:center;background:#171114}
.coupon-code{font-size:2rem;font-weight:800;letter-spacing:.25em;color:#e5322d;margin:0}
.coupon-text{margin:.3rem 0 0}


/* ==== addon: timeline.css ==== */
/* ============ Road to Sussex — vertical timeline (site addon) ============
   Companion to timeline.html (section id="road").
   Palette/type pulled from the site's Iron Forge theme in styles.css:
   dark surfaces (#0a0a0a / #111214 / #181a1d), line #26282c,
   muted #a8adb3, display font var(--font-head). Accent: #e5322d.
   All classes are road-* prefixed so nothing collides with the
   Journey section's existing .timeline rules. */

#road {
  --road-accent: #e5322d;
  --road-accent-dark: #b3231e;
}

.road-timeline {
  list-style: none;
  position: relative;
  margin-top: 0.5rem;
  padding-left: 1.75rem;
}

/* The rail */
.road-timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--road-accent), var(--line) 18%, var(--line) 82%, var(--road-accent));
}

.road-item {
  position: relative;
  padding: 0 0 1.9rem 1.6rem;
}
.road-item:last-child { padding-bottom: 0.25rem; }

/* Node on the rail */
.road-item::before {
  content: "";
  position: absolute;
  left: -1.75rem;
  top: 0.42rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-3, #181a1d);
  border: 3px solid var(--road-accent);
  box-shadow: 0 0 0 4px rgba(229, 50, 45, 0.15);
}

/* Completed stop: filled node */
.road-item.is-done::before { background: var(--road-accent); }

/* Date chip */
.road-date {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  color: #fff;
  background: var(--road-accent);
  border-radius: 5px;
  padding: 0.18rem 0.65rem;
  margin-bottom: 0.55rem;
}
.road-item.is-done .road-date { background: var(--road-accent-dark); }

.road-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
}
.road-body p {
  color: var(--muted);
  max-width: 62ch;
}

/* The finale — comp day gets the full treatment */
.road-item.is-finale::before {
  width: 18px;
  height: 18px;
  left: calc(-1.75rem - 2px);
  top: 0.55rem;
  background: var(--road-accent);
  box-shadow: 0 0 0 6px rgba(229, 50, 45, 0.22), 0 0 22px rgba(229, 50, 45, 0.45);
}
.road-item.is-finale .road-body {
  background: var(--bg-3, #181a1d);
  border: 1px solid var(--road-accent);
  border-radius: var(--radius, 10px);
  padding: 1.15rem 1.3rem;
  box-shadow: 0 0 32px rgba(229, 50, 45, 0.12);
}
.road-item.is-finale .road-body h3 {
  font-size: 1.55rem;
  color: var(--road-accent);
}

@media (max-width: 600px) {
  .road-timeline { padding-left: 1.4rem; }
  .road-item { padding-left: 1.25rem; }
  .road-item::before { left: -1.4rem; }
  .road-item.is-finale::before { left: calc(-1.4rem - 2px); }
  .road-item.is-finale .road-body { padding: 1rem 1.05rem; }
  .road-item.is-finale .road-body h3 { font-size: 1.3rem; }
}


/* ==== addon: stats.css ==== */
/* ============ By the Numbers — stats band (addon) ============ */
/* Matches the Iron Forge theme: dark surfaces, red accent #e5322d,
   head font for the big numbers. Relies on .section / .container /
   .section-title / .section-lede from the main stylesheet. */

.stats-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 1rem;
}

.stats-band-item {
  background: #181a1d;
  border: 1px solid #26282c;
  border-radius: 10px;
  padding: 1.6rem 1rem 1.4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stats-band-num {
  font-family: "Arial Narrow", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  line-height: 1;
  color: #e5322d;
  font-variant-numeric: tabular-nums;
}

.stats-band-num small {
  font-size: 1.05rem;
  font-weight: 700;
  color: #a8adb3;
}

.stats-band-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #a8adb3;
}

/* The live countdown gets the featured treatment */
.stats-band-item-live {
  border-color: #e5322d;
  box-shadow: 0 0 24px rgba(229, 50, 45, 0.15);
}

@media (max-width: 600px) {
  .stats-band { grid-template-columns: repeat(2, 1fr); }
}


/* ==== addon: system.css ==== */
/* ============ The System (site addon) ============ */
/* Matches moestrength2-site/styles.css: dark Iron Forge theme.
   Accent red: #e5322d. Base layout comes from the site classes
   (section, section-dark, container, section-title, section-lede,
   shop-grid, shop-item, shop-desc) — this file only adds the
   System-specific pieces. Append after styles.css. */

#system { --sys-accent: #e5322d; }

/* Weekly structure strip */
.system-week {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.system-day {
  background: #161616;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  padding: 1.25rem;
}

.system-day h3 { margin-bottom: 0.5rem; }

.system-day p { color: #b0b0b0; font-size: 0.95rem; line-height: 1.55; }
.system-day p em { color: #f5f5f5; font-style: normal; font-weight: 700; }

.system-day-label {
  color: var(--sys-accent) !important;
  font-weight: 800;
  font-size: 0.85rem !important;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.4rem;
}

/* Saturday is the heavy day — it gets the accent treatment */
.system-day-heavy {
  border-color: var(--sys-accent);
  background: #1a1214;
  box-shadow: 0 0 24px rgba(229, 50, 45, 0.12);
}

/* Principle cards (built on shop-item) */
.system-principles { margin-top: 1.5rem; }

.system-card { text-align: left; }

.system-num {
  font-family: "Arial Narrow", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--sys-accent);
  margin-bottom: 0.6rem;
}

.system-card h3 { margin-bottom: 0.4rem; }
.system-card .shop-desc { text-align: left; }


/* ==== addon: resume.css ==== */
/* ============ Championship Résumé (add-on) ============
   Append to styles.css, or load after it. Pairs with resume.html.
   Uses the site palette; red accent per spec: #e5322d.
   Base layout classes (.section, .section-dark, .section-title,
   .section-lede, .container, .table-wrap, .table-note) come from
   the main styles.css — only résumé-specific rules live here. */

#resume .resume-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

#resume .resume-card {
  background: #181a1d;
  border: 1px solid #26282c;
  border-radius: 10px;
  padding: 1.5rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

#resume .resume-card-top {
  border-color: #e5322d;
  box-shadow: 0 0 24px rgba(229, 50, 45, 0.15);
}

#resume .resume-place {
  font-family: "Arial Narrow", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 900;
  font-size: 2.4rem;
  line-height: 1;
  color: #e5322d;
}

#resume .resume-event {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
}

#resume .resume-detail {
  font-size: 0.85rem;
  color: #a8adb3;
}

/* ---- Record table ---- */
#resume .resume-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}

#resume .resume-table th,
#resume .resume-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid #26282c;
}

#resume .resume-table th {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: #a8adb3;
}

#resume .resume-table tbody tr:hover {
  background: rgba(229, 50, 45, 0.05);
}

#resume .resume-badge {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  background: #181a1d;
  border: 1px solid #26282c;
}

#resume .resume-badge.gold {
  background: rgba(212, 175, 55, 0.15);
  border-color: #d4af37;
  color: #f0d060;
}

#resume .resume-badge.silver {
  background: rgba(180, 190, 200, 0.12);
  border-color: #9aa2ab;
  color: #cfd6dd;
}

#resume .resume-badge.bronze {
  background: rgba(205, 127, 50, 0.14);
  border-color: #cd7f32;
  color: #eda55c;
}

/* ---- Next on the record ---- */
#resume .resume-next {
  margin-top: 2rem;
  background: #181a1d;
  border: 1px solid #e5322d;
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 0 32px rgba(229, 50, 45, 0.12);
}

#resume .resume-next h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

#resume .resume-next p {
  color: #a8adb3;
}

#resume .resume-next strong {
  color: #f5f5f5;
}


/* ==== addon: forgelist.css ==== */
/* ============ The Forge List (addon) ============
   Mirrors the Iron Forge theme in styles.css: dark panels,
   red accent (#e5322d, same red as the announce bar / coupon card),
   .contact-form / .form-row / .form-status rules copied from the
   site's own form styling so the section drops in seamlessly. */

.forgelist .contact-form {
  background: var(--bg-3, #181a1d);
  border: 1px solid var(--line, #26282c);
  border-radius: var(--radius, 10px);
  padding: 1.75rem;
  max-width: 640px;
}

.forgelist .contact-form h3 { margin-bottom: 1rem; }

.forgelist .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.forgelist .contact-form label {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.forgelist .contact-form input {
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.75rem 0.9rem;
  background: var(--bg, #0a0a0a);
  border: 1px solid var(--line, #26282c);
  border-radius: 6px;
  color: var(--text, #f5f5f5);
  font: inherit;
  font-weight: 400;
}

.forgelist .contact-form input:focus {
  outline: none;
  border-color: #e5322d;
  box-shadow: 0 0 0 2px rgba(229, 50, 45, 0.25);
}

.forgelist .form-status {
  margin-top: 0.9rem;
  font-size: 0.92rem;
  min-height: 1.4em;
}

.forgelist .form-status.ok { color: #7dd87d; }
.forgelist .form-status.err { color: #e5322d; }

.forgelist-note {
  margin-top: 1rem;
  color: var(--muted, #a8adb3);
  font-size: 0.92rem;
}

@media (max-width: 640px) {
  .forgelist .form-row { grid-template-columns: 1fr; }
}
