/* ═══════════════════════════════════════════════════════════
   WHITELAW DENTAL — Design System
   Source of truth: With brand identity/Whitelaw Dental Brand Guide.html
   ═══════════════════════════════════════════════════════════ */

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

:root {
  /* Brand palette — hex fallbacks, then oklch (brand-canonical) */
  --sage:        #6B7B5A;
  --sage-light:  #A8B89A;
  --sage-deep:   #4A5840;
  --wood:        #7A5C3E;
  --wood-light:  #B59A7C;
  --earth:       #2B2520;
  --stone:       #948D82;
  --stone-light: #DDD8CF;
  --cream:       #F4EFE5;
  --warm-white:  #FBF9F4;

  --sage:        oklch(52% 0.075 130);
  --sage-light:  oklch(72% 0.055 130);
  --sage-deep:   oklch(38% 0.065 130);
  --sage-tint:   oklch(94% 0.015 130);
  --wood:        oklch(44% 0.065 55);
  --wood-light:  oklch(68% 0.05 60);
  --earth:       oklch(27% 0.03 55);
  --stone:       oklch(62% 0.01 72);
  --stone-light: oklch(88% 0.008 72);
  --cream:       oklch(96.5% 0.012 88);
  --warm-white:  oklch(98.5% 0.006 88);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', system-ui, sans-serif;

  --nav-h: 76px;
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--warm-white);
  color: var(--earth);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* decorative offset borders extend past the viewport on narrow screens */
}

img { max-width: 100%; display: block; }
a { color: var(--sage); }

::selection { background: var(--sage); color: var(--cream); }

/* ── Layout primitives ───────────────────────────────────── */

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

section { position: relative; }

.section-pad { padding: 112px 0; }
.section-pad-sm { padding: 80px 0; }

/* ── Typography ──────────────────────────────────────────── */

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: 0.01em;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 20px;
}

.on-dark .eyebrow { color: var(--sage-light); }

h1 { font-size: clamp(44px, 6.5vw, 84px); }
h2 { font-size: clamp(34px, 4.5vw, 52px); }
h3 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 400; }

h1 em, h2 em, h3 em {
  font-style: italic;
  color: var(--sage);
}

.on-dark h1 em, .on-dark h2 em { color: var(--sage-light); }

.lead {
  font-size: 19px;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.75;
  max-width: 620px;
}

.on-dark .lead { color: oklch(80% 0.01 88); }

.measure { max-width: 640px; }

/* ── Buttons ─────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 18px 36px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn-primary {
  background: var(--sage);
  color: var(--cream);
}
.btn-primary:hover { background: var(--sage-deep); transform: translateY(-2px); }

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

.on-dark .btn-ghost { color: var(--cream); border-color: oklch(70% 0.01 88 / 0.5); }
.on-dark .btn-ghost:hover { background: var(--cream); color: var(--earth); border-color: var(--cream); }

/* ── Navigation ──────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.nav.scrolled,
.nav.solid {
  background: oklch(27% 0.03 55 / 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 oklch(100% 0 0 / 0.06);
}

.nav-inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand svg { width: 64px; display: block; }

.nav-brand .brand-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}

.nav-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: oklch(80% 0.008 88 / 0.85);
  transition: color 0.2s;
  padding: 6px 0;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--sage-light);
  transition: right 0.3s var(--ease);
}

.nav-links a:hover, .nav-links a.active { color: var(--cream); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }

.nav-cta {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
  background: var(--sage);
  padding: 12px 24px;
  transition: background 0.25s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--sage-deep); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px; height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--cream);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── Hero ────────────────────────────────────────────────── */

.hero {
  background: var(--earth);
  color: var(--cream);
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 64px) 0 96px;
  position: relative;
  overflow: hidden;
}

.hero-ridge-bg {
  position: absolute;
  inset: auto -5% -8% -5%;
  opacity: 0.05;
  pointer-events: none;
}
.hero-ridge-bg svg { width: 100%; height: auto; }

.hero-grain {
  position: absolute; inset: 0; opacity: 0.04; pointer-events: none;
  background-image:
    repeating-linear-gradient(45deg, var(--cream) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(-45deg, var(--cream) 0 1px, transparent 1px 80px);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: center;
}

.hero h1 { color: var(--cream); margin-bottom: 28px; }

.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 300;
  color: var(--wood-light);
  margin-bottom: 36px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }

.hero-meta {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid oklch(100% 0 0 / 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}

.hero-figure {
  position: relative;
}

.hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}

