/* Sacred Iris Birth brand styles. Moved out of index.html on 2026-11-27 so every page shares them. */
/* Sacred Iris Birth palette, from the logo: plum, iris and lavender on warm cream,
   with sage and soft gold as fine accents. Set through the library's own tokens.
   The page always stays light, at Danielle's request. */
:root, :root[data-theme="dark"], :root[data-theme="light"] { color-scheme: light; }
:root {
  /* Brand palette: Ivory #FAF7F2, Blush #F8E0E3, Mauve #D6B4C8, Iris #9B7BB8,
     Sage #A7B79D, Deep Plum #5B3C5E, Warm Taupe #B8A18E. */
  --text-primary: #4a3a48;
  --text-secondary: #6c5b68;
  --text-tertiary: #4a3a484d;
  --text-primary-on: #5b3c5e;
  --text-secondary-on: #5f4e5c;
  --fill-primary: #d6b4c8;
  --fill-primary-on: #faf7f2;
  --fill-tertiary: #f4ecf0;
  --fill-segment: #f2e6ec;
  --stroke-primary: #5b3c5e24;
  --stroke-secondary: #5b3c5e14;
  --stroke-primary-on: #5b3c5e14;
  --hover-wash: #5b3c5e0d;
  --hover-wash-primary-on: #5b3c5e0f;
  --mat-inverse: #fffdfa;
  --hark-blur: none;
  --hark-shadow: 0 4px 14px rgb(91 60 94 / 0.1);
  --hero-surface: #f8e0e3;
  --hero-text: #4a3a48;
  --hero-text-muted: #5f4e5c;
  --hero-scrim-strong: rgb(250 247 242 / 0.94);
  --hero-scrim-soft: rgb(250 247 242 / 0.62);
  --hero-scrim-side: rgb(250 247 242 / 0.8);
  --hero-glass: rgb(255 253 250 / 0.66);
  --hero-glass-faint: rgb(255 253 250 / 0.6);
  --hero-glass-stroke: rgb(91 60 94 / 0.14);
  --x-round: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --x-serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --x-plum: #5b3c5e;
  --x-plum-hover: #4b3050;
  --x-mauve: #d6b4c8;
  --x-mauve-hover: #cba2ba;
  --x-mauve-wash: #f3e6ee;
  --x-iris-brand: #9b7bb8;
  --x-taupe: #b8a18e;
  --x-gold: #b8a18e;
  --x-sage-accent: #a7b79d;
  --x-blush: #f8e0e3;
  --x-blush-line: #ecc6cc;
  --x-blush-stroke: #9b7bb8;
  --x-sage: #eaf0e6;
  --x-sage-line: #cfdbc7;
  --x-sage-strong: #dbe4d3;
  --x-sage-ink: #5d6c53;
  --x-lavender: #ede4f3;
  --x-lav-line: #d8c9e6;
  --x-powder: #f3ede6;
  --x-white: #fffdfa;
  --x-ivory: #faf7f2;
  --x-ink: #5b3c5e;
  --x-rose-ink: #5b3c5e;
  --x-blush-deep: #9b7bb8;
  --x-sage-deep: #a7b79d;
  --x-lav-deep: #d8c9e6;
  --x-iris: #9b7bb8;
  --x-powder-deep: #b8a18e;
  --x-card-shadow: 0 6px 18px rgb(91 60 94 / 0.07);
  --x-lift: cubic-bezier(0.23, 1, 0.32, 1);
}
html { scroll-behavior: auto; }
body { background: var(--x-ivory); }
p { text-wrap: wrap; }
.theme-btn { display: none !important; }
:focus-visible, .nav :focus-visible { outline-color: var(--x-ink); }

/* ---------- Page rhythm: full-bleed colour bands with wavy dividers ---------- */
.main { gap: 0; }
.page { gap: 0; padding-bottom: 32px; }
.nav { margin-bottom: 8px; }
.section { border-top: 0; padding-block: clamp(56px, 8vw, 104px); --band: var(--x-ivory); border-image: linear-gradient(var(--band) 0 0) fill 0 / / 0 100vmax; }
.x-bg-blush { --band: var(--x-blush); }
.x-bg-sage { --band: var(--x-sage); }
.x-bg-lav { --band: var(--x-lavender); }
.x-wave { display: block; width: 100vw; margin-inline: calc(50% - 50vw); height: clamp(28px, 4vw, 56px); background: var(--from); color: var(--to); line-height: 0; }
.x-wave svg { display: block; width: 100%; height: 100%; }
.x-wave--flip svg { transform: scaleX(-1); }
.foot { border-top: 0; padding-top: 28px; }

/* ---------- Type ---------- */
.head h2 { font-family: var(--x-round); font-weight: 800; font-size: clamp(30px, 3.8vw, 44px); line-height: 1.15; letter-spacing: -0.01em; }
.head__eyebrow, .x-eyebrow {
  display: inline-flex; align-items: center;
  font: 700 var(--size-small)/1.4 var(--x-round); letter-spacing: 0; text-transform: none; color: var(--x-rose-ink);
}
.head__sub { font-size: var(--size-prose); line-height: 1.5; }
.prose { line-height: 1.6; }

