/* ============================================================================
   Coach Trammell — Football Performance · Coaches Vault demo site
   Design system: charcoal / white / electric blue, athletic (Nike Football ·
   Jordan · elite recruiting graphics). Token language derived from the
   platform's `apex` template (Archivo 900 uppercase display, Inter body, sharp
   0px edges) — a CONFIGURATION of the Coaches Vault design system, not a
   one-off. To reskin for the next football coach, change only the --accent
   tokens, the fonts, and the copy. Everything else is shared structure.
   ============================================================================ */

:root {
  --bg:        #0a0b0d;
  --bg-2:      #0f1114;
  --surface:   #14171b;
  --surface-2: #1b1f24;
  --ink:       #f5f7f9;
  --ink-2:     #a6acb3;
  --ink-3:     #676d74;
  --line:      rgba(245, 247, 249, 0.12);
  --line-2:    rgba(245, 247, 249, 0.06);

  /* Brand = Coach Trammell gold + chrome (from his logo), on black. */
  --accent:      #c9a24c;   /* metallic gold — primary */
  --accent-hot:  #dcb45e;
  --accent-dim:  rgba(201, 162, 76, 0.14);
  --accent-line: rgba(201, 162, 76, 0.42);
  --on-accent:   #0b0b0d;   /* dark text sits on gold, never white */
  --silver:      #c6cbd2;   /* chrome — secondary accent (the "T") */
  --silver-dim:  rgba(198, 203, 210, 0.12);

  /* Field green kept only as a restrained status color (active / signed / on-file). */
  --green:     #4fbf83;

  --fd: "Archivo", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --fb: "Inter",   ui-sans-serif, system-ui, -apple-system, sans-serif;

  --maxw: 76rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--fb);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--accent); color: #fff; }

/* ── Type ─────────────────────────────────────────────────────────────────── */
.display {
  font-family: var(--fd);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.95;
}
.eyebrow {
  font-family: var(--fd);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: var(--accent);
}
.eyebrow.muted { color: var(--ink-3); }

/* ── Layout ───────────────────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { position: relative; }
.section-pad { padding: 96px 0; }
@media (max-width: 720px) { .section-pad { padding: 64px 0; } }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--fd); font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.06em; font-size: 0.82rem;
  padding: 15px 26px; border: 1px solid transparent; border-radius: 0;
  transition: transform 0.15s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-hot); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(255,255,255,0.04); }
.btn-white { background: var(--ink); color: var(--bg); }
.btn-white:hover { background: #fff; }
.btn svg { width: 16px; height: 16px; }
.btn-lg { padding: 18px 32px; font-size: 0.9rem; }

/* ── Navigation ───────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(10, 11, 13, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--accent); color: #fff;
  font-family: var(--fd); font-weight: 900; font-size: 1.05rem;
  letter-spacing: -0.04em;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 78% 100%, 0 100%);
}
.brand-logo { height: 48px; width: auto; display: block; flex-shrink: 0; }
.footer .brand-logo { height: 60px; }
.brand-name { display: block; font-family: var(--fd); font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; font-size: 1.05rem; line-height: 1; }
.brand-name b { color: var(--accent); font-weight: 900; }
.brand-sub { display: block; font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 0.85rem; font-weight: 600; color: var(--ink-2); transition: color 0.15s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line); background: none; color: var(--ink); align-items: center; justify-content: center; }
.nav-burger svg { width: 20px; height: 20px; }

.mobile-menu { display: none; position: fixed; inset: 68px 0 0; z-index: 55; background: var(--bg); padding: 24px; flex-direction: column; gap: 6px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: var(--fd); font-weight: 800; text-transform: uppercase; font-size: 1.6rem; padding: 14px 0; border-bottom: 1px solid var(--line-2); color: var(--ink); }
.mobile-menu .btn { margin-top: 18px; justify-content: center; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .nav-burger { display: flex; }
  .nav-cta .btn-accent { padding: 11px 15px; font-size: 0.72rem; }
}

/* ── Demo ribbon ──────────────────────────────────────────────────────────── */
.demo-ribbon {
  background: var(--accent); color: #fff;
  text-align: center; font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.04em; padding: 7px 16px;
}
.demo-ribbon b { font-family: var(--fd); font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; }
.demo-ribbon a { text-decoration: underline; text-underline-offset: 2px; }

/* ── Cards / surfaces ─────────────────────────────────────────────────────── */
.card { background: var(--surface); border: 1px solid var(--line); }
.hair { border-top: 1px solid var(--line-2); }

/* Photo placeholder — reads as intentional "action imagery here" */
.ph {
  position: relative; overflow: hidden; background: var(--bg-2);
  background-image:
    linear-gradient(135deg, rgba(201,162,76,0.14), transparent 55%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 2px, transparent 2px 22px);
  display: grid; place-items: center;
}
.ph::after {
  content: attr(data-label);
  font-family: var(--fd); font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.66rem; color: var(--ink-3); text-align: center; padding: 0 20px;
}
.ph-icon { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0.5; }
.ph-icon svg { width: 46px; height: 46px; stroke: var(--ink-3); }

