/* ==========================================================================
   Dentist on Waverley — "Porcelain & Eucalypt"
   Design system per DESIGN-DIRECTION.md. One accent, hairline keylines,
   the Living Arch, and a phone number that is never off-screen.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Grounds */
  --porcelain: #F6F4EF;
  --milk:      #FFFFFF;
  --mist:      #E5ECE6;
  --sand:      #EDE6D8;

  /* Ink */
  --ink:      #1B2B25;
  --ink-soft: #46554E;

  /* Accent */
  --eucalypt:      #2E6B5A;
  --eucalypt-deep: #1F4A3D;
  --eucalypt-wash: #DCE8E1;

  /* Emergency only */
  --clay:      #C75B39;
  --clay-deep: #A84A2E;
  --clay-wash: #F7E4DC;

  /* Lines & depth */
  --hairline:        rgba(27, 43, 37, 0.20);
  --hairline-strong: rgba(27, 43, 37, 0.32);
  --shadow-card: 0 1px 2px rgba(27,43,37,.06), 0 8px 24px rgba(27,43,37,.05);

  /* Type scale */
  --fs-hero:    clamp(2.6rem, 6vw, 4.5rem);
  --fs-h2:      clamp(1.9rem, 3.5vw, 2.75rem);
  --fs-h3:      1.5rem;
  --fs-h4:      1.25rem;
  --fs-quote:   clamp(1.5rem, 2.8vw, 2.25rem);
  --fs-body:    1.125rem;
  --fs-body-sm: 1.0625rem;
  --fs-caption: 1rem;
  --fs-label:   0.8125rem;
  --fs-button:  0.9375rem;
  --fs-numeral: clamp(4.5rem, 9vw, 6.5rem);

  --font-display: "Familjen Grotesk", system-ui, sans-serif;
  --font-body:    "Schibsted Grotesk", system-ui, sans-serif;
  --font-voice:   "Fraunces", Georgia, serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --frame-inset: 24px;
  --rail-w: 72px;
  --container: 72rem;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
body {
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
a { color: inherit; }
ul[class], ol[class] { list-style: none; padding: 0; }

/* Matte paper grain, once, over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- The chart grid: poster frame ---------- */
.poster-frame {
  position: fixed;
  inset: var(--frame-inset);
  border: 1px solid var(--hairline-strong);
  pointer-events: none;
  z-index: 80;
}
@media (max-width: 719px) {
  .poster-frame {
    inset: 12px;
    border-left: none;
    border-right: none;
  }
}

/* ---------- Utility text styles ---------- */
.label {
  font-family: var(--font-display);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.voice {
  font-family: var(--font-voice);
  font-style: italic;
  font-weight: 360;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 100, "WONK" 0;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 200;
  background: var(--eucalypt-deep);
  color: var(--milk);
  padding: 0.75em 1.25em;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: var(--fs-button);
}
.skip-link:focus { left: 40px; }
.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;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  text-wrap: balance;
}
h1 { font-size: var(--fs-hero); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
h2 { font-size: var(--fs-h2); font-weight: 600; letter-spacing: -0.015em; }
h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
h4 { font-size: var(--fs-h4); font-weight: 600; line-height: 1.35; }

p { max-width: 68ch; }
.small { font-size: var(--fs-body-sm); }
.caption { font-size: var(--fs-caption); line-height: 1.5; color: var(--ink-soft); }
.ink-soft { color: var(--ink-soft); }

/* Focus */
:focus-visible {
  outline: 2px solid var(--eucalypt);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--eucalypt-wash); color: var(--ink); }

/* ---------- Links ---------- */
.link {
  color: var(--eucalypt-deep);
  font-weight: 500;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor); /* underline draw — flat colour, not a gradient */
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1.5px;
  transition: background-size 250ms var(--ease);
  padding-bottom: 2px;
}
.link:hover, .link:focus-visible { background-size: 100% 1.5px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--font-display);
  font-size: var(--fs-button);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.9em 1.9em;
  min-height: 48px;
  transition: background-color 250ms var(--ease), border-color 250ms var(--ease),
              color 250ms var(--ease), transform 100ms var(--ease), box-shadow 100ms var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); box-shadow: none; } /* the stamp */

.btn--primary { background: var(--eucalypt); color: var(--milk); }
.btn--primary:hover { background: var(--eucalypt-deep); }

.btn--secondary {
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
}
.btn--secondary:hover {
  border-color: var(--eucalypt-deep);
  color: var(--eucalypt-deep);
  background: var(--eucalypt-wash);
}

.btn--emergency { background: var(--clay); color: var(--milk); }
.btn--emergency:hover { background: var(--clay-deep); }

.btn--milk { background: var(--milk); color: var(--eucalypt-deep); }
.btn--milk:hover { background: var(--eucalypt-wash); }

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}
.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}
.section--mist { background: var(--mist); }
.section--sand { background: var(--sand); }
.section--ink  { background: var(--ink); color: var(--porcelain); }

