/* =========================================================================
   VANTARA DENTAL — DESIGN SYSTEM
   Stone / Bone / Graphite / Sage. Editorial-clinical. Quiet confidence.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. TOKENS
   ------------------------------------------------------------------------- */
:root {
  /* Color — warm neutrals with mineral sage accent */
  --ink-900: #1C1F1D;         /* deep graphite (body copy + headlines) */
  --ink-800: #2A2E2B;
  --ink-700: #3C413D;         /* pewter */
  --ink-600: #5A605B;
  --ink-500: #7E847F;         /* subdued text */
  --ink-400: #A8ADA7;
  --ink-300: #C9CCC5;
  --ink-200: #E2E2DB;
  --ink-100: #EFEDE4;

  --bone:     #F3EEE3;        /* soft bone — primary canvas */
  --ivory:    #F8F4EC;        /* warm ivory — lighter canvas */
  --paper:    #FBF8F1;        /* near-white premium paper */
  --cream:    #EFE9DE;        /* warm surface for cards */
  --stone:    #D8D1C2;        /* muted stone — dividers */
  --stone-dk: #B8B0A2;

  --sage-900: #1F2B25;        /* deep forest — primary accent dark */
  --sage-700: #2F4038;        /* primary accent */
  --sage-600: #3E5349;
  --sage-500: #576A5F;        /* muted eucalyptus */
  --sage-300: #8B9A8F;
  --sage-100: #D7DED7;
  --sage-50:  #E8ECE5;

  --sand-100: #F0E6D0;        /* warm highlight */
  --clay:     #B7856A;         /* restrained amber, used sparingly */
  --alert:    #8C3B2A;         /* emergency / urgent */
  --alert-soft: #F4E4DF;

  /* Shadows — whisper-quiet */
  --shadow-xs: 0 1px 2px rgba(28,31,29,0.04);
  --shadow-sm: 0 2px 6px rgba(28,31,29,0.05);
  --shadow-md: 0 10px 28px -14px rgba(28,31,29,0.18);
  --shadow-lg: 0 24px 60px -28px rgba(28,31,29,0.26);
  --shadow-ring: 0 0 0 1px rgba(28,31,29,0.08);

  /* Radius */
  --r-xs: 2px;
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-xl: 22px;
  --r-2xl: 32px;
  --r-pill: 999px;

  /* Typography */
  --f-display: 'Fraunces', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --f-body:    'Inter', 'Söhne', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Fluid type scale */
  --fs-xs:  0.72rem;
  --fs-sm:  0.82rem;
  --fs-base: 1rem;
  --fs-md:  1.08rem;
  --fs-lg:  1.2rem;
  --fs-xl:  clamp(1.35rem, 1.1rem + 0.9vw, 1.75rem);
  --fs-2xl: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem);
  --fs-3xl: clamp(2.1rem, 1.5rem + 2.6vw, 3.2rem);
  --fs-4xl: clamp(2.6rem, 1.6rem + 4.2vw, 4.6rem);
  --fs-5xl: clamp(3rem, 1.8rem + 5.8vw, 5.8rem);

  /* Spacing */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;
  --sp-11: 160px;

  /* Layout */
  --container:   1240px;
  --container-w: 1360px;
  --container-n: 1040px;
  --nav-h: 72px;
  --nav-h-m: 64px;

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --dur-1: 180ms;
  --dur-2: 320ms;
  --dur-3: 560ms;
  --dur-4: 880ms;
}

