/* ==========================================================================
   Londry — landing page
   The hero is a wash cycle: a pinned machine driven entirely by scroll
   position, with a live readout beside it. Everything below the hero is
   deliberately quiet so the machine stays the one loud thing on the page.
   ========================================================================== */

/* ── Pinned cycle stage ───────────────────────────────────────────────── */

.cycle {
  position: relative;
  /* Scroll distance the machine is pinned for. Overridden on small screens. */
  height: 520vh;
  background:
    radial-gradient(120% 80% at 50% -10%, var(--white) 0%, transparent 60%),
    radial-gradient(80% 60% at 88% 12%, var(--aqua-wash) 0%, transparent 55%),
    radial-gradient(70% 55% at 8% 30%, var(--brightener-wash) 0%, transparent 50%),
    var(--porcelain);
}

.cycle-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.cycle-inner {
  width: min(100% - (var(--gutter) * 2), 1200px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

/* Copy column ------------------------------------------------------------ */

.cycle-copy {
  position: relative;
  z-index: 2;
  max-width: 34rem;
}

.cycle-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0.5rem 0.38rem 0.4rem;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid var(--hairline-soft);
  box-shadow: var(--shadow-xs);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--slate);
  margin-bottom: var(--s-4);
}

.cycle-badge strong {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.18rem 0.55rem;
  border-radius: var(--r-pill);
  background: var(--mint-wash);
  color: #0a7d5a;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cycle-badge strong::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  animation: pulse-dot 2.2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(0.8); }
}

/* The copy swaps as the cycle advances. Every variant occupies the same grid
   cell, so cross-fading never shifts the layout underneath it. */
.cycle-headlines,
.cycle-ledes {
  display: grid;
}

.cycle-headlines {
  min-height: 2.15em;
}

.cycle-ledes {
  min-height: 4.8em;
  margin-top: var(--s-4);
}

.cycle-headline,
.cycle-lede {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out);
  pointer-events: none;
}

.cycle-headline {
  font-size: clamp(2.4rem, 1.35rem + 3.4vw, 4.3rem);
  line-height: 1.03;
  letter-spacing: -0.038em;
}

.cycle-lede {
  align-self: start;
  font-size: var(--step-lede);
  line-height: 1.55;
  color: var(--slate);
  max-width: 30rem;
}

.cycle-headline.is-active,
.cycle-lede.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.cycle-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-5);
}

.cycle-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-4);
  margin-top: var(--s-5);
  font-size: 0.825rem;
  color: var(--slate-light);
}

.cycle-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.cycle-trust-item svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--mint);
}

/* Machine column --------------------------------------------------------- */

.cycle-machine {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 900 / 760;
  /* Door swing, 0 = shut, 1 = fully open. Written by washer.js each frame.
     Cycle progress `--p` is set on .cycle-stage so it inherits to both the
     readout and the rail. */
  --door: 0;
}

.machine-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* The door is a real HTML element layered over the SVG body so it can swing
   on a genuine 3D rotateY — SVG groups do not establish a 3D context
   reliably across browsers. Its box matches the drum opening exactly. */
.machine-door-stage {
  position: absolute;
  /* Matches the drum opening: cx=520 cy=460 r=205 in the 900x760 viewBox. */
  left: 35%;
  top: 33.55%;
  width: 45.56%;
  height: 53.95%;
  perspective: 760px;
  pointer-events: none;
  z-index: 3;
}

.machine-door {
  position: absolute;
  inset: 0;
  transform-origin: 6% 50%;
  transform: rotateY(calc(var(--door) * -118deg));
  transform-style: preserve-3d;
  will-change: transform;
}

/* No filter here on purpose: a drop-shadow on an element rotating in 3D
   forces a re-raster every frame. The depth reads from the rotation alone. */
.machine-door-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Cycle readout ---------------------------------------------------------- */

.cycle-readout {
  position: absolute;
  right: -0.5rem;
  bottom: 4%;
  z-index: 4;
  width: min(15.5rem, 46%);
  padding: 0.9rem 1rem 1rem;
  border-radius: var(--r-md);
  background: color-mix(in oklab, var(--white) 92%, transparent);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid var(--hairline-soft);
  box-shadow: var(--shadow-md);
}

.readout-stage {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-2);
  margin-bottom: 0.6rem;
}

.readout-stage-name {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.readout-stage-index {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--slate-light);
  letter-spacing: 0.06em;
}

.readout-rows {
  display: grid;
  gap: 0.3rem;
}

.readout-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-2);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.readout-row dt {
  color: var(--slate-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.66rem;
}

.readout-row dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.readout-bar {
  position: relative;
  height: 4px;
  margin-top: 0.75rem;
  border-radius: 2px;
  background: var(--hairline-soft);
  overflow: hidden;
}

.readout-bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--p) * 100%);
  border-radius: 2px;
  background: var(--grad-cycle);
}

