/* ==========================================================================
   PARA COMMANDO PHYSICAL ACADEMY PALAMPUR
   Design system - Indian Army, light
   --------------------------------------------------------------------------
   Ground    : white. A deep army green carries every piece of structure -
               header and footer bands, rules, headings, buttons, insignia.
               The green is deliberately deeper and less yellow than service
               olive: on a white page a light olive reads washed out, and
               washed out reads unserious. Gold appears only where a real
               uniform carries metal: the crest and the rating stars.
   Type      : IBM Plex Sans Condensed for display, headings, labels and
               buttons - an engineered, institutional face with the cadence of
               unit signage, narrow enough to keep long headlines to two lines
               on a phone. IBM Plex Sans for running text: the same drawing at
               normal width, so the page speaks in one voice. Plex was drawn
               for an engineering institution, which is exactly the register
               this academy needs: dependable rather than fashionable.
   Form      : square corners, hairline rules, symmetrical composition.
               No rounded-app styling, no decorative gradients, no glass.
   Spacing   : 8px base scale.
   ========================================================================== */

/* --------------------------------------------------------------- 1. Tokens */
:root {
  /* ground - white */
  --bg:         #FFFFFF;
  --bg-raised:  #F3F5EF;
  --card:       #FFFFFF;
  --card-hover: #F8FAF3;

  /* ink */
  --fg:   #1B1E17;
  --fg-2: #454A3D;
  --fg-3: #63685A;

  /* rules */
  --line:        rgba(27, 30, 23, 0.16);
  --line-strong: rgba(27, 30, 23, 0.34);
  --line-faint:  rgba(27, 30, 23, 0.09);

  /* Indian Army green - carries the structure */
  --army:       #35502B;
  --army-deep:  #1F2F1A;
  --army-mid:   #2A4223;
  --army-light: #6E8A55;
  --army-wash:  rgba(53, 80, 43, 0.07);
  --army-fg:    #FFFFFF;

  /* gold - insignia metal only */
  --gold:      #B08D3F;
  --gold-soft: #D4B978;

  /* actions */
  --accent:       var(--army);
  --accent-hover: #416134;
  --accent-fg:    #FFFFFF;

  /* utility */
  --wa:      #128C4A;
  --danger:  #9A3520;
  --success: #3F6B24;

  /* spacing - 8px scale */
  --s-1: 4px;   --s-2: 8px;   --s-3: 12px;  --s-4: 16px;
  --s-5: 24px;  --s-6: 32px;  --s-7: 48px;  --s-8: 64px;
  --s-9: 96px;  --s-10: 128px;

  /* radii - square by discipline */
  --r-xs: 0px;  --r-sm: 2px;  --r: 2px;  --r-lg: 2px;

  /* layout */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-h: 76px;

  /* type */
  --font-display: "IBM Plex Sans Condensed", "IBM Plex Sans", "Arial Narrow",
                  "Helvetica Neue", Arial, sans-serif;
  --font-text: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system,
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --t-display: clamp(2.15rem, 1.35rem + 3.4vw, 3.5rem);
  --t-h1:      clamp(1.85rem, 1.35rem + 2.2vw, 2.9rem);
  --t-h2:      clamp(1.5rem, 1.2rem + 1.45vw, 2.15rem);
  --t-h3:      clamp(1.14rem, 1.05rem + 0.45vw, 1.38rem);
  --t-h4:      clamp(1.06rem, 1rem + 0.3vw, 1.2rem);
  --t-lead:    clamp(1.04rem, 1rem + 0.34vw, 1.18rem);
  --t-body:    1rem;
  --t-sm:      0.9375rem;
  --t-xs:      0.8125rem;
  --t-micro:   0.6875rem;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  color-scheme: light;
}

/* A faint green-tinted band, for alternating section rhythm on white. */
.section--tint {
  --bg:         #F3F5EF;
  --bg-raised:  #E9EDE3;
  --card:       #FFFFFF;
  --card-hover: #FFFFFF;
  --line:        rgba(27, 30, 23, 0.18);
  --line-strong: rgba(27, 30, 23, 0.34);
}

/* Army green block - the uniform against the white. */
.section--army,
.on-army {
  --bg:         #1F2F1A;
  --bg-raised:  #27381F;
  --card:       #2A4223;
  --card-hover: #314C29;
  --fg:   #FFFFFF;
  --fg-2: #D2D9CA;
  --fg-3: #A6B098;
  --line:        rgba(255, 255, 255, 0.20);
  --line-strong: rgba(255, 255, 255, 0.38);
  --line-faint:  rgba(255, 255, 255, 0.11);
  --army:       #FFFFFF;
  --army-light: #BFD1AC;
  --army-wash:  rgba(255, 255, 255, 0.10);
  --accent:       #FFFFFF;
  --accent-hover: #EAEFE0;
  --accent-fg:    #1F2F1A;
  color-scheme: dark;
}

