/* ==========================================================================
   Northbeam Systems — "Harbor Navy & Beacon Amber"
   Palette
     Harbor    #0B2942   deep navy, structural surfaces
     Signal    #145080   primary corporate blue, actions & links
     Beacon    #E38B29 / #F0A44A   amber accent — rules, ticks, dark-ground text
     Slate     #3D5062   body copy
     Fog       #F4F6F8 / #FFFFFF   grounds
     Line      #DCE3EA   hairlines
   ========================================================================== */

:root {
  --harbor:      #0B2942;
  --harbor-deep: #071D30;
  --harbor-soft: #123653;
  --signal:      #145080;
  --signal-700:  #10406A;
  --signal-300:  #6FA6D0;
  --beacon:      #C9762A;   /* graphic use only — rules, ticks, edges */
  --beacon-text: #9E5511;   /* deep copper for amber-toned text on light grounds (AA) */
  --beacon-lit:  #F0A44A;   /* amber on dark grounds */
  --ink:         #0C1B27;
  --slate:       #3D5062;
  --slate-soft:  #5E7186;
  --fog:         #F4F6F8;
  --fog-deep:    #EAEEF2;
  --line:        #DCE3EA;
  --line-dark:   rgba(255, 255, 255, .16);
  --white:       #FFFFFF;
  --focus:       #145080;

  --shell: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --sp-section: clamp(4.5rem, 9vw, 7.5rem);

  --radius: 4px;
  --radius-lg: 8px;

  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue",
          Roboto, Arial, system-ui, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow-sm: 0 1px 2px rgba(11, 41, 66, .06);
  --shadow-md: 0 12px 28px -14px rgba(11, 41, 66, .34);
  --shadow-lg: 0 28px 60px -28px rgba(11, 41, 66, .46);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--slate);
  font-family: var(--font);
  font-size: 1.0625rem;          /* 17px */
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -.021em; margin: 0; font-weight: 700; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
a { color: var(--signal); text-decoration-thickness: 1px; text-underline-offset: 3px; }

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

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

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--harbor); color: #fff; padding: .85rem 1.25rem;
  border-radius: var(--radius); font-weight: 600; text-decoration: none;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 1rem; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- type utilities ---------- */
.eyebrow {
  display: flex; align-items: center; gap: .75rem;
  font-size: .8125rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--signal-700); margin-bottom: 1.15rem;
}
.eyebrow .index {
  font-variant-numeric: tabular-nums;
  color: var(--beacon-text); letter-spacing: .06em;
}
.eyebrow .rule { width: 42px; height: 2px; background: var(--beacon-lit); flex: none; }
.eyebrow .tick { width: 10px; height: 10px; background: var(--beacon-lit); flex: none; clip-path: polygon(50% 0, 100% 100%, 0 100%); }

.section-title { font-size: clamp(1.85rem, 3.4vw, 2.7rem); text-wrap: balance; }
.section-lead { margin-top: 1.15rem; font-size: 1.125rem; color: var(--slate); max-width: 62ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.6rem;
  font: inherit; font-size: 1rem; font-weight: 600; letter-spacing: .005em;
  border-radius: var(--radius); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease),
              box-shadow .18s var(--ease);
}
.btn-primary { background: var(--signal); color: #fff; border-color: var(--signal); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--signal-700); border-color: var(--signal-700); box-shadow: var(--shadow-md); }
.btn-primary:active { transform: translateY(1px); }

.btn-ghost { color: var(--harbor); border-color: var(--line); background: var(--white); }
.btn-ghost:hover { border-color: var(--signal); color: var(--signal-700); }
.btn-ghost svg { transition: transform .2s var(--ease); }
.btn-ghost:hover svg { transform: translateX(3px); }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px -18px rgba(11, 41, 66, .8);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--harbor); }
.brand-mark { flex: none; border-radius: 7px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-size: 1.125rem; font-weight: 700; letter-spacing: -.018em; color: var(--ink); }
.brand-sub {
  font-size: .6875rem; font-weight: 600; letter-spacing: .19em;
  text-transform: uppercase; color: var(--slate-soft);
}

