/* =========================================================
   V3 — Concierge
   Solenne-inspired luxury editorial.
   Fustat variable sans + DM Mono italic slash labels + Fraunces italic accents.

   Architecture: typography + structure are VARIANT-level (fixed).
   Themes swap palette only. Large rounded image tiles are the V3 signature.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fustat:wght@300;400;500;600;700&family=DM+Mono:ital,wght@0,400;0,500;1,400;1,500&family=Fraunces:ital,opsz,wght@1,9..144,300;1,9..144,400&display=swap');

/* --- Variant identity: typography + radii + type metrics --- */
:root {
  --radius-xl:  28px;   /* solenne uses generous rounded frames */
  --radius-lg:  18px;
  --radius-md:  10px;
  --radius-sm:  4px;
  --radius-btn: 999px;
  --display-weight: 500;
  --display-letter: -0.025em;
}

/* LIGHT — stone & ivory (the V3 default) */
:root,
:root[data-theme="light"] {
  --bg:         #EFEAE0;
  --surface:    #F6F2E8;
  --surface-2:  #E2D9C5;
  --ink:        #1C1A15;
  --text:       #342E21;
  --muted:      #6E6654;
  --faint:      #9B927C;
  --accent:     #837D6E;    /* solenne stone */
  --accent-2:   #5D574A;
  --accent-hi:  #342E21;
  --rule:       #D6CDB8;
  --rule-strong:#B3A88F;
  --on-dark:    #F6F2E8;
  --on-accent:  #F6F2E8;    /* light text on dark-ish ink/accent bgs */
  --cta-bg:     #1C1A15;
}

/* DARK — deep umber, bronze */
:root[data-theme="dark"] {
  --bg:         #141110;
  --surface:    #1C1815;
  --surface-2:  #26201C;
  --ink:        #F2ECDF;    /* LIGHT on dark theme */
  --text:       #D9CEBB;
  --muted:      #988D78;
  --faint:      #605847;
  --accent:     #C8A878;    /* bronze */
  --accent-2:   #E0C392;
  --accent-hi:  #F2ECDF;
  --rule:       #2A2420;
  --rule-strong:#44392F;
  --on-dark:    #F2ECDF;
  --on-accent:  #141110;    /* DARK text — ink/accent bgs are LIGHT on dark theme */
  --cta-bg:     #080604;
}

/* WARM — terracotta & butter */
:root[data-theme="warm"] {
  --bg:         #F2D9BE;
  --surface:    #F7E4CB;
  --surface-2:  #E5C4A1;
  --ink:        #3A1C0D;
  --text:       #552A16;
  --muted:      #8A5A3E;
  --faint:      #B6896A;
  --accent:     #C25A2E;    /* terracotta */
  --accent-2:   #E08659;
  --accent-hi:  #6E2810;
  --rule:       #DCBC96;
  --rule-strong:#B6896A;
  --on-dark:    #F7E4CB;
  --on-accent:  #F7E4CB;    /* light text on dark terracotta/ink */
  --cta-bg:     #3A1C0D;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Fustat', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  transition: background-color 450ms ease, color 450ms ease;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-family: 'Fustat', system-ui, sans-serif;
  font-weight: var(--display-weight);
  letter-spacing: var(--display-letter);
  line-height: 1.04;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--accent); color: var(--on-accent); }

/* Container */
.v3-wrap { max-width: 1340px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 767px) { .v3-wrap { padding: 0 20px; } }

