/* Connected Freight Intelligence: site styles.
   Layout: navy bands (header + hero, contact) frame white and fog content bands on one 1240px
   column; copper "lane stripe" dashes carry the logo's road line down the page. */

:root {
  --navy: #0A253F;
  --navy-deep: #061A2C;
  --navy-raised: #133457;
  --copper: #C47A34;
  --copper-hover: #D08A47;
  --copper-text: #9C5A1C;   /* copper dark enough for small text on white and fog */
  --copper-soft: #D9965A;   /* copper light enough for small text on navy */
  --ink: #0A253F;
  --ink-2: #33475C;
  --ink-3: #4B5D70;
  --fog: #F1F4F7;
  --rule: #D7DEE6;
  --hairline: #E1E6EC;
  --field-border: #7D8C9C;
  --placeholder-border: #9AA8B7;
  --white: #FFFFFF;
  --on-navy: #C9D4E0;
  --on-navy-2: #8FA1B5;
  --on-navy-link: #D5DEE8;
  --footer-text: #B4C2D1;
  --paper: #FBEAA2;
  --paper-ink: #34322C;
  --pen: #1F3D99;
  --stamp: #B3362B;
  --ok: #1D6B3A;
  --ok-bg: #E6F1EA;
  --error: #A3261B;
  --error-bg: #FBEDEB;

  --font-sans: "Overpass", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Overpass Mono", ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace;
  --font-hand: "Reenie Beanie", "Segoe Print", "Bradley Hand", cursive;

  --wrap: 77.5rem;
  --gutter: clamp(1rem, 4.5vw, 3.5rem);
  --section-pad: clamp(4rem, 8vw, 7rem);
  --radius: 6px;

  color-scheme: light;
}

/* ---------- Base ---------- */

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

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--navy-deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

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

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: var(--copper);
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- Shared type ---------- */

.eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper-text);
}

.on-navy .eyebrow {
  color: var(--copper-soft);
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 0.78125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  max-width: 50rem;
}

.section-title {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.section-lede {
  margin: 0;
  max-width: 40em;
  font-size: clamp(1.0625rem, 1.35vw, 1.1875rem);
  line-height: 1.6;
  color: var(--ink-2);
  text-wrap: pretty;
}

.on-navy .section-lede {
  color: var(--on-navy);
}

/* ---------- Buttons and links ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0 1.375rem;
  border: 0;
  border-radius: var(--radius);
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.button:active {
  transform: translateY(1px);
}

.button[disabled] {
  cursor: progress;
  opacity: 0.75;
}

.button--copper {
  background: var(--copper);
  color: var(--navy);
}

.button--copper:hover {
  background: var(--copper-hover);
}

.button--outline {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.button--outline:hover {
  background: var(--fog);
}

.button--large {
  min-height: 3.375rem;
  padding: 0 1.625rem;
  font-size: 1.0625rem;
}

.button--compact {
  min-height: 2.75rem;
  padding: 0 1.125rem;
  font-size: 0.9375rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 3.375rem;
  color: var(--white);
  font-size: 1.0625rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 6px;
}

.link-arrow:hover {
  text-decoration-color: var(--copper);
}

.link-arrow svg {
  color: var(--copper);
}

/* ---------- Header and navigation ---------- */

.site-header {
  position: relative;
  z-index: 10;
  background: var(--navy);
  color: var(--white);
}

.site-header__bar {
  display: flex;
  align-items: center;
  gap: 1rem 2rem;
  padding-block: 1.375rem;
}

.brand {
  display: flex;
  flex: 0 1 auto;
  min-width: 0;
  margin-right: auto;
}

.brand img {
  width: auto;
  height: clamp(2.625rem, 4vw, 3.5rem);
}

.nav-desktop {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: inline-block;
  padding-block: 0.75rem;
  color: var(--on-navy-link);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--copper);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.nav-links .nav-signin {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 5px;
}

.nav-mobile summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  color: var(--white);
  list-style: none;
  cursor: pointer;
}

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

.nav-mobile summary::marker {
  content: "";
}

.nav-mobile .icon-close,
.nav-mobile[open] .icon-open {
  display: none;
}

.nav-mobile[open] .icon-close {
  display: block;
}

