/* =========================================================
   Specialist Endo Studio — site styles
   Palette: brand gold (#E1B35F) on near-black, warm ivory content
   ========================================================= */

:root {
  /* Brand */
  --gold: #E1B35F;
  --gold-soft: #EBC985;
  --gold-deep: #7A5A1E;      /* gold text on light backgrounds (AA) */
  --gold-line: rgba(225, 179, 95, .35);

  /* Neutrals */
  --ink: #0D0C0A;
  --charcoal: #15130F;
  --panel: #1E1B16;
  --panel-2: #26221C;
  --ivory: #F7F2E8;
  --sand: #EEE5D4;
  --paper: #FFFDF8;

  /* Text */
  --text: #1E1B17;
  --text-muted: #5B5348;
  --on-dark: #F3EEE4;
  --on-dark-muted: #BDB4A5;

  /* Feedback */
  --error: #A3261B;
  --success: #2F6B3A;

  /* Type */
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-caps: "Marcellus", "Cormorant Garamond", serif;
  --font-body: "Jost", "Segoe UI", system-ui, sans-serif;

  /* Spacing (8pt) */
  --s1: 4px; --s2: 8px; --s3: 16px; --s4: 24px; --s5: 32px; --s6: 48px; --s7: 64px; --s8: 96px; --s9: 128px;

  /* Layout */
  --sidebar-w: 272px;
  --container: 1180px;
  --radius: 4px;
  --radius-lg: 14px;

  /* Motion */
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --t-fast: 160ms;
  --t-med: 280ms;
  --t-slow: 700ms;

  /* Layers */
  --z-sidebar: 40;
  --z-topbar: 50;
  --z-drawer: 60;
  --z-modal: 100;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--ivory);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.on-light :focus-visible, .section--light :focus-visible { outline-color: var(--gold-deep); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 var(--s3);
  letter-spacing: -.005em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
h2 { font-size: clamp(2.1rem, 3.8vw, 3.2rem); }
h3 { font-size: clamp(1.5rem, 2.2vw, 1.85rem); }
h4 { font-size: 1.3rem; }
p { margin: 0 0 var(--s3); }
em.gold, .gold { color: var(--gold); font-style: italic; }
.section--light em.gold { color: var(--gold-deep); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-caps);
  font-size: .8rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: var(--s3);
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--gold); }

.lead { font-size: 1.2rem; color: var(--text-muted); max-width: 62ch; }
.section--dark .lead, .section--ink .lead, .cta-band .lead, .included .lead { color: var(--on-dark-muted); }
.section--dark a:not(.btn):not(.link-arrow), .section--ink a:not(.btn):not(.link-arrow) { color: var(--on-dark); }

[hidden] { display: none !important; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 1000;
  background: var(--gold); color: var(--ink); padding: 10px 16px; font-weight: 500;
  border-radius: var(--radius); text-decoration: none; transition: top var(--t-fast);
}
.skip-link:focus { top: 16px; }

/* ---------- Layout ---------- */
.page { min-height: 100vh; }
@media (min-width: 1200px) { .page { margin-left: var(--sidebar-w); } }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--s4); }
@media (min-width: 768px) { .container { padding: 0 var(--s6); } }

.section { padding: var(--s8) 0; position: relative; }
@media (max-width: 767px) { .section { padding: var(--s7) 0; } }
.section--light { background: var(--ivory); color: var(--text); }
.section--sand { background: var(--sand); color: var(--text); }
.section--paper { background: var(--paper); color: var(--text); }
.section--dark { background: var(--charcoal); color: var(--on-dark); }
.section--ink { background: var(--ink); color: var(--on-dark); }
.section--dark h2, .section--ink h2, .section--dark h3, .section--ink h3 { color: var(--on-dark); }

.section-head { max-width: 720px; margin-bottom: var(--s6); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 32px; height: 1px; background: currentColor; }

.grid { display: grid; gap: var(--s4); }
@media (min-width: 768px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.split { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 1024px) {
  .split { grid-template-columns: 1.05fr 1fr; gap: var(--s8); }
  .split--reverse > :first-child { order: 2; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 28px;
  font-family: var(--font-caps); font-size: .82rem; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; border-radius: 999px; border: 1px solid transparent;
  transition: background-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out),
              border-color var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out);
  cursor: pointer; touch-action: manipulation; white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-soft); }
