@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,300,0,0&display=swap');

/* =====================================================================
   AIVARA — Design System  ·  styles.css  ·  v1
   Single source of truth. Link on EVERY page. Never invent tokens.
   Locked brand: navy + Modern Gold authority — not another blue "AI app".
   Done-for-you bid & proposal capture · Canadian construction contractors.
   ===================================================================== */

:root {
  /* ---- Brand color (LOCKED — exact values) ---------------------- */
  --navy:        #16335A;   /* primary · text · brand · trust */
  --navy-deep:   #0F2742;   /* dark hero / section backgrounds */
  --gold:        #EFA420;   /* accent · primary CTA · "the win" */
  --gold-light:  #F5BD50;   /* accent on dark · focus rings */
  --gold-dark:   #C8851A;   /* gold button hover */
  --graphite:    #1A1A1A;   /* neutral UI text */
  --offwhite:    #F4F3EF;   /* page background · breathing room */
  --white:       #FFFFFF;   /* cards · inputs */

  /* ---- Neutral roles -------------------------------------------- */
  --ink:         #1A1A1A;   /* body text (= graphite) */
  --muted:       #5B6B82;   /* secondary text · captions */
  --line:        rgba(22,51,90,.14);   /* hairline border */
  --line-strong: rgba(22,51,90,.24);   /* input / divider border */
  --gold-tint:   rgba(239,164,32,.14); /* icon / label backgrounds */
  --navy-tint:   rgba(22,51,90,.07);   /* chips / soft fills */

  /* ---- Functional (form errors ONLY — never decorative) --------- */
  --danger:      #9A3B32;
  --danger-bg:   #FBEEEC;

  /* ---- Type families (max 3) ------------------------------------ */
  --display: 'Poppins', system-ui, sans-serif;
  --body:    'Inter', system-ui, sans-serif;
  --mono:    'IBM Plex Mono', ui-monospace, monospace;

  /* ---- Type scale ----------------------------------------------- */
  --fs-display: clamp(2.5rem, 1.4rem + 4.6vw, 4.5rem); /* 40 → 72 hero */
  --fs-h1:      clamp(2rem, 1.4rem + 2.4vw, 2.75rem);  /* 32 → 44 */
  --fs-h2:      clamp(1.6rem, 1.25rem + 1.4vw, 2rem);  /* 26 → 32 */
  --fs-h3:      1.5rem;     /* 24 */
  --fs-h4:      1.125rem;   /* 18 */
  --fs-lead:    1.125rem;   /* 18 */
  --fs-body:    1rem;       /* 16 */
  --fs-sm:      0.875rem;   /* 14 */
  --fs-label:   0.75rem;    /* 12 mono labels */

  /* ---- Radius (LOCKED) ------------------------------------------ */
  --r-sm: 6px; --r-md: 10px; --r-lg: 14px; --r-pill: 999px;

  /* ---- Spacing (4px base, LOCKED) ------------------------------- */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-6: 24px; --sp-8: 32px; --sp-12: 48px; --sp-16: 64px; --sp-24: 96px;

  /* ---- Elevation ------------------------------------------------ */
  --shadow-sm: 0 1px 2px rgba(16,39,66,.06);
  --shadow-md: 0 10px 30px rgba(16,39,66,.10);
  --shadow-lg: 0 18px 50px rgba(16,39,66,.16);
  --ring: 0 0 0 3px var(--gold-light);

  /* ---- Layout --------------------------------------------------- */
  --maxw: 1120px;
  --maxw-narrow: 700px;
  --gutter: clamp(20px, 5vw, 48px);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* =====================================================================
   Reset / base
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--offwhite);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--graphite); }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 2px; border-radius: var(--r-sm); }
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal; font-style: normal; line-height: 1;
  letter-spacing: normal; text-transform: none; white-space: nowrap;
  word-wrap: normal; direction: ltr; display: inline-block;
  -webkit-font-feature-settings: 'liga'; font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'wght' 300, 'opsz' 24;
  vertical-align: middle; user-select: none;
}

/* =====================================================================
   Typography
   ===================================================================== */
h1, h2, h3, h4 { font-family: var(--display); color: var(--navy); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); letter-spacing: -.02em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
p  { text-wrap: pretty; }
a  { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold-dark); }
strong, b { font-weight: 600; color: var(--navy); }
small { font-size: var(--fs-sm); }

