/* ==========================================================================
   Transportation By Faith — Design System & Styles
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body { min-height: 100vh; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, picture, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4, p { overflow-wrap: break-word; }

/* ---------- Design Tokens ---------- */
:root {
  /* color */
  --color-bg: #FAF6EF;
  --color-bg-soft: #F2EADA;
  --color-surface: #FFFFFF;
  --color-ink: #1E2A32;
  --color-ink-soft: #45535C;
  --color-muted: #6C7880;
  --color-primary: #335669;
  --color-primary-dark: #1E3A47;
  --color-primary-light: #E6EDEF;
  --color-sage: #87A288;
  --color-sage-dark: #5F7F62;
  --color-sage-light: #E6EEE3;
  --color-gold: #C49A5A;
  --color-gold-light: #F3E7D2;
  --color-border: #E6DCC9;
  --color-overlay: rgba(20, 28, 34, 0.55);

  /* elevation */
  --shadow-sm: 0 2px 10px rgba(30, 42, 50, 0.06);
  --shadow-md: 0 12px 32px rgba(30, 42, 50, 0.10);
  --shadow-lg: 0 24px 64px rgba(30, 42, 50, 0.16);

  /* radius */
  --radius-sm: 10px;
  --radius-md: 22px;
  --radius-lg: 36px;
  --radius-pill: 999px;

  /* spacing */
  --space-section: clamp(4.5rem, 9vw, 9rem);
  --space-section-sm: clamp(3rem, 6vw, 5.5rem);
  --container: 1280px;
  --container-narrow: 860px;
  --gutter: clamp(1.25rem, 5vw, 3rem);

  /* type */
  --font-serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --fs-display: clamp(2.6rem, 3.2vw + 2rem, 5.25rem);
  --fs-h1: clamp(2.25rem, 1.6vw + 1.75rem, 3.5rem);
  --fs-h2: clamp(1.8rem, 1.2vw + 1.4rem, 2.6rem);
  --fs-h3: clamp(1.3rem, 0.6vw + 1.1rem, 1.65rem);
  --fs-lead: clamp(1.1rem, 0.4vw + 1rem, 1.35rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9rem;
  --fs-eyebrow: 0.8rem;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Base ---------- */
body {
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--color-ink);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

p { color: var(--color-ink-soft); }

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

.container--narrow { max-width: var(--container-narrow); }

section { position: relative; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-sage-dark);
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1.5px;
  background: currentColor;
  display: inline-block;
}

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

.skip-link {
  position: absolute;
  top: -48px;
  left: 1rem;
  background: var(--color-primary-dark);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 2000;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 2.5px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.8rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.3s, color 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; flex-shrink: 0; transition: transform 0.35s var(--ease-out); }

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--primary:hover svg { transform: translateX(3px); }

.btn--ghost {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-border);
}
.btn--ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn--on-dark {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
}
.btn--on-dark:hover {
  background: rgba(255,255,255,0.18);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn--sage {
  background: var(--color-sage);
  color: #fff;
}
.btn--sage:hover { background: var(--color-sage-dark); transform: translateY(-2px); }

.btn--lg { padding: 1.15rem 2.2rem; font-size: 1.05rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--color-primary);
  position: relative;
}
.link-arrow svg { width: 1.2em; height: 1.2em; transition: transform 0.3s var(--ease-out); }
.link-arrow::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.link-arrow:hover::after { transform: scaleX(1); transform-origin: left; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding-block: 1.3rem;
  transition: padding 0.4s var(--ease-out), background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.site-header::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(250, 246, 239, 0.0);
  backdrop-filter: blur(0px);
  transition: background 0.4s var(--ease-out), backdrop-filter 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  z-index: -1;
}
.site-header.is-scrolled { padding-block: 0.85rem; }
.site-header.is-scrolled::before {
  background: rgba(250, 246, 239, 0.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--color-border), 0 10px 30px rgba(30,42,50,0.06);
}

