:root {
  --c-sky-1: #e8f5fb;
  --c-sky-2: #cfe7f5;
  --c-blue: #46c2dd;
  --c-blue-dark: #2c8aa6;
  --c-blue-deep: #1e4f6b;
  --c-red: #d94545;
  --c-red-dark: #a82e2e;
  --c-yellow: #f5c543;
  --c-yellow-dark: #c79b1f;
  --c-ink: #1a2230;
  --c-ink-soft: #46566b;
  --c-paper: #ffffff;
  --c-paper-warm: #fbf9f4;
  --c-line: #e2e6ec;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 6px rgba(20, 40, 60, 0.06);
  --shadow-md: 0 12px 28px rgba(20, 40, 60, 0.10);
  --shadow-lg: 0 28px 60px rgba(20, 40, 60, 0.14);

  --wrap: 1140px;
  --gap: clamp(1rem, 2.5vw, 2rem);

  --font-display: 'Fredoka', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--c-ink);
  background: var(--c-paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--c-blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--c-ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

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

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--c-ink); color: #fff;
  padding: 0.75rem 1rem; border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 0.85rem;
  gap: 1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.35rem;
  color: var(--c-ink);
}
.brand:hover { text-decoration: none; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: linear-gradient(180deg, var(--c-sky-1), var(--c-sky-2));
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  image-rendering: pixelated;
}
.brand-mark img { image-rendering: pixelated; width: 32px; height: 32px; }
.brand-accent { color: var(--c-blue-dark); }

.site-nav { display: flex; align-items: center; }
.nav-list {
  display: flex; gap: 1.5rem;
  list-style: none; margin: 0; padding: 0;
}
.nav-list a {
  color: var(--c-ink); font-weight: 600;
  padding: 0.35rem 0; position: relative;
}
.nav-list a:hover { color: var(--c-blue-dark); text-decoration: none; }
.nav-list a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--c-yellow); transform: scaleX(0); transform-origin: left;
  transition: transform 180ms ease;
}
.nav-list a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: transparent; border: 0;
  width: 40px; height: 40px;
  cursor: pointer; padding: 8px;
}
.nav-toggle-bar {
  display: block; height: 2px; background: var(--c-ink);
  margin: 4px 0; border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-display); font-weight: 600;
  font-size: 1rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--c-red); color: #fff;
  box-shadow: 0 6px 0 var(--c-red-dark);
}
.btn-primary:hover { background: #e25555; }
.btn-primary:active { box-shadow: 0 2px 0 var(--c-red-dark); transform: translateY(2px); }
.btn-secondary {
  background: var(--c-blue); color: #fff;
  box-shadow: 0 6px 0 var(--c-blue-dark);
}
.btn-secondary:hover { background: #5cd0e8; }
.btn-secondary:active { box-shadow: 0 2px 0 var(--c-blue-dark); transform: translateY(2px); }
.btn-ghost {
  background: transparent; color: var(--c-blue-deep);
  border-color: var(--c-blue-deep);
}
.btn-ghost:hover { background: var(--c-blue-deep); color: #fff; }

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--c-sky-1) 0%, var(--c-sky-2) 100%);
  color: var(--c-paper);
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(6rem, 10vw, 9rem);
  min-height: clamp(640px, 86vh, 880px);
  overflow: hidden;
  isolation: isolate;
}
.hero-inner {
  position: relative; z-index: 2;
  min-height: clamp(380px, 52vh, 520px);
}
.hero-copy { max-width: 560px; }
.hero-copy { color: var(--c-ink); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--c-blue-dark);
  background: rgba(255, 255, 255, 0.7);
  padding: 0.35rem 0.85rem; border-radius: 999px;
  margin: 0 0 1.25rem;
}
.hero-title {
  margin: 0 0 1rem;
  color: var(--c-blue-deep);
}
.text-pop {
  color: var(--c-red);
  display: inline-block;
  background: linear-gradient(180deg, transparent 60%, rgba(245, 197, 67, 0.5) 60%);
  padding: 0 0.15em;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--c-ink-soft);
  max-width: 36ch;
  margin: 0 0 2rem;
}
.hero-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.hero-clouds {
  position: absolute; inset: 0;
  z-index: 0; pointer-events: none;
  overflow: hidden;
}
.cloud-layer {
  position: absolute;
  inset: 0;
  will-change: transform;
}
.cloud-layer-far  { animation: drift-far  140s linear infinite; opacity: 0.55; }
.cloud-layer-mid  { animation: drift-mid   95s linear infinite; opacity: 0.75; }
.cloud-layer-near { animation: drift-near  65s linear infinite; opacity: 0.95; }
@keyframes drift-far  { from { transform: translateX(-12%); } to { transform: translateX(112%); } }
@keyframes drift-mid  { from { transform: translateX(-14%); } to { transform: translateX(114%); } }
@keyframes drift-near { from { transform: translateX(-16%); } to { transform: translateX(116%); } }

