/* ============================================================================
   architecture.css - canonical section pattern library (Website Factory).
   The canonical copy lives in the factory template (template/src/css/) and is
   synced to every site by sync-admin; sites must NOT hand-edit this file. Fix
   the template copy and re-sync instead. Theme tokens live in the site-owned
   /css/theme.css, which loads AFTER this file: this file only consumes tokens,
   and the type-scale :root block below is the one thing a theme may override
   (a later :root in theme.css wins). No other rule here may depend on load
   order.
   ========================================================================== */

/* Type scale (architecture, not theme) */
:root {
  --text-h1: clamp(2.25rem, 1.5rem + 3.5vw, 4rem);
  --text-h2: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem);
  --text-h3: 1.25rem;
  --text-sub: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
}

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
/* Running-text spacing. The reset above zeroes every margin, which is right for components
   and wrong for prose: two <p> in a row touched with no gap at all. `p + p` is the
   unambiguous global fix. `.flow` is the opt-in container for blocks that mix headings,
   paragraphs and lists - it spaces DIRECT children only, so components that manage their own
   margins (cards, steps, post-cards) are never double-spaced. `.prose-band`'s container gets
   the same treatment for free, since running text is the whole point of it. */
p + p { margin-top: var(--space-3); }
.flow > * + *, .prose-band .container > * + * { margin-top: var(--space-3); }
.flow > * + h2, .flow > * + h3,
.prose-band .container > * + h2, .prose-band .container > * + h3 { margin-top: var(--space-5); }
.flow > .eyebrow, .prose-band .container > .eyebrow { margin-bottom: 0; }
.flow > .eyebrow + *, .prose-band .container > .eyebrow + * { margin-top: var(--space-2); }
input, button, textarea, select { font: inherit; }
a { color: var(--accent-deep); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.12;
  letter-spacing: -0.015em;
  font-weight: 700;
}
h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }
p, li { max-width: 65ch; }

/* --------------------------------------------------------------- layout */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--space-4);
}
.band { padding-block: var(--space-6); background: var(--bg); }
.band--alt { background: var(--bg-alt); }
.band--dark {
  background: var(--bg-dark);
  color: var(--ink-inverse);
  --muted: color-mix(in srgb, var(--ink-inverse) 78%, transparent);
  --line: color-mix(in srgb, var(--ink-inverse) 18%, transparent);
}
.band--dark a { color: var(--ink-inverse); }
.band__head { max-width: 46rem; margin-bottom: var(--space-5); }
.band__head--center { margin-inline: auto; text-align: center; }

/* ---------------------------------------------------------------- atoms */
.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--accent-2-deep);
  margin-bottom: var(--space-2);
}
.band--dark .eyebrow, .hero--bleed .eyebrow { color: var(--accent-2); }

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--btn-ink);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 0.8rem 1.6rem;
  cursor: pointer;
  transition: background 0.18s, transform 0.18s;
}
.btn:hover { background: var(--accent-deep); }
.btn--sm { padding: 0.5rem 1.05rem; }
.btn--ghost {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  background: transparent;
  border: 2px solid currentColor;
  border-radius: var(--radius);
  padding: 0.8rem 1.6rem;
  transition: background 0.18s;
}
.btn--ghost:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.btn--ghost-inverse { color: var(--ink-inverse); }
button.btn { border: 2px solid transparent; }

.cta-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; margin-top: var(--space-4); }

.link-arrow {
  font-weight: 600;
  color: var(--accent-deep);
  text-decoration: none;
}
.link-arrow::after { content: " \2192"; display: inline-block; transition: transform 0.18s; }
.link-arrow:hover::after { transform: translateX(3px); }
.band--dark .link-arrow, .link-arrow--inverse { color: var(--ink-inverse); }

.trust-row {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-4);
  font-size: 0.9rem;
  color: var(--muted);
}
.trust-row .stars, .stars { color: var(--accent-2); letter-spacing: 0.05em; }
.band--dark .trust-row, .trust-row--inverse { color: color-mix(in srgb, var(--ink-inverse) 80%, transparent); }

.stat-row { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-5); margin-top: var(--space-5); }
.stat-row strong { display: block; font-family: var(--display); font-weight: 800; font-size: 1.75rem; }
.stat-row span { font-size: 0.85rem; color: var(--muted); }

