/* Marlin Automation — first-draft marketing site
   Palette: navy / steel gray / brand deep red #8A1E30 */
:root {
  /* Brand: deep red #8A1E30, navy #111E33, slate #4A5F7E, charcoal #1A1714 */
  --navy: #111E33;
  --navy-mid: #1a2d4a;
  --navy-light: #2a4570;
  --steel: #4A5F7E;
  --steel-light: #7a8ba3;
  --charcoal: #1A1714;
  --bg: #f4f6f8;
  --bg-alt: #e8eef4;
  --bg-soft: #f4f6f9;
  --white: #ffffff;
  --accent: #8A1E30;
  --accent-hover: #6F1726;
  --accent-soft: #f6e8eb;
  --accent-rgb: 138, 30, 48;
  --text: #1A1714;
  --text-muted: #4A5F7E;
  --muted: #4A5F7E; /* alias used by prose */
  --border: #d0d7de;
  --shadow: 0 4px 24px rgba(17, 30, 51, 0.08);
  --shadow-lg: 0 12px 40px rgba(17, 30, 51, 0.14);
  --radius: 8px;
  --max: 1120px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  overflow-x: hidden;
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-light); text-decoration: none; }
a:hover { color: var(--accent); }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.25;
  color: var(--navy);
  margin: 0 0 0.75rem;
}
h1 { font-size: clamp(1.85rem, 4vw, 2.75rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 650; }
p { margin: 0 0 1rem; }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.7rem 0; min-height: 84px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img, .logo svg { height: 64px; width: auto; display: block; }

@media (max-width: 900px) {
  .logo img, .logo svg { height: 50px; }
  .header-inner { min-height: 66px; padding: 0.5rem 0; }
}
.nav-toggle svg { display: block; width: 22px; height: 22px; }
.nav-list { display: flex; align-items: center; gap: 0.25rem 1.25rem; flex-wrap: wrap; }
.nav-list a {
  color: var(--navy); font-weight: 550; font-size: 0.95rem;
  padding: 0.35rem 0; border-bottom: 2px solid transparent;
}
.nav-list a:hover, .nav-list a[aria-current="page"] {
  color: var(--accent); border-bottom-color: var(--accent);
}
.nav-cta {
  background: var(--accent) !important; color: var(--white) !important;
  padding: 0.5rem 1rem !important; border-radius: 6px !important;
  border-bottom: none !important; font-weight: 650 !important;
}
.nav-cta:hover { background: var(--accent-hover) !important; color: var(--white) !important; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.35rem; border-radius: 6px; font-weight: 650;
  font-size: 0.95rem; border: 2px solid transparent; cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  text-decoration: none; font-family: inherit;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); color: var(--white); }
.btn-secondary {
  background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55);
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.btn-outline {
  background: transparent; color: var(--navy); border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, #1a5578 100%);
  color: var(--white); padding: 4.5rem 0 5rem; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, transparent 49%, rgba(var(--accent-rgb), 0.08) 50%, transparent 51%),
    repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(255,255,255,0.03) 80px, rgba(255,255,255,0.03) 81px);
  pointer-events: none;
}
.hero-badge {
  display: inline-block; font-size: 0.8rem; font-weight: 650;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); background: rgba(var(--accent-rgb), 0.15);
  padding: 0.35rem 0.75rem; border-radius: 999px; margin-bottom: 1rem;
  border: 1px solid rgba(var(--accent-rgb), 0.35);
}
.hero h1 { color: var(--white); margin-bottom: 1rem; }
.hero-lead { font-size: 1.15rem; color: rgba(255,255,255,0.88); max-width: 36rem; margin-bottom: 0; }

/* Sections */
.section { padding: 4rem 0; }
.section-alt { background: var(--bg); }
.section-head { text-align: center; max-width: 40rem; margin: 0 auto 2.5rem; }
.section-head p { color: var(--text-muted); margin-bottom: 0; }
.eyebrow {
  display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem;
}

/* Capability grid */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}
.cap-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow); transition: transform 0.15s, box-shadow 0.15s;
  height: 100%;
}
.cap-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.cap-card .icon {
  width: 44px; height: 44px; margin-bottom: 0.85rem;
  background: var(--bg-alt); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; color: var(--navy);
}
.cap-card .icon svg { width: 24px; height: 24px; }
.cap-card h3 { margin-bottom: 0.4rem; font-size: 1.05rem; }
.cap-card p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }
.cap-card a.card-link {
  display: inline-block; margin-top: 0.85rem; font-size: 0.875rem;
  font-weight: 650; color: var(--accent);
}
.cap-card a.card-link:hover { text-decoration: underline; }


/* CTA band */
.cta-band {
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white); padding: 3rem 0; text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-band p { color: rgba(255,255,255,0.8); max-width: 32rem; margin: 0 auto 1.5rem; }