/* -------------------------------------------------------------------------
   2. RESET + BASE
   ------------------------------------------------------------------------- */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink-900);
  font-family: var(--f-body);
  font-size: var(--fs-base);
  line-height: 1.55;
  font-weight: 400;
  font-feature-settings: 'ss01','cv11','cv02';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1,h2,h3,h4,h5 {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  margin: 0;
  line-height: 1.08;
  font-variation-settings: 'opsz' 144, 'SOFT' 40;
}
h1 { font-size: var(--fs-5xl); line-height: 0.98; letter-spacing: -0.025em; font-weight: 380; font-variation-settings:'opsz' 144,'SOFT' 30; }
h2 { font-size: var(--fs-4xl); letter-spacing: -0.02em; font-weight: 380; }
h3 { font-size: var(--fs-2xl); font-weight: 400; }
h4 { font-size: var(--fs-xl); font-weight: 420; }
h5 { font-size: var(--fs-lg); font-family: var(--f-body); font-weight: 560; letter-spacing: 0; }
p { margin: 0 0 1rem; color: var(--ink-700); max-width: 64ch; }
p.lead { font-size: var(--fs-lg); line-height: 1.5; color: var(--ink-800); max-width: 56ch; }
a { color: inherit; text-decoration: none; transition: color var(--dur-1) var(--ease); }
a:hover { color: var(--sage-700); }
img, picture, video, svg { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
hr { border: 0; border-top: 1px solid var(--stone); margin: var(--sp-7) 0; }

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

/* -------------------------------------------------------------------------
   3. LAYOUT PRIMITIVES
   ------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.wrap-wide { max-width: var(--container-w); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.wrap-narrow { max-width: var(--container-n); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }

.section { padding: clamp(64px, 9vw, 128px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 88px) 0; }
.section--ivory { background: var(--ivory); }
.section--paper { background: var(--paper); }
.section--cream { background: var(--cream); }
.section--ink { background: var(--ink-900); color: var(--ink-100); }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: var(--ivory); }
.section--ink p { color: var(--ink-300); }
.section--sage { background: var(--sage-900); color: var(--sage-100); }
.section--sage h1, .section--sage h2, .section--sage h3, .section--sage h4 { color: var(--ivory); }
.section--sage p { color: var(--sage-100); opacity: 0.85; }

.grid { display: grid; gap: var(--sp-5); }
.g-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.g-6 { grid-template-columns: repeat(6, minmax(0,1fr)); }
.g-12 { grid-template-columns: repeat(12, minmax(0,1fr)); gap: var(--sp-5); }
@media (max-width: 900px) {
  .g-2, .g-3, .g-4, .g-6 { grid-template-columns: 1fr; }
  .g-12 { grid-template-columns: repeat(6, 1fr); }
}

.stack > * + * { margin-top: var(--sp-5); }
.stack-sm > * + * { margin-top: var(--sp-3); }
.stack-lg > * + * { margin-top: var(--sp-6); }

.flex { display: flex; }
.flex-c { display: flex; align-items: center; }
.flex-cc { display: flex; align-items: center; justify-content: center; }
.flex-sb { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }
.gap-5 { gap: var(--sp-5); }

/* Text utilities */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: var(--fs-xs);
  font-weight: 560;
  color: var(--sage-700);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: currentColor; display: inline-block; opacity: 0.7;
}
.eyebrow--center { justify-content: center; }
.section--ink .eyebrow, .section--sage .eyebrow { color: var(--sand-100); }

.muted { color: var(--ink-500); }
.subtle { color: var(--ink-600); }
.center { text-align: center; }
.serif { font-family: var(--f-display); font-weight: 380; letter-spacing: -0.01em; }

/* Display helpers */
.d-xl { font-size: var(--fs-3xl); line-height: 1.1; font-family: var(--f-display); font-weight: 380; letter-spacing: -0.02em; }
.d-lg { font-size: var(--fs-2xl); line-height: 1.1; font-family: var(--f-display); font-weight: 380; letter-spacing: -0.015em; }

.divider { height: 1px; background: var(--stone); width: 100%; }
.divider--short { width: 56px; height: 1px; background: var(--ink-700); }

/* -------------------------------------------------------------------------
   4. COMPONENTS — BUTTONS
   ------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink-900);
  --btn-fg: var(--ivory);
  --btn-bd: var(--ink-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  font-family: var(--f-body);
  font-weight: 520;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  line-height: 1;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-pill);
  transition: transform var(--dur-1) var(--ease), background var(--dur-2) var(--ease), color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
  will-change: transform;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); color: var(--btn-fg); }
.btn svg { width: 16px; height: 16px; transition: transform var(--dur-2) var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink-900); --btn-bd: var(--ink-900); }
.btn--ghost:hover { --btn-bg: var(--ink-900); --btn-fg: var(--ivory); }

.btn--sage { --btn-bg: var(--sage-700); --btn-fg: var(--ivory); --btn-bd: var(--sage-700); }
.btn--sage:hover { --btn-bg: var(--sage-900); --btn-bd: var(--sage-900); }

.btn--ivory { --btn-bg: var(--ivory); --btn-fg: var(--ink-900); --btn-bd: var(--ivory); }
.btn--ivory:hover { --btn-bg: var(--paper); }

.btn--alert { --btn-bg: var(--alert); --btn-fg: var(--ivory); --btn-bd: var(--alert); }
.btn--alert:hover { --btn-bg: #70301F; }

.btn--soft { --btn-bg: var(--paper); --btn-fg: var(--ink-900); --btn-bd: var(--stone); }
.btn--soft:hover { --btn-bg: var(--ink-900); --btn-fg: var(--ivory); --btn-bd: var(--ink-900); }

.btn--sm { padding: 10px 18px; font-size: 0.82rem; }
.btn--lg { padding: 18px 32px; font-size: 1rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 520;
  color: var(--ink-900);
  border-bottom: 1px solid var(--ink-300);
  padding-bottom: 4px;
  transition: color var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease);
}
.link-arrow svg { width: 14px; height: 14px; transition: transform var(--dur-2) var(--ease); }
.link-arrow:hover { color: var(--sage-700); border-color: var(--sage-700); }
.link-arrow:hover svg { transform: translateX(4px); }

/* -------------------------------------------------------------------------
   5. COMPONENTS — NAV
   ------------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(243, 238, 227, 0.88);
  backdrop-filter: saturate(1.2) blur(18px);
  -webkit-backdrop-filter: saturate(1.2) blur(18px);
  border-bottom: 1px solid rgba(28,31,29,0.06);
  transition: background var(--dur-2) var(--ease);
}
.nav__inner {
  height: var(--nav-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--sp-6);
}
.nav__logo {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 420;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__logo .mark {
  width: 28px; height: 28px; border-radius: 50%; background: var(--sage-700);
  display: grid; place-items: center; color: var(--ivory); font-family: var(--f-display);
  font-size: 14px; font-weight: 500;
}
.nav__menu {
  display: flex;
  gap: clamp(6px, 2vw, 24px);
  justify-content: center;
  list-style: none;
  padding: 0; margin: 0;
}
.nav__menu a {
  font-size: 0.9rem;
  font-weight: 470;
  padding: 10px 12px;
  color: var(--ink-800);
  position: relative;
  white-space: nowrap;
}
.nav__menu a:hover { color: var(--sage-700); }
.nav__menu a.is-active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px; background: var(--sage-700);
}

.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__phone {
  font-size: 0.88rem; font-weight: 500; color: var(--ink-800);
  padding: 8px 12px; border-radius: var(--r-pill);
}
.nav__phone:hover { color: var(--sage-700); background: var(--ivory); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--r-pill);
  border: 1px solid var(--ink-300);
  align-items: center; justify-content: center;
  background: transparent;
}
.nav__toggle svg { width: 18px; height: 18px; }

/* Submenu via [data-menu] — simple dropdown */
.has-sub { position: relative; }
.submenu {
  position: absolute; top: calc(100% - 4px); left: 50%; transform: translateX(-50%) translateY(6px);
  background: var(--paper); border: 1px solid var(--ink-200); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 14px; min-width: 280px;
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease);
  list-style: none; margin: 0;
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.submenu a {
  display: block; padding: 10px 12px; border-radius: var(--r-sm);
  font-size: 0.88rem; color: var(--ink-800);
}
.submenu a:hover { background: var(--sage-50); color: var(--sage-900); }
.submenu__head { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-500); padding: 10px 12px 4px; }

