/* ============================================================================
   WFEMA — site.css
   Page-specific layout for the public marketing & information site.
   Reuses the shared "Heritage Sovereign" tokens & components from wfema.css.
   NEVER redefines brand colours or fonts — only references var(--token).
   Sections handled here: nav, hero, scroll/load motion, pillars, the gap,
   the how-it-works ladder, workshop cards on green, the four-door CTA band,
   mentors, vision, FAQ accordion, footer.
   ============================================================================ */

/* ----------------------------------------------------------------------------
   0. PROGRESSIVE ENHANCEMENT + MOTION SAFETY
   Reveals are only hidden when JS is present (html.js). Without JS, everything
   shows. Under prefers-reduced-motion, nothing animates and nothing stays hidden.
   ---------------------------------------------------------------------------- */
[id] { scroll-margin-top: 96px; }

.reveal { opacity: 1; }
html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
html.js .reveal.is-visible { opacity: 1; transform: none; }
html.js .reveal[data-delay="1"] { transition-delay: .08s; }
html.js .reveal[data-delay="2"] { transition-delay: .16s; }
html.js .reveal[data-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal,
  html.js .hero-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
  html.js .hero-glow,
  html.js .hero-scroll i,
  .hero .crown::after,
  .door .crown::after { animation: none !important; }
  .hero-board { transform: none !important; }
  html.js .ladder::after { transform: scaleY(1) !important; }
  html.js .vision-quote:not(.is-visible) .text-gold { background-size: 100% 2px !important; }
  html.js .faq-a,
  html.js .faq-a > div,
  .wk-card, .wk-card::after, .wk-card__code,
  .door, .door__verb::after { transition: none !important; }
}

/* Print + static rendering: nothing may depend on JS animation state.
   Forces every reveal visible, unpins the nav, opens the FAQ, and
   completes the ladder rail so a printed page reads in full. */
@media print {
  html.js .reveal,
  html.js .hero-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
  .site-nav { position: static !important; background: var(--green); }
  .skip-link, .hero-scroll, .nav-toggle, .nav-menu { display: none !important; }
  .hero { min-height: auto; padding-block: 4rem 3rem; }
  .site-footer { padding-block: 3rem 2rem; }
  .footer-foot { margin-top: 1.5rem; }
  html.js .hero-glow { animation: none !important; }
  .hero-board { transform: none !important; }
  html.js .ladder::after { transform: scaleY(1) !important; }
  html.js .vision-quote .text-gold { background-size: 100% 2px !important; }
  html.js .faq-a { grid-template-rows: 1fr !important; }
  html.js .faq-a > div { visibility: visible !important; opacity: 1 !important; transform: none !important; }
}

/* ----------------------------------------------------------------------------
   1. SKIP LINK
   ---------------------------------------------------------------------------- */
.skip-link {
  position: fixed; left: .75rem; top: -4rem; z-index: 2000;
  background: var(--gold); color: var(--ink);
  font-family: var(--sans); font-weight: 600; font-size: .85rem;
  padding: .6em 1.1em; border-radius: var(--r-sm);
  transition: top .2s ease;
}
.skip-link:focus { top: .75rem; }
main[tabindex="-1"]:focus { outline: none; }

/* ----------------------------------------------------------------------------
   2. NAV  — transparent over the green hero, parchment bar on scroll
   ---------------------------------------------------------------------------- */
.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem clamp(1.25rem, 5vw, 3.75rem);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.site-nav.scrolled {
  background: rgba(244, 240, 230, .92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--rule-gold-soft);
  box-shadow: 0 1px 30px rgba(6, 36, 27, .08);
  padding-block: .65rem;
}

/* Brand lockup */
.nav-brand { display: inline-flex; align-items: center; gap: .7rem; }
.nav-brand .crown { width: 30px; flex: 0 0 auto; }
.nav-word {
  display: flex; flex-direction: column; line-height: 1.05;
}
.nav-word b {
  font-family: var(--serif); font-weight: 500; font-size: 1.18rem;
  letter-spacing: var(--track-wordmark); color: var(--parchment);
  transition: color .3s ease;
}
.nav-word small {
  font-family: var(--sans); font-weight: 600; font-size: .56rem;
  letter-spacing: var(--track-eyebrow); text-transform: uppercase;
  color: var(--gold); margin-top: .18rem;
}
.site-nav.scrolled .nav-word b { color: var(--headline-ink); }

