/* ==========================================================================
   GALACTICA GROUP — galactica.je
   Production stylesheet with responsive breakpoints
   ========================================================================== */

/* ─── VARIABLES ───────────────────────────────────────────────────────────── */
:root {
  /* Grounds */
  --c-graphite:      #1D1F23;   /* hero + dark sections */
  --c-surface:       #2B313A;   /* raised dark card — brand board Graphite (Sep 2026, in-place) */
  --c-surface-soon:  #262B33;   /* dimmed (upcoming) card — proportional to board Graphite */
  --c-slate:         #1C2B3A;
  --c-navy:          #0D1B2A;   /* footer */
  --c-cream:         #F5F2EE;   /* warm-white sections */

  /* Group accent */
  --c-platinum:      #B0AFA8;   /* silver — group / interaction colour */
  --c-stone:         #9A8E7E;   /* silver deepened for light grounds */

  /* Type on light */
  --c-ink:           #1C2B3A;
  --c-ink-2:         #56616B;

  /* Type on dark */
  --c-warm:          #F5F2EE;
  --c-warm-dim:      rgba(245, 242, 238, 0.62);
  --c-warm-faint:    rgba(245, 242, 238, 0.40);

  /* Hairlines */
  --line-d:          rgba(255, 255, 255, 0.08);
  --line-l:          rgba(28, 43, 58, 0.14);

  --font-heading: 'Manrope Variable', Manrope, system-ui, sans-serif;
  --font-body:    'Inter Variable', Inter, system-ui, sans-serif;

  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  14px;

  --section-pad-v: 100px;
  --section-pad-h: 64px;
  --max-w: 1080px;
}

@media (max-width: 1023px) {
  :root { --section-pad-v: 80px; --section-pad-h: 40px; }
}
@media (max-width: 767px) {
  :root { --section-pad-v: 64px; --section-pad-h: 24px; }
}

/* ─── RESET ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); background: var(--c-graphite); color: var(--c-warm); line-height: 1.6; }
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ─── SHARED ──────────────────────────────────────────────────────────────── */
.wrap { max-width: var(--max-w); margin: 0 auto; }

.sec { padding: var(--section-pad-v) var(--section-pad-h); }
.sec--graphite { background: var(--c-graphite); }
.sec--cream    { background: var(--c-cream); }

/* Eyebrow */
.eye {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 22px;
  font-family: var(--font-body);
  font-size: 11px; font-weight: 600;
  letter-spacing: 2.4px; text-transform: uppercase;
}
.eye.center { justify-content: center; }
.eln { display: block; width: 24px; height: 1px; flex-shrink: 0; }
.eln-d { background: var(--c-platinum); }
.eln-l { background: var(--c-stone); }
.etx-d { color: var(--c-platinum); }
.etx-l { color: var(--c-stone); }

/* Headings */
.h { font-family: var(--font-heading); font-weight: 800; letter-spacing: -0.02em; }
.h1 { font-size: clamp(34px, 5vw, 44px); line-height: 1.04; }  /* cap 56→44 (Sep 2026, in-place) */
.h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.08; }
.h-d { color: var(--c-warm); }
.h-l { color: var(--c-ink); }

/* Lead / body copy */
.lead { font-family: var(--font-body); font-size: 17px; line-height: 1.65; max-width: 620px; margin-top: 18px; }
.lead-d { color: var(--c-warm-dim); }
.lead-l { color: var(--c-ink-2); }

/* Icons */
.icon { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 22px; height: 22px; }

/* Arrows */
.ar { font-size: 1em; line-height: 1; }

