/* =============================================================================
   BRUNEL ENTERPRISE DESIGN SYSTEM
   Light-first logistics technology marketing system.

   Typography:
   - Display: Inter Tight — precise modern SaaS headlines
   - Body: Inter — readable UI / paragraph text
   ============================================================================= */

:root {
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);

  --gold: #A67C2E;
  --gold-light: #B8892A;
  --gold-dim: #8F6A28;
  --gold-soft: rgba(166, 124, 46, 0.12);
  --gold-line: rgba(166, 124, 46, 0.28);

  /* Layered light surfaces */
  --bg: #F7F6F3;
  --bg-elevated: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F0EEE9;
  --surface-3: #E7E4DD;
  --border: rgba(26, 24, 20, 0.08);
  --border-strong: rgba(26, 24, 20, 0.14);

  --text: #141311;
  --text-2: #4B5563;
  --text-3: rgba(20, 19, 17, 0.42);
  --text-inv: #FFFFFF;
  --error: #B55A4A;

  /* Type families — max two */
  --font-display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-mono: 'Inter', system-ui, sans-serif;

  /* Type scale */
  --fs-hero: clamp(2.5rem, 1.6rem + 4vw, 4.5rem); /* 40 → 72 */
  --fs-h1: clamp(2.5rem, 2rem + 2vw, 3.5rem);      /* 40 → 56 */
  --fs-h2: clamp(2rem, 1.6rem + 1.6vw, 2.625rem);  /* 32 → 42 */
  --fs-h3: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);    /* 24 → 32 */
  --fs-h4: 1.5rem;                                  /* 24 */
  --fs-body: clamp(1rem, 0.95rem + 0.25vw, 1.125rem); /* 16 → 18 */
  --fs-lede: clamp(1.0625rem, 1rem + 0.3vw, 1.125rem);
  --fs-nav: 0.9375rem;   /* 15 */
  --fs-btn: 1rem;        /* 16 */
  --fs-label: 0.8125rem; /* 13 */
  --fs-small: 0.875rem;  /* 14 */

  /* Weights */
  --fw-hero: 700;
  --fw-h1: 700;
  --fw-h2: 700;
  --fw-h3: 600;
  --fw-h4: 600;
  --fw-nav: 500;
  --fw-btn: 600;
  --fw-label: 600;
  --fw-body: 400;

  /* Leading / tracking */
  --lh-hero: 0.98;
  --lh-heading: 1.12;
  --lh-body: 1.7;
  --ls-tight: -0.03em;
  --ls-heading: -0.025em;
  --ls-btn: -0.01em;
  --ls-label: 0.1em;
  --ls-nav: 0;

  /* Type rhythm */
  --type-gap-eyebrow: 12px;
  --type-gap-heading: 20px;
  --type-gap-content: 52px;
  --measure: 38em; /* ~65–75ch */

  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-glow: 0 0 80px rgba(166, 124, 46, 0.1);
  --max: 1120px;
  --max-narrow: 720px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: var(--fw-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 80% -10%, rgba(166,124,46,0.07), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(166,124,46,0.04), transparent 50%);
}

::selection { background: rgba(166,124,46,0.25); color: var(--text); }

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
ul { list-style: none; }
strong { font-weight: 600; color: var(--text); }
p { color: var(--text-2); }

.container {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - 48px, var(--max-narrow));
  margin-inline: auto;
}

/* ── Type ── */
.t-display,
.t-h1 {
  font-family: var(--font-display);
  font-weight: var(--fw-h1);
  font-size: var(--fs-h1);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
  color: var(--text);
}

.t-h2 {
  font-family: var(--font-display);
  font-weight: var(--fw-h2);
  font-size: var(--fs-h2);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
  color: var(--text);
}

.t-h3 {
  font-family: var(--font-display);
  font-weight: var(--fw-h3);
  font-size: var(--fs-h3);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
}

.t-h4 {
  font-family: var(--font-display);
  font-weight: var(--fw-h4);
  font-size: var(--fs-h4);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text);
}

.t-body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: var(--fw-body);
  line-height: var(--lh-body);
  color: var(--text-2);
  max-width: var(--measure);
}

.t-lede {
  font-family: var(--font-sans);
  font-size: var(--fs-lede);
  font-weight: var(--fw-body);
  line-height: var(--lh-body);
  color: var(--text-2);
  max-width: var(--measure);
}

.t-label {
  font-family: var(--font-sans);
  font-size: var(--fs-label);
  font-weight: var(--fw-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--text-3);
}

.t-metric {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 2rem + 1.5vw, 3rem);
  font-weight: var(--fw-h2);
  line-height: 1;
  letter-spacing: var(--ls-tight);
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.gold { color: var(--gold-light); }
.muted { color: var(--text-3); }

.t-display em,
.t-h1 em,
.t-h2 em,
.page-hero h1 em,
.quote-title em {
  font-style: normal;
  font-weight: var(--fw-h2);
  color: var(--gold-light);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: var(--fs-btn);
  font-weight: var(--fw-btn);
  letter-spacing: var(--ls-btn);
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 24px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease, color 0.2s ease, opacity 0.2s ease;
  min-height: 48px;
}

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

.btn-primary {
  background: var(--gold);
  color: var(--text-inv);
  box-shadow: 0 8px 32px rgba(166,124,46,0.22);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  border-color: rgba(166,124,46,0.45);
  background: rgba(166,124,46,0.06);
}

.btn svg { transition: transform 0.2s var(--ease); flex-shrink: 0; }
.btn-primary:hover svg { transform: translateX(3px); }

/* ── Nav ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: calc(var(--nav-h) + var(--safe-top));
  padding-top: var(--safe-top);
  display: flex;
  align-items: center;
  background: rgba(247, 246, 243, 0.78);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-nav.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(247, 246, 243, 0.94);
}

.site-nav-inner {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(166,124,46,0.28);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand span,
.brand-name {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--fs-nav);
  letter-spacing: var(--ls-nav);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  text-decoration: none;
  font-size: var(--fs-nav);
  font-weight: var(--fw-nav);
  letter-spacing: var(--ls-nav);
  color: var(--text-2);
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-links a:hover,
.nav-links a.current { color: var(--text); background: rgba(166,124,46,0.08); }

.nav-cta {
  margin-left: 8px !important;
  background: var(--gold) !important;
  color: var(--text-inv) !important;
  font-weight: 600 !important;
  padding: 9px 18px !important;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
  color: var(--text-inv) !important;
}

.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s;
  min-height: 44px;
}

.nav-back:hover { color: var(--text); border-color: var(--border-strong); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 16px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: calc(var(--nav-h) + var(--safe-top));
  left: 0; right: 0;
  z-index: 99;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 12px 20px calc(20px + var(--safe-bottom));
  flex-direction: column;
  gap: 4px;
}

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

.mobile-nav a {
  text-decoration: none;
  color: var(--text-2);
  font-weight: 500;
  padding: 14px 12px;
  border-radius: 10px;
  min-height: 48px;
  display: flex;
  align-items: center;
}

.mobile-nav a:hover { background: rgba(166,124,46,0.08); color: var(--text); }
.mobile-nav .nav-cta {
  margin: 8px 0 0 !important;
  text-align: center;
  display: inline-flex;
  width: fit-content;
  justify-content: center;
}

/* ── Sections ── */
.section {
  position: relative;
  z-index: 1;
  padding: var(--s-10) 0;
}

.section-sm { padding: var(--s-9) 0; }

.section-head {
  max-width: var(--measure);
  margin-bottom: var(--type-gap-content);
}

.section-head .t-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--type-gap-eyebrow);
}

.section-head .t-label::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.section-head .t-h2 { margin-bottom: var(--type-gap-heading); }

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(20,19,17,0.04);
}

.form-panel:hover {
  border-color: var(--border);
}

/* ── Hero (home) ── */
.hero {
  position: relative;
  z-index: 1;
  padding:
    calc(var(--nav-h) + var(--safe-top) + 16px)
    clamp(16px, 2.5vw, 28px)
    clamp(20px, 2.5vw, 28px);
  background: var(--bg);
}

.hero-frame {
  position: relative;
  height: calc(100svh - var(--nav-h) - 40px);
  min-height: 520px;
  max-height: 920px;
  border-radius: clamp(24px, 3vw, 40px);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 24px 60px rgba(20, 19, 17, 0.12);
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  transition: transform 8s linear;
}

.hero-slide.is-active img { transform: scale(1); }

.hero-wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 9, 8, 0.72) 0%, rgba(10, 9, 8, 0.38) 42%, rgba(10, 9, 8, 0.08) 68%, transparent 100%),
    linear-gradient(0deg, rgba(10, 9, 8, 0.55) 0%, transparent 48%);
}

.hero-inner {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: 0;
  width: min(100% - 48px, 640px);
  padding: clamp(28px, 4vw, 56px);
  color: #F7F6F3;
}