/* Menu (links + CTA) */
.nav-menu { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.1rem); }
.nav-links {
  display: flex; align-items: center; gap: clamp(1rem, 2.3vw, 1.9rem);
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  font-family: var(--sans); font-weight: 600; font-size: .8rem;
  letter-spacing: .04em; color: var(--on-green);
  position: relative; padding: .25rem 0; white-space: nowrap;
  transition: color .25s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px;
  width: 0; background: var(--gold); transition: width .25s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-links a.is-active { color: #fff; }
.nav-links a.is-active::after { width: 100%; }
.site-nav.scrolled .nav-links a { color: var(--text-strong); }
.site-nav.scrolled .nav-links a:hover,
.site-nav.scrolled .nav-links a.is-active { color: var(--green); }
.nav-menu .btn { padding: .7em 1.35em; font-size: .82rem; }

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 44px; height: 44px; align-items: center; justify-content: center;
  background: transparent; border: 0; cursor: pointer; border-radius: var(--r-sm);
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--parchment);
  transition: transform .3s ease, opacity .3s ease, background .3s ease;
}
.site-nav.scrolled .nav-toggle span { background: var(--headline-ink); }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1240px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 100%; right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--parchment);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 24px 50px rgba(6, 36, 27, .14);
    padding: .5rem clamp(1.25rem, 5vw, 3.75rem) 1.5rem;
    max-height: 0; overflow: hidden; opacity: 0; pointer-events: none;
    transition: max-height .35s ease, opacity .25s ease;
  }
  .nav-open .nav-menu { max-height: 80vh; opacity: 1; pointer-events: auto; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav-links a {
    color: var(--text-strong); padding: .95rem 0;
    border-bottom: 1px solid var(--border-light); font-size: .95rem;
  }
  .nav-links a::after { display: none; }
  .nav-menu .btn { margin-top: 1rem; justify-content: center; width: 100%; }
}

/* ----------------------------------------------------------------------------
   3. HERO
   ---------------------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding-block: clamp(8rem, 18vh, 12rem) clamp(4rem, 10vh, 7rem);
  overflow: hidden;
}
.hero-board { opacity: .14; will-change: transform; }
.hero-glow { background: radial-gradient(ellipse 80% 60% at 50% 28%, rgba(201,162,74,.18), transparent 70%); }

/* The green field breathes: an 11s drift of the gold halo. Also warms the
   vision section, which reuses the same layer. Frozen under reduced motion. */
html.js .hero-glow {
  animation: glowBreathe 11s ease-in-out infinite;
  will-change: opacity, transform;
}
@keyframes glowBreathe {
  0%, 100% { opacity: .78; transform: translate3d(0, 0, 0) scale(1); }
  50%      { opacity: 1;   transform: translate3d(0, -1.5%, 0) scale(1.05); }
}

/* Signature crown entrance: a single gold sheen sweeps the mark after the
   hero settles. The pseudo-element paint is clipped by the crown mask. */
.hero .crown { position: relative; }
.hero .crown::after {
  content: ""; position: absolute; inset: -30%;
  background: linear-gradient(115deg, transparent 36%, rgba(255,244,214,.75) 50%, transparent 64%);
  transform: translateX(-130%);
}
html.js body.is-loaded .hero .crown::after { animation: crownSheen 1.4s ease-out 1.05s both; }
@keyframes crownSheen {
  from { transform: translateX(-130%); }
  to   { transform: translateX(130%); }
}
.hero-inner {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  max-width: 60rem;
}
.hero .crown { width: clamp(64px, 9vw, 104px); }
.hero-sig { color: var(--gold); margin-bottom: 1.4rem; }
.hero-title {
  color: #fff; margin: 1.4rem 0 0;
  font-size: clamp(2.9rem, 8.5vw, 7rem); line-height: 1.02;
}
.hero-title em { font-style: italic; color: var(--gold); font-weight: 500; }
.hero-lead {
  color: var(--on-green); max-width: 46ch; margin: 1.6rem auto 0;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}
