/* ==========================================================================
   Done In Love Doula Services
   Design system: "Soft editorial warmth"
   Palette + arch motif derived from Morgan's own Boobie Butter product label.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Ground */
  --cream:        #FDF8F1;
  --cream-alt:    #F6EDE1;
  --cream-deep:   #EFE2D2;

  /* Ink */
  --ink:          #2E2721;
  --ink-soft:     #5A4F45;
  --ink-faint:    #7A6C5E;

  /* Accents (from label artwork) */
  --terracotta:   #A9603F;
  --terracotta-d: #8E4E32;
  /* Text-safe variants. The base accents are tuned for fills and large
     display type; at small sizes they land just under WCAG AA on cream,
     so small text uses these instead. */
  --terracotta-text: #8E4E32;
  --tan-text:        #E8B96F;
  --rose:         #C08B80;
  --rose-soft:    #EBD2CB;
  --rose-wash:    #F7E7E2;
  --sage:         #93A89F;
  --sage-text:    #4F6157;
  --sage-deep:    #3F4A41;
  --tan:          #DFA85B;
  --tan-soft:     #EFDCBE;

  /* Type */
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body:    "Karla", "Avenir Next", "Segoe UI", sans-serif;

  /* Scale (fluid) */
  --step--1: clamp(0.83rem, 0.79rem + 0.19vw, 0.94rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.15rem);
  --step-1:  clamp(1.2rem, 1.11rem + 0.44vw, 1.5rem);
  --step-2:  clamp(1.44rem, 1.29rem + 0.74vw, 1.95rem);
  --step-3:  clamp(1.73rem, 1.49rem + 1.19vw, 2.54rem);
  --step-4:  clamp(2.07rem, 1.71rem + 1.83vw, 3.3rem);
  --step-5:  clamp(2.49rem, 1.94rem + 2.74vw, 4.29rem);
  --step-6:  clamp(2.99rem, 2.17rem + 4.06vw, 5.58rem);

  /* Space */
  --gutter: clamp(1.25rem, 0.9rem + 1.75vw, 2.5rem);
  --section: clamp(4rem, 2.8rem + 6vw, 9rem);
  --measure: 62ch;

  /* Shape */
  --arch: 999px 999px 10px 10px;
  --radius: 14px;
  --radius-sm: 8px;

  /* Elevation */
  --lift-1: 0 2px 8px rgba(74, 55, 40, 0.05), 0 8px 24px rgba(74, 55, 40, 0.05);
  --lift-2: 0 4px 14px rgba(74, 55, 40, 0.07), 0 18px 44px rgba(74, 55, 40, 0.09);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 74px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; }
ul, ol { list-style: none; padding: 0; }

:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection { background: var(--rose-soft); color: var(--ink); }

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4, .display {
  font-family: var(--display);
  font-variation-settings: "SOFT" 45, "WONK" 1;
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.018em;
  text-wrap: balance;
  color: var(--ink);
}

h1 { font-size: var(--step-6); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); line-height: 1.16; }
h4 { font-size: var(--step-1); line-height: 1.25; }

p { text-wrap: pretty; }
p + p { margin-top: 1em; }

.eyebrow {
  font-family: var(--body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta-text);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  flex: none;
  opacity: 0.55;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  flex: none;
  opacity: 0.55;
}

.lede {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 46ch;
}

.prose { max-width: var(--measure); color: var(--ink-soft); }
.prose p + p { margin-top: 1.15em; }
.prose strong { color: var(--ink); font-weight: 600; }

/* Emphasised inline word in display type */
.accent { color: var(--terracotta); font-style: italic; }

/* ---------- 4. Layout ---------- */
.wrap {
  width: min(1180px, 100% - (var(--gutter) * 2));
  margin-inline: auto;
}
.wrap--narrow { width: min(820px, 100% - (var(--gutter) * 2)); }

.section { padding-block: var(--section); position: relative; }
.section--alt { background: var(--cream-alt); }
.section--tint { background: var(--rose-wash); }

