/* ==========================================================================
   Westmont Distribution Group LLC
   Palette sampled directly from the client's supplied logo artwork.
   ========================================================================== */

/* ---------- Fonts (self-hosted variable, latin subset) ------------------ */
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-latin-var.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/montserrat-latin-var.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}

/* ---------- Tokens ------------------------------------------------------ */
:root {
  /* Navy - sampled #162D42 / #143350 */
  --navy-900: #0C1A2A;
  --navy-800: #12283E;
  --navy-700: #16324D;
  --navy-600: #1E4166;

  /* Gold - sampled #D5A547 / #D8A950 */
  --gold-500: #D4A24A;
  --gold-400: #DFB25A;
  --gold-600: #8F6A24;   /* 4.5:1 on --surface and white (WCAG AA body text) */

  /* Focus ring - must clear 3:1 against its own background (WCAG 2.2 SC 1.4.11).
     Plain --gold-500 measures only 2.2:1 on white, so light ground gets a
     darker gold and dark sections re-point the token at the brighter one. */
  --focus: #B2883E;

  /* Neutrals */
  --ink:     #14181D;
  --slate:   #56636F;
  --line:    #E2E7EC;
  --surface: #F6F8FA;
  --white:   #FFFFFF;

  /* Type */
  --font-head: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  /* Spacing scale (8px base) */
  --s-1: .5rem;  --s-2: 1rem;   --s-3: 1.5rem; --s-4: 2rem;
  --s-5: 3rem;   --s-6: 4rem;   --s-7: 6rem;   --s-8: 8rem;

  --wrap: 1180px;
  --radius: 4px;
  --header-h: 76px;

  --shadow-sm: 0 1px 2px rgba(12,26,42,.06), 0 2px 8px rgba(12,26,42,.05);
  --shadow-md: 0 4px 16px rgba(12,26,42,.08), 0 12px 32px rgba(12,26,42,.06);
}

/* ---------- Reset ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.015em;
  margin: 0 0 var(--s-2);
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); letter-spacing: -.005em; }
p  { margin: 0 0 var(--s-2); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: var(--navy-700); text-underline-offset: 3px; }
ul { margin: 0; padding: 0; list-style: none; }

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

/* ---------- Layout primitives ------------------------------------------ */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 8vw, var(--s-7)); }
.section--surface { background: var(--surface); border-block: 1px solid var(--line); }
.section--navy { background: var(--navy-800); color: #DCE3EB; --focus: var(--gold-400); }
section[id] { scroll-margin-top: calc(var(--header-h) + 1.25rem); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--gold-500); color: var(--navy-900);
  padding: .75rem 1.25rem; font-weight: 600; font-family: var(--font-head);
}
.skip-link:focus { left: .75rem; top: .75rem; }

/* ---------- Eyebrow + section heading ---------------------------------- */
.eyebrow {
  display: flex; align-items: center; gap: .75rem;
  font-family: var(--font-head); font-size: .75rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-600); margin: 0 0 var(--s-2);
}
.eyebrow::before {
  content: ''; width: 28px; height: 2px; background: var(--gold-500); flex: none;
}
.section--navy .eyebrow { color: var(--gold-400); }

