/* Remote Access Logistics, Inc. — first public website
   Palette sampled from the official logo (navy + gold). */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Variable.woff") format("woff");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Italic-Variable.woff") format("woff");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/SourceSans3-Variable.woff") format("woff");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/SourceSans3-Italic-Variable.woff") format("woff");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --navy: #002048;
  --navy-deep: #001433;
  --navy-soft: #16325c;
  --gold: #c08f43;
  --gold-deep: #9a7030;
  --gold-light: #e8d5a8;
  --cream: #f6f3ec;
  --cream-dark: #ece7dc;
  --ink: #1c2430;
  --muted: #4a5563;
  --line: #d6d0c4;
  --white: #ffffff;
  --focus: #c08f43;
  --max: 72rem;
  --content: 42rem;
  --header-h: 4.5rem;
  --font-serif: "Cormorant Garamond", "Palatino Linotype", Palatino, "Iowan Old Style", Georgia, serif;
  --font-sans: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 1px 2px rgba(0, 32, 72, 0.06), 0 8px 24px rgba(0, 32, 72, 0.06);
  --radius: 0.4rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--gold-deep);
}

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

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -100px;
  z-index: 100;
  background: var(--navy);
  color: var(--cream);
  padding: 0.5rem 1rem;
  font-weight: 600;
}

.skip-link:focus {
  top: 0.75rem;
  color: var(--cream);
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(48rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header
   ------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 243, 236, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-h);
}