.hero-brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 28px;
  box-shadow: 0 0 0 1px rgba(166,124,46,0.35), 0 12px 40px rgba(20,19,17,0.12);
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #E3B23C;
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: var(--fw-hero);
  font-size: var(--fs-hero);
  line-height: var(--lh-hero);
  letter-spacing: var(--ls-tight);
  max-width: 12ch;
  margin-bottom: var(--type-gap-heading);
  color: #F7F6F3;
}

.hero-headline em {
  font-style: normal;
  font-weight: var(--fw-hero);
  color: #E8C56A;
}

.hero-sub {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: var(--fw-body);
  line-height: var(--lh-body);
  color: rgba(247, 246, 243, 0.82);
  max-width: var(--measure);
  margin-bottom: 28px;
}

.hero-sub strong { color: #fff; font-weight: 600; }

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

.btn-on-media {
  background: rgba(255, 255, 255, 0.12);
  color: #F7F6F3;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-on-media:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.45);
}

.hero-copy-in .hero-brand-mark,
.hero-copy-in .hero-eyebrow,
.hero-copy-in .hero-headline,
.hero-copy-in .hero-sub,
.hero-copy-in .hero-actions {
  opacity: 0;
  animation: heroIn 0.9s var(--ease) forwards;
}
.hero-copy-in .hero-brand-mark { animation-delay: 0.05s; }
.hero-copy-in .hero-eyebrow { animation-delay: 0.12s; }
.hero-copy-in .hero-headline { animation-delay: 0.2s; }
.hero-copy-in .hero-sub { animation-delay: 0.3s; }
.hero-copy-in .hero-actions { animation-delay: 0.4s; }

@keyframes heroIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

/* ── Proof strip ── */
.proof {
  position: relative;
  z-index: 1;
  padding: clamp(56px, 7vw, 88px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}

.proof-title {
  margin: 0 0 var(--type-gap-content);
  max-width: 18em;
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: var(--fw-h2);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
  color: var(--text);
}

.proof-title em {
  display: block;
  margin-top: 0.08em;
  font-style: normal;
  font-family: var(--font-display);
  font-weight: var(--fw-h2);
  color: var(--gold-light);
}

.proof-metrics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.proof-metric {
  position: relative;
  padding: 28px 28px 8px 0;
}

.proof-metric + .proof-metric {
  padding-left: 28px;
  border-left: 1px solid var(--border);
}

.proof-label {
  display: block;
  margin-bottom: var(--type-gap-eyebrow);
  font-family: var(--font-sans);
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: var(--fw-label);
}

.proof-value {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.6rem + 1.5vw, 2.75rem);
  font-weight: var(--fw-h3);
  letter-spacing: var(--ls-tight);
  line-height: 1;
  color: var(--text);
}

.proof-value span {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-light);
}

.proof-note {
  margin: 0;
  max-width: 16em;
  font-size: var(--fs-small);
  font-weight: var(--fw-body);
  line-height: 1.55;
  color: var(--text-2);
}

@media (max-width: 960px) {
  .proof-metrics { grid-template-columns: 1fr 1fr; }

  .proof-metric {
    padding: 24px 20px 24px 0;
    border-top: 1px solid var(--border);
  }

  .proof-metric:nth-child(-n + 2) { border-top: 0; padding-top: 8px; }

  .proof-metric + .proof-metric { border-left: 0; padding-left: 0; }

  .proof-metric:nth-child(2n) {
    padding-left: 24px;
    border-left: 1px solid var(--border);
  }
}

