/* Jordan Protocol – homepage */

/* ---------- Shared bits ---------- */
.h-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 0.98;
  letter-spacing: 0.005em;
  margin: 0 0 28px;
  text-wrap: balance;
}
.h-note {
  display: block;
  margin-top: 12px;
  font-family: var(--ui);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Hero ---------- */
.h-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(560px, calc(100vh - 72px), 860px);
  display: flex;
  align-items: center;
  padding: 48px 0 64px;
}
.h-hero-img {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: -3vw;
  width: min(74vw, 1380px);
  transform: translateY(-46%);
}
.h-hero-img img { width: 100%; height: auto; }
.h-hero-copy { position: relative; z-index: 1; }
.h-wordmark {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(88px, 15.5vw, 236px);
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--ink);
}
.h-wordmark span { display: block; }
.h-outline {
  color: transparent;
  -webkit-text-stroke: clamp(1.5px, 0.22vw, 3px) var(--ink);
  /* fallback for browsers without text-stroke */
}
@supports not (-webkit-text-stroke: 1px black) { .h-outline { color: var(--ink); } }
.h-lead {
  max-width: 30ch;
  margin: 32px 0 30px;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.5;
  color: var(--ink-2);
}

/* One orchestrated load moment: wordmark rises, runners sweep in */
@media (prefers-reduced-motion: no-preference) {
  .h-solid, .h-outline, .h-lead, .h-start { animation: h-rise 0.9s cubic-bezier(.2,.7,.2,1) both; }
  .h-outline { animation-delay: 0.08s; }
  .h-lead { animation-delay: 0.22s; }
  .h-start { animation-delay: 0.3s; }
  .h-hero-img { animation: h-sweep 1.4s cubic-bezier(.2,.7,.2,1) 0.1s both; }
}
@keyframes h-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes h-sweep { from { opacity: 0; transform: translate(-8%, -46%); } to { opacity: 1; transform: translate(0, -46%); } }

@media (max-width: 760px) {
  .h-hero { flex-direction: column; align-items: stretch; min-height: 0; padding: 36px 0 0; text-align: center; }
  .h-hero-copy { order: 1; }
  .h-hero-img { order: 2; }
  .h-wordmark { font-size: 21.5vw; }
  .h-lead { margin: 22px auto 24px; }
  .h-hero-img { position: relative; top: auto; right: auto; width: 100%; transform: none; margin-top: 8px; }
  @keyframes h-sweep { from { opacity: 0; transform: translateX(-8%); } to { opacity: 1; transform: none; } }
}

/* ---------- Sports strip ---------- */
.sports {
  padding: 30px 0;
  border-top: 1px solid rgba(58, 62, 71, 0.08);
  border-bottom: 1px solid rgba(58, 62, 71, 0.08);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee { display: flex; width: max-content; animation: sports-scroll 70s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: 84px; padding-right: 84px; }
.sport-ic { width: 68px; height: 68px; flex: none; color: var(--ink); }
@keyframes sports-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; } }
@media (max-width: 760px) {
  .sports { padding: 22px 0; }
  .marquee-group { gap: 56px; padding-right: 56px; }
  .sport-ic { width: 54px; height: 54px; }
}
/* icon drawing styles (apply inside the <symbol>s) */
symbol .o { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
symbol .a { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
symbol .f { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Online coaching ---------- */
.h-coaching { padding: clamp(80px, 10vw, 140px) 0 clamp(40px, 6vw, 90px); }
.h-coaching-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.h-graph { margin: 0; }
.h-graph img { width: 100%; height: auto; }
.h-checks { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(58, 62, 71, 0.14); }
.h-checks li {
  position: relative;
  padding: 15px 0 15px 42px;
  border-bottom: 1px solid rgba(58, 62, 71, 0.14);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
}
.h-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z' fill='%231f2a05'/%3E%3C/svg%3E") center / 16px no-repeat;
}
@media (max-width: 860px) {
  .h-coaching-grid { grid-template-columns: 1fr; }
  .h-graph { max-width: 520px; margin: 0 auto; }
}

/* ---------- For whom ---------- */
.h-reasons {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 10vw, 150px) 0;
}
.h-ribbon {
  position: absolute;
  z-index: 0;
  right: -6vw;
  top: 50%;
  width: min(78vw, 1200px);
  height: auto;
  transform: translateY(-50%);
  pointer-events: none;
}
.h-reason-list {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(46px, 7.4vw, 112px);
  line-height: 0.98;
  color: var(--ink);
}
.h-reason-list span { font-weight: 300; color: #9fa3ab; }
@media (max-width: 760px) {
  .h-ribbon { top: auto; bottom: -20px; right: -30vw; width: 140vw; transform: none; opacity: 0.55; }
  .h-reason-list { font-size: 9.6vw; line-height: 1.04; }
}

/* ---------- Professional care ---------- */
.h-care { padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 10vw, 130px); }
.h-care-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: clamp(28px, 5vw, 72px);
}
.h-care-grid li {
  padding: 20px 0 40px;
  border-top: 3px solid var(--ink);
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.04;
  color: var(--ink);
}
.h-care-cta { margin-top: 12px; }
@media (max-width: 680px) {
  .h-care-grid { grid-template-columns: 1fr; }
  .h-care-grid li { padding-bottom: 28px; }
}