.hero-meta {
  display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center;
  margin-top: 2rem;
}
.hero-cta {
  display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center;
  margin-top: 2.4rem;
}
.hero-cta .btn { padding: 1em 1.9em; }

/* Page-load staggered reveal (pure CSS; runs on .is-loaded) */
html.js .hero-stagger > * { opacity: 0; }
html.js body.is-loaded .hero-stagger > * {
  animation: heroUp .9s cubic-bezier(.2,.7,.2,1) both;
}
html.js body.is-loaded .hero-stagger > *:nth-child(1) { animation-delay: .10s; }
html.js body.is-loaded .hero-stagger > *:nth-child(2) { animation-delay: .22s; }
html.js body.is-loaded .hero-stagger > *:nth-child(3) { animation-delay: .34s; }
html.js body.is-loaded .hero-stagger > *:nth-child(4) { animation-delay: .48s; }
html.js body.is-loaded .hero-stagger > *:nth-child(5) { animation-delay: .62s; }
html.js body.is-loaded .hero-stagger > *:nth-child(6) { animation-delay: .76s; }
@keyframes heroUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll cue */
.hero-scroll {
  position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%);
  z-index: 2; color: var(--on-green-mute);
  font-family: var(--mono); font-size: .62rem; letter-spacing: .26em; text-transform: uppercase;
  display: inline-flex; flex-direction: column; align-items: center; gap: .5rem;
}
.hero-scroll i { display: block; width: 1px; height: 36px; background: linear-gradient(var(--gold), transparent); transform-origin: top; }
html.js .hero-scroll i { animation: cueDrop 2.8s cubic-bezier(.6, 0, .3, 1) infinite; }
@keyframes cueDrop {
  0%   { transform: scaleY(0); opacity: 1; }
  55%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ----------------------------------------------------------------------------
   4. SHARED SECTION HELPERS
   `.container` is also made an inline-size query container here: every card
   grid in this file collapses by its own available width (see §14) rather
   than only by viewport breakpoints, so nested/embedded contexts (and tools
   that can't see the true browser viewport) still get correct stacking.
   ---------------------------------------------------------------------------- */
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .lead { margin-inline: auto; }
.kicker-rule { margin: 1.5rem auto 0; }
.container { container-type: inline-size; }

/* ----------------------------------------------------------------------------
   5. WHAT IT IS — pillar cards
   ---------------------------------------------------------------------------- */
.pillar { display: flex; flex-direction: column; height: 100%; }
.pillar .numeral { margin-bottom: .6rem; }
.pillar h3 { margin-bottom: .5rem; }
.pillar p { color: var(--text); margin: 0; }
.pillar__tag { margin-bottom: 1rem; }

/* ----------------------------------------------------------------------------
   6. THE GAP — oversized numerals on ink
   ---------------------------------------------------------------------------- */
.gap-statement {
  font-family: var(--serif); font-weight: 500; font-style: normal;
  font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.22; color: #fff;
  max-width: 22ch; margin: 0 0 .4rem;
}
.gap-statement em { font-style: italic; color: var(--gold); }
.gap-item { padding-top: 1.6rem; border-top: 1px solid var(--hair-on-dark); }
.gap-item .stat { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.gap-item h3 { color: #fff; font-family: var(--sans); font-weight: 600; font-size: 1.02rem; margin: .5rem 0 .5rem; }
.gap-item p { color: var(--on-green-soft); margin: 0; font-size: .96rem; }

/* ----------------------------------------------------------------------------
   7. HOW IT WORKS — numbered ladder
   ---------------------------------------------------------------------------- */
.ladder { counter-reset: step; position: relative; padding-left: clamp(1.4rem, 3vw, 2.1rem); }

/* Progress rail: a soft gold track with a solid gold fill whose scaleY is
   driven by scroll progress through the section (JS sets --rail 0 to 1).
   Without JS, in print, or under reduced motion the rail renders complete. */
.ladder::before, .ladder::after {
  content: ""; position: absolute; left: 0; top: 2rem; bottom: 2rem; width: 2px;
}
.ladder::before { background: var(--rule-gold-soft); }
.ladder::after {
  background: var(--gold);
  transform-origin: top;
  transform: scaleY(1);
}
html.js .ladder::after {
  transform: scaleY(var(--rail, 0));
  transition: transform .18s linear;
  will-change: transform;
}
@container (max-width: 560px) {
  .ladder { padding-left: 0; }
  .ladder::before, .ladder::after { content: none; }
}
.ladder-step {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.1rem, 3vw, 2.2rem);
  align-items: start; padding: 1.7rem 0; border-top: 1px solid var(--border-light);
}
.ladder-step:first-child { border-top: 0; }
.ladder-step__num {
  font-family: var(--serif); font-weight: 500; color: var(--gold);
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1; min-width: 2.4ch;
}
.ladder-step__when {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--label-muted); margin-bottom: .35rem;
}
.ladder-step h3 { margin-bottom: .35rem; }
.ladder-step p { margin: 0; color: var(--text); max-width: 60ch; }

/* ----------------------------------------------------------------------------
   8. WORKSHOPS — outline-gold cards on green
   ---------------------------------------------------------------------------- */
.wk-card {
  display: flex; flex-direction: column; gap: .55rem; position: relative;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), background .3s ease;
}
.wk-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border: 1px solid var(--gold); border-radius: inherit;
  opacity: 0; transform: scale(.98);
  transition: opacity .35s ease, transform .45s cubic-bezier(.2,.7,.2,1);
}
.wk-card:hover, .wk-card:focus-within { transform: translateY(-4px); background: rgba(201,162,74,.05); }
.wk-card:hover::after, .wk-card:focus-within::after { opacity: 1; transform: scale(1); }
.wk-card__top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.wk-card__code {
  font-family: var(--mono); font-weight: 500; font-size: .8rem; letter-spacing: .1em;
  color: var(--gold);
  transform-origin: left center;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.wk-card:hover .wk-card__code, .wk-card:focus-within .wk-card__code { transform: scale(1.16); }
.wk-card h3 { color: #fff; font-size: 1.18rem; margin: 0; line-height: 1.18; }
.wk-card p { color: var(--on-green-soft); margin: 0; font-size: .92rem; }

/* ----------------------------------------------------------------------------
   9. FOUR-DOOR CTA BAND
   ---------------------------------------------------------------------------- */
.doors { margin-top: var(--space-5); }
.door { display: flex; flex-direction: column; gap: .55rem; height: 100%; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .3s ease; }
.door:hover, .door:focus-within { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--rule-gold); }
.door .crown { width: 30px; margin-bottom: .4rem; position: relative; }
.door .crown::after {
  content: ""; position: absolute; inset: -30%;
  background: linear-gradient(115deg, transparent 36%, rgba(255,244,214,.8) 50%, transparent 64%);
  transform: translateX(-130%);
}
.door:hover .crown::after, .door:focus-within .crown::after { animation: crownSheen .9s ease-out both; }
.door h3 { margin: 0; }
.door__who { color: var(--green); }
.door p { color: var(--text); font-size: .95rem; margin: 0; }
.door__action {
  margin-top: auto; padding-top: 1.1rem;
  display: flex; flex-direction: column; gap: .4rem; align-items: flex-start;
}
.door__verb {
  font-family: var(--sans); font-weight: 600; font-size: .72rem;
  letter-spacing: var(--track-label); text-transform: uppercase; color: var(--text-muted);
  position: relative;
}
.door__verb::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.door:hover .door__verb::after, .door:focus-within .door__verb::after { transform: scaleX(1); }
.door__action a:not(.btn) { color: var(--green); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* ----------------------------------------------------------------------------
   10. MENTORS
   ---------------------------------------------------------------------------- */
.mentor-grid { align-items: start; }
.mentor-list .feature-row__icon { color: var(--gold); }

/* ----------------------------------------------------------------------------
   11. VISION — pullquote on ink
   ---------------------------------------------------------------------------- */
.vision-quote {
  font-family: var(--serif); font-weight: 500; font-style: italic;
  font-size: clamp(1.8rem, 4.4vw, 3.4rem); line-height: 1.28; color: #fff;
  border: 0; padding: 0; margin: 0 auto; max-width: 24ch; text-align: center;
}
.vision-quote .text-gold {
  color: var(--gold);
  background-image: linear-gradient(var(--gold-on-dark), var(--gold-on-dark));
  background-repeat: no-repeat; background-position: 0 94%; background-size: 100% 2px;
}
html.js .vision-quote:not(.is-visible) .text-gold { background-size: 0% 2px; }
html.js .vision-quote .text-gold { transition: background-size 1.2s cubic-bezier(.2,.7,.2,1) .55s; }
.vision-attrib {
  font-family: var(--sans); font-weight: 600; font-size: .9rem; color: var(--on-green);
  margin-top: 2rem; text-align: center;
}
.vision-attrib span { display: block; font-weight: 400; color: var(--on-green-mute); font-size: .82rem; margin-top: .35rem; }
.vision-chess {
  font-family: var(--serif); font-style: italic; color: var(--on-green-soft);
  font-size: 1.05rem; max-width: 46ch; margin: 2.4rem auto 0; text-align: center;
}

/* ----------------------------------------------------------------------------
   12. FAQ ACCORDION
   ---------------------------------------------------------------------------- */
.faq-list { max-width: 56rem; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-item:first-child { border-top: 1px solid var(--border-light); }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  text-align: left; padding: 1.5rem 0;
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.15rem, 2vw, 1.42rem);
  color: var(--headline-ink); line-height: 1.25;
}
.faq-q__icon {
  flex: 0 0 auto; width: 24px; height: 24px; position: relative;
}
.faq-q__icon::before, .faq-q__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--gold);
  transform: translate(-50%, -50%); transition: transform .3s ease, opacity .3s ease;
}
.faq-q__icon::before { width: 16px; height: 2px; }
.faq-q__icon::after  { width: 2px; height: 16px; }
.faq-item.open .faq-q__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
/* Answers collapse via grid-template-rows 0fr to 1fr: animates to true content
   height with no magic numbers. Collapsed answers are visibility:hidden, so
   the a11y tree matches aria-expanded. Without JS every answer stays open. */