/* Buttons */
.btn, .ghost, .btn-ink {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  text-decoration: none; white-space: nowrap;
  border-radius: var(--radius-sm);
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.btn { padding: 13px 22px; border: 1px solid var(--c-platinum); color: var(--c-warm); background: transparent; }
.btn:hover { background: var(--c-platinum); color: var(--c-graphite); }
.ghost { padding: 13px 16px; border: 1px solid transparent; color: var(--c-warm-dim); background: transparent; }
.ghost:hover { color: var(--c-warm); }
.ghost .ar { color: var(--c-platinum); }
.btn-ink { padding: 13px 22px; border: 1px solid var(--c-ink); color: var(--c-ink); background: transparent; }
.btn-ink:hover { background: var(--c-ink); color: var(--c-cream); }
.btn-ink .ar { color: var(--c-stone); }
.btn-ink:hover .ar { color: var(--c-cream); }

/* Inline link (on dark) */
.link {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  color: var(--c-warm); text-decoration: none;
  border-bottom: 1px solid var(--c-platinum); padding-bottom: 2px;
  transition: color 0.18s, border-color 0.18s;
}
.link:hover { color: var(--c-platinum); }
.link .ar { color: var(--c-platinum); }
.link-sm { font-size: 13px; }

/* ─── NAVIGATION ──────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 200; }

.nav {
  background: var(--c-graphite);
  height: 68px;
  display: flex; align-items: center;
  padding: 0 var(--section-pad-h);
  border-bottom: 1px solid var(--line-d);
}

.nav-logo { display: block; line-height: 0; flex-shrink: 0; }
.nav-logo-img { height: 48px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links li a {
  font-family: var(--font-body); font-size: 13.5px; font-weight: 500;
  color: var(--c-warm-dim); text-decoration: none;
  padding: 6px 16px; border-radius: 4px; white-space: nowrap;
  transition: color 0.15s;
}
.nav-links li a:hover, .nav-links li a[aria-current="page"] { color: var(--c-warm); }

/* Foot block — only rendered inside the mobile takeover */
.nav-foot { display: none; }

/* Hamburger */
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px; padding: 6px;
  background: none; border: none; margin-left: auto; flex-shrink: 0;
  position: relative; z-index: 210;
}
.nav-hamburger span {
  display: block; width: 100%; height: 1.5px;
  background: var(--c-warm); border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── HERO ────────────────────────────────────────────────────────────────── */
.hero { background: var(--c-graphite); padding: 76px var(--section-pad-h) var(--section-pad-v); }
.hero .h1 { max-width: 16ch; }
.hero-sub { max-width: 600px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin: 34px 0 40px; }
.hero-trust { font-family: var(--font-body); font-size: 12.5px; color: var(--c-warm-faint); letter-spacing: 0.01em; }
.hero-trust b { color: var(--c-warm-dim); font-weight: 600; }
.hero-trust .pipe { margin: 0 8px; color: var(--c-warm-faint); }

/* ─── SECTION 2 · SPECIALISMS ─────────────────────────────────────────────── */
.pgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 44px; }
.pcard {
  background: var(--c-surface); border: 1px solid var(--line-d);
  border-radius: var(--radius-md); overflow: hidden;
  display: flex; flex-direction: column;
}
.pcard.soon { background: var(--c-surface-soon); }
.pcard.soon .pname { color: var(--c-warm-dim); }
.pbar { height: 3px; width: 100%; }
.pcard.soon .pbar { opacity: 0.55; }
.pct { padding: 18px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.ptop { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ext { color: var(--c-warm-faint); font-size: 13px; }
.prule { height: 1px; background: var(--line-d); margin: 0 0 14px; }
.pname { font-family: var(--font-heading); font-weight: 700; font-size: 17px; color: var(--c-warm); letter-spacing: -0.01em; margin-bottom: 4px; }
.pdesc { font-family: var(--font-body); font-size: 12.5px; color: var(--c-warm-dim); line-height: 1.4; margin-bottom: 8px; }
.preach { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-platinum); margin-bottom: 10px; }
.pbadge {
  margin-top: auto; align-self: flex-start;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--c-warm-faint); padding: 4px 9px;
  border: 1px solid var(--line-d); border-radius: 999px;
}