@media (max-width: 560px) {
  .proof-metrics { grid-template-columns: 1fr; }

  .proof-metric,
  .proof-metric:nth-child(2n),
  .proof-metric:nth-child(-n + 2) {
    padding: 22px 0;
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .proof-metric:first-child {
    border-top: 0;
    padding-top: 0;
  }
}

/* ── Timeline ── */
/* ── Delivery journey — scroll-driven timeline ── */
.jt-section {
  transition: background-color 1.1s linear;
}

.jt-section[data-stage="0"] { background-color: #FAF8F4; }
.jt-section[data-stage="1"] { background-color: #F8F4EC; }
.jt-section[data-stage="2"] { background-color: #F5F2EA; }
.jt-section[data-stage="3"] { background-color: #F9F6EF; }

.jt-layout {
  margin-top: var(--s-8);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
}

/* Left column: cards + progress rail */
.jt-track {
  position: relative;
  padding-left: 44px;
}

.jt-rail {
  position: absolute;
  left: 13px;
  top: 48px;
  bottom: 48px;
  width: 2px;
  border-radius: 1px;
  background: rgba(166, 124, 46, 0.16);
}

.jt-rail-fill {
  position: absolute;
  inset: 0;
  border-radius: 1px;
  background: linear-gradient(180deg, #E3B23C 0%, var(--gold) 100%);
  transform: scaleY(0);
  transform-origin: top;
  will-change: transform;
}

.jt-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.jt-card {
  position: relative;
  padding: 30px 32px;
  border-radius: 18px;
  border: 1px solid transparent;
  transition:
    background-color 0.5s var(--ease),
    border-color 0.5s var(--ease),
    box-shadow 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.jt-card:hover {
  background: rgba(255, 253, 247, 0.6);
}

.jt-card.is-active {
  background: #FFFDF7;
  border-color: rgba(184, 137, 42, 0.32);
  box-shadow:
    0 12px 36px rgba(120, 90, 30, 0.10),
    0 2px 8px rgba(20, 19, 17, 0.04);
  transform: translateY(-2px);
}

/* Progress dots (interactive) */
.jt-dot {
  position: absolute;
  left: -44px;
  top: 32px;
  width: 30px;
  height: 30px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.jt-dot::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--surface-3);
  border: 2px solid rgba(184, 137, 42, 0.5);
  transition:
    background-color 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.jt-dot::after {
  content: '';
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid transparent;
  transform: scale(0.6);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}

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

.jt-card.is-active .jt-dot::before {
  background: var(--gold);
  border-color: #E3B23C;
}

.jt-card.is-active .jt-dot::after {
  border-color: rgba(184, 137, 42, 0.45);
  transform: scale(1);
}

.jt-card.is-active .jt-dot {
  animation: jtDotGlow 1.4s var(--ease) 1;
}

@keyframes jtDotGlow {
  0%   { box-shadow: 0 0 0 0 rgba(227, 178, 60, 0.4); }
  100% { box-shadow: 0 0 0 16px rgba(227, 178, 60, 0); }
}

/* Card copy — staggered entrance on activation */
.jt-time {
  display: block;
  margin-bottom: var(--type-gap-eyebrow);
  font-family: var(--font-sans);
  font-size: var(--fs-label);
  font-weight: var(--fw-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--text-3);
}

.jt-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: var(--fw-h4);
  font-size: var(--fs-h4);
  letter-spacing: -0.02em;
  color: var(--text);
  transform-origin: left top;
}

.jt-body {
  margin: 0;
  font-size: var(--fs-body);
  font-weight: var(--fw-body);
  line-height: var(--lh-body);
  color: var(--text-2);
  max-width: var(--measure);
}

.jt-tag {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.jt-time, .jt-title, .jt-body, .jt-tag {
  opacity: 0.45;
  transform: translateY(14px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.jt-card.is-active .jt-time,
.jt-card.is-active .jt-body,
.jt-card.is-active .jt-tag {
  opacity: 1;
  transform: translateY(0);
}

.jt-card.is-active .jt-title {
  opacity: 1;
  transform: translateY(0) scale(1.04);
}

.jt-card.is-active .jt-time  { transition-delay: 0s; }
.jt-card.is-active .jt-title { transition-delay: 0.1s; }
.jt-card.is-active .jt-body  { transition-delay: 0.2s; }
.jt-card.is-active .jt-tag   { transition-delay: 0.28s; }

/* Mobile per-card image (hidden on desktop) */
.jt-card-media {
  display: none;
  position: relative;
  margin: 0 0 18px;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
}

.jt-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.jt-card-media .jt-toast {
  /* always visible on the mobile anytime card */
  opacity: 1;
  transform: none;
}

/* Right column: sticky image panel */
.jt-sticky {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
}

.jt-panel {
  background: #F8F5EF;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  padding: clamp(24px, 3vw, 40px);
}

.jt-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-2);
}

.jt-stack {
  position: absolute;
  inset: 0;
  transform: translateY(var(--jt-para, 0px)) scale(1.06);
  will-change: transform;
}

.jt-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(0.96);
  filter: blur(8px);
  transition:
    opacity 0.7s cubic-bezier(0.165, 0.84, 0.44, 1),
    transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1),
    filter 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
  will-change: opacity, transform, filter;
}

.jt-img.is-active {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

.jt-img.is-leaving {
  opacity: 0;
  transform: scale(1.05);
  filter: blur(10px);
}

/* Camera-flash effect on delivery */
.jt-flash {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 62%, rgba(255, 255, 255, 0.85) 0%, transparent 55%);
  opacity: 0;
  pointer-events: none;
}

.jt-flash.is-flash {
  animation: jtFlash 0.9s ease-out 1;
}

@keyframes jtFlash {
  0%   { opacity: 0; }
  18%  { opacity: 0.9; }
  100% { opacity: 0; }
}

/* Stage chip overlay */
.jt-chips {
  position: absolute;
  left: 18px;
  bottom: 18px;
  height: 34px;
}

/* Order-placed toast — sits inside the frame so it never crops */
.jt-toast {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    0 10px 28px rgba(20, 19, 17, 0.16),
    0 0 0 1px rgba(166, 124, 46, 0.08);
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
  pointer-events: none;
  transition:
    opacity 0.55s cubic-bezier(0.165, 0.84, 0.44, 1),
    transform 0.55s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.jt-toast.is-on {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.2s;
}

.jt-toast-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  overflow: hidden;
  background: #0a0908;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.jt-toast-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.jt-toast-copy {
  min-width: 0;
  flex: 1;
}

.jt-toast-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 2px;
}

.jt-toast-app {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(20, 19, 17, 0.55);
}

.jt-toast-now {
  font-family: var(--font-sans);
  font-size: 11px;
  color: rgba(20, 19, 17, 0.4);
  flex: 0 0 auto;
}

.jt-toast-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
}

.jt-toast-sub {
  margin-top: 1px;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.35;
  color: rgba(20, 19, 17, 0.62);
}

.jt-chip {
  position: absolute;
  left: 0;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(20, 19, 17, 0.07);
  box-shadow: 0 6px 18px rgba(20, 19, 17, 0.10);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.jt-chip svg { color: var(--gold); flex: 0 0 auto; }

.jt-chip.is-on {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.35s;
}

/* Panel meta row */
.jt-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

@media (max-width: 1100px) {
  .jt-sticky { top: calc(var(--nav-h) + 24px); }
  .jt-card { padding: 24px 26px; }
}

/* Mobile: no sticky — image / content stacked per stage */
@media (max-width: 960px) {
  .jt-layout { grid-template-columns: 1fr; gap: 0; }
  .jt-sticky { display: none; }
  .jt-track { padding-left: 0; }
  .jt-rail, .jt-dot { display: none; }
  .jt-cards { gap: 48px; }

  .jt-card,
  .jt-card:hover,
  .jt-card.is-active {
    padding: 0;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    transform: none;
  }

  .jt-card-media {
    display: block;
    opacity: 0;
    transform: translateY(24px) scale(0.98);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }

  .jt-card-media.is-in {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  .jt-time, .jt-title, .jt-body, .jt-tag {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .jt-card.is-active .jt-title { transform: none; }
}

/* ── Fit — pinned odometer scroll ── */
.fit-pin {
  position: relative;
  height: 300vh;
  background: var(--bg);
  padding: 0 clamp(16px, 2.5vw, 28px);
}

.fit-pin-sticky {
  position: sticky;
  top: calc(var(--nav-h) + 16px);
  height: calc(100svh - var(--nav-h) - 32px);
  min-height: 520px;
  max-height: 920px;
  overflow: hidden;
  isolation: isolate;
  border-radius: clamp(24px, 3vw, 40px);
  background: #0a0908;
  box-shadow: 0 24px 60px rgba(20, 19, 17, 0.14);
}

.fit-pin-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.fit-pin-grad {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 9, 8, 0.72) 0%, rgba(10, 9, 8, 0.35) 45%, transparent 72%),
    linear-gradient(0deg, rgba(10, 9, 8, 0.62) 0%, transparent 52%);
}

.fit-pin-copy {
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: 640px;
  padding: clamp(28px, 4vw, 56px);
  color: #F5F1E9;
}

.fit-pin-eyebrow {
  display: block;
  margin-bottom: var(--type-gap-eyebrow);
  font-family: var(--font-sans);
  font-size: var(--fs-label);
  font-weight: var(--fw-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: #E3B23C;
}

.fit-pin-headline {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 1.4rem + 2vw, 2.75rem);
  font-weight: var(--fw-hero);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-tight);
}

.fit-pin-static { opacity: 0.95; color: #F5F1E9; }

.fit-odo {
  display: inline-block;
  height: 1.25em;
  overflow: hidden;
  vertical-align: bottom;
}

.fit-odo-strip {
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.fit-odo-strip span {
  height: 1.25em;
  line-height: 1.25;
  color: #E8C56A;
  font-weight: 700;
  white-space: nowrap;
}

.fit-pin-progress {
  position: absolute;
  right: clamp(18px, 3vw, 36px);
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: min(220px, 28vh);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.fit-pin-progress-fill {
  position: absolute;
  inset: 0;
  border-radius: 2px;
  background: #E3B23C;
  transform: scaleY(0);
  transform-origin: bottom;
  will-change: transform;
}

@media (max-width: 720px) {
  .fit-pin { height: 260vh; }
  .fit-pin-sticky {
    top: calc(var(--nav-h) + 12px);
    height: calc(100svh - var(--nav-h) - 24px);
    min-height: 460px;
  }
  .fit-pin-copy { max-width: none; right: 0; }
  .fit-pin-progress { height: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  .fit-odo-strip { transition: none; }
}

/* ── Value prop — before / after compares ── */
.vp-block {
  margin-top: var(--s-8);
  padding-top: var(--s-7);
  border-top: 1px solid var(--border);
}

.vp-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 10px;
}

.vp-num {
  font-family: var(--font-sans);
  font-size: var(--fs-label);
  font-weight: var(--fw-label);
  letter-spacing: var(--ls-label);
  color: var(--text-3);
}

.vp-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: var(--fw-h3);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.vp-desc {
  margin: 0 0 36px;
  max-width: var(--measure);
  font-size: var(--fs-body);
  font-weight: var(--fw-body);
  line-height: var(--lh-body);
  color: var(--text-2);
}

.vp-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.vp-col-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.vp-col-label .vp-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.vp-col-label.is-before { color: var(--text-3); }
.vp-col-label.is-before .vp-dot { background: var(--text-3); }
.vp-col-label.is-after { color: var(--gold-dim); }
.vp-col-label.is-after .vp-dot { background: var(--gold); }

.vp-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  min-height: 220px;
}

.vp-frame.is-dim {
  opacity: 0.72;
  filter: saturate(0.6);
}

/* "After" frames mirror the real Tern product UI: Inter, ink #12211d,
   brand teal #0c7c67, shadcn-style neutral cards */
.vp-frame.is-after {
  font-family: 'Inter', var(--font-sans);
  color: #12211d;
  border-color: rgba(18, 33, 29, 0.10);
  border-radius: 16px;
  box-shadow:
    0 16px 44px rgba(18, 33, 29, 0.10),
    0 2px 10px rgba(18, 33, 29, 0.05);
}

.vp-shot { position: relative; }

/* Floating feature bubbles */
.vp-bubble {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 999px;
  background: #141311;
  color: #F5F1E9;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 10px 26px rgba(20, 19, 17, 0.25);
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.vp-bubble::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-light);
  flex: 0 0 auto;
}

.vp-bubble-tr { top: -15px; right: -8px; }
.vp-bubble-bl { bottom: -15px; left: -8px; }

.reveal.visible .vp-bubble {
  opacity: 1;
  transform: none;
}

.reveal.visible .vp-bubble-tr { transition-delay: 0.45s; }
.reveal.visible .vp-bubble-bl { transition-delay: 0.65s; }

.vp-caption {
  margin: 18px 0 0;
  max-width: 720px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-2);
}

.vp-caption b { color: var(--text); font-weight: 600; }

/* Checkout mock */
.vp-crow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(20, 19, 17, 0.06);
}

.vp-crow span { font-size: 13px; color: var(--text-3); }
.vp-crow strong { font-size: 14px; font-weight: 500; }

.vp-ship {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid rgba(20, 19, 17, 0.10);
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 12px;
}

.vp-ship.is-selected {
  border-color: #0c7c67;
  background: #e5f1ed;
  box-shadow: 0 0 0 1px #0c7c67;
}

.vp-ship.is-muted { opacity: 0.62; }

.vp-radio {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin-top: 2px;
  border-radius: 50%;
  border: 1.5px solid rgba(20, 19, 17, 0.25);
  background: var(--surface);
}

.vp-radio.is-on {
  border-color: #0c7c67;
  box-shadow: inset 0 0 0 3.5px #e5f1ed;
  background: #0c7c67;
}

.vp-ship-name { font-size: 14px; font-weight: 600; }
.vp-ship-date { font-size: 13px; margin-top: 4px; color: var(--text-2); }
.vp-ship-date.is-vague { color: var(--text-3); }
.vp-ship-date.is-exact { color: #16a34a; font-weight: 600; }

.vp-badge {
  display: inline-block;
  margin-top: 9px;
  padding: 3px 8px;
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vp-badge.is-generic { background: #F0F0F0; color: #8a8a8a; }
.vp-badge.is-brand {
  background: #e5f1ed;
  color: #0a5c4d;
  border: 1px solid rgba(12, 124, 103, 0.28);
}

/* Generic tracking mock (before) */
.vp-track-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(20, 19, 17, 0.06);
}

.vp-track-carrier { font-size: 13px; font-weight: 600; color: #6b6b6b; }
.vp-track-num { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); }
.vp-track-status { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.vp-track-sub { font-size: 13px; color: var(--text-3); margin-bottom: 18px; line-height: 1.5; }

.vp-track-bar {
  height: 4px;
  border-radius: 2px;
  background: #eee;
  overflow: hidden;
  margin-bottom: 18px;
}

.vp-track-bar span { display: block; height: 100%; background: #bbb; }

.vp-track-map {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 78px;
  border-radius: 8px;
  background: repeating-linear-gradient(135deg, #F4F4F4, #F4F4F4 8px, #ECECEC 8px, #ECECEC 16px);
  font-family: var(--font-mono);
  font-size: 11px;
  color: #ababab;
}

.vp-promo {
  margin-top: 16px;
  padding: 10px 12px;
  border-radius: 6px;
  background: #F7F7F7;
  color: #9a9a9a;
  font-size: 12px;
}

.vp-missed {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(196, 72, 60, 0.07);
  border: 1px solid rgba(196, 72, 60, 0.18);
  font-size: 12.5px;
  line-height: 1.5;
  color: #8a4640;
}

.vp-missed-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(196, 72, 60, 0.16);
  color: #C4483C;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* Branded tracking mock (after) — mirrors the real BrandedTrackExperience:
   gray #f3f4f6 page, white rounded-2xl cards, slate text, dd/mm HH:mm stamps */
.vp-frame.vp-bt {
  background: #f3f4f6;
  padding: 16px;
  color: #0f172a;
}

.vp-bt-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding: 2px 2px 0;
}

.vp-bt-head strong { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; }
.vp-bt-head span { font-size: 11px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

.vp-bt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: stretch;
}

.vp-bt-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  padding: 13px 14px;
  display: flex;
  flex-direction: column;
}

.vp-bt-carrier {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
}

.vp-bt-tile {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: #0f172a;
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
}

.vp-bt-carrier-name { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.vp-bt-carrier-name strong { font-size: 11.5px; font-weight: 600; }
.vp-bt-carrier-name em { font-style: normal; font-size: 9.5px; color: #64748b; }

.vp-bt-journey {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vp-bt-journey li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-bottom: 14px;
}

.vp-bt-journey li:last-child { padding-bottom: 0; }

/* connecting line from dot to next dot */
.vp-bt-journey li:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 5.5px;
  top: 13px;
  bottom: -1px;
  width: 1px;
  background: #e5e7eb;
}

.vp-bt-journey li.is-done:not(:last-child)::before,
.vp-bt-journey li.is-active:not(:last-child)::before {
  background: #0f172a;
}

.vp-bt-journey i {
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
  width: 12px;
  height: 12px;
  margin-top: 1px;
  border-radius: 50%;
  background: #e5e7eb;
}

.vp-bt-journey li.is-done i { background: #0f172a; }
.vp-bt-journey li.is-active i {
  background: #0f172a;
  box-shadow: 0 0 0 3.5px rgba(0, 0, 0, 0.10);
}

.vp-bt-journey li.is-future { opacity: 0.45; }

.vp-bt-journey span {
  flex: 1;
  min-width: 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
}

.vp-bt-journey li.is-active span { font-weight: 600; }

.vp-bt-journey time {
  flex: 0 0 auto;
  font-size: 9px;
  color: #64748b;
  font-variant-numeric: tabular-nums;
  padding-top: 1.5px;
}

.vp-bt-status-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.vp-bt-status-head strong { font-size: 12px; font-weight: 600; }

.vp-bt-chip {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 7px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 9px;
  font-weight: 500;
  white-space: nowrap;
}

.vp-bt-muted { font-size: 9.5px; color: #64748b; }

.vp-bt-status {
  margin-top: 3px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.vp-bt-eta {
  margin-top: 5px;
  font-size: 11px;
  color: #64748b;
}

.vp-bt-date-block {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
}

.vp-bt-date {
  margin-top: 2px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

/* POD mock (after) */
.vp-pod-status {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(20, 19, 17, 0.06);
}

.vp-pod-check {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(34, 197, 94, 0.14);
  color: #16a34a;
  font-size: 12px;
}

.vp-pod-body {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: start;
}

.vp-pod-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 62%;
  border-radius: 10px;
  border: 1px solid rgba(20, 19, 17, 0.08);
}

.vp-pod-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(20, 19, 17, 0.06);
  font-size: 12.5px;
}

.vp-pod-row span { color: var(--text-3); font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em; padding-top: 2px; }
.vp-pod-row strong { font-weight: 500; text-align: right; }

.vp-pod-sig {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  font-weight: 600;
}

@media (max-width: 760px) {
  .vp-compare { grid-template-columns: 1fr; gap: 36px; }
  .vp-bubble-tr { top: -13px; right: 8px; }
  .vp-bubble-bl { bottom: -13px; left: 8px; }
  .vp-bubble { font-size: 10px; }
  .vp-pod-body { grid-template-columns: 96px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .vp-bubble { transition: opacity 0.3s linear; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .jt-section { transition: none; }
  .jt-img {
    transform: none !important;
    filter: none !important;
    transition: opacity 0.4s linear;
  }
  .jt-stack { transform: none !important; }
  .jt-time, .jt-title, .jt-body, .jt-tag {
    transform: none !important;
    transition: opacity 0.3s linear;
  }
  .jt-card,
  .jt-card.is-active { transform: none; transition: none; }
  .jt-card-media {
    opacity: 1 !important;
    transform: none !important;
    transition: none;
  }
  .jt-flash { display: none; }
  .jt-card.is-active .jt-dot { animation: none; }
  .jt-chip { transform: none !important; transition: opacity 0.3s linear; }
  .jt-toast { transform: none !important; transition: opacity 0.3s linear; }
}

.speed-callout {
  margin-top: var(--s-8);
  padding: var(--s-7) 0 0;
  border-top: 1px solid var(--border);
}

.speed-callout p {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--text-2);
  max-width: 16em;
}

/* ── Feature list (pillars / fit) ── */
.feature-list {
  display: grid;
  gap: 0;
  margin-top: var(--s-7);
}

.feature-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.feature-row:first-child { border-top: 1px solid var(--border); }

.feature-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gold-dim);
  padding-top: 4px;
}

.feature-title {
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.feature-body {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-2);
  max-width: 52em;
}

.feature-tag {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-7);
  margin-top: var(--s-7);
  padding-top: var(--s-7);
  border-top: 1px solid var(--border);
}

.fit-item .t-label { margin-bottom: 16px; display: block; }

.fit-item h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin-bottom: 12px;
}

.fit-item p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-2);
  margin-bottom: 16px;
}

.fit-checks {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-3);
}

.fit-checks span {
  color: var(--gold-dim);
  margin-right: 6px;
}

/* ── Integrations network (concept-matched) ── */
.integrations {
  position: relative;
  z-index: 1;
  padding: clamp(64px, 10vw, 120px) 0 clamp(72px, 11vw, 130px);
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 48%, rgba(212, 181, 106, 0.1), transparent 62%);
}

.int-header {
  max-width: 680px;
  margin: 0 auto clamp(40px, 5.5vw, 64px);
}

.integrations .t-label {
  margin-bottom: 16px;
  color: #B8892A;
  letter-spacing: 0.16em;
}

.integrations .t-h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4.6vw, 48px);
  letter-spacing: -0.03em;
}

