/* ════════════════════════════════════════════════════════
   SAFELOOP MARKETING SITE
   Cinematic premium landing — navy / cream / warm yellow / forest green
   ════════════════════════════════════════════════════════ */

@import url("https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap");

:root {
  /* Marketing palette (extends SafeLoop design system) */
  --navy:        #0A1828;
  --navy-2:      #112744;
  --navy-3:      #1A3559;
  --navy-soft:   #243F66;
  --cream:       #FAF6EE;
  --cream-2:     #F2ECDC;
  --cream-deep:  #EADFC6;
  --white:       #FFFFFF;

  --yellow:      #F4C254;
  --yellow-soft: #FFD97A;
  --yellow-deep: #D9A22A;

  --green:       #1A6B4A;        /* SafeLoop forest */
  --green-light: #27A36E;        /* Emerald */
  --teal-glow:   #5DD3A8;
  --mint-soft:   #C5E8D7;

  --ink:         #0A1828;
  --ink-2:       #2A3F5C;
  --muted:       #6B7C95;
  --muted-2:     #8995A8;

  --border-navy: rgba(255,255,255,0.08);
  --border-cream:#E2D9C4;

  --shadow-soft:  0 4px 20px rgba(10,24,40,0.06), 0 1px 4px rgba(10,24,40,0.04);
  --shadow-card:  0 12px 40px rgba(10,24,40,0.10), 0 2px 8px rgba(10,24,40,0.06);
  --shadow-float: 0 30px 80px rgba(10,24,40,0.25), 0 8px 24px rgba(10,24,40,0.12);
  --shadow-glow:  0 0 0 1px rgba(93,211,168,0.20), 0 20px 60px rgba(39,163,110,0.25);

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;

  --ease-cinematic: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

/* ── Type ──────────────────────────────────────── */
.display, .h1, .h2, .h3, .eyebrow {
  font-family: var(--font-display);
}
.display {
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.h1 {
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.028em;
  font-weight: 700;
}
.h2 {
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.h3 {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 600;
}
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-light);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}
.eyebrow.on-dark { color: var(--yellow-soft); }
.eyebrow.solo::before { display: none; }

.lead {
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
  font-weight: 400;
}

.on-dark { color: var(--white); }
.on-dark .lead { color: rgba(255,255,255,0.74); }

/* ── Layout ─────────────────────────────────────── */
.shell { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.section { position: relative; padding: clamp(80px, 11vw, 160px) 0; overflow: hidden; }
.section.navy { background: var(--navy); color: var(--white); }
.section.navy-deep { background: linear-gradient(180deg, var(--navy) 0%, #050E1A 100%); color: var(--white); }
.section.cream { background: var(--cream); }

/* ── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform 0.4s var(--ease-cinematic), box-shadow 0.4s var(--ease-cinematic), background 0.3s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 0 12px 30px rgba(244,194,84,0.35), inset 0 -2px 0 rgba(0,0,0,0.06);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(244,194,84,0.45), inset 0 -2px 0 rgba(0,0,0,0.06); }
.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn-dark {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(10,24,40,0.25);
}
.btn-dark:hover { transform: translateY(-2px); background: #06111E; }
.btn-arrow {
  width: 18px; height: 18px;
  border-radius: 999px;
  background: currentColor;
  position: relative;
  flex-shrink: 0;
  opacity: 0.95;
}
.btn-arrow::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 6px; height: 6px;
  border-top: 1.5px solid var(--navy);
  border-right: 1.5px solid var(--navy);
  transform: rotate(45deg) translate(-1px, 1px);
}
.btn-ghost .btn-arrow::after,
.btn-primary .btn-arrow::after { border-color: var(--navy); }
.btn-ghost .btn-arrow { background: var(--yellow); }

/* ── Nav ────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, padding 0.3s ease;
}
.nav.scrolled {
  background: rgba(10,24,40,0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.nav-brand .brand-mark {
  width: 30px; height: 30px;
  display: grid; place-items: center;
}
.nav-links {
  display: flex; gap: 32px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
}
.nav-links a { transition: color 0.2s ease; }
.nav-links a:hover { color: var(--yellow-soft); }

@media (max-width: 820px) {
  .nav-links { display: none; }
}

/* ── HERO ───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 80px;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  /* aurora glow upper-right */
  top: -10%; right: -10%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle at center, rgba(39,163,110,0.22), transparent 60%);
  filter: blur(20px);
}
.hero::after {
  /* warm glow lower-left */
  bottom: -20%; left: -15%;
  width: 55vw; height: 55vw;
  background: radial-gradient(circle at center, rgba(244,194,84,0.13), transparent 65%);
  filter: blur(20px);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.hero-eyebrow-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
}
.hero-eyebrow-row .pulse {
  width: 22px; height: 22px;
  border-radius: 999px;
  background: var(--teal-glow);
  display: grid; place-items: center;
  color: var(--navy);
  font-weight: 800;
  font-size: 10px;
  box-shadow: 0 0 0 6px rgba(93,211,168,0.18);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.038em;
  font-weight: 700;
  max-width: 14ch;
}
.hero h1 .accent {
  font-style: italic;
  font-weight: 500;
  color: var(--yellow-soft);
  font-family: var(--font-display);
}
.hero p.lead {
  margin-top: 26px;
  max-width: 50ch;
  color: rgba(255,255,255,0.74);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.55;
}
.hero-ctas {
  margin-top: 38px;
  display: flex; flex-wrap: wrap; gap: 14px;
}

.hero-meta {
  margin-top: 56px;
  display: flex; gap: 36px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 24px;
}
.hero-meta-item .num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--yellow-soft);
}
.hero-meta-item .lbl {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
  letter-spacing: 0.04em;
}