/* Section keyline header: `01 / General & Family` */
.keyline {
  border-top: 1px solid var(--hairline);
  transform-origin: center;
}
.section-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head .label { display: block; padding-top: 1rem; }
.section-head h2 { margin-top: 1rem; }
.section-head .voice { color: var(--ink-soft); font-size: var(--fs-h4); margin-top: 0.75rem; }

/* ---------- Cards: the corner nick ---------- */
.card {
  background: var(--milk);
  border: 1px solid var(--hairline);
  border-radius: 28px 28px 28px 4px;
  box-shadow: var(--shadow-card);
  padding: 32px;
  transition: border-radius 300ms var(--ease);
}
.card:hover { border-radius: 28px 28px 28px 12px; }
.card--nick-right { border-radius: 28px 28px 4px 28px; }
.card--nick-right:hover { border-radius: 28px 28px 12px 28px; }

.img-mask {
  border-radius: 28px 28px 28px 4px;
  overflow: hidden;
}
.img-mask--nick-right { border-radius: 28px 28px 4px 28px; }
.img-mask img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 70;
  background: var(--porcelain);
  border-bottom: 1px solid var(--hairline);
}
.site-header__in {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 88px;
  max-width: none;
  padding-inline: clamp(1.25rem, 3vw, 2.5rem);
}
.wordmark {
  position: relative;
  display: block;
  width: clamp(10.5rem, 13vw, 11.5rem);
  aspect-ratio: 1.97 / 1;
  flex: 0 0 auto;
  overflow: hidden;
  text-decoration: none;
}
.wordmark__image {
  position: absolute;
  inset: 50% auto auto 0;
  width: 100%;
  max-width: none;
  height: auto;
  transform: translateY(-50%);
  mix-blend-mode: multiply;
}

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: clamp(1rem, 2vw, 2rem); list-style: none; padding: 0; }
.site-nav a {
  font-family: var(--font-display);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1.5px;
  transition: background-size 250ms var(--ease), color 250ms var(--ease);
  padding-bottom: 4px;
}
.site-nav a:hover, .site-nav a:focus-visible { background-size: 100% 1.5px; }
.site-nav a[aria-current="page"], .site-nav a.is-active {
  color: var(--eucalypt-deep);
  background-size: 100% 1.5px;
}
.header-phone {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover { color: var(--eucalypt-deep); }
.header-cta { flex-shrink: 0; }

.header-phone-icon {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 250ms var(--ease), border-color 250ms var(--ease),
              color 250ms var(--ease), transform 100ms var(--ease);
}
.header-phone-icon svg { width: 18px; height: 18px; }
.header-phone-icon:hover { border-color: var(--eucalypt-deep); color: var(--eucalypt-deep); background: var(--eucalypt-wash); }
.header-phone-icon:active { transform: translateY(1px); }
@media (max-width: 1099px) {
  .header-phone-icon { display: inline-flex; margin-left: auto; }
  .nav-toggle { margin-left: 0; }
}

.nav-toggle {
  display: none;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  padding: 0.55em 1.1em;
  font-family: var(--font-display);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-height: 44px;
}

@media (max-width: 1099px) {
  .site-header__in { gap: 1rem; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--porcelain);
    border-bottom: 1px solid var(--hairline-strong);
    padding: 1rem clamp(1.25rem, 4vw, 3rem) 1.5rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--hairline); }
  .site-nav a {
    display: block;
    padding: 0.9rem 0;
    font-size: 0.9375rem;
  }
  .nav-toggle { display: inline-flex; align-items: center; margin-left: auto; }
  .header-phone--text { display: none; }
}
@media (max-width: 1279px) {
  .header-cta { display: none; }
}

/* ---------- Conversion rail (desktop) ---------- */
.rail {
  position: fixed;
  left: var(--frame-inset);
  top: var(--frame-inset);
  bottom: var(--frame-inset);
  width: var(--rail-w);
  border-right: 1px solid var(--hairline);
  z-index: 75;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  background: var(--porcelain);
  pointer-events: none;
}
.rail > * { pointer-events: auto; }
.rail__wordmark {
  position: relative;
  display: block;
  width: 66px;
  height: 132px;
  flex: 0 0 auto;
  text-decoration: none;
}
.rail__logo-crop {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 132px;
  aspect-ratio: 1.97 / 1;
  overflow: hidden;
  transform: translate(-50%, -50%) rotate(90deg);
  transform-origin: center;
}
.rail__logo-crop img {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  max-width: none;
  height: auto;
  transform: translateY(-50%);
  mix-blend-mode: multiply;
}
.rail__dots {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.rail__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: 1px solid var(--ink-soft);
  background: transparent;
  transition: background-color 250ms var(--ease), border-color 250ms var(--ease), transform 250ms var(--ease);
}
.rail__dot.is-active {
  background: var(--eucalypt);
  border-color: var(--eucalypt);
  transform: scale(1.3);
}
.rail__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}
.rail__btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 250ms var(--ease), transform 100ms var(--ease);
}
.rail__btn:active { transform: translateY(1px); }
.rail__btn--call { border: 1.5px solid var(--ink); color: var(--ink); }
.rail__btn--call:hover { background: var(--eucalypt-wash); border-color: var(--eucalypt-deep); color: var(--eucalypt-deep); }
.rail__btn--book { background: var(--eucalypt); color: var(--milk); }
.rail__btn--book:hover { background: var(--eucalypt-deep); }
.rail__btn svg { width: 19px; height: 19px; }
.rail__phone {
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--ink);
}
.rail__phone:hover { color: var(--eucalypt-deep); }