.integrations .t-h2 em {
  font-family: var(--font-display);
  font-style: italic !important;
  font-weight: 500 !important;
  color: #B8892A;
  letter-spacing: -0.01em;
}

.int-lede {
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.65;
  color: var(--text-2);
  max-width: 34em;
  margin: 0 auto;
}

.int-network {
  --int-parallax-x: 0px;
  --int-parallax-y: 0px;
  position: relative;
  width: min(100%, 1000px);
  margin: 0 auto;
  aspect-ratio: 1000 / 420;
  isolation: isolate;
}

.int-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(36%, 300px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at center,
      rgba(243, 178, 27, 0.28) 0%,
      rgba(224, 192, 106, 0.14) 40%,
      transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: intGlowBreath 5.5s ease-in-out infinite;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.int-network.is-hot .int-glow {
  opacity: 1.45;
  transform: translate(-50%, -50%) scale(1.12);
}

.int-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}

.int-path {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke-width 0.35s var(--ease);
}

.int-path.is-live {
  stroke: url(#intGoldGrad);
  opacity: 1;
}

/* Horizontal lines have a zero-height bbox, so the bbox gradient
   can't render on them — use a solid gold stroke for the trunks */
.int-path[data-path="trunk-left"],
.int-path[data-path="trunk-right"] {
  stroke: #f59e0b;
}

.int-path.is-soon {
  stroke: #d1d5db !important;
  stroke-dasharray: 4 4;
  stroke-width: 1.5;
  opacity: 1;
  filter: none !important;
}

.int-network[data-active="shopify"] .int-path[data-path="shopify"],
.int-network[data-active="shopify"] .int-path[data-path="trunk-left"],
.int-network[data-active="woocommerce"] .int-path[data-path="woocommerce"],
.int-network[data-active="woocommerce"] .int-path[data-path="trunk-left"],
.int-network[data-active="shippo"] .int-path[data-path="shippo"],
.int-network[data-active="shippo"] .int-path[data-path="trunk-right"] {
  stroke-width: 3;
}

.int-node {
  fill: #ffffff;
  stroke: #f59e0b;
  stroke-width: 2.5;
  filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.55));
}

