/* ==========================================================================
   Dentist on Waverley — "Waverley Morning"
   Morning light in a garden suburb: cream paper, gum-leaf line work,
   a sunrise arch, wavy seams, and a phone number that is never off-screen.
   Per site-morning/DESIGN-DIRECTION.md.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Paper */
  --cream:        #FBF6EB;
  --sand:         #F2E6CF;
  --apricot-wash: #FAE4C8;

  /* Ink */
  --ink:      #33302A;
  --ink-soft: #5C564A;

  /* Greens */
  --leaf:      #44634E;
  --leaf-deep: #35503E;

  /* Warmth */
  --terracotta:      #A8502A;
  --terracotta-deep: #8F4423;
  --apricot:         #F2B279;
  --honey:           #D9A441;

  /* Emergency only */
  --ember:      #9C2B23;
  --ember-deep: #82231C;
  --ember-wash: #F9E3DE;

  --rule: rgba(51, 48, 42, 0.22);

  /* Type scale */
  --fs-hero:    clamp(2.6rem, 5.6vw, 4.4rem);
  --fs-h2:      clamp(1.85rem, 3.4vw, 2.6rem);
  --fs-h3:      1.4rem;
  --fs-h4:      1.1875rem;
  --fs-quote:   clamp(1.5rem, 2.7vw, 2.2rem);
  --fs-body:    1.0625rem;
  --fs-body-lg: 1.1875rem;
  --fs-caption: 1rem;
  --fs-eyebrow: 0.875rem;
  --fs-numeral: clamp(3rem, 5.5vw, 4.5rem);

  --font-display: "Young Serif", "Iowan Old Style", Georgia, serif;
  --font-body:    "Atkinson Hyperlegible", "Gill Sans", system-ui, sans-serif;

  --ease: cubic-bezier(0.25, 0.6, 0.3, 1);
  --container: 71rem;
  --press-shadow: 3px 3px 0 rgba(51, 48, 42, 0.16);

  /* One reusable hand-drawn wave (preserveAspectRatio=none, 1440x60) */
  --wave-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0,34 C120,16 260,8 430,22 C600,36 690,52 880,42 C1060,33 1150,10 1290,14 C1360,16 1410,24 1440,30 L1440,60 L0,60 Z'/%3E%3C/svg%3E");
  /* Hand-wobbled horizontal rule (repeats) */
  --wobble-rule: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='6' viewBox='0 0 220 6'%3E%3Cpath d='M0,3.4 C30,2.2 55,4.4 85,3.2 C115,2.1 140,4.6 175,3.4 C195,2.8 210,3.4 220,3.4' fill='none' stroke='%2333302A' stroke-opacity='0.32' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  /* Wavy link underline in gum-leaf green */
  --squiggle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='7' viewBox='0 0 44 7'%3E%3Cpath d='M1,4.5 C6,1.5 10,6 16,3.8 C22,1.6 26,5.8 32,3.6 C37,1.8 41,4.6 43,3.6' fill='none' stroke='%2344634E' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---------- Inherited content-page vocabulary ----------
   The first option is the shared, verified copy source. These selectors let
   its richer treatment pages speak Waverley Morning without duplicating or
   weakening the design system. */
.breadcrumb { padding-block: 1.25rem; }
.breadcrumb ol, .breadcrumb__list {
  display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; padding: 0;
  font-size: .875rem; color: var(--ink-soft);
}
.breadcrumb li + li::before { content: "›"; margin-right: .55rem; color: var(--terracotta); }
.breadcrumb a { color: var(--leaf); text-underline-offset: 3px; }

.page-hero { position: relative; padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 9vw, 7rem); overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; width: min(48vw, 34rem); aspect-ratio: 1;
  border: clamp(1.25rem, 4vw, 3.5rem) solid var(--apricot-wash); border-radius: 50%;
  right: -12%; top: -34%; opacity: .8; pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero__icon { width: 4.5rem; color: var(--leaf); margin-bottom: 1.35rem; }
.page-hero__lead { margin-top: 1.35rem; font-size: clamp(1.15rem, 2vw, 1.35rem); max-width: 58ch; color: var(--ink-soft); }
.label { font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--terracotta); }
.emergency-hero { background: var(--ember-wash); }
.emergency-phone { color: var(--ember); font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.6rem); text-decoration-thickness: 2px; text-underline-offset: .18em; }

.keyline { height: 6px; max-width: var(--container); margin: 0 auto 3rem; background-image: var(--wobble-rule); opacity: .65; }
.section--mist, .section--sand { background: var(--sand); position: relative; }
.card, .consult-sheet {
  background: #fffaf0; border: 1px solid var(--rule); border-radius: 28px 9px 28px 12px;
  padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: var(--press-shadow);
}
.consult-layout { display: grid; grid-template-columns: minmax(17rem, .82fr) minmax(0, 1.3fr); gap: clamp(2.25rem, 6vw, 6rem); align-items: start; }
.consult-sheet { position: sticky; top: 7rem; }
.consult-sheet h2 { font-size: 1.65rem; }
.consult-sheet dl { margin-top: 1.25rem; }
.consult-sheet dt { margin-top: 1rem; font-weight: 700; color: var(--leaf-deep); }
.consult-sheet dd { margin: .25rem 0 0; color: var(--ink-soft); }
.consult-sheet__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.consult-plan .plan-step { border-top: 1px solid var(--rule); padding-block: 1.65rem; }

.faq__toggle { position: relative; width: 1.3rem; height: 1.3rem; flex: none; }
.faq__toggle::before, .faq__toggle::after { content: ""; position: absolute; inset: 50% 0 auto; height: 2px; background: currentColor; transition: transform .25s var(--ease); }
.faq__toggle::after { transform: rotate(90deg); }
.faq__item.is-open .faq__toggle::after { transform: rotate(0); }

.svc-rows { border-top: 1px solid var(--rule); }
.svc-row { display: grid; grid-template-columns: 3rem 3.5rem minmax(10rem, .75fr) 1.3fr auto; align-items: center; gap: 1rem; padding: 1.25rem .5rem; border-bottom: 1px solid var(--rule); text-decoration: none; transition: background .25s var(--ease), transform .25s var(--ease); }
.svc-row:hover { background: var(--apricot-wash); transform: translateX(.3rem); }
.svc-row__num { color: var(--terracotta); font-weight: 700; }
.svc-row__icon { color: var(--leaf); }
.svc-row__name { font-family: var(--font-display); font-size: 1.25rem; }
.svc-row__desc { color: var(--ink-soft); }
.svc-row__go { color: var(--leaf); font-weight: 700; }