/* ---------- Buttons ---------- */
/* Pills: Deep Plum filled (primary), mauve filled (request), sage soft (packages), lavender outline (checklist) */
.btn {
  --x-btn-bg: var(--x-plum); --x-btn-bg-hover: var(--x-plum-hover);
  --x-btn-fg: var(--x-ivory); --x-btn-line: var(--x-btn-bg); --x-btn-line-hover: var(--x-btn-bg-hover);
  --x-btn-shadow: 0 6px 16px rgba(91, 60, 94, 0.24); --x-btn-shadow-hover: 0 10px 22px rgba(91, 60, 94, 0.32);
  min-height: var(--tap); padding: 12px 26px; gap: 8px; border-radius: var(--r-pill);
  background: var(--x-btn-bg); border: 1.5px solid var(--x-btn-line); color: var(--x-btn-fg);
  font: 800 var(--size-body)/1.2 var(--x-round); letter-spacing: 0;
  box-shadow: var(--x-btn-shadow);
  transition: transform var(--dur-quick) var(--x-lift), box-shadow var(--dur-quick) ease, background var(--dur-quick) ease;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); background: var(--x-btn-bg-hover); border-color: var(--x-btn-line-hover); color: var(--x-btn-fg); box-shadow: var(--x-btn-shadow-hover); }
.btn:active { transform: translateY(0) scale(0.98); background: var(--x-btn-bg-hover); border-color: var(--x-btn-line-hover); box-shadow: var(--x-btn-shadow); }
.btn:focus-visible { outline: 3px solid var(--x-ink); outline-offset: 3px; }
.btn[target="_blank"]::after { color: currentColor; }
.btn svg { flex: none; width: 16px; height: 16px; }
.x-btn-primary, .btn.x-btn-primary, .btn.x-pkg-btn {
  --x-btn-bg: var(--x-mauve); --x-btn-bg-hover: var(--x-mauve-hover); --x-btn-fg: var(--x-plum);
  --x-btn-shadow: 0 6px 16px rgba(160, 110, 140, 0.24); --x-btn-shadow-hover: 0 10px 22px rgba(160, 110, 140, 0.34);
}
.btn.x-btn-sage {
  --x-btn-bg: var(--x-sage); --x-btn-bg-hover: var(--x-sage-strong); --x-btn-fg: var(--x-plum);
  --x-btn-line: var(--x-sage-accent); --x-btn-line-hover: var(--x-sage-accent);
  --x-btn-shadow: none; --x-btn-shadow-hover: 0 6px 14px rgba(120, 140, 110, 0.2);
}
.btn.x-btn-lav {
  --x-btn-bg: transparent; --x-btn-bg-hover: var(--x-lavender); --x-btn-fg: var(--x-plum);
  --x-btn-line: var(--x-iris-brand); --x-btn-line-hover: var(--x-iris-brand);
  --x-btn-shadow: none; --x-btn-shadow-hover: 0 6px 14px rgba(155, 123, 184, 0.2);
}
/* Plum serif headings, taupe moon-and-star motif */
.head h2, .cards h3, .step h3, .x-rate-tile h3, .x-est h3, .x-faq summary { color: var(--x-plum); }
.x-portrait__moon, .x-night-motif, .x-closing svg { color: var(--x-taupe) !important; }
.x-statbar li + li { border-left-color: rgb(184 161 142 / 0.45) !important; }
.x-quote__by { border-top-color: rgb(184 161 142 / 0.5) !important; }
.x-bg-mauve { --band: var(--x-mauve-wash); }
@media (max-width: 760px) { .btn.x-btn-primary, .btn.x-pkg-btn, .x-form button.btn { min-height: 52px; } }
@media (prefers-reduced-motion: reduce) { .btn:active, .btn:focus-visible { transform: none !important; } }
.chip--solid { background: var(--x-lav-deep); color: var(--x-plum); }

/* ---------- Hero ---------- */
.x-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; gap: clamp(32px, 5vw, 72px); padding-block: clamp(32px, 6vw, 80px) clamp(40px, 6vw, 72px); }
.x-hero__copy { display: grid; gap: 22px; justify-items: start; }
.x-hero .x-eyebrow { line-height: 1.6; max-width: 46ch; }
.x-hero h1 { font-family: var(--x-round); font-weight: 800; font-size: clamp(38px, 5.4vw, 64px); line-height: 1.08; letter-spacing: -0.015em; max-width: 14ch; }
.x-hero__sub { font-family: var(--x-round); font-weight: 600; font-size: clamp(18px, 1.8vw, 21px); line-height: 1.5; max-width: 34ch; color: var(--text-secondary); }
.x-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding-top: 6px; }
.x-hero__actions .btn { padding-inline: 28px; min-height: 52px; font-size: var(--size-body); }
.x-textlink { display: inline-flex; align-items: center; min-height: var(--tap); gap: 8px; font: var(--type-label); color: var(--x-ink); text-decoration: underline; text-decoration-color: var(--x-blush-deep); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.x-textlink:hover { text-decoration-color: currentColor; }
.x-portrait { position: relative; margin: 0; justify-self: center; align-self: center; display: flex; flex-direction: column; align-items: center; gap: 10px; width: auto; height: auto; }
.x-portrait img {
  display: block; flex: 0 0 auto; flex-shrink: 0; align-self: center;
  width: 220px; height: 220px; min-width: 0; min-height: 0; max-width: none; max-height: none; aspect-ratio: 1 / 1;
  object-fit: cover; object-position: center 35%; border-radius: 50%;
  border: 4px solid var(--x-blush); background: var(--x-blush); box-sizing: border-box;
}
.x-portrait__moon { position: absolute; top: -4px; right: -36px; width: 40px; color: var(--x-rose-ink); }
.x-portrait figcaption { position: static; margin: 0; font: var(--type-small); color: var(--text-secondary); text-align: center; white-space: nowrap; }
@media (max-width: 899px) {
  .x-hero { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-block: 12px 32px; }
  .x-portrait { order: -1; }
  .x-portrait img { width: 168px; height: 168px; }
  .x-portrait__moon { width: 30px; right: -28px; }
  .x-hero__copy { gap: 12px; }
  .x-hero__lead { order: 1; }
  .x-hero__actions { order: 2; padding-top: 2px; gap: 10px 14px; }
  .x-hero__warm { order: 3; }
  .x-hero__sub { order: 4; }
}

/* ---------- Trust strip ---------- */
.x-trust { list-style: none; margin: 0; padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; border-block: 1px solid var(--stroke-primary); }
.x-trust li { display: inline-flex; align-items: center; gap: 10px; font: var(--type-label); color: var(--x-ink); }
.x-trust svg { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--x-blush); color: var(--x-rose-ink); }
.x-trust li:nth-child(2) svg { background: var(--x-sage); color: var(--x-sage-ink); }
.x-trust li:nth-child(3) svg { background: var(--x-lavender); }
.x-trust li:nth-child(4) svg { background: var(--x-powder); }
@media (max-width: 599px) { .x-trust { justify-content: flex-start; gap: 12px 20px; } .x-trust li { flex: 1 1 40%; } }

