@charset "utf-8";
/* ==========================================================================
   Ultimate Konnect — site.css
   Hand-built design system. No frameworks, no dependencies.
   ========================================================================== */

/* --- 0. Fonts ------------------------------------------------------------
   Plus Jakarta Sans, latin subset, variable weight 200-800. Self-hosted:
   no third-party connection, no render-blocking external stylesheet. 27 KB. */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/jakarta-latin-var.woff2") format("woff2-variations"),
       url("/assets/fonts/jakarta-latin-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Metric-matched fallback so the swap does not shift layout. */
@font-face {
  font-family: "Jakarta Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Liberation Sans");
  size-adjust: 103.35%;
  ascent-override: 100.4%;
  descent-override: 21.5%;
  line-gap-override: 0%;
}

/* --- 1. Reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { min-height: 100svh; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
ul[class], ol[class] { list-style: none; padding: 0; }
:target { scroll-margin-top: 6rem; }
.role { scroll-margin-top: calc(var(--header-h) + 4.5rem); }

/* --- 2. Tokens ----------------------------------------------------------- */
:root {
  color-scheme: light;

  /* Brand — sampled from the Ultimate Konnect mark */
  --navy-900:       #03202D;   /* dark ground: hero, CTA band, footer */
  --navy-800:       #003048;   /* the brand navy, from the wordmark */
  --navy-700:       #06384F;
  --brand-teal:     #0C7690;   /* 5.24:1 on white — AA for text and for white-on-teal buttons */
  --brand-teal-lit: #129EBF;
  --brand-teal-dk:  #0A6377;
  --brand-sky:      #8DCAE8;
  --brand-sky-soft: #DCEEF8;
  --brand-gold:     #FEB800;
  --brand-gold-dk:  #E0A200;

  /* Neutrals */
  --ink-900: #0B1116;
  --ink-800: #121A21;
  --ink-700: #1C2730;
  --ink-600: #33434F;
  --ink-500: #4E6272;
  --ink-400: #7B90A2;   /* dark grounds only — 5.09:1 on --navy-900 */
  --ink-300: #A3B4C0;
  --ink-200: #D2DBE2;
  --ink-100: #E8EDF1;
  --ink-050: #F4F7F9;
  --white:   #FFFFFF;

  /* Semantic */
  --bg:            var(--white);
  --bg-alt:        var(--ink-050);
  --bg-deep:       var(--navy-900);
  --text:          var(--ink-800);
  --text-muted:    #3E5261;   /* 7.6:1 on white */
  --text-faint:    #5C7082;   /* 5.13:1 on white, 4.77:1 on --bg-alt */
  --line:          var(--ink-100);
  --line-strong:   var(--ink-200);
  --accent:        var(--brand-teal);
  --accent-hover:  var(--brand-teal-dk);
  --focus:         #0C7690;

  /* Type */
  --font: "Plus Jakarta Sans", "Jakarta Fallback", ui-sans-serif, system-ui,
          -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;

  --fs-xs:  0.8125rem;
  --fs-sm:  0.9375rem;
  --fs-md:  1rem;
  --fs-lg:  clamp(1.0625rem, 0.99rem + 0.31vw, 1.1875rem);
  --fs-xl:  clamp(1.1875rem, 1.09rem + 0.44vw, 1.375rem);
  --fs-h4:  clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --fs-h3:  clamp(1.3125rem, 1.19rem + 0.55vw, 1.625rem);
  --fs-h2:  clamp(1.75rem, 1.44rem + 1.38vw, 2.75rem);
  --fs-h1:  clamp(2.25rem, 1.66rem + 2.62vw, 4.125rem);
  --fs-mega:clamp(2.4rem, 1.82rem + 2.6vw, 4.15rem);

  /* Space */
  --sp-1: 0.25rem; --sp-2: 0.5rem;  --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;    --sp-7: 2.5rem;  --sp-8: 3rem;
  --sp-9: 4rem;    --sp-10: 5rem;   --sp-11: 6.5rem; --sp-12: 8rem;
  --section-y: clamp(3.5rem, 2.4rem + 4.6vw, 6.5rem);
  --section-y-lg: clamp(4.5rem, 2.9rem + 6.6vw, 8.5rem);

  /* Shape + depth */
  --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-xl: 26px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(11,17,22,.05), 0 1px 3px rgba(11,17,22,.04);
  --shadow-md: 0 4px 8px -2px rgba(11,17,22,.06), 0 12px 24px -6px rgba(11,17,22,.08);
  --shadow-lg: 0 8px 16px -4px rgba(11,17,22,.07), 0 26px 50px -12px rgba(11,17,22,.14);

  --wrap: 1200px;
  --wrap-narrow: 780px;
  --header-h: 72px;
}
@media (min-width: 900px) { :root { --header-h: 84px; } }

/* --- 3. Base ------------------------------------------------------------- */
body {
  font-family: var(--font);
  font-size: var(--fs-md);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  font-synthesis-weight: none;
}
h1, h2, h3, h4, h5 {
  line-height: 1.12;
  letter-spacing: -0.012em;
  font-weight: 650;
  color: var(--ink-900);
  text-wrap: balance;
}
/* Tight tracking only pays off at display sizes. */
h1, h2 { font-weight: 750; }
h1 { font-size: var(--fs-h1); letter-spacing: -0.032em; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.028em; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); line-height: 1.28; }
p  { text-wrap: pretty; }
a  { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
strong, b { font-weight: 700; color: var(--ink-900); }
small { font-size: var(--fs-sm); }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-8) 0; }

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--brand-sky); color: var(--ink-900); }