.section__head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, var(--s-5)); }
.section__head p { color: var(--slate); font-size: 1.0625rem; }
.section--navy .section__head p { color: #A9B7C6; }

/* ---------- Buttons ----------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 600; font-size: .9375rem;
  letter-spacing: .01em; line-height: 1;
  padding: 1rem 1.6rem; border-radius: var(--radius);
  border: 1.5px solid transparent; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.btn--primary { background: var(--gold-500); color: var(--navy-900); border-color: var(--gold-500); }
.btn--primary:hover { background: var(--gold-400); border-color: var(--gold-400); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { border-color: var(--gold-500); color: var(--gold-400); }
.btn--outline { background: transparent; color: var(--navy-700); border-color: var(--line); }
.btn--outline:hover { border-color: var(--navy-700); }
.btn:active { transform: translateY(1px); }
.btn--sm { padding: .7rem 1.15rem; font-size: .875rem; }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.header.is-stuck { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-3); min-height: var(--header-h);
}

/* Brand lockup: SVG mark + real HTML text (accessible, selectable, crisp) */
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex: none; }
.brand__mark { width: 88px; height: auto; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem;
  letter-spacing: .1em; color: var(--navy-800); text-transform: uppercase;
}
.brand__sub {
  font-family: var(--font-head); font-weight: 600; font-size: .5625rem;
  letter-spacing: .18em; color: var(--gold-600); text-transform: uppercase;
  margin-top: .3rem;
}

.nav { display: flex; align-items: center; gap: var(--s-3); }
.nav__list { display: flex; align-items: center; gap: var(--s-3); }
.nav__link {
  font-family: var(--font-head); font-size: .875rem; font-weight: 600;
  color: var(--navy-800); text-decoration: none; padding: .35rem 0;
  position: relative; white-space: nowrap;
}
.nav__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--gold-500); transform: scaleX(0); transform-origin: left;
  transition: transform .2s ease;
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.nav__toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  background: transparent; border: 1px solid var(--line); border-radius: var(--radius);
  cursor: pointer; align-items: center; justify-content: center;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ''; display: block; width: 18px; height: 2px;
  background: var(--navy-800); transition: transform .22s ease, opacity .18s ease;
}
.nav__toggle span::before { transform: translateY(-6px); }
.nav__toggle span::after  { transform: translateY(4px); }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { transform: rotate(-45deg) translateY(0); }

@media (max-width: 960px) {
  .nav__toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: var(--s-2) 1.25rem var(--s-3);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .2s ease, opacity .2s ease, visibility .2s;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav__link::after { display: none; }
  .nav .btn { margin-top: var(--s-2); width: 100%; }
}
@media (max-width: 560px) { .brand__mark { width: 66px; } }
@media (max-width: 420px) { .brand__name { font-size: .875rem; letter-spacing: .06em; } .brand__sub { font-size: .5rem; letter-spacing: .12em; } .brand__mark { width: 56px; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  --focus: var(--gold-400);
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center;
  min-height: clamp(680px, calc(100svh - var(--header-h)), 900px);
  background-color: var(--navy-900);
  background-image: url('../public/img/hero-poster.webp');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding-block: clamp(4rem, 10vw, 7.5rem);
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, rgba(10,13,18,.92) 0%, rgba(10,13,18,.82) 42%, rgba(10,13,18,.54) 100%);
}
/* Isometric lattice echoing the logo cubes - pure CSS, no image, no licence */
.hero__lattice {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .34;
  background-image:
    linear-gradient(30deg,  rgba(212,162,74,.14) 1px, transparent 1px),
    linear-gradient(150deg, rgba(212,162,74,.14) 1px, transparent 1px),
    linear-gradient(90deg,  rgba(212,162,74,.07) 1px, transparent 1px);
  background-size: 84px 48px, 84px 48px, 42px 48px;
  mask-image: radial-gradient(115% 80% at 78% 18%, #000 0%, transparent 68%);
  -webkit-mask-image: radial-gradient(115% 80% at 78% 18%, #000 0%, transparent 68%);
}
.hero__glow {
  position: absolute; z-index: 2; top: -28%; right: -12%; width: 780px; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(30,65,102,.55) 0%, transparent 62%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 3; }
.hero__inner { max-width: 46ch; }
.hero .eyebrow { color: var(--gold-400); }
.hero h1 { color: var(--white); margin-bottom: var(--s-3); }
.hero h1 em { font-style: normal; color: var(--gold-400); }
.hero__lede {
  font-size: clamp(1.0625rem, 1.9vw, 1.25rem); line-height: 1.65;
  color: #B9C6D4; max-width: 40rem; margin-bottom: var(--s-4);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }

/* Trust strip */
.trust {
  position: relative; z-index: 1;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: var(--s-4);
  border-top: 1px solid rgba(255,255,255,.14);
  display: grid; gap: var(--s-2) var(--s-4);
  grid-template-columns: repeat(4, 1fr);
}
.trust__item { display: flex; align-items: flex-start; gap: .6rem; }
.trust__item svg { width: 18px; height: 18px; flex: none; margin-top: .18rem; color: var(--gold-500); }
.trust__item span {
  font-family: var(--font-head); font-size: .8125rem; font-weight: 600;
  letter-spacing: .04em; color: #C6D2DE; line-height: 1.45;
}
@media (max-width: 820px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .trust { grid-template-columns: 1fr; } }
@media (max-width: 767px) {
  .hero { min-height: 720px; height: auto; max-height: none; background-position: 54% center; }
}

/* ==========================================================================
   About
   ========================================================================== */
.about__grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, var(--s-6)); align-items: center;
}
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; } }
.about__figure { position: relative; isolation: isolate; margin: 0; }
/* Deep navy panel with the same isometric lattice as the hero, so the
   illustration reads as part of the brand system rather than a stock image. */
