/* ==========================================================================
   HALSO — Health Agency Leadership Summit & Outcomes
   Shared production stylesheet. Single file by design.

   Deploy to:  public_html/assets/halso.css
   Referenced by every page as:  <link rel="stylesheet" href="assets/halso.css">

   The August 2 build split styling across site.css, home.css and
   components.css. When the assets folder did not reach the server, every
   page fell back to browser defaults. One stylesheet removes three of the
   four ways that can happen again.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Identity palette, carried forward unchanged */
  --aubergine:      #3D2948;
  --aubergine-deep: #2C1D35;
  --aubergine-soft: #5A4268;
  --brass:          #B98942;
  --brass-deep:     #7E5716;   /* AA-safe brass for text on light grounds */
  --brass-light:    #DFC08C;
  --cream:          #F6F0E7;
  --sand:           #FBF7F0;
  --paper:          #FFFFFF;

  --ink:            #211829;
  --ink-mid:        #4A3E55;
  --ink-soft:       #574A63;
  --on-dark:        #F6F0E7;
  --on-dark-soft:   #D8CCDD;

  --line:           #E4DACB;
  --line-strong:    #CFC1AC;
  --line-dark:      rgba(246,240,231,.22);

  /* Measure and rhythm */
  --shell:      1200px;
  --shell-wide: 1340px;
  --measure:    68ch;
  --measure-tight: 60ch;

  --pad-x: clamp(1.15rem, 4vw, 3rem);
  --band-y: clamp(3.25rem, 7vw, 6rem);
  --gap: clamp(1.15rem, 2.4vw, 2rem);

  --radius: 4px;
  --radius-lg: 8px;

  --shadow-sm: 0 1px 2px rgba(45,29,53,.05), 0 4px 14px rgba(45,29,53,.05);
  --shadow-md: 0 2px 4px rgba(45,29,53,.06), 0 14px 34px rgba(45,29,53,.09);

  --serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;

  --focus: 3px solid #1A56A8;
}

/* --------------------------------------------------------------------------
   2. Reset and base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  /* 17px -> 19px. The previous build sat near 14px, which read as undersized. */
  font-size: clamp(1.0625rem, 0.28vw + 1rem, 1.1875rem);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; border: 0; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--aubergine);
  line-height: 1.16;
  margin: 0 0 .55em;
  letter-spacing: -.006em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.05rem, 4.4vw, 3.35rem); letter-spacing: -.018em; }
h2 { font-size: clamp(1.6rem, 2.9vw, 2.35rem); letter-spacing: -.012em; }
h3 { font-size: clamp(1.16rem, 1.35vw, 1.35rem); font-weight: 600; letter-spacing: -.004em; }
h4 { font-size: 1.05rem; font-weight: 600; }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brass-deep); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--aubergine); }

b, strong { font-weight: 600; color: var(--ink); }

