/* Athlete Boost HQ — single stylesheet, no frameworks */

:root {
  --ink: #0b0d10;
  --ink-2: #12161b;
  --ink-3: #1a2027;
  --line: #262d36;
  --paper: #f4f2ec;
  --paper-2: #e9e6dd;
  --text: #eceae4;
  --muted: #9aa3ad;
  --volt: #d7ff3a;
  --volt-ink: #0b0d10;
  --radius: 4px;
  --wrap: 1180px;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--volt); color: var(--volt-ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.95;
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(3rem, 8vw, 6.4rem); }
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h3 { font-size: 1.6rem; line-height: 1.05; }
p { margin: 0 0 1em; }
.eyebrow {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--volt);
  margin-bottom: 18px;
}
.eyebrow::before { content: "/ "; opacity: 0.6; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 40ch; }
.muted { color: var(--muted); }
.volt { color: var(--volt); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--volt);
  border-radius: var(--radius);
  background: var(--volt);
  color: var(--volt-ink);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--text); }
.btn--block { width: 100%; justify-content: center; }
.btn .arrow { transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 13, 16, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 800; font-size: 1.5rem;
  letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
}
.logo-mark { width: 28px; height: 28px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  text-decoration: none; font-size: 0.95rem; font-weight: 500; color: var(--muted);
  transition: color 0.15s ease;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav .btn { padding: 10px 18px; font-size: 1rem; color: var(--volt-ink); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--text); padding: 8px 12px; font: inherit; font-size: 0.9rem; cursor: pointer;
}
@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line); padding: 8px 16px 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav .btn { margin-top: 16px; justify-content: center; border-bottom: 2px solid var(--volt); }
}

/* ---------- Sections ---------- */
section { padding: 110px 0; }
@media (max-width: 700px) { section { padding: 72px 0; } }
.section--paper { background: var(--paper); color: var(--ink); }
.section--paper .muted, .section--paper .lede { color: #5a6068; }
.section--paper .eyebrow { color: var(--ink); }
.section--line { border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 60px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 100px 0 90px; overflow: hidden; }
.hero::after {
  /* court-line motif */
  content: ""; position: absolute; right: -220px; top: -120px;
  width: 760px; height: 760px; border: 2px solid var(--line); border-radius: 50%;
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: center; }
.hero h1 .line { display: block; }
.hero h1 .volt { color: var(--volt); }
.hero .lede { margin: 24px 0 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 22px; font-size: 0.9rem; color: var(--muted); }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } .hero::after { display: none; } }

.page-hero { padding: 90px 0 70px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); max-width: 14ch; }
.page-hero .lede { margin-top: 20px; max-width: 52ch; }

/* ---------- Search result mock ---------- */
.serp {
  background: #fff; color: #202124; border-radius: 10px; padding: 22px 22px 8px;
  font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 1.45;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  transform: rotate(1.2deg);
}
.serp-bar {
  display: flex; align-items: center; gap: 10px; border: 1px solid #dfe1e5; border-radius: 24px;
  padding: 10px 16px; margin-bottom: 18px; color: #202124; font-size: 15px;
}
.serp-bar svg { width: 16px; height: 16px; flex: none; }
.serp-tabs { display: flex; gap: 18px; font-size: 13px; color: #5f6368; border-bottom: 1px solid #ebebeb; padding-bottom: 8px; margin-bottom: 14px; }
.serp-tabs .on { color: #1a0dab; border-bottom: 3px solid #1a0dab; padding-bottom: 6px; margin-bottom: -9px; }
.serp-item { margin-bottom: 18px; }
.serp-site { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #4d5156; }
.serp-fav { width: 18px; height: 18px; border-radius: 50%; background: #e8eaed; display: grid; place-items: center; font-size: 9px; font-weight: 700; color: #5f6368; }
.serp-title { color: #1a0dab; font-size: 17px; margin: 2px 0; }
.serp-snip { color: #4d5156; font-size: 13px; }
.serp-label { margin-top: 14px; font-size: 0.8rem; color: var(--muted); text-align: right; letter-spacing: 0.06em; text-transform: uppercase; }
@media (max-width: 600px) { .serp { transform: none; padding: 16px 16px 4px; } }

/* ---------- Ticker ---------- */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 48px; animation: tick 40s linear infinite; }
.ticker span {
  font-family: var(--display); font-weight: 700; font-size: 1.4rem; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--muted);
}
.ticker span::after { content: "•"; margin-left: 48px; color: var(--volt); }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- Stat / problem ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.bignum { font-family: var(--display); font-weight: 800; font-size: clamp(5rem, 12vw, 9rem); line-height: 0.85; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding: 16px 0 16px 34px; border-bottom: 1px solid rgba(11, 13, 16, 0.12); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 23px; width: 16px; height: 9px;
  border-left: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(-45deg);
}
.dark .checklist li { border-bottom-color: var(--line); }
.dark .checklist li::before { color: var(--volt); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.step { padding: 34px 30px 10px 0; }
.step + .step { padding-left: 30px; border-left: 1px solid rgba(11, 13, 16, 0.15); }
.step-num { font-family: var(--display); font-weight: 800; font-size: 3.6rem; line-height: 1; margin-bottom: 18px; }
@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0; border-left: none; border-bottom: 1px solid rgba(11, 13, 16, 0.15); }
}

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card {
  background: var(--ink); padding: 40px 36px; text-decoration: none; display: flex; flex-direction: column;
  transition: background 0.2s ease;
}
a.card:hover { background: var(--ink-2); }
.card-tag { font-family: var(--display); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.85rem; color: var(--muted); margin-bottom: 40px; }
.card h3 { font-size: 2.1rem; }
.card p { color: var(--muted); }
.card-link { margin-top: auto; padding-top: 18px; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--volt); }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } .card { padding: 32px 22px; } }

