/* ============================================================
   Lakeshore Family Chiropractic — Design System v2
   "Editorial luxury" — forest green, charcoal ink, brass gold
   Anchored to the practice logo (moss green + charcoal)
   Type: Playfair Display (display) + Inter (body)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Forest greens (primary, from logo) — jewel-tone depth */
  --forest-950: #06120C;
  --forest-900: #0C2418;
  --forest-800: #123B24;
  --forest-700: #1C5434;
  --moss-500:   #6E9440;  /* logo green */
  --moss-600:   #567430;  /* AA-safe CTA green */
  --moss-700:   #456026;
  --moss-300:   #A3C173;

  /* Ink & paper — higher contrast */
  --ink-950:  #10130F;
  --ink-700:  #2C3833;
  --slate-600:#48504A;   /* muted text, deepened for contrast */
  --paper-0:  #FAF8F1;
  --paper-100:#EFEBDD;
  --stone-300:#D6D1BF;
  --white-0:  #FFFFFF;

  /* Brass gold (luxe accent) — richer */
  --brass-500: #C39B32;
  --brass-600: #97761B;
  --brass-300: #E0C377;

  /* Metallic finishes */
  --gold-hi:  #F3DFA4;
  --gold-mid: #D2A63F;
  --gold-lo:  #8F6B14;
  --steel-hi: #F0F2F1;
  --steel-mid:#C6CBCA;
  --steel-lo: #A5ACAA;
  --metal-brass: linear-gradient(115deg, var(--gold-lo) 0%, var(--gold-mid) 30%, var(--gold-hi) 50%, var(--gold-mid) 70%, var(--gold-lo) 100%);
  --metal-steel: linear-gradient(145deg, var(--steel-hi) 0%, var(--steel-mid) 55%, var(--steel-lo) 100%);

  /* Mist — muted text on dark forest, brightened for contrast */
  --mist-300: #BDD2BF;

  /* Semantic */
  --bg-page:         var(--paper-0);
  --bg-section-alt:  var(--paper-100);
  --surface:         var(--white-0);
  --text-primary:    var(--ink-950);
  --text-heading:    var(--forest-900);
  --text-muted:      var(--slate-600);
  --text-on-deep:    var(--paper-0);
  --accent:          var(--moss-600);
  --accent-hover:    var(--forest-700);
  --link:            var(--forest-700);
  --border:          var(--stone-300);
  --focus-ring:      var(--moss-500);

  /* Type */
  --font-display: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --text-hero:    clamp(2.5rem, 1.55rem + 4.2vw, 4.5rem);
  --text-h1:      clamp(2.25rem, 1.6rem + 2.9vw, 3.5rem);
  --text-h2:      clamp(1.75rem, 1.35rem + 1.8vw, 2.5rem);
  --text-h3:      clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
  --text-lead:    clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --text-body:    clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-small:   0.875rem;
  --text-eyebrow: 0.8125rem;

  /* Layout */
  --width-text:    692px;
  --width-content: 1020px;
  --width-wide:    1240px;
  --gutter: clamp(22px, 5vw, 40px);
  --section-pad:    clamp(5rem, 4rem + 6vw, 8.5rem);
  --section-pad-sm: clamp(4rem, 3rem + 4vw, 6rem);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* Shadows — cool ink-tinted */
  --shadow-rest:  0 1px 2px rgba(20,23,21,0.05), 0 4px 14px rgba(20,23,21,0.07);
  --shadow-lift:  0 2px 4px rgba(20,23,21,0.06), 0 12px 28px rgba(20,23,21,0.12);
  --shadow-deep:  0 4px 8px rgba(10,27,18,0.12), 0 24px 56px rgba(10,27,18,0.22);
  --shadow-accent:0 6px 20px rgba(86,116,48,0.35);

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

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--link); }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-heading);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h3, h4 { font-weight: 700; line-height: 1.25; }

