/* =========================================================
   DARK HORSE PITCHING — Brand System
   Ink #171C2D · Graphite #212840 · Red #BD3C37
   Slate #5A6B7A · Bone #F7F5F0 · Chalk #FFFFFF
   Display: Oswald · Body: Source Sans 3 · Data: JetBrains Mono
   Signature motif: the pitch-trajectory arc
   ========================================================= */

:root{
  --ink:#171C2D;
  --graphite:#212840;
  --graphite-2:#2A3252;
  --red:#BD3C37;
  --red-dim:#8f2c28;
  --red-text:#E4726A;
  --slate:#5A6B7A;
  --slate-light:#8A97A6;
  --bone:#F7F5F0;
  --chalk:#FFFFFF;
  --line: rgba(23,28,45,0.10);
  --line-dark: rgba(247,245,240,0.12);

  --display: 'Oswald', sans-serif;
  --body: 'Source Sans 3', sans-serif;
  --mono: 'JetBrains Mono', monospace;

  --maxw: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bone);
  color:var(--ink);
  font-family:var(--body);
  font-size:17px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4{
  font-family:var(--display);
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:0.01em;
  margin:0;
  color:var(--ink);
  overflow-wrap:break-word;
}
p{ margin:0 0 1em 0; }
.mono{ font-family:var(--mono); }

.wrap{
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 28px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

/* ---------------- Focus states ---------------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline:2px solid var(--red);
  outline-offset:3px;
}

/* ---------------- Nav ---------------- */
.site-nav{
  position:sticky; top:0; z-index:100;
  background:var(--ink);
  border-bottom:1px solid var(--line-dark);
}
.site-nav .wrap{
  display:flex; align-items:center; justify-content:space-between;
  height:74px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-family:var(--display);
  font-size:19px;
  color:var(--chalk);
  letter-spacing:0.03em;
}
.brand-logo{
  height:44px;
  width:auto;
  display:block;
  background:var(--chalk);
  padding:5px 10px;
  border-radius:4px;
}
.footer-logo{
  height:56px;
  padding:6px 12px;
}
.nav-links{
  display:flex; align-items:center; gap:2px;
  list-style:none; margin:0; padding:0;
}
.nav-links a{
  display:block;
  padding:10px 16px;
  font-family:var(--mono);
  font-size:12.5px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--slate-light);
  border-bottom:2px solid transparent;
  transition:color .15s ease, border-color .15s ease;
}
.nav-links a:hover{ color:var(--chalk); }
.nav-links a.active{ color:var(--chalk); border-color:var(--red); }
.nav-cta{
  font-family:var(--mono) !important;
  background:var(--red);
  color:var(--chalk) !important;
  padding:9px 18px !important;
  border-radius:2px;
  border-bottom:none !important;
}
.nav-cta:hover{ background:var(--red-dim); color:var(--chalk) !important; }
.nav-toggle{
  display:none;
  background:none; border:none; color:var(--chalk);
  font-family:var(--mono); font-size:12px; letter-spacing:.1em;
  text-transform:uppercase; cursor:pointer;
  padding:14px 12px;
  min-height:44px;
}

@media (max-width:860px){
  .nav-toggle{ display:block; }
  .nav-links{
    position:absolute; top:74px; left:0; right:0;
    flex-direction:column; align-items:stretch;
    background:var(--ink);
    border-bottom:1px solid var(--line-dark);
    display:none;
  }
  .nav-links.open{ display:flex; }
  .nav-links a{ padding:16px 28px; border-bottom:1px solid var(--line-dark); }
  .nav-links a.active{ border-left:3px solid var(--red); border-bottom:1px solid var(--line-dark); }
}