.nav-mobile__panel {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  padding: 0.5rem var(--gutter) 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--navy);
  box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.6);
}

.nav-mobile__panel ul {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.nav-mobile__panel a {
  display: flex;
  align-items: center;
  min-height: 3.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
}

@media (min-width: 60em) {
  .nav-desktop {
    display: block;
  }

  .nav-mobile {
    display: none;
  }
}

@media (max-width: 24.99em) {
  .site-header__cta {
    display: none;
  }
}

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

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(27.5rem, 100%), 1fr));
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(1.75rem, 4vw, 3.5rem) clamp(4rem, 7vw, 6rem);
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

.hero__title {
  margin: 0;
  font-size: clamp(2.625rem, 4.6vw, 4.25rem);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero__title span {
  display: block;
}

.hero__title .accent {
  color: var(--copper);
}

.hero__lede {
  margin: 0;
  max-width: 34em;
  font-size: clamp(1.125rem, 1.45vw, 1.25rem);
  line-height: 1.6;
  color: var(--on-navy);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.75rem;
  padding-top: 0.5rem;
}

.works-with {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.875rem;
  margin: 0;
  padding-top: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.78125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-navy-2);
}

.works-with .name {
  color: var(--white);
}

/* Separators end a line rather than start one when the list wraps. */
.works-with .name:not(:last-child)::after {
  content: "·";
  margin-left: 0.875rem;
  color: var(--on-navy-2);
}

.lane-stripe {
  height: 6px;
  margin-bottom: 1.5rem;
  background: repeating-linear-gradient(90deg, var(--copper) 0 56px, transparent 56px 96px);
}

/* Hero illustration: a handwritten scale ticket and the haul CFI builds from it */

.hero__figure {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 0.5rem 0.25rem 0;
}

.hero__figure figcaption {
  align-self: flex-end;
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-align: right;
  color: var(--on-navy-2);
}

.ticket-demo {
  display: flex;
  flex-direction: column;
}

.ticket {
  position: relative;
  z-index: 0;
  width: min(100%, 27.5rem);
  padding: 1.25rem 1.375rem 1rem;
  border-radius: 2px;
  background: var(--paper);
  color: var(--paper-ink);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08), 0 30px 50px -18px rgba(0, 0, 0, 0.6);
  transform: rotate(-2.2deg);
  font-family: var(--font-mono);
  font-size: 0.71875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ticket__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.ticket__title {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ticket__name {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.ticket__sub {
  font-size: 0.625rem;
}

.ticket__no {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--stamp);
  white-space: nowrap;
}

.ticket__tear {
  margin: 0.75rem -1.375rem 0.625rem;
  border-top: 1.5px dashed rgba(52, 50, 44, 0.45);
}

.ticket__fields {
  display: grid;
  grid-template-columns: 5.375rem minmax(0, 1fr);
  align-items: end;
  gap: 0.375rem 0.75rem;
  margin: 0;
}

.ticket__fields dt {
  padding-bottom: 5px;
}

.ticket__fields dd {
  margin: 0;
}

.hand {
  display: block;
  padding: 0 4px 1px;
  border-bottom: 1px solid rgba(52, 50, 44, 0.4);
  font-family: var(--font-hand);
  font-size: 1.9375rem;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: none;
  color: var(--pen);
  white-space: nowrap;
}

.picked {
  display: inline-block;
  padding: 0 6px;
  border-radius: 3px;
  background: rgba(196, 122, 52, 0.16);
  box-shadow: 0 0 0 2px var(--copper);
}

.ticket__weights {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 1rem;
  margin: 0.875rem 0 0;
  padding: 0.625rem 0.75rem;
  border: 1px solid rgba(52, 50, 44, 0.3);
  background: rgba(255, 255, 255, 0.35);
  font-size: 0.78125rem;
  font-variant-numeric: tabular-nums;
}

.ticket__weights dd {
  margin: 0;
  text-align: right;
}

.ticket__weights .total {
  font-weight: 700;
}

.ticket__sign {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.ticket__sign > span:first-child {
  padding-bottom: 5px;
  white-space: nowrap;
}

.ticket__sign .hand {
  flex: 1 1 auto;
}

.ticket__foot {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.625rem;
  font-size: 0.59375rem;
  letter-spacing: 0.16em;
  color: var(--stamp);
}

/* Narrow phones: a smaller hand and tighter ticket so the handwriting stays on the paper. */
@media (max-width: 22.5em) {
  .ticket {
    padding-inline: 1rem;
  }

  .ticket__tear {
    margin-inline: -1rem;
  }

  .ticket__fields {
    grid-template-columns: 4.5rem minmax(0, 1fr);
  }

  .hand {
    font-size: 1.625rem;
  }
}

.haul-card {
  position: relative;
  z-index: 1;
  width: min(100%, 24rem);
  margin: -5.25rem 0 0 auto;
  overflow: hidden;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.06), 0 30px 60px -24px rgba(0, 0, 0, 0.7);
}

.haul-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.125rem;
  border-bottom: 1px solid var(--hairline);
}