.container       { max-width: var(--width-content); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide  { max-width: var(--width-wide); margin-inline: auto; padding-inline: var(--gutter); }
.container-text  { max-width: var(--width-text); margin-inline: auto; padding-inline: var(--gutter); }

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

p { max-width: 65ch; }
.center p, p.center { margin-inline: auto; }

/* ---------- Skip link (keyboard users) ---------- */
.skip-link {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 400;
  background: var(--forest-900);
  color: var(--paper-0);
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-md);
  font: 600 0.95rem/1 var(--font-body);
  text-decoration: none;
  box-shadow: var(--shadow-deep);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Signature: horizon rule + eyebrow ---------- */
.eyebrow {
  display: block;
  font: 600 var(--text-eyebrow)/1.2 var(--font-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss-600);
  margin-bottom: 0.9rem;
}
.on-deep .eyebrow, .bg-deep .eyebrow { color: var(--brass-300); }

.horizon::before {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  border-radius: 2px;
  background: var(--metal-brass);
  box-shadow: 0 1px 1px rgba(20,23,21,0.18), inset 0 1px 0 rgba(255,255,255,0.5);
  margin-bottom: 1.1rem;
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.center .horizon::before, .horizon.center::before { margin-inline: auto; transform-origin: center; }
.reveal .horizon::before, .horizon.reveal::before { transform: scaleX(0); }
.is-visible .horizon::before, .horizon.is-visible::before { transform: scaleX(1); }

.lead {
  font-size: var(--text-lead);
  line-height: 1.6;
  color: var(--text-muted);
  font-weight: 400;
}
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-pill);
  border: none;
  font: 600 1rem/1.2 var(--font-body);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s var(--ease-out-expo), background 0.25s ease;
}
.btn-primary {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.05) 45%, rgba(0,0,0,0.08) 100%),
    var(--accent);
  color: var(--white-0);
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 1px 3px rgba(20,23,21,0.2);
  text-shadow: 0 1px 1px rgba(20,23,21,0.25);
}
.btn-primary:hover {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.06) 45%, rgba(0,0,0,0.08) 100%),
    var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), var(--shadow-accent);
}
.btn-primary:active { transform: scale(0.98); }
.btn-secondary {
  background: transparent;
  color: var(--text-heading);
  border: 1.5px solid var(--forest-800);
}
.btn-secondary:hover { background: rgba(22,53,36,0.06); transform: translateY(-2px); }
.on-deep .btn-secondary { color: var(--paper-0); border-color: rgba(250,250,246,0.55); }
.on-deep .btn-secondary:hover { background: rgba(250,250,246,0.1); }