/* Header sits on a dark hero/page-hero image by default, so it reads
   in light text until scrolled onto the light page background. */
.site-header .wordmark__name { color: #fff; transition: color 0.4s var(--ease-out); }
.site-header .wordmark__kicker { color: #CFE0CC; transition: color 0.4s var(--ease-out); }
.site-header .nav-links a { color: rgba(255,255,255,0.82); transition: color 0.3s var(--ease-out); }
.site-header .nav-links a:hover,
.site-header .nav-links a[aria-current="page"] { color: #fff; }
.site-header .nav-links a::after { background: #fff; }
.site-header .nav-call { color: #fff; }
.site-header .nav-call svg { color: #CFE0CC; }
.site-header .nav-toggle { border-color: rgba(255,255,255,0.4); }
.site-header .nav-toggle span,
.site-header .nav-toggle span::before,
.site-header .nav-toggle span::after { background: #fff; }

.site-header.is-scrolled .wordmark__name { color: var(--color-ink); }
.site-header.is-scrolled .wordmark__kicker { color: var(--color-sage-dark); }
.site-header.is-scrolled .nav-links a { color: var(--color-ink-soft); }
.site-header.is-scrolled .nav-links a:hover,
.site-header.is-scrolled .nav-links a[aria-current="page"] { color: var(--color-ink); }
.site-header.is-scrolled .nav-links a::after { background: var(--color-primary); }
.site-header.is-scrolled .nav-call { color: var(--color-ink); }
.site-header.is-scrolled .nav-call svg { color: var(--color-sage-dark); }
.site-header.is-scrolled .nav-toggle { border-color: var(--color-border); }
.site-header.is-scrolled .nav-toggle span,
.site-header.is-scrolled .nav-toggle span::before,
.site-header.is-scrolled .nav-toggle span::after { background: var(--color-ink); }
.site-header.is-scrolled .nav-toggle[aria-expanded="true"] span { background: transparent; }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-serif);
  line-height: 1;
}
.wordmark__mark {
  width: 38px; height: 38px;
  flex-shrink: 0;
  color: var(--color-primary);
}
.wordmark__text { display: flex; flex-direction: column; gap: 0.15rem; }
.wordmark__kicker {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-sage-dark);
  font-weight: 700;
}
.wordmark__name {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}
.nav-links a {
  position: relative;
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--color-ink-soft);
  padding-block: 0.3rem;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--color-ink); }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-ink);
}
.nav-call svg { width: 1.05em; height: 1.05em; color: var(--color-sage-dark); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--radius-pill);
  background: transparent;
  border: 1px solid var(--color-border);
  position: relative;
  flex-shrink: 0;
}
.nav-toggle span {
  position: absolute;
  left: 13px; right: 13px;
  height: 1.5px;
  background: var(--color-ink);
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out), top 0.3s var(--ease-out);
}
/* ::before/::after are contained by the span's own box, not the button's —
   so they use left:0/right:0 (100% of span) rather than repeating the 13px inset. */
.nav-toggle span::before, .nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: var(--color-ink);
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out), top 0.3s var(--ease-out);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem var(--gutter) 3rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), visibility 0.35s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu__links { display: flex; flex-direction: column; gap: 1.4rem; margin-bottom: 2.5rem; }
.mobile-menu__links a {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 8vw, 2.75rem);
  font-weight: 600;
  color: var(--color-ink);
}
.mobile-menu__meta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--color-primary-dark);
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 68% 30%;
  transform: scale(1.08);
  will-change: transform;
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,30,37,0.55) 0%, rgba(20,30,37,0.18) 32%, rgba(20,30,37,0.35) 68%, rgba(16,24,30,0.88) 100%),
    linear-gradient(90deg, rgba(16,24,30,0.72) 0%, rgba(16,24,30,0.18) 55%);
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 9rem;
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
  color: #fff;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}