.cloud {
  position: absolute;
  background: #fff; border-radius: 100px;
  filter: blur(5px); opacity: 0.85;
}
.cloud::before, .cloud::after {
  content: ''; position: absolute; background: #fff; border-radius: 50%;
}
/* Far layer — smaller, lower contrast */
.cloud-a { width: 130px; height: 26px; top: 14%; left: 6%; }
.cloud-a::before { width: 44px; height: 44px; top: -22px; left: 22px; }
.cloud-a::after  { width: 60px; height: 60px; top: -34px; left: 60px; }
.cloud-b { width: 110px; height: 22px; top: 36%; left: 42%; }
.cloud-b::before { width: 38px; height: 38px; top: -18px; left: 18px; }
.cloud-b::after  { width: 50px; height: 50px; top: -26px; left: 48px; }
.cloud-c { width: 150px; height: 28px; top: 58%; left: 70%; }
.cloud-c::before { width: 50px; height: 50px; top: -24px; left: 26px; }
.cloud-c::after  { width: 64px; height: 64px; top: -36px; left: 72px; }

/* Mid layer */
.cloud-d { width: 200px; height: 38px; top: 22%; left: 18%; }
.cloud-d::before { width: 64px; height: 64px; top: -30px; left: 30px; }
.cloud-d::after  { width: 86px; height: 86px; top: -48px; left: 90px; }
.cloud-e { width: 230px; height: 42px; top: 48%; left: 55%; }
.cloud-e::before { width: 72px; height: 72px; top: -36px; left: 38px; }
.cloud-e::after  { width: 100px; height: 100px; top: -56px; left: 110px; }

/* Near layer — bigger, sharper */
.cloud-f { width: 260px; height: 48px; top: 8%; left: 64%; filter: blur(3px); }
.cloud-f::before { width: 84px; height: 84px; top: -40px; left: 42px; }
.cloud-f::after  { width: 116px; height: 116px; top: -64px; left: 130px; }
.cloud-g { width: 200px; height: 38px; top: 68%; left: 8%; filter: blur(3px); }
.cloud-g::before { width: 70px; height: 70px; top: -32px; left: 30px; }
.cloud-g::after  { width: 92px; height: 92px; top: -50px; left: 96px; }