.faq-a { display: grid; grid-template-rows: 1fr; }
.faq-a > div { min-height: 0; overflow: hidden; padding: 0 0 1.6rem; }
html.js .faq-a {
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s cubic-bezier(.2,.7,.2,1);
}
html.js .faq-a > div {
  visibility: hidden; opacity: 0; transform: translateY(-6px);
  transition: visibility 0s .45s, opacity .3s ease, transform .35s ease;
}
html.js .faq-item.open .faq-a { grid-template-rows: 1fr; }
html.js .faq-item.open .faq-a > div {
  visibility: visible; opacity: 1; transform: none;
  transition: visibility 0s, opacity .4s ease .08s, transform .45s cubic-bezier(.2,.7,.2,1) .05s;
}
.faq-a p { margin: 0; color: var(--text); max-width: 64ch; }
.faq-a p + p { margin-top: .75rem; }

/* ----------------------------------------------------------------------------
   13. FOOTER
   ---------------------------------------------------------------------------- */
.site-footer { position: relative; overflow: hidden; }
.site-footer .lockup { align-items: flex-start; }
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@container (max-width: 680px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-word { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; color: var(--parchment); letter-spacing: var(--track-wordmark); line-height: 1; }
.footer-word small { display: block; font-family: var(--sans); font-weight: 600; font-size: .58rem; letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--gold); margin-top: .4rem; }
.footer-tagline { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--on-green); margin: 1.2rem 0 0; }
.footer-meta { color: var(--on-green-soft); font-size: .9rem; }
.footer-meta a { color: var(--gold); }
.footer-line { color: var(--on-green-soft); font-size: .82rem; margin-top: 1.5rem; }
.footer-foot {
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; align-items: center;
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--hair-on-dark);
  font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; color: var(--on-green-soft);
}