.int-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  width: 128px;
  height: 128px;
  transform: translate(calc(-50% + var(--int-parallax-x) * 0.28), calc(-50% + var(--int-parallax-y) * 0.28));
  display: grid;
  place-items: center;
  transition: transform 0.5s var(--ease);
  will-change: transform;
}

.int-hub-halo {
  position: absolute;
  inset: -16%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 178, 27, 0.30) 0%, rgba(224, 192, 106, 0.10) 55%, transparent 72%);
  filter: blur(5px);
  animation: intGlowBreath 5s ease-in-out infinite;
  pointer-events: none;
}

/* Three faint dotted rings, like the reference */
.int-hub-rings {
  position: absolute;
  inset: -22%;
  border-radius: 50%;
  border: 1px dotted rgba(212, 160, 23, 0.34);
  pointer-events: none;
}

.int-hub-rings::before,
.int-hub-rings::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

.int-hub-rings::before {
  inset: -21%;
  border: 1px dotted rgba(212, 160, 23, 0.24);
}

.int-hub-rings::after {
  inset: -46%;
  border: 1px dotted rgba(212, 160, 23, 0.15);
}

.int-hub-core {
  position: relative;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 24%, #F0D78A 0%, #D4B056 32%, #C9971A 58%, #A67C2E 82%, #8F6A28 100%);
  box-shadow:
    0 16px 40px rgba(166, 124, 46, 0.38),
    0 0 0 8px rgba(255, 255, 255, 0.78),
    0 0 48px rgba(201, 151, 26, 0.45),
    inset 0 2px 3px rgba(255, 255, 255, 0.55),
    inset 0 -3px 6px rgba(100, 70, 20, 0.25);
  overflow: hidden;
}

.int-hub-core::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #111;
  z-index: 0;
}

.int-hub-core::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(125deg, transparent 30%, rgba(255,255,255,0.45) 48%, transparent 62%);
  transform: translateX(-130%);
  animation: intHubShimmer 7s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
}

.int-hub-core img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.int-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(214px, 38%);
  padding: 15px 17px;
  border-radius: 16px;
  text-decoration: none;
  text-align: left;
  color: inherit;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(184, 137, 42, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 12px 32px rgba(20, 19, 17, 0.07),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset,
    0 0 28px rgba(201, 151, 26, 0.16);
  transform: translate3d(var(--int-parallax-x), var(--int-parallax-y), 0);
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease),
    border-color 0.45s var(--ease),
    background 0.45s var(--ease);
  will-change: transform;
  animation: intCardFloat 6.5s ease-in-out infinite;
}

/* Card placement mirrors the curly-bracket reference (tighter vertical span) */
.int-card[data-int="shopify"] { top: 8%; left: 3%; animation-delay: 0s; }
.int-card[data-int="shipstation"] { top: 8%; right: 3%; left: auto; animation-delay: 0.7s; }
.int-card[data-int="woocommerce"] { top: 62%; left: 7%; bottom: auto; animation-delay: 1.3s; }
.int-card[data-int="shippo"] { top: 62%; right: 7%; left: auto; bottom: auto; animation-delay: 1.9s; }

.int-card.is-live { cursor: pointer; }

.int-card-port {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #f59e0b;
  box-shadow:
    0 0 0 2px rgba(245, 158, 11, 0.18),
    0 0 12px rgba(245, 158, 11, 0.55);
  transform: translateY(-50%);
  z-index: 5;
  pointer-events: none;
}

.int-card[data-int="shopify"] .int-card-port,
.int-card[data-int="woocommerce"] .int-card-port {
  right: -5px;
}

.int-card[data-int="shipstation"] .int-card-port,
.int-card[data-int="shippo"] .int-card-port {
  left: -5px;
}

.int-card.is-soon .int-card-port {
  background: #ffffff;
  border-color: #d1d5db;
  box-shadow: 0 0 0 2px rgba(209, 213, 219, 0.25);
}

.int-card.is-live:hover .int-card-port,
.int-card.is-live:focus-visible .int-card-port {
  transform: translateY(-50%) scale(1.12);
  box-shadow:
    0 0 0 3px rgba(245, 158, 11, 0.28),
    0 0 16px rgba(245, 158, 11, 0.7);
}

.int-card.is-live:hover,
.int-card.is-live:focus-visible {
  transform: translate3d(var(--int-parallax-x), calc(var(--int-parallax-y) - 5px), 0) scale(1.035);
  border-color: rgba(184, 137, 42, 0.45);
  background: #fff;
  box-shadow:
    0 18px 40px rgba(20, 19, 17, 0.1),
    0 0 0 1px rgba(201, 151, 26, 0.4),
    0 0 36px rgba(201, 151, 26, 0.28);
  outline: none;
}

.int-card.is-soon {
  filter: grayscale(1);
  opacity: 0.5;
  cursor: default;
  border-color: rgba(20, 19, 17, 0.08);
  box-shadow: 0 8px 18px rgba(20, 19, 17, 0.04);
  color: var(--text-3);
}

.int-card-logo {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(20, 19, 17, 0.06);
  overflow: hidden;
}

.int-card-logo img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}

.int-card[data-int="woocommerce"] .int-card-logo img {
  width: 34px;
  height: 28px;
}

.int-card.is-soon .int-card-logo { color: var(--text-3); }

.int-card-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.int-card-name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
}

.int-card.is-soon .int-card-name { color: var(--text-3); }

.int-card-cta {
  font-size: 12.5px;
  font-weight: 600;
  color: #A67C2E;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  line-height: 1.2;
}

.int-card-cta.is-static { pointer-events: none; }
.int-card-cta.is-muted { color: var(--text-3); font-weight: 500; }

.int-ext {
  flex: 0 0 auto;
  transition: transform 0.35s var(--ease);
}

.int-card.is-live:hover .int-ext,
.int-card.is-live:focus-visible .int-ext {
  transform: translate(2px, -2px);
}

.int-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: min(100%, 900px);
  margin: clamp(40px, 5.5vw, 56px) auto 0;
  padding: 8px;
  border-radius: 20px;
  background: rgba(235, 224, 200, 0.45);
  border: 1px solid rgba(184, 137, 42, 0.18);
  box-shadow: 0 10px 28px rgba(20, 19, 17, 0.04);
  text-align: left;
}

.int-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 20px 18px;
  position: relative;
}

.int-feature:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 24%;
  bottom: 24%;
  width: 1px;
  background: rgba(184, 137, 42, 0.18);
}

.int-feature-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #A67C2E;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(184, 137, 42, 0.2);
}

.int-feature strong {
  display: block;
  font-size: 14px;
  letter-spacing: -0.015em;
  margin-bottom: 3px;
}

.int-feature p {
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-3);
}

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

@keyframes intGlowBreath {
  0%, 100% { opacity: 0.85; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

@keyframes intHubPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes intHubShimmer {
  0%, 62% { transform: translateX(-130%); }
  82%, 100% { transform: translateX(130%); }
}

@keyframes intRingPulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

@keyframes intCardFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -5px; }
}

@media (max-width: 900px) and (min-width: 701px) {
  .int-network { width: 100%; aspect-ratio: 1000 / 460; }
  .int-card { width: min(200px, 38%); padding: 12px 14px; }
  .int-card[data-int="shopify"] { top: 6%; left: 1%; }
  .int-card[data-int="shipstation"] { top: 6%; right: 1%; }
  .int-card[data-int="woocommerce"] { top: 60%; left: 4%; }
  .int-card[data-int="shippo"] { top: 60%; right: 4%; }
  .int-hub { width: 112px; height: 112px; }
  .int-hub-core { width: 98px; height: 98px; }
  .int-hub-core img { width: 72px; height: 72px; }
}