/* ── Hero stage: ground-plane road + 3D bus + cards ─ */
.hero-stage {
  position: relative;
  height: 620px;
  width: 100%;
  perspective: 1200px;
  perspective-origin: 50% 30%;
}
@media (max-width: 980px) {
  .hero-stage { height: 500px; margin-top: 20px; }
}
@media (max-width: 560px) {
  .hero-stage { height: 400px; }
}

/* Soft ambient glow behind bus */
.stage-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 60% 60%, rgba(39,163,110,0.20), transparent 65%),
    radial-gradient(ellipse 45% 35% at 30% 40%, rgba(244,194,84,0.08), transparent 70%);
  filter: blur(6px);
  z-index: 0;
}

/* Route SVG: behind the bus, S-curve dashed yellow road */
.hero-route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 1;
}
.route-aura {
  fill: none;
  stroke: rgba(39,163,110,0.30);
  stroke-width: 30;
  stroke-linecap: round;
  filter: blur(12px);
}
.route-line {
  fill: none;
  stroke: #F4C254;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 18 14;
  filter:
    drop-shadow(0 0 6px rgba(244,194,84,0.55))
    drop-shadow(0 0 18px rgba(39,163,110,0.35));
}
.route-dot {
  fill: var(--teal-glow);
  filter:
    drop-shadow(0 0 10px rgba(93,211,168,0.95))
    drop-shadow(0 0 24px rgba(93,211,168,0.55));
}

/* Bus PNG, fixed position, layered above road */
.bus-3d-img {
  position: absolute;
  right: 0;
  top: 48%;
  width: 76%;
  max-width: 620px;
  transform: translateY(-50%);
  z-index: 2;
  background: transparent;
  pointer-events: none;
  filter:
    drop-shadow(0 30px 26px rgba(0,0,0,0.55))
    drop-shadow(0 0 40px rgba(244,194,84,0.14))
    drop-shadow(0 0 70px rgba(39,163,110,0.14));
}

/* Dashed leader lines connecting cards to route endpoint dots */
.leader {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  overflow: visible;
}
.leader line {
  stroke: rgba(93,211,168,0.55);
  stroke-width: 1.4;
  stroke-dasharray: 4 5;
  fill: none;
}
.leader-1 { top: 22%; left: 24%; width: 6%;  height: 8%; }
.leader-2 { top: 65%; right: 22%; width: 6%; height: 8%; }