/* ----------------------------------------------------------------- 2. Base */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-text);
  font-size: var(--t-body);
  line-height: 1.68;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.004em;
  line-height: 1.14;
  margin: 0 0 var(--s-4);
  color: var(--fg);
  text-wrap: balance;
}
h1 { font-size: var(--t-h1); font-weight: 600; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.22; }
h4 { font-size: var(--t-h4); line-height: 1.36; font-family: var(--font-text); font-weight: 600; }

p { margin: 0 0 var(--s-4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }

img, svg, video { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 var(--s-4); padding-left: 1.2em; }
li { margin-bottom: var(--s-2); }
li:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--fg); }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s-7) 0; }

::selection { background: var(--army); color: #FFFFFF; }

:focus-visible { outline: 2px solid var(--army); outline-offset: 3px; }
.section--army :focus-visible, .on-army :focus-visible { outline-color: var(--army); }

.skip-link {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -120%);
  z-index: 200; background: var(--army); color: #FFFFFF;
  padding: var(--s-3) var(--s-5);
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--t-sm); letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; transition: transform 0.2s var(--ease);
}
.skip-link:focus-visible { transform: translate(-50%, 0); }

/* ------------------------------------------------------------- 3. Utilities */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: 1380px; }
.container--narrow { max-width: 800px; }

.section {
  background: var(--bg);
  color: var(--fg);
  padding-block: clamp(56px, 8vw, 112px);
  position: relative;
}
.section--tight { padding-block: clamp(44px, 5.5vw, 78px); }

/* Small caps label - the classic institutional device */
.kicker {
  font-family: var(--font-display);
  font-size: var(--t-micro);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--army);
  margin: 0 0 var(--s-4);
  display: block;
}

/* Rule + lozenge + rule */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  margin: var(--s-5) auto;
  color: var(--army);
}
.ornament::before,
.ornament::after {
  content: "";
  height: 1px;
  width: clamp(36px, 8vw, 88px);
  background: currentColor;
  opacity: 0.7;
}
.ornament__mark { width: 7px; height: 7px; background: currentColor; transform: rotate(45deg); flex: none; }
.ornament--left { justify-content: flex-start; margin-inline: 0; }
.ornament--left::before { display: none; }

.rule-double {
  border: 0;
  border-top: 1px solid var(--line-strong);
  position: relative;
  margin: 0;
  height: 4px;
}
.rule-double::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 3px;
  border-top: 1px solid var(--line-faint);
}

.lead { font-size: var(--t-lead); line-height: 1.68; color: var(--fg-2); max-width: 64ch; }
.muted { color: var(--fg-3); }
.small { font-size: var(--t-sm); }
.xs { font-size: var(--t-xs); }
.army-green { color: var(--army); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.mb-0 { margin-bottom: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* Section head - centred, as a formal composition should be */
.sec-head {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: clamp(36px, 5vw, 66px);
}
.sec-head__title { margin: 0; }
.sec-head .lead { margin-inline: auto; margin-top: var(--s-4); }
.sec-head--left {
  text-align: left;
  max-width: none;
  margin-inline: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: var(--s-4) var(--s-8);
  align-items: end;
}
.sec-head--left .lead { margin-inline: 0; margin-top: 0; }
.sec-head--left .kicker { grid-column: 1 / -1; margin-bottom: 0; }

/* --------------------------------------------------------------- 4. Buttons */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--fg);
  --btn-bd: var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  min-height: 52px;
  padding: 0 var(--s-6);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.22s var(--ease), border-color 0.22s var(--ease),
              color 0.22s var(--ease);
  white-space: nowrap;
}
.btn .i { flex: none; }

.btn--primary { --btn-bg: var(--accent); --btn-fg: var(--accent-fg); --btn-bd: var(--accent); }
.btn--primary:hover { --btn-bg: var(--accent-hover); --btn-bd: var(--accent-hover); }

.btn--outline { --btn-bd: var(--army); --btn-fg: var(--army); }
.section--army .btn--outline,
.on-army .btn--outline { --btn-bd: var(--line-strong); --btn-fg: var(--fg); }
.btn--outline:hover { --btn-bg: var(--army-wash); }

