:root {
  --color-white:       #FFFFFF;
  --color-navy-900:    #003D6E;
  --color-navy-800:    #002C51;
  --color-brick-600:   #BD3826;
  --color-brick-700:   #9B2E1F;
  --color-brick-tint:  #F2B19A;   /* clears 4.5:1 against navy-900 and the darkest .contact-hero gradient stop */
  --color-ink-900:     #1A2430;
  --color-slate-600:   #4E5C6B;
  --color-line-200:    #E1DCD3;
  --color-cream-50:    #FAF7F2;

  --color-on-dark:       #FFFFFF;
  --color-on-dark-dim:   #B2BFCC;
  --color-on-dark-faint: #99ADBF;

  --hair:      rgba(26, 36, 48, .12);
  --hair-hi:   rgba(26, 36, 48, .22);
  --hair-dark: rgba(255, 255, 255, .16);

  --gradient-navy-about:  linear-gradient(168deg, #002E59 0%, #003D6E 38%, #0D4D80 77%);
  --gradient-navy-trust:  linear-gradient(168deg, #002E59 0%, #003D6E 38%, #0D4D80 77%);
  --gradient-navy-footer: linear-gradient(128deg, #0D1A2E 0%, #14263B 42%, #1A334D 83%);

  --font-sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  --lbl: 13px;
  --lbl-track: 1.04px;
  --lbl-track-lg: 1.6px;

  --lead: clamp(1.05rem, 1.4vw, 1.15rem);

  --sec-y:    clamp(56px, 7vw, 96px);
  --sec-y-sm: clamp(40px, 5vw, 64px);

  --wrap: 1200px;
  --gut: 24px;

  --r:    6px;
  --r-lg: 12px;
  --r-xl: 20px;

  --nav-h: 72px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html { scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--color-white);
  color: var(--color-ink-900);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
[hidden] { display: none; }

h1, h2, h3, h4, p, li, dd, dt, summary, address { overflow-wrap: break-word; }

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--color-navy-900);
  margin: 0 0 .5em;
  letter-spacing: -.005em;
  text-wrap: balance;
}

h1 { font-size: clamp(1.875rem, .625rem + 5vw, 5.625rem); line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 1vw + 1.3rem, 2.125rem);    line-height: 1.18; }
h3 { font-size: 1.15rem; line-height: 1.32; font-weight: 700; }
h4 { font-size: 1rem;    line-height: 1.35; font-weight: 600; }

p { margin: 0 0 1.1em; color: var(--color-slate-600); }
p:last-child { margin-bottom: 0; }

a { color: var(--color-navy-900); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--color-brick-600); }

strong, b { font-weight: 700; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .4em; }

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

::selection { background: var(--color-line-200); color: var(--color-ink-900); }

:focus-visible {
  outline: 2px solid var(--color-navy-900);
  outline-offset: 3px;
  border-radius: 2px;
}
.hero :focus-visible,
.about-teaser :focus-visible,
.site-foot :focus-visible { outline-color: var(--color-white); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--color-navy-900); color: var(--color-white);
  padding: 12px 20px; font-weight: 600; font-size: .9rem;
}
.skip-link:focus { left: 8px; top: 8px; }

.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;
}

.page {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gut);
}

.section    { padding: var(--sec-y) 0; }
.section--sm { padding: var(--sec-y-sm) 0; }

.center { text-align: center; }

.head { margin-bottom: clamp(28px, 3.6vw, 48px); }
.head.center { margin-inline: auto; }
.head h2 { margin-bottom: .4em; }
.head__intro {
  max-width: 46ch;
  margin-inline: auto;
  font-size: var(--lead);
  line-height: 1.55;
  color: var(--color-slate-600);
}

.label {
  display: block;
  font-size: var(--lbl);
  font-weight: 600;
  letter-spacing: var(--lbl-track);
  text-transform: uppercase;
  margin-bottom: .6em;
}
.label--brick { color: var(--color-brick-600); }
.label--lg { font-size: 20px; letter-spacing: var(--lbl-track-lg); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-sans);
  font-size: .95rem; font-weight: 700;
  padding: 13px 26px;
  border-radius: var(--r);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.3;
  transition: background-color .18s var(--ease), border-color .18s var(--ease),
              color .18s var(--ease), transform .12s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn:hover { text-decoration: none; }

.btn--primary { background: var(--color-brick-600); color: var(--color-white); }
.btn--primary:hover { background: var(--color-brick-700); color: var(--color-white); }

.text-link {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 600; font-size: 1rem;
  color: var(--color-white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .5);
  padding-bottom: 2px;
  transition: border-color .18s var(--ease), color .18s var(--ease);
}
.text-link:hover { color: var(--color-white); border-color: var(--color-white); }
.text-link span { transition: transform .18s var(--ease); }
.text-link:hover span { transform: translateX(3px); }