.haul-card__head > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.haul-card__kicker {
  font-family: var(--font-mono);
  font-size: 0.71875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.haul-card__title {
  font-size: 1.0625rem;
  font-weight: 800;
}

.badge-ok {
  flex: 0 0 auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--ok-bg);
  color: var(--ok);
  font-size: 0.78125rem;
  font-weight: 700;
}

.haul-card__fields {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.5rem 1.125rem;
  margin: 0;
  padding: 0.875rem 1.125rem;
  font-size: 0.90625rem;
}

.haul-card__fields dt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-3);
}

.haul-card__fields dt::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--copper);
}

.haul-card__fields dd {
  margin: 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.haul-card__line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.125rem;
  border-top: 1px solid var(--hairline);
}

.haul-card__line > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.haul-card__line-name {
  font-size: 0.9375rem;
  font-weight: 800;
}

.haul-card__line-calc {
  font-family: var(--font-mono);
  font-size: 0.71875rem;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}

.haul-card__amount {
  font-size: 1.1875rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* ---------- Content sections ---------- */

.section {
  padding-block: var(--section-pad);
}

.section--white {
  background: var(--white);
}

.section--fog {
  background: var(--fog);
}

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

.stack {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vw, 4rem);
}

/* What we do */

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(18.75rem, 100%), 1fr));
  gap: 2.75rem 3rem;
}

.pillar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
  padding-top: 1.625rem;
  border-top: 3px solid var(--navy);
}

.pillar__icon {
  width: 2rem;
  height: 2rem;
  color: var(--copper-text);
}

.pillar h3,
.step h3,
.founder h3 {
  margin: 0;
  font-size: 1.4375rem;
  line-height: 1.2;
  font-weight: 800;
}

.pillar__lead {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.45;
  font-weight: 600;
}

.ticks {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  display: flex;
  gap: 0.75rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.ticks li::before {
  content: "";
  flex: 0 0 14px;
  height: 3px;
  margin-top: 0.6875rem;
  background: var(--copper);
}

/* How it works */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(14.375rem, 100%), 1fr));
  gap: 2.75rem 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  min-width: 0;
}

.step__road {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.mile-marker {
  flex: 0 0 auto;
  width: 58px;
  height: 80px;
  padding: 4px;
  border-radius: 7px;
  background: var(--navy);
}

.mile-marker > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 100%;
  border: 2px solid var(--white);
  border-radius: 4px;
  color: var(--white);
}

.mile-marker__label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.mile-marker__num {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.step__lane {
  flex: 1 1 auto;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--copper) 0 24px, transparent 24px 40px);
}

.step__arrow {
  flex: 0 0 auto;
  margin-left: -10px;
  color: var(--copper);
}

.step p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-2);
}

/* Integrations: keep what works / fix what doesn't */

.keep-fix {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(27.5rem, 100%), 1fr));
  gap: 2rem 3rem;
  align-items: start;
}

.keep {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  min-width: 0;
  padding-block: clamp(0.25rem, 3vw, 3rem);
}

.systems {
  margin: 0.875rem 0 0;
  padding: 0;
  list-style: none;
}

.systems li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem 1.25rem;
  padding-block: 1rem;
  border-top: 1px solid var(--rule);
}

.systems li > :last-child {
  flex: 1 1 15rem;
  min-width: 0;
}

.systems li:last-child {
  border-bottom: 1px solid var(--rule);
}

.systems__label {
  flex: 0 0 12rem;
  color: var(--ink-3);
}