.hero-figure::after {
  content: "";
  position: absolute;
  inset: -16px;
  border: 1px solid oklch(72% 0.055 130 / 0.35);
  pointer-events: none;
}

.hero-figure figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 48px 24px 18px;
  background: linear-gradient(to top, oklch(27% 0.03 55 / 0.85), transparent);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
}

/* Page hero (interior pages) */

.page-hero {
  background: var(--earth);
  color: var(--cream);
  padding: calc(var(--nav-h) + 88px) 0 88px;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: var(--cream); max-width: 800px; }
.page-hero .lead { margin-top: 24px; }

/* ── Section headers ─────────────────────────────────────── */

.section-head {
  display: flex;
  align-items: baseline;
  gap: 24px;
  border-bottom: 1px solid var(--stone-light);
  padding-bottom: 28px;
  margin-bottom: 64px;
}

.section-num {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--stone);
  flex-shrink: 0;
}

.on-dark .section-head { border-color: oklch(100% 0 0 / 0.12); }

/* ── Cards & grids ───────────────────────────────────────── */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--stone-light);
  border: 1px solid var(--stone-light);
}

.card {
  background: var(--warm-white);
  padding: 52px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.3s var(--ease);
}

.card:hover { background: var(--cream); }

.card .card-num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 300;
  color: var(--stone-light);
  line-height: 1;
}

.card h3 { color: var(--earth); }

.card p { font-size: 14.5px; color: var(--stone); line-height: 1.7; }

.card .card-link {
  margin-top: auto;
  padding-top: 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--sage);
}
.card .card-link:hover { color: var(--sage-deep); }

/* Feature list (checklists on service pages) */

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-list li {
  display: flex;
  gap: 16px;
  align-items: baseline;
  font-size: 15px;
  color: var(--earth);
}

.feature-list li::before {
  content: "";
  flex-shrink: 0;
  width: 20px; height: 8px;
  background: no-repeat center / contain url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 360 68" fill="none"><path d="M 10 62 Q 56 36 96 12 Q 122 34 144 46 Q 162 16 180 4 Q 198 16 216 46 Q 238 34 264 12 Q 304 36 350 62" stroke="%236B7B5A" stroke-width="14" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  transform: translateY(-1px);
}

.feature-list li strong { font-weight: 500; }

/* Split sections (text + image) */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split.reverse > :first-child { order: 2; }

.split-figure { position: relative; }

.split-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}

.split-figure.landscape img { aspect-ratio: 3 / 2; }

.split-figure::after {
  content: "";
  position: absolute;
  inset: -16px;
  border: 1px solid oklch(52% 0.075 130 / 0.3);
  pointer-events: none;
  z-index: -1;
}

/* ── Dark / sage bands ───────────────────────────────────── */

.band-dark { background: var(--earth); color: var(--cream); }
.band-dark h2, .band-dark h3 { color: var(--cream); }
.band-dark p { color: oklch(78% 0.01 88); }

.band-sage { background: var(--sage); color: var(--cream); }
.band-sage h2, .band-sage h3 { color: var(--cream); }
.band-sage p { color: oklch(96% 0.01 88 / 0.85); }
.band-sage .eyebrow { color: oklch(100% 0 0 / 0.6); }
.band-sage .btn-primary { background: var(--cream); color: var(--sage-deep); }
.band-sage .btn-primary:hover { background: var(--warm-white); }
.band-sage .btn-ghost { color: var(--cream); border-color: oklch(100% 0 0 / 0.45); }
.band-sage .btn-ghost:hover { background: var(--cream); color: var(--sage-deep); border-color: var(--cream); }

.band-cream { background: var(--cream); }

/* Pull quote */

.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(26px, 3.6vw, 42px);
  line-height: 1.35;
  max-width: 880px;
}

.quote-attr {
  margin-top: 28px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.band-sage .quote-attr { color: oklch(100% 0 0 / 0.65); }

.quote-mark-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.08;
  pointer-events: none;
  overflow: hidden;
}
.quote-mark-bg svg { width: 110%; min-width: 700px; }

/* ── Stats / trust strip ─────────────────────────────────── */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--stone-light);
  border: 1px solid var(--stone-light);
}

.stat {
  background: var(--warm-white);
  padding: 44px 36px;
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 300;
  color: var(--sage);
  line-height: 1;
}