.skip-link {
  position: absolute; left: var(--sp-4); top: var(--sp-4);
  transform: translateY(-160%);
  background: var(--ink-900); color: #fff; padding: .7rem 1.1rem;
  border-radius: var(--r-sm); font-weight: 600; font-size: var(--fs-sm);
  z-index: 200; text-decoration: none; transition: transform .18s ease;
}
.skip-link:focus-visible { transform: translateY(0); color: #fff; }

/* --- 4. Layout ----------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.15rem, 4vw, 2.5rem); }
.wrap--narrow { max-width: var(--wrap-narrow); }
.section { padding-block: var(--section-y); position: relative; }
/* A section directly under the sticky in-page nav needs less lead-in. */
.anchor-nav--sticky + .section { padding-top: clamp(2.25rem, 1.7rem + 2.4vw, 3.5rem); }
.section--alt { background: var(--bg-alt); box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.section--sky { background: #EAF3F9; box-shadow: inset 0 1px 0 #D6E7F1, inset 0 -1px 0 #D6E7F1; }
.section--lg { padding-block: var(--section-y-lg); }

.stack-lg > * + * { margin-top: var(--sp-6); }

.grid { display: grid; gap: clamp(1rem, .6rem + 1.4vw, 1.75rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--gmin, 300px)), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--gmin, 300px)), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--gmin, 235px)), 1fr)); }
/* Grids nested inside a two-column split have far less room to play with. */
.split .grid-2 { --gmin: 210px; }
.split .grid-3 { --gmin: 200px; }

@media (min-width: 940px) {
  .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
  .split--top { align-items: start; }
  .split--40-60 { grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr); }
}

/* --- 5. Section headers -------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand-teal); margin-bottom: var(--sp-4);
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; border-radius: 2px;
  background: var(--brand-gold);
}
.on-dark .eyebrow { color: var(--brand-sky); }
.sec-head { max-width: 40rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow::before { display: none; }
.sec-head p { color: var(--text-muted); font-size: var(--fs-lg); margin-top: var(--sp-4); }
.on-dark .sec-head p { color: var(--ink-300); }

.lead { font-size: var(--fs-xl); line-height: 1.55; color: var(--ink-600); }
.muted { color: var(--text-muted); }
.tiny { font-size: var(--fs-xs); color: var(--text-faint); line-height: 1.55; }

/* --- 6. Buttons ---------------------------------------------------------- */
.btn {
  --btn-bg: var(--brand-teal); --btn-fg: #fff; --btn-bd: var(--brand-teal);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .82rem 1.5rem; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd);
  font-weight: 700; font-size: var(--fs-sm); letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap; max-width: 100%;
  transition: transform .16s cubic-bezier(.3,.8,.4,1), box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
  box-shadow: 0 1px 2px rgba(11,17,22,.08);
}
.btn:hover { --btn-bg: var(--brand-teal-dk); --btn-bd: var(--brand-teal-dk); color: #fff; transform: translateY(-1.5px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn--gold { --btn-bg: var(--brand-gold); --btn-bd: var(--brand-gold); --btn-fg: var(--ink-900); }
.btn--gold:hover { --btn-bg: var(--brand-gold-dk); --btn-bd: var(--brand-gold-dk); color: var(--ink-900); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink-800); --btn-bd: var(--line-strong); box-shadow: none; }
.btn--ghost:hover { --btn-bg: var(--ink-050); --btn-bd: var(--ink-300); color: var(--ink-900); box-shadow: var(--shadow-sm); }

.on-dark .btn--ghost, .hero .btn--ghost, .cta-band .btn--ghost {
  --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.32);
}
.on-dark .btn--ghost:hover, .hero .btn--ghost:hover, .cta-band .btn--ghost:hover {
  --btn-bg: rgba(255,255,255,.12); --btn-bd: rgba(255,255,255,.55); color: #fff;
}

.btn--lg { padding: 1rem 1.9rem; font-size: var(--fs-md); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
/* On narrow phones a long label must wrap rather than push the page sideways. */
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; }
  .btn-row > .btn { flex: 1 1 100%; }
}