@media (min-width: 1440px) {
  .rail { display: flex; }
  main, .site-header__in { padding-left: calc(var(--rail-w) + var(--frame-inset) + 8px); }
  .site-footer__in, .emergency-ribbon .container { padding-left: calc(var(--rail-w) + var(--frame-inset) + 8px); }
}

/* ---------- Mobile thumb-bar ---------- */
.thumb-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 64px;
  background: var(--milk);
  border-top: 1px solid var(--hairline-strong);
  display: none;
  z-index: 85;
}
.thumb-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-display);
  font-size: var(--fs-button);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  min-height: 44px;
}
.thumb-bar a svg { width: 17px; height: 17px; }
.thumb-bar__call { color: var(--ink); border-right: 1px solid var(--hairline); }
.thumb-bar__book { background: var(--eucalypt); color: var(--milk); }
.thumb-bar__book:active, .thumb-bar__call:active { transform: translateY(1px); }
@media (max-width: 1439px) {
  .thumb-bar { display: flex; }
  body { padding-bottom: 64px; }
  .poster-frame { border-bottom: none; }
}

/* ---------- Hero (homepage) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 9vw, 8rem) clamp(4rem, 8vw, 7rem);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 899px) {
  .hero__grid { grid-template-columns: 1fr; }
}
.hero .arch-contours {
  position: absolute;
  inset: -10% -20% auto auto;
  width: 70%;
  height: 130%;
  stroke: var(--eucalypt);
  opacity: 0.05;
  pointer-events: none;
}
.hero__kicker { color: var(--eucalypt-deep); margin-bottom: 1.25rem; display: inline-block; }
.hero__sub {
  font-size: var(--fs-h4);
  color: var(--ink-soft);
  margin-top: 1.5rem;
  max-width: 34em;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }
.hero__note { margin-top: 1.5rem; color: var(--ink-soft); font-size: var(--fs-caption); }
.hero__note a { color: var(--eucalypt-deep); }

/* Living Arch drawing */
.living-arch { width: 100%; max-width: 520px; margin-inline: auto; }
.living-arch .arch-tooth {
  stroke: var(--eucalypt);
  fill: transparent;
  transition: fill 600ms var(--ease);
}
.living-arch.is-ready .arch-tooth { fill: var(--porcelain); }
.living-arch .arch-tooth.blush { fill: var(--eucalypt-wash); }
.js .living-arch.will-draw .arch-tooth {
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
}
.js .living-arch.is-drawing .arch-tooth {
  animation: arch-draw 1.2s var(--ease) forwards;
  animation-delay: calc(var(--tooth-i, 0) * 55ms);
}
@keyframes arch-draw { to { stroke-dashoffset: 0; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(8px); }
.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}
.js .reveal-stagger > * { opacity: 0; transform: translateY(8px); }
.js .reveal-stagger.is-in > * {
  opacity: 1;
  transform: none;
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}
.js .reveal-stagger.is-in > *:nth-child(2) { transition-delay: 80ms; }
.js .reveal-stagger.is-in > *:nth-child(3) { transition-delay: 160ms; }
.js .reveal-stagger.is-in > *:nth-child(4) { transition-delay: 240ms; }
.js .reveal-stagger.is-in > *:nth-child(5) { transition-delay: 320ms; }
.js .reveal-stagger.is-in > *:nth-child(6) { transition-delay: 400ms; }
.js .keyline.reveal-line { transform: scaleX(0); }
.js .keyline.reveal-line.is-in { transform: scaleX(1); transition: transform 700ms var(--ease); }