.text-link--dark { color: var(--color-navy-900); border-bottom-color: rgba(0, 61, 110, .4); }
.text-link--dark:hover { color: var(--color-brick-600); border-color: var(--color-brick-600); }

/* backdrop-filter goes on ::before, not .site-head itself: backdrop-filter
   creates a containing block for fixed descendants, and .nav-links (the
   mobile drawer) is fixed inside this header — putting it on .site-head
   breaks the drawer's positioning after scroll. */
.site-head {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-head::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background: rgba(255, 255, 255, .7);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  transition: background-color .25s var(--ease);
}
.site-head.is-scrolled {
  border-bottom-color: var(--hair);
  box-shadow: 0 1px 14px rgba(26, 36, 48, .08);
}
.site-head.is-scrolled::before { background: rgba(250, 247, 242, .97); }
.site-head > .page {
  display: flex; align-items: center; gap: 18px;
  min-height: 63px;
  padding-top: 16px; padding-bottom: 16px;
  position: relative; z-index: 1;
}

.site-head--overlay {
  margin-bottom: calc(-1 * var(--nav-h));
}
.site-head--overlay::before {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.site-head--overlay .brand-lockup,
.site-head--overlay .brand-lockup .name { color: var(--color-white); }
.site-head--overlay .nav-toggle { border-color: rgba(255, 255, 255, .5); }
.site-head--overlay .nav-toggle span,
.site-head--overlay .nav-toggle span::before,
.site-head--overlay .nav-toggle span::after { background: var(--color-white); }

.site-head--overlay.is-scrolled::before {
  background: rgba(250, 247, 242, .97);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
}
.site-head--overlay.is-scrolled .brand-lockup,
.site-head--overlay.is-scrolled .brand-lockup .name { color: var(--color-ink-900); }
.site-head--overlay.is-scrolled .brand-lockup { color: var(--color-navy-900); }
.site-head--overlay.is-scrolled .nav-toggle { border-color: var(--hair); }
.site-head--overlay.is-scrolled .nav-toggle span,
.site-head--overlay.is-scrolled .nav-toggle span::before,
.site-head--overlay.is-scrolled .nav-toggle span::after { background: var(--color-navy-900); }

/* Forces the scrolled/dark header treatment whenever the drawer is open,
   regardless of actual scroll position — otherwise the overlay header's
   white logo/close icon sit invisibly on the drawer's own white panel. */
body.nav-open .site-head--overlay .brand-lockup,
body.nav-open .site-head--overlay .brand-lockup .name { color: var(--color-navy-900); }
body.nav-open .site-head--overlay .nav-toggle { border-color: var(--hair); }
body.nav-open .site-head--overlay .nav-toggle span,
body.nav-open .site-head--overlay .nav-toggle span::before,
body.nav-open .site-head--overlay .nav-toggle span::after { background: var(--color-navy-900); }

@media (min-width: 901px) {
  .site-head--overlay .nav-links a { color: var(--color-white); }
  /* explicit color needed: same specificity as the base rule, which comes
     first in the file and would otherwise win via source order */
  .site-head--overlay .nav-links a[aria-current="page"] {
    color: var(--color-white);
    box-shadow: inset 0 -2px 0 var(--color-white);
  }
  .site-head--overlay .nav-links a:hover { background: rgba(255, 255, 255, .14); }
  .site-head--overlay.is-scrolled .nav-links a { color: var(--color-ink-900); }
  .site-head--overlay.is-scrolled .nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--color-navy-900); }
  .site-head--overlay.is-scrolled .nav-links a:hover { background: rgba(26, 36, 48, .05); }
}

.brand-lockup {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--color-navy-900);
  margin-right: auto;
  min-width: 0;
}
.brand-lockup img { width: 36px; height: 36px; flex: none; border-radius: 50%; }
.brand-lockup .name {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  color: var(--color-navy-900);
}