.arrow-link {
  display: inline-flex; align-items: center; gap: .4rem;
  min-height: 26px; /* WCAG 2.5.8 target size */
  font-weight: 700; font-size: var(--fs-sm); text-decoration: none;
  color: var(--brand-teal);
}
.arrow-link { align-items: baseline; }
.arrow-link::after { content: "\2192"; align-self: baseline; transition: transform .18s ease; }
.arrow-link:hover::after { transform: translateX(4px); }
.on-dark .arrow-link, .hero .arrow-link { color: var(--brand-sky); }
.on-dark .arrow-link:hover, .hero .arrow-link:hover { color: #B9DEF2; }

/* --- 7. Header ----------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 1px 20px rgba(11,17,22,.05); }
@supports not (backdrop-filter: blur(1px)) { .site-header { background: #fff; } }

.header-inner { display: flex; align-items: center; gap: var(--sp-5); height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; flex: none; }
.brand:hover { color: inherit; }
.brand-mark { width: 30px; height: 34px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b {
  font-size: .98rem; font-weight: 800; letter-spacing: .0em; color: var(--ink-900);
}
.brand-text span {
  font-size: .72rem; font-weight: 500; letter-spacing: .21em; color: var(--ink-500);
  text-transform: uppercase; margin-top: 2px;
}

.nav { margin-left: auto; display: none; align-items: center; gap: .15rem; }
@media (min-width: 1000px) { .nav { display: flex; } }
.nav a {
  position: relative; padding: .55rem .8rem; border-radius: var(--r-sm);
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink-600); text-decoration: none;
  transition: color .16s ease, background-color .16s ease;
}
.nav a:hover { color: var(--ink-900); background: var(--ink-050); }
.nav a[aria-current="page"] { color: var(--brand-teal); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .18rem;
  height: 2px; border-radius: 2px; background: var(--brand-gold);
}
.header-cta { display: none; margin-left: var(--sp-3); }
@media (min-width: 1000px) { .header-cta { display: inline-flex; } }

.nav-toggle {
  margin-left: auto; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--line-strong); background: #fff;
  border-radius: var(--r-sm); cursor: pointer;
}
@media (min-width: 1000px) { .nav-toggle { display: none; } }
.nav-toggle span { position: relative; width: 18px; height: 2px; background: var(--ink-800); border-radius: 2px; transition: background-color .12s ease; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink-800); border-radius: 2px;
  transition: transform .22s cubic-bezier(.3,.8,.4,1), top .18s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

.mobile-nav {
  display: block; position: fixed; inset: var(--header-h) 0 0; z-index: 99;
  background: #fff; padding: var(--sp-5) 0 var(--sp-8); overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
@media (min-width: 1000px) { .mobile-nav { display: none !important; } }
.mobile-nav a.m-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: .95rem .25rem; font-size: 1.15rem; font-weight: 700; color: var(--ink-900);
  text-decoration: none; border-bottom: 1px solid var(--line);
}
.mobile-nav a.m-link[aria-current="page"] { color: var(--brand-teal); }
.mobile-nav a.m-link::after { content: "→"; color: var(--ink-300); font-weight: 500; }
.mobile-nav .btn-row { margin-top: var(--sp-6); }
.mobile-nav .m-contact { margin-top: var(--sp-6); display: grid; gap: .4rem; font-size: var(--fs-sm); }
body.nav-open { overflow: hidden; }

/* --- 8. Hero ------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy-900); color: #fff;
  padding-block: clamp(3.5rem, 2.2rem + 5.5vw, 7rem) clamp(3.5rem, 2.4rem + 4.6vw, 6rem);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  /* Gold at low alpha over a desaturated ground computes to khaki — the navy
     radial gives the same depth without the colour cast. */
  background:
    radial-gradient(115% 85% at 84% 4%, rgba(18,158,191,.40) 0%, transparent 56%),
    radial-gradient(75% 65% at 4% 100%, rgba(0,48,72,.85) 0%, transparent 62%),
    linear-gradient(168deg, #03202D 0%, #06293A 54%, #021A26 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(90% 75% at 50% 25%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(90% 75% at 50% 25%, #000 20%, transparent 78%);
}
.hero h1 { color: #fff; font-size: var(--fs-mega); }
.hero h1 .hl {
  background: linear-gradient(96deg, var(--brand-sky) 0%, var(--brand-teal-lit) 60%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  white-space: nowrap;
}
@media (max-width: 330px) { .hero h1 .hl { white-space: normal; } }
.hero p.hero-sub { font-size: var(--fs-xl); color: #C4D2DC; margin-top: var(--sp-5); max-width: 40rem; line-height: 1.55; }
.hero .btn-row { margin-top: var(--sp-7); }
.hero-note { margin-top: var(--sp-5); font-size: var(--fs-sm); color: #93A6B4; }
@media (min-width: 940px) {
  /* Give the headline column a little more measure than the credential panel. */
  .hero .split { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); }
}

.hero--page { padding-block: clamp(2.75rem, 2.1rem + 2.8vw, 4.25rem) clamp(2.5rem, 1.9rem + 2.6vw, 3.75rem); }
.hero--page h1 { font-size: var(--fs-h1); max-width: 20ch; }
.hero--page .hero-sub { font-size: var(--fs-lg); }


/* Hero credential panel */
.hero-panel {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-xl); padding: clamp(1.25rem, 1rem + 1vw, 2rem);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero-panel h2 { color: #fff; font-size: var(--fs-h4); margin-bottom: var(--sp-4); }
.hero-panel ul { display: grid; gap: .75rem; }
.hero-panel li { display: flex; gap: .7rem; font-size: var(--fs-sm); color: #C4D2DC; line-height: 1.5; }
.hero-panel li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--brand-sky); }
.hero-panel .panel-foot { margin-top: var(--sp-5); padding-top: var(--sp-4); border-top: 1px solid rgba(255,255,255,.1); }

/* --- 9. Stat bar --------------------------------------------------------- */
.statbar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
}
.statbar .stat { padding: 0; }
/* Anchored to the foot of the hero rather than floating in bare white. */
.hero .stat .n { color: #fff; }
.hero .stat .n em { color: var(--brand-gold); }
.hero .stat .l { color: #A9BFCC; }
.hero .statbar {
  margin-top: clamp(2.5rem, 1.8rem + 3vw, 4rem);
  padding-top: clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
  border-top: 1px solid rgba(255,255,255,.16);
}
.stat .n { display: block; font-size: clamp(1.6rem, 1.3rem + 1.3vw, 2.35rem); font-weight: 800; letter-spacing: -.035em; color: var(--ink-900); line-height: 1.05; }
.stat .n em { font-style: normal; color: var(--brand-teal); }
.stat .l { display: block; margin-top: .4rem; font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.45; }
.on-dark .stat .n { color: #fff; }
.on-dark .stat .n em { color: var(--brand-gold); }
.on-dark .stat .l { color: var(--ink-400); }

/* --- 10. Cards ----------------------------------------------------------- */
.card {
  background: var(--ink-050); border: 0; border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px rgba(3,32,45,.05);
  padding: clamp(1.25rem, 1rem + .9vw, 1.85rem);
  transition: border-color .2s ease, box-shadow .22s ease, transform .22s cubic-bezier(.3,.8,.4,1);
  display: flex; flex-direction: column;
}
.card h3, .card h4 { margin-bottom: .55rem; }
/* Cards in dense grids get a smaller heading step so titles stop breaking. */
.grid-3 > .card h3, .split .grid-2 > .card h3 { font-size: var(--fs-h4); }
.grid-4 > .card h3, .grid-4 > .card h4 {
  font-size: var(--fs-md); line-height: 1.32; letter-spacing: -0.008em;
}
.card p { color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.55; max-width: 62ch; }
.card--link:hover { background: #fff; box-shadow: var(--shadow-md), inset 0 0 0 1px rgba(3,32,45,.06); transform: translateY(-3px); }
.card--link { text-decoration: none; color: inherit; }
.card--link:hover { color: inherit; }
.card .card-foot { margin-top: auto; padding-top: var(--sp-5); }
/* A card is always the inverse of the ground it sits on. */
.section--alt .card, .section--alt .callout, .section--alt .contact-tile,
.section--sky .card, .section--sky .callout {
  background: #fff;
  box-shadow: 0 1px 2px rgba(3,32,45,.05), 0 10px 24px -14px rgba(3,32,45,.18);
}
.section--alt .card--link:hover, .section--sky .card--link:hover { box-shadow: var(--shadow-lg); }
.card--alt { background: #fff; box-shadow: 0 1px 2px rgba(3,32,45,.05), 0 10px 24px -14px rgba(3,32,45,.18); }

.icon-badge {
  width: 44px; height: 44px; border-radius: var(--r-md); flex: none;
  display: grid; place-items: center; margin-bottom: var(--sp-4);
  background: var(--brand-sky-soft); color: var(--brand-teal-dk);
}
.icon-badge svg { width: 22px; height: 22px; }
.icon-badge--gold { background: #FFF3D1; color: #8A6400; }
.icon-badge--ink { background: var(--ink-100); color: var(--ink-700); }
.on-dark .icon-badge { background: rgba(141,202,232,.14); color: var(--brand-sky); }

.on-dark { color: #fff; }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark p { color: var(--ink-300); }
.on-dark .card { background: rgba(255,255,255,.055); border-color: rgba(255,255,255,.09); }
.on-dark .card p { color: var(--ink-300); }
/* Buttons and the brand lockup keep their own colours on dark backgrounds. */
.on-dark a:not(.btn):not(.brand) { color: var(--brand-sky); }
.on-dark a:not(.btn):not(.brand):hover { color: #B9DEF2; }
.on-dark .btn { color: var(--btn-fg); }

/* Numbered process */
.steps { counter-reset: step; display: grid; gap: var(--sp-5); }
@media (min-width: 800px) { .steps--row { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); } }
.step { counter-increment: step; position: relative; padding-top: var(--sp-7); border-top: 2px solid var(--line); }
.step::before {
  content: "0" counter(step);
  position: absolute; top: -2px; left: 0; transform: translateY(-50%);
  background: var(--bg); padding-right: .9rem;
  font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; line-height: 1;
  color: var(--ink-200);
}
.on-dark .step::before { color: rgba(255,255,255,.28); }
.section--alt .step::before { background: var(--bg-alt); }
.section--sky .step::before { background: #EAF3F9; }
.step h3 { font-size: var(--fs-h4); margin-bottom: .5rem; }
.step p { color: var(--text-muted); font-size: var(--fs-sm); }
.on-dark .step { border-top-color: rgba(255,255,255,.14); }
.on-dark .step::before { background: var(--navy-900); }

/* Checklists.
   The marker is absolutely positioned rather than a flex item: flex would
   promote every inline child (<strong>, <a>, bare text) into its own column. */
.ticks { display: grid; gap: .7rem; }
.ticks li {
  position: relative; padding-left: 1.85rem;
  font-size: var(--fs-sm); line-height: 1.55; color: var(--ink-600); max-width: 62ch;
}
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .12em;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand-sky-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A6377' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}
.on-dark .ticks li { color: var(--ink-300); }
.on-dark .ticks li::before { background-color: rgba(141,202,232,.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238DCAE8' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }


/* --- 11. Table ----------------------------------------------------------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
table.cmp { width: 100%; border-collapse: collapse; min-width: 640px; font-size: var(--fs-sm); }
table.cmp th, table.cmp td { padding: .95rem 1.15rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.cmp thead th { font-weight: 700; color: var(--ink-900); background: var(--ink-050); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .07em; white-space: nowrap; }
table.cmp thead th.is-us { background: var(--navy-800); color: #fff; box-shadow: inset 0 3px 0 var(--brand-gold); }
table.cmp tbody th { font-weight: 700; color: var(--ink-800); }
table.cmp td { color: var(--text-muted); }
table.cmp td.is-us { color: var(--ink-900); font-weight: 600; background: #FFFCF4;
  box-shadow: inset 1px 0 0 #F0DFB4, inset -1px 0 0 #F0DFB4; }
table.cmp tbody tr:last-child th, table.cmp tbody tr:last-child td { border-bottom: 0; }

/* --- 12. Accordion / FAQ ------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-5);
  padding: 1.3rem 0; cursor: pointer; list-style: none;
  font-weight: 700; font-size: var(--fs-lg); color: var(--ink-900); line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: var(--ink-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C2730' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/12px no-repeat;
  transition: transform .22s cubic-bezier(.3,.8,.4,1), background-color .2s ease;
}
.faq summary:hover::after { background-color: var(--brand-sky-soft); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq .faq-body { padding-bottom: 1.4rem; max-width: 62ch; }
.faq .faq-body p + p { margin-top: .8rem; }
.faq .faq-body p, .faq .faq-body li { color: var(--text-muted); font-size: var(--fs-md); }

/* --- 13. Quote / callout ------------------------------------------------- */
.quote {
  border-left: 3px solid var(--brand-gold); padding-left: clamp(1.1rem, 2vw, 1.75rem);
}
.quote blockquote { font-size: var(--fs-xl); line-height: 1.5; font-weight: 500; color: var(--ink-800); letter-spacing: -.012em; }
.quote .cite { margin-top: var(--sp-4); font-size: var(--fs-sm); color: var(--text-muted); font-style: normal; }
.quote .cite b { display: block; color: var(--ink-900); }
.on-dark .quote blockquote { color: #fff; }
.on-dark .quote .cite { color: var(--ink-400); }
.on-dark .quote .cite b { color: #fff; }

.callout {
  border: 0; border-left: 3px solid var(--brand-teal);
  background: var(--bg-alt); border-radius: var(--r-md);
  padding: clamp(1rem, .85rem + .6vw, 1.4rem);
}
.callout h4, .callout .c-title {
  font-size: var(--fs-md); font-weight: 700; line-height: 1.28;
  color: var(--ink-900); margin-bottom: .35rem; letter-spacing: -0.015em;
}
.callout p { font-size: var(--fs-sm); color: var(--text-muted); }
.callout--gold { border-left-color: var(--brand-gold); background: #FFFCF3; }

/* --- 14. Scheme list ----------------------------------------------------- */
.scheme { display: grid; gap: .35rem; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 780px) { .scheme { grid-template-columns: 13rem 1fr; gap: var(--sp-5); align-items: start; } }
.scheme:last-child { border-bottom: 0; }
.scheme .s-name { font-weight: 800; color: var(--ink-900); font-size: var(--fs-md); letter-spacing: -.015em; }
.scheme .s-meta { font-size: var(--fs-xs); color: var(--text-faint); margin-top: .2rem; }
.scheme .s-desc { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.6; max-width: 62ch; }
.scheme .s-desc b { color: var(--ink-900); font-weight: 600; }

/* --- 15. Forms ----------------------------------------------------------- */
.form-grid { display: grid; gap: var(--sp-4); }
@media (min-width: 620px) { .form-grid .f-half { grid-column: span 1; } .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .f-full { grid-column: 1 / -1; } }
.field { display: grid; gap: .4rem; }
.field label { font-size: var(--fs-sm); font-weight: 700; color: var(--ink-800); }
.field label .req { color: #B3261E; }
.field input, .field select, .field textarea {
  width: 100%; padding: .78rem .95rem; border: 1.5px solid var(--line-strong);
  border-radius: var(--r-md); background: #fff; font-size: var(--fs-md); color: var(--ink-900);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-300); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-teal); box-shadow: 0 0 0 3px rgba(18,158,191,.16);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #B3261E; }
.field .err { font-size: var(--fs-xs); color: #B3261E; font-weight: 600; min-height: 0; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234E6272' stroke-width='2.4' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; background-size: 16px; padding-right: 2.6rem;
}
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: .65rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--text-muted); }
.consent { min-height: 26px; }
.consent input { width: 24px; height: 24px; margin-top: 1px; flex: none; accent-color: var(--brand-teal); }
.form-note { font-size: var(--fs-xs); color: var(--text-faint); line-height: 1.6; }

.form-status { border-radius: var(--r-md); padding: .9rem 1.1rem; font-size: var(--fs-sm); font-weight: 600; }
.form-status[data-state="ok"]  { background: #E9F7EF; color: #14603A; border: 1px solid #BFE5D0; }
.form-status[data-state="err"] { background: #FBE9E9; color: #8C1D18; border: 1px solid #F0C7C4; }
.is-hidden { display: none !important; }

/* A heading column beside a long body column reads as dead space once the
   body outruns it — pin it so it travels with the reader instead. */
@media (min-width: 940px) {
  .split--sticky > :first-child { position: sticky; top: calc(var(--header-h) + 2.25rem); align-self: start; }
}

/* --- 16. CTA band -------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy-900); color: #fff; border-radius: var(--r-xl);
  padding: clamp(2rem, 1.5rem + 2.8vw, 3.75rem);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(100% 120% at 88% 12%, rgba(18,158,191,.40) 0%, transparent 60%),
    radial-gradient(80% 100% at 4% 92%, rgba(0,48,72,.75) 0%, transparent 60%);
}
.cta-band { display: grid; gap: clamp(1.9rem, 1.2rem + 2.6vw, 3.25rem); }
.cta-band h2 { color: #fff; max-width: 20ch; }
.cta-band p { color: #C4D2DC; margin-top: var(--sp-4); max-width: 46ch; font-size: var(--fs-lg); }
.cta-band .btn-row { margin-top: 0; }
.cta-band .tiny { margin-top: var(--sp-5); }
@media (min-width: 940px) {
  .cta-band { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; }
  .cta-act { justify-self: end; text-align: right; }
  .cta-act .btn-row { justify-content: flex-end; }
}

/* --- 17. Footer ---------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: var(--ink-300); padding-block: var(--sp-9) var(--sp-6); }
.site-footer a { color: var(--ink-300); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-top { display: grid; gap: var(--sp-8); }
@media (min-width: 860px) { .footer-top { grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr)); gap: var(--sp-6); } }
.footer-brand .brand-text b { color: #fff; }
.footer-brand .brand-text span { color: var(--ink-400); }
.footer-brand p { font-size: var(--fs-sm); color: var(--ink-400); margin-top: var(--sp-4); max-width: 34ch; line-height: 1.6; }
.f-col h4, .f-col .f-title { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-400); font-weight: 700; margin-bottom: var(--sp-4); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.f-col ul { display: grid; gap: .55rem; font-size: var(--fs-sm); }
.footer-regions {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem;
  margin-top: var(--sp-7); padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,.1); font-size: var(--fs-sm);
}
.footer-regions span {
  font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em;
  font-weight: 700; color: var(--ink-400);
}
.footer-regions a { font-weight: 600; color: #fff; }
.footer-bottom {
  margin-top: var(--sp-5); padding-top: var(--sp-5); border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: var(--sp-4) var(--sp-6); align-items: center; justify-content: space-between;
  font-size: var(--fs-xs); color: var(--ink-400);
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: var(--sp-4); }
.social { display: flex; gap: .5rem; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); transition: background-color .18s ease, border-color .18s ease; }
.social a:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); }
.social svg { width: 17px; height: 17px; }

/* --- 18. Misc ------------------------------------------------------------ */

.contact-tile {
  display: flex; gap: var(--sp-4); align-items: flex-start;
  padding: 1.15rem; border: 0; border-radius: var(--r-md); background: var(--ink-050);
  text-decoration: none; color: inherit; transition: border-color .18s ease, box-shadow .18s ease;
}
.contact-tile:hover { background: #fff; box-shadow: var(--shadow-md); color: inherit; }
.contact-tile .icon-badge { margin-bottom: 0; width: 40px; height: 40px; }
.contact-tile .ct-label { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--text-faint); font-weight: 700; }
.contact-tile .ct-value { font-weight: 700; color: var(--ink-900); font-size: var(--fs-md); margin-top: .15rem; word-break: break-word; }
.contact-tile .ct-sub { font-size: var(--fs-xs); color: var(--text-muted); margin-top: .15rem; }

.anchor-nav { display: flex; }
.anchor-nav--sticky { display: block; }
.anchor-nav-inner { display: flex; align-items: stretch; gap: 1.6rem; min-width: 0; }
.anchor-nav-label {
  flex: none; align-self: center; font-size: var(--fs-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: .09em; color: var(--text-faint);
}
.anchor-scroll {
  display: flex; gap: 1.9rem; min-width: 0; overflow-x: auto;
  scrollbar-width: none; -ms-overflow-style: none; scroll-snap-type: x proximity;
}
.anchor-scroll::-webkit-scrollbar { display: none; }
/* Service role card: icon and title on one line, then blurb, then the list —
   dense and scannable rather than an icon floating over a half-empty row. */
.role-head { display: flex; align-items: center; gap: .85rem; }
.role-head .icon-badge { margin-bottom: 0; width: 40px; height: 40px; }
.role-head .icon-badge svg { width: 20px; height: 20px; }
.role .role-h { font-size: var(--fs-h4); margin: 0; }
.role > p { margin-top: 1rem; color: var(--text-muted); font-size: var(--fs-sm); max-width: 46ch; }
.role .ticks { margin-top: 1.35rem; }
.role .ticks li { max-width: none; }
.anchor-nav a {
  position: relative; flex: none; white-space: nowrap; scroll-snap-align: start;
  padding: 1.15rem 0 1.05rem; border: 0; border-radius: 0; background: none;
  font-size: var(--fs-sm); font-weight: 600; color: var(--text-muted);
  text-decoration: none; transition: color .18s ease;
}
.anchor-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--brand-teal); border-radius: 2px 2px 0 0;
  transform: scaleX(0); transform-origin: left;
  transition: transform .26s cubic-bezier(.22,.7,.3,1);
}
.anchor-nav a:hover, .anchor-nav a:focus-visible { color: var(--ink-900); }
.anchor-nav a.is-active { color: var(--brand-teal-dk); }
.anchor-nav a:hover::after, .anchor-nav a:focus-visible::after,
.anchor-nav a.is-active::after { transform: scaleX(1); }

/* --- Legal documents -----------------------------------------------------
   These read as documents, not as marketing pages: a tighter measure, a
   smaller heading scale, and numbered-feeling rhythm rather than big display
   type between short paragraphs. */
.section--legal { padding-block: clamp(2.75rem, 2.2rem + 2.2vw, 4rem) var(--section-y); }
.legal > * + * { margin-top: 1.05rem; }
.legal h2 {
  font-size: clamp(1.1875rem, 1.08rem + .42vw, 1.4375rem); font-weight: 700;
  letter-spacing: -0.01em; padding-top: 1.9rem; margin-top: 2.4rem;
  border-top: 1px solid var(--line);
}
.legal > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal p, .legal li { font-size: var(--fs-sm); color: var(--text-muted); }
.legal ul { margin-top: .85rem; }
.legal li + li { margin-top: .45rem; }

/* Linked cards carry the affordance in a corner mark, not in a line of prose
   repeated once per card. */
.card--link { position: relative; }
.card-go {
  position: absolute; right: 1.35rem; bottom: 1.35rem; width: 26px; height: 26px;
  border-radius: 50%; background: var(--tint-teal, #EAF5F9);
  transition: background-color .2s ease, transform .2s var(--ease-out);
}
.card-go::before, .card-go::after {
  content: ""; position: absolute; background: var(--brand-teal);
}
.card-go::before { left: 7px; top: 12.5px; width: 11px; height: 1.5px; border-radius: 1px; }
.card-go::after {
  right: 7.5px; top: 9.5px; width: 7px; height: 7px; border-radius: 1px;
  background: none; border-top: 1.5px solid var(--brand-teal); border-right: 1.5px solid var(--brand-teal);
  transform: rotate(45deg);
}
.card--link:hover .card-go { background: var(--brand-teal); transform: translateX(3px); }
.card--link:hover .card-go::before { background: #fff; }
.card--link:hover .card-go::after { border-color: #fff; }
.card--link { padding-bottom: calc(clamp(1.25rem, 1rem + .9vw, 1.85rem) + 2.1rem); }
.va-end { align-items: center; justify-content: flex-end; }
@media (max-width: 780px) { .va-end { justify-content: flex-start; } }

.note-strip {
  display: flex; gap: .7rem; align-items: flex-start;
  font-size: var(--fs-xs); color: var(--text-faint); line-height: 1.6;
  padding-top: var(--sp-5); margin-top: var(--sp-5); border-top: 1px dashed var(--line-strong);
}
.note-strip svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }

/* --- 19. Motion ----------------------------------------------------------
   Everything here is transform/opacity only, so it composites on the GPU and
   never triggers layout. All of it is switched off by prefers-reduced-motion. */
:root { --ease-out: cubic-bezier(.22,.7,.3,1); }

/* Scroll reveal, with automatic stagger for grid/step children ------------- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
}


/* Counters ----------------------------------------------------------------- */
.stat .n, .stat .n * { font-style: normal; font-variant-numeric: tabular-nums; }

/* Numbered steps: the rule draws itself in --------------------------------- */
.step { border-top-color: transparent; }
.step::after {
  content: ""; position: absolute; inset: -2px auto auto 0; height: 2px; width: 100%;
  background: var(--line); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .7s var(--ease-out);
}
.step.is-in::after { transform: scaleX(1); }
.on-dark .step::after { background: rgba(255,255,255,.16); }

/* Micro-interactions ------------------------------------------------------- */
.card--link .arrow-link::after { transition: transform .28s var(--ease-out); }
.card--link:hover .arrow-link::after { transform: translateX(5px); }
.card--link .icon-badge { transition: transform .35s var(--ease-out); }
.card--link:hover .icon-badge { transform: translateY(-2px) rotate(-4deg); }
.contact-tile { transition: border-color .18s ease, box-shadow .18s ease, transform .25s var(--ease-out); }
.contact-tile:hover { transform: translateX(3px); }
.faq summary { transition: color .18s ease; }
.faq summary:hover { color: var(--brand-teal-dk); }

/* FAQ open/close height animation (driven by site.js) ---------------------- */
.faq .faq-body { will-change: height; }
.faq details.is-animating .faq-body { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-in {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .step { border-top-color: var(--line); }
  .on-dark .step { border-top-color: rgba(255,255,255,.14); }
  .step::after { display: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* --- 18b. Vertical flow --------------------------------------------------
   The reset zeroes every margin, so spacing between blocks is defined here in
   one place rather than with inline styles. :where() keeps specificity at 0 so
   any component rule below still wins. */
:where(h1, h2, h3, h4, h5) + p,
:where(h1, h2, h3, h4, h5) + .lead,
:where(h1, h2, h3, h4, h5) + ul,
:where(h1, h2, h3, h4, h5) + ol { margin-top: 1.15rem; }
:where(h1, h2) + p, :where(h1, h2) + .lead, :where(h1, h2) + .quote { margin-top: 1.5rem; }
:where(p) + p, :where(p) + .lead, :where(.lead) + p { margin-top: 1.1em; }

:where(p, .lead, ul, ol, .ticks, .grid, .card, .callout, .quote, .table-scroll,
       .contact-tile, .steps, .statbar, .anchor-nav, .form-status) + :where(.btn-row) {
  margin-top: 2.6rem;
}
:where(p, .lead, h2, h3) + :where(.grid, .ticks, .steps, .table-scroll, .faq, form) {
  margin-top: 1.9rem;
}
:where(.grid, .ticks, .card, .contact-tile, .table-scroll, .quote, p, form)
  + :where(.callout, .note-strip, .card, .quote) { margin-top: 1.9rem; }
:where(.btn-row) + :where(p, .tiny) { margin-top: 1.5rem; }

/* Flow spacing must never apply between siblings that a grid or flex container
   is already positioning — that was pushing cards 2..n down inside a row. */
:where(.grid, .steps, .statbar, .form-grid, .btn-row, .anchor-nav, .cta-band,
       .footer-top, .social, .table-scroll) > * { margin-top: 0; }
.stack-lg > * + * { margin-top: var(--sp-6); }

/* --- 18c. Component spacing utilities ------------------------------------- */
.u-gap     { margin-top: 1.5rem !important; }
.btn-row--center { justify-content: center; margin-top: 3rem; }
.va-center { display: flex; align-items: center; }
.grid--sm  { gap: .75rem; }
.split--tight { gap: 2rem; }
.h-sub  { font-size: var(--fs-h3); }
.h-xs   { font-size: var(--fs-md); }
.h-sm   { font-size: var(--fs-h4); }
.t-sm   { font-size: var(--fs-sm); }
.t-lead { font-size: var(--fs-lg); }

/* Dark-ground text that was previously set inline. */
.hero-panel li strong, .hero-panel strong { color: #fff; }
.hero-panel p { color: #C4D2DC; font-size: var(--fs-sm); }
.cta-band .tiny { color: #93A6B4; }
.cta-band .tiny a { color: var(--brand-sky); }
.panel-note { color: #93A6B4; }

/* Component variants that were previously inline. */
.section--deep { background: var(--navy-900); }
.card--form { padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); }
.card-pad { padding-inline: clamp(1.25rem, 1rem + .9vw, 1.85rem); }
.card--gold-edge { border-left: 3px solid var(--brand-gold); }
table.cmp caption { caption-side: bottom; padding: .9rem 1.15rem; text-align: left; }

/* --- 19b. Small screens --------------------------------------------------
   Fluid clamps still land too large on a 390px viewport for the sub-headline
   and card titles, where they compete with the h1 instead of supporting it. */
@media (max-width: 600px) {
  .hero p.hero-sub { font-size: 1.0625rem; line-height: 1.6; }
  .card h3, .card h4 { font-size: 1.0625rem; }
  .lead { font-size: 1.0625rem; }
}

/* Sticky in-page nav for the long service list. */
.anchor-nav--sticky {
  position: sticky; top: var(--header-h); z-index: 40;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  padding-block: 0; border-bottom: 1px solid var(--line);
}
/* The rail sits directly under a dark hero, so the hero carries the breathing
   room rather than the sticky bar — a tall sticky bar eats the viewport. */
.hero--anchored { padding-bottom: clamp(3.5rem, 2.6rem + 3.6vw, 5.25rem); }
@media (max-width: 860px) {
  .anchor-nav-label { display: none; }
  .anchor-scroll {
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 30px), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 30px), transparent);
  }
}

/* Hard-fact rail: fills the empty half of an interior hero with the
   specifics this buyer is actually looking for. */
.hero-rail { border-top: 1px solid rgba(255,255,255,.16); margin-top: var(--sp-6); }
@media (min-width: 940px) { .hero-rail { margin-top: 0; } }
.hero-rail > div {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1.25rem; padding: .95rem 0; border-bottom: 1px solid rgba(255,255,255,.16);
}
.hero-rail dt {
  font-size: var(--fs-xs); letter-spacing: .09em; text-transform: uppercase;
  color: #8FA5B3; font-weight: 700;
}
.hero-rail dd { font-weight: 650; color: #fff; text-align: right; font-size: var(--fs-sm); }

/* --- 20. Print ----------------------------------------------------------- */
@media print {
  .site-header, .mobile-nav, .cta-band, .site-footer, .nav-toggle, .skip-link { display: none !important; }
  body { color: #000; }
  .hero, .hero::before, .hero::after { background: none !important; color: #000; }
  .hero h1, .on-dark h1, .on-dark h2, .on-dark h3, .on-dark p { color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; word-break: break-all; }
}

/* Service role headings are h2 for document structure but read as h3. */
.role-h { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.022em; }
