/* ────────────────────────────────────────────────────────────────────────
   DME Academy — Cheer Sports program page (v2 design language).

   Sibling of golf.css. Every colour, font and spacing value comes from the
   v2 tokens already declared in main.css — nothing new enters the palette.

   Class prefix is .c- (golf.css uses .g-). The two sheets duplicate a fair
   amount of generic long-form structure; that was a deliberate call to avoid
   editing golf.css while the golf page is live on dmev2. If a THIRD long-form
   sport page gets built, extract the shared pieces into one sheet rather than
   copying a third time.

   Reveal-on-scroll is an enhancement, never a gate: content is visible by
   default and only a browser that has actually started the observer opts into
   hiding, via .dme-reveal on <html>. A dropped script costs the animation,
   never the page. (Learned the hard way on golf — see work-log 2026-09-14.)
   ──────────────────────────────────────────────────────────────────────── */

.c-rise { opacity: 1; transform: none; }
.dme-reveal .c-rise {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
}
.dme-reveal .c-rise.is-in { opacity: 1; transform: none; }
.dme-reveal .c-rise[data-d="1"] { transition-delay: .08s; }
.dme-reveal .c-rise[data-d="2"] { transition-delay: .16s; }
.dme-reveal .c-rise[data-d="3"] { transition-delay: .24s; }
.dme-reveal .c-rise[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .c-rise, .dme-reveal .c-rise { opacity: 1; transform: none; transition: none; }
}

/* ── HERO ────────────────────────────────────────────────────────────── */
.c-hero {
  position: relative; min-height: 620px;
  display: flex; align-items: flex-end;
  padding: 124px 80px 56px; overflow: hidden;
  border-bottom: 4px solid var(--gold);
  background: var(--navy-dark);
}
.c-hero-media { position: absolute; inset: 0; }
.c-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 44%; }
/* The cheer frames are bright, evenly-lit gym interiors — they need a heavier
   scrim than golf's darker course photography to hold white text. */
.c-hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(0,40,90,.94) 0%, rgba(0,40,90,.82) 36%, rgba(0,40,90,.26) 66%, rgba(0,40,90,.12) 84%),
    linear-gradient(to top, rgba(0,20,46,.82) 0%, rgba(0,20,46,0) 46%);
}
.c-hero-inner { position: relative; z-index: 2; width: 100%; max-width: 1360px; }
.c-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-bright);
}
.c-hero-eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--gold-bright); }
.c-hero-h1 {
  font-family: var(--fh); font-weight: 800; color: #fff;
  font-size: clamp(50px, 7.4vw, 112px); line-height: .88;
  letter-spacing: -.015em; margin: 16px 0 0; text-transform: uppercase;
}
.c-hero-h1 em { font-style: normal; color: var(--gold-bright); display: block; }
.c-hero-sub {
  font-family: var(--fh); font-size: clamp(17px, 1.8vw, 25px); font-weight: 600;
  letter-spacing: .04em; color: rgba(255,255,255,.94); margin-top: 22px; text-transform: uppercase;
}
.c-hero-body {
  font-size: 16px; line-height: 1.75; color: rgba(255,255,255,.86);
  max-width: 540px; margin-top: 16px;
}
.c-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.c-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 30px; border-radius: 4px;
  font-size: 13px; font-weight: 700; letter-spacing: .07em;
  transition: filter .15s, background .15s, border-color .15s, color .15s;
}
.c-btn-gold { background: var(--gold-bright); color: var(--ink); }
.c-btn-gold:hover { filter: brightness(1.09); }
.c-btn-ghost { border: 1.5px solid rgba(255,255,255,.4); color: #fff; font-weight: 600; }
.c-btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.c-btn-navy { background: var(--navy); color: #fff; }
.c-btn-navy:hover { background: var(--navy-mid); }

/* ── TRYOUT STRIP — the one confirmed date the program has ───────────── */
.c-datebar { background: var(--gold-bright); }
.c-datebar-in {
  max-width: 1360px; margin: 0 auto; padding: 16px 80px;
  display: flex; align-items: baseline; justify-content: center;
  gap: 8px 26px; flex-wrap: wrap; text-align: center;
}
.c-datebar-label {
  font-family: var(--fh); font-size: 11px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: rgba(0,0,0,.55);
}
.c-datebar-main {
  font-family: var(--fh); font-size: 21px; font-weight: 800;
  letter-spacing: .01em; text-transform: uppercase; color: var(--ink);
}
.c-datebar-when {
  font-size: 13px; font-weight: 600; letter-spacing: .04em; color: rgba(0,0,0,.7);
}

/* ── INTRO ───────────────────────────────────────────────────────────── */
.c-intro { display: grid; grid-template-columns: 1fr 0.92fr; gap: 72px; align-items: center; }
.c-lede {
  font-family: var(--fh); font-size: clamp(21px, 2vw, 27px); font-weight: 500;
  line-height: 1.35; color: var(--navy); margin-top: 20px;
}
.c-intro p + p { margin-top: 16px; }
.c-intro figure { margin: 0; }
.c-intro img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.c-figcap {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-light); margin-top: 10px; font-weight: 600;
}

/* ── PATHWAY CARDS — five destinations, each with a launch status ────── */
.c-paths { background: var(--smoke); }
.c-paths-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border); margin-top: 52px;
  border: 1px solid var(--border);
}
.c-card { background: #fff; display: flex; flex-direction: column; }
.c-card-media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--navy); }
.c-card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .65s cubic-bezier(.22,.61,.36,1);
}
.c-card:hover .c-card-media img { transform: scale(1.045); }
/* Four of the five pathways are not open yet, so status is load-bearing
   information, not decoration — it sits on the image, not buried in body copy. */