/* ─── SECTION 3 · ONE GROUP, ONE STANDARD ─────────────────────────────────── */
.stmt-c { max-width: 760px; margin: 0 auto; text-align: center; }
.stmt-c .lead { margin-left: auto; margin-right: auto; }
.vrow {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line-l);
}
.vL { font-family: var(--font-heading); font-weight: 700; font-size: 15px; color: var(--c-ink); margin-bottom: 8px; }
.vD { font-family: var(--font-body); font-size: 13.5px; color: var(--c-ink-2); line-height: 1.55; }

/* ─── SECTION 4 · A CLOSER LOOK AT EACH COMPANY ───────────────────────────── */
.feat {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px;
  margin: 40px 0 16px; padding: 32px;
  background: var(--c-surface); border: 1px solid var(--line-d); border-radius: var(--radius-lg);
}
.gtop { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.fname { font-family: var(--font-heading); font-weight: 700; font-size: 24px; color: var(--c-warm); letter-spacing: -0.01em; }
.fdesc { font-family: var(--font-body); font-size: 13px; color: var(--c-warm-dim); letter-spacing: 0.02em; margin-bottom: 16px; }
.fbadge, .gbadge {
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--c-warm-faint); padding: 4px 10px;
  border: 1px solid var(--line-d); border-radius: 999px;
}
.ftext { font-family: var(--font-body); font-size: 15px; color: var(--c-warm-dim); line-height: 1.7; margin-bottom: 16px; }

.fgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 14px; }
.gcard {
  background: var(--c-surface); border: 1px solid var(--line-d);
  border-radius: var(--radius-md); padding: 24px;
  display: flex; flex-direction: column;
}
.gname { font-family: var(--font-heading); font-weight: 700; font-size: 18px; color: var(--c-warm); }
.gdesc { font-family: var(--font-body); font-size: 12px; color: var(--c-warm-dim); letter-spacing: 0.02em; margin-bottom: 12px; }
.gtext { font-family: var(--font-body); font-size: 14px; color: var(--c-warm-dim); line-height: 1.6; margin-bottom: 16px; flex: 1; }
.grow { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }

/* ─── GALACTICA CARE ──────────────────────────────────────────────────────── */
.care-wrap { max-width: 640px; }
.care-wrap .btn-ink { margin-top: 28px; }
.cgrid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line-l);
}
.acc { width: 28px; height: 2px; background: var(--c-stone); margin-bottom: 16px; }
.cpt-t { font-family: var(--font-heading); font-weight: 700; font-size: 16px; color: var(--c-ink); margin-bottom: 8px; }
.cpt-d { font-family: var(--font-body); font-size: 13.5px; color: var(--c-ink-2); line-height: 1.55; }

/* ─── PROGRAMMES ──────────────────────────────────────────────────────────── */
.pmain {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px;
  margin: 40px 0 16px; padding: 32px;
  background: var(--c-surface); border: 1px solid var(--line-d); border-radius: var(--radius-lg);
}
.ptag { display: inline-block; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-platinum); margin-bottom: 12px; }
.ptitle { font-family: var(--font-heading); font-weight: 700; font-size: 24px; color: var(--c-warm); letter-spacing: -0.01em; }
.ptext { font-family: var(--font-body); font-size: 15px; color: var(--c-warm-dim); line-height: 1.7; margin: 14px 0 16px; }
.psecond {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 14px; padding: 24px 32px;
  border: 1px solid var(--line-d); border-radius: var(--radius-md);
}
.psecond .ptitle { font-size: 18px; }
.psecond .ptext { margin: 12px 0 0; font-size: 14px; }

/* ─── CONTACT CLOSE ───────────────────────────────────────────────────────── */
.co-wrap { max-width: 640px; margin: 0 auto; text-align: center; }
.co-wrap .lead { margin-left: auto; margin-right: auto; }
.co-wrap .btn-ink { margin-top: 24px; }
.em { font-family: var(--font-body); font-size: 13.5px; color: var(--c-ink-2); margin-top: 18px; }
.em .e { color: var(--c-ink); border-bottom: 1px solid var(--c-stone); text-decoration: none; }

