/* =========================================================
   WebsiteDemo2 — Editorial Atelier
   Split-screen: fixed left sidebar + scrollable right column
   Themes: [data-theme="light"|"dark"|"warm"] on <html>
   ========================================================= */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { overflow-x: hidden; min-height: 100vh; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Fonts ---------- */
/* Architecture: typography + structure are VARIANT-level (fixed across themes).
   Themes only swap palette. V2's identity is Fraunces display + Inter body. */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,300;1,9..144,400&family=Inter:wght@300;400;500;600&display=swap');

/* --- Variant identity: typography + radii --- */
:root {
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'Inter', system-ui, sans-serif;
  --display-weight: 400;
  --display-style:  normal;
  --card-radius: 0px;    /* V2 atelier identity — stark, editorial */
  --btn-radius:  999px;
  --btn-border:  1px;
  --num-style:   italic; /* Fraunces italic numbers are a V2 signature */
}

/* =========================================================
   THEME: LIGHT — editorial cream + ink blue + terracotta
   ========================================================= */
:root,
:root[data-theme="light"] {
  --bg:        #F4F1EA;
  --surface:   #FFFEFA;
  --surface-2: #ECE6D8;
  --ink:       #1A2538;
  --text:      #2B3142;
  --muted:     #6B6A68;
  --faint:     #9A968C;
  --accent:    #8B5A3C;    /* muted terracotta */
  --accent-2:  #C98A65;
  --rule:      #DDD6C8;
  --rule-strong:#B8AF9E;
}

/* =========================================================
   THEME: DARK — warm near-black + champagne gold
   ========================================================= */
:root[data-theme="dark"] {
  --bg:        #141110;
  --surface:   #1E1A18;
  --surface-2: #262120;
  --ink:       #F4EEDE;
  --text:      #DDD3BE;
  --muted:     #9A8F7E;
  --faint:     #6E665A;
  --accent:    #C9A96E;    /* champagne gold */
  --accent-2:  #E3C489;
  --rule:      #2E2823;
  --rule-strong:#4A4038;
}

/* =========================================================
   THEME: WARM — apothecary sand + sage
   ========================================================= */
:root[data-theme="warm"] {
  --bg:        #E8DFCE;
  --surface:   #F1EADB;
  --surface-2: #DED2BB;
  --ink:       #3A3528;
  --text:      #4E473A;
  --muted:     #7A7161;
  --faint:     #A59A83;
  --accent:    #6E7A5B;    /* sage */
  --accent-2:  #8B9673;
  --rule:      #C9BEA9;
  --rule-strong:#A59A83;
}

/* ---------- Base typography ---------- */
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  transition: background-color 400ms ease, color 400ms ease;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-style: var(--display-style);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

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

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

/* Utility: label caps (eyebrows, numbers, meta) */
.meta {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
}

.num {
  font-family: var(--font-display);
  font-style: var(--num-style);
  font-weight: 400;
  color: var(--accent);
  font-feature-settings: "tnum" 1;
}

/* =========================================================
   LAYOUT: Split-screen (sidebar + main)
   ========================================================= */
.layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 240px 1fr;
}

/* ----- SIDEBAR (fixed on desktop) ----- */
.sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 240px;
  padding: 32px 28px 28px;
  border-right: 1px solid var(--rule);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 20;
  transition: background-color 400ms ease, border-color 400ms ease;
}

.sidebar__top { display: flex; flex-direction: column; gap: 8px; }