.honesty-band { background: var(--apricot-wash); padding: clamp(3.5rem, 7vw, 6rem) 0; }
.honesty-band__in { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.honesty-band blockquote { max-width: 24ch; font-family: var(--font-display); font-size: var(--fs-quote); }
.honesty-band__docs { display: flex; gap: 1.25rem; }
.honesty-band__doc .thumb { width: 5.5rem; aspect-ratio: 1; border-radius: 45% 55% 48% 52%; overflow: hidden; }
.honesty-band__doc img { width: 100%; height: 100%; object-fit: cover; }

.cta-banner { position: relative; overflow: hidden; background: var(--terracotta); color: var(--cream); padding: clamp(3.5rem, 7vw, 6rem) 0; }
.cta-banner .arch-contours { position: absolute; inset: -30% -5% auto auto; width: 50%; opacity: .18; }
.cta-banner__in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-banner__phone { display: inline-block; margin-top: .6rem; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.4rem); }
.cta-banner__sub { margin-top: .5rem; }
.btn--milk, .btn--emergency { background: var(--cream); color: var(--terracotta-deep); }
.btn--emergency { background: var(--ember); color: white; }

.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); }
.proof__item { background: var(--cream); padding: clamp(1.5rem, 4vw, 3rem); }
.proof__num { color: var(--terracotta); font-family: var(--font-display); font-size: var(--fs-numeral); line-height: 1; }
.proof__note { margin-top: .75rem; color: var(--ink-soft); }
.chart-table { width: 100%; border-collapse: collapse; }
.chart-table th, .chart-table td { padding: 1rem; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.img-mask { overflow: hidden; border-radius: 42% 58% 47% 53%; }
.img-mask img, .portrait__frame img { width: 100%; height: 100%; object-fit: cover; }
.arch-contours, .living-arch { color: currentColor; }

@media (max-width: 760px) {
  .consult-layout { grid-template-columns: 1fr; }
  .consult-sheet { position: static; }
  .svc-row { grid-template-columns: 2.5rem 3rem 1fr auto; }
  .svc-row__desc { display: none; }
  .honesty-band__in, .cta-banner__in { align-items: flex-start; flex-direction: column; }
  .proof { grid-template-columns: 1fr; }
  .chart-table { display: block; overflow-x: auto; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: hidden;
}
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; }

/* Paper grain — good uncoated stock */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 95;
  opacity: 0.024;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='190' height='190'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='190' height='190' filter='url(%23g)'/%3E%3C/svg%3E");
}

/* ---------- Type ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-wrap: balance;
}
h1 { font-size: var(--fs-hero); line-height: 1.08; }
h2 { font-size: var(--fs-h2); line-height: 1.15; }
h3 { font-size: var(--fs-h3); line-height: 1.3; }
h4 { font-size: var(--fs-h4); font-weight: 700; line-height: 1.4; }

p { max-width: 68ch; }
.lead { font-size: var(--fs-body-lg); line-height: 1.6; }
.caption { font-size: var(--fs-caption); line-height: 1.5; color: var(--ink-soft); }
.ink-soft { color: var(--ink-soft); }
.voice { font-style: italic; }

.eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-variant: all-small-caps;
  text-transform: lowercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow .no { color: var(--terracotta); }
.eyebrow svg { width: 22px; height: 22px; flex: none; color: var(--leaf); }

/* Focus */
:focus-visible {
  outline: 2px solid var(--leaf);
  outline-offset: 3px;
  border-radius: 3px;
}
::selection { background: var(--apricot-wash); color: var(--ink); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  z-index: 300;
  background: var(--leaf-deep);
  color: var(--cream);
  padding: 0.75em 1.4em;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { left: 16px; }
.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;
}

/* ---------- Links: wavy squiggle underline ---------- */
.link {
  color: var(--leaf);
  font-weight: 700;
  text-decoration: none;
  background-image: var(--squiggle);
  background-repeat: repeat-x;
  background-position: 0 calc(100% + 1px);
  background-size: 44px 7px;
  padding-bottom: 6px;
  transition: color 300ms var(--ease);
}
.link:hover, .link:focus-visible { color: var(--leaf-deep); }
p a:not([class]), li a:not([class]) {
  color: var(--leaf);
  font-weight: 700;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
p a:not([class]):hover, li a:not([class]):hover { color: var(--leaf-deep); }

/* ---------- Buttons: misregistered print ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 700;
  text-decoration: none;
  border-radius: 12px;
  padding: 0.75em 1.6em;
  min-height: 48px;
  box-shadow: var(--press-shadow);
  transition: background-color 300ms var(--ease), border-color 300ms var(--ease),
              color 300ms var(--ease), transform 100ms var(--ease), box-shadow 100ms var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 rgba(51,48,42,0); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn--primary { background: var(--terracotta); color: var(--cream); }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--terracotta-deep); color: var(--cream); }
.btn--secondary {
  background: transparent;
  border: 1.5px solid var(--leaf);
  color: var(--leaf);
  box-shadow: 3px 3px 0 rgba(68, 99, 78, 0.16);
}
.btn--secondary:hover, .btn--secondary:focus-visible {
  background: rgba(68, 99, 78, 0.08);
  border-color: var(--leaf-deep);
  color: var(--leaf-deep);
}
.btn--cream { background: var(--cream); color: var(--terracotta); box-shadow: 3px 3px 0 rgba(51,48,42,.28); }
.btn--cream:hover, .btn--cream:focus-visible { background: #fffdf6; color: var(--terracotta-deep); }
.btn--ember { background: var(--ember); color: var(--cream); }
.btn--ember:hover, .btn--ember:focus-visible { background: var(--ember-deep); color: var(--cream); }

/* ---------- Layout scaffolding ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}
.section { position: relative; padding-block: clamp(3.5rem, 7vw, 6rem); }
.band--sand { background: var(--sand); }
.band--apricot { background: var(--apricot-wash); }
.band--terracotta { background: var(--terracotta); color: var(--cream); }
.band--ember { background: var(--ember-wash); }

/* Wavy seam: the ::before paints THIS section's colour over the previous
   band's bottom padding — no straight seams anywhere */
.wave-top::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  height: clamp(30px, 4.5vw, 54px);
  background-color: var(--wave-fill, var(--sand));
  -webkit-mask-image: var(--wave-mask);
          mask-image: var(--wave-mask);
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
}
.wave-top--flip::before { transform: scaleX(-1); }
.band--sand.wave-top::before { --wave-fill: var(--sand); }
.band--apricot.wave-top::before { --wave-fill: var(--apricot-wash); }
.band--terracotta.wave-top::before { --wave-fill: var(--terracotta); }
.band--ember.wave-top::before { --wave-fill: var(--ember-wash); }
.wave-top--cream::before { --wave-fill: var(--cream); }

/* Hand-wobbled rule */
.wobble-rule {
  height: 6px;
  background-image: var(--wobble-rule);
  background-repeat: repeat-x;
  background-size: 220px 6px;
  border: none;
}

/* Section headers: sprig + numbered eyebrow + squiggle */
.section-head { margin-bottom: clamp(2.25rem, 5vw, 3.5rem); max-width: 46rem; }
.section-head h2 { margin-top: 0.65rem; }
.section-head .voice { margin-top: 0.9rem; color: var(--ink-soft); font-size: var(--fs-body-lg); }
.section-head--centre { margin-inline: auto; text-align: center; }
.section-head--centre .head-squiggle { margin-inline: auto; }
.head-squiggle {
  display: block;
  width: 120px;
  height: 10px;
  margin-top: 1rem;
  color: var(--leaf);
}
.head-squiggle path {
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
}
.js .reveal .head-squiggle path,
.js .head-squiggle.reveal path {
  stroke-dasharray: 140;
  stroke-dashoffset: 140;
  transition: stroke-dashoffset 450ms var(--ease) 350ms;
}
.js .reveal.is-in .head-squiggle path,
.js .head-squiggle.reveal.is-in path { stroke-dashoffset: 0; }