/* Industries */
.ind-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem;
}
.ind-card {
  background: var(--white); border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem; box-shadow: var(--shadow); border-top: 1px solid var(--border);
  border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.ind-card h2, .ind-card h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.ind-card p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* Capability detail */
.cap-detail {
  display: grid; grid-template-columns: 1fr 280px; gap: 2rem;
  padding: 2rem 0; border-bottom: 1px solid var(--border);
  align-items: start;
}
.cap-detail:last-of-type { border-bottom: none; }
.cap-detail .icon-lg {
  width: 56px; height: 56px; background: var(--bg-alt); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
  color: var(--navy);
}
.cap-detail .icon-lg svg { width: 28px; height: 28px; }
.cap-detail ul { margin: 0.75rem 0 0; padding-left: 1.15rem; list-style: disc; }
.cap-detail ul li { color: var(--text-muted); margin-bottom: 0.35rem; font-size: 0.95rem; }

/* About */
.about-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: start;
}
.about-list li {
  display: flex; gap: 0.75rem; margin-bottom: 1rem; align-items: flex-start;
}
.about-list .check {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); color: white; display: flex;
  align-items: center; justify-content: center; font-size: 0.75rem; margin-top: 0.15rem;
}

/* Contact */
.contact-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2.5rem; align-items: start;
}
.contact-info {
  background: var(--navy); color: rgba(255,255,255,0.9);
  border-radius: var(--radius); padding: 2rem;
}
.contact-info h2 { color: var(--white); }
.contact-info a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.contact-info a:hover { color: var(--accent); }
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.35rem; color: var(--navy);
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.7rem 0.85rem; border: 1px solid var(--border);
  border-radius: 6px; font: inherit; color: var(--text); background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Footer */
.footer-logo { height: 52px; width: auto; margin-bottom: 0.75rem; }
.site-footer {
  background: #0a1424; color: rgba(255,255,255,0.7); padding: 3rem 0 1.5rem;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem;
}
.site-footer h2, .site-footer h3 { color: var(--white); font-size: 0.9rem; margin-bottom: 1rem; letter-spacing: 0.04em; font-weight: 700; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: #ffffff; text-decoration: underline; }
.footer-brand p { margin-top: 0.75rem; max-width: 22rem; }
.footer-links li { margin-bottom: 0.45rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.25rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem;
  font-size: 0.8rem; color: rgba(255,255,255,0.5);
}

/* Breadcrumb */
.page-hero {
  background: var(--navy); color: var(--white); padding: 2.75rem 0;
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 36rem; margin: 0; }


/* Photos */
.photo {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  background: var(--bg-alt); box-shadow: var(--shadow);
  max-width: 100%;
}
.photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.photo.tall { min-height: 240px; aspect-ratio: 4 / 5; }
.photo.wide { aspect-ratio: 21 / 9; min-height: 160px; width: 100%; }
.photo.about-photo { aspect-ratio: 4 / 3; min-height: 260px; }
@media (max-width: 900px) {
  .photo.tall { aspect-ratio: 16 / 10; min-height: 180px; }
  .photo.wide { aspect-ratio: 16 / 9; min-height: 0; }
}

/* Mobile */
@media (max-width: 900px) { .about-grid, .contact-grid, .cap-detail {
    grid-template-columns: 1fr;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
/* Skip link */
.skip-link {
  position: absolute; left: 0.75rem; top: 0.75rem;
  transform: translateY(-150%);
  background: var(--navy); color: var(--white);
  padding: 0.65rem 1rem; border-radius: 6px; z-index: 1000;
  font-weight: 650; text-decoration: none;
}
.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Focus visibility (WCAG 2.4.7) */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.nav-list a:focus-visible,
.btn:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.nav-cta:focus-visible {
  outline-color: #fff;
  box-shadow: 0 0 0 3px var(--accent);
}

.nav-toggle {
  position: relative; z-index: 120;
  min-width: 44px; min-height: 44px;
  display: none; align-items: center; justify-content: center;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; padding: 0.45rem; cursor: pointer; color: var(--navy);
}
.nav-toggle .icon-close { display: none; }
.site-header.is-nav-open .nav-toggle .icon-open { display: none; }
.site-header.is-nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }
  .site-header {
    background: #ffffff;
    /* containing block for full-bleed mobile nav */
    position: sticky;
    z-index: 200;
  }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    background-color: #ffffff;
    background-image: none;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 40px rgba(11, 37, 69, 0.22);
    padding: 0.5rem 0 calc(1rem + env(safe-area-inset-bottom, 0px));
    z-index: 210;
    max-height: min(85vh, calc(100dvh - 4rem));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav.open { display: block; }
  /* Escape the .container so the panel is truly full-bleed */
  .header-inner > .nav {
    width: 100vw;
    left: 50%;
    right: auto;
    margin-left: -50vw;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0 auto;
    padding: 0;
    max-width: 720px;
    width: 100%;
    list-style: none;
  }
  .nav-list > li {
    list-style: none;
    margin: 0;
    padding: 0 1.25rem;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
  }
  .nav-list > li:last-child {
    border-bottom: none;
    padding-top: 0.75rem;
    padding-bottom: 0.25rem;
    background: #ffffff;
  }
  .nav-list a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0.9rem 0.5rem !important;
    margin: 0;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
    background: transparent;
    font-size: 1.08rem;
    line-height: 1.35;
    color: var(--navy);
  }
  .nav-list a[aria-current="page"] {
    color: var(--accent) !important;
    font-weight: 700;
    border-left: 3px solid var(--accent) !important;
    padding-left: 0.65rem !important;
    border-bottom: none !important;
    box-shadow: none !important;
  }
  .nav-list a.nav-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 0.9rem 1rem !important;
    border-radius: 8px !important;
    border: none !important;
    border-left: none !important;
    box-shadow: none !important;
    background: var(--accent) !important;
    color: #ffffff !important;
  }
  .nav-list a.nav-cta[aria-current="page"] {
    border-left: none !important;
    padding-left: 1rem !important;
  }
  body.nav-open {
    overflow: hidden !important;
    touch-action: none;
    overscroll-behavior: none;
    position: relative;
  }
  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(7, 26, 48, 0.55);
    z-index: 150;
    pointer-events: auto;
  }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 2.75rem 0 3.25rem; }
  .hero-lead {
    font-size: 0.98rem;
    line-height: 1.5;
    max-width: 36rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cap-card, .btn, .nav-list a { transition: none !important; }
  .cap-card:hover { transform: none; }
}