.nav-links {
  display: flex; align-items: center; gap: 2px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links > li { margin: 0; }

.nav-links a {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-ink-900);
  text-decoration: none;
  padding: 9px 13px;
  border-radius: var(--r);
  line-height: 1.3;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.nav-links a:hover { color: var(--color-navy-900); background: rgba(26, 36, 48, .05); }
.nav-links a[aria-current="page"] {
  color: var(--color-navy-900);
  box-shadow: inset 0 -2px 0 var(--color-navy-900);
}

.nav-cta {
  background: var(--color-brick-600) !important;
  color: var(--color-white) !important;
  padding: 8px 24px !important;
  margin-left: 8px;
  border-radius: var(--r);
}
.nav-cta:hover { background: var(--color-brick-700) !important; color: var(--color-white) !important; }
.nav-links a.nav-cta[aria-current="page"] { box-shadow: none; }

@media (min-width: 901px) {
  .nav-contact {
    display: flex;
    align-items: center;
    margin-left: 8px;
  }
  .nav-contact .label {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  .nav-mark { display: none; }
}

.nav-toggle {
  display: none;
  position: relative;
  /* must exceed .nav-links' z-index (99) or the open drawer paints over
     this button, making it invisible and unclickable */
  z-index: 100;
  width: 44px; height: 44px;
  border: 1px solid var(--hair);
  border-radius: var(--r);
  background: transparent;
  cursor: pointer;
  flex: none;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 50%; width: 19px; height: 2px;
  background: var(--color-navy-900);
  transform: translateX(-50%);
  transition: transform .24s var(--ease), opacity .18s var(--ease);
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { content: ""; left: 0; transform: none; top: -6px; }
.nav-toggle span::after  { content: ""; left: 0; transform: none; top: 6px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span::after  { transform: translateY(-6px) rotate(-45deg); }

.nav-scrim {
  position: fixed; inset: 0; z-index: 98;
  background: rgba(26, 36, 48, .46);
  opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s;
}
.nav-scrim.is-open { opacity: 1; visibility: visible; }

/* 50% dark overlay: measured ~4.7:1 white-on-overlay against the
   brightest plausible cloud region, clearing WCAG AA. Don't lighten it
   without re-checking — ~10% only reached ~1.55:1. */
.hero {
  position: relative;
  background-color: var(--color-navy-900);
  background-image: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url('/assets/clouds.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: clamp(64px, 9vw, 140px) 0;
  color: var(--color-white);
}
.hero--nav-overlay { padding-top: calc(var(--nav-h) + clamp(64px, 9vw, 140px)); }
.hero-copy { max-width: 100%; }
.hero-eyebrow {
  font-size: var(--lbl);
  font-weight: 600;
  letter-spacing: var(--lbl-track);
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 1.2em;
}
.hero h1 {
  color: var(--color-white);
  max-width: 100%;
  margin-bottom: .4em;
}
.hero-lead {
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .88);
  max-width: 100%;
}

@media (min-width: 901px) {
  .hero h1 { max-width: 1077px; }
  .hero-lead { max-width: 560px; }
}

.trust-bar {
  background: var(--gradient-navy-trust);
  padding: 18px 0;
}
.trust-bar__line {
  margin: 0;
  text-align: center;
  font-size: .92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .88);
}
.trust-bar__line strong {
  color: var(--color-white);
}

.services-teaser { background: var(--color-white); }

/* Styled as a single card, not a list row — there's exactly one service
   today, so a thin bordered list (built for several stacked rows) read as
   sparse and unfinished on wide screens. Matches the brick-top-border card
   convention used elsewhere on the site (job card, credentials panel). */
.services-list { max-width: 560px; margin: 0 auto; }
.service-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: clamp(28px, 4vw, 40px);
  background: var(--color-white);
  border: 1px solid var(--color-line-200);
  border-top: 4px solid var(--color-brick-600);
  border-radius: var(--r-lg);
}
.service-row__icon {
  width: 56px;
  height: 56px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-brick-600);
  color: var(--color-white);
  margin-bottom: 6px;
}
.service-row__icon svg { width: 26px; height: 26px; }
.service-row h3 { color: var(--color-navy-900); margin-bottom: 0; }
.service-row p { margin-bottom: 0; max-width: 42ch; color: var(--color-slate-600); }

.services-teaser__cta { margin-top: clamp(32px, 4vw, 48px); }

.about-teaser {
  background: var(--gradient-navy-about);
  color: var(--color-white);
  padding: clamp(56px, 8vw, 96px) 0;
}
.about-teaser__grid {
  display: flex;
  flex-direction: column-reverse;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}
.about-teaser__photo {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 480 / 380;
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
/* Logo lockup on a white card, not directly on the navy section — the
   logo's own navy ring/wordmark would otherwise blend into the navy
   background. The lockup is a wide format (~6:1), so this card is shorter
   and wider than the photo slot it replaced, rather than forcing a wide
   logo into a tall box. */
.about-teaser__photo--logo {
  aspect-ratio: 480 / 260;
  background: var(--color-white);
  box-shadow: 0 24px 48px -16px rgba(0, 20, 40, .45);
  padding: clamp(28px, 5vw, 48px);
}
.about-teaser__photo--logo img { width: 100%; height: auto; display: block; }

.about-teaser__copy { max-width: 560px; }
.about-teaser__copy h2 { color: var(--color-white); line-height: 1.2; }
.about-teaser__copy p { color: rgba(255, 255, 255, .88); font-size: 1rem; line-height: 1.58; }

@media (min-width: 901px) {
  .about-teaser__grid { flex-direction: row; align-items: center; }
}
@media (max-width: 900px) {
  .about-teaser { background: var(--color-navy-900); }
  .about-teaser__photo { max-width: 320px; }
}

.faq { background: var(--color-white); }

.accordion {
  max-width: 900px;
  margin: 0 auto;
}
.accordion-item { border-bottom: 1px solid var(--color-line-200); }
.accordion-item:first-child { border-top: 1px solid var(--color-line-200); }
.accordion-heading { margin: 0; }

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 22px 4px;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-navy-900);
}
.accordion-trigger:hover { color: var(--color-brick-600); }