.c-status {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  font-family: var(--fh); font-size: 12px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: #fff; padding: 7px 14px 6px;
  background: var(--navy);
}
.c-status.is-live { background: #1B7F4B; }
.c-card-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.c-card-h {
  font-family: var(--fh); font-size: 22px; font-weight: 700;
  color: var(--navy); letter-spacing: .015em; line-height: 1.1;
}
.c-card-h::after {
  content: ''; display: block; width: 34px; height: 3px;
  background: var(--gold); margin: 12px 0 14px;
}
.c-card-text { font-size: 14px; line-height: 1.72; color: var(--ink-mid); flex: 1; }
.c-card-go {
  margin-top: 18px; font-size: 11.5px; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; color: var(--navy);
}
.c-card:hover .c-card-go { color: var(--gold-deep); }

/* ── DEVELOPMENT PILLARS ─────────────────────────────────────────────── */
.c-pillars {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1px; background: var(--border); margin-top: 52px;
  border: 1px solid var(--border);
}
.c-pillar { background: #fff; padding: 32px 24px 30px; }
.c-pillar-n { font-family: var(--fh); font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--gold-deep); }
.c-pillar h3 {
  font-family: var(--fh); font-size: 20px; font-weight: 700;
  color: var(--navy); line-height: 1.12; margin: 12px 0 10px;
}
.c-pillar p { font-size: 14px; line-height: 1.7; color: var(--ink-mid); }

/* ── SPLIT (photo + copy), reversible ────────────────────────────────── */
.c-split { display: grid; grid-template-columns: 0.92fr 1fr; align-items: stretch; }
.c-split-media { position: relative; min-height: 560px; background: var(--navy); }
.c-split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.c-split-copy { padding: 88px 80px; display: flex; flex-direction: column; justify-content: center; }
.c-split--flip .c-split-media { order: 2; }
.c-split--smoke { background: var(--smoke); }

/* ── DUO — two tall cards ────────────────────────────────────────────── */
.c-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 52px; }
.c-duo-card { position: relative; overflow: hidden; min-height: 520px; display: flex; align-items: flex-end; }
.c-duo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* fixed-height box + object-fit centre-crops a standing stunt's head off */
.c-duo-card--top img { object-position: 50% 16%; }
.c-duo-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,20,46,.94) 0%, rgba(0,20,46,.55) 44%, rgba(0,20,46,.08) 78%);
}
.c-duo-body { position: relative; z-index: 2; padding: 36px 34px 34px; }
.c-duo-kicker { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-bright); }
.c-duo-h {
  font-family: var(--fh); font-size: 32px; font-weight: 800; color: #fff;
  line-height: 1.05; margin: 10px 0 12px; text-transform: uppercase; letter-spacing: .01em;
}
.c-duo-t { font-size: 14.5px; line-height: 1.72; color: rgba(255,255,255,.82); max-width: 400px; }

