/* ==== fonts.css ==== */
/* Self-hosted variable fonts (latin subset, from Google Fonts, SIL OFL) */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/inter.woff2") format("woff2");
}


/* ==== tokens.css ==== */
/* ============================================================
   tokens.css — design tokens (colour, type, spacing, radius,
   shadow, layout, motion). Every other stylesheet consumes these
   custom properties.

   Theming: bare :root below is the complete LIGHT palette (do not
   change these values). Dark values live in two blocks further
   down — one for `prefers-color-scheme: dark` (the OS default,
   unless the visitor has explicitly picked a theme) and one for
   `[data-theme="dark"]` (explicit choice, set by main.js / the
   no-flash inline script in head.html). Every token defined here
   is redefined, identically, in both dark blocks.
   ============================================================ */
:root {
  /* -- colour: navy & gold -- */
  --c-primary-900: #04233F;
  --c-primary: #0B2E52;
  --c-primary-600: #164275;
  --c-primary-400: #2F6AAE;
  --c-primary-300: #D4B678;
  --c-primary-100: #E3EAF4;
  --c-primary-050: #F2F6FB;
  --c-accent: #C9A15A;
  --c-accent-600: #98722F;
  --c-accent-100: #F8F0DE;
  --c-ink: #14181F;
  --c-text: #2A313B;
  --c-muted: #5B6470;
  --c-line: #E3E7EC;
  --c-surface: #F6F8FA;
  --c-card: #FFFFFF;
  --c-bg: #FFFFFF;
  --c-header-bg: #FFFFFF;
  --c-input-bg: #FFFFFF;
  --c-logo-box: transparent;
  --c-logo-box-pad: 0;
  --logo-light-display: block;
  --logo-dark-display: none;
  --c-success: #1E8E5A;
  --c-error: #C0392B;
  --c-blue-light: #E2C48A;
  --c-whatsapp: #25D366;
  --c-shadow-rgb: 4, 35, 63;

  /* -- semantic aliases: same value as their light source above;
     only the dark blocks give these a different colour -- */
  --c-heading: var(--c-primary-900);
  --c-link: var(--c-primary);
  --c-link-hover: var(--c-primary-600);
  --c-eyebrow: var(--c-primary-400);

  /* -- type -- */
  --font-head: "Plus Jakarta Sans", "Inter", -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  /* fluid type scale: clamp(min, preferred, max) */
  --fs-xs:  clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --fs-sm:  clamp(0.875rem, 0.84rem + 0.2vw, 0.9375rem);
  --fs-base: clamp(1rem, 0.965rem + 0.2vw, 1.0625rem);
  --fs-md:  clamp(1.125rem, 1.06rem + 0.35vw, 1.25rem);
  --fs-lg:  clamp(1.375rem, 1.24rem + 0.7vw, 1.625rem);
  --fs-xl:  clamp(1.75rem, 1.5rem + 1.2vw, 2.25rem);
  --fs-2xl: clamp(2.125rem, 1.75rem + 1.9vw, 2.875rem);
  --fs-3xl: clamp(2.5rem, 2rem + 3vw, 3.75rem);

  /* 4px spacing scale */
  --sp-1: 0.25rem;   /* 4  */
  --sp-2: 0.5rem;    /* 8  */
  --sp-3: 0.75rem;   /* 12 */
  --sp-4: 1rem;      /* 16 */
  --sp-5: 1.5rem;    /* 24 */
  --sp-6: 2rem;      /* 32 */
  --sp-7: 3rem;      /* 48 */
  --sp-8: 4rem;      /* 64 */
  --sp-9: 6rem;      /* 96 */

  --section-y: clamp(3rem, 2.4rem + 2.5vw, 6rem);

  /* radius / shadow */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 999px;
  --sh-sm: 0 1px 2px rgba(var(--c-shadow-rgb), 0.06), 0 1px 1px rgba(var(--c-shadow-rgb), 0.04);
  --sh-md: 0 8px 24px rgba(var(--c-shadow-rgb), 0.10), 0 2px 6px rgba(var(--c-shadow-rgb), 0.06);
  --sh-lg: 0 20px 48px rgba(var(--c-shadow-rgb), 0.16), 0 6px 16px rgba(var(--c-shadow-rgb), 0.08);

  /* layout */
  --container: 74rem;
  --container-wide: 82rem;
  --container-narrow: 44rem;
  --gutter: clamp(1rem, 0.85rem + 1vw, 2rem);

  /* motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 200ms;

  color-scheme: light;
}

/* -- dark palette: OS default (no explicit choice stored) -- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --c-primary-400: #7FAEE6;
    --c-primary-300: #E2C48A;
    --c-accent-600: #E2C48A;
    --c-blue-light: #EDD7A6;
    --c-primary-100: #17345A;
    --c-primary-050: #10243F;
    --c-accent-100: #243449;
    --c-ink: #FFFFFF;
    --c-text: #E4EAF3;
    --c-muted: #A9B6C9;
    --c-line: rgba(255, 255, 255, 0.10);
    --c-surface: #10243F;
    --c-card: #14294A;
    --c-bg: #0A1A2E;
    --c-header-bg: #10243F;
    --c-input-bg: #10243F;
    --c-logo-box: transparent;
    --c-logo-box-pad: 0;
    --logo-light-display: none;
    --logo-dark-display: block;
    --c-shadow-rgb: 0, 0, 0;

    --c-heading: #FFFFFF;
    --c-link: var(--c-primary-300);
    --c-link-hover: var(--c-blue-light);
    --c-eyebrow: var(--c-primary-300);

    color-scheme: dark;
  }
}

/* -- dark palette: explicit choice (data-theme set by the toggle / no-flash script) -- */
:root[data-theme="dark"] {
  --c-primary-400: #7FAEE6;
  --c-primary-300: #E2C48A;
  --c-accent-600: #E2C48A;
  --c-blue-light: #EDD7A6;
  --c-primary-100: #17345A;
  --c-primary-050: #10243F;
  --c-accent-100: #243449;
  --c-ink: #FFFFFF;
  --c-text: #E4EAF3;
  --c-muted: #A9B6C9;
  --c-line: rgba(255, 255, 255, 0.10);
  --c-surface: #10243F;
  --c-card: #14294A;
  --c-bg: #0A1A2E;
  --c-header-bg: #10243F;
  --c-input-bg: #10243F;
  --c-logo-box: transparent;
  --c-logo-box-pad: 0;
  --logo-light-display: none;
  --logo-dark-display: block;
  --c-shadow-rgb: 0, 0, 0;

  --c-heading: #FFFFFF;
  --c-link: var(--c-primary-300);
  --c-link-hover: var(--c-blue-light);
  --c-eyebrow: var(--c-primary-300);

  color-scheme: dark;
}

/* -- print: always render the light palette on paper -- */
@media print {
  :root {
    --c-primary-400: #2F6AAE;
    --c-primary-300: #D4B678;
    --c-accent-600: #98722F;
    --c-blue-light: #E2C48A;
    --c-primary-100: #E3EAF4;
    --c-primary-050: #F2F6FB;
    --c-accent-100: #F8F0DE;
    --c-ink: #14181F;
    --c-text: #2A313B;
    --c-muted: #5B6470;
    --c-line: #E3E7EC;
    --c-surface: #F6F8FA;
    --c-card: #FFFFFF;
    --c-bg: #FFFFFF;
    --c-header-bg: #FFFFFF;
    --c-input-bg: #FFFFFF;
    --c-logo-box: transparent;
    --c-logo-box-pad: 0;
    --logo-light-display: block;
    --logo-dark-display: none;
    --c-shadow-rgb: 4, 35, 63;

    --c-heading: var(--c-primary-900);
    --c-link: var(--c-primary);
    --c-link-hover: var(--c-primary-600);
    --c-eyebrow: var(--c-primary-400);

    color-scheme: light;
  }
}


/* ==== base.css ==== */
/* ============================================================
   base.css — reset, typography, layout primitives, utilities.
   ============================================================ */

/* -- reset -- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
img, picture, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; }
ul[class], ol[class] { list-style: none; padding: 0; }
a { color: inherit; }

html {
  color-scheme: light;
}
body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-reduced-motion: no-preference) {
  body { transition: background-color 0.2s var(--ease), color 0.2s var(--ease); }
}

:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 2px;
}

::selection { background: var(--c-accent-100); color: var(--c-heading); }

/* -- typography -- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--c-heading);
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-3xl); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: var(--fs-2xl); letter-spacing: -0.02em; }
h3 { font-size: var(--fs-lg); font-weight: 600; }
h4 { font-size: var(--fs-md); font-weight: 600; }

p { color: var(--c-text); }
p + p { margin-top: var(--sp-4); }

small { font-size: var(--fs-xs); }

ul, ol { padding-left: 1.25em; }
li + li { margin-top: var(--sp-2); }

a {
  text-decoration-line: underline;
  text-decoration-color: var(--c-primary-400);
  text-underline-offset: 3px;
  transition: color var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease);
}
a:hover { color: var(--c-link-hover); text-decoration-color: currentColor; }
main a { color: var(--c-link); font-weight: 500; }

strong, b { font-weight: 600; }

/* -- layout primitives -- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * 0.55); }
.section--alt { background: var(--c-surface); }
.section--navy {
  background: linear-gradient(180deg, var(--c-primary-900), var(--c-primary));
  color: #fff;
}
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--navy p { color: rgba(255,255,255,0.82); }
.section--navy .eyebrow { color: var(--c-accent); }

.section-head { max-width: 42rem; margin-bottom: var(--sp-6); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head__title { margin-top: var(--sp-2); }
.section-head__lead { margin-top: var(--sp-3); color: var(--c-muted); font-size: var(--fs-md); }

/* centred wrapper for a single link/button placed under a grid or section body */
.section-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}
.section-foot + .section-foot { margin-top: var(--sp-3); }
.section-cta { text-align: center; margin-top: var(--sp-6); }