@media (max-width: 700px) {
  .integrations { padding: 56px 0 72px; background: none; }
  .int-header { margin-bottom: 28px; }
  .int-lede br { display: none; }

  .int-network {
    aspect-ratio: auto;
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding-top: 8px;
  }

  .int-lines { display: none; }
  .int-glow { width: 240px; top: 64px; opacity: 0.75; animation: none; }

  .int-hub {
    position: relative;
    left: auto;
    top: auto;
    grid-column: 1 / -1;
    width: 108px;
    height: 108px;
    margin: 4px auto 12px;
    transform: none !important;
    order: -1;
  }

  .int-hub-core { width: 96px; height: 96px; }
  .int-hub-core img { width: 70px; height: 70px; }
  .int-hub-rings {
    inset: -18%;
    box-shadow:
      0 0 0 12px rgba(184, 137, 42, 0.06),
      0 0 0 24px rgba(184, 137, 42, 0.03);
  }

  .int-card {
    position: relative;
    inset: auto !important;
    width: 100%;
    max-width: none;
    transform: none !important;
    animation: none;
    min-height: 72px;
  }

  .int-card[data-int="shopify"] { order: 1; }
  .int-card[data-int="shipstation"] { order: 2; }
  .int-card[data-int="woocommerce"] { order: 3; }
  .int-card[data-int="shippo"] { order: 4; }

  .int-card.is-live:hover,
  .int-card.is-live:focus-visible { transform: translateY(-2px) !important; }

  .int-card-port { display: none; }

  .int-card-name { font-size: 13.5px; }
  .int-card-cta { font-size: 11.5px; }
  .int-card-logo { width: 36px; height: 36px; }

  .int-features {
    grid-template-columns: 1fr;
    margin-top: 28px;
    width: 100%;
  }

  .int-feature:not(:last-child)::after { display: none; }
  .int-feature {
    border-bottom: 1px solid rgba(184, 137, 42, 0.12);
    padding: 16px 14px;
  }
  .int-feature:last-child { border-bottom: none; }
}

@media (max-width: 380px) {
  .int-network { grid-template-columns: 1fr; }
  .int-card-cta .int-ext { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .int-glow,
  .int-hub-halo,
  .int-hub-rings,
  .int-hub-core::after,
  .int-ring-3,
  .int-card,
  .int-particle { animation: none !important; }
  .int-particle { display: none; }
  .int-hub,
  .int-card { transform: none !important; transition: none !important; }
}

/* Compact row used on secondary pages */
.integration-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin-bottom: 24px;
}

.integration-row span {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--text-2);
}

.integration-row span.soon {
  color: var(--text-3);
  font-weight: 500;
}

.integration-row span.soon::after {
  content: ' · soon';
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
}

/* ── FAQ ── */
.faq-list {
  margin-top: var(--s-6);
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: var(--fw-h4);
  letter-spacing: -0.015em;
  background: none;
  border: none;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  font-size: 16.5px;
  font-weight: 550;
  letter-spacing: -0.015em;
  min-height: 64px;
}

.faq-q:hover { color: var(--gold-light); }
.faq-q:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; border-radius: 4px; }

.faq-toggle {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--gold-dim);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}

.faq-item.open .faq-toggle { transform: rotate(45deg); }

.faq-a {
  display: none;
  padding: 0 0 24px;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-2);
  max-width: var(--measure);
}

.faq-item.open .faq-a { display: block; }

/* ── Site end shell (curved CTA + dark footer) ── */
.site-end {
  --footer-bg: #141311;
  --footer-muted: rgba(247, 246, 243, 0.48);
  --footer-link: #F7F6F3;
  --footer-line: rgba(247, 246, 243, 0.12);
  background: var(--footer-bg);
  color: var(--footer-link);
}

/* ── CTA band ── */
.cta-band {
  position: relative;
  z-index: 1;
  padding: var(--s-10) 0 calc(var(--s-10) + 8px);
  text-align: center;
  overflow: hidden;
  background: var(--surface-2);
  color: var(--text);
  border-top: 1px solid var(--border);
  border-radius: 0 0 clamp(48px, 8vw, 96px) clamp(48px, 8vw, 96px);
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 20% 20% auto;
  height: 280px;
  background: radial-gradient(ellipse, rgba(166,124,46,0.12), transparent 70%);
  pointer-events: none;
}

.cta-band .t-label { margin-bottom: 18px; }
.cta-band .t-h2 { margin-bottom: 18px; }
.cta-band .t-lede { margin: 0 auto 36px; }
.cta-alt {
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-3);
}
.cta-alt a {
  color: var(--gold-dim);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-line);
}

/* ── Footer ── */
.site-footer {
  position: relative;
  z-index: 1;
  padding: clamp(56px, 8vw, 88px) 0 calc(28px + var(--safe-bottom));
  background: transparent;
  color: var(--footer-link, #F7F6F3);
}

.site-footer-inner {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vw, 64px);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(200px, 280px) 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--footer-link, #F7F6F3);
}

.footer-logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.footer-logo span {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: var(--ls-heading);
  line-height: 1.1;
}

.footer-cta {
  min-height: 44px;
  padding-inline: 22px;
  border-radius: 999px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 32px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col-title {
  margin: 0 0 4px;
  font-family: var(--font-sans);
  font-size: var(--fs-label);
  font-weight: var(--fw-label);
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--footer-muted, rgba(247, 246, 243, 0.48));
}

.footer-col a {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  color: var(--footer-link, #F7F6F3);
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding-top: 28px;
  border-top: 1px solid var(--footer-line, rgba(247, 246, 243, 0.12));
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(247, 246, 243, 0.28);
  color: var(--footer-link, #F7F6F3);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.footer-social-link:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
  background: rgba(166, 124, 46, 0.12);
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
  display: block;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  color: var(--footer-muted, rgba(247, 246, 243, 0.48));
}

.footer-legal a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-meta {
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  color: var(--footer-muted, rgba(247, 246, 243, 0.48));
}

/* Legacy thin footer bits (internal pages before migration) */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  color: var(--footer-muted, rgba(247, 246, 243, 0.48));
}

.footer-brand img {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  object-fit: cover;
}

.footer-brand strong {
  color: var(--footer-link, #F7F6F3);
  font-weight: 600;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: 600;
  text-decoration: none;
  color: var(--footer-link, #F7F6F3);
  transition: color 0.2s;
}

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

@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .cta-band {
    border-radius: 0 0 40px 40px;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Page hero (internal) ── */
.page-hero {
  position: relative;
  z-index: 1;
  padding:
    calc(var(--nav-h) + var(--safe-top) + 88px)
    0
    var(--s-9);
}

.page-hero .t-label { margin-bottom: 20px; display: inline-flex; align-items: center; gap: 10px; }
.page-hero .t-label::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: var(--fw-h1);
  line-height: 1.05;
  letter-spacing: -0.035em;
  max-width: 16em;
  margin-bottom: 24px;
}

.page-hero .t-lede { max-width: 40em; }

/* ── About editorial ── */
.prose {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-2);
}

.prose p + p { margin-top: 1.25em; }
.prose strong { color: var(--text); }

.founder-meet {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--s-7);
  align-items: start;
  margin: var(--s-7) 0;
  padding: var(--s-7) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.founder-portrait img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.founder-name {
  margin-top: 14px;
  font-weight: 600;
  font-size: 16px;
}

.founder-role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-top: 4px;
}

.founder-intro {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-2);
  padding-top: 8px;
}

.role {
  padding: var(--s-6) 0;
  border-bottom: 1px solid var(--border);
}

.role-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 14px;
}

.role-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-2);
}

.role-body em {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  font-size: 1.05em;
  color: var(--text);
}

.pullquote {
  padding: var(--s-8) 0;
}

.pullquote p {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: var(--text-2);
  max-width: 18em;
}

.value-list,
.principle-grid {
  margin-top: var(--s-6);
}

.value-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.value-item:first-child { border-top: 1px solid var(--border); }

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}

.principle {
  padding: var(--s-6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.principle .t-label { margin-bottom: 16px; display: block; }
.principle h3 { margin-bottom: 12px; }
.principle p { font-size: 14.5px; line-height: 1.65; color: var(--text-2); }

/* ── Forms ── */
.quote-page {
  position: relative;
  z-index: 1;
  padding:
    calc(var(--nav-h) + var(--safe-top) + 48px)
    0
    calc(80px + var(--safe-bottom));
}

.quote-shell {
  width: min(100% - 40px, 640px);
  margin-inline: auto;
}

/* Quote split layout (mirrors contact stage) */
.quote-stage {
  grid-template-columns: minmax(260px, 0.92fr) minmax(360px, 1.08fr);
}

.quote-stage .contact-visual {
  position: sticky;
  top: 0;
  height: 100svh;
  max-height: 100svh;
}

.quote-main {
  min-height: 100svh;
  max-height: 100svh;
  overflow: hidden;
}

.quote-scroll {
  flex: 1;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 48px) calc(40px + var(--safe-bottom));
  opacity: 0;
  transform: translateY(16px);
  animation: contactFadeUp 0.85s ease 0.15s forwards;
}

.quote-stage .quote-shell {
  width: 100%;
  max-width: 560px;
  margin-inline: 0;
}

.quote-foot {
  margin-top: 28px;
}

.quote-foot a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.quote-foot a:hover { color: var(--gold-dim); }

.quote-header { margin-bottom: var(--s-7); }
.quote-eyebrow { margin-bottom: 16px; }

.quote-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 14px;
}