ul, ol { margin: 0 0 1.05em; padding-left: 1.35em; }
li { margin-bottom: .5em; }
li:last-child { margin-bottom: 0; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

::selection { background: var(--brass-light); color: var(--aubergine-deep); }

/* --------------------------------------------------------------------------
   3. Focus, skip link, screen-reader helpers
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}
.band--deep :focus-visible,
.panel-deep :focus-visible,
.herocard :focus-visible,
.sitefoot :focus-visible { outline-color: #FFD98A; }

main:focus { outline: none; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 999;
  background: var(--aubergine);
  color: var(--on-dark);
  padding: .75rem 1.15rem;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  transition: top .16s ease;
}
.skip-link:focus { top: 1rem; color: var(--on-dark); }

.vh {
  position: absolute !important;
  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;
}

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.shell--wide { max-width: var(--shell-wide); }
.shell--text { max-width: 880px; }

.band { padding-block: var(--band-y); }
.band--cream  { background: var(--cream); }
.band--sand   { background: var(--sand); }
.band--paper  { background: var(--paper); border-block: 1px solid var(--line); }
.band--deep   { background: var(--aubergine); color: var(--on-dark); }
.band--tight  { padding-block: clamp(2.25rem, 4.5vw, 3.5rem); }

.band--deep h2, .band--deep h3 { color: var(--on-dark); }
.band--deep p { color: var(--on-dark-soft); }
.band--deep a { color: #F0D5A4; }
.band--deep a:hover { color: #FFFFFF; }
/* Buttons are not body links. Without these the .band--deep link colour
   (specificity 0,1,1) beats .btn--brass (0,1,0) and paints the brass CTA
   pale gold on brass at 2.2:1 — a WCAG AA failure. */
.band--deep a.btn--brass, .panel-deep a.btn--brass { color: #2C1D35; }
.band--deep a.btn--brass:hover, .panel-deep a.btn--brass:hover { color: #2C1D35; }
.band--deep a.btn--ghost, .panel-deep a.btn--ghost { color: var(--on-dark); }
.band--deep a.btn, .panel-deep a.btn { text-decoration: none; }

.prose { max-width: var(--measure); color: var(--ink-mid); }
.prose--tight { max-width: var(--measure-tight); }
.prose p + p { margin-top: 0; }
.prose.center { margin-inline: auto; }

.center { text-align: center; }
.stack > * + * { margin-top: clamp(1.5rem, 3vw, 2.4rem); }

/* Section heading group ---------------------------------------------------- */
.eyebrow {
  font-family: var(--sans);
  font-size: .755rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin: 0 0 .85rem;
  display: block;
}
.band--deep .eyebrow,
.panel-deep .eyebrow,
.herocard .eyebrow { color: var(--brass-light); }

.sechead { margin-bottom: clamp(1.75rem, 3.4vw, 2.75rem); max-width: 46rem; }
.sechead.center { margin-inline: auto; }
.sechead p { color: var(--ink-mid); font-size: 1.02em; margin-bottom: 0; }
.band--deep .sechead p { color: var(--on-dark-soft); }

.sechead::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  background: var(--brass);
  margin-top: 1.15rem;
}
.sechead.center::after { margin-inline: auto; }
.sechead--plain::after { display: none; }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .8rem 1.6rem;
  border: 2px solid var(--aubergine);
  border-radius: var(--radius);
  background: var(--aubergine);
  color: var(--on-dark);
  font-family: var(--sans);
  font-size: .96rem;
  font-weight: 600;
  letter-spacing: .012em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}
.btn:hover {
  background: var(--aubergine-deep);
  border-color: var(--aubergine-deep);
  color: var(--on-dark);
  transform: translateY(-1px);
}
.btn--brass {
  background: var(--brass);
  border-color: var(--brass);
  color: #2C1D35;
}
.btn--brass:hover { background: #A97A34; border-color: #A97A34; color: #2C1D35; }

.btn--ghost {
  background: transparent;
  color: var(--aubergine);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: var(--paper); border-color: var(--aubergine); color: var(--aubergine); }

/* Ghost buttons sitting on any dark ground. Scoped to every dark container,
   not just .band--deep: the hero card and the deep panel are dark too, and
   inheriting the light-ground colour renders the label invisible. */
.band--deep .btn--ghost,
.panel-deep .btn--ghost,
.herocard .btn--ghost { color: var(--on-dark); border-color: var(--line-dark); }
.band--deep .btn--ghost:hover,
.panel-deep .btn--ghost:hover,
.herocard .btn--ghost:hover { background: rgba(246,240,231,.1); border-color: var(--on-dark); color: var(--on-dark); }

.btn--sm { min-height: 42px; padding: .55rem 1.1rem; font-size: .88rem; }

.btnrow {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: clamp(1.5rem, 3vw, 2.1rem);
}
.btnrow.center { justify-content: center; }

.arrowlink {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border-bottom: 2px solid rgba(185,137,66,.42);
  padding-bottom: 2px;
  min-height: 32px;
}
.arrowlink:hover { border-bottom-color: var(--aubergine); }
.arrowlink::after { content: "\2192"; transition: transform .16s ease; }
.arrowlink:hover::after { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   6. Header and navigation
   -------------------------------------------------------------------------- */
.sitehead {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(246,240,231,.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.sitehead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 74px;
  padding-block: .55rem;
}

.brandlink {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--aubergine);
  flex: 0 0 auto;
}
.brandlink__mark { width: 38px; height: 38px; flex: 0 0 38px; }
.brandlink__name {
  display: block;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 1;
  color: var(--aubergine);
}
.brandlink__sub {
  display: block;
  font-size: .655rem;
  letter-spacing: .085em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: .28rem;
  line-height: 1.25;
  font-weight: 500;
}

.navtoggle {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 46px;
  padding: .5rem .85rem;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--aubergine);
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
}
.navtoggle__bars { position: relative; width: 18px; height: 12px; flex: 0 0 18px; }
.navtoggle__bars span,
.navtoggle__bars::before,
.navtoggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--aubergine);
  border-radius: 2px;
}
.navtoggle__bars::before { top: 0; }
.navtoggle__bars span { top: 5px; }
.navtoggle__bars::after { bottom: 0; }