/* Floating notification cards */
.floater {
  position: absolute;
  z-index: 5;
  background: var(--white);
  color: var(--ink);
  border-radius: 18px;
  padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
  width: 280px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.45), 0 6px 14px rgba(0,0,0,0.25);
  font-family: var(--font-body);
}
.floater .ico {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  flex-shrink: 0;
  font-size: 18px;
}
.floater .ico.green  { background: rgba(39,163,110,0.15); color: var(--green); }
.floater .ico.shield { background: rgba(93,211,168,0.18); color: var(--green); }
.floater .floater-body { flex: 1; min-width: 0; }
.floater .ttl {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy);
  line-height: 1.2;
}
.floater .sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
  font-weight: 500;
  line-height: 1.3;
}
.floater .time {
  font-size: 12px;
  font-weight: 700;
  color: var(--green-light);
  white-space: nowrap;
  margin-left: 4px;
  align-self: flex-start;
}

.floater.f1 { top: 6%;    left: 4%;   animation: cardFloat 5.2s var(--ease-cinematic) infinite; animation-delay: 0s; }
.floater.f2 { bottom: 10%; right: 2%;  animation: cardFloat 5.6s var(--ease-cinematic) infinite; animation-delay: 1.4s; }

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.bus-3d-img { animation: busDrift 6s ease-in-out infinite; }
@keyframes busDrift {
  0%, 100% { transform: translateY(-50%); }
  50%      { transform: translateY(calc(-50% - 6px)); }
}

.route-line { animation: dashFlow 4s linear infinite; }
@keyframes dashFlow {
  to { stroke-dashoffset: -64; }
}

.route-dot.start { animation: dotPulse 2.4s ease-in-out infinite; }
.route-dot.end   { animation: dotPulse 2.4s ease-in-out infinite 1.2s; }
@keyframes dotPulse {
  0%, 100% { opacity: 0.9; r: 9; }
  50%      { opacity: 1;   r: 11; }
}

@media (prefers-reduced-motion: reduce) {
  .floater.f1, .floater.f2, .bus-3d-img, .route-line, .route-dot { animation: none !important; }
}

@media (max-width: 980px) {
  .floater { width: 240px; }
  .floater.f1 { left: 2%; }
  .floater.f2 { right: 2%; }
  .bus-3d-img { width: 74%; right: 4%; }
}
@media (max-width: 560px) {
  .floater { width: 210px; padding: 10px 12px; gap: 10px; }
  .floater .ico { width: 32px; height: 32px; font-size: 15px; }
  .floater .ttl { font-size: 12px; }
  .floater .sub { font-size: 10.5px; }
  .floater .time { font-size: 10.5px; }
  .floater.f1 { top: 2%; left: -2%; }
  .floater.f2 { bottom: 2%; right: -2%; }
  .bus-3d-img { width: 82%; right: 3%; }
  .leader { display: none; }
}

/* ── Sticky logo cluster scroll ─────────────────── */
.logo-strip {
  background: var(--navy);
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
}
.logo-strip-row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 28px;
}
.logo-strip .lbl {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow-soft);
}
.logo-strip .logos {
  display: flex; gap: 40px; flex-wrap: wrap;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.7);
  opacity: 0.9;
}
.logo-strip .logos span { display: inline-flex; align-items: center; gap: 8px; }
.logo-strip .logos i {
  font-style: normal;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--yellow-soft);
}