.btn--solid { --btn-bg: var(--card); --btn-bd: var(--line-strong); }
.btn--solid:hover { --btn-bg: var(--card-hover); --btn-bd: var(--army); }

.btn--ghost { --btn-bd: transparent; padding-inline: var(--s-3); min-height: 40px; }
.btn--ghost:hover { --btn-bd: var(--line); }

.btn--sm { min-height: 44px; padding-inline: var(--s-5); font-size: 0.7rem; letter-spacing: 0.10em; }
.btn--lg { min-height: 58px; padding-inline: var(--s-7); font-size: 0.83rem; }
.btn--block { display: flex; width: 100%; }
.btn--wa .i-wa { color: var(--wa); }
.section--army .btn--wa .i-wa, .on-army .btn--wa .i-wa { color: #4FD07F; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--army);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}
.link-arrow .i { transition: transform 0.24s var(--ease); }
.link-arrow:hover .i { transform: translateX(3px); }

/* ----------------------------------------------------------- 5. Icon system */
.i {
  width: 20px; height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: square;
  stroke-linejoin: miter;
  flex: none;
}
.i--sm { width: 16px; height: 16px; stroke-width: 1.7; }
.i--lg { width: 26px; height: 26px; stroke-width: 1.35; }
.i--xl { width: 34px; height: 34px; stroke-width: 1.15; }

/* --------------------------------------------------------------- 6. Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 5px var(--s-3);
  border: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-size: var(--t-micro);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--fg-2);
  white-space: nowrap;
}
.badge--accent { color: var(--army); border-color: var(--army); background: var(--army-wash); }
.badge-row { display: flex; flex-wrap: wrap; gap: var(--s-2); }

/* ---------------------------------------------------------------- 7. Cards */
.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  padding: clamp(22px, 2.4vw, 34px);
  transition: border-color 0.28s var(--ease), background-color 0.28s var(--ease);
}
.card--hover:hover { border-color: var(--army); background: var(--card-hover); }
.card--pad-lg { padding: clamp(26px, 3vw, 46px); }

/* Plaque: an inset second rule, the way a service plate is engraved */
.card--plaque::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid var(--line-faint);
  pointer-events: none;
}

.card__index {
  display: block;
  font-family: var(--font-display);
  font-size: var(--t-micro);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--army);
  margin-bottom: var(--s-4);
}
.card__title { margin: 0 0 var(--s-3); }
.card__text { color: var(--fg-2); font-size: var(--t-sm); margin: 0; }

/* --------------------------------------------------------------- 8. Grids */
.grid { display: grid; gap: var(--s-5); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--gap-lg { gap: var(--s-6); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split--wide-left { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.split--wide-right { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.split--top { align-items: start; }

/* --------------------------------------------------------------- 9. Header */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
  color: var(--fg);
}
.header__inner { display: flex; align-items: center; gap: var(--s-6); width: 100%; }

.brand { display: inline-flex; align-items: center; gap: var(--s-3); text-decoration: none; color: var(--fg); flex: none; margin-right: auto; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.brand__sub {
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--army);
  margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: 2px; }
.nav__link {
  position: relative;
  padding: var(--s-2) var(--s-3);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--fg-2);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.nav__link:hover { color: var(--army); }
.nav__link::after {
  content: "";
  position: absolute;
  left: var(--s-3); right: var(--s-3); bottom: 0;
  height: 1px;
  background: var(--army);
  transform: scaleX(0);
  transition: transform 0.28s var(--ease);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--fg); }

.header__actions { display: flex; align-items: center; gap: var(--s-3); flex: none; }
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--fg);
  cursor: pointer;
}
.nav-toggle__bars { width: 18px; height: 10px; position: relative; }
.nav-toggle__bars span {
  position: absolute; left: 0; right: 0; height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle__bars span:first-child { top: 0; }
.nav-toggle__bars span:last-child { bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

/* Mobile drawer - white, continuing the header rather than contrasting it */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  background: #FFFFFF;
  color: var(--fg);
  padding: var(--s-5) 0 var(--s-7);
  overflow-y: auto;
  overscroll-behavior: contain;
  display: none;
  flex-direction: column;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav__list { list-style: none; margin: 0 0 var(--s-5); padding: 0; }
.mobile-nav__list li { margin: 0; border-bottom: 1px solid var(--line); }
.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-4) 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
}
.mobile-nav__link[aria-current="page"] { color: var(--army); }
.mobile-nav__link .i { color: var(--fg-3); }
.mobile-nav__meta { margin-top: auto; padding-top: var(--s-5); border-top: 1px solid var(--line); color: var(--fg-2); }
.mobile-nav__meta a { color: var(--army); }