@media (max-width: 1040px) {
  .nav__menu, .nav__phone { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__inner { grid-template-columns: auto 1fr auto; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0;
  background: var(--bone);
  z-index: 80;
  transform: translateX(100%);
  transition: transform var(--dur-3) var(--ease-out);
  overflow-y: auto;
  padding: 24px;
}
.drawer.is-open { transform: translateX(0); }
.drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.drawer__list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--stone); }
.drawer__list li { border-bottom: 1px solid var(--stone); }
.drawer__list a { display: block; padding: 18px 4px; font-size: 1.25rem; font-family: var(--f-display); font-weight: 400; letter-spacing: -0.01em; }
.drawer__list details summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 18px 4px; font-size: 1.25rem; font-family: var(--f-display); font-weight: 400; }
.drawer__list details[open] summary::after { transform: rotate(45deg); }
.drawer__list details summary::after { content: "+"; font-size: 1.3rem; transition: transform var(--dur-2) var(--ease); }
.drawer__list details a { padding: 12px 16px; font-size: 1rem; font-family: var(--f-body); color: var(--ink-700); }
.drawer__cta { margin-top: 28px; display: grid; gap: 10px; }
.drawer__foot { margin-top: 40px; font-size: 0.85rem; color: var(--ink-500); }

/* -------------------------------------------------------------------------
   6. COMPONENTS — HERO
   ------------------------------------------------------------------------- */
.hero {
  padding: clamp(48px, 7vw, 80px) 0 clamp(36px, 5vw, 56px);
  position: relative;
}
.hero--split .hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: end;
}
.hero__eyebrow { margin-bottom: 22px; }
.hero h1 { margin-bottom: 28px; }
.hero__sub { color: var(--ink-700); font-size: var(--fs-lg); max-width: 38ch; line-height: 1.45; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__image {
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--stone);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero__image img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.01); }
.hero__caption {
  position: absolute; bottom: 16px; left: 16px; right: 16px;
  background: rgba(28,31,29,0.7);
  color: var(--ivory);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 14px 18px;
  border-radius: var(--r-md);
  font-size: 0.82rem;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}

@media (max-width: 900px) {
  .hero--split .hero__inner { grid-template-columns: 1fr; align-items: start; }
  .hero__image { aspect-ratio: 4/3; order: -1; margin-bottom: 8px; }
}

/* Page hero (non-home) */
.page-hero {
  padding: clamp(56px, 7vw, 96px) 0 clamp(32px, 4vw, 56px);
  background: var(--bone);
  border-bottom: 1px solid var(--stone);
}
.page-hero__eyebrow { margin-bottom: 20px; }
.page-hero h1 { font-size: var(--fs-4xl); margin-bottom: 20px; max-width: 16ch; }
.page-hero__sub { max-width: 58ch; color: var(--ink-700); font-size: var(--fs-lg); line-height: 1.5; }
.page-hero__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* -------------------------------------------------------------------------
   7. COMPONENTS — TRUST BAR
   ------------------------------------------------------------------------- */