.link-tide {
  color: var(--moss-600);
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(var(--brass-500), var(--brass-500)) no-repeat 0 100% / 0% 2px;
  transition: background-size 0.24s ease;
  padding-bottom: 2px;
}
.link-tide:hover { background-size: 100% 2px; }
.link-tide::after { content: " ›"; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 72px;
  display: flex;
  align-items: center;
  background: rgba(250, 250, 246, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.is-scrolled { border-bottom-color: rgba(20,23,21,0.08); }
.nav-inner {
  width: 100%;
  max-width: var(--width-wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
/* ---------- Logo cinema (index intro) ----------
   Emblem free-falls and slams center screen (gold shockwave), the wordmark
   slides out from behind it, then the lockup dives into the nav slot. */
.logo-cinema { display: none; }
html.cinema-pending .logo-cinema {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
html.cinema-pending .nav-brand { opacity: 0; }
html.cinema-pending .brand-emblem-clip,
html.cinema-done .brand-emblem-clip { animation: none; }
html.cinema-done .nav-brand {
  opacity: 1;
  animation: land-pop 0.5s var(--ease-out-expo);
}
@keyframes land-pop {
  0%   { transform: scale(1.22); }
  45%  { transform: scale(0.94); }
  75%  { transform: scale(1.04); }
  100% { transform: scale(1); }
}
.cinema-veil {
  position: absolute;
  inset: 0;
  background: rgba(6,18,12,0.45);
  transition: opacity 0.5s ease;
}
.cinema-veil.is-clearing { opacity: 0; }
.cinema-lockup {
  --cs: 2.4;
  position: relative;
  display: flex;
  align-items: center;
  gap: calc(4px * var(--cs));
  filter: drop-shadow(0 30px 60px rgba(6,18,12,0.55));
  will-change: transform;
}
.cinema-lockup.is-diving {
  transition: transform 0.55s cubic-bezier(0.5, 0, 0.75, 0.25), opacity 0.15s linear 0.45s;
}
.cinema-emblem-wrap { position: relative; flex: none; }
.cinema-emblem-clip, .cinema-word-clip {
  position: relative;
  height: calc(60px * var(--cs));
  overflow: hidden;
}
.cinema-emblem-clip { width: calc(62px * var(--cs)); }
.cinema-word-clip { width: 0; }
.cinema-word-clip.is-open { width: calc(278px * var(--cs)); }
.cinema-word-clip { transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1); }
.cinema-emblem-clip img, .cinema-word-clip img {
  position: absolute;
  top: 0;
  height: 100%;
  width: auto;
  max-width: none;
}
.cinema-emblem-clip img { left: 0; }
.cinema-word-clip img { left: calc(-66px * var(--cs)); }
.cinema-emblem-clip {
  animation:
    emblem-drop 0.62s cubic-bezier(0.55, 0, 0.85, 0.36) 0.15s both,
    emblem-squash 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.77s both;
}
@keyframes emblem-drop {
  0%   { transform: translateY(-72vh) rotate(-22deg); opacity: 0; }
  12%  { opacity: 1; }
  100% { transform: translateY(0) rotate(0deg); opacity: 1; }
}
@keyframes emblem-squash {
  0%   { transform: scale(1.16, 0.8); }
  45%  { transform: scale(0.93, 1.09); }
  100% { transform: scale(1, 1); }
}
.cinema-ring {
  position: absolute;
  left: 50%; top: 50%;
  width: calc(62px * var(--cs));
  height: calc(60px * var(--cs));
  border-radius: 50%;
  border: 3px solid var(--gold-mid);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.4);
}
.cinema-ring.r1 { animation: ring-burst 0.8s ease-out 0.72s both; }
.cinema-ring.r2 { border-color: var(--brass-300); border-width: 2px; animation: ring-burst 0.9s ease-out 0.86s both; }
@keyframes ring-burst {
  0%   { opacity: 0.9; transform: translate(-50%, -50%) scale(0.45); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(2.5); }
}
@media (max-width: 720px) { .cinema-lockup { --cs: 1.0; } }

/* Original logo art (344x60, transparent PNG), shown via two clipping windows
   so the emblem (x 0-62) can animate independently of the wordmark (x 66-344) */
.nav-brand {
  --logo-scale: 0.9;
  display: flex; align-items: center; gap: 4px;
  text-decoration: none;
}
.brand-emblem-clip, .brand-word-clip {
  position: relative;
  height: calc(60px * var(--logo-scale));
  overflow: hidden;
  flex: none;
}
.brand-emblem-clip { width: calc(62px * var(--logo-scale)); z-index: 2; }
.brand-word-clip   { width: calc(278px * var(--logo-scale)); }
.brand-emblem-clip img, .brand-word-clip img {
  position: absolute;
  top: 0;
  height: 100%;
  width: auto;
  max-width: none;
}
.brand-emblem-clip img { left: 0; }
.brand-word-clip img { left: calc(-66px * var(--logo-scale)); }
.brand-emblem-clip {
  transform-origin: 50% 55%;
  animation: bubble-spin 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}
/* Bubble up with a playful spin, overshoot gently, settle — stays near
   native size so the small logo art never looks blown-up or grainy */
@keyframes bubble-spin {
  0%   { transform: scale(0) rotate(-170deg); opacity: 0; }
  20%  { opacity: 1; }
  55%  { transform: scale(1.22) rotate(9deg); }
  74%  { transform: scale(0.94) rotate(-4deg); }
  90%  { transform: scale(1.05) rotate(1.5deg); }
  100% { transform: scale(1) rotate(0deg); }
}
.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; }
.nav-links a:not(.btn) {
  font: 500 0.9rem/1 var(--font-body);
  color: var(--ink-950);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-links a:not(.btn):hover { color: var(--moss-600); }
.nav .btn { min-height: 40px; padding: 0.6rem 1.4rem; font-size: 0.9rem; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 9rem 7rem;
  color: var(--paper-0);
  background-color: var(--forest-900);
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 4px),
    radial-gradient(110% 80% at 82% 6%,  rgba(224,195,119,0.24) 0%, transparent 50%),
    radial-gradient(85% 65%  at 15% 30%, rgba(38,110,66,0.5)  0%, transparent 58%),
    radial-gradient(140% 90% at 50% 110%, #06120C 15%, transparent 70%),
    linear-gradient(178deg, #1C5434 0%, #0C2418 52%, #06120C 100%);
  overflow: hidden;
}
.hero h1 {
  font-size: var(--text-hero);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.005em;
  color: var(--white-0);
  max-width: 15ch;
}
.hero h1 .accent-word {
  background: linear-gradient(170deg, var(--gold-hi) 10%, var(--brass-300) 38%, var(--gold-mid) 60%, var(--gold-lo) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead { color: var(--mist-300); max-width: 46ch; margin-top: 1.5rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; align-items: center; }
.hero-reassure {
  margin-top: 1.25rem;
  font-size: var(--text-small);
  color: rgba(169,191,174,0.85);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

/* Booking glass card */
.glass-card {
  background: rgba(250, 250, 246, 0.07);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border: 1px solid rgba(250,250,246,0.18);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), var(--shadow-deep);
}
.glass-card h3 { color: var(--white-0); font-size: 1.4rem; }
.glass-card p { color: var(--mist-300); font-size: 0.95rem; }
.glass-card .btn { width: 100%; margin-top: 1.25rem; }
.glass-card .card-row {
  display: flex; align-items: center; gap: 0.75rem;
  padding-block: 0.8rem;
  border-bottom: 1px solid rgba(169,191,174,0.16);
  font-size: 0.92rem;
  color: var(--paper-0);
}
.glass-card .card-row:last-of-type { border-bottom: none; }
.glass-card .card-row svg { flex: none; color: var(--brass-300); }
.glass-card .card-row a { color: var(--paper-0); text-decoration: none; }
.glass-card .card-row a:hover { color: var(--brass-300); }

/* Grain overlay */
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Brass keyline under dark bands — quiet, architectural */
.keyline-bottom { border-bottom: 3px solid var(--brass-500); }

/* ---------- Stats band ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 2rem + 2.5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--forest-900);
  line-height: 1;
}
.stat-number sup {
  font-size: 0.5em;
  background: linear-gradient(170deg, var(--gold-mid) 10%, var(--gold-lo) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  margin-top: 0.6rem;
  font: 600 var(--text-eyebrow)/1.4 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-600);
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top-color: rgba(255,255,255,0.9);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85), var(--shadow-rest);
  padding: 2rem;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card h3 { margin-bottom: 0.6rem; }
.card p { font-size: 0.98rem; color: var(--text-muted); }
.card .link-tide { display: inline-block; margin-top: 1rem; font-size: 0.92rem; }

.card-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--metal-steel);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.9), inset 0 -2px 3px rgba(20,23,21,0.12), 0 2px 5px rgba(20,23,21,0.12);
  border-radius: 50%;
  margin-bottom: 1.4rem;
  color: var(--forest-800);
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ---------- Section backgrounds ---------- */
.bg-alt  { background: linear-gradient(180deg, var(--bg-section-alt) 0%, #E9E4D1 100%); }
::selection { background: var(--gold-mid); color: var(--forest-950); }
.bg-foam { background: var(--surface); }
.bg-deep {
  background-color: var(--forest-900);
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 4px),
    radial-gradient(120% 100% at 85% 0%, rgba(28,84,52,0.9) 0%, transparent 55%),
    radial-gradient(60% 45% at 12% 88%, rgba(224,195,119,0.07) 0%, transparent 60%),
    linear-gradient(180deg, #0C2418 0%, #06120C 100%);
  color: var(--paper-0);
}
.bg-deep h2, .bg-deep h3 { color: var(--white-0); }
.bg-deep p { color: var(--mist-300); }

/* ---------- Quick-book strip ---------- */
.quick-book {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1020px;
  margin-inline: auto;
}
.qb {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85), var(--shadow-rest);
  padding: 1.5rem 1.25rem;
  display: grid;
  gap: 0.7rem;
  justify-items: center;
  text-align: center;
}
.qb-label {
  font: 600 var(--text-eyebrow)/1.3 var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--moss-600);
}
.qb .btn { width: 100%; }
.qb-hint { font-size: 0.82rem; color: var(--text-muted); }
@media (max-width: 720px) { .quick-book { grid-template-columns: 1fr; } }

/* ---------- Journey steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.step {
  counter-increment: step;
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-rest);
}
.step::before {
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  background: linear-gradient(170deg, var(--gold-hi) 5%, var(--gold-mid) 45%, var(--gold-lo) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  display: block;
  margin-bottom: 0.9rem;
}
.step h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.92rem; color: var(--text-muted); }

/* ---------- Team ---------- */
.team-card { text-align: left; }
.team-photo {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  border-radius: 200px 200px var(--radius-md) var(--radius-md); /* editorial arch */
  background: linear-gradient(165deg, var(--forest-700), var(--forest-950));
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
  overflow: hidden;
  position: relative;
}
.team-photo span {
  font-family: var(--font-display);
  font-size: 3rem;
  color: rgba(250,250,246,0.85);
  font-weight: 600;
}
.team-photo.sage { background: linear-gradient(165deg, var(--moss-500), var(--forest-800)); }
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}
.avatar {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.4rem;
  border: 3px solid var(--paper-100);
  box-shadow: var(--shadow-rest);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-role {
  font: 600 var(--text-eyebrow)/1.3 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-600);
  margin-bottom: 0.4rem;
  display: block;
}
.team-creds { font-size: 0.88rem; color: var(--text-muted); margin-top: 0.75rem; }

/* ---------- Reviews ---------- */
.review-card {
  background: rgba(250,248,241,0.06);
  border: 1px solid rgba(224,195,119,0.22);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.review-stars {
  background: linear-gradient(170deg, var(--gold-hi) 15%, var(--brass-300) 55%, var(--gold-mid) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.2em;
  font-size: 0.9rem;
}
.review-card blockquote {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--paper-0);
  border: none;
}
.review-card cite {
  font: 600 0.85rem/1 var(--font-body);
  font-style: normal;
  color: var(--mist-300);
  margin-top: auto;
}

/* Big Red abstract mark */
.bigred-mark {
  position: absolute;
  right: -40px;
  bottom: 0;
  height: 320px;
  opacity: 0.16;
  color: var(--brass-500);
  pointer-events: none;
}

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 0.9rem;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font: 600 1.02rem/1.4 var(--font-body);
  color: var(--forest-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--brass-500);
  transition: transform 0.3s var(--ease-out-expo);
  flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 1.5rem 1.4rem; color: var(--text-muted); font-size: 0.97rem; }

/* ---------- Communities ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.chip {
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, var(--white-0) 0%, var(--steel-hi) 100%);
  border: 1px solid var(--steel-mid);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 1px 2px rgba(20,23,21,0.08);
  font: 500 0.9rem/1 var(--font-body);
  color: var(--ink-700);
}

/* ---------- Fee estimate table ---------- */
.fee-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-rest);
}
.fee-table th {
  font: 600 var(--text-eyebrow)/1.3 var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  color: var(--paper-0);
  background: var(--forest-800);
  padding: 0.8rem 1.1rem;
}
.fee-table th:last-child, .fee-table td:last-child { text-align: right; white-space: nowrap; }
.fee-table td {
  padding: 0.8rem 1.1rem;
  border-top: 1px solid var(--border);
  color: var(--text-primary);
}
.fee-table td small { display: block; color: var(--text-muted); font-size: 0.8rem; }
.fee-table td:last-child { font-weight: 600; color: var(--forest-900); }

/* ---------- Contact / closer ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.hours-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours-table td { padding: 0.65rem 0; border-bottom: 1px solid rgba(169,191,174,0.16); color: var(--paper-0); }
.hours-table td:last-child { text-align: right; color: var(--mist-300); }
.hours-table .today td { color: var(--brass-300); font-weight: 600; }

/* ---------- Contact form ---------- */
.contact-form-card .btn { width: auto; }
.service-picker {
  border: none;
  margin-bottom: 1.5rem;
}
.service-picker legend {
  font: 600 var(--text-eyebrow)/1 var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist-300);
  margin-bottom: 0.8rem;
}
.picker-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.pick { flex: 1 1 140px; }
.pick input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.pick span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(169,191,174,0.35);
  background: rgba(250,250,246,0.06);
  color: var(--paper-0);
  font: 600 0.95rem/1.2 var(--font-body);
  cursor: pointer;
  transition: transform 0.25s var(--ease-out-expo), background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.pick span svg { color: var(--brass-300); transition: color 0.25s ease; }
.pick:hover span { transform: translateY(-2px); border-color: rgba(217,188,106,0.55); }
.pick input:checked + span {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.05) 45%, rgba(0,0,0,0.08) 100%),
    var(--moss-600);
  border-color: var(--gold-mid);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 4px 14px rgba(86,116,48,0.4);
  color: var(--white-0);
}
.pick input:checked + span svg { color: var(--gold-hi); }
.pick input:focus-visible + span { outline: 2px solid var(--brass-300); outline-offset: 2px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: grid; gap: 0.45rem; }
.field-wide { grid-column: 1 / -1; }
.field span {
  font: 600 var(--text-eyebrow)/1 var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist-300);
}
.field input, .field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(169,191,174,0.3);
  background: rgba(250,250,246,0.06);
  color: var(--paper-0);
  font: 400 1rem/1.5 var(--font-body);
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--brass-300);
  outline-offset: 1px;
  border-color: transparent;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(169,191,174,0.5); }