body.is-locked { overflow: hidden; }

/* ---------------------------------------------------------------- 10. Hero */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(40px, 6vw, 76px));
  padding-bottom: 0;
  text-align: center;
  background: var(--bg);
  overflow: hidden;
}
.hero__inner { width: 100%; }
.hero__crest { width: 72px; height: 72px; margin: 0 auto var(--s-4); }
.hero__title {
  font-size: var(--t-display);
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 1.04;
  margin: 0 auto var(--s-4);
  max-width: 19ch;
}
.hero__title em { font-style: normal; color: var(--army); display: block; }
.hero__lead { max-width: 58ch; margin: 0 auto var(--s-6); }
.hero .btn-row { justify-content: center; }

/* Mounted plate - the hero photograph, framed like a regimental print */
.hero__plate {
  margin-top: clamp(36px, 5vw, 64px);
  border: 1px solid var(--line-strong);
  padding: 8px;
  background: var(--card);
  position: relative;
}
.hero__plate img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  display: block;
}

/* Service-record data strip */
.spec-strip {
  border-top: 1px solid var(--army);
  border-bottom: 1px solid var(--army);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  text-align: left;
  background: var(--bg-raised);
}
.spec { padding: var(--s-5); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.spec:last-child { border-right: 0; }
.spec__value {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  line-height: 1.25;
  color: var(--army);
}
.spec__label { font-size: var(--t-xs); color: var(--fg-2); line-height: 1.5; }

/* ------------------------------------------------------------ 11. Trust bar */
.trustbar { background: var(--army-deep); color: #FFFFFF; }
.trustbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--s-3) var(--s-7);
  padding-block: var(--s-5);
  text-align: center;
}
.trust-item { display: flex; align-items: center; gap: var(--s-3); font-size: var(--t-sm); color: #D3DBC6; }
.trust-item .i { color: var(--gold-soft); }
.trust-item strong { color: #FFFFFF; font-weight: 600; }
.trustbar .stars { color: var(--gold-soft); }

.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 14px; height: 14px; fill: currentColor; stroke: none; }

/* --------------------------------------------------------------- 12. Stats */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.stat { padding: var(--s-6) var(--s-5); border-right: 1px solid var(--line); text-align: center; }
.stat:last-child { border-right: 0; }
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.35rem + 1.8vw, 2.7rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: var(--s-3);
  color: var(--army);
}
.section--army .stat__value { color: var(--army); }
.stat__label { font-size: var(--t-xs); color: var(--fg-3); line-height: 1.5; letter-spacing: 0.03em; }

/* ------------------------------------------------------------- 13. Programs */
.prog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 214px), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--army);
}
.prog {
  background: var(--bg);
  padding: var(--s-6) var(--s-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s-3);
  text-decoration: none;
  color: inherit;
  transition: background-color 0.25s var(--ease);
  min-height: 178px;
}
.prog:hover { background: var(--card-hover); }
.prog__icon { color: var(--army); }
.prog__name {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  margin: auto 0 0;
}
.prog__meta { font-size: var(--t-xs); color: var(--fg-3); }

/* --------------------------------------------------------- 14. Course cards */
.course-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line-strong);
  transition: border-color 0.28s var(--ease);
}
.course-card:hover { border-color: var(--army); }
.course-card__head { padding: clamp(22px, 2.4vw, 30px); border-bottom: 1px solid var(--line); text-align: center; }
.course-card__title { margin: var(--s-3) 0; font-size: var(--t-h3); }
.course-card__for { font-size: var(--t-sm); color: var(--fg-2); margin: 0; }
.course-card__body { padding: clamp(22px, 2.4vw, 30px); flex: 1; }
.course-card__foot {
  padding: clamp(22px, 2.4vw, 30px);
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  text-align: center;
  background: var(--bg-raised);
}

.spec-list { list-style: none; margin: 0; padding: 0; }
.spec-list li {
  display: grid;
  grid-template-columns: minmax(0, 108px) minmax(0, 1fr);
  gap: var(--s-4);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
  font-size: var(--t-sm);
}
.spec-list li:last-child { border-bottom: 0; }
.spec-list .k {
  color: var(--fg-3);
  font-family: var(--font-display);
  font-size: var(--t-micro);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
  padding-top: 4px;
}
.spec-list .v { color: var(--fg); }