.trustbar {
  background: var(--ink-900);
  color: var(--ivory);
  padding: 26px 0;
}
.trustbar__row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
}
.trustbar__item { display: flex; align-items: center; gap: 10px; font-size: 0.84rem; color: var(--ink-300); letter-spacing: 0.01em; }
.trustbar__item svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--sand-100); }
.trustbar__item strong { color: var(--ivory); font-weight: 500; }
@media (max-width: 1040px) {
  .trustbar__row { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
}
@media (max-width: 640px) {
  .trustbar__row { grid-template-columns: repeat(2, 1fr); }
  .trustbar__item { font-size: 0.78rem; }
}

/* Trust bar alt — light */
.trustbar--light { background: var(--paper); color: var(--ink-900); border-top: 1px solid var(--stone); border-bottom: 1px solid var(--stone); }
.trustbar--light .trustbar__item { color: var(--ink-700); }
.trustbar--light .trustbar__item svg { color: var(--sage-700); }

/* -------------------------------------------------------------------------
   8. COMPONENTS — CARDS
   ------------------------------------------------------------------------- */
.card {
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card:hover { border-color: var(--ink-300); box-shadow: var(--shadow-md); }
.card__icon {
  width: 44px; height: 44px; margin-bottom: 22px;
  display: grid; place-items: center;
  background: var(--sage-50); color: var(--sage-700);
  border-radius: var(--r-md);
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { font-size: var(--fs-xl); margin-bottom: 10px; }
.card h4 { font-size: var(--fs-lg); margin-bottom: 10px; }
.card p { font-size: 0.96rem; color: var(--ink-600); margin-bottom: 20px; }
.card__foot { margin-top: auto; padding-top: 8px; }
.card__tag {
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 14px;
}

/* Service card — image forward */
.service-card {
  background: var(--paper);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--ink-200);
  display: flex; flex-direction: column;
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.service-card__media {
  aspect-ratio: 5/3;
  background: var(--stone);
  overflow: hidden;
  position: relative;
}
.service-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-4) var(--ease-out);
}
.service-card:hover .service-card__media img { transform: scale(1.04); }
.service-card__body { padding: 28px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.service-card__body h3 { font-size: 1.4rem; font-family: var(--f-display); font-weight: 420; letter-spacing: -0.01em; }
.service-card__body p { color: var(--ink-600); font-size: 0.94rem; margin-bottom: 0; flex-grow: 1; }
.service-card__foot { margin-top: 18px; }

/* Stat card */
.stat-card {
  padding: 28px 22px;
  background: var(--paper);
  border-radius: var(--r-lg);
  border: 1px solid var(--ink-200);
}
.stat-card__num { font-family: var(--f-display); font-size: var(--fs-3xl); font-weight: 380; letter-spacing: -0.02em; color: var(--sage-900); line-height: 1; }
.stat-card__label { font-size: 0.88rem; color: var(--ink-600); margin-top: 10px; }

/* -------------------------------------------------------------------------
   9. COMPONENTS — REVIEWS / TESTIMONIALS
   ------------------------------------------------------------------------- */
.review {
  padding: 32px;
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  display: flex; flex-direction: column;
  height: 100%;
}
.review__stars { display: inline-flex; gap: 3px; color: var(--clay); margin-bottom: 16px; }
.review__stars svg { width: 16px; height: 16px; }
.review__body {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 380;
  line-height: 1.4;
  color: var(--ink-900);
  letter-spacing: -0.005em;
  margin: 0 0 auto;
}
.review__author { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--ink-200); display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.review__who { font-size: 0.88rem; font-weight: 520; color: var(--ink-900); }
.review__tag { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-500); }

.review--large .review__body { font-size: 1.5rem; line-height: 1.35; }

.agg {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  padding: 36px;
  background: var(--cream);
  border-radius: var(--r-lg);
  border: 1px solid var(--stone);
}
.agg__num {
  font-family: var(--f-display);
  font-size: 4.2rem;
  line-height: 1;
  font-weight: 380;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}
.agg__stars { color: var(--clay); display: flex; gap: 4px; margin: 4px 0 8px; }
.agg__stars svg { width: 20px; height: 20px; }
.agg__meta { font-size: 0.88rem; color: var(--ink-600); }
@media (max-width: 640px) { .agg { grid-template-columns: 1fr; } .agg__num { font-size: 3.4rem; } }

/* -------------------------------------------------------------------------
   10. COMPONENTS — PILLS / BADGES
   ------------------------------------------------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  color: var(--ink-800);
  font-weight: 500;
}
.pill svg { width: 13px; height: 13px; color: var(--sage-700); }
.pill--sage { background: var(--sage-50); border-color: var(--sage-100); color: var(--sage-900); }
.pill--ink { background: var(--ink-900); border-color: var(--ink-900); color: var(--ivory); }
.pill--alert { background: var(--alert-soft); border-color: var(--alert-soft); color: var(--alert); }
.pill--clay { background: #F6ECE4; border-color: #EAD9CB; color: #70432E; }

.credbar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  padding: 20px 0; border-top: 1px solid var(--stone); border-bottom: 1px solid var(--stone);
}

/* -------------------------------------------------------------------------
   11. COMPONENTS — PROCESS / STEPS
   ------------------------------------------------------------------------- */
.steps { display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--stone);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--stone); }
.step__num {
  font-family: var(--f-display);
  font-size: 2.4rem;
  font-weight: 380;
  color: var(--sage-700);
  letter-spacing: -0.02em;
  line-height: 1;
}
.step__body h4 { font-size: 1.35rem; font-family: var(--f-display); font-weight: 420; margin-bottom: 10px; }
.step__body p { font-size: 1rem; color: var(--ink-700); }
@media (max-width: 640px) { .step { grid-template-columns: 1fr; gap: 8px; } .step__num { font-size: 1.6rem; } }