.logo-link {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo-link img {
  height: 3.15rem;
  width: auto;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.nav-toggle-btn,
.nav-toggle-btn:hover {
  display: none;
  color: var(--navy);
}

/* Hero
   ------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: clamp(2.75rem, 7vw, 5.5rem) 0 clamp(3.25rem, 8vw, 6.25rem);
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--cream) 0%, #f3efe6 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -4rem;
  top: 1.5rem;
  width: min(28rem, 55vw);
  height: min(28rem, 55vw);
  background: url("../assets/fleur.png") no-repeat center / contain;
  opacity: 0.06;
  pointer-events: none;
}

.hero-inner {
  width: min(52rem, calc(100% - 2.5rem));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold-deep);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 1.25rem;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: clamp(2.15rem, 5.2vw, 3.55rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.lead {
  margin: 0 0 1.25rem;
  max-width: 40rem;
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1.55;
}

.hero .honest {
  margin: 0 0 1.75rem;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

.btn-primary:hover {
  background: var(--navy-soft);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--cream);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-meta li {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

/* Sections
   ------------------------------------------------------------------------- */

section {
  padding: clamp(3.25rem, 7vw, 5.5rem) 0;
}

.band-white { background: var(--white); }
.band-cream { background: var(--cream); }
.band-navy {
  background: var(--navy);
  color: var(--cream);
}

.section-head {
  max-width: 42rem;
  margin-bottom: 2.25rem;
}

.section-head h2,
.page-404 h1,
.contact-inner h2 {
  margin: 0.35rem 0 0.85rem;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.6vw, 2.55rem);
  font-weight: 500;
  line-height: 1.18;
}

.band-navy .section-head h2,
.band-navy h2 {
  color: var(--cream);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-head .eyebrow,
.page-404 .eyebrow {
  color: var(--gold-deep);
  margin-bottom: 0;
  font-size: 0.8rem;
}

.band-navy .section-head p,
.band-navy p {
  color: #d7deea;
}

.rule {
  display: block;
  width: 3rem;
  height: 2px;
  background: var(--gold);
  border: 0;
  margin: 0 0 0.85rem;
}

/* Problem cards
   ------------------------------------------------------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem 1.35rem;
  box-shadow: var(--shadow);
}

.band-white .card {
  background: var(--cream);
  box-shadow: none;
}

.card h3 {
  margin: 0 0 0.5rem;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
}

.card p {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
}

.result-note {
  margin: 1.75rem 0 0;
  max-width: 44rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--gold);
  background: var(--cream);
  color: var(--ink);
}

.band-cream .result-note {
  background: var(--white);
}

/* Services + steps
   ------------------------------------------------------------------------- */

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-bottom: 3rem;
}

.service {
  padding: 1.15rem 1.2rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service h3 {
  margin: 0 0 0.45rem;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
}

.service p {
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
}

.subhead {
  margin: 0 0 1.25rem;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 500;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.steps li {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0.9rem;
  align-items: start;
}

.steps .num,
.timeline .num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--gold);
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  background: var(--white);
  border-radius: 50%;
}

.steps h3 {
  margin: 0 0 0.2rem;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
}

.steps p {
  margin: 0;
}

.compliance {
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  max-width: 46rem;
}

/* Estimates
   ------------------------------------------------------------------------- */

.estimate-banner {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.2rem;
  margin-bottom: 1.75rem;
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
}

.estimate-banner strong {
  display: block;
  color: var(--gold-light);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.estimate-banner p {
  margin: 0;
  color: #e8edf5;
  font-size: 1rem;
}

.case {
  margin: 2.25rem 0 0;
  padding: 1.5rem 1.4rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}

.case h3 {
  margin: 0 0 0.35rem;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
}

.case-label {
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.2rem 0.55rem;
  background: var(--navy);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case > p {
  margin: 0 0 1.15rem;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 0 0 1.1rem;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.98rem;
}

caption {
  text-align: left;
  font-weight: 700;
  color: var(--navy);
  padding: 0 0 0.5rem;
  caption-side: top;
}

th, td {
  text-align: left;
  padding: 0.65rem 0.8rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

thead th {
  background: var(--navy);
  color: var(--cream);
  font-weight: 600;
  font-size: 0.9rem;
}

thead th:first-child { border-radius: 2px 0 0 0; }
thead th:last-child { border-radius: 0 2px 0 0; }

tbody th {
  font-weight: 600;
  color: var(--navy);
  background: transparent;
}

.saving-row th,
.saving-row td {
  background: #f3ead6;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 0;
}

.case .reading {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.caveats {
  margin: 2.25rem 0 0;
  padding: 1.4rem 1.4rem 1.5rem;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
}

.caveats h3 {
  margin: 0 0 0.75rem;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
}

.caveats ul {
  margin: 0;
  padding: 0 0 0 1.15rem;
}

.caveats li + li {
  margin-top: 0.55rem;
}

/* Who we serve
   ------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
}

.plain-table {
  background: var(--white);
}

.note {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 1rem;
}

/* Why + status
   ------------------------------------------------------------------------- */

.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
}

.why-list li {
  padding: 1.05rem 1.15rem 1.15rem;
  background: var(--cream);
  border-top: 3px solid var(--gold);
}

@media (min-width: 861px) {
  .why-list li:last-child {
    grid-column: 1 / -1;
  }
}

.why-list h3 {
  margin: 0 0 0.35rem;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
}

.why-list p { margin: 0; }

.status {
  margin-top: 2.5rem;
}

.status dl {
  margin: 0;
  display: grid;
  grid-template-columns: 14rem 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.status dt,
.status dd {
  margin: 0;
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid var(--line);
}

.status dt {
  font-weight: 700;
  color: var(--navy);
  background: var(--cream);
}

.status dd { background: var(--white); }

.next-steps {
  margin: 1.5rem 0 0;
}

.next-steps h3 {
  margin: 0 0 0.6rem;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
}

.next-steps ul {
  margin: 0;
  padding: 0 0 0 1.15rem;
}

.next-steps li + li { margin-top: 0.4rem; }

/* Team
   ------------------------------------------------------------------------- */

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.person {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.4rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.monogram {
  flex: 0 0 auto;
  width: 3.4rem;
  height: 3.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 50%;
}

.person h3 {
  margin: 0 0 0.15rem;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
}

.person p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.team-note {
  margin: 1.5rem 0 0;
  max-width: 44rem;
  color: var(--muted);
}

/* Contact + footer
   ------------------------------------------------------------------------- */

.contact-inner {
  width: min(48rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

.contact-inner .eyebrow {
  color: var(--gold-light);
}

.contact-inner h2 {
  color: var(--cream);
}

.email-block {
  margin: 1.5rem 0 0.5rem;
  padding: 1.15rem 1.25rem;
  background: var(--navy-deep);
  border: 1px solid rgba(192, 143, 67, 0.45);
  border-radius: var(--radius);
}

.email-block .label {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.email-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.85rem;
}

.email-line a {
  color: var(--cream);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 600;
  text-decoration-color: rgba(232, 213, 168, 0.6);
}

.email-line a:hover {
  color: var(--gold-light);
}



.no-address {
  margin: 1.15rem 0 0;
  color: #c5cedb;
  font-size: 0.95rem;
}

.site-footer {
  background: var(--navy-deep);
  color: #c5cedb;
  padding: 1.75rem 0 2rem;
  border-top: 3px solid var(--gold);
  font-size: 0.92rem;
}

.footer-inner {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
  display: grid;
  gap: 0.5rem;
}

.site-footer p { margin: 0; }

.site-footer strong {
  color: var(--cream);
  font-weight: 600;
}

/* 404
   ------------------------------------------------------------------------- */

.page-404 {
  min-height: calc(100vh - 12rem);
  display: flex;
  align-items: center;
  padding: 4rem 0;
}

.page-404 .wrap-narrow { text-align: left; }

.page-404 p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.15rem;
}

/* Responsive
   ------------------------------------------------------------------------- */

@media (max-width: 860px) {
  .card-grid,
  .services,
  .split,
  .why-list,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .status dl {
    grid-template-columns: 1fr;
  }

  .status dt {
    padding-bottom: 0.15rem;
    border-bottom: 0;
  }

  .status dd {
    padding-top: 0.15rem;
  }

  .header-inner {
    width: calc(100% - 1.75rem);
  }

  .nav-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: transparent;
    border: 1px solid var(--navy);
    color: var(--navy);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.4rem 0.7rem;
    cursor: pointer;
  }

  .nav-toggle-btn:hover {
    background: var(--navy);
    color: var(--cream);
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 0.5rem 0 0.85rem;
  }

  #nav-toggle:checked ~ .site-nav {
    display: block;
  }

  .header-inner {
    position: relative;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(var(--max), calc(100% - 1.75rem));
    margin-inline: auto;
  }

  .site-nav a {
    display: block;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
  }

  .wrap,
  .hero-inner,
  .contact-inner,
  .footer-inner,
  .wrap-narrow {
    width: calc(100% - 1.75rem);
  }
}

@media (max-width: 640px) {
  body { font-size: 1.02rem; }

  .case { padding: 1.15rem 0.95rem 1.25rem; }

  .email-line a { overflow-wrap: anywhere; }


  .logo-link img { height: 2.65rem; }

  /* Stack tables for readability */
  .stack-sm thead { display: none; }

  .stack-sm tr {
    display: block;
    padding: 0.45rem 0 0.6rem;
    border-bottom: 2px solid var(--line);
  }

  .stack-sm tbody th {
    display: block;
    border-bottom: 0;
    padding: 0.3rem 0.65rem 0.15rem;
  }

  .stack-sm td {
    display: grid;
    grid-template-columns: minmax(7rem, 36%) 1fr;
    gap: 0.35rem 0.8rem;
    align-items: start;
    border-bottom: 0;
    padding: 0.2rem 0.65rem;
  }

  .stack-sm td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--navy);
  }

  .saving-row th,
  .saving-row td { background: #f3ead6; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  .site-header, .hero-actions, .skip-link, .nav-toggle-btn { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: inherit; }
  .band-navy, .site-footer, .estimate-banner, .email-block {
    background: #fff !important;
    color: #000 !important;
    border: 1px solid #ccc;
  }
  .band-navy h2, .contact-inner h2, .email-line a { color: #000 !important; }
}


/* =========================================================================
   v2 additions — motion, hero split, map, regions, missions, timeline,
   charts, values, FAQ. Respects prefers-reduced-motion.
   ========================================================================= */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(1.15rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.site-header {
  border-top: 3px solid var(--navy);
}

.hero-split {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3.25rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero::after {
  /* keep fleur, but tuck it behind the photo column */
  right: 42%;
  opacity: 0.045;
}

.hero-photo {
  position: relative;
  margin: 0;
}

.hero-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.hero-photo figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.gold-frame {
  position: relative;
  display: block;
}
.gold-frame img {
  display: block;
}


.gold-frame::before {
  content: "";
  position: absolute;
  inset: 0.55rem;
  border: 1px solid rgba(192, 143, 67, 0.55);
  pointer-events: none;
  z-index: 1;
}

.kicker {
  margin: 0 0 1.25rem;
  max-width: 38rem;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.4;
}

/* Photo journal / region gallery
   ------------------------------------------------------------------------- */

.photo-note {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.map-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1rem 0.85rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow);
}

.map-panel svg {
  width: 100%;
  height: auto;
  display: block;
}

.map-caption {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.regions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.region {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

a.region { text-decoration: none; color: inherit; }

.region:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.region img {
  width: 100%;
  height: 11.5rem;
  object-fit: cover;
  background: var(--navy);
}

.region-body {
  padding: 1.05rem 1.15rem 1.2rem;
  flex: 1;
}

.region-body .tag {
  display: inline-block;
  margin-bottom: 0.4rem;
  color: var(--gold-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.region-body h3 {
  margin: 0 0 0.45rem;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.2;
}

.region-body p {
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
}

.region-illus {
  height: 11.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #d7e4ef 0%, #e8eef4 55%, #f3efe6 100%);
}

.region-illus svg {
  width: 7.5rem;
  height: auto;
}

/* Missions
   ------------------------------------------------------------------------- */

.missions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.mission {
  padding: 1.2rem 1.2rem 1.3rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.mission:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}

.mission .icon {
  width: 2.1rem;
  height: 2.1rem;
  margin-bottom: 0.7rem;
  color: var(--gold-deep);
}

.mission .icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.mission h3 {
  margin: 0 0 0.4rem;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
}

.mission p {
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
}

/* Visual timeline
   ------------------------------------------------------------------------- */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 1.3rem;
  left: 8%;
  right: 8%;
  height: 2px;
  background: var(--gold);
  z-index: 0;
}

.timeline li {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 0.35rem;
}

.timeline .num {
  margin: 0 auto 0.75rem;
}

.timeline h3 {
  margin: 0 0 0.35rem;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.25;
}

.timeline p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink);
  text-align: left;
}

/* Charts
   ------------------------------------------------------------------------- */

.chart-block {
  margin: 0 0 1.2rem;
  padding: 1rem 1rem 0.85rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.chart-block h4 {
  margin: 0 0 0.85rem;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
}

.chart-block .est-tag {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.1rem 0.4rem;
  background: var(--navy);
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  vertical-align: middle;
}

.bar-row {
  display: grid;
  grid-template-columns: 8.5rem 1fr 8.5rem;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 0.7rem;
}

.bar-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
}

.bar-track {
  position: relative;
  height: 1.35rem;
  background: var(--cream-dark);
  border-radius: 2px;
  overflow: hidden;
}

.bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  border-radius: 2px;
  transition: width 0.9s ease;
}

.reveal.in .bar,
.bar.ready {
  width: var(--w);
}

.bar-conventional {
  left: var(--start, 0);
  background: var(--navy);
}

.bar-ral {
  left: var(--start, 0);
  width: 0;
  background: var(--gold);
}

.reveal.in .bar-ral,
.bar-ral.ready {
  width: var(--w);
}

.bar-val {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.8rem;
  color: var(--muted);
}

.chart-legend span {
  display: inline-block;
  width: 0.75rem;
  height: 0.75rem;
  margin-right: 0.35rem;
  vertical-align: -1px;
  border-radius: 1px;
}

.swatch-navy { background: var(--navy); }
.swatch-gold { background: var(--gold); }

/* Values
   ------------------------------------------------------------------------- */

.values-intro {
  max-width: 40rem;
  margin: 0 0 1.75rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.45;
}

/* FAQ
   ------------------------------------------------------------------------- */

.faq {
  display: grid;
  gap: 0.65rem;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 0.95rem 1.15rem;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.05rem;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  float: right;
  color: var(--gold-deep);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1;
}

.faq details[open] summary::after { content: "–"; }

.faq summary:hover { color: var(--navy-soft); }

.faq .answer {
  margin: 0;
  padding: 0 1.15rem 1.1rem;
  color: var(--ink);
  max-width: 46rem;
}

.credits-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.credits-link:hover { color: var(--gold-light); }

.site-footer a {
  color: var(--cream);
}

.site-footer a:hover { color: var(--gold-light); }

@media (max-width: 860px) {
  .hero-split,
  .regions,
  .missions {
    grid-template-columns: 1fr;
  }

  .hero-split {
    width: calc(100% - 1.75rem);
  }

  .hero::after { right: -4rem; }

  .timeline {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .timeline::before {
    top: 0;
    bottom: 0;
    left: 1.25rem;
    right: auto;
    width: 2px;
    height: auto;
  }

  .timeline li {
    display: grid;
    grid-template-columns: 2.6rem 1fr;
    gap: 0.85rem;
    text-align: left;
    align-items: start;
  }

  .timeline .num { margin: 0; }

  .bar-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
    margin-bottom: 0.95rem;
  }

  .bar-val { justify-self: end; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .region:hover,
  .mission:hover { transform: none; }
  .bar,
  .bar-ral { transition: none; }
}

.spot-photo {
  margin: 1.5rem auto 0;
  max-width: 28rem;
}

/* Batch additions: story, vessel photography, forms, partners, legal
   ------------------------------------------------------------------------- */

.site-nav ul {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 2.25rem 2.5rem;
  align-items: start;
}

.story-copy p {
  margin: 0 0 1rem;
  max-width: 42rem;
}

.story-copy p:last-child { margin-bottom: 0; }

.story-photo figure { margin: 0; }

.story-photo img,
.journal-grid img,
.partner-photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.story-photo figcaption,
.journal-grid figcaption,
.partner-photo figcaption,
.photo-credit {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
}

.journal-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.1fr 1fr;
  gap: 1rem;
  margin: 2.25rem 0 0;
  align-items: start;
}

.journal-grid figure { margin: 0; }

.photo-credit {
  margin-top: 1rem;
}

.photo-credit a { color: inherit; }

.partners-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem 2.5rem;
  align-items: start;
}

.partners-intro p { margin: 0 0 1rem; max-width: 40rem; }

.inquiry-form {
  display: grid;
  gap: 0.85rem;
  margin: 1.25rem 0 0;
}

.inquiry-form .form-row {
  display: grid;
  gap: 0.3rem;
}

.inquiry-form .form-row.two {
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.inquiry-form label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

.band-navy .inquiry-form label { color: var(--gold-light); }

.inquiry-form input,
.inquiry-form textarea,
.inquiry-form select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

.band-navy .inquiry-form input,
.band-navy .inquiry-form textarea,
.band-navy .inquiry-form select {
  background: var(--navy-deep);
  border-color: rgba(192, 143, 67, 0.45);
  color: var(--cream);
}

.inquiry-form textarea { min-height: 8.5rem; resize: vertical; }

.inquiry-form .form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.15rem;
  margin-top: 0.25rem;
}

.form-fallback {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
}

.band-navy .form-fallback,
.band-navy .form-status { color: #c5cedb; }

.band-navy .form-fallback a { color: var(--gold-light); }

.form-status {
  margin: 0.35rem 0 0;
  min-height: 1.4em;
  font-weight: 600;
}

.form-status.is-ok { color: #1e6b3a; }
.form-status.is-err { color: #8a2a2a; }
.band-navy .form-status.is-ok { color: #b7e0c4; }
.band-navy .form-status.is-err { color: #f0c0c0; }

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

.contact-downloads {
  margin: 1.25rem 0 0;
}

.contact-downloads a { color: var(--gold-light); }

.legal-page {
  padding: 4.5rem 0 4rem;
  background: var(--white);
  min-height: 60vh;
}

.legal-page h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--navy);
  margin: 0 0 1rem;
  line-height: 1.15;
}

.legal-page h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.45rem;
  color: var(--navy);
  margin: 1.75rem 0 0.5rem;
}

.legal-page p { margin: 0 0 1rem; max-width: 42rem; }


.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  margin-top: 0.65rem;
}

.footer-links a { color: var(--gold-light); }
.footer-links a:hover { color: var(--cream); }

@media (max-width: 52rem) {
  .story-layout,
  .partners-layout,
  .inquiry-form .form-row.two,
  .journal-grid {
    grid-template-columns: 1fr;
  }
  .journal-grid figure:first-child img {
    max-height: 28rem;
    object-fit: cover;
    object-position: center;
  }
}

@media (min-width: 64em) {
  .site-nav a {
    font-size: 0.86rem;
    padding: 0.15rem 0;
  }
  .site-nav ul { gap: 0.35rem 0.95rem; }
}

@media (prefers-reduced-motion: reduce) {
  .inquiry-form input,
  .inquiry-form textarea { transition: none; }
}

.band-navy .btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}
.band-navy .btn-primary:hover,
.band-navy .btn-primary:focus-visible {
  background: var(--gold-light);
  color: var(--navy-deep);
  border-color: var(--gold-light);
}

/* Round 3: mobile-first nav, map explorer, mission filters, charts,
   dark mode, print, media/insights, favicon-independent polish
   ------------------------------------------------------------------------- */

html {
  overflow-x: clip;
}
body {
  overflow-x: clip;
  font-size: 1rem; /* 16px minimum */
  min-height: 100%;
}
body.nav-open {
  overflow: hidden;
}

/* Larger, consistent tap targets */
.btn,
.nav-toggle-btn,
.site-nav a,
.footer-links a,
.filter-bar button,
.map-picks button,
.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea,
.inquiry-form button,
.media-downloads a,
.color-swatch,
details summary {
  min-height: 44px;
}

.nav-toggle-btn {
  display: none;
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding: 0 0.9rem;
  min-width: 44px;
  min-height: 44px;
  border: 1.5px solid var(--navy);
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  border-radius: var(--radius);
  cursor: pointer;
  z-index: 40;
}
.nav-toggle-btn:hover,
.nav-toggle-btn:focus-visible {
  background: var(--navy);
  color: var(--cream);
}

/* Hamburger / drawer below 1200px (covers 360–768 and tight 1280 layouts) */
@media (max-width: 1360px) {
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 4.5rem;
  }
  .nav-toggle-btn { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white, #fff);
    border-bottom: 3px solid var(--gold);
    box-shadow: var(--shadow);
    padding: 0.5rem 0 1rem;
    z-index: 35;
    max-height: calc(100vh - var(--header-h));
    overflow: auto;
  }
  .site-header.is-open .site-nav,
  .site-nav.is-open,
  .nav-toggle-btn[aria-expanded="true"] + .site-nav {
    display: block;
  }
  .site-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0.25rem 1.25rem 0.5rem;
  }
  .site-nav li { width: 100%; }
  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.65rem 0.35rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }
  .site-header {
    position: sticky;
    top: 0;
    z-index: 30;
  }
}

@media (min-width: 1361px) {
  .nav-toggle-btn { display: none !important; }
  .site-nav {
    display: block !important;
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    height: auto;
    max-height: none;
    overflow: visible;
  }
  .site-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.15rem 0.2rem;
    align-items: center;
  }
  .site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.35rem 0.55rem;
    font-size: 0.92rem;
  }
}