.btn--outline { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn--outline:hover { background: rgba(225, 179, 95, .12); }
.btn--dark { background: var(--ink); color: var(--gold); }
.btn--dark:hover { background: var(--panel); }
.section--light .btn--outline, .section--sand .btn--outline, .section--paper .btn--outline { border-color: var(--gold-deep); color: var(--gold-deep); }
.section--light .btn--outline:hover, .section--sand .btn--outline:hover, .section--paper .btn--outline:hover { background: rgba(122, 90, 30, .08); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-caps); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-deep); text-decoration: none; padding: 8px 0;
}
.section--dark .link-arrow, .section--ink .link-arrow { color: var(--gold); }
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Sidebar navigation (desktop) ---------- */
.sidebar {
  position: fixed; inset: 0 auto 0 0; width: var(--sidebar-w); z-index: var(--z-sidebar);
  background: var(--ink); color: var(--on-dark);
  display: none; flex-direction: column;
  border-right: 1px solid var(--gold-line);
  overflow-y: auto;
}
@media (min-width: 1200px) { .sidebar { display: flex; } }
.sidebar__brand { display: block; padding: 32px 36px 24px; text-decoration: none; }
.sidebar__brand img { width: 150px; margin: 0 auto; }

.nav { list-style: none; margin: 0; padding: 0 16px; flex: 1; }
.nav > li { border-bottom: 1px solid rgba(225, 179, 95, .14); }
.nav a, .nav button.nav__toggle {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 16px 12px; min-height: 52px;
  font-family: var(--font-caps); font-size: .86rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--on-dark-muted); text-decoration: none; background: none; border: 0; text-align: left;
  transition: color var(--t-fast);
}
.nav__num { font-family: var(--font-display); font-style: italic; font-size: .95rem; letter-spacing: 0; color: var(--gold); opacity: .7; min-width: 20px; }
.nav a:hover, .nav button.nav__toggle:hover, .nav a[aria-current="page"] { color: var(--gold); }
.nav a[aria-current="page"] .nav__num { opacity: 1; }
.nav__chev { margin-left: auto; width: 14px; height: 14px; transition: transform var(--t-med) var(--ease-out); }
.nav__toggle[aria-expanded="true"] .nav__chev { transform: rotate(90deg); }
.nav button.nav__toggle[aria-expanded="true"] { color: var(--gold); }
.nav__sub { list-style: none; margin: 0; padding: 0 0 12px 46px; }
.nav__sub[hidden] { display: none; }
.nav__sub a { padding: 9px 12px; min-height: 40px; font-family: var(--font-body); font-size: .92rem; letter-spacing: .02em; text-transform: none; }

.sidebar__foot { padding: 24px 28px 32px; display: grid; gap: 14px; }
.sidebar__foot .btn { width: 100%; padding: 12px 16px; letter-spacing: .14em; font-size: .76rem; }
.sidebar { overflow-x: hidden; }
.contact-mini a { overflow-wrap: anywhere; }
.contact-mini { list-style: none; margin: 8px 0 0; padding: 0; font-size: .82rem; color: var(--on-dark-muted); }
.contact-mini li { display: flex; gap: 10px; align-items: center; padding: 4px 0; }
.contact-mini svg { width: 15px; height: 15px; color: var(--gold); flex: none; }
.contact-mini a { text-decoration: none; }
.contact-mini a:hover { color: var(--gold); }