/* -------------------------------------------------------------------------
   12. COMPONENTS — FAQ / ACCORDION
   ------------------------------------------------------------------------- */
.faq-list { border-top: 1px solid var(--stone); }
.faq-item {
  border-bottom: 1px solid var(--stone);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 40px 26px 0;
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 420;
  letter-spacing: -0.005em;
  color: var(--ink-900);
  position: relative;
  transition: color var(--dur-2) var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute; right: 0; top: 50%;
  width: 14px; height: 14px;
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
  background-size: 100% 1px, 1px 100%;
  background-position: center, center;
  background-repeat: no-repeat;
  transform: translateY(-50%);
  transition: transform var(--dur-2) var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(135deg); }
.faq-item summary:hover { color: var(--sage-700); }
.faq-item__body { padding: 0 0 26px; color: var(--ink-700); max-width: 68ch; }
.faq-item__body p { margin-bottom: 12px; color: var(--ink-700); }

/* -------------------------------------------------------------------------
   13. COMPONENTS — FORMS
   ------------------------------------------------------------------------- */
.form {
  display: grid;
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-600);
  font-weight: 540;
}
.input, .select, .textarea {
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-md);
  padding: 14px 16px;
  font: inherit;
  color: var(--ink-900);
  outline: none;
  transition: border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
  width: 100%;
}
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--sage-700);
  box-shadow: 0 0 0 3px rgba(87,106,95,0.15);
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form__note { font-size: 0.78rem; color: var(--ink-500); line-height: 1.5; }

.fieldset {
  background: var(--paper); border: 1px solid var(--ink-200); border-radius: var(--r-lg); padding: 32px;
}

/* -------------------------------------------------------------------------
   14. COMPONENTS — DOCTOR / TEAM
   ------------------------------------------------------------------------- */
.dr {
  display: flex; flex-direction: column;
}
.dr__media {
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--stone);
  margin-bottom: 20px;
}
.dr__media img { width: 100%; height: 100%; object-fit: cover; }
.dr__name { font-family: var(--f-display); font-size: 1.5rem; font-weight: 420; margin-bottom: 4px; letter-spacing: -0.005em; }
.dr__role { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--sage-700); font-weight: 540; margin-bottom: 14px; }
.dr__bio { color: var(--ink-700); font-size: 0.96rem; line-height: 1.55; }
.dr__creds { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }

/* -------------------------------------------------------------------------
   15. COMPONENTS — MEMBERSHIP / PRICING
   ------------------------------------------------------------------------- */
.plan {
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease);
}
.plan:hover { border-color: var(--ink-300); box-shadow: var(--shadow-md); }
.plan--feature { background: var(--ink-900); color: var(--ivory); border-color: var(--ink-900); }
.plan--feature .plan__price, .plan--feature .plan__name { color: var(--ivory); }
.plan--feature li { color: var(--ink-300); border-color: rgba(255,255,255,0.1); }
.plan--feature .plan__tag { background: var(--sand-100); color: var(--ink-900); }
.plan__tag {
  position: absolute; top: -10px; left: 32px;
  padding: 4px 12px;
  background: var(--sage-700);
  color: var(--ivory);
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em;
  border-radius: var(--r-pill); font-weight: 540;
}
.plan__name { font-family: var(--f-display); font-size: 1.6rem; font-weight: 420; letter-spacing: -0.005em; margin-bottom: 4px; }
.plan__desc { font-size: 0.92rem; color: var(--ink-600); margin-bottom: 24px; }
.plan--feature .plan__desc { color: var(--ink-300); }
.plan__price { font-family: var(--f-display); font-size: 2.8rem; font-weight: 380; letter-spacing: -0.02em; color: var(--ink-900); line-height: 1; }
.plan__price span { font-size: 1rem; color: var(--ink-500); font-family: var(--f-body); font-weight: 500; margin-left: 4px; }
.plan--feature .plan__price span { color: var(--ink-400); }
.plan__annual { font-size: 0.82rem; color: var(--ink-500); margin-top: 8px; }
.plan ul { list-style: none; padding: 0; margin: 28px 0; flex: 1; }
.plan li { padding: 10px 0; border-bottom: 1px solid var(--ink-200); font-size: 0.92rem; color: var(--ink-700); display: flex; gap: 10px; align-items: flex-start; }
.plan li:last-child { border-bottom: none; }
.plan li svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--sage-700); margin-top: 4px; }
.plan--feature li svg { color: var(--sand-100); }