/* ---------- Audience ---------- */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.aud { border-top: 2px solid var(--volt); padding-top: 22px; }
.aud h3 { font-size: 1.7rem; }
.aud p { color: var(--muted); font-size: 0.98rem; }
@media (max-width: 800px) { .audience { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.tier {
  position: relative; background: #fff; color: var(--ink); border: 1px solid rgba(11, 13, 16, 0.12);
  border-radius: var(--radius); padding: 36px 30px 30px; display: flex; flex-direction: column;
}
.tier--featured { background: var(--ink); color: var(--text); border-color: var(--ink); }
.tier-flag {
  position: absolute; top: -13px; left: 30px; background: var(--volt); color: var(--volt-ink);
  font-family: var(--display); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 2px;
}
.tier-name { font-family: var(--display); font-weight: 700; font-size: 1.6rem; text-transform: uppercase; letter-spacing: 0.04em; margin: 0 0 4px; }
.tier-for { font-size: 0.95rem; color: #5a6068; margin-bottom: 22px; }
.tier--featured .tier-for { color: var(--muted); }
.price { font-family: var(--display); font-weight: 800; font-size: 4.2rem; line-height: 1; margin-bottom: 4px; }
.price sup { font-size: 1.8rem; vertical-align: top; position: relative; top: 8px; margin-right: 2px; }
.price-note { font-size: 0.85rem; color: #5a6068; margin-bottom: 26px; }
.tier--featured .price-note { color: var(--muted); }
.tier ul { list-style: none; margin: 0 0 30px; padding: 0; font-size: 0.97rem; }
.tier li { padding: 10px 0 10px 26px; border-top: 1px solid rgba(11, 13, 16, 0.1); position: relative; }
.tier--featured li { border-top-color: var(--line); }
.tier li::before {
  content: ""; position: absolute; left: 2px; top: 17px; width: 11px; height: 6px;
  border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg);
}
.tier--featured li::before { color: var(--volt); }
.tier .btn { margin-top: auto; justify-content: center; }
.tier:not(.tier--featured) .btn { background: var(--ink); color: var(--text); border-color: var(--ink); }
@media (max-width: 960px) { .tiers { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; gap: 30px; } }

.addons { margin-top: 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.addon { border: 1px solid rgba(11, 13, 16, 0.15); border-radius: var(--radius); padding: 22px 24px; }
.addon strong { display: block; font-family: var(--display); font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.03em; }
.addon .addon-price { font-family: var(--display); font-weight: 700; font-size: 1.4rem; }
@media (max-width: 800px) { .addons { grid-template-columns: 1fr; } }

.fineprint { font-size: 0.85rem; color: #5a6068; max-width: 70ch; margin-top: 40px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.section--paper .faq details { border-bottom-color: rgba(11, 13, 16, 0.15); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font-family: var(--display); font-weight: 700; font-size: 1.45rem; text-transform: uppercase; letter-spacing: 0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 2rem; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 24px; margin: 0; max-width: 68ch; color: var(--muted); }
.section--paper .faq details p { color: #4a5058; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--volt); color: var(--volt-ink); padding: 90px 0; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; max-width: 16ch; }
.cta-band .btn { background: var(--ink); color: var(--text); border-color: var(--ink); }

/* ---------- Service detail ---------- */
.detail-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 70px; }
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; gap: 40px; } }
.sidebar-box { position: sticky; top: 100px; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: var(--ink-2); }
.sidebar-box .price { font-size: 3.2rem; }
.sidebar-box ul { list-style: none; padding: 0; margin: 18px 0 26px; font-size: 0.95rem; color: var(--muted); }
.sidebar-box li { padding: 8px 0; border-top: 1px solid var(--line); }
.prose h2 { font-size: 2.4rem; margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: #c9ccd1; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose a { color: var(--volt); }
.prose blockquote {
  margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--volt);
  font-size: 1.1rem; color: var(--text);
}
.prose .callout { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; margin: 2em 0; }
.prose .callout p:last-child { margin-bottom: 0; }
.prose pre {
  white-space: pre-wrap; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9rem; line-height: 1.6; color: #d6d8dc;
}

/* ---------- Blog ---------- */
.post-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.post-row { background: var(--ink); padding: 34px 30px; text-decoration: none; display: grid; grid-template-columns: 160px 1fr auto; gap: 30px; align-items: center; }
.post-row:hover { background: var(--ink-2); }
.post-row h3 { margin: 0 0 6px; font-size: 1.9rem; }
.post-row p { margin: 0; color: var(--muted); }
.post-meta { font-size: 0.85rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 760px) { .post-row { grid-template-columns: 1fr; gap: 10px; padding: 26px 20px; } }
.article { max-width: 760px; margin: 0 auto; }
.article-head { padding: 80px 0 40px; border-bottom: 1px solid var(--line); margin-bottom: 50px; }
.article-head h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.toc { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 40px; font-size: 0.95rem; }
.toc ol { margin: 8px 0 0; padding-left: 1.2em; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--volt); }

/* ---------- Forms (partner page) ---------- */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
@media (max-width: 800px) { .perks { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 70px 0 40px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-grid h4 { font-size: 1rem; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { text-decoration: none; color: var(--text); }
.footer-grid a:hover { color: var(--volt); }
.footer-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 0.85rem; border-top: 1px solid var(--line); padding-top: 26px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* ---------- Photography ---------- */
/* Photos sit under a dark gradient so text stays readable and mixed stock looks consistent. */
.has-photo { position: relative; isolation: isolate; }
.has-photo::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: var(--bg) var(--pos, center) / cover no-repeat;
  filter: saturate(0.75) contrast(1.08);
}
.has-photo > .wrap { position: relative; }
.has-photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 13, 16, 0.96) 0%, rgba(11, 13, 16, 0.82) 45%, rgba(11, 13, 16, 0.55) 100%),
    linear-gradient(0deg, var(--ink) 0%, rgba(11, 13, 16, 0) 35%);
}
/* the home hero keeps its court-line circle on top of the photo */
.hero.has-photo::after {
  border: none; border-radius: 0; width: auto; height: auto; top: 0; right: 0;
  background:
    linear-gradient(90deg, rgba(11, 13, 16, 0.97) 0%, rgba(11, 13, 16, 0.85) 50%, rgba(11, 13, 16, 0.6) 100%),
    linear-gradient(0deg, var(--ink) 0%, rgba(11, 13, 16, 0) 30%);
}
.page-hero.has-photo { padding: 130px 0 90px; }
@media (max-width: 700px) {
  .has-photo::before { background-image: var(--bg-sm, var(--bg)); background-position: center; }
  .has-photo::after, .hero.has-photo::after { background: rgba(11, 13, 16, 0.86); }
}

.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.photo-strip figure { margin: 0; position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-3); }
.photo-strip picture, .card-photo picture { display: contents; }
/* photos are pre-cropped to these frames (tools/photos.py), so cover never trims the athlete */
.photo-strip img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.1) brightness(0.8);
  transition: filter 0.4s ease, transform 0.6s ease;
}
.photo-strip figure:hover img { filter: grayscale(0) contrast(1.05) brightness(0.9); transform: scale(1.04); }
.photo-strip figcaption {
  position: absolute; left: 20px; bottom: 16px;
  font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: 0.06em; text-transform: uppercase;
}
.photo-strip figcaption::before { content: ""; display: block; width: 26px; height: 3px; background: var(--volt); margin-bottom: 8px; }
@media (max-width: 760px) { .photo-strip { grid-template-columns: repeat(2, 1fr); } }

.card-photo { display: block; margin: -40px -36px 30px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-3); }
.card-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.7) brightness(0.85); transition: transform 0.6s ease, filter 0.3s ease; }
a.card:hover .card-photo img { transform: scale(1.04); filter: saturate(1) brightness(0.95); }
.card .card-tag { margin-bottom: 20px; }
@media (max-width: 760px) { .card-photo { margin: -32px -22px 24px; } }

.article-photo { margin: 0 0 50px; }
.article-photo img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--radius); background: var(--ink-3); }
.article-photo figcaption { font-size: 0.8rem; color: var(--muted); margin-top: 10px; }

/* Outlet logo strip: uncomment the block in index.html once you have logos you're allowed to use */
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 48px; padding: 40px 0; }
.logo-strip img { height: 28px; width: auto; filter: grayscale(1) brightness(1.6); opacity: 0.7; }
.footer-title { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1rem; letter-spacing: 0.14em; color: var(--muted); margin: 0 0 16px; }
.prose .faq details p { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