/* Flow rhythm helper */
.flow > * + * { margin-top: 1em; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2.25rem; }
.mt-5 { margin-top: 3rem; }

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 40;
  background: transparent;
}
.site-header__in {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0.65rem clamp(1.25rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.wordmark {
  display: block;
  width: 11rem;
  text-decoration: none;
  flex: none;
}
.wordmark__crop {
  display: block;
  width: 100%;
  aspect-ratio: 1.86;
  overflow: hidden;
  border-radius: 14px 5px 14px 6px;
  background: rgba(251, 246, 235, 0.2);
  box-shadow: 0 0 0 1px rgba(68, 99, 78, 0.07);
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease);
}
.wordmark__logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  mix-blend-mode: multiply;
}
.wordmark:hover .wordmark__crop,
.wordmark:focus-visible .wordmark__crop {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(68, 99, 78, 0.13), 0 7px 16px rgba(51, 48, 42, 0.06);
}

.site-nav { margin-inline: auto; }
.site-nav ul { display: flex; gap: clamp(0.9rem, 2vw, 1.6rem); }
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
  padding: 0.35em 0.1em 0.55em;
  background-image: none;
  background-repeat: repeat-x;
  background-position: 0 calc(100% - 2px);
  background-size: 44px 7px;
}
.site-nav a:hover, .site-nav a:focus-visible {
  background-image: var(--squiggle);
}
.site-nav a[aria-current="page"] {
  color: var(--terracotta);
  font-weight: 700;
  background-image: var(--squiggle);
}
.header-phone {
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.header-phone:hover { color: var(--leaf-deep); }
.header-phone-icon {
  display: none;
  color: var(--leaf);
  border: 1.5px solid var(--leaf);
  border-radius: 50%;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  flex: none;
}
.header-phone-icon svg { width: 20px; height: 20px; }
.nav-toggle {
  display: none;
  font-weight: 700;
  border: 1.5px solid var(--rule);
  border-radius: 12px;
  padding: 0.5em 1em;
  min-height: 44px;
}

@media (max-width: 1299px) {
  .header-phone { display: none; }
  .header-phone-icon { display: inline-flex; }
}
@media (max-width: 899px) {
  .site-header__in { gap: 0.8rem; }
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--cream);
    margin: 0;
    padding: 0.5rem clamp(1.25rem, 4vw, 3rem) 2.4rem;
    box-shadow: 0 24px 24px -18px rgba(51,48,42,.12);
  }
  .site-nav::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    height: 30px;
    background-color: var(--cream);
    -webkit-mask-image: var(--wave-mask);
            mask-image: var(--wave-mask);
    -webkit-mask-size: 100% 100%;
            mask-size: 100% 100%;
    transform: scaleY(-1);
  }
  .site-nav.is-open { display: block; z-index: 50; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a {
    display: block;
    font-size: 1.25rem;
    padding: 0.9rem 0.2rem;
    background-image: var(--wobble-rule) !important;
    background-repeat: repeat-x;
    background-position: 0 100%;
    background-size: 220px 6px;
  }
}

/* ---------- The morning pill (desktop conversion affordance) ---------- */
.morning-pill {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--terracotta);
  color: var(--cream);
  border-radius: 999px;
  padding: 0.55rem 0.6rem 0.55rem 1.15rem;
  box-shadow: 0 10px 28px rgba(51, 48, 42, 0.22);
}
.morning-pill__sun { width: 26px; height: 26px; color: var(--honey); flex: none; transition: transform 300ms var(--ease); }
.morning-pill:hover .morning-pill__sun { transform: translateY(-3px); }
.morning-pill__call {
  color: var(--cream);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  padding-block: 0.55em;
}
.morning-pill__call:hover { text-decoration: underline; text-underline-offset: 3px; }
.morning-pill__divider { width: 1px; align-self: stretch; background: rgba(251, 246, 235, 0.4); }
.morning-pill__book {
  background: var(--cream);
  color: var(--terracotta);
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.55em 1.2em;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: background-color 300ms var(--ease);
}
.morning-pill__book:hover { background: #fffdf6; color: var(--terracotta-deep); }

/* ---------- Mobile bottom bar ---------- */
.morning-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: var(--cream);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  gap: 10px;
}
.morning-bar::before {
  content: "";
  position: absolute;
  top: -5px; left: 0; right: 0;
  height: 6px;
  background-image: var(--wobble-rule);
  background-repeat: repeat-x;
  background-size: 220px 6px;
}
.morning-bar .btn { flex: 1; padding-inline: 0.6em; font-size: 1rem; }
@media (max-width: 899px) {
  .morning-pill { display: none; }
  .morning-bar { display: flex; }
  body { padding-bottom: 84px; }
}