.checks { list-style: none; padding: 0; display: grid; gap: var(--space-2); }
.checks li { padding-left: 1.6em; position: relative; }
.checks li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* --------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: 4.5rem;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}
.nav__brand img, .nav__brand svg { height: 2.2rem; width: auto; }
.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  padding: 0.35rem 0.6rem;
  cursor: pointer;
}
.nav__list {
  list-style: none;
  padding: 0;
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.nav__link {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
}
.nav__link:hover { color: var(--accent-deep); }
.nav__link--current { border-bottom-color: var(--accent-2); }
.nav__tel { font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }

@media (max-width: 880px) {
  /* backdrop-filter on the header would make it the containing block for the fixed overlay
     below, collapsing `inset` against the ~4.5rem header instead of the viewport. Drop it
     on mobile so the full-screen menu resolves against the viewport. */
  .site-header { backdrop-filter: none; background: var(--bg); }
  .nav__toggle { display: block; }
  .nav__list {
    display: none;
    position: fixed;
    inset: 4.5rem 0 0 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-5) var(--space-4);
    gap: var(--space-4);
    overflow-y: auto;
  }
  .nav__list[data-open="true"] { display: flex; }
  .nav__link { font-size: 1.3rem; }
  .nav__cta { margin-top: var(--space-3); }
}

/* Mobile call bar (trades/clinics: enabled by adding the element to the page) */
.sticky-callbar { display: none; }
@media (max-width: 720px) {
  .sticky-callbar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 60;
  }
  .sticky-callbar a {
    flex: 1;
    text-align: center;
    padding: 0.9rem;
    font-weight: 700;
    text-decoration: none;
  }
  .sticky-callbar a:first-child { background: var(--accent); color: var(--btn-ink); }
  .sticky-callbar a:last-child { background: var(--bg-dark); color: var(--ink-inverse); }
  body:has(.sticky-callbar) { padding-bottom: 3.4rem; }
}

/* --------------------------------------------------------------- heroes */
.hero { padding-block: var(--space-7); }
.hero__sub { font-size: var(--text-sub); color: var(--muted); max-width: 48ch; margin-top: var(--space-3); }
.hero__reassure { font-size: 0.9rem; color: var(--muted); margin-top: var(--space-3); }

/* 1.1 split */
.hero--split .hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-6);
  align-items: center;
}
.hero__media { position: relative; margin: 0; }
.hero__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero__media--arch img { border-radius: calc(var(--radius) + 45%) calc(var(--radius) + 45%) var(--radius) var(--radius); }
.hero__float-card {
  position: absolute;
  bottom: calc(-1 * var(--space-3));
  left: calc(-1 * var(--space-4));
  background: var(--bg);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space-3);
  font-size: 0.9rem;
  max-width: 18rem;
}

/* 1.2 centered editorial */
.hero--center .hero__copy { text-align: center; max-width: 46rem; margin-inline: auto; }
.hero--center h1 { font-size: clamp(2.5rem, 1.6rem + 4vw, 4.5rem); }
.hero--center .hero__sub { margin-inline: auto; }
.hero--center .cta-row { justify-content: center; }
.hero__media--wide { max-width: min(68rem, calc(100% - 2 * var(--space-4))); margin: var(--space-6) auto 0; }
.hero__media--wide img {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
}

/* 1.3 full-bleed overlay */
.hero--bleed {
  position: relative;
  min-height: min(82vh, 46rem);
  display: grid;
  align-items: center;
  color: var(--ink-inverse);
  --muted: color-mix(in srgb, var(--ink-inverse) 78%, transparent);
}
.hero--bleed .hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero--bleed .hero__scrim {
  position: absolute;
  inset: 0;
  /* Two layers, and the flat one is load-bearing. sections.md 1.3 promises that contrast is
     guaranteed by the scrim and never by the photo, but the directional gradient alone is down
     to ~30% by the time the copy column ends - over a light photo (pale carpet, sky, snow) the
     subhead landed under 4.5:1. The flat base makes the promise true for any photo; the
     gradient still does the directional shaping on top of it. */
  background:
    linear-gradient(90deg,
      color-mix(in srgb, var(--bg-dark) 88%, transparent) 0%,
      color-mix(in srgb, var(--bg-dark) 30%, transparent) 72%),
    color-mix(in srgb, var(--bg-dark) 45%, transparent);
}
.hero--bleed .hero__copy { position: relative; max-width: 40rem; }
.hero--bleed.hero--centered .hero__copy { text-align: center; margin-inline: auto; }
.hero--bleed.hero--centered .cta-row { justify-content: center; }
@media (max-width: 720px) {
  .hero--bleed { min-height: auto; padding-block: var(--space-7); }
  .hero--bleed .hero__scrim { background: color-mix(in srgb, var(--bg-dark) 72%, transparent); }
}