/* ─── FOOTER ──────────────────────────────────────────────────────────────── */
.site-footer { background: var(--c-navy); color: var(--c-warm-dim); padding: 72px var(--section-pad-h) 36px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.3fr 2fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid var(--line-d); }
.footer-brand-desc { font-family: var(--font-body); font-size: 13.5px; color: var(--c-warm-faint); line-height: 1.6; margin-top: 16px; max-width: 290px; }
.footer-reach { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-platinum); margin-top: 14px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col-heading { font-family: var(--font-heading); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-warm); margin-bottom: 16px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-family: var(--font-body); font-size: 13.5px; color: var(--c-warm-dim); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: color 0.15s; }
.footer-col a:hover { color: var(--c-warm); }
.footer-col a .ti { font-size: 13px; color: var(--c-warm-faint); }
.footer-muted { font-family: var(--font-body); font-size: 13.5px; color: var(--c-warm-faint); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; flex-wrap: wrap; }
.footer-copy { font-family: var(--font-body); font-size: 12.5px; color: var(--c-warm-faint); }
.footer-bottom nav a { font-family: var(--font-body); font-size: 12.5px; color: var(--c-warm-faint); text-decoration: none; margin-left: 18px; transition: color 0.15s; }
.footer-bottom nav a:hover { color: var(--c-warm); }

/* ─── RESPONSIVE — Tablet (≤1023px) ───────────────────────────────────────── */
@media (max-width: 1023px) {
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .vrow  { grid-template-columns: repeat(2, 1fr); gap: 24px 32px; }
}