.hero__eyebrow {
  color: #E7D9BC;
}
.hero__eyebrow::before { background: #E7D9BC; }
.hero__title {
  font-size: var(--fs-display);
  color: #fff;
  margin-top: 1rem;
  max-width: 15ch;
}
.hero__title em {
  font-style: normal;
  color: #CFE0CC;
}
.hero__lede {
  margin-top: 1.5rem;
  font-size: var(--fs-lead);
  color: rgba(255,255,255,0.84);
  max-width: 44ch;
}
.hero__actions { margin-top: 2.25rem; }
.hero__side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-end;
  text-align: right;
}
.hero__badge {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
  max-width: 300px;
  box-shadow: var(--shadow-lg);
}
.hero__badge p {
  color: rgba(255,255,255,0.92);
  font-size: 0.92rem;
  line-height: 1.5;
}
.hero__badge strong { color: #fff; font-family: var(--font-serif); font-size: 1.05rem; display: block; margin-bottom: 0.35rem; }

.hero__scroll-cue {
  position: absolute;
  left: var(--gutter);
  bottom: 1.75rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.75);
  font-size: var(--fs-small);
  letter-spacing: 0.04em;
}
.hero__scroll-cue .line {
  width: 36px; height: 1px; background: rgba(255,255,255,0.5);
  position: relative;
  overflow: hidden;
}
.hero__scroll-cue .line::after {
  content: '';
  position: absolute; left: -100%; top: 0; bottom: 0; width: 100%;
  background: #fff;
  animation: cueSlide 2.2s ease-in-out infinite;
}
@keyframes cueSlide {
  0% { left: -100%; }
  50% { left: 0; }
  100% { left: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__scroll-cue .line::after { animation: none; left: 0; }
}

/* ---------- Route line SVG (shared journey motif) ---------- */
.route-svg path.route-path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Intro / statement ---------- */
.statement {
  padding-block: var(--space-section);
}
.statement__grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.statement__text {
  font-family: var(--font-serif);
  font-size: var(--fs-h1);
  line-height: 1.22;
  color: var(--color-ink);
}
.statement__text .muted { color: var(--color-muted); }
.statement__aside {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding-top: 0.6rem;
}
.statement__aside p { font-size: 1.05rem; max-width: 46ch; }
.statement__divider {
  width: 56px; height: 2px;
  background: var(--color-sage);
}

/* ---------- Journey storytelling ---------- */
.journey {
  position: relative;
  background: var(--color-primary-dark);
  color: #fff;
  overflow: hidden;
}
.journey__intro {
  padding-top: var(--space-section-sm);
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
  text-align: left;
}
.journey__intro .eyebrow { color: #CFE0CC; }
.journey__intro .eyebrow::before { background: #CFE0CC; }
.journey__intro h2 {
  color: #fff;
  font-size: var(--fs-h1);
  max-width: 20ch;
  margin-top: 1rem;
}
.journey__intro p {
  color: rgba(255,255,255,0.72);
  max-width: 52ch;
  margin-top: 1.1rem;
  font-size: var(--fs-lead);
}

.journey__track {
  position: relative;
}

.journey__line-wrap {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 1;
}

.journey__steps {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: clamp(3.5rem, 7vw, 7rem);
  padding-bottom: var(--space-section-sm);
}

.journey-step {
  display: grid;
  grid-template-columns: 64px minmax(0,1fr) minmax(0,1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
}
.journey-step:nth-child(even) .journey-step__visual { order: 3; }
.journey-step:nth-child(even) .journey-step__text { order: 2; }

.journey-step__marker {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #fff;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(6px);
  flex-shrink: 0;
  position: relative;
}
.journey-step__marker::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid transparent;
  transition: border-color 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.journey-step.is-active .journey-step__marker {
  border-color: var(--color-gold);
  background: var(--color-gold);
  color: var(--color-primary-dark);
}
.journey-step.is-active .journey-step__marker::after {
  border-color: rgba(196,154,90,0.45);
  transform: scale(1.18);
}

.journey-step__text { padding-block: 0.5rem; }
.journey-step__text .step-eyebrow {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 700;
}
.journey-step__text h3 {
  color: #fff;
  font-size: var(--fs-h2);
  margin-top: 0.6rem;
}
.journey-step__text p {
  color: rgba(255,255,255,0.72);
  margin-top: 0.85rem;
  max-width: 42ch;
  font-size: 1.02rem;
}

.journey-step__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5/4;
  box-shadow: var(--shadow-lg);
  transform: perspective(1200px) rotateY(0deg);
}
.journey-step__visual img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.journey-step__visual::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,30,37,0) 55%, rgba(16,24,30,0.45) 100%);
}

