/* ============================================================
   MMVPL — Shared Stylesheet
   Tokens, layout, components. Per-page accent via [data-accent].
   ============================================================ */

/* ── Design tokens ── */
:root {
  --bg:         #FFFFFF;
  --bg-soft:    #F8FAFC;
  --header-bg:  rgba(255,255,255,0.85);
  --ink:        #0F172A;
  --ink-soft:   #475569;
  --card:       #F1F5F9;
  --card-deep:  #E2E8F0;
  --line:       #E2E8F0;

  --orange:     #F37021;
  --red:        #E8472B;
  --cyan:       #0EA5E9;

  --accent:     var(--orange);
  --accent-ink: #FFFFFF;
  --footer-bg:  #160B04;

  --radius-lg:   12px;
  --radius-md:   8px;
  --radius-pill: 999px;

  --container: 1600px;
  --gutter:    clamp(16px, 4vw, 40px);

  --ff-display: 'Outfit', sans-serif;
  --ff-body:    'Inter', sans-serif;
}

/* ── Dark mode ── */
body.dark-mode {
  --bg:        #0A0D14;
  --bg-soft:   #0E121E;
  --header-bg: rgba(10,13,20,0.85);
  --ink:       #F1F5F9;
  --ink-soft:  #94A3B8;
  --card:      #151A26;
  --card-deep: #1E2536;
  --line:      #1E2536;
  --orange:    #FF7D30;
  --red:       #FF5A3C;
  --cyan:      #00B4D8;
}

body[data-accent="red"]  { --accent: var(--red);  --footer-bg: #180504; }
body[data-accent="cyan"] { --accent: var(--cyan); --footer-bg: #041016; }

/* ============================================================
   Reset & Base
   ============================================================ */

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Theme-switch transitions on key containers only (not every element) */
header, main, footer, section,
.card, .div-card, .pillar-card, .vm-card, .btn, .nav-drawer {
  transition: background-color 0.3s ease, color 0.3s ease,
              border-color 0.3s ease, box-shadow 0.3s ease;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

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

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

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

/* ============================================================
   Typography
   ============================================================ */

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}

.section-heading {
  padding-left: 18px;
  border-left: 4px solid var(--accent);
  margin-top: 0 !important;
}

.panel-heading {
  padding-top: 14px;
  border-top: 3px solid var(--accent);
  margin-top: 0 !important;
}

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

.lede {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 48ch;
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -4px rgba(15,23,42,0.15);
}

.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -4px var(--accent);
}

.btn-ghost { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--card-deep); }

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: inherit;
  flex-shrink: 0;
}
.btn-icon svg { width: 11px; height: 11px; }

.btn-arrow { font-size: 1.1rem; line-height: 1; transition: transform 0.2s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ============================================================
   Header / Nav
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

/* Nav is relative so the drawer can break out via position:fixed on mobile */
.nav {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  padding: 0 var(--gutter);
}

.brand {
  position: absolute;
  left: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.brand-mark {
  height: 70px;
  width: auto;
  flex-shrink: 0;
  transform: translateX(-30px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 500;
  font-size: 0.92rem;
}

.nav-links a {
  position: relative;
  padding: 6px 2px;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
}

.nav-cta {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--card);
}
.nav-toggle svg { width: 18px; height: 18px; }

/* ── Mobile drawer ── */
/* Fixed so it escapes any overflow:hidden on parent elements */
.nav-drawer {
  display: none;
  position: fixed;
  top: 72px;
  left: var(--gutter);
  right: var(--gutter);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: 0 12px 32px -8px rgba(0,0,0,0.18);
  z-index: 99;
}
.nav-drawer.open { display: block; }
.nav-drawer ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.05rem;
}
.nav-drawer a[aria-current="page"] { color: var(--accent); }
.nav-drawer .nav-cta { position: static; transform: none; margin-top: 20px; display: block; }
.nav-drawer .btn { width: 100%; justify-content: center; }

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content { position: relative; z-index: 1; }

.hero-content h1 {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4.4vw, 3.9rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0 0 24px;
}

.hero-content .lede { margin-bottom: 32px; }

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: absolute;
  top: 0; right: 0;
  width: 52%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-geo { width: 100%; height: 100%; display: block; }

/* ── Hero trust badges ── */
.hero-badges {
  display: flex;
  gap: 10px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--card);
  font-family: var(--ff-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
}
.hero-badge svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }

/* ── Hero animations ── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
.hero-content h1    { animation: heroFadeUp .8s ease .1s  both; }
.hero-content .lede { animation: heroFadeUp .8s ease .25s both; }
.hero-actions       { animation: heroFadeUp .8s ease .4s  both; }
.hero-badges        { animation: heroFadeUp .8s ease .55s both; }

@keyframes geoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-14px) rotate(1.5deg); }
}
.hero-geo { animation: geoFloat 9s ease-in-out infinite; }

/* ============================================================
   Ticker / marquee
   ============================================================ */

.ticker-wrap {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  background: var(--bg-soft);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 40px;
  font-family: var(--ff-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
}
.ticker-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ============================================================
   Section helpers
   ============================================================ */

.section { padding: 96px 0; }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin-top: 14px; }

/* ============================================================
   Stats strip
   ============================================================ */

.stats-strip {
  padding: 80px 0;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 20px 32px;
  border-right: 1px solid var(--line);
  text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}
.stat-number span { color: var(--accent); }
.stat-label {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 6px;
  font-weight: 500;
}

/* ============================================================
   Cards (generic — used on subpages)
   ============================================================ */

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 24px -10px rgba(0,0,0,0.12);
}

.card-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.card-icon svg { width: 16px; height: 16px; }

.card h3 { font-size: 1.5rem; margin-bottom: 10px; text-transform: lowercase; }
.card p  { font-size: 0.95rem; margin-bottom: 24px; }

.card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  transition: color 0.15s ease, gap 0.15s ease;
}
.card-link:hover { color: var(--accent); gap: 14px; }

.card-shape {
  position: absolute;
  right: -30px; bottom: -30px;
  width: 140px; height: 140px;
  pointer-events: none;
}

/* ============================================================
   List rows (used on subpages)
   ============================================================ */

.row-list { display: flex; flex-direction: column; }

.row-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 36px 4px;
  border-bottom: 1px solid var(--line);
}
.row-item:first-child { border-top: 1px solid var(--line); }

.row-index {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
}
.row-body h3 { font-size: 1.2rem; margin-bottom: 6px; font-weight: 600; }
.row-body p  { font-size: 0.92rem; max-width: 60ch; }

.row-tag {
  font-family: var(--ff-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  background: var(--card);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

/* ============================================================
   Chip cloud (used on subpages)
   ============================================================ */

.chip-cloud { display: flex; flex-wrap: wrap; gap: 12px; }

.chip {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--card);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.chip::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(20deg);
}

/* ============================================================
   Split layout (used on subpages)
   ============================================================ */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.panel h3 { font-size: 1.6rem; margin-bottom: 12px; }

/* ============================================================
   About section
   ============================================================ */

.about-section { background: var(--bg-soft); }

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-heading {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem) !important;
  margin-top: 0 !important;
}

.about-lede { margin-top: 20px; max-width: 46ch; }

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
.about-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  flex: 1 1 calc(50% - 7px);
  min-width: 140px;
}
.about-badge--accent {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg-soft);
}
.about-badge-icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.about-badge-icon svg { width: 22px; height: 22px; }
.about-badge-label {
  font-family: var(--ff-display);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink-soft);
}
.about-badge--accent .about-badge-label { color: rgba(247,244,237,0.75); }

.about-right { display: flex; flex-direction: column; gap: 20px; }

.vm-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.vm-card--vision  { border-top: 3px solid var(--accent); }
.vm-card--mission { border-top: 3px solid var(--ink); }

.vm-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.vm-label-dot {
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(20deg);
  flex-shrink: 0;
}
.vm-label-dot--dark { background: var(--ink); }
.vm-text {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.4;
  color: var(--ink);
}

/* ============================================================
   Divisions grid
   ============================================================ */

.divisions-section { background: var(--bg); }

.div-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.div-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.div-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 24px -10px rgba(0,0,0,0.12);
}