/* ---------- Cards: white, a pastel top line, one soft shadow, a gentle lift ---------- */
#services .cards > div, #packages .cards > div, #nursery .cards > div, #words .cards > div {
  position: relative; background: var(--x-white); border-radius: var(--r-l); padding: 28px 28px 30px;
  border-top: 3px solid var(--x-accent, var(--x-blush-deep)); box-shadow: var(--x-card-shadow);
  transition: transform 260ms var(--x-lift);
}
#services .cards > div:hover, #packages .cards > div:hover, #words .cards > div:hover { transform: translateY(-4px); }
.cards > div:nth-child(4n+2) { --x-accent: var(--x-sage-deep); }
.cards > div:nth-child(4n+3) { --x-accent: var(--x-lav-deep); }
.cards > div:nth-child(4n+4) { --x-accent: var(--x-powder-deep); }
#services .cards p { line-height: 1.55; color: var(--text-secondary); }
.x-card-icon { display: block; width: 34px; height: 34px; margin-bottom: 14px; color: var(--x-rose-ink); }

/* Care packages */
#packages .cards { gap: 20px; }
#packages .cards > div { display: flex; flex-direction: column; gap: 12px; }
#packages .cards h3 { margin-bottom: 0; font-size: 24px; line-height: 1.2; }
#packages .cards .quote { font-size: 17px; margin-bottom: 0; color: var(--text-secondary); }
#packages .pill { background: var(--x-ivory); border: 1px solid var(--stroke-primary); color: var(--text-primary); margin: 0 4px 6px 0; padding: 3px 10px; }
#packages .x-rate { margin-top: 2px; font-size: 28px; font-weight: 800; line-height: 1.15; }
#packages .x-rate small { display: block; margin-top: 4px; font-family: var(--sans); font-size: var(--size-small); color: var(--text-secondary); }
#packages .cards li { padding: 8px 0; font-size: var(--size-small); }
#packages .x-pkg-btn { margin-top: auto; align-self: flex-start; }
#packages .cards > div.x-pkg-top {
  grid-column: 1 / -1; margin-top: 12px; padding: clamp(32px, 4vw, 52px);
  background: var(--x-lavender); border: 2px solid var(--x-lav-deep); box-shadow: none;
}
#packages .x-pkg-top h3 { font-size: clamp(28px, 3vw, 36px); }
#packages .x-pkg-top > .x-badge--top { padding: 5px 14px; background: var(--x-lav-deep); color: var(--x-ink); font: 700 var(--size-small)/1.3 var(--x-round); }
#packages .x-pkg-top .pill { background: var(--x-white); }
#packages .x-pkg-top .x-pkg-btn { margin-top: 8px; }
#packages .x-pkg-top:hover { transform: none; }
.x-pkg-top__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px 40px; align-items: start; }
.x-pkg-top__main, .x-pkg-top__plan { display: grid; gap: 10px; }
.x-pkg-top__main .x-rate + .x-rate { margin-top: -4px; }
.x-pkg-top__plan { padding: 20px 22px; border-radius: var(--r-m); background: var(--x-white); }
#packages .x-pkg-top .timeline { display: block; }
#packages .x-pkg-top .timeline > li { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 18px; row-gap: 6px; padding: 14px 0; border-bottom: 1px solid var(--stroke-secondary); }
#packages .x-pkg-top .timeline > li:first-child { padding-top: 0; }
#packages .x-pkg-top .timeline > li:last-child { border-bottom: 0; padding-bottom: 0; }
#packages .x-pkg-top .timeline__what { display: grid; gap: 4px; }
#packages .x-pkg-top .timeline__what p { margin: 0; }
@media (max-width: 599px) {
  #packages .x-pkg-top .timeline > li { grid-template-columns: minmax(0, 1fr); }
  .x-pkg-top__plan { padding: 16px; }
}
.x-pkg-foot { margin-top: auto; padding-top: 6px; }
.x-badge { align-self: flex-start; display: inline-flex; align-items: center; padding: 4px 12px; border-radius: var(--r-pill); background: var(--x-white); border: 1px solid var(--x-mauve); font: 700 var(--size-caption)/1.3 var(--x-round); color: var(--x-plum); }
.x-cert-badge { gap: 8px; min-height: var(--tap); padding: 6px 14px; background: var(--x-lavender); border: 1px solid var(--x-lav-deep); color: var(--x-plum); font-size: var(--size-small); text-decoration: none; }
.x-cert-badge svg { flex: none; width: 16px; height: 16px; color: #7d6654; }
.x-cert-badge:hover { background: var(--x-lav-deep); }
.x-cred small { display: block; margin-top: 2px; font: var(--type-caption); color: var(--text-secondary); }

/* Estimator */
.x-est { margin-top: 28px; background: var(--x-white); border-top: 3px solid var(--x-powder-deep); box-shadow: var(--x-card-shadow); padding: clamp(24px, 3.4vw, 40px); }
.x-est h3 { font-family: var(--x-round); font-weight: 800; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2; margin: 0; }
.x-est .x-est__out div { background: var(--x-powder); }
.x-est > p { margin: 0; }
.x-est__out { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.x-est__out div { display: grid; gap: 2px; padding: 16px 18px; border-radius: var(--r-m); background: var(--x-white); }
.x-est__out output { font-family: var(--x-round); font-weight: 800; font-size: clamp(26px, 3.2vw, 32px); line-height: 1.1; color: var(--text-primary); }
.x-est__out span { font: var(--type-label); color: var(--text-secondary); }

.x-area-lines { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 0 24px; }
.x-area-lines li { padding: 10px 0; border-bottom: 1px solid var(--stroke-secondary); font: var(--type-body); color: var(--text-primary); }
.x-nap { display: grid; gap: 4px; }
.x-nap p { margin: 0; }
.x-nap .x-nap__name { font-family: var(--x-round); font-weight: 800; font-size: 22px; line-height: 1.25; }
.x-nap .x-nap__role { font: var(--type-label); color: var(--text-secondary); }
.cards h3, .step h3 { font-family: var(--x-round); font-weight: 800; font-size: 20px; line-height: 1.25; }
.cards .quote { font-family: var(--x-round); font-style: normal; font-weight: 700; font-size: 18px; line-height: 1.4; }

/* Placeholder: anything the family still needs to fill in. */
.x-ph {
  display: inline;
  padding: 1px 6px;
  border: 1.5px dashed var(--x-blush-stroke);
  border-radius: 6px;
  background: var(--x-blush);
  color: var(--text-primary);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero .x-ph { color: var(--text-primary); }
.stat__fig .x-ph { font-size: 0.8em; }

/* Meet Danielle */
#meet .pair { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: center; }
@media (max-width: 760px) { #meet .pair { grid-template-columns: minmax(0, 1fr); } }
.x-sign { display: flex; align-items: center; gap: 12px; font-family: var(--x-round); font-weight: 700; font-size: 22px; line-height: 1.3; color: var(--x-rose-ink); }
.x-sign svg { width: 36px; height: 36px; color: var(--x-sage-ink); }
.x-meet { display: grid; gap: 24px; align-content: center; }
.x-meet-card { position: relative; display: grid; gap: 20px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-xl); background: var(--x-white); box-shadow: var(--x-card-shadow); text-align: center; }
.x-meet-card .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row; }
.x-meet-card .stat { grid-column: auto; grid-template-columns: none; padding: 8px; border-left: 0; border-top: 0; text-align: center; }
.x-meet-card .stat + .stat { border-left: 1px solid var(--stroke-primary); }
.x-meet-card .stat__fig { font-family: var(--x-round); font-weight: 800; font-size: clamp(30px, 3.2vw, 38px); line-height: 1.1; color: var(--x-rose-ink); }

/* Rates */
.x-rate { font-family: var(--x-round); font-weight: 800; font-size: 22px; line-height: 1.3; margin-top: 4px; }
.x-rates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.x-rate-tile { display: grid; gap: 10px; align-content: start; justify-items: center; text-align: center; padding: clamp(32px, 4vw, 48px) 28px; border-radius: var(--r-xl); background: var(--x-white); box-shadow: var(--x-card-shadow); transition: transform 260ms var(--x-lift); }
.x-rate-tile:hover { transform: translateY(-4px); }
.x-rate-tile svg { width: 56px; height: 56px; padding: 12px; border-radius: 50%; background: var(--x-blush); color: var(--x-rose-ink); margin-bottom: 6px; }
.x-rate-tile:nth-child(2) svg { background: var(--x-sage); color: var(--x-sage-ink); }
.x-rate-tile:nth-child(3) svg { background: var(--x-lavender); }
.x-rate-tile h3 { font-family: var(--x-round); font-weight: 800; font-size: 20px; line-height: 1.25; }
.x-rate-tile__price { display: flex; align-items: baseline; justify-content: center; gap: 8px; font: var(--type-label); color: var(--text-secondary); }
.x-rate-tile__price span { font-family: var(--x-round); font-weight: 800; font-size: clamp(52px, 5.6vw, 68px); line-height: 1; letter-spacing: -0.02em; color: var(--x-ink); }
.x-rate-tile > p:last-child { color: var(--text-secondary); line-height: 1.5; max-width: 30ch; }
@media (max-width: 899px) { .x-rates { grid-template-columns: minmax(0, 1fr); } }

/* Lists of experience and training, with a sprig marker */
#experience .checklist, #training .checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
#experience .checklist > li, #training .checklist > li { grid-column: auto; display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgb(154 166 138 / 0.45); }
#experience .checklist > li::before, #training .checklist > li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237f8b6f' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M4 20C9 15 13 10 20 4'/%3E%3Cpath d='M9 15c-3 0-5-2-5-5 3 0 5 2 5 5zM13 11c0-3 2-5 5-5 0 3-2 5-5 5zM14 10c3 0 5 2 5 5-3 0-5-2-5-5z'/%3E%3C/svg%3E");
}
#experience .checklist__item, #training .checklist__item { font-weight: var(--weight-medium); }
@media (max-width: 760px) { #experience .checklist, #training .checklist { grid-template-columns: minmax(0, 1fr); } }

/* A night: moon motif, serif numerals */
#night .head { position: relative; }
.x-night-motif { position: absolute; right: 0; top: -4px; width: clamp(56px, 6vw, 72px); color: var(--x-rose-ink); }
#night .head h2 { padding-right: clamp(0px, 7vw, 88px); }
#night .step { border-bottom-color: rgb(91 60 94 / 0.14); }
.step__num { font-family: var(--x-round); font-style: normal; font-weight: 800; font-size: 48px; color: var(--x-rose-ink); }
.step__eyebrow { text-transform: none; letter-spacing: 0; font: 700 var(--size-small)/1.3 var(--x-round); }
#night .band { margin-top: 32px; }
#night .band img { height: clamp(220px, 34vw, 420px); }
@media (max-width: 899px) { .step__num { font-size: 38px; } .x-night-motif { width: 48px; top: -36px; } }

/* Quotes */
#words .cards .quote { font-size: 19px; }
#words .cards > div { display: flex; flex-direction: column; gap: 16px; }
.x-quote { margin: 0; flex: 1; }
.x-quote p { margin: 0; font: var(--type-body); font-size: var(--size-prose, 16px); line-height: 1.6; color: var(--text-primary); }
.x-quote__by { margin: 0; padding-top: 14px; border-top: 1px solid var(--stroke-secondary); font: var(--type-small); color: var(--text-secondary); }
.x-quote__by b { display: block; font-family: var(--x-round); font-weight: 800; font-size: 17px; color: var(--text-primary); }
.x-more { margin-top: 24px; }
.x-more > summary { display: inline-flex; align-items: center; gap: 10px; min-height: var(--tap); padding: 0 20px; border: 1px solid var(--stroke-primary); border-radius: var(--r-pill); font: var(--type-label); font-weight: var(--weight-medium); cursor: pointer; list-style: none; }
.x-more > summary::-webkit-details-marker { display: none; }
.x-more > summary::after { content: "+"; font: var(--type-heading); line-height: 1; transition: transform var(--dur-quick) var(--ease-out); }
.x-more[open] > summary::after { transform: rotate(45deg); }
.x-more .x-more__open, .x-more[open] .x-more__closed { display: none; }
.x-more[open] .x-more__open { display: inline; }
.x-more > .cards { margin-top: 24px; }
#words .cards > div::before { content: "\201C"; display: block; font-family: var(--x-round); font-weight: 800; font-size: 64px; line-height: 0.8; height: 32px; color: var(--x-blush-deep); }

/* FAQ */
.x-faq summary { font-family: var(--x-round); font-weight: 700; font-size: clamp(18px, 1.8vw, 20px); line-height: 1.3; padding: 20px 0; }
.x-faq { border-top-color: var(--stroke-primary); }
.x-faq details { border-bottom-color: var(--stroke-primary); }

/* Areas */
#areas .pill { background: var(--x-white); color: var(--x-ink); padding: 6px 14px; font-size: var(--size-meta); }
#areas .x-area-lines li { border-bottom-color: rgb(154 166 138 / 0.45); }

/* Fade-up on scroll, only once JS confirms motion is welcome */
.x-motion .x-fade { opacity: 0; transform: translateY(18px) !important; transition: opacity 700ms var(--x-lift) var(--x-delay, 0ms), transform 700ms var(--x-lift) var(--x-delay, 0ms) !important; }
.x-motion .x-fade.is-in { opacity: 1; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  .x-motion .x-fade { opacity: 1; transform: none; transition: none; }
  .btn, .cards > div, .x-rate-tile { transition: none !important; }
  .btn:hover, .cards > div:hover, .x-rate-tile:hover { transform: none !important; }
}

/* Service area row */
.x-areas { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.x-areas .pill { margin: 0; }

/* FAQ accordion */
.x-faq { border-top: 1px solid var(--stroke-secondary); max-width: 820px; }
.x-faq details { border-bottom: 1px solid var(--stroke-secondary); }
.x-faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: var(--tap); padding: 16px 0; cursor: pointer; list-style: none;
  font: var(--type-body-strong);
}
.x-faq summary::-webkit-details-marker { display: none; }
.x-faq summary::after { content: "+"; flex: none; font: var(--type-heading); color: var(--text-secondary); transition: transform var(--dur-quick) var(--ease-out); }
.x-faq details[open] summary::after { transform: rotate(45deg); }
.x-faq details p { padding: 0 0 18px; max-width: 68ch; color: var(--text-secondary); font-size: var(--size-prose); }

/* Contact form */
.x-form { display: grid; gap: 14px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-l); background: var(--x-white); box-shadow: var(--x-card-shadow); }
.x-form .x-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.x-form label { display: grid; gap: 6px; font: var(--type-label); }
.x-form input, .x-form select, .x-form textarea {
  width: 100%; min-height: var(--tap); padding: 10px 12px;
  border: 1px solid var(--stroke-primary); border-radius: var(--r-s);
  background: var(--fill-primary-on); color: var(--text-primary); font: var(--type-body);
}
.x-form textarea { min-height: 110px; resize: vertical; }
.x-form button.btn { justify-self: start; cursor: pointer; }
.x-contact { display: grid; gap: 18px; align-content: start; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-l); background: var(--x-ivory); border: 2px solid var(--x-lav-deep); }
.x-contact ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.x-contact li { padding: 12px 0; border-bottom: 1px solid var(--stroke-secondary); }
.x-contact li:last-child { border-bottom: 0; }
.x-contact li small { display: block; color: var(--text-secondary); }
.x-form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.x-form legend { font: var(--type-label); padding: 0; margin-bottom: 6px; }
.x-form .x-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.x-form .x-check {
  display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); padding: 0 14px;
  border: 1px solid var(--stroke-primary); border-radius: var(--r-pill); background: var(--fill-primary-on);
  font: var(--type-small); cursor: pointer;
}
.x-form .x-check input { width: 16px; height: 16px; min-height: 0; padding: 0; accent-color: var(--x-plum); }
.x-form .x-check:has(input:checked) { border-color: var(--x-iris-brand); background: var(--x-lavender); }
.x-form .x-req { color: var(--text-secondary); font-weight: var(--weight-regular); }
.x-form [aria-invalid="true"] { border-color: var(--fill-system-red); }
.x-form fieldset[aria-invalid="true"] .x-check { border-color: var(--fill-system-red); }
.x-form .x-error { font: var(--type-small); color: var(--fill-system-red); margin: 0; }
.x-form .x-error:empty { display: none; }
.x-form .x-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* Nursery checklist: tappable items inside library cards */
.x-tick { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.x-tick li { margin: 0; padding: 0; }
.x-tick li::before { content: none; }
.x-tick label {
  display: flex; align-items: flex-start; gap: 12px; min-height: var(--tap); padding: 10px 8px; margin-inline: -8px;
  border-radius: var(--r-s); cursor: pointer; font: var(--type-body); color: var(--text-primary);
  transition: background var(--dur-quick) var(--ease-out), color var(--dur-quick) var(--ease-out);
}
.x-tick label:hover { background: var(--hover-wash); }
.x-tick input {
  appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 0;
  border: 1.5px solid var(--stroke-primary); border-radius: 6px; background: var(--fill-primary-on);
  display: grid; place-items: center; cursor: pointer;
  transition: background var(--dur-quick) var(--ease-out), border-color var(--dur-quick) var(--ease-out);
}
.x-tick input::after { content: "✓"; font: var(--type-small); font-weight: var(--weight-bold); color: var(--text-primary-on); opacity: 0; }
.x-tick input:checked { background: var(--fill-primary); border-color: var(--fill-primary); }
.x-tick input:checked::after { opacity: 1; }
.x-tick input:focus-visible { outline: 2px solid var(--x-sage-ink); outline-offset: 2px; }
.x-tick label:has(input:checked) span { color: var(--text-secondary); text-decoration: line-through; }
.x-tick small { display: block; color: var(--text-secondary); font: var(--type-small); }
.x-nursery-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.x-nursery-bar p { margin: 0; font: var(--type-label); color: var(--text-secondary); }
.x-nursery-bar button.btn { cursor: pointer; min-height: var(--tap); }
.x-soft-cta { margin-top: 24px; text-align: center; font-family: var(--x-round); font-weight: 700; font-size: clamp(18px, 2vw, 21px); line-height: 1.4; }
@media print {
  .nav, .foot, .x-trust, .main > *:not(#nursery), .x-print-hide { display: none !important; }
  #nursery { padding: 0 !important; margin: 0 !important; }
  #nursery .cards { display: block !important; }
  #nursery .cards > div { break-inside: avoid; background: none !important; border: 1px solid #999; margin-bottom: 12px; padding: 12px 16px !important; }
  .x-tick label { min-height: 0; padding: 3px 0; margin: 0; color: #000; }
  .x-tick input { width: 14px; height: 14px; border: 1px solid #000; background: #fff !important; }
  .x-tick input:checked::after { color: #000; }
  .x-tick label:has(input:checked) span { color: #000; text-decoration: none; }
}
.x-closing { font-family: var(--x-round); font-weight: 800; font-size: clamp(24px, 3vw, 34px); line-height: 1.25; text-align: center; max-width: 26ch; margin-inline: auto; padding-top: 40px; text-wrap: balance; }
.x-closing svg { display: block; width: 40px; height: 40px; margin: 0 auto 12px; color: var(--x-rose-ink); stroke-width: 2; }
@media print { .x-wave, .x-hero, .x-motion .x-fade { opacity: 1 !important; transform: none !important; } .x-wave, .x-hero { display: none !important; } .section { border-image: none !important; } }

/* ---------- Hero: SEO title as a small kicker, Danielle's own line large ---------- */
.x-hero h1.x-hero__kicker { font: 800 clamp(17px, 1.6vw, 19px)/1.35 var(--x-round); letter-spacing: 0; max-width: none; color: var(--x-rose-ink); }
.x-hero__lead { margin: 0; font-family: var(--x-round); font-weight: 800; font-size: clamp(34px, 4.8vw, 58px); line-height: 1.1; letter-spacing: -0.015em; max-width: 17ch; color: var(--x-ink); text-wrap: balance; }
.x-hero__warm { margin: 0; font-family: var(--x-round); font-weight: 800; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.3; color: var(--x-rose-ink); }
.x-hero__sub { margin: 0; }

/* ---------- Stats bar ---------- */
.x-statbar { list-style: none; margin: 0; padding: clamp(20px, 3vw, 32px) clamp(12px, 3vw, 32px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; border-radius: var(--r-xl); background: var(--x-white); box-shadow: var(--x-card-shadow); }
.x-statbar li { display: grid; gap: 6px; align-content: start; justify-items: center; text-align: center; padding: 8px; }
.x-statbar li + li { border-left: 1px solid var(--stroke-secondary); }
.x-statbar b { font-family: var(--x-round); font-weight: 800; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.05; letter-spacing: -0.01em; color: var(--x-rose-ink); white-space: nowrap; }
.x-statbar span { font: var(--type-label); color: var(--text-secondary); }
@media (max-width: 760px) {
  .x-statbar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding: 8px 12px; }
  .x-statbar li { padding: 16px 8px; }
  .x-statbar li + li { border-left: 0; }
  .x-statbar li:nth-child(even) { border-left: 1px solid var(--stroke-secondary); }
  .x-statbar li:nth-child(n+3) { border-top: 1px solid var(--stroke-secondary); }
  .x-statbar b { font-size: clamp(24px, 7vw, 32px); }
}

/* ---------- Credential wall ---------- */
.x-cred { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.x-cred li { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 16px 18px; border-radius: var(--r-l); background: var(--x-white); box-shadow: var(--x-card-shadow); font: 700 var(--size-body)/1.3 var(--x-round); color: var(--x-ink); }
.x-cred svg { flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--x-blush); color: var(--x-rose-ink); }
.x-cred li:nth-child(3n+2) svg { background: var(--x-sage); color: var(--x-sage-ink); }
.x-cred li:nth-child(3n+3) svg { background: var(--x-lavender); }

/* ---------- Review slot under each package ---------- */
#packages .x-review { margin: 6px 0 0; padding-top: 14px; border-top: 1px dashed var(--stroke-primary); display: flex; align-items: center; gap: 10px; font: var(--type-small); font-style: normal; color: var(--text-secondary); }
#packages .x-review::before { content: "\201C"; font: 800 32px/0.6 var(--x-round); height: 14px; color: var(--x-blush-deep); }
#packages .x-pkg-top .x-review { border-top-color: var(--x-lav-deep); }

/* ---------- My story portrait ---------- */
.x-story-photo { margin: 0 auto; display: flex; justify-content: center; width: auto; height: auto; }
.x-story-photo img {
  display: block; flex: 0 0 auto; flex-shrink: 0;
  width: 140px; height: 140px; min-width: 0; min-height: 0; max-width: none; max-height: none; aspect-ratio: 1 / 1;
  object-fit: cover; object-position: center 35%; border-radius: 50%;
  border: 4px solid var(--x-blush); background: var(--x-blush); box-sizing: border-box;
}

/* ---------- Small photos in rounded inset frames ---------- */
.x-inset { margin: 0; max-width: 416px; padding: 8px; border-radius: var(--r-l); background: var(--x-white); border: 1px solid rgb(184 161 142 / 0.55); box-shadow: var(--x-card-shadow); }
.x-inset img { display: block; width: 100%; height: auto; border-radius: var(--r-m); }
.x-inset figcaption { padding: 8px 6px 2px; font: var(--type-small); color: var(--text-secondary); }
.x-meet .x-inset { max-width: 340px; }
#packages .cards > div .x-inset { max-width: 100%; padding: 6px; box-shadow: none; }

/* ---------- Service and package cards in soft pastel tints ---------- */
#services .cards > div, #packages .cards > div { background: var(--x-tint, var(--x-blush)); border: 1px solid var(--x-tint-line, var(--x-blush-line)); box-shadow: none; }
#services .cards > div:nth-child(3n+1), #packages .cards > div:nth-child(3n+1) { --x-tint: var(--x-blush); --x-tint-line: var(--x-blush-line); }
#services .cards > div:nth-child(3n+2), #packages .cards > div:nth-child(3n+2) { --x-tint: var(--x-sage); --x-tint-line: var(--x-sage-line); }
#services .cards > div:nth-child(3n+3), #packages .cards > div:nth-child(3n+3) { --x-tint: var(--x-lavender); --x-tint-line: var(--x-lav-line); }
#packages .cards > div .x-card-icon { margin-bottom: 0; }

/* ---------- Elegant serif headings ---------- */
.head h2, .x-hero__lead, .x-hero__warm, .cards h3, .step h3, .x-rate-tile h3, .x-est h3, .x-closing, .x-nap .x-nap__name, .x-sign, .step__num {
  font-family: var(--x-serif); font-weight: 600; letter-spacing: 0;
}
.head h2 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.1; }
.x-hero__lead { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.05; }
.x-hero__warm { font-size: clamp(24px, 2.6vw, 30px); font-style: italic; }
.cards h3, .step h3, .x-rate-tile h3 { font-size: 24px; line-height: 1.2; }
.x-closing { font-size: clamp(28px, 3.4vw, 40px); }

/* ---------- Botanical line-art leaves, subtle ---------- */
@media (min-width: 900px) {
  #services .head, #packages .head { position: relative; padding-right: 120px; }
  #services .head::after, #packages .head::after {
    content: ""; position: absolute; right: 0; top: 0; width: 96px; height: 96px; opacity: 0.85; pointer-events: none;
    background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80' fill='none' stroke='%23a7b79d' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 74C26 58 42 38 66 8'/%3E%3Cpath d='M24 58c-9 0-15-5-16-13 9 0 15 5 16 13zM34 46c-1-9 3-15 11-17 1 8-3 14-11 17zM40 37c-8-2-12-8-11-16 8 2 12 8 11 16zM52 24c0-8 5-13 13-14 0 8-5 13-13 14z'/%3E%3C/svg%3E");
  }
  #packages .head::after { transform: scaleX(-1); }
}

/* ---------- Sticky call bar: phones only ---------- */
/* ---------- Wordmark: Sacred Iris Birth ---------- */
.x-brand { justify-self: center; display: inline-flex; align-items: center; gap: 10px; min-height: var(--tap); padding: 4px 8px; color: var(--x-ink); text-decoration: none; }
.x-brand__logo { flex: none; display: block; width: 72px; height: 72px; aspect-ratio: 1 / 1; object-fit: contain; }
.x-hero__logo { display: block; width: clamp(140px, 16vw, 200px); height: auto; aspect-ratio: 1 / 1; object-fit: contain; margin: 0; }
@media (max-width: 899px) { .x-hero__logo { order: 0; width: 132px; } .x-brand__logo { width: 60px; height: 60px; } }
.x-brand__text { display: grid; gap: 1px; line-height: 1.2; }
.x-brand__name { font: 800 22px/1.15 var(--x-round); letter-spacing: -0.01em; }
.x-brand__role { font: var(--type-caption); color: var(--text-secondary); }
.x-callbar { display: none; }
@media (max-width: 760px) {
  .x-callbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: var(--x-white); border-top: 1px solid var(--stroke-secondary); box-shadow: 0 -6px 18px rgb(91 60 94 / 0.10);
  }
  .x-callbar .btn { justify-content: center; padding-inline: 12px; min-height: 52px; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}
@media print { .x-callbar { display: none !important; } }

/* ===================== Added for multi-page SEO build (2026-11-27) ===================== */
.seg a.is-current { background: var(--fill-primary-on); color: var(--text-primary); }
.x-crumbs { padding-top: 4px; }
.x-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin: 0; padding: 0; font: var(--type-small); color: var(--text-secondary); }
.x-crumbs li + li::before { content: "\203A"; margin-right: 8px; color: var(--x-taupe); }
.x-crumbs a { color: var(--x-plum); text-decoration: underline; text-decoration-color: var(--x-lav-deep); text-underline-offset: 4px; }
.x-crumbs [aria-current] { color: var(--text-secondary); }
.x-page-hero { display: grid; gap: 18px; justify-items: start; padding-block: clamp(20px, 4vw, 56px) clamp(28px, 4vw, 48px); }
.x-page-hero h1 { font-family: var(--x-serif); font-weight: 600; font-size: clamp(38px, 5vw, 60px); line-height: 1.05; letter-spacing: 0; color: var(--x-plum); max-width: 22ch; margin: 0; text-wrap: balance; }
.x-page-hero .x-lead { font-size: var(--size-prose); line-height: 1.55; color: var(--text-secondary); max-width: 62ch; margin: 0; }
.x-page-hero--split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: center; gap: clamp(24px, 5vw, 64px); }
.x-page-hero__copy { display: grid; gap: 18px; justify-items: start; }
@media (max-width: 899px) { .x-page-hero--split { grid-template-columns: minmax(0, 1fr); } .x-page-hero--split .x-portrait { order: -1; } }
.x-list { display: grid; gap: 8px; padding-left: 1.2em; margin: 0; }
.x-list li::marker { color: var(--x-iris-brand); }
.x-rates--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
@media (max-width: 899px) { .x-rates--2 { grid-template-columns: minmax(0, 1fr); } }
.x-card-link { color: inherit; text-decoration: none; }
.x-card-link:hover, .x-card-link:focus-visible { text-decoration: underline; text-decoration-color: var(--x-lav-deep); text-underline-offset: 5px; }
.x-photo { margin: 0; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--x-card-shadow); background: var(--x-blush); }
.x-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 509; object-fit: cover; }
.x-about-pair { align-items: center; }
.x-about-pair .x-inset img { display: block; width: 100%; height: auto; border-radius: var(--r-l); }
.x-byline { font: var(--type-small); color: var(--text-secondary); margin: 0; }
.x-posts { display: grid; gap: 20px; }
.x-posts article { display: grid; gap: 10px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-xl); background: var(--x-white); box-shadow: var(--x-card-shadow); }
.x-posts p { margin: 0; }
.x-post-title { font: 600 clamp(26px, 2.8vw, 34px)/1.15 var(--x-serif); color: var(--x-plum); margin: 0; }
.x-post .x-page-hero { padding-bottom: 8px; }
.x-article { max-width: 70ch; padding-bottom: clamp(24px, 4vw, 48px); }
.x-article h2 { font: 600 clamp(28px, 3vw, 36px)/1.15 var(--x-serif); color: var(--x-plum); margin: 18px 0 0; }
.x-article h3 { font: 600 24px/1.2 var(--x-serif); color: var(--x-plum); margin: 10px 0 0; }
.x-article ul { display: grid; gap: 8px; padding-left: 1.2em; margin: 0; }
.x-article ul li::marker { color: var(--x-iris-brand); }
.x-article .x-photo { margin-block: 8px; }
#contact select, #contact input, #contact textarea { width: 100%; }
/* Inline links inside running text keep their natural width (tap-size rule is for standalone links). */
.prose .link, .x-faq .link, .fineprint .link, .x-list .link { display: inline; min-width: 0; min-height: 0; margin: 0; vertical-align: baseline; }