/* ── COACH PANEL ─────────────────────────────────────────────────────────
   CHEER-13 (a Jerry Sasser portrait) is specified in Greg's photography plan
   but was not in the delivered package, so this runs typographic rather than
   as a photo split. Swap to .c-split when the portrait arrives. */
.c-coach { background: var(--navy-dark); position: relative; overflow: hidden; }
.c-coach::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, var(--navy-dark) 0%, var(--navy) 62%, var(--navy-mid) 100%);
  opacity: .96;
}
.c-coach > * { position: relative; z-index: 2; }
.c-coach-grid { display: grid; grid-template-columns: 1fr 0.8fr; gap: 64px; align-items: center; margin-top: 8px; }
.c-coach-stat { font-family: var(--fh); font-size: 92px; font-weight: 800; color: var(--gold-bright); line-height: .9; }
.c-coach-stat span {
  display: block; font-size: 13px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(255,255,255,.66); margin-top: 12px;
}
.c-creds { list-style: none; display: grid; gap: 11px; margin-top: 30px; }
.c-creds li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: rgba(255,255,255,.88); line-height: 1.5; }
.c-creds li::before { content: ''; flex: 0 0 auto; width: 7px; height: 7px; margin-top: 8px; background: var(--gold); transform: rotate(45deg); }

/* ── FULL-BLEED BAND ─────────────────────────────────────────────────── */
.c-band { position: relative; min-height: 600px; display: flex; align-items: center; overflow: hidden; }
.c-band-media { position: absolute; inset: 0; }
.c-band-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; }
.c-band-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(260deg, rgba(0,40,90,.95) 0%, rgba(0,40,90,.86) 38%, rgba(0,40,90,.3) 70%, rgba(0,40,90,.12) 88%);
}
.c-band-inner { position: relative; z-index: 2; margin-left: auto; width: min(640px, 100%); padding: 88px 80px; }
.c-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 28px; }
.c-facts div {
  padding: 13px 0; border-top: 1px solid rgba(255,255,255,.2);
  font-family: var(--fh); font-size: 16px; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,.9);
}
.c-facts div:nth-child(odd) { padding-right: 20px; }

/* ── FINAL CTA ───────────────────────────────────────────────────────── */
.c-final { display: grid; grid-template-columns: 0.8fr 1fr; background: var(--navy-dark); }
.c-final-media { position: relative; min-height: 600px; }
.c-final-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.c-final-copy {
  padding: 96px 80px; display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(130deg, var(--navy-dark) 0%, var(--navy) 72%, var(--navy-mid) 100%);
}
.c-final-h {
  font-family: var(--fh); font-size: clamp(38px, 4.4vw, 62px); font-weight: 800;
  color: #fff; line-height: .98; text-transform: uppercase;
}
.c-final-h span { color: var(--gold-bright); }
.c-final-t { font-size: 16px; line-height: 1.75; color: rgba(255,255,255,.74); margin-top: 20px; max-width: 460px; }

/* ── Carried over from golf.css ──────────────────────────────────────────
   main.css hides .nav-utils' children below 1240px but leaves the container
   in flow, so its border-left paints a stray hairline on every v2 page. Fixed
   here too; the real fix still belongs in main.css. */
@media (max-width: 1240px) {
  .nav-utils { display: none; }
}