/* ─── RESPONSIVE — Mid (≤860px) ───────────────────────────────────────────── */
@media (max-width: 860px) {
  .feat  { grid-template-columns: 1fr; gap: 24px; }
  .pmain { grid-template-columns: 1fr; gap: 20px; }
  .psecond { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ─── RESPONSIVE — Mobile (≤767px) ────────────────────────────────────────── */
@media (max-width: 767px) {
  .nav { padding: 0 24px; height: 60px; }
  .nav-hamburger { display: flex; }

  /* Option 1 — editorial takeover */
  .nav-links {
    display: none;
    position: fixed; inset: 0;
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: 2px;
    background: var(--c-graphite);
    padding: 88px 32px 40px;
    margin: 0; z-index: 150; overflow-y: auto;
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { width: 100%; }

  /* Primary nav items — large editorial. Scoped with :not(.nav-foot) so this
     rule does NOT outrank the foot block's own CTA/email styles below. */
  .nav-links li:not(.nav-foot) > a {
    display: block; padding: 12px 0;
    font-family: var(--font-heading); font-weight: 700;
    font-size: 30px; letter-spacing: -0.02em;
    color: var(--c-warm); border-radius: 0;
  }
  .nav-links li:not(.nav-foot) > a:hover { color: var(--c-platinum); }

  /* Foot block — pinned to the bottom of the takeover */
  .nav-foot { display: block; width: 100%; margin-top: auto; padding-top: 28px; border-top: 1px solid var(--line-d); }
  .nav-foot-cta { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border: 1px solid var(--c-platinum); color: var(--c-warm); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 15px; font-weight: 500; text-decoration: none; }
  .nav-foot-mail { font-family: var(--font-body); font-size: 14px; color: var(--c-warm-dim); margin-top: 18px; }
  .nav-foot-mail a { color: var(--c-warm); border-bottom: 1px solid var(--c-platinum); text-decoration: none; }
  .nav-foot-reach { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-platinum); margin-top: 16px; }

  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .fgrid { grid-template-columns: 1fr; }
  .cgrid { grid-template-columns: 1fr; gap: 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom nav a { margin: 0 18px 0 0; }
}

@media (max-width: 460px) {
  .pgrid { grid-template-columns: 1fr; }
  .vrow  { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
}

/* ─── /the-group/ · VALUES GRID (graphite) ────────────────────────────────── */
.tg-values {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; margin-top: 44px;
  background: var(--line-d);
  border: 1px solid var(--line-d);
  border-radius: var(--radius-md); overflow: hidden;
}
.tg-val { background: var(--c-surface); padding: 30px 28px; }
.tg-vnum { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; color: var(--c-platinum); display: block; margin-bottom: 14px; }
.tg-vL { font-family: var(--font-heading); font-weight: 700; font-size: 18px; color: var(--c-warm); letter-spacing: -0.01em; margin-bottom: 9px; }
.tg-vD { font-family: var(--font-body); font-size: 14px; color: var(--c-warm-dim); line-height: 1.65; }

/* /the-group/ · partner section (cream) */
.tg-partner { max-width: 660px; }
.tg-partner .lead + .lead { margin-top: 16px; }

@media (max-width: 767px) {
  .tg-values { grid-template-columns: 1fr; }
}

/* ─── /galactica-care/ · TIER CARDS + LEVEL METER (graphite) ───────────────── */
.care-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; }
.care-tier { background: var(--c-surface); border: 1px solid var(--line-d); border-radius: var(--radius-lg); padding: 30px 26px; display: flex; flex-direction: column; }
.care-tier.is-signature { border-color: rgba(176, 175, 168, 0.34); }
.ct-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.ct-meter { display: inline-flex; gap: 4px; }
.ct-seg { width: 20px; height: 3px; border-radius: 2px; background: var(--line-d); }
.ct-seg.on { background: var(--c-platinum); }
.ct-tag { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-warm-faint); padding: 3px 9px; border: 1px solid var(--line-d); border-radius: 999px; }
.ct-name { font-family: var(--font-heading); font-weight: 800; font-size: 22px; color: var(--c-warm); letter-spacing: -0.01em; margin-bottom: 10px; }
.ct-line { font-family: var(--font-body); font-size: 14.5px; color: var(--c-platinum); line-height: 1.5; margin-bottom: 20px; }
.ct-list { display: flex; flex-direction: column; gap: 11px; margin-bottom: 22px; }
.ct-list li { position: relative; padding-left: 22px; font-family: var(--font-body); font-size: 13.5px; color: var(--c-warm-dim); line-height: 1.5; }
.ct-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--c-platinum); font-size: 12px; line-height: 1.6; }
.ct-intent { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-d); font-family: var(--font-body); font-size: 12.5px; color: var(--c-warm-faint); line-height: 1.5; }

@media (max-width: 860px) { .care-tiers { grid-template-columns: 1fr; } }

/* ─── /contact/ · FORM + DETAILS (cream) ──────────────────────────────────── */
.cf-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.cf-intro { max-width: 420px; }
.cf-intro .lead { margin-bottom: 36px; }

/* Contact detail rows (email / reach) */
.cf-details { display: flex; flex-direction: column; gap: 18px; }
.cf-detail { display: flex; align-items: center; gap: 16px; }
.cf-detail-ic {
  flex-shrink: 0; width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(28, 43, 58, 0.05);
  border: 1px solid var(--line-l); border-radius: var(--radius-md);
  color: var(--c-stone); font-size: 19px;
}
.cf-detail-label { font-family: var(--font-body); font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-stone); margin-bottom: 4px; }
.cf-detail-value { font-family: var(--font-heading); font-weight: 700; font-size: 17px; color: var(--c-ink); letter-spacing: -0.01em; }
.cf-detail-value a { color: inherit; text-decoration: none; }
.cf-detail-value a:hover { color: var(--c-ink-2); }