.div-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}
.div-num {
  font-family: var(--ff-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.div-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.div-icon svg { width: 20px; height: 20px; }
.div-icon--red    { background: #E8472B; color: #fff; }
.div-icon--orange { background: #F0871E; color: #fff; }
.div-icon--cyan   { background: #2BA9D9; color: #fff; }
.div-icon--dark   { background: var(--ink); color: var(--bg-soft); }

.div-title {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1.2;
}
.div-desc { font-size: 0.92rem; color: var(--ink-soft); flex: 1; }
.div-sep { height: 1px; background: var(--line); margin: 20px 0 16px; }
.div-link {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease, gap 0.15s ease;
}
.div-link:hover { color: var(--accent); gap: 10px; }

/* ============================================================
   Why us / Pillars
   ============================================================ */

.pillars-section { padding: 112px 0; }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 64px;
}
.pillar-card {
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg);
  position: relative;
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.pillar-card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 32px -8px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}
.pillar-num {
  font-family: var(--ff-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--line);
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: -0.04em;
}
.pillar-title {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.pillar-desc { font-size: 0.91rem; color: var(--ink-soft); line-height: 1.65; }
.pillar-accent-line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.pillar-card:hover .pillar-accent-line { transform: scaleX(1); }

/* ============================================================
   Process / how it works
   ============================================================ */

.process-section {
  padding: 112px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 64px;
  position: relative;
  gap: 32px;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px; left: 12.5%; right: 12.5%;
  height: 2px;
  background: var(--line);
  z-index: 0;
}
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}
.step-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 24px;
  transition: background .25s, border-color .25s, color .25s;
}
.process-step:hover .step-circle {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.step-title {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.step-desc { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.6; }

/* ============================================================
   Quote band
   ============================================================ */

.quote-band { padding: 112px 0; }
.quote-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.quote-mark {
  font-family: var(--ff-display);
  font-size: 5rem;
  line-height: .6;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}
.quote-text {
  font-family: var(--ff-display);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.45;
  letter-spacing: -.02em;
}
.quote-attr { margin-top: 24px; font-size: 0.88rem; color: var(--ink-soft); font-weight: 500; }
.quote-attr strong { color: var(--ink); }

/* ============================================================
   CTA band
   ============================================================ */

.cta-band {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 52px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band .section-heading {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  max-width: 20ch;
}

/* ============================================================
   Contact (subpage)
   ============================================================ */

.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; }

.contact-info-list { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-item .btn-icon { width: 38px; height: 38px; background: var(--card); color: var(--ink); }
.contact-info-item .btn-icon svg { width: 16px; height: 16px; }
.contact-info-item h4 { font-size: 0.95rem; font-family: var(--ff-body); font-weight: 600; margin-bottom: 2px; }
.contact-info-item p  { font-size: 0.92rem; }

.map-frame {
  margin-top: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16/10;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

.contact-eyebrow {
  font-family: var(--ff-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.form-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-row label {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.form-row input,
.form-row textarea {
  font-family: var(--ff-body);
  font-size: 0.95rem;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--ink);
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }

.form-note { font-size: 0.82rem; margin-top: 14px; }

.form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 0; }
.form-row-split .form-row { margin-bottom: 20px; }

.form-optional {
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--ff-body);
}
.form-submit-btn { font-size: 0.88rem; letter-spacing: 0.06em; padding: 14px 32px; border-radius: var(--radius-md); }

/* ============================================================
   Page hero (subpages)
   ============================================================ */

.page-hero { padding: 80px 0 64px; }
.page-hero .section-heading { margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.05; max-width: 18ch; }
.page-hero .lede { margin-top: 18px; }
.page-hero-visual {
  margin-top: 52px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/5;
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: var(--footer-bg);
  color: #94A3B8;
  padding: 80px 0 40px;
  margin-top: 120px;
  font-family: var(--ff-body);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.site-footer a { transition: color 0.2s ease; }
.site-footer a:hover { color: var(--accent); }

.footer-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.footer-top .brand { position: static; transform: none; color: #fff; }
.footer-top .brand-mark { filter: brightness(0) invert(1); }
.footer-top .tagline {
  font-family: var(--ff-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  max-width: 45ch;
  border-left: 1px solid rgba(255,255,255,0.15);
  padding-left: 24px;
}

.footer-contact-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}
.footer-contact-items { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer-contact-item  { display: flex; align-items: center; gap: 8px; }
.footer-contact-item svg { width: 16px; height: 16px; color: var(--accent); }

.get-directions-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
  white-space: nowrap;
}

.footer-divider { border: 0; height: 1px; background: rgba(255,255,255,0.08); margin: 10px 0 32px; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; font-size: 0.9rem; }
.footer-col ul li a { color: rgba(255,255,255,0.65); }
.footer-col ul li a:hover { color: var(--accent); }
.footer-col .social-link { display: flex; align-items: center; gap: 10px; }
.footer-col .social-link svg { width: 16px; height: 16px; color: rgba(255,255,255,0.5); transition: color 0.2s ease; }
.footer-col .social-link:hover svg { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 12px;
}
.developer-credit { cursor: default; transition: color 0.2s ease; }
.developer-credit:hover { color: rgba(255,255,255,0.65); }

/* ============================================================
   Scroll-reveal
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: none; }

.reveal-left  { opacity: 0; transform: translateX(-36px); transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.reveal-right { opacity: 0; transform: translateX( 36px); transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; }

.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.18s; }
.d3 { transition-delay: 0.28s; }
.d4 { transition-delay: 0.38s; }

/* ============================================================
   Responsive — Tablet (≤980px)
   ============================================================ */

@media (max-width: 980px) {
  /* Hero: stack vertically, hide decorative geo */
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero { padding: 60px 0 72px; }

  /* Stats: 2-col */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--line); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--line); border-right: none; }

  /* About: stack */
  .about-grid { grid-template-columns: 1fr; gap: 40px; }

  /* Divisions: keep 2-col on tablet */
  .div-grid { grid-template-columns: repeat(2, 1fr); }

  /* Pillars: 2-col */
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }

  /* Process: 2-col, hide connector */
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-steps::before { display: none; }

  /* Subpage components */
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split-reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

/* ============================================================
   Responsive — Mobile (≤720px)
   ============================================================ */

@media (max-width: 720px) {
  /* Nav: hide links, show hamburger */
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  /* Hero */
  .hero { padding: 64px 0 72px; }
  .hero-content h1 { font-size: clamp(1.9rem, 7vw, 2.8rem); }
  .hero-badges { gap: 8px; }
  .hero-badge { font-size: 0.75rem; padding: 6px 12px; }

  /* Stats: 2-col with more breathing room */
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 24px 16px; }

  /* Divisions: horizontal scroll on mobile */
  .div-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Pillars: horizontal scroll strip */
  .pillars-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-bottom: 16px;
    /* hide scrollbar but keep scroll */
    scrollbar-width: none;
  }
  .pillars-grid::-webkit-scrollbar { display: none; }
  .pillar-card {
    flex: 0 0 78vw;
    max-width: 320px;
    scroll-snap-align: start;
  }

  /* Process steps: horizontal scroll */
  .process-steps {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    padding-bottom: 16px;
    scrollbar-width: none;
    margin-top: 48px;
  }
  .process-steps::-webkit-scrollbar { display: none; }
  .process-steps::before { display: none; }
  .process-step {
    flex: 0 0 72vw;
    max-width: 260px;
    scroll-snap-align: start;
    padding: 0 24px;
  }

  /* Card grids: horizontal scroll */
  .card-grid, .card-grid.cols-2 {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-bottom: 16px;
    scrollbar-width: none;
  }
  .card-grid::-webkit-scrollbar, .card-grid.cols-2::-webkit-scrollbar { display: none; }
  .card-grid .card, .card-grid.cols-2 .card {
    flex: 0 0 82vw;
    max-width: 340px;
    scroll-snap-align: start;
    min-height: 280px;
  }

  /* Row items: stack */
  .row-item { grid-template-columns: 1fr; gap: 10px; padding: 28px 4px; }
  .row-index { order: -1; }
  .row-tag { display: none; }

  /* Section spacing tighter on mobile */
  .section { padding: 72px 0; }
  .pillars-section { padding: 80px 0; }
  .process-section { padding: 80px 0; }
  .quote-band { padding: 80px 0; }

  /* Form */
  .form-row-split { grid-template-columns: 1fr; }
  .form-panel { padding: 28px 20px; }

  /* CTA band */
  .cta-band { flex-direction: column; align-items: flex-start; padding: 40px var(--gutter); }

  /* Footer */
  .site-footer { margin-top: 80px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-top .tagline { border-left: none; padding-left: 0; }
  .footer-contact-bar { flex-direction: column; align-items: flex-start; }
  .footer-contact-items { flex-direction: column; gap: 12px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  /* Subpage */
  .page-hero { padding: 56px 0 48px; }
  .page-hero-visual { aspect-ratio: 4/3; }
}

/* ============================================================
   Responsive — Small mobile (≤480px)
   ============================================================ */

@media (max-width: 480px) {
  .hero { padding: 52px 0 60px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 20px 12px; }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--line); }
  .footer-cols { grid-template-columns: 1fr; }
  .pillars-section, .process-section, .quote-band { padding: 72px 0; }
  .section { padding: 64px 0; }

  /* Swipe hint for horizontal scroll sections */
  .pillars-grid::after,
  .process-steps::after,
  .card-grid::after {
    content: '';
    flex: 0 0 var(--gutter);
  }
}