/* ==========================================================================
   Charme Capital Partners — static redesign (opus)
   Brand tokens taken from assets/scss/base/_variables.scss
   ========================================================================== */

@font-face { font-family: "Geomanist"; src: url("../fonts/geomanist-light-webfont.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Geomanist"; src: url("../fonts/geomanist-book-webfont.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geomanist"; src: url("../fonts/geomanist-regular-webfont.woff2") format("woff2"); font-weight: 450; font-style: normal; font-display: swap; }
@font-face { font-family: "Geomanist"; src: url("../fonts/geomanist-medium-webfont.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Geomanist"; src: url("../fonts/geomanist-bold-webfont.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* Brand palette (unchanged from current site) */
  --navy: #002E6C;          /* $navy */
  --ink: #19335F;           /* $base-font-color */
  --blue: #A4C7E2;          /* $blue */
  --pale: #E9F0F7;          /* $pale-blue */
  --beige: #D3CCBD;         /* $beige */
  --white: #fff;

  /* Derived tones */
  --navy-deep: #001D45;
  --muted: #4A5B78;         /* 7.1:1 on white */
  --line: #D5E1EE;
  --focus: var(--navy);

  --font: "Geomanist", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1rem, 4vw, 3rem);
  --container: 1440px;
  --section: clamp(4rem, 9vw, 8rem);
  --header-h: 72px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 300; color: var(--navy); text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
address { font-style: normal; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.on-dark { --focus: var(--blue); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 2000;
  background: var(--white); color: var(--navy); padding: .75rem 1rem; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

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

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy); margin: 0 0 1.25rem;
}
.eyebrow::before {
  content: ""; width: 1.75rem; height: 2px; background: currentColor;
  transform: skewX(-40deg);
}
.on-dark .eyebrow { color: var(--blue); }

.display { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4.5rem); letter-spacing: -.01em; line-height: 1.06; }
.h2 { font-size: clamp(1.875rem, 1.3rem + 2.2vw, 3.25rem); letter-spacing: -.005em; }
.h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); font-weight: 500; }
.lead { font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); line-height: 1.5; font-weight: 300; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  min-height: 48px; padding: .8rem 1.5rem;
  font: 700 .875rem/1 var(--font); letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; border: 2px solid transparent; border-radius: 0;
  cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-deep); }
.btn--light { background: var(--blue); color: var(--navy); }
.btn--light:hover { background: var(--white); }
.btn--ghost { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

.text-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: .875rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy); text-decoration: none; padding: .5rem 0;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 2px no-repeat;
  transition: background-size .25s var(--ease);
}
.text-link:hover { background-size: 100% 2px; }
.text-link svg { width: 16px; height: 16px; }
.on-dark .text-link { color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--navy); color: var(--white);
}
.site-header__inner {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; padding: .5rem 0; flex: 0 0 auto; }
.brand img { width: clamp(190px, 18vw, 260px); height: auto; }

.site-nav { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.site-nav li { display: flex; align-items: center; }
.site-nav li + li::before {
  content: ""; width: 1px; height: 12px; margin: 0 .2rem; background: rgba(164,199,226,.55);
  transform: skewX(-35deg);
}
.site-nav a {
  display: block; padding: .75rem .55rem; text-decoration: none;
  font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--white);
  white-space: nowrap; position: relative; transition: color .2s var(--ease);
}
.site-nav a::after {
  content: ""; position: absolute; left: .55rem; right: .55rem; bottom: .4rem; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--blue); }

.header-tools { display: flex; align-items: center; gap: .75rem; }
.lang { display: flex; align-items: center; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.lang a { color: var(--white); text-decoration: none; padding: .75rem .4rem; opacity: .75; }
.lang a:hover { opacity: 1; }
.lang a[aria-current="true"] { color: var(--blue); opacity: 1; }
.lang span { color: var(--blue); opacity: .6; }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-width: 48px; min-height: 48px; padding: 0 .75rem;
  background: transparent; color: var(--white); border: 1px solid rgba(164,199,226,.45);
  font: 700 .75rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
}
.menu-toggle:hover { border-color: var(--blue); }
.menu-toggle__bars { position: relative; width: 20px; height: 14px; }
.menu-toggle__bars span {
  position: absolute; left: 0; width: 100%; height: 2px; background: currentColor;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 6px; }