.ground-area {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 220px;
  z-index: 2;
  pointer-events: none;
}
.landing-pad {
  position: absolute;
  bottom: 30px; /* feet land inside the green grass area */
  right: 18%;
  width: 200px; height: 30px;
}
.pad-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(30, 79, 107, 0.18) 0%,
    rgba(30, 79, 107, 0.08) 55%,
    rgba(30, 79, 107, 0) 75%);
}
.pad-ring-2 {
  inset: 6px 30px;
  background: radial-gradient(ellipse at center,
    rgba(30, 79, 107, 0.22) 0%,
    rgba(30, 79, 107, 0) 70%);
}
.hero-sun {
  position: absolute;
  top: 50%; right: 18%;
  width: 360px; height: 360px;
  transform: translate(50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255, 240, 160, 0.85) 0%,
    rgba(255, 218, 90, 0.70) 18%,
    rgba(245, 197, 67, 0.42) 42%,
    rgba(245, 197, 67, 0.18) 65%,
    rgba(245, 197, 67, 0) 88%);
  filter: blur(6px);
  z-index: 0;
  pointer-events: none;
}
.hero-rays {
  position: absolute;
  top: 50%; right: 18%;
  width: 520px; height: 520px;
  transform: translate(50%, -50%);
  background:
    repeating-conic-gradient(from 0deg at 50% 50%,
      rgba(255, 255, 255, 0.55) 0deg 4deg,
      transparent 4deg 18deg);
  -webkit-mask: radial-gradient(circle, transparent 22%, #000 23%, #000 60%, transparent 70%);
          mask: radial-gradient(circle, transparent 22%, #000 23%, #000 60%, transparent 70%);
  animation: spin 60s linear infinite;
  opacity: 0.55;
  z-index: 1;
  pointer-events: none;
}
@keyframes spin { to { transform: translate(50%, -50%) rotate(360deg); } }

/* Mascot stage spans the whole hero so the flight path can roam */
.mascot-stage {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
}
.mascot {
  position: absolute;
  left: 0; top: 0;
  width: clamp(220px, 23vw, 330px);
  height: clamp(220px, 23vw, 330px);
  transform: translate(0, 0);
  will-change: transform;
  filter: drop-shadow(0 10px 0 rgba(30, 79, 107, 0.14));
}
.m-sprite {
  position: absolute; inset: 0;
  background-repeat: no-repeat;
  background-position: 0 0;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  opacity: 0;
  transition: opacity 80ms linear;
}
.m-sprite.is-active { opacity: 1; }

.mascot-shadow {
  position: absolute;
  left: 0; top: 0;
  width: 200px; height: 24px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(30, 79, 107, 0.38) 0%,
    rgba(30, 79, 107, 0.20) 40%,
    rgba(30, 79, 107, 0) 75%);
  transform: translate(0, 0);
  will-change: transform, opacity;
  pointer-events: none;
}

/* Flight easter-egg hint chip */
.flight-hint {
  position: absolute;
  left: 50%;
  bottom: clamp(90px, 12vw, 130px);
  transform: translate(-50%, 12px);
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.55rem 1rem 0.55rem 0.85rem;
  background: rgba(30, 79, 107, 0.92);
  color: #fff;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 30px rgba(30, 79, 107, 0.30);
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  transition: opacity 360ms ease, transform 360ms cubic-bezier(.34,1.56,.64,1);
}
.flight-hint.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.hint-keys { display: inline-flex; gap: 0.18rem; }
.hint-keys kbd {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px;
  padding: 0 4px;
  background: #fff; color: var(--c-blue-deep);
  border-radius: 6px;
  font-family: var(--font-body); font-weight: 700;
  font-size: 0.85rem; line-height: 1;
  box-shadow: 0 2px 0 rgba(0,0,0,0.18);
}

.grass-divider {
  position: absolute; left: 0; right: 0; bottom: -1px;
  width: 100%; height: 160px;
  display: block;
  z-index: 1;
  filter: drop-shadow(0 -2px 4px rgba(46, 92, 22, 0.10));
}

/* Sections */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-about {
  background:
    linear-gradient(180deg,
      #cfe9ad 0%,
      #ecf6dc 70px,
      var(--c-paper) 200px);
}
.section-mission {
  background: var(--c-paper-warm);
  position: relative; overflow: hidden;
}
.section-services { background: var(--c-paper); }
.section-contact { background: linear-gradient(180deg, var(--c-paper) 0%, var(--c-sky-1) 100%); }

.kicker {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--c-red);
  margin: 0 0 0.5rem;
}
.kicker.centered { text-align: center; }
.centered { text-align: center; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.col-text p { color: var(--c-ink-soft); font-size: 1.05rem; }

/* Stat grid */
.stat-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.stat-grid li {
  background: var(--c-paper);
  border: 2px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.stat-grid li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-yellow);
}
.stat-num {
  display: block;
  font-family: var(--font-display); font-weight: 700;
  font-size: 2.5rem; color: var(--c-blue-dark);
  line-height: 1;
}
.stat-label {
  display: block; margin-top: 0.4rem;
  font-size: 0.9rem; color: var(--c-ink-soft);
}

/* Mission */
.mission-inner { max-width: 760px; margin-inline: auto; text-align: center; }
.lede { font-size: 1.2rem; color: var(--c-ink-soft); }

/* Journey — A-Man walks the path past milestones, then takes flight */
.journey {
  max-width: 1140px;
  margin: 3rem auto 0;
  padding-inline: clamp(1rem, 4vw, 2rem);
}
.journey-track {
  position: relative;
  height: 380px;
}
/* Wrapper around the dashed path + mascot. display:contents leaves desktop geometry
   untouched; on mobile it becomes a real box so the milestones can stack beneath it. */
