/* ============================================================
   APPLE PIE TRANSPORT — applepietransport.com
   Chrome Americana: silver paper, asphalt plates, logo red,
   interstate blue, gold road-line details.
   Display: Big Shoulders Display · Body: Libre Franklin
   ============================================================ */

:root {
  /* palette */
  --paper:      #F4F6F9;   /* page ground — chrome-tinted white   */
  --paper-2:    #EBEEF4;   /* alternate band                      */
  --card:       #FFFFFF;   /* cards & panels                      */
  --ink:        #171A20;   /* headlines — asphalt black           */
  --steel:      #48515F;   /* body text                           */
  --steel-dim:  #7B8494;   /* captions, legal                     */
  --red:        #C8332C;   /* logo red — brand + CTAs             */
  --red-deep:   #A9241E;   /* red hover                           */
  --gold:       #CE9A2F;   /* road-line gold details              */
  --blue:       #2163BF;   /* interstate blue — icons, badges     */
  --line:       #DFE3EA;   /* borders on light                    */
  --line-soft:  #E9EDF3;

  /* dark plates (route board, footer, captions, hero) */
  --asphalt:    #14161A;
  --asphalt-2:  #1C1F25;
  --chrome:     #EDF1F6;   /* light text on dark plates           */
  --chrome-dim: #9AA3AE;

  /* type */
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;

  /* layout */
  --container: 1180px;
  --pad: clamp(20px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 128px);
}

/* ---------- reset-ish ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

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

html, body { overflow-x: clip; }

body {
  background: var(--paper);
  color: var(--steel);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--ink); text-decoration: none; }

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

::selection { background: var(--red); color: #fff; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--red);
  color: #fff;
  padding: 10px 18px;
  z-index: 200;
  font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- type ---------- */
h1, h2, h3 {
  font-family: var(--display);
  color: var(--ink);
  text-transform: uppercase;
  line-height: 0.95;
  font-weight: 800;
  text-wrap: balance;
}

h2 { font-size: clamp(2.5rem, 5.4vw, 4rem); letter-spacing: 0.01em; }

h3 { font-size: 1.45rem; font-weight: 700; letter-spacing: 0.03em; line-height: 1.1; }

p { max-width: 62ch; }

.lead {
  font-size: 1.13rem;
  color: var(--steel);
  max-width: 54ch;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}

.eyebrow .star { font-size: 0.7em; vertical-align: 15%; }

/* gold dashed rule — highway center-line motif, small */
.rule {
  width: 92px;
  height: 3px;
  margin-top: 26px;
  background: repeating-linear-gradient(90deg,
    var(--gold) 0 16px, transparent 16px 27px);
}

/* full-bleed center-line divider between major sections */
.centerline {
  height: 4px;
  background: repeating-linear-gradient(90deg,
    var(--gold) 0 52px, transparent 52px 88px);
  opacity: 0.55;
}

/* ---------- layout helpers ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.container-narrow { max-width: 880px; }

.section { padding: var(--section-y) 0; }

.section-band { background: var(--paper-2); }

.section-head { margin-bottom: clamp(40px, 6vw, 64px); }

.section-head .lead { margin-top: 26px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 15px 30px 14px;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease,
              border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 16px rgba(200, 51, 44, 0.30);
}
.btn-primary:hover {
  background: var(--red-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 51, 44, 0.38);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: rgba(20, 22, 26, 0.25);
}
.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.btn-lg { font-size: 1.15rem; padding: 17px 38px 16px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease,
              border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(23, 26, 32, 0.10);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 10px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* logo badge — hangs large over the page, shrinks into the bar on scroll */
.logo {
  position: relative;
  display: block;
  flex-shrink: 0;
  height: 64px;
  width: 210px;
  transition: width 0.35s ease;
}

.logo-img {
  position: absolute;
  top: 6px;
  left: 0;
  height: 142px;
  width: auto;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.40));
  transition: height 0.35s ease, top 0.35s ease, filter 0.3s ease;
}