/* ----------------------------------------------------------------------------
   14. RESPONSIVE GRID COLLAPSE + SMALL-SCREEN POLISH (360px → up)
   Driven by @container (on `.container`, set in §4): a container query
   measures the actual rendered box rather than the browser viewport, so
   every card grid below stacks correctly by its own available width —
   matching the shared system's instinct (2 columns ≤860px, 1 column ≤560px).
   Container queries have full support across current browsers.
   ---------------------------------------------------------------------------- */
@container (max-width: 860px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@container (max-width: 560px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .hero-meta { gap: .45rem; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .ladder-step { grid-template-columns: 1fr; gap: .4rem; }
  .ladder-step__num { font-size: 2rem; }
}

/* ----------------------------------------------------------------------------
   15. FILM SECTION (landing embed, sits above the FAQ)
   Autoplays muted so the section reads as alive; the gold control unmutes,
   restarts from zero and hands over to native controls. Reduced-motion and
   save-data visitors get a still poster and an explicit play button instead.
   ---------------------------------------------------------------------------- */
.film-frame {
  position: relative;
  max-width: 940px;
  margin: var(--space-5) auto 0;
  border: 1px solid var(--gold-on-dark);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 24px 60px rgba(0,0,0,.34);
}
.film-video { display: block; width: 100%; height: auto; }

.film-sound {
  position: absolute; right: 1rem; bottom: 1rem;
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--sans); font-weight: 600; font-size: .82rem;
  letter-spacing: .01em;
  padding: .7em 1.25em;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: var(--gold); color: var(--ink);
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), background .25s ease, opacity .25s ease;
}
.film-sound:hover { background: #d8b566; transform: translateY(-1px); }
.film-sound__glyph { font-size: .7em; line-height: 1; letter-spacing: .1em; }
.film-sound.is-playing {
  background: rgba(4,32,26,.72); color: var(--parchment);
  border-color: var(--gold-on-dark);
  opacity: 0; pointer-events: none;
}
.film-frame:hover .film-sound.is-playing,
.film-frame:focus-within .film-sound.is-playing { opacity: 1; pointer-events: auto; }
.film-video[controls] + .film-sound { display: none; }

.film-note {
  margin-top: 1.25rem; text-align: center;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--on-green-mute);
}
.film-note a { color: var(--gold); text-underline-offset: 3px; }

