/* ==========================================================================
   Elladee: shared stylesheet
   Mobile-first, no framework. Custom properties + flex/grid.
   Sections: 0 tokens · 1 reset · 2 layout · 3 header/nav · 4 announcement
   5 buttons · 6 hero · 7 cards · 8 sections · 9 forms · 10 footer
   11 utilities · 12 Bloom sub-brand theme · 13 responsive
   ========================================================================== */

/* 0. Design tokens ------------------------------------------------------- */
:root {
  --pink: #d93476;          /* brand primary: large text / buttons only */
  --pink-dark: #b52a62;     /* AA-safe for small text / body links */
  --pink-deep: #8f1f4b;     /* hover on dark */
  --pink-tint: #fdeef4;     /* soft section background */
  --pink-tint-2: #fbe3ee;
  --green: #1f7a5f;         /* darker, grounded green for outline icons (from old-site green family, deepened) */
  --green-soft: #8abb6c;
  --coral: #ff7a59;         /* Bloom accent (used sparingly) */
  --sun: #ffcf4d;           /* Bloom accent */
  --ink: #222222;
  --ink-soft: #4a4a4a;
  --muted: #6b6b6b;
  --line: #ecdfe6;
  --white: #ffffff;
  --cream: #fffafc;

  --maxw: 1160px;
  --gap: clamp(1rem, 3vw, 2rem);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(34, 34, 34, .06);
  --shadow: 0 10px 30px rgba(217, 52, 118, .10);
  --shadow-hover: 0 16px 40px rgba(217, 52, 118, .18);

  --ff-head: 'Gloock', Georgia, 'Times New Roman', serif;
  --ff-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --h1: clamp(2.1rem, 6vw, 3.6rem);
  --h2: clamp(1.6rem, 4vw, 2.5rem);
  --h3: clamp(1.2rem, 2.6vw, 1.5rem);

  --header-h: 76px;
}

/* 1. Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
/* balance stops headings dropping a single orphaned word onto the last line,
   which is where narrow screens look scrappiest. Ignored by older browsers. */
h1, h2, h3, h4 { font-family: var(--ff-head); font-weight: 400; line-height: 1.15; color: var(--ink); margin: 0 0 .5em; text-wrap: balance; }
p { text-wrap: pretty; }
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); font-weight: 700; font-family: var(--ff-body); }
p { margin: 0 0 1rem; }
a { color: var(--pink-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--pink-deep); }
ul { margin: 0 0 1rem; padding-left: 1.2em; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; border-radius: 4px; }

/* 2. Layout -------------------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.container-narrow { max-width: 780px; }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--tint { background: var(--pink-tint); }
.section--cream { background: var(--cream); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto clamp(2rem, 5vw, 3rem); }
.section-head .eyebrow { color: var(--pink-dark); }
.grid { display: grid; gap: var(--gap); }
.eyebrow {
  display: inline-block; font-family: var(--ff-body); font-weight: 700;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--pink-dark); margin-bottom: .75rem; text-wrap: balance;
}
/* the hero eyebrow is long enough to wrap on a phone and was orphaning a single
   word; tightening the tracking lets it sit on one line on most handsets */
@media (max-width: 480px) {
  .eyebrow { font-size: .74rem; letter-spacing: .1em; }
}

/* skip link */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--pink); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* 3. Header / nav -------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand img { height: 40px; width: auto; }
.brand__sub { font-family: var(--ff-body); font-size: .78rem; color: var(--muted); font-weight: 600; }
.nav { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.5rem); }
.nav__links { display: flex; align-items: center; gap: clamp(.75rem, 1.8vw, 1.4rem); list-style: none; margin: 0; padding: 0; }
.nav__links a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: .5rem 0; position: relative;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--pink-dark); }
.nav__links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--pink);
}
/* Header CTA: outline by default, fills to solid pink + white text on hover/focus.
   (Overrides .btn: the nav-link colour rule outranks .btn on specificity.)
   Shorter and wider than the base pill so it doesn't read as too tall. */
.nav__links a.btn--primary {
  min-height: 42px; padding: .45rem 2rem;
  background: transparent; color: var(--pink-dark);
  border: 2px solid var(--pink); box-shadow: none;
}
.nav__links a.btn--primary:hover,
.nav__links a.btn--primary:focus-visible {
  background: var(--pink); color: #fff; transform: translateY(-1px);
}
.nav__links a.btn--ghost, .nav__links a.btn--light { color: var(--pink-dark); }
.nav__links a.btn[aria-current="page"]::after { display: none; }
/* On the mobile dropdown the CTA is full width, so keep it comfortable */
@media (max-width: 900px) { .nav__links a.btn--primary { padding: .7rem 2rem; } }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: .5rem;
  width: 44px; height: 44px; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 24px; height: 2px; background: var(--ink); position: relative; transition: transform .25s, opacity .25s;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* 4. Announcement bar ---------------------------------------------------- */