/* ---------- Service index (chart rows, not icon cards) ---------- */
.svc-rows { border-top: 1px solid var(--hairline); }
.svc-row {
  display: grid;
  grid-template-columns: 3.5rem 56px minmax(0, 1.2fr) minmax(0, 2fr) auto;
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: center;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--hairline);
  text-decoration: none;
  transition: background-color 250ms var(--ease);
}
.svc-row:hover, .svc-row:focus-visible { background: var(--eucalypt-wash); }
.svc-row__num { font-family: var(--font-display); font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.08em; color: var(--ink-soft); }
.svc-row__icon { width: 48px; height: 48px; color: var(--eucalypt); }
.svc-row__icon svg { width: 48px; height: 48px; stroke: currentColor; }
.svc-row__name { font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 600; }
.svc-row__desc { color: var(--ink-soft); font-size: var(--fs-body-sm); }
.svc-row__go { color: var(--eucalypt-deep); font-family: var(--font-display); font-weight: 600; font-size: var(--fs-label); letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 899px) {
  .svc-row { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .svc-row__num, .svc-row__desc { display: none; }
  .svc-row__icon, .svc-row__icon svg { width: 40px; height: 40px; }
}

/* ---------- Arch portraits ---------- */
.portrait {
  position: relative;
  display: block;
}
.portrait__frame {
  position: relative;
  border-radius: 999px 999px 4px 4px; /* arch window: semicircular top, straight base */
  overflow: hidden;
  background: var(--sand);
}
.portrait__frame::after { /* eucalypt duotone veil */
  content: "";
  position: absolute;
  inset: 0;
  background: var(--eucalypt);
  mix-blend-mode: multiply;
  opacity: 0.25;
  transition: opacity 400ms var(--ease);
  pointer-events: none;
}
.portrait__frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1) sepia(0.12) brightness(1.02);
  transition: filter 400ms var(--ease);
}
.portrait:hover .portrait__frame::after,
.portrait:focus-within .portrait__frame::after { opacity: 0; }
.portrait:hover .portrait__frame img,
.portrait:focus-within .portrait__frame img { filter: none; }
.portrait__caption {
  font-family: var(--font-voice);
  font-style: italic;
  font-weight: 360;
  font-variation-settings: "SOFT" 100, "WONK" 0;
  color: var(--ink-soft);
  font-size: var(--fs-caption);
  margin-top: 1rem;
  text-align: center;
}
.portrait__quote {
  font-family: var(--font-voice);
  font-style: italic;
  font-weight: 370;
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-size: var(--fs-h4);
  line-height: 1.5;
  margin-top: 1.25rem;
}

/* ---------- Proof numerals ---------- */
.proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.proof__item {
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1rem, 3vw, 2.5rem);
  border-left: 1px solid var(--hairline);
}
.proof__item:first-child { border-left: none; }
.proof__num {
  font-family: var(--font-display);
  font-size: var(--fs-numeral);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.proof__num .unit { font-size: 0.45em; letter-spacing: 0; }
.proof__note {
  font-family: var(--font-voice);
  font-style: italic;
  font-weight: 360;
  font-variation-settings: "SOFT" 100, "WONK" 0;
  color: var(--ink-soft);
  margin-top: 0.75rem;
  font-size: var(--fs-caption);
}
@media (max-width: 719px) {
  .proof { grid-template-columns: 1fr; }
  .proof__item { border-left: none; border-top: 1px solid var(--hairline); }
  .proof__item:first-child { border-top: none; }
}

/* ---------- Pull-quote interlude ---------- */
.pull-quote {
  text-align: center;
  padding-block: clamp(4rem, 8vw, 6.5rem);
}
.pull-quote__stars { color: var(--eucalypt); font-size: 1.4rem; letter-spacing: 0.35em; margin-bottom: 1.5rem; }
.pull-quote blockquote {
  font-family: var(--font-voice);
  font-style: italic;
  font-weight: 370;
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-size: var(--fs-quote);
  line-height: 1.4;
  max-width: 24em;
  margin-inline: auto;
  text-wrap: balance;
}
.pull-quote figcaption { margin-top: 1.75rem; }

/* ---------- Consult sheet (service pages) ---------- */
.consult-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 899px) {
  .consult-layout { grid-template-columns: 1fr; }
}
.consult-sheet { position: sticky; top: 2rem; }
@media (max-width: 899px) {
  .consult-sheet { position: static; }
}
.consult-sheet h2 { font-size: var(--fs-h3); }
.consult-sheet dl { margin-top: 0.5rem; }
.consult-sheet dt {
  font-family: var(--font-display);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--eucalypt-deep);
  border-top: 1px solid var(--hairline);
  padding-top: 1.1rem;
  margin-top: 1.1rem;
}
.consult-sheet dt:first-of-type { border-top: none; margin-top: 0.75rem; }
.consult-sheet dd { margin-top: 0.4rem; font-size: var(--fs-body-sm); color: var(--ink); }
.consult-sheet__ctas { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.75rem; }
.consult-sheet__ctas .btn { width: 100%; }