.mainnav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: .15rem;
}
.mainnav li { margin: 0; }
.mainnav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .45rem .68rem;
  border-radius: var(--radius);
  color: var(--ink-mid);
  font-size: .925rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.mainnav a:hover { color: var(--aubergine); background: rgba(185,137,66,.1); }
.mainnav a[aria-current="page"] {
  color: var(--aubergine);
  font-weight: 600;
  border-bottom-color: var(--brass);
  border-radius: var(--radius) var(--radius) 0 0;
}
.mainnav__sep { width: 1px; height: 26px; background: var(--line-strong); margin-inline: .5rem; flex: 0 0 1px; }

.mainnav .nav-apply {
  background: var(--brass);
  color: #2C1D35;
  font-weight: 600;
  padding-inline: 1.05rem;
  border-bottom-color: transparent;
}
.mainnav .nav-apply:hover { background: #A97A34; color: #2C1D35; }
.mainnav .nav-apply[aria-current="page"] {
  background: var(--brass);
  color: #2C1D35;
  border-bottom-color: var(--aubergine);
}
.mainnav .nav-member {
  border: 1px solid var(--line-strong);
  padding-inline: .95rem;
  color: var(--aubergine);
  font-weight: 600;
}
.mainnav .nav-member:hover { border-color: var(--aubergine); background: transparent; }

@media (max-width: 1080px) {
  .mainnav a { font-size: .89rem; padding-inline: .55rem; }
  .brandlink__sub { display: none; }
}

/* Mobile navigation ------------------------------------------------------- */
@media (max-width: 960px) {
  .navtoggle { display: inline-flex; }
  .mainnav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: .6rem var(--pad-x) 1.35rem;
  }
  .mainnav.is-open { display: block; }
  .mainnav ul { flex-direction: column; align-items: stretch; gap: .1rem; }
  .mainnav li { width: 100%; }
  .mainnav a {
    display: flex;
    width: 100%;
    min-height: 52px;
    font-size: 1.02rem;
    padding: .7rem .5rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    justify-content: flex-start;
  }
  .mainnav a[aria-current="page"] {
    border-bottom-color: var(--line);
    box-shadow: inset 3px 0 0 var(--brass);
    padding-left: .85rem;
  }
  .mainnav__sep { display: none; }
  .mainnav .nav-apply,
  .mainnav .nav-member {
    justify-content: center;
    margin-top: .8rem;
    border-radius: var(--radius);
    border-bottom: 0;
    min-height: 50px;
  }
  .mainnav .nav-member { border: 1px solid var(--line-strong); }
}
@media (min-width: 961px) {
  .navtoggle { display: none; }
  .mainnav { display: block !important; }
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  background:
    radial-gradient(120% 90% at 88% 0%, rgba(185,137,66,.14) 0%, rgba(185,137,66,0) 58%),
    var(--cream);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.75rem, 6.5vw, 5.5rem);
}
.hero__grid {
  display: grid;
  gap: clamp(2rem, 4.5vw, 3.5rem);
  align-items: start;
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1.32fr) minmax(320px, .78fr); align-items: center; }
}

