/* Strong Start Classes page. Loaded only on "/classes"; uses the brand tokens
   from app.css. Renders in the full-width ("bare") layout. */
.home { background: var(--ivory-soft); flex: 1 0 auto; width: 100%; overflow-x: clip; }
.home .wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; position: relative; }
.home .flash-wrap { padding-top: 16px; }
.home .flash-wrap .alert { margin: 0; }
.home img { max-width: 100%; height: auto; }
.btn-large { min-height: 56px; padding: .8rem 2rem; font-size: 1.1rem; }

/* Title */
.classes-page { position: relative; padding: 56px 0 72px; overflow: hidden; }
.classes-dots { position: absolute; right: -80px; top: -110px; width: 460px; max-width: none !important; opacity: .14; pointer-events: none; }
.classes-title { font-size: clamp(2.6rem, 6vw, 3.8rem); font-weight: 800; text-transform: uppercase; color: var(--navy); line-height: 1; margin: 0 0 22px; display: inline-block; }
.classes-title::after { content: ""; display: block; width: 72%; height: 7px; margin-top: 12px; border-radius: 6px; background: var(--orange); }
.classes-intro { font-size: 1.18rem; line-height: 1.6; max-width: 40rem; margin: 0 0 44px; }

/* Age-based programs: a progression ladder of cards */
.age-programs { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; position: relative; }
/* track joining the emblems, early movement → athletic development */
.age-programs::before { content: ""; position: absolute; left: 51px; top: 40px; bottom: 40px; width: 8px; border-radius: 8px;
  background: linear-gradient(180deg, var(--viking-teal), var(--deep-teal) 30%, var(--navy) 55%, var(--copper) 78%, var(--orange)); }