.accordion-icon {
  flex: none;
  width: 11px; height: 11px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s var(--ease);
  margin-right: 4px;
}
.accordion-trigger[aria-expanded="true"] .accordion-icon { transform: rotate(-135deg); }

.accordion-panel { overflow: hidden; }
.accordion-panel__inner { padding: 0 4px 24px; }
.accordion-panel__inner p { margin-bottom: 0; }

.placeholder-flag {
  display: block;
  margin-top: .6em;
  font-size: .85rem;
  font-style: italic;
  color: var(--color-brick-600);
}

.careers-cta { background: var(--color-white); }
.careers-cta h2 { max-width: 22ch; margin-inline: auto; color: var(--color-ink-900); }
.careers-cta p {
  max-width: 42ch;
  margin: .6em auto 1.6em;
  color: var(--color-ink-900);
  font-size: 1.05rem;
}

.site-foot {
  background: var(--gradient-navy-footer);
  color: var(--color-on-dark-dim);
  padding: clamp(48px, 6vw, 72px) 0 24px;
  font-size: .93rem;
}

.foot-cols {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.15fr;
  grid-template-areas: "brand site legal contact";
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: 34px;
}
.foot-brand    { grid-area: brand; }
.foot-site     { grid-area: site; }
.foot-legal-col{ grid-area: legal; }
.foot-contact  { grid-area: contact; }

.foot-brand .brand-lockup { color: var(--color-on-dark); margin-bottom: 12px; }
.foot-brand .brand-lockup .name { color: var(--color-white); }
.foot-tag { color: var(--color-on-dark-dim); max-width: 32ch; font-size: .9rem; line-height: 1.55; }

.site-foot h3 {
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 14px;
}
.site-foot .links { list-style: none; margin: 0; padding: 0; }
.site-foot .links li { margin-bottom: 9px; }
.site-foot .links a {
  color: var(--color-on-dark-dim);
  text-decoration: none;
  transition: color .16s var(--ease);
}
.site-foot .links a:hover { color: var(--color-white); text-decoration: underline; }

.site-foot address {
  font-style: normal;
  color: var(--color-on-dark-dim);
  line-height: 1.7;
}
.site-foot address a { color: var(--color-on-dark-dim); }
.site-foot address a:hover { color: var(--color-white); }

.foot-hr { border-top: 1px solid var(--hair-dark); margin: 0 0 22px; }

.foot-bottom {
  display: flex; flex-wrap: wrap; gap: 8px 26px;
  justify-content: space-between;
  font-size: .82rem;
  color: var(--color-on-dark-faint);
}
.foot-bottom p { color: inherit; margin: 0; }
.foot-bottom a { color: inherit; text-decoration: underline; }
.foot-bottom a:hover { color: var(--color-white); }

@media (max-width: 700px) {
  .foot-cols {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand brand"
      "site legal"
      "contact contact";
    gap: 28px 24px;
  }
}

.photo-placeholder {
  position: relative;
  flex: none;
  border-radius: var(--r-lg);
  background: rgba(0, 61, 110, .08);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.photo-placeholder--hero {
  width: 480px;
  max-width: 100%;
  aspect-ratio: 480 / 420;
}
.photo-placeholder--leader {
  width: 218px;
  max-width: 100%;
  aspect-ratio: 218 / 380;
}
/* A stock photo standing in for real client photography. */
.photo-placeholder--filled { background: none; }
.photo-placeholder--filled img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* A generic silhouette standing in for a specific person's real headshot
   (Janet) — never a stock photo, since that would misrepresent a real,
   named individual rather than stand in for unconfirmed brand photography. */
.photo-placeholder--silhouette { align-items: center; justify-content: center; }
.photo-placeholder--silhouette svg { width: 72px; height: 72px; color: var(--color-navy-900); opacity: .45; }

.about-hero { background: var(--color-cream-50); }
.about-hero__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  text-align: center;
}
.about-hero__copy { max-width: 640px; }
.about-hero__lead { font-size: 18px; line-height: 1.55; color: var(--color-slate-600); }

@media (min-width: 901px) {
  .about-hero__grid { flex-direction: row; align-items: center; text-align: left; }
  .about-hero__copy { max-width: none; }
  .about-hero__lead { max-width: 60ch; }
}

.story { background: var(--color-white); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.story-grid { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 64px); }
.story-copy-right p:last-child { margin-bottom: 0; }

@media (min-width: 901px) {
  .story-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}