.hero h1 { margin-bottom: .5rem; }
.hero__lede {
  font-size: clamp(1.1rem, 1.5vw, 1.32rem);
  line-height: 1.55;
  color: var(--ink-mid);
  max-width: 40ch;
  margin-bottom: 1.1rem;
}
.hero__body { max-width: 54ch; color: var(--ink-mid); font-size: .995em; }

.tagline {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(1.02rem, 1.3vw, 1.2rem);
  font-weight: 500;
  color: var(--aubergine);
  border-left: 3px solid var(--brass);
  padding-left: .85rem;
  margin-bottom: 1.35rem;
  line-height: 1.4;
}

/* Two-column split used by the integrity bands. Kept separate from the hero
   grid so the commitments column is not squeezed into a narrow rag. */
.splitgrid { display: grid; gap: clamp(1.75rem, 4vw, 3.25rem); align-items: start; }
@media (min-width: 900px) {
  .splitgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); }
}

.hero__note {
  margin-top: 1.15rem;
  font-size: .87rem;
  color: var(--ink-soft);
  max-width: 52ch;
}

/* Hero side card ---------------------------------------------------------- */
.herocard {
  background: var(--aubergine);
  color: var(--on-dark);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--brass);
}
.herocard__badge { width: 76px; height: 76px; margin-bottom: 1.1rem; }
.herocard h2 {
  color: var(--on-dark);
  font-size: 1.32rem;
  margin-bottom: .35rem;
}
.herocard__price {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: 1.15rem;
}
.herocard ul { list-style: none; margin: 0 0 1.35rem; padding: 0; }
.herocard li {
  position: relative;
  padding-left: 1.55rem;
  margin-bottom: .8rem;
  font-size: .93rem;
  line-height: 1.55;
  color: var(--on-dark-soft);
}
.herocard li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .48em;
  width: 9px;
  height: 9px;
  background: var(--brass);
  transform: rotate(45deg);
}
.herocard .btn { width: 100%; }

/* --------------------------------------------------------------------------
   8. Page head (interior pages)
   -------------------------------------------------------------------------- */
.pagehead {
  background:
    linear-gradient(180deg, rgba(185,137,66,.09) 0%, rgba(185,137,66,0) 100%),
    var(--cream);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.5rem, 5.5vw, 4.5rem);
}
.pagehead h1 { max-width: 20ch; }
.pagehead__sub {
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  line-height: 1.58;
  color: var(--ink-mid);
  max-width: 58ch;
  margin-bottom: 0;
}
.pagehead__meta {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .95rem;
  font-size: .84rem;
  font-weight: 600;
  color: var(--brass-deep);
  letter-spacing: .04em;
}

.trustline {
  margin-top: 1.5rem;
  padding: .75rem 1.1rem;
  background: rgba(255,255,255,.72);
  border-left: 3px solid var(--brass);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .89rem;
  font-weight: 500;
  color: var(--aubergine);
  max-width: 62ch;
}

/* --------------------------------------------------------------------------
   9. Programme cards  (distinct treatment: white, brass rule, dated)
   -------------------------------------------------------------------------- */
.progs {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .progs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .progs--3 { grid-template-columns: repeat(3, 1fr); } }

.prog {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--brass);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.3vw, 1.9rem);
  box-shadow: var(--shadow-sm);
}
.prog__when {
  font-size: .755rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: .7rem;
}
.prog h3 { margin-bottom: .55rem; font-size: 1.24rem; }
.prog p { color: var(--ink-mid); font-size: .95rem; margin-bottom: 1rem; }
.prog__foot { margin-top: auto; padding-top: .3rem; }
.prog__tag {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .6rem;
  border-radius: 3px;
  background: rgba(61,41,72,.09);
  color: var(--aubergine);
  margin-bottom: .9rem;
}
.prog__tag--gov { background: rgba(126,87,22,.12); color: var(--brass-deep); }