/* ---------- Hero: the sunrise arch ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(4rem, 9vw, 7.5rem);
}
.sunrise {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: radial-gradient(ellipse 88% 64% at 50% 106%,
    #F6C795 0%,
    var(--apricot) 42%,
    rgba(242, 178, 121, 0.55) 58%,
    rgba(242, 178, 121, 0.22) 66%,
    rgba(251, 246, 235, 0) 78%);
}
/* Dappled gum-leaf shadows drifting over the arch */
.dapple {
  position: absolute;
  z-index: -1;
  width: 40vw;
  max-width: 560px;
  aspect-ratio: 1.4;
  pointer-events: none;
  opacity: 0.045;
  filter: blur(30px);
  color: var(--ink);
}
.dapple--a { right: -6vw; bottom: -8%; animation: drift-a 50s var(--ease) infinite alternate; }
.dapple--b { left: 4vw; bottom: 18%; width: 30vw; opacity: 0.035; animation: drift-b 50s var(--ease) infinite alternate; }
@keyframes drift-a {
  from { transform: translate(0, 0) rotate(0deg); }
  to   { transform: translate(-4%, 3%) rotate(4deg); }
}
@keyframes drift-b {
  from { transform: translate(0, 0) rotate(0deg); }
  to   { transform: translate(5%, -2%) rotate(-3deg); }
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__kicker { margin-bottom: 1.1rem; }
.hero__sub { margin-top: 1.4rem; font-size: var(--fs-body-lg); line-height: 1.6; max-width: 34rem; }
.hero__ctas { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__note { margin-top: 1.5rem; font-size: var(--fs-caption); color: var(--ink-soft); }
.hero__sprig { width: min(100%, 380px); margin-inline: auto; color: var(--leaf); position: relative; }
.hero__sprig::before {
  content: "";
  position: absolute;
  inset: 12% 6% 4% 10%;
  background: var(--apricot);
  opacity: 0.4;
  border-radius: 54% 46% 58% 42% / 48% 55% 45% 52%;
  z-index: -1;
  filter: blur(6px);
}
@media (max-width: 899px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__sprig { width: min(62vw, 280px); margin-top: 0.5rem; }
}

/* Hand-drawn squiggle under the hero's key word */
.squig-word { position: relative; white-space: nowrap; }
.squig-word svg {
  position: absolute;
  left: 2%;
  bottom: -0.16em;
  width: 92%;
  height: 0.14em;
  color: var(--leaf);
  overflow: visible;
}
.squig-word svg path { stroke: currentColor; stroke-width: 7; fill: none; stroke-linecap: round; }

/* Hero load choreography — gated by sessionStorage via .morning-rise on <html> */
.morning-rise .hero__stage > * { opacity: 0; transform: translateY(10px); }
.morning-rise .sunrise, .morning-rise .hero__sprig { opacity: 0; transform: none; }
.morning-rise.is-risen .sunrise { opacity: 1; transition: opacity 900ms var(--ease); }
.morning-rise.is-risen .hero__stage > * {
  opacity: 1;
  transform: none;
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.morning-rise.is-risen .hero__stage > :nth-child(1) { transition-delay: 100ms; }
.morning-rise.is-risen .hero__stage > :nth-child(2) { transition-delay: 220ms; }
.morning-rise.is-risen .hero__stage > :nth-child(3) { transition-delay: 340ms; }
.morning-rise.is-risen .hero__stage > :nth-child(4) { transition-delay: 650ms; }
.morning-rise.is-risen .hero__stage > :nth-child(5) { transition-delay: 760ms; }
.morning-rise.is-risen .hero__sprig { opacity: 1; transition: opacity 700ms var(--ease) 650ms; }
.morning-rise .squig-word svg path { stroke-dasharray: 620; stroke-dashoffset: 620; }
.morning-rise.is-risen .squig-word svg path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 600ms var(--ease) 500ms;
}

/* ---------- The ledger vine (proof stats) ---------- */
.vine { position: relative; padding-block: clamp(1.5rem, 3vw, 2.5rem); }
.vine__stroke {
  position: absolute;
  left: 0; right: 0;
  bottom: clamp(0.4rem, 1.5vw, 1rem);
  width: 100%;
  height: 26px;
  color: var(--leaf);
  opacity: 0.55;
}
.vine__stroke path { stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }
.js .vine__stroke path { stroke-dasharray: 1520; stroke-dashoffset: 1520; }
.js .vine.is-in .vine__stroke path { stroke-dashoffset: 0; transition: stroke-dashoffset 1400ms var(--ease) 200ms; }
.vine__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  text-align: center;
}
.vine__stat { position: relative; padding-bottom: 2.4rem; }
.vine__num {
  font-family: var(--font-display);
  font-size: var(--fs-numeral);
  line-height: 1.05;
  color: var(--ink);
}
.vine__num .unit { font-size: 0.5em; }
.vine__note {
  margin: 0.35rem auto 0;
  font-style: italic;
  color: var(--ink-soft);
  font-size: var(--fs-caption);
  max-width: 22ch;
}
.vine__dot {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 14px; height: 14px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--honey);
  border: 2px solid var(--cream);
  box-shadow: 0 0 0 1.5px var(--leaf);
}
@media (max-width: 719px) {
  .vine__row { grid-template-columns: 1fr; gap: 1.75rem; }
  .vine__stroke { display: none; }
  .vine__stat { padding-bottom: 1.4rem; }
}

/* ---------- Garden-bed service rows ---------- */
.garden { display: flex; flex-direction: column; }
.garden-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding-block: clamp(1.5rem, 3.5vw, 2.4rem);
}
.garden-row:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) 120px; }
.garden-row:nth-of-type(even) .garden-row__icon { order: 2; }
.garden-row__icon {
  width: 96px;
  height: 96px;
  color: var(--leaf);
  justify-self: center;
  transition: transform 300ms var(--ease);
}
.garden-row__icon--ember { color: var(--ember); }
.garden-row:hover .garden-row__icon { transform: translateY(-4px); }
.garden-row h3 { margin-bottom: 0.4rem; }
.garden-row p { color: var(--ink-soft); }
.garden-row__go {
  display: inline-block;
  margin-top: 0.7rem;
  color: var(--leaf);
  font-weight: 700;
  background-image: var(--squiggle);
  background-repeat: repeat-x;
  background-position: 0 calc(100% + 1px);
  background-size: 44px 7px;
  padding-bottom: 6px;
  opacity: 0.85;
  transition: opacity 300ms var(--ease), color 300ms var(--ease);
}
.garden-row:hover .garden-row__go { opacity: 1; color: var(--leaf-deep); }
.garden-sprig {
  display: flex;
  justify-content: center;
  color: var(--leaf);
  opacity: 0.6;
}
.garden-sprig svg { width: 26px; height: 26px; }
@media (max-width: 639px) {
  .garden-row, .garden-row:nth-child(even) { grid-template-columns: 72px minmax(0, 1fr); }
  .garden-row:nth-child(even) .garden-row__icon { order: 0; }
  .garden-row__icon { width: 60px; height: 60px; }
}

/* ---------- Pebble portraits ---------- */
.pebble-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 719px) { .pebble-pair { grid-template-columns: 1fr; } }
.portrait { max-width: 26rem; }
.portrait__pebble {
  position: relative;
  margin-bottom: 1.5rem;
}
.portrait__pebble::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2.5px solid var(--leaf);
  border-radius: inherit;
  transform: translate(13px, 14px);
  z-index: -1;
}
.portrait__pebble,
.portrait__pebble img { border-radius: 58% 42% 52% 48% / 50% 60% 40% 50%; }
.portrait--b .portrait__pebble,
.portrait--b .portrait__pebble img { border-radius: 44% 56% 46% 54% / 58% 44% 60% 42%; }
.portrait__pebble img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  filter: sepia(0.22) saturate(0.72) contrast(0.98);
  transition: filter 400ms var(--ease);
}
.portrait:hover .portrait__pebble img,
.portrait:focus-within .portrait__pebble img { filter: none; }
.portrait__name { font-family: var(--font-display); font-size: var(--fs-h3); }
.portrait__quote {
  font-style: italic;
  font-size: var(--fs-body-lg);
  margin-top: 0.6rem;
  color: var(--ink);
}
.portrait__quote::before { content: "“"; color: var(--honey); font-family: var(--font-display); }
.portrait__quote::after { content: "”"; color: var(--honey); font-family: var(--font-display); }
.portrait__caption { margin-top: 0.6rem; font-size: var(--fs-caption); color: var(--ink-soft); }

/* Mini pebbles (honesty band, covenant) */
.pebble-thumb {
  width: 72px; height: 72px;
  border-radius: 46% 54% 48% 52% / 54% 46% 56% 44%;
  overflow: hidden;
  flex: none;
}
.pebble-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Leaf-framed feature images ---------- */
.leaf-frame {
  position: relative;
  border-radius: 76px 18px 76px 18px;
  overflow: hidden;
}
.leaf-frame img { width: 100%; height: 100%; object-fit: cover; }
.leaf-frame--flip { border-radius: 18px 76px 18px 76px; }

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