.values { background: var(--color-navy-900); }
.values .head h2 { color: var(--color-white); max-width: 700px; margin-inline: auto; }
/* brick-600 fails contrast on navy-900 (1.99:1); brick-tint clears it (~5.65:1) */
.values .label--brick { color: var(--color-brick-tint); }

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.value-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-line-200);
  border-radius: 10px;
  padding: 32px;
}
.value-card h3 { font-size: 19px; margin-bottom: .5em; }
.value-card p { font-size: 15px; margin-bottom: 0; }
.value-card__icon {
  width: 40px; height: 40px;
  flex: none;
  margin-top: 24px;
  border-radius: 50%;
  background: var(--color-brick-600);
  display: flex; align-items: center; justify-content: center;
}
.value-card__icon svg { width: 20px; height: 20px; color: var(--color-white); }

@media (min-width: 701px) {
  .values-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

.leader-row { background: var(--color-white); }
.leader-row__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
}
.leader-photo {
  width: 100%;
  max-width: 280px;
  height: auto;
  aspect-ratio: 218 / 380;
  object-fit: cover;
  flex: none;
  border-radius: var(--r-lg);
}
.leader-photo--real { border-radius: var(--r-lg); }
.leader-copy { max-width: 640px; text-align: center; }
.leader-copy h3 { font-size: 28px; margin-bottom: .2em; }
.leader-role { font-weight: 600; color: var(--color-slate-600); margin-bottom: 1.2em; }

@media (min-width: 901px) {
  .leader-row__grid { flex-direction: row; align-items: flex-start; }
  .leader-photo { width: 218px; max-width: none; }
  .leader-photo--real { border-radius: 35px; }
  .leader-copy { max-width: none; flex: 1; text-align: left; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }

  .nav-links {
    display: flex;
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 99;
    width: min(320px, 85vw);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 84px 20px 20px;
    background: var(--color-white);
    border-left: 1px solid var(--hair);
    box-shadow: -12px 0 40px rgba(26, 36, 48, .16);
    transform: translateX(102%);
    transition: transform .28s var(--ease);
    overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }

  .nav-links > li:not(:first-child) { border-top: 1px solid var(--hair); }

  .nav-links a {
    display: block; width: 100%; text-align: left;
    padding: 14px 14px;
    font-size: 1.02rem;
  }
  .nav-links a:not(.nav-cta) { border-radius: 0; }
  .nav-links a[aria-current="page"] {
    background: rgba(0, 61, 110, .07);
    box-shadow: inset 3px 0 0 var(--color-navy-900);
  }
  .nav-cta { margin: 14px 0 0; text-align: center !important; }

  /* .nav-contact { margin-top: auto } alone loses to .nav-links > li's
     earlier margin:0 rule on specificity and silently never applies. */
  .nav-links > li.nav-contact {
    margin-top: auto;
    padding-top: 20px;
  }
  .nav-contact .label { margin-bottom: .3em; }
  .nav-contact a {
    display: inline-block; width: auto;
    padding: 4px 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-navy-900);
  }
  .nav-contact a:hover { background: none; color: var(--color-brick-600); }

  .nav-links > li.nav-mark {
    display: flex; justify-content: center;
    border-top: none;
    margin-top: 20px;
  }
  .nav-mark img { width: 36px; height: 36px; opacity: 1; }
}

.services-hero { background: var(--color-cream-50); text-align: center; }
.services-hero__copy { max-width: 680px; margin: 0 auto; }
.services-hero__lead { font-size: 18px; line-height: 1.55; color: var(--color-slate-600); }

/* Single-service layout: this page has exactly one service (Homemaker &
   Personal Care), not a sequence, so there's no numbering or multi-item
   carousel scaffold here — just the service itself, full width. */
.svc-single { max-width: 820px; margin: 0 auto; }
.svc-single h3 { margin-bottom: .3em; }
.svc-single > p { max-width: 68ch; margin-bottom: 0; }

/* Real dt/dd semantics: the term is a genuine sub-heading on its own line
   (GOV.UK's summary-list pattern), not an inline label — position and size
   carry the hierarchy instead of a color tweak buried in a sentence. */
.svc-row__checklist { margin: 16px 0 0; }
.svc-row__checklist-item { margin-bottom: 22px; }
.svc-row__checklist-item:last-child { margin-bottom: 0; }
.svc-row__checklist dt {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy-900);
  margin-bottom: .25em;
}
.svc-row__checklist dt svg { flex: none; width: 20px; height: 20px; color: var(--color-brick-600); }
.svc-row__checklist dd {
  margin: 0 0 0 30px;
  color: var(--color-ink-900);
  font-size: .92rem;
  line-height: 1.55;
}

@media (min-width: 701px) {
  .svc-row__checklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
  }
}


/* Services has no dark "beat" anywhere else on the page (every other page
   on this site has at least one navy section for rhythm) — this credentials
   section becomes that beat, with the white credentials-panel card floating
   on top of it as real layering instead of another flat light section. */