/* ---------- Top bar + drawer (below 1200px) ---------- */
.topbar {
  position: sticky; top: 0; z-index: var(--z-topbar);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px; background: rgba(13, 12, 10, .96); border-bottom: 1px solid var(--gold-line);
  backdrop-filter: blur(6px);
}
@media (min-width: 1200px) { .topbar { display: none; } }
.topbar__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--gold); }
.topbar__brand img { width: 40px; height: 43px; }
.topbar__brand span { font-family: var(--font-caps); font-size: .82rem; letter-spacing: .22em; line-height: 1.25; text-transform: uppercase; }
.topbar__brand small { display: block; font-size: .62rem; letter-spacing: .4em; color: var(--on-dark-muted); }
.topbar__actions { display: flex; gap: 8px; align-items: center; }
.icon-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px;
  border-radius: 50%; border: 1px solid var(--gold-line); background: transparent; color: var(--gold);
  transition: background-color var(--t-fast);
}
.icon-btn:hover { background: rgba(225, 179, 95, .12); }
.icon-btn svg { width: 20px; height: 20px; }

.drawer { position: fixed; inset: 0; z-index: var(--z-drawer); visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity var(--t-med) var(--ease-out); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; inset: 0 auto 0 0; width: min(340px, 88vw);
  background: var(--ink); border-right: 1px solid var(--gold-line);
  display: flex; flex-direction: column; overflow-y: auto;
  transform: translateX(-100%); transition: transform var(--t-med) var(--ease-out);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 16px 8px 28px; }
.drawer__head img { width: 64px; }
@media (prefers-reduced-motion: reduce) { .drawer__panel, .drawer__scrim { transition: none; } }

/* Mobile action bar */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-topbar);
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(13, 12, 10, .97); border-top: 1px solid var(--gold-line);
}
.mobile-cta .btn { padding: 10px 12px; letter-spacing: .14em; font-size: .74rem; }
@media (min-width: 1200px) { .mobile-cta { display: none; } }
/* Top-bar Book button (replaces the old bottom bar, which Netlify's free-plan badge covered) */
.topbar__book { min-height: 44px; padding: 8px 18px; font-size: .74rem; letter-spacing: .16em; }
@media (max-width: 400px) {
  .topbar__brand span { display: none; }
  .topbar { padding: 10px 12px; }
}
/* Leave room at the bottom for Netlify's "Powered by Netlify" badge */
footer.footer { padding-bottom: calc(var(--s5) + 80px); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100svh, 980px); min-height: 640px;
  background: var(--ink); color: var(--on-dark);
  display: flex; flex-direction: column;
}
@media (min-width: 768px) { .hero { min-height: max(720px, 100svh); } }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%;
  filter: grayscale(1) contrast(1.05) brightness(.62);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(13,12,10,.85) 0%, rgba(13,12,10,.25) 30%, rgba(13,12,10,.35) 65%, rgba(13,12,10,.9) 100%),
    linear-gradient(90deg, rgba(13,12,10,.2) 0%, rgba(13,12,10,.75) 100%);
}
.hero__top {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: var(--s4);
  padding: var(--s5) var(--s6) 0;
}
.hero__contact { list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.hero__contact li { display: flex; align-items: center; gap: 10px; padding: 3px 0; }
.hero__contact svg { width: 15px; height: 15px; color: var(--gold); }
.hero__contact a { text-decoration: none; }
.hero__contact a:hover { color: var(--gold); text-decoration: underline; }
.hero__logo { width: clamp(180px, 18vw, 250px); }
.hero__top-cta { justify-self: end; }
@media (max-width: 1199px) {
  .hero__top { grid-template-columns: 1fr; justify-items: center; padding: var(--s5) var(--s4) 0; }
  .hero__contact, .hero__top-cta { display: none; }
  .hero__logo { width: 170px; }
}

.hero__body {
  flex: 1; display: grid; align-items: center;
  padding: var(--s6) var(--s6) var(--s9);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 1024px) { .hero__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s6); } }