/* -------------------------------------------------------------------------
   16. COMPONENTS — CTA BANDS
   ------------------------------------------------------------------------- */
.cta-band {
  background: var(--ink-900);
  color: var(--ivory);
  padding: clamp(64px, 8vw, 112px) 0;
  position: relative;
  overflow: hidden;
}
.cta-band__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.cta-band h2 { color: var(--ivory); font-size: var(--fs-4xl); line-height: 1; font-weight: 380; max-width: 14ch; }
.cta-band p { color: var(--ink-300); max-width: 46ch; }
.cta-band__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.cta-band__side { display: grid; gap: 14px; }
.cta-band__item { padding: 18px 22px; border: 1px solid rgba(255,255,255,0.12); border-radius: var(--r-md); }
.cta-band__item small { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--sand-100); margin-bottom: 6px; }
.cta-band__item strong { font-family: var(--f-display); font-size: 1.25rem; font-weight: 420; color: var(--ivory); letter-spacing: -0.005em; }
@media (max-width: 900px) { .cta-band__inner { grid-template-columns: 1fr; } }

/* Mini CTA band (lighter) */
.mini-cta {
  padding: clamp(48px, 6vw, 72px);
  background: var(--cream);
  border-radius: var(--r-xl);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.mini-cta h3 { font-size: var(--fs-2xl); font-weight: 380; letter-spacing: -0.015em; max-width: 22ch; }
.mini-cta p { color: var(--ink-700); max-width: 44ch; margin: 16px 0 0; }
@media (max-width: 900px) { .mini-cta { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------------
   17. COMPONENTS — FEATURE / SPLIT
   ------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.split--media-right { grid-template-columns: 1fr 1.1fr; }
.split__media {
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--stone);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--wide { aspect-ratio: 5/4; }
.split__body h2 { margin-bottom: 20px; max-width: 16ch; }
.split__body p.lead { margin-bottom: 24px; }
.split__list {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: grid; gap: 16px;
}
.split__list li {
  padding-left: 28px; position: relative;
  color: var(--ink-800);
  font-size: 1rem;
  line-height: 1.5;
}
.split__list li::before {
  content: ""; position: absolute; left: 0; top: 11px; width: 14px; height: 1px; background: var(--sage-700);
}
@media (max-width: 900px) {
  .split, .split--media-right { grid-template-columns: 1fr; }
  .split__media { aspect-ratio: 4/3; order: -1; }
}

/* -------------------------------------------------------------------------
   18. COMPONENTS — GALLERY / MEDIA
   ------------------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 640px;
}
.gallery__item {
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--stone);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--dur-4) var(--ease-out); }
.gallery__item:hover img { transform: scale(1.03); }
.gallery__item--a { grid-row: 1/3; grid-column: 1; }
.gallery__item--b { grid-column: 2; grid-row: 1; }
.gallery__item--c { grid-column: 3; grid-row: 1; }
.gallery__item--d { grid-column: 2/4; grid-row: 2; }
@media (max-width: 900px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .gallery__item { aspect-ratio: 1; grid-row: auto !important; grid-column: auto !important; }
  .gallery__item--a { grid-column: 1/3 !important; aspect-ratio: 4/3; }
}

/* -------------------------------------------------------------------------
   19. COMPONENTS — FOOTER
   ------------------------------------------------------------------------- */
.footer {
  background: var(--ink-900);
  color: var(--ink-300);
  padding: clamp(64px, 8vw, 96px) 0 40px;
}
.footer h4 {
  font-family: var(--f-body); font-weight: 540; font-size: 0.76rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--sand-100); margin-bottom: 18px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand { max-width: 30ch; }
.footer__brand .mark-xl { font-family: var(--f-display); font-size: 1.9rem; color: var(--ivory); font-weight: 420; letter-spacing: -0.01em; display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer__brand .mark-xl span { width: 36px; height: 36px; border-radius: 50%; background: var(--sage-700); display: grid; place-items: center; color: var(--ivory); font-size: 18px; }
.footer__brand p { font-size: 0.92rem; color: var(--ink-300); margin: 0; }
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: 10px; }
.footer__col a { font-size: 0.9rem; color: var(--ink-300); }
.footer__col a:hover { color: var(--ivory); }
.footer__col address { font-style: normal; font-size: 0.9rem; color: var(--ink-300); line-height: 1.6; }
.footer__col address a { color: var(--ivory); border-bottom: 1px solid rgba(255,255,255,0.15); }
.footer__bottom {
  padding-top: 28px;
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-size: 0.8rem; color: var(--ink-500);
}
.footer__legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__legal a { color: var(--ink-500); }
.footer__legal a:hover { color: var(--ivory); }
@media (max-width: 1040px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .footer__brand { grid-column: 1/3; }
}
@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { grid-column: auto; }
}

/* -------------------------------------------------------------------------
   20. COMPONENTS — MISC
   ------------------------------------------------------------------------- */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
  align-items: end;
}
.section-head h2 { max-width: 18ch; }
.section-head__aside { max-width: 46ch; color: var(--ink-700); }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; gap: 20px; } }