/* The form */
.cf-form { display: flex; flex-direction: column; gap: 22px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cf-field { display: flex; flex-direction: column; }
.cf-label { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--c-ink); margin-bottom: 8px; }
.cf-input, .cf-select, .cf-textarea {
  font-family: var(--font-body); font-size: 15px; color: var(--c-ink);
  background: #FFFFFF; border: 1px solid var(--line-l); border-radius: var(--radius-sm);
  padding: 13px 14px; width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.cf-input::placeholder, .cf-textarea::placeholder { color: var(--c-ink-2); opacity: 0.7; }
.cf-input:focus, .cf-select:focus, .cf-textarea:focus {
  outline: none; border-color: var(--c-stone);
  box-shadow: 0 0 0 3px rgba(176, 175, 168, 0.25);   /* silver focus ring */
}
.cf-select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2356616B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.cf-select:has(option[value=""]:checked) { color: var(--c-ink-2); }
.cf-textarea { min-height: 150px; resize: vertical; line-height: 1.6; }

/* Radio group */
.cf-fieldset { border: none; }
.cf-legend { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--c-ink); margin-bottom: 12px; padding: 0; }
.cf-radios { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.cf-radio { display: flex; align-items: center; gap: 10px; font-family: var(--font-body); font-size: 14.5px; color: var(--c-ink-2); cursor: pointer; }
.cf-radio input { width: 18px; height: 18px; accent-color: var(--c-ink); cursor: pointer; flex-shrink: 0; }

/* Privacy checkbox */
.cf-check { display: flex; align-items: flex-start; gap: 10px; font-family: var(--font-body); font-size: 13.5px; color: var(--c-ink-2); line-height: 1.5; cursor: pointer; }
.cf-check input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--c-ink); cursor: pointer; flex-shrink: 0; }
.cf-check a { color: var(--c-ink); border-bottom: 1px solid var(--c-stone); text-decoration: none; }

/* Honeypot — visually hidden */
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.cf-form .btn-ink { align-self: flex-start; margin-top: 4px; }

/* Centred-statement button spacing (used on the Thank You hero) */
.stmt-c .btn, .stmt-c .btn-ink { margin-top: 28px; }

/* Thank You hero: let the centred headline fill the statement column.
   Overrides `.hero .h1 { max-width: 16ch }` (used by the left-aligned content
   heroes), which otherwise leaves the headline as a narrow left-sitting block. */
.hero .stmt-c .h1 { max-width: none; }

@media (max-width: 860px) {
  .cf-grid { grid-template-columns: 1fr; gap: 40px; }
  .cf-intro { max-width: none; }
}
@media (max-width: 520px) {
  .cf-row { grid-template-columns: 1fr; }
  .cf-radios { grid-template-columns: 1fr; }
}

/* ─── /privacy/ + /terms/ · LEGAL PAGES (cream) · APPEND-ONLY ──────────────── */
.legal { max-width: 720px; }
.legal-meta {
  font-family: var(--font-body); font-size: 13.5px; color: var(--c-ink-2);
  letter-spacing: 0.01em; padding-bottom: 26px; margin-bottom: 4px;
  border-bottom: 1px solid var(--line-l);
}
.legal-meta .sep { margin: 0 10px; color: var(--c-stone); }
.legal-sec { padding-top: 40px; margin-top: 40px; border-top: 1px solid var(--line-l); }
.legal-sec:first-of-type { border-top: none; padding-top: 0; margin-top: 38px; }
.legal-h {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(20px, 2.2vw, 24px); color: var(--c-ink);
  letter-spacing: -0.01em; margin-bottom: 16px;
}
.legal-sec p { font-family: var(--font-body); font-size: 15.5px; color: var(--c-ink-2); line-height: 1.75; }
.legal-sec p + p { margin-top: 16px; }
.legal-sec strong { color: var(--c-ink); font-weight: 600; }
.legal-sec a { color: var(--c-ink); border-bottom: 1px solid var(--c-stone); text-decoration: none; transition: color 0.15s; }
.legal-sec a:hover { color: var(--c-ink-2); }
.legal-list { margin: 16px 0 0; display: flex; flex-direction: column; gap: 11px; }
.legal-list li { position: relative; padding-left: 22px; font-family: var(--font-body); font-size: 15.5px; color: var(--c-ink-2); line-height: 1.6; }
.legal-list li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--c-stone); }
.legal-list + p { margin-top: 16px; }
.legal-contact { margin-top: 22px; }

