/* k12-how.css
   Copyright © 2026 LexPro. All rights reserved.

   How it works on Carline's site (sites/k12/pages/how/), from
   app/lib/web/site/sections/how/. */

/* ---- The cover's stage (how_hero.dart _Stage) ---- */
.how-cover { --visual-h: 460px; --visual-h-phone: 380px; }
.how-stage { position: absolute; inset: 0; container-type: size; --sign: clamp(150px, 40cqw, 250px); --sign-top: 10cqh; }
.how-stage__photo { position: absolute; left: calc(var(--sign) * .62); top: 0; right: 0; bottom: 8cqh; border-radius: 28px 0 0 28px; overflow: hidden; }
.how-stage__pole { position: absolute; left: calc(var(--sign) / 2 - 6px); top: calc(var(--sign-top) + 40px); bottom: 6cqh; width: 12px; border-radius: 6px 6px 0 0; background: var(--ed-navy-deep); }
.how-stage__sign { position: absolute; left: 0; top: var(--sign-top); width: var(--sign); }
.how-stage__sign img { width: 100%; height: auto; }
.how-stage__float { position: absolute; right: 32px; top: 56cqh; max-width: calc(100cqw - var(--sign) - 24px); }
@media (max-width: 600px) {
  .how-stage { --sign-top: 4cqh; }
  .how-stage__photo { bottom: 0; }
  .how-stage__float { right: 12px; top: 50cqh; }
}

/* ---- The afternoon (how_timeline.dart) ---- */
.how-ledger { margin-top: 80px; border-bottom: 1px solid var(--ink-rule); }
.how-ledger--later { margin-top: 0; }
.how-median__figure {
  font-family: var(--font-numeral); font-size: 56px; line-height: .9; font-weight: 800; letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums; color: var(--ed-ink);
}
.how-median__label { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--ed-muted); }
@media (max-width: 900px) { .how-ledger { margin-top: 48px; } .how-ledger--later { margin-top: 0; } }

/* The bell on coral (_BellSpread): Room 104's board drawn big, cut off at the edge. */
.how-bell { background: var(--ed-coral); padding: var(--ed-band-pad) 0; color: var(--ed-navy-deep); }
.how-bell__numeral { font-size: clamp(72px, 7vw, 112px); -webkit-text-stroke-color: var(--ed-navy-deep); --ed-ground: var(--ed-coral); }
.how-bell__kicker { margin-top: 18px; }
.how-bell__title { margin-top: 18px; font-size: clamp(40px, 5.4vw, 80px); line-height: .98; font-weight: 800; letter-spacing: -0.045em; }
.how-bell__rule { margin: 30px 0 20px; }
.how-bell__board img { width: 100%; height: auto; }
@media (max-width: 900px) {
  .how-bell__numeral { font-size: 64px; }
  .how-bell__rule { margin-top: 22px; }
  .how-bell__board { margin-right: 20px; }
}

/* ---- Who does what (how_roles.dart) ---- */
.how-roles__title { margin-top: 30px; font-size: clamp(44px, 6.4vw, 96px); line-height: .94; font-weight: 800; letter-spacing: -0.045em; color: var(--ed-ink); }
.how-roles__list { border-top: 2px solid var(--ed-ink); border-bottom: 1px solid var(--ed-rule); }
.how-role { display: flex; align-items: flex-start; gap: 26px; padding: 30px 0; }
.how-role + .how-role { border-top: 1px solid var(--ed-rule); }
.how-role__ring { flex: none; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 3px solid var(--ed-coral); border-radius: 50%; color: var(--ed-navy); }
.how-role__title { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; color: var(--ed-ink); }
.how-role__body { margin-top: 10px; font-size: 18px; line-height: 1.6; font-weight: 400; }
@media (max-width: 900px) {
  .how-roles__title { margin-top: 20px; }
  .how-role { gap: 18px; padding: 24px 0; }
}

/* ---- Questions from the curb (how_questions.dart) ---- */
.how-questions { margin-top: 64px; }
@media (max-width: 900px) { .how-questions { margin-top: 40px; } }