.nav { display: flex; align-items: center; }
.nav-panel { display: flex; align-items: center; gap: clamp(1.25rem, 2.4vw, 2.25rem); }
.nav-list { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.9rem); }
.nav-list a {
  position: relative; display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 .15rem;
  color: var(--harbor); font-size: .9375rem; font-weight: 600; text-decoration: none;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 14px; height: 2px;
  background: var(--beacon-lit); transform: scaleX(0); transform-origin: left;
  transition: transform .22s var(--ease);
}
.nav-list a:hover::after, .nav-list a:focus-visible::after { transform: scaleX(1); }
.btn-nav { min-height: 44px; padding: .55rem 1.15rem; font-size: .9375rem; }

.nav-toggle {
  display: none; align-items: center; gap: .55rem;
  min-height: 44px; min-width: 44px; padding: .5rem .85rem;
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius);
  color: var(--harbor); font: inherit; font-size: .875rem; font-weight: 600; cursor: pointer;
}
.nav-toggle-bars { display: inline-flex; flex-direction: column; gap: 4px; width: 18px; }
.nav-toggle-bars span {
  display: block; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .22s var(--ease), opacity .18s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: var(--white); padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3.5rem, 7vw, 6rem); }

/* nautical-chart graticule + a single beam of light from the north-east */
.hero-field {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(11, 41, 66, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 41, 66, .045) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(120% 90% at 78% 0%, #000 5%, transparent 68%);
          mask-image: radial-gradient(120% 90% at 78% 0%, #000 5%, transparent 68%);
}
.hero-field::after {
  content: ""; position: absolute; top: -30%; right: -6%; width: 60%; height: 150%;
  background: linear-gradient(196deg, rgba(240, 164, 74, .16), rgba(240, 164, 74, 0) 62%);
  transform: rotate(-9deg);
}

.hero-inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center;
}
.hero-title { font-size: clamp(2.3rem, 5.1vw, 3.85rem); letter-spacing: -.032em; max-width: 15ch; }
.hero-lead { margin-top: 1.5rem; font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.25rem; }

.hero-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem; margin-top: 3rem; padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.hero-facts dt { font-size: .8125rem; color: var(--slate-soft); letter-spacing: .01em; }
.hero-facts dd {
  margin-top: .3rem; font-size: 1.5rem; font-weight: 700; color: var(--harbor);
  font-variant-numeric: tabular-nums; letter-spacing: -.02em;
}

.hero-figure { position: relative; margin: 0; }
.hero-figure > img {
  width: 100%; aspect-ratio: 5 / 6; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero-caption {
  position: absolute; left: 0; bottom: 0;
  display: flex; flex-direction: column; gap: .1rem;
  background: var(--harbor); color: #fff;
  padding: .75rem 1.1rem; border-radius: 0 var(--radius) 0 var(--radius-lg);
  font-size: .875rem; font-weight: 600;
}
.hero-caption-label {
  font-size: .625rem; letter-spacing: .19em; text-transform: uppercase;
  color: var(--beacon-lit); font-weight: 700;
}
.hero-card {
  position: absolute; right: clamp(-1.5rem, -2vw, -.5rem); top: 12%;
  width: min(232px, 62%);
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--beacon-lit);
  border-radius: var(--radius); padding: 1.1rem 1.2rem 1.15rem;
  box-shadow: var(--shadow-md);
}
.hero-card-value {
  font-size: 2.5rem; font-weight: 700; color: var(--harbor); line-height: 1;
  letter-spacing: -.03em; font-variant-numeric: tabular-nums;
}
.hero-card-value span { font-size: 1.5rem; color: var(--beacon-text); margin-left: .1rem; }
.hero-card-label { margin-top: .5rem; font-size: .8125rem; line-height: 1.45; color: var(--slate); }

/* ==========================================================================
   LOGO STRIP
   ========================================================================== */
.strip { background: var(--fog); border-block: 1px solid var(--line); padding-block: 2.75rem 2.25rem; }
.strip-heading {
  font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--slate-soft); text-align: center; margin-bottom: 1.75rem;
}
.logo-row {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem; align-items: center;
}
.logo-box {
  display: flex; align-items: center; justify-content: center;
  height: 56px; background: var(--fog-deep);
  border: 1px dashed #B4BFCA; border-radius: var(--radius);
  color: #616D79; font-size: .6875rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}
.strip-note { margin-top: 1.35rem; text-align: center; font-size: .8125rem; color: var(--slate-soft); }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section { padding-block: var(--sp-section); }
/* keep anchor targets clear of the sticky header */
section[id], .hero { scroll-margin-top: 90px; }
.section-alt { background: var(--fog); border-block: 1px solid var(--line); }
.section-head { max-width: 68ch; margin-bottom: clamp(2.5rem, 4.5vw, 3.75rem); }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head-center .eyebrow { justify-content: center; }
.section-head-center .section-lead { margin-inline: auto; }

/* ---------- service cards ---------- */
.card-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.card {
  position: relative; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem 1.75rem 1.85rem;
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease), transform .22s var(--ease);
}
.card::before {
  content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px;
  background: var(--beacon-lit); border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.card:hover { border-color: #C6D2DD; box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card:hover::before, .card:focus-within::before { transform: scaleX(1); }
.card-index {
  display: block; font-size: .75rem; font-weight: 700; letter-spacing: .12em;
  color: var(--slate-soft); font-variant-numeric: tabular-nums; margin-bottom: 1rem;
}
.card-title { font-size: 1.25rem; }
.card-body { margin-top: .7rem; font-size: .9688rem; }
.card-list { margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.card-list li {
  position: relative; padding-left: 1.05rem; font-size: .875rem;
  color: var(--slate-soft); line-height: 1.9;
}
.card-list li::before {
  content: ""; position: absolute; left: 0; top: .82em; width: 5px; height: 5px;
  background: var(--signal-300); border-radius: 50%;
}

/* ---------- alternating split ---------- */
.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.split + .split { margin-top: clamp(3.5rem, 6vw, 5.5rem); padding-top: clamp(3.5rem, 6vw, 5.5rem); border-top: 1px solid var(--line); }
.split-reverse .split-figure { order: 2; }

.split-figure { margin: 0; }
.split-figure img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.split-figure figcaption {
  background: var(--white); border: 1px solid var(--line); border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: .8rem 1.1rem; font-size: .8125rem; color: var(--slate-soft);
  border-left: 3px solid var(--beacon-lit);
}
.kicker {
  font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--beacon-text); margin-bottom: .85rem;
}
.split-copy h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); max-width: 28ch; text-wrap: balance; }
.split-copy > p { margin-top: 1.1rem; max-width: 52ch; }
.check-list { margin-top: 1.65rem; display: grid; gap: .8rem; }
.check-list li {
  position: relative; padding-left: 2.1rem; font-size: .9375rem; color: var(--ink);
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .18em; width: 20px; height: 20px;
  border-radius: 50%; background: rgba(20, 80, 128, .1);
}
.check-list li::after {
  content: ""; position: absolute; left: 6px; top: .52em; width: 8px; height: 4px;
  border-left: 2px solid var(--signal); border-bottom: 2px solid var(--signal);
  transform: rotate(-45deg);
}