.approach-teaser { background: var(--gradient-navy-about); color: var(--color-white); }
.approach-teaser .label--brick { color: var(--color-brick-tint); }
.approach-teaser__copy h2 { color: var(--color-white); }
.approach-teaser__copy p { color: rgba(255, 255, 255, .85); }
.approach-teaser__grid {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.approach-teaser__copy { max-width: 640px; }

.credentials-panel {
  width: 500px;
  max-width: 100%;
  background: var(--color-white);
  border-top: 4px solid var(--color-brick-600);
  border-radius: var(--r-lg);
  padding: clamp(28px, 3.4vw, 40px);
  box-shadow: 0 24px 48px -16px rgba(0, 20, 40, .45);
}
.credentials-panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.credentials-panel__list li { display: flex; align-items: flex-start; gap: 16px; }
.credentials-panel__list strong { display: block; color: var(--color-navy-900); margin-bottom: .2em; }
.credentials-panel__list li span:last-child { color: var(--color-ink-900); font-size: .92rem; line-height: 1.5; }
.credentials-panel__icon {
  flex: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 61, 110, .08);
  color: var(--color-navy-900);
}
.credentials-panel__icon svg { width: 22px; height: 22px; }

@media (min-width: 901px) {
  .approach-teaser__grid { flex-direction: row; align-items: center; }
  .approach-teaser__copy { flex: 1; max-width: none; }
  .credentials-panel { flex: none; }
}

.services-cta { background: var(--color-cream-50); }
.services-cta h2 { max-width: 24ch; margin-inline: auto; color: var(--color-ink-900); }
.services-cta p {
  max-width: 46ch;
  margin: .6em auto 1.6em;
  color: var(--color-ink-900);
  font-size: 1.05rem;
}

.contact-hero { background: var(--gradient-navy-about); color: var(--color-white); }

/* Contact-specific hero: plain light background rather than this site's
   usual navy statement-hero, since this page's job is an invitation, not
   a brand statement. */
.contact-splash { background: var(--color-cream-50); }
.contact-splash .contact-hero__lead { color: var(--color-slate-600); }
.contact-hero .label--brick { color: var(--color-brick-tint); }
.contact-hero h1 { color: var(--color-white); max-width: 640px; }
.contact-hero__lead { font-size: 18px; line-height: 1.55; color: rgba(255, 255, 255, .88); max-width: 640px; }

.careers-hero { position: relative; overflow: hidden; }
.careers-hero .page { position: relative; z-index: 1; }

@media (min-width: 901px) {
  .careers-hero { padding-top: var(--sec-y-sm); padding-bottom: var(--sec-y-sm); }
}

/* Shared hero depth treatment: three concentric rings that ripple outward
   once on load, then settle. Used on any dark navy hero (Careers, Contact)
   via the .hero-ripples-host / .hero-ripples pair rather than a stock photo,
   so hero sections stay visually consistent sitewide. */
.hero-ripples-host { position: relative; overflow: hidden; }
.hero-ripples-host .page { position: relative; z-index: 1; }
.hero-ripples { display: none; }

@media (min-width: 901px) {
  .hero-ripples {
    display: block;
    position: absolute;
    top: 50%;
    right: clamp(120px, 16vw, 320px);
    width: 0;
    height: 0;
  }
  .hero-ripples span {
    position: absolute;
    top: 0;
    left: 0;
    width: 64px;
    height: 64px;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: transform 1.1s ease, opacity 1.1s ease;
    animation-name: hero-ripple-wave;
    animation-duration: 4.5s;
    animation-timing-function: ease-out;
  }
  .hero-ripples span:nth-child(1) { animation-delay: 0s; }
  .hero-ripples span:nth-child(2) { animation-delay: 1.5s; }
  .hero-ripples span:nth-child(3) { animation-delay: 3s; }

  .hero-ripples.is-settled span { animation: none; }
  .hero-ripples.is-settled span:nth-child(1) { transform: translate(-50%, -50%) scale(3); opacity: .4; }
  .hero-ripples.is-settled span:nth-child(2) { transform: translate(-50%, -50%) scale(5); opacity: .3; }
  .hero-ripples.is-settled span:nth-child(3) { transform: translate(-50%, -50%) scale(7); opacity: .2; }
}

@keyframes hero-ripple-wave {
  0%   { transform: translate(-50%, -50%) scale(0); opacity: 0; }
  10%  { opacity: .5; }
  100% { transform: translate(-50%, -50%) scale(9); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-ripples span { animation: none; transition: none; }
  .hero-ripples span:nth-child(1) { transform: translate(-50%, -50%) scale(3); opacity: .4; }
  .hero-ripples span:nth-child(2) { transform: translate(-50%, -50%) scale(5); opacity: .3; }
  .hero-ripples span:nth-child(3) { transform: translate(-50%, -50%) scale(7); opacity: .2; }
}

.contact-grid { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vw, 80px); }
@media (min-width: 901px) {
  .contact-grid { grid-template-columns: 1.1fr .9fr; align-items: start; }
}