.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-accent-600);
}

.grid { display: grid; gap: var(--sp-6); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
.grid--5 { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--5 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .grid--5 { grid-template-columns: repeat(5, 1fr); }
}

.split {
  display: grid;
  gap: var(--sp-7);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; }
}
.split__text, .split__media { min-width: 0; }
.split__media { display: flex; align-items: center; justify-content: center; }
.split__media img, .split__media svg { width: 100%; height: auto; }

.stack { display: flex; flex-direction: column; gap: var(--sp-4); }

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

.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -100px;
  z-index: 1000;
  background: var(--c-primary-900);
  color: #fff;
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--r-md);
  text-decoration: none;
  font-weight: 600;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: var(--sp-4); }

/* -- prose (article typography) -- */
.prose { color: var(--c-text); font-size: var(--fs-base); }
.prose > * + * { margin-top: var(--sp-5); }
.prose h2 { margin-top: var(--sp-8); font-size: var(--fs-xl); }
.prose h3 { margin-top: var(--sp-7); font-size: var(--fs-lg); }
.prose h2 + *, .prose h3 + * { margin-top: var(--sp-3); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: var(--sp-2); }
.prose a { text-decoration-line: underline; }
.prose blockquote {
  border-left: 3px solid var(--c-accent);
  background: var(--c-primary-050);
  padding: var(--sp-4) var(--sp-5);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  color: var(--c-heading);
  font-style: italic;
}
.prose table {
  width: 100%;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.prose th, .prose td {
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--c-line);
  text-align: left;
  font-size: var(--fs-sm);
}
.prose th { background: var(--c-primary-050); color: var(--c-heading); font-weight: 600; }
.prose tr:last-child td { border-bottom: none; }
.prose img { border-radius: var(--r-md); }
.prose hr { border: none; border-top: 1px solid var(--c-line); }

/* -- page transitions -- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  @keyframes vt-fade-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(6px); } }
  @keyframes vt-fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
  ::view-transition-old(root) { animation: 160ms ease-out both vt-fade-out; }
  ::view-transition-new(root) { animation: 220ms ease-out both vt-fade-in; }
}

/* -- utilities -- */
.text-center { text-align: center; }
.mt-1 { margin-top: var(--sp-1); }
.mt-2 { margin-top: var(--sp-2); }
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }


/* ==== components.css ==== */
/* ============================================================
   components.css — every reusable component in the inventory.
   Organised in the order components appear on a typical page.
   ============================================================ */