/* Mono labels — the V3 signature */
.mono, .v3-slash {
  font-family: 'DM Mono', ui-monospace, Menlo, monospace;
  font-style: italic;
  font-weight: 400;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.v3-slash { color: var(--accent); }
.v3-slash-strong { font-family: 'DM Mono', ui-monospace, monospace; font-style: italic; font-size: 12.5px; color: var(--accent); letter-spacing: 0.04em; }

/* Buttons */
.v3-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  font-family: inherit;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: background-color 240ms ease, color 240ms ease, border-color 240ms ease, transform 180ms ease;
  cursor: pointer;
  min-height: 44px;
}
.v3-btn--solid       { background: var(--ink); color: var(--on-accent); }
.v3-btn--solid:hover { background: var(--accent-hi); color: var(--on-accent); transform: translateY(-1px); }
.v3-btn--outline     { border-color: var(--rule-strong); color: var(--ink); background: transparent; }
.v3-btn--outline:hover { border-color: var(--accent-hi); color: var(--accent-hi); background: var(--surface); }
.v3-btn--on-dark     { background: var(--on-dark); color: var(--cta-bg); }
.v3-btn--on-dark:hover { background: var(--accent); color: var(--on-accent); }
.v3-btn--on-dark-outline { border-color: rgba(255,255,255,0.3); color: var(--on-dark); background: transparent; }
.v3-btn--on-dark-outline:hover { background: rgba(255,255,255,0.08); border-color: var(--on-dark); }
.v3-btn__arrow { transition: transform 220ms ease; display: inline-block; }
.v3-btn:hover .v3-btn__arrow { transform: translateX(3px); }

/* Slash-prefixed section label (the V3 motif) */
.v3-section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'DM Mono', ui-monospace, monospace;
  font-style: italic;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.v3-section-label::before {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

/* =========================================================
   TOP NAV
   ========================================================= */
.v3-nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
  transition: background-color 450ms ease, border-color 450ms ease;
}
/* padding-block only — .v3-wrap supplies horizontal edge padding. */
.v3-nav__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 36px; padding-block: 18px; }
.v3-nav__brand { display: flex; align-items: baseline; gap: 10px; }
.v3-nav__brand-name { font-weight: 500; font-size: 19px; color: var(--ink); letter-spacing: -0.01em; }
.v3-nav__brand-mark { font-family: 'DM Mono', monospace; font-style: italic; color: var(--accent); font-size: 12px; letter-spacing: 0.04em; }
.v3-nav__links { display: flex; align-items: center; gap: 34px; justify-content: center; }
.v3-nav__link {
  position: relative;
  font-size: 14px; font-weight: 500; color: var(--text);
  padding: 8px 0;
  letter-spacing: 0.005em;
}
.v3-nav__link::before {
  content: "/";
  color: var(--accent);
  opacity: 0;
  transform: translateX(-6px);
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-style: italic;
  margin-right: 4px;
  transition: opacity 220ms ease, transform 220ms ease;
}
.v3-nav__link:hover::before, .v3-nav__link[aria-current="page"]::before { opacity: 1; transform: translateX(0); }
.v3-nav__link[aria-current="page"] { color: var(--ink); }
.v3-nav__cta { padding: 10px 20px; font-size: 13px; min-height: 0; }
.v3-nav__burger { display: none; flex-direction: column; gap: 5px; padding: 10px; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.v3-nav__burger span { display: block; width: 22px; height: 1.5px; background: var(--ink); }
@media (max-width: 960px) {
  .v3-nav__links { display: none; }
  .v3-nav__burger { display: inline-flex; }
  .v3-nav__cta { display: none; }
  .v3-nav__inner { grid-template-columns: 1fr auto; }
  /* Keep the brand name on one line on mobile. Longer practice names
     (e.g. "Westside Spine & Wellness") were wrapping between "&" and
     "Wellness" next to the hamburger. */
  .v3-nav__brand-name { white-space: nowrap; font-size: 17px; letter-spacing: -0.015em; }
  .v3-nav__brand { gap: 8px; min-width: 0; }
  .v3-nav__brand-mark { flex: none; }
}

/* Mobile menu */
.v3-mobile-menu { position: fixed; inset: 0; background: var(--bg); z-index: 100; padding: 80px 28px 28px; display: flex; flex-direction: column; transform: translateX(100%); transition: transform 320ms cubic-bezier(.2,.6,.2,1); }
.v3-mobile-menu.is-open { transform: translateX(0); }
.v3-mobile-menu__close { position: absolute; top: 18px; right: 18px; font-size: 38px; line-height: 1; color: var(--ink); min-width: 44px; min-height: 44px; }
.v3-mobile-menu__link { font-size: 32px; font-weight: 500; color: var(--ink); padding: 10px 0; border-bottom: 1px solid var(--rule); letter-spacing: -0.01em; }

/* =========================================================
   HERO — warm luxury, image-forward with overline meta
   ========================================================= */
.v3-hero { position: relative; padding: 56px 0 80px; }
.v3-hero__meta-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
  margin-bottom: 44px;
}
.v3-hero__meta-row .mono { color: var(--muted); }
.v3-hero__frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  /* Hero height cut by a third (was 16/9) for a more cinematic, less
     dominating opening frame. */
  aspect-ratio: 8 / 3;
  background: var(--surface-2);
  box-shadow: 0 40px 100px -50px rgba(0,0,0,0.45);
  isolation: isolate;
}
.v3-hero__frame-inner { position: absolute; inset: -5%; will-change: transform; }
.v3-hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.v3-hero__frame::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.0) 20%, rgba(0,0,0,0.4) 100%);
}
.v3-hero__badge {
  position: absolute;
  z-index: 2;
  top: 28px; left: 28px;
  font-family: 'DM Mono', monospace;
  font-style: italic;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.88);
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  background: rgba(0,0,0,0.15);
}