/* Progress rail ---------------------------------------------------------- */

.cycle-rail {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(1.5rem, 4vh, 3rem);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.cycle-rail-track {
  position: relative;
  width: clamp(120px, 22vw, 240px);
  height: 3px;
  border-radius: 2px;
  background: var(--hairline);
  overflow: hidden;
}

.cycle-rail-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--p, 0) * 100%);
  background: var(--grad-cycle);
  border-radius: 2px;
}

.cycle-rail-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-light);
  white-space: nowrap;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: clamp(1.5rem, 4vh, 3rem);
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-light);
  transition: opacity var(--dur) linear;
}

.scroll-hint.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.scroll-hint-mouse {
  width: 20px;
  height: 32px;
  border: 1.5px solid var(--slate-light);
  border-radius: var(--r-pill);
  position: relative;
}

.scroll-hint-mouse::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 6px;
  width: 3px;
  height: 6px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--slate-light);
  animation: scroll-wheel 1.8s var(--ease-out) infinite;
}

@keyframes scroll-wheel {
  0%        { transform: translateY(0);   opacity: 1; }
  60%, 100% { transform: translateY(10px); opacity: 0; }
}

/* Static fallback when the cycle cannot or should not run ----------------- */

.cycle.is-static {
  height: auto;
  padding-block: clamp(3rem, 8vw, 6rem);
}

.cycle.is-static .cycle-stage {
  position: static;
  height: auto;
  overflow: visible;
}

.cycle.is-static .cycle-headline {
  opacity: 0;
  position: absolute;
}

.cycle.is-static .cycle-headline:first-child {
  opacity: 1;
  position: static;
  transform: none;
}

.cycle.is-static .scroll-hint,
.cycle.is-static .cycle-rail {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .cycle {
    height: auto;
    padding-block: clamp(3rem, 8vw, 6rem);
  }

  .cycle-stage {
    position: static;
    height: auto;
    overflow: visible;
  }

  .scroll-hint,
  .cycle-rail {
    display: none;
  }
}

@media (max-width: 960px) {
  .cycle {
    height: 420vh;
  }

  .cycle-inner {
    grid-template-columns: 1fr;
    gap: var(--s-5);
    text-align: center;
  }

  .cycle-copy {
    max-width: none;
    margin-inline: auto;
    order: 1;
  }

  .cycle-machine {
    order: 2;
    max-width: 340px;
  }

  .cycle-lede {
    margin-inline: auto;
  }

  .cycle-cta,
  .cycle-trust {
    justify-content: center;
  }

  .cycle-readout {
    right: -0.75rem;
    bottom: -0.5rem;
    width: 13rem;
  }

  .cycle-rail {
    left: 50%;
    transform: translateX(-50%);
  }

  .scroll-hint {
    display: none;
  }
}

@media (max-width: 560px) {
  .cycle-headlines {
    min-height: 4.2em;
  }

  .cycle-lede {
    min-height: 4.5em;
    font-size: 1rem;
  }

  .cycle-readout {
    position: static;
    width: 100%;
    margin-top: var(--s-4);
  }

  .cycle-machine {
    max-width: 280px;
  }
}

/* ── Marquee of proof points ──────────────────────────────────────────── */

.proof {
  border-block: 1px solid var(--hairline-soft);
  background: var(--white);
  padding-block: var(--s-5);
  overflow: hidden;
}

.proof-track {
  display: flex;
  gap: clamp(2rem, 5vw, 4rem);
  width: max-content;
  animation: marquee 42s linear infinite;
}

.proof:hover .proof-track {
  animation-play-state: paused;
}

.proof-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate);
  white-space: nowrap;
}

.proof-item svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--detergent);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .proof-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }
}

/* ── Service categories ───────────────────────────────────────────────── */

.svc-grid {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
}

.svc-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-5);
  background: var(--white);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out);
}

.svc-card::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--svc-accent, var(--grad-cycle));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-slow) var(--ease-out);
}

.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--hairline);
  text-decoration: none;
}

.svc-card:hover::after,
.svc-card:focus-visible::after {
  transform: scaleX(1);
}

.svc-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-3);
}

.svc-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  flex: none;
  color: var(--svc-fg, var(--detergent-deep));
  background: var(--svc-bg, var(--detergent-wash));
}

.svc-icon .care-symbol {
  width: 26px;
  height: 26px;
  stroke-width: 1.7;
}

.svc-card h3 {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.svc-tagline {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--slate-light);
  margin-top: 0.15rem;
}

.svc-blurb {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--slate);
  flex: 1;
}

.svc-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding-top: var(--s-3);
  border-top: 1px solid var(--hairline-soft);
  font-size: 0.85rem;
}

.svc-from {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.svc-from span {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--slate-light);
  margin-right: 0.25rem;
}