/* ── Generic section header ─────────────────────── */
.section-head {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-head.left { text-align: left; margin-left: 0; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.032em;
  font-weight: 700;
  margin: 16px 0 16px;
}
.section-head p {
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.55;
  color: var(--ink-2);
}
.section.navy .section-head p,
.section.navy-deep .section-head p { color: rgba(255,255,255,0.7); }

/* ── PROBLEM: anxious questions ─────────────────── */
.problem {
  background: var(--cream);
  position: relative;
}
.problem::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(39,163,110,0.06), transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(244,194,84,0.10), transparent 50%);
  pointer-events: none;
}
.question-stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  perspective: 1600px;
}
@media (max-width: 880px) {
  .question-stage { grid-template-columns: repeat(2, 1fr); }
}
.q-card {
  background: var(--white);
  border-radius: 22px;
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(10,24,40,0.04);
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease-cinematic), box-shadow 0.6s ease;
}
.q-card:hover {
  transform: translateY(-10px) rotateX(-3deg) rotateY(2deg);
  box-shadow: var(--shadow-float);
}
.q-card .q-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--green-light);
}
.q-card .q-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.25;
  margin-top: 14px;
  color: var(--navy);
}
.q-card .q-tick {
  margin-top: 22px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}
.q-card .q-tick .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(244,194,84,0.2);
}
.q-card:nth-child(1) { transform: rotate(-1deg); }
.q-card:nth-child(2) { transform: rotate(0.6deg); }
.q-card:nth-child(3) { transform: rotate(-0.4deg); }
.q-card:nth-child(4) { transform: rotate(1.2deg); }
.q-card:nth-child(1):hover,
.q-card:nth-child(2):hover,
.q-card:nth-child(3):hover,
.q-card:nth-child(4):hover { transform: translateY(-10px) rotate(0deg); }

.problem-aside {
  margin-top: 56px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.problem-aside strong {
  color: var(--green);
  font-weight: 600;
}

/* ── SOLUTION: 3D loop timeline ─────────────────── */
.loop-stage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}
@media (max-width: 880px) { .loop-stage { grid-template-columns: 1fr 1fr; } }

.loop-step {
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 26px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.6s var(--ease-cinematic), border-color 0.4s ease, background 0.4s ease;
}
.loop-step::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 26px;
  padding: 1px;
  background: linear-gradient(140deg, rgba(93,211,168,0.4), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.loop-step:hover {
  transform: translateY(-8px);
  border-color: rgba(93,211,168,0.5);
}
.loop-step:hover::before { opacity: 1; }
.loop-step .step-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--yellow-soft);
}
.loop-step .step-glyph {
  margin-top: 18px;
  width: 56px; height: 56px;
  border-radius: 18px;
  background: rgba(39,163,110,0.15);
  border: 1px solid rgba(93,211,168,0.25);
  display: grid; place-items: center;
  font-size: 26px;
}
.loop-step .step-ttl {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.022em;
  margin-top: 22px;
  color: var(--white);
}
.loop-step .step-sub {
  font-size: 14px;
  margin-top: 10px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}
.loop-step .step-time {
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px;
  color: var(--teal-glow);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.loop-step .step-time::before {
  content: "✓";
  display: inline-grid; place-items: center;
  width: 16px; height: 16px;
  border-radius: 999px;
  background: var(--teal-glow);
  color: var(--navy);
  font-size: 10px;
  font-weight: 800;
}

/* Connecting dotted line behind steps */
.loop-line {
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(93,211,168,0.4) 0 6px, transparent 6px 14px);
  z-index: -1;
}
@media (max-width: 880px) { .loop-line { display: none; } }

/* 2-confirmation variant of the loop stage */
.loop-stage.loop-stage-2 {
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}
@media (max-width: 720px) { .loop-stage.loop-stage-2 { grid-template-columns: 1fr; } }

.loop-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 14px;
  margin: 36px auto 0;
  max-width: 880px;
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}
.loop-foot .lf-pill {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(244,194,84,0.12);
  color: var(--yellow-soft);
  border: 1px solid rgba(244,194,84,0.28);
}
.loop-foot .lf-sep {
  color: rgba(255,255,255,0.3);
  margin: 0 6px;
}

/* ── PARENT APP: phone mockups ──────────────────── */
.phones-stage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  perspective: 1600px;
  perspective-origin: 50% 40%;
}
@media (max-width: 920px) {
  .phones-stage { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; gap: 40px; }
}