.about__panel {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 100% at 70% 15%, #17334F 0%, var(--navy-900) 70%);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: clamp(.55rem, 1.2vw, .85rem);
}
.about__panel::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(30deg,  rgba(212,162,74,.10) 1px, transparent 1px),
    linear-gradient(150deg, rgba(212,162,74,.10) 1px, transparent 1px);
  background-size: 68px 39px, 68px 39px;
  mask-image: radial-gradient(100% 80% at 20% 90%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(100% 80% at 20% 90%, #000 0%, transparent 70%);
}
.about__panel picture { position: relative; display: block; aspect-ratio: 4 / 5; }
.about__panel img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; }
.about__figure::after {
  content: ''; position: absolute; inset: auto -14px -14px auto;
  width: 58%; height: 58%; border: 1.5px solid var(--gold-500);
  border-radius: var(--radius); z-index: -1;
}
.about__points { margin-top: var(--s-3); display: grid; gap: .875rem; }
.about__points li { display: flex; gap: .75rem; align-items: flex-start; }
.about__points svg { width: 20px; height: 20px; flex: none; margin-top: .28rem; color: var(--gold-600); }
.about__points strong { font-family: var(--font-head); font-weight: 600; }
.about__points span { color: var(--slate); }

/* ==========================================================================
   Product categories
   ========================================================================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.card {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 420px; aspect-ratio: 4 / 5;
  background: var(--navy-900); border: 1px solid rgba(12,26,42,.14); border-radius: 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.card::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(to top, rgba(12,14,18,.92) 0%, rgba(12,14,18,.72) 28%, rgba(12,14,18,.28) 55%, rgba(12,14,18,0) 80%);
  transition: opacity .3s ease;
}
.card:hover { border-color: var(--gold-500); box-shadow: var(--shadow-md); }
.card__link { position: absolute; inset: 0; z-index: 2; display: block; color: inherit; text-decoration: none; border-radius: 14px; }
.card__link:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 14px; z-index: 3; }
.card:focus-within { overflow: visible; }
.card__media { position: absolute; inset: 0; display: block; overflow: hidden; border-radius: 13px; }
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 500ms cubic-bezier(.2,.7,.3,1);
}
.card__body { position: absolute; inset: auto 0 0; z-index: 2; padding: var(--s-3); transition: transform 500ms cubic-bezier(.2,.7,.3,1); }
.card h3 { margin-bottom: .4rem; color: var(--white); font-size: 1.35rem; font-weight: 600; line-height: 1.2; }
.card p {
  color: rgba(255,255,255,.78); font-size: .9rem; margin: 0;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .card__body p { opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease; }
  .card:hover .card__media img, .card:focus-within .card__media img { transform: scale(1.06); }
  .card:hover .card__body, .card:focus-within .card__body { transform: translateY(-6px); }
  .card:hover .card__body p, .card:focus-within .card__body p { opacity: 1; transform: none; }
  .card:hover::after, .card:focus-within::after { opacity: 1.12; }
}
@media (max-width: 560px) { .card { min-height: 360px; } }
.cards__note {
  margin-top: var(--s-3); color: var(--slate); font-size: .9375rem;
  padding-left: var(--s-2); border-left: 2px solid var(--gold-500);
}

/* ==========================================================================
   Capabilities
   ========================================================================== */