.form-wrap {
  background: var(--color-cream-50);
  border: 1px solid var(--color-line-200);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3.4vw, 40px);
  margin-top: clamp(20px, 2.6vw, 32px);
}

.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: .88rem; font-weight: 700; color: var(--color-ink-900); margin-bottom: 6px; }
.form-field input,
.form-field textarea {
  width: 100%;
  font-family: var(--font-sans); font-size: 1rem; color: var(--color-ink-900);
  background: var(--color-white);
  border: 1px solid var(--color-line-200);
  border-radius: var(--r);
  padding: 12px 14px;
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.form-field textarea { min-height: 136px; resize: vertical; line-height: 1.58; }
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--color-navy-900);
  outline: 2px solid var(--color-navy-900);
  outline-offset: 1px;
}
/* .75 opacity measures 3.76:1 on white (WCAG AA fail); .85 measures 4.76:1 */
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--color-slate-600); opacity: .85; }

.form-note { font-size: .84rem; color: var(--color-slate-600); margin: 14px 0 0; }

.form-msg { display: none; border-radius: var(--r); padding: 14px 16px; margin-bottom: 18px; font-size: .95rem; }
.form-msg--error { background: #FBF0EE; border: 1px solid #C9A79E; color: #7E3220; }
.form-msg--ok { background: var(--color-white); border: 1px solid var(--color-line-200); color: var(--color-ink-900); padding: 26px; }
.form-msg--ok h3 { margin-bottom: .35em; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-facts {
  list-style: none;
  margin: clamp(20px, 2.6vw, 32px) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* Mirrors .form-wrap on the other side of the contact-grid: the form gets a
   cream card around its (unstyled) fields, this gets a navy card around its
   already-white fact cards, so the two columns read as a matched pair. */
.contact-facts--panel {
  background: var(--color-navy-900);
  border-radius: var(--r-lg);
  padding: clamp(20px, 2.6vw, 28px);
}
.contact-facts--panel li { border-color: transparent; }
.contact-facts li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 20px;
  background: var(--color-white);
  border: 1px solid var(--color-line-200);
  border-radius: var(--r-lg);
}
.contact-facts__icon {
  flex: none;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(189, 56, 38, .1);
  color: var(--color-brick-600);
}
.contact-facts__icon svg { width: 18px; height: 18px; }
.contact-facts strong { display: block; color: var(--color-navy-900); margin-bottom: .2em; }

#apply { scroll-margin-top: 90px; }
.application-embed {
  max-width: 760px;
  margin: clamp(24px, 4vw, 32px) auto 0;
  padding: clamp(16px, 3vw, 24px);
  background: var(--color-white);
  border: 1px solid var(--color-line-200);
  border-radius: var(--r-lg);
}
.application-embed iframe { display: block; width: 100%; }
.application-embed__fallback { text-align: center; margin-top: 16px; }

.job-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 640px;
  margin: clamp(32px, 4vw, 48px) auto 0;
  padding: clamp(28px, 4vw, 40px);
  text-align: center;
  background: var(--color-white);
  border: 1px solid var(--color-line-200);
  border-top: 4px solid var(--color-brick-600);
  border-radius: var(--r-lg);
}
.job-card__pay-amount {
  margin: 0;
  font-size: clamp(2.75rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--color-brick-600);
}
.job-card__pay-amount span { font-size: 1.1rem; font-weight: 600; color: var(--color-slate-600); }
.job-card__pay-label {
  margin: .5em 0 0;
  font-size: var(--lbl);
  font-weight: 600;
  letter-spacing: var(--lbl-track);
  text-transform: uppercase;
  color: var(--color-slate-600);
}

.job-card__body { display: flex; flex-direction: column; align-items: center; gap: 18px; width: 100%; }

.job-card__facts, .job-card__perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
}
.job-card__perks { padding-top: 18px; border-top: 1px solid var(--color-line-200); }
.job-card__facts li, .job-card__perks li {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600;
  color: var(--color-ink-900);
}
.job-card__facts svg, .job-card__perks svg { flex: none; width: 18px; height: 18px; color: var(--color-brick-600); }

.job-card__apply svg { width: 16px; height: 16px; }
.job-card__note { margin: 0; font-size: .85rem; color: var(--color-slate-600); }

@media (min-width: 701px) {
  .job-card { flex-direction: row; align-items: center; text-align: left; gap: 40px; }
  .job-card__pay { flex: none; padding-right: 40px; border-right: 1px solid var(--color-line-200); }
  .job-card__body { align-items: flex-start; }
  .job-card__facts, .job-card__perks { justify-content: flex-start; }
  .job-card__perks { width: 100%; }
}