.journey-anim { display: contents; }

/* The path line the milestones and mascot travel along */
.journey-line {
  position: absolute;
  left: 0; right: 0;
  bottom: 92px;
  height: 10px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg,
    var(--c-blue) 0 26px,
    transparent 26px 42px);
  opacity: 0.55;
}

.milestones {
  list-style: none; margin: 0; padding: 0;
  position: absolute; inset: 0;
}
.milestone {
  position: absolute;
  left: var(--at);
  bottom: 200px; /* card sits high so the walking mascot's head clears it */
  width: 200px;
  margin-left: -100px; /* center on --at */
}
/* Thin dashed stem connecting each card down to its dot on the path */
.milestone::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -90px;
  width: 3px; height: 88px;
  margin-left: -1.5px;
  background: repeating-linear-gradient(180deg,
    var(--c-blue) 0 6px, transparent 6px 12px);
  opacity: 0.4;
  pointer-events: none;
}
/* The whole label is a button: always-visible, recolors when passed, opens detail. */
.ms-btn {
  display: flex; flex-direction: column; align-items: center; gap: 0.12rem;
  width: 100%;
  padding: 0.5rem 0.4rem 0.7rem;
  margin: 0;
  border: 0;
  background: transparent;
  border-radius: var(--radius);
  text-align: center;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: background 200ms ease, transform 200ms ease;
}
.ms-btn:hover { background: rgba(70, 194, 221, 0.10); transform: translateY(-2px); }
.ms-btn:focus-visible { outline: 3px solid var(--c-blue); outline-offset: 2px; }
.milestone.is-open .ms-btn { background: rgba(70, 194, 221, 0.14); }

.ms-dot {
  position: absolute;
  left: 50%; bottom: -114px; /* drops all the way down onto the line */
  width: 22px; height: 22px;
  margin-left: -11px;
  border-radius: 50%;
  background: var(--c-paper);
  border: 5px solid var(--c-blue);
  box-shadow: var(--shadow-sm);
  transition: background 300ms ease, border-color 300ms ease, transform 300ms ease;
}
/* Color change as the mascot passes by */
.milestone.is-reached .ms-dot {
  background: var(--c-yellow);
  border-color: var(--c-yellow-dark);
  transform: scale(1.3);
}
.ms-step {
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--c-ink-soft);
  transition: color 300ms ease;
}
.milestone.is-reached .ms-step { color: var(--c-blue-dark); }
.ms-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.2rem; color: var(--c-ink-soft);
  transition: color 300ms ease;
}
.milestone.is-reached .ms-title { color: var(--c-blue-deep); }
.ms-desc {
  font-size: 0.88rem; color: var(--c-ink-soft);
  line-height: 1.4;
}
.ms-more {
  margin-top: 0.25rem;
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--c-blue-dark);
  opacity: 0.55;
  transition: opacity 200ms ease;
}
.ms-btn:hover .ms-more,
.ms-btn:focus-visible .ms-more,
.milestone.is-open .ms-more { opacity: 1; }
.milestone.is-open .ms-more { color: var(--c-red); }

/* Shared accordion panel below the path */
.journey-detail {
  max-width: 760px;
  margin: 0.5rem auto 0;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  background: var(--c-paper-warm);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: max-height 360ms ease, opacity 280ms ease, margin-top 360ms ease, padding 360ms ease;
  padding: 0 1.4rem;
  position: relative;
}
.journey-detail.is-open {
  max-height: 480px;
  opacity: 1;
  margin-top: 1.25rem;
  padding: 1.3rem 1.4rem;
}
.journey-detail-body {
  color: var(--c-ink-soft);
  line-height: 1.55;
}
.journey-detail-body :first-child { margin-top: 0; }
.journey-detail-body :last-child { margin-bottom: 0; }
.journey-detail-body h4 {
  font-family: var(--font-display); color: var(--c-blue-deep);
  font-size: 1.15rem; margin: 0 0 0.4rem;
}
/* The moving mascot */
.hiker {
  position: absolute;
  left: 0;
  bottom: 72px; /* feet rest near the path line */
  width: 120px; height: 120px; /* scaled up from the 92px sprite frame */
  margin-left: -60px; /* center sprite on its left% */
  transform-origin: 50% 78%; /* pivot near the feet so scaling keeps them planted */
  z-index: 5; /* ride in FRONT of the milestone dots/stems */
  will-change: transform, left;
}
/* Step 1: A-Man starts small, then "grows" with the pop at step 2 */
.hiker.small { transform: scale(0.62); }
.h-sprite {
  position: absolute; inset: 0;
  background-repeat: no-repeat;
  background-position: 0 0;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  opacity: 0;
  transition: opacity 80ms linear;
}
.h-sprite.is-active { opacity: 1; }

/* Transformation pop + flash (lowercase a → A → caped A) */
.morph-flash {
  position: absolute; inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 236, 150, 0.65) 38%,
    rgba(255, 236, 150, 0) 70%);
  opacity: 0;
  pointer-events: none;
  z-index: 5;
}
.hiker.is-morphing { animation: morphPop 640ms ease; }
.hiker.is-morphing .morph-flash { animation: morphFlash 640ms ease; }
@keyframes morphPop {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.32); }
  55%  { transform: scale(0.96); }
  100% { transform: scale(1); }
}
@keyframes morphFlash {
  0%   { opacity: 0; transform: scale(0.3); }
  35%  { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.9); }
}

/* Service cards */
.cards {
  list-style: none; padding: 0; margin: 2.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.card {
  background: var(--c-paper);
  border: 2px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-blue);
}
.card h3 { margin: 0.5rem 0 0.75rem; color: var(--c-blue-deep); }
.card p { color: var(--c-ink-soft); margin: 0; }
.card-badge {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 72px; height: 72px;
  margin: -3.5rem auto 0;
  border-radius: 50%;
  font-family: var(--font-display); font-weight: 700;
  font-size: 2rem; color: #fff;
  border: 4px solid var(--c-paper);
  box-shadow: var(--shadow-md);
  overflow: visible;
  transition: transform 220ms cubic-bezier(.34,1.56,.64,1);
}
.card-badge-blue   { background: var(--c-blue); }
.card-badge-yellow { background: var(--c-yellow); color: var(--c-blue-deep); }
.card-badge-red    { background: var(--c-red); }
.card-badge-deep   { background: var(--c-blue-deep); }

.badge-letter {
  display: inline-block;
  transition: opacity 160ms ease, transform 220ms ease;
}
.card-waver {
  position: absolute;
  left: 50%; bottom: 0;
  width: 92px; height: 92px;
  transform: translate(-50%, 14%) scale(0.55);
  transform-origin: 50% 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 260ms cubic-bezier(.34,1.56,.64,1);
}
.card:hover .card-badge { transform: scale(1.05); }
.card:hover .badge-letter { opacity: 0; transform: scale(0.7); }
.card:hover .card-waver {
  opacity: 1;
  transform: translate(-50%, -28%) scale(0.95);
}
.card:focus-within .badge-letter { opacity: 0; transform: scale(0.7); }
.card:focus-within .card-waver {
  opacity: 1;
  transform: translate(-50%, -28%) scale(0.95);
}

/* Testimonials */
.section-testimonials { background: var(--c-paper-warm); }
.quotes {
  list-style: none; padding: 0; margin: 2.5rem 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
.quote-card {
  position: relative;
  background: var(--c-paper);
  border: 2px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.75rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.quote-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-yellow);
}
.quote-mark {
  position: absolute;
  top: 0.1rem; left: 1.25rem;
  font-family: var(--font-display); font-weight: 700;
  font-size: 4rem; line-height: 1;
  color: var(--c-yellow);
  pointer-events: none;
}
.quote-card blockquote { margin: 0; }
.quote-card blockquote p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--c-ink-soft);
  font-style: italic;
}
.quote-by {
  margin: 1rem 0 0;
  font-family: var(--font-display); font-weight: 600;
  color: var(--c-blue-deep);
}

/* Contact */
.contact-list {
  margin: 1.5rem 0 0;
  display: grid; gap: 0.75rem;
}
.contact-list > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem; align-items: baseline;
}
.contact-list dt {
  font-family: var(--font-display);
  font-weight: 600; color: var(--c-blue-dark);
  text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.08em;
}
.contact-list dd { margin: 0; font-size: 1.05rem; }