/* Treatment plan steps */
.plan-step {
  border-top: 1px solid var(--hairline);
  padding: 2rem 0;
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 1.5rem;
}
@media (max-width: 599px) {
  .plan-step { grid-template-columns: 1fr; gap: 0.5rem; }
}
.plan-step__num {
  font-family: var(--font-display);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.plan-step h3 { margin-bottom: 0.6rem; }
.plan-step p { color: var(--ink); }

/* ---------- FAQ accordion ---------- */
.faq { border-top: 1px solid var(--hairline); }
.faq__item { border-bottom: 1px solid var(--hairline); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-body);
  min-height: 56px;
  padding: 1rem 0.5rem;
  transition: background-color 250ms var(--ease);
}
.faq__item.is-open .faq__q { background: var(--eucalypt-wash); }
.faq__toggle {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  color: var(--eucalypt);
}
.faq__toggle::before, .faq__toggle::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: currentColor;
  transition: transform 250ms var(--ease), opacity 250ms var(--ease);
}
.faq__toggle::before { width: 14px; height: 2px; }
.faq__toggle::after { width: 2px; height: 14px; }
.faq__item.is-open .faq__toggle::after { transform: rotate(90deg); opacity: 0; }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms var(--ease);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0.25rem 0.5rem 1.5rem; color: var(--ink); font-size: var(--fs-body-sm); }

/* ---------- Honesty band ---------- */
.honesty-band {
  background: var(--sand);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding-block: clamp(3rem, 6vw, 5rem);
}
.honesty-band__in {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  flex-wrap: wrap;
  text-align: center;
}
.honesty-band blockquote {
  font-family: var(--font-voice);
  font-style: italic;
  font-weight: 370;
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-size: var(--fs-quote);
  line-height: 1.35;
  max-width: 18em;
  text-wrap: balance;
}
.honesty-band__docs { display: flex; gap: 1.5rem; }
.honesty-band__doc { text-align: center; }
.honesty-band__doc .thumb {
  width: 76px;
  height: 88px;
  border-radius: 999px 999px 4px 4px;
  overflow: hidden;
  margin-inline: auto;
  background: var(--porcelain);
}
.honesty-band__doc .thumb img { width: 100%; height: 100%; object-fit: cover; }
.honesty-band__doc .caption { margin-top: 0.5rem; font-size: 0.875rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  background: var(--eucalypt-deep);
  color: var(--porcelain);
  overflow: hidden;
  padding-block: clamp(4rem, 8vw, 6.5rem);
}
.cta-banner .arch-contours {
  position: absolute;
  inset: auto -10% -40% auto;
  width: 60%;
  height: 160%;
  stroke: var(--porcelain);
  opacity: 0.07;
  pointer-events: none;
}
.cta-banner__in {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--porcelain); font-size: var(--fs-h2); }
.cta-banner__phone {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  letter-spacing: -0.01em;
  color: var(--porcelain);
  text-decoration: none;
  display: block;
  margin-top: 0.5rem;
}
.cta-banner__phone:hover { color: var(--milk); text-decoration: underline; text-underline-offset: 6px; }
.cta-banner__sub { color: var(--mist); margin-top: 0.75rem; font-size: var(--fs-body-sm); }