/* 1.4 dark band */
.hero--dark .hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-6);
  align-items: center;
}
.hero--dark .hero__media img { box-shadow: none; border: 1px solid color-mix(in srgb, var(--ink-inverse) 12%, transparent); }

@media (max-width: 720px) {
  .hero--split .hero__grid, .hero--dark .hero__grid { grid-template-columns: 1fr; }
  .hero__float-card { position: static; margin-top: var(--space-3); max-width: none; }
  .cta-row > .btn, .cta-row > .btn--ghost { flex: 1 1 100%; text-align: center; }
}

/* ---------------------------------------------------- interior page top */
.page-header { padding-block: var(--space-6); }
.page-header h1 { font-size: clamp(2rem, 1.4rem + 2.5vw, 3rem); }
.page-header__sub { color: var(--muted); margin-top: var(--space-2); max-width: 55ch; }

/* ---------------------------------------------------------- card grids */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: var(--space-4);
}
.card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space-5);
  transition: transform 0.18s, box-shadow 0.18s;
}
.band--dark .card { background: color-mix(in srgb, var(--ink-inverse) 6%, transparent); }
.card:hover { transform: translateY(-4px); }
.card__icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: calc(var(--radius) * 0.8);
  background: color-mix(in srgb, var(--accent-2) 14%, transparent);
  color: var(--accent-deep);
  font-size: 1.4rem;
  margin-bottom: var(--space-3);
}
.card__title { margin-bottom: var(--space-2); }
.card__title a { color: inherit; text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__body { color: var(--muted); margin-bottom: var(--space-3); }
.card--photo { padding: 0; overflow: hidden; }
.card--photo img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; height: auto; }
.card--photo .card__inner { padding: var(--space-4); }
.card--feature { grid-column: span 2; }
@media (max-width: 720px) { .card--feature { grid-column: span 1; } }

/* Posts (blog teasers + dynamic /blog list) */
.card-grid--posts .card__body, .post-card p { color: var(--muted); }
.post-list {
  display: grid;
  gap: var(--space-4);
  /* Deliberate max of 3 per row (not auto-fit sprawl); reflows down on smaller screens. */
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 900px) { .post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .post-list { grid-template-columns: 1fr; } }
.post-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.post-card__media img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; height: auto; }
.post-card__body { padding: var(--space-4); }
.post-card__meta { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent-2-deep); margin-bottom: var(--space-2); }
.post-card h2 { font-size: 1.2rem; margin-bottom: var(--space-2); }
.post-card h2 a { color: inherit; text-decoration: none; }
.post-card h2 a:hover { color: var(--accent-deep); }

/* ------------------------------------------------------- split feature */
.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
}
.split-feature + .split-feature { margin-top: var(--space-6); }
.split-feature:nth-of-type(even) .split-feature__media { order: -1; }
.split-feature__media { margin: 0; }
.split-feature__media img {
  width: 100%;
  /* height:auto is load-bearing, not tidiness. page-checklist REQUIRES width/height attrs on
     every <img>; the height attribute is a presentational hint, and with a height in play
     aspect-ratio is ignored and the image renders at its intrinsic pixel height. */
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.split-feature--bio .split-feature__media img { aspect-ratio: 4 / 5; }
@media (max-width: 720px) {
  .split-feature { grid-template-columns: 1fr; }
  .split-feature .split-feature__media { order: -1; }
}

/* ------------------------------------------------------------ stat band */
.stat-band { text-align: center; }
.stat-band__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: var(--space-5); }
.stat { font-family: var(--display); }
.stat strong { display: block; font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); font-weight: 800; }
.stat span { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }

/* --------------------------------------------------------- testimonials */
.testimonials__agg { font-weight: 600; margin-bottom: var(--space-4); }
.quote-card footer { display: flex; align-items: center; gap: var(--space-3); margin-top: var(--space-3); }
.quote-card footer img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.quote-card cite { font-style: normal; font-weight: 600; }
.quote-card cite span { display: block; font-weight: 400; font-size: 0.85rem; color: var(--muted); }
.quote-spotlight { text-align: center; max-width: 46rem; margin-inline: auto; }
.quote-spotlight blockquote { font-family: var(--display); font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem); font-style: italic; }
.quote-spotlight figcaption { margin-top: var(--space-3); color: var(--muted); }
.quote-rail { display: flex; gap: var(--space-4); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--space-3); }
.quote-rail .quote-card { min-width: 22rem; scroll-snap-align: start; }

/* ------------------------------------------------------------------ faq */
.faq { max-width: 46rem; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  font-weight: 600;
  padding-block: var(--space-3);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; font-weight: 400; transition: transform 0.18s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__body { padding-bottom: var(--space-4); color: var(--muted); }

/* ---------------------------------------------------------------- steps */
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.steps__item { counter-increment: step; }
.steps__num {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-2) 15%, transparent);
  color: var(--accent-deep);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: var(--space-3);
}
.steps__num::before { content: counter(step); }
.steps__item h3 { margin-bottom: var(--space-2); }
.steps__item p { color: var(--muted); }
/* The steps band's optional closing button. Hand-written pages centered this with an
   inline style; the renderer emits no inline styles, so the rule lives here - same shape
   as `.cta-band .cta-row` above it. Matches only a .cta-row that directly follows the
   list, so a steps band without one costs nothing. */
.steps + .cta-row { justify-content: center; margin-top: var(--space-5); }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- CTA band */
.cta-band { text-align: center; }
.cta-band__inner { max-width: 42rem; margin-inline: auto; }
.cta-band__inner p { margin-inline: auto; margin-top: var(--space-2); color: var(--muted); }
.cta-band .cta-row { justify-content: center; }
.cta-band--soft { background: var(--bg-alt); color: var(--ink); }

/* ------------------------------------------------ misc content patterns */
.prose-band .container > * { max-width: 60ch; }
/* start, not center: every page opens with a LEFT-aligned .page-header, and a centred 60ch
   column underneath a left-aligned H1 reads as a mistake rather than a choice. */
.prose-band .container { display: grid; justify-content: start; }
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-5); justify-content: center; }
.logo-strip img { height: 2.4rem; width: auto; filter: grayscale(1); opacity: 0.7; }
.area-list { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); list-style: none; padding: 0; }
.area-list a { color: var(--muted); }
.price-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: var(--space-4); }
.price-cards .card__price { font-family: var(--display); font-size: 2rem; font-weight: 800; margin-bottom: var(--space-2); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: var(--space-3); }
.gallery img { aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); width: 100%; height: auto; }
.credits-list { list-style: none; padding: 0; display: grid; gap: var(--space-2); color: var(--muted); }

/* ------------------------------ hours + location strip (persona D, §5.9) */
.hours-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: var(--space-4) var(--space-5);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: var(--space-4);
}
.hours-strip__label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--accent-2-deep);
  margin-bottom: var(--space-1);
}
.hours-strip__value { font-size: 1.15rem; font-weight: 600; line-height: 1.3; }
.hours-strip__value a { color: inherit; text-decoration: none; }
.hours-strip__value a:hover { text-decoration: underline; }
.hours-strip__note { font-size: 0.9rem; color: var(--muted); margin-top: var(--space-1); }
.band--dark .hours-strip__label { color: var(--accent-2); }
.band--dark .hours-strip { border-color: color-mix(in srgb, var(--ink-inverse) 18%, transparent); }