.age-program { --c: var(--deep-teal); --tint: color-mix(in srgb, var(--c) 7%, #fff); position: relative; display: grid; grid-template-columns: 110px 1fr; gap: 22px; align-items: start; }
.ap-badge { position: relative; display: grid; place-items: center; padding-top: 6px; }
.ap-badge img { width: 104px; height: 104px; padding: 12px; background: #fff; border-radius: 50%; border: 5px solid var(--c); box-shadow: var(--shadow); position: relative; }
.ap-step { position: absolute; top: 0; right: -2px; background: var(--orange); color: var(--navy); font: 800 .95rem/1 var(--font-display); letter-spacing: .04em; padding: 6px 7px 5px; border-radius: 8px; box-shadow: 0 2px 0 #b9581c; }
.ap-body { position: relative; overflow: hidden; background: var(--tint); border-radius: 18px; box-shadow: var(--shadow); padding: 24px 28px 22px; border-left: 7px solid var(--c); }
/* subtle mountain + dot accents in each card's corner */
.ap-body::before { content: ""; position: absolute; right: -40px; bottom: -34px; width: 260px; height: 130px; background: url(brand/peaks.png) center bottom / contain no-repeat; opacity: .10; pointer-events: none; }
.ap-body::after { content: ""; position: absolute; right: 18px; top: 16px; width: 54px; height: 30px; opacity: .35; pointer-events: none;
  background-image: radial-gradient(circle, var(--c) 2.5px, transparent 3px); background-size: 12px 12px; }
.ap-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 6px; padding-right: 60px; }
.age-program h2 { font-size: clamp(1.9rem, 3.4vw, 2.4rem); font-weight: 800; text-transform: uppercase; line-height: 1; margin: 0; color: var(--c-ink, var(--c)); }
.ap-age { display: inline-block; background: var(--c, var(--deep-teal)); color: #fff; font: 700 1.05rem/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; padding: 7px 11px 6px; border-radius: 7px; }
.ap-mode { font-size: .9rem; font-weight: 800; color: var(--navy); margin: 0 0 8px; }
.ap-focus { margin: 0 0 10px; max-width: 46rem; position: relative; }
.ap-body p { position: relative; }
.ap-link { position: relative; font-weight: 800; text-decoration: none; color: var(--navy); border-bottom: 3px solid var(--orange); padding-bottom: 1px; }
.ap-link::after { content: " →"; }
.ap-link:hover { color: var(--deep-teal); }
.p1 { --c: var(--viking-teal); }
.p2 { --c: var(--deep-teal); }
.p3 { --c: var(--navy); }
.p4 { --c: var(--copper); --c-ink: #8c5534; }
.p5 { --c: var(--orange); --c-ink: #b9581c; }
.p4 .ap-age, .p5 .ap-age { color: var(--navy); }

/* Featured program (Limitless Movers): soft teal band, Coach Viking beside the description */
.featured-program { position: relative; overflow: hidden; background: #dcefee; padding: 72px 0 84px; border-top: 6px solid var(--deep-teal); }
.fp-dots { position: absolute; left: -90px; top: -100px; width: 420px; max-width: none !important; opacity: .16; pointer-events: none; }
.fp-peaks { position: absolute; right: -120px; bottom: -80px; width: 760px; max-width: none !important; opacity: .13; pointer-events: none; }
.fp-grid { display: grid; grid-template-columns: .8fr 1.2fr; grid-template-areas: "art head" "art body"; column-gap: 40px; align-items: start; }
.fp-head { grid-area: head; }
.fp-art { grid-area: art; align-self: center; }
.fp-body { grid-area: body; }
.fp-art { position: relative; display: grid; place-items: center; }
.fp-art::before { content: ""; position: absolute; width: 86%; aspect-ratio: 1; border-radius: 50%; background: #fff; opacity: .7; top: 8%; box-shadow: 0 0 0 14px rgba(23,100,106,.10); }
.fp-coach { position: relative; width: min(100%, 360px); filter: drop-shadow(0 10px 18px rgba(9,43,57,.18)); }
.fp-body { position: relative; }
.fp-eyebrow { display: inline-block; font: 800 .95rem/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--navy); background: var(--orange); padding: 7px 12px 6px; border-radius: 6px; margin: 0 0 14px; }
.fp-name { font-size: clamp(2.6rem, 5.4vw, 3.6rem); font-weight: 800; text-transform: uppercase; line-height: .95; margin: 0 0 6px; color: var(--navy); }
.fp-subtitle { font: 700 clamp(1.3rem, 2.4vw, 1.6rem)/1.15 var(--font-display); color: var(--deep-teal); text-transform: uppercase; letter-spacing: .03em; margin: 0 0 12px; }
.fp-meta { margin: 0 0 16px; }
.fp-meta .ap-age { --c: var(--deep-teal); }
.fp-tagline { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.45rem, 2.6vw, 1.8rem); line-height: 1.15; color: var(--navy); margin: 0 0 16px; padding-left: 14px; border-left: 6px solid var(--orange); }
.fp-desc p { font-size: 1.06rem; max-width: 40rem; }
.fp-expect { background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 20px 24px 14px; margin: 18px 0 22px; border-top: 5px solid var(--deep-teal); }
.fp-expect h3 { font-size: 1.5rem; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; }
.fp-expect ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fp-expect li { position: relative; padding-left: 28px; }
.fp-expect li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 13px; height: 13px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(228,124,53,.22); }
.fp-actions { display: flex; flex-wrap: wrap; gap: 12px 16px; }
.fp-actions .btn { min-height: 50px; padding: .6rem 1.4rem; }

/* Closing */
.classes-close { padding: 56px 0 72px; text-align: center; }
.classes-close p { max-width: 44rem; margin: 0 auto 14px; font-size: 1.08rem; }
.classes-close .btn { margin-top: 10px; }

@media (max-width: 860px) {
  .fp-grid { grid-template-columns: 1fr; grid-template-areas: "head" "art" "body"; row-gap: 8px; }
  .fp-art { width: 180px; margin: 0 auto 8px; }
  .featured-program { padding: 48px 0 64px; }
}
@media (max-width: 600px) {
  .home .wrap { padding: 0 16px; }
  .classes-page { padding: 36px 0 52px; }
  .age-programs::before { left: 31px; }
  .age-program { grid-template-columns: 70px 1fr; gap: 12px; }
  .ap-badge img { width: 68px; height: 68px; padding: 8px; border-width: 4px; }
  .ap-step { font-size: .8rem; padding: 4px 5px 3px; right: -4px; }
  .ap-body { padding: 18px 16px 16px; border-left-width: 5px; }
  .ap-head { padding-right: 0; }
  .ap-body::after { display: none; }
  .fp-expect { padding: 18px 16px 10px; }
  .fp-actions .btn { width: 100%; }
}