/* ---------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.8em 1.5em;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: var(--fs-sm);
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-600); color: #fff; }

.btn--accent { background: var(--c-accent); color: var(--c-primary-900); }
.btn--accent:hover { background: var(--c-accent-600); color: var(--c-primary-900); }

.btn--secondary { background: transparent; color: var(--c-link); border-color: var(--c-primary-400); }
.btn--secondary:hover { background: var(--c-primary-050); color: var(--c-link-hover); }

.btn--secondary-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn--secondary-light:hover { background: rgba(255,255,255,0.12); color: #fff; }

.btn--ghost { background: transparent; color: var(--c-link); border-color: transparent; text-decoration: underline; }
.btn--ghost:hover { color: var(--c-link-hover); }

.btn--whatsapp { background: var(--c-whatsapp); color: #fff; }
.btn--whatsapp:hover { background: #1fb959; color: #fff; }

.btn--lg { padding: 1em 2em; font-size: var(--fs-base); }
.btn--block { display: flex; width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ---------------------------------------------------------- badges / chips -- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3em 0.9em;
  border-radius: var(--r-pill);
  background: var(--c-accent-100);
  color: var(--c-accent-600);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45em 1em;
  border-radius: var(--r-pill);
  background: var(--c-primary-050);
  color: var(--c-link-hover);
  font-size: var(--fs-sm);
  font-weight: 500;
  border: 1px solid var(--c-primary-100);
}

/* ---------------------------------------------------------- site header -- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--c-header-bg);
  border-bottom: 1px solid var(--c-line);
  view-transition-name: site-header;
}
.site-header.is-scrolled { box-shadow: var(--sh-sm); }

.site-header__inner {
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  color: var(--c-heading);
  background: var(--c-logo-box);
  border-radius: 10px;
  padding: var(--c-logo-box-pad);
  flex-shrink: 0;
}
.brand:hover { color: var(--c-heading); }
.brand__mark { width: 40px; height: 40px; flex-shrink: 0; }
.brand__type { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--fs-md);
  letter-spacing: -0.01em;
}
.brand__tagline {
  font-size: var(--fs-xs);
  color: var(--c-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}
@media (max-width: 479px) {
  .brand__tagline { display: none; }
}

/* -- primary nav (desktop) -- */
.nav {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  min-width: 0;
  margin-left: auto;
}
.nav__list {
  display: flex;
  align-items: stretch;
  gap: var(--sp-1);
}
.nav__item { position: relative; display: flex; align-items: stretch; }
.nav__link {
  display: flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.6em 0.7em;
  font-size: var(--fs-sm);
  border: none;
  background: none;
  color: var(--c-text);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--r-sm);
  white-space: nowrap;
}
.nav__link:hover { color: var(--c-link); background: var(--c-primary-050); }
.nav__link.is-current { color: var(--c-link); font-weight: 600; }
.nav__group-btn { cursor: pointer; }
.nav__chevron { width: 14px; height: 14px; transition: transform var(--dur) var(--ease); flex-shrink: 0; }

.nav__menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 15rem;
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  padding: var(--sp-2);
  z-index: 60;
}
.nav__menu--wide { min-width: 30rem; column-count: 2; column-gap: var(--sp-2); }
.nav__sublink {
  display: block;
  padding: 0.6em 0.85em;
  border-radius: var(--r-sm);
  color: var(--c-text);
  font-size: var(--fs-sm);
  text-decoration: none;
  break-inside: avoid;
}
.nav__sublink:hover { background: var(--c-primary-050); color: var(--c-link); }

.nav__actions { display: flex; align-items: center; gap: var(--sp-3); }
.header-call {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-primary-050);
  color: var(--c-link);
  text-decoration: none;
}
.header-call svg { width: 20px; height: 20px; }
.header-call:hover { background: var(--c-primary-100); }

/* -- theme toggle -- */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--c-primary-050);
  color: var(--c-link);
  flex-shrink: 0;
  padding: 0;
}
.theme-toggle:hover { background: var(--c-primary-100); }
.theme-toggle__icon { width: 20px; height: 20px; }
.theme-toggle__icon--sun { display: none; }
:root[data-theme="dark"] .theme-toggle__icon--sun { display: block; }
:root[data-theme="dark"] .theme-toggle__icon--moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle__icon--sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle__icon--moon { display: none; }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  border-radius: var(--r-sm);
  flex-shrink: 0;
}
.nav-toggle:hover { background: var(--c-primary-050); }
.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-heading);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.site-header.is-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.site-header.is-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -- desktop dropdown behaviour (>=1024) -- */
@media (min-width: 1024px) {
  .nav__item--has-menu:hover .nav__menu,
  .nav__item--has-menu:focus-within .nav__menu,
  .nav__item--has-menu.is-open .nav__menu {
    display: block;
  }
  .nav__item--has-menu:hover .nav__chevron,
  .nav__item--has-menu:focus-within .nav__chevron,
  .nav__item--has-menu.is-open .nav__chevron { transform: rotate(180deg); }
}

/* -- mobile / tablet: slide-in drawer (<1024) -- */
@media (max-width: 1023px) {
  .header-call { display: inline-flex; }
  .nav-toggle { display: inline-flex; }
  .nav__cta { display: none; }

  .nav {
    position: fixed;
    inset: 72px 0 0 0;
    background: var(--c-header-bg);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--sp-5) var(--gutter) var(--sp-8);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--dur) var(--ease);
    z-index: 400;
  }
  .site-header.is-open .nav { transform: translateX(0); }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { flex-direction: column; align-items: stretch; border-bottom: 1px solid var(--c-line); }
  .nav__link { width: 100%; padding: var(--sp-4) var(--sp-2); font-size: var(--fs-md); justify-content: space-between; }

  .nav__menu {
    display: none;
    position: static;
    box-shadow: none;
    border: none;
    background: var(--c-primary-050);
    border-radius: var(--r-md);
    margin: 0 0 var(--sp-2);
    column-count: 1;
    min-width: 0;
  }
  .nav__item--has-menu.is-open .nav__menu { display: block; }
  .nav__item--has-menu.is-open .nav__chevron { transform: rotate(180deg); }

  .nav__actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: var(--sp-5);
  }
  .nav__actions .nav__cta { display: flex; }
}

/* ---------------------------------------------------------- breadcrumb -- */
.breadcrumb { font-size: var(--fs-xs); color: var(--c-muted); margin-bottom: var(--sp-4); }
.breadcrumb ol { display: flex; flex-wrap: wrap; padding: 0; list-style: none; }
.breadcrumb li { display: flex; align-items: center; margin: 0; }
.breadcrumb li + li::before { content: "\203A"; margin: 0 0.5em; color: var(--c-muted); }
.breadcrumb a { color: var(--c-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--c-link); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--c-text); font-weight: 500; }
.section--navy .breadcrumb, .hero--home .breadcrumb { color: rgba(255,255,255,0.7); }
.section--navy .breadcrumb a, .hero--home .breadcrumb a { color: rgba(255,255,255,0.7); }
.section--navy .breadcrumb [aria-current="page"], .hero--home .breadcrumb [aria-current="page"] { color: #fff; }

/* ---------------------------------------------------------- hero -- */
.hero { position: relative; }
.hero__eyebrow {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-accent-600);
  margin-bottom: var(--sp-3);
}
.hero__title { margin-top: var(--sp-2); max-width: 24ch; }
.hero__lead { margin-top: var(--sp-4); font-size: var(--fs-md); max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }
.hero__chips { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-6); margin-top: var(--sp-7); }