.v3-hero__headline-block {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: end;
}
.v3-hero__headline {
  font-size: clamp(48px, 8vw, 124px);
  line-height: 0.94;
  max-width: 16ch;
  color: var(--ink);
}
.v3-hero__headline em {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 300;
  color: var(--accent-hi);
  letter-spacing: -0.02em;
}
.v3-hero__side {
  min-width: 260px;
  max-width: 360px;
  text-align: left;
}
.v3-hero__side-text { color: var(--muted); font-size: 16px; line-height: 1.65; margin-bottom: 22px; }
.v3-hero__side-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) {
  .v3-hero__headline-block { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  /* Mobile hero also cut by a third (was 4/5) for consistency with desktop. */
  .v3-hero__frame { aspect-ratio: 6 / 5; }
  .v3-hero__badge { top: 18px; left: 18px; font-size: 10.5px; }
}

/* =========================================================
   MONO MARQUEE (the V3 signature ticker)
   ========================================================= */
.v3-mono-marquee {
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
}
.v3-mono-marquee__track {
  display: inline-flex;
  gap: 48px;
  white-space: nowrap;
  animation: v3marq 42s linear infinite;
}
.mono-marquee__item {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-style: italic;
  font-weight: 400;
  font-size: 13.5px;
  letter-spacing: 0.03em;
  color: var(--muted);
}
.mono-marquee__item:nth-child(3n) { color: var(--accent); }
@keyframes v3marq { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .v3-mono-marquee__track { animation: none; flex-wrap: wrap; } }

/* =========================================================
   STATS STRIP (by the numbers)
   ========================================================= */
.v3-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 80px 0;
  border-bottom: 1px solid var(--rule);
}
.v3-stats__item {
  padding: 0 28px;
  border-left: 1px solid var(--rule);
}
.v3-stats__item:first-child { border-left: 0; padding-left: 0; }
.v3-stats__num {
  font-family: 'Fustat', sans-serif;
  font-weight: 500;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 14px;
}
.v3-stats__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}
.v3-stats__sub {
  font-family: 'DM Mono', monospace;
  font-style: italic;
  font-size: 11.5px;
  color: var(--accent);
  letter-spacing: 0.04em;
}
@media (max-width: 900px) {
  .v3-stats { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .v3-stats__item { border-left: 0; padding: 0 16px; border-top: 1px solid var(--rule); padding-top: 28px; }
  .v3-stats__item:first-child, .v3-stats__item:nth-child(2) { border-top: 0; padding-top: 0; }
}
@media (max-width: 520px) { .v3-stats { grid-template-columns: 1fr; } .v3-stats__item { border-top: 1px solid var(--rule); padding: 28px 0 0; } .v3-stats__item:first-child { border-top: 0; padding-top: 0; } }

/* =========================================================
   FEATURED TILES (solenne property-card vocabulary)
   ========================================================= */
.v3-featured {
  padding: 96px 0;
  border-bottom: 1px solid var(--rule);
}
.v3-featured__head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 48px;
}
.v3-featured__title {
  font-size: clamp(36px, 4.4vw, 60px);
  max-width: 16ch;
}
.v3-featured__link { color: var(--accent-hi); font-weight: 500; display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--rule-strong); padding-bottom: 4px; transition: gap 200ms ease, border-color 200ms ease; }
.v3-featured__link:hover { gap: 12px; border-bottom-color: var(--accent); }
.v3-tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .v3-tile-grid { grid-template-columns: 1fr; } }