/* ------------------------------------------------- menu page (persona D, §5.10) */
.menu-list { display: grid; gap: var(--space-6); max-width: 46rem; margin-inline: auto; }
.menu-list--wide { max-width: none; grid-template-columns: 1fr; }
@media (min-width: 880px) {
  .menu-list--wide { grid-template-columns: 1fr 1fr; gap: var(--space-6) var(--space-6); }
}
.menu-group__title {
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--accent-2);
  margin-bottom: var(--space-2);
}
.menu-group__note { color: var(--muted); font-size: 0.95rem; margin-bottom: var(--space-4); }
.menu-items { list-style: none; padding: 0; display: grid; gap: var(--space-4); }
.menu-item__head {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}
.menu-item__name { font-size: 1.05rem; margin: 0; }
.menu-item__head::after {
  content: "";
  flex: 1;
  order: 1;
  border-bottom: 1px dotted var(--line);
  transform: translateY(-0.25em);
}
.menu-item__price {
  order: 2;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  white-space: nowrap;
}
.menu-item__desc { color: var(--muted); font-size: 0.95rem; margin-top: var(--space-1); }

/* --------------------------------------- standing disclosure band (§5.11) */
.notice {
  background: color-mix(in srgb, var(--accent-2) 14%, var(--bg));
  border-top: 1px solid color-mix(in srgb, var(--accent-2) 35%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--accent-2) 35%, transparent);
  padding-block: var(--space-3);
  color: var(--ink);
}
.notice p { margin: 0; font-size: 0.95rem; max-width: 80ch; }
.notice a { color: inherit; }
/* Page-local repeat: sits INSIDE a .container, so it carries its own inline padding. */
.notice--page {
  padding-inline: var(--space-4);
  border: 1px solid color-mix(in srgb, var(--accent-2) 35%, transparent);
  border-radius: var(--radius);
  margin-bottom: var(--space-5);
}

/* --------------------- latest-from-each-area hub grid (persona E, §5.12) */
/* Deliberately lighter chrome than .card: no border box, no shadow, just a rule. Six bordered
   boxes on a personal homepage read as a services grid, which is the one thing this persona
   must not look like. */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: var(--space-5) var(--space-4);
}
.hub-item {
  display: grid;
  align-content: start;
  gap: var(--space-2);
  border-top: 2px solid var(--accent-2);
  padding-top: var(--space-3);
}
.hub-item__area {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--display);
}
.hub-item__area a { color: var(--ink); text-decoration: none; }
.hub-item__area a:hover { color: var(--accent-deep); }
.hub-item__latest { display: grid; gap: var(--space-1); }
.hub-item__meta { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.hub-item__title { font-size: 1.15rem; line-height: 1.25; }
.hub-item__title a { color: inherit; text-decoration: none; }
.hub-item__title a:hover { color: var(--accent-deep); }
.hub-item__excerpt {
  color: var(--muted);
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hub-item__more { margin-top: var(--space-1); }

/* ------------------------------------- designed empty state (§5.13) */
/* The component a sparse site cannot do without. No dashed frame, no icon, no spinner - those
   say "broken". A muted sentence in the owner's voice says "young". */
.empty-note {
  color: var(--muted);
  border-inline-start: 2px solid var(--line);
  padding-inline-start: var(--space-3);
  max-width: 46ch;
}

/* ---------------------------------------------------------- contact page */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-6); align-items: start; }
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }
.lead-form { display: grid; gap: var(--space-3); }
.lead-form label { font-weight: 600; font-size: 0.9rem; display: grid; gap: var(--space-1); }
.lead-form .opt { font-weight: 400; color: var(--muted); }
.lead-form input, .lead-form textarea {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 0.8);
  padding: 0.7rem 0.9rem;
  background: var(--bg);
  color: var(--ink);
  width: 100%;
}
.lead-form__note { font-size: 0.85rem; color: var(--muted); }
.lead-form__error { background: color-mix(in srgb, var(--accent-2) 12%, transparent); color: var(--accent-2-deep); border-radius: var(--radius); padding: var(--space-3); }
.contact-details { display: grid; gap: var(--space-4); align-content: start; }
.contact-details address { font-style: normal; color: var(--muted); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: var(--space-1) var(--space-4); color: var(--muted); }
.hours dt { font-weight: 600; color: var(--ink); }
/* Honeypot field - visually gone, still in the form for bots to fill */
.field-website { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --------------------------------------------------------- blog article */
.post-article { max-width: 65ch; margin-inline: auto; }
.post-article__hero {
  width: 100%;
  max-width: min(100%, 52rem);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: var(--space-5);
}
.post-article h2, .post-article h3 { margin-top: var(--space-5); margin-bottom: var(--space-3); }
.post-article p { margin-block: var(--space-3); }
.post-article ul, .post-article ol { margin-block: var(--space-3); padding-left: 1.4rem; }
.post-article li { margin-block: var(--space-1); }
.post-article blockquote {
  border-left: 3px solid var(--accent-2);
  padding-left: var(--space-4);
  margin-block: var(--space-4);
  font-style: italic;
  color: var(--muted);
}
.post-article img { border-radius: var(--radius); margin-block: var(--space-4); height: auto; }
.post-article hr { border: none; border-top: 1px solid var(--line); margin-block: var(--space-5); }
.post-article pre {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: var(--space-4);
  overflow-x: auto;
  font-size: 0.9rem;
}
.post-article code { background: var(--bg-alt); padding: 0.1em 0.35em; border-radius: 4px; font-size: 0.92em; }
.post-article pre code { background: none; padding: 0; }
.post-article__cta { text-align: center; }
.pager { display: flex; justify-content: space-between; margin-top: var(--space-5); }

/* --------------------------------------------------------------- footer */
.site-footer {
  background: var(--bg-dark);
  color: var(--ink-inverse);
  --muted: color-mix(in srgb, var(--ink-inverse) 72%, transparent);
  padding-block: var(--space-6) var(--space-4);
  margin-top: auto;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-5);
}
@media (max-width: 720px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__logo { font-family: var(--display); font-weight: 700; font-size: 1.2rem; margin-bottom: var(--space-2); }
.footer__blurb { color: var(--muted); font-size: 0.95rem; }
.footer__heading { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: var(--space-3); font-family: var(--body); }
.footer__col ul { list-style: none; padding: 0; display: grid; gap: var(--space-2); }
.footer__col a { color: color-mix(in srgb, var(--ink-inverse) 85%, transparent); text-decoration: none; }
.footer__col a:hover { color: var(--accent-2); }
.footer__contact address { font-style: normal; color: var(--muted); margin-bottom: var(--space-2); }
.footer__tel { font-size: 1.15rem; font-weight: 700; color: var(--ink-inverse); text-decoration: none; }
.footer__legal {
  border-top: 1px solid color-mix(in srgb, var(--ink-inverse) 15%, transparent);
  padding-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--muted);
}
.footer__legal ul { list-style: none; padding: 0; display: flex; gap: var(--space-4); }
.footer__legal a { color: inherit; }
.footer__disclosure { font-size: 0.85rem; color: var(--muted); margin-top: var(--space-3); }