.brand {
  display: block;
  font-family: var(--font-display);
  font-style: var(--display-style);
  font-weight: var(--display-weight);
  color: var(--ink);
  font-size: 22px;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.brand__sub {
  display: block;
  margin-top: 8px;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.sidebar__rule {
  height: 1px;
  background: var(--rule);
  margin: 22px 0 18px;
}

/* Numbered index nav */
.inav { display: flex; flex-direction: column; gap: 2px; }
.inav__item {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  color: var(--text);
  border-bottom: 1px solid transparent;
  transition: color 200ms ease, border-color 200ms ease, transform 300ms ease;
}
.inav__item:hover { color: var(--ink); }
.inav__item:hover .inav__num { color: var(--accent-2); }
.inav__item[aria-current="page"] { color: var(--ink); }
.inav__item[aria-current="page"] .inav__num { color: var(--accent); }
.inav__item[aria-current="page"] .inav__label::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 1px;
  background: var(--accent);
  margin-left: 8px;
  vertical-align: middle;
}
.inav__num {
  font-family: var(--font-display);
  font-style: var(--num-style);
  color: var(--faint);
  font-size: 12px;
  transition: color 200ms ease;
}
.inav__label {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 11.5px;
  letter-spacing: 0.16em;
}

/* Sidebar bottom — contact block */
.sidebar__bottom { display: flex; flex-direction: column; gap: 10px; }
.sidebar__contact {
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}
.sidebar__contact a { color: var(--ink); border-bottom: 1px solid var(--rule); transition: border-color 200ms ease; }
.sidebar__contact a:hover { border-bottom-color: var(--accent); }
.sidebar__contact strong { font-weight: 500; color: var(--ink); letter-spacing: 0.01em; }
.sidebar__footline {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 12px;
}

/* ----- MAIN (scrollable) ----- */
.main {
  grid-column: 2;
  min-width: 0;
  padding: 0;
}

/* Section primitives */
.section {
  padding: 88px 72px;
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: border-color 400ms ease;
}
.section--tight { padding: 56px 72px; }
.section--loose { padding: 120px 72px; }
.section:last-child { border-bottom: 0; }

/* Section header with number */
.s-head {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  align-items: baseline;
  margin-bottom: 40px;
}
.s-head__num {
  font-family: var(--font-display);
  font-style: var(--num-style);
  color: var(--accent);
  font-size: 14px;
  line-height: 1;
  padding-top: 8px;
}
.s-head__eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 14px;
}
.s-head__title {
  font-size: clamp(32px, 4.2vw, 52px);
  max-width: 22ch;
}
.s-head__sub {
  margin-top: 18px;
  max-width: 58ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

/* =========================================================
   HERO (type-as-hero + inset image)
   ========================================================= */
.hero {
  padding: 80px 72px 56px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.hero__topline {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 72px;
  flex-wrap: wrap;
}
.hero__eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.hero__index {
  font-family: var(--font-display);
  font-style: var(--num-style);
  color: var(--faint);
  font-size: 14px;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: end;
}
.hero__display {
  font-size: clamp(44px, 8.4vw, 120px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  max-width: 14ch;
}
.hero__display em {
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
}
.hero__inset {
  aspect-ratio: 3/4;
  background: var(--surface-2);
  border-radius: var(--card-radius);
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 60px -40px rgba(0,0,0,0.25);
}
.hero__inset img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(.2,.6,.2,1);
}
.hero__inset:hover img { transform: scale(1.03); }
.hero__sub {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  align-items: start;
  max-width: 900px;
}
.hero__sub-num {
  font-family: var(--font-display);
  font-style: var(--num-style);
  color: var(--accent);
  font-size: 13px;
  padding-top: 4px;
}
.hero__sub-text {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text);
  max-width: 58ch;
}
.hero__ctas {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding-left: 84px;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--btn-radius);
  border: var(--btn-border) solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: transform 200ms ease, background-color 200ms ease, color 200ms ease, border-color 200ms ease;
  min-height: 44px;
  white-space: nowrap;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--surface); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); transform: translateY(-1px); }

.linkish {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--rule-strong);
  transition: color 200ms ease, border-color 200ms ease, transform 300ms ease;
}
.linkish:hover { color: var(--accent); border-bottom-color: var(--accent); }
.linkish .arrow { transition: transform 300ms ease; display: inline-block; }
.linkish:hover .arrow { transform: translateX(4px); }

/* =========================================================
   MARQUEE (ticker)
   ========================================================= */
.marquee {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  padding: 22px 0;
  background: var(--surface);
  transition: background-color 400ms ease, border-color 400ms ease;
}
.marquee__track {
  display: inline-flex;
  gap: 56px;
  white-space: nowrap;
  animation: scroll 48s linear infinite;
  /* `will-change: transform` was here but the permanent compositor layer
     it creates interferes with unrelated position:fixed transforms on iOS
     Safari — specifically, it stalled the customizer panel's slide-in
     transition on fresh page loads (only on V2 because V1/V3 marquees
     don't pin will-change). Let the browser decide when to promote. */
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 56px;
  font-family: var(--font-display);
  font-style: var(--display-style);
  font-weight: 400;
  font-size: 26px;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.marquee__dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.9;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* =========================================================
   SERVICES (stacked numbered entries, editorial)
   ========================================================= */
.svc-list { display: flex; flex-direction: column; }
.svc-row {
  display: grid;
  grid-template-columns: 60px 1fr 320px;
  gap: 40px;
  padding: 44px 0;
  border-top: 1px solid var(--rule);
  align-items: start;
  transition: border-color 400ms ease;
}
.svc-row:last-child { border-bottom: 1px solid var(--rule); }
.svc-row__num {
  font-family: var(--font-display);
  font-style: var(--num-style);
  font-size: 22px;
  color: var(--accent);
  padding-top: 6px;
}
.svc-row__body h3 {
  font-size: clamp(24px, 3vw, 36px);
  max-width: 22ch;
  margin-bottom: 12px;
}
.svc-row__desc {
  color: var(--muted);
  max-width: 52ch;
  font-size: 15.5px;
  margin-bottom: 18px;
}
.svc-row__image {
  aspect-ratio: 4/3;
  background: var(--surface-2);
  overflow: hidden;
  border-radius: var(--card-radius);
  align-self: stretch;
  position: relative;
}
.svc-row__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(.2,.6,.2,1), filter 400ms ease;
  filter: saturate(0.92);
}
.svc-row:hover .svc-row__image img { transform: scale(1.04); filter: saturate(1); }