/* ---------- Services preview (asymmetric) ---------- */
.services-preview { padding-block: var(--space-section); }
.services-preview__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.services-preview__head h2 { font-size: var(--fs-h1); max-width: 16ch; margin-top: 1rem; }
.services-preview__head p { max-width: 36ch; font-size: 1.02rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}
.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.service-card--feature { grid-column: span 7; min-height: 480px; }
.service-card--a { grid-column: span 5; }
.service-card--b { grid-column: span 6; }
.service-card--c { grid-column: span 6; }

.service-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.service-card--feature .service-card__media { aspect-ratio: auto; flex: 1; }
.service-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.service-card:hover .service-card__media img { transform: scale(1.06); }

.service-card__body { padding: clamp(1.4rem, 2.5vw, 2.2rem); }
.service-card--feature .service-card__body {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(14,20,24,0.82) 0%, rgba(14,20,24,0.0) 100%);
  padding-top: 5rem;
}
.service-card--feature .service-card__body h3,
.service-card--feature .service-card__body p { color: #fff; }
.service-card--feature .service-card__body p { color: rgba(255,255,255,0.82); }

.service-card__index {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--color-sage-dark);
  letter-spacing: 0.1em;
}
.service-card--feature .service-card__index { color: var(--color-gold-light); }
.service-card__body h3 { margin-top: 0.5rem; font-size: var(--fs-h3); }
.service-card__body p { margin-top: 0.6rem; font-size: 0.97rem; max-width: 40ch; }
.service-card__link {
  margin-top: 1.1rem;
  font-size: 0.9rem;
}

/* ---------- Why choose us ---------- */
.trust {
  padding-block: var(--space-section);
  background: var(--color-bg-soft);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.trust__grid {
  display: grid;
  grid-template-columns: minmax(0,0.9fr) minmax(0,1.6fr);
  gap: clamp(2rem, 6vw, 5rem);
}
.trust__head h2 { font-size: var(--fs-h1); max-width: 14ch; }
.trust__head p { margin-top: 1.1rem; max-width: 38ch; font-size: 1.02rem; }

.trust-list { display: flex; flex-direction: column; }
.trust-item {
  display: grid;
  grid-template-columns: 90px minmax(0,1fr);
  gap: 1.5rem;
  padding-block: 1.9rem;
  border-top: 1px solid var(--color-border);
  align-items: start;
}
.trust-item:last-child { border-bottom: 1px solid var(--color-border); }
.trust-item__num {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  color: var(--color-sage);
}
.trust-item h3 { font-size: 1.3rem; }
.trust-item p { margin-top: 0.5rem; max-width: 52ch; }

/* ---------- How it works (timeline) ---------- */
.how {
  padding-block: var(--space-section);
}
.how__head { max-width: 48ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.how__head h2 { font-size: var(--fs-h1); margin-top: 1rem; }
.how__head p { margin-top: 1.1rem; font-size: 1.02rem; }

.how-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.how-rail::before {
  content: '';
  position: absolute;
  top: 27px; left: 4%; right: 4%;
  height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--color-border) 0 10px, transparent 10px 18px);
}
.how-step { position: relative; display: flex; flex-direction: column; gap: 1.1rem; }
.how-step__num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-primary);
  position: relative;
  z-index: 1;
  transition: background 0.4s var(--ease-out), color 0.4s var(--ease-out), border-color 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.how-step.is-active .how-step__num {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  transform: translateY(-4px);
}
.how-step h3 { font-size: 1.2rem; }
.how-step p { font-size: 0.96rem; max-width: 30ch; }