.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  font-size: var(--t-sm);
  color: var(--fg-2);
  margin-bottom: var(--s-3);
}
.check-list li:last-child { margin-bottom: 0; }
.check-list .i { color: var(--army); margin-top: 4px; }
.section--army .check-list .i, .on-army .check-list .i { color: var(--army); }

.price { display: flex; align-items: baseline; justify-content: center; gap: var(--s-2); flex-wrap: wrap; }
.price__amount {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.7rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--army);
}
.price__note { font-size: var(--t-xs); color: var(--fg-3); }
.price--tbc .price__amount { font-size: clamp(1.02rem, 0.98rem + 0.4vw, 1.2rem); color: var(--fg-2); }

/* ---------------------------------------------------------- 15. Method steps */
.steps { border-top: 1px solid var(--line-strong); }
.step {
  display: grid;
  grid-template-columns: minmax(0, 92px) minmax(0, 1fr) minmax(0, 1.15fr);
  gap: var(--s-4) var(--s-7);
  padding: clamp(24px, 3vw, 38px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.step__num {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  color: var(--army);
  padding-top: 2px;
}
.step__title { margin: 0; }
.step__text { color: var(--fg-2); font-size: var(--t-sm); margin: 0; }

/* -------------------------------------------------------------- 16. Gallery */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s-4); }
.gallery__item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--card);
  grid-column: span 4;
  padding: 0;
  cursor: zoom-in;
  display: block;
  width: 100%;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery__item:hover img { transform: scale(1.03); }
.gallery__item--wide { grid-column: span 8; }
.gallery__item--half { grid-column: span 6; }
.gallery__item--full { grid-column: span 12; }
.gallery__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--s-6) var(--s-4) var(--s-3);
  font-size: var(--t-micro);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 600;
  color: #FFFFFF;
  background: linear-gradient(180deg, transparent, rgba(36,42,20,0.92));
  text-align: left;
}

.figure { position: relative; border: 1px solid var(--line-strong); background: var(--card); padding: 8px; }
.figure img { width: 100%; }
.figure figcaption {
  font-family: var(--font-display);
  font-size: var(--t-micro);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--fg-3);
  padding: var(--s-3) var(--s-2) 0;
}

/* ------------------------------------------------------------ 17. Accordion */
.accordion { border-top: 1px solid var(--line-strong); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  padding: var(--s-5) 0;
  background: none;
  border: 0;
  color: var(--fg);
  font-family: var(--font-text);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  line-height: 1.45;
}
.acc-btn:hover { color: var(--army); }
.acc-btn__sign { position: relative; width: 16px; height: 16px; flex: none; color: var(--army); }
.acc-btn__sign::before,
.acc-btn__sign::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.acc-btn__sign::before { top: 7.5px; left: 0; right: 0; height: 1.5px; }
.acc-btn__sign::after { left: 7.5px; top: 0; bottom: 0; width: 1.5px; }
.acc-btn[aria-expanded="true"] .acc-btn__sign::after { transform: rotate(90deg); opacity: 0; }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.34s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel__inner { padding: 0 0 var(--s-5); max-width: 74ch; color: var(--fg-2); font-size: var(--t-sm); }

/* ----------------------------------------------------------- 18. Testimonial */
.review { display: flex; flex-direction: column; gap: var(--s-4); height: 100%; }
.review__stars { color: var(--gold); display: flex; gap: 2px; }
.review__stars svg { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.review__quote {
  font-size: var(--t-body);
  color: var(--fg);
  margin: 0;
  line-height: 1.7;
  padding-left: var(--s-4);
  border-left: 2px solid var(--army);
}
.review__by { margin-top: auto; padding-top: var(--s-4); border-top: 1px solid var(--line); }
.review__name {
  font-family: var(--font-display);
  font-weight: 700; font-size: var(--t-sm);
  letter-spacing: 0.09em; text-transform: uppercase; margin: 0;
}
.review__meta { font-size: var(--t-xs); color: var(--fg-3); margin: 4px 0 0; }

.empty-state {
  border: 1px solid var(--line-strong);
  padding: clamp(30px, 4vw, 60px);
  text-align: center;
  background: var(--card);
  position: relative;
}
.empty-state::before { content: ""; position: absolute; inset: 7px; border: 1px solid var(--line-faint); pointer-events: none; }
.empty-state__icon { color: var(--army); margin: 0 auto var(--s-4); }
.empty-state h3 { margin-bottom: var(--s-3); }
.empty-state p { color: var(--fg-2); max-width: 56ch; margin-inline: auto; }

/* ---------------------------------------------------------------- 19. Forms */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
.field { display: flex; flex-direction: column; gap: var(--s-2); }
.field--full { grid-column: 1 / -1; }
.field__label {
  font-family: var(--font-display);
  font-size: var(--t-micro);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.field__req { color: var(--danger); }
.field__hint { font-size: var(--t-xs); color: var(--fg-3); }

.input, .select, .textarea {
  width: 100%;
  min-height: 52px;
  padding: var(--s-3) var(--s-4);
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  color: var(--fg);
  font-family: var(--font-text);
  font-size: var(--t-body);
  line-height: 1.5;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  appearance: none;
}
.textarea { min-height: 132px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--fg-3); opacity: 1; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--army-light); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--army);
  box-shadow: 0 0 0 3px var(--army-wash);
}
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364694F' stroke-width='1.6'%3E%3Cpath d='M6 9.5 12 15.5 18 9.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
  cursor: pointer;
}
.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea { border-color: var(--danger); }
.field__error { display: none; font-size: var(--t-xs); color: var(--danger); align-items: center; gap: 6px; }
.field.has-error .field__error { display: flex; }