/* ---------- Paper note (consult/summary card equivalent) ---------- */
.paper-note {
  position: relative;
  background: var(--sand);
  border-radius: 10px;
  padding: 2rem 1.8rem 1.8rem;
}
.band--sand .paper-note { background: var(--cream); }
.paper-note::before {
  content: "";
  position: absolute;
  top: -13px;
  left: 50%;
  width: 92px;
  height: 26px;
  transform: translateX(-50%) rotate(-3deg);
  background: var(--apricot);
  opacity: 0.55;
  border-radius: 2px;
}
.paper-note h3 { margin-bottom: 0.5rem; }
.paper-note h4 { margin-top: 1.4rem; }
.paper-note h4:first-of-type { margin-top: 0.9rem; }
.paper-note__ctas { display: flex; flex-direction: column; gap: 0.9rem; margin-top: 1.6rem; }
.paper-note__ctas .btn { width: 100%; }
.paper-note--sticky { position: sticky; top: 1.5rem; }

/* ---------- Plan steps ---------- */
.plan { counter-reset: step; display: flex; flex-direction: column; gap: 0; }
.plan-step {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 1.4rem;
  padding-block: 1.6rem;
}
.plan-step + .plan-step::before {
  content: "";
  position: absolute;
  left: 31px;
  top: -0.9rem;
  height: 2.4rem;
  border-left: 2px dotted var(--leaf);
  opacity: 0.6;
}
.plan-step__num {
  width: 64px; height: 64px;
  display: grid;
  place-items: center;
  background: var(--sand);
  border-radius: 48% 52% 46% 54% / 52% 46% 55% 45%;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--terracotta);
}
.band--sand .plan-step__num { background: var(--cream); }
.plan-step h3, .plan-step h4 { margin-bottom: 0.3rem; }

/* ---------- Tables (hours etc.) ---------- */
.hours-table { width: 100%; max-width: 30rem; border-collapse: collapse; font-size: var(--fs-body); }
.hours-table th, .hours-table td {
  text-align: left;
  padding: 0.75rem 0.25rem;
  background-image: var(--wobble-rule);
  background-repeat: repeat-x;
  background-position: 0 100%;
  background-size: 220px 6px;
}
.hours-table th { font-weight: 700; }
.hours-table td { text-align: right; }
.hours-table tr:last-child th, .hours-table tr:last-child td { background-image: none; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 46rem; }
.faq__item {
  background-image: var(--wobble-rule);
  background-repeat: repeat-x;
  background-position: 0 100%;
  background-size: 220px 6px;
  padding-bottom: 2px;
  transition: background-color 300ms var(--ease);
  border-radius: 10px 10px 0 0;
}
.faq__item.is-open { background-color: rgba(250, 228, 200, 0.4); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 60px;
  padding: 1rem 0.5rem;
  text-align: left;
  font-weight: 700;
  font-size: var(--fs-body);
}
.faq__q .faq__plus {
  flex: none;
  width: 22px; height: 22px;
  color: var(--leaf);
  transition: transform 250ms var(--ease);
}
.faq__item.is-open .faq__plus { transform: rotate(45deg); }
.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 0.5rem 1.2rem; color: var(--ink-soft); }

/* ---------- Pull-quote interlude ---------- */
.pull-quote {
  text-align: center;
  max-width: 52rem;
  margin-inline: auto;
}
.pull-quote__mark { width: 54px; height: 42px; margin: 0 auto 0.8rem; color: var(--honey); }
.pull-quote__mark path { stroke: currentColor; stroke-width: 3.5; fill: none; stroke-linecap: round; }
.pull-quote blockquote {
  font-family: var(--font-display);
  font-size: var(--fs-quote);
  line-height: 1.35;
  text-wrap: balance;
}
.pull-quote blockquote p { max-width: none; }
.pull-quote__stars { display: flex; justify-content: center; gap: 6px; margin-bottom: 1.1rem; color: var(--honey); }
.pull-quote__stars svg { width: 22px; height: 22px; }
.pull-quote figcaption { margin-top: 1.3rem; }

/* ---------- Honesty band (covenant) ---------- */
.honesty { text-align: center; }
.honesty__sprig { width: 40px; height: 40px; margin: 0 auto 1rem; color: var(--leaf); }
.honesty blockquote {
  font-family: var(--font-display);
  font-size: var(--fs-quote);
  line-height: 1.3;
  max-width: 40ch;
  margin-inline: auto;
  text-wrap: balance;
}
.honesty__docs {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  flex-wrap: wrap;
}
.honesty__doc { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.honesty__doc .caption { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 52% at 50% 112%,
    rgba(242, 178, 121, 0.5) 0%,
    rgba(242, 178, 121, 0.18) 55%,
    rgba(242, 178, 121, 0) 75%);
}
.cta-band__in {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--cream); }
.cta-band__phone {
  display: inline-block;
  margin-top: 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  color: var(--cream);
  text-decoration: none;
}
.cta-band__phone:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.cta-band__hours { margin-top: 0.7rem; color: rgba(251, 246, 235, 0.85); font-size: var(--fs-caption); }