/* ---------- dark results section ---------- */
.section-dark {
  position: relative; overflow: hidden;
  background: var(--harbor); color: #C9D8E4;
  --focus: var(--beacon-lit);
}
.section-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(80% 60% at 12% 0%, rgba(111, 166, 208, .14), transparent 60%),
    radial-gradient(60% 50% at 92% 100%, rgba(240, 164, 74, .10), transparent 60%);
}
.section-dark > .shell { position: relative; }
.section-dark .section-title { color: #fff; }
.section-dark .eyebrow { color: var(--signal-300); }
.section-dark .eyebrow .index { color: var(--beacon-lit); }

.stat-row {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line-dark); border-radius: var(--radius-lg);
  overflow: hidden; background: rgba(255, 255, 255, .03);
}
.stat { padding: 2rem 1.5rem; border-right: 1px solid var(--line-dark); }
.stat:last-child { border-right: none; }
.stat-value {
  font-size: clamp(2.5rem, 5vw, 3.4rem); font-weight: 700; color: #fff;
  line-height: 1; letter-spacing: -.035em; font-variant-numeric: tabular-nums;
  display: flex; align-items: baseline;
}
.stat-value .prefix, .stat-value .suffix { color: var(--beacon-lit); font-size: .62em; }
.stat-label {
  order: 2; margin-top: .9rem; font-size: .8438rem; color: #9FB6C9; line-height: 1.5;
  max-width: 26ch;
}
.stat { display: flex; flex-direction: column; }