/* ── Reveal motion ────────────────────────────────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line-2); background: var(--bg-2); padding: 56px 0 34px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer-col h4 { font-family: var(--fd); font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; color: var(--ink-3); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--ink-2); font-size: 0.9rem; padding: 5px 0; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--ink); }
.footer-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-2); }
.footer-bar p { font-size: 0.78rem; color: var(--ink-3); }
.powered { display: inline-flex; align-items: center; gap: 7px; font-size: 0.76rem; color: var(--ink-3); }
.powered b { color: var(--ink-2); font-weight: 700; }

/* ── Utility ──────────────────────────────────────────────────────────────── */
.stack-sm > * + * { margin-top: 8px; }
.center { text-align: center; }
.muted { color: var(--ink-2); }
.muted-3 { color: var(--ink-3); }
.mono { font-variant-numeric: tabular-nums; }
.pill { display: inline-flex; align-items: center; gap: 7px; font-family: var(--fd); font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.64rem; padding: 6px 11px; border: 1px solid var(--line); color: var(--ink-2); }
.pill.accent { color: var(--accent); border-color: var(--accent-line); background: var(--accent-dim); }
.pill.green { color: var(--green); border-color: rgba(56,193,114,0.35); background: rgba(56,193,114,0.1); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ============================================================================
   PREMIUM COMPONENTS (v2) — the "performance brand" layer.
   Shared, reusable structure for football/speed coaches: the Performance System
   pillar grid, the Science-of-Speed band, program cards, and the weekly strip.
   Only --accent + copy change per coach.
   ============================================================================ */

/* Kicker — eyebrow with a leading rule, more editorial than a plain label */
.kicker { display:inline-flex; align-items:center; gap:13px; font-family:var(--fd); font-weight:800; text-transform:uppercase; letter-spacing:.24em; font-size:.7rem; color:var(--accent); }
.kicker::before { content:""; width:30px; height:2px; background:var(--accent); flex-shrink:0; }
.kicker.muted { color:var(--ink-3); }
.kicker.muted::before { background:var(--ink-3); }

/* Section heading rhythm — more air, tighter type */
.sec-head-2 { max-width:52rem; margin-bottom:56px; }
.sec-head-2 h2 { font-family:var(--fd); font-weight:900; text-transform:uppercase; letter-spacing:-.02em; line-height:.98; font-size:clamp(2.2rem,5.6vw,3.7rem); margin:18px 0 0; }
.sec-head-2 p { color:var(--ink-2); font-size:1.06rem; line-height:1.6; margin-top:20px; max-width:42rem; }
.sec-head-2.center { margin-inline:auto; text-align:center; }
.sec-head-2.center .kicker { justify-content:center; }

/* ── The Performance System — hairline-separated pillar grid ─────────────── */
.pillars { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); }
.pillar { position:relative; background:var(--bg); padding:34px 30px 32px; display:flex; flex-direction:column; transition:background .25s var(--ease); overflow:hidden; }
.pillar::before { content:""; position:absolute; left:0; top:0; width:100%; height:2px; background:var(--accent); transform:scaleX(0); transform-origin:left; transition:transform .3s var(--ease); }
.pillar:hover { background:var(--surface); }
.pillar:hover::before { transform:scaleX(1); }
.pillar-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:22px; }
.pillar-num { font-family:var(--fd); font-weight:900; font-size:.82rem; letter-spacing:.12em; color:var(--ink-3); }
.pillar:hover .pillar-num { color:var(--accent); }
.pillar-icon { width:30px; height:30px; color:var(--accent); }
.pillar-icon svg { width:100%; height:100%; }
.pillar-name { font-family:var(--fd); font-weight:900; text-transform:uppercase; letter-spacing:-.01em; font-size:1.24rem; line-height:1.02; margin-bottom:10px; }
.pillar-tag { font-family:var(--fd); font-weight:800; text-transform:uppercase; letter-spacing:.1em; font-size:.6rem; color:var(--accent); margin-bottom:11px; }
.pillar-desc { color:var(--ink-2); font-size:.92rem; line-height:1.55; }
@media (max-width:900px){ .pillars { grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .pillars { grid-template-columns:1fr; } }

/* ── The Science of Speed — premium dark band ───────────────────────────── */
.science { background:
    radial-gradient(120% 80% at 15% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 55%),
    var(--bg-2); border-top:1px solid var(--line-2); border-bottom:1px solid var(--line-2); }
.science-lead { font-family:var(--fd); font-weight:900; text-transform:uppercase; letter-spacing:-.02em; line-height:1.02; font-size:clamp(1.9rem,4.6vw,3.1rem); max-width:20ch; margin:18px 0 0; }
.science-lead b { color:var(--accent); }
.science-sub { color:var(--ink-2); font-size:1.05rem; line-height:1.6; max-width:40rem; margin:22px 0 0; }
.sci-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:48px; }
.sci-card { border:1px solid var(--line); background:color-mix(in srgb, var(--surface) 55%, transparent); padding:28px 26px; position:relative; }
.sci-step { font-family:var(--fd); font-weight:900; font-size:.72rem; letter-spacing:.2em; color:var(--accent); text-transform:uppercase; }
.sci-word { font-family:var(--fd); font-weight:900; text-transform:uppercase; letter-spacing:-.01em; font-size:1.5rem; margin:14px 0 10px; line-height:1; }
.sci-card p { color:var(--ink-2); font-size:.92rem; line-height:1.55; }
@media (max-width:820px){ .sci-grid { grid-template-columns:1fr; } }
.science-note { display:flex; flex-wrap:wrap; align-items:baseline; gap:8px 16px; margin-top:40px; padding-top:26px; border-top:1px solid var(--line-2); }
.science-note b { font-family:var(--fd); font-weight:900; text-transform:uppercase; letter-spacing:-.01em; font-size:1.15rem; }
.science-note span { color:var(--ink-2); font-size:1rem; }
.science-cta { margin-top:34px; }