/* ---------------- Buttons ---------------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--mono);
  font-size:13px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  padding:14px 26px;
  border-radius:2px;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover{ transform:translateY(-1px); }
.btn-primary{ background:var(--red); color:var(--chalk); }
.btn-primary:hover{ background:var(--red-dim); }
.btn-ghost{ background:transparent; color:var(--ink); border-color:var(--ink); }
.btn-ghost:hover{ background:var(--ink); color:var(--chalk); }
.btn-ghost-light{ background:transparent; color:var(--chalk); border-color:var(--line-dark); }
.btn-ghost-light:hover{ background:var(--chalk); color:var(--ink); }

/* ---------------- Hero ---------------- */
.hero{
  background:var(--ink);
  color:var(--chalk);
  position:relative;
  overflow:hidden;
  padding:96px 0 64px;
}
.hero-grid{
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  gap:48px;
  align-items:center;
}
.eyebrow{
  font-family:var(--mono);
  font-size:12.5px;
  letter-spacing:0.16em;
  text-transform:uppercase;
  color:var(--red-text);
  margin-bottom:18px;
}
.hero h1{
  font-size:clamp(38px, 5.6vw, 68px);
  line-height:1.03;
  color:var(--chalk);
}
.hero h1 em{
  font-style:normal;
  color:var(--red);
}
.hero-sub{
  font-family:var(--body);
  font-size:19px;
  color:var(--slate-light);
  max-width:520px;
  margin:22px 0 34px;
}
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; }
.hero-visual{ position:relative; }
.arc-svg{ width:100%; height:auto; }
.arc-path{
  fill:none;
  stroke:var(--red);
  stroke-width:2.5;
  stroke-linecap:round;
  stroke-dasharray:600;
  stroke-dashoffset:600;
  animation:draw 1.8s ease forwards .3s;
}
.arc-dot{
  fill:var(--chalk);
  opacity:0;
  animation:fadein .4s ease forwards 1.9s;
}
.arc-grid line{ stroke:var(--line-dark); stroke-width:1; }
.arc-label{ font-family:var(--mono); font-size:10px; fill:var(--slate-light); letter-spacing:.05em; }
@keyframes draw{ to{ stroke-dashoffset:0; } }
@keyframes fadein{ to{ opacity:1; } }

/* Stat ticker strip */
.stat-strip{
  background:var(--graphite);
  border-top:1px solid var(--line-dark);
  border-bottom:1px solid var(--line-dark);
  padding:20px 0;
  overflow:hidden;
}
.stat-strip .wrap{
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:14px;
}
.stat-item{
  font-family:var(--mono);
  font-size:13px;
  color:var(--slate-light);
  display:flex; align-items:baseline; gap:8px;
  white-space:nowrap;
}
.stat-item b{ color:var(--chalk); font-size:15px; }

/* ---------------- Sections ---------------- */
section{ padding:88px 0; }
.section-head{ max-width:640px; margin-bottom:48px; }
.section-head .eyebrow{ color:var(--red); }
.section-head h2{ font-size:clamp(28px,3.6vw,42px); margin-top:8px; overflow-wrap:anywhere; }
.section-head p{ color:var(--slate); font-size:18px; margin-top:14px; }

