/* ============================================================
   theme.css — D1 "Quiet Authority" component styles
   The Law Office of Natalia Malyshkina

   Consumes ONLY the custom properties declared in tokens.css.
   Homepage rules follow the approved D1 mock
   (website/design/directions/d1-quiet-authority/styles.css). The
   decorative gold-leaf wiggly motif (H1 underline, section divider,
   title accents) was REMOVED per client request; dividers are now a
   clean straight hairline and brass stays an accent on buttons and
   eyebrows. The multi-page additions (.page-hero, .prose,
   .content-layout, .aside-cta, blog list/post, booking panel) extend
   the same token system in the same calm editorial idiom.
   ============================================================ */

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden; /* belt-and-suspenders against bleed; layout is overflow-safe on its own */
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.01em;
}

p { margin: 0 0 var(--sp-3); }

a { color: var(--brass-deep); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--ink); }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2.5rem);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- skip link ---------- */
.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 100;
  background: var(--ink);
  color: var(--ivory);
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 1rem; color: var(--ivory); }

/* ---------- focus visibility (global) ---------- */
:focus-visible {
  outline: 3px solid var(--brass-deep);
  outline-offset: 3px;
  border-radius: 2px;
}
/* on dark panels the focus ring needs lighter brass */
.next-steps :focus-visible,
.final-cta :focus-visible,
.meet :focus-visible,
.aside-cta :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--brass-soft);
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.85rem 1.5rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.005em;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-lg { min-height: 54px; padding: 1rem 1.9rem; font-size: 1.05rem; }

.btn-brass { background: var(--brass); color: var(--ink); border-color: var(--brass); }
.btn-brass:hover { background: #9c781f; border-color: #9c781f; color: var(--ink); }

/* PRIMARY "Book a Consultation" — light sections (header, hero, practice CTAs).
   Solid espresso fill + warm ivory text = 13.45:1 (crisp, AAA). Brass stays
   present as the accent: a thin brass keyline (border) + a brass-shadow lift,
   deepening to ink #1E1B17 (ivory text = 16.18:1) on hover. */
.btn-primary {
  background: var(--espresso);
  color: var(--ivory);
  border-color: var(--brass);
  box-shadow: 0 6px 16px -8px rgba(176,137,47,0.55);
}
.btn-primary:hover {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--brass);
  box-shadow: 0 8px 20px -8px rgba(176,137,47,0.75);
}

/* PRIMARY on DARK panels (home "what happens next", final CTA, booking panel).
   Brass fill + ink text = 5.28:1 (AA) — maximum pop against espresso/ink. */
.btn-primary-dark {
  background: var(--brass);
  color: var(--ink);
  border-color: var(--brass);
}
.btn-primary-dark:hover {
  background: var(--brass-soft);
  color: var(--ink);
  border-color: var(--brass-soft);
}

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--ivory); }

.btn-outline { background: transparent; color: var(--brass-deep); border-color: var(--brass-deep); }
.btn-outline:hover { background: var(--brass-deep); color: var(--ivory); }

.btn-call { background: var(--red); color: var(--ivory); border-color: var(--red); }
.btn-call:hover { background: #a8341f; border-color: #a8341f; color: var(--ivory); }

/* light outline button for dark panels (e.g. aside CTA secondary) */
.btn-light { background: transparent; color: var(--ivory); border-color: var(--brass-soft); }
.btn-light:hover { background: var(--brass-soft); color: var(--ink); }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--ivory) 92%, transparent);
  backdrop-filter: saturate(120%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}
.wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
  color: var(--ink);
  min-width: 0; /* allow shrink inside flex header so it never forces overflow */
}
.wordmark-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
}
.wordmark-sub {
  white-space: nowrap;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 2px;
}

