/* =========================================================
   BTCB "Whiteboard" theme
   A coach's tactics board: whiteboard ground, navy ink, gold marker,
   stadium-style condensed type. Loaded after styles.css.
   ========================================================= */
:root {
  --navy: #14213d;
  --navy-2: #1c2d52;
  --gold: #c4923f;          /* marker gold, for fills and large type */
  --gold-ink: #7d5a1f;      /* gold that passes contrast for small text */
  --gold-light: #dcb46a;    /* gold on navy */
  --bg: #eef0ee;            /* whiteboard */
  --surface: #ffffff;
  --ink: #14213d;
  --muted: #4a5468;
  --line: #cfd4d8;
  --oval: #9fb3a3;          /* faint field markings */
  --hero-ink: #f4f1ea;
  --hero-muted: #c1c8d6;

  --f-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --f-body: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif;
  --f-marker: "Permanent Marker", "Comic Sans MS", cursive;

  --step--1: 0.95rem;
  --step-0: 1.125rem;
  --step-1: 1.35rem;
  --step-2: 1.85rem;
  --step-3: clamp(2.4rem, 4.6vw, 3.8rem);
  --step-4: clamp(3.2rem, 8vw, 6.6rem);
  --radius: 6px;
  color-scheme: light;
}
/* the board stays white in dark mode too: it's the brand */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="dark"]) {
    --navy: #14213d; --navy-2: #1c2d52; --gold: #c4923f; --gold-ink: #7d5a1f;
    --bg: #eef0ee; --surface: #ffffff; --ink: #14213d; --muted: #4a5468; --line: #cfd4d8;
    --hero-ink: #f4f1ea; --hero-muted: #c1c8d6; color-scheme: light;
  }
}

body { font-family: var(--f-body); font-size: var(--step-0); line-height: 1.55; background: var(--bg); color: var(--ink); }
h1, h2, h3 { font-family: var(--f-display); font-stretch: normal; font-weight: 900; letter-spacing: 0; line-height: .92; text-transform: uppercase; }
h3 { font-weight: 800; line-height: 1.05; }
.eyebrow { font-family: var(--f-body); font-weight: 700; font-size: .9rem; letter-spacing: .18em; color: var(--gold-ink); }
.lede { color: var(--muted); }
::selection { background: var(--gold); color: #fff; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* marker accents */
.marker { font-family: var(--f-marker); font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--gold-ink); }
.wb-scribble { display: block; width: min(340px, 70%); height: 22px; margin-top: 6px; overflow: visible; }
.wb-scribble path { fill: none; stroke: var(--gold); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 520; stroke-dashoffset: 520; animation: wb-draw 1.4s .5s ease-out forwards; }
@keyframes wb-draw { to { stroke-dashoffset: 0; } }

/* ---------- Header ---------- */
.site-header { background: var(--bg); color: var(--ink); border-bottom: 2px solid var(--ink); }
.site-header .wrap { padding-block: 16px; }
.wordmark { color: var(--ink); font-family: var(--f-display); font-weight: 900; font-size: 1.9rem; letter-spacing: .02em; gap: 10px; }
.wordmark::before { display: none; }
.wordmark .wb-posts { width: 26px; height: 28px; flex: none; }
.wordmark small { font-family: var(--f-body); font-weight: 600; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.site-footer .wordmark { color: var(--hero-ink); }
.site-footer .wordmark small { color: var(--hero-muted); }
.site-nav a { color: var(--ink); font-family: var(--f-body); font-weight: 600; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; }
.site-nav a:hover { color: var(--gold-ink); }
.site-nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--gold); }
.nav-toggle { border-color: var(--ink); color: var(--ink); font-family: var(--f-body); text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 860px) {
  .site-nav { border-top-color: var(--line); }
  .site-nav a { border-bottom-color: var(--line); }
  .site-nav .nav-cta { color: var(--gold-ink); }
}