.svc-row__list {
  list-style: none; padding: 0; margin: 0 0 18px;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 14.5px;
  color: var(--text);
  border-top: 1px dashed var(--rule);
  padding-top: 14px;
  max-width: 52ch;
}
.svc-row__list li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 8px;
  padding: 4px 0;
  color: var(--text);
}
.svc-row__list li::before {
  content: "—";
  color: var(--accent);
  font-family: var(--font-display);
}

/* =========================================================
   ABOUT TEASER (split portrait + text)
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split__media {
  aspect-ratio: 4/5;
  background: var(--surface-2);
  overflow: hidden;
  border-radius: var(--card-radius);
  position: relative;
}
.split__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1200ms cubic-bezier(.2,.6,.2,1);
}
.split__media:hover img { transform: scale(1.04); }
.split__media-cap {
  position: absolute; bottom: 16px; left: 16px;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--surface);
  background: rgba(0,0,0,0.5);
  padding: 6px 10px;
  backdrop-filter: blur(6px);
}
.split__body h2 {
  font-size: clamp(30px, 3.8vw, 48px);
  max-width: 18ch;
  margin-bottom: 24px;
}
.split__body p {
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  max-width: 54ch;
  margin-bottom: 24px;
}

/* =========================================================
   PULLQUOTE (testimonials as giant type sections)
   ========================================================= */
.pullquote {
  padding: 96px 72px;
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: background-color 400ms ease;
}
.pullquote__inner {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
}
.pullquote__num {
  font-family: var(--font-display);
  font-style: var(--num-style);
  color: var(--accent);
  font-size: 14px;
  padding-top: 16px;
}
.pullquote__list { display: flex; flex-direction: column; gap: 56px; }
.pullquote__item { display: flex; flex-direction: column; gap: 20px; padding-top: 32px; border-top: 1px solid var(--rule-strong); }
.pullquote__item:first-child { border-top: 0; padding-top: 0; }
.pullquote__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  color: var(--ink);
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.25;
  max-width: 30ch;
  letter-spacing: -0.015em;
}
.pullquote__who {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

/* =========================================================
   CTA BAND (large wordmark + action)
   ========================================================= */
.cta-band {
  padding: 120px 72px;
  text-align: left;
  background: var(--ink);
  color: var(--bg);
  border-bottom: 1px solid var(--rule);
  transition: background-color 400ms ease;
}
.cta-band h2 {
  color: var(--bg);
  font-size: clamp(40px, 6vw, 80px);
  max-width: 18ch;
  margin-bottom: 40px;
}
.cta-band p {
  color: var(--bg);
  opacity: 0.75;
  max-width: 48ch;
  font-size: 17px;
  margin-bottom: 32px;
}
.cta-band .btn {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
}
.cta-band .btn:hover {
  background: var(--accent);
  color: var(--surface);
  border-color: var(--accent);
}
.cta-band .btn--ghost {
  background: transparent;
  color: var(--bg);
  border-color: var(--bg);
}
.cta-band .cta-band__eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 24px;
  font-weight: 500;
}

/* =========================================================
   FOOTER (oversized wordmark)
   ========================================================= */