@media (max-width: 767px) {
  .hero__body { padding: var(--s5) var(--s4) 140px; text-align: center; }
  .hero__body .btn-row { justify-content: center; }
  .hero__body .eyebrow { justify-content: center; letter-spacing: .2em; }
  .hero__body .eyebrow::before { display: none; }
}
.hero__copy { max-width: 640px; }
@media (min-width: 1024px) { .hero__copy { grid-column: 2; grid-row: 1; justify-self: end; max-width: 600px; } }
.hero h1 { color: #fff; font-weight: 400; }
.hero h1 em { color: var(--gold); }
.hero__sub { font-size: 1.15rem; color: var(--on-dark); opacity: .9; margin-bottom: var(--s5); }

.badge-spin { position: relative; width: clamp(170px, 18vw, 230px); aspect-ratio: 1; }
@media (min-width: 1024px) { .badge-spin { grid-column: 1; grid-row: 1; justify-self: center; align-self: end; margin-bottom: 10px; } }
@media (max-width: 1023px) { .badge-spin { display: none; } }
.badge-spin__ring { position: absolute; inset: 0; animation: spin 38s linear infinite; }
.badge-spin__ring text { font-family: var(--font-caps); font-size: 12.5px; letter-spacing: 4.4px; fill: var(--gold); text-transform: uppercase; }
.badge-spin__mark { position: absolute; inset: 27%; display: grid; place-items: center; }
.badge-spin__mark img { width: 100%; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .badge-spin__ring { animation: none; } }

.hero__credential {
  position: absolute; left: 50%; bottom: 54px; transform: translateX(-50%); z-index: 2;
  display: flex; align-items: center; gap: 14px; padding: 12px 22px;
  background: rgba(13, 12, 10, .82); border: 1px solid var(--gold-line); border-radius: 999px;
  font-family: var(--font-caps); font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
  white-space: nowrap;
}
.hero__credential svg { width: 18px; height: 18px; }
@media (max-width: 480px) { .hero__credential { font-size: .64rem; letter-spacing: .14em; padding: 10px 16px; bottom: 44px; } }

/* Root-line curve divider */
.curve { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(60px, 9vw, 140px); pointer-events: none; }
.curve path.fill { fill: var(--curve-fill, var(--ivory)); }
.curve path.line { fill: none; stroke: var(--gold); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.curve path.line--thin { stroke-width: 1; opacity: .5; }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; background: var(--ink); color: var(--on-dark);
  padding: var(--s8) 0 calc(var(--s8) + 60px); overflow: hidden; isolation: isolate;
}
.page-hero::after {
  content: ""; position: absolute; right: -60px; top: 50%; width: 420px; aspect-ratio: 450/485; transform: translateY(-58%);
  background: url("../img/logo-mark.svg") center / contain no-repeat; opacity: .07; z-index: -1;
}
.page-hero h1 { color: #fff; font-weight: 400; max-width: 16ch; }
.page-hero .lead { color: var(--on-dark-muted); }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 var(--s4); font-size: .86rem; color: var(--on-dark-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--gold); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- Cards & components ---------- */
.card {
  background: var(--paper); border: 1px solid rgba(122, 90, 30, .16); border-radius: var(--radius-lg);
  padding: var(--s5); position: relative; height: 100%;
  transition: border-color var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out);
}
a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover { border-color: rgba(122, 90, 30, .45); box-shadow: 0 18px 40px -24px rgba(30, 20, 5, .35); transform: translateY(-2px); }
.card h3 { font-size: 1.6rem; margin-bottom: var(--s2); }
.card p { color: var(--text-muted); margin-bottom: 0; }
.card__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--gold); margin-bottom: var(--s4); }
.card__icon svg { width: 24px; height: 24px; }
.card .link-arrow { margin-top: var(--s3); }

.card--dark { background: var(--panel); border-color: var(--gold-line); color: var(--on-dark); }
.card--dark p { color: var(--on-dark-muted); }
.card--dark h3 { color: #fff; }
a.card--dark:hover { border-color: var(--gold); box-shadow: none; }

.path-card { padding: var(--s6) var(--s5); overflow: hidden; }
.path-card__num { font-family: var(--font-display); font-style: italic; font-size: 5rem; line-height: 1; color: var(--gold); opacity: .25; position: absolute; right: 28px; top: 18px; }
.path-card ul { list-style: none; padding: 0; margin: var(--s4) 0; display: grid; gap: 8px; }
.path-card li { display: flex; gap: 12px; color: var(--on-dark-muted); }
.path-card li svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 5px; }