/* ---------- Emergency strip ---------- */
.emergency-strip { position: relative; }
.emergency-strip__in {
  display: flex;
  align-items: center;
  gap: 0.6rem 1.6rem;
  flex-wrap: wrap;
  /* bottom padding clears the footer's incoming wave */
  padding-block: 1.2rem calc(clamp(30px, 4.5vw, 54px) + 1.2rem);
}
.emergency-strip p { margin: 0; font-size: var(--fs-body); }
.emergency-strip .call {
  color: var(--ember);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  white-space: nowrap;
}
.emergency-strip .call:hover { color: var(--ember-deep); }
.emergency-strip .more { font-size: var(--fs-caption); color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { position: relative; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem;
}
@media (max-width: 899px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-mark {
  display: block;
  width: min(100%, 15rem);
  margin-bottom: 1.35rem;
  text-decoration: none;
}
.footer-mark__crop {
  display: block;
  width: 100%;
  aspect-ratio: 1.78;
  overflow: hidden;
  border: 1px solid rgba(68, 99, 78, 0.1);
  border-radius: 28px 9px 28px 11px;
  background: rgba(251, 246, 235, 0.68);
  box-shadow: 3px 3px 0 rgba(51, 48, 42, 0.08);
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease);
}
.footer-mark__logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  mix-blend-mode: multiply;
}
.footer-mark:hover .footer-mark__crop,
.footer-mark:focus-visible .footer-mark__crop {
  transform: translateY(-2px) rotate(-0.25deg);
  box-shadow: 5px 6px 0 rgba(51, 48, 42, 0.1);
}
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer address a { color: var(--ink); font-weight: 700; }
.footer-pin { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 0.7rem; }
.footer-pin svg { width: 18px; height: 18px; color: var(--terracotta); flex: none; }
.site-footer h3 { font-size: var(--fs-h4); font-family: var(--font-body); font-weight: 700; margin-bottom: 0.9rem; }
.leaf-list { columns: 2; column-gap: 2rem; }
.leaf-list--single { columns: 1; }
.leaf-list li { break-inside: avoid; margin-bottom: 0.55rem; position: relative; padding-left: 1.4rem; }
.leaf-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 13px; height: 13px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M2 12 C2 6, 6 2, 12 2 C12 8, 8 12, 2 12 Z M4.5 9.5 L9.5 4.5' stroke='%2344634E' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
.leaf-list a { text-decoration: none; color: var(--ink); }
.leaf-list a:hover { color: var(--leaf-deep); text-decoration: underline; text-underline-offset: 3px; }
.footer-hours { display: grid; gap: 0.35rem; font-size: var(--fs-caption); }
.footer-hours > div { display: flex; justify-content: space-between; gap: 1rem; max-width: 18rem; }
.footer-hours dt { font-weight: 700; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  padding-block: 1.4rem 2.2rem;
  background-image: var(--wobble-rule);
  background-repeat: repeat-x;
  background-position: 0 0;
  background-size: 220px 6px;
}
.footer-bottom .fine { font-size: var(--fs-caption); color: var(--ink-soft); }
.footer-bottom .fine a { color: var(--ink-soft); }
.footer-signoff { display: flex; align-items: center; gap: 0.7rem; color: var(--ink-soft); }
.footer-signoff svg { width: 30px; height: 30px; color: var(--leaf); flex: none; transform: rotate(115deg); }
.footer-signoff span { font-style: italic; font-size: var(--fs-caption); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: var(--fs-caption); color: var(--ink-soft); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.breadcrumb li + li::before { content: "→"; margin-right: 0.4rem; color: var(--leaf); }
.breadcrumb a { color: var(--ink-soft); text-underline-offset: 3px; }
.breadcrumb a:hover { color: var(--leaf-deep); }
.breadcrumb [aria-current="page"] { font-weight: 700; color: var(--ink); }

/* ---------- Scroll reveals ---------- */
.js .reveal, .js .reveal-stagger > * {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.js .reveal.is-in, .js .reveal-stagger.is-in > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-in > :nth-child(2) { transition-delay: 90ms; }
.js .reveal-stagger.is-in > :nth-child(3) { transition-delay: 180ms; }
.js .reveal-stagger.is-in > :nth-child(4) { transition-delay: 270ms; }
.js .reveal-stagger.is-in > :nth-child(5) { transition-delay: 360ms; }
.js .reveal-stagger.is-in > :nth-child(6) { transition-delay: 450ms; }

/* ---------- Reduced motion: instant morning ---------- */
@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;
    transition-delay: 0ms !important;
  }
  .dapple--a, .dapple--b { animation: none; }
  .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; }
  .morning-rise .hero__stage > *, .morning-rise .sunrise, .morning-rise .hero__sprig { opacity: 1; transform: none; }
  .morning-rise .squig-word svg path,
  .js .vine__stroke path,
  .js .reveal .head-squiggle path { stroke-dashoffset: 0; }
}