.v3-tile {
  display: grid;
  grid-template-rows: 1fr auto auto;
  gap: 14px;
  padding: 18px 18px 22px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule);
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), box-shadow 280ms ease, border-color 280ms ease;
  position: relative;
  overflow: hidden;
  min-height: 360px;
  will-change: transform;
}
.v3-tile:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.22); border-color: var(--accent); }
.v3-tile__media {
  display: block;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  background: var(--surface-2) center / cover no-repeat;
  overflow: hidden;
  transition: transform 600ms cubic-bezier(.2,.7,.2,1);
}
.v3-tile:hover .v3-tile__media { transform: scale(1.03); }
.v3-tile__meta {
  font-family: 'DM Mono', monospace;
  font-style: italic;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.v3-tile__label {
  font-size: clamp(22px, 2vw, 26px);
  color: var(--ink);
  letter-spacing: -0.01em;
  font-weight: 500;
}
.v3-tile__arrow {
  position: absolute;
  top: 28px; right: 28px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.88);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: transform 300ms ease, background-color 240ms ease, color 240ms ease;
}
.v3-tile:hover .v3-tile__arrow { transform: rotate(-35deg); background: var(--ink); color: var(--on-accent); }

/* =========================================================
   STORY (about teaser / copy block)
   ========================================================= */
.v3-story {
  padding: 96px 0;
  border-bottom: 1px solid var(--rule);
}
.v3-story__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: center;
}
.v3-story__media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--surface-2);
}
.v3-story__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms cubic-bezier(.2,.7,.2,1); }
.v3-story__media:hover img { transform: scale(1.04); }
.v3-story__headline {
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.08;
  max-width: 22ch;
  margin-bottom: 20px;
}
.v3-story__body { color: var(--muted); font-size: 17px; line-height: 1.7; max-width: 58ch; margin-bottom: 26px; }
.v3-story__note { padding: 18px 20px; border-left: 2px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.v3-story__note .mono { color: var(--accent); display: block; margin-bottom: 4px; }
@media (max-width: 900px) { .v3-story__grid { grid-template-columns: 1fr; gap: 44px; } }

/* =========================================================
   VOICE (pull quote testimonials, mono-attributed)
   ========================================================= */
.v3-voice { padding: 96px 0; border-bottom: 1px solid var(--rule); background: var(--surface); }
.v3-voice__head { max-width: 720px; margin-bottom: 56px; }
.v3-voice__head .v3-featured__title { font-size: clamp(32px, 4vw, 52px); }
.v3-voice__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .v3-voice__grid { grid-template-columns: 1fr; } }
.v3-voice__card {
  padding: 32px 28px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.v3-voice__mark {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: 56px;
  line-height: 0.4;
  color: var(--accent);
}
.v3-voice__quote { color: var(--ink); font-size: 19px; line-height: 1.5; letter-spacing: -0.005em; }
.v3-voice__who {
  margin-top: auto;
  font-family: 'DM Mono', monospace;
  font-style: italic;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}

/* =========================================================
   BOOK-CTA (warm tonal band)
   ========================================================= */
.v3-book {
  padding: 96px 0;
  background: var(--cta-bg);
  color: var(--on-dark);
  text-align: left;
}
.v3-book__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: end;
}
.v3-book__title { color: var(--on-dark); font-size: clamp(40px, 5.2vw, 72px); max-width: 18ch; }
.v3-book__body { color: rgba(255,255,255,0.8); font-size: 17px; line-height: 1.6; max-width: 50ch; margin-bottom: 24px; }
.v3-book__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.v3-book__slash { color: var(--accent); }
@media (max-width: 900px) { .v3-book__inner { grid-template-columns: 1fr; gap: 40px; } }