.colophon {
  padding: 80px 72px 32px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.colophon__wordmark {
  font-family: var(--font-display);
  font-style: var(--display-style);
  font-weight: var(--display-weight);
  color: var(--ink);
  font-size: clamp(56px, 12vw, 180px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  opacity: 0.98;
}
.colophon__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
  border-top: 1px solid var(--rule);
  padding-top: 40px;
}
.colophon__col h4 {
  font-family: var(--font-body);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 14px;
}
.colophon__col p, .colophon__col a {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  display: block;
  margin-bottom: 4px;
}
.colophon__col a:hover { color: var(--accent); }
.colophon__bottom {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  gap: 24px;
  flex-wrap: wrap;
}


/* =========================================================
   PAGE-SPECIFIC: ABOUT
   ========================================================= */
.creds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 40px;
  border-top: 1px dashed var(--rule-strong);
  border-bottom: 1px dashed var(--rule-strong);
  padding: 20px 0;
  margin: 24px 0;
  max-width: 720px;
}
.creds li {
  list-style: none;
  font-size: 13.5px;
  color: var(--text);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: baseline;
}
.creds li::before {
  content: "◦";
  color: var(--accent);
}

/* Philosophy grid */
.philos { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
.philos__item { border-top: 1px solid var(--rule-strong); padding-top: 20px; }
.philos__item h3 {
  font-size: 22px;
  margin-bottom: 10px;
  max-width: 18ch;
}
.philos__item p { color: var(--muted); font-size: 14.5px; line-height: 1.65; max-width: 38ch; }
.philos__num {
  font-family: var(--font-display);
  font-style: var(--num-style);
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

/* Gallery grid */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
}
.gallery__cell {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--card-radius);
  background: var(--surface-2);
}
.gallery__cell:nth-child(2) { aspect-ratio: 4/3; align-self: center; }
.gallery__cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(.2,.6,.2,1);
  filter: saturate(0.92);
}
.gallery__cell:hover img { transform: scale(1.05); }

/* =========================================================
   PAGE-SPECIFIC: NEW PATIENTS (steps)
   ========================================================= */
.steps { display: flex; flex-direction: column; }
.step-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--rule-strong);
  align-items: start;
}
.step-row:last-child { border-bottom: 1px solid var(--rule-strong); }
.step-row__num {
  font-family: var(--font-display);
  font-style: var(--num-style);
  font-size: clamp(32px, 4vw, 56px);
  color: var(--accent);
  line-height: 1;
  padding-top: 4px;
}
.step-row__title {
  font-size: clamp(22px, 2.6vw, 30px);
  margin-bottom: 10px;
}
.step-row__body {
  color: var(--muted);
  font-size: 15.5px;
  max-width: 58ch;
  line-height: 1.65;
}

/* Insurance / info block */
.info-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 40px 44px;
  border-radius: var(--card-radius);
  margin-top: 32px;
}
.info-card h3 { font-size: clamp(24px, 2.8vw, 34px); margin-bottom: 14px; max-width: 22ch; }
.info-card p { color: var(--text); font-size: 15.5px; line-height: 1.7; max-width: 58ch; }
.info-card__foot {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px dashed var(--rule-strong);
  padding-top: 14px;
}