.systems__value {
  font-size: 1.0625rem;
  font-weight: 600;
}

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

.chips li {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0 0.875rem;
  border: 1.5px solid var(--navy);
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 800;
}

.fix {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  min-width: 0;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: 14px;
  background: var(--navy);
  color: var(--white);
}

.struck {
  margin: 0.875rem 0 0;
  padding: 0;
  list-style: none;
}

.struck li {
  padding-block: 0.8125rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
  line-height: 1.35;
  font-weight: 600;
  text-decoration: line-through;
  text-decoration-color: var(--copper);
  text-decoration-thickness: 3px;
}

.struck li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

/* Founders */

.founders {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(14.375rem, 100%), 1fr));
  gap: 2.75rem 2rem;
}

.founder {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.founder__hex {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 96px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--navy);
  color: var(--white);
  font-size: 1.6875rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.founder__role {
  margin: 0.375rem 0 0;
  color: var(--copper-text);
}

.founder__bio {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-2);
}

/* Copy still to be written. azure-pipelines.yml refuses to deploy while any remain. */
[data-placeholder] {
  padding: 0.875rem 1rem;
  border: 1.5px dashed var(--placeholder-border);
  border-radius: 8px;
  color: var(--ink-3);
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(25rem, 100%), 1fr));
  gap: 3rem clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  min-width: 0;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.375rem;
  margin: 1.125rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-list__icon {
  display: flex;
  flex: 0 0 2.75rem;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  border-radius: 8px;
  background: var(--navy-raised);
  color: var(--copper-soft);
}

.contact-list li > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.contact-list__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-navy-2);
}

.contact-list__value {
  color: var(--white);
  font-size: clamp(1rem, 0.6rem + 1.6vw, 1.1875rem);
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

a.contact-list__value:hover {
  text-decoration: underline;
  text-decoration-color: var(--copper);
  text-underline-offset: 5px;
}

.form-card,
.form-success {
  min-width: 0;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}

.form-card {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  padding: clamp(1.5rem, 3.2vw, 2.5rem);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(12.5rem, 100%), 1fr));
  gap: 1.125rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.field label {
  font-size: 0.90625rem;
  font-weight: 700;
}

.field .optional {
  font-weight: 400;
  color: var(--ink-3);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.625rem 0.875rem;
  border: 1.5px solid var(--field-border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

.field textarea {
  min-height: 8.25rem;
  line-height: 1.5;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #6B7A8A;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  border-color: var(--navy);
  outline-offset: 1px;
}

.field input:user-invalid,
.field textarea:user-invalid {
  border-color: var(--error);
}

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

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding-top: 0.25rem;
}

.form-error {
  margin: 0;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: var(--error-bg);
  color: var(--error);
  font-weight: 600;
  line-height: 1.5;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.875rem;
  padding: clamp(1.75rem, 4vw, 2.75rem);
}

.form-success h3 {
  margin: 0;
  font-size: 1.625rem;
  line-height: 1.2;
  font-weight: 800;
}

.form-success h3:focus {
  outline: none;
}

.form-success p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.check-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: var(--copper);
  color: var(--navy);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--navy-deep);
  color: var(--footer-text);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-block: 3.5rem 2.5rem;
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2.25rem 4rem;
}

.site-footer__logo {
  width: min(100%, 18.75rem);
}

.site-footer__cols {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 4.5rem;
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  min-width: 0;
}

.site-footer__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-navy-2);
}

.site-footer a {
  color: var(--white);
  font-size: 0.96875rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer a:hover {
  text-decoration: underline;
  text-decoration-color: var(--copper);
  text-underline-offset: 4px;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
}

.site-footer__bottom a {
  font-size: 0.875rem;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

/* ---------- Thank-you and 404 pages ---------- */

.status-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--navy);
  color: var(--white);
}

.status-page main {
  display: flex;
  flex: 1 0 auto;
  align-items: center;
}

.status-page__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  max-width: 40rem;
  padding-block: 3rem 5rem;
}

.status-page__body h1 {
  margin: 0;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.status-page__body p {
  margin: 0;
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--on-navy);
}

.status-page__body a:not(.button) {
  color: var(--white);
  text-decoration-color: var(--copper);
  text-underline-offset: 4px;
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
