/* ============================================================
   JCPERFORMANCE — shared styles for the program landing pages.
   Same tokens/type system as the main site (jcperformance.html)
   so these feel like the same product, not a different site.
   ============================================================ */
:root{
  --ink:#08080a; --surface:#131316; --surface-2:#1b1b1f; --surface-3:#222227;
  --line:#2a2a2f; --line-soft:#1c1c20;
  --text:#f4f3f5; --text-dim:#a3a1ab; --text-faint:#6d6b76;
  --brand:#ff0050; --brand-2:#ff5c8d; --brand-deep:#6e0025; --brand-soft:rgba(255,0,80,.14);
  --good:#35d47a;
  --font-display:'Anton','Arial Narrow',sans-serif;
  --font-accent:'Fraunces',Georgia,serif;
  --font-kicker:'Bebas Neue','Arial Narrow',sans-serif;
  --font-body:'DM Sans',system-ui,-apple-system,sans-serif;
  --font-mono:'DM Mono','SFMono-Regular',Consolas,monospace;
  color-scheme:dark;
}
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; background:var(--ink); color:var(--text); font-family:var(--font-body);
  font-size:16px; line-height:1.6; -webkit-font-smoothing:antialiased;
}
img,svg,video{ max-width:100%; display:block; }
a{ color:inherit; }
::selection{ background:var(--brand); color:#fff; }
h1,h2,h3{ text-wrap:balance; margin:0; }

.wrap{ max-width:920px; margin-inline:auto; padding-inline:clamp(20px,5vw,64px); }
.wrap-wide{ max-width:1180px; margin-inline:auto; padding-inline:clamp(20px,5vw,64px); }

.grain-overlay{
  position:fixed; inset:0; z-index:150; pointer-events:none; opacity:.05; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* nav */
header.site-nav{
  position:sticky; top:0; z-index:50; display:flex; align-items:center; justify-content:space-between;
  padding:16px clamp(20px,5vw,64px); background:rgba(8,8,10,.92); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line-soft);
}
.brand-lockup{ display:flex; align-items:center; gap:12px; text-decoration:none; }
.brand-lockup img{ width:34px; height:34px; }
.brand-lockup span{ font-family:var(--font-display); font-size:1.05rem; letter-spacing:.04em; text-transform:uppercase; }
.back-link{
  font-family:var(--font-mono); font-size:.78rem; letter-spacing:.04em; text-transform:uppercase;
  color:var(--text-dim); text-decoration:none; display:flex; align-items:center; gap:.5em;
}
.back-link:hover{ color:var(--brand); }

/* kicker / headline */
.kicker{
  font-family:var(--font-kicker); font-size:.95rem; letter-spacing:.22em; color:var(--brand);
  text-transform:uppercase; display:flex; align-items:center; gap:.6em; margin-bottom:.9em;
}
.kicker::before{ content:''; width:22px; height:2px; background:var(--brand); display:inline-block; }
h1.page-title{
  font-family:var(--font-display); font-weight:400; text-transform:uppercase;
  font-size:clamp(2.2rem,6vw,3.6rem); line-height:1; letter-spacing:.005em;
}
h1.page-title em{ font-family:var(--font-accent); font-style:italic; font-weight:500; color:var(--brand); text-transform:none; }
h2.section-title{
  font-family:var(--font-display); font-weight:400; text-transform:uppercase;
  font-size:clamp(1.6rem,3.4vw,2.2rem); margin-bottom:.6em;
}
.lead{ font-size:clamp(1rem,1.6vw,1.15rem); color:var(--text-dim); font-weight:300; max-width:60ch; margin-top:1em; }

/* hero */
.page-hero{ padding-block:clamp(48px,7vw,80px) clamp(32px,5vw,48px); border-bottom:1px solid var(--line-soft); }
.price-line{ margin-top:1.2em; font-family:var(--font-mono); font-size:1rem; color:var(--text-dim); }
.price-line strong{ color:var(--text); font-size:1.9rem; font-family:var(--font-body); font-weight:700; }
.ribbon-tag{
  display:inline-block; background:var(--brand); color:#fff; font-family:var(--font-mono); font-size:.66rem;
  letter-spacing:.1em; text-transform:uppercase; padding:.4em .8em; border-radius:2px; margin-bottom:1em;
}

/* buttons */
.btn{
  font-family:var(--font-body); font-weight:600; font-size:.9rem; letter-spacing:.03em; text-transform:uppercase;
  padding:.95em 1.9em; border-radius:2px; border:1.5px solid transparent; cursor:pointer;
  display:inline-flex; align-items:center; gap:.6em; text-decoration:none;
  transition:transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn-solid{ background:var(--brand); color:#fff; }
.btn-solid:hover{ background:var(--brand-2); transform:translateY(-2px); }
.btn-ghost{ background:transparent; color:var(--text); border-color:var(--brand); }
.btn-ghost:hover{ border-color:var(--brand-2); color:var(--brand-2); transform:translateY(-2px); }

/* sections */
section{ padding-block:clamp(48px,6vw,72px); border-bottom:1px solid var(--line-soft); }
section:last-of-type{ border-bottom:none; }

/* feature list */
ul.feature-list{ list-style:none; margin:1.4em 0 0; padding:0; display:flex; flex-direction:column; gap:.9em; max-width:64ch; }
ul.feature-list li{ display:flex; gap:.75em; font-size:.95rem; color:var(--text-dim); padding-top:.9em; border-top:1px solid var(--line-soft); }
ul.feature-list li:first-child{ border-top:none; padding-top:0; }
ul.feature-list li::before{ content:'✓'; color:var(--brand); font-weight:700; flex-shrink:0; }

.guarantee{
  margin-top:1.6em; padding:1em 1.3em; border-left:2px solid var(--brand); background:var(--brand-soft);
  font-size:.9rem; color:var(--text-dim); max-width:64ch;
}
.guarantee strong{ color:var(--text); }

/* readout / dashboard-style cards, reused from the main site */
.readout-card{ border:1px solid var(--line); border-radius:8px; background:var(--surface-2); padding:1.25em 1.35em; }
.readout-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:1em; }
.readout-title{ font-family:var(--font-mono); font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; color:var(--text); }
.readout-sample{ font-family:var(--font-mono); font-size:.6rem; letter-spacing:.06em; text-transform:uppercase; color:var(--text-faint); border:1px solid var(--line); border-radius:3px; padding:.25em .55em; }
.chart-axis{ display:flex; justify-content:space-between; font-family:var(--font-mono); font-size:.68rem; color:var(--text-faint); margin-top:.4em; }

.tiles-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-top:1.6em; }
@media (max-width:700px){ .tiles-grid{ grid-template-columns:1fr 1fr; } }
.tile{ border:1px solid var(--line); border-left:3px solid var(--brand); border-radius:6px; padding:1.1em 1.3em; background:var(--surface-2); }
.tile .lbl{ font-family:var(--font-mono); font-size:.66rem; letter-spacing:.06em; text-transform:uppercase; color:var(--text-faint); }
.tile .val{ font-family:var(--font-display); font-size:1.7rem; color:var(--text); margin-top:.25em; }
.tile .delta{ font-family:var(--font-mono); font-size:.7rem; color:var(--good); margin-top:.3em; }

/* coming soon */
.coming-soon-box{
  border:1.5px dashed var(--line); border-radius:10px; padding:clamp(32px,5vw,56px); text-align:center; margin-top:2em;
}
.coming-soon-box .big{ font-family:var(--font-display); font-size:clamp(1.6rem,3vw,2.2rem); text-transform:uppercase; color:var(--brand); }
.coming-soon-box p{ color:var(--text-dim); max-width:52ch; margin:.8em auto 0; }

footer.site-footer{
  padding-block:32px; border-top:1px solid var(--line-soft);
  display:flex; flex-wrap:wrap; gap:16px; align-items:center; justify-content:space-between;
}
footer.site-footer small{ color:var(--text-faint); font-family:var(--font-mono); font-size:.72rem; }
footer.site-footer .contact-links{ display:flex; gap:10px; flex-wrap:wrap; }
footer.site-footer .contact-links a{
  font-family:var(--font-mono); font-size:.76rem; color:var(--text-dim); text-decoration:none;
  border:1px solid var(--line); border-radius:999px; padding:.55em 1.1em;
}
footer.site-footer .contact-links a:hover{ color:var(--brand); border-color:var(--brand); }

/* ---------- photo hero ---------- */
.hero-photo{ position:relative; min-height:52vh; display:flex; align-items:flex-end; overflow:hidden; border-bottom:1px solid var(--line-soft); }
.hero-photo img.bg{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.hero-photo .shade{ position:absolute; inset:0; background:linear-gradient(180deg, rgba(8,8,10,.3) 0%, rgba(8,8,10,.7) 65%, var(--ink) 100%); }
.hero-photo .wrap-wide{ position:relative; z-index:1; padding-block:44px; width:100%; }

/* ---------- split layout (copy + media) ---------- */
.split{ display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(32px,5vw,64px); align-items:center; }
@media (max-width:820px){ .split{ grid-template-columns:1fr; } }
.split.media-left{ grid-template-columns:.95fr 1.05fr; }
.split.media-left .split-media{ order:-1; }
@media (max-width:820px){ .split.media-left .split-media{ order:0; } }

.video-panel{ border:1px solid var(--line); border-radius:10px; overflow:hidden; background:var(--surface-2); }
.video-panel video, .video-panel img{ width:100%; display:block; }
.video-panel .caption{
  padding:.8em 1.1em; font-family:var(--font-mono); font-size:.72rem; letter-spacing:.05em;
  text-transform:uppercase; color:var(--text-dim); border-top:1px solid var(--line-soft);
}

/* ---------- alternating feature tiles ---------- */
.tiles-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line-soft); border:1px solid var(--line-soft); margin-top:2em; }
@media (max-width:900px){ .tiles-row{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .tiles-row{ grid-template-columns:1fr; } }
.tiles-row .t{ background:var(--surface); padding:1.7em 1.5em; }
.tiles-row .t.hi{ background:var(--brand); }
.tiles-row .t.hi h4, .tiles-row .t.hi p{ color:#fff; }
.tiles-row .t h4{ font-family:var(--font-display); font-weight:400; text-transform:uppercase; font-size:1.05rem; letter-spacing:.01em; margin-bottom:.5em; }
.tiles-row .t p{ font-size:.85rem; color:var(--text-dim); margin:0; }

/* ---------- big quote band ---------- */
.quote-band{ background:#000; padding-block:clamp(56px,8vw,90px); border-bottom:1px solid var(--line-soft); }
.quote-band .slot-tag{
  font-family:var(--font-mono); font-size:.62rem; letter-spacing:.1em; text-transform:uppercase; color:var(--text-faint);
  border:1px solid var(--line); border-radius:3px; padding:.3em .6em; display:inline-block; margin-bottom:1.3em;
}
.quote-band blockquote{
  margin:0; font-family:var(--font-display); font-weight:400; text-transform:uppercase;
  font-size:clamp(1.5rem,3.6vw,2.6rem); line-height:1.08; max-width:22ch;
}
.quote-band blockquote em{ font-style:normal; color:var(--brand); }
.quote-band .who{ display:flex; align-items:center; gap:.9em; margin-top:1.8em; font-family:var(--font-mono); font-size:.82rem; color:var(--text-dim); }
.quote-band .avatar{ width:42px; height:42px; border-radius:50%; background:var(--surface-2); border:1px solid var(--line); flex-shrink:0; overflow:hidden; display:flex; align-items:center; justify-content:center; }
.quote-band .avatar img{ width:78%; height:78%; object-fit:contain; }

/* ---------- FAQ accordion ---------- */
.faq-list{ display:flex; flex-direction:column; margin-top:1.6em; max-width:760px; }
.faq-item{ border-bottom:1px solid var(--line-soft); padding-block:1.1em; }
.faq-item summary{
  cursor:pointer; font-weight:600; font-size:.95rem; color:var(--text); list-style:none;
  display:flex; justify-content:space-between; align-items:center; gap:1em;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{
  content:''; width:11px; height:11px; flex-shrink:0;
  border-right:2px solid var(--brand); border-bottom:2px solid var(--brand);
  transform:rotate(45deg); transition:transform .25s ease; margin-top:-4px;
}
.faq-item[open] summary::after{ transform:rotate(-135deg); margin-top:4px; }
.faq-item p{ margin:.9em 0 0; color:var(--text-dim); font-size:.88rem; max-width:64ch; }

/* ---------- cross-sell ---------- */
.crosssell-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:1.6em; }
@media (max-width:800px){ .crosssell-grid{ grid-template-columns:1fr; } }
.crosssell-card{
  border:1px solid var(--line); border-radius:8px; padding:1.5em 1.6em; background:var(--surface-2);
  text-decoration:none; color:inherit; display:block; transition:border-color .2s ease, transform .2s ease;
}
.crosssell-card:hover{ border-color:var(--brand); transform:translateY(-4px); }
.crosssell-card h4{ font-family:var(--font-display); font-weight:400; text-transform:uppercase; font-size:1.15rem; }
.crosssell-card .p2{ font-family:var(--font-mono); font-size:.78rem; color:var(--brand); margin-top:.5em; }
.crosssell-card span.arrow{ display:block; margin-top:1em; color:var(--brand); font-weight:600; font-size:.85rem; }

/* ---------- leagues logo banner — shared across every program page ---------- */
.leagues-band{ text-align:center; }
.leagues-fixed-row{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:center;
  gap:clamp(28px,4vw,52px); margin-top:1.6em; padding-bottom:26px; border-bottom:1px solid var(--line-soft);
}
.marquee{ margin-top:26px; overflow:hidden; -webkit-mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent); mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent); }
.marquee-track{ display:flex; align-items:center; width:max-content; gap:clamp(14px,1.8vw,26px); animation:leagues-marquee 60s linear infinite; }
.marquee:hover .marquee-track{ animation-play-state:paused; }
@keyframes leagues-marquee{ from{ transform:translateX(0);} to{ transform:translateX(-50%);} }
.league-slot{ flex-shrink:0; height:clamp(46px,4.6vw,58px); display:flex; align-items:center; justify-content:center; }
.league-slot-lg{ height:clamp(78px,8vw,100px); }
.league-slot img{ height:100%; width:auto; max-width:150px; object-fit:contain; transition:transform .2s ease; }
.league-slot:hover img{ transform:translateY(-3px); }
/* phone only — shrink and tighten so the fixed row doesn't wrap so
   wide; desktop untouched */
@media (max-width:700px){
  .leagues-fixed-row{ gap:16px; margin-top:1.2em; padding-bottom:20px; }
  .league-slot{ height:32px; }
  .league-slot-lg{ height:52px; }
}
@media (min-width:900px){
  .league-slot{ height:clamp(58px,5.8vw,76px); }
  .league-slot-lg{ height:clamp(96px,9.6vw,122px); }
}
@media (prefers-reduced-motion:reduce){ .marquee-track{ animation:none; } }

/* ---------- numbered step breakdown — collapsible, so a long
   process reads as a compact list until someone actually wants the
   detail on one specific step, rather than everything expanded at
   once ---------- */
.step-list{ display:flex; flex-direction:column; margin-top:2em; }
.step-block{ border-top:1px solid var(--line-soft); padding-block:clamp(20px,2.8vw,28px); }
.step-list .step-block:first-child{ border-top:none; padding-top:0; }
.step-block > summary{
  display:grid; grid-template-columns:64px 1fr auto; align-items:center; gap:clamp(18px,3vw,32px);
  cursor:pointer; list-style:none;
}
.step-block > summary::-webkit-details-marker{ display:none; }
.step-block > summary::after{
  content:''; justify-self:end; width:12px; height:12px; flex-shrink:0;
  border-right:2px solid var(--brand); border-bottom:2px solid var(--brand);
  transform:rotate(45deg); transition:transform .25s ease; margin-top:-4px;
}
.step-block[open] > summary::after{ transform:rotate(-135deg); margin-top:4px; }
.step-num{
  font-family:var(--font-display); font-weight:400; font-size:2rem; line-height:1;
  color:var(--brand); border-left:3px solid var(--brand); padding-left:.5em;
}
.step-block > summary h3{
  font-family:var(--font-display); font-weight:400; text-transform:uppercase;
  font-size:clamp(1.15rem,2vw,1.4rem); letter-spacing:.01em; margin:0;
}
.step-body{ padding-left:calc(64px + clamp(18px,3vw,32px)); padding-top:1em; }
.step-body .step-note{
  font-family:var(--font-mono); font-size:.68rem; letter-spacing:.06em; text-transform:uppercase;
  color:var(--text-faint); margin-bottom:.9em; display:block;
}
.step-body ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:.6em; max-width:62ch; }
.step-body ul li{ display:flex; gap:.7em; font-size:.9rem; color:var(--text-dim); }
.step-body ul li::before{ content:''; width:6px; height:6px; margin-top:.5em; background:var(--brand); flex-shrink:0; }
@media (max-width:600px){
  .step-block > summary{ grid-template-columns:auto 1fr auto; }
  .step-num{ border-left:none; border-top:3px solid var(--brand); padding-left:0; padding-top:.3em; font-size:1.5rem; }
  .step-body{ padding-left:0; }
}