.radio-row { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.radio-pill span {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 var(--s-5);
  border: 1px solid var(--line-strong);
  background: var(--card);
  font-size: var(--t-sm);
  color: var(--fg-2);
  transition: all 0.2s var(--ease);
}
.radio-pill input:checked + span { border-color: var(--army); background: var(--army-wash); color: var(--fg); font-weight: 600; }
.radio-pill input:focus-visible + span { outline: 2px solid var(--army); outline-offset: 2px; }

.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  display: none;
  gap: var(--s-3);
  padding: var(--s-4) var(--s-5);
  border: 1px solid var(--line-strong);
  font-size: var(--t-sm);
  background: var(--bg-raised);
  text-align: left;
}
.form-status.is-visible { display: flex; }
.form-status--ok { border-color: var(--success); background: rgba(74, 107, 42, 0.08); }
.form-status--ok .i { color: var(--success); }
.form-status--err { border-color: var(--danger); background: rgba(151, 51, 31, 0.07); }
.form-status--err .i { color: var(--danger); }
.form-status--info .i { color: var(--army); }
.form-status .i { margin-top: 3px; }
.form-status a { color: var(--army); }

.btn.is-loading { pointer-events: none; opacity: 0.75; }
.btn.is-loading::after {
  content: "";
  display: inline-block;
  width: 12px; height: 12px;
  margin-left: 8px;
  border: 1.5px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------ 20. CTA block */
.cta-block {
  border: 1px solid var(--army);
  padding: clamp(32px, 5vw, 68px);
  background: var(--bg-raised);
  position: relative;
  text-align: center;
}
.cta-block::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--line-faint); pointer-events: none; }
.cta-block h2 { max-width: 22ch; margin-inline: auto; }
.cta-block .lead { margin-inline: auto; }
.cta-block .btn-row { justify-content: center; }