/* ---------------------------------------------------------------- print */
@media print {
  .site-header, .site-footer, .cta-band, .sticky-callbar, .no-print { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ============================================================================
   Phase 8b - carrier and variant styling. Everything below gives real rules to
   classes the section renderers already emit as carriers (the ARCHITECTURE.md
   open-items list) plus the three FirmaType hero layouts. Color use follows
   token-pair discipline: only pairs the audited components above already use
   in an equivalent context (--muted on --bg / --bg-alt, --accent-2-deep as
   accent text on light bands, --accent-2 as accent text inside band--dark,
   --accent-deep as link-tone text on light, --btn-ink on --accent). No new
   literal colors, so the catalog's per-theme AA audit carries over.
   ========================================================================== */

/* ------------------------------------------ gallery strip (office photos) */
/* FirmaType office-photo-strip: one row that scroll-snaps sideways, the same
   pattern as .quote-rail. Square crop comes from the base .gallery img rule. */
.gallery--strip {
  display: flex;
  gap: var(--space-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--space-3);
}
.gallery--strip img {
  flex: 0 0 auto;
  width: min(20rem, 78vw);
  scroll-snap-align: start;
}

/* ------------------------------------- numbered short-pitch split feature */
/* FirmaType ShortPitchNumbered: each claim leads with a big zero-padded
   display-family numeral instead of a checkmark. Numeral color matches the
   base .checks checkmark (--accent), swapping to --accent-2 inside band--dark
   exactly as .eyebrow does. */
.split-feature--numbered-pitch .checks {
  counter-reset: pitch;
  gap: var(--space-4);
}
.split-feature--numbered-pitch .checks li {
  counter-increment: pitch;
  padding-left: 3.4rem;
}
.split-feature--numbered-pitch .checks li::before {
  content: counter(pitch, decimal-leading-zero);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--accent);
}
.band--dark .split-feature--numbered-pitch .checks li::before { color: var(--accent-2); }

/* ---------------------------------------------------- practice-area cards */
/* FirmaType practice-area look, factory-ized the way .hub-item is: no border
   box, no shadow, just an accent top rule and tighter type. The transparent
   background keeps the card honest on band, band--alt and band--dark alike. */
.card-grid--practice-areas {
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: var(--space-5) var(--space-4);
}
.card-grid--practice-areas .card {
  background: transparent;
  border: 0;
  border-top: 2px solid var(--accent-2);
  border-radius: 0;
  box-shadow: none;
  padding: var(--space-3) 0 0;
}
.card-grid--practice-areas .card:hover { transform: none; }
.card-grid--practice-areas .card__title { font-size: 1.1rem; }
.card-grid--practice-areas .card__body { margin-bottom: var(--space-2); }

/* ------------------------------------------------- checklist urgency note */
/* The quiet <em> becomes a distinct urgent tone: upright, semibold, accent-2
   ink. --accent-2-deep is the audited accent-text pair on --bg and --bg-alt
   (see .eyebrow); band--dark swaps to --accent-2 the same way .eyebrow does. */
.checklist__urgency {
  font-style: normal;
  font-weight: 600;
  color: var(--accent-2-deep);
}
.band--dark .checklist__urgency { color: var(--accent-2); }

/* --------------------------------------------------------- two-column faq */
/* CSS columns rather than grid: reading order stays top-to-bottom and the
   first-item-open behavior is untouched (it is a markup attribute). */
@media (min-width: 880px) {
  .faq--split {
    max-width: none;
    columns: 2;
    column-gap: var(--space-6);
  }
  .faq--split .faq__item { break-inside: avoid; }
}

/* ----------------------------------------------------------- fee schedule */
/* FirmaType FeesAndProcess: fees read as a hairline-ruled schedule, not
   marketing tiers. Cards flatten to rows - name and description on the left,
   the figure on the right in tabular numerals. Left-aligned under the band
   head, matching the .prose-band justify-content: start reasoning. */
.price-cards--fees {
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 46rem;
}
.price-cards--fees .card {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: var(--space-4);
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  padding: var(--space-4) 0;
}
.price-cards--fees .card:last-child { border-bottom: 1px solid var(--line); }
.price-cards--fees .card:hover { transform: none; }
.price-cards--fees .card > * { grid-column: 1; }
.price-cards--fees .card__title { font-size: 1.05rem; margin-bottom: var(--space-1); }
.price-cards--fees .card__price {
  grid-column: 2;
  grid-row: 1;
  font-size: 1.3rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  margin-bottom: 0;
}
.price-cards--fees .card__body { font-size: 0.95rem; margin-bottom: var(--space-2); }
.price-cards--fees .checks { font-size: 0.95rem; }

/* -------------------------------------------------- outcome-forward cases */
/* FirmaType CaseResults: the outcome line (already <strong> in the markup)
   is the visual lead; the title drops to a small tracked label above it.
   --accent-deep is the audited link-tone text on light bands (.link-arrow);
   band--dark swaps to --accent-2 as .eyebrow does. */
.case-grid { grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); }
.case-grid .card__title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: var(--space-2);
}
.case-grid .card strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.4rem, 1.2rem + 0.9vw, 1.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--accent-deep);
  margin-bottom: var(--space-2);
}
/* Inside band--dark the card background is a 6% ink-inverse mix OVER bg-dark - lighter
   than the bg-dark the .eyebrow accent-2 pair was audited on, and accent-2 fails the 3:1
   large-text floor there under 4 of 7 themes (review P3, computed). ink-inverse is how
   band--dark already handles links: 8:1+ everywhere. */