.section-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head > * + * { margin-top: 1rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lede { margin-inline: auto; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--terracotta);
  color: #fff;
  padding: 0.85rem 1.4rem;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- 5. Grain + decorative ---------- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.3;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 50px;
  padding: 0.85rem 1.85rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: var(--step-0);
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease),
              box-shadow 0.3s var(--ease), color 0.3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--terracotta);
  color: #FFF9F3;
  box-shadow: var(--lift-1);
}
.btn--primary:hover { background: var(--terracotta-d); box-shadow: var(--lift-2); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(46, 39, 33, 0.22);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--terracotta); color: var(--terracotta-text); }

.btn--light {
  background: #FFF9F3;
  color: var(--terracotta-d);
  box-shadow: var(--lift-1);
}
.btn--light:hover { background: #fff; box-shadow: var(--lift-2); }

/* Secondary action on a terracotta ground: outline, so the solid pill above it
   clearly reads as the primary. */
.btn--outline-light {
  background: transparent;
  /* pure white rather than the cream tint: on terracotta the cream lands at
     4.43:1, just under AA for this size/weight. */
  color: #FFFFFF;
  box-shadow: inset 0 0 0 1.6px rgba(255, 255, 255, 0.6);
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1.6px rgba(255, 255, 255, 0.95);
}

.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--terracotta-text);
  text-decoration: none;
  padding-block: 0.2rem;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.25s var(--ease), gap 0.25s var(--ease);
}
.link-arrow:hover { border-bottom-color: currentColor; gap: 0.75rem; }
.link-arrow svg { transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(2px); }

/* ---------- 7. Header + nav ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 248, 241, 0.82);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.header.is-stuck {
  border-bottom-color: rgba(169, 96, 63, 0.14);
  box-shadow: 0 4px 24px rgba(74, 55, 40, 0.05);
}

.header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex: none;
}
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__text {
  font-family: var(--display);
  font-variation-settings: "SOFT" 50, "WONK" 1;
  font-size: 1.16rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.brand__text span {
  display: block;
  font-family: var(--body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta-text);
  margin-top: 2px;
}

.nav { display: flex; align-items: center; gap: 0.35rem; }
.nav__list { display: flex; align-items: center; gap: 0.35rem; }
.nav__mobile-cta { display: none; }
.header__end { display: flex; align-items: center; gap: 0.6rem; flex: none; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.nav__link:hover { color: var(--ink); background: rgba(169, 96, 63, 0.07); }
.nav__link[aria-current="page"] { color: var(--terracotta-text); font-weight: 600; }

.nav__item { position: relative; }
.nav__caret { transition: transform 0.3s var(--ease); flex: none; }
.nav__item.is-open > .nav__link .nav__caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  translate: -50% 0;
  min-width: 292px;
  background: #FFFFFF;
  border: 1px solid rgba(169, 96, 63, 0.24);
  border-radius: var(--radius);
  box-shadow: 0 10px 20px rgba(74, 55, 40, 0.10), 0 26px 60px rgba(74, 55, 40, 0.17);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  /* visibility flips only AFTER the fade-out finishes, so the panel stays
     readable while it animates away. */
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
              visibility 0s linear 0.25s;
}
.nav__item.is-open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  /* On open, visibility flips IMMEDIATELY (0s delay). If it waited for the
     fade-in, the links would still be visibility:hidden and therefore
     unfocusable, and a keyboard Tab would skip straight past the whole menu. */
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
              visibility 0s linear 0s;
}