#capabilities {
  --focus: var(--gold-400);
  position: relative; isolation: isolate;
  min-height: 380px; color: var(--white);
  background-color: var(--navy-900);
  background-image: image-set(
    url('../public/img/sections/capability.avif') type('image/avif'),
    url('../public/img/sections/capability.webp') type('image/webp')
  );
  background-size: cover; background-position: center; background-attachment: scroll;
}
#capabilities::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(12,14,18,.62); }
#capabilities .section__head p { color: #D6DFE8; }
#capabilities .eyebrow, #capabilities .cap__n { color: var(--gold-400); }
.caps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
@media (max-width: 900px) { .caps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .caps { grid-template-columns: 1fr; } }
.cap {
  padding: var(--s-3);
  border-bottom: 1px solid var(--line); border-right: 1px solid var(--line);
}
#capabilities .caps { border-color: rgba(255,255,255,.25); }
#capabilities .cap { border-color: rgba(255,255,255,.25); }
@media (min-width: 901px) {
  .cap:nth-child(3n) { border-right: 0; }
  .cap:nth-child(3n+1) { padding-left: 0; }
}
@media (min-width: 561px) and (max-width: 900px) {
  .cap:nth-child(2n) { border-right: 0; }
  .cap:nth-child(2n+1) { padding-left: 0; }
}
@media (max-width: 560px) { .cap { border-right: 0; padding-inline: 0; } }
.cap__n {
  font-family: var(--font-head); font-size: .75rem; font-weight: 700;
  letter-spacing: .14em; color: var(--gold-600); display: block; margin-bottom: .75rem;
}
.cap h3 { color: var(--white); margin-bottom: .45rem; }
.cap p { color: #D6DFE8; font-size: .9375rem; margin: 0; max-width: 34ch; }

/* ==========================================================================
   Supplier partnerships
   ========================================================================== */
.supp__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, var(--s-6)); }
@media (max-width: 860px) { .supp__grid { grid-template-columns: 1fr; } }
.supp__col h3 {
  color: var(--white); font-size: 1.125rem; padding-bottom: .75rem;
  border-bottom: 1px solid rgba(255,255,255,.15); margin-bottom: var(--s-2);
}
.supp__list { display: grid; gap: .8rem; }
.supp__list li { display: flex; gap: .75rem; align-items: flex-start; font-size: .9375rem; color: #C3D0DD; }
.supp__list svg { width: 18px; height: 18px; flex: none; margin-top: .3rem; color: var(--gold-500); }

.docs-card {
  margin-top: clamp(2.5rem, 5vw, var(--s-5));
  border: 1px solid rgba(212,162,74,.4); border-radius: var(--radius);
  background: rgba(255,255,255,.035);
  padding: clamp(1.5rem, 3vw, var(--s-4));
}
.docs-card__head { display: flex; align-items: center; gap: .7rem; margin-bottom: var(--s-2); }
.docs-card__head svg { width: 22px; height: 22px; color: var(--gold-500); flex: none; }
.docs-card__head h3 { color: var(--white); font-size: 1.0625rem; margin: 0; border: 0; padding: 0; }
.docs-card__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem var(--s-3);
  margin-bottom: var(--s-3);
}
@media (max-width: 720px) { .docs-card__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .docs-card__grid { grid-template-columns: 1fr; } }
.docs-card__grid li {
  font-family: var(--font-head); font-size: .875rem; font-weight: 500; color: #D6DFE9;
  padding-left: 1.1rem; position: relative;
}
.docs-card__grid li::before {
  content: ''; position: absolute; left: 0; top: .62em;
  width: 5px; height: 5px; background: var(--gold-500); transform: rotate(45deg);
}
.docs-card p { font-size: .9375rem; color: #A9B7C6; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact__grid { display: grid; grid-template-columns: 1.35fr .8fr; gap: clamp(2rem, 4vw, var(--s-5)); align-items: start; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

.form { display: grid; gap: var(--s-2); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label {
  font-family: var(--font-head); font-size: .8125rem; font-weight: 600;
  letter-spacing: .04em; color: var(--navy-800);
}
.field .req { color: var(--gold-600); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .8rem .9rem; width: 100%;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #C8D1DA; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(22,50,77,.1); outline: none;
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B3261E; }
.field__error { font-size: .8125rem; color: #B3261E; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__status { font-size: .9375rem; border-radius: var(--radius); padding: .9rem 1rem; display: none; }
.form__status.is-ok  { display: block; background: #E9F4EC; color: #1B5E2B; border: 1px solid #BFE0C9; }
.form__status.is-err { display: block; background: #FDECEA; color: #8C1D18; border: 1px solid #F2C4BF; }
.form__consent { font-size: .8125rem; color: var(--slate); margin: 0; }

.info-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: var(--s-3); }
.info-card h3 { color: var(--navy-800); font-size: 1.0625rem; margin-bottom: var(--s-2); }
.info-list { display: grid; gap: var(--s-2); margin: 0; }
.info-list > div { display: flex; gap: .8rem; align-items: flex-start; }
.info-list svg { width: 18px; height: 18px; flex: none; margin-top: .3rem; color: var(--gold-600); }
.info-list dt {
  font-family: var(--font-head); font-size: .6875rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin-bottom: .15rem;
}
.info-list dd { margin: 0; font-size: .9375rem; color: var(--ink); line-height: 1.55; }
.info-list a { color: var(--navy-700); }
.info-card__note {
  margin-top: var(--s-3); padding-top: var(--s-2); border-top: 1px solid var(--line);
  font-size: .8125rem; color: var(--slate);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--navy-900); color: #92A3B4; padding-block: var(--s-5) var(--s-3); --focus: var(--gold-400); }
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s-4);
  padding-bottom: var(--s-4); border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (max-width: 780px) { .footer__grid { grid-template-columns: 1fr; gap: var(--s-3); } }
.footer .brand__name { color: var(--white); }
.footer .brand__sub  { color: var(--gold-400); }
.footer__blurb { margin-top: var(--s-2); font-size: .875rem; max-width: 34ch; line-height: 1.65; }
.footer h4 {
  font-family: var(--font-head); font-size: .6875rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--white);
  margin: 0 0 var(--s-2);
}
.footer__links { display: grid; gap: .55rem; }
.footer__links a { color: #92A3B4; text-decoration: none; font-size: .9375rem; }
.footer__links a:hover { color: var(--gold-400); }
.footer address { font-style: normal; font-size: .9375rem; line-height: 1.7; }
.footer address a { color: #92A3B4; text-decoration: none; }
.footer address a:hover { color: var(--gold-400); }
.footer__bottom {
  padding-top: var(--s-3); display: flex; flex-wrap: wrap;
  gap: var(--s-2) var(--s-4); justify-content: space-between; align-items: flex-start;
}
.footer__disclaimer { font-size: .75rem; line-height: 1.65; color: #728496; max-width: 62ch; margin: 0; }
.footer__copy { font-size: .75rem; color: #728496; margin: 0; }
.footer__copy a { color: #A9B7C6; text-decoration: none; }
.footer__copy a:hover { color: var(--gold-400); text-decoration: underline; }
.form__consent a { color: var(--navy-700); }

/* ==========================================================================
   Sub-pages (privacy, thank-you, 404)
   Reuses the hero shell in a shorter variant plus a readable prose column.
   ========================================================================== */
.hero--compact { min-height: 0; height: auto; max-height: none; padding-block: clamp(3rem, 7vw, 5rem); }
.hero--compact::before { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(12,26,42,.82); }
.hero--compact h1 { font-size: clamp(1.875rem, 4vw, 2.75rem); margin-bottom: var(--s-2); }
.hero--compact .hero__lede { margin-bottom: 0; }

/* .prose sits on the .wrap element itself, so constraining the children
   (rather than the wrap) keeps the measure readable while staying flush with
   the same left gutter the hero and every other section uses. */
.prose > * { max-width: 68ch; }
.prose h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.5rem); color: var(--navy-800);
  margin-top: var(--s-4); margin-bottom: .6rem;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { color: var(--navy-800); margin-top: var(--s-3); margin-bottom: .4rem; }
.prose p, .prose li { color: var(--slate); }
.prose ul { display: grid; gap: .5rem; margin: 0 0 var(--s-2); padding-left: 1.15rem; list-style: disc; }
.prose ul li::marker { color: var(--gold-600); }
.prose a { color: var(--navy-700); }
.prose__updated {
  font-family: var(--font-head); font-size: .8125rem; font-weight: 600;
  letter-spacing: .04em; color: var(--slate);
  padding-bottom: var(--s-2); margin-bottom: var(--s-3);
  border-bottom: 1px solid var(--line);
}
.prose__contact {
  margin-top: var(--s-4); padding: var(--s-3);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.prose__contact p { margin-bottom: .35rem; }
.prose__contact p:last-child { margin-bottom: 0; }

.page-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-3); }

.notfound__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(16rem, .8fr); gap: clamp(2rem, 5vw, var(--s-6)); align-items: center; }
.notfound__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px; box-shadow: var(--shadow-md); }
.notfound__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 780px) { .notfound__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
/* Scoped to .js (set by the inline head script) so that with JavaScript
   disabled - or if main.js fails to load - every .reveal block stays visible
   instead of leaving the page blank. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media print {
  .header, .hero__scrim, .hero__lattice, .hero__glow { display: none !important; }
  body { color: #000; }
  #capabilities, #suppliers { background: #fff !important; color: #000 !important; }
  #capabilities::before { display: none !important; }
  #capabilities h2, #capabilities h3, #capabilities p, #capabilities .cap__n,
  #suppliers h2, #suppliers h3, #suppliers p, #suppliers li { color: #000 !important; }
  .card__media img, .card__body, .card__body p { transform: none !important; }
  .card__body p { opacity: 1 !important; }
  /* Never print a blank page: the reveal animation must not survive to paper. */
  .js .reveal, .js .reveal:not(.is-visible) { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   Logo mark (shared <symbol id="logo-mark">)
   Faces are themed via custom properties so the footer can lighten them
   against the darker navy ground without duplicating the geometry.
   ========================================================================== */
.brand__mark {
  --lg-top: #1E4166;
  --lg-right: #0F2338;
  --lg-left: #16324D;
  --lg-edge: #D4A24A;
}
.footer .brand__mark {
  --lg-top: #29527D;
  --lg-right: #16324D;
  --lg-left: #1E4166;
}
.lg-top   { fill: var(--lg-top); }
.lg-right { fill: var(--lg-right); }
.lg-left  { fill: var(--lg-left); }
.lg-edge  { fill: none; stroke: var(--lg-edge); stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
.lg-link  { fill: none; stroke: var(--lg-edge); stroke-width: 5;   stroke-linejoin: round; stroke-linecap: round; }