.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--detergent-deep);
}

/* Accent variants keyed to the catalogue's `accent` field. */
.svc-card[data-accent='ocean'] { --svc-bg: var(--detergent-wash);  --svc-fg: var(--detergent-deep); --svc-accent: linear-gradient(90deg, var(--aqua), var(--detergent)); }
.svc-card[data-accent='mint']  { --svc-bg: var(--mint-wash);       --svc-fg: #0a7d5a;               --svc-accent: linear-gradient(90deg, #7ce8c4, var(--mint)); }
.svc-card[data-accent='lilac'] { --svc-bg: var(--brightener-wash); --svc-fg: #5a3fd6;               --svc-accent: linear-gradient(90deg, #b9a8ff, var(--brightener)); }
.svc-card[data-accent='sky']   { --svc-bg: var(--aqua-wash);       --svc-fg: #0b7c8c;               --svc-accent: linear-gradient(90deg, #9aeef7, var(--aqua)); }
.svc-card[data-accent='peach'] { --svc-bg: var(--citrus-wash);     --svc-fg: #96650a;               --svc-accent: linear-gradient(90deg, #ffd88a, var(--citrus)); }
.svc-card[data-accent='coral'] { --svc-bg: var(--coral-wash);      --svc-fg: #a3312a;               --svc-accent: linear-gradient(90deg, #ffa9a3, var(--coral)); }

/* ── How it works ─────────────────────────────────────────────────────── */

.steps {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  position: relative;
}

.step {
  position: relative;
  padding-top: var(--s-5);
}

/* The connecting line is a genuine sequence marker: these steps happen in
   this order and the order matters. */
.step::before {
  content: '';
  position: absolute;
  top: 13px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--hairline) 0%, var(--hairline) 100%);
}

.step:first-child::before { left: 50%; border-radius: 2px 0 0 2px; }
.step:last-child::before  { right: 50%; border-radius: 0 2px 2px 0; }

.steps[data-steps-lit='true'] .step::before {
  background: var(--grad-cycle);
  background-size: 400% 100%;
}

.step-dot {
  position: absolute;
  top: 6px;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--detergent);
  z-index: 1;
  transition: transform var(--dur) var(--ease-spring), border-color var(--dur) linear;
}

.step:hover .step-dot {
  transform: scale(1.25);
  border-color: var(--brightener);
}

.step-time {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--detergent-deep);
  margin-bottom: var(--s-2);
}

.step h3 {
  font-size: 1.15rem;
  margin-bottom: var(--s-2);
}

.step p {
  font-size: 0.92rem;
  line-height: 1.62;
  color: var(--slate);
}

@media (max-width: 720px) {
  .step::before,
  .step:first-child::before,
  .step:last-child::before {
    left: 7px;
    right: auto;
    top: 22px;
    bottom: -20px;
    width: 2px;
    height: auto;
  }

  .step:last-child::before { display: none; }

  .step {
    padding-top: 0;
    padding-left: 2.25rem;
  }

  .step-dot { top: 4px; }
}

/* ── Same-day feature band ────────────────────────────────────────────── */

.sameday {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-xl);
  padding: clamp(2.25rem, 5vw, 4rem);
}

.sameday::before {
  content: '';
  position: absolute;
  inset: -40% -10% auto auto;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(53, 211, 232, 0.35) 0%, transparent 65%);
  pointer-events: none;
}

.sameday::after {
  content: '';
  position: absolute;
  inset: auto auto -50% -15%;
  width: 55%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(124, 92, 252, 0.32) 0%, transparent 65%);
  pointer-events: none;
}

.sameday-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.sameday h2 {
  color: var(--white);
}

.sameday .lede {
  color: color-mix(in oklab, var(--white) 72%, transparent);
}

.sameday .eyebrow {
  color: var(--aqua);
}

/* A real timeline: these are the actual hours of a same-day turnaround. */
.timeline {
  display: grid;
  gap: 0;
  background: color-mix(in oklab, var(--white) 6%, transparent);
  border: 1px solid color-mix(in oklab, var(--white) 12%, transparent);
  border-radius: var(--r-lg);
  padding: var(--s-4);
  backdrop-filter: blur(8px);
}

.timeline-row {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  gap: var(--s-4);
  align-items: start;
  padding: 0.7rem 0;
  position: relative;
}

.timeline-row + .timeline-row {
  border-top: 1px solid color-mix(in oklab, var(--white) 9%, transparent);
}

.timeline-time {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--aqua);
  font-variant-numeric: tabular-nums;
  padding-top: 1px;
}

.timeline-what {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
}

.timeline-detail {
  font-size: 0.84rem;
  color: color-mix(in oklab, var(--white) 58%, transparent);
  margin-top: 0.15rem;
}