.field span em { text-transform: none; letter-spacing: 0; font-style: normal; opacity: 0.7; }
.field-hint {
  font-size: 0.82rem;
  color: rgba(169,191,174,0.75);
  margin-top: -0.4rem;
}
.form-error {
  margin-top: 1rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(217,140,106,0.5);
  background: rgba(169,67,47,0.18);
  color: #F0C4B4;
  font-size: 0.9rem;
}
@media (max-width: 720px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
footer {
  background: var(--forest-950);
  color: var(--mist-300);
  padding: 4rem 0 2.5rem;
  font-size: 0.9rem;
  border-top: 3px solid;
  border-image: linear-gradient(90deg, var(--gold-lo), var(--gold-hi) 50%, var(--gold-lo)) 1;
}
footer a { color: var(--paper-0); text-decoration: none; }
footer a:hover { color: var(--brass-300); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--white-0); }
.footer-col h4 {
  font: 600 var(--text-eyebrow)/1 var(--font-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-300);
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; display: grid; gap: 0.6rem; }
.footer-bottom {
  border-top: 1px solid rgba(169,191,174,0.15);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(169,191,174,0.7);
}

/* ---------- Depth-gauge scroll progress ---------- */
.depth-gauge {
  position: fixed;
  left: 0; top: 0;
  width: 3px;
  height: 100%;
  z-index: 200;
  pointer-events: none;
}
.depth-gauge span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(#A3C173, #6E9440, #1F4A31, #0A1B12);
  transform: scaleY(0);
  transform-origin: top;
}

/* ---------- Reveal system ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Mobile booking bar ---------- */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(250, 250, 246, 0.85);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid rgba(20,23,21,0.08);
  display: none;
  transform: translateY(110%);
  transition: transform 0.5s var(--ease-out-expo);
}
.mobile-cta.is-shown { transform: none; }
.mobile-cta .btn { width: 100%; }
.mobile-cta .cta-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 0.6rem; }
.mobile-cta .btn-secondary { background: var(--white-0); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(250,250,246,0.97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(20,23,21,0.08);
    padding: 0.5rem var(--gutter) 1.25rem;
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { padding-block: 0.7rem; }
  .nav-links .btn { margin-top: 0.75rem; }
  .nav-toggle {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    background: none;
    border: none;
    color: var(--forest-900);
    cursor: pointer;
  }
  .nav-brand { --logo-scale: 0.62; padding: 6px 10px; }
  .grid-2, .grid-3, .grid-4, .steps, .stats { grid-template-columns: 1fr; }
  .stats { gap: 2.5rem; }
  .mobile-cta { display: block; }
  .bigred-mark { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .brand-emblem-clip { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