/* ---------- Compassion split feature ---------- */
.feature-split {
  padding-block: var(--space-section);
  overflow: hidden;
}
.feature-split__grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,0.92fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.feature-split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.feature-split__media img { width: 100%; height: 100%; object-fit: cover; }
.feature-split__card {
  position: absolute;
  left: -1.25rem;
  bottom: 1.75rem;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg);
  max-width: 260px;
  border: 1px solid var(--color-border);
}
.feature-split__card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}
.feature-split__card p { font-size: 0.9rem; }

.feature-split__text .eyebrow { margin-bottom: 1rem; }
.feature-split__text h2 { font-size: var(--fs-h1); max-width: 14ch; }
.feature-split__text p { margin-top: 1.2rem; font-size: 1.05rem; max-width: 46ch; }
.feature-split__list {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.feature-split__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.98rem;
  color: var(--color-ink-soft);
}
.feature-split__list svg {
  width: 1.2em; height: 1.2em;
  color: var(--color-sage-dark);
  flex-shrink: 0;
  margin-top: 0.15em;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  margin-inline: var(--gutter);
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  margin-block: var(--space-section-sm);
}
.cta-banner__media { position: absolute; inset: 0; z-index: 0; }
.cta-banner__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-banner__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(16,24,30,0.92) 10%, rgba(30,45,53,0.65) 60%, rgba(16,24,30,0.4) 100%);
}
.cta-banner__content {
  position: relative; z-index: 1;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 6vw, 5rem);
  max-width: 760px;
}
.cta-banner .eyebrow { color: #CFE0CC; }
.cta-banner .eyebrow::before { background: #CFE0CC; }
.cta-banner h2 {
  color: #fff;
  font-size: var(--fs-h1);
  margin-top: 1rem;
  max-width: 16ch;
}
.cta-banner p {
  color: rgba(255,255,255,0.8);
  margin-top: 1.1rem;
  font-size: 1.05rem;
  max-width: 48ch;
}
.cta-banner .btn-row { margin-top: 2rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.75);
  padding-top: clamp(3.5rem, 7vw, 6rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .wordmark__name { color: #fff; }
.footer-brand .wordmark__kicker { color: #CFE0CC; }
.footer-brand p { color: rgba(255,255,255,0.65); margin-top: 1.1rem; max-width: 34ch; font-size: 0.96rem; }
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #CFE0CC;
  margin-bottom: 1.1rem;
  font-weight: 700;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a:hover { color: #fff; }
.footer-col .footer-phone { font-size: 1.25rem; font-family: var(--font-serif); color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1.75rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative;
  padding-top: clamp(9rem, 14vw, 11.5rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
  overflow: hidden;
  background: var(--color-primary-dark);
  color: #fff;
}
.page-hero__media { position: absolute; inset: 0; z-index: 0; opacity: 0.55; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,24,30,0.75), rgba(16,24,30,0.96));
}
.page-hero__content { position: relative; z-index: 1; max-width: 50rem; }
.page-hero .eyebrow { color: #CFE0CC; }
.page-hero .eyebrow::before { background: #CFE0CC; }
.page-hero h1 { color: #fff; font-size: var(--fs-display); margin-top: 1.1rem; max-width: 18ch; }
.page-hero p { color: rgba(255,255,255,0.78); font-size: var(--fs-lead); margin-top: 1.3rem; max-width: 50ch; }
.page-hero .btn-row { margin-top: 2rem; }

/* ---------- Services page: editorial rows ---------- */
.service-rows { padding-block: var(--space-section); display: flex; flex-direction: column; gap: clamp(4rem, 8vw, 7rem); }
.service-row {
  display: grid;
  grid-template-columns: minmax(0,0.95fr) minmax(0,1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.service-row:nth-child(even) .service-row__media { order: 2; }
.service-row:nth-child(even) .service-row__text { order: 1; }
.service-row__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 6/5;
  box-shadow: var(--shadow-md);
}
.service-row__media img { width: 100%; height: 100%; object-fit: cover; }
.service-row__tag {
  position: absolute;
  top: 1.25rem; left: 1.25rem;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-primary-dark);
}
.service-row__text .eyebrow { margin-bottom: 0.9rem; }
.service-row__text h2 { font-size: var(--fs-h1); max-width: 15ch; }
.service-row__text p { margin-top: 1.1rem; font-size: 1.05rem; max-width: 46ch; }
.service-row__notes {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.service-row__notes li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.96rem;
  color: var(--color-ink-soft);
}
.service-row__notes svg { width: 1.15em; height: 1.15em; color: var(--color-sage-dark); flex-shrink: 0; margin-top: 0.2em; }

.service-note-banner {
  margin-top: 1.75rem;
  padding: 1.1rem 1.4rem;
  background: var(--color-sage-light);
  border-radius: var(--radius-md);
  border: 1px solid #D7E4D3;
  font-size: 0.92rem;
  color: var(--color-ink-soft);
  display: flex;
  gap: 0.75rem;
}
.service-note-banner svg { width: 1.3em; height: 1.3em; color: var(--color-sage-dark); flex-shrink: 0; }

/* ---------- FAQ ---------- */
.faq { padding-block: var(--space-section); }
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0,0.8fr) minmax(0,1.2fr);
  gap: clamp(2rem, 5vw, 4rem);
}
.faq__head h2 { font-size: var(--fs-h1); max-width: 12ch; }
.faq__head p { margin-top: 1.1rem; font-size: 1.02rem; max-width: 34ch; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--color-border); }
.faq-item:last-child { border-bottom: 1px solid var(--color-border); }
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-ink);
}
.faq-item__icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.faq-item__icon span, .faq-item__icon span::before {
  content: '';
  position: absolute;
  background: var(--color-ink);
  transition: transform 0.35s var(--ease-out);
}
.faq-item__icon span { width: 12px; height: 1.5px; }
.faq-item__icon span::before { width: 1.5px; height: 12px; left: 5.25px; top: -5.25px; }
.faq-item__q[aria-expanded="true"] .faq-item__icon span::before { transform: rotate(90deg); transform-origin: center; }
.faq-item__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.45s var(--ease-out);
}
.faq-item__a-inner { padding-bottom: 1.6rem; max-width: 60ch; }
.faq-item__a-inner p { font-size: 0.98rem; }

/* ---------- Contact page ---------- */
.contact-section { padding-block: var(--space-section); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0,0.95fr) minmax(0,1.15fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact-info h2 { font-size: var(--fs-h1); max-width: 14ch; }
.contact-info > p { margin-top: 1.1rem; font-size: 1.05rem; max-width: 42ch; }

.contact-card {
  margin-top: 2.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-sm);
}
.contact-card__row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 1.1rem;
  border-top: 1px solid var(--color-border);
}
.contact-card__row:first-child { border-top: none; padding-top: 0; }
.contact-card__icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-card__icon svg { width: 1.3em; height: 1.3em; }
.contact-card__row strong { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-muted); margin-bottom: 0.2rem; }
.contact-card__row a, .contact-card__row span { font-size: 1.1rem; font-weight: 600; color: var(--color-ink); }
.contact-card__row a:hover { color: var(--color-primary); }