/* ---------- Buttons ---------- */
.btn { font-family: var(--f-body); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; border-radius: 4px; padding: 15px 24px; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #14213d; }
.btn-gold:hover { background: #d6a552; }
.btn-navy { background: var(--navy); color: #f4f1ea; }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-ink); }
.btn-sm { padding: 10px 16px; font-size: .95rem; }
.book .btn-ghost, .cta-band .btn-ghost { border-color: rgba(244,241,234,.45); color: var(--hero-ink); }

/* ---------- Hero: the tactics board ---------- */
.hero { background: var(--bg); color: var(--ink); padding-block: clamp(28px, 5vw, 64px) clamp(48px, 7vw, 88px); }
.hero .eyebrow { color: var(--gold-ink); }
.hero h1 { font-size: clamp(3.4rem, 8vw, 7rem); max-width: 12ch; margin-top: 14px; }
.hero h1 em { color: var(--gold); }
.hero .lede { color: var(--muted); font-size: 1.35rem; }
.hero .btn-ghost { border-color: var(--ink); color: var(--ink); }
.boxed { padding: 0; }
.boxed::before, .boxed::after { display: none; }
.wb-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .wb-hero { grid-template-columns: 1fr; } }
.wb-board { background: #fff; border: 10px solid #c9cdd3; border-radius: 10px; box-shadow: 0 2px 0 #b3b8bf, 0 30px 60px -34px rgba(20,33,61,.45); padding: 14px; position: relative; }
.wb-board::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: -22px; height: 12px; background: #c9cdd3; border-radius: 0 0 6px 6px; }
.wb-board svg { display: block; width: 100%; height: auto; }
.wb-board .line { stroke: var(--oval); fill: none; stroke-width: 2.5; }
.wb-board .ink { fill: none; stroke-linecap: round; stroke-dasharray: 900; stroke-dashoffset: 900; animation: wb-draw 1.8s ease-out forwards; }
.wb-board .mag { transform-box: fill-box; transform-origin: center; opacity: 0; animation: wb-pop .5s cubic-bezier(.3,1.6,.5,1) forwards; }
.wb-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; outline-offset: 4px; }
.wb-slides::-webkit-scrollbar { display: none; }
.wb-slides.dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.wb-slide { flex: 0 0 100%; scroll-snap-align: start; }
.wb-slides.single { cursor: auto; overflow: hidden; }
.wb-slide:not(.played) .ink, .wb-slide:not(.played) .mag { animation-play-state: paused; }
.wb-board-tabs { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.wb-board-tab { font: inherit; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; padding: 6px 14px; border-radius: 999px; border: 2px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
.wb-board-tab[aria-pressed="true"] { background: var(--ink); color: #fff; }
.wb-board-tab:hover { border-color: var(--gold); }
.wb-board-hint { font-family: "Permanent Marker", cursive; color: var(--muted); font-size: .95rem; margin-left: 6px; }
@keyframes wb-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }

/* facts become a scoreboard */
.facts { border-top: 0; margin-top: 36px; background: var(--navy); border-radius: 6px; padding: 6px 18px 18px; }
.facts div { padding: 14px 12px 0 0; }
.facts strong { font-family: var(--f-display); font-weight: 900; font-size: 2.6rem; color: var(--gold-light); line-height: 1; }
.facts span { color: var(--hero-muted); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }

/* ---------- Sections ---------- */
.section + .section { border-top: 2px solid var(--line); }
.surface { background: #f7f8f6; }
.section-head p { color: var(--muted); }
.pillar { border-top: 4px solid var(--ink); }
.pillar h3 { font-size: 1.6rem; }
.ticks li { border-color: var(--line); font-size: 1.15rem; }
.ticks li::before { border-color: var(--gold); border-width: 0 0 3px 3px; }

/* journey: rounds of a season */
.journey li::before { font-family: var(--f-display); font-weight: 900; font-size: 3rem; color: var(--gold); border-bottom: 4px solid var(--ink); }
.journey li:nth-child(1)::before { content: "R1"; }
.journey li:nth-child(2)::before { content: "R2"; }
.journey li:nth-child(3)::before { content: "R3"; }
.journey li:nth-child(4)::before { content: "R4"; }
.journey li:nth-child(5)::before { content: "GF"; color: var(--navy); border-bottom-color: var(--gold); }
.journey h3 { font-family: var(--f-display); font-size: 1.5rem; letter-spacing: .02em; }
.journey p { font-size: 1.02rem; }
@media (max-width: 860px) { .journey li::before { border: 0; font-size: 2.2rem; } }
.included { border: 2px solid var(--ink); border-radius: 6px; }
.included p::before { background: var(--gold); border-radius: 50%; width: 10px; height: 10px; }

/* quotes */
.quotes blockquote { font-family: var(--f-body); font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 1.85rem); line-height: 1.35; }
.quotes blockquote::before { font-family: var(--f-display); color: var(--gold); }

/* booking + bands stay navy, like a scoreboard */
.book, .cta-band, .page-hero.dark { background: var(--navy); color: var(--hero-ink); }
.book .eyebrow, .cta-band .eyebrow { color: var(--gold-light); }
.call-steps li::before { border-color: var(--gold-light); color: var(--gold-light); font-family: var(--f-display); font-size: 1rem; }
.calendar-box { border-radius: 6px; border: 6px solid #c9cdd3; }
.call-request .eyebrow { color: var(--gold-ink); }

/* forms */
.field label { font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; }
.field input, .field select, .field textarea { border: 2px solid var(--line); border-radius: 4px; font-size: 1.05rem; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.guide-cover { background: var(--navy); border-radius: 4px; }
.guide-cover .t { font-family: var(--f-display); font-weight: 900; font-size: 2.2rem; text-transform: uppercase; line-height: .95; }

/* FAQ */
.faq summary { font-family: var(--f-display); font-weight: 800; font-size: 1.45rem; text-transform: uppercase; letter-spacing: .01em; }
.faq summary::after { color: var(--gold); font-family: var(--f-display); }

/* footer */
.site-footer { background: var(--navy); border-top: 6px solid var(--gold); }
.site-footer a { text-decoration-color: var(--gold); }

/* ---------- Inner page hero ---------- */
.page-hero { background: var(--bg); color: var(--ink); border-bottom: 2px solid var(--ink); }
.page-hero .eyebrow { color: var(--gold-ink); }
.page-hero h1 { font-size: clamp(3rem, 7vw, 6rem); max-width: 14ch; }
.page-hero h1 em { color: var(--gold); }
.page-hero .lede { color: var(--muted); font-size: 1.3rem; }
.page-hero .btn-ghost { border-color: var(--ink); color: var(--ink); }
.mission { border: 2px solid var(--ink); border-radius: 6px; }
.mission::before, .mission::after { border-color: var(--gold); }
.mission p.big { font-family: var(--f-body); font-weight: 600; font-size: clamp(1.35rem, 2.3vw, 1.8rem); }
.value { border-top: 4px solid var(--gold); }
.value h3 { font-size: 1.5rem; }
.value .from { font-family: var(--f-marker); font-style: normal; font-size: .95rem; }
.partner-card, .person, .resource, .org-form, .pick-form, .quiz { border: 2px solid var(--line); border-radius: 6px; }
.person .avatar { border-radius: 50%; }
.steps-row > div { border-top: 4px solid var(--ink); }
.steps-row > div::before { font-family: var(--f-display); font-weight: 900; color: var(--gold); font-size: 2.6rem; }

/* ---------- Coach cards (home + welcome) ---------- */
.coach { border: 2px solid var(--line); border-radius: 8px; background: #fff; }
.coach-photo { background: var(--navy); }
.coach-photo .initials { font-family: var(--f-display); font-weight: 900; font-size: 4rem; }
.coach-photo .initials::before { display: none; }
.coach h3 { font-size: 1.9rem; }
.coach-quote { font-family: var(--f-marker); font-weight: 400; font-size: 1.08rem; border-left-color: var(--gold); }
.coach .tag-label, .partner-card .tag-label, .resource .kind { font-family: var(--f-body); font-size: .8rem; color: var(--gold-ink); }
.coach ul li::before { background: var(--gold); border-radius: 50%; }
.profile-link { font-family: var(--f-body); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); }
.chip { border: 2px solid var(--line); font-weight: 600; }
.option label { border: 2px solid var(--line); border-radius: 4px; }

/* ---------- Carousel (home coach strip + coach profiles) ---------- */
.wb-car { position: relative; }
.wb-car-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.wb-count { font-family: var(--f-display); font-weight: 900; font-size: 2.2rem; line-height: 1; }
.wb-count b { color: var(--gold); }
.wb-count span { color: var(--muted); font-size: 1.3rem; }
.wb-arrows { display: flex; gap: 8px; }
.wb-arrow { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.wb-arrow:hover:not([disabled]) { background: var(--ink); color: #fff; transform: scale(1.06); }
.wb-arrow[disabled] { opacity: .3; cursor: default; }
.wb-arrow svg { width: 22px; height: 22px; }
.wb-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; padding: 6px 2px 22px; }
.wb-track::-webkit-scrollbar { display: none; }
.wb-track.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.wb-track.dragging * { user-select: none; pointer-events: none; }
.wb-dots { display: flex; gap: 8px; justify-content: center; margin-top: 6px; flex-wrap: wrap; }
.wb-dot { width: 34px; height: 6px; border-radius: 3px; border: 0; background: var(--line); cursor: pointer; padding: 0; transition: background .25s, width .25s; }
.wb-dot[aria-current="true"] { background: var(--gold); width: 56px; }
.wb-progress { height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; margin-top: 4px; }
.wb-progress i { display: block; height: 100%; background: var(--ink); width: 0; transition: width .4s ease; }

/* home strip: peeking cards that lift into focus */
.coach-grid.wb-track { display: flex; grid-template-columns: none; }
.coach-grid.wb-track > .coach { flex: 0 0 min(360px, 82%); scroll-snap-align: start; transform: scale(.94) rotate(-.6deg); opacity: .7; transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .45s, box-shadow .45s, border-color .45s; }
.coach-grid.wb-track > .coach:nth-child(even) { transform: scale(.94) rotate(.6deg); }
.coach-grid.wb-track > .coach.is-on { transform: none; opacity: 1; border-color: var(--ink); box-shadow: 0 24px 40px -26px rgba(20,33,61,.5); }

/* coach profiles: one coach per slide, swipe across */
.wb-profiles-wrap { transition: height .45s cubic-bezier(.2,.8,.2,1); overflow: hidden; }
#profiles.wb-track { align-items: flex-start; gap: 0; padding: 0; cursor: grab; }
#profiles.wb-track > .profile { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; border-bottom: 0; padding-inline: 2px; }
#profiles.wb-track > .profile .profile-side,
#profiles.wb-track > .profile .profile-main > * { opacity: 0; transform: translateX(40px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.8,.2,1); }
#profiles.wb-track > .profile.is-on .profile-side,
#profiles.wb-track > .profile.is-on .profile-main > * { opacity: 1; transform: none; }
#profiles.wb-track > .profile.is-on .profile-main > *:nth-child(2) { transition-delay: .08s; }
#profiles.wb-track > .profile.is-on .profile-main > *:nth-child(3) { transition-delay: .16s; }
#profiles.wb-track > .profile.is-on .profile-main > *:nth-child(4) { transition-delay: .24s; }
#profiles.wb-track > .profile.is-on .profile-main > *:nth-child(5) { transition-delay: .32s; }
#profiles.wb-track > .profile.is-on .profile-main > *:nth-child(n+6) { transition-delay: .4s; }
@media (min-width: 861px) { #profiles .profile-side { position: static; } }
.profile-photo { border-radius: 8px; border: 8px solid #fff; box-shadow: 0 0 0 2px var(--ink); }
.profile-photo .initials { font-family: var(--f-display); font-weight: 900; }
.profile-photo .initials::before { display: none; }
.profile-side h2 { font-size: 3rem; }
.profile-main h3 { font-family: var(--f-body); font-weight: 700; letter-spacing: .16em; color: var(--gold-ink); }
.profile-main .lead { font-size: 1.4rem; }
.pull { font-family: var(--f-body); font-weight: 600; font-size: 1.25rem; border-left-color: var(--gold); }
.honour { background: #fff; border: 2px solid var(--ink); border-radius: 4px; font-weight: 700; }
.timeline .yr { font-family: var(--f-display); font-weight: 800; font-size: 1.1rem; color: var(--gold-ink); }

/* coach tabs on the coaches page */
.coach-index { gap: 8px; }
.coach-index a { color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; font-weight: 700; font-size: .95rem; text-transform: uppercase; letter-spacing: .05em; padding: 8px 16px; transition: background .2s, color .2s; }
.coach-index a:hover { border-color: var(--gold); }
.coach-index a[aria-current="true"] { background: var(--ink); color: #fff; }

/* scroll reveal */
.wb-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.wb-reveal.in { opacity: 1; transform: none; }

/* welcome + misc */
.next-steps li::before { color: var(--gold-light); font-family: var(--f-body); }
.demo-note { background: var(--gold); color: #14213d; }
.video { border-radius: 6px; border: 6px solid #c9cdd3; }
.not-found h1 { font-size: clamp(4rem, 12vw, 9rem); }

@media (prefers-reduced-motion: reduce) {
  .wb-reveal, #profiles.wb-track > .profile .profile-side, #profiles.wb-track > .profile .profile-main > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .wb-board .ink, .wb-scribble path { stroke-dashoffset: 0 !important; animation: none !important; }
  .wb-board .mag { opacity: 1; animation: none; }
  .wb-track { scroll-behavior: auto; }
}

/* welcome page hero on the board */
.confirm-hero h1 em { color: var(--gold-ink); }
.next-steps li { color: var(--muted); border-top: 3px solid var(--line); }
.next-steps li.done { border-top-color: var(--gold); }
.next-steps li::before { color: var(--gold-ink); }
.next-steps strong, .next-steps a { color: var(--ink); }