@container (max-width: 560px) {
  .film-sound { right: .6rem; bottom: .6rem; padding: .6em 1em; font-size: .75rem; }
}

/* ----------------------------------------------------------------------------
   16. PROGRAM RULES (student commitments, quiet-student path, certificate)
   Reuses the pillar card + numeral for the four commitments (an <ol> grid that
   collapses through the §14 container queries) and gap-item-style gold hairline
   notes below. Student-facing only: mentor-side gate mechanics stay off the site.
   ---------------------------------------------------------------------------- */
.rules-list { list-style: none; max-width: 60rem; margin: var(--space-5) auto 0; padding: 0; }
.rules-optional {
  max-width: 60ch; margin: var(--space-4) auto 0; text-align: center;
  color: var(--text-muted); font-size: .95rem;
}
.rules-notes { max-width: 60rem; margin: var(--space-5) auto 0; gap: clamp(2rem, 5vw, 4rem); }
.rules-note { padding-top: 1.6rem; border-top: 1px solid var(--rule-gold); }
.rules-note__head { display: flex; align-items: center; gap: .7rem; margin-bottom: .7rem; }
.rules-note__head .crown { flex: 0 0 auto; }
.rules-note__head .h3 { margin: 0; font-size: 1.35rem; }
.rules-note p { margin: 0; color: var(--text); max-width: 56ch; }
.rules-note p + p { margin-top: .9rem; }
.rules-note__assure {
  font-family: var(--serif); font-style: normal; font-size: 1.15rem;
  line-height: 1.4; color: var(--headline-ink);
}