.menu-toggle__bars span:nth-child(3) { top: 12px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu panel */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 999;
  background: var(--navy); color: var(--white);
  overflow-y: auto; overscroll-behavior: contain;
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.mobile-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.mobile-nav::after {
  content: ""; position: absolute; right: 0; bottom: 0; width: 45%; height: 90px;
  background: var(--blue); clip-path: polygon(100% 0, 100% 100%, 0 100%); opacity: .9; pointer-events: none;
}
.mobile-nav ul { list-style: none; margin: 0; padding: 1.5rem 0 7rem; }
.mobile-nav li { border-bottom: 1px solid rgba(164,199,226,.22); }
.mobile-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.05rem 0; min-height: 56px; text-decoration: none;
  font-size: 1.375rem; font-weight: 300; color: var(--white);
}
.mobile-nav a[aria-current="page"] { color: var(--blue); }
.mobile-nav a svg { width: 18px; height: 18px; opacity: .6; }
body.nav-open { overflow: hidden; }

/* Light-blue diagonal wedge (signature from current header) */
.site-header::after {
  content: ""; position: absolute; right: 0; bottom: 0; width: 88px; height: 100%;
  background: var(--blue); clip-path: polygon(100% 0, 100% 100%, 0 100%); pointer-events: none;
  display: none;
}

@media (min-width: 1200px) {
  :root { --header-h: 84px; }
  .site-nav { display: block; }
  .menu-toggle, .mobile-nav { display: none; }
  .site-header::after { display: block; }
  .site-header__inner { padding-right: 56px; gap: 1.25rem; }
  .brand img { width: 200px; }
}
@media (min-width: 1440px) {
  .brand img { width: 250px; }
  .site-nav a { padding-inline: .85rem; font-size: .8125rem; letter-spacing: .06em; }
  .site-nav a::after { left: .85rem; right: .85rem; }
}
@media (max-width: 599px) {
  .brand img { width: 172px; }
  .site-header__inner { gap: .75rem; }
  .header-tools { gap: .25rem; }
  .lang a { padding-inline: .3rem; }
  .menu-toggle__label { display: none; }
}

/* ---------- Diagonal rule under heroes ---------- */
.rule {
  height: 12px; background: var(--blue);
  clip-path: polygon(0 0, 67% 0, calc(67% - 12px) 100%, 0 100%);
}