.quote {
  margin: clamp(3rem, 5vw, 4.5rem) auto 0; max-width: 74ch; text-align: center;
}
.quote blockquote { margin: 0; }
.quote p {
  font-size: clamp(1.125rem, 2.1vw, 1.5rem); line-height: 1.55; color: #EAF1F7;
  letter-spacing: -.012em; text-wrap: balance;
}
.quote blockquote p::before { content: "\201C"; color: var(--beacon-lit); }
.quote blockquote p::after  { content: "\201D"; color: var(--beacon-lit); }
.quote figcaption {
  display: flex; align-items: center; justify-content: center; gap: .9rem;
  margin-top: 1.85rem; padding-top: 1.6rem; border-top: 1px solid var(--line-dark);
  text-align: left; font-size: .875rem; color: #9FB6C9;
}
.quote figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.quote figcaption strong { display: block; color: #fff; font-size: .9375rem; }

/* ---------- team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.member img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: var(--radius-lg); filter: grayscale(1) contrast(1.02);
  transition: filter .35s var(--ease);
}
.member:hover img { filter: grayscale(0); }
.member h3 { margin-top: 1.35rem; font-size: 1.125rem; }
.member-role {
  margin-top: .25rem; font-size: .8125rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--signal);
}
.member-bio { margin-top: .75rem; font-size: .9375rem; color: var(--slate-soft); }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid {
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start;
}
.contact-facts { margin-top: 2.5rem; display: grid; gap: 1.35rem; }
.contact-facts li { padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: .9688rem; color: var(--ink); }
.contact-facts-label {
  display: block; font-size: .6875rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--slate-soft); margin-bottom: .3rem;
}
.contact-facts a { font-weight: 600; }

.form {
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--harbor);
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-md);
}
.form-note { font-size: .8125rem; color: var(--slate-soft); margin-bottom: 1.5rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
.field { margin-bottom: 1.15rem; }
.field-row .field { margin-bottom: 1.15rem; }
.field label, .check-field label { display: block; font-size: .875rem; font-weight: 600; color: var(--ink); margin-bottom: .45rem; }
.req { color: var(--beacon-text); }

.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .85rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { min-height: 132px; resize: vertical; line-height: 1.6; }
.field select { appearance: none; padding-right: 2.5rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5l5-5' fill='none' stroke='%233D5062' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 12px 8px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #C6D2DD; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--signal);
  box-shadow: 0 0 0 3px rgba(20, 80, 128, .18);
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 2px;
}
.field-hint { margin-top: .45rem; font-size: .8125rem; color: var(--slate-soft); }

/* Checkbox is drawn at 22px but carries a full 44x44 hit area, pulled back
   with negative margins so the visual box still lines up with the text column. */
.check-field { display: flex; align-items: flex-start; gap: .35rem; margin: 1.5rem 0 1.75rem; }
.check-field input {
  flex: none; appearance: none; -webkit-appearance: none;
  width: 44px; height: 44px; margin: -11px 0 -11px -11px;
  background-color: transparent; background-repeat: no-repeat;
  background-position: center; background-size: 22px 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Crect x='.75' y='.75' width='20.5' height='20.5' rx='3.5' fill='%23fff' stroke='%23C6D2DD' stroke-width='1.5'/%3E%3C/svg%3E");
  border: none; border-radius: var(--radius); cursor: pointer;
}
.check-field input:hover {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Crect x='.75' y='.75' width='20.5' height='20.5' rx='3.5' fill='%23fff' stroke='%23145080' stroke-width='1.5'/%3E%3C/svg%3E");
}
.check-field input:checked {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Crect width='22' height='22' rx='4' fill='%23145080'/%3E%3Cpath d='M6 11.4l3.4 3.3L16.2 8' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.check-field input:focus-visible { outline: 3px solid var(--focus); outline-offset: -8px; }
.check-field label { margin: 0; padding-top: .05rem; font-weight: 400; font-size: .9063rem; color: var(--slate); }
.btn-submit { width: 100%; }
.form-foot { margin-top: 1rem; font-size: .8125rem; color: var(--slate-soft); text-align: center; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--harbor-deep); color: #9FB6C9; padding-top: clamp(3.5rem, 6vw, 5rem); }
.footer-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(2.5rem, 5vw, 4rem); padding-bottom: 3rem;
}
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: var(--signal-300); }
.footer-line { margin-top: 1.15rem; font-size: .9375rem; max-width: 40ch; }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.footer-nav h2 {
  font-size: .6875rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--beacon-lit); margin-bottom: 1.1rem;
}
.footer-nav li { display: flex; align-items: center; min-height: 40px; font-size: .9063rem; }
.footer-nav a {
  display: flex; align-items: center; width: 100%; min-height: 40px;
  color: #B9CCDB; text-decoration: none;
}
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-base {
  display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between;
  padding-block: 1.5rem; border-top: 1px solid var(--line-dark);
  font-size: .8125rem; color: #8AA3B6;
}
.footer-disclaimer { color: #8AA3B6; }

/* ==========================================================================
   MOTION — reveal on scroll (only when JS is present)
   ========================================================================== */
.has-js .reveal { opacity: 0; transform: translateY(16px); }
.has-js .reveal.is-visible {
  opacity: 1; transform: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .hero-title { max-width: 20ch; }
  .hero-figure { max-width: 560px; }
  .hero-card { right: 0; top: auto; bottom: -1.5rem; }
  .split, .split-reverse { grid-template-columns: minmax(0, 1fr); }
  .split-reverse .split-figure { order: 0; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .logo-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  /* --- mobile nav --- */
  .nav-toggle { display: inline-flex; }
  .has-js .nav-panel {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: .5rem var(--gutter) 1.25rem;
  }
  .has-js .nav-panel.is-open { display: flex; animation: panel-in .22s var(--ease); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list a { min-height: 52px; font-size: 1rem; }
  .nav-list a::after { display: none; }
  .btn-nav { margin-top: 1.1rem; min-height: 48px; }
  .site-header { position: sticky; }
  .header-inner { position: relative; }
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .card-grid { grid-template-columns: minmax(0, 1fr); }
  .stat-row { grid-template-columns: minmax(0, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid var(--line-dark); }
  .stat:last-child { border-bottom: none; }
  .team-grid { grid-template-columns: minmax(0, 1fr); max-width: 420px; }
  .field-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero-facts { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
  .hero-facts > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
  .hero-facts dd { margin-top: 0; font-size: 1.25rem; }
  .logo-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote figcaption { flex-direction: column; text-align: center; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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

@media (prefers-contrast: more) {
  :root { --line: #9AA9B7; --slate: #2B3B4A; --slate-soft: #40525F; }
}

@media print {
  .site-header, .hero-field, .btn { display: none; }
  body { color: #000; font-size: 11pt; }
  .has-js .reveal { opacity: 1; transform: none; }
}