.display {
  font-family: var(--display); font-weight: 700;
  font-size: var(--fs-display); line-height: 1.05;
  letter-spacing: -.025em; color: var(--navy); text-wrap: balance;
}
.display b, .display em { color: var(--gold-dark); font-style: normal; font-weight: 700; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-feature-settings: 'tnum' 1; }

/* Eyebrow — mono, tracked, with the gold down-chevron ("the win") */
.eyebrow {
  font-family: var(--mono); font-size: var(--fs-label);
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark);
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
}
.eyebrow::before {
  content: ""; width: 14px; height: 9px; background: var(--gold); flex: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 7 6-7' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 7 6-7' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.eyebrow--plain::before { display: none; }
.eyebrow--ondark { color: var(--gold-light); }

/* spec-sheet label chip */
.label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold-dark);
  background: rgba(239,164,32,.13); padding: 4px 9px;
  border-radius: var(--r-sm); display: inline-block;
}

/* =====================================================================
   Layout primitives
   ===================================================================== */
.wrap, .container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--maxw-narrow); }
.section { padding-block: var(--sp-16); }
.section--lg { padding-block: var(--sp-24); }
.section--tight { padding-block: var(--sp-12); }
.section--line { border-bottom: 1px solid var(--line); }
.section--offwhite { background: var(--offwhite); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy-deep); color: #E6EDF6; }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4, .section--navy .display { color: #fff; }
.section--navy .lead { color: #C7D3E6; }
.section--navy .eyebrow { color: var(--gold-light); }
.section--navy a { color: #fff; }

.s-title { font-family: var(--display); font-weight: 600; font-size: var(--fs-h2); color: var(--navy); margin: 14px 0 6px; letter-spacing: -.01em; }
.s-lead { color: var(--muted); max-width: 64ch; margin: 0 0 var(--sp-8); font-size: var(--fs-lead); }

.stack > * + * { margin-top: var(--sp-4); }
.stack-lg > * + * { margin-top: var(--sp-6); }
.divider { height: 1px; background: var(--line); border: 0; }
.section--navy .divider { background: rgba(255,255,255,.12); }

/* =====================================================================
   Buttons  ·  single line · radius 10 · gold primary carries DARK text
   ===================================================================== */
.btn {
  font-family: var(--display); font-weight: 600; font-size: var(--fs-sm);
  line-height: 1; white-space: nowrap; text-align: center;
  border: 0; border-radius: var(--r-md); padding: 13px 22px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none;
  transition: background .15s var(--ease), color .15s var(--ease), transform .06s var(--ease), box-shadow .15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .material-symbols-outlined { font-size: 18px; }

.btn-primary   { background: var(--gold); color: var(--graphite); }
.btn-primary:hover { background: var(--gold-dark); color: #fff; }
.btn-secondary { background: var(--navy); color: #fff; }
.btn-secondary:hover { background: var(--navy-deep); color: #fff; }
.btn-tertiary  { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn-tertiary:hover { background: var(--navy-tint); color: var(--navy); }
.btn[disabled], .btn:disabled { opacity: .45; cursor: not-allowed; }
.btn:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 2px; }

/* on navy surfaces, tertiary turns light */
.section--navy .btn-tertiary, .on-navy .btn-tertiary { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.section--navy .btn-tertiary:hover, .on-navy .btn-tertiary:hover { background: rgba(255,255,255,.08); color: #fff; }

.btn-lg { padding: 16px 28px; font-size: var(--fs-body); }
.btn-sm { padding: 9px 15px; font-size: 13px; }
.btn-block { display: flex; width: 100%; }

/* inline text link with arrow */
.link-arrow { font-family: var(--display); font-weight: 600; font-size: var(--fs-sm); color: var(--navy); display: inline-flex; align-items: center; gap: 6px; }
.link-arrow .material-symbols-outlined { font-size: 18px; color: var(--gold-dark); transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--gold-dark); }
.link-arrow:hover .material-symbols-outlined { transform: translateX(3px); }

/* hero secondary CTA — text link on dark navy (paired beside the gold primary button) */
.hero-textlink { font-family: var(--display); font-weight: 600; font-size: var(--fs-body); color: var(--offwhite); display: inline-flex; align-items: center; gap: 7px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; text-decoration-color: rgba(244,243,239,.55); padding-inline: 6px; transition: color .18s var(--ease), text-decoration-color .18s var(--ease); }
.hero-textlink .arrow { font-size: 1.15em; line-height: 1; transition: transform .2s var(--ease); }
.hero-textlink:hover { color: #fff; text-decoration-color: var(--gold); }
.hero-textlink:hover .arrow { transform: translateX(3px); }

/* contact chips (pill) */
.chip-c {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy-tint); color: var(--navy); border-radius: var(--r-pill);
  padding: 9px 16px; font-weight: 500; font-size: var(--fs-sm); text-decoration: none;
  transition: background .15s var(--ease);
}
.chip-c:hover { background: rgba(22,51,90,.12); color: var(--navy); }
.chip-c .material-symbols-outlined { font-size: 18px; color: var(--gold-dark); }

/* badge / status tags */
.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 9px; border-radius: var(--r-sm);
  background: var(--navy-tint); color: var(--navy);
}
.badge--gold { background: var(--gold-tint); color: var(--gold-dark); }
.badge--navy { background: var(--navy); color: #fff; }
.badge--outline { background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--muted); }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* =====================================================================
   Cards
   ===================================================================== */
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}
.card--hover:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card--flat { box-shadow: none; }
.card--pad-lg { padding: 32px; }
.card--service { border-top: 3px solid var(--gold); }
.card .ic, .card__icon {
  width: 42px; height: 42px; border-radius: var(--r-md);
  background: var(--gold-tint); display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; color: var(--gold-dark);
}
.card .ic .material-symbols-outlined, .card__icon .material-symbols-outlined { color: var(--gold-dark); font-size: 24px; }
.card h4, .card__title { font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--navy); margin: 0 0 6px; }
.card p, .card__body { margin: 0; font-size: 14.5px; color: var(--muted); }

/* =====================================================================
   Stats — Poppins display number (per locked reference)
   ===================================================================== */
.stat__num { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 1.4rem + 2.2vw, 2.75rem); line-height: 1; color: var(--navy); letter-spacing: -.02em; }
.stat__num em { font-style: normal; color: var(--gold-dark); }
.section--navy .stat__num { color: #fff; }
.section--navy .stat__num em { color: var(--gold-light); }
.stat__label { margin-top: 8px; font-family: var(--mono); font-size: var(--fs-label); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.section--navy .stat__label { color: #8AA0C2; }

/* =====================================================================
   Check / feature lists (gold check = "the win")
   ===================================================================== */
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 30px; margin-block: 10px; color: #3A4659; }
.checklist li::before {
  content: "check"; font-family: 'Material Symbols Outlined'; font-variation-settings: 'wght' 300;
  position: absolute; left: 0; top: 0; color: var(--gold-dark); font-size: 20px;
}
.section--navy .checklist li { color: #C7D3E6; }
.section--navy .checklist li::before { color: var(--gold-light); }

/* =====================================================================
   Forms  (built for Web3Forms native POST)
   ===================================================================== */
.field { margin-bottom: 16px; }
.field label, .field__label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-family: var(--display); }
.field__label .req { color: var(--gold-dark); }
.input, .textarea, .select, .field input, .field textarea {
  width: 100%; font-family: var(--body); font-size: 15px;
  padding: 11px 13px; border: 1.5px solid var(--line-strong);
  border-radius: var(--r-md); background: var(--white); color: var(--ink);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.input::placeholder, .textarea::placeholder, .field input::placeholder, .field textarea::placeholder { color: #9AA6B6; }
.input:focus, .textarea:focus, .select:focus, .field input:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(239,164,32,.18);
}
.textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.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='%235B6B82' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field__help { margin-top: 6px; font-size: 13px; color: var(--muted); }
.field--error .input, .field--error .textarea, .field--error .select, .field--error input, .field--error textarea { border-color: var(--danger); background: var(--danger-bg); }
.field__error { margin-top: 6px; font-size: 13px; color: var(--danger); font-weight: 500; }

/* =====================================================================
   FAQ accordion
   ===================================================================== */
details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 4px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-family: var(--display); font-weight: 600; color: var(--navy); font-size: 15.5px; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "add"; font-family: 'Material Symbols Outlined'; color: var(--gold-dark); font-variation-settings: 'wght' 300; }
details[open] summary::after { content: "remove"; }
details > p { margin: 0 0 16px; color: var(--muted); font-size: 14.5px; }

/* =====================================================================
   Image placeholders — honest striped slots (until real photography)
   ===================================================================== */
.placeholder {
  position: relative; display: grid; place-items: center;
  background-color: #E9ECF1;
  background-image: repeating-linear-gradient(135deg, transparent, transparent 11px, rgba(22,51,90,.06) 11px, rgba(22,51,90,.06) 12px);
  border: 1px dashed var(--line-strong); border-radius: var(--r-md);
  color: var(--navy); min-height: 200px; overflow: hidden;
}
.placeholder__tag { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); background: var(--white); padding: 6px 11px; border-radius: var(--r-sm); box-shadow: var(--shadow-sm); }
.placeholder--navy { background-color: var(--navy-deep); border-color: rgba(255,255,255,.18); background-image: repeating-linear-gradient(135deg, transparent, transparent 11px, rgba(255,255,255,.05) 11px, rgba(255,255,255,.05) 12px); }
.placeholder--16-9 { aspect-ratio: 16/9; }
.placeholder--4-3 { aspect-ratio: 4/3; }
.placeholder--1-1 { aspect-ratio: 1/1; }
.placeholder--3-4 { aspect-ratio: 3/4; }

/* =====================================================================
   Site header / nav
   ===================================================================== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244,243,239,.85); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: var(--sp-6); height: 72px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 26px; width: auto; }
.nav { display: flex; align-items: center; gap: var(--sp-6); margin-left: auto; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { font-family: var(--display); font-weight: 500; font-size: var(--fs-sm); color: var(--muted); padding-block: 4px; position: relative; display: inline-flex; align-items: center; gap: 2px; background: none; border: 0; cursor: pointer; }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--navy); }
.nav__link[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--gold); }
.nav__caret { font-size: 18px; transition: transform .2s var(--ease); }
.nav__cta { margin-left: 4px; }

/* Dropdown (desktop: hover / focus-within) */
.nav__menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(4px); min-width: 248px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-md); padding: 8px; opacity: 0; visibility: hidden; transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s; z-index: 60; }
.nav__item.has-menu:hover .nav__menu, .nav__item.has-menu:focus-within .nav__menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(8px); }
.nav__item.has-menu:hover .nav__caret, .nav__item.has-menu:focus-within .nav__caret { transform: rotate(180deg); }
.nav__menu a { display: block; padding: 9px 12px; border-radius: var(--r-sm); font-family: var(--display); font-weight: 600; font-size: var(--fs-sm); color: var(--navy); }
.nav__menu a:hover { background: var(--navy-tint); color: var(--navy); }
.nav__menu .desc { display: block; font-family: var(--body); font-weight: 400; font-size: 12px; color: var(--muted); margin-top: 1px; }
.nav__menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }

.nav__toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }
.nav__toggle .material-symbols-outlined { font-size: 28px; }