/* ---------- Home hero ---------- */
.hero {
  position: relative; isolation: isolate; color: var(--white);
  background: var(--navy);
  min-height: min(88svh, 900px);
  display: flex; align-items: flex-end;
}
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 60%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,46,108,.25) 0%, rgba(0,46,108,.55) 40%, rgba(0,29,69,.94) 100%);
}
.hero__content { padding-block: clamp(6rem, 18vh, 10rem) clamp(3rem, 8vh, 6rem); }
.hero__content .display { color: var(--white); max-width: 15ch; }
.hero__content .lead { max-width: 40ch; margin-top: 1.5rem; color: #EAF1F8; }
.hero__content .btn-row { margin-top: 2.25rem; }

@media (min-width: 900px) {
  .hero { align-items: center; min-height: clamp(520px, 68svh, 720px); }
  .hero::before {
    background: linear-gradient(90deg, rgba(0,29,69,.92) 0%, rgba(0,46,108,.78) 38%, rgba(0,46,108,.15) 70%, rgba(0,46,108,0) 100%);
  }
  .hero__media img { object-position: 100% 50%; }
  .hero__content { padding-block: clamp(4rem, 9vh, 6rem); }
  .hero__content .display { max-width: 20ch; }
  .hero__content .lead { max-width: 52ch; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; isolation: isolate; color: var(--white); background: var(--navy);
  min-height: clamp(340px, 46vh, 520px); display: flex; align-items: flex-end;
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(0,29,69,.93) 0%, rgba(0,46,108,.8) 45%, rgba(0,46,108,.35) 100%);
}
.page-hero__content { padding-block: clamp(4rem, 10vh, 6rem) clamp(2.5rem, 6vh, 4.5rem); }
.page-hero h1 { color: var(--white); }
.page-hero .lead { max-width: 52ch; margin-top: 1.25rem; color: #EAF1F8; }
.breadcrumb { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; margin-bottom: 1.25rem; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; gap: .5rem; flex-wrap: wrap; }
.breadcrumb li + li::before { content: "/"; color: var(--blue); margin-right: .5rem; }
.breadcrumb a { color: var(--blue); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--white); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--pale { background: var(--pale); }
.section--navy { background: var(--navy); color: #DDE8F3; }
.section--navy h2, .section--navy h3 { color: var(--white); }

.section-head { display: grid; gap: 1.5rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head p { color: var(--muted); max-width: 56ch; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1fr 1fr; align-items: end; gap: 4rem; }
}

/* ---------- Facts strip ---------- */
.facts { background: var(--pale); }
.facts__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr;
}
.facts__item { padding: 2rem 0; border-bottom: 1px solid var(--line); }
.facts__item:last-child { border-bottom: 0; }
.facts__value { display: block; font-size: clamp(1.625rem, 1rem + 1.6vw, 2.5rem); font-weight: 300; color: var(--navy); line-height: 1.1; }
.facts__label { display: block; margin-top: .5rem; font-size: .9375rem; color: var(--muted); max-width: 30ch; }
@media (min-width: 768px) {
  .facts__list { grid-template-columns: repeat(3, 1fr); }
  .facts__item { padding: 2.75rem 2rem; border-bottom: 0; border-left: 1px solid var(--line); }
  .facts__item:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- Split (text + image) ---------- */
.split { display: grid; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__media::after {
  content: ""; position: absolute; right: -1px; bottom: -1px; width: 28%; aspect-ratio: 1;
  background: var(--navy); clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.split__body .h2 { margin-bottom: 1.5rem; }
.split__body p { color: var(--muted); max-width: 54ch; }
.split__body .lead { color: var(--ink); }
.split__body .text-link { margin-top: 1.5rem; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr 1fr; }
  .split--reverse .split__media { order: 2; }
}

/* ---------- Value cards (home teaser) ---------- */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
@media (min-width: 980px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative; background: var(--white); border: 1px solid var(--line);
  display: flex; flex-direction: column; height: 100%;
  transition: border-color .2s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(0,46,108,.45); }
.card__media { position: relative; overflow: hidden; background: var(--navy); }
.card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; mix-blend-mode: luminosity; opacity: .85; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,46,108,0) 40%, rgba(0,46,108,.55)); }
.card__body { padding: 1.75rem 1.5rem 2rem; }
.card__num { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; color: var(--muted); }
.card__body h3 { margin: .5rem 0 .85rem; }
.card__body p { color: var(--muted); font-size: .975rem; }

/* ---------- Values list (What we do) ---------- */
.values { display: grid; gap: 3rem; }
.values__intro .h2 { margin-bottom: 1.25rem; }
.values__intro p { color: var(--muted); max-width: 40ch; }
.values__list { list-style: none; margin: 0; padding: 0; counter-reset: v; border-top: 1px solid var(--line); }
.value {
  display: grid; gap: 1.25rem; padding: 2rem 0; border-bottom: 1px solid var(--line);
  grid-template-columns: 1fr;
}
.value__media { position: relative; background: var(--navy); overflow: hidden; }
.value__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; mix-blend-mode: luminosity; opacity: .8; transition: opacity .3s var(--ease), transform .6s var(--ease); }
.value:hover .value__media img { opacity: 1; transform: scale(1.03); }
.value__num { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; color: var(--muted); display: block; margin-bottom: .5rem; }
.value h3 { margin-bottom: .75rem; }
.value p { color: var(--muted); max-width: 60ch; }