.announce {
  background: var(--ink); color: #fff; text-align: center;
  font-size: .9rem; padding: .6rem 1rem; line-height: 1.4;
}
.announce a { color: #fff; font-weight: 700; text-decoration: underline; }
.announce__close {
  background: none; border: 0; color: #fff; opacity: .7; cursor: pointer;
  font-size: 1.1rem; margin-left: .75rem; line-height: 1;
}
.announce__close:hover { opacity: 1; }
.announce[hidden] { display: none; }

/* 5. Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.6rem; border-radius: 999px;
  font-family: var(--ff-body); font-weight: 700; font-size: 1rem; text-decoration: none;
  cursor: pointer; border: 2px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s;
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--pink); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--pink-deep); color: #fff; box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--pink-dark); border-color: var(--pink); }
.btn--ghost:hover { background: var(--pink); color: #fff; }
.btn--light { background: #fff; color: var(--pink-dark); box-shadow: var(--shadow-sm); }
.btn--light:hover { background: var(--pink-tint); color: var(--pink-deep); }
.btn--block { display: flex; width: 100%; }
/* main.js marks any CTA whose config value is still "#". Without this they look
   like ordinary buttons and clicking one just jumps to the top of the page,
   which reads as a broken site. Make unavailable look unavailable. */
[data-placeholder="true"] { opacity: .5; cursor: not-allowed; pointer-events: none; }
.btn--lg { min-height: 54px; padding: .9rem 2rem; font-size: 1.05rem; }

/* 5b. Outline icons (single consistent system: thin stroke, currentColor) */
.ico {
  width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.18em;
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}

/* 6. Hero ---------------------------------------------------------------- */
.hero {
  position: relative; color: #fff; isolation: isolate;
  padding-block: clamp(3.5rem, 9vw, 7rem);
  background: linear-gradient(120deg, var(--pink) 0%, var(--pink-deep) 100%);
}
.hero--image::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: var(--hero-img); background-size: cover; background-position: center;
}
.hero--image::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, rgba(143,31,75,.82), rgba(217,52,118,.62));
}
.hero__inner { max-width: 780px; }
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero__lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); opacity: .96; margin-bottom: 1.75rem; max-width: 60ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; }

/* 7. Cards --------------------------------------------------------------- */
/* minmax(0, 1fr) not 1fr: a bare 1fr track will not shrink below its content's
   min-content width, which pushed testimonial cards off the side of a 320px
   phone. The 0 floor lets the track shrink and the text wrap instead. */