/* ---------- Print ---------- */
@media print {
  body::after, .morning-pill, .morning-bar, .nav-toggle, .dapple, .sunrise { display: none !important; }
  body { background: #fff; color: #000; padding-bottom: 0; }
  .band--sand, .band--apricot, .band--ember { background: #fff; }
  .band--terracotta { background: #fff; color: #000; }
  .cta-band h2, .cta-band__phone, .cta-band__hours { color: #000; }
  a[href^="tel:"]::after { content: " (" attr(href) ")"; font-size: 0.85em; }
  .js .reveal, .js .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}

/* Release polish: the nav uses spacing, not browser list markers. */
.site-nav ul { list-style: none; margin: 0; padding: 0; }

@media (max-width: 520px) {
  .site-header__in { padding-inline: 1rem; gap: .5rem; }
  .header-phone-icon { display: none; }
  .nav-toggle { padding-inline: .8em; }
}

/* ========================================================================== 
   Phone composition pass
   Waverley Morning should read like a small, warm garden editorial on a
   phone—not a desktop page squeezed into one column. Everything below is
   deliberately viewport-scoped so the established desktop concept is intact.
   ========================================================================== */

@media (max-width: 899px) {
  :root {
    --fs-hero: clamp(2.35rem, 10.8vw, 2.8rem);
    --fs-h2: clamp(1.8rem, 8vw, 2.2rem);
    --fs-h3: 1.35rem;
    --fs-body-lg: clamp(1.0625rem, 4.5vw, 1.1875rem);
    --fs-numeral: clamp(2.55rem, 12vw, 3.45rem);
    --mobile-header-height: clamp(84px, 23.5vw, 94px);
  }

  html.nav-open,
  html.nav-open body { overflow: hidden; }

  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }

  .container {
    padding-inline: clamp(1.25rem, 5.75vw, 1.5rem);
  }

  /* A compact sticky paper header keeps the practice identity and menu close
     without taking over the phone viewport. */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: var(--cream);
  }
  .site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 6px;
    background-image: var(--wobble-rule);
    background-repeat: repeat-x;
    background-size: 220px 6px;
    opacity: 0.34;
    pointer-events: none;
  }
  .site-header__in {
    height: var(--mobile-header-height);
    min-height: var(--mobile-header-height);
    padding-block: 0.35rem;
  }
  .wordmark {
    width: clamp(8.35rem, 38vw, 9.5rem);
    min-height: 44px;
  }
  .nav-toggle {
    min-width: 64px;
    min-height: 46px;
    padding: 0.45rem 0.75rem;
    background: var(--cream);
    border-color: rgba(68, 99, 78, 0.32);
  }
  .nav-toggle[aria-expanded="true"] {
    color: var(--cream) !important;
    -webkit-text-fill-color: var(--cream) !important;
    background: var(--leaf-deep);
    border-color: var(--leaf-deep);
    box-shadow: var(--press-shadow);
  }
  .site-nav {
    position: fixed;
    top: var(--mobile-header-height);
    bottom: calc(70px + env(safe-area-inset-bottom, 0px));
    padding: 0.85rem clamp(1.25rem, 5.75vw, 1.5rem) 2.4rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--cream);
    box-shadow: none;
  }
  .site-nav::before {
    content: "Choose a page";
    display: block;
    margin: 0.2rem 0 0.55rem;
    color: var(--terracotta);
    font-size: var(--fs-eyebrow);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .site-nav::after {
    height: 24px;
  }
  .site-nav ul { gap: 0; }
  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: 0.72rem 0.65rem;
    border-radius: 12px 4px 12px 4px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    background-position: 0 100%;
  }
  .site-nav a[aria-current="page"] {
    background-color: var(--apricot-wash);
  }

  /* The action bar is a two-part paper ticket. Its labels remain readable at
     320px, and the safe area belongs to the bar rather than obscuring content. */
  .morning-bar {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
    align-items: stretch;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    gap: 8px;
  }
  .morning-bar::before {
    top: -6px;
    height: 7px;
    opacity: 0.9;
  }
  .morning-bar .btn {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 0.55rem 0.35rem;
    font-size: clamp(0.84rem, 3.8vw, 1rem);
    line-height: 1.15;
    box-shadow: 2px 2px 0 rgba(51, 48, 42, 0.16);
  }

  /* The sprig now grows through the sunrise instead of appearing as a large
     second column below the message. The next story peeks into view. */
  .hero {
    padding-block: clamp(1.65rem, 5vw, 2.1rem) clamp(6.75rem, 29vw, 8.25rem);
  }
  .hero__grid {
    display: block;
    position: relative;
  }
  .hero__stage {
    position: relative;
    z-index: 1;
    max-width: 34rem;
  }
  .hero__kicker { margin-bottom: 0.85rem; }
  .hero__sub {
    margin-top: 1rem;
    max-width: 32rem;
    line-height: 1.55;
  }
  .hero__ctas { display: none; }
  .hero__note {
    max-width: calc(100% - 3.25rem);
    margin-top: 1.15rem;
    padding: 0.7rem 0.8rem;
    border-left: 3px solid var(--terracotta);
    border-radius: 4px 12px 12px 4px;
    background: rgba(251, 246, 235, 0.72);
    line-height: 1.48;
  }
  .hero__sprig {
    position: absolute;
    right: -1.5rem;
    bottom: clamp(-7.25rem, -25vw, -6rem);
    width: clamp(8.25rem, 39vw, 11rem);
    margin: 0;
    opacity: 0.76;
    transform: rotate(-4deg);
    pointer-events: none;
  }
  .hero__sprig::before {
    inset: 15% 2% 0 12%;
    opacity: 0.3;
  }
  .page-home .hero__sprig { width: clamp(7.5rem, 34vw, 9.5rem); }
  .page-home .hero { padding-bottom: clamp(6.25rem, 25vw, 7.25rem); }
  .page-services .hero { padding-bottom: clamp(7.5rem, 31vw, 9rem); }
  .page-services .hero__sprig { bottom: clamp(-7.8rem, -26vw, -6.4rem); }
  .dapple { width: 78vw; max-width: 25rem; filter: blur(24px); }
  .dapple--b { width: 58vw; }

  /* Source treatment pages get the same warm, compact opening rhythm as the
     authored Morning pages. */
  .breadcrumb {
    padding-block: 0.85rem;
    font-size: 0.875rem;
  }
  .breadcrumb ol,
  .breadcrumb__list {
    gap: 0.25rem 0.42rem;
    font-size: 0.875rem;
    line-height: 1.4;
  }
  .breadcrumb li + li::before { margin-right: 0.42rem; }
  .page-hero {
    padding: clamp(2.35rem, 8vw, 3rem) 0 clamp(3.5rem, 12vw, 4.35rem);
  }
  .page-hero::after {
    width: clamp(8.5rem, 40vw, 11rem);
    right: -3.3rem;
    top: -2.25rem;
    border-width: clamp(0.8rem, 4vw, 1.1rem);
    opacity: 0.72;
  }
  .page-hero__icon {
    width: 3.35rem;
    margin-bottom: 1rem;
  }
  .page-hero .mt-2 { margin-top: 0.65rem; }
  .page-hero .mt-3 { margin-top: 1.2rem; }
  .page-hero__lead {
    margin-top: 0.9rem;
    font-size: var(--fs-body-lg);
    line-height: 1.55;
  }
  .emergency-phone { font-size: clamp(1.9rem, 9vw, 2.45rem); }

  .section { padding-block: clamp(3.35rem, 13vw, 4.35rem); }
  .section--mist,
  .section--sand { padding-block: clamp(3.35rem, 13vw, 4.35rem); }
  .section-head {
    margin-bottom: clamp(1.85rem, 7vw, 2.35rem);
  }
  .section-head h2 { margin-top: 0.5rem; }
  .section-head .voice {
    margin-top: 0.72rem;
    line-height: 1.5;
  }
  .head-squiggle {
    width: 96px;
    margin-top: 0.75rem;
  }
  .eyebrow { line-height: 1.35; }
  .keyline {
    margin-bottom: 2rem;
    opacity: 0.55;
  }
  .wave-top::before { height: clamp(24px, 8vw, 34px); }

  /* A compact vertical vine is easier to scan than three isolated statistics
     and preserves the garden-ledger signature on a narrow screen. */
  .vine {
    padding-block: 0;
  }
  .vine::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 1.2rem;
    bottom: 1.2rem;
    width: 2px;
    background: var(--leaf);
    opacity: 0.42;
    border-radius: 2px;
  }
  .vine__row {
    display: block;
    text-align: left;
  }
  .vine__stat {
    display: grid;
    grid-template-columns: 7.4rem minmax(0, 1fr);
    align-items: center;
    gap: 0.8rem;
    min-height: 96px;
    padding: 0.85rem 0 0.85rem 1.7rem;
  }
  .vine__num {
    font-size: clamp(2.35rem, 10.5vw, 2.9rem);
    white-space: nowrap;
  }
  .vine__num .unit { font-size: 0.42em; }
  .vine__note {
    max-width: 28ch;
    margin: 0;
    line-height: 1.42;
  }
  .vine__dot {
    left: 7px;
    bottom: 50%;
    width: 13px;
    height: 13px;
    transform: translate(-50%, 50%);
  }

  /* Garden rows remain unboxed and tactile, with enough icon presence to feel
     illustrated without squeezing the useful description. */
  .garden-row,
  .garden-row:nth-child(even),
  .garden-row:nth-of-type(even) {
    grid-template-columns: 3.6rem minmax(0, 1fr);
    gap: 1rem;
    min-height: 112px;
    padding: 1.2rem 0.15rem;
  }
  .garden-row:nth-child(even) .garden-row__icon,
  .garden-row:nth-of-type(even) .garden-row__icon { order: 0; }
  .garden-row__icon {
    width: 3.35rem;
    height: 3.35rem;
  }
  .garden-row h3 { margin-bottom: 0.28rem; }
  .garden-row p { line-height: 1.5; }
  .garden-row__go { margin-top: 0.48rem; }
  .garden-sprig { margin-block: -0.2rem; }
  .garden-sprig svg { width: 21px; height: 21px; }

  .feature-split { gap: clamp(1.7rem, 8vw, 2.75rem); }
  .feature-split > .flow { max-width: 42rem; }
  .leaf-frame {
    border-radius: 52px 14px 52px 14px;
  }
  .leaf-frame--flip { border-radius: 14px 52px 14px 52px; }
  .img-mask {
    border-radius: 42% 58% 46% 54% / 52% 45% 55% 48%;
  }
  .page-contact .img-mask,
  .page-new-patients .img-mask {
    aspect-ratio: 4 / 3;
  }
  .page-contact .img-mask img,
  .page-new-patients .img-mask img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .page-contact .img-mask img { object-position: 50% 58%; }

  .pebble-pair { gap: clamp(3.4rem, 14vw, 4.5rem); }
  .portrait {
    width: min(100%, 22rem);
    margin-inline: auto;
  }
  .portrait__pebble { margin-bottom: 1.25rem; }
  .portrait__pebble::before { transform: translate(9px, 10px); }
  .portrait__pebble img { aspect-ratio: 1 / 1.08; }
  .portrait__quote { margin-top: 0.45rem; line-height: 1.5; }

  /* Older shared page modules now use Morning paper geometry, not generic
     card shadows. */
  .card,
  .consult-sheet {
    padding: clamp(1.3rem, 6vw, 1.7rem);
    background: var(--sand);
    border: 0;
    border-radius: 36px 10px 36px 10px;
    box-shadow: none;
  }
  .section--mist .card,
  .section--sand .card,
  .section--mist .consult-sheet,
  .section--sand .consult-sheet { background: var(--cream); }
  .consult-layout { gap: clamp(2.6rem, 11vw, 3.6rem); }
  .consult-sheet {
    position: relative;
    top: auto;
    padding-top: 2rem;
  }
  .consult-sheet::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 50%;
    width: 82px;
    height: 24px;
    transform: translateX(-50%) rotate(-3deg);
    background: var(--apricot);
    opacity: 0.52;
    border-radius: 2px;
  }
  .paper-note {
    padding: 1.8rem 1.35rem 1.45rem;
  }

  .plan-step {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 1rem;
    padding-block: 1.25rem;
  }
  .plan-step__num {
    width: 56px;
    height: 56px;
    padding: 0.2rem;
    font-size: 0.92rem;
    line-height: 1.05;
    text-align: center;
  }
  .plan-step__num[aria-hidden="true"] { font-size: 1.2rem; }
  .plan-step + .plan-step::before {
    left: 27px;
    top: -0.75rem;
    height: 2rem;
  }

  /* Related service rows retain their useful icons and descriptions no longer
     force the arrow off a 320px viewport. */
  .svc-row {
    grid-template-columns: 1.8rem 2.7rem minmax(0, 1fr);
    gap: 0.65rem;
    min-height: 82px;
    padding: 0.95rem 0.15rem;
  }
  .svc-row__icon { width: 2.55rem; height: 2.55rem; }
  .svc-row__name { min-width: 0; font-size: 1.18rem; line-height: 1.25; }
  .svc-row__desc { display: none; }
  .svc-row__go {
    grid-column: 3;
    font-size: 0.92rem;
    line-height: 1.2;
  }

  .faq__q {
    min-height: 58px;
    padding: 0.95rem 0.25rem;
    line-height: 1.35;
  }
  .faq__a p { padding-inline: 0.25rem; }

  .chart-table {
    display: table;
    width: 100%;
    overflow: visible;
    font-size: 1rem;
  }
  .chart-table th,
  .chart-table td {
    padding: 0.8rem 0.2rem;
    line-height: 1.4;
  }
  .chart-table td { text-align: right; }

  .pull-quote { padding-inline: clamp(1.25rem, 5.75vw, 1.5rem); }
  .pull-quote__mark { width: 46px; height: 36px; }
  .pull-quote blockquote { line-height: 1.38; }
  .pull-quote figcaption { margin-top: 1rem; }
  .pull-quote__stars { margin-bottom: 0.85rem; }

  .honesty-band {
    position: relative;
    margin-top: 30px;
    padding-block: clamp(3.2rem, 12vw, 4rem);
  }
  .honesty-band::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 31px;
    background: var(--apricot-wash);
    -webkit-mask-image: var(--wave-mask);
            mask-image: var(--wave-mask);
    -webkit-mask-size: 100% 100%;
            mask-size: 100% 100%;
  }
  .honesty-band__in { gap: 1.8rem; }
  .honesty-band__docs { width: 100%; justify-content: center; }
  .honesty-band__doc { text-align: center; }
  .honesty-band blockquote { text-align: center; margin-inline: auto; }
  .honesty__docs { gap: 1.35rem; }
  .honesty__doc { max-width: 8.5rem; }
  .pebble-thumb { width: 64px; height: 64px; }

  .cta-banner {
    overflow: visible;
    margin-top: 30px;
    padding-block: clamp(3.2rem, 12vw, 4rem);
  }
  .cta-banner::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 31px;
    background: var(--terracotta);
    -webkit-mask-image: var(--wave-mask);
            mask-image: var(--wave-mask);
    -webkit-mask-size: 100% 100%;
            mask-size: 100% 100%;
  }
  .cta-banner .arch-contours { right: 0; overflow: hidden; }
  .cta-banner__in,
  .cta-band__in {
    align-items: flex-start;
    gap: 1.4rem;
  }
  .cta-banner__phone,
  .cta-band__phone {
    font-size: clamp(1.95rem, 9vw, 2.4rem);
    line-height: 1.18;
  }
  .cta-banner__sub,
  .cta-band__hours { line-height: 1.5; }
  .cta-banner .btn,
  .cta-band .btn { width: min(100%, 22rem); }

  .emergency-strip__in {
    display: grid;
    align-items: start;
    gap: 0.4rem;
    padding-block: 1.2rem calc(30px + 1.5rem);
  }
  .emergency-strip .call,
  .emergency-strip .more {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    width: fit-content;
  }
  .emergency-strip .call { margin-top: 0.15rem; }

  .footer-grid {
    gap: 2.1rem;
    padding-block: 3.2rem 2rem;
  }
  .footer-mark {
    width: min(100%, 14rem);
    margin-bottom: 1.15rem;
  }
  .footer-pin { min-height: 44px; }
  .leaf-list li {
    margin: 0;
    padding-left: 1.35rem;
  }
  .leaf-list a {
    display: flex;
    align-items: center;
    min-height: 44px;
    line-height: 1.3;
  }
  .footer-hours { gap: 0.1rem; }
  .footer-hours > div { min-height: 36px; align-items: center; }
  .footer-bottom {
    align-items: flex-start;
    padding-block: 1.35rem 1.8rem;
  }
  .footer-signoff { align-items: flex-start; }
}

