/* ==========================================================================
   Farroute: design tokens
   Palette: postal/customs stamp world. Kraft manifest paper, airmail navy,
   single stamp-red accent. Typography: system grotesk (stenciled, heavy,
   uppercase for display) + system serif reserved for the stamp mark itself
   + monospace for manifest/data details.
   ========================================================================== */

:root {
  --paper: #ece6d6;
  --paper-raised: #f5f0e4;
  --ink: #1a2230;
  --ink-soft: #4a5266;
  --line: #c9bfa2;
  --postal-blue: #1f3d63;
  --postal-blue-soft: #33578c;
  --stamp-red: #b8402c;
  --stamp-red-soft: #d9836f;
  --focus: #1f3d63;

  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;

  --max-content: 68rem;
  --max-text: 38rem;
  --radius: 3px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #171b22;
    --paper-raised: #1f2530;
    --ink: #ece6d6;
    --ink-soft: #a8a596;
    --line: #3a4150;
    --postal-blue: #7fa3d6;
    --postal-blue-soft: #5d84b8;
    --stamp-red: #e2725a;
    --stamp-red-soft: #b8402c;
    --focus: #7fa3d6;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --paper: #171b22;
  --paper-raised: #1f2530;
  --ink: #ece6d6;
  --ink-soft: #a8a596;
  --line: #3a4150;
  --postal-blue: #7fa3d6;
  --postal-blue-soft: #5d84b8;
  --stamp-red: #e2725a;
  --stamp-red-soft: #b8402c;
  --focus: #7fa3d6;
  color-scheme: dark;
}

:root[data-theme="light"] {
  --paper: #ece6d6;
  --paper-raised: #f5f0e4;
  --ink: #1a2230;
  --ink-soft: #4a5266;
  --line: #c9bfa2;
  --postal-blue: #1f3d63;
  --postal-blue-soft: #33578c;
  --stamp-red: #b8402c;
  --stamp-red-soft: #d9836f;
  --focus: #1f3d63;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}

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

a { color: inherit; }

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

h1, h2, h3 { text-wrap: balance; margin: 0; }

.wrap {
  max-width: var(--max-content);
  margin: 0 auto;
  padding-inline: 1.5rem;
}

/* ---------- airmail stripe device -------------------------------------- */
.airmail-edge {
  height: 10px;
  background: repeating-linear-gradient(
    -45deg,
    var(--postal-blue) 0 14px,
    var(--paper) 14px 20px,
    var(--stamp-red) 20px 34px,
    var(--paper) 34px 40px
  );
}

/* ---------- header ------------------------------------------------------ */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.1rem;
  gap: 1rem;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wordmark .dot { color: var(--stamp-red); }

nav.primary-nav { display: flex; gap: 1.75rem; }

nav.primary-nav a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

nav.primary-nav a:hover { color: var(--ink); border-color: var(--stamp-red); }

nav.primary-nav a.btn-nav,
nav.primary-nav a.btn-nav:hover {
  color: var(--paper-raised);
  border: 1px solid var(--postal-blue);
  padding: 0.55rem 1.1rem;
}

.nav-toggle { display: none; }

/* ---------- hero --------------------------------------------------------- */
.hero {
  padding-block: 4rem 4.5rem;
  border-bottom: 1px solid var(--line);
}

.hero.hero-photo {
  position: relative;
  min-height: 34rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: 4rem;
}

.hero-photo-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-photo-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  opacity: 0;
  transition: opacity 1.6s ease;
}

.hero-photo-slide.is-active {
  opacity: 1;
}

.hero-photo-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(31,61,99,0.35) 0%, rgba(184,64,44,0.22) 100%);
  mix-blend-mode: multiply;
}

.hero-photo-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,34,48,0.6) 0%, rgba(26,34,48,0.82) 100%);
}

.hero-location-tag {
  position: absolute;
  z-index: 1;
  right: 2rem;
  bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: #f5f0e4;
  opacity: 0.9;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  transition: opacity 0.6s ease;
}