/* ── Weekly structure — the "process" timeline ──────────────────────────── */
.week { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line); border:1px solid var(--line); }
.week-day { background:var(--bg); padding:26px 24px; }
.week-dow { font-family:var(--fd); font-weight:900; text-transform:uppercase; letter-spacing:.08em; font-size:.72rem; color:var(--accent); }
.week-focus { font-family:var(--fd); font-weight:900; text-transform:uppercase; letter-spacing:-.01em; font-size:1.12rem; margin:12px 0 6px; line-height:1.05; }
.week-note { color:var(--ink-3); font-size:.82rem; }
@media (max-width:820px){ .week { grid-template-columns:1fr 1fr; } }
@media (max-width:460px){ .week { grid-template-columns:1fr; } }

/* ── Program cards v2 — premium pricing cards ───────────────────────────── */
.progs { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.progc { position:relative; background:var(--surface); border:1px solid var(--line); padding:30px 28px 28px; display:flex; flex-direction:column; transition:border-color .2s var(--ease), transform .2s var(--ease); }
.progc:hover { border-color:var(--accent-line); transform:translateY(-3px); }
.progc.feat { border-color:var(--accent-line); background:linear-gradient(180deg, var(--accent-dim), var(--surface) 55%); }
.progc-flag { position:absolute; top:0; right:0; background:var(--accent); color:#fff; font-family:var(--fd); font-weight:800; text-transform:uppercase; letter-spacing:.1em; font-size:.6rem; padding:6px 12px; }
.progc-kick { font-family:var(--fd); font-weight:800; text-transform:uppercase; letter-spacing:.16em; font-size:.64rem; color:var(--ink-3); }
.progc-name { font-family:var(--fd); font-weight:900; text-transform:uppercase; letter-spacing:-.01em; font-size:1.42rem; line-height:1; margin:11px 0 14px; }
.progc-price { font-family:var(--fd); font-weight:900; font-size:2.3rem; line-height:1; letter-spacing:-.03em; }
.progc-price .cur { font-size:1.1rem; vertical-align:.55rem; color:var(--ink-2); margin-right:1px; }
.progc-price .per { font-family:var(--fb); font-weight:500; font-size:.82rem; color:var(--ink-3); letter-spacing:0; margin-left:7px; }
.progc-desc { color:var(--ink-2); font-size:.9rem; line-height:1.5; margin:14px 0 18px; }
.progc-list { list-style:none; display:flex; flex-direction:column; gap:9px; margin:0 0 22px; flex:1; }
.progc-list li { position:relative; padding-left:22px; font-size:.88rem; color:var(--ink-2); line-height:1.4; }
.progc-list li b { color:var(--ink); }
.progc-list li::before { content:""; position:absolute; left:0; top:7px; width:8px; height:8px; background:var(--accent); }
.progc-btn { justify-content:center; }
.progc-note { font-size:.68rem; text-transform:uppercase; letter-spacing:.08em; color:var(--ink-3); margin-top:11px; text-align:center; }
@media (max-width:900px){ .progs { grid-template-columns:1fr; max-width:30rem; margin-inline:auto; } }

/* ── Audience row ───────────────────────────────────────────────────────── */
.who-row { display:flex; flex-wrap:wrap; gap:10px; }
.who-chip { display:inline-flex; align-items:center; gap:9px; border:1px solid var(--line); padding:11px 16px; font-family:var(--fd); font-weight:800; text-transform:uppercase; letter-spacing:.04em; font-size:.78rem; color:var(--ink-2); transition:border-color .2s var(--ease), color .2s var(--ease); }
.who-chip:hover { border-color:var(--accent-line); color:var(--ink); }
.who-chip .dot { width:7px; height:7px; background:var(--accent); flex-shrink:0; }
.who-chip.spec { color:var(--accent); border-color:var(--accent-line); background:var(--accent-dim); }

/* Refined reveal: gentler, with optional scale for hero elements */
[data-reveal].up { transform:translateY(22px); }

/* Powered-by link — drives every coach site back to Coaches Vault */
.powered a { color: inherit; text-decoration: none; }
.powered a b { color: var(--ink-2); transition: color 0.15s ease; }
.powered a:hover b { color: var(--accent); }