.cards { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem); box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease; height: 100%;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card__icon {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  color: var(--green); margin-bottom: 1rem;
}
.card__icon .ico { width: 34px; height: 34px; stroke-width: 1.5; }
.card__price { font-family: var(--ff-head); font-size: 1.9rem; color: var(--pink-dark); line-height: 1.15; margin: .25rem 0 .5rem; }
.card__price small { font-family: var(--ff-body); font-size: .85rem; color: var(--muted); font-weight: 600; display: block; margin-top: .5rem; }
.card__meta { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.card .btn { margin-top: auto; }

/* door cards (home) */
.door {
  position: relative; overflow: hidden; color: #fff; border: 0; border-radius: var(--radius-lg);
  min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(1.5rem, 3vw, 2.25rem); text-decoration: none; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
/* The text block sits in the lower half, so the scrim has to be well underway by
   the time it gets there. The old ramp was still only 5% dark at 30% down and
   peaked at 72%, which left white text sitting on bright parts of the photo. */
.door::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(34,34,34,.10) 0%, rgba(34,34,34,.30) 35%, rgba(34,34,34,.62) 62%, rgba(34,34,34,.88) 100%); }
.door > * { position: relative; z-index: 1; }
.door img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.door:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: #fff; }
.door h3 { color: #fff; font-size: 1.5rem; }
/* full opacity: the scrim above already provides the separation, and dimming the
   text on top of it was costing contrast twice over */
.door p { margin-bottom: 1rem; }
.door__tag { display: inline-block; background: rgba(255,255,255,.22); border-radius: 999px; padding: .25rem .8rem; font-size: .78rem; font-weight: 700; letter-spacing: .04em; margin-bottom: .75rem; width: max-content; }
.door .btn { align-self: flex-start; }

/* feature / split rows */
.split { display: grid; gap: clamp(1.5rem, 5vw, 3.5rem); align-items: center; grid-template-columns: 1fr; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.split--reverse .split__media { order: -1; }

/* check list */
.checks { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.checks li { position: relative; padding-left: 1.9rem; margin-bottom: .6rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 18px;
  background: var(--green); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* symptom pills */
.pills { display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; list-style: none; margin: 0; }
.pills li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1.1rem; font-weight: 600; font-size: .95rem; box-shadow: var(--shadow-sm); }

/* steps */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 3.5rem; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 2.5rem; height: 2.5rem;
  background: var(--pink); color: #fff; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--ff-head); font-size: 1.2rem;
}

/* credentials strip */
.creds { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; justify-content: center; align-items: center; }
.cred { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--ink-soft); }
.cred .ico { width: 26px; height: 26px; color: var(--green); }

/* 8. FAQ (accordion) ----------------------------------------------------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: .85rem; box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 1.3rem; font-weight: 700;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--pink-dark); transition: transform .2s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 1.3rem 1.2rem; color: var(--ink-soft); }

/* 9. Forms / lead magnet ------------------------------------------------- */
.leadbox {
  background: linear-gradient(120deg, var(--pink-tint), #fff);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow-sm);
}
.leadbox h3 { margin-top: 0; }
.form-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.form-row input[type="email"] {
  flex: 1 1 220px; min-height: 48px; padding: .7rem 1rem; border: 1.5px solid var(--line);
  border-radius: 999px; font: inherit; background: #fff;
}
.form-row input[type="email"]:focus { border-color: var(--pink); outline: none; }
.form-note { font-size: .82rem; color: var(--muted); margin: .75rem 0 0; }

/* 9b. Factsheet downloads (populated by js/factsheets.js) ------------------ */
.fs-list { max-width: 780px; margin: 0 auto; }
.fs-group {
  font-family: var(--ff-body); font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
  margin: 2rem 0 .75rem;
}
.fs-group:first-child { margin-top: 0; }
.fs-items { list-style: none; margin: 0; padding: 0; }
.fs-item { margin-bottom: .7rem; }

.fs-link {
  display: flex; gap: .9rem; align-items: flex-start; text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.2rem; box-shadow: var(--shadow-sm); color: var(--ink);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.fs-link:hover, .fs-link:focus-visible {
  transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: var(--pink);
}
.fs-ico { flex: 0 0 auto; color: var(--pink-dark); margin-top: .1rem; }
.fs-text { display: block; min-width: 0; }
.fs-title { display: block; font-weight: 700; }
.fs-desc { display: block; font-size: .9rem; color: var(--ink-soft); margin-top: .15rem; }
.fs-meta { display: block; font-size: .78rem; color: var(--muted); margin-top: .35rem; }

.theme-bloom .fs-ico { color: var(--coral); }
.theme-bloom .fs-link:hover, .theme-bloom .fs-link:focus-visible { border-color: var(--coral); }

/* testimonial */
.quote {
  background: #fff; border-left: 4px solid var(--pink); border-radius: var(--radius);
  padding: 1.5rem 1.75rem; box-shadow: var(--shadow-sm); font-size: 1.05rem;
}
/* Browsers give blockquote a 40px margin on each side by default. Inside an
   already-padded card on a 390px phone that left barely 200px for the text, so
   quotes wrapped every four or five words. */
.quote blockquote { margin: 0; }
.quote figcaption { margin-top: .75rem; font-weight: 700; color: var(--pink-dark); font-size: .92rem; }
.quote--placeholder { border-left-style: dashed; opacity: .95; }

/* cta band */
.cta-band { background: linear-gradient(120deg, var(--pink) 0%, var(--pink-deep) 100%); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { opacity: .95; max-width: 55ch; margin-inline: auto; }
.cta-band .hero__cta { justify-content: center; margin-top: 1.5rem; }

/* 10. Footer ------------------------------------------------------------- */
.site-footer { background: #1c1418; color: #d8c7d0; padding-block: clamp(2.5rem, 6vw, 4rem) 2rem; font-size: .95rem; }
.site-footer a { color: #f3d4e1; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer h3 { color: var(--pink); font-family: var(--ff-body); font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .7rem; }
.footer-grid li a { display: inline-flex; align-items: center; gap: .6rem; }
.footer-grid li a .ico { width: 18px; height: 18px; color: var(--pink); flex: none; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 1rem; }
.footer-serving { color: #a897a1; font-size: .88rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .85rem; color: #a897a1; }
.footer-disclaimer { font-size: .82rem; color: #8c7b85; margin-top: .75rem; line-height: 1.6; }
/* staff-only door. Deliberately quiet: useful to Ellen & Dee, invisible to everyone else. */
.footer-staff { margin-top: 1.25rem; font-size: .78rem; }
.footer-staff a { color: #7d6d76; text-decoration: none; border-bottom: 1px dotted #6b5c64; }
.footer-staff a:hover, .footer-staff a:focus-visible { color: #fff; border-bottom-color: #fff; }

/* 11. Utilities ---------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.badge { display: inline-block; background: var(--pink-tint); color: var(--pink-dark); border-radius: 999px; padding: .25rem .8rem; font-size: .8rem; font-weight: 700; }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* 12. Bloom sub-brand theme (scoped to .theme-bloom) --------------------- */
.theme-bloom {
  --pink-tint: #fff3f8;
  --radius: 20px;
  --radius-lg: 30px;
  --shadow: 0 12px 34px rgba(255, 122, 89, .18);
  /* Bloom leans orange: gradient for shapes, orange for text/lines that were pink */
  --bloom-grad: linear-gradient(100deg, #e0468a 0%, #ff7a59 52%, #ff9d3d 100%);
  --orange: #ff7a2e;          /* solid orange for hovers / lines */
  --pink-dark: #d1490f;       /* remaps every "pink" text/link on Bloom to an AA-safe orange */
}
/* sunset gradient: warm pink → coral → sun, used on hero + CTA for the whimsical lean */
.theme-bloom .hero { background: linear-gradient(125deg, #e0468a 0%, #ff7a59 62%, #ffb24d 100%); }
.theme-bloom .hero--image::after { background: linear-gradient(125deg, rgba(224,70,138,.82), rgba(255,122,89,.55) 65%, rgba(255,178,77,.45)); }

/* Buttons: pink→orange gradient by default, solid orange on hover/focus */
.theme-bloom .btn--primary {
  background: var(--bloom-grad); color: #fff; border: 0;
  box-shadow: 0 8px 22px rgba(255, 122, 89, .28);
}
.theme-bloom .btn--primary:hover,
.theme-bloom .btn--primary:focus-visible { background: var(--orange); color: #fff; }
/* white pills (on the coloured hero/CTA): keep the white pill, orange text, orange fill on hover */
.theme-bloom .btn--light { background: #fff; color: #d1490f; }
.theme-bloom .btn--light:hover { background: var(--orange); color: #fff; }
/* Header CTA: orange outline → gradient fill on hover */
.theme-bloom .nav__links a.btn--primary {
  background: transparent; color: var(--orange); border: 2px solid var(--orange); box-shadow: none;
}
.theme-bloom .nav__links a.btn--primary:hover,
.theme-bloom .nav__links a.btn--primary:focus-visible { background: var(--bloom-grad); border-color: transparent; color: #fff; }

.theme-bloom .card:hover, .theme-bloom .door:hover { transform: translateY(-6px) rotate(-.4deg); }
.theme-bloom .cta-band { background: linear-gradient(125deg, #e0468a 0%, #ff7a59 60%, #ffb24d 100%); }
.theme-bloom .section--cream { background: linear-gradient(180deg, #fff6f9 0%, #fff2ea 100%); }
.theme-bloom .card__icon, .theme-bloom .card__icon .ico { color: var(--orange); }

/* Pink shapes → pink-orange gradient */
.theme-bloom .badge { background: var(--bloom-grad); color: #fff; }
.theme-bloom .card__price { background: var(--bloom-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.theme-bloom .card__price small { -webkit-text-fill-color: var(--muted); color: var(--muted); }

/* Pink lines → orange */
.theme-bloom .nav__links a[aria-current="page"]::after { background: var(--bloom-grad); }
.theme-bloom .quote { border-left-color: var(--orange); }
.theme-bloom .faq summary::after { color: var(--orange); }
.theme-bloom .checks li::before { background: var(--orange); }
.theme-bloom .eyebrow { color: var(--pink-dark); }

/* Bloom wordmark: styled "Bloom by Elladee" */
.theme-bloom .brand__sub {
  display: inline-flex; align-items: baseline; gap: .3em; line-height: 1;
}
.theme-bloom .brand__sub b {
  font-family: var(--ff-head); font-weight: 400; font-size: 1.45rem;
  background: linear-gradient(100deg, #e0468a 0%, #ff7a59 70%, #ff9d3d 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.theme-bloom .brand__sub em { font-style: italic; font-size: .72rem; font-weight: 600; color: var(--coral); }
@media (max-width: 480px) { .theme-bloom .brand__sub em { display: none; } }

/* --- Bloom: harder sunset wash + botanical accents (all decorative) --- */
/* whole-page warm sunset gradient so white never feels cold */
.theme-bloom { background: linear-gradient(180deg, #fff6f1 0%, #fff0f5 45%, #fff5ec 100%); }
.theme-bloom .section { position: relative; }
.theme-bloom .section--tint { background: linear-gradient(155deg, #ffe6ef 0%, #ffe6d8 100%); }
.theme-bloom .section--cream { background: linear-gradient(180deg, #fff6f9 0%, #fff0e6 100%); }
.theme-bloom .leadbox { background: linear-gradient(140deg, #ffe9f1 0%, #fff2e4 100%); border-color: #ffd9c9; }
.theme-bloom .card { border-color: #ffe0ea; }

/* flower before every eyebrow: the motif that ties the page together */
.theme-bloom .eyebrow { position: relative; padding-left: 1.7em; }
.theme-bloom .eyebrow::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 1.15em; height: 1.15em; transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='%23ff7a59'%3E%3Ccircle cx='12' cy='5.2' r='3.2'/%3E%3Ccircle cx='12' cy='18.8' r='3.2'/%3E%3Ccircle cx='5.2' cy='12' r='3.2'/%3E%3Ccircle cx='18.8' cy='12' r='3.2'/%3E%3C/g%3E%3Ccircle cx='12' cy='12' r='3.4' fill='%23ffcf4d'/%3E%3C/svg%3E") center/contain no-repeat;
}
/* on dark/hero eyebrows the coloured flower still reads well */

/* decorative foliage sprigs placed in section corners */
.theme-bloom .hero__inner, .theme-bloom .cta-band .container { position: relative; z-index: 2; }
.bloom-sprig {
  position: absolute; width: clamp(90px, 12vw, 150px); height: auto; z-index: 0;
  pointer-events: none; color: #fff; opacity: .16;
}
.hero .bloom-sprig--a { top: 10%; right: 3%; transform: rotate(18deg); }
.hero .bloom-sprig--b { bottom: -14px; left: -8px; transform: rotate(-150deg); opacity: .13; }
.cta-band .bloom-sprig--a { top: 8%; left: 4%; transform: rotate(-20deg); }
.cta-band .bloom-sprig--b { bottom: -10px; right: 2%; transform: rotate(150deg); }
.theme-bloom .cta-band { position: relative; overflow: hidden; }

/* large silhouette blooms + foliage peeking in from the top of the hero */
.bloom-hero-flowers { position: absolute; top: 0; left: 0; right: 0; height: 340px; z-index: 1; pointer-events: none; overflow: hidden; }
.bloom-flower { position: absolute; display: block; color: #fff; }
@media (max-width: 700px) { .bloom-hero-flowers { height: 200px; } .bloom-flower { transform: scale(.62); } }
@media (max-width: 560px) { .bloom-sprig { display: none; } }

/* whimsical accents: decorative only */
.blob { position: absolute; z-index: -1; filter: blur(2px); opacity: .5; pointer-events: none; }
.squiggle { display: block; height: 12px; color: var(--coral); margin-top: -.25rem; }
.squiggle svg { height: 12px; width: 160px; }
.doodle { color: var(--sun); }
.theme-bloom .eyebrow { color: var(--coral); }
.theme-bloom .checks li::before { background: var(--coral); }
.theme-bloom .section--tint { background: var(--pink-tint); }

/* 13. Responsive --------------------------------------------------------- */
@media (min-width: 640px) {
  .cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 880px) {
  .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--reverse .split__media { order: 0; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav__links {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: .5rem 1.25rem 1.25rem; box-shadow: var(--shadow);
    transform: translateY(-120%); transition: transform .28s ease;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open .nav__links { transform: translateY(0); }
  .nav__links li { border-bottom: 1px solid var(--line); }
  .nav__links a { display: block; padding: .9rem .25rem; font-size: 1.05rem; }
  .nav__links a[aria-current="page"]::after { display: none; }
  .nav__links .btn { margin-top: .9rem; }
}
@media (max-width: 560px) {
  .cards--2, .cards--3 { grid-template-columns: minmax(0, 1fr); }
  /* the submit sat at its natural width under a full-width email field, which
     read as unfinished. Match the field. */
  .form-row .btn { width: 100%; }
  .quote { padding: 1.35rem 1.25rem; }
  .hero__cta .btn { width: 100%; }
}