.portrait-frame { position: relative; max-width: 480px; margin: 0 auto; }
.portrait-frame img { border-radius: 240px 240px var(--radius-lg) var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; width: 100%; }
.portrait-frame::before {
  content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid var(--gold-deep); opacity: .55;
  border-radius: 240px 240px var(--radius-lg) var(--radius-lg); z-index: 0;
}
.portrait-frame img { position: relative; z-index: 1; }
.portrait-frame__tag {
  position: absolute; z-index: 2; right: -8px; bottom: 32px; background: var(--ink); color: var(--on-dark);
  padding: 16px 20px; border-radius: var(--radius-lg); border: 1px solid var(--gold-line); max-width: 240px;
}
.portrait-frame__tag strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; color: #fff; }
.portrait-frame__tag span { font-size: .85rem; color: var(--gold); letter-spacing: .06em; }
@media (max-width: 480px) { .portrait-frame__tag { right: 8px; bottom: 16px; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: var(--s4) 0 0; }
.chips li {
  padding: 6px 14px; border-radius: 999px; font-size: .88rem; border: 1px solid rgba(122, 90, 30, .3); color: var(--text);
  background: rgba(255, 253, 248, .6);
}
.section--dark .chips li, .section--ink .chips li { border-color: var(--gold-line); color: var(--on-dark); background: transparent; }

.stats { display: grid; gap: var(--s5); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { border-top: 1px solid var(--gold-line); padding-top: var(--s4); }
.stat__value { font-family: var(--font-display); font-size: clamp(2.2rem, 3.6vw, 3rem); color: var(--gold); line-height: 1.05; }
.stat__value--long { font-size: clamp(1.9rem, 2.5vw, 2.4rem); white-space: nowrap; line-height: 1.25; }
@media (max-width: 400px) { .stat__value--long { white-space: normal; } }
.stat__label { font-size: .95rem; color: var(--on-dark-muted); margin-top: 6px; }

.check-list { list-style: none; padding: 0; margin: var(--s4) 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list svg { width: 20px; height: 20px; color: var(--gold-deep); flex: none; margin-top: 4px; }
.section--dark .check-list svg, .section--ink .check-list svg { color: var(--gold); }

.quote {
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.35;
  margin: 0; max-width: 30ch; color: var(--on-dark);
}
.quote-cite { display: block; margin-top: var(--s4); font-family: var(--font-caps); font-style: normal; font-size: .8rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s4); counter-reset: step; }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { position: relative; padding: var(--s5) var(--s4) var(--s4); border-top: 1px solid rgba(122, 90, 30, .35); }
.steps li::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-style: italic; font-size: 2.6rem; color: var(--gold-deep); line-height: 1; display: block; margin-bottom: var(--s3);
}
.section--dark .steps li, .section--ink .steps li { border-top-color: var(--gold-line); }
.section--dark .steps li::before, .section--ink .steps li::before { color: var(--gold); }
.steps h3 { font-size: 1.45rem; }
.steps p { color: var(--text-muted); margin: 0; }
.section--dark .steps p, .section--ink .steps p { color: var(--on-dark-muted); }

/* Reviews */
.review { display: flex; flex-direction: column; gap: var(--s3); }
.review__stars { display: flex; gap: 3px; color: var(--gold-deep); }
.review__stars svg { width: 16px; height: 16px; }
.review blockquote { margin: 0; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.45; color: var(--text); }
.review figcaption { margin-top: auto; font-size: .9rem; color: var(--text-muted); }
.review--placeholder { border-style: dashed; }
.review blockquote p { margin: 0 0 .6em; }
.review blockquote p:last-child { margin-bottom: 0; }
.reviews { display: grid; gap: var(--s4); grid-template-columns: 1fr; grid-auto-flow: dense; }
@media (min-width: 768px) { .reviews { grid-template-columns: repeat(2, 1fr); } .review--tall { grid-row: span 2; } }
@media (min-width: 1100px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.reviews > .review { margin: 0; }

/* Fees */
.fee-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.fee-table caption { text-align: left; font-family: var(--font-display); font-size: 1.8rem; padding-bottom: var(--s3); }
.fee-table th, .fee-table td { padding: 18px 16px; text-align: left; border-bottom: 1px solid rgba(122, 90, 30, .2); vertical-align: top; }
.fee-table thead th { font-family: var(--font-caps); font-weight: 400; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); border-bottom-color: var(--gold-deep); }
.fee-table td.price, .fee-table th.price { text-align: right; white-space: nowrap; }
.fee-table td.price { font-family: var(--font-display); font-size: 1.5rem; color: var(--text); }
.fee-table tbody th { font-weight: 500; }
.fee-table tbody th small { display: block; font-weight: 400; color: var(--text-muted); font-size: .9rem; }
.table-wrap { overflow-x: auto; background: var(--paper); border-radius: var(--radius-lg); border: 1px solid rgba(122, 90, 30, .16); padding: var(--s4); }
@media (max-width: 600px) {
  .fee-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .fee-table tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid rgba(122, 90, 30, .2); }
  .fee-table th, .fee-table td { border: 0; padding: 0; }
  .fee-table tbody th { grid-column: 1 / -1; margin-bottom: 4px; }
  .fee-table td::before { content: attr(data-label); display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); font-family: var(--font-body); }
  .fee-table td.price { text-align: left; }
}
.included {
  background: var(--ink); color: var(--on-dark); border-radius: var(--radius-lg); padding: var(--s6) var(--s5);
  border: 1px solid var(--gold-line);
}
.included h2, .included h3 { color: #fff; }
.included .eyebrow, .included .info-list strong { color: var(--gold); }
.included .check-list svg { color: var(--gold); }
.included .note { color: var(--on-dark-muted); border-left-color: var(--gold); }
.included .card__icon, .section--ink .card__icon, .section--dark .card__icon { border: 1px solid var(--gold-line); }
.included a { color: var(--on-dark); }
.included :focus-visible { outline-color: var(--gold); }
.hours { color: var(--text); }
.hours th, .hours td { border-bottom-color: rgba(122, 90, 30, .2); }

/* FAQ */
.faq { border-top: 1px solid rgba(122, 90, 30, .3); }
.faq details { border-bottom: 1px solid rgba(122, 90, 30, .3); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-family: var(--font-display); font-size: 1.45rem; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; margin-top: -10px;
  border-right: 1.5px solid var(--gold-deep); border-bottom: 1.5px solid var(--gold-deep); transform: rotate(45deg);
  transition: transform var(--t-med) var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details > div { padding: 0 0 var(--s4); color: var(--text-muted); max-width: 70ch; }

/* Treatment detail blocks */
.treatment { display: grid; gap: var(--s4); padding: var(--s6) 0; border-top: 1px solid rgba(122, 90, 30, .25); scroll-margin-top: 90px; }
@media (min-width: 1024px) { .treatment { grid-template-columns: 300px 1fr; gap: var(--s7); } }
.treatment h3 { font-size: 2rem; }
.treatment__body p { color: var(--text-muted); }

/* Areas */
.areas { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.areas li { padding: 10px 18px; border: 1px solid var(--gold-line); border-radius: 999px; color: var(--on-dark); font-size: .95rem; }
.areas li.is-primary { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* CTA band */
.cta-band { background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before {
  content: ""; position: absolute; left: -80px; bottom: -120px; width: 380px; aspect-ratio: 450/485;
  background: url("../img/logo-mark.svg") center / contain no-repeat; opacity: .08; z-index: -1;
}
.cta-band__inner { display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 1024px) { .cta-band__inner { grid-template-columns: 1.3fr auto; } }
.cta-band h2 { color: #fff; margin-bottom: var(--s2); }

/* ---------- Cases ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s5); }
.filter {
  min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid rgba(122, 90, 30, .35);
  background: transparent; font-size: .92rem; transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.filter:hover { border-color: var(--gold-deep); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.filter .count { opacity: .65; margin-left: 4px; font-variant-numeric: tabular-nums; }

.case-grid { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.case-card {
  display: flex; flex-direction: column; text-align: left; width: 100%; padding: 0; overflow: hidden;
  background: var(--paper); border: 1px solid rgba(122, 90, 30, .16); border-radius: var(--radius-lg);
  transition: border-color var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out);
}
a.case-card { text-decoration: none; color: inherit; }
.case-card:hover { border-color: rgba(122, 90, 30, .5); box-shadow: 0 18px 40px -24px rgba(30, 20, 5, .4); transform: translateY(-2px); }
.case-card__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--ink); aspect-ratio: 16 / 10; }
.case-card__imgs figure { margin: 0; position: relative; overflow: hidden; }
.case-card__imgs img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.case-card__imgs figcaption {
  position: absolute; left: 8px; bottom: 8px; padding: 2px 10px; border-radius: 999px;
  background: rgba(13, 12, 10, .8); color: var(--gold); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
}
.case-card__body { padding: var(--s4); display: flex; flex-direction: column; gap: 6px; flex: 1; }
.case-card__tag { font-family: var(--font-caps); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
.case-card__title { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.2; font-weight: 500; }
.case-card__meta { font-size: .92rem; color: var(--text-muted); }
.empty-state { padding: var(--s6); text-align: center; color: var(--text-muted); }

/* Modal */
.modal { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); width: 100%; max-height: 92vh; color: var(--on-dark); }
.modal::backdrop { background: rgba(5, 5, 4, .82); }
.modal__inner { background: var(--charcoal); border: 1px solid var(--gold-line); border-radius: var(--radius-lg); max-height: 92vh; overflow-y: auto; }
.modal__head { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 24px 24px 16px; background: var(--charcoal); border-bottom: 1px solid rgba(225,179,95,.15); z-index: 1; }
.modal__head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 4px 0 0; color: #fff; }
.modal__body { padding: 24px; display: grid; gap: var(--s5); }
.modal__gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); align-items: start; }
.modal__gallery figure { margin: 0; background: #000; border-radius: var(--radius); overflow: hidden; }
.modal__gallery img { width: 100%; max-height: 420px; object-fit: contain; background: #000; }
.modal__gallery figcaption { padding: 8px 12px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.case-facts { display: grid; gap: var(--s4); }
@media (min-width: 768px) { .case-facts { grid-template-columns: repeat(2, 1fr); } }
.case-facts dt { font-family: var(--font-caps); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.case-facts dd { margin: 0; color: var(--on-dark); }
.clin-note { border-left: 2px solid var(--gold); padding: 4px 0 4px 20px; }
.clin-note p { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.5; font-style: italic; color: var(--on-dark); margin: 0; }
.modal__nav { display: flex; justify-content: space-between; gap: 12px; padding: 0 24px 24px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--s4); }
.form fieldset { border: 1px solid rgba(122, 90, 30, .22); border-radius: var(--radius-lg); padding: var(--s4); margin: 0; display: grid; gap: var(--s4); background: var(--paper); }
.form legend { font-family: var(--font-display); font-size: 1.5rem; padding: 0 8px; }
.form-row { display: grid; gap: var(--s4); }
@media (min-width: 768px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .form-row--3 { grid-template-columns: repeat(3, 1fr); } }
.form .field input[type="file"] { min-height: 0; padding: 10px; font-size: .9rem; cursor: pointer; background: var(--ivory); border-style: dashed; }
.form .field input[type="file"]::file-selector-button {
  margin-right: 10px; padding: 8px 14px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--ink); color: var(--gold); font-family: var(--font-caps); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
}
.uploads .hint a { color: var(--gold-deep); }
.form .hint { font-size: .86rem; color: var(--text-muted); margin: 0; }
.uploads .form-row { gap: var(--s3); }
.uploads .field { grid-template-columns: 110px 1fr; align-items: center; column-gap: 12px; }
.uploads .field .error { grid-column: 1 / -1; }
@media (max-width: 480px) { .uploads .field { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; align-content: start; }
.form .field select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B5348' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; }
.field label, .field .label { font-weight: 500; font-size: .95rem; }
.field .req { color: var(--error); margin-left: 2px; }
.field .hint { font-size: .86rem; color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font-size: 1rem;
  background: #fff; border: 1px solid #B9AE9B; border-radius: var(--radius);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(122, 90, 30, .22); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field .error { color: var(--error); font-size: .88rem; display: flex; gap: 6px; align-items: center; }
.field .error:empty { display: none; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.check input { width: 22px; height: 22px; min-height: 0; margin-top: 3px; accent-color: var(--gold-deep); flex: none; }

.segmented { display: inline-grid; grid-auto-flow: column; gap: 4px; padding: 4px; background: var(--sand); border-radius: 999px; border: 1px solid rgba(122,90,30,.2); }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmented span { display: block; padding: 10px 20px; border-radius: 999px; font-size: .95rem; min-height: 44px; line-height: 24px; transition: background-color var(--t-fast), color var(--t-fast); }
.segmented input:checked + span { background: var(--ink); color: var(--gold); }
.segmented input:focus-visible + span { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.split > *, .form fieldset, .form-row > * { min-width: 0; }
@media (max-width: 600px) {
  .segmented { display: grid; grid-auto-flow: row; grid-template-columns: 1fr 1fr; width: 100%; }
  .segmented span { padding: 10px 8px; text-align: center; font-size: .9rem; }
  .form fieldset { padding: var(--s3); }
}

.form-status { padding: 16px 20px; border-radius: var(--radius); font-weight: 500; }
.form-status[hidden] { display: none; }
.form-status--ok { background: #E6F0E4; color: var(--success); border: 1px solid #B7D3B4; }
.form-status--err { background: #F7E3E0; color: var(--error); border: 1px solid #E5B6AF; }
.error-summary { padding: 16px 20px; border: 2px solid var(--error); border-radius: var(--radius); background: #FBEFED; }
.error-summary[hidden] { display: none; }
.error-summary h2 { font-size: 1.3rem; color: var(--error); margin-bottom: 8px; font-family: var(--font-body); font-weight: 600; }
.error-summary ul { margin: 0; padding-left: 20px; }
.error-summary a { color: var(--error); }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* ---------- Contact ---------- */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s4); }
.info-list li { display: flex; gap: 16px; }
.info-list .card__icon { margin: 0; flex: none; width: 46px; height: 46px; }
.info-list strong { display: block; font-family: var(--font-caps); font-weight: 400; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
.section--dark .info-list strong, .section--ink .info-list strong { color: var(--gold); }
.info-list a { text-decoration: none; }
.info-list a:hover { text-decoration: underline; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(122, 90, 30, .2); aspect-ratio: 4 / 3; background: var(--sand); position: relative; }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.05); }
.map-embed__consent { position: absolute; inset: 0; display: grid; place-content: center; gap: 12px; text-align: center; padding: var(--s4); }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 8px 0; text-align: left; border-bottom: 1px solid rgba(225,179,95,.14); font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- Prose ---------- */
.prose { max-width: 70ch; }
.prose p, .prose li { color: var(--text-muted); }
.prose h2 { margin-top: var(--s6); font-size: 2rem; }
.prose h3 { margin-top: var(--s5); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--on-dark-muted); padding: var(--s8) 0 var(--s5); border-top: 1px solid var(--gold-line); }
.footer__grid { display: grid; gap: var(--s6); }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.footer__brand img { width: 170px; margin-bottom: var(--s4); }
.footer h2 { font-family: var(--font-caps); font-size: .8rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 400; margin-bottom: var(--s3); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--gold); text-decoration: underline; }
.footer__legal { margin-top: var(--s7); padding-top: var(--s4); border-top: 1px solid rgba(225,179,95,.15); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .85rem; }
.footer__legal p { margin: 0; }

/* ---------- Reveal on scroll (only when JS active) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(14px); transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); }
.js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 60ms; }
.js .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 120ms; }
.js .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 180ms; }
.js .reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 240ms; }
.js .reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 300ms; }
.js .reveal-stagger.is-visible > *:nth-child(n+7) { transition-delay: 340ms; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
  .btn, .card, .case-card, a.card { transition: none; }
}

/* Utilities */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: var(--s4); } .mt-5 { margin-top: var(--s5); } .mt-6 { margin-top: var(--s6); }
.center { text-align: center; }
.muted { color: var(--text-muted); }
.small { font-size: .9rem; }
.note { font-size: .92rem; color: var(--text-muted); border-left: 2px solid var(--gold-deep); padding-left: 16px; }
.section--dark .note { color: var(--on-dark-muted); border-left-color: var(--gold); }