.dropdown__link {
  display: block;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.dropdown__link span {
  display: block;
  font-size: 0.83rem;
  font-weight: 400;
  color: var(--ink-faint);
  margin-top: 1px;
  line-height: 1.4;
}
.dropdown__link:hover { background: var(--rose-wash); color: var(--terracotta-text); }
.dropdown__link:hover span { color: var(--ink-soft); }

.nav-cta { flex: none; }

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: background-color 0.25s var(--ease);
}
.burger:hover { background: rgba(169, 96, 63, 0.08); }
.burger__box { width: 22px; height: 14px; position: relative; }
.burger__box i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.8px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.2s var(--ease), top 0.35s var(--ease);
}
.burger__box i:nth-child(1) { top: 0; }
.burger__box i:nth-child(2) { top: 6.1px; }
.burger__box i:nth-child(3) { top: 12.2px; }
.burger[aria-expanded="true"] .burger__box i:nth-child(1) { top: 6.1px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__box i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__box i:nth-child(3) { top: 6.1px; transform: rotate(-45deg); }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(3rem, 2rem + 5vw, 6rem) clamp(4rem, 3rem + 5vw, 7rem);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero__copy > * + * { margin-top: 1.5rem; }
.hero h1 { max-width: 13ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.hero__media { position: relative; }
.hero__arch {
  position: relative;
  z-index: 2;
  border-radius: var(--arch);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--rose-soft);
  box-shadow: var(--lift-2);
}
.hero__arch img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }

.hero__frame {
  position: absolute;
  inset: -18px -18px 34px 22px;
  border: 1.5px solid var(--tan);
  border-radius: var(--arch);
  opacity: 0.5;
  z-index: 1;
}
.hero__badge {
  position: absolute;
  z-index: 3;
  bottom: 14px;
  left: -14px;
  background: #FFFBF6;
  border-radius: var(--radius);
  padding: 0.85rem 1.15rem;
  box-shadow: var(--lift-2);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 218px;
}
.hero__badge svg { flex: none; }
.hero__badge b { display: block; font-family: var(--display); font-size: 1.35rem; line-height: 1; }
.hero__badge span { font-size: 0.76rem; color: var(--ink-soft); line-height: 1.3; display: block; margin-top: 3px; }

.hero .blob--1 { width: 460px; height: 460px; background: var(--rose-soft); top: -90px; right: -110px; }
.hero .blob--2 { width: 380px; height: 380px; background: var(--tan-soft); bottom: -140px; left: -130px; opacity: 0.42; }

/* ---------- 9. Trust strip ---------- */
.trust {
  background: var(--sage-deep);
  color: #F3EFE7;
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
}
.trust__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.93rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.trust__item svg { flex: none; opacity: 0.85; }
.trust__sep { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: 0.35; }

/* ---------- 10. Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split--flip .split__media { order: 2; }

.split__media { position: relative; }
.split__arch {
  border-radius: var(--arch);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--cream-deep);
  box-shadow: var(--lift-2);
}
.split__arch img { width: 100%; height: 100%; object-fit: cover; }
/* Same arch, but for sections that have no photograph yet: an honest illustrated
   tile rather than borrowing a photo from another service. Mirrors .product__media--art. */
.split__arch--art {
  background: linear-gradient(165deg, var(--rose-wash), var(--cream-deep));
  display: grid;
  place-items: center;
}
.split__arch--art svg { width: 62%; height: auto; }
.split__copy > * + * { margin-top: 1.2rem; }
.split__copy .btn, .split__copy .link-arrow { margin-top: 1.75rem; }

.split__stamp {
  position: absolute;
  right: -22px;
  bottom: 26px;
  width: 118px;
  height: 118px;
  z-index: 3;
}