@media (min-width: 600px) {
  .value { grid-template-columns: 200px 1fr; gap: 2rem; align-items: start; }
  .value__media img { aspect-ratio: 4 / 3; }
}
@media (min-width: 1100px) {
  .values { grid-template-columns: minmax(280px, 4fr) 8fr; gap: 5rem; align-items: start; }
  .values__intro { position: sticky; top: calc(var(--header-h) + 3rem); }
  .value { grid-template-columns: 240px 1fr; gap: 2.5rem; padding: 2.5rem 0; }
}
@media (min-width: 1600px) {
  .value { grid-template-columns: 300px 1fr; }
}

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--navy); color: #DDE8F3; }
.cta-band::after {
  content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: min(38%, 420px);
  background: var(--blue); clip-path: polygon(100% 0, 100% 100%, 0 100%); opacity: .95; pointer-events: none;
}
.cta-band__inner { position: relative; z-index: 1; display: grid; gap: 2rem; padding-block: clamp(3.5rem, 7vw, 6rem); }
.cta-band h2 { color: var(--white); max-width: 22ch; }
.cta-band p { max-width: 50ch; margin-top: 1rem; }
@media (min-width: 900px) {
  .cta-band__inner { grid-template-columns: 1.4fr auto; align-items: center; padding-right: min(30%, 340px); }
}
@media (max-width: 899px) { .cta-band::after { width: 40%; top: auto; height: 90px; } }

/* ---------- Offices ---------- */
.offices { list-style: none; margin: 0; padding: 0; display: grid; gap: 3rem; }
@media (min-width: 768px) { .offices { grid-template-columns: repeat(2, 1fr); gap: 3rem 2rem; } }
@media (min-width: 1100px) { .offices { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }

.office { display: flex; flex-direction: column; }
.office__city {
  font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); font-weight: 300; color: var(--navy); letter-spacing: -.01em;
  padding-bottom: 1rem; margin-bottom: 1.5rem; position: relative;
}
.office__city::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 4px; background: var(--beige);
}
.office__map { display: block; position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--pale); }
.office__map img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; transition: transform .6s var(--ease); }
.office__map:hover img { transform: scale(1.03); }
.office__map-label {
  position: absolute; left: 0; bottom: 0; display: inline-flex; align-items: center; gap: .5rem;
  background: var(--navy); color: var(--white); padding: .6rem .9rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.office__map-label svg { width: 14px; height: 14px; }
.office__details { margin-top: 1.5rem; display: grid; gap: 1rem; }
.office__details strong { display: block; font-weight: 500; color: var(--navy); margin-bottom: .25rem; }
.office__details address { color: var(--muted); line-height: 1.7; }
.office__tel {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 44px;
  color: var(--navy); font-weight: 500; text-decoration: none;
}
.office__tel svg { width: 18px; height: 18px; color: var(--muted); }
.office__tel:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* Offices teaser (home) */
.office-links { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid rgba(164,199,226,.3); }
.office-links a {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .5rem 1.5rem;
  padding: 1.75rem 0; border-bottom: 1px solid rgba(164,199,226,.3); text-decoration: none; color: #DDE8F3;
}
.office-links__city { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.75rem); font-weight: 300; color: var(--white); line-height: 1.1; }
.office-links__addr { grid-column: 1; font-size: .9375rem; color: var(--blue); }
.office-links svg { grid-row: 1 / span 2; grid-column: 2; width: 28px; height: 28px; color: var(--blue); transition: transform .25s var(--ease); }
.office-links a:hover svg { transform: translateX(6px); }
.office-links a:hover .office-links__city { color: var(--blue); }
@media (min-width: 900px) {
  .office-links { grid-template-columns: repeat(3, 1fr); border-top: 0; gap: 2rem; }
  .office-links a { border-top: 1px solid rgba(164,199,226,.3); border-bottom: 0; padding: 2rem 0 0; }
}