/* =========================================================
   FOOTER — oversized wordmark + mono grid
   ========================================================= */
.v3-footer { background: var(--bg); padding: 80px 0 36px; border-top: 1px solid var(--rule); }
.v3-footer__wordmark {
  font-family: 'Fustat', sans-serif;
  font-weight: 500;
  font-size: clamp(72px, 14vw, 220px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 40px;
  overflow-wrap: break-word;
  opacity: 0.88;
}
.v3-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.v3-footer__col h4 {
  font-family: 'DM Mono', monospace;
  font-style: italic;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 400;
  margin-bottom: 16px;
  text-transform: none;
}
.v3-footer__col h4::before { content: "/ "; }
.v3-footer__col p, .v3-footer__col a { display: block; color: var(--text); font-size: 14.5px; line-height: 1.6; margin-bottom: 4px; }
.v3-footer__col a { transition: color 200ms ease; }
.v3-footer__col a:hover { color: var(--accent); }
.v3-footer__col--brand p { color: var(--muted); max-width: 36ch; }
.v3-footer__bottom {
  border-top: 1px solid var(--rule);
  padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: 'DM Mono', monospace;
  font-style: italic;
  font-size: 11.5px;
  color: var(--faint);
  letter-spacing: 0.04em;
}
@media (max-width: 900px) { .v3-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 560px) { .v3-footer__grid { grid-template-columns: 1fr; } }

/* =========================================================
   ABOUT PAGE — principles, credentials, gallery
   ========================================================= */
.v3-split { padding: 96px 0; border-bottom: 1px solid var(--rule); }
.v3-split__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
@media (max-width: 900px) { .v3-split__grid { grid-template-columns: 1fr; gap: 40px; } }
.v3-split__media { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4/5; background: var(--surface-2); }
.v3-split__media img { width: 100%; height: 100%; object-fit: cover; }
.v3-split__body h2 { font-size: clamp(36px, 4.4vw, 56px); margin-bottom: 20px; max-width: 22ch; }
.v3-split__body p { color: var(--muted); font-size: 17px; line-height: 1.7; margin-bottom: 16px; max-width: 58ch; }
.v3-creds { list-style: none; margin: 26px 0 24px; padding: 0; }
.v3-creds li {
  display: grid; grid-template-columns: 28px 1fr; gap: 12px;
  padding: 14px 0; border-top: 1px solid var(--rule);
  color: var(--text); font-size: 14.5px;
}
.v3-creds li:last-child { border-bottom: 1px solid var(--rule); }
.v3-creds li::before {
  content: "/"; font-family: 'DM Mono', monospace; font-style: italic;
  color: var(--accent); font-size: 14px; align-self: center;
}

.v3-principles-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.v3-principles-head h2 { font-size: clamp(32px, 4vw, 52px); max-width: 20ch; margin: 0 auto 16px; }
.v3-principles-head p { color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 56ch; margin: 0 auto; }
.v3-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .v3-principles { grid-template-columns: 1fr; } }
.v3-principle {
  padding: 34px 28px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule);
  transition: transform 280ms ease, border-color 280ms ease;
}
.v3-principle:hover { transform: translateY(-3px); border-color: var(--accent); }
.v3-principle__mark {
  font-family: 'DM Mono', monospace;
  font-style: italic;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.v3-principle__mark::before { content: "/ "; }
.v3-principle__title { font-size: 22px; margin-bottom: 12px; letter-spacing: -0.01em; }
.v3-principle__body { color: var(--muted); font-size: 15px; line-height: 1.65; }

.v3-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 120px;
  gap: 14px;
  margin-top: 44px;
}
.v3-gallery > a { overflow: hidden; border-radius: var(--radius-md); display: block; }
.v3-gallery > a:nth-child(1) { grid-column: span 4; grid-row: span 3; }
.v3-gallery > a:nth-child(2) { grid-column: span 2; grid-row: span 2; }
.v3-gallery > a:nth-child(3) { grid-column: span 2; grid-row: span 1; }
.v3-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(.2,.7,.2,1); }
.v3-gallery > a:hover img { transform: scale(1.04); }
@media (max-width: 767px) {
  .v3-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .v3-gallery > a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .v3-gallery > a:nth-child(2) { grid-column: span 1; grid-row: span 1; }
  .v3-gallery > a:nth-child(3) { grid-column: span 1; grid-row: span 1; }
}