/* ---------- 11. Cards ---------- */
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #FFFBF6;
  border: 1px solid rgba(169, 96, 63, 0.11);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.5vw, 2.1rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--lift-2);
  border-color: rgba(169, 96, 63, 0.24);
}
.card__icon {
  width: 54px;
  height: 54px;
  border-radius: 999px 999px 8px 8px;
  display: grid;
  place-items: center;
  background: var(--rose-wash);
  color: var(--terracotta);
  flex: none;
}
.card--sage .card__icon { background: #E4EAE4; color: var(--sage-text); }
.card--tan .card__icon { background: var(--tan-soft); color: #7E5A1F; }
.card p { color: var(--ink-soft); font-size: 0.97rem; }
.card__list { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.15rem; }
.card__list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.93rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 999px 999px 1px 1px;
  background: var(--rose);
}
.card .link-arrow { margin-top: auto; padding-top: 0.6rem; }

/* ---------- 12. Process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  counter-reset: step;
}
.step { position: relative; padding-top: 2.9rem; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--display);
  font-variation-settings: "SOFT" 50, "WONK" 1;
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--terracotta);
  opacity: 0.34;
  line-height: 1;
}
.step::after {
  content: "";
  position: absolute;
  top: 1.1rem;
  left: 3.2rem;
  right: -1rem;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--rose) 0 5px, transparent 5px 11px);
  opacity: 0.55;
}
.step:last-child::after { display: none; }
.step h3 { font-size: var(--step-1); margin-bottom: 0.5rem; }
.step p { font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- 13. Packages ---------- */
.pkg {
  background: #FFFBF6;
  border: 1px solid rgba(169, 96, 63, 0.13);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 2.5vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.pkg:hover { transform: translateY(-5px); box-shadow: var(--lift-2); }
.pkg--featured {
  background: linear-gradient(170deg, #FFFBF6, var(--rose-wash));
  border-color: var(--rose);
  box-shadow: var(--lift-1);
}
.pkg__tag {
  position: absolute;
  top: -12px;
  left: 50%;
  translate: -50% 0;
  background: var(--terracotta);
  color: #FFF9F3;
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 0.34rem 0.95rem;
  border-radius: 999px;
  white-space: nowrap;
}
.pkg__name { font-size: var(--step-2); }
.pkg__price {
  font-family: var(--display);
  font-variation-settings: "SOFT" 45, "WONK" 1;
  font-size: var(--step-3);
  font-weight: 600;
  color: var(--terracotta);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.pkg__price small {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}
.pkg__desc { font-size: 0.95rem; color: var(--ink-soft); }
.pkg__list { display: flex; flex-direction: column; gap: 0.62rem; }
.pkg__list li {
  display: flex;
  gap: 0.65rem;
  font-size: 0.93rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.pkg__list svg { flex: none; margin-top: 0.3em; color: var(--sage-text); }
.pkg .btn { margin-top: auto; }
.pkg__rule { height: 1px; background: rgba(169, 96, 63, 0.14); }

/* ---------- 14. Price list (a la carte) ---------- */
.pricelist { display: flex; flex-direction: column; gap: 0.15rem; }
.pricelist__row {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 0.85rem 0;
  border-bottom: 1px dashed rgba(169, 96, 63, 0.2);
}
.pricelist__row:last-child { border-bottom: 0; }
.pricelist__name { font-weight: 600; flex: none; }
.pricelist__dots { flex: 1; border-bottom: 1px dotted rgba(169, 96, 63, 0.35); translate: 0 -4px; }
.pricelist__price {
  font-family: var(--display);
  font-variation-settings: "SOFT" 45;
  font-weight: 600;
  font-size: 1.16rem;
  color: var(--terracotta-text);
  flex: none;
}
.pricelist__note { font-size: 0.86rem; color: var(--ink-faint); display: block; font-weight: 400; margin-top: 2px; }

/* ---------- 15. Testimonials ---------- */
.quote {
  background: #FFFBF6;
  border: 1px solid rgba(169, 96, 63, 0.12);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 2.5vw, 2.2rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  position: relative;
}
.quote__mark {
  font-family: var(--display);
  font-size: 3.4rem;
  line-height: 0.7;
  color: var(--rose);
  opacity: 0.85;
}

.quote__stars { display: flex; gap: 3px; color: var(--tan); margin-bottom: -0.35rem; }
.quote__stars svg { flex: none; }
.quote__text {
  font-family: var(--display);
  font-variation-settings: "SOFT" 50, "WONK" 1;
  font-size: var(--step-1);
  line-height: 1.42;
  color: var(--ink);
  font-weight: 400;
}
.quote__by { display: flex; align-items: center; gap: 0.7rem; margin-top: auto; }
.quote__avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--rose-soft);
  color: var(--terracotta-text);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  flex: none;
}
.quote__name { font-weight: 600; font-size: 0.94rem; }
.quote__meta { font-size: 0.82rem; color: var(--ink-faint); }

/* Placeholder styling — visually flags un-filled review slots */
.quote--placeholder {
  border-style: dashed;
  border-color: rgba(169, 96, 63, 0.32);
  background: rgba(255, 251, 246, 0.55);
}
.quote--placeholder .quote__text { color: var(--ink-faint); font-style: italic; }

/* ---------- 16. Care items ---------- */
.product {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-decoration: none;
  background: #FFFBF6;
  border: 1px solid rgba(169, 96, 63, 0.13);
  border-radius: var(--radius);
  padding: clamp(0.9rem, 1.6vw, 1.25rem);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
              border-color 0.4s var(--ease);
}
.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--lift-2);
  border-color: rgba(169, 96, 63, 0.26);
}
/* Every product sits in the same arch, on the same warm ground. The mask is what
   makes a set of imperfect phone photos read as one considered family. */
.product__media {
  border-radius: var(--arch);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--cream-deep);
  position: relative;
}
.product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.product:hover .product__media img { transform: scale(1.045); }