.marquee {
  font-family: var(--f-display);
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 380;
  letter-spacing: -0.02em;
  color: var(--ink-100);
  -webkit-text-stroke: 1px var(--ink-800);
  white-space: nowrap;
  overflow: hidden;
  padding: 40px 0;
  border-top: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
}
.marquee__track {
  display: inline-flex; gap: 60px; animation: scroll 40s linear infinite;
}
.marquee__track span::before { content: "·"; margin-right: 60px; color: var(--sage-500); }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.callout {
  padding: 24px 28px;
  border-left: 2px solid var(--sage-700);
  background: var(--paper);
  border-radius: 2px;
}
.callout strong { display: block; font-family: var(--f-display); font-size: 1.2rem; font-weight: 420; margin-bottom: 6px; }
.callout p { margin: 0; color: var(--ink-700); font-size: 0.96rem; }

.highlight {
  color: var(--sage-700);
  font-style: italic;
  font-family: var(--f-display);
  font-weight: 380;
}

.badge-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(28,31,29,0.96);
  backdrop-filter: blur(16px);
  z-index: 50;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.sticky-cta a { padding: 14px 18px; font-size: 0.88rem; }
@media (max-width: 720px) {
  .sticky-cta { display: grid; }
  body { padding-bottom: 76px; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  * { animation: none !important; transition: none !important; }
}

/* Reading width utility */
.prose { max-width: 62ch; }
.prose p { font-size: 1.05rem; line-height: 1.7; color: var(--ink-800); }
.prose h3 { margin-top: 40px; margin-bottom: 14px; }
.prose ul { padding-left: 20px; color: var(--ink-800); }
.prose li { margin-bottom: 10px; line-height: 1.6; }

/* Anchor helper */
[id] { scroll-margin-top: calc(var(--nav-h) + 24px); }

/* -------------------------------------------------------------------------
   21. HOME-SPECIFIC
   ------------------------------------------------------------------------- */
.home-hero {
  padding: clamp(32px, 5vw, 72px) 0 clamp(48px, 7vw, 96px);
}
.home-hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: stretch;
  min-height: 540px;
}
.home-hero__copy { display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 16px; }
.home-hero h1 {
  font-size: clamp(3.2rem, 1.4rem + 6.5vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 360;
  margin-bottom: 28px;
}
.home-hero h1 em { font-style: italic; color: var(--sage-700); font-weight: 340; }
.home-hero__sub { font-size: clamp(1.05rem, 1rem + 0.5vw, 1.28rem); color: var(--ink-700); line-height: 1.48; max-width: 40ch; margin: 0; }
.home-hero__ctas { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
.home-hero__proof { margin-top: 48px; display: flex; gap: 40px; flex-wrap: wrap; border-top: 1px solid var(--stone); padding-top: 28px; }
.home-hero__proof-item strong { font-family: var(--f-display); font-size: 1.9rem; font-weight: 380; line-height: 1; display: block; margin-bottom: 8px; letter-spacing: -0.01em; }
.home-hero__proof-item span { font-size: 0.82rem; color: var(--ink-500); letter-spacing: 0.03em; }

.home-hero__media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--stone);
  min-height: 540px;
}
.home-hero__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.home-hero__badge {
  position: absolute; top: 24px; left: 24px;
  padding: 10px 18px;
  background: rgba(248,244,236,0.94);
  backdrop-filter: blur(10px);
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  color: var(--ink-900);
  font-weight: 500;
  display: flex; align-items: center; gap: 10px;
}
.home-hero__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #6AA67E; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.home-hero__floatcard {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  padding: 20px 24px;
  background: rgba(248,244,236,0.96);
  backdrop-filter: blur(14px);
  border-radius: var(--r-lg);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(28,31,29,0.08);
}
.home-hero__floatcard small { display: block; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 4px; }
.home-hero__floatcard strong { font-family: var(--f-display); font-size: 1.05rem; font-weight: 420; color: var(--ink-900); letter-spacing: -0.005em; }
.home-hero__floatcard__icon { width: 40px; height: 40px; border-radius: 50%; background: var(--sage-700); display: grid; place-items: center; color: var(--ivory); }

@media (max-width: 900px) {
  .home-hero__inner { grid-template-columns: 1fr; min-height: auto; }
  .home-hero__media { min-height: 420px; aspect-ratio: 4/5; order: -1; }
  .home-hero__copy { padding-bottom: 0; }
  .home-hero__proof { gap: 24px; }
}