.stat-label {
  margin-top: 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ── Photo strip ─────────────────────────────────────────── */

.photo-strip {
  position: relative;
  overflow: hidden;
}

.photo-strip img {
  width: 100%;
  height: clamp(420px, 60vh, 640px);
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(0.85) contrast(1.05);
}

.photo-strip-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, oklch(27% 0.03 55 / 0.72), transparent 55%);
  display: flex;
  align-items: flex-end;
}

.photo-strip-caption {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px 52px;
  color: var(--cream);
}

.photo-strip-caption .eyebrow { color: var(--sage-light); margin-bottom: 10px; }

.photo-strip-caption h2 {
  color: var(--cream);
  font-size: clamp(26px, 3.4vw, 40px);
  max-width: 640px;
}

.photo-strip-caption a {
  display: inline-block;
  margin-top: 18px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid var(--sage-light);
  padding-bottom: 4px;
}
.photo-strip-caption a:hover { color: var(--sage-light); }

/* ── Values ──────────────────────────────────────────────── */

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--stone-light);
}

.value-card {
  padding: 40px 28px;
  border-right: 1px solid var(--stone-light);
}
.value-card:last-child { border-right: none; }

.value-num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 300;
  color: var(--stone-light);
  line-height: 1;
  margin-bottom: 16px;
}

.value-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 8px;
}

.value-desc { font-size: 13px; color: var(--stone); line-height: 1.65; }

/* ── Comparison table (biomimetic) ───────────────────────── */

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--stone-light);
  border: 1px solid var(--stone-light);
}

.compare-col { padding: 48px 44px; }
.compare-col.traditional { background: var(--warm-white); }
.compare-col.biomimetic { background: var(--earth); color: var(--cream); }

.compare-col h3 { margin-bottom: 8px; }
.compare-col .compare-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.compare-col.traditional .compare-tag { color: var(--stone); }
.compare-col.biomimetic .compare-tag { color: var(--sage-light); }

.compare-col ul { list-style: none; display: flex; flex-direction: column; }

.compare-col li {
  padding: 14px 0;
  font-size: 14.5px;
  border-bottom: 1px solid var(--stone-light);
  color: var(--stone);
}
.compare-col li:last-child { border-bottom: none; }
.compare-col.biomimetic li {
  border-color: oklch(100% 0 0 / 0.1);
  color: oklch(88% 0.01 88);
}

/* ── Process steps ───────────────────────────────────────── */

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

.step { position: relative; padding-top: 24px; }

.step::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 48px; height: 2px;
  background: var(--sage);
}

.step-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 12px;
}

.step h3 { font-size: 22px; margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--stone); line-height: 1.7; }

/* ── Letter (transition page) ────────────────────────────── */

.letter {
  background: var(--warm-white);
  border: 1px solid var(--stone-light);
  border-top: 3px solid var(--sage);
  padding: clamp(40px, 6vw, 88px);
  max-width: 820px;
  margin: 0 auto;
}

.letter p {
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--earth);
  margin-bottom: 24px;
}

.letter .letter-salutation {
  font-family: var(--font-display);
  font-size: 26px;
  font-style: italic;
  margin-bottom: 32px;
}

.letter .letter-signature {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28px;
  color: var(--sage-deep);
  margin: 40px 0 4px;
}

.letter .letter-sig-meta {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
}

/* Video placeholder */

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--earth);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--stone);
  overflow: hidden;
}

.video-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

.video-play-hint {
  width: 72px; height: 72px;
  border: 1px solid oklch(100% 0 0 / 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-play-hint::after {
  content: "";
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent var(--sage-light);
  margin-left: 4px;
}

/* ── FAQ ─────────────────────────────────────────────────── */

.faq { border-top: 1px solid var(--stone-light); }

.faq details {
  border-bottom: 1px solid var(--stone-light);
}

.faq summary {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  padding: 26px 48px 26px 4px;
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--sage-deep); }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 26px;
  color: var(--sage);
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq .faq-body {
  padding: 0 4px 30px;
  font-size: 15px;
  color: var(--stone);
  line-height: 1.8;
  max-width: 760px;
}

/* ── Contact page ────────────────────────────────────────── */

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

.info-block { margin-bottom: 36px; }

.info-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 10px;
}

.info-value {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.4;
}

.info-value a { color: var(--earth); text-decoration: none; }
.info-value a:hover { color: var(--sage-deep); }

.info-sub { font-size: 13px; color: var(--stone); margin-top: 6px; }

.hours-table { width: 100%; border-collapse: collapse; }