.site-header.scrolled .logo { width: 92px; }

.site-header.scrolled .logo-img {
  height: 58px;
  top: 3px;
  filter: drop-shadow(0 2px 5px rgba(23, 26, 32, 0.18));
}

/* nav — light links over the hero photo, dark once scrolled */
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.site-nav > a:not(.btn) {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.site-nav > a:not(.btn):hover { border-bottom-color: var(--gold); }

.site-header.scrolled .site-nav > a:not(.btn) {
  color: var(--ink);
  text-shadow: none;
}

.btn-nav { padding: 11px 22px 10px; font-size: 0.92rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: rgba(20, 22, 26, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 3px;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease;
}

.site-header.scrolled .nav-toggle {
  background: transparent;
  border-color: var(--line);
}

.site-header.scrolled .nav-toggle span { background: var(--ink); }

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: min(92vh, 940px);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 42%;
  z-index: -2;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg,
      rgba(16, 18, 23, 0.55) 0%,
      rgba(16, 18, 23, 0.10) 28%,
      rgba(16, 18, 23, 0.16) 52%,
      rgba(16, 18, 23, 0.78) 100%),
    linear-gradient(96deg,
      rgba(16, 18, 23, 0.45) 0%,
      rgba(16, 18, 23, 0.08) 55%,
      rgba(16, 18, 23, 0) 100%);
}

.hero-content {
  max-width: var(--container);
  width: 100%;
  min-width: 0;
  margin: 0 auto;
  padding: 160px var(--pad) clamp(56px, 8vh, 96px);
}

.eyebrow-hero {
  color: var(--gold);
  margin-bottom: 22px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.hero-title {
  font-size: clamp(2.9rem, 9.2vw, 7rem);
  letter-spacing: 0.005em;
  color: #fff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  margin-bottom: 26px;
}

.hero-title em {
  font-style: normal;
  color: var(--gold);
}

.hero-sub {
  font-size: 1.16rem;
  color: rgba(244, 246, 249, 0.92);
  max-width: 56ch;
  margin-bottom: 38px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ============================================================
   MARQUEE BAND
   ============================================================ */
.marquee {
  background: var(--red);
  overflow: hidden;
  border-top: 3px solid var(--red-deep);
  border-bottom: 3px solid var(--red-deep);
  padding: 13px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-slide 30s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.marquee-group span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  padding: 0 28px;
}

.marquee-group .star {
  font-family: var(--body);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  padding: 0;
}

@keyframes marquee-slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   CARDS — what we haul
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  padding: 32px 28px 30px;
  box-shadow: 0 2px 10px rgba(23, 26, 32, 0.04);
  transition: transform 0.22s ease, border-color 0.22s ease,
              box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(23, 26, 32, 0.12);
}

.card-icon,
.diff-icon {
  width: 38px;
  height: 38px;
  stroke: var(--blue);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  margin-bottom: 20px;
}

.card h3 { margin-bottom: 12px; }

.card p { font-size: 0.98rem; line-height: 1.65; }

/* ============================================================
   THE RIG
   ============================================================ */
.rig-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

.rig-copy .lead { margin: 28px 0 30px; }

.spec-list { list-style: none; }

.spec-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.99rem;
  line-height: 1.55;
}

.spec-list li:last-child { border-bottom: none; }

.spec-list svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  margin-top: 3px;
  stroke: var(--blue);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.rig-figure {
  border: 3px solid var(--asphalt);
  border-radius: 4px;
  overflow: hidden;
  background: var(--asphalt);
  box-shadow: 0 24px 54px rgba(23, 26, 32, 0.22);
}

.rig-figure img { width: 100%; height: 100%; object-fit: cover; }

.rig-figure figcaption {
  background: var(--asphalt);
  color: var(--gold);
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  padding: 13px 16px 12px;
}

/* ============================================================
   DIFFERENCE
   ============================================================ */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(26px, 3vw, 44px);
}

.diff { padding-top: 6px; }

.diff h3 { margin: 0 0 10px; }

.diff p { font-size: 0.96rem; line-height: 1.62; }

/* ============================================================
   STEPS
   ============================================================ */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 3vw, 44px);
  position: relative;
}

/* dashed route line behind the badges */
.steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 4%;
  right: 4%;
  height: 3px;
  background: repeating-linear-gradient(90deg,
    var(--gold) 0 14px, transparent 14px 25px);
  opacity: 0.5;
}

.step { position: relative; }

/* interstate-shield blue badge */
.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--blue);
  border: 2px solid #FFFFFF;
  border-radius: 10px 10px 16px 16px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.7rem;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(33, 99, 191, 0.30);
}

.step h3 { margin-bottom: 10px; }

.step p { font-size: 0.96rem; line-height: 1.62; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list details:first-child { border-top: 1px solid var(--line); }

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  list-style: none;
  padding: 23px 4px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.15s ease;
}

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

.faq-list summary:hover { color: var(--red); }

.faq-mark {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.faq-mark::before,
.faq-mark::after {
  content: "";
  position: absolute;
  background: var(--red);
  transition: transform 0.25s ease;
}

.faq-mark::before {
  left: 0; right: 0; top: 8px; height: 2px;
}

.faq-mark::after {
  top: 0; bottom: 0; left: 8px; width: 2px;
}

details[open] .faq-mark::after { transform: scaleY(0); }

.faq-list details p {
  padding: 0 4px 26px;
  max-width: 68ch;
}

/* ============================================================
   QUOTE FORM
   ============================================================ */
.container-quote { max-width: 980px; }

.quote-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: clamp(28px, 4.5vw, 52px);
  box-shadow: 0 18px 44px rgba(23, 26, 32, 0.08);
}

/* route board — a dark asphalt plate: pickup → delivery */
.route-board {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: end;
  background: var(--asphalt);
  border-radius: 5px;
  padding: 24px 26px 26px;
  margin-bottom: 26px;
}

.route-arrow svg {
  width: 46px;
  height: 24px;
  stroke: var(--gold);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  margin-bottom: 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 22px;
}

.form-field,
.route-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field-wide { grid-column: 1 / -1; }

.quote-form label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--steel);
}

.quote-form label .optional {
  color: var(--steel-dim);
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* labels on the dark route board go road-sign gold */
.route-board label { color: var(--gold); }

.route-board .optional { color: var(--chrome-dim); }

.quote-form input,
.quote-form textarea {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  padding: 13px 15px;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.route-board input {
  background: var(--asphalt-2);
  border-color: rgba(237, 241, 246, 0.18);
  color: var(--chrome);
}

.quote-form input::placeholder,
.quote-form textarea::placeholder { color: var(--steel-dim); opacity: 0.8; }

.route-board input::placeholder { color: var(--chrome-dim); opacity: 0.7; }

.quote-form input:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(33, 99, 191, 0.18);
}

.quote-form textarea { resize: vertical; min-height: 110px; }

.form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 30px;
}

.form-alt { font-size: 0.95rem; color: var(--steel-dim); }

.form-alt a {
  color: var(--red);
  border-bottom: 1px solid rgba(200, 51, 44, 0.35);
}

.form-note {
  margin-top: 18px;
  font-size: 0.95rem;
  color: var(--red-deep);
}

.form-note a { color: var(--red-deep); text-decoration: underline; }

/* ============================================================
   FOOTER — dark asphalt closes the page
   ============================================================ */
.site-footer {
  background: var(--asphalt);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  padding-top: 64px;
  padding-bottom: 48px;
}

/* the footer lockup is a normal flowing badge, not the header's overhang */
.site-footer .logo { height: auto; width: auto; }

.footer-badge {
  width: 220px;
  height: auto;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.45));
}

.footer-tag {
  margin-top: 20px;
  font-size: 0.98rem;
  color: var(--chrome-dim);
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-nav { display: flex; flex-direction: column; }

.footer-nav a,
.footer-contact a {
  color: #C3CBD6;
  font-size: 0.96rem;
  padding: 5px 0;
  transition: color 0.15s ease;
}

.footer-nav a:hover,
.footer-contact a:hover { color: #fff; }

.footer-contact p {
  color: var(--chrome-dim);
  font-size: 0.94rem;
  padding: 5px 0;
}

.footer-contact { display: flex; flex-direction: column; }

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid rgba(237, 241, 246, 0.10);
  padding-top: 26px;
  padding-bottom: 34px;
}

.footer-legal p { font-size: 0.85rem; color: var(--chrome-dim); }

.footer-flag { letter-spacing: 0.08em; }

.footer-flag .star { color: var(--red); font-size: 0.7rem; vertical-align: 12%; }

.footer-owner {
  color: var(--chrome-dim);
  font-size: 0.85rem;
  border-bottom: 1px dotted rgba(154, 163, 174, 0.5);
  transition: color 0.15s ease;
}

.footer-owner:hover { color: #fff; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.card-grid .card:nth-child(2),
.diff-grid .diff:nth-child(2),
.steps .step:nth-child(2) { transition-delay: 0.08s; }

.card-grid .card:nth-child(3),
.diff-grid .diff:nth-child(3),
.steps .step:nth-child(3) { transition-delay: 0.16s; }

.card-grid .card:nth-child(4),
.diff-grid .diff:nth-child(4),
.steps .step:nth-child(4) { transition-delay: 0.24s; }

.card-grid .card:nth-child(5) { transition-delay: 0.32s; }

.card-grid .card:nth-child(6) { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee-track .marquee-group:last-child { display: none; }
  .marquee-group { flex-wrap: wrap; justify-content: center; row-gap: 6px; }
  .btn, .card { transition: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
}

@media (max-width: 860px) {
  .rig-grid { grid-template-columns: 1fr; }
  .rig-figure { order: -1; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }

  .logo { height: 52px; width: 150px; }

  .logo-img { height: 100px; top: 5px; }

  .site-header.scrolled .logo { width: 72px; }

  .site-header.scrolled .logo-img { height: 46px; top: 3px; }

  .site-header.menu-open .logo { width: 72px; }

  .site-header.menu-open .logo-img { height: 46px; top: 3px; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(23, 26, 32, 0.12);
    padding: 10px var(--pad) 22px;
    display: none;
  }

  .site-nav.open { display: flex; }

  .site-nav > a:not(.btn) {
    color: var(--ink);
    text-shadow: none;
    padding: 15px 4px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 0.95rem;
  }

  .btn-nav { margin-top: 18px; text-align: center; }

  .site-header {
    background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom-color: var(--line);
  }

  .site-header .site-nav > a:not(.btn) { color: var(--ink); text-shadow: none; }

  .site-header .nav-toggle {
    background: transparent;
    border-color: var(--line);
  }

  .site-header .nav-toggle span { background: var(--ink); }

  .site-header .logo-img {
    filter: drop-shadow(0 2px 5px rgba(23, 26, 32, 0.18));
  }

  /* capped so vh can never balloon inside embedded/auto-height frames */
  .hero { min-height: min(86vh, 700px); min-height: min(86svh, 700px); }

  .hero-img { object-position: 58% 45%; }

  .hero-content { padding-top: 120px; }

  .card-grid { grid-template-columns: 1fr; }

  .diff-grid { grid-template-columns: 1fr; }

  .steps { grid-template-columns: 1fr; }

  .route-board { grid-template-columns: 1fr; }

  .route-arrow svg { transform: rotate(90deg); margin: 0; height: 34px; }

  .route-arrow { justify-self: center; }

  .form-grid { grid-template-columns: 1fr; }

  .footer-legal { justify-content: center; text-align: center; }
}