/* Product label artwork is square and circular, so it is fitted rather than
   cropped, on a ground matched to the label's own border. */
.product__media--label { background: #DFA85B; }
.product__media--label img { object-fit: contain; }

/* Used where there is no real product photograph yet: an honest illustrated
   tile rather than borrowing another product's picture. */
.product__media--art {
  background: linear-gradient(165deg, var(--rose-wash), var(--cream-deep));
  display: grid;
  place-items: center;
}
.product__media--art svg { width: 58%; height: auto; }
.product__row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 0.15rem; }
.product__name { font-family: var(--display); font-size: var(--step-1); font-weight: 500; }
.product__price { font-weight: 700; color: var(--terracotta-text); flex: none; }
.product__desc { font-size: 0.9rem; color: var(--ink-soft); }

/* The item with no photograph becomes a deliberate wide feature card rather than
   an odd one out in a grid of photos. It also absorbs the orphan grid slot. */
.product--feature { grid-column: 1 / -1; }
.product--feature .product__row { align-items: center; }
@media (min-width: 621px) {
  .product--feature {
    display: grid;
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
    gap: clamp(1.25rem, 3vw, 2.5rem);
    align-items: center;
  }
  .product--feature .product__media { aspect-ratio: 4 / 5; }
  .product--feature__body { display: flex; flex-direction: column; gap: 0.6rem; }
  .product--feature .product__name { font-size: var(--step-2); }
}

/* ---------- 17. FAQ ---------- */
.faq { display: flex; flex-direction: column; }
.faq__item { border-bottom: 1px solid rgba(169, 96, 63, 0.16); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  text-align: left;
  font-family: var(--display);
  font-variation-settings: "SOFT" 50, "WONK" 1;
  font-size: var(--step-1);
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  transition: color 0.25s var(--ease);
}
.faq__q:hover { color: var(--terracotta-text); }
.faq__sign { flex: none; margin-top: 0.3em; position: relative; width: 15px; height: 15px; }
.faq__sign::before, .faq__sign::after {
  content: "";
  position: absolute;
  background: var(--terracotta);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.faq__sign::before { top: 6.6px; left: 0; width: 15px; height: 1.8px; }
.faq__sign::after { left: 6.6px; top: 0; width: 1.8px; height: 15px; }
.faq__q[aria-expanded="true"] .faq__sign::after { transform: rotate(90deg); opacity: 0; }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.faq__q[aria-expanded="true"] + .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p {
  color: var(--ink-soft);
  max-width: 68ch;
  padding-bottom: 1.5rem;
  font-size: 0.99rem;
}

/* ---------- 18. CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--terracotta);
  color: #FFF6EC;
  border-radius: clamp(16px, 3vw, 26px);
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.75rem, 4vw, 4rem);
  overflow: hidden;
  text-align: center;
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #FFF6EC; max-width: 20ch; margin-inline: auto; }
.cta-band p {
  color: rgba(255, 246, 236, 0.88);
  max-width: 50ch;
  margin: 1.1rem auto 2rem;
  font-size: var(--step-1);
  line-height: 1.5;
}
.cta-band .eyebrow { color: rgba(255, 246, 236, 0.82); justify-content: center; }
.cta-band .eyebrow::after {
  content: "";
  width: 28px; height: 1px; background: currentColor; flex: none; opacity: 0.55;
}
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; }
.cta-band__glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 233, 213, 0.4), transparent 68%);
  top: -230px;
  right: -140px;
  z-index: 1;
}
.cta-band__arch {
  position: absolute;
  left: -60px;
  bottom: -80px;
  width: 260px;
  opacity: 0.14;
  z-index: 1;
}

/* ---------- 19. Form ---------- */
.form-shell {
  background: #FFFBF6;
  border: 1px solid rgba(169, 96, 63, 0.13);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.75rem);
  box-shadow: var(--lift-1);
}
.field { display: flex; flex-direction: column; gap: 0.42rem; }
.field label { font-size: 0.88rem; font-weight: 600; letter-spacing: 0.01em; }
.field label .req { color: var(--terracotta); }
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--cream);
  border: 1.5px solid rgba(169, 96, 63, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.82rem 1rem;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  min-height: 50px;
}
.field textarea { min-height: 148px; resize: vertical; line-height: 1.6; }
.field select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%235A4F45' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--terracotta);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(169, 96, 63, 0.13);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); opacity: 0.8; }