/* FAQ */
.faq { display: flex; flex-direction: column; }
.faq-item {
  border-top: 1px solid var(--rule);
  padding: 20px 0;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
}
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-item__num {
  font-family: var(--font-display);
  font-style: var(--num-style);
  font-size: 14px;
  color: var(--accent);
  padding-top: 4px;
}
.faq-item__q {
  font-family: var(--font-display);
  font-style: var(--display-style);
  font-weight: var(--display-weight);
  color: var(--ink);
  font-size: 22px;
  margin-bottom: 10px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.faq-item__a {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 64ch;
}

/* Intake card — two-button block */
.intake {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
  padding: 48px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin: 48px 0 0;
}
.intake h3 { font-size: clamp(24px, 2.8vw, 34px); margin-bottom: 10px; max-width: 22ch; }
.intake p { color: var(--muted); max-width: 48ch; font-size: 15px; }
.intake__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* =========================================================
   PAGE-SPECIFIC: CONTACT (form + info bento-ish)
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule-strong);
  padding: 10px 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.4;
  transition: border-color 200ms ease;
  width: 100%;
  font-family: var(--font-body);
  min-height: 44px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-bottom-color: var(--accent);
}
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.info-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.info-tile {
  border: 1px solid var(--rule);
  background: var(--surface);
  padding: 24px 22px;
  border-radius: var(--card-radius);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.info-tile--wide { grid-column: 1 / -1; }
.info-tile__label {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.info-tile__value {
  font-family: var(--font-display);
  font-style: var(--display-style);
  font-weight: var(--display-weight);
  color: var(--ink);
  font-size: 20px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.info-tile__value a:hover { color: var(--accent); }
.info-tile__note { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* =========================================================
   FADE-IN-ON-SCROLL utility
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.6,.2,1);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1120px) {
  .hero { padding: 64px 48px 40px; }
  .section { padding: 72px 48px; }
  .section--tight { padding: 48px 48px; }
  .section--loose { padding: 96px 48px; }
  .cta-band { padding: 96px 48px; }
  .pullquote { padding: 80px 48px; }
  .colophon { padding: 64px 48px 28px; }
  .hero__grid { grid-template-columns: 1fr 260px; gap: 32px; }
  .svc-row { grid-template-columns: 52px 1fr 260px; gap: 28px; }
  .split { gap: 56px; }
  .philos { gap: 28px; }
}

@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar {
    position: static;
    width: 100%;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
    padding: 18px 20px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
  }
  .sidebar__rule { display: none; }
  .sidebar__top { flex: 1 1 100%; gap: 2px; text-align: center; }
  .sidebar__bottom { display: none; }
  /* Mobile nav: place it on its own row below the brand, centered, with
     tight enough spacing that all 5 items fit without orphaning the last
     label onto a second line. The prior `justify-content: flex-end` + wider
     gap + 0.14em letter-spacing left CONTACT wrapping on a second line on
     narrow phones. Centering + compact tracking keeps the row cohesive and
     still lets it wrap symmetrically (not orphaned) on very narrow devices. */
  .inav {
    flex: 1 1 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px 12px;
    justify-content: center;
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid var(--rule);
  }
  .inav__item { grid-template-columns: auto auto; padding: 4px 0; border: 0; gap: 6px; font-size: 10px; white-space: nowrap; }
  .inav__num { display: none; }
  .inav__label { font-size: 10px; letter-spacing: 0.05em; }
  .inav__item[aria-current="page"] .inav__label::after { display: none; }

  .main { grid-column: 1; }

  /* Customizer is global UI owned by /styles.css — do NOT restyle .cz-*
     classes here. An earlier version hid .cz-panel on mobile, which left
     the mobile FAB tapping an invisible panel after a variant switch. */

  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__inset { max-width: 320px; justify-self: start; }
  .hero__ctas { padding-left: 0; }
  .hero__sub { grid-template-columns: 1fr; gap: 8px; }
  .hero__sub-num { display: none; }

  .s-head { grid-template-columns: 1fr; gap: 0; }
  .s-head__num { padding-top: 0; margin-bottom: 8px; }

  .svc-row { grid-template-columns: 1fr; gap: 18px; padding: 36px 0; }
  .svc-row__num { padding-top: 0; font-size: 18px; }
  .svc-row__image { order: 3; aspect-ratio: 4/3; }

  .split { grid-template-columns: 1fr; gap: 36px; }
  .split__media { aspect-ratio: 4/5; max-height: 520px; }

  .philos { grid-template-columns: 1fr; gap: 24px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__cell { aspect-ratio: 4/3; }
  .gallery__cell:nth-child(2) { aspect-ratio: 4/3; }

  .colophon__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .colophon__bottom { flex-direction: column; align-items: flex-start; gap: 10px; }

  .step-row { grid-template-columns: 60px 1fr; gap: 20px; padding: 26px 0; }
  .step-row__num { font-size: 36px; }

  .faq-item { grid-template-columns: 1fr; gap: 6px; }

  .intake { grid-template-columns: 1fr; gap: 24px; padding: 36px 0; }

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .field--row { grid-template-columns: 1fr; gap: 18px; }
  .info-tiles { grid-template-columns: 1fr; }

  .cta-band { padding: 72px 32px; }
  .pullquote__inner { grid-template-columns: 1fr; }
  .pullquote__num { padding-top: 0; }
}

@media (max-width: 540px) {
  .hero { padding: 44px 20px 32px; }
  .section { padding: 56px 20px; }
  .section--tight { padding: 36px 20px; }
  .section--loose { padding: 72px 20px; }
  .pullquote { padding: 56px 20px; }
  .cta-band { padding: 64px 20px; }
  .colophon { padding: 48px 20px 24px; }

  .hero__display { font-size: clamp(36px, 11vw, 64px); }
  .marquee__item { font-size: 20px; gap: 36px; }
  .marquee__track { gap: 36px; }
  .hero__topline { margin-bottom: 44px; }
  .btn { padding: 13px 20px; font-size: 12px; }
  .sidebar { padding: 14px 18px; }
  .brand { font-size: 18px; }
  .brand__sub { font-size: 9.5px; }
}
