/* ==========================================================================
   SHENVIRO Hall corporate site - site.css
   Tokens, type and component patterns carried over from the live programme
   page (source/live_site/styles.css, pages.css, motion.css) so the corporate
   pages and the Great SHO programme page read as one site.
   Light theme only. Mobile-first for the new corporate components; the ported
   programme components keep the live site's max-width queries verbatim so the
   Intermediate page can be moved across without re-testing its layout.
   No dark mode. Body background is explicit #fff.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  color-scheme: light;
  --ink: #123d46;
  --warm: #4b6467;
  --dim: #52696d;
  --gold: var(--ink);
  --accent: #d89b35;
  --ink-hover: #20515a;
  --on-dark: #dce6e5;
  --dark-rule: #365c63;
  --surface: #eceee7;
  --lime: #2b5d62;
  --cs: var(--warm);
  --paper: #20515a;
  --paper-ink: var(--ink);
  --paper-grey: var(--warm);
  --cream: #f7f5ef;
  --rule: #d5ddd8;
  --gold-light: #efbf70;
  --body: "Manrope", "Segoe UI", sans-serif;
  --disp: "DM Serif Display", Georgia, serif;
  --pad: clamp(22px, 5vw, 72px);
  --stage: clamp(64px, 8vw, 112px);
  --mast-h: 72px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--mast-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--warm); font: 400 16px/1.8 var(--body); -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 4px; }
a, button, summary { touch-action: manipulation; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
.masthead :focus-visible, .rail :focus-visible, .page-hero :focus-visible, .intake :focus-visible, .bar :focus-visible, .site-nav :focus-visible { outline-color: var(--accent); }
p, li, dd, dt, h1, h2, h3, h4, summary, address { overflow-wrap: break-word; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--disp); font-weight: 400; letter-spacing: -.025em; line-height: 1.18; text-wrap: balance; }
address { font-style: normal; }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }
.btn-label { display: inline; } /* one flex item inside .btn / .card-arrow so a long label wraps as text and .nowrap keeps the arrow with the last word */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- 3. Layout primitives ---------- */
.wrap { max-width: 1280px; margin: auto; padding-inline: var(--pad); }
.wrap--narrow { max-width: 900px; }
.slide { padding-block: var(--stage); border-bottom: 1px solid var(--rule); position: relative; }
.slide > .wrap { position: relative; z-index: 1; }
.slide--tight { padding-block: clamp(40px, 5vw, 64px); }
.g-050 { background: var(--cream); }
.g-100, .g-well { background: #fff; }
.g-surface { background: var(--surface); }
.split { display: grid; gap: 32px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; } .split--wide-left { grid-template-columns: 1.2fr .8fr; } .split--wide-right { grid-template-columns: .8fr 1.2fr; } }