.hero-location-tag svg {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  color: var(--stamp-red-soft);
}

#hero-location-text {
  transition: opacity 0.4s ease;
}

.hero-photo .wrap.hero-stack {
  position: relative;
  z-index: 1;
}

.hero-photo .hero-inner .eyebrow { color: var(--stamp-red-soft); }
.hero-photo .hero h1,
.hero-photo h1 { color: #f5f0e4; }
.hero-photo h1 em { color: var(--stamp-red-soft); }
.hero-photo .countdown-target { color: #d8d3c4; }

.hero .wrap.hero-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  text-align: center;
}

.hero-inner { max-width: 40rem; }

.hero-inner .eyebrow { justify-content: center; }

.btn-hero {
  margin-top: 1.8rem;
  font-size: 0.95rem;
  padding: 1.15rem 2.4rem;
}

/* ---------- countdown -------------------------------------------------- */
.countdown {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 2.2rem;
}

.countdown-unit {
  background: var(--ink);
  color: var(--paper);
  min-width: 4.4rem;
  padding: 0.8rem 0.4rem 0.65rem;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

@media (prefers-color-scheme: dark) {
  .countdown-unit { background: var(--paper-raised); color: var(--ink); border: 1px solid var(--line); }
}
:root[data-theme="dark"] .countdown-unit { background: var(--paper-raised); color: var(--ink); border: 1px solid var(--line); }

.countdown-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
}

.countdown-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.75;
}

.countdown-target {
  margin-top: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- dramatic CTA -------------------------------------------------- */
.btn-cta-dramatic {
  margin-top: 2.1rem;
  font-size: 1.05rem;
  padding: 1.35rem 3rem;
  border: none;
  color: var(--paper-raised);
  background-size: 240% 240%;
  background-image: linear-gradient(115deg, var(--postal-blue) 0%, var(--postal-blue) 35%, var(--stamp-red) 65%, var(--stamp-red) 100%);
  animation: cta-cycle 5s ease-in-out infinite;
  box-shadow: 0 8px 28px -10px color-mix(in srgb, var(--postal-blue) 60%, transparent);
}

.btn-cta-dramatic:hover {
  transform: translateY(-2px) scale(1.02);
}

@keyframes cta-cycle {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .btn-cta-dramatic { animation: none; background-image: linear-gradient(115deg, var(--postal-blue), var(--stamp-red)); }
}

/* ---------- route diagram -------------------------------------------------- */
.route-diagram {
  width: 100%;
  max-width: 46rem;
}

.route-diagram svg { width: 100%; height: auto; display: block; }

.route-labels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 0.6rem;
}

.route-label {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-family: var(--font-mono);
}

.route-label:nth-child(1) { text-align: left; }
.route-label:nth-child(2) { text-align: center; }
.route-label:nth-child(3) { text-align: right; }

.route-label strong {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.route-label span {
  font-size: 0.72rem;
  color: var(--ink-soft);
}

.route-diagram--steps {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  display: block;
}

.route-steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  column-gap: 0.5rem;
}

.route-steps-row::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background-image: repeating-linear-gradient(to right, var(--line) 0 2px, transparent 2px 13px);
  z-index: 0;
}

.route-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
}

.route-step-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
}

.route-step-icon svg { width: 40px; height: 40px; }

.route-step strong {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.route-step span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-soft);
  max-width: 11rem;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--postal-blue-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--stamp-red);
  display: inline-block;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 4.6vw, 3.75rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
}

.hero h1 em {
  font-style: normal;
  color: var(--stamp-red);
}

.hero p.lede {
  margin-top: 1.4rem;
  max-width: 34rem;
  font-size: 1.1rem;
  color: var(--ink-soft);
}

.cta-row {
  margin-top: 2.1rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.btn {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--postal-blue);
  border-color: var(--postal-blue);
  color: var(--paper-raised);
}
.btn-primary:hover { transform: translateY(-1px); background: var(--postal-blue-soft); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover { transform: translateY(-1px); background: var(--paper-raised); }

/* ---------- stamp graphic ------------------------------------------------ */
.stamp-panel {
  position: relative;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  padding: 1.6rem;
}

.stamp-panel .manifest-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 0.8rem;
  margin-bottom: 1.1rem;
}