/* ---------- support / access band ---------- */
.support-band{ background:var(--surface); }
.chat-mock{ border:1px solid var(--line); border-radius:10px; background:var(--surface-2); overflow:hidden; }
.chat-mock .ch{ padding:.9em 1.1em; border-bottom:1px solid var(--line-soft); background:var(--surface-3); font-family:var(--font-mono); font-size:.7rem; letter-spacing:.05em; text-transform:uppercase; color:var(--text-dim); }
.chat-mock .cb{ padding:1.2em; display:flex; flex-direction:column; gap:.7em; }
.chat-mock .bubble{ max-width:78%; padding:.7em 1em; border-radius:14px; font-size:.85rem; }
.chat-mock .bubble.them{ background:var(--surface-3); color:var(--text-dim); align-self:flex-start; border-bottom-left-radius:3px; }
.chat-mock .bubble.me{ background:var(--brand); color:#fff; align-self:flex-end; border-bottom-right-radius:3px; }

/* ---------- real on-page forms (enquiry/application) — same system
   as the main site's consultation form, so a "Join Now"/"Enquire Now"
   button can scroll to a real form instead of just firing a mailto ---------- */
.btn-block{ width:100%; justify-content:center; }
.form-panel{ margin-top:clamp(46px,6vw,64px); border:1px solid var(--line); border-radius:8px; background:var(--surface-2); padding:clamp(26px,4vw,46px); text-align:left; }
.field-grid{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:640px){ .field-grid{ grid-template-columns:1fr; } }
.field{ display:flex; flex-direction:column; gap:.5em; }
.field.full{ grid-column:1 / -1; }
.field label{ font-family:var(--font-mono); font-size:.68rem; letter-spacing:.07em; text-transform:uppercase; color:var(--text-faint); }
.field input, .field select, .field textarea{
  background:var(--surface-3); border:1px solid var(--line); border-radius:4px; color:var(--text);
  font-family:var(--font-body); font-size:16px; padding:.85em 1em; outline:none;
  transition:border-color .15s ease; width:100%;
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--brand); }
.field textarea{ resize:vertical; min-height:96px; font-family:var(--font-body); }
.form-foot{ display:flex; flex-wrap:wrap; align-items:center; gap:16px; margin-top:1.6em; }
.form-hint{ font-size:.78rem; color:var(--text-faint); max-width:38ch; }
.form-status{ font-family:var(--font-mono); font-size:.78rem; color:var(--good); display:none; }
.form-status.show{ display:block; }
.phone-field{ display:flex; gap:8px; }
.phone-field select{ flex:0 0 auto; width:clamp(78px,20vw,100px); }
.phone-field input{ flex:1; min-width:0; }
.form-success{ margin-top:clamp(46px,6vw,64px); border:1px solid var(--brand); border-radius:8px; background:var(--surface-2); padding:clamp(30px,5vw,50px); text-align:center; }
.form-success h3{ font-family:var(--font-display); font-weight:400; text-transform:uppercase; font-size:clamp(1.3rem,2.4vw,1.7rem); margin-bottom:.5em; }
.form-success p{ color:var(--text-dim); font-size:.95rem; max-width:48ch; margin-inline:auto; }