/* ---------- 4. Type helpers ---------- */
.eyebrow, .hero-kicker { color: var(--dim); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
h2.eyebrow, h3.eyebrow { font-family: var(--body); line-height: 1.5; text-wrap: auto; } /* heading used as an eyebrow keeps the eyebrow look */
.eyebrow--gold, .gold, .grad { color: var(--gold); }
.eyebrow--lime, .lime { color: var(--lime); }
.cs { color: var(--cs); }
.paper-fg { color: var(--ink); }
.tnum { font-variant-numeric: tabular-nums; }
.h-sec { font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 30px; }
.h-sub { font-size: clamp(1.5rem, 2.6vw, 2.2rem); margin-bottom: 20px; }
.lede { font-size: clamp(1rem, 1.7vw, 1.14rem); line-height: 1.8; color: var(--warm); max-width: 62ch; }
.rn { display: flex; align-items: center; gap: 2px; font: 600 .74rem/1 var(--body); color: var(--gold) !important; letter-spacing: .08em; margin-bottom: 24px; }
.rn::before { content: ""; width: 32px; height: 1px; background: var(--accent); margin-right: 10px; }
.rn i { font-style: normal; color: var(--dim); }
.prose > p { max-width: 70ch; font-size: .97rem; }
.prose > p + p { margin-top: 1em; }
.prose ul, .prose ol { max-width: 70ch; padding-left: 20px; font-size: .95rem; }
.prose li::marker { color: var(--accent); }
.sec-head { margin-bottom: 36px; }
.sec-head .h-sec { margin-bottom: 18px; }
.sec-head .lede { margin-top: 0; }
.sec-head--center { text-align: center; }
.sec-head--center .lede { margin-inline: auto; }
.lattice, .rake { display: none; }

/* ---------- 5. Buttons ---------- */
.btn, .mh-reg { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px; border: 1px solid transparent; border-radius: 6px; font: 700 .84rem/1.5 var(--body); text-decoration: none; cursor: pointer; transition: background .18s, color .18s, border-color .18s; }
.btn svg { width: 17px; height: 17px; }
.btn--gold, .btn--ink, .mh-reg { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--gold:hover, .btn--ink:hover, .mh-reg:hover { background: var(--ink-hover); border-color: var(--ink-hover); }
.btn--ghost, .btn--gold-o, .btn--o-ink { background: transparent; color: var(--ink); border-color: #93a5a4; }
.btn--ghost:hover, .btn--gold-o:hover, .btn--o-ink:hover { background: var(--surface); border-color: var(--gold); }
.btn--accent { background: #edb65d; border-color: #edb65d; color: #143b41; }
.btn--accent:hover { background: #f7cd87; border-color: #f7cd87; }
.btn--block { width: 100%; }
/* on any ink-coloured surface the gold button is the bright one and the ghost is cream */
.hero .btn--gold, .intake .btn--gold, .rail .btn--gold, .page-hero .btn--gold, .cta-band .btn--gold { background: #edb65d; border-color: #edb65d; color: #143b41; }
.hero .btn--gold:hover, .intake .btn--gold:hover, .rail .btn--gold:hover, .page-hero .btn--gold:hover, .cta-band .btn--gold:hover { background: #f7cd87; border-color: #f7cd87; }
.hero .btn--gold > span { margin-left: 12px; font-size: 1.15rem; line-height: 1; }
.hero .btn--ghost, .intake .btn--ghost, .page-hero .btn--ghost, .cta-band .btn--ghost { color: var(--cream); border-color: #91a8a6; background: rgba(18,61,70,.3); }
.hero .btn--ghost:hover, .intake .btn--ghost:hover, .page-hero .btn--ghost:hover, .cta-band .btn--ghost:hover { color: var(--ink); border-color: var(--cream); background: var(--cream); }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); font-size: .8rem; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link--gold { color: var(--gold-light); }
.text-link--gold:hover { color: #fff; }

/* ---------- 6. Skip link ---------- */
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: 12px 20px; text-decoration: none; font-weight: 700; }
.skip:focus { left: 10px; top: 10px; }

/* ---------- 7. Masthead + navigation ---------- */
.masthead { position: sticky; top: 0; z-index: 60; background: rgba(18,61,70,.98); border-bottom: 1px solid var(--dark-rule); backdrop-filter: blur(12px); }
.masthead .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--mast-h); }
.mark { display: flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; flex: none; }
.mark-logo { width: 42px; height: 42px; border-radius: 50%; flex: none; background: #fff; }
.mark-text { display: flex; flex-direction: column; gap: 5px; }
.mark b { font: 400 clamp(1.15rem, 2.4vw, 1.5rem)/1.1 var(--disp); color: var(--cream); letter-spacing: -.035em; white-space: nowrap; }
.mark span { font-size: .56rem; line-height: 1; letter-spacing: .24em; text-transform: uppercase; color: var(--on-dark); }
@media (max-width: 399px) { .mark-text { display: none; } }
.mh-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.mh-reg { min-height: 44px; padding: 9px 18px; background: var(--cream); color: var(--ink); border-color: var(--cream); font-size: .78rem; white-space: nowrap; }
.mh-reg:hover { background: #e8e4d9; color: var(--ink); border-color: #e8e4d9; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 8px 10px; background: transparent; border: 1px solid #5b7f85; border-radius: 6px; color: var(--cream); font: 700 .68rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.menu-toggle:hover { border-color: var(--cream); }
.menu-bars { position: relative; display: block; width: 18px; height: 12px; flex: none; }
.menu-bars::before, .menu-bars::after, .menu-bars > span { content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-bars::before { top: 0; }
.menu-bars > span { top: 5px; }
.menu-bars::after { bottom: 0; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars > span { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-5px) rotate(-45deg); }
@media (max-width: 479px) { .menu-toggle-label { display: none; } .menu-toggle { padding: 8px; } }
/* phone: the nav is a panel under the bar, hidden until the toggle opens it */
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #0f353d; border-top: 1px solid var(--dark-rule); border-bottom: 1px solid var(--dark-rule); max-height: calc(100vh - var(--mast-h)); max-height: calc(100dvh - var(--mast-h)); overflow-y: auto; padding: 6px var(--pad) 22px; box-shadow: 0 24px 40px rgba(5,25,29,.35); }
.site-nav.is-open { display: block; }
.nav-list, .nav-sub { list-style: none; margin: 0; padding: 0; }
.nav-list > li { border-bottom: 1px solid var(--dark-rule); }
.nav-list a { display: flex; align-items: center; gap: 10px; min-height: 48px; padding-block: 6px; color: var(--cream); text-decoration: none; font-weight: 700; font-size: .92rem; }
.nav-list a:hover { color: var(--accent); }
.nav-list a[aria-current="page"], .nav-list > li[data-current] > a { color: var(--accent); }
.nav-item--sub { position: relative; }
.nav-sub { padding-bottom: 8px; }
.nav-sub a { min-height: 44px; padding-left: 18px; font-weight: 500; font-size: .84rem; color: #cfdcd9; }
.nav-sub a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: none; opacity: .8; }
.nav-sub-toggle { display: none; }
@media (min-width: 900px) {
  .menu-toggle { display: none; }
  .masthead .wrap { min-height: 82px; gap: 16px; }
  .mh-actions { order: 2; margin-left: 0; gap: 14px; }
  .site-nav { order: 1; display: flex; position: static; align-items: center; background: transparent; border: 0; max-height: none; overflow: visible; padding: 0; box-shadow: none; margin-left: auto; flex: none; }
  .mark { gap: 10px; }
  .mark b { font-size: 1.1rem; }
  .nav-list { display: flex; align-items: center; gap: 0; }
  .nav-list > li { border: 0; }
  /* 900-1199px: seven items only fit in mixed case; the uppercase live-site look returns at 1200px */
  .nav-list > li > a { min-height: 44px; padding: 0 6px; font-size: .78rem; letter-spacing: 0; white-space: nowrap; }
  .nav-item--sub { display: flex; align-items: center; }
  .nav-item--sub > a { padding-right: 2px; }
  .nav-sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 44px; margin-right: 2px; padding: 0; background: none; border: 0; color: var(--cream); cursor: pointer; }
  .nav-sub-toggle svg { width: 12px; height: 12px; transition: transform .18s; }
  .nav-sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .nav-sub { display: none; position: absolute; top: calc(100% - 6px); left: 0; z-index: 70; min-width: 280px; padding: 8px; background: #fff; border: 1px solid var(--rule); border-radius: 8px; box-shadow: 0 18px 45px rgba(18,61,70,.18); }
  .nav-item--sub:hover > .nav-sub, .nav-item--sub.is-open > .nav-sub, .nav-item--sub:focus-within > .nav-sub { display: block; }
  .nav-sub a { min-height: 44px; padding: 8px 12px; border-radius: 5px; color: var(--ink); font-size: .82rem; font-weight: 600; }
  .nav-sub a::before { display: none; }
  .nav-sub a:hover { background: var(--cream); color: var(--ink); }
  .nav-sub a[aria-current="page"] { color: var(--accent); }
  .mh-reg { padding: 9px 22px; }
}
@media (min-width: 1000px) {
  .mark { gap: 12px; }
  .mark b { font-size: clamp(1.15rem, 2.4vw, 1.5rem); }
  .nav-list > li > a { padding: 0 8px; font-size: .8rem; }
}
@media (min-width: 1200px) {
  .masthead .wrap { gap: 24px; }
  .nav-list > li > a { padding: 0 12px; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
  .nav-item--sub > a { padding-right: 4px; }
  .nav-sub-toggle { width: 30px; }
  .mh-actions { gap: 20px; }
}

/* ---------- 8. Photo hero (Home and the programme pages) ---------- */
.hero { background: var(--ink); padding: 0; overflow: clip; }
.hero-stage { position: relative; isolation: isolate; min-height: 600px; padding-block: clamp(58px, 6vw, 88px) 26px; color: var(--on-dark); }
.hero-visual { position: absolute; inset: 0 0 0 25%; z-index: -2; overflow: hidden; }
.hero-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 60% 48%; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #123d46 4%, rgba(18,61,70,.98) 23%, rgba(18,61,70,.86) 40%, rgba(13,39,43,.18) 73%, rgba(13,39,43,.08)), linear-gradient(0deg, rgba(8,28,31,.75), transparent 32%); }
.hero-layout { position: relative; display: flex; flex-direction: column; min-height: 486px; }
.hero-copy { max-width: 64%; }
.hero-kicker { display: flex; align-items: center; gap: 12px; color: #e4b868; max-width: 58ch; font-size: .66rem; margin-bottom: 30px; }
.hero-kicker > span { display: block; flex: none; width: 28px; height: 1px; background: currentColor; }
.lock .l1 { display: block; color: var(--cream); font-size: clamp(1.75rem, 3.2vw, 2.8rem); line-height: 1.2; }
.lock .l2 { display: block; font-size: clamp(4rem, 8.7vw, 7.5rem); line-height: 1.03; letter-spacing: -.045em; margin-top: 10px; color: var(--gold-light); }
.hero-title { color: var(--cream); font-size: clamp(2.5rem, 6.2vw, 5.2rem); line-height: 1.04; letter-spacing: -.04em; max-width: 15ch; }
.hero-title em { font-style: normal; color: var(--gold-light); }
.hero-sub { color: #edf1ec; margin-top: 24px; max-width: 42ch; font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.7; }
.hero-prog { margin-top: 24px; padding-left: 15px; border-left: 1px solid #c69449; font-size: .79rem; line-height: 1.8; }
.hero-prog span { display: block; }
.hero-prog .a { color: #f7f5ef; font-weight: 700; }
.hero-prog .b { color: #d0dddc; }
.hero-badges { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-stage :focus-visible { outline-color: var(--gold-light); }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: auto; padding-top: 40px; }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: #e0e9e5; text-decoration: none; font-size: .65rem; letter-spacing: .06em; }
.scroll-cue-icon { display: grid; place-items: center; height: 34px; width: 26px; border: 1px solid #91a8a6; border-radius: 18px; color: var(--gold-light); font-size: .95rem; }
/* 44px tap target with the translucent pill drawn as a 26px band behind the text */
.photo-credit { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: #f1f1e9; background: linear-gradient(rgba(10,32,35,.65), rgba(10,32,35,.65)) center / 100% 26px no-repeat; font-size: .56rem; text-decoration: none; }
.photo-credit:hover { text-decoration: underline; }
.hero-facts { position: relative; background: var(--cream); border-top: 1px solid var(--rule); }
.hero-facts .facts { margin: 0; padding-block: 26px; border: 0; }

/* ---------- 9. Badges (reused as-is from the live site) ---------- */
.programme-badge { flex: none; }
.programme-badge--cep { display: flex; align-items: center; justify-content: center; width: 74px; height: 74px; border: 3px solid #e83c32; border-radius: 50%; background: #101719; color: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,.18); font: 700 .51rem/1.05 var(--body); text-align: left; }
.programme-badge--cep .badge-value { margin-right: 3px; color: #fff; font: 400 1.8rem/.9 var(--disp); }
.programme-badge--cep strong { color: #fff; font-size: .68rem; }
.programme-badge--cep small { color: var(--gold-light); font-size: .42rem; letter-spacing: .04em; }
.programme-badge--hrd { width: 78px; height: 78px; }
.programme-badge--hrd img { display: block; width: 100%; height: 100%; }
.programme-badge--f2f { display: flex; align-items: center; }
.f2f-icon { display: grid; place-items: center; width: 60px; height: 60px; border: 3px solid #6aa5db; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,.18); }
.f2f-icon svg { width: 40px; height: 40px; stroke: #2869a6; stroke-width: 2; stroke-linecap: round; }
.f2f-copy { margin-left: -4px; padding: 7px 10px 7px 12px; border-radius: 0 4px 4px 0; background: #76bd43; color: #fff; font-size: .54rem; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.badge-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.badge-row--light .programme-badge--cep, .badge-row--light .f2f-icon { box-shadow: 0 0 0 2px rgba(18,61,70,.08); }

/* ---------- 10. Fact bar ---------- */
.facts { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); margin: 24px 0 0; padding: 20px 0; border-block: 1px solid var(--rule); }
.facts--5 { grid-template-columns: repeat(5, minmax(0,1fr)); }
.facts--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.facts--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.fact { padding-inline: 20px; border-right: 1px solid var(--rule); }
.fact:first-child { padding-left: 0; }
.fact:last-child { padding-right: 0; border: 0; }
.fact dt, .regfacts dt { font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.fact dd { margin: 0; font-size: .9rem; font-weight: 700; line-height: 1.55; color: var(--ink); }
.fact dd small { display: block; font-size: .72rem; line-height: 1.6; color: var(--dim); font-weight: 400; margin-top: 4px; }
.fact--cep dd a, .fact--hrd dd a { color: var(--gold); text-decoration: none; }

/* ---------- 11. Stat row (numbers from the company profile) ---------- */
.stat-row { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 20px; }
.stat-row .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
.stat .v { display: block; font: 400 2.8rem/1.1 var(--disp); color: var(--gold); }
.stat .v.word { font-size: 1.25rem; }
.stat .k { display: block; font-size: .65rem; line-height: 1.7; margin-top: 8px; }
.stat-row .stat .v { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.02em; }
.stat-row .stat .k { font-size: .68rem; color: var(--dim); max-width: 22ch; }
@media (min-width: 800px) {
  .stat-row { grid-template-columns: repeat(5, minmax(0,1fr)); gap: 24px; padding: 28px 0; }
  .stat-row .stat { padding-left: 20px; border-left: 1px solid var(--rule); }
  .stat-row .stat:first-child { padding-left: 0; border-left: 0; }
  .stat-row .stat:last-child:nth-child(odd) { grid-column: auto; }
}

/* ---------- 12. Rail (HRD Corp band) ---------- */
.rail { background: var(--ink); color: var(--on-dark); border-bottom: 1px solid var(--dark-rule); padding-block: 30px; }
.rail .wrap { display: grid; grid-template-columns: 1fr auto; gap: 35px; align-items: center; }
.rail h2 { font: 700 .8rem/1.5 var(--body); letter-spacing: .035em; color: var(--accent); margin-bottom: 8px; }
.rail p { font-size: .83rem; line-height: 1.75; max-width: 76ch; }
.rail .paper-fg { color: var(--cream); }
.rail .btn--gold-o { color: var(--cream); border-color: #93b0b3; }
.rail .btn--gold-o:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.rail-act { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.rail-act .txt { font-size: .8rem; color: var(--accent); padding-block: 12px; }

/* ---------- 13. Chapter nav (in-page links, programme pages) ---------- */
.chapter-nav { background: #fff; border-bottom: 1px solid var(--rule); }
.chapter-nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 16px; }
.chapter-label { flex: none; color: var(--dim); font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.chapter-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.chapter-links a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding-block: 10px; color: var(--ink); font-size: .74rem; font-weight: 700; text-decoration: none; border-bottom: 2px solid transparent; }
.chapter-links a:hover, .chapter-links a[aria-current="location"] { border-bottom-color: var(--accent); }

/* ---------- 14. Plain page hero (eyebrow + breadcrumb + h1 + lede) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); padding-block: 16px clamp(52px, 6vw, 80px); }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 88% 32%, rgba(118, 156, 142, .15), transparent 57%); }
.page-hero-layout { position: relative; display: grid; grid-template-columns: 1fr; gap: 25px; align-items: center; }
.page-breadcrumb-nav { grid-column: 1 / -1; }
.page-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; padding: 0; list-style: none; font-size: .66rem; color: #bbcecb; }
.page-breadcrumb li { display: flex; align-items: center; gap: 12px; }
.page-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--cream); }
.page-breadcrumb a:hover { color: var(--gold-light); }
.page-breadcrumb [aria-hidden] { color: #749491; }
.page-breadcrumb [aria-current="page"] { color: #bbcecb; }
.page-hero .eyebrow { color: var(--gold-light); font-size: .65rem; letter-spacing: .14em; margin-bottom: 20px; }
.page-hero h1 { color: var(--cream); font-size: clamp(2.6rem, 6.5vw, 4.6rem); max-width: 16ch; letter-spacing: -.035em; line-height: 1.08; margin: 0; }
.page-hero h1 em { display: block; color: var(--gold-light); font-style: normal; font-weight: 400; }
.page-hero .page-hero-lede { color: #d3e0dc; margin-top: 22px; max-width: 49ch; font-size: .92rem; }
.page-hero .hero-cta { margin-top: 26px; }
.page-explore { display: inline-flex; align-items: center; gap: 25px; min-height: 44px; margin-top: 26px; color: var(--cream); text-decoration: none; font-size: .73rem; font-weight: 600; }
.page-explore > span { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #6a8e8b; border-radius: 50%; color: var(--gold-light); font-size: 1rem; }
.page-explore:hover { color: var(--gold-light); }
.page-hero-aside { min-width: 0; }
@media (min-width: 700px) {
  .page-hero { padding-top: 30px; }
  .page-hero-layout { grid-template-columns: 1.2fr .8fr; gap: 35px clamp(36px, 7vw, 96px); }
  .page-hero-layout--single { grid-template-columns: 1fr; }
  .page-hero .eyebrow { margin-bottom: 24px; }
  .page-hero .page-hero-lede { margin-top: 28px; }
}
.trainer-hero-portrait { position: relative; margin: 10px 0 0; max-width: 330px; width: 100%; justify-self: start; aspect-ratio: 4 / 4.5; overflow: hidden; border-radius: 6px 6px 90px 6px; border: 1px solid rgba(230,239,227,.25); background: #c5c9c7; }
.trainer-hero-portrait > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.trainer-hero-portrait::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(8,32,36,.96)); pointer-events: none; }
.trainer-hero-portrait figcaption { position: absolute; z-index: 1; bottom: 27px; left: 26px; right: 34px; color: var(--cream); line-height: 1.45; }
.trainer-hero-portrait figcaption > span { display: block; margin-bottom: 9px; color: var(--gold-light); text-transform: uppercase; font-size: .68rem; font-weight: 700; letter-spacing: .12em; }
.trainer-hero-portrait figcaption > strong { font: 400 1.25rem/1.3 var(--disp); }
.trainer-portrait-mark { position: absolute; z-index: 1; top: 19px; right: 18px; padding: 10px 12px; background: rgba(18,61,70,.9); color: #f2cc89; font-size: .68rem; font-weight: 700; line-height: 1.45; border-left: 2px solid var(--gold-light); }
@media (min-width: 700px) { .trainer-hero-portrait { margin-top: 0; max-width: 350px; justify-self: end; } }

/* ---------- 15. Cards ---------- */
.card-grid { display: grid; gap: 18px; }
.card { display: flex; flex-direction: column; gap: 12px; padding: 26px; background: var(--cream); border: 1px solid var(--rule); border-radius: 10px; min-width: 0; color: inherit; }
.g-050 .card, .g-surface .card { background: #fff; }
.card h3 { font-size: 1.45rem; }
.card p { font-size: .86rem; line-height: 1.75; }
.card ul, .card ol { margin: 0; padding-left: 18px; font-size: .86rem; }
.card li::marker { color: var(--accent); }
.card-num { color: var(--gold); font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.card-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; background: var(--ink); color: var(--gold-light); }
.card-icon svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
a.card { text-decoration: none; transition: border-color .18s, translate .22s ease, box-shadow .22s ease; }
a.card:hover { border-color: var(--ink); }
.card-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; color: var(--ink); font-size: .78rem; font-weight: 700; }
a.card:hover .card-arrow { text-decoration: underline; }
@media (min-width: 620px) { .card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; } }
@media (min-width: 1000px) { .card-grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); } .card-grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); } }

/* ---------- 16. Numbered catalogue list ---------- */
.catalogue { list-style: none; margin: 0; padding: 0; counter-reset: cat; }
.catalogue li { counter-increment: cat; display: grid; grid-template-columns: 36px minmax(0,1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: .9rem; line-height: 1.6; color: var(--ink); font-weight: 600; break-inside: avoid; page-break-inside: avoid; }
.catalogue li::before { content: counter(cat, decimal-leading-zero); font: 700 .72rem/1.9 var(--body); color: #8a5f1a; letter-spacing: .08em; } /* dark gold: 5.2:1 on cream, 5.6:1 on white; #d89b35 fails AA at this size and the numbers are referenced in copy (course 15, course 26) */
.catalogue li small { display: block; grid-column: 2; margin-top: -4px; color: var(--dim); font-size: .76rem; font-weight: 400; } /* li is a 2-col grid; keep the sub-line under the title, not in the number column */
@media (min-width: 800px) { .catalogue { columns: 2; column-gap: 48px; } }

/* ---------- 17. Level marker (three-tier series) ---------- */
.level-marker { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; }
.level { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 10px; min-height: 44px; padding: 10px 4px 14px; border-bottom: 3px solid var(--rule); color: var(--dim); text-align: center; text-decoration: none; font: 700 .62rem/1.3 var(--body); letter-spacing: .1em; text-transform: uppercase; }
.level-num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #93a5a4; background: #fff; font: 400 1.05rem/1 var(--disp); color: var(--ink); }
.level-name { display: block; }
.level-note { display: block; font-size: .68rem; letter-spacing: .04em; text-transform: none; font-weight: 500; color: var(--dim); }
.level.is-active { color: var(--ink); border-bottom-color: var(--accent); }
.level.is-active .level-num { background: var(--ink); border-color: var(--ink); color: var(--gold-light); }
a.level:hover { color: var(--ink); border-bottom-color: #93a5a4; }
.level-marker--dark .level { color: #bfceca; border-bottom-color: var(--dark-rule); }
.level-marker--dark .level-num { background: transparent; border-color: #6a8e8b; color: var(--cream); }
.level-marker--dark .level.is-active { color: var(--cream); border-bottom-color: var(--accent); }
.level-marker--dark .level.is-active .level-num { background: var(--gold-light); border-color: var(--gold-light); color: var(--ink); }
@media (min-width: 620px) { .level-marker { gap: 12px; } .level { font-size: .7rem; padding-bottom: 16px; } .level-num { width: 42px; height: 42px; font-size: 1.2rem; } }

/* ---------- 18. Tier cards (programme teaser) ---------- */
.tier-grid { display: grid; gap: 18px; }
.tier { display: flex; flex-direction: column; gap: 8px; padding: 26px; background: var(--cream); border: 1px solid var(--rule); border-radius: 10px; color: inherit; text-decoration: none; min-width: 0; transition: border-color .18s, translate .22s ease, box-shadow .22s ease; }
.tier:hover { border-color: var(--ink); }
.tier.is-open { background: #fff; border-color: var(--accent); box-shadow: 0 14px 40px rgba(18,61,70,.08); }
.tier-level { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--gold); font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
/* "Open intake" pill on the tier card with an open intake (the level marker only ever marks the page you are on) */
.tier-pill { display: inline-block; padding: 4px 10px; border: 1px solid var(--accent); border-radius: 999px; background: #fbf3e3; color: #765726; font-size: .6rem; letter-spacing: .12em; }
.tier h3 { font-size: clamp(1.5rem, 2.2vw, 1.85rem); }
.tier-name { font-size: .86rem; font-weight: 700; color: var(--ink); }
.tier-status { font-size: .78rem; color: var(--dim); }
.tier-more { margin-top: auto; padding-top: 10px; font-size: .78rem; font-weight: 700; color: var(--ink); }
.tier:hover .tier-more { text-decoration: underline; }
@media (min-width: 760px) { .tier-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; } }

/* ---------- 19. Open intake card ---------- */
.intake { display: grid; gap: 26px; margin-top: 32px; padding: clamp(24px, 4vw, 44px); background: var(--ink); color: var(--on-dark); border-radius: 12px; }
.intake .eyebrow { color: var(--gold-light); margin-bottom: 12px; }
.intake h3 { color: var(--cream); font-size: clamp(1.7rem, 3vw, 2.5rem); }
.intake-sub { margin-top: 12px; font-size: .92rem; max-width: 52ch; }
.intake-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 18px 0 0; padding: 0; font-size: .82rem; font-weight: 700; color: var(--cream); }
.intake-facts li { display: inline-flex; align-items: center; gap: 9px; }
.intake-facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.intake-side { display: flex; flex-direction: column; gap: 20px; }
.intake .hero-badges { margin-top: 0; }
.intake-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.intake-note { font-size: .74rem; color: #bfceca; }
.intake-note a { color: var(--cream); text-decoration: underline; text-underline-offset: 2px; }
.intake-note a:hover { color: var(--gold-light); }
@media (max-width: 379px) { .intake-actions .btn { padding-inline: 12px; font-size: .78rem; } }
@media (min-width: 900px) { .intake { grid-template-columns: 1.2fr .8fr; align-items: center; column-gap: 48px; } .intake-side { align-items: flex-start; } }

/* ---------- 20. Client logo wall ---------- */
.logo-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.logo-tile { display: grid; place-items: center; height: 92px; padding: 14px; background: #fff; border: 1px solid var(--rule); border-radius: 6px; }
.logo-tile img { display: block; width: auto; height: auto; max-width: min(100%, 140px); max-height: 56px; filter: grayscale(1); opacity: .78; transition: filter .2s, opacity .2s; }
.logo-tile:hover img { filter: none; opacity: 1; }
@media (min-width: 480px) { .logo-wall { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (min-width: 760px) { .logo-wall { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; } .logo-tile { height: 100px; } }
@media (min-width: 1000px) { .logo-wall { grid-template-columns: repeat(6, minmax(0,1fr)); } }
.logo-wall--compact { grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (min-width: 760px) { .logo-wall--compact { grid-template-columns: repeat(5, minmax(0,1fr)); } }

/* ---------- 21. Approvals and certificate tiles ---------- */
.approvals, .cert-grid { display: grid; gap: 18px; }
.approval, .cert-tile { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: #fff; border: 1px solid var(--rule); border-radius: 10px; min-width: 0; }
.g-100 .approval, .g-100 .cert-tile { background: var(--cream); }
.approval-img, .cert-img { margin: 0 0 6px; border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; background: #f3f3ef; }
.approval-img img, .cert-img img { display: block; width: 100%; height: auto; }
.approval-body { color: var(--gold); font-size: .64rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.approval h3, .cert-tile h3 { font: 700 1rem/1.5 var(--body); letter-spacing: 0; }
.approval p, .approval ul, .cert-tile p { font-size: .82rem; line-height: 1.7; }
.approval ul { margin: 0; padding-left: 18px; }
.approval li::marker { color: var(--accent); }
.approval.approval-text-tile, .g-100 .approval.approval-text-tile { justify-content: center; background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.approval-text-tile .approval-body { color: var(--gold-light); }
.approval-text-tile h3 { color: var(--cream); }
.approval-text-tile li::marker { color: var(--gold-light); }
@media (min-width: 760px) { .approvals, .cert-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; } .approvals--2, .cert-grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* ---------- 22. Trainer card + profile ---------- */
.trainer-grid { display: grid; gap: 22px; }
.trainer-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; color: inherit; text-decoration: none; min-width: 0; transition: border-color .18s, translate .22s ease, box-shadow .22s ease; }
a.trainer-card:hover { border-color: var(--ink); }
.trainer-card-photo { margin: 0; aspect-ratio: 4 / 4.5; background: #e7e9df; }
.trainer-card-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.trainer-card-photo--natural { display: grid; place-items: center; padding: 24px; aspect-ratio: auto; height: 280px; box-sizing: border-box; }
.trainer-card-photo--natural img { width: auto; height: auto; max-width: 100%; max-height: 232px; object-fit: contain; border-radius: 4px; }
.trainer-card-body { display: flex; flex-direction: column; flex: 1 1 auto; gap: 8px; padding: 20px 22px 24px; }
.trainer-card h3 { font-size: 1.35rem; }
.trainer-card-role { font-size: .78rem; color: var(--dim); line-height: 1.6; }
.trainer-card .text-link { min-height: 32px; margin-top: 4px; }
@media (min-width: 620px) { .trainer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1000px) { .trainer-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } .trainer-grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.trainer-directory { padding-block: clamp(52px, 6.5vw, 90px); background: var(--cream); }
.trainer-list { display: grid; gap: 32px; }
.trainer-profile { display: grid; grid-template-columns: 1fr; gap: 30px; padding: 20px; background: #fff; border: 1px solid var(--rule); border-radius: 8px; box-shadow: 0 14px 45px rgba(18,61,70,.035); scroll-margin-top: 140px; }
.trainer-profile-photo { align-self: start; max-width: 300px; }
.trainer-profile-photo img { display: block; width: 100%; height: auto; border-radius: 8px; }
.trainer-photo-mat { position: relative; padding: 11px 11px 0; background: #e7e9df; border-radius: 6px; }
.trainer-photo-mat img { border-radius: 3px; }
.trainer-photo-mat--natural { padding: 11px; text-align: center; }
.trainer-photo-mat--natural img { display: inline-block; width: auto; max-width: 100%; }
.trainer-photo-mat > span { display: block; padding-block: 13px; color: var(--ink); font-size: clamp(.64rem, 2.6vw, .7rem); font-weight: 700; letter-spacing: .11em; text-align: center; text-transform: uppercase; }
.trainer-initials { display: grid; place-items: center; aspect-ratio: 4 / 4.5; border-radius: 3px; background: var(--ink); color: var(--gold-light); font: 400 clamp(3.2rem, 7vw, 5rem)/1 var(--disp); letter-spacing: .04em; }
.trainer-card-photo .trainer-initials { height: 100%; border-radius: 0; }
.trainer-profile-roles { list-style: none; padding: 14px 0 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 15px; }
.trainer-profile-roles li { display: flex; align-items: center; gap: 10px; padding-block: 8px; border-bottom: 1px solid var(--rule); font-size: .68rem; color: var(--ink); }
.trainer-profile-roles li::before { content: ""; width: 4px; height: 4px; background: #b07b2f; border-radius: 50%; flex: none; }
.trainer-profile-content { min-width: 0; }
.trainer-profile-content h2 { font-size: clamp(1.85rem, 3.2vw, 2.7rem); }
.trainer-profile-eyebrow { color: #785725; font-size: .6rem; letter-spacing: .11em; }
.trainer-profile-eyebrow > span { color: #a3b3ac; margin-inline: 6px; }
.trainer-profile-intro { margin-top: 20px; font-size: .95rem; }
.trainer-profile-stats { list-style: none; padding: 24px 0; border-block: 1px solid var(--rule); margin: 24px 0 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.trainer-profile-stats li + li { border-left: 1px solid var(--rule); padding-left: 10px; }
.trainer-profile-stats strong { display: block; font: 400 clamp(2rem, 3vw, 2.65rem)/1.2 var(--disp); color: #825c26; }
.trainer-profile-stats span { display: block; font-size: .66rem; line-height: 1.5; margin-top: 5px; max-width: 17ch; }
.trainer-profile-credentials { color: var(--dim); font-size: .73rem; line-height: 1.9; }
.trainer-profile-label { margin-top: 25px; font: 700 .8rem/1.5 var(--body); letter-spacing: 0; }
.trainer-profile .tags { margin-block: 12px 22px; }
.trainer-profile .tags li { background: #eef1e9; border: 1px solid #dde5d9; border-radius: 4px; font-size: .67rem; padding: 6px 10px; }
.trainer-profile-list { margin: 8px 0 0; padding-left: 18px; font-size: .84rem; }
.trainer-profile-content > .prose { margin-top: 8px; }
.trainer-card-body > p:not(.trainer-card-role) { font-size: .88rem; line-height: 1.75; }
.trainer-card-body details.d { margin-top: auto; }
.trainer-profile-list li::marker { color: var(--accent); }
.trainer-profile-quote { position: relative; margin: 30px 0 0; padding: 28px; border-radius: 5px; background: var(--ink); color: var(--cream); }
.trainer-quote-mark { display: block; color: var(--gold-light); font: 400 3.6rem/.8 var(--disp); height: 36px; }
.trainer-profile-quote p { font: 400 clamp(1.4rem, 2.1vw, 1.7rem)/1.4 var(--disp); margin: 0; }
.trainer-profile-quote cite { display: block; color: #bfceca; margin-top: 18px; font: 400 .59rem/1.6 var(--body); }
@media (max-width: 359px) {
  .explore-card { flex-direction: column; align-items: flex-start; gap: 14px; } /* stack the photo above the copy so the text keeps the full card width at 320 */
  .explore-card > img, .explore-play { width: 52px; height: 70px; }
  .explore-arrow { position: absolute; top: 18px; right: 18px; margin-left: 0; }
  .trainer-profile-stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .trainer-profile-stats li:nth-child(3) { border-left: 0; padding-left: 0; }
  .trainer-profile-roles { grid-template-columns: 1fr; gap: 0; }
  .trainer-profile-roles li { align-items: flex-start; }
}
@media (min-width: 700px) {
  .trainer-profile { grid-template-columns: minmax(180px, .62fr) 1.5fr; gap: 30px; padding: clamp(24px, 4vw, 48px); }
  .trainer-profile-photo { max-width: none; }
  .trainer-profile-roles { grid-template-columns: 1fr; gap: 0; }
  .trainer-profile-stats { gap: 16px; }
  .trainer-profile-stats li + li { padding-left: 16px; }
}
@media (min-width: 900px) { .trainer-profile { grid-template-columns: minmax(200px, .62fr) 1.5fr; gap: clamp(28px, 5vw, 60px); } }

/* ---------- 23. Gallery grid with category filter ---------- */
.gallery-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 25px; margin-bottom: 28px; }
.gallery-filters, .media-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.gallery-filters button, .media-filters button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 44px; padding: 10px 19px; border: 1px solid #bac9c2; border-radius: 5px; background: transparent; color: var(--ink); font: 600 .78rem/1.5 var(--body); cursor: pointer; }
.gallery-filters button > span, .media-filters button > span { font-size: .75rem; font-weight: 400; }
.gallery-filters button:hover, .media-filters button:hover { border-color: var(--ink); background: #e4e9e0; }
.gallery-filters button[aria-pressed="true"], .media-filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.gallery-filters button[aria-pressed="true"] > span, .media-filters button[aria-pressed="true"] > span { color: var(--gold-light); }
.gallery-status, .media-status { margin: 0; color: var(--dim); font-size: .75rem; }
.gallery-grid { display: grid; gap: 20px; align-items: start; }
.gallery-item { margin: 0; background: #fff; border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.gallery-item-frame { display: grid; place-items: center; background: #eef0ea; }
.gallery-item-frame img { display: block; width: auto; height: auto; max-width: 100%; }
.gallery-item figcaption { padding: 14px 16px; font-size: .78rem; line-height: 1.6; color: var(--dim); border-top: 1px solid var(--rule); }
.gallery-item figcaption b { display: block; color: var(--ink); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.gallery-empty { padding: 32px; text-align: center; border: 1px dashed var(--rule); border-radius: 8px; font-size: .86rem; color: var(--dim); }
@media (min-width: 620px) { .gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
/* From 1000px the photos flow into CSS columns instead of a grid: the two tall superbike collages and the two
   wide public-course photos have very different heights, and a row grid left a hole beside the tall one and
   dropped the last collage onto a row of its own. Columns pack them by height. */
@media (min-width: 1000px) {
  .gallery-grid { display: block; columns: 3; column-gap: 24px; }
  .gallery-grid--2 { columns: 2; }
  .gallery-grid > .gallery-item { break-inside: avoid; margin-bottom: 24px; }
  .gallery-grid > .gallery-empty { column-span: all; }
}
@media (max-width: 379px) { .gallery-filters { width: 100%; gap: 6px; } .gallery-filters button { flex: 1 1 100%; gap: 8px; } }

/* ---------- 24. Milestone timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0 0 0 26px; border-left: 2px solid var(--rule); }
.timeline li { position: relative; padding: 0 0 30px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -33px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--rule); }
.timeline-year { display: block; color: var(--gold); font: 400 1.5rem/1.2 var(--disp); margin-bottom: 4px; }
.timeline-label { display: block; color: var(--dim); font-size: .66rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 10px; }
.timeline p { max-width: 68ch; font-size: .92rem; }
.timeline ul { margin: 8px 0 0; padding-left: 18px; font-size: .84rem; max-width: 68ch; }
.timeline ul + p { margin-top: 12px; }
.timeline li li { padding: 0; }
.timeline li li::before { display: none; }

/* ---------- 25. Contact block + enquiry form ---------- */
.contact-grid { display: grid; gap: 32px; }
.contact-card { padding: clamp(24px, 4vw, 36px); background: var(--cream); border: 1px solid var(--rule); border-radius: 10px; }
.g-050 .contact-card { background: #fff; }
.contact-card h2, .contact-card h3 { font-size: 1.4rem; margin-bottom: 14px; }
.contact-lines { display: grid; gap: 2px; font-size: .9rem; }
.contact-lines > * { min-width: 0; }
.contact-lines a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }
.contact-lines a:hover { text-decoration: underline; }
.contact-address { line-height: 1.7; padding-block: 6px; }
.contact-reg { font-size: .74rem; color: var(--dim); margin-top: 6px; }
.map-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 6px; font-size: .8rem; font-weight: 700; color: var(--ink); }
.enquiry-form { padding: clamp(24px, 4vw, 40px); background: #fff; border: 1px solid var(--rule); border-radius: 10px; }
.g-100 .enquiry-form { background: var(--cream); }
.enquiry-form h2, .enquiry-form h3 { font-size: 1.4rem; margin-bottom: 8px; }
.enquiry-form > p { font-size: .9rem; margin-bottom: 22px; }
.form-grid { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: .78rem; font-weight: 700; color: var(--ink); }
.field label .req { color: #b4432f; margin-left: 2px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; margin: 0; padding: 10px 14px; border: 1px solid #b7c5c1; border-radius: 6px; background: #fff; color: var(--ink); font: 400 16px/1.5 var(--body); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--ink); outline-offset: 2px; border-color: var(--ink); }
.field select { appearance: none; -webkit-appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23123d46' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field-help { font-size: .72rem; color: var(--dim); }
.field-optional { font-size: .72rem; font-weight: 400; color: var(--dim); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 8px; }
.form-note { font-size: .74rem; color: var(--dim); max-width: 46ch; margin: 0; }
.form-status { margin-top: 14px; padding: 12px 16px; border-radius: 6px; background: var(--cream); border: 1px solid var(--rule); color: var(--ink); font-size: .84rem; }
.form-status--error { background: #fbeeea; border-color: #e6b8ae; color: #7a2e1f; }
@media (min-width: 620px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; } }

/* ---------- 26. Call-to-action band (page-next) ---------- */
.page-next { position: relative; padding-block: clamp(50px, 6vw, 78px); background: #e7ebe1; border-top: 1px solid #ced9cd; overflow: hidden; }
.page-next::after { content: ""; position: absolute; pointer-events: none; width: 320px; height: 320px; right: -145px; top: 15px; border: 1px solid #cbd6c9; border-radius: 50%; box-shadow: 0 0 0 35px rgba(203,214,201,.25), 0 0 0 70px rgba(203,214,201,.14); }
.page-next-layout { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.page-next .eyebrow { color: #765726; font-size: .61rem; }
.page-next h2 { font-size: clamp(2rem, 3.7vw, 3.2rem); }
.page-next h2 em { color: #42665b; font-style: normal; font-weight: 400; }
.page-next p:not(.eyebrow) { font-size: .82rem; max-width: 58ch; margin-top: 20px; }
.page-next-actions { flex: none; display: flex; flex-direction: column; align-items: stretch; gap: 13px; width: 100%; max-width: 300px; }
.page-next-actions .btn { gap: 28px; }
.page-text-link { display: flex; justify-content: center; align-items: center; min-height: 44px; gap: 15px; font-weight: 700; font-size: .73rem; color: var(--ink); text-decoration: none; }
.page-text-link:hover { text-decoration: underline; }
@media (min-width: 700px) { .page-next-layout { flex-direction: row; justify-content: space-between; align-items: center; } .page-next-actions { width: auto; max-width: none; } }
.cta-band { background: var(--ink); color: var(--on-dark); padding-block: clamp(50px, 6vw, 78px); }
.cta-band h2 { color: var(--cream); font-size: clamp(2rem, 3.7vw, 3.2rem); }
.cta-band p { font-size: .9rem; max-width: 58ch; margin-top: 16px; }

/* ---------- 27. FAQ (details) ---------- */
details.d { border-bottom: 1px solid var(--rule); }
details.d:first-of-type { border-top: 1px solid var(--rule); }
summary.s { list-style: none; cursor: pointer; position: relative; padding: 22px 40px 22px 0; font: 600 .95rem/1.6 var(--body); color: var(--ink); }
summary.s::-webkit-details-marker { display: none; }
summary.s::after { content: ""; position: absolute; right: 10px; top: 28px; width: 9px; height: 9px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(45deg); }
details[open] > summary.s::after { transform: rotate(225deg); top: 33px; }
summary.s:hover { color: var(--gold); }
.ans { padding: 0 0 24px; max-width: 78ch; font-size: .92rem; }
.ans a { overflow-wrap: anywhere; }

/* ---------- 28. Ported programme-page components (Intermediate page) ---------- */
.why { border-left: 3px solid var(--accent); padding-left: clamp(20px, 3vw, 36px); margin-bottom: 65px; }
.why .stmt { font: 400 clamp(1.85rem, 3.5vw, 3rem)/1.25 var(--disp); color: var(--ink); margin-bottom: 22px; }
.why .stmt em { font-style: normal; color: var(--gold); }
.why p { max-width: 77ch; font-size: .95rem; }
.why .attrib { color: var(--dim); font-size: .75rem; margin-top: 25px; }
.pitch { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.bm-head { font-size: clamp(1.85rem, 3.3vw, 2.9rem); }
.bm-head .q { display: block; color: var(--gold); margin-top: 12px; }
.pitch-body { font-size: .95rem; }
.who-line { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rule); }
.who-line .k { display: block; font-weight: 700; color: var(--ink); margin-bottom: 10px; font-size: .8rem; }
.shift-symbol { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.shift-symbol > span { color: var(--dim); font-size: .65rem; font-weight: 700; letter-spacing: .1em; }
.shift-symbol svg { width: 40px; height: 40px; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.shifts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; margin-top: 36px; }
.shift { padding: 28px; background: var(--cream); border: 1px solid var(--rule); border-radius: 10px; }
.shift h3 { font-size: 1.85rem; margin-bottom: 22px; }
.shift:nth-child(2) h3 { color: var(--lime); }
.shift:nth-child(3) h3 { color: var(--gold); }
.pair { padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--rule); }
.pair .now, .pair .next { display: flex; align-items: baseline; gap: 10px; font-size: .83rem; line-height: 1.75; }
.pair .next { margin-top: 12px; color: var(--ink); font-weight: 600; }
.pair .tag { min-width: 43px; flex: none; font-size: .58rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--dim); }
.pair .next .tag { color: var(--gold); }
.field-story { display: grid; grid-template-columns: 1.12fr 1fr; background: #123d46; color: var(--on-dark); }
.field-story-photo { position: relative; margin: 0; min-height: 430px; }
.field-story-photo picture { display: block; height: 100%; }
.field-story-photo img { display: block; position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; object-position: 52% 60%; }
.field-story-photo figcaption { position: absolute; bottom: 7px; left: 20px; padding: 0; color: #fff; font-size: .56rem; }
.field-story-photo a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 9px; color: #fff; background: linear-gradient(rgba(8,28,31,.82), rgba(8,28,31,.82)) center / 100% 26px no-repeat; text-decoration: none; } /* 44px tap target, same treatment as .photo-credit; the visible band stays 26px tall and its bottom edge sits at 16px as before */
.field-story-photo a:hover { text-decoration: underline; }
.field-story-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(38px, 5vw, 76px); }
.field-story-copy .eyebrow { color: #e5b365; font-size: .65rem; }
.field-story-copy h2 { color: var(--cream); font-size: clamp(2.8rem, 4.3vw, 4.6rem); margin-bottom: 24px; }
.field-story-copy h2 em { color: var(--gold-light); font-style: normal; }
.field-story-copy > p:not(.eyebrow) { max-width: 45ch; font-size: .91rem; }
.field-story-link { display: inline-flex; gap: 20px; padding-block: 14px; margin-top: 14px; color: var(--gold-light); text-decoration: none; border-bottom: 1px solid #688184; font-size: .74rem; font-weight: 700; }
.field-story-link:hover { color: #fff; border-color: var(--gold-light); }
.field-story :focus-visible { outline-color: var(--accent); }
.days { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.day { background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: clamp(24px, 3vw, 38px); }
.day-h { border-bottom: 1px solid var(--rule); padding-bottom: 24px; margin-bottom: 8px; }
.day-h .num { display: block; color: var(--gold); font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 12px; }
.day-h h3 { font-size: 1.85rem; }
.mods { list-style: none; margin: 0; padding: 0; }
.mod { display: grid; grid-template-columns: 118px minmax(0,1fr); gap: 16px; align-items: start; border-bottom: 1px solid var(--rule); padding: 18px 0; }
.mod:last-child { border: 0; padding-bottom: 0; }
.mn { display: block; color: var(--gold); font-size: .68rem; font-weight: 700; line-height: 1.55; }
.mod h4 { font: 700 .93rem/1.65 var(--body); letter-spacing: 0; }
.mod--break h4 { color: var(--dim); font-weight: 600; }
.mod--practical h4 { color: var(--ink-hover); }
.continuation { color: var(--dim); font-size: .72rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.mod ul { padding-left: 18px; margin: 8px 0 0; font-size: .82rem; line-height: 1.8; }
.mod li::marker { color: var(--accent); }
.trainer { display: grid; grid-template-columns: 320px 1fr; gap: clamp(35px, 6vw, 80px); align-items: center; }
.plate { overflow: hidden; border: 1px solid var(--rule); border-radius: 12px; background: var(--cream); }
.portrait { margin: 0; position: relative; line-height: 0; }
.portrait img { display: block; width: 100%; height: auto; }
.crest-badge { position: absolute; width: 68px; right: 15px; bottom: 14px; filter: drop-shadow(0 8px 13px rgba(7,31,35,.28)); }
.plate-txt { padding: 26px; text-align: center; }
.dww { font-size: .66rem; font-weight: 700; color: var(--gold); letter-spacing: .15em; text-transform: uppercase; }
.roles { list-style: none; padding: 15px 0 0; margin: 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.roles li { font-size: .69rem; color: var(--ink); }
.tr-name { font-size: clamp(2rem, 4vw, 3.4rem); }
.tr-name .dwrap { display: block; font: 700 .73rem/1.6 var(--body); letter-spacing: .15em; text-transform: uppercase; margin-bottom: 15px; color: var(--dim); }
.tr-intro { margin-top: 25px; }
.tr-intro .last { color: var(--gold); }
.stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); list-style: none; padding: 26px 0; margin: 32px 0 0; border-block: 1px solid var(--rule); gap: 18px; }
.creds { margin-top: 20px; font-size: .77rem; }
.media-source { display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; color: var(--ink); font-size: .78rem; font-weight: 700; }
.quote { margin-top: 64px; padding-top: 42px; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.quote blockquote { margin: 0; }
.quote .qt { font: 400 clamp(1.8rem, 3vw, 2.65rem)/1.3 var(--disp); color: var(--ink); }
.quote .qt em { color: var(--gold); }
.arc { padding-left: 20px; border-left: 1px solid var(--rule); list-style: none; }
.arc li { margin-block: 15px; }
.arc .st { display: block; font-weight: 700; color: var(--ink); }
.arc .sd { font-size: .83rem; }
.tags { padding: 0; margin: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: .73rem; padding: 5px 10px; background: var(--cream); border-radius: 4px; }
.wmbox { padding: 24px; background: var(--cream); border-radius: 8px; margin-top: 24px; }
.wmbox h4 { font-size: 1.5rem; margin-bottom: 15px; }
.wmbox .kick { color: var(--gold); }
#hrd { background: var(--cream); }
.hrd-stmt { font-size: clamp(2rem, 4vw, 3.5rem); max-width: 24ch; margin-bottom: 38px; }
.hrd-stmt span { display: block; }
.hrd-stmt .b { color: var(--gold); margin-top: 12px; }
.hrd-copy { max-width: 62ch; }
.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.benefit-card { padding: clamp(26px, 4vw, 42px); border: 1px solid var(--rule); border-radius: 10px; background: #fff; }
.benefit-card--cep { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.benefit-label { margin-bottom: 20px; color: var(--dim); font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.benefit-card--cep .benefit-label { color: var(--gold-light); }
.benefit-card h3 { margin-bottom: 20px; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.benefit-number { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; color: #fff; }
.benefit-number strong { font: 400 clamp(4.5rem, 8vw, 7rem)/.85 var(--disp); color: var(--gold-light); }
.benefit-number span { font-size: 1rem; font-weight: 700; }
.benefit-card > p:not(.benefit-label):not(.benefit-number) { font-size: .88rem; line-height: 1.8; }
.benefit-note { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--rule); color: var(--dim); font-size: .76rem !important; }
.benefit-card--cep .benefit-note { border-color: var(--dark-rule); color: #c5d4d2; }
.benefit-source { display: inline-block; padding: 11px 0; margin: -11px 0; color: var(--gold-light); font-weight: 700; } /* 44px tap target without inflating the line box (live rule was 22px tall) */
.register { background: var(--surface); }
.reg { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.price { font: 400 clamp(3.5rem, 6.5vw, 6rem)/1.15 var(--disp); color: var(--ink); letter-spacing: -.04em; margin-bottom: 0; } /* the global p margin (1.1em) scales with the 6rem price and left 60-90px of dead space above .reg-hrd, which carries its own 24px margin */
.price small { display: block; font: 400 .82rem/1.7 var(--body); letter-spacing: 0; margin-top: 14px; }
.price--sm { font-size: clamp(2.6rem, 5vw, 4.2rem); }
.price-save { display: inline-block; margin-top: 10px; padding: 4px 10px; border-radius: 4px; background: var(--accent); color: #143b41; font: 700 .72rem/1.5 var(--body); letter-spacing: .06em; text-transform: uppercase; }
.reg-hrd { font-size: .84rem; border-top: 1px solid #becbc5; margin-top: 24px; padding-top: 20px; }
.signoff { border-top: 1px solid #becbc5; margin-top: 28px; padding-top: 26px; }
.signoff span { display: block; font: 400 clamp(1.7rem, 3vw, 2.5rem)/1.25 var(--disp); color: var(--ink); }
.signoff span + span { color: var(--gold); }
.regfacts { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 25px; gap: 20px; }
.regfacts div { border-bottom: 1px solid #becbc5; padding-bottom: 15px; }
.regfacts dd { margin: 0; font-size: .87rem; font-weight: 700; color: var(--ink); }
.rails { display: grid; gap: 12px; justify-items: start; }
.telplain, .honest { font-size: .8rem; margin-top: 18px; }
.honest { border-top: 1px solid #becbc5; padding-top: 18px; }
.copied { display: none; font-size: .8rem; color: var(--ink-hover); }
.copied.on { display: block; }
.close { background: #fff; }
.close .cl { display: block; font: 400 clamp(2rem, 4.5vw, 3.8rem)/1.2 var(--disp); color: var(--ink); }
.close .cl + .cl { color: var(--gold); }
.close-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 40px; margin-top: 30px; }
.close-actions p { max-width: 40ch; margin: 0; font-size: .9rem; }
.explore-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 56px; }
.explore-grid--single { grid-template-columns: minmax(0, 720px); }
.explore-card { position: relative; display: flex; align-items: center; gap: 22px; padding: 26px; min-width: 0; border: 1px solid var(--rule); border-radius: 8px; color: var(--ink); text-decoration: none; background: var(--cream); }
.explore-card > img { width: 74px; height: 100px; flex: none; object-fit: cover; object-position: center 16%; border-radius: 4px; }
.explore-copy { display: grid; gap: 10px; }
.explore-copy small { color: var(--dim); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.explore-copy strong { font: 400 1.6rem/1.2 var(--disp); }
.explore-copy > span { color: var(--dim); font-size: .74rem; line-height: 1.7; }
.sec-foot { margin-top: 24px; }
.explore-arrow { margin-left: auto; align-self: flex-start; color: var(--ink); font-size: 1.3rem; }
.explore-card:hover { border-color: var(--ink); }
.co { font: 400 1.6rem/1.3 var(--disp); color: var(--ink); }
.tl { font-size: .63rem; text-transform: uppercase; letter-spacing: .12em; margin-top: 8px; }
.fine { font-size: .71rem; color: var(--dim); border-top: 1px solid var(--rule); margin-top: 28px; padding-top: 22px; }
.bar { display: none; }
@media (max-width: 1099px) {
  .rail .wrap { grid-template-columns: 1fr; gap: 20px; }
  .shifts { gap: 16px; }
  .shift { padding: 22px; }
  .pair .now, .pair .next { display: block; }
  .pair .tag { display: block; margin-bottom: 3px; }
  .trainer { grid-template-columns: 280px 1fr; gap: 40px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 24px; }
  .bar { display: flex; position: fixed; z-index: 70; bottom: 0; left: 0; right: 0; gap: 12px; align-items: center; background: rgba(18,61,70,.98); color: var(--on-dark); border-top: 1px solid var(--dark-rule); padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom)); transform: translateY(110%); visibility: hidden; transition: transform .22s, visibility .22s; }
  .bar.show { transform: none; visibility: visible; }
  .bar .meta { flex: 1; min-width: 0; }
  .bar .meta b { display: block; font-size: .9rem; color: var(--cream); }
  .bar .meta span { display: block; font-size: .6rem; line-height: 1.5; }
  .bar .btn { flex: none; padding: 10px 18px; min-height: 44px; background: var(--cream); color: var(--ink); border-color: var(--cream); }
  .bar .icn { padding: 10px; width: 44px; }
  .tail { padding-bottom: calc(130px + env(safe-area-inset-bottom)); }
}
@media (max-width: 799px) {
  .chapter-nav .wrap { align-items: flex-start; flex-direction: column; gap: 6px; }
  .chapter-links { gap: 0 20px; }
  .field-story { grid-template-columns: 1fr; }
  .field-story-photo { min-height: 0; aspect-ratio: 4 / 3; }
  .field-story-copy { padding: 40px var(--pad) 46px; }
  .explore-grid { grid-template-columns: 1fr; margin-top: 38px; }
  .explore-card { padding: 22px; gap: 16px; }
  .explore-copy strong { font-size: 1.45rem; }
  .hero-stage { min-height: 0; padding-top: 320px; padding-bottom: 24px; }
  .hero-visual { inset: 0 0 auto; height: 430px; }
  .hero-visual img { object-position: 62% 36%; }
  .hero-shade { background: linear-gradient(0deg, #123d46 0%, #123d46 calc(100% - 410px), rgba(18,61,70,.9) calc(100% - 320px), rgba(18,61,70,.12) calc(100% - 175px), rgba(18,61,70,.06)); }
  .hero-layout { min-height: 0; }
  .hero-copy { max-width: 100%; }
  .hero-kicker { margin-bottom: 22px; }
  .lock .l1 { font-size: clamp(1.6rem, 4.7vw, 2.7rem); }
  .lock .l2 { font-size: clamp(3.9rem, 11.5vw, 6.7rem); }
  .hero-title { max-width: none; }
  .hero-sub { margin-top: 20px; }
  .hero-badges { gap: 11px; }
  .programme-badge--cep { width: 68px; height: 68px; }
  .programme-badge--hrd { width: 72px; height: 72px; }
  .f2f-icon { width: 54px; height: 54px; }
  .f2f-icon svg { width: 35px; height: 35px; }
  .hero-bottom { padding-top: 28px; flex-wrap: wrap; gap: 12px; }
  .hero-facts .facts { padding-block: 6px; }
  .facts { grid-template-columns: 1fr 1fr; padding: 0; }
  .fact, .fact:first-child, .fact:last-child { padding: 18px 16px; border: 0; border-bottom: 1px solid var(--rule); }
  .fact:nth-child(odd) { padding-left: 0; border-right: 1px solid var(--rule); }
  .fact--cep, .fact--hrd { grid-column: auto; border-bottom: 0; }
  .fact.fact--hrd { border-bottom: 0; }
  .pitch, .days, .trainer, .quote, .reg, .benefit-grid { grid-template-columns: 1fr; gap: 36px; }
  .shifts { grid-template-columns: 1fr; gap: 18px; }
  .shift { padding: 26px; }
  .pair .now, .pair .next { display: flex; }
  .pair .tag { margin: 0; }
  .plate { max-width: 350px; }
  .stats { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 430px) {
  .explore-card > img, .explore-play { width: 52px; height: 76px; }
  .explore-card { gap: 13px; padding: 18px; }
  .explore-copy strong { font-size: 1.3rem; }
  .hero-cta .btn, .intake-actions .btn { width: 100%; }
  .hero-kicker { font-size: .63rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .bar { gap: 8px; padding-inline: 16px; }
  .bar .btn { padding-inline: 14px; }
  .bar .icn { width: 42px; padding-inline: 10px; }
  .bar .meta span { font-size: .56rem; }
  .mod { grid-template-columns: 1fr; gap: 4px; }
  .regfacts { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-height: 500px) and (orientation: landscape) { .bar { display: none; } }

/* ---------- 29. Footer ---------- */
.site-footer { background: var(--cream); border-top: 1px solid var(--rule); padding-block: clamp(44px, 6vw, 68px) 28px; color: var(--warm); }
.footer-grid { display: grid; gap: 32px; }
.footer-brand .co { display: block; }
.footer-blurb { margin-top: 12px; max-width: 38ch; color: var(--dim); font-size: .88rem; }
.footer-reg { margin-top: 8px; font-size: .74rem; color: var(--dim); }
.footer-contact { display: grid; align-content: start; margin-top: 18px; font-size: .87rem; }
.footer-contact a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }
.footer-contact a:hover { text-decoration: underline; }
.footer-contact span { display: block; padding-block: 6px; line-height: 1.7; }
.footer-nav { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0,1fr)); }
.footer-heading { font: 700 .66rem/1.5 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .84rem; font-weight: 600; text-decoration: none; color: var(--ink); }
.footer-nav a:hover { text-decoration: underline; }
.footer-nav a[aria-current="page"] { color: var(--gold); text-decoration: underline; }
.footer-approvals { max-width: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; margin-top: 18px; font-size: .73rem; color: var(--dim); }
.back-to-top { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; text-decoration: none; color: var(--ink); }
.back-to-top:hover { text-decoration: underline; }
@media (min-width: 620px) { .footer-nav { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: 56px; } .footer-nav { gap: 32px; } }

/* ---------- 30. Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .motion-enter { animation: rise-into-view 760ms cubic-bezier(.2, .7, .2, 1) var(--motion-delay, 0ms) both; }
  .motion-enter:focus-within { animation: none; }
  .hero-copy > * { animation: hero-enter .85s cubic-bezier(.22, 1, .36, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .hero-copy > :nth-child(5) { animation-delay: .32s; }
  .hero-visual img { animation: hero-image-enter 1.5s cubic-bezier(.2, .7, .3, 1) both; }
  .scroll-cue-icon { animation: scroll-nudge 2s ease-in-out 3; }
  .shift, .day, .plate, .card, .tier, .trainer-card, .gallery-item { transition: translate 260ms ease, box-shadow 260ms ease, border-color 260ms ease; }
  .btn, .mh-reg, .chapter-nav a, .gallery-filters button, .media-filters button, .back-to-top { transition: background 180ms, color 180ms, border-color 180ms, translate 220ms ease; }
  summary.s::after { transition: transform 220ms ease; }
  @keyframes rise-into-view { from { opacity: .15; transform: translate3d(0, 26px, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
  @media (hover: hover) and (pointer: fine) {
    .shift:hover, .day:hover, .plate:hover, a.card:hover, .tier:hover, a.trainer-card:hover { translate: 0 -4px; box-shadow: 0 16px 36px rgba(18, 61, 70, .07); }
    .btn:hover, .mh-reg:hover, .gallery-filters button:hover, .back-to-top:hover { translate: 0 -2px; }
  }
  @media (max-width: 799px) {
    .motion-enter { animation-duration: 620ms; }
    @keyframes rise-into-view { from { opacity: .2; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
  }
}
@keyframes hero-enter { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes hero-image-enter { from { transform: scale(1.055); } to { transform: scale(1); } }
@keyframes scroll-nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .motion-enter { opacity: 1; transform: none; }
}

/* ---------- 31. Print ---------- */
@media print {
  .masthead, .bar, .skip, .chapter-nav, .gallery-filters, .page-next-actions, .hero-visual, .hero-shade, .hero-bottom, .back-to-top { display: none !important; }
  .slide { padding-block: 30px; background: #fff; }
  .wrap { padding-inline: 0; }
  body { font-size: 11pt; }
  .hero-stage { min-height: 0; padding: 0; color: var(--ink); }
  .hero-layout { min-height: 0; }
  .hero-copy { max-width: none; }
  .hero-copy > * { animation: none; opacity: 1; transform: none; }
  .hero .lock span, .hero-kicker, .hero-sub, .hero-prog span, .hero-title, .hero-title em { color: var(--ink); }
  .hero .btn, .intake .btn { color: var(--ink); background: transparent; border-color: var(--ink); }
  .intake, .page-hero, .rail, .cta-band { background: #fff; color: var(--ink); }
  .intake h3, .page-hero h1, .page-hero h1 em, .page-hero .eyebrow, .page-hero .page-hero-lede, .rail h2, .cta-band h2 { color: var(--ink); }
  .field-story { display: block; background: #fff; color: var(--ink); break-inside: avoid; }
  .field-story-photo { display: none; }
  .field-story-copy { padding: 30px 0; }
  .field-story-copy .eyebrow, .field-story-copy h2, .field-story-copy h2 em, .field-story-link { color: var(--ink); }
  .motion-enter { animation: none !important; opacity: 1 !important; transform: none !important; }
  .day, .shift, .plate, .card, .tier, .trainer-profile, .gallery-item { break-inside: avoid; box-shadow: none; }
  .gallery-item[hidden] { display: block !important; }
  .logo-tile img { filter: none; opacity: 1; }
}

/* Approvals heading: two halves joined by a pipe on wide screens, stacked without the pipe on phones */
.approvals-sep { display: none; }
.approvals-half { display: block; }
@media (min-width: 700px) {
  .approvals-sep { display: inline; }
  .approvals-half { display: inline; }
}

/* 320px phones: hold the hero lock on two lines and let the positioning statement wrap naturally */
@media (max-width: 340px) {
  .lock .l2 { font-size: 3.4rem; }
  .why .stmt br { display: none; }
}