.phone {
  --tilt: 0deg;
  --rx: 0deg;
  --ry: 0deg;
  background: linear-gradient(180deg, #1B2F4A 0%, #0E1F36 100%);
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 40px 80px rgba(10,24,40,0.4), 0 8px 24px rgba(10,24,40,0.2);
  transform: rotateX(var(--rx)) rotateY(var(--ry)) rotateZ(var(--tilt));
  transform-style: preserve-3d;
  transition: transform 0.8s var(--ease-cinematic);
  position: relative;
  aspect-ratio: 9 / 19;
  max-width: 280px;
  margin: 0 auto;
}
.phone:nth-child(1) { --ry: 12deg; --tilt: 0deg; --rx: 4deg; }
.phone:nth-child(2) { --ry: 0deg; --tilt: 0deg; --rx: 0deg; transform: rotateX(0deg) rotateY(0deg) translateY(-16px) scale(1.04); z-index: 3; }
.phone:nth-child(3) { --ry: -12deg; --tilt: 0deg; --rx: 4deg; }
@media (max-width: 920px) {
  .phone:nth-child(1), .phone:nth-child(2), .phone:nth-child(3) {
    transform: none;
  }
}

.phone-screen {
  background: var(--cream);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex; flex-direction: column;
}
.phone-screen .status-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px 8px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
}
.phone-screen .status-bar .right {
  display: flex; gap: 6px; align-items: center;
}
.phone-screen .status-bar .ico-bar {
  display: flex; gap: 2px; align-items: flex-end;
}
.phone-screen .status-bar .ico-bar i {
  display: inline-block; background: var(--navy); width: 2.5px; border-radius: 1px;
}
.phone-screen .status-bar .ico-bar i:nth-child(1) { height: 4px; }
.phone-screen .status-bar .ico-bar i:nth-child(2) { height: 6px; }
.phone-screen .status-bar .ico-bar i:nth-child(3) { height: 8px; }
.phone-screen .status-bar .ico-bar i:nth-child(4) { height: 10px; }
.phone-screen .status-bar .batt {
  width: 18px; height: 8px;
  border: 1px solid var(--navy);
  border-radius: 2px;
  position: relative;
}
.phone-screen .status-bar .batt::after {
  content: ""; position: absolute;
  inset: 1px; right: 30%;
  background: var(--navy);
  border-radius: 1px;
}

.phone-content { padding: 14px 18px 22px; flex: 1; overflow: hidden; }