/* --------------------------------------------------------------------------
   10. Ledger rows  (distinct treatment: no boxes, ruled rows)
   -------------------------------------------------------------------------- */
.ledger { border-top: 1px solid var(--line-strong); }
.ledger__row {
  display: grid;
  gap: .5rem 2rem;
  padding-block: clamp(1.25rem, 2.4vw, 1.75rem);
  border-bottom: 1px solid var(--line);
  align-items: start;
}
@media (min-width: 760px) {
  .ledger__row { grid-template-columns: minmax(170px, 260px) minmax(0, 1fr); }
}
.ledger__key {
  font-family: var(--serif);
  font-size: 1.16rem;
  font-weight: 600;
  color: var(--aubergine);
  margin: 0;
  line-height: 1.3;
}
.ledger__val { margin: 0; color: var(--ink-mid); font-size: .97rem; max-width: 64ch; }
.ledger__val + .ledger__val { margin-top: .7rem; }

.band--deep .ledger { border-top-color: var(--line-dark); }
.band--deep .ledger__row { border-bottom-color: var(--line-dark); }
.band--deep .ledger__key { color: var(--on-dark); }
.band--deep .ledger__val { color: var(--on-dark-soft); }

/* --------------------------------------------------------------------------
   11. Numbered steps
   -------------------------------------------------------------------------- */
.steps { display: grid; gap: var(--gap); counter-reset: step; }
@media (min-width: 820px) { .steps--3 { grid-template-columns: repeat(3, 1fr); } }

.step {
  position: relative;
  padding: 1.4rem 1.4rem 1.4rem 1.4rem;
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: .9rem;
  border-radius: 50%;
  background: var(--aubergine);
  color: var(--on-dark);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
}
.step h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.step p { font-size: .93rem; color: var(--ink-mid); margin-bottom: 0; }

/* --------------------------------------------------------------------------
   12. Integrity commitments (distinct: dark panel, two-column list)
   -------------------------------------------------------------------------- */
.panel-deep {
  background: var(--aubergine);
  color: var(--on-dark);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3.25rem);
  border-top: 4px solid var(--brass);
}
.panel-deep h2, .panel-deep h3 { color: var(--on-dark); }
.panel-deep p { color: var(--on-dark-soft); }
.panel-deep a { color: #F0D5A4; }

.statement {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 500;
  line-height: 1.28;
  color: var(--on-dark);
  max-width: 24ch;
  margin: 0 0 1.1rem;
  text-wrap: balance;
}

.commits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .85rem 2rem;
}
@media (min-width: 760px) { .commits { grid-template-columns: repeat(2, 1fr); } }
.commits li {
  position: relative;
  padding-left: 1.75rem;
  font-size: .95rem;
  line-height: 1.55;
  color: var(--on-dark-soft);
  margin: 0;
}
.commits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: 10px;
  height: 10px;
  border: 2px solid var(--brass);
  transform: rotate(45deg);
}
.commits--light li { color: var(--ink-mid); }
.commits--light li::before { border-color: var(--brass-deep); }