.privacy-note {
  margin-top: 2rem;
  display: flex;
  gap: 0.85rem;
  padding: 1.1rem 1.3rem;
  background: var(--color-sage-light);
  border: 1px solid #D7E4D3;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--color-ink-soft);
}
.privacy-note svg { width: 1.3em; height: 1.3em; color: var(--color-sage-dark); flex-shrink: 0; }

/* Form */
.ride-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: var(--shadow-md);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem;
}
.form-field { display: flex; flex-direction: column; gap: 0.5rem; }
.form-field--full { grid-column: 1 / -1; }
.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-ink);
}
.form-field .optional { color: var(--color-muted); font-weight: 400; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  background: var(--color-bg);
  font-size: 0.98rem;
  color: var(--color-ink);
  transition: border-color 0.25s var(--ease-out), background 0.25s var(--ease-out);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--color-primary);
  background: #fff;
  outline: none;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field--radio-group { gap: 0.75rem; }
.radio-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.radio-chip {
  position: relative;
}
.radio-chip input { position: absolute; opacity: 0; }
.radio-chip span {
  display: inline-flex;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-border);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-ink-soft);
  transition: all 0.25s var(--ease-out);
}
.radio-chip input:checked + span {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.radio-chip input:focus-visible + span { outline: 2.5px solid var(--color-gold); outline-offset: 2px; }

.form-footer {
  margin-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.form-footer p { font-size: 0.82rem; max-width: 30ch; }

.form-note {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--color-muted);
}

.form-confirm {
  display: none;
  margin-top: 1.5rem;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius-md);
  background: var(--color-primary-light);
  border: 1px solid #CBDBE0;
  gap: 0.9rem;
  align-items: flex-start;
}
.form-confirm.is-visible { display: flex; }
.form-confirm svg { width: 1.5em; height: 1.5em; color: var(--color-primary); flex-shrink: 0; margin-top: 0.1em; }
.form-confirm strong { display: block; margin-bottom: 0.3rem; font-family: var(--font-serif); font-size: 1.05rem; }
.form-confirm p { font-size: 0.93rem; }
.form-confirm a { color: var(--color-primary); font-weight: 700; }