/* Contact form validation & status */
.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
}
.field-error {
  display: none;
  color: var(--accent);
  font-size: 0.85rem;
  margin-top: 0.35rem;
}
.field-error.show { display: block; }
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  padding: 0 !important;
  margin: -1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.file-drop {
  border: 1.5px dashed var(--border, #c8d0da);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  background: #fafbfc;
  transition: border-color .15s, background .15s;
}
.file-drop.is-dragover {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.file-drop-hint {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--muted, #4A5F7E);
}
.file-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.file-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0.65rem;
  background: #fff;
  border: 1px solid var(--border, #c8d0da);
  border-radius: 6px;
  font-size: 0.9rem;
}
.file-list .file-meta { color: var(--muted, #4A5F7E); font-size: 0.8rem; margin-left: 0.35rem; }
.file-list button {
  flex-shrink: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font-size: 0.85rem;
  text-decoration: underline;
  padding: 0.15rem 0.25rem;
}
.file-list button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.file-input-visually {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.file-pick-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
}
.form-status {
  display: none;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}
.form-status.show { display: block; }
.form-status.success {
  background: #e8f5ee;
  border: 1px solid #9dcfb0;
  color: #1a5c38;
}
.form-status.error {
  background: var(--accent-soft);
  border: 1px solid #e0b4bc;
  color: var(--accent-hover);
}
.turnstile-wrap { margin: 1rem 0 1.25rem; min-height: 65px; }
.btn[disabled] { opacity: 0.65; cursor: not-allowed; }
.form-req { color: var(--accent); font-weight: 600; }
.photo.feature { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo.feature img { width: 100%; height: auto; object-fit: cover; }


/* Contact form fallback (mailto + phone) */
.form-status.fallback p { margin: 0 0 0.75rem; }
.form-status .fallback-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0 0 0.6rem; }
.form-status .fallback-actions .btn { min-height: 44px; }
.form-status .fallback-note { font-size: 0.9rem; margin: 0; }
.form-status .fallback-note a { font-weight: 600; }


/* —— Visual polish (2026-10-30) —— */
h1, h2, .section-head h2, .page-hero h1 {
  text-wrap: balance;
}
.hero h1 {
  max-width: 18ch;
  letter-spacing: -0.02em;
}
.hero-lead {
  line-height: 1.65;
  max-width: 38rem;
}
.hero-badge {
  color: #ffb4c0;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 180, 192, 0.45);
  letter-spacing: 0.06em;
}
.hero { padding: 4.75rem 0 5.25rem; }
.btn { min-height: 44px; }
.btn-secondary {
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}
.cap-grid {
  align-items: stretch;
}
.cap-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.5rem 1.35rem;
}
.cap-card p {
  flex: 1 1 auto;
  line-height: 1.55;
}
.cap-card .card-link { margin-top: auto; padding-top: 0.85rem; }
.ind-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.6rem 1.5rem;
}
.ind-card p { flex: 1; line-height: 1.55; }
.section { padding: 4.25rem 0; }
.section-head { margin-bottom: 2.75rem; }
.section-head p { line-height: 1.6; }
.page-hero { padding: 3rem 0; }
.page-hero p { line-height: 1.6; max-width: 40rem; }
.cap-detail {
  gap: 2.25rem;
  padding: 2.35rem 0;
}
.cap-detail .copy p { line-height: 1.65; max-width: 40rem; }
.cap-detail .photo img {
  object-position: center;
}
.footer-grid {
  gap: 2.5rem 2rem;
  margin-bottom: 2.75rem;
}
.footer-brand p {
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
}
.site-footer a { color: rgba(255,255,255,0.78); }
.footer-bottom {
  padding-top: 1.5rem;
  align-items: center;
}
.cta-band { padding: 3.25rem 0; }
.cta-band p { line-height: 1.6; }
.contact-info { padding: 2.15rem; }
.form-group label { letter-spacing: 0.01em; }
@media (min-width: 901px) and (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 1.75rem; }
}
@media (max-width: 900px) {
  .hero { padding: 3.25rem 0 3.75rem; }
  .hero h1 { max-width: none; }
  .section { padding: 3.25rem 0; }
  .cap-detail { padding: 1.85rem 0; gap: 1.5rem; }
}
@media (max-width: 480px) {
  .container { width: min(100% - 1.5rem, var(--max)); }
  .hero-badge { font-size: 0.72rem; letter-spacing: 0.05em; }
  .btn-row .btn { width: 100%; }
}

/* Accessibility / prose pages */
.prose h2 { margin-top: 1.75rem; margin-bottom: 0.65rem; color: var(--navy); font-size: 1.35rem; }
.prose p, .prose li { color: var(--muted); line-height: 1.65; }
.prose ul { padding-left: 1.25rem; margin: 0.75rem 0 1rem; }
.prose li { margin: 0.35rem 0; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.prose a.btn { color: #fff; text-decoration: none; }
.prose a.btn-outline { color: var(--navy); }
.prose code { font-size: 0.9em; background: var(--bg-soft, #f4f6f9); padding: 0.1em 0.35em; border-radius: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between; align-items: center; }
.footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Dark-surface accent text — lighter than brand red for WCAG AA on navy */
.page-hero .eyebrow,
.hero .eyebrow {
  color: #F0B7C0;
}
.hero .hero-badge,
.page-hero .hero-badge {
  color: #F0B7C0;
  border-color: rgba(240, 183, 192, 0.45);
  background: rgba(240, 183, 192, 0.12);
}
.section .eyebrow {
  color: var(--accent);
}

/* Outline buttons on navy heroes need light chrome (navy-on-navy fails AA) */
.page-hero .btn-outline,
.hero .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.75);
  background: transparent;
}
.page-hero .btn-outline:hover,
.hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: var(--white);
}


.form-privacy {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0.85rem 0 0;
  line-height: 1.5;
}
.form-privacy a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a { margin-right: 0.85rem; }

.form-optional { font-weight: 500; color: var(--muted, #4A5F7E); font-size: 0.9em; }


/* Photo credits list */
.credit-list { list-style: disc; }
.credit-list > li { margin: 1rem 0; }
.credit-list > li > p { margin: 0; }

/* ==========================================================================
   Premium refinement layer (2026-11-10)
   Typography, hero, proof strip, cards, steps, contact, footer, print.
   ========================================================================== */
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
:root {
  --font: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Montserrat", "Inter", "Segoe UI", system-ui, sans-serif;
  --radius: 10px;
  --radius-sm: 6px;
  --header-h: 84px;
  --line: #dfe4ea;
  --ink-soft: #3d4f6a;
}
html { scroll-padding-top: calc(var(--header-h) + 16px); }
body { font-size: 1.0625rem; line-height: 1.65; color: var(--text); text-rendering: optimizeLegibility; display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1 0 auto; }
p { text-wrap: pretty; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.015em; }
h1 { font-weight: 700; line-height: 1.12; font-size: clamp(2.05rem, 1.35rem + 2.6vw, 3.35rem); }
h2 { font-weight: 700; line-height: 1.2; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); }
h3 { font-weight: 650; line-height: 1.3; font-size: 1.125rem; letter-spacing: -0.005em; }
.eyebrow { font-family: var(--font); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; margin-bottom: 0.85rem; display: inline-flex; align-items: center; gap: 0.6rem; }
.eyebrow::before { content: ""; width: 1.75rem; height: 2px; background: currentColor; display: inline-block; }
.section-head .eyebrow { justify-content: center; }
.section-head { max-width: 46rem; margin: 0 auto 3rem; }
.section-head p { font-size: 1.075rem; }
.section { padding: 5.5rem 0; }
.section-tight { padding: 3.5rem 0; }
.section-alt { background: #f3f5f8; }
@media (max-width: 900px) { .section { padding: 4rem 0; } .section-tight { padding: 2.75rem 0; } :root { --header-h: 66px; } }

/* Header */
.site-header { background: rgba(255,255,255,0.97); border-bottom-color: var(--line); }
.nav-list { gap: 0.25rem 1.75rem; }
.nav-list a { font-weight: 550; font-size: 0.95rem; color: var(--navy); transition: color .15s, border-color .15s; }
.nav-cta { padding: 0.6rem 1.15rem !important; border-radius: var(--radius-sm) !important; letter-spacing: 0.01em; }
@media (min-width: 769px) { .nav-list a.nav-cta[aria-current="page"] { box-shadow: inset 0 -3px 0 rgba(255,255,255,0.35); } }

/* Buttons */
.btn { border-radius: var(--radius-sm); font-weight: 600; letter-spacing: 0.01em; padding: 0.8rem 1.4rem; transition: background .15s, color .15s, border-color .15s, box-shadow .15s, transform .15s; }
.btn-lg { padding: 0.95rem 1.7rem; font-size: 1rem; min-height: 52px; }
.btn-primary { box-shadow: 0 1px 2px rgba(17,30,51,.12); }
.btn-primary:hover { box-shadow: 0 6px 18px rgba(var(--accent-rgb), .28); }
.btn-outline { border-width: 1.5px; }
.btn-secondary { border-width: 1.5px; }
.text-link { font-weight: 650; color: var(--accent); display: inline-flex; align-items: center; gap: 0.4rem; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.text-link::after { content: "→"; transition: transform .15s; }
.text-link:hover { color: var(--accent-hover); }
.text-link:hover::after { transform: translateX(3px); }

/* Hero */
.hero { position: relative; isolation: isolate; padding: clamp(5rem, 10vw, 8.5rem) 0 clamp(5rem, 9vw, 7.5rem); background: var(--navy); overflow: hidden; }
.hero::before { display: none; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -2; }
.hero-media img { object-fit: cover; object-position: 70% 40%; max-height: none; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11,20,36,0.96) 0%, rgba(11,20,36,0.88) 38%, rgba(11,20,36,0.55) 70%, rgba(11,20,36,0.35) 100%),
    linear-gradient(0deg, rgba(11,20,36,0.55) 0%, rgba(11,20,36,0) 40%); }
.hero-inner { position: relative; max-width: var(--max); }
.hero h1 { max-width: 19ch; margin-bottom: 1.25rem; color: #fff; }
.hero-lead { font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.25rem); max-width: 40rem; color: rgba(255,255,255,0.86); line-height: 1.65; }
.hero .btn-row { margin-top: 2.25rem; }
.hero-badge { font-family: var(--font); font-size: 0.75rem; letter-spacing: 0.12em; padding: 0.45rem 0.9rem; margin-bottom: 1.5rem; }
@media (max-width: 768px) {
  .hero::after { background: linear-gradient(180deg, rgba(11,20,36,0.82) 0%, rgba(11,20,36,0.9) 55%, rgba(11,20,36,0.96) 100%); }
  .hero-media img { object-position: 60% 50%; }
}

/* Proof strip */
.proof { background: #fff; border-bottom: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid li { padding: 1.75rem 1.5rem; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 0.2rem; }
.proof-grid li:first-child { border-left: 0; padding-left: 0; }
.proof-grid strong { font-family: var(--font-display); font-size: 1rem; color: var(--navy); font-weight: 700; letter-spacing: -0.005em; position: relative; padding-top: 0.9rem; }
.proof-grid strong::before { content: ""; position: absolute; top: 0; left: 0; width: 1.5rem; height: 2px; background: var(--accent); }
.proof-grid span { font-size: 0.925rem; color: var(--ink-soft); }
@media (max-width: 900px) {
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid li { padding: 1.4rem 1rem 1.4rem 1.25rem; border-top: 1px solid var(--line); }
  .proof-grid li:nth-child(-n+2) { border-top: 0; }
  .proof-grid li:nth-child(odd) { border-left: 0; padding-left: 0; }
}
@media (max-width: 480px) {
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid li { border-left: 0; padding: 1.15rem 0; border-top: 1px solid var(--line); }
  .proof-grid li:nth-child(2) { border-top: 1px solid var(--line); }
}

/* Capability cards (whole card is the link) */
.cap-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.cap-grid > li { display: flex; }
.cap-card { position: relative; display: flex; flex-direction: column; width: 100%; padding: 1.6rem 1.5rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 1px 2px rgba(17,30,51,.04); color: inherit; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.cap-card::after { content: ""; position: absolute; left: 1.5rem; right: 1.5rem; top: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.cap-card:hover, .cap-card:focus-visible { border-color: #c9d2dc; box-shadow: 0 14px 34px rgba(17,30,51,.10); transform: translateY(-3px); color: inherit; }
.cap-card:hover::after, .cap-card:focus-visible::after { transform: scaleX(1); }
.cap-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.cap-card .icon { width: 46px; height: 46px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); margin-bottom: 1.1rem; }
.cap-card .icon svg { width: 24px; height: 24px; }
.cap-card h3 { font-size: 1.04rem; margin-bottom: 0.5rem; color: var(--navy); }
.cap-card p { font-size: 0.925rem; line-height: 1.6; color: var(--ink-soft); flex: 1 1 auto; margin: 0; }
.cap-card .card-link { margin-top: 1.1rem; padding-top: 0; font-size: 0.875rem; font-weight: 650; color: var(--accent); display: inline-flex; gap: 0.4rem; align-items: center; }
.cap-card .card-link::after { content: "→"; transition: transform .2s; }
.cap-card:hover .card-link::after { transform: translateX(3px); }
@media (max-width: 1100px) { .cap-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .cap-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .cap-card { display: grid; grid-template-columns: 44px 1fr; column-gap: 1rem; padding: 1.15rem 1.1rem; }
  .cap-card .icon { width: 44px; height: 44px; margin: 0; grid-row: 1 / span 2; }
  .cap-card h3 { margin: 0.1rem 0 0.3rem; font-size: 1rem; }
  .cap-card p { font-size: 0.9rem; }
  .cap-card .card-link { display: none; }
  .cap-card::after { left: 1.1rem; right: 1.1rem; }
}

/* Feature split */
.feature-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.feature-split h2 { margin-bottom: 1.1rem; }
.feature-split p { color: var(--ink-soft); }
.feature-split .btn-row { margin-top: 2rem; }
.feature-card { padding: clamp(1.5rem, 3vw, 2.75rem); background: #f3f5f8; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 1.5rem; }
.photo { border-radius: var(--radius); box-shadow: 0 18px 40px rgba(17,30,51,.14); }
.photo.feature { aspect-ratio: 3 / 2; }
.photo.feature img { height: 100%; }
@media (max-width: 900px) { .feature-split { grid-template-columns: 1fr; } }

/* Check list */
.check-list { margin: 1.4rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.6rem; }
.check-list li { position: relative; padding-left: 1.85rem; color: var(--text); font-size: 0.975rem; line-height: 1.5; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.12em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%238A1E30' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center / 0.8rem no-repeat; }
.check-list-2 { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
@media (max-width: 560px) { .check-list-2 { grid-template-columns: 1fr; } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: none; }
.steps li { position: relative; padding: 1.75rem 1.5rem 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.section-alt .steps li { background: #fff; }
.steps .step-num { display: block; font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.steps h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.steps p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; gap: 0.75rem; } .steps li { padding: 1.35rem 1.25rem; } }

/* Industries strip on home */
.ind-strip { display: grid; grid-template-columns: minmax(14rem, 0.8fr) 2fr auto; gap: 1.5rem 3rem; align-items: center; }
.ind-strip h2 { margin: 0; font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem); }
.ind-strip .eyebrow { margin-bottom: 0.5rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.tag-list li { padding: 0.5rem 0.95rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 0.9rem; font-weight: 550; color: var(--navy); }
@media (max-width: 1000px) { .ind-strip { grid-template-columns: 1fr; gap: 1.25rem; } }

/* CTA band */
.cta-band { position: relative; padding: clamp(3.75rem, 7vw, 5.5rem) 0; background: linear-gradient(120deg, #0b1424 0%, var(--navy) 45%, #1a2d4a 100%); overflow: hidden; }
.cta-band::before { content: ""; position: absolute; left: 50%; top: 0; width: 4rem; height: 3px; margin-left: -2rem; background: var(--accent); }
.cta-band h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); margin-bottom: 1rem; }
.cta-band p { max-width: 38rem; color: rgba(255,255,255,0.82); margin-bottom: 2rem; font-size: 1.05rem; }
.cta-band a:not(.btn) { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.5); text-underline-offset: 3px; overflow-wrap: anywhere; }
.cta-band a:not(.btn):hover { text-decoration-color: #fff; }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.75rem); background: linear-gradient(120deg, #0b1424 0%, var(--navy) 55%, #1a2d4a 100%); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(90deg, transparent 0 119px, rgba(255,255,255,0.035) 119px 120px); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%); mask-image: linear-gradient(90deg, transparent 30%, #000 100%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { font-size: 1.1rem; max-width: 42rem; color: rgba(255,255,255,0.82); }
.page-hero .btn-row { margin-top: 2rem; }

/* Jump nav on capabilities */
.jump-nav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--line); }
.jump-nav ul { display: flex; gap: 0.25rem 0.4rem; overflow-x: auto; padding: 0.7rem 0; margin: 0; list-style: none; scrollbar-width: thin; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.jump-nav a { display: inline-flex; white-space: nowrap; padding: 0.4rem 0.8rem; border-radius: 999px; font-size: 0.85rem; font-weight: 550; color: var(--navy); border: 1px solid transparent; min-height: 36px; align-items: center; }
.jump-nav a:hover { background: var(--accent-soft); color: var(--accent); }
.jump-nav li:last-child { padding-right: 2rem; }
html:has(.jump-nav) { scroll-padding-top: calc(var(--header-h) + 72px); }

/* Capability detail */
.cap-detail { grid-template-columns: 1fr 400px; gap: clamp(2rem, 5vw, 4rem); padding: 3.25rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.cap-detail:last-of-type { border-bottom: 0; padding-bottom: 1rem; }
.cap-detail .icon-lg { width: 52px; height: 52px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); margin-bottom: 1.25rem; display: flex; align-items: center; justify-content: center; }
.cap-detail .icon-lg svg { width: 26px; height: 26px; }
.cap-detail h2 { font-size: clamp(1.45rem, 1.2rem + 0.9vw, 1.9rem); margin-bottom: 0.9rem; }
.cap-detail .cap-copy > p { color: var(--ink-soft); max-width: 40rem; }
.cap-detail ul.check-list { padding-left: 0; list-style: none; }
.cap-detail ul.check-list li { color: var(--text); margin: 0; font-size: 0.95rem; }
.photo.cap-photo { aspect-ratio: 4 / 3; min-height: 0; }
@media (max-width: 1000px) { .cap-detail { grid-template-columns: 1fr 320px; } }
@media (max-width: 900px) {
  .cap-detail { grid-template-columns: 1fr; padding: 2.5rem 0; }
  .cap-detail .photo.cap-photo { order: -1; aspect-ratio: 16 / 9; }
}

/* Industries page */
.ind-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.ind-card { border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: 1.75rem 1.6rem; box-shadow: 0 1px 2px rgba(17,30,51,.04); }
.ind-card h2 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.ind-card p { font-size: 0.95rem; color: var(--ink-soft); }
.ind-photo { margin-top: 3rem; }
@media (max-width: 1000px) { .ind-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .ind-grid { grid-template-columns: 1fr; } }

/* About */
.about-grid { grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); }
.about-grid > div > p { color: var(--ink-soft); }
.about-list { margin: 1.75rem 0 0; display: grid; gap: 0.9rem; }
.about-list li { display: block; position: relative; padding-left: 1.85rem; margin: 0; line-height: 1.55; color: var(--ink-soft); }
.about-list li strong { color: var(--navy); }
.about-list li::before { content: ""; position: absolute; left: 0; top: 0.18em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%238A1E30' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center / 0.8rem no-repeat; }
.photo.about-photo { aspect-ratio: 3 / 2; min-height: 0; }
.contact-info-compact { margin-top: 1.25rem; }

/* Contact */
.contact-grid { grid-template-columns: 1.35fr 0.65fr; gap: clamp(1.5rem, 4vw, 3rem); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: 0 12px 36px rgba(17,30,51,.07); }
.form-title { font-size: 1.35rem; margin-bottom: 0.35rem; }
.form-intro { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.15rem; }
.form-group label { font-size: 0.875rem; font-weight: 600; margin-bottom: 0.4rem; }
.form-group input, .form-group select, .form-group textarea { border-color: #c5cdd7; border-radius: var(--radius-sm); padding: 0.75rem 0.9rem; min-height: 48px; font-size: 1rem; transition: border-color .15s, box-shadow .15s; }
.form-group input:hover, .form-group select:hover, .form-group textarea:hover { border-color: #9aa8b8; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .2); }
.form-group input::placeholder, .form-group textarea::placeholder { color: #6b7a8f; }
.form-group .file-input-visually { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.file-drop { position: relative; background: #f8f9fb; border-color: #c5cdd7; padding: 1.25rem; }
.file-drop-title { margin: 0; font-weight: 550; color: var(--navy); }
.form-card .btn[type="submit"] { width: 100%; margin-top: 0.25rem; }
.form-privacy { text-align: center; }
.field-error { font-weight: 550; }
.form-status.success-panel { padding: 1.75rem; border-radius: var(--radius); }
.form-status.success-panel h3 { color: #154a2e; font-size: 1.3rem; margin-bottom: 0.5rem; }
.form-status.success-panel p { margin: 0 0 0.75rem; }
.form-status.success-panel a { color: #154a2e; font-weight: 600; text-decoration: underline; }
.form-status.success-panel .btn { margin-top: 0.5rem; }
.contact-info { padding: 2rem; border-radius: var(--radius); background: linear-gradient(160deg, #0b1424 0%, var(--navy) 100%); }
.contact-info h2 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.contact-info > p { color: rgba(255,255,255,0.78); margin-bottom: 1.5rem; }
.contact-dl { margin: 0; display: grid; gap: 1.1rem; }
.contact-dl > div { padding-top: 1.1rem; border-top: 1px solid rgba(255,255,255,0.12); }
.contact-dl > div:first-child { padding-top: 0; border-top: 0; }
.contact-dl dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.62); font-weight: 650; margin-bottom: 0.25rem; }
.contact-dl dd { margin: 0; color: #fff; overflow-wrap: anywhere; }
.contact-info a { color: #fff; }
.contact-info a:hover { color: #F0B7C0; }
@media (min-width: 901px) { .contact-grid > .contact-info { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* 404 */
.h-small { font-size: 1.15rem; margin-bottom: 1.25rem; }
.link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; list-style: none; margin: 0; padding: 0; }
.link-grid a { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.15rem; border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 600; color: var(--navy); }
.link-grid a::after { content: "→"; color: var(--accent); }
.link-grid a:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 760px) { .link-grid { grid-template-columns: 1fr; } }

/* Prose */
.prose h2 { font-size: 1.35rem; margin-top: 2.25rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); }
.page-hero .lead { font-size: 1.1rem; }

/* Footer */
.site-footer { background: #0a1424; padding: 4.5rem 0 2rem; font-size: 0.925rem; color: rgba(255,255,255,0.72); }
.footer-grid { grid-template-columns: 1.5fr 1fr 0.8fr 1.1fr; gap: 2.5rem; margin-bottom: 3.25rem; }
.footer-logo { height: 52px; margin-bottom: 1.25rem; }
.footer-brand p { max-width: 22rem; margin: 0 0 1rem; color: rgba(255,255,255,0.72); }
.footer-hq { font-size: 0.875rem; color: rgba(255,255,255,0.62) !important; line-height: 1.7; }
.site-footer h2 { font-family: var(--font); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.14em; color: #fff; margin-bottom: 1.1rem; }
.footer-links li { margin-bottom: 0.6rem; }
.site-footer a { color: rgba(255,255,255,0.8); overflow-wrap: anywhere; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.5rem; font-size: 0.825rem; color: rgba(255,255,255,0.62); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.footer-bottom .footer-legal a { margin: 0; text-decoration: none; color: rgba(255,255,255,0.72); }
.footer-bottom .footer-legal a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } .footer-bottom { flex-direction: column; align-items: flex-start; } }

/* Mobile header & nav polish */
@media (max-width: 768px) {
  .nav-list a { font-family: var(--font); font-weight: 600; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .btn-lg { width: 100%; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .cap-card, .cap-card::after, .text-link::after, .card-link::after, .btn { transition: none !important; }
  .cap-card:hover, .cap-card:focus-visible { transform: none; }
}

/* Print */
@media print {
  @page { margin: 1.6cm; }
  body { font-size: 11pt; color: #000; background: #fff; display: block; }
  .site-header { position: static; border: 0; }
  .nav, .nav-toggle, .skip-link, .jump-nav, .hero-media, .cta-band, .turnstile-wrap, .file-drop, .btn, .footer-grid > div:not(.footer-brand) { display: none !important; }
  .hero, .page-hero, .contact-info, .site-footer { background: #fff !important; color: #000 !important; padding: 1rem 0 !important; }
  .hero::after, .page-hero::after, .cta-band::before { display: none; }
  .hero h1, .page-hero h1, .page-hero p, .hero-lead, .contact-info *, .site-footer * { color: #000 !important; }
  .section { padding: 1.25rem 0; }
  .cap-card, .ind-card, .steps li, .photo, .form-card { box-shadow: none !important; break-inside: avoid; }
  .cap-detail { break-inside: avoid; grid-template-columns: 1fr 200px; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  .footer-logo { filter: invert(1); }
}
.cap-card h3, .steps h3, .ind-card h2 { text-wrap: pretty; }
.ind-strip { grid-template-columns: 1fr auto; grid-template-areas: "head link" "tags tags"; gap: 1.5rem 2rem; align-items: end; }
.ind-strip > div { grid-area: head; }
.ind-strip .tag-list { grid-area: tags; }
.ind-strip .text-link { grid-area: link; }
@media (max-width: 700px) { .ind-strip { grid-template-columns: 1fr; grid-template-areas: "head" "tags" "link"; } }
@media (max-width: 560px) {
  .steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 0.85rem; align-items: baseline; }
  .steps .step-num { border: 0; padding: 0; margin: 0; }
  .steps h3 { margin-bottom: 0.35rem; }
  .steps p { grid-column: 1 / -1; }
}
.nowrap { white-space: nowrap; }
.form-group textarea { min-height: 150px; }
.contact-info h2 + .contact-dl { margin-top: 1.25rem; }
.ind-card { border-top: 1px solid var(--line); position: relative; }
.ind-card::before { content: ""; position: absolute; top: -1px; left: 1.6rem; width: 2.25rem; height: 3px; background: var(--accent); border-radius: 0 0 2px 2px; }
.ind-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1.25rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--line); list-style: none; }
.ind-tags li { font-size: 0.78rem; font-weight: 600; color: var(--navy); background: #f3f5f8; border-radius: 999px; padding: 0.3rem 0.65rem; white-space: nowrap; }
.ind-card { justify-content: flex-start; }
.ind-card p { flex: 1 0 auto; }
.about-grid > *, .contact-grid > *, .feature-split > *, .cap-detail > * { min-width: 0; }
.file-drop-hint a, .form-privacy a { text-decoration: underline; text-underline-offset: 2px; }
.form-card.is-sent .form-title, .form-card.is-sent .form-intro { display: none; }
.form-card.is-sent .form-status.success-panel { margin: 0; }

/* Contact routing (team voice) */
.field-hint { font-size: 0.85rem; color: var(--ink-soft); margin: 0.35rem 0 0; }
.route-list { list-style: none; margin: 1.25rem 0 1.5rem; padding: 0; display: grid; gap: 0.9rem; }
.route-list li { border: 1px solid rgba(255,255,255,0.16); border-radius: calc(var(--radius) * 0.75); padding: 1rem 1.1rem; background: rgba(255,255,255,0.04); }
.route-list h3 { color: var(--white); font-size: 1rem; margin: 0 0 0.35rem; }
.route-list p { font-size: 0.92rem; margin: 0 0 0.6rem; color: rgba(255,255,255,0.86); }
.contact-info .route-list a:hover { color: #f3c6ce; }