.job-ad-dialog {
  position: relative;
  width: min(680px, calc(100vw - 32px));
  max-height: min(85vh, 900px);
  margin: auto;
  padding: 0;
  border: none;
  border-radius: var(--r-lg);
  box-shadow: 0 24px 60px rgba(26, 36, 48, .28);
}
.job-ad-dialog::backdrop {
  background: rgba(15, 23, 31, .6);
}
.job-ad-dialog__inner {
  max-height: min(85vh, 900px);
  overflow-y: auto;
  padding: clamp(28px, 5vw, 44px);
}
.job-ad-dialog__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  background: var(--color-cream-50);
  border: 1px solid var(--color-line-200);
  border-radius: 50%;
  color: var(--color-navy-900);
  cursor: pointer;
}
.job-ad-dialog__close:hover { background: var(--color-white); border-color: var(--color-brick-600); color: var(--color-brick-600); }
.job-ad-dialog__close svg { width: 16px; height: 16px; }

.job-ad-dialog h2 { margin: .2em 0 .5em; }
.job-ad-dialog__facts {
  justify-content: flex-start;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--color-line-200);
}

.job-ad-dialog__body h3 {
  margin: 1.6em 0 .5em;
  font-size: 1.05rem;
  color: var(--color-navy-900);
}
.job-ad-dialog__body h3:first-of-type { margin-top: 0; }
.job-ad-dialog__body p,
.job-ad-dialog__body ul {
  margin: 0 0 1em;
  line-height: 1.65;
  color: var(--color-ink-900);
}
.job-ad-dialog__body ul { padding-left: 1.3em; }
.job-ad-dialog__body li { margin-bottom: .4em; }

.job-ad-dialog__callout {
  padding: 16px 18px;
  background: var(--color-cream-50);
  border-left: 4px solid var(--color-brick-600);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
}
.job-ad-dialog__eeo {
  font-size: .85rem;
  color: var(--color-slate-600);
}
.job-ad-dialog__apply { margin-top: 8px; }
.job-ad-dialog__apply svg { width: 16px; height: 16px; }

.legal-hero { background: var(--color-cream-50); }
.legal-hero__lead { font-size: 18px; line-height: 1.55; color: var(--color-slate-600); max-width: 640px; }

.page--narrow { max-width: 760px; margin-inline: auto; }

.stack > * + * { margin-top: 1.15em; }
.stack-lg > * + * { margin-top: clamp(28px, 3.6vw, 48px); }

.note {
  background: var(--color-cream-50);
  border: 1px solid var(--color-line-200);
  border-left: 3px solid var(--color-navy-900);
  border-radius: var(--r);
  padding: 21px 25px;
  max-width: 72ch;
}
.note h2 { font-size: 1.1rem; margin-bottom: .35em; color: var(--color-navy-900); }
.note p { color: var(--color-slate-600); font-size: .96rem; }
.note p:last-child { margin-bottom: 0; }

.btn--outline { background: var(--color-white); color: var(--color-navy-900); border-color: var(--color-line-200); }
.btn--outline:hover { border-color: var(--color-navy-900); background: var(--color-cream-50); }

.vcard-hero { padding-bottom: 8px; }
.vcard-intro { display: grid; grid-template-columns: 168px 1fr; gap: 32px; align-items: center; }
.vcard-portrait {
  width: 168px; height: 168px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--color-line-200);
  background: var(--color-cream-50);
}
.vcard-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.vcard-portrait--placeholder {
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 61, 110, .08);
  border: 2px dashed var(--color-line-200);
}
.vcard-portrait--placeholder svg { width: 40%; height: 40%; color: var(--color-navy-900); opacity: .3; }
.vcard-intro h1 { margin-bottom: .2em; }
.vcard-role { font-weight: 600; color: var(--color-slate-600); margin-bottom: 1em; }
.vcard-greeting { max-width: 52ch; color: var(--color-slate-600); margin-bottom: 0; }
.vcard-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

@media (max-width: 620px) {
  .vcard-intro { grid-template-columns: 1fr; text-align: center; }
  .vcard-portrait { margin: 0 auto; width: 132px; height: 132px; }
  .vcard-greeting { margin-inline: auto; }
  .vcard-actions { justify-content: center; }
  .vcard-actions .btn { flex: 1 1 auto; }
}

.referral-banner {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--color-line-200);
  background: var(--color-cream-50);
  border-radius: var(--r-lg);
  padding: 14px 16px;
  margin-bottom: 22px;
}
.referral-banner img,
.referral-banner .vcard-monogram {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.referral-banner .vcard-monogram {
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 61, 110, .1);
  color: var(--color-navy-900);
  font-size: 11px; font-weight: 700; letter-spacing: .02em;
}
.referral-banner p { margin: 0; font-size: .9rem; color: var(--color-slate-600); }
.referral-banner strong { color: var(--color-ink-900); }