@media (max-width: 639px) {
  .consult-sheet__ctas,
  .paper-note__ctas { gap: 0.72rem; }
  .consult-sheet__ctas .btn,
  .paper-note__ctas .btn { width: 100%; white-space: normal; }
  .proof__item { padding: 1.35rem 1.25rem; }
  .honesty-band__docs { gap: 1rem; }
  .honesty-band__doc .thumb { width: 4.6rem; }
}

@media (max-width: 359px) {
  :root {
    --fs-hero: 2.35rem;
    --fs-h2: 1.8rem;
  }
  .site-header__in { padding-inline: 0.9rem; }
  .wordmark { width: 8.35rem; }
  .nav-toggle { min-width: 60px; padding-inline: 0.55rem; }
  .morning-bar { padding-inline: 8px; gap: 7px; }
  .morning-bar .btn { font-size: 0.82rem; }
  .hero__note { max-width: calc(100% - 2rem); }
  .garden-row,
  .garden-row:nth-child(even),
  .garden-row:nth-of-type(even) {
    grid-template-columns: 3.15rem minmax(0, 1fr);
    gap: 0.8rem;
  }
  .garden-row__icon { width: 2.9rem; height: 2.9rem; }
  .vine__stat { grid-template-columns: 6.75rem minmax(0, 1fr); }
  .leaf-list { columns: 1; }
  .honesty-band__docs { align-items: flex-start; }
  .honesty-band__doc { max-width: 7.5rem; }
}