.primary-nav { display: flex; align-items: center; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-menu > li > a:not(.btn) {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.6rem 0.2rem;
  display: inline-block;
}
.nav-menu > li > a:not(.btn):hover { color: var(--brass-deep); }
.nav-menu > li > a[aria-current="page"]:not(.btn) { color: var(--brass-deep); }
/* Header primary action — larger padding + weight so it reads as dominant.
   Color/contrast come from .btn-primary (espresso fill + ivory text, brass
   keyline + brass-shadow lift). */
.nav-cta {
  min-height: 46px;
  padding: 0.7rem 1.6rem;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nav-toggle {
  display: none;
  flex: none;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.5rem 0.85rem;
  background: transparent;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  position: relative;
}
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after  { position: absolute; top: 6px; }

/* =========================================================
   HERO  — text-forward editorial composition (no photo).
   A single constrained measure with generous vertical rhythm,
   opened by a short brass rule so the column reads as a finished
   editorial column rather than a half-empty grid.
   ========================================================= */
.hero { padding-top: var(--sp-7); padding-bottom: var(--sp-6); position: relative; }
.hero-copy {
  max-width: 46rem;
}
/* short brass rule above the eyebrow — a quiet on-brand opener */
.hero-copy::before {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  background: var(--brass);
  margin-bottom: var(--sp-3);
}
.eyebrow {
  font-family: var(--sans);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin: 0 0 var(--sp-2);
}
.eyebrow--center { text-align: center; }
.eyebrow--light { color: var(--brass-soft); }

h1#hero-h1 {
  font-size: var(--fs-h1);
  position: relative;
  margin-bottom: var(--sp-3);
}
.h1-accent { display: inline; color: var(--ink); }
/* Display-heading ampersand: Fraunces in its UPRIGHT ROMAN form (never the
   ornate italic/swash glyph). It belongs to the serif headline yet stays calm.
   Applied site-wide to every display heading/title that contains "&"
   (hero headline, section titles, practice card titles, practice/page H1s)
   via the .amp span emitted by build/site.py's wrap_amp helper. */
.amp {
  font-family: var(--serif);
  font-style: normal;        /* upright roman — NOT italic, NOT swash */
  font-weight: inherit;
  font-feature-settings: normal;  /* suppress any swash/contextual alt on '&' */
  color: inherit;
}

.hero-sub {
  font-size: var(--fs-lead);
  color: var(--stone);
  max-width: 54ch;
  margin-bottom: var(--sp-4);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-2);
}
.consult-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 var(--sp-4);
}
.consult-cue--light { color: var(--ivory); }
.consult-cue--center { justify-content: center; width: 100%; }
.consult-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--brass);
  flex: none;
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0;
  list-style: none;
  margin: 0;
  padding: var(--sp-2) 0 0;
  border-top: 1px solid var(--line);
}
.trust-bar li {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink);
  padding: 0.15rem 1rem 0.15rem 0;
  position: relative;
  white-space: nowrap;
}
.trust-bar li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0.5rem; top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 5px;
  background: var(--brass);
  border-radius: 50%;
}

/* =========================================================
   SECTION DIVIDER (clean straight hairline — replaces the
   removed gold-leaf brushstroke divider, per client request)
   ========================================================= */
.section-divider {
  width: 100%;
  max-width: var(--maxw);
  margin: var(--sp-4) auto;
  padding-inline: clamp(1.1rem, 4vw, 2.5rem);
}
.section-divider hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* =========================================================
   SECTION TITLES (shared)
   ========================================================= */
.section-title { font-size: var(--fs-h2); margin-bottom: var(--sp-3); }
.section-title--center { text-align: center; }
.section-title--light { color: var(--ivory); }

/* =========================================================
   VALUE PROPS
   ========================================================= */
.values { padding-block: var(--sp-5); }
.values .section-title { max-width: 18ch; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}
.value-card {
  padding: var(--sp-3) var(--sp-3) var(--sp-4);
  border-top: 2px solid var(--brass);
  background: linear-gradient(180deg, var(--ivory-2) 0%, transparent 60%);
}
.value-index {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--brass-deep);
  letter-spacing: 0.05em;
}
.value-card h3 { font-size: var(--fs-h3); margin: 0.4rem 0 0.5rem; }
.value-card p { color: var(--stone); margin: 0; font-size: 0.97rem; }

/* =========================================================
   PRACTICE AREAS
   ========================================================= */