/* Never-included block on light grounds */
.notice {
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--brass);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: clamp(1.15rem, 2.2vw, 1.7rem);
}
.notice h2, .notice h3 {
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--aubergine);
  margin-bottom: .55rem;
}
.notice p { font-size: .94rem; color: var(--ink-mid); margin-bottom: 0; }
.notice p + p { margin-top: .7rem; }
.notice--alert { border-left-color: #9A3412; background: #FFF8F2; }
.notice--alert h2, .notice--alert h3 { color: #7C2D12; }

/* --------------------------------------------------------------------------
   13. Membership doors
   -------------------------------------------------------------------------- */
.doors { display: grid; gap: var(--gap); }
@media (min-width: 800px) { .doors { grid-template-columns: 1.08fr 1fr; align-items: stretch; } }

.door {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.8vw, 2.15rem);
  border: 1px solid var(--line);
}
.door--primary {
  background: var(--paper);
  border-color: var(--brass);
  border-top: 5px solid var(--brass);
  box-shadow: var(--shadow-md);
}
.door--secondary { background: transparent; border-style: dashed; border-color: var(--line-strong); }

.door__who { font-family: var(--serif); font-size: 1.32rem; font-weight: 600; color: var(--aubergine); margin-bottom: .55rem; }
.door p { color: var(--ink-mid); font-size: .96rem; }
.door__note {
  margin-top: auto;
  padding-top: 1rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brass-deep);
}
.door--secondary .door__note { color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   14. Membership support block (distinct: brass-tinted, centred)
   -------------------------------------------------------------------------- */
.support {
  background: linear-gradient(180deg, #FBF4E8 0%, #F7EFE1 100%);
  border: 1px solid #E8D6B6;
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.35rem);
  text-align: center;
  max-width: 920px;
  margin-inline: auto;
}
.support__label {
  font-size: .755rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: .8rem;
}
.support h2, .support h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.support p { color: var(--ink-mid); max-width: 62ch; margin-inline: auto; font-size: .96rem; }
.support__id {
  margin: 1.3rem 0 0;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--aubergine);
}
.support__role {
  font-size: .86rem;
  color: var(--ink-soft);
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin: .2rem 0 0;
}
.support__mail { margin: .7rem 0 0; }
.support__mail a { font-weight: 600; font-size: 1rem; }
.support__bio { margin-top: 1.15rem; font-size: .9rem; }

/* --------------------------------------------------------------------------
   15. Apply pathways (informational cards, no live form in this build)
   -------------------------------------------------------------------------- */
.paths { display: grid; gap: var(--gap); }
@media (min-width: 780px) { .paths { grid-template-columns: repeat(2, 1fr); } }

.path {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 2.2vw, 1.75rem);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.path--primary {
  border-color: var(--brass);
  border-top: 5px solid var(--brass);
}
@media (min-width: 780px) { .path--primary { grid-column: 1 / -1; } }

.path__rank {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: .6rem;
}
.path h3 { font-size: 1.2rem; margin-bottom: .45rem; }
.path p { font-size: .94rem; color: var(--ink-mid); margin-bottom: .9rem; }
.path__act { margin-top: auto; }