/* =========================================================
   SERVICES PAGE — alternating detail blocks
   ========================================================= */
.v3-service {
  padding: 96px 0;
  border-bottom: 1px solid var(--rule);
}
.v3-service__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.v3-service:nth-child(even) .v3-service__media { order: 2; }
.v3-service__media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 5/6;
  background: var(--surface-2);
  position: relative;
}
.v3-service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms ease; }
.v3-service__media:hover img { transform: scale(1.04); }
.v3-service__tag {
  position: absolute; top: 20px; left: 20px;
  font-family: 'DM Mono', monospace; font-style: italic; font-size: 11.5px;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.88); color: var(--ink);
  backdrop-filter: blur(8px);
  letter-spacing: 0.04em;
}
.v3-service__title { font-size: clamp(36px, 4.4vw, 60px); margin-bottom: 20px; letter-spacing: -0.02em; max-width: 16ch; }
.v3-service__body { color: var(--muted); font-size: 17px; line-height: 1.7; margin-bottom: 26px; max-width: 58ch; }
.v3-service__list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.v3-service__list li {
  padding: 12px 0; border-top: 1px solid var(--rule);
  font-size: 14.5px; color: var(--text);
  display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: center;
}
.v3-service__list li::before { content: "/"; color: var(--accent); font-family: 'DM Mono', monospace; font-style: italic; font-size: 13px; }
@media (max-width: 900px) {
  .v3-service__grid { grid-template-columns: 1fr; gap: 32px; }
  .v3-service:nth-child(even) .v3-service__media { order: 0; }
  .v3-service__list { grid-template-columns: 1fr; }
}

/* FAQ (accordion) */
.v3-faq { max-width: 860px; margin: 0 auto; }
.v3-faq__item { border-top: 1px solid var(--rule); }
.v3-faq__item:last-child { border-bottom: 1px solid var(--rule); }
.v3-faq__q {
  display: grid; grid-template-columns: 28px 1fr 24px; gap: 14px;
  align-items: center; padding: 26px 0; cursor: pointer; list-style: none;
  font-family: 'Fustat', sans-serif; font-weight: 500; font-size: 18px; color: var(--ink);
  letter-spacing: -0.005em;
}
.v3-faq__q::marker, .v3-faq__q::-webkit-details-marker { display: none; }
.v3-faq__num { font-family: 'DM Mono', monospace; font-style: italic; font-size: 12px; color: var(--accent); }
.v3-faq__num::before { content: "/ "; }
.v3-faq__icon { color: var(--accent); font-size: 20px; line-height: 1; transition: transform 300ms ease; text-align: center; }
details[open] > .v3-faq__q .v3-faq__icon { transform: rotate(45deg); }
.v3-faq__a { padding: 0 0 26px 42px; color: var(--muted); font-size: 15.5px; line-height: 1.7; max-width: 66ch; }