/* ─── HOMEPAGE ALTERNATING GROUNDS · brand board Jul 2026 · APPEND-ONLY ────── */
:root {
  --c-navy-deep:   #0B1320;   /* brand Deep Navy — group ground + footer */
  --c-card-light:  #FCFBF8;   /* raised card on cream */
}
.sec--navy { background: var(--c-navy-deep); }
.site-footer { background: var(--c-navy-deep); }

/* Companies on light (scoped: .co-light modifier on the section) */
.co-light .feat, .co-light .gcard { background: var(--c-card-light); border-color: var(--line-l); }
.co-light .fname, .co-light .gname { color: var(--c-ink); }
.co-light .fdesc, .co-light .gdesc, .co-light .ftext, .co-light .gtext { color: var(--c-ink-2); }
.co-light .fbadge, .co-light .gbadge { color: var(--c-ink-2); border-color: var(--line-l); }
.co-light .link { color: var(--c-ink); }
.co-light .link:hover { color: var(--c-ink-2); }
.co-light .link .ar, .co-light .link:hover .ar { color: var(--c-stone); }

/* Care on dark (care-only classes, scoped to dark ground) */
.sec--graphite .cpt-t { color: var(--c-warm); }
.sec--graphite .cpt-d { color: var(--c-warm-dim); }
.sec--graphite .cgrid { border-top-color: var(--line-d); }
.care-wrap .btn { margin-top: 28px; }

/* Programmes on light (scoped: .pr-light modifier on the section) */
.pr-light .pmain { background: var(--c-card-light); border-color: var(--line-l); }
.pr-light .psecond { border-color: var(--line-l); }
.pr-light .ptag { color: var(--c-stone); }
.pr-light .ptitle { color: var(--c-ink); }
.pr-light .ptext { color: var(--c-ink-2); }
.pr-light .link { color: var(--c-ink); }
.pr-light .link:hover { color: var(--c-ink-2); }
.pr-light .link .ar, .pr-light .link:hover .ar { color: var(--c-stone); }

/* Contact close on deep navy (continuous with footer) */
.sec--navy .em { color: var(--c-warm-dim); }
.sec--navy .em .e { color: var(--c-warm); border-bottom-color: var(--c-platinum); }
.co-wrap .btn { margin-top: 24px; }

/* Uploaded vertical marks (img) — sprite fallback keeps .icon */
.icon-img { width: 34px; height: 34px; display: block; }
.icon-img-sm { width: 28px; height: 28px; }
/* Size-match the sprite placeholders (Power/Residence) within the same grids */
.sec--navy .icon { width: 34px; height: 34px; }
.co-light .icon { width: 34px; height: 34px; }
.co-light .icon-sm { width: 28px; height: 28px; }

/* ─── THE GROUP · companies marks size-match (scoped .gco) · APPEND-ONLY ───── */
.gco .icon, .gco .icon-img { width: 34px; height: 34px; }
.gco .icon-sm, .gco .icon-img-sm { width: 28px; height: 28px; }

/* ─── HOMEPAGE PROGRAMMES · secondary card surfaced white · APPEND-ONLY ────── */
.pr-light .psecond { background: var(--c-card-light); }

/* ─── FOOTER · uploaded lockup fixed height (was unsized/fluid) · APPEND-ONLY ── */
.footer-logo-img { height: 48px; width: auto; }

/* ─── HERO CTAs · deliberate stacked pair on small screens · APPEND-ONLY ───── */
@media (max-width: 460px) {
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-ctas .btn, .hero-ctas .ghost { justify-content: center; }
}