/* ---------- Form ---------- */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 5rem; align-items: start; } }
.contact-grid__intro p { color: var(--muted); max-width: 42ch; }
.contact-grid__intro .h2 { margin-bottom: 1.25rem; }

.form { background: var(--pale); padding: clamp(1.5rem, 4vw, 3rem); border-top: 4px solid var(--navy); }
.form__grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } .form__field--full { grid-column: 1 / -1; } }
.form label { display: block; font-size: .875rem; font-weight: 500; color: var(--navy); margin-bottom: .4rem; }
.form label .req { color: var(--muted); font-weight: 400; }
.form input, .form textarea {
  width: 100%; min-height: 48px; padding: .75rem .9rem;
  font: 400 1rem/1.4 var(--font); color: var(--ink);
  background: var(--white); border: 1px solid #8FA3BE; border-radius: 0;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:hover, .form textarea:hover { border-color: var(--navy); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0,46,108,.25); }
.form [aria-invalid="true"] { border-color: #A5282C; }
.form__error { display: block; min-height: 1.25rem; margin-top: .35rem; font-size: .8125rem; color: #A5282C; }
.form__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.form__note { font-size: .8125rem; color: var(--muted); margin: 0; }
.form__status { margin-top: 1.25rem; padding: 1rem 1.25rem; background: var(--pale); border-left: 4px solid var(--navy); color: var(--navy); }
.form__status[hidden] { display: none; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--pale); color: var(--ink); overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; left: 0; bottom: 0; width: clamp(150px, 22vw, 340px); height: 72px;
  background: var(--navy); clip-path: polygon(0 0, 100% 0, calc(100% - 72px) 100%, 0 100%); pointer-events: none;
}
.site-footer__top { position: relative; display: grid; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.site-footer__brand img { width: 240px; }
.site-footer__brand p { margin-top: 1.25rem; max-width: 36ch; color: var(--muted); font-size: .9375rem; }
.footer-nav h2 { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.footer-nav a { display: inline-block; padding: .35rem 0; text-decoration: none; color: var(--navy); font-weight: 400; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.site-footer__bottom {
  position: relative; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: flex-end; align-items: center;
  padding-block: 1.5rem 2rem; font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase;
}
.site-footer__bottom a { color: var(--navy); text-decoration: none; padding: .5rem 0; }
.site-footer__bottom a:hover { text-decoration: underline; }
.site-footer__bottom span { color: var(--muted); }
.site-footer__bottom .sep { color: var(--blue); }
@media (max-width: 767px) {
  .site-footer::before { width: 110px; height: 40px; clip-path: polygon(0 0, 100% 0, calc(100% - 40px) 100%, 0 100%); }
  .site-footer__bottom { justify-content: flex-start; padding-bottom: 4rem; }
}
@media (min-width: 768px) {
  .site-footer__top { grid-template-columns: 1.3fr 1fr; align-items: start; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .site-footer__bottom { min-height: 72px; padding-block: 1rem; padding-left: clamp(170px, 24vw, 360px); }
}

/* ---------- Reveal on scroll (progressive; content visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .card:hover { transform: none; }
}

@media (forced-colors: active) {
  .btn { border: 2px solid ButtonText; }
  .rule, .site-header::after, .cta-band::after, .site-footer::before { forced-color-adjust: none; }
}

/* ---------- Small-screen refinements ---------- */
@media (max-width: 899px) {
  .page-hero::before { background: linear-gradient(180deg, rgba(0,46,108,.6) 0%, rgba(0,29,69,.9) 55%, rgba(0,29,69,.95) 100%); }
}
@media (max-width: 767px) {
  .site-footer__bottom .sep { display: none; }
  .site-footer__bottom span:last-child { flex-basis: 100%; }
}

.nowrap { white-space: nowrap; }

@media (min-width: 600px) and (max-width: 979px) {
  .card { display: grid; grid-template-columns: 38% 1fr; }
  .card__media img { height: 100%; aspect-ratio: auto; min-height: 220px; }
}
[id] { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