.hours-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--stone-light);
  font-size: 15px;
}
.hours-table tr:last-child td { border-bottom: none; }
.hours-table td:last-child { text-align: right; color: var(--stone); }
.hours-table .closed td:last-child { color: var(--wood-light); }

/* Form */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-grid .full { grid-column: 1 / -1; }

.field label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  color: var(--earth);
  background: var(--warm-white);
  border: 1px solid var(--stone-light);
  padding: 14px 16px;
  transition: border-color 0.2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sage);
}

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

.field.invalid input,
.field.invalid textarea { border-color: oklch(55% 0.12 30); }

.field .error-msg {
  display: none;
  font-size: 12px;
  color: oklch(50% 0.12 30);
  margin-top: 6px;
}
.field.invalid .error-msg { display: block; }

.form-note { font-size: 13px; color: var(--stone); margin-top: 20px; }

.form-success {
  display: none;
  background: var(--sage-tint, var(--cream));
  border: 1px solid var(--sage);
  padding: 20px 24px;
  font-size: 15px;
  color: var(--sage-deep);
  margin-top: 24px;
}
.form-success.visible { display: block; }

.map-frame {
  width: 100%;
  height: 420px;
  border: 1px solid var(--stone-light);
  filter: saturate(0.7) contrast(1.02);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ── CTA band ────────────────────────────────────────────── */

.cta-band {
  background: var(--earth);
  color: var(--cream);
  padding: 104px 0;
  position: relative;
  overflow: hidden;
}

.cta-band .container {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-band h2 { color: var(--cream); max-width: 720px; }

.cta-band .lead { margin: 22px auto 36px; }

.cta-ridge {
  position: absolute;
  left: -5%; right: -5%; bottom: -12%;
  opacity: 0.06;
  pointer-events: none;
}
.cta-ridge svg { width: 100%; height: auto; }

/* ── Footer ──────────────────────────────────────────────── */

footer {
  background: var(--earth);
  color: var(--stone);
  border-top: 1px solid oklch(100% 0 0 / 0.07);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid oklch(100% 0 0 / 0.07);
}

.footer-lockup { display: inline-flex; flex-direction: column; align-items: flex-start; text-decoration: none; }
.footer-lockup svg { width: 150px; display: block; }
.footer-lockup .rule { width: 150px; height: 1px; background: var(--sage-light); opacity: 0.4; margin: 12px 0 10px; }
.footer-lockup .wordmark {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--cream);
  white-space: nowrap;
}
.footer-lockup .sub {
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 10px;
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  color: var(--sage-light);
  margin-top: 24px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: oklch(70% 0.01 88 / 0.6);
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }

.footer-col a {
  font-size: 14px;
  font-weight: 300;
  color: oklch(80% 0.008 88 / 0.8);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--cream); }

.footer-col p { font-size: 14px; line-height: 1.9; color: oklch(80% 0.008 88 / 0.8); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 32px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: oklch(62% 0.01 72 / 0.8);
}

/* ── Scroll reveal ───────────────────────────────────────── */

.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.reveal { transform: translateY(36px); }
.reveal-left { transform: translateX(-44px); }
.reveal-right { transform: translateX(44px); }

.reveal.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1;
  transform: none;
}

.d1 { transition-delay: 0.12s; }
.d2 { transition-delay: 0.24s; }
.d3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-left, .reveal-right {
    opacity: 1; transform: none; transition: none;
  }
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 1080px) {
  .nav-links { gap: 24px; }
  .hero-inner { gap: 48px; }
  .split { gap: 56px; }
}

@media (max-width: 920px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: oklch(27% 0.03 55 / 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px 32px 32px;
    display: none;
    border-top: 1px solid oklch(100% 0 0 / 0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 16px 0;
    font-size: 13px;
    border-bottom: 1px solid oklch(100% 0 0 / 0.06);
  }
  .nav-links a::after { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav { background: oklch(27% 0.03 55 / 0.96); }

  .hero { min-height: 0; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-figure { max-width: 480px; }

  .split, .split.reverse { grid-template-columns: 1fr; gap: 48px; }
  .split.reverse > :first-child { order: 0; }

  .grid-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .value-card { border-bottom: 1px solid var(--stone-light); }
  .compare { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }

  .section-pad { padding: 80px 0; }
  .section-pad-sm { padding: 64px 0; }
}

@media (max-width: 560px) {
  .container { padding: 0 22px; }
  .nav-inner { padding: 0 22px; }
  .nav-brand .brand-name { font-size: 14px; letter-spacing: 0.14em; }
  .nav-brand svg { width: 48px; }
  .values-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}