.phone-greet {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.phone-sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

/* Child status card */
.child-card {
  margin-top: 16px;
  border-radius: 18px;
  background: var(--white);
  padding: 14px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(10,24,40,0.05);
}
.child-row {
  display: flex; align-items: center; gap: 10px;
}
.avatar {
  width: 38px; height: 38px;
  border-radius: 999px;
  display: grid; place-items: center;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.av-1 { background: #1A6B4A; }
.av-2 { background: #7C3AED; }
.av-3 { background: #BE185D; }
.av-4 { background: #0369A1; }
.child-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.child-meta { font-size: 10px; color: var(--muted); }

.pill-row { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 9.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.01em;
}
.pill.green { background: #E8F5EF; color: var(--green); }
.pill.yellow { background: #FFF8ED; color: var(--yellow-deep); }
.pill.blue { background: #EFF6FF; color: #1D4ED8; }
.pill.neutral { background: #F1F4F7; color: var(--muted); }

/* Journey timeline mock (phone 2) */
.timeline-h {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  margin-top: 18px;
  color: var(--navy);
}
.timeline-mini { margin-top: 10px; display: flex; flex-direction: column; gap: 10px; }
.t-row {
  display: flex; align-items: flex-start; gap: 10px;
  position: relative;
}
.t-row .t-dot {
  width: 26px; height: 26px; border-radius: 999px;
  background: var(--white);
  display: grid; place-items: center;
  border: 2px solid var(--green);
  font-size: 11px;
  flex-shrink: 0;
}
.t-row.done .t-dot { background: var(--green); color: var(--white); }
.t-row.done .t-dot::after { content: "✓"; font-weight: 700; font-size: 11px; }
.t-row.future .t-dot { border-color: var(--cream-deep); background: var(--cream); }
.t-row .t-body { flex: 1; }
.t-row .t-ttl { font-size: 11px; font-weight: 700; color: var(--navy); font-family: var(--font-display); }
.t-row .t-time { font-size: 9.5px; color: var(--muted); margin-top: 1px; }
.t-row::before {
  content: "";
  position: absolute;
  left: 13px; top: 26px; bottom: -10px;
  width: 1.5px;
  background: repeating-linear-gradient(180deg, var(--cream-deep) 0 3px, transparent 3px 6px);
  z-index: -1;
}
.t-row:last-child::before { display: none; }

/* Notification list (phone 3) */
.notif {
  margin-top: 12px;
  background: var(--white);
  border-radius: 14px;
  padding: 12px;
  border: 1px solid rgba(10,24,40,0.05);
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-soft);
}
.notif .ico {
  width: 32px; height: 32px; border-radius: 10px;
  display: grid; place-items: center;
  font-size: 14px;
  flex-shrink: 0;
}
.notif .ttl {
  font-size: 11.5px; font-weight: 700; font-family: var(--font-display);
  color: var(--navy);
}
.notif .sub { font-size: 10px; color: var(--muted); margin-top: 1px; }
.notif .tm { font-size: 9.5px; color: var(--green); font-weight: 700; margin-left: auto; }

/* Phone callouts */
.phone-label {
  text-align: center;
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.phone-label span { display: block; font-size: 12px; font-weight: 500; color: var(--muted); margin-top: 2px; letter-spacing: 0; }

/* ── ADMIN/SCHOOL section ───────────────────────── */
.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 920px) { .admin-grid { grid-template-columns: 1fr; gap: 40px; } }

.feature-list { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.feature-list .item {
  display: flex; gap: 16px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s ease, transform 0.4s var(--ease-cinematic);
}
.feature-list .item:hover {
  background: rgba(255,255,255,0.07);
  transform: translateX(4px);
}
.feature-list .item .fi-ico {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(244,194,84,0.18);
  color: var(--yellow-soft);
  display: grid; place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}
.feature-list .item .fi-ttl {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.018em;
  color: var(--white);
}
.feature-list .item .fi-sub {
  font-size: 13.5px;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
  line-height: 1.45;
}

/* Dashboard mock */
.dashboard {
  background: var(--white);
  color: var(--ink);
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--shadow-float);
  position: relative;
  transform: rotate(-1deg);
  transform-style: preserve-3d;
}
.dashboard::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(244,194,84,0.20), rgba(39,163,110,0.15));
  z-index: -1;
  filter: blur(20px);
}
.dash-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 8px 16px;
  border-bottom: 1px solid var(--border-cream);
}
.dash-top .dt-l { display: flex; align-items: center; gap: 8px; }
.dash-top .dot-row { display: flex; gap: 5px; }
.dash-top .dot-row i {
  width: 9px; height: 9px; border-radius: 999px;
  background: #E6DCC2;
}
.dash-top .dot-row i:nth-child(1) { background: #F87171; }
.dash-top .dot-row i:nth-child(2) { background: #FCD34D; }
.dash-top .dot-row i:nth-child(3) { background: #4ADE80; }
.dash-top .dt-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
}
.dash-top .dt-r {
  font-size: 11px;
  color: var(--muted);
  display: flex; gap: 16px;
}

.dash-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.stat {
  background: var(--cream);
  border-radius: 14px;
  padding: 12px 12px 14px;
  border: 1px solid var(--border-cream);
}
.stat .lbl {
  font-size: 10px; font-weight: 600; color: var(--muted);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.stat .val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.025em;
  margin-top: 4px;
  color: var(--navy);
}
.stat .val.green { color: var(--green); }
.stat .val.yellow { color: var(--yellow-deep); }
.stat .delta { font-size: 10px; color: var(--green); margin-top: 4px; font-weight: 600; }
.stat .delta.amber { color: var(--yellow-deep); }
@media (max-width: 520px) { .dash-stats { grid-template-columns: repeat(2, 1fr); } }

.dash-routes {
  margin-top: 14px;
  background: var(--cream);
  border-radius: 16px;
  padding: 14px;
}
.dash-routes .dr-h {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.dash-routes .dr-h .ttl {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  color: var(--navy);
}
.dash-routes .dr-h .live {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 600;
  color: var(--green);
}
.dash-routes .dr-h .live::before {
  content: ""; width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(39,163,110,0.25);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.dash-rt {
  display: grid;
  grid-template-columns: 70px 1fr 80px;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-cream);
}
.dash-rt:last-child { border-bottom: 0; }
.dash-rt .rt-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  color: var(--navy);
}
.dash-rt .rt-bar {
  height: 6px;
  border-radius: 999px;
  background: var(--cream-deep);
  position: relative; overflow: hidden;
}
.dash-rt .rt-bar i {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, var(--green-light), var(--green));
  border-radius: 999px;
}
.dash-rt .rt-state {
  font-size: 10px;
  font-weight: 700;
  color: var(--green);
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.dash-rt .rt-state.amber { color: var(--yellow-deep); }

/* ── OPTIONAL LUNCH ─────────────────────────────── */
.optional {
  background: var(--cream);
  padding: clamp(72px, 8vw, 110px) 0;
  position: relative;
}
.opt-card {
  max-width: 920px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--white) 0%, #FFF8ED 100%);
  border-radius: 28px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--border-cream);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1fr 0.6fr;
  gap: 36px;
  align-items: center;
}
@media (max-width: 820px) {
  .opt-card { grid-template-columns: 1fr; }
}
.opt-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white);
  border: 1px solid var(--yellow);
  color: var(--yellow-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 6px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}
.opt-card h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-top: 14px;
  color: var(--navy);
}
.opt-card p {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
  max-width: 50ch;
}
.opt-vis {
  position: relative;
}
.opt-vis .lunch-card {
  background: var(--white);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow-card);
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--border-cream);
}
.opt-vis .lunch-card .lc-ico {
  width: 42px; height: 42px; border-radius: 12px;
  background: #FFF8ED;
  color: var(--yellow-deep);
  display: grid; place-items: center;
  font-size: 20px;
}
.opt-vis .lunch-card .lc-ttl { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--navy); }
.opt-vis .lunch-card .lc-sub { font-size: 12px; color: var(--muted); margin-top: 1px; }
.opt-vis .lunch-card .lc-tm { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--green); }
.opt-vis .lunch-card.lc-2 {
  margin-top: 10px;
  transform: translateX(20px);
  opacity: 0.85;
}

/* ── TRUST grid ─────────────────────────────────── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
@media (max-width: 1040px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .trust-grid { grid-template-columns: 1fr; } }

.trust-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 26px 22px 30px;
  transition: transform 0.5s var(--ease-cinematic), border-color 0.4s ease;
}
.trust-card:hover {
  transform: translateY(-6px);
  border-color: rgba(93,211,168,0.35);
}
.trust-card .tc-ico {
  width: 44px; height: 44px;
  border-radius: 14px;
  background: rgba(93,211,168,0.13);
  border: 1px solid rgba(93,211,168,0.25);
  display: grid; place-items: center;
  font-size: 20px;
  color: var(--teal-glow);
}
.trust-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.018em;
  margin-top: 18px;
  color: var(--white);
}
.trust-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
  line-height: 1.55;
}

/* ── BENEFITS split ─────────────────────────────── */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 920px) { .benefits-grid { grid-template-columns: 1fr; } }
.bn-col {
  background: var(--white);
  border-radius: 28px;
  padding: clamp(28px, 3.5vw, 44px);
  border: 1px solid var(--border-cream);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.bn-col.dark {
  background: var(--navy);
  color: var(--white);
  border-color: rgba(255,255,255,0.08);
}
.bn-col .bn-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-light);
}
.bn-col.dark .bn-label { color: var(--yellow-soft); }
.bn-col h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: -0.024em;
  line-height: 1.08;
  margin-top: 14px;
  color: var(--navy);
}
.bn-col.dark h3 { color: var(--white); }
.bn-col ul { list-style: none; margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.bn-col li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}
.bn-col.dark li { color: rgba(255,255,255,0.86); }
.bn-col li::before {
  content: "✓";
  width: 24px; height: 24px;
  border-radius: 999px;
  background: var(--green-light);
  color: var(--white);
  font-weight: 800;
  font-size: 12px;
  display: grid; place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.bn-col.dark li::before {
  background: var(--yellow);
  color: var(--navy);
}

/* ── FINAL CTA ──────────────────────────────────── */
.cta-final {
  position: relative;
  text-align: center;
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(39,163,110,0.20), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(244,194,84,0.16), transparent 55%);
  pointer-events: none;
}
.cta-final .shell { position: relative; z-index: 1; }
.cta-final h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
  max-width: 18ch;
  margin: 22px auto 0;
}
.cta-final p {
  max-width: 56ch;
  margin: 22px auto 0;
  color: rgba(255,255,255,0.72);
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.55;
}
.cta-final .hero-ctas { justify-content: center; margin-top: 38px; }