/* ---------- Dark band (centered, like the original) ---------- */
.h-band {
  background:
    radial-gradient(ellipse 60% 55% at 50% 22%, rgba(152, 231, 4, 0.09), transparent 70%),
    var(--ink);
  color: var(--bg);
  text-align: center;
  padding: clamp(88px, 11vw, 150px) 24px;
}
.h-band-inner { max-width: 760px; margin: 0 auto; }
.h-logo-tile {
  width: clamp(96px, 10vw, 128px);
  aspect-ratio: 1;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: #4a4f5a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 40px rgba(0, 0, 0, 0.25);
}
.h-logo-tile svg { width: 64%; height: 64%; fill: var(--accent); }
.h-band-brand {
  margin: 26px 0 10px;
  font-family: var(--ui);
  font-weight: 700;
  font-size: 15px;
  color: var(--accent);
}
.h-band-title {
  margin: 0 auto 34px;
  max-width: 11.5em;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(52px, 7.4vw, 96px);
  line-height: 1;
  color: var(--bg);
}
@media (max-width: 520px) { .h-br { display: none; } .h-band-title { text-wrap: balance; } }
.h-band-btn {
  padding: 15px 48px;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 12px;
}
.h-band .h-note { color: #babdc2; margin-top: 16px; }

/* ---------- FAQ (dark rows, like the original) ---------- */
.h-faq { padding: clamp(80px, 10vw, 130px) 0 0; }
.h-faq-title { text-align: center; }
.h-faq .faq details {
  background: var(--ink);
  color: var(--bg);
  border-radius: 12px;
  padding: 0 24px;
  margin-bottom: 10px;
}
.h-faq .faq summary {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(21px, 2vw, 25px);
  letter-spacing: 0.02em;
  padding: 18px 40px 18px 0;
}
.h-faq .faq summary::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--bg);
  border-bottom: 2px solid var(--bg);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.h-faq .faq details[open] summary::after { content: ""; transform: translateY(-20%) rotate(-135deg); }
.h-faq .faq .answer { color: #d7dbe6; padding-bottom: 22px; }
.h-faq .faq .answer a { color: var(--accent); }
.h-faq .prices li { border-bottom-color: rgba(238, 241, 250, 0.25); }
.answer-gap { margin-top: 14px !important; }

/* ---------- Sports data analysis (bookable) ---------- */
/* full-width dark band, like the "Unleash" section */
.h-data {
  margin-top: clamp(80px, 10vw, 130px);
  padding: clamp(88px, 11vw, 150px) 0;
  background:
    radial-gradient(ellipse 50% 70% at 78% 30%, rgba(152, 231, 4, 0.09), transparent 70%),
    var(--ink);
  color: var(--bg);
}
/* the band is the last section: let it meet the footer without a light gap */
main:has(> .h-data:last-child) + .site-footer { margin-top: 0; }
.h-data-panel {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.h-data-title {
  margin: 0 0 14px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 5.6vw, 72px);
  line-height: 0.95;
  color: var(--bg);
}
.h-data-lead { margin: 0 0 26px; max-width: 34ch; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: #d7dbe6; }
.h-data-list { margin: 0 0 30px; border-top: 1px solid rgba(238, 241, 250, 0.16); }
.h-data-list div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid rgba(238, 241, 250, 0.16);
}
.h-data-list dt { font-family: var(--display); font-weight: 400; font-size: 24px; letter-spacing: 0.02em; color: var(--accent); }
.h-data-list dd { margin: 0; font-size: 16px; line-height: 1.45; color: #d7dbe6; }
.h-data-btn { padding: 15px 30px; font-size: 15px; border-radius: 12px; }
.h-data .h-note { color: #babdc2; margin-top: 14px; }

.h-data-chart { margin: 0; }
.h-data-chart svg { width: 100%; height: auto; display: block; }
.h-data-chart .grid line { stroke: rgba(238, 241, 250, 0.12); stroke-width: 1; }
.h-data-chart .bars rect { fill: #4a4f5a; }
.h-data-chart .trend { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.h-data-chart .dots circle { fill: var(--ink); stroke: var(--accent); stroke-width: 3; }
.h-data-chart .dots circle:last-child { fill: var(--accent); }

@media (max-width: 860px) {
  .h-data-panel { grid-template-columns: 1fr; }
  .h-data-chart { order: -1; max-width: 420px; }
  .h-data-list div { grid-template-columns: 1fr; gap: 2px; }
}