@media (max-width: 860px) {
  .sameday-inner {
    grid-template-columns: 1fr;
  }
}

/* ── Stats ────────────────────────────────────────────────────────────── */

.stats {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
}

.stat {
  padding: var(--s-5) var(--s-4);
  background: var(--white);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--r-lg);
  text-align: center;
  box-shadow: var(--shadow-xs);
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--slate);
  margin-top: 0.5rem;
}

/* ── Coverage checker ─────────────────────────────────────────────────── */

.coverage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.postcode-form {
  display: flex;
  gap: var(--s-2);
  margin-top: var(--s-5);
  max-width: 26rem;
}

.postcode-form .input {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.coverage-result {
  margin-top: var(--s-4);
  padding: 0.85rem 1.1rem;
  border-radius: var(--r-md);
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
}

.coverage-result.is-shown { display: block; }
.coverage-result.is-yes { background: var(--mint-wash);  color: #0a6a4d; }
.coverage-result.is-no  { background: var(--citrus-wash); color: #8a5c05; }

.district-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  max-height: 15rem;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
}

.district {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  border-radius: var(--r-sm);
  background: var(--white);
  border: 1px solid var(--hairline-soft);
  color: var(--slate);
  transition: transform var(--dur-fast) var(--ease-out), color var(--dur-fast) linear,
    border-color var(--dur-fast) linear;
}

.district.is-match {
  background: var(--detergent);
  border-color: var(--detergent);
  color: var(--white);
  transform: scale(1.08);
}

@media (max-width: 800px) {
  .coverage { grid-template-columns: 1fr; }
}

/* ── Testimonials ─────────────────────────────────────────────────────── */

.quotes {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.quote {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding: var(--s-5);
  background: var(--white);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.quote-stars {
  display: flex;
  gap: 2px;
  color: var(--citrus);
}

.quote-stars svg {
  width: 16px;
  height: 16px;
}

.quote-text {
  font-size: 1rem;
  line-height: 1.62;
  color: var(--ink);
  flex: 1;
}

.quote-person {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-top: var(--s-3);
  border-top: 1px solid var(--hairline-soft);
}

.quote-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  background: var(--grad-cycle);
  flex: none;
}

.quote-name {
  font-size: 0.9rem;
  font-weight: 600;
}

.quote-where {
  font-size: 0.8rem;
  color: var(--slate-light);
}

/* ── FAQ ──────────────────────────────────────────────────────────────── */

.faq {
  max-width: 46rem;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--hairline-soft);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  width: 100%;
  padding: 1.15rem 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  transition: color var(--dur-fast) linear;
}

.faq-q:hover { color: var(--detergent-deep); }

.faq-icon {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--hairline-soft);
  position: relative;
  transition: background-color var(--dur) linear, transform var(--dur) var(--ease-out);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--slate);
  border-radius: 1px;
  transition: transform var(--dur) var(--ease-out), background-color var(--dur) linear;
}

.faq-icon::before { width: 10px; height: 2px; }
.faq-icon::after  { width: 2px; height: 10px; }

.faq-q[aria-expanded='true'] .faq-icon {
  background: var(--detergent);
}

.faq-q[aria-expanded='true'] .faq-icon::before,
.faq-q[aria-expanded='true'] .faq-icon::after {
  background: var(--white);
}

.faq-q[aria-expanded='true'] .faq-icon::after {
  transform: rotate(90deg);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-slow) var(--ease-out);
}

.faq-a.is-open {
  grid-template-rows: 1fr;
}

.faq-a-inner {
  overflow: hidden;
}

.faq-a p {
  padding-bottom: 1.2rem;
  font-size: 0.95rem;
  line-height: 1.68;
  color: var(--slate);
  max-width: 60ch;
}

/* ── Closing CTA ──────────────────────────────────────────────────────── */

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3rem);
  text-align: center;
  background: var(--grad-soft);
  border: 1px solid var(--hairline-soft);
}

.cta-band h2 {
  max-width: 20ch;
  margin-inline: auto;
}

.cta-band .lede {
  margin-inline: auto;
  margin-top: var(--s-4);
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  justify-content: center;
  margin-top: var(--s-5);
}

/* Ambient bubbles — used once, here, where they read as detergent foam. */
.cta-bubble {
  position: absolute;
  border-radius: 50%;
  background: color-mix(in oklab, var(--white) 55%, transparent);
  border: 1px solid color-mix(in oklab, var(--white) 70%, transparent);
  pointer-events: none;
  animation: bubble-drift 14s ease-in-out infinite;
}

@keyframes bubble-drift {
  0%, 100% { transform: translateY(0) scale(1);      opacity: 0.45; }
  50%      { transform: translateY(-22px) scale(1.08); opacity: 0.75; }
}

@media (prefers-reduced-motion: reduce) {
  .cta-bubble { animation: none; }
}