.stamp-sequence {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.stamp {
  border: 3px solid currentColor;
  border-radius: 4px;
  padding: 0.7rem 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: rotate(-2deg);
}

.stamp.denied {
  color: var(--stamp-red);
  text-decoration: line-through;
  opacity: 0.85;
}

.stamp.cleared {
  color: var(--postal-blue);
  transform: rotate(1.5deg);
}

.stamp .stamp-code { font-family: var(--font-mono); font-weight: 500; font-size: 0.72rem; }

.stamp-panel .address {
  margin-top: 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--ink-soft);
  border-top: 1px dashed var(--line);
  padding-top: 1rem;
}

.stamp-panel .address strong { color: var(--ink); }

/* ---------- tear divider -------------------------------------------------- */
.tear {
  border: none;
  border-top: 1px dashed var(--line);
  margin: 0;
  position: relative;
}

/* ---------- sections ------------------------------------------------------ */
section { padding-block: 4.5rem; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: none; }

.section-head {
  max-width: var(--max-text);
  margin-bottom: 3rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  letter-spacing: -0.005em;
}

.section-head p {
  margin-top: 0.9rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ---------- broken checkout section (dark contrast beat) ------------------ */
.broken-section {
  background: #0f1420;
  border-bottom: none;
}

.broken-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.broken-h2 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.02;
  color: #f5f0e4;
  margin-top: 0.6rem;
}

.broken-copy {
  margin-top: 1.1rem;
  color: #9aa3b8;
  font-size: 1.02rem;
  max-width: 36ch;
}

.broken-copy strong { color: var(--stamp-red-soft); font-weight: 600; }

.broken-mock {
  background: #171d2c;
  border: 1px solid #2a3348;
  border-radius: 8px;
  padding: 1.6rem;
}

.broken-mock-bar {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.broken-mock-bar span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #2a3348;
}

.broken-mock-bar .dot-red { background: var(--stamp-red-soft); }

.broken-mock-field {
  height: 2.6rem;
  background: #222b3f;
  border-radius: 5px;
  margin-bottom: 0.9rem;
}

.broken-mock-field.short { width: 40%; height: 1.2rem; }

.broken-mock-error {
  margin-top: 1.2rem;
  border: 1px solid var(--stamp-red-soft);
  background: rgba(184,64,44,0.12);
  color: var(--stamp-red-soft);
  padding: 1rem 1.1rem;
  border-radius: 6px;
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.92rem;
}

.broken-mock-error .glyph {
  font-family: var(--font-mono);
  font-weight: 700;
  border: 1px solid currentColor;
  border-radius: 50%;
  width: 1.4rem; height: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 0.82rem;
}

@media (max-width: 860px) {
  .broken-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- problem mock -------------------------------------------------- */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.browser-mock {
  border: 1px solid var(--line);
  background: var(--paper-raised);
}

.browser-mock .bar {
  display: flex;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
}

.browser-mock .bar span {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--line);
}

.browser-mock .content { padding: 1.6rem; }

.browser-mock .item-name { font-weight: 600; margin-bottom: 0.3rem; }
.browser-mock .item-price { color: var(--ink-soft); font-family: var(--font-mono); font-size: 0.85rem; margin-bottom: 1.2rem; }

.block-msg {
  border: 1px solid var(--stamp-red);
  background: color-mix(in srgb, var(--stamp-red) 8%, transparent);
  color: var(--stamp-red);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.block-msg .glyph {
  font-family: var(--font-mono);
  font-weight: 700;
  border: 1px solid currentColor;
  width: 1.3rem; height: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 0.8rem;
}

.problem-copy ul {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.problem-copy li {
  padding-left: 1.4rem;
  position: relative;
  color: var(--ink-soft);
}

.problem-copy li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--stamp-red);
}