.hero--page {
  background: var(--c-primary-050);
  padding-block: var(--sp-7) var(--sp-8);
}
.hero--page .hero__eyebrow { color: var(--c-accent-600); }
.hero--page .hero__lead { color: var(--c-muted); }

.hero--home {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--c-primary-900), var(--c-primary-600));
  color: #fff;
  padding-block: var(--sp-8) var(--sp-8);
  isolation: isolate;
}
@media (min-width: 1024px) {
  .hero--home { min-height: clamp(520px, 70vh, 720px); display: flex; align-items: center; }
}
.hero--home::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.12;
  background-image:
    repeating-linear-gradient(0deg, var(--c-accent) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(90deg, var(--c-accent) 0 1px, transparent 1px 56px);
  -webkit-mask-image: linear-gradient(to left, #000 0%, transparent 65%);
          mask-image: linear-gradient(to left, #000 0%, transparent 65%);
  display: none;
}
@media (min-width: 768px) {
  .hero--home::after { display: block; }
}
.hero--home .hero__title { color: #fff; max-width: 18ch; }
.hero--home .hero__lead { color: rgba(255,255,255,0.82); }
.hero--home .hero__inner {
  display: grid;
  gap: var(--sp-7);
  width: 100%;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero--home .hero__inner { grid-template-columns: 1.1fr 0.9fr; }
}
.hero__art {
  display: none;
  position: relative;
  color: var(--c-accent);
  opacity: 0.9;
}
@media (min-width: 1024px) {
  .hero__art { display: block; }
}
.hero__art svg, .hero__art img { width: 100%; height: auto; }
.hero__chips .chip { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.25); color: #fff; }

/* ---------------------------------------------------------- section-head already in base; cards -- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: transparent; }

.card--service {
  overflow: hidden;
}
.card--service::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.card--service:hover::before { transform: scaleX(1); }
.card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-4); }
.card__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--fs-lg);
  color: var(--c-accent-600);
}
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--c-primary-050);
  color: var(--c-primary);
  flex-shrink: 0;
}
.card__icon svg { width: 24px; height: 24px; }
.card__title { font-size: var(--fs-md); margin-bottom: var(--sp-2); }
.card__title a { text-decoration: none; color: inherit; }
.card__title a:hover { color: var(--c-link-hover); }
.card__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); }
.card__text { color: var(--c-muted); font-size: var(--fs-sm); }
.card__list { margin-top: var(--sp-4); display: grid; gap: var(--sp-2); }
.card__list li {
  position: relative;
  padding-left: 1.5em;
  font-size: var(--fs-sm);
  color: var(--c-text);
  margin-top: 0;
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.2em;
  width: 1.1em; height: 1.1em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23C9A15A'/%3E%3Cpath d='M6 10.2l2.4 2.4L14 7' stroke='%23ffffff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
}
.card__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-top: var(--sp-5);
  color: var(--c-accent-600);
  font-weight: 600;
  font-size: var(--fs-sm);
  text-decoration: none;
}
.card--industry { padding: var(--sp-5); }
.card--industry .card__icon { margin-bottom: var(--sp-3); }
.card--industry .card__title { font-size: var(--fs-base); }

.card--post .card__meta { font-size: var(--fs-xs); color: var(--c-muted); margin-bottom: var(--sp-2); }
.card--post .card__title { font-size: var(--fs-md); }

.icon-arrow { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.card__link:hover .icon-arrow, .link-card:hover .icon-arrow { transform: translateX(3px); }

/* ---------------------------------------------------------- tiles -- */
.tile { padding: var(--sp-5); }
.tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--c-accent-100);
  color: var(--c-accent-600);
  margin-bottom: var(--sp-4);
}
.tile__icon svg { width: 26px; height: 26px; }
.tile__title { font-size: var(--fs-base); margin-bottom: var(--sp-2); }
.tile__text { color: var(--c-muted); font-size: var(--fs-sm); }

/* ---------------------------------------------------------- process -- */
.process { position: relative; display: grid; gap: var(--sp-6); }
@media (min-width: 1024px) {
  .process { grid-template-columns: repeat(5, 1fr); gap: var(--sp-4); }
  .process::before {
    content: "";
    position: absolute;
    top: 26px;
    left: calc(10% + 26px);
    right: calc(10% + 26px);
    height: 2px;
    background: var(--c-line);
    z-index: 0;
  }
}
.process__step { position: relative; z-index: 1; text-align: left; }
@media (min-width: 1024px) { .process__step { text-align: center; } }
.process__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--c-primary);
  color: var(--c-accent);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--fs-md);
  margin-bottom: var(--sp-3);
}
.process__title { font-size: var(--fs-base); margin-bottom: var(--sp-2); }
.process__text { color: var(--c-muted); font-size: var(--fs-sm); }

/* ---------------------------------------------------------- checklist -- */
.checklist { display: grid; gap: var(--sp-3); }
@media (min-width: 640px) {
  .checklist--2 { grid-template-columns: repeat(2, 1fr); }
  .checklist--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .checklist--3 { grid-template-columns: repeat(3, 1fr); }
}
.checklist__item {
  position: relative;
  padding-left: 1.75rem;
  font-size: var(--fs-sm);
  margin-top: 0;
}
.checklist__item::before {
  content: "";
  position: absolute;
  left: 0; top: 0.1em;
  width: 1.25rem; height: 1.25rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23ffffff'/%3E%3Cpath d='M6 10.5l2.5 2.5L14 7' stroke='%23C9A15A' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
}

/* ---------------------------------------------------------- accordion -- */
.accordion { border-top: 1px solid var(--c-line); }
.accordion__group { margin: var(--sp-7) 0 var(--sp-3); font-size: var(--fs-lg); }
.accordion__item { border-bottom: 1px solid var(--c-line); }
.accordion__q {
  position: relative;
  display: block;
  padding: var(--sp-4) 2.75rem var(--sp-4) 0;
  font-weight: 600;
  font-size: var(--fs-base);
  color: var(--c-heading);
  cursor: pointer;
  list-style: none;
}
.accordion__q::-webkit-details-marker { display: none; }
.accordion__q::before, .accordion__q::after {
  content: "";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  background: var(--c-link);
  transition: transform var(--dur) var(--ease);
}
.accordion__q::before { width: 14px; height: 2px; transform: translate(0, -50%); }
.accordion__q::after { width: 2px; height: 14px; transform: translate(-6px, -50%); }
.accordion__item[open] > .accordion__q::after { transform: translate(-6px, -50%) rotate(90deg) scaleY(0.001); }
.accordion__a { padding-bottom: var(--sp-5); color: var(--c-muted); max-width: 62ch; }
.accordion__a p + p { margin-top: var(--sp-3); }