/* Index rail */
.rail {
  display: flex; gap: 20px; overflow-x: auto; padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  margin: 0 calc(-1 * clamp(20px, 4vw, 40px));
  padding-left: clamp(20px, 4vw, 40px);
  padding-right: clamp(20px, 4vw, 40px);
}
.rail > * { flex: 0 0 min(360px, 80vw); scroll-snap-align: start; }

/* Metric block */
.metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
}
.metric-row > div {
  padding: 40px 28px;
  border-right: 1px solid var(--stone);
}
.metric-row > div:last-child { border-right: none; }
.metric-row .n { font-family: var(--f-display); font-size: var(--fs-3xl); font-weight: 380; letter-spacing: -0.02em; color: var(--ink-900); line-height: 1; display: block; margin-bottom: 10px; }
.metric-row .l { font-size: 0.88rem; color: var(--ink-600); }
@media (max-width: 900px) {
  .metric-row { grid-template-columns: 1fr 1fr; }
  .metric-row > div { border-right: none; border-bottom: 1px solid var(--stone); }
  .metric-row > div:nth-child(2) { border-right: 1px solid var(--stone); }
  .metric-row > div:last-child, .metric-row > div:nth-last-child(2) { border-bottom: none; }
}

/* Service intent tabs (for services page) */
.intent-group {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  padding: 64px 0;
  border-top: 1px solid var(--stone);
  align-items: start;
}
.intent-group:last-child { border-bottom: 1px solid var(--stone); }
.intent-group__head { position: sticky; top: calc(var(--nav-h) + 24px); }
.intent-group__head h3 { font-size: var(--fs-2xl); letter-spacing: -0.015em; margin-bottom: 14px; }
.intent-group__head p { color: var(--ink-600); font-size: 0.95rem; margin-bottom: 0; }
.intent-group__items { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
@media (max-width: 1040px) { .intent-group { grid-template-columns: 1fr; gap: 28px; } .intent-group__head { position: static; } }
@media (max-width: 640px) { .intent-group__items { grid-template-columns: 1fr; } }

.intent-item {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  display: flex; flex-direction: column; height: 100%;
  transition: border-color var(--dur-2) var(--ease), transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.intent-item:hover { border-color: var(--ink-300); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.intent-item h4 { font-family: var(--f-display); font-size: 1.3rem; font-weight: 420; letter-spacing: -0.005em; margin-bottom: 8px; }
.intent-item p { font-size: 0.95rem; color: var(--ink-600); margin-bottom: 18px; flex: 1; }

/* Emergency callout */
.urgent {
  background: var(--alert-soft);
  border-left: 3px solid var(--alert);
  padding: 24px 28px;
  border-radius: 2px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.urgent strong { font-family: var(--f-display); font-size: 1.2rem; font-weight: 420; color: var(--alert); display: block; margin-bottom: 4px; }
.urgent p { margin: 0; color: var(--ink-800); font-size: 0.96rem; }
@media (max-width: 640px) { .urgent { grid-template-columns: 1fr; } }

/* Table — pricing */
.ptable {
  width: 100%; border-collapse: collapse; text-align: left;
  background: var(--paper); border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--ink-200);
}
.ptable th, .ptable td { padding: 16px 20px; border-bottom: 1px solid var(--ink-200); font-size: 0.95rem; }
.ptable th { background: var(--cream); font-weight: 540; color: var(--ink-800); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; }
.ptable tr:last-child td { border-bottom: none; }
.ptable td:last-child { text-align: right; color: var(--ink-900); font-weight: 500; }

/* Map pseudo */
.mapbox {
  aspect-ratio: 16/9;
  background:
    linear-gradient(135deg, rgba(215,222,215,0.8) 0%, rgba(232,236,229,0.9) 100%),
    radial-gradient(circle at 30% 40%, rgba(87,106,95,0.15) 0%, transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(183,133,106,0.1) 0%, transparent 50%),
    var(--sage-50);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--stone);
}
.mapbox::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(87,106,95,0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(87,106,95,0.08) 1px, transparent 1px);
  background-size: 48px 48px;
}
.mapbox__pin {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -100%);
  width: 34px; height: 34px;
  background: var(--sage-900);
  border-radius: 50% 50% 50% 0;
  transform: translate(-50%, -100%) rotate(-45deg);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.mapbox__pin::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 12px; height: 12px; background: var(--ivory); border-radius: 50%;
}
.mapbox__label {
  position: absolute; bottom: 16px; left: 16px;
  padding: 8px 14px;
  background: var(--ivory);
  border-radius: var(--r-pill);
  font-size: 0.8rem;
  color: var(--ink-800);
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

/* A+ Quote mark */
.qmark {
  font-family: var(--f-display);
  font-size: 6rem;
  line-height: 0.8;
  color: var(--sage-500);
  opacity: 0.4;
  font-style: italic;
}

/* Strong lead callout */
.lede {
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 1rem + 1.2vw, 2rem);
  line-height: 1.3;
  font-weight: 380;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  max-width: 32ch;
}

/* Print-safe */
@media print { .nav, .sticky-cta, .footer { display: none !important; } }
