/* ============================================================ */
/* MAISON FORGE · MOBILE SYSTEM                                  */
/* Loaded LAST on every page — owns the phone experience.        */
/* One body size, one title scale, one section rhythm.           */
/* ============================================================ */

@media (max-width: 768px) {

  /* ── 1 · READABLE BODY — one paragraph size, no micro type ── */
  p:not(.hero-tagline):not(.hpq-line):not(.lum-brief),
  .body-text, .intro-text, .page-sub, .qa-answer, .qa-answer p,
  .tp-bio, .p-bio, .group-intro, .profile-body,
  .lum-card-summary, .lum-card-tagline,
  .tier-tagline, .tier-desc, .one-day-body p, .close-body,
  .sus-qa-answer, .note-text, .vb-answer {
    font-size: 17px !important;
    line-height: 1.75 !important;
  }
  .lum-brief, .profile-bullets li { font-size: 16px !important; line-height: 1.7 !important; }
  .subline { font-size: 17px !important; line-height: 1.65 !important; }

  /* ── 2 · ONE TITLE SCALE — dramatic but never clipped ── */
  h1.display-xl, h1.page-headline, h1.headline-style,
  h2.headline, .team-title, .diff-title {
    font-size: clamp(34px, 10vw, 46px) !important;
    line-height: 1.14 !important;
    letter-spacing: 0.012em !important;
    white-space: normal !important;
    max-width: none !important;
  }
  .subheading { font-size: clamp(24px, 7vw, 32px) !important; }
  .eyebrow-label { font-size: 11px !important; margin-bottom: 28px !important; }
  .vb-caption .vbc-title { font-size: clamp(20px, 6vw, 26px) !important; }
  .vb-caption .vbc-cred { font-size: 14px !important; }
  .hero-pull-quote .hpq-line, .hpq-line { font-size: clamp(19px, 5.6vw, 25px) !important; line-height: 1.45 !important; }

  /* ── 3 · SECTION RHYTHM — breathes, never yawns ── */
  .section, .gs-section, .sus-section { padding: 56px 22px !important; }
  .page-hero, #gs-hero, #sus-hero, #about-hero, #board-hero { padding: 116px 22px 44px !important; }
  .page-content { padding: 48px 22px 64px !important; }
  .section-ornament { margin-top: 24px !important; }
  .intro-text { margin-bottom: 22px !important; }
  #luminaries .one-day-block { margin-top: 88px !important; }
  .one-day-block .one-day-title { letter-spacing: 0.3em !important; }

  /* constellation interlude hugs its drawing */
  .cass-wrap { height: 110px !important; margin-top: 8px !important; }
  .meet-lums { margin-top: 20px !important; }
  .meet-lums .headline { margin-bottom: 20px !important; }
  .meet-lums-intro { margin-top: 20px !important; margin-bottom: 36px !important; }

  /* ── 4 · VOCALIZERS — bold, not devouring ── */
  .vb-canvas { height: 400px !important; }
  .founder-band { padding: 36px 0 56px !important; }
  .hero-subline { font-size: 16px !important; margin-bottom: 14px !important; padding: 0 20px !important; }
  .voice-band { padding: 20px 0 !important; }
  .vb-caption { margin-top: -18px !important; }

  /* ── 5 · DECOR SCALED TO THE FRAME ── */
  .diff-spotlight { width: 300px !important; height: 300px !important; }
  .page-ball { width: 200px !important; height: 200px !important; }

  /* ── 6 · CARDS AND GRIDS — one editorial column ── */
  .people-grid { gap: 48px 24px !important; }
  .pricing-grid, .tier-card { min-width: 0; }
  .lum-profile-inner { padding: 0 22px 44px !important; }

  /* team portraits: column flex flips the basis axis; pin the true size */
  .tp-photo { flex-basis: auto !important; width: 260px !important; height: 325px !important; }
  /* tracked-caps labels: readable, not micro */
  .read-more, .cta-secondary, .lum-profile-link, .board-link { font-size: 12.5px !important; }

  /* ── INTERLUDES: constellations off on phones, slim gradient bands keep the color story ── */
  .cass-wrap { display: none !important; }
  #vela, #lyra, .vela-wrap svg, .lyra-wrap svg { display: none !important; }
  .vela-wrap, .lyra-wrap { height: 130px !important; }
  .constellation-panel, .corona-wrap, .aquila-wrap, .bota-wrap { height: 110px !important; min-height: 0 !important; }
  .sect-fade { height: 56px !important; }

  /* ── SECTION RUNWAYS COLLAPSED ── */
  .section { padding: 44px 22px !important; }
  #luminaries { padding-bottom: 20px !important; }
  #luminaries-cont { padding-top: 20px !important; }
  #luminaries .one-day-block { margin-top: 56px !important; }
  .founder-band { padding: 20px 0 36px !important; }
  .hpq-inner { margin-top: 34px !important; }
  .meet-lums { margin-top: 8px !important; }

  /* ── COLD OPEN: the city line breathes off the edges ── */
  .city { font-size: 12px !important; letter-spacing: 0.28em !important; padding: 0 28px !important; line-height: 1.9 !important; }

  /* ── FOUNDER BAND SUBLINE: 50% bigger, balanced lines ── */
  .hero-subline {
    font-size: 24px !important;
    line-height: 1.5 !important;
    white-space: normal !important;
    text-wrap: balance;
    padding: 0 26px !important;
    margin-bottom: 18px !important;
  }

  /* ── CAPTIONS: the name takes its own line ── */
  .vbc-name { display: block; }

  /* ── HEROES: no enforced viewport-height voids on phones ── */
  .page-hero, #gs-hero, #sus-hero, #about-hero, #board-hero {
    min-height: 0 !important;
    padding: 104px 22px 10px !important;
  }
  .section, .gs-section, .sus-section { padding: 24px 22px !important; }
  .section-ornament { margin-top: 10px !important; }
  .subheading { margin-top: 18px !important; margin-bottom: 14px !important; }
  .seats-grid, .tp-list { margin-top: 20px !important; }
  .founder-grid { gap: 28px !important; }
  .board-note { padding: 20px 22px 56px !important; }
  .gs-closing { padding: 8px 22px 56px !important; }
  .sus-closing { padding: 8px 22px 56px !important; }

  /* ── ORNAMENT DIAMONDS OFF ON PHONES; the space they held collapses with them ── */
  .section-ornament, .page-close .ornament, .seat-star { display: none !important; }
  h1.display-xl, h1.page-headline, h1.headline-style { margin-bottom: 16px !important; }
  .subheading { margin-top: 8px !important; }
  .seats-grid, .tp-list { margin-top: 12px !important; }
  .board-note { padding-top: 8px !important; }

  /* ── LUMINARY CARDS: one summarizing sentence on phones ── */
  .lum-more { display: none !important; }

  /* ── WHO ARE OUR LUMINARIES: double size, centered in its zone ── */
  .meet-lums { margin: 44px 0 !important; text-align: center !important; }
  .meet-lums .headline { font-size: clamp(58px, 18.5vw, 76px) !important; line-height: 1.05 !important; }
  #luminaries-cont { padding-top: 28px !important; }

  /* ── FOUNDER SUBLINE: 30% bigger, sits higher ── */
  .hero-subline { font-size: 31px !important; line-height: 1.45 !important; }
  .founder-band { padding: 10px 0 32px !important; }

  /* ── GRADIENT INTERLUDES: tighter still ── */
  .vela-wrap, .lyra-wrap { height: 90px !important; }
  .sect-fade { height: 32px !important; }

  /* pricing: tier grid hands off to the CTA without the desktop runway */
  .pricing-grid { margin-bottom: 28px !important; }
  .cta-inline-wrap { padding: 20px 0 !important; }

  /* founder quote: off the edges, bigger, more vertical air */
  .hpq-inner { max-width: 84vw !important; }
  .hero-pull-quote .hpq-line, .hpq-line { font-size: clamp(21px, 6.2vw, 27px) !important; line-height: 1.62 !important; margin-bottom: 12px !important; }

  /* captions in Poppins; name on its own line; creds padded and wrapped */
  .vb-caption .vbc-title {
    font-family: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    font-style: normal !important; font-weight: 300 !important;
    font-size: 19px !important; letter-spacing: 0.05em !important;
  }
  .vbc-name { display: block; font-weight: 400; margin-top: 2px; }
  .vb-caption .vbc-cred { padding: 0 24px !important; }
  .vbc-cred-break { display: block; }

  /* who are our luminaries: 10% smaller */
  .meet-lums .headline { font-size: clamp(44px, 14.1vw, 58px) !important; }

  /* vocalizers: shorter canvas removes the dead zone around the circle */
  .vb-canvas { height: 340px !important; }
  .meet-lums-intro { margin-top: 0 !important; }
  .hero-subline { margin-bottom: 6px !important; }

  /* luminary cards: content fills the card, no enforced height */
  .lum-card[style] { min-height: 0 !important; }

  /* sustainability -> team: one clean 120px fade instead of stacked bands */
  .lyra-wrap { display: none !important; }
  #sustainability + .sect-fade { height: 120px !important; background: linear-gradient(to bottom, #ff4f2d 0%, #6d2452 55%, #0c1562 100%) !important; }
  .lyra-wrap + .sect-fade { display: none !important; }
  #sustainability div.reveal { margin-top: 16px !important; }

  /* board page: portrait rows sit close, no void before the last member */
  .tp-person { margin: 0 auto 36px !important; gap: 20px !important; }

  /* cold-open Van Gogh quote: dramatic on phones */
  #loader .quote {
    font-size: 30px !important;
    line-height: 1.8 !important;
    font-style: italic !important;
    letter-spacing: 0.02em !important;
    padding: 0 28px !important;
    margin-bottom: 40px !important;
  }
  #loader .attribution {
    font-size: 14px !important;
    letter-spacing: 0.3em !important;
    text-transform: uppercase !important;
  }

  /* outrank index's own mobile wrapper rules (display:block !important) */
  div.lyra-wrap { display: none !important; }
  div.vela-wrap { height: 90px !important; }
  div.constellation-panel, div.corona-wrap, div.aquila-wrap, div.bota-wrap { height: 110px !important; }

  /* glow shader canvas scales with the bigger mobile circle */

  /* twinkle stars: calm on phones — half as many, smaller, slower, softer */
  .hpq-stars circle:nth-child(2n) { display: none !important; }
  .hpq-stars circle {
    r: 1.5px;
    animation-duration: calc(var(--dur, 6s) * 1.4) !important;
  }

  /* ── 7 · FOOTER ── */
  footer { padding: 56px 22px 40px !important; }
  footer .descriptor { margin-bottom: 36px !important; }
  footer .brand-line { margin: 0 auto 40px !important; }
  footer .meta-lines { margin-bottom: 32px !important; }
  .page-footer { padding: 32px 22px !important; }
}

@media (max-width: 768px) {
  @keyframes hpq-twinkle {
    0%, 100% { opacity: 0.12; }
    50% { opacity: 0.3; }
  }
}

/* phones proper: single column card grids */
@media (max-width: 560px) {
  .lum-grid { grid-template-columns: 1fr !important; }
  .team-grid { grid-template-columns: 1fr !important; }
  .cta-button { display: block !important; text-align: center !important; }
}