@media (max-width: 880px) {
  .nav__toggle { display: inline-flex; }
  .nav { position: fixed; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: var(--sp-4) var(--gutter) var(--sp-8); background: var(--offwhite); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); max-height: calc(100dvh - 72px); overflow: auto; transform: translateY(-130%); transition: transform .26s var(--ease); z-index: 49; }
  .nav[data-open] { transform: translateY(0); }
  .nav__item { display: block; }
  .nav__link { width: 100%; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-body); }
  .nav__link[aria-current="page"]::after { display: none; }
  .nav__menu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 4px 0 10px 12px; min-width: 0; background: transparent; }
  .nav__menu a { padding: 11px 8px; }
  .nav__cta { margin: var(--sp-5) 0 0; }
  .nav .btn { width: 100%; }
}

/* =====================================================================
   Breadcrumb (silo + service pages; never on / or /thank-you/)
   ===================================================================== */
.breadcrumb { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-block: var(--sp-4); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold-dark); }
.breadcrumb [aria-current="page"] { color: var(--navy); }
.breadcrumb .sep { color: var(--line-strong); }

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer { background: var(--navy-deep); color: #C7D3E6; padding-block: var(--sp-16) var(--sp-8); }
.site-footer a { color: #C7D3E6; }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: var(--sp-8); }
.site-footer h5 { font-family: var(--mono); font-size: var(--fs-label); text-transform: uppercase; letter-spacing: .12em; color: #8AA0C2; margin-bottom: var(--sp-4); font-weight: 500; }
.site-footer__links { list-style: none; padding: 0; display: grid; gap: var(--sp-3); font-size: var(--fs-sm); }
.site-footer__brand img { height: 28px; margin-bottom: var(--sp-4); }
.site-footer__bottom { margin-top: var(--sp-12); padding-top: var(--sp-6); border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; font-family: var(--mono); font-size: 12px; color: #8AA0C2; letter-spacing: .04em; }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }

/* =====================================================================
   Mobile contact dock — fixed bottom (≤880px)
   ===================================================================== */
.mobile-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; gap: var(--sp-3); padding: 10px var(--sp-4) calc(10px + env(safe-area-inset-bottom)); background: rgba(15,39,66,.96); backdrop-filter: blur(10px); border-top: 1px solid rgba(255,255,255,.12); }
.mobile-dock .btn { flex: 1; }
.mobile-dock .btn-tertiary { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
@media (max-width: 880px) { .mobile-dock { display: flex; } body.has-dock { padding-bottom: 76px; } }

/* =====================================================================
   Cookie consent banner (Consent Mode v2)
   ===================================================================== */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: var(--navy-deep); color: #C7D3E6; border-top: 1px solid rgba(255,255,255,.12); padding: 16px var(--gutter); transform: translateY(110%); transition: transform .3s var(--ease); }
.consent[data-show] { transform: translateY(0); }
.consent__inner { max-width: var(--maxw); margin-inline: auto; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.consent__text { flex: 1; min-width: 240px; font-size: 13px; line-height: 1.55; margin: 0; }
.consent__text a { color: #fff; text-decoration: underline; }
.consent__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent .btn-tertiary { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
@media (max-width: 880px) { .consent { bottom: 76px; } }

/* =====================================================================
   Hero pattern
   ===================================================================== */
.hero { background: var(--navy-deep); color: #fff; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 22%; background: var(--gold); }
.hero h1, .hero .display { color: #fff; }
.hero .display b, .hero h1 b { color: var(--gold-light); }
.hero .lead { color: #C7D3E6; }
.hero .eyebrow { color: var(--gold-light); }

/* =====================================================================
   Do / Don't
   ===================================================================== */
.use-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.use { border-radius: var(--r-lg); padding: 24px 26px; border: 1px solid var(--line); background: var(--white); }
.use h4 { font-family: var(--display); font-size: 15px; margin: 0 0 12px; }
.use.do h4 { color: #2F6B3A; }
.use.dont h4 { color: #9A3B32; }
.use ul { margin: 0; padding: 0; list-style: none; }
.use li { padding: 7px 0 7px 28px; position: relative; font-size: 14px; color: #3A4659; border-bottom: 1px solid var(--line); }
.use li:last-child { border-bottom: 0; }
.use.do li::before { content: "check"; font-family: 'Material Symbols Outlined'; position: absolute; left: 0; color: var(--gold-dark); font-size: 18px; font-variation-settings: 'wght' 300; }
.use.dont li::before { content: "close"; font-family: 'Material Symbols Outlined'; position: absolute; left: 0; color: #BF5147; font-size: 18px; font-variation-settings: 'wght' 300; }

/* =====================================================================
   Prose (resources / articles)
   ===================================================================== */
.prose { max-width: 68ch; color: #39465B; font-size: var(--fs-body); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.8em; font-size: var(--fs-h3); }
.prose h3 { margin-top: 1.5em; font-size: 1.25rem; }
.prose p, .prose li { line-height: 1.7; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-block: .35em; }
.prose a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.prose blockquote { border-left: 3px solid var(--gold); padding: 2px 0 2px 20px; font-family: var(--display); font-size: var(--fs-h4); font-weight: 500; color: var(--navy); }
.prose code { font-family: var(--mono); font-size: .9em; background: var(--navy-tint); padding: .15em .4em; border-radius: var(--r-sm); }

/* =====================================================================
   Helpers
   ===================================================================== */
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.grid { display: grid; gap: var(--sp-4); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.cluster { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.between { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
@media (max-width: 880px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } .use-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* =====================================================================
   Page layout helpers (service / content pages)
   ===================================================================== */
/* Page hero — navy, optional background image + protective scrim */
.pagehero { position: relative; isolation: isolate; background: var(--navy-deep); color: #fff; overflow: hidden; padding-block: clamp(48px, 7vw, 88px); }
.pagehero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .18; z-index: -2; }
.pagehero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(130% 100% at 10% 15%, rgba(15,39,66,.5) 0%, rgba(15,39,66,.85) 60%, var(--navy-deep) 100%); }
.pagehero h1 { color: #fff; font-size: clamp(2.25rem, 1.4rem + 3.4vw, 3.5rem); line-height: 1.06; letter-spacing: -.03em; max-width: 16ch; margin: 14px 0 0; }
.pagehero .lead { color: #C7D3E6; margin-top: 16px; max-width: 54ch; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 26px; }
.hero-reassure { font-family: var(--mono); font-size: 12px; letter-spacing: .03em; color: #8AA0C2; margin-top: 18px; display: flex; gap: 8px 20px; flex-wrap: wrap; }
.hero-reassure span { display: inline-flex; align-items: center; gap: 7px; }
.hero-reassure .material-symbols-outlined { font-size: 16px; color: var(--gold-light); }

/* Split image + text */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.media-frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--navy-deep); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4 / 3; }
.answer { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink); max-width: 60ch; }
.section--navy .answer { color: #D6E1F0; }
@media (min-width: 760px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .media-frame { order: 2; }
  .media-frame img { aspect-ratio: 4 / 5; }
}

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: var(--sp-6); }
.feature { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.feature .ic { width: 44px; height: 44px; }
.feature h3 { font-size: 17px; }
.feature p { font-size: 14px; color: var(--muted); margin: 0; }
@media (min-width: 760px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }

/* Service ladder */
.ladder { display: grid; gap: 14px; margin-top: var(--sp-6); }
.ladder__item { display: flex; gap: 18px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--r-md); padding: 22px 24px; }
.ladder__tier { flex: none; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--gold-dark); width: 46px; padding-top: 2px; }
.ladder__t { font-family: var(--display); font-weight: 600; color: var(--navy); font-size: 17px; }
.ladder__d { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* Boundary callout (trust feature) */
.boundary { display: flex; gap: 16px; align-items: flex-start; background: rgba(239,164,32,.08); border: 1px solid rgba(239,164,32,.28); border-radius: var(--r-lg); padding: 24px 26px; }
.boundary .material-symbols-outlined { color: var(--gold-dark); flex: none; font-size: 26px; }
.boundary h3 { font-size: 17px; margin-bottom: 6px; }
.boundary p { font-size: 15px; color: #3C4F67; margin: 0; }

/* CTA band + FAQ width */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 20ch; margin-inline: auto; }
.cta-band .lead { max-width: 54ch; margin: 16px auto 0; }
.cta-band .cluster { justify-content: center; margin-top: 28px; }
.faq-wrap { max-width: 760px; }

/* =====================================================================
   Resources silo (hub, pillar, spoke article, glossary)
   ===================================================================== */
.res-card-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: var(--sp-6); }
@media (min-width: 720px) { .res-card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .res-card-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.res-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; height: 100%; }
.res-card .kicker { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); }
.res-card h3 { font-size: 19px; }
.res-card p { color: var(--muted); font-size: 14px; margin: 0; }
.res-card .foot { margin-top: auto; padding-top: 8px; }

/* Article */
.article { max-width: 760px; margin-inline: auto; }
.article__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 16px; }
.article__meta span { display: inline-flex; align-items: center; gap: 6px; }
.article__lede { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink); font-weight: 500; margin: 22px 0 8px; }
.tldr { background: rgba(239,164,32,.08); border: 1px solid rgba(239,164,32,.28); border-radius: var(--r-lg); padding: 22px 24px; margin: 28px 0; }
.tldr h2 { font-size: 14px; font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 8px; }
.tldr p { margin: 0; font-size: 15px; color: #3C4F67; }

/* Related / sibling links */
.related { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: var(--sp-5); }
@media (min-width: 720px) { .related { grid-template-columns: repeat(3, 1fr); } }
.related a { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); transition: border-color .18s var(--ease), box-shadow .18s var(--ease); }
.related a:hover { border-color: var(--navy-300, #9CB0CA); box-shadow: var(--shadow-sm); }
.related .k { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dark); }
.related .t { font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--navy); line-height: 1.3; }

/* Glossary */
.gloss-az { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--sp-5); }
.gloss-az a { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--navy); width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--r-sm); }
.gloss-az a:hover { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.gloss-list { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: var(--sp-5); }
@media (min-width: 720px) { .gloss-list { grid-template-columns: repeat(2, 1fr); } }
.gloss-item { display: flex; gap: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
.gloss-item dt { font-family: var(--display); font-weight: 600; color: var(--navy); font-size: 16px; min-width: 0; }
.gloss-item dd { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.term-def { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink); font-weight: 500; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