/* =========================================================
   FIRST VISIT (new-patients) — numbered steps
   ========================================================= */
.v3-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.v3-step {
  padding: 30px 22px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule);
  min-height: 240px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 260ms ease, border-color 260ms ease;
}
.v3-step:hover { transform: translateY(-3px); border-color: var(--accent); }
.v3-step__num {
  font-family: 'DM Mono', monospace; font-style: italic;
  font-size: 12px; color: var(--accent); letter-spacing: 0.04em;
}
.v3-step__num::before { content: "/ "; }
.v3-step__title { font-size: 20px; letter-spacing: -0.005em; color: var(--ink); }
.v3-step__body { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin-top: auto; }
@media (max-width: 900px) { .v3-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .v3-steps { grid-template-columns: 1fr; } }

.v3-insurance {
  padding: 56px 48px;
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: center;
}
.v3-insurance__note { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--rule-strong); color: var(--muted); font-size: 13.5px; line-height: 1.6; max-width: 50ch; }
@media (max-width: 900px) { .v3-insurance { grid-template-columns: 1fr; gap: 28px; padding: 44px 28px; } }

.v3-download {
  display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center;
  padding: 44px 40px;
  border-radius: var(--radius-xl);
  background: var(--cta-bg);
  color: var(--on-dark);
}
.v3-download h3 { color: var(--on-dark); font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 8px; }
.v3-download p { color: rgba(255,255,255,0.8); font-size: 15.5px; line-height: 1.6; max-width: 48ch; }
.v3-download__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 767px) { .v3-download { grid-template-columns: 1fr; padding: 32px 24px; } }

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.v3-contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 72px; align-items: start; }
@media (max-width: 900px) { .v3-contact-grid { grid-template-columns: 1fr; gap: 48px; } }
.v3-form { display: flex; flex-direction: column; gap: 18px; }
.v3-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .v3-form__row { grid-template-columns: 1fr; } }
.v3-form__field { display: flex; flex-direction: column; gap: 6px; }
.v3-form__label {
  font-family: 'DM Mono', monospace; font-style: italic;
  font-size: 11.5px; color: var(--accent); letter-spacing: 0.04em;
}
.v3-form__label::before { content: "/ "; }
.v3-form__input, .v3-form__textarea, .v3-form__select {
  background: var(--surface);
  border: 1px solid var(--rule-strong);
  color: var(--ink);
  padding: 14px 16px;
  font-size: 15px;
  border-radius: var(--radius-md);
  font-family: inherit;
  transition: border-color 200ms ease, background-color 200ms ease;
}
.v3-form__input:focus, .v3-form__textarea:focus, .v3-form__select:focus {
  border-color: var(--accent-hi);
  outline: none;
  background: var(--bg);
}
.v3-form__textarea { min-height: 140px; resize: vertical; }

.v3-contact-info {
  padding: 36px 32px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 22px;
}
.v3-contact-info__block strong {
  display: block;
  font-family: 'DM Mono', monospace; font-style: italic;
  font-size: 11.5px; color: var(--accent); letter-spacing: 0.04em;
  margin-bottom: 6px;
  font-weight: 400;
}
.v3-contact-info__block strong::before { content: "/ "; }
.v3-contact-info__block a { color: var(--ink); font-size: 16px; border-bottom: 1px solid var(--rule); transition: border-color 200ms ease, color 200ms ease; }
.v3-contact-info__block a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.v3-contact-info__block p { color: var(--text); font-size: 15.5px; line-height: 1.6; }

/* =========================================================
   Reveal utility (shared class, extend from root)
   ========================================================= */
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 240ms; }