/* ── Contact modal ───────────────────────────────── */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}
.contact-modal[hidden] { display: none; }
.contact-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,14,26,0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.contact-panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(86vh, 820px);
  overflow: auto;
  background: var(--cream);
  color: var(--ink);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-float);
}
.contact-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--border-cream);
  font-size: 26px;
  line-height: 1;
}
.contact-form-head {
  padding-right: 48px;
}
.contact-form-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-top: 12px;
  color: var(--navy);
}
.contact-form-head p {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}
.contact-form-head a {
  color: var(--green);
  font-weight: 700;
}
.contact-form {
  margin-top: 28px;
  display: grid;
  gap: 18px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form label {
  display: grid;
  gap: 8px;
}
.contact-form label span {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border-cream);
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form textarea {
  resize: vertical;
  min-height: 132px;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green-light);
  box-shadow: 0 0 0 4px rgba(39,163,110,0.12);
}
.contact-form .btn {
  justify-self: start;
  margin-top: 4px;
}
.contact-form .btn[disabled] {
  opacity: 0.6;
  cursor: progress;
  pointer-events: none;
}
.form-status {
  font-size: 14px;
  line-height: 1.5;
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border-cream);
  background: var(--white);
  color: var(--ink);
}
.form-status[data-kind="success"] {
  border-color: rgba(39,163,110,0.45);
  background: rgba(39,163,110,0.08);
  color: var(--green);
  font-weight: 600;
}
.form-status[data-kind="error"] {
  border-color: rgba(214,77,77,0.45);
  background: rgba(214,77,77,0.08);
  color: #B43A3A;
}
.form-status[data-kind="pending"] {
  color: var(--ink-2);
}
body.contact-modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .contact-modal { padding: 12px; }
  .contact-panel {
    border-radius: 20px;
    max-height: 90vh;
  }
  .contact-form-head { padding-right: 36px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-form .btn { width: 100%; justify-content: center; }
}

/* ── Footer ─────────────────────────────────────── */
.footer {
  background: #050E1A;
  color: rgba(255,255,255,0.6);
  padding: 56px 0 36px;
  font-size: 13px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-row {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
}
.footer .nav-brand { color: var(--white); }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--yellow-soft); }
.footer-sm {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* ── Reveal-on-scroll ───────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-cinematic), transform 0.9s var(--ease-cinematic);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }
.reveal.delay-4 { transition-delay: 0.32s; }
.reveal.delay-5 { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}