.quote-title em {
  font-style: italic;
  font-weight: 600;
  color: var(--gold-dim);
}

.quote-sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-2);
}

.steps {
  display: flex;
  align-items: center;
  margin-bottom: var(--s-6);
  gap: 0;
}

.step {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-3);
}

.step.active { color: var(--text); }
.step.done { color: var(--gold-dim); }

.step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  background: var(--surface);
}

.step.active .step-dot {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--text-inv);
  font-weight: 600;
}

.step-name {
  font-size: 13px;
  font-weight: 500;
}

.step-connector {
  flex: 1;
  height: 1px;
  background: var(--border);
  margin: 0 14px;
  min-width: 24px;
}

.form-section { display: none; }
.form-section.active { display: block; }

.form-panel {
  padding: var(--s-6);
}

.form-step-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 10px;
}

.form-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-5);
}

.field-group { display: flex; flex-direction: column; gap: 18px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 8px;
}

.field label span { color: var(--gold-light); }

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 12px 14px;
  font-size: 15px;
  font-family: var(--font-sans);
  transition: border-color 0.2s;
  min-height: 48px;
}

.field textarea { min-height: 100px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(201,168,76,0.55);
  box-shadow: 0 0 0 3px rgba(166,124,46,0.12);
}

.field input.error,
.field select.error { border-color: var(--error); }

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23C9A84C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.field-error {
  display: none;
  margin-top: 6px;
  font-size: 12px;
  color: var(--error);
}

.field-error.show { display: block; }

.volume-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.volume-grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

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

.volume-option,
.carrier-chip {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  min-height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  font-size: 13px;
  user-select: none;
}

.volume-option:hover,
.carrier-chip:hover {
  border-color: rgba(201,168,76,0.4);
}

.volume-option.selected,
.carrier-chip.selected {
  border-color: var(--gold);
  background: rgba(166,124,46,0.12);
  color: var(--text);
}

.volume-main {
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
}

.volume-sub {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 2px;
}

.carrier-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.carrier-chip {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
}

.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--s-6);
  gap: 12px;
}

.btn-next,
.btn-submit,
.btn-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 24px;
  border: none;
  cursor: pointer;
  background: var(--gold);
  color: var(--text-inv);
  min-height: 48px;
  transition: background 0.2s, transform 0.2s;
}

.btn-next:hover,
.btn-submit:hover,
.btn-call:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-2);
  border-radius: 999px;
  padding: 12px 18px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  min-height: 48px;
}

.btn-back:hover { color: var(--text); border-color: rgba(201,168,76,0.4); }

.submit-error {
  display: none;
  background: rgba(196,122,106,0.1);
  border: 1px solid rgba(196,122,106,0.35);
  color: var(--error);
  font-size: 13px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  line-height: 1.5;
}

.submit-error.show { display: block; }
.submit-error a { color: var(--error); }
.is-sending { opacity: 0.5; pointer-events: none; }

.success-screen {
  display: none;
  text-align: center;
  padding: var(--s-8) var(--s-5);
}

.success-screen.show { display: block; }

.success-screen h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin: 16px 0;
  letter-spacing: -0.03em;
}

.success-screen p {
  color: var(--text-2);
  margin-bottom: 16px;
  line-height: 1.65;
}

.call-cta {
  margin-top: var(--s-6);
  padding: var(--s-6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.call-cta-title {
  font-weight: 600;
  margin-bottom: 8px;
}

.call-cta-sub {
  font-size: 14px;
  color: var(--text-3);
  margin-bottom: 18px;
  line-height: 1.55;
}

/* Offer cards (founding merchant) */
.offer-tabs,
.recap-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: var(--s-5);
}

.offer-tab,
.recap-tab {
  flex: 1;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  min-height: 44px;
  font-family: var(--font-sans);
}

.offer-tab.active,
.recap-tab.active {
  border-color: var(--gold);
  color: var(--text);
  background: rgba(166,124,46,0.1);
}

.offer-card,
.recap {
  display: none;
  padding: var(--s-5);
  margin-bottom: var(--s-6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.offer-card.active,
.recap:not([hidden]) { display: block; }
.recap[hidden] { display: none !important; }

.offer-card .price,
.recap-price-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 8px 0;
  color: var(--text);
}

.recap-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 13.5px;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
}

.recap-row:last-child { border-bottom: none; }
.recap-label { color: var(--text-3); }
.recap-value { color: var(--text); font-weight: 500; text-align: right; }

.offer-meta {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--text-2);
}

.offer-meta strong { color: var(--text); font-weight: 600; }

.success-link {
  display: inline-block;
  margin-top: 28px;
  font-size: 14px;
  color: var(--text-3);
  text-decoration: none;
}
.success-link:hover { color: var(--gold-light); }

.success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 8px;
  border-radius: 50%;
  border: 1px solid var(--gold-line);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(166,124,46,0.1);
}

.call-cta-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 10px;
}

.nav-simple .brand { gap: 12px; }

/* Founding marketing */
.rate-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--s-5);
  font-size: 15px;
}

.rate-table th,
.rate-table td {
  text-align: left;
  padding: 16px 12px;
  border-bottom: 1px solid var(--border);
}

.rate-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
}

.rate-table td:not(:first-child) {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
  margin-top: var(--s-6);
}

.guarantee-item {
  padding-top: var(--s-4);
  border-top: 1px solid var(--border);
}

.guarantee-item .t-metric { margin-bottom: 10px; color: var(--gold-light); }
.guarantee-item p { font-size: 13.5px; color: var(--text-3); line-height: 1.5; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-6);
  margin-top: var(--s-6);
}

.service-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.service-item p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-2);
}

/* 404 */
.page-404 {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.page-404 main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px 64px;
  position: relative;
  z-index: 1;
}

.page-404 .wrap {
  max-width: 520px;
  text-align: center;
}

.page-404 .code {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 20px;
}

.page-404 h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}

.page-404 h1 em {
  font-style: normal;
  font-weight: 700;
  color: var(--gold-light);
}

.page-404 .lede {
  color: var(--text-2);
  margin-bottom: 36px;
  line-height: 1.65;
}

.nav-simple {
  position: relative;
  z-index: 1;
  padding: calc(20px + var(--safe-top)) 24px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-elevated);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .btn svg, .hero-slide, .hero-slide img,
  .hero-copy-in .hero-brand-mark,
  .hero-copy-in .hero-eyebrow,
  .hero-copy-in .hero-headline,
  .hero-copy-in .hero-sub,
  .hero-copy-in .hero-actions,
  .int-glow, .int-hub-rings, .int-hub-core::after, .int-ring-3, .int-card, .int-particle {
    animation: none !important;
    transition: none !important;
  }
  .hero-veil.is-animating .route { animation: none; }
  .int-particle { display: none !important; }
  .int-hub, .int-card { transform: none !important; }
}

@media (max-width: 960px) {
  .fit-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .principle-grid { grid-template-columns: 1fr; }
  .guarantee-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 1fr; }
  .founder-meet { grid-template-columns: 140px 1fr; gap: var(--s-5); }
}

@media (max-width: 720px) {
  .container,
  .container-narrow,
  .site-nav-inner,
  .site-footer-inner { width: min(100% - 32px, var(--max)); }

  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .section { padding: var(--s-9) 0; }
  .hero {
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: calc(16px + var(--safe-bottom));
  }
  .hero-frame {
    min-height: 560px;
    height: calc(100svh - var(--nav-h) - 28px);
    border-radius: 24px;
  }
  .hero-wash {
    background:
      linear-gradient(180deg, rgba(10, 9, 8, 0.15) 0%, rgba(10, 9, 8, 0.55) 45%, rgba(10, 9, 8, 0.82) 100%),
      linear-gradient(90deg, rgba(10, 9, 8, 0.45) 0%, transparent 70%);
  }
  .hero-inner {
    width: auto;
    max-width: none;
    padding: 24px 20px calc(24px + var(--safe-bottom));
  }
  .hero-headline { max-width: none; }
  .feature-row { grid-template-columns: 1fr; gap: 8px; }
  .field-row { grid-template-columns: 1fr; }
  .volume-grid { grid-template-columns: repeat(2, 1fr); }
  .volume-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .founder-meet { grid-template-columns: 1fr; }
  .founder-portrait { max-width: 180px; }
  .step-name { display: none; }
  .guarantee-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

/* ── SEO landing helpers ── */
.seo-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: calc(var(--nav-h) + var(--safe-top) + 20px);
  margin-bottom: -40px;
  font-size: var(--fs-small);
  color: var(--text-3);
}