/* ---------- Emergency ribbon ---------- */
.emergency-ribbon {
  background: var(--clay-wash);
  border-top: 1px solid var(--hairline);
  min-height: 56px;
  display: flex;
  align-items: center;
}
.emergency-ribbon .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75em 1.5em;
  flex-wrap: wrap;
  padding-block: 0.75rem;
  text-align: center;
}
.emergency-ribbon p { font-size: var(--fs-body-sm); font-weight: 500; }
.emergency-ribbon a.call {
  color: var(--clay-deep);
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.emergency-ribbon a.more { color: var(--ink-soft); font-size: var(--fs-caption); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--porcelain);
  position: relative;
}
.site-footer .arch-horizon {
  width: 100%;
  height: auto;
  display: block;
}
.site-footer .arch-horizon .horizon-tooth { stroke: var(--porcelain); opacity: 0.35; fill: none; }
.site-footer__in {
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
}
@media (max-width: 899px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-addr { position: relative; }
.footer-logo {
  position: relative;
  display: block;
  width: min(100%, 17rem);
  aspect-ratio: 1.97 / 1;
  overflow: hidden;
  margin-bottom: 2rem;
  background: var(--milk);
  border: 1px solid rgba(246, 244, 239, 0.35);
  border-radius: 24px 24px 24px 4px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
  text-decoration: none;
}
.footer-logo img {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  max-width: none;
  height: auto;
  transform: translateY(-50%);
  mix-blend-mode: multiply;
}
.footer-861a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(6rem, 12vw, 11rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--eucalypt);
  user-select: none;
  opacity: 0.85;
}
.footer-addr address {
  font-style: normal;
  margin-top: 1.25rem;
  color: var(--mist);
  font-size: var(--fs-body-sm);
  line-height: 1.7;
}
.footer-addr address a { color: var(--porcelain); }
.site-footer .label { color: rgba(246, 244, 239, 0.55); }
.footer-col h3 {
  font-size: var(--fs-label);
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(246, 244, 239, 0.55);
  margin-bottom: 1.25rem;
}
.dot-leaders { width: 100%; }
.dot-leaders a {
  display: flex;
  align-items: baseline;
  gap: 0.6em;
  text-decoration: none;
  color: var(--porcelain);
  font-size: var(--fs-body-sm);
  padding: 0.42rem 0;
}
.dot-leaders a .leader {
  flex: 1;
  border-bottom: 1px dotted rgba(246, 244, 239, 0.35);
  transform: translateY(-4px);
}
.dot-leaders a .idx {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: rgba(246, 244, 239, 0.55);
}
.dot-leaders a:hover, .dot-leaders a:focus-visible { color: var(--milk); }
.dot-leaders a:hover .leader { border-bottom-color: var(--eucalypt); }
.footer-hours { color: var(--mist); font-size: var(--fs-body-sm); }
.footer-hours div {
  display: flex;
  justify-content: space-between;
  gap: 1.5em;
  padding: 0.3rem 0;
  border-bottom: 1px dotted rgba(246, 244, 239, 0.2);
}
.footer-hours dt { color: rgba(246, 244, 239, 0.75); }
.footer-hours dd { margin: 0; }
.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(246, 244, 239, 0.15);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-bottom .fine { color: rgba(246, 244, 239, 0.6); font-size: var(--fs-caption); }
.footer-bottom .fine a { color: rgba(246, 244, 239, 0.8); white-space: nowrap; }
.footer-signoff {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: rgba(246, 244, 239, 0.75);
}
.footer-signoff svg { width: 40px; height: 40px; stroke: var(--eucalypt); opacity: 0.9; }
.footer-signoff .voice { font-size: var(--fs-caption); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding-top: 2rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.6em; list-style: none; padding: 0; margin: 0; }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--eucalypt-deep); text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.6em; color: var(--hairline-strong); }
.breadcrumb [aria-current] { color: var(--ink); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.page-hero h1 { max-width: 16em; }
.page-hero__lead { font-size: var(--fs-h4); color: var(--ink-soft); margin-top: 1.25rem; max-width: 36em; }
.page-hero__icon { width: 64px; height: 64px; color: var(--eucalypt); margin-bottom: 1.5rem; }
.page-hero__icon svg { width: 64px; height: 64px; }

/* ---------- Emergency page band ---------- */
.emergency-hero {
  background: var(--clay-wash);
  border-bottom: 1px solid var(--hairline);
}
.emergency-hero .page-hero__icon { color: var(--clay); }
.emergency-phone {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.02em;
  color: var(--clay-deep);
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 2px;
}

/* ---------- Two-column feature ---------- */
.feature-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 899px) {
  .feature-split { grid-template-columns: 1fr; }
}

/* ---------- Tables (hours etc.) ---------- */
.chart-table { width: 100%; border-collapse: collapse; font-size: var(--fs-body-sm); }
.chart-table th, .chart-table td {
  text-align: left;
  padding: 0.85rem 0.5rem;
  border-bottom: 1px solid var(--hairline);
}
.chart-table th { font-family: var(--font-display); font-weight: 600; }
.chart-table tr:first-child th, .chart-table tr:first-child td { border-top: 1px solid var(--hairline-strong); }

/* ---------- Helper spacing ---------- */
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; } .mt-5 { margin-top: 3rem; } .mt-6 { margin-top: 4rem; }
.flow > * + * { margin-top: 1.1em; }