/* ---------- how it works (real sequence: numbering earned) ---------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}

.step {
  padding: 1.8rem 1.5rem;
  border-right: 1px solid var(--line);
}
.step:last-child { border-right: none; }

.step-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
}

.step .num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--stamp-red);
  margin-bottom: 0.9rem;
}

.step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  margin-bottom: 0.5rem;
}

.step p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- wedge / comparison --------------------------------------------- */
.wedge-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
  align-items: start;
}

.compare-card {
  border: 1px solid var(--line);
  background: var(--paper-raised);
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.compare-row:last-child { border-bottom: none; }

.compare-row .label { font-size: 0.92rem; }
.compare-row .label small { display: block; color: var(--ink-soft); font-family: var(--font-mono); font-size: 0.72rem; margin-top: 0.2rem; }

.compare-row .value { font-family: var(--font-mono); font-weight: 600; }
.compare-row.total { background: color-mix(in srgb, var(--postal-blue) 7%, transparent); }
.compare-row.total .value { color: var(--postal-blue); }

.compare-note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-soft);
  padding: 0.9rem 1.3rem;
  border-top: 1px dashed var(--line);
}

/* ---------- waitlist -------------------------------------------------------- */
.waitlist-panel {
  border: 1px solid var(--line);
  background: var(--paper-raised);
  padding: 2.6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.waitlist-panel h2 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
}

.waitlist-panel p { color: var(--ink-soft); margin-top: 0.8rem; }

form.waitlist-form { display: flex; flex-direction: column; gap: 0.8rem; }

.field-row { display: flex; gap: 0.6rem; }

input[type="email"] {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
}

input[type="email"]::placeholder { color: var(--ink-soft); }

.form-note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-soft);
}

.form-status {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--postal-blue);
  min-height: 1.2em;
}

/* ---------- waitlist page ---------------------------------------------------- */
.wrap-narrow {
  max-width: 30rem;
  margin: 0 auto;
  padding-inline: 1.5rem;
}

.waitlist-page {
  padding-block: 5rem 6rem;
  text-align: center;
}

.waitlist-page-h1 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-top: 0.6rem;
}

.waitlist-page-lede {
  margin-top: 0.9rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.waitlist-form-page {
  margin-top: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  text-align: left;
}

.field-group { display: flex; flex-direction: column; gap: 0.5rem; }

.field-group label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
}

.field-group label.optional-label span {
  text-transform: none;
  letter-spacing: normal;
  opacity: 0.7;
}

select,
textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  resize: vertical;
}

select { appearance: auto; }

.btn-full { width: 100%; justify-content: center; margin-top: 0.4rem; }

.hp-field { display: none; }

/* ---------- footer ---------------------------------------------------------- */
footer.site-footer { padding-block: 3rem; }

footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-contact-link {
  color: var(--postal-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-contact-link:hover { color: var(--stamp-red); }

.badge-row { display: flex; gap: 0.6rem; }

.badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid var(--line);
  padding: 0.4rem 0.7rem;
  color: var(--ink-soft);
}

/* ---------- reveal on scroll -------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, nav.primary-nav a { transition: none; }
}

/* ---------- responsive -------------------------------------------------------- */
@media (max-width: 860px) {
  .wedge-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-bottom: 1px solid var(--line); }
  .waitlist-panel { grid-template-columns: 1fr; padding: 1.8rem; }
}

@media (max-width: 640px) {
  .hero.hero-photo { min-height: 26rem; }
  .route-steps-row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2rem;
  }
  .route-steps-row::before { display: none; }
}

@media (max-width: 540px) {
  .steps { grid-template-columns: 1fr; }
  .field-row { flex-direction: column; }
  .countdown-unit { min-width: 3.5rem; padding: 0.6rem 0.3rem 0.5rem; }
  .countdown-num { font-size: 1.4rem; }
  .btn-cta-dramatic { padding: 1.1rem 2rem; font-size: 0.95rem; width: 100%; justify-content: center; }
}

@media (max-width: 400px) {
  .route-step span { font-size: 0.68rem; max-width: 8.5rem; }
}