/* ---------------------------------------------------------- cta-band -- */
.cta-band {
  position: relative;
  background: var(--c-primary-900);
  color: #fff;
  padding-block: var(--sp-8);
  text-align: center;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-accent-600), var(--c-accent), var(--c-accent-600));
}
.cta-band__title { color: #fff; max-width: 32ch; margin-inline: auto; }
.cta-band__text { color: rgba(255,255,255,0.8); margin-top: var(--sp-3); max-width: 46ch; margin-inline: auto; }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3); margin-top: var(--sp-6); }

/* ---------------------------------------------------------- form -- */
.form { display: block; }
.form__row { margin-bottom: var(--sp-5); }
.form__field { display: flex; flex-direction: column; gap: var(--sp-2); }
.form__label { font-size: var(--fs-sm); font-weight: 600; color: var(--c-heading); }
.form__input, .form__select, .form__textarea {
  height: 48px;
  padding: 0 var(--sp-4);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: var(--c-input-bg);
  font-size: var(--fs-base);
  color: var(--c-text);
  width: 100%;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.form__textarea { height: auto; min-height: 9rem; padding-block: var(--sp-3); resize: vertical; }
.form__input:focus, .form__select:focus, .form__textarea:focus {
  outline: none;
  border-color: var(--c-primary-400);
  box-shadow: 0 0 0 3px var(--c-primary-100);
}
.form__select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%235B6470' stroke-width='2'%3E%3Cpath d='M5 7.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px; padding-right: 2.5rem; }
.form__error {
  display: none;
  color: var(--c-error);
  font-size: var(--fs-xs);
  font-weight: 500;
}
.form__row.has-error .form__input,
.form__row.has-error .form__select,
.form__row.has-error .form__textarea {
  border-color: var(--c-error);
}
.form__row.has-error .form__error { display: block; }
.form__hp {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0; padding: 0; margin: -1px;
}
.form__status { margin-top: var(--sp-5); border-radius: var(--r-md); font-size: var(--fs-sm); }
.form__status:empty { display: none; }
.form__status--ok { padding: var(--sp-4) var(--sp-5); background: #EAF7F0; color: var(--c-success); border: 1px solid #BFE7D2; }
.form__status--error { padding: var(--sp-4) var(--sp-5); background: #FBEAE8; color: var(--c-error); border: 1px solid #F1C6C0; }
.form__notice { margin-bottom: var(--sp-5); }
.form__privacy { font-size: var(--fs-xs); color: var(--c-muted); margin-top: var(--sp-4); }

/* ---------------------------------------------------------- contact-card -- */
.contact-card { display: grid; gap: var(--sp-5); }
.contact-card__row { display: flex; align-items: flex-start; gap: var(--sp-4); }
.contact-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--c-primary-050);
  color: var(--c-link);
  flex-shrink: 0;
}
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card__label { font-size: var(--fs-xs); color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.contact-card__value { font-size: var(--fs-base); font-weight: 500; color: var(--c-heading); }
.contact-card__value a { color: inherit; text-decoration: none; }
.contact-card__value a:hover { text-decoration: underline; }

/* ---------------------------------------------------------- callouts -- */
.callout { border-radius: var(--r-md); padding: var(--sp-5); font-size: var(--fs-sm); }
.callout p + p { margin-top: var(--sp-2); }
.callout--note { background: var(--c-primary-050); border-left: 4px solid var(--c-link); color: var(--c-text); }
.callout--warn { background: var(--c-accent-100); border-left: 4px solid var(--c-accent); color: var(--c-heading); }

/* ---------------------------------------------------------- trust strip -- */
.trust-strip { display: flex; flex-wrap: wrap; gap: var(--sp-5) var(--sp-7); }
.trust-strip__item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-text);
  margin-top: 0;
}
.trust-strip__item svg {
  width: 1.5em; height: 1.5em; padding: 0.3em;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--c-primary-100);
  color: var(--c-link);
}
.section--navy .trust-strip__item svg, .hero--home .trust-strip__item svg { background: rgba(255,255,255,0.14); color: var(--c-accent); }
.section--navy .trust-strip__item, .hero--home .trust-strip__item { color: #fff; }

/* ---------------------------------------------------------- calendar table -- */
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.calendar { width: 100%; min-width: 32rem; border-collapse: collapse; background: var(--c-card); border-radius: var(--r-md); overflow: hidden; }
.calendar caption { text-align: left; font-size: var(--fs-sm); color: var(--c-muted); margin-bottom: var(--sp-3); }
.calendar th {
  text-align: left;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--c-muted);
  background: var(--c-primary-050);
  padding: var(--sp-3) var(--sp-4);
}
.calendar td { padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--c-line); font-size: var(--fs-sm); vertical-align: top; }
.calendar tbody tr:nth-child(even) { background: var(--c-surface); }
.calendar tbody tr:last-child td { border-bottom: none; }
.calendar__date { font-weight: 700; color: var(--c-heading); white-space: nowrap; }
.calendar__note { color: var(--c-muted); }
.calendar__note-foot { margin-top: var(--sp-3); font-size: var(--fs-xs); color: var(--c-muted); }
.calendar__cta { margin-top: var(--sp-4); font-weight: 600; }
.calendar__cta a { color: var(--c-link); text-decoration: none; }
.calendar__cta a:hover { text-decoration: underline; }

/* ---------------------------------------------------------- map embed -- */
.map-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--c-surface); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-embed--fallback { display: flex; align-items: center; justify-content: center; text-align: center; padding: var(--sp-6); border: 1px solid var(--c-line); }

/* ---------------------------------------------------------- links grid -- */
.links-grid { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }
@media (min-width: 640px) { .links-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .links-grid { grid-template-columns: repeat(3, 1fr); } }
.link-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-5);
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.link-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.link-card__title { font-weight: 600; color: var(--c-heading); display: flex; align-items: center; gap: var(--sp-2); }
.link-card__text { font-size: var(--fs-sm); color: var(--c-muted); }
.link-card__arrow { margin-left: auto; color: var(--c-accent-600); }
.links-grid__note { margin-top: var(--sp-4); font-size: var(--fs-xs); color: var(--c-muted); }