/* ── RESPONSIVE ──────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .c-paths-grid { grid-template-columns: repeat(2, 1fr); }
  .c-pillars { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1000px) {
  .c-hero { padding: 120px 44px 48px; min-height: 540px; }
  .c-datebar-in { padding: 14px 44px; }
  .c-intro { grid-template-columns: 1fr; gap: 44px; }
  .c-split { grid-template-columns: 1fr; }
  .c-split--flip .c-split-media { order: 0; }
  .c-split-media { min-height: 380px; }
  .c-split-copy { padding: 60px 44px; }
  .c-band-inner { padding: 72px 44px; width: 100%; }
  .c-band-scrim { background: linear-gradient(to top, rgba(0,40,90,.95) 6%, rgba(0,40,90,.74) 52%, rgba(0,40,90,.4) 100%); }
  .c-duo { grid-template-columns: 1fr; }
  .c-duo-card { min-height: 420px; }
  .c-coach-grid { grid-template-columns: 1fr; gap: 34px; }
  .c-final { grid-template-columns: 1fr; }
  .c-final-media { min-height: 420px; }
  .c-final-copy { padding: 64px 44px; }
}
@media (max-width: 720px) {
  .c-hero { padding: 104px 22px 36px; min-height: 500px; }
  .c-datebar-in { padding: 14px 22px; }
  .c-datebar-main { font-size: 17px; }
  .c-paths-grid, .c-pillars, .c-facts { grid-template-columns: 1fr; }
  .c-split-copy, .c-band-inner, .c-final-copy { padding: 52px 22px; }
  .c-duo-body { padding: 26px 22px 24px; }
  .c-duo-h { font-size: 27px; }
  .c-coach-stat { font-size: 68px; }
}

/* ── CONNECT WITH OUR TEAM ───────────────────────────────────────────────
   The shared HubSpot form every DME sport page uses. It renders inside a
   cross-origin iframe, so its field styling comes from HubSpot's own form
   config — which is why it matches the other sport pages for free, and why
   it cannot be restyled from here. Don't try; you can't reach into the frame.
   ──────────────────────────────────────────────────────────────────────── */
.c-connect { background: var(--smoke); }
.c-connect-box {
  position: relative; overflow: hidden;
  background: var(--navy-dark); margin-top: 46px;
  padding: 54px 48px 46px;
}
.c-connect-box::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, var(--navy-dark) 0%, var(--navy) 62%, var(--navy-mid) 100%);
  opacity: .96;
}
.c-connect-box > * { position: relative; z-index: 2; }
.c-connect-kicker {
  font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-bright); text-align: center;
}
.c-connect-h {
  font-family: var(--fh); font-size: clamp(34px, 3.6vw, 52px); font-weight: 800;
  color: #fff; line-height: 1; text-transform: uppercase; text-align: center;
  margin: 10px 0 6px;
}
.c-connect-sub {
  font-family: var(--fh); font-size: 17px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.72); text-align: center;
}
.c-connect-form { max-width: 980px; margin: 32px auto 0; min-height: 420px; }
.c-connect-form iframe { width: 100% !important; border: 0; }
@media (max-width: 720px) {
  .c-connect-box { padding: 36px 20px 32px; }
  .c-connect-sub { font-size: 14px; }
}

/* Coach photo (Greg's CHEER-13, Oct 22 2026) */
.c-coach-grid.has-photo { grid-template-columns: .8fr 1fr .8fr; gap: 48px; }
.c-coach-photo { margin: 0; border-radius: 6px; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.35); border-top: 3px solid var(--gold-bright); }
.c-coach-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 1180px) { .c-coach-grid.has-photo { grid-template-columns: .9fr 1.1fr; } .c-coach-grid.has-photo > div:last-child { grid-column: 1 / -1; } }
@media (max-width: 760px) { .c-coach-grid.has-photo { grid-template-columns: 1fr; } .c-coach-photo { max-width: 420px; } }