.band--dark .case-grid .card strong { color: var(--ink-inverse); }

/* ------------------------------------------- 1.5 hero: utilitarian dense */
/* FirmaType HeroUtilitarianDense: scannable practical info above the fold.
   Deliberately small h1, two-column benefits checklist, and a 1/3 aside card
   that makes the call-now link the biggest thing on the right. */
.hero--utilitarian-dense { padding-block: var(--space-6); }
.hero--utilitarian-dense .hero__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-6);
  align-items: start;
}
.hero--utilitarian-dense h1 { font-size: clamp(1.75rem, 1.35rem + 1.8vw, 2.5rem); }
.hero--utilitarian-dense .hero__sub { font-size: 1.05rem; margin-top: var(--space-2); }
.hero--utilitarian-dense .checks {
  margin-top: var(--space-4);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2) var(--space-4);
}
.hero__aside {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-4);
  align-self: start;
}
.hero__aside .eyebrow { margin-bottom: var(--space-1); }
/* The big call-now link is the aside's only non-button link; selecting it
   structurally keeps the D5 markup contract to the classes named there. */
.hero__aside a:not(.btn) {
  display: inline-block;
  font-family: var(--display);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 1.9rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  text-decoration: none;
}
.hero__aside a:not(.btn):hover { color: var(--accent-deep); }
.hero__aside .btn {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: var(--space-3);
}