/* ---------------------------------------------------------- audience split -- */
.audience { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; }
@media (min-width: 768px) { .audience { grid-template-columns: repeat(2, 1fr); } }
.audience__panel { padding: var(--sp-7); border-radius: var(--r-lg); }
.audience__panel--navy { background: var(--c-primary-900); color: #fff; }
.audience__panel--navy h3, .audience__panel--navy h2 { color: #fff; }
.audience__panel--navy p { color: rgba(255,255,255,0.8); }
.audience__panel--surface { background: var(--c-surface); border: 1px solid var(--c-line); }
.audience__panel .checklist__item { margin-top: 0; }
.audience__panel--navy .checklist__item::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23C9A15A'/%3E%3Cpath d='M6 10.5l2.5 2.5L14 7' stroke='%23ffffff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------- testimonial / team -- */
.testimonial { padding: var(--sp-6); background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--r-lg); }
.testimonial__quote { font-family: var(--font-head); font-size: var(--fs-md); color: var(--c-heading); font-style: italic; }
.testimonial__by { margin-top: var(--sp-4); display: flex; flex-direction: column; font-size: var(--fs-sm); color: var(--c-muted); }

.team-card { text-align: center; padding: var(--sp-6); }
.team-card__avatar {
  width: 72px; height: 72px;
  margin-inline: auto var(--sp-4);
  margin-bottom: var(--sp-4);
  border-radius: 50%;
  background: var(--c-primary-050);
  color: var(--c-link);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-md);
}
.team-card__name { font-size: var(--fs-base); }
.team-card__role { font-size: var(--fs-sm); color: var(--c-accent-600); font-weight: 600; margin-top: var(--sp-1); }
.team-card__bio { font-size: var(--fs-sm); color: var(--c-muted); margin-top: var(--sp-3); }

/* ---------------------------------------------------------- deep dive -- */
.deep-dive { position: relative; }
.deep-dive__lead-in { font-size: var(--fs-md); color: var(--c-text); margin-bottom: var(--sp-5); }
.deep-dive__outro { margin-top: var(--sp-6); color: var(--c-muted); }

/* ---------------------------------------------------------- optional blocks (service template) --
   Sections that may render with empty globals (documents / due-dates / FAQ subset)
   are wrapped as <div class="optional" data-optional><div class="optional__body">{{ x }}</div></div>.
   `.optional:empty` is a CSS backstop (a wrapper with only whitespace text nodes is
   NOT :empty, so main.js also strips any [data-optional] whose optional__body has no
   real content — see main.js "optional" IIFE). */
.optional:empty { display: none; }
div.optional__body { display: contents; } /* scoped to div: a <tbody class="optional__body"> keeps its table-row-group role */

/* ---------------------------------------------------------- site footer -- */
.site-footer { background: var(--c-primary-900); color: rgba(255,255,255,0.85); padding-block: var(--sp-8) var(--sp-6); }
.site-footer a { color: rgba(255,255,255,0.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer h2, .site-footer h3 { color: #fff; }
.site-footer__grid { display: grid; gap: var(--sp-7); grid-template-columns: 1fr; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer__brand { display: flex; flex-direction: column; gap: var(--sp-3); }
.site-footer__logo { width: 150px; height: auto; }
.site-footer__tagline { font-weight: 600; color: #fff; font-size: var(--fs-sm); }
.site-footer__lines { font-size: var(--fs-xs); color: rgba(255,255,255,0.6); }
.site-footer__heading {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--sp-4);
}
.site-footer__list { display: grid; gap: var(--sp-2); }
.site-footer__list li { margin-top: 0; }
.site-footer__bottom {
  margin-top: var(--sp-8);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.6);
}
.site-footer__legal { display: flex; gap: var(--sp-4); flex-wrap: wrap; }
.site-footer__disclaimer {
  margin-top: var(--sp-5);
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.5);
  max-width: 70ch;
}

/* ---------------------------------------------------------- wa-float / mobile-bar -- */
.wa-float {
  position: fixed;
  right: var(--sp-5);
  bottom: var(--sp-5);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sh-lg);
  z-index: 300;
  text-decoration: none;
  transition: transform var(--dur) var(--ease);
}
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

.mobile-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 250;
  background: var(--c-header-bg);
  border-top: 1px solid var(--c-line);
  box-shadow: 0 -4px 16px rgba(var(--c-shadow-rgb), 0.08);
}
.mobile-bar__list { display: grid; grid-template-columns: repeat(3, 1fr); }
.mobile-bar__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: var(--sp-2) 0 calc(var(--sp-2) + env(safe-area-inset-bottom, 0px));
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-link);
  text-decoration: none;
  border-right: 1px solid var(--c-line);
}
.mobile-bar__link:last-child { border-right: none; }
.mobile-bar__link svg { width: 20px; height: 20px; }
.mobile-bar__link--whatsapp { color: var(--c-whatsapp); }
.mobile-bar__link--accent { color: var(--c-accent-600); }

@media (max-width: 767px) {
  .mobile-bar { display: block; }
  body { padding-bottom: 60px; }
  .wa-float { bottom: calc(60px + var(--sp-4)); right: var(--sp-4); width: 48px; height: 48px; }
  .wa-float svg { width: 26px; height: 26px; }
}