.practice { padding-block: var(--sp-6); background: var(--ivory-2); }
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  list-style: none;
  margin: var(--sp-5) 0 0;
  padding: 0;
}
.practice-card {
  display: flex;
  flex-direction: column;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-3) var(--sp-3) var(--sp-4);
  position: relative;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.practice-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: transparent;
  border-radius: var(--radius) 0 0 var(--radius);
  transition: background 0.15s ease;
}
.practice-card:hover {
  border-color: var(--brass-soft);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -22px rgba(30,27,23,0.5);
}
.practice-card:hover::before { background: var(--brass); }
.practice-card h3 { font-size: var(--fs-h3); margin-bottom: 0.45rem; }
.practice-card p { color: var(--stone); margin: 0 0 var(--sp-3); font-size: 0.95rem; }
.practice-card .card-go {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brass-deep);
}
.practice-card--accent {
  background: var(--espresso);
  border-color: var(--espresso);
}
.practice-card--accent h3 { color: var(--ivory); }
.practice-card--accent p { color: var(--stone-lt); }
.practice-card--accent .card-go { color: var(--brass-soft); }
.practice-card--accent::before { background: var(--brass); }

.practice-foot { text-align: center; margin-top: var(--sp-5); }

/* =========================================================
   MEET NATALIA
   ========================================================= */
.about { padding-block: var(--sp-6); }
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: center;
}
.about-photo-frame {
  background: var(--ivory-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  outline: 1px solid var(--brass-soft);
  outline-offset: -1px;
  box-shadow: 0 18px 44px -30px rgba(30,27,23,0.5);
}
.about-photo-frame { margin: 0; }
.about-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1929 / 2385;
  object-fit: cover;
  object-position: 50% 16%;
}
.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
  margin: var(--sp-3) 0 0;
}
.about-facts div {
  border-top: 1.5px solid var(--brass);
  padding-top: 0.45rem;
}
.about-facts dt {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 600;
}
.about-facts dd { margin: 0.1rem 0 0; font-weight: 600; font-size: 0.98rem; }

.about-copy p { color: var(--stone); max-width: 52ch; }
.about-copy .btn { margin-top: var(--sp-2); }

/* =========================================================
   WHAT HAPPENS NEXT (dark panel)
   ========================================================= */
.next-steps {
  padding-block: var(--sp-6);
  background: var(--espresso);
  color: var(--ivory);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  list-style: none;
  margin: var(--sp-5) 0 0;
  padding: 0;
}
.step-card {
  position: relative;
  padding-top: var(--sp-2);
  border-top: 1px solid color-mix(in srgb, var(--brass-soft) 45%, transparent);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--brass);
  color: var(--brass-soft);
  font-family: var(--serif);
  font-size: 1.3rem;
  margin-bottom: var(--sp-2);
}
.step-card h3 { color: var(--ivory); font-size: var(--fs-h3); margin-bottom: 0.4rem; }
.step-card p { color: var(--stone-lt); margin: 0; font-size: 0.97rem; }

.next-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.stories { padding-block: var(--sp-6); }
.stories-disclaimer {
  max-width: 56ch;
  margin: 0 auto var(--sp-5);
  text-align: center;
  font-size: 0.88rem;
  color: var(--stone);
  background: var(--ivory-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  border-radius: var(--radius);
  padding: var(--sp-2) var(--sp-3);
}
.stories-disclaimer strong { color: var(--ink); }
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}
.story-card {
  margin: 0;
  padding: var(--sp-4) var(--sp-3) var(--sp-3);
  background: var(--ivory-2);
  border-radius: var(--radius);
  position: relative;
}
.story-badge {
  position: absolute;
  top: 0.8rem; right: 0.9rem;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--stone);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.15rem 0.4rem;
  background: var(--ivory);
}
.quote-mark {
  font-family: var(--serif);
  font-size: 3.4rem;
  line-height: 0.6;
  color: var(--brass);
  display: block;
  margin-bottom: 0.3rem;
}
.story-card blockquote {
  margin: 0 0 var(--sp-3);
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.45;
  color: var(--ink);
}
.story-card figcaption {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--stone);
}

/* =========================================================
   INSIGHTS
   ========================================================= */
.insights { padding-block: var(--sp-6); background: var(--ivory-2); }
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}
.insight-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-3);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.insight-card:hover { border-color: var(--brass-soft); transform: translateY(-3px); }
.insight-tag {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brass-deep);
  margin: 0 0 0.6rem;
}
.insight-card h3 { font-size: 1.15rem; line-height: 1.25; }
.insight-card h3 a { color: var(--ink); text-decoration: none; }
.insight-card h3 a:hover { color: var(--brass-deep); text-decoration: underline; }
.insights-foot { text-align: center; margin-top: var(--sp-5); }