/* --------------------------------------------------------------- 21. Footer */
.footer {
  background: var(--army-deep);
  color: #FFFFFF;
  border-top: 3px solid var(--gold);
  padding-top: clamp(52px, 7vw, 80px);
  padding-bottom: var(--s-6);
  --line: rgba(244, 241, 229, 0.16);
  --fg-2: #D2D9CA;
  --fg-3: #A6B098;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: var(--s-8) var(--s-6);
  padding-bottom: clamp(36px, 5vw, 60px);
}
.footer .brand { color: #FFFFFF; }
.footer__about { max-width: 38ch; }
.footer__about p { color: #D3DBC6; }
.footer .badge { border-color: rgba(244,241,229,0.3); color: #D3DBC6; }
.footer__title {
  font-family: var(--font-display);
  font-size: var(--t-micro);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 var(--s-5);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--line);
}
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin-bottom: var(--s-3); }
.footer__list a { font-size: var(--t-sm); color: #D3DBC6; text-decoration: none; transition: color 0.2s var(--ease); }
.footer__list a:hover { color: #FFFFFF; }
.footer__bottom {
  border-top: 1px solid var(--line);
  padding-top: var(--s-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-6);
  align-items: center;
  justify-content: space-between;
  font-size: var(--t-xs);
  color: #A7B394;
}
.footer__bottom a { color: #A7B394; text-decoration: none; }
.footer__bottom a:hover { color: #FFFFFF; }
.footer__legal { display: flex; gap: var(--s-5); flex-wrap: wrap; }

address.nap { font-style: normal; color: #D3DBC6; font-size: var(--t-sm); line-height: 1.75; }
address.nap a { color: var(--gold-soft); text-decoration: none; }
address.nap a:hover { text-decoration: underline; }

/* ----------------------------------------------------- 22. Sticky mobile CTA */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  display: none;
  background: var(--army-deep);
  border-top: 1px solid var(--gold);
}
.sticky-cta__inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.sticky-cta__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 62px;
  padding: var(--s-2);
  border-right: 1px solid rgba(244, 241, 229, 0.16);
  color: #EAEFE0;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.sticky-cta__btn:last-child { border-right: 0; }
.sticky-cta__btn--wa .i { color: #4FD07F; }
.sticky-cta__btn--primary { background: #FFFFFF; color: var(--army-deep); }

/* ---------------------------------------------------------- 23. Breadcrumbs */
.breadcrumb { padding-top: calc(var(--header-h) + var(--s-6)); font-size: var(--t-xs); color: var(--fg-3); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); margin: 0; padding: 0; }
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: var(--s-2); }
.breadcrumb a { color: var(--fg-3); text-decoration: none; }
.breadcrumb a:hover { color: var(--army); }
.breadcrumb [aria-current="page"] { color: var(--fg-2); }
.breadcrumb .sep { opacity: 0.55; }

/* --------------------------------------------------------- 24. Page headers */
.page-head {
  padding-top: var(--s-6);
  padding-bottom: clamp(36px, 5vw, 64px);
  border-bottom: 1px solid var(--line-strong);
  text-align: center;
}
.page-head__title { font-size: var(--t-h1); margin: 0 auto var(--s-4); max-width: 20ch; }
.page-head .lead { margin-inline: auto; }

/* ------------------------------------------------------------- 25. Prose */
.prose { max-width: 72ch; }
.prose h2 { margin-top: var(--s-8); font-size: var(--t-h3); }
.prose h3 { margin-top: var(--s-6); font-size: var(--t-h4); font-family: var(--font-text); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--fg-2); }
.prose a { color: var(--army); }

/* --------------------------------------------------------- 26. Notice strip */
.notice {
  display: flex;
  gap: var(--s-4);
  padding: var(--s-5);
  border: 1px solid var(--line);
  border-left: 3px solid var(--army);
  background: var(--bg-raised);
  font-size: var(--t-sm);
  color: var(--fg-2);
  text-align: left;
}
.notice .i { color: var(--army); flex: none; margin-top: 3px; }
.notice strong { color: var(--fg); }

/* ----------------------------------------------------------- 27. 404 layout */
.error-page {
  min-height: 78svh;
  display: flex;
  align-items: center;
  padding-block: calc(var(--header-h) + var(--s-8)) var(--s-8);
  text-align: center;
}
.error-code {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 3rem + 10vw, 9.5rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--army);
  margin: 0 0 var(--s-5);
}

/* --------------------------------------------------------------- 28. Motion */
[data-reveal] { opacity: 1; transform: none; }
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media (prefers-contrast: more) {
  :root { --line: rgba(27,32,21,0.34); --line-strong: rgba(27,32,21,0.6); --fg-3: #4B5140; }
}

@media print {
  .header, .mobile-nav, .sticky-cta { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 24px; }
}

/* --------------------------------------------------------------- 29. Lightbox */
.lb {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 64px);
  background: rgba(24, 28, 16, 0.94);
  animation: lb-in 0.24s var(--ease);
}
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lb__img { max-width: 100%; max-height: 100%; width: auto; border: 1px solid var(--gold); }
.lb__close {
  position: absolute;
  top: clamp(12px, 2vw, 24px);
  right: clamp(12px, 2vw, 24px);
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--army-deep);
  border: 1px solid rgba(244, 241, 229, 0.34);
  color: #FFFFFF;
  cursor: pointer;
}
.lb__close:hover { border-color: #FFFFFF; }

/* ------------------------------------------------- 30. Contact / hours list */
.kv-list { list-style: none; margin: 0; padding: 0; }
.kv-list li {
  display: flex;
  justify-content: space-between;
  gap: var(--s-5);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
  font-size: var(--t-sm);
}
.kv-list li:last-child { border-bottom: 0; }
.kv-list .k { color: var(--fg-3); }
.kv-list .v { color: var(--fg); font-weight: 600; text-align: right; }

.contact-card {
  display: flex;
  gap: var(--s-4);
  padding: var(--s-5);
  border: 1px solid var(--line-strong);
  background: var(--card);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.24s var(--ease), background-color 0.24s var(--ease);
  text-align: left;
}
.contact-card:hover { border-color: var(--army); background: var(--card-hover); }
.contact-card__icon { color: var(--army); flex: none; margin-top: 3px; }
.contact-card__label {
  font-family: var(--font-display);
  font-size: var(--t-micro);
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin: 0 0 6px;
}
.contact-card__value {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin: 0;
  line-height: 1.45;
}
.contact-card__note { font-size: var(--t-xs); color: var(--fg-3); margin: 6px 0 0; }

.map-panel {
  border: 1px solid var(--line-strong);
  overflow: hidden;
  background: var(--card);
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image:
    linear-gradient(rgba(27,32,21,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,32,21,0.06) 1px, transparent 1px);
  background-size: 44px 44px;
}
.map-panel__inner { text-align: center; padding: var(--s-6); max-width: 42ch; }

/* ==========================================================================
   31. Layout utilities
   --------------------------------------------------------------------------
   These exist so that no page needs an inline style="" attribute. That keeps
   the Content-Security-Policy strict: style-src never needs 'unsafe-inline'.
   Spacing values map onto the 8px scale.
   ========================================================================== */
.m-0  { margin: 0 !important; }
.mt-0 { margin-top: 0 !important; }

.mt-2 { margin-top: var(--s-2); }
.mt-3 { margin-top: var(--s-3); }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }

.mb-2 { margin-bottom: var(--s-2); }
.mb-3 { margin-bottom: var(--s-3); }
.mb-4 { margin-bottom: var(--s-4); }
.mb-5 { margin-bottom: var(--s-5); }
.mb-6 { margin-bottom: var(--s-6); }

.my-5 { margin-block: var(--s-5); }
.my-6 { margin-block: var(--s-6); }

.mi-auto { margin-inline: auto; }
.inline-block { display: inline-block; }
.text-left { text-align: left; }
.text-body { font-size: var(--t-body); }
.text-h3 { font-size: var(--t-h3); }
.gap-4 { gap: var(--s-4); }
.no-rule { border-bottom: 0 !important; }

.items-center { align-items: center; }
.row-center { justify-content: center; }
.row-start { justify-content: flex-start; }

/* A button row stacked full width - used in every call-to-action panel */
.btn-row--stack { flex-direction: column; align-items: stretch; }

/* Mobile drawer inner column */
.drawer-col { display: flex; flex-direction: column; flex: 1; }

/* A large icon introducing a panel */
.icon-lead { color: var(--army); display: inline-block; margin-bottom: var(--s-3); }

/* Numbered "what happens next" list */
.steps-ol { padding-left: 1.1em; margin: 0; color: var(--fg-2); font-size: var(--t-sm); }
.steps-ol li { margin-bottom: var(--s-3); }
.steps-ol li:last-child { margin-bottom: 0; }

/* Honest note about licensed context photography */
.photo-note {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
  font-size: var(--t-xs);
  color: var(--fg-3);
  border-top: 1px solid var(--line);
  padding-top: var(--s-4);
  margin: 0;
  max-width: 92ch;
}
.photo-note .i { color: var(--army); flex: none; margin-top: 2px; }

/* Hero rotating programme line */
.hero__rotator {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--s-1) var(--s-3);
  margin: 0 0 var(--s-6);
  font-family: var(--font-display);
  font-size: clamp(1rem, 0.94rem + 0.35vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.hero__rotator-label {
  font-size: var(--t-micro);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.footer__disclosure { display: inline-block; margin-top: 6px; max-width: 62ch; line-height: 1.6; }

/* ==========================================================================
   32. Overflow guards
   --------------------------------------------------------------------------
   Grid and flex children default to min-width:auto, which lets a wide child
   (a padded notice, a numbered list, a long unbroken word) push a track wider
   than its container. On a 320px phone that becomes a sideways scroll. These
   rules let every track shrink to its share instead.
   ========================================================================== */
.split > *,
.grid > *,
.head > *,
.feature-row > *,
.hero__grid > *,
.form-grid > *,
.stat-row > *,
.hero__ledger > *,
.spec-strip > * { min-width: 0; }

.notice > *,
.form-status > *,
.contact-card > *,
.check-list li > *,
.trust-item > * { min-width: 0; }

/* Long unbroken strings (a pasted URL, a long address) must not widen a page */
.prose, .acc-panel__inner, .card__text, .notice, .lead, address.nap { overflow-wrap: break-word; }