/* ---------- Reveal animation utility ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__media img { transform: none !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(6, 1fr); }
  .service-card--feature { grid-column: span 6; }
  .service-card--a, .service-card--b, .service-card--c { grid-column: span 3; }
  .trust__grid { grid-template-columns: 1fr; }
  .faq__grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav-links, .nav-call-wrap, .nav-actions .btn--primary { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__side { align-items: flex-start; text-align: left; }
  .hero__badge { max-width: 100%; }

  .statement__grid { grid-template-columns: 1fr; gap: 1.75rem; }

  .journey-step {
    grid-template-columns: 48px minmax(0,1fr);
  }
  .journey-step__visual,
  .journey-step:nth-child(even) .journey-step__visual { order: 2 !important; grid-column: 2; }
  .journey-step__text,
  .journey-step:nth-child(even) .journey-step__text { order: 3 !important; grid-column: 2; }
  .journey-step__marker { width: 48px; height: 48px; font-size: 1rem; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card--feature, .service-card--a, .service-card--b, .service-card--c { grid-column: span 2; }
  .service-card--feature { min-height: 360px; }

  .how-rail { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .how-rail::before { display: none; }

  .feature-split__grid { grid-template-columns: 1fr; }
  .feature-split__media { order: 1; }
  .feature-split__card { position: static; margin-top: -2.5rem; margin-left: 1.25rem; width: calc(100% - 2.5rem); }

  .service-row { grid-template-columns: 1fr !important; }
  .service-row__media { order: 1 !important; }
  .service-row__text { order: 2 !important; }

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

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__title { max-width: 100%; }
  .journey-step { grid-template-columns: 1fr; }
  .journey-step__marker { display: none; }
  .journey-step__visual, .journey-step__text { grid-column: 1; }
}