/* =========================================================
   FINAL CTA / BOOKING (dark panel)
   ========================================================= */
.final-cta {
  padding-block: var(--sp-7);
  background: var(--ink);
  color: var(--ivory);
}
.final-cta-inner { max-width: 760px; margin-inline: auto; text-align: center; }
.final-cta-body { color: var(--stone-lt); font-size: var(--fs-lead); max-width: 46ch; margin-inline: auto; margin-top: var(--sp-3); margin-bottom: var(--sp-4); }
.final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-2);
}

/* (The dark final-CTA is now a lightweight button only — no embedded iframe.
   The real inline scheduler lives on the contact page; see .booking-section.) */

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--espresso);
  color: var(--ivory);
  padding-block: var(--sp-5) var(--sp-4);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--sp-4);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid color-mix(in srgb, var(--brass-soft) 35%, transparent);
}
.footer-wordmark { font-family: var(--serif); font-size: 1.25rem; color: var(--ivory); margin: 0 0 0.5rem; }
.footer-addr { color: var(--stone-lt); font-size: 0.92rem; margin: 0 0 0.3rem; }

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  list-style: none;
  margin: 0; padding: 0;
}
.footer-nav a {
  color: var(--stone-lt);
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-block;
  padding: 0.35rem 0;
}
.footer-nav a:hover { color: var(--brass-soft); text-decoration: underline; }

.footer-disclaimer {
  margin: var(--sp-3) 0 0;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--stone-lt);
  max-width: 90ch;
}
.footer-disclaimer strong { color: var(--ivory); }

/* =========================================================
   INNER PAGES — page header, prose, content layouts
   Extends the D1 token system to the non-homepage layouts.
   ========================================================= */

/* page header band (about / privacy / disclaimer / contact / blog / practice) */
.page-hero {
  padding-top: var(--sp-6);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--line);
}
.page-hero-inner { max-width: 60ch; }
.page-hero h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); margin-bottom: var(--sp-2); }
.page-hero .lede { color: var(--stone); font-size: var(--fs-lead); margin: 0; max-width: 52ch; }

/* About page: copy + portrait plate */
.page-hero--photo .page-hero-inner { max-width: none; }
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: center;
}
.page-hero-copy { max-width: 50ch; }
.page-hero-figure {
  background: var(--ivory-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  outline: 1px solid var(--brass-soft);
  outline-offset: -1px;
  box-shadow: 0 18px 44px -30px rgba(30,27,23,0.5);
}
.page-hero-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 1929 / 2385;
  object-fit: cover;
  object-position: 50% 16%;
}