/* ---------- Composed phone experience ---------- */
@media (max-width: 719px) {
  :root {
    --fs-hero: clamp(2.35rem, 11vw, 3rem);
    --fs-h2: clamp(1.85rem, 8vw, 2.25rem);
    --fs-h3: clamp(1.35rem, 6.4vw, 1.65rem);
    --fs-h4: 1.1875rem;
    --fs-quote: clamp(1.45rem, 6vw, 1.8rem);
    --fs-numeral: clamp(3rem, 15vw, 4rem);
  }

  html { scroll-padding-top: 6rem; }
  body {
    font-size: var(--fs-body-sm);
    line-height: 1.6;
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
    overflow-x: clip;
  }
  body.nav-open { overflow: hidden; }

  .container { padding-inline: 1.25rem; }
  .section { padding-block: clamp(3.5rem, 15vw, 4.25rem); }
  .section-head { margin-bottom: 2rem; }
  .section-head .label { padding-top: 0.875rem; }
  .section-head h2 { margin-top: 0.75rem; }
  .section-head .voice {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-top: 0.65rem;
  }
  .flow > * + * { margin-top: 1em; }
  .mt-4 { margin-top: 1.75rem; }
  .mt-5 { margin-top: 2.25rem; }
  .mt-6 { margin-top: 3rem; }
  .btn {
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }

  /* A compact header leaves the persistent conversion work to the thumb bar. */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 84;
  }
  .site-header__in {
    min-height: 88px;
    gap: 0.75rem;
    padding-inline: 1.25rem;
  }
  .wordmark {
    width: min(10.75rem, calc(100vw - 9.5rem));
    min-width: 0;
  }
  .header-phone-icon { display: none; }
  .nav-toggle {
    flex: 0 0 auto;
    margin-left: auto;
    min-width: 4.5rem;
    padding-inline: 0.9rem;
    background: var(--porcelain);
  }
  .nav-toggle[aria-expanded="true"] {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--porcelain);
  }
  .site-nav {
    position: fixed;
    inset: 88px 0 calc(64px + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 1rem 1.25rem 2rem;
    background: var(--porcelain);
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline-strong);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { border-top: 1px solid var(--hairline); }
  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: 0.75rem 0.25rem;
    font-size: 0.9375rem;
  }
  .site-nav a::after {
    content: "\2192";
    margin-left: auto;
    color: var(--eucalypt-deep);
    font-size: 1.1rem;
  }

  .thumb-bar {
    height: calc(64px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
  }
  .thumb-bar a {
    min-height: 64px;
    padding-inline: 0.75rem;
    font-size: 0.875rem;
  }

  /* Homepage: typography leads; the Living Arch remains as a quiet watermark. */
  .hero {
    padding-block: clamp(3.25rem, 14vw, 4rem) 3.25rem;
  }
  .hero__grid {
    position: relative;
    display: block;
  }
  .hero__grid > div:first-child { position: relative; z-index: 1; }
  .hero__grid > div:last-child {
    position: absolute;
    z-index: 0;
    top: 8.5rem;
    right: -8.5rem;
    width: 20rem;
    opacity: 0.13;
    pointer-events: none;
  }
  .hero .arch-contours {
    inset: auto -45% -12% auto;
    width: 115%;
    height: 70%;
  }
  .hero__kicker {
    max-width: 18rem;
    margin-bottom: 1rem;
    line-height: 1.55;
  }
  .hero h1 { max-width: 8.5em; }
  .hero__sub {
    margin-top: 1.25rem;
    max-width: none;
    font-size: var(--fs-body-sm);
    line-height: 1.58;
  }
  .hero__ctas {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.75rem;
  }
  .hero__ctas .btn { width: 100%; }
  .hero__note {
    margin-top: 1.25rem;
    font-size: 1rem;
    line-height: 1.5;
  }
  .page-home .hero + section { padding-bottom: 3rem !important; }

  /* Proof reads like a compact chart rather than three oversized posters. */
  .proof__item {
    display: grid;
    grid-template-columns: 7.25rem minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    min-height: 6.75rem;
    padding: 1.25rem 0;
  }
  .proof__num { line-height: 0.95; }
  .proof__note {
    margin-top: 0;
    font-size: 1rem;
    line-height: 1.42;
  }

  /* Service rows become generous thumb targets with a useful second line. */
  .svc-row {
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: 0.25rem 0.875rem;
    min-height: 78px;
    padding: 1rem 0.25rem;
  }
  .svc-row__icon,
  .svc-row__icon svg {
    width: 38px;
    height: 38px;
  }
  .svc-row__icon { grid-row: 1 / span 2; align-self: center; }
  .svc-row__name {
    min-width: 0;
    font-size: 1.18rem;
    line-height: 1.25;
  }
  .svc-row__go {
    grid-column: 2;
    justify-self: start;
    font-size: 0.75rem;
  }
  .page-services .svc-row {
    grid-template-rows: auto auto auto;
    padding-block: 1.15rem;
  }
  .page-services .svc-row__icon { grid-row: 1 / span 3; align-self: start; margin-top: 0.1rem; }
  .page-services .svc-row__desc {
    display: block;
    grid-column: 2;
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.45;
  }

  /* Interior pages open quickly and reserve space for the story, not chrome. */
  .breadcrumb { padding-top: 1.4rem; }
  .breadcrumb ol { gap: 0.4em; line-height: 1.5; }
  .breadcrumb li + li::before { margin-right: 0.4em; }
  .page-hero { padding-block: 2.25rem 3.25rem; }
  .page-hero__icon,
  .page-hero__icon svg {
    width: 50px;
    height: 50px;
  }
  .page-hero__icon { margin-bottom: 1.15rem; }
  .page-hero h1 { max-width: 11em; }
  .page-hero__lead {
    margin-top: 1rem;
    max-width: none;
    font-size: var(--fs-body-sm);
    line-height: 1.58;
  }
  .emergency-phone {
    font-size: clamp(1.85rem, 9.2vw, 2.35rem);
    line-height: 1.15;
    text-underline-offset: 5px;
  }

  .card {
    padding: clamp(1.25rem, 6.5vw, 1.75rem);
    border-radius: 24px 24px 24px 4px;
  }
  .feature-split { gap: 2.75rem; }
  .feature-split .img-mask:not([style*="aspect-ratio"]) { aspect-ratio: 4 / 3; }
  .feature-split .img-mask img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
  }

  .portrait__frame img {
    aspect-ratio: 4 / 4.4 !important;
    object-position: center 24%;
  }
  .portrait__quote {
    margin-top: 1rem;
    font-size: 1.25rem;
    line-height: 1.48;
  }
  .portrait__caption { margin-top: 0.75rem; line-height: 1.5; }

  .consult-layout { gap: 2.75rem; }
  .consult-sheet dl { margin-top: 0.25rem; }
  .consult-sheet dt { padding-top: 1rem; margin-top: 1rem; }
  .consult-sheet dd {
    margin-top: 0.35rem;
    font-size: 1rem;
    line-height: 1.55;
  }
  .consult-sheet__ctas { display: none; }
  .plan-step {
    gap: 0.4rem;
    padding: 1.5rem 0;
  }
  .plan-step h3 { margin-bottom: 0.45rem; }
  .plan-step p { font-size: 1rem; line-height: 1.58; }

  .faq__q {
    gap: 1rem;
    min-height: 68px;
    padding: 1rem 0.25rem;
    font-size: var(--fs-body-sm);
    line-height: 1.45;
  }
  .faq__toggle { width: 24px; height: 24px; }
  .faq__a p {
    padding: 0.25rem 0.25rem 1.4rem;
    font-size: 1rem;
    line-height: 1.58;
  }

  .pull-quote { padding-block: 3.75rem; }
  .pull-quote__stars { margin-bottom: 1.15rem; }
  .pull-quote blockquote { line-height: 1.38; }
  .pull-quote figcaption { margin-top: 1.35rem; }

  .honesty-band { padding-block: 3.25rem; }
  .honesty-band__in {
    flex-direction: column;
    gap: 1.75rem;
  }
  .honesty-band blockquote { font-size: 1.6rem; }
  .honesty-band__docs { gap: 1.75rem; }
  .honesty-band__doc .thumb { width: 68px; height: 78px; }
  .honesty-band__doc .caption {
    margin-top: 0.45rem;
    font-size: 1rem;
  }

  .cta-banner { padding-block: 3.75rem; }
  .cta-banner .arch-contours {
    inset: auto -55% -25% auto;
    width: 125%;
  }
  .cta-banner__in {
    display: grid;
    gap: 1.75rem;
  }
  .cta-banner__phone {
    margin-top: 0.65rem;
    font-size: clamp(1.75rem, 8.5vw, 2.15rem);
  }
  .cta-banner__sub { line-height: 1.55; }
  .cta-banner .btn { width: 100%; }

  .emergency-ribbon { min-height: 0; }
  .emergency-ribbon .container {
    gap: 0.35rem 0.75rem;
    padding-block: 1rem;
  }
  .emergency-ribbon p { font-size: 1rem; line-height: 1.45; }
  .emergency-ribbon a { min-height: 44px; display: inline-flex; align-items: center; }

  .site-footer .arch-horizon { min-height: 54px; object-fit: cover; }
  .site-footer__in { padding-block: 3rem 1.75rem; }
  .footer-grid { gap: 2.75rem; }
  .footer-grid > * + * {
    border-top: 1px solid rgba(246, 244, 239, 0.15);
    padding-top: 2.5rem;
  }
  .footer-logo { width: min(100%, 15rem); margin-bottom: 1.75rem; }
  .footer-861a { font-size: clamp(5rem, 25vw, 7rem); }
  .footer-addr address { margin-top: 1rem; }
  .dot-leaders a { min-height: 44px; padding-block: 0.5rem; }
  .footer-hours div { min-height: 44px; align-items: center; }
  .footer-bottom {
    display: grid;
    gap: 1.5rem;
    margin-top: 3rem;
  }
  .footer-bottom .fine { line-height: 1.6; }
  .footer-signoff { align-items: flex-start; }

  .chart-table { font-size: 1rem; }
  .chart-table th,
  .chart-table td { padding: 0.85rem 0.25rem; line-height: 1.45; }
  .chart-table th { width: 52%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal, .js .reveal-stagger > *, .js .keyline.reveal-line {
    opacity: 1 !important;
    transform: none !important;
  }
  .js .living-arch.will-draw .arch-tooth { stroke-dashoffset: 0; }
}

/* ---------- Print ---------- */
@media print {
  .poster-frame, .rail, .thumb-bar, .emergency-ribbon, body::after { display: none; }
}