/* --------------------------------------- 1.6 hero: credentials anchored */
/* FirmaType HeroCredentialsAnchored: no photo - the hero IS the credentials.
   Restrained header over a hairline rule, then a fact rail of up to four
   cells (div-wrapped dt/dd pairs per the D5 contract; a dd may stand alone
   when the trust item carries no ":" label). */
.hero--credentials-anchored .container { max-width: min(var(--max-w), 64rem); }
.hero--credentials-anchored .eyebrow { letter-spacing: 0.3em; }
.hero__facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-5) var(--space-4);
  border-top: 1px solid var(--line);
  margin-top: var(--space-6);
  padding-top: var(--space-5);
}
.hero__facts dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: var(--space-1);
}
.hero__facts dd {
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem);
  font-weight: 700;
  line-height: 1.2;
}
/* A label-less trust item renders as a dt with an empty dd (dl content-model
   conformance - review P3); the empty dd contributes nothing visually. */
.hero__facts dd:empty { display: none; }

/* ----------------------------------------------------- 1.7 hero: team led */
/* FirmaType HeroTeamLed: "we" framing - a 2/5 copy column against a 3/5 wide
   4/3 team figure. The original's headshot-mosaic branch needs a people list
   the hero definition does not carry; deferred per the growth ladder (D5). */
.hero--team-led .hero__grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--space-6);
  align-items: center;
}
.hero--team-led h1 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); }
.hero--team-led .eyebrow { letter-spacing: 0.25em; }
.hero__media--team img { aspect-ratio: 4 / 3; }

/* When the optional right-hand piece (aside or media) is omitted, the copy
   takes the full row instead of leaving a dead column. */
.hero--utilitarian-dense .hero__grid > :only-child,
.hero--team-led .hero__grid > :only-child { grid-column: 1 / -1; }

/* Hero collapse, consistent with the existing 720/880 breakpoints: the wide
   asymmetric grids stack at 880, the inner two-column lists fold at 720. */
@media (max-width: 880px) {
  .hero--utilitarian-dense .hero__grid,
  .hero--team-led .hero__grid { grid-template-columns: 1fr; }
  .hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .hero--utilitarian-dense .checks { grid-template-columns: 1fr; }
  .hero__facts { grid-template-columns: 1fr; }
}

/* --------------------------------------------------- small carrier notes */
/* Menu footnote (allergy notes, "Prices include tax"): small, muted, spaced
   under its group. Sizing the class stops the inner <small> from
   double-shrinking. */
.menu-list__note {
  margin-top: var(--space-3);
  font-size: 0.9rem;
  color: var(--muted);
}
.menu-list__note small { font-size: 1em; }

/* Gallery empty state: same visual treatment as .empty-note (5.13) - a muted
   sentence behind an inline-start rule. Declarations are duplicated rather
   than grouped so the 5.13 rule stays byte-identical to the pre-split file. */
.gallery__empty {
  color: var(--muted);
  border-inline-start: 2px solid var(--line);
  padding-inline-start: var(--space-3);
  max-width: 46ch;
}

/* Per-item hours note: small muted line under the value, sized explicitly so
   the <small> element renders predictably. */
.hours-strip__item-note {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: var(--space-1);
}

/* Site-wide announcement band: its own modest treatment apart from page-local
   notices - full-width, comfortable block padding, square corners (the inner
   .container carries the inline padding). */
.notice--announcement {
  padding-block: var(--space-3);
  padding-inline: 0;
  border-radius: 0;
}