/* prose — the markdown-rendered body */
.content-section { padding-block: var(--sp-6); }
.prose { max-width: 70ch; }
.prose > * + * { margin-top: var(--sp-3); }
.prose h2 { font-size: var(--fs-h2); margin-top: var(--sp-5); margin-bottom: var(--sp-2); }
.prose h3 { font-size: var(--fs-h3); margin-top: var(--sp-4); margin-bottom: var(--sp-1); }
.prose p { color: var(--ink); }
.prose a { color: var(--brass-deep); }
.prose ul, .prose ol { padding-left: 1.4rem; display: grid; gap: 0.4rem; color: var(--ink); }
.prose li { color: var(--ink); }
.prose blockquote {
  margin: 0;
  padding: var(--sp-2) var(--sp-3);
  color: var(--stone);
  border-left: 3px solid var(--brass);
  background: var(--ivory-2);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.prose img { border-radius: var(--radius); margin-block: var(--sp-3); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: var(--sp-4); }

/* content + aside layout (practice pages) */
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

/* sticky booking aside on practice pages (espresso panel) */
.aside-cta {
  background: var(--espresso);
  color: var(--ivory);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  position: sticky;
  top: 88px;
}
.aside-cta .eyebrow { color: var(--brass-soft); }
.aside-cta h2 { color: var(--ivory); font-size: var(--fs-h3); margin-bottom: var(--sp-1); }
.aside-cta p { color: var(--stone-lt); font-size: 0.95rem; }
.aside-cta .btn { margin-top: var(--sp-2); width: 100%; }
.aside-cta .consult-cue { color: var(--ivory); margin: var(--sp-2) 0 0; font-size: 0.88rem; }

/* practice index reuses the homepage practice grid */
.practice-index { padding-block: var(--sp-6); background: var(--ivory-2); }

/* blog list */
.post-list { display: grid; gap: var(--sp-3); max-width: 760px; }
.post-list-item {
  display: block;
  background: var(--ivory-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-3) var(--sp-4);
  text-decoration: none;
  position: relative;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.post-list-item::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px; background: transparent;
  border-radius: var(--radius) 0 0 var(--radius);
  transition: background 0.15s ease;
}
.post-list-item:hover { border-color: var(--brass-soft); transform: translateY(-2px); box-shadow: 0 14px 30px -22px rgba(30,27,23,0.5); }
.post-list-item:hover::before { background: var(--brass); }
.post-list-item .meta {
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 600; color: var(--brass-deep); margin: 0 0 0.4rem;
}
.post-list-item h2 { font-size: var(--fs-h3); margin: 0 0 0.4rem; color: var(--ink); }
.post-list-item p { color: var(--stone); font-size: 0.95rem; margin: 0; }

/* single post */
.post-article { max-width: 720px; margin-inline: auto; }
.post-meta {
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 600; color: var(--brass-deep); margin: 0 0 var(--sp-2);
}
.post-article h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); margin-bottom: var(--sp-3); }
.post-back { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; font-size: 0.95rem; margin-top: var(--sp-5); }

/* contact info grid (left = address/details, right = secondary aside) */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

/* contact page: the REAL inline VCITA scheduler (full-width, lazy iframe) */
.booking-section {
  max-width: 100%;
}
.booking-section .eyebrow { color: var(--brass-deep); }
.booking-section-title {
  font-family: var(--serif); font-size: var(--fs-h3);
  color: var(--espresso); margin-bottom: var(--sp-2);
}
.booking-section-note { color: var(--stone); margin: 0 0 var(--sp-3); max-width: 56ch; }
.booking-embed-card {
  border: 1px solid color-mix(in srgb, var(--brass-soft) 55%, transparent);
  border-radius: var(--radius-lg);
  background: var(--ivory);
  padding: clamp(0.5rem, 2vw, 1rem);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--espresso) 8%, transparent);
  overflow: hidden;          /* never let the frame force horizontal scroll */
}
.booking-embed-frame {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 780px;         /* reserve height -> no CLS while it lazy-loads */
  border: 0;
  border-radius: var(--radius);
}
.booking-embed-fallback {
  margin: var(--sp-2) 0 0;
  font-size: 0.92rem; color: var(--stone);
}
.booking-embed-fallback a { color: var(--brass-deep); font-weight: 600; text-decoration: none; }
.booking-embed-fallback a:hover { text-decoration: underline; }
.booking-contact {
  margin-top: var(--sp-2); margin-bottom: 0;
  color: var(--stone); font-size: 0.86rem;
}
.booking-contact a { color: var(--brass-deep); text-decoration: none; font-weight: 600; }
.booking-contact a:hover { text-decoration: underline; }

/* =========================================================
   CONSULTATIONS (site-wide section, just above the footer)
   Three labeled blocks (Answers / Options / Plan) + a prominent
   fee line + a primary Book button. On-brand: ivory-2 well,
   brass-keyed cards, espresso/brass CTA.
   ========================================================= */
.consultations { padding-block: var(--sp-6); background: var(--ivory-2); }
.consult-parts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  list-style: none;
  margin: var(--sp-5) 0 0;
  padding: 0;
}
.consult-part {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-top: 2px solid var(--brass);
  border-radius: var(--radius);
  padding: var(--sp-3) var(--sp-3) var(--sp-4);
}
.consult-part h3 {
  font-size: var(--fs-h3);
  margin-bottom: 0.5rem;
}
.consult-part p { color: var(--stone); margin: 0; font-size: 0.97rem; }