/* ---------------------------------------------------------- motion: data-reveal -- */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 600ms var(--ease), transform 600ms var(--ease);
  }
  [data-reveal].is-visible { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------- print -- */
@media print {
  .nav-toggle, .wa-float, .mobile-bar, .cta-band, .header-call, .nav__cta { display: none !important; }
  .site-header { position: static; box-shadow: none; }
  .hero--home::after { display: none; }
}

/* header: keep everything on one line between 1024 and 1280 */
@media (min-width: 1024px) and (max-width: 1279.98px) {
  .brand__tagline { display: none; }
  .nav__link { padding-inline: 0.5em; }
  .nav__cta { padding-inline: 0.9em; font-size: var(--fs-sm); }
}

/* ---- QA fixes ---- */
.card__link { margin-top: auto; }
.card__list { margin-bottom: var(--sp-4); }
.section--navy .calendar th, .section--navy .calendar td { color: var(--c-text); }
.section--navy .calendar th { color: var(--c-muted); }
.section--navy .calendar__date, .section--navy .calendar__item { color: var(--c-link); }
.section--navy .calendar__note-foot { color: rgba(255,255,255,0.72); }
.brand--footer .brand__name { color: #fff; }
.brand--footer { margin-bottom: var(--sp-3); }
.site-footer__bottom, .site-footer__bottom a { color: rgba(255,255,255,0.78); }
.site-footer__disclaimer { color: rgba(255,255,255,0.62); }
.split__media--panel {
  background: linear-gradient(135deg, var(--c-primary-900), var(--c-primary-600));
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--sh-md);
}
@media (min-width: 1024px) and (max-width: 1439.98px) {
  .brand__tagline { display: none; }
  .nav { gap: var(--sp-3); }
  .nav__link { padding-inline: 0.55em; }
  .nav__cta { padding-inline: 0.9em; font-size: var(--fs-sm); white-space: nowrap; }
}

.split--top { align-items: start; }
.split__form { min-width: 0; }
.split__form .section-head__title { margin-bottom: var(--sp-5); }
.form, .form__row, .form__field { min-width: 0; max-width: 100%; }
.form__input, .form__select, .form__textarea { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
.nav__link { min-height: 40px; }
.site-footer__list a, .breadcrumb a { display: inline-block; padding-block: 0.15em; }

.chip { line-height: 1.25; align-self: center; box-sizing: border-box; }
.chips, .hero__chips { align-items: center; }

.site-footer__bottom > p { color: rgba(255,255,255,0.78); font-size: var(--fs-sm); }

/* ==== Modern theme refresh ==== */
.hero--home {
  background:
    radial-gradient(60% 80% at 85% 10%, rgba(181,171,252,0.22), transparent 60%),
    radial-gradient(50% 60% at 10% 90%, rgba(46,94,158,0.35), transparent 60%),
    linear-gradient(135deg, var(--c-primary-900), var(--c-primary-600));
}
.hero--home .hero__title { font-weight: 800; letter-spacing: -0.03em; }
.hero--page {
  background:
    radial-gradient(40% 70% at 95% 0%, rgba(201,161,90,0.16), transparent 60%),
    var(--c-primary-050);
}
.eyebrow, .hero__eyebrow { display: inline-flex; align-items: center; gap: 0.6em; }
.eyebrow::before, .hero__eyebrow::before { content: ""; width: 1.6em; height: 2px; background: var(--c-accent); border-radius: 1px; }
.section-head--center .eyebrow { justify-content: center; }
.card { border-color: rgba(var(--c-shadow-rgb), 0.08); box-shadow: 0 1px 2px rgba(var(--c-shadow-rgb), 0.04); }
.card:hover { border-color: rgba(var(--c-shadow-rgb), 0.14); }
.card--service .card__num { font-family: var(--font-head); font-weight: 800; letter-spacing: -0.02em; }
.btn { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.005em; }
.btn--accent { box-shadow: 0 6px 18px rgba(201,161,90,0.30); }
.btn--accent:hover { box-shadow: 0 10px 24px rgba(201,161,90,0.40); transform: translateY(-1px); }
.hero__actions, .cta-band__actions { align-items: center; }
.section-foot { text-align: left; }
.section-head--center ~ .section-foot, .text-center .section-foot { text-align: center; }
.cta-band__actions { justify-content: center; }
@media (max-width: 479.98px) {
  .hero__actions, .cta-band__actions, .section-foot { display: flex; flex-direction: column; align-items: stretch; }
  .hero__actions .btn, .cta-band__actions .btn, .section-foot .btn, .audience__panel .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { transform: translateY(12px); }
}

/* nav: buttons and links share identical metrics so items sit on one baseline */
.nav__list { align-items: center; }
.nav__link, .nav__group-btn { font: inherit; font-size: var(--fs-sm); font-weight: 500; line-height: 1.2; min-height: 40px; display: inline-flex; align-items: center; }
.nav__group-btn { background: none; border: 0; cursor: pointer; color: inherit; }
@media (min-width: 1024px) {
  .trust-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); }
}

.audience__panel { display: flex; flex-direction: column; align-items: flex-start; }
.audience__panel > .btn { margin-top: auto; }
.audience__panel .checklist, .audience__panel p { align-self: stretch; }

.nav__list > li, .nav__menu > li { margin: 0; }

/* header: compact spacing on small desktops so the two-word brand, nav and CTA share one row */
@media (min-width: 1024px) and (max-width: 1279.98px) {
  .site-header__inner { gap: var(--sp-3); }
  .brand__name { font-size: 1.05rem; }
  .brand__mark { width: 36px; height: 36px; }
  .nav { gap: var(--sp-2); }
  .nav__list { gap: 0; }
  .nav__link, .nav__group-btn { padding-inline: 0.45em; font-size: 0.875rem; }
  .nav__cta { padding-inline: 0.85em; font-size: 0.85rem; min-height: 40px; }
}

/* ==== Brand alignment with the supplied logo (navy + gold, Sep 2026) ==== */
.brand__img { height: 46px; width: auto; display: block; }
.site-footer__logo-box { background: #fff; border-radius: var(--r-md); padding: 10px 14px; display: inline-block; margin-bottom: var(--sp-4); }
.site-footer__logo-box .brand__img { height: 44px; }
.eyebrow, .hero__eyebrow { color: var(--c-eyebrow); }
.eyebrow::before, .hero__eyebrow::before { background: var(--c-accent); }
.card--service .card__num { color: var(--c-primary-400); }
.btn--accent { color: var(--c-primary-900); }
.btn--accent:hover, .btn--accent:focus-visible { color: var(--c-primary-900); background: var(--c-accent-600); }
.tile__icon, .card__icon { background: var(--c-primary-100); color: var(--c-primary-400); }
.site-footer__heading { color: var(--c-blue-light); }
.checklist__item::before, .audience__panel--navy .checklist__item::before { filter: none; }
.hero--home .hero__eyebrow { color: var(--c-blue-light); }
.section--navy .eyebrow { color: var(--c-blue-light); }
.chips--industries { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-3); padding: 0; margin: 0; list-style: none; }
.chips--industries .chip { background: var(--c-card); border: 1px solid var(--c-line); color: var(--c-link); }
@media (max-width: 1023.98px) { .brand__img { height: 40px; } }

/* decorative chart panel is desktop-only; on phones/tablets it only added a tall empty block */
@media (max-width: 1023.98px) { .split__media--panel { display: none; } }

/* ==== Logo v2 (transparent PNG lockups: light/dark variants swap with the theme) ==== */
.brand__img--light { display: var(--logo-light-display, block); }
.brand__img--dark { display: var(--logo-dark-display, none); }
.brand__img { height: 44px; width: auto; }
.brand--footer .brand__img { height: 48px; }
.brand--footer { background: none; padding: 0; margin-bottom: var(--sp-4); display: inline-block; }
@media (max-width: 1023.98px) { .brand__img { height: 36px; } }

.brand__img { height: 40px; }
@media (max-width: 1279.98px) { .brand__img { height: 38px; } }
@media (max-width: 1023.98px) { .brand__img { height: 34px; } }
.brand--footer .brand__img { height: 44px; }