.section-alt{ background:var(--chalk); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.section-dark{ background:var(--ink); color:var(--chalk); }
.section-dark .eyebrow{ color:var(--red-text); }
.section-dark h2, .section-dark h3{ color:var(--chalk); }
.section-dark p{ color:var(--slate-light); }

/* Three pillar cards */
.pillars{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.pillar{
  background:var(--chalk);
  border:1px solid var(--line);
  border-radius:3px;
  padding:32px 28px;
  transition:border-color .15s ease, transform .15s ease;
}
.pillar:hover{ border-color:var(--red); transform:translateY(-3px); }
.pillar .num{ font-family:var(--mono); color:var(--red); font-size:13px; letter-spacing:.08em; }
.pillar h3{ font-size:22px; margin:14px 0 10px; }
.pillar p{ color:var(--slate); font-size:16px; margin-bottom:18px; }
.pillar a{ font-family:var(--mono); font-size:12.5px; text-transform:uppercase; letter-spacing:.08em; color:var(--ink); border-bottom:1px solid var(--ink); padding-bottom:2px; }
.pillar a:hover{ color:var(--red); border-color:var(--red); }

@media (max-width:860px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-visual{ order:-1; }
  .pillars{ grid-template-columns:1fr; }
}

/* Content grid (video/article cards) */
.card-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}
@media (max-width:860px){ .card-grid{ grid-template-columns:1fr; } }
@media (min-width:861px) and (max-width:1080px){ .card-grid{ grid-template-columns:repeat(2,1fr); } }

.media-card{
  background:var(--chalk);
  border:1px solid var(--line);
  border-radius:3px;
  overflow:hidden;
  display:flex; flex-direction:column;
}
.media-card .thumb{
  aspect-ratio:4/5;
  background:var(--ink);
  position:relative;
  display:flex; align-items:center; justify-content:center;
}
.media-card .thumb .play{
  width:46px; height:46px; border-radius:50%;
  border:1.5px solid var(--red); display:flex; align-items:center; justify-content:center;
}
.media-card .thumb .play::after{
  content:''; width:0; height:0;
  border-top:7px solid transparent; border-bottom:7px solid transparent;
  border-left:11px solid var(--red);
  margin-left:3px;
}
.media-card .thumb .platform{
  position:absolute; top:12px; left:12px;
  font-family:var(--mono); font-size:10px; letter-spacing:.1em; text-transform:uppercase;
  color:var(--slate-light); border:1px solid var(--line-dark); padding:4px 8px; border-radius:2px;
}
.media-card .body{ padding:20px; flex:1; display:flex; flex-direction:column; }
.media-card h4{ font-size:17px; margin-bottom:8px; }
.media-card p{ color:var(--slate); font-size:14.5px; flex:1; }
.media-card .tag{ font-family:var(--mono); font-size:11px; color:var(--red); text-transform:uppercase; letter-spacing:.08em; margin-bottom:10px; }

/* Article / analytics cards */
.article-card{
  background:var(--graphite);
  border:1px solid var(--line-dark);
  border-radius:3px;
  padding:28px;
  display:flex; flex-direction:column; gap:14px;
}
.article-card .tag{ font-family:var(--mono); font-size:11px; color:var(--red); text-transform:uppercase; letter-spacing:.08em; }
.article-card h3{ color:var(--chalk); font-size:20px; }
.article-card p{ color:var(--slate-light); font-size:15px; }
.article-card .finding{
  font-family:var(--mono); font-size:13px; color:var(--chalk);
  background:rgba(189,60,55,0.12); border-left:2px solid var(--red);
  padding:10px 14px; margin:0;
}
.article-card .meta{ font-family:var(--mono); font-size:11.5px; color:var(--slate-light); letter-spacing:.05em; }

/* Timeline (story page) */
.timeline{ position:relative; padding-left:32px; }
.timeline::before{
  content:''; position:absolute; left:5px; top:6px; bottom:6px; width:2px; background:var(--line);
}
.tl-item{ position:relative; padding-bottom:44px; }
.tl-item:last-child{ padding-bottom:0; }
.tl-item::before{
  content:''; position:absolute; left:-32px; top:4px; width:12px; height:12px; border-radius:50%;
  background:var(--red); border:3px solid var(--bone);
}
.tl-item .yr{ font-family:var(--mono); font-size:13px; color:var(--red); letter-spacing:.05em; }
.tl-item h3{ font-size:21px; margin:6px 0 8px; }
.tl-item p{ color:var(--slate); font-size:16px; max-width:640px; }

/* Quote / pull */
.pull{
  font-family:var(--display); text-transform:none;
  font-size:clamp(22px,2.6vw,30px);
  line-height:1.4; color:var(--ink);
  border-left:3px solid var(--red);
  padding-left:26px;
  max-width:780px;
}

/* Form */
.form-panel{
  background:var(--graphite);
  border:1px solid var(--line-dark);
  border-radius:3px;
  padding:36px;
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:16px; min-width:0; }
@media (max-width:640px){ .form-row{ grid-template-columns:1fr; } }
.field{ display:flex; flex-direction:column; gap:6px; margin-bottom:16px; min-width:0; }
.field label{
  font-family:var(--mono); font-size:11.5px; text-transform:uppercase; letter-spacing:.08em; color:var(--slate-light);
}
.field input, .field select, .field textarea{
  background:var(--ink);
  border:1px solid var(--line-dark);
  color:var(--chalk);
  font-family:var(--body);
  font-size:15px;
  padding:12px 14px;
  border-radius:2px;
  width:100%;
  min-width:0;
  box-sizing:border-box;
}
.field textarea{ resize:vertical; min-height:110px; }
.form-note{ font-family:var(--mono); font-size:12px; color:var(--slate-light); margin-top:10px; }
.form-success{
  display:none;
  font-family:var(--mono); font-size:14px; color:var(--chalk);
  background:rgba(189,60,55,0.15); border-left:2px solid var(--red);
  padding:14px 18px; margin-top:16px;
}
.form-success.show{ display:block; }

/* Calendar / scheduling embed panel */
.embed-panel{
  background:var(--chalk);
  border:1px solid var(--line);
  border-radius:3px;
  overflow:hidden;
}
.embed-panel .embed-head{
  padding:20px 24px; border-bottom:1px solid var(--line);
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px;
}
.embed-panel .embed-head h3{ font-size:18px; }
.embed-panel .embed-head span{ font-family:var(--mono); font-size:12px; color:var(--slate); }
.embed-body{ min-height:640px; }
.embed-body iframe{ width:100%; height:640px; border:none; display:block; }

/* Two-col layout */
.split{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:56px; align-items:start; }
@media (max-width:860px){ .split{ grid-template-columns:1fr; } }

/* Footer */
footer{ background:var(--ink); color:var(--slate-light); padding:56px 0 28px; }
.footer-grid{
  display:grid; grid-template-columns:2fr 1fr 1fr; gap:40px;
  border-bottom:1px solid var(--line-dark); padding-bottom:36px; margin-bottom:24px;
}
@media (max-width:640px){ .footer-grid{ grid-template-columns:1fr; } }
footer h4{ color:var(--chalk); font-size:13px; letter-spacing:.08em; margin-bottom:14px; }
footer ul{ list-style:none; margin:0; padding:0; }
footer li{ margin-bottom:10px; }
footer a{ font-size:14.5px; }
footer a:hover{ color:var(--chalk); }
.footer-bottom{
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
  font-family:var(--mono); font-size:11.5px; color:var(--slate-light);
}

/* Story media (inline photos/video within narrative) */
.story-body{ max-width:760px; margin:0 auto; }
.story-body p{ font-size:18px; color:var(--ink); margin-bottom:26px; }
.story-media{ margin:44px 0; }
.story-media img, .story-media video{
  width:100%; display:block;
  border-radius:3px;
  border:1px solid var(--line);
  background:var(--ink);
}
.story-media figcaption{
  font-family:var(--mono); font-size:12.5px; color:var(--slate);
  letter-spacing:.03em; margin-top:12px;
}
.story-media figcaption .tag{
  color:var(--red); text-transform:uppercase; margin-right:8px;
}

/* Learn page: report sections */
.report-section{ padding:64px 0; border-bottom:1px solid var(--line-dark); }
.report-section:last-of-type{ border-bottom:none; }
.report-head{ display:flex; align-items:baseline; justify-content:space-between; gap:20px; flex-wrap:wrap; margin-bottom:22px; }
.report-head h2{ font-size:clamp(24px,3vw,32px); color:var(--chalk); margin-top:6px; }
.report-tag{ font-family:var(--mono); font-size:11.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--red-text); }
.report-body p{ color:var(--slate-light); font-size:16px; margin-bottom:16px; max-width:760px; }
.report-body ul{ margin:0 0 16px 0; padding-left:20px; }
.report-body li{ color:var(--slate-light); font-size:15.5px; margin-bottom:10px; max-width:740px; }
.report-body li b{ color:var(--chalk); }
.report-chart{ margin:24px 0; max-width:720px; }
.report-chart img{ width:100%; border-radius:3px; border:1px solid var(--line-dark); }
.report-chart-row{ display:flex; gap:16px; margin:24px 0; max-width:720px; }
.report-chart-row img{ width:50%; border-radius:3px; border:1px solid var(--line-dark); background:var(--chalk); }
.report-caption{ font-family:var(--mono); font-size:11.5px; color:var(--slate-light); margin-top:-8px; margin-bottom:20px; }
.pdf-cta{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--mono); font-size:12.5px; text-transform:uppercase; letter-spacing:.06em;
  color:var(--chalk); border:1px solid var(--red); padding:12px 22px; border-radius:2px;
  margin-top:8px; transition:background .15s ease;
}
.pdf-cta:hover{ background:var(--red); }
.pdf-cta svg{ width:14px; height:14px; }

/* Instagram feed section */
.ig-embed-wrap{
  background:var(--chalk); border:1px solid var(--line); border-radius:3px;
  overflow:hidden; max-width:100%;
}
.ig-embed-wrap iframe{ width:100%; min-height:640px; border:none; display:block; }
.ig-note{
  font-family:var(--mono); font-size:11.5px; color:var(--slate-light); text-align:center; margin-top:14px;
}

@media (max-width:640px){
  .report-chart-row{ flex-direction:column; }
  .report-chart-row img{ width:100%; }
}

.center{ text-align:center; }
.mt-0{ margin-top:0; }
.list-clean{ list-style:none; margin:0; padding:0; }
.list-clean li{ padding:12px 0; border-bottom:1px solid var(--line); font-size:16px; color:var(--slate); }
.list-clean li b{ color:var(--ink); }
.badge{
  display:inline-block; font-family:var(--mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase;
  color:var(--red-text); border:1px solid rgba(228,114,106,0.4); padding:4px 10px; border-radius:20px;
}