.consult-foot {
  max-width: 60ch;
  margin: var(--sp-5) auto 0;
  text-align: center;
}
.consult-fee {
  font-family: var(--serif);
  font-size: clamp(1.18rem, 1rem + 0.8vw, 1.5rem);
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 var(--sp-2);
}
.consult-note { color: var(--stone); font-size: 0.95rem; margin: 0 0 var(--sp-3); }

/* =========================================================
   STICKY BOOKING BAR (fixed to viewport bottom, all pages)
   Espresso fill + ivory text (AA-safe). Slim; wraps cleanly at
   320–360px; the Book button always stays. Body gets bottom
   padding so the bar never covers content or the footer.
   ========================================================= */
.sticky-book {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60; /* above sticky header (50) so it's never occluded */
  background: var(--espresso);
  border-top: 1px solid var(--brass);
  box-shadow: 0 -8px 24px -16px rgba(30,27,23,0.7);
}
.sticky-book-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  min-height: 56px;
  padding-block: 0.55rem;
}
.sticky-book-text {
  margin: 0;
  color: var(--ivory);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  min-width: 0; /* allow the text to shrink so the button never overflows */
}
.sticky-book-short { display: none; } /* shown only on narrow screens */
.sticky-book-btn {
  flex: none;
  min-height: 44px;
  padding: 0.6rem 1.3rem;
  font-size: 0.98rem;
}
/* On dark, the focus ring uses lighter brass for visibility. */
.sticky-book :focus-visible { outline-color: var(--brass-soft); }

/* Reserve space so the fixed bar never permanently obscures the footer
   disclaimer or focused content at the bottom of the page. */
body { padding-bottom: 88px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1000px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .content-layout { grid-template-columns: 1fr; }
  .aside-cta { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -24px rgba(30,27,23,0.6);
    padding: 0.5rem clamp(1.1rem, 4vw, 2.5rem) 1rem;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.25s ease, visibility 0.25s ease;
  }
  .nav-menu.is-open { max-height: 460px; visibility: visible; }
  .nav-menu > li { border-top: 1px solid var(--line); }
  .nav-menu > li:first-child { border-top: 0; }
  .nav-menu > li > a:not(.btn) { padding: 0.85rem 0; }
  .nav-cta-li { margin-top: 0.75rem; border-top: 0 !important; }
  .nav-cta { width: 100%; }

  /* Hero is a single text column at every width; just relax the rhythm. */
  .hero { padding-top: var(--sp-5); padding-bottom: var(--sp-5); }

  /* On small screens the bio copy leads; the portrait + facts follow below. */
  .about-grid { grid-template-columns: 1fr; }
  .about-aside { order: 1; max-width: 440px; margin-inline: auto; width: 100%; }
  .about-copy { order: 0; }

  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-figure { order: -1; max-width: 360px; margin-inline: auto; width: 100%; }

  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1000px) {
  .consult-parts { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .values-grid { grid-template-columns: 1fr; }
  .practice-grid { grid-template-columns: 1fr; }
  .stories-grid { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: var(--sp-3); }
  .hero-actions .btn,
  .final-actions .btn { flex: 1 1 100%; }
  .trust-bar li { white-space: normal; }
}

/* Sticky bar shortens its summary text on phones; the Book button stays.
   The taller two-line bar gets a matching body padding-bottom. */
@media (max-width: 560px) {
  .sticky-book-full { display: none; }
  .sticky-book-short { display: inline; }
  .sticky-book-text { font-size: 0.88rem; }
  .sticky-book-btn { padding: 0.6rem 1rem; }
  body { padding-bottom: 80px; }
}

@media (max-width: 400px) {
  :root { --sp-6: 3rem; --sp-7: 3.5rem; }
  .wrap { padding-inline: 0.95rem; }
  .header-inner { gap: 0.6rem; }
  .wordmark-name { font-size: 1.04rem; }
  .wordmark-sub { font-size: 0.6rem; letter-spacing: 0.12em; }
  .nav-toggle { padding: 0.5rem 0.7rem; }
  .btn-lg { padding: 0.95rem 1rem; font-size: 0.98rem; }
  .trust-bar li { padding-right: 0.85rem; font-size: 0.8rem; }
}

/* =========================================================
   MOTION — all gated behind prefers-reduced-motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