/* Preserved form styling, applied only if the form is later activated ------ */
.formcard {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 2.5vw, 2rem);
}
.formcard fieldset { border: 0; margin: 0 0 1.6rem; padding: 0; }
.formcard legend {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--aubergine);
  padding: 0;
  margin-bottom: .9rem;
}
.fld { margin-bottom: 1.15rem; }
.lbl { display: block; font-size: .92rem; font-weight: 600; color: var(--ink); margin-bottom: .35rem; }
.hint { font-size: .85rem; color: var(--ink-soft); margin: 0 0 .4rem; }
.req { color: #9A3412; }
.formcard input[type="text"],
.formcard input[type="email"],
.formcard input[type="url"],
.formcard select,
.formcard textarea {
  width: 100%;
  min-height: 48px;
  padding: .65rem .8rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
}
.formcard textarea { min-height: 120px; resize: vertical; }
.err { display: none; font-size: .87rem; color: #7C2D12; margin: .35rem 0 0; font-weight: 600; }
.err::before { content: "\26A0  "; }
[aria-invalid="true"] { border-color: #9A3412 !important; }
[aria-invalid="true"] ~ .err { display: block; }
.ack { display: flex; gap: .7rem; margin-bottom: 1.1rem; align-items: flex-start; }
.ack input { margin-top: .35rem; width: 20px; height: 20px; flex: 0 0 20px; }
.ack label { font-size: .9rem; color: var(--ink-mid); }
.errsummary {
  border: 2px solid #9A3412;
  background: #FFF8F2;
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin-bottom: 1.4rem;
}

/* --------------------------------------------------------------------------
   16. Long-form policy pages
   -------------------------------------------------------------------------- */
.article { max-width: 780px; }
.article h2 {
  font-size: clamp(1.32rem, 2vw, 1.62rem);
  margin-top: clamp(2.25rem, 4vw, 3rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--line);
}
.article > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.article p { color: var(--ink-mid); }
.article ul { color: var(--ink-mid); }

.toc {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.25rem;
}
.toc h2 {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin: 0 0 .75rem;
  border: 0;
  padding: 0;
}
.toc ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 2rem; }
@media (max-width: 620px) { .toc ul { columns: 1; } }
.toc li { margin-bottom: .45rem; break-inside: avoid; }
.toc a { font-size: .93rem; font-weight: 500; }

.footnote { font-size: .87rem; color: var(--ink-soft); margin-top: 1.5rem; }

/* --------------------------------------------------------------------------
   17. Closing call to action
   -------------------------------------------------------------------------- */
.closing { text-align: center; }
.closing h2 { max-width: 22ch; margin-inline: auto; }
.closing p { max-width: 56ch; margin-inline: auto; color: var(--ink-mid); }
.band--deep .closing p { color: var(--on-dark-soft); }
.closing__note { font-size: .87rem; margin-top: 1.2rem; color: var(--ink-soft); }
.band--deep .closing__note { color: var(--on-dark-soft); }

.launchstrip {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem 1.15rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink-mid);
}
.launchstrip__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brass);
  flex: 0 0 8px;
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.sitefoot {
  background: var(--aubergine-deep);
  color: var(--on-dark-soft);
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
  font-size: .92rem;
}
.sitefoot__grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 800px) { .sitefoot__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.6fr); } }

.sitefoot__brand { display: flex; align-items: center; gap: .7rem; margin-bottom: .9rem; }
.sitefoot__brand img { width: 36px; height: 36px; }
.sitefoot__name {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--on-dark);
}
.sitefoot p { color: var(--on-dark-soft); font-size: .89rem; max-width: 44ch; }

.sitefoot__cols { display: grid; gap: 1.75rem; }
@media (min-width: 560px) { .sitefoot__cols { grid-template-columns: repeat(3, 1fr); } }
.sitefoot h2 {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: .8rem;
}
.sitefoot ul { list-style: none; margin: 0; padding: 0; }
.sitefoot li { margin-bottom: .1rem; }
.sitefoot__cols a,
.sitefoot__legal a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--on-dark-soft);
  text-decoration: none;
  font-size: .9rem;
}
.sitefoot__cols a:hover, .sitefoot__legal a:hover { color: #FFFFFF; text-decoration: underline; }

.sitefoot__legal {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  color: var(--on-dark-soft);
}
.sitefoot__legal p { font-size: .82rem; margin: 0; max-width: none; }

/* --------------------------------------------------------------------------
   19. Motion preference
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .launchstrip__dot { animation: none; opacity: 1; }
  .btn:hover { transform: none; }
  .arrowlink:hover::after { transform: none; }
}

/* --------------------------------------------------------------------------
   20. Narrow viewport safety (320px floor)
   -------------------------------------------------------------------------- */
@media (max-width: 360px) {
  :root { --pad-x: 1rem; }
  .brandlink__mark { width: 32px; height: 32px; flex: 0 0 32px; }
  .brandlink__name { font-size: 1.12rem; }
  .navtoggle { padding: .5rem .6rem; }
  .btn { width: 100%; }
  .btnrow { flex-direction: column; }
}

/* --------------------------------------------------------------------------
   21. Print
   -------------------------------------------------------------------------- */
@media print {
  .sitehead, .navtoggle, .mainnav, .skip-link, .btnrow, .herocard { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .band, .hero, .pagehead { padding-block: 1rem; background: #fff !important; }
  .sitefoot { background: #fff; color: #000; }
}