.field__error {
  font-size: 0.83rem;
  color: #97291A;
  font-weight: 600;
  display: none;
  align-items: center;
  gap: 0.35rem;
}
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #97291A; background: #FDF2F0; }
.field.has-error .field__error { display: flex; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-grid .span-2 { grid-column: 1 / -1; }

/* Honeypot — hidden from humans, visible to naive bots */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-note { font-size: 0.84rem; color: var(--ink-faint); line-height: 1.55; }

.form-status {
  display: none;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  line-height: 1.55;
}
.form-status.is-visible { display: flex; }
.form-status--ok { background: #E7EFE7; color: #2A4430; border: 1px solid #B9CDBB; }
.form-status--err { background: #FBEAE6; color: #7E2615; border: 1px solid #E5BDB3; }
.form-status svg { flex: none; margin-top: 0.15em; }

.btn[aria-busy="true"] { opacity: 0.72; pointer-events: none; }
.spinner {
  width: 17px; height: 17px;
  border: 2px solid rgba(255, 249, 243, 0.35);
  border-top-color: #FFF9F3;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}
.btn[aria-busy="true"] .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 20. Contact aside ---------- */
.contact-card {
  display: flex;
  gap: 0.95rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(169, 96, 63, 0.14);
  align-items: flex-start;
}
.contact-card:last-of-type { border-bottom: 0; }
.contact-card__icon {
  width: 42px; height: 42px;
  border-radius: 999px 999px 6px 6px;
  background: var(--rose-wash);
  color: var(--terracotta);
  display: grid;
  place-items: center;
  flex: none;
}
.contact-card h3 { font-size: 1.02rem; font-family: var(--body); font-weight: 700; letter-spacing: 0; }
.contact-card a { color: var(--terracotta-text); font-weight: 600; text-decoration: none; word-break: break-word; }
.contact-card a:hover { text-decoration: underline; }
.contact-card p { font-size: 0.9rem; color: var(--ink-soft); margin-top: 2px; }

/* ---------- 21. Footer ---------- */
.footer {
  background: var(--sage-deep);
  color: #E9E4DA;
  padding-block: clamp(3rem, 5vw, 4.5rem) 2rem;
}
.footer a { color: inherit; text-decoration: none; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(1.75rem, 3.5vw, 3rem);
  padding-bottom: 2.75rem;
}
.footer__brand .brand__text { color: #F5F1E9; }
.footer__brand .brand__text span { color: var(--tan-text); }
.footer__blurb { font-size: 0.92rem; color: rgba(233, 228, 218, 0.78); margin-top: 1.1rem; max-width: 34ch; line-height: 1.6; }
.footer h3 {
  font-family: var(--body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--tan-text);
  margin-bottom: 1.1rem;
}
.footer__list { display: flex; flex-direction: column; gap: 0.65rem; }
.footer__list a, .footer__list li {
  font-size: 0.93rem;
  color: rgba(233, 228, 218, 0.82);
  transition: color 0.25s var(--ease);
  line-height: 1.5;
}
.footer__list a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(233, 228, 218, 0.15);
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.84rem;
  color: rgba(233, 228, 218, 0.72);
}
.footer__bottom a:hover { color: #fff; }
.socials { display: flex; gap: 0.6rem; }
.socials a {
  width: 40px; height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(233, 228, 218, 0.09);
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.socials a:hover { background: var(--tan); color: var(--sage-deep); transform: translateY(-2px); }

/* ---------- 22. Page header (inner pages) ---------- */
.pagehead {
  position: relative;
  padding-block: clamp(2.75rem, 4vw, 4.5rem) clamp(2.25rem, 3.5vw, 3.5rem);
  background: var(--cream-alt);
  overflow: hidden;
  border-bottom: 1px solid rgba(169, 96, 63, 0.1);
}
.pagehead__inner { position: relative; z-index: 2; max-width: 44ch; }
.pagehead h1 { font-size: var(--step-5); margin-top: 0.9rem; }
.pagehead .lede { margin-top: 1.1rem; }
.pagehead .blob { width: 400px; height: 400px; background: var(--rose-soft); top: -160px; right: -100px; opacity: 0.55; }

.crumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.82rem; color: var(--ink-faint); }
.crumbs a { text-decoration: none; color: var(--ink-soft); }
.crumbs a:hover { color: var(--terracotta-text); text-decoration: underline; }
.crumbs li::after { content: "/"; margin-left: 0.4rem; opacity: 0.5; }
.crumbs li:last-child::after { display: none; }
.crumbs li[aria-current] { color: var(--terracotta-text); font-weight: 600; }

/* ---------- 23. Reveal animation ---------- */
/* Scoped to .js on purpose. The class is set by a one-line inline script in
   <head>. If JavaScript is blocked, errors, or fails to load, these rules never
   apply and every section renders normally instead of the page going blank. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- 23b. Mobile sticky CTA ---------- */
/* On mobile the header CTA collapses into the hamburger, which buries the single
   most important action on a lead-gen site behind a tap. This keeps it reachable. */
.mobile-cta { display: none; }

@media (max-width: 920px) {
  .mobile-cta {
    display: flex;
    gap: 0.6rem;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    padding: 0.7rem var(--gutter);
    padding-bottom: calc(0.7rem + env(safe-area-inset-bottom, 0px));
    background: rgba(253, 248, 241, 0.94);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(169, 96, 63, 0.18);
  }
  .mobile-cta .btn { flex: 1; min-height: 48px; padding-inline: 1rem; }
  /* room so the footer is never trapped behind the bar */
  body { padding-bottom: 82px; }
  /* the bar would sit on top of the open menu, so stand it down */
  body.nav-open .mobile-cta { display: none; }
}

/* Package tier label, so Morgan's existing "Package One" naming still maps
   across while the card leads with the outcome instead. */
.pkg__label {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  /* ink-faint drops under AA on the featured card's rose gradient, so this
     label uses the darker ink instead. */
  color: var(--ink-soft);
}
.pkg__name { margin-top: -0.55rem; }

/* Editorial panel used where a section needs a visual but no honest photograph
   exists for it. Same arch silhouette as the image frames it sits beside. */
.quote-panel {
  border-radius: var(--arch);
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(1.75rem, 4vw, 3rem);
  background: linear-gradient(165deg, var(--rose-wash), var(--tan-soft));
  box-shadow: var(--lift-2);
}
.quote-panel blockquote {
  font-family: var(--display);
  font-variation-settings: "SOFT" 50, "WONK" 1;
  font-size: var(--step-2);
  line-height: 1.28;
  color: var(--terracotta-d);
  text-wrap: balance;
}
.quote-panel cite {
  display: block;
  margin-top: 1.3rem;
  font-family: var(--body);
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- 24. Utilities ---------- */
.center { text-align: center; }
.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;
}
.mt-lg { margin-top: clamp(2.5rem, 5vw, 4rem); }
.mt-md { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.stack > * + * { margin-top: 1.1rem; }

.note-box {
  background: var(--tan-soft);
  border-left: 3px solid var(--tan);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.3rem;
  font-size: 0.92rem;
  color: #63491F;
  line-height: 1.6;
}
.note-box strong { color: #46330F; }

/* ---------- 25. Responsive ---------- */
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .step:nth-child(2)::after { display: none; }
}

@media (max-width: 920px) {
  :root { --header-h: 66px; }

  .burger { display: flex; }
  .nav-cta { display: none; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    background: #FFFBF6;
    border-bottom: 1px solid rgba(169, 96, 63, 0.15);
    box-shadow: 0 18px 40px rgba(74, 55, 40, 0.1);
    padding: 1rem var(--gutter) 1.75rem;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    /* Hide only after the fade-out finishes. */
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
                visibility 0s linear 0.3s;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    /* Become visible immediately on open, otherwise the menu links stay
       unfocusable and hidden from screen readers while it animates in. */
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
                visibility 0s linear 0s;
  }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0.15rem; width: 100%; }
  .nav__link { padding: 0.9rem 0.5rem; font-size: 1.05rem; justify-content: space-between; border-radius: var(--radius-sm); }
  .nav__item { width: 100%; }

  .dropdown {
    position: static;
    translate: none;
    transform: none;
    min-width: 0;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--rose-soft);
    border-radius: 0;
    margin: 0.15rem 0 0.5rem 0.75rem;
    padding: 0 0 0 0.5rem;
    background: transparent;
    display: grid;
    grid-template-rows: 0fr;
    opacity: 1;
    /* Collapsed submenu links must not stay in the tab order. A zero-height
       overflow:hidden box is still focusable, so gate it on visibility too. */
    visibility: hidden;
    transition: grid-template-rows 0.35s var(--ease), visibility 0s linear 0.35s;
  }
  .dropdown__inner { overflow: hidden; }
  .nav__item.is-open > .dropdown {
    grid-template-rows: 1fr;
    visibility: visible;
    transition: grid-template-rows 0.35s var(--ease), visibility 0s linear 0s;
  }

  .nav__mobile-cta { display: block; margin-top: 1rem; }

  .hero__grid { grid-template-columns: 1fr; gap: 2.75rem; }
  .hero__media { max-width: 420px; margin-inline: auto; width: 100%; }
  .hero h1 { max-width: 100%; }

  .split { grid-template-columns: 1fr; gap: 2.25rem; }
  .split--flip .split__media { order: 0; }
  .split__media { max-width: 460px; }

  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; row-gap: 2rem; }
  .step::after { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__badge { left: 0; bottom: -18px; }
  .split__stamp { width: 88px; height: 88px; right: -8px; }
  .trust__sep { display: none; }
  .trust__list { gap: 0.9rem 1.5rem; }
  .pricelist__row { flex-wrap: wrap; gap: 0.3rem 0.9rem; }
  .pricelist__dots { display: none; }
  .pricelist__name { flex: 1 1 auto; }
  .cta-band__actions .btn { width: 100%; }
}

@media (max-width: 380px) {
  .hero__actions .btn { width: 100%; }
}

/* ---------- 26. Motion / print / contrast ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .product:hover .product__media img { transform: none; }
  .btn:hover, .card:hover, .pkg:hover { transform: none; }
}

@media (prefers-contrast: more) {
  :root { --ink-soft: #3E362E; --ink-faint: #574E44; }
  .card, .pkg, .quote, .form-shell { border-color: rgba(169, 96, 63, 0.4); }
}

@media print {
  body::after, .header, .footer, .cta-band, .burger, .blob { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 1.5rem; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.75em; color: #555; }
}