.contact-form {
  background: var(--c-paper);
  border: 2px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-md);
  display: grid; gap: 1rem;
}
.field { display: grid; gap: 0.35rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label {
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.85rem; color: var(--c-blue-deep);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.field input, .field textarea {
  font: inherit; color: var(--c-ink);
  background: var(--c-paper-warm);
  border: 2px solid var(--c-line);
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
  width: 100%;
  transition: border-color 150ms ease, background 150ms ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--c-blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(70, 194, 221, 0.18);
}
.contact-form .btn { justify-self: start; }
/* "Not a bot" hCaptcha widget. The iframe is a fixed ~303px wide; scale it down on
   slim phones so it never overflows the form. (The challenge popup is a separate
   overlay positioned by hCaptcha, so this transform doesn't affect it.) */
.captcha-field { min-height: 78px; }
.captcha-field .h-captcha { transform-origin: left top; }
@media (max-width: 380px) {
  .captcha-field .h-captcha { transform: scale(0.92); }
}
.form-note { font-size: 0.85rem; color: var(--c-ink-soft); margin: 0; }
/* Honeypot anti-spam field — hidden from people, available to bots. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status {
  margin: 0; font-size: 0.95rem; font-weight: 600;
  padding: 0.75rem 0.9rem; border-radius: var(--radius);
  border: 2px solid var(--c-line); background: var(--c-paper-warm);
  color: var(--c-ink);
}
.form-status.is-success { border-color: #3aa66e; background: #eafaf1; color: #1d6b44; }
.form-status.is-error { border-color: var(--c-red); background: #fdecec; color: var(--c-red-dark); }

/* Footer */
.site-footer {
  background: var(--c-blue-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 1.5rem 0;
}
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
}
.footer-inner p { margin: 0; }
.footer-tag {
  font-family: var(--font-display); color: #fff;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Responsive */
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-list {
    position: absolute; top: 100%; right: 1rem;
    flex-direction: column; gap: 0;
    background: #fff; border: 1px solid var(--c-line);
    border-radius: var(--radius);
    padding: 0.5rem; min-width: 180px;
    box-shadow: var(--shadow-md);
    transform: scale(0.95); transform-origin: top right;
    opacity: 0; pointer-events: none;
    transition: opacity 150ms ease, transform 150ms ease;
  }
  .nav-list.is-open { opacity: 1; transform: scale(1); pointer-events: auto; }
  .nav-list li { width: 100%; }
  .nav-list a { display: block; padding: 0.6rem 0.8rem; border-radius: 8px; }
  .nav-list a:hover { background: var(--c-sky-1); }
  .nav-list a::after { display: none; }

  .hero-inner { text-align: center; }
  .hero-copy { margin-inline: auto; }
  .hero-sub { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .landing-pad { right: 50%; transform: translateX(50%); }

  .two-col { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }

  /* Journey collapses from a horizontal path into a vertical timeline.
     The mascot keeps walking the dashed strip on top; steps stack below it. */
  .journey-track { height: auto; }
  .journey-anim {
    display: block; position: relative;
    height: 150px;
    margin-bottom: 0.5rem;
  }
  .journey-line { bottom: 44px; }
  .hiker { bottom: 24px; }

  .milestones {
    position: relative; inset: auto;
    display: flex; flex-direction: column;
    gap: 0.4rem;
    max-width: 480px; margin: 0 auto;
  }
  .milestones::before {
    content: ''; position: absolute;
    left: 19px; top: 1.5rem; bottom: 1.5rem;
    width: 4px; margin-left: -2px;
    background: repeating-linear-gradient(180deg,
      var(--c-blue) 0 9px, transparent 9px 16px);
    opacity: 0.5;
  }
  .milestone {
    position: relative;
    left: auto; bottom: auto;
    width: 100%; margin: 0;
  }
  .milestone::after { display: none; } /* no desktop stem in the vertical timeline */
  .ms-btn {
    align-items: flex-start;
    text-align: left;
    gap: 0.05rem;
    padding: 0.7rem 0.9rem 0.7rem 2.9rem;
  }
  .ms-dot {
    left: 8px; top: 50%; bottom: auto;
    margin-left: 0;
    transform: translateY(-50%);
  }
  .milestone.is-reached .ms-dot { transform: translateY(-50%) scale(1.25); }
  .ms-title { font-size: 1.05rem; }
  .contact-list > div { grid-template-columns: 1fr; gap: 0.1rem; }
}

@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}