/* ==== Motion: hero text entrance ==== */
@media (prefers-reduced-motion: no-preference) {
  @keyframes heroTextIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  .hero__text > * { animation: heroTextIn 500ms var(--ease) both; }
  .hero__text > *:nth-child(1) { animation-delay: 0ms; }
  .hero__text > *:nth-child(2) { animation-delay: 80ms; }
  .hero__text > *:nth-child(3) { animation-delay: 160ms; }
  .hero__text > *:nth-child(4) { animation-delay: 240ms; }
  .hero__text > *:nth-child(5) { animation-delay: 320ms; }
}

/* ==== Motion: micro-interactions ==== */
.card__icon svg { transition: transform 200ms var(--ease); }
.card--service:hover .card__icon svg { transform: translateY(-2px) scale(1.06); }

/* ==== Hero service index (simple, static) ==== */
.hero__art { display: none; }
.hero__panel { display: none; }
@media (min-width: 1024px) {
  .hero__panel { display: block; justify-self: end; width: 100%; max-width: 420px; align-self: center; }
  .hero--home .hero__chips { display: none; }
}
.hero-list__eyebrow { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-blue-light); margin: 0 0 var(--sp-2); }
.hero-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,0.16); }
.hero-list__item { margin: 0; border-bottom: 1px solid rgba(255,255,255,0.16); }
.hero-list__link { display: flex; align-items: center; gap: var(--sp-3); padding: 0.9rem 0.25rem; color: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: var(--fs-md); transition: padding-left 200ms var(--ease), color 200ms var(--ease); }
.hero-list__link:hover, .hero-list__link:focus-visible { color: var(--c-blue-light); padding-left: 0.6rem; }
.hero-list__num { font-size: var(--fs-xs); font-weight: 600; color: var(--c-blue-light); min-width: 1.6em; }
.hero-list__title { flex: 1; }
.hero-list__link .icon-arrow { opacity: 0.6; }
.hero-list__all { display: inline-block; margin-top: var(--sp-4); font-size: var(--fs-sm); font-weight: 600; color: var(--c-blue-light); text-decoration: none; }
.hero-list__all:hover { text-decoration: underline; }

/* ==== Static process list in the About panel ==== */
.steps { color: #fff; width: 100%; }
.steps__title { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-md); color: #fff; margin: 0 0 var(--sp-4); }
.steps__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--sp-3); }
.steps__item { display: flex; align-items: flex-start; gap: var(--sp-3); margin: 0; }
.steps__num { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: var(--fs-xs); background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); color: #fff; }
.steps__name { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm); color: #fff; margin: 0.2em 0 0.1em; }
.steps__text { font-size: var(--fs-xs); line-height: 1.45; color: rgba(255,255,255,0.78); margin: 0; }

.form__notice--wa { font-size: var(--fs-sm); color: var(--c-muted); margin: 0 0 var(--sp-4); }

/* contact card: label stacked above value so every value starts on the same column */
.contact-card__row { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: var(--sp-4); row-gap: 0; align-items: start; }
.contact-card__icon { grid-row: 1 / span 2; }
.contact-card__label { grid-column: 2; display: block; margin: 0 0 0.15em; line-height: 1.3; }
.contact-card__value { grid-column: 2; display: block; line-height: 1.45; overflow-wrap: anywhere; }

/* mobile: flush tiles, tighter stacks, process steps as icon + text rows, left-aligned section heads */
@media (max-width: 767.98px) {
  .tile { padding: 0; }
  .grid { gap: var(--sp-5); }
  .grid--5 .tile + .tile, .grid--3 .tile + .tile { padding-top: var(--sp-5); border-top: 1px solid var(--c-line); }
  .section-head--center { text-align: left; }
  .section-head--center .eyebrow { justify-content: flex-start; }
  .process { gap: var(--sp-4); }
  .process__step { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: var(--sp-3); align-items: start; }
  .process__num { grid-row: 1 / span 2; width: 40px; height: 40px; font-size: var(--fs-sm); margin: 0; }
  .process__title { grid-column: 2; margin: 0.35em 0 0.2em; }
  .process__text { grid-column: 2; margin: 0; }
}

@media (max-width: 767.98px) {
  .audience__panel { padding: var(--sp-5); }
  .audience__panel .checklist { margin-top: var(--sp-3); }
}

/* cards: breathing room above the "View details" link */
.card__link { padding-top: var(--sp-3); }
/* calendar table on phones: each row becomes a stacked block (date, item, note) */
@media (max-width: 767.98px) {
  .calendar { min-width: 0; display: block; }
  .calendar thead { display: none; }
  .calendar tbody, .calendar tr, .calendar td { display: block; width: 100%; box-sizing: border-box; }
  .calendar tr { padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--c-line); }
  .calendar tbody tr:last-child { border-bottom: none; }
  .calendar td { padding: 0; border: 0; }
  .calendar__date { white-space: normal; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.04em; color: var(--c-link); margin-bottom: 0.15em; }
  .calendar__item { font-weight: 600; color: var(--c-heading); font-size: var(--fs-base); }
  .calendar__note { margin-top: 0.2em; font-size: var(--fs-sm); }
  .section--navy .calendar__date { color: var(--c-link); }
}

/* link cards: arrow pinned beside the title instead of floating at the bottom */
.link-card { position: relative; padding-right: calc(var(--sp-5) + 28px); }
.link-card__arrow { position: absolute; top: calc(var(--sp-5) + 2px); right: var(--sp-5); margin: 0; }
.calendar__cta a { white-space: nowrap; }
@media (max-width: 479.98px) { .calendar__cta a { white-space: normal; display: inline-block; } }

.contact-card__map { display: inline-block; margin-top: 0.35em; font-size: var(--fs-sm); font-weight: 600; color: var(--c-link) !important; text-decoration: underline; text-underline-offset: 3px; }


/* ==== pages.css ==== */
/* ============================================================
   pages.css — small page-specific tweaks only. Keep this file
   short; anything reusable belongs in components.css.
   ============================================================ */

/* -- resources page: "view all insights" link under the guides grid -- */
.resources__more { text-align: center; margin-top: var(--sp-6); font-weight: 600; }
.resources__more a { color: var(--c-link); text-decoration: none; }
.resources__more a:hover { text-decoration: underline; }

/* -- internal styleguide (throwaway QA page) -- */
.page-styleguide .section { border-bottom: 1px dashed var(--c-line); }
.page-styleguide .section:last-of-type { border-bottom: none; }
.page-styleguide .sg-swatches { display: flex; flex-wrap: wrap; gap: var(--sp-4); }
.page-styleguide .sg-swatch {
  width: 7rem;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--c-line);
  font-size: var(--fs-xs);
}
.page-styleguide .sg-swatch__fill { height: 3.5rem; }
.page-styleguide .sg-swatch__label { padding: var(--sp-2); background: var(--c-card); }
.page-styleguide .sg-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; margin-top: var(--sp-4); }