/* Map explorer */
.map-explorer {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.8fr);
  gap: 1.25rem 1.5rem;
  align-items: start;
  margin: 0 0 2rem;
}
.map-frame {
  background: var(--map-bg, #eef3f7);
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}
.map-frame svg {
  display: block;
  width: 100%;
  min-width: 280px;
  height: auto;
}
.map-hit {
  cursor: pointer;
  fill: transparent;
  stroke: none;
}
.map-marker {
  fill: var(--gold);
  stroke: var(--navy);
  stroke-width: 1.5;
}
.map-hot.is-active .map-marker,
.map-hot:focus-visible .map-marker,
.map-hot:hover .map-marker {
  fill: var(--navy);
  stroke: var(--gold);
}
.map-hot {
  outline: none;
}
.map-hot:focus-visible .map-hit {
  stroke: var(--gold);
  stroke-width: 3;
  fill: rgba(192, 143, 67, 0.12);
}
.map-label { pointer-events: none; }
.map-side {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
}
.map-picks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.map-picks button {
  appearance: none;
  font: inherit;
  text-align: left;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  background: var(--white, #fff);
  color: var(--ink);
  border-radius: var(--radius);
  cursor: pointer;
  line-height: 1.3;
}
.map-picks button strong { display: block; color: var(--navy); font-size: 0.95rem; }
.map-picks button span { display: block; font-size: 0.8rem; color: var(--muted); }
.map-picks button.is-active,
.map-picks button[aria-pressed="true"] {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 2px var(--gold);
  background: var(--cream);
}
.map-detail {
  border: 1px solid var(--line);
  background: var(--white, #fff);
  border-radius: var(--radius);
  padding: 0.9rem 1rem 1rem;
  min-height: 8rem;
}
.map-detail h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--navy);
}
.map-detail p { margin: 0 0 0.5rem; }
.map-detail-tag {
  margin: 0 0 0.25rem !important;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.region.is-active {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (max-width: 52rem) {
  .map-explorer,
  .map-picks { grid-template-columns: 1fr; }
}

/* Mission explorer */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
}
.filter-bar button {
  appearance: none;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  background: var(--white, #fff);
  color: var(--navy);
  border-radius: 999px;
  cursor: pointer;
}
.filter-bar button.is-active,
.filter-bar button[aria-pressed="true"] {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}
.filter-status {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Cost-case visuals */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  margin: 1rem 0;
}
.table-scroll table { min-width: 18rem; width: 100%; }
.chart {
  margin: 1rem 0 1.25rem;
  padding: 0.9rem 1rem 1rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.chart-caption {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.chart-row { margin: 0 0 0.85rem; }
.chart-row:last-child { margin-bottom: 0; }
.chart-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.92rem;
  margin: 0 0 0.3rem;
  flex-wrap: wrap;
}
.chart-track {
  position: relative;
  height: 1.35rem;
  background: rgba(0, 32, 72, 0.08);
  border-radius: 999px;
  overflow: hidden;
}
.chart-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--navy);
  min-width: 2px;
}
.chart-fill.ral {
  background: var(--gold);
}
.chart-range {
  position: relative;
  height: 1.35rem;
  background: rgba(0, 32, 72, 0.08);
  border-radius: 999px;
}
.chart-range-span {
  position: absolute;
  top: 0;
  bottom: 0;
  background: var(--gold);
  border-radius: 999px;
  opacity: 0.95;
}
.chart-note {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Forms: large, labeled, phone-friendly */
.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  min-height: 44px;
  font-size: 1rem; /* iOS zoom prevention */
  padding: 0.7rem 0.8rem;
}
.inquiry-form textarea { min-height: 8.5rem; }
.field-error {
  min-height: 1.2em;
  margin: 0.15rem 0 0;
  color: #8a2a2a;
  font-size: 0.9rem;
  font-weight: 600;
}
.band-navy .field-error { color: #f0c0c0; }
[aria-invalid="true"] {
  border-color: #b42318 !important;
  outline: 2px solid #b42318;
  outline-offset: 1px;
}

/* Legal / insights / media pages */
.legal-page, .article-page, .media-page, .page-404 {
  padding: 3.5rem 0 4rem;
  background: var(--white, #fff);
}
.article-page h1, .media-page h1, .legal-page h1, .page-404 h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 2.9rem);
  color: var(--navy);
  margin: 0 0 1rem;
  line-height: 1.15;
}
.article, .media-block {
  max-width: 42rem;
  margin: 0 0 2.75rem;
}
.article h2 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--navy);
  margin: 0 0 0.6rem;
}
.sources {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  background: var(--cream);
  border-left: 3px solid var(--gold);
  font-size: 0.95rem;
}
.sources strong { display: block; margin-bottom: 0.3rem; color: var(--navy); }
.sources ol, .sources ul { margin: 0; padding-left: 1.2rem; }
.sources li { margin: 0.25rem 0; }
.insights-list { display: grid; gap: 1rem; margin: 0 0 2.5rem; }
.insights-list a {
  display: block;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  min-height: 44px;
}
.insights-list a:hover { border-color: var(--gold); }
.insights-list h2 { font-size: 1.25rem; margin: 0 0 0.3rem; color: var(--navy); }
.insights-list p { margin: 0; color: var(--muted); }

.swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 0.75rem; margin: 1rem 0 1.5rem; }
.color-swatch {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 6.5rem;
  padding: 0.7rem 0.8rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
}
.color-swatch span { display: block; }
.swatch-navy { background: #002048; }
.swatch-gold { background: #c08f43; color: #002048; }
.swatch-gold-deep { background: #9a7030; }
.swatch-cream { background: #f6f3ec; color: #002048; }
.swatch-ink { background: #1c2430; }

.media-downloads {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
}
.media-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  min-width: 0;
}
.media-card img {
  width: 100%;
  height: auto;
  max-height: 6.5rem;
  object-fit: contain;
}
.media-card a { font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.logo-on-navy { background: #002048; padding: 0.75rem; border-radius: var(--radius); }

/* 404 */
.page-404 { min-height: 60vh; }
.page-404 .links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.25rem; }

/* Footer links already wrap */
img, svg, video, canvas { max-width: 100%; }
iframe { max-width: 100%; }

/* Dark mode */
@media (prefers-color-scheme: dark) {
  :root {
    --cream: #121c2c;
    --cream-dark: #0c1624;
    --white: #162338;
    --ink: #e8eef5;
    --muted: #b7c3d2;
    --line: #2c3e58;
    --shadow: 0 1px 2px rgba(0,0,0,0.4), 0 8px 24px rgba(0,0,0,0.35);
    --map-bg: #0e1a2b;
  }
  body { background: #0b1524; color: var(--ink); }
  .site-header {
    background: #0b1524;
    border-bottom-color: #2c3e58;
  }
  .band-white, .legal-page, .article-page, .media-page, .page-404 { background: #0b1524; }
  .band-cream { background: #121c2c; }
  .band-navy { background: #07101c; }
  h1, h2, h3, h4, .site-nav a, .logo-link, .article-page h1, .media-page h1,
  .map-detail h3, .insights-list h2, .filter-bar button { color: #eef3f7; }
  .site-nav a:hover, a { color: #e8d5a8; }
  .btn-primary { background: #c08f43; color: #001433; border-color: #c08f43; }
  .btn-secondary { color: #e8d5a8; border-color: #c08f43; }
  .btn-secondary:hover { background: #c08f43; color: #001433; }
  .nav-toggle-btn { background: #162338; color: #e8d5a8; border-color: #c08f43; }
  .nav-toggle-btn:hover { background: #c08f43; color: #001433; }
  @media (max-width: 1360px) {
    .site-nav { background: #121c2c; }
  }
  .map-picks button, .map-detail, .filter-bar button, .insights-list a,
  .media-card, .chart, .sources, .email-block {
    background: #162338;
    border-color: #2c3e58;
    color: #e8eef5;
  }
  .filter-bar button.is-active { background: #c08f43; color: #001433; border-color: #c08f43; }
  .map-picks button.is-active { background: #1c2c44; }
  .inquiry-form input, .inquiry-form textarea, .inquiry-form select {
    background: #0b1524;
    color: #e8eef5;
    border-color: #2c3e58;
  }
  .chart-track, .chart-range { background: rgba(232, 213, 168, 0.12); }
  .chart-fill { background: #8eb4e8; }
  .field-error { color: #f0c0c0; }
  .tbd-ink { color: #e8d5a8; }
}

/* Print */
@media print {
  .site-header, .nav-toggle-btn, .hero-actions, .skip-link, .filter-bar,
  .inquiry-form, .site-nav { display: none !important; }
  body, .band-white, .band-cream, .band-navy, .site-footer, .estimate-banner,
  .email-block, .chart, .map-detail {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
  }
  a { color: #000 !important; text-decoration: underline; }
  .map-explorer { grid-template-columns: 1fr; }
  img { break-inside: avoid; }
  .article, .case { break-inside: avoid; }
}

@media (max-width: 640px) {
  .wrap { width: min(var(--max), calc(100% - 1.5rem)); }
  .contact-inner, .footer-inner { width: min(48rem, calc(100% - 1.5rem)); }
  .hero-photo, .story-photo img, .journal-grid img { margin-inline: 0; }
  .inquiry-form .form-row.two { grid-template-columns: 1fr; }
  .timeline { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle-btn, .filter-bar button, .map-picks button, .chart-fill {
    transition: none;
  }
}

/* Nav button must stay visible on hover in the drawer breakpoint */
.header-inner { position: relative; }
@media (max-width: 1360px) {
  .nav-toggle-btn,
  .nav-toggle-btn:hover,
  .nav-toggle-btn:focus,
  .nav-toggle-btn:focus-visible {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
}
@media (min-width: 1361px) {
  .nav-toggle-btn,
  .nav-toggle-btn:hover { display: none !important; }
}
.map-explorer .map-caption {
  grid-column: 1 / -1;
  margin: 0;
}
.logo-dark { display: none; }
.logo-link img.logo-light, .logo-link img.logo-dark {
  height: 3.15rem;
  width: auto;
}

@media (prefers-color-scheme: dark) {
  .logo-light { display: none !important; }
  .logo-dark { display: block !important; }
  .hero h1,
  #hero-title {
    color: #f4f1ea !important;
  }
  .hero .lead,
  .hero .honest,
  .hero p {
    color: #d5deea !important;
  }
  .hero .kicker,
  .hero .eyebrow {
    color: #e8d5a8 !important;
  }
  .hero-meta li {
    background: #162338 !important;
    color: #e8d5a8 !important;
    border-color: #c08f43 !important;
  }
  figcaption,
  .hero-photo figcaption,
  .photo-credit,
  .map-caption {
    color: #b7c3d2 !important;
  }
  .section-head h2,
  .section-head p,
  .band-white h2, .band-white h3, .band-white p,
  .band-cream h2, .band-cream h3, .band-cream p,
  .values-intro, .team-note, .story-copy p,
  .partners-intro p, .why-list h3, .why-list p,
  .faq summary, .faq p, .case h3, .case p,
  .status h3, .status p, .status dt, .status dd,
  .timeline h3, .timeline p, .service h3, .service p,
  .mission h3, .mission p, .region-body h3, .region-body p,
  .card h3, .card p {
    color: #e8eef5;
  }
  .section-head p, .region-body p, .card p, .mission p, .honest, .muted {
    color: #c5d0dc;
  }
  .region, .card, .mission, .service, .case, .status {
    background: #162338;
    border-color: #2c3e58;
  }
  .site-header {
    background: rgba(11, 21, 36, 0.94);
    border-bottom-color: #2c3e58;
  }
}

/* Theme + language tools */
.chrome-tools {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.lang-switch a,
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 0.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white, #fff);
  color: var(--navy);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.lang-switch a[aria-current="true"],
.lang-switch a.is-active {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}
.theme-toggle[data-mode="dark"] { background: var(--navy); color: var(--cream); border-color: var(--gold); }

.i18n-banner {
  background: #002048;
  color: #f6f3ec;
  text-align: center;
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
}
.i18n-banner a { color: #e8d5a8; }

/* Hero route animation (decorative, not the LCP image) */
.hero-route {
  position: absolute;
  inset: auto 0 0 auto;
  width: min(46%, 28rem);
  height: auto;
  pointer-events: none;
  opacity: 0.55;
  z-index: 0;
}
.hero-inner, .hero-copy, .hero-photo { position: relative; z-index: 1; }
.hero-route .route-line {
  fill: none;
  stroke: #c08f43;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 720;
  stroke-dashoffset: 720;
  animation: ral-draw-route 20s ease-in-out infinite;
}
.hero-route .route-dot { fill: #c08f43; }
@keyframes ral-draw-route {
  0% { stroke-dashoffset: 720; opacity: 0.2; }
  12% { opacity: 1; }
  45% { stroke-dashoffset: 0; opacity: 1; }
  70% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 720; opacity: 0.2; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-route .route-line {
    animation: none;
    stroke-dashoffset: 0;
    opacity: 1;
  }
}
@media (max-width: 700px) {
  .hero-route {
    width: 70%;
    opacity: 0.28;
    right: -8%;
    bottom: 0;
  }
}

/* Seasons calendar */
.calendar-note, .tracker-note {
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--gold);
  background: var(--cream);
  margin: 0 0 1.25rem;
}
.season-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.season-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 36rem;
  font-size: 0.88rem;
}
.season-table th, .season-table td {
  border: 1px solid var(--line);
  padding: 0.4rem 0.3rem;
  text-align: center;
  vertical-align: middle;
}
.season-table th[scope="row"] { text-align: left; padding-left: 0.6rem; min-width: 9rem; color: var(--navy); }
.season-table .band-open { background: #c08f43; color: #001433; font-weight: 700; }
.season-table .band-lean { background: #e8d5a8; color: #002048; }
.season-table .band-off { background: var(--white, #fff); color: var(--muted); }
.season-legend { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; margin: 0.75rem 0 1rem; font-size: 0.9rem; }
.season-legend span { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; }
.legend-swatch { width: 1.1rem; height: 1.1rem; border-radius: 2px; border: 1px solid var(--line); display: inline-block; }
.legend-swatch.open { background: #c08f43; }
.legend-swatch.lean { background: #e8d5a8; }
.legend-swatch.off { background: #fff; }

/* Quote form section */
#quote .inquiry-form { max-width: 40rem; }

/* Region pages */
.region-page { padding: 3.5rem 0 4rem; background: var(--white, #fff); }
.region-page h1 { font-family: var(--font-serif); font-size: clamp(2rem,5vw,2.9rem); color: var(--navy); margin: 0 0 1rem; line-height: 1.15; }
.region-hero-photo { margin: 0 0 1.5rem; }
.region-hero-photo img { width: 100%; height: auto; border-radius: var(--radius); }
.region-page .sources { margin-top: 1.5rem; }

/* Mission tracker */
.tracker-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 1.25rem;
  align-items: start;
}
.tracker-map {
  background: var(--map-bg, #eef3f7);
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  overflow: auto;
  max-width: 100%;
}
.tracker-map svg { display: block; width: 100%; height: auto; min-width: 280px; }
.tracker-route { cursor: pointer; fill: none; stroke: #9a7030; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 7 6; }
.tracker-route.is-active { stroke: #002048; stroke-width: 4.5; stroke-dasharray: none; }
.tracker-badge-map {
  font-family: var(--font-sans); font-size: 9px; font-weight: 700; letter-spacing: 0.08em;
}
.mission-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 1rem 1rem;
  background: var(--white, #fff);
  margin: 0 0 0.75rem;
  cursor: pointer;
  min-height: 44px;
}
.mission-card.is-active { outline: 2px solid var(--gold); outline-offset: 2px; border-color: var(--gold); }
.mission-card[hidden] { display: none; }
.example-badge {
  display: inline-block;
  margin: 0 0.4rem 0.35rem 0;
  padding: 0.15rem 0.45rem;
  border: 1.5px solid var(--gold);
  color: var(--gold-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: #fff8e8;
}
.status-pill {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--cream);
  color: var(--navy);
}
.status-pill.planning { background: #e8d5a8; }
.status-pill.underway { background: #002048; color: #f6f3ec; }
.status-pill.delivered { background: #1e6b3a; color: #fff; }
.mission-card h3 { margin: 0.2rem 0 0.35rem; font-family: var(--font-serif); font-size: 1.25rem; color: var(--navy); }
.mission-card img { width: 100%; height: auto; border-radius: var(--radius); margin: 0.5rem 0; }
.mission-card .credit { font-size: 0.82rem; color: var(--muted); margin: 0; }
@media (max-width: 52rem) {
  .tracker-layout { grid-template-columns: 1fr; }
}

/* Dark theme via explicit class / data-theme (toggle), in addition to system preference */
html.theme-dark,
html[data-theme="dark"] {
  color-scheme: dark;
}
html.theme-light,
html[data-theme="light"] {
  color-scheme: light;
}
html.theme-dark body,
html[data-theme="dark"] body { background: #0b1524; color: #e8eef5; }
html.theme-dark .site-header,
html[data-theme="dark"] .site-header { background: rgba(11, 21, 36, 0.94); border-bottom-color: #2c3e58; }
html.theme-dark .logo-light,
html[data-theme="dark"] .logo-light { display: none !important; }
html.theme-dark .logo-dark,
html[data-theme="dark"] .logo-dark { display: block !important; }
html.theme-light .logo-dark,
html[data-theme="light"] .logo-dark { display: none !important; }
html.theme-light .logo-light,
html[data-theme="light"] .logo-light { display: block !important; }
html.theme-dark .band-white,
html.theme-dark .legal-page,
html.theme-dark .article-page,
html.theme-dark .media-page,
html.theme-dark .page-404,
html.theme-dark .region-page,
html[data-theme="dark"] .band-white,
html[data-theme="dark"] .legal-page,
html[data-theme="dark"] .article-page,
html[data-theme="dark"] .media-page,
html[data-theme="dark"] .page-404,
html[data-theme="dark"] .region-page { background: #0b1524; }
html.theme-dark .band-cream,
html[data-theme="dark"] .band-cream { background: #121c2c; }
html.theme-dark h1, html.theme-dark h2, html.theme-dark h3,
html.theme-dark .site-nav a, html.theme-dark .hero h1,
html[data-theme="dark"] h1, html[data-theme="dark"] h2, html[data-theme="dark"] h3,
html[data-theme="dark"] .site-nav a, html[data-theme="dark"] .hero h1 { color: #eef3f7; }
html.theme-dark .hero .lead, html.theme-dark .hero .honest,
html[data-theme="dark"] .hero .lead, html[data-theme="dark"] .hero .honest { color: #d5deea; }
html.theme-dark .theme-toggle, html.theme-dark .lang-switch a,
html[data-theme="dark"] .theme-toggle, html[data-theme="dark"] .lang-switch a {
  background: #162338; color: #e8d5a8; border-color: #c08f43;
}
html.theme-dark .mission-card, html.theme-dark .calendar-note, html.theme-dark .tracker-note,
html.theme-dark .season-table th, html.theme-dark .season-table td,
html[data-theme="dark"] .mission-card, html[data-theme="dark"] .calendar-note,
html[data-theme="dark"] .tracker-note { background: #162338; color: #e8eef5; border-color: #2c3e58; }
html.theme-dark .example-badge, html[data-theme="dark"] .example-badge { background: #2a2414; color: #e8d5a8; }

@media (max-width: 1360px) {
  .chrome-tools { order: 2; }
  .nav-toggle-btn { order: 3; }
}
@media (min-width: 1361px) {
  .header-inner { gap: 0.75rem; }
}

/* Mission route draw + pause control */
.tracker-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  margin: 0 0 1rem;
}
.cycle-toggle {
  appearance: none;
  font: inherit;
  font-weight: 700;
  min-height: 44px;
  min-width: 44px;
  padding: 0.45rem 0.9rem;
  border: 1.5px solid var(--navy);
  background: var(--white, #fff);
  color: var(--navy);
  border-radius: var(--radius);
  cursor: pointer;
}
.cycle-toggle[aria-pressed="true"] {
  background: var(--navy);
  color: var(--cream);
}
.tracker-route {
  stroke-linejoin: round;
}
.tracker-route.is-drawing,
.tracker-route.is-active {
  stroke: #002048;
  stroke-width: 4.5;
  stroke-dasharray: none;
}
.tracker-example-label {
  font-family: "Source Sans 3", Helvetica, Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  fill: #9a7030;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .tracker-route {
    transition: none !important;
    stroke-dashoffset: 0 !important;
  }
}

.hero { position: relative; overflow: hidden; }
html.js .cycle-toggle { display: inline-flex; align-items: center; }
.cycle-toggle { display: none; }
.region-body .region-more { margin: 0.6rem 0 0; }
.region-body .region-more a { font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
@media (max-width: 1360px) {
  /* hamburger already defined; keep tools visible */
  .chrome-tools { display: flex; }
}

/* Keep the header from overflowing on narrow phones once language + theme controls are present. */
@media (max-width: 700px) {
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 0.5rem;
    row-gap: 0.35rem;
    width: calc(100% - 1.5rem);
  }
  .logo-link { grid-column: 1; grid-row: 1; }
  .nav-toggle-btn { grid-column: 2; grid-row: 1; justify-self: end; }
  .chrome-tools {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-end;
    gap: 0.3rem;
  }
  .lang-switch a,
  .theme-toggle {
    min-height: 44px;
    min-width: 44px;
    padding: 0 0.4rem;
    font-size: 0.72rem;
  }
  .site-nav { grid-column: 1 / -1; }
}

/* === Form controls (iOS Safari): stacked labels, visible buttons/links, hidden honeypot === */
.inquiry-form {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
  width: 100%;
  max-width: 100%;
  margin: 1.25rem 0 0;
}
.inquiry-form .form-row,
.inquiry-form .form-row > div {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  gap: 0.35rem;
}
.inquiry-form .form-row.two {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
@media (min-width: 52rem) {
  .inquiry-form .form-row.two {
    grid-template-columns: 1fr 1fr;
  }
}
.inquiry-form label {
  display: block;
  width: 100%;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #002048;
}
.band-navy .inquiry-form label,
#contact .inquiry-form label {
  color: #e8d5a8;
}
.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  min-height: 44px;
  padding: 0.7rem 0.8rem;
  border: 1.5px solid #d6d0c4;
  border-radius: 0.4rem;
  background: #ffffff;
  color: #1c2430;
  font-family: inherit;
  font-size: 16px; /* prevent iOS zoom */
  line-height: 1.4;
  appearance: none;
  -webkit-appearance: none;
}
.inquiry-form textarea {
  min-height: 8.5rem;
  resize: vertical;
}
.inquiry-form input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  min-height: 44px;
}
.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus,
.inquiry-form input:focus-visible,
.inquiry-form select:focus-visible,
.inquiry-form textarea:focus-visible {
  outline: 3px solid #c08f43;
  outline-offset: 2px;
  border-color: #c08f43;
}
.band-navy .inquiry-form input,
.band-navy .inquiry-form select,
.band-navy .inquiry-form textarea,
#contact .inquiry-form input,
#contact .inquiry-form select,
#contact .inquiry-form textarea {
  background: #ffffff;
  color: #001433;
  border-color: #c08f43;
}
.inquiry-form .btn,
.inquiry-form button[type="submit"],
.inquiry-form .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  -webkit-appearance: none;
  min-height: 44px;
  padding: 0.7rem 1.25rem;
  border-radius: 0.4rem;
  border: 1.5px solid #002048;
  background: #002048;
  color: #f6f3ec;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
}
.inquiry-form .btn-primary:hover,
.inquiry-form .btn-primary:focus-visible,
.inquiry-form button[type="submit"]:hover,
.inquiry-form button[type="submit"]:focus-visible {
  background: #16325c;
  color: #ffffff;
  border-color: #16325c;
}
.band-navy .inquiry-form .btn-primary,
.band-navy .inquiry-form button[type="submit"],
#contact .inquiry-form .btn-primary,
#contact .inquiry-form button[type="submit"] {
  background: #c08f43;
  color: #001433;
  border-color: #c08f43;
}
.band-navy .inquiry-form .btn-primary:hover,
.band-navy .inquiry-form .btn-primary:focus-visible,
.band-navy .inquiry-form button[type="submit"]:hover,
.band-navy .inquiry-form button[type="submit"]:focus-visible,
#contact .inquiry-form .btn-primary:hover,
#contact .inquiry-form .btn-primary:focus-visible,
#contact .inquiry-form button[type="submit"]:hover,
#contact .inquiry-form button[type="submit"]:focus-visible {
  background: #e8d5a8;
  color: #001433;
  border-color: #e8d5a8;
}

/* Honeypot: off-screen, not visible, not in the tab order (markup also has aria-hidden, tabindex="-1", autocomplete="off") */
.inquiry-form .hp,
form .hp {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  pointer-events: none;
}

/* Mailto links must stay visible on navy, cream, and in dark mode; defeat iOS data-detector fill */
.form-fallback a[href^="mailto:"],
.email-line a[href^="mailto:"],
.band-white a[href^="mailto:"],
.band-cream a[href^="mailto:"],
#partners a[href^="mailto:"],
#quote a[href^="mailto:"] {
  color: #002048 !important;
  -webkit-text-fill-color: #002048 !important;
  text-decoration: underline;
  text-decoration-color: #c08f43;
  text-underline-offset: 0.15em;
}
.band-navy .form-fallback a[href^="mailto:"],
.band-navy .email-line a[href^="mailto:"],
.band-navy a[href^="mailto:"],
#contact a[href^="mailto:"],
#contact .email-line a[href^="mailto:"],
#contact .form-fallback a[href^="mailto:"] {
  color: #e8d5a8 !important;
  -webkit-text-fill-color: #e8d5a8 !important;
  text-decoration: underline;
  text-decoration-color: #c08f43;
  text-underline-offset: 0.15em;
}
.form-fallback {
  margin: 0.85rem 0 0;
  font-size: 1rem;
}
.band-navy .form-fallback,
#contact .form-fallback {
  color: #f6f3ec;
}
a[x-apple-data-detectors] {
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
  text-decoration: inherit !important;
  background-color: transparent !important;
}

html.theme-dark .inquiry-form input,
html.theme-dark .inquiry-form select,
html.theme-dark .inquiry-form textarea,
html[data-theme="dark"] .inquiry-form input,
html[data-theme="dark"] .inquiry-form select,
html[data-theme="dark"] .inquiry-form textarea {
  background: #ffffff;
  color: #001433;
  border-color: #c08f43;
  -webkit-text-fill-color: #001433;
}
html.theme-dark #partners a[href^="mailto:"],
html.theme-dark #quote a[href^="mailto:"],
html.theme-dark .band-cream a[href^="mailto:"],
html.theme-dark .band-white a[href^="mailto:"],
html[data-theme="dark"] #partners a[href^="mailto:"],
html[data-theme="dark"] #quote a[href^="mailto:"],
html[data-theme="dark"] .band-cream a[href^="mailto:"],
html[data-theme="dark"] .band-white a[href^="mailto:"] {
  color: #e8d5a8 !important;
  -webkit-text-fill-color: #e8d5a8 !important;
}
@media (prefers-color-scheme: dark) {
  html:not(.theme-light):not([data-theme="light"]) #partners a[href^="mailto:"],
  html:not(.theme-light):not([data-theme="light"]) #quote a[href^="mailto:"],
  html:not(.theme-light):not([data-theme="light"]) .band-cream a[href^="mailto:"],
  html:not(.theme-light):not([data-theme="light"]) .band-white a[href^="mailto:"] {
    color: #e8d5a8 !important;
    -webkit-text-fill-color: #e8d5a8 !important;
  }
}

/* Opaque sticky header so page content cannot show through the two-row mobile bar. */
.site-header {
  background: #f6f3ec;
}
html.theme-dark .site-header,
html[data-theme="dark"] .site-header {
  background: #0b1524;
  border-bottom-color: #2c3e58;
}
@media (prefers-color-scheme: dark) {
  html:not(.theme-light):not([data-theme="light"]) .site-header {
    background: #0b1524;
    border-bottom-color: #2c3e58;
  }
}
@media (max-width: 700px) {
  :root { --header-h: 7.25rem; }
  .site-header { background: #f6f3ec; }
  html.theme-dark .site-header,
  html[data-theme="dark"] .site-header { background: #0b1524; }
}