.seo-crumbs a {
  color: var(--text-2);
  text-decoration: none;
}

.seo-crumbs a:hover { color: var(--gold-dim); }

.section-alt {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 40px);
}

.seo-grid .t-h4 { margin-bottom: 10px; }
.seo-grid .t-body { margin: 0; color: var(--text-2); }

.seo-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background: var(--bg-elevated);
}

.seo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.seo-table th,
.seo-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.seo-table thead th {
  background: var(--surface-2);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.seo-table tbody th {
  font-weight: 600;
  color: var(--text);
  width: 22%;
}

.seo-table tr:last-child th,
.seo-table tr:last-child td {
  border-bottom: 0;
}

.seo-cities {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px 16px;
}

.seo-cities li {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-elevated);
  font-size: 0.9375rem;
  font-weight: 500;
}

/* ── Coverage map — tilted 3D Ontario with animated GTA ── */
.cov-section .section-head { margin-bottom: clamp(28px, 4vw, 40px); }

.cov-map {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.75fr);
  gap: clamp(28px, 5vw, 48px);
  align-items: center;
}

.cov-map-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cov-map-stage {
  position: relative;
  width: 100%;
  max-width: 680px;
  aspect-ratio: 1.35 / 1;
}

.cov-map-canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
}

.cov-map-canvas.is-dragging { cursor: grabbing; }

.cov-map-hud { text-align: center; }

.cov-map-kicker {
  margin: 0 0 4px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.cov-map-city {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.1;
}

.cov-map-meta {
  margin: 6px 0 0;
  font-size: 0.8125rem;
  color: var(--text-3);
}

.cov-track-btn {
  margin-top: 16px;
  min-height: 44px;
  padding: 12px 22px;
  font-size: 0.9375rem;
}

.cov-map-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 420px;
}

.cov-map-list button {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-2);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.cov-map-list button:hover {
  border-color: rgba(166, 124, 46, 0.35);
  color: var(--text);
}

.cov-map-list button.is-active {
  background: rgba(166, 124, 46, 0.12);
  border-color: rgba(166, 124, 46, 0.45);
  color: var(--text);
  box-shadow: 0 0 0 3px rgba(166, 124, 46, 0.08);
}

.cov-map-list button.is-visited:not(.is-active) {
  border-color: rgba(166, 124, 46, 0.22);
  color: var(--text);
}

@media (max-width: 900px) {
  .cov-map {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .cov-map-list {
    max-width: none;
    justify-content: center;
  }
}

.seo-entity {
  max-width: var(--measure);
  margin: 0 0 var(--s-7);
  padding: 20px 22px;
  border-left: 3px solid var(--gold);
  background: var(--surface-2);
  border-radius: 0 12px 12px 0;
}

.seo-entity .t-h4 { margin-bottom: 10px; }
.seo-entity .t-body { margin: 0; color: var(--text-2); }
.seo-entity a { color: var(--gold-dim); }

@media (max-width: 800px) {
  .seo-grid { grid-template-columns: 1fr; }
}

/* ── Contact page ── */
.contact-body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  min-height: 100svh;
}

.contact-stage {
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(320px, 0.95fr);
  min-height: 100svh;
}

.contact-visual {
  position: relative;
  overflow: hidden;
  background: #141311;
  color: #F7F6F3;
  isolation: isolate;
}

.contact-visual-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 20% 85%, rgba(166, 124, 46, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 45% at 85% 15%, rgba(184, 137, 42, 0.18), transparent 50%),
    linear-gradient(165deg, #1C1A15 0%, #141311 45%, #0A0908 100%);
}

.contact-visual-grid {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(247, 246, 243, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 246, 243, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 20%, transparent 75%);
}

.contact-route {
  position: absolute;
  inset: 8% 6% 18% 4%;
  width: auto;
  height: auto;
  max-width: none;
  opacity: 0.95;
}

.contact-route-path {
  stroke: var(--gold-light);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: contactRouteDraw 2.4s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}

.contact-route-node {
  fill: #141311;
  stroke: var(--gold-light);
  stroke-width: 2;
  opacity: 0;
  animation: contactFadeUp 0.7s ease 1.4s forwards;
}

.contact-route-node--end {
  fill: var(--gold);
  stroke: var(--gold-light);
}

.contact-route-parcel {
  fill: #F7F6F3;
  stroke: var(--gold);
  stroke-width: 1.5;
  opacity: 0;
  animation: contactParcelIn 0.4s ease 2.2s forwards;
}

.contact-route-label {
  fill: rgba(247, 246, 243, 0.48);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  animation: contactFadeUp 0.7s ease 1.7s forwards;
}

.contact-visual-brand {
  position: absolute;
  left: clamp(24px, 4vw, 40px);
  right: clamp(24px, 4vw, 40px);
  bottom: clamp(28px, 4vw, 44px);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
  opacity: 0;
  transform: translateY(12px);
  animation: contactFadeUp 0.8s ease 0.2s forwards;
}

.contact-visual-mark {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  flex: 0 0 auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.contact-visual-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.contact-visual-tag {
  margin-top: 4px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: rgba(247, 246, 243, 0.55);
  line-height: 1.4;
}

.contact-main {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  min-height: 100svh;
}

.contact-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(20px + var(--safe-top)) 28px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}

.contact-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 64px) calc(40px + var(--safe-bottom));
  max-width: 560px;
  width: 100%;
  margin-inline: auto;
  opacity: 0;
  transform: translateY(16px);
  animation: contactFadeUp 0.85s ease 0.15s forwards;
}

.contact-eyebrow { margin-bottom: 16px; }

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.5rem + 1.8vw, 2.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

.contact-title em {
  font-style: italic;
  font-weight: 600;
  color: var(--gold-dim);
}

.contact-lede {
  margin: 0 0 36px;
  font-size: var(--fs-lede);
  line-height: 1.65;
  color: var(--text-2);
  max-width: 34em;
}

.contact-paths {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-path {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-path:hover {
  border-color: rgba(166, 124, 46, 0.45);
  background: #FFFEFB;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(20, 19, 17, 0.06);
}

.contact-path--primary {
  background: var(--text);
  border-color: var(--text);
  color: var(--text-inv);
}

.contact-path--primary:hover {
  background: #1C1A15;
  border-color: #1C1A15;
  box-shadow: 0 12px 32px rgba(20, 19, 17, 0.18);
}

.contact-path--primary .contact-path-desc {
  color: rgba(247, 246, 243, 0.58);
}

.contact-path--primary .contact-path-icon {
  background: rgba(166, 124, 46, 0.22);
  color: var(--gold-light);
}

.contact-path--primary .contact-path-arrow {
  color: var(--gold-light);
}

.contact-path-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-soft);
  color: var(--gold-dim);
}

.contact-path-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-path-label {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.contact-path-desc {
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--text-2);
}

.contact-path-arrow {
  flex: 0 0 auto;
  font-size: 1.1rem;
  color: var(--gold-dim);
  transition: transform 0.2s ease;
}

.contact-path:hover .contact-path-arrow {
  transform: translateX(3px);
}

.contact-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  color: var(--text-3);
}

@keyframes contactRouteDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes contactFadeUp {
  to { opacity: 1; transform: none; }
}

@keyframes contactParcelIn {
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-route-path,
  .contact-route-node,
  .contact-route-label,
  .contact-route-parcel,
  .contact-visual-brand,
  .contact-panel,
  .quote-scroll {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    stroke-dashoffset: 0 !important;
  }
  .contact-route-parcel { display: none; }
  .contact-path { transition: none; }
  .contact-path:hover { transform: none; }
}

@media (max-width: 960px) {
  .contact-stage {
    grid-template-columns: 1fr;
  }

  .contact-visual {
    min-height: 42svh;
    max-height: 420px;
  }

  .contact-route {
    inset: 6% 8% 22% 4%;
  }

  .contact-main {
    min-height: auto;
  }

  .contact-panel {
    padding-top: 40px;
    max-width: none;
  }

  .quote-stage .contact-visual {
    position: relative;
    height: auto;
    min-height: 36svh;
    max-height: 360px;
  }

  .quote-main {
    max-height: none;
    overflow: visible;
  }

  .quote-scroll {
    padding-inline: 20px;
  }

  .quote-stage .quote-shell {
    max-width: none;
  }
}

@media (max-width: 520px) {
  .contact-top { padding-inline: 20px; }
  .contact-panel { padding-inline: 20px; }
  .contact-path { padding: 14px 14px; }
  .contact-visual-brand { gap: 12px; }
  .contact-visual-mark { width: 40px; height: 40px; border-radius: 10px; }
}
