/* ==========================================================
   Mundo Holístico Ser — landing
   ========================================================== */

/* ---------- Motion tokens + transitions.dev variables ---------- */
:root {
  --duration-stagger: 40ms;
  --duration-micro: 80ms;
  --duration-quick: 150ms;
  --duration-fast: 250ms;
  --duration-medium: 350ms;
  --duration-slow: 400ms;
  --duration-very-slow: 500ms;

  --ease-smooth-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: ease-in-out;
  --ease-out: ease-out;
  --ease-linear: linear;

  /* 18 · texts reveal */
  --stagger-dur: 500ms;
  --stagger-distance: 12px;
  --stagger-stagger: 40ms;
  --stagger-blur: 3px;
  --stagger-ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* 21 · accordion */
  --acc-expand: 250ms;
  --acc-collapse: 250ms;
  --acc-chevron: 250ms;
  --acc-ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* 24 · learn more hover */
  --learn-shift: 2px;
  --learn-spread: 8deg;
  --learn-in: 250ms;
  --learn-out: 350ms;
  --learn-ease: cubic-bezier(0.22, 1, 0.36, 1);

}

/* ---------- Brand tokens ---------- */
:root {
  --bg: #ffffff;
  --bg-soft: #f8f6f4;
  --ink: #1c1917;
  --ink-2: #4f4944;
  --muted: #736b65;
  --line: #ebe6e1;
  --line-strong: #d9d2cb;

  --rose: #e3a1ab;
  --rose-ink: #9c4656;
  --rose-soft: #fbedef;

  --tint-water: #e6eff5;
  --tint-aura: #eeecf8;
  --tint-herb: #e9f0e4;
  --tint-honey: #faf0d8;
  --tint-rose: #fbe9ec;
  --tint-flame: #fcece2;

  --font-display: "Literata", Georgia, "Times New Roman", serif;
  --font-sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 4.2vw, 56px);
  --maxw: 1240px;
  --section-y: clamp(64px, 8vw, 120px);
  --radius: 10px;
  --nav-h: 68px;

  --ease-ui: cubic-bezier(0.23, 1, 0.32, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  color-scheme: only light; /* a forced dark mode must not recolour the page */
  background: #fff;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  scrollbar-color: var(--line-strong) var(--bg);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* Lenis smooth scroll (assets/vendor/lenis.css equivalent) */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "kern", "liga";
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  caret-color: var(--rose-ink);
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
button { font: inherit; color: inherit; }
em { font-style: italic; }
::selection { background: var(--rose-soft); color: var(--rose-ink); }
:focus-visible { outline: 2px solid var(--rose-ink); outline-offset: 3px; border-radius: 4px; }
/* sections that receive focus after an in-page jump don't need a ring around the whole block */
section[tabindex="-1"]:focus, main[tabindex="-1"]:focus { outline: none; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 10px; border: 3px solid var(--bg); }

.skip {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 6px;
  text-decoration: none; font-size: 0.9375rem;
}
.skip:focus { top: 12px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: var(--section-y) 0; }

/* ---------- Type ---------- */
/* Roles, not sizes: xl = the page's hinges, l = section heads,
   m = supporting heads, prose = the client's letter, lead = sans intro */
:root {
  --fs-xl: clamp(2.75rem, 1.15rem + 5vw, 6rem);
  --fs-l: clamp(2.125rem, 1.1rem + 3vw, 4rem);
  --fs-m: clamp(1.625rem, 1.15rem + 1.3vw, 2.375rem);
  --fs-prose: clamp(1.375rem, 1.05rem + 1vw, 2rem);
  --fs-card: clamp(1.25rem, 1.05rem + 0.6vw, 1.625rem);
  --fs-lead: clamp(1.125rem, 1rem + 0.45vw, 1.375rem);
}
.t-display-xl, .t-display-l, .t-display-m {
  font-family: var(--font-display);
  font-weight: 400;
  text-wrap: balance;
}
.t-display-xl { font-size: var(--fs-xl); line-height: 1.02; letter-spacing: -0.03em; }
.t-display-l { font-size: var(--fs-l); line-height: 1.06; letter-spacing: -0.024em; }
.t-display-m { font-size: var(--fs-m); line-height: 1.15; letter-spacing: -0.015em; }
.t-lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 34em;
  text-wrap: pretty;
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  background: var(--ink); color: #fff;
  border: 1px solid var(--ink); border-radius: 6px;
  font-size: 0.9875rem; font-weight: 500; letter-spacing: 0.005em;
  text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: transform 160ms var(--ease-ui), background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: 0.875rem; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: #38322e; border-color: #38322e; }
  .btn--ghost:hover { background: var(--bg-soft); color: var(--ink); border-color: var(--ink); }
}

.link {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 48px;
  transition: transform 160ms var(--ease-ui);
  font-weight: 500; font-size: 0.9875rem;
  text-decoration: none; color: var(--ink);
}
.link:active { transform: scale(0.97); }
.t-learn-chevron svg path { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- transitions.dev · 24 learn more hover ---------- */
.t-learn-chevron {
  display: inline-flex;
  transform: translateX(0);
  transition: transform var(--learn-out) var(--learn-ease);
}
.t-learn-arm {
  transform-box: view-box;
  transform-origin: 10px 8px;
  vector-effect: non-scaling-stroke;
  transition: transform var(--learn-out) var(--learn-ease);
}
/* gated to real hover so the arrow doesn't stick after a tap */
@media (hover: hover) and (pointer: fine) {
  .t-learn:hover .t-learn-chevron { transform: translateX(var(--learn-shift)); transition-duration: var(--learn-in); }
  .t-learn:hover .t-learn-arm { transition-duration: var(--learn-in); }
  .t-learn:hover .t-learn-arm-top { transform: rotate(var(--learn-spread)); }
  .t-learn:hover .t-learn-arm-bot { transform: rotate(calc(var(--learn-spread) * -1)); }
}

@media (prefers-reduced-motion: reduce) {
  .t-learn-chevron, .t-learn-arm { transition: none !important; }
}

/* ---------- transitions.dev · 18 texts reveal ---------- */
.t-stagger-line {
  display: block;
  opacity: 0;
  transform: translateY(var(--stagger-distance));
  filter: blur(var(--stagger-blur));
  transition:
    opacity   var(--stagger-dur) var(--stagger-ease),
    transform var(--stagger-dur) var(--stagger-ease),
    filter    var(--stagger-dur) var(--stagger-ease);
}
.t-stagger-line--2 { transition-delay: var(--stagger-stagger); }

.t-stagger.is-shown .t-stagger-line {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.t-stagger.is-hiding .t-stagger-line {
  opacity: 0;
  transform: translateY(0);
  filter: blur(0);
  transition:
    opacity 200ms ease,
    transform 0s linear,
    filter 0s linear;
  transition-delay: 0s;
}

@media (prefers-reduced-motion: reduce) {
  .t-stagger-line { transition: none !important; }
}

/* extra lines follow the documented pattern: delay = stagger × (N − 1) */
.t-stagger-line--3 { transition-delay: calc(var(--stagger-stagger) * 2); }
.t-stagger-line--4 { transition-delay: calc(var(--stagger-stagger) * 3); }
/* an entering block waits for the outgoing one to fade (200ms exit) */
.t-stagger.is-delayed { --enter-delay: 140ms; }
.t-stagger.is-delayed.is-shown .t-stagger-line--1 { transition-delay: var(--enter-delay); }
.t-stagger.is-delayed.is-shown .t-stagger-line--2 { transition-delay: calc(var(--enter-delay) + var(--stagger-stagger)); }
.t-stagger.is-delayed.is-shown .t-stagger-line--3 { transition-delay: calc(var(--enter-delay) + var(--stagger-stagger) * 2); }
.t-stagger.is-delayed.is-shown .t-stagger-line--4 { transition-delay: calc(var(--enter-delay) + var(--stagger-stagger) * 3); }
/* lines that hold already-visible content stay readable without JS */
html:not(.js) .t-stagger-line { opacity: 1; transform: none; filter: none; }
/* settled lines drop their compositor layer */
.t-stagger.is-settled .t-stagger-line { will-change: auto; }
/* one authored entrance: only section headings reveal; body copy is simply there */
[data-reveal]:not(h2) .t-stagger-line { opacity: 1; transform: none; filter: none; transition: none; will-change: auto; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] .t-stagger-line { opacity: 1; transform: none; filter: none; }
}

/* ---------- transitions.dev · 21 accordion ---------- */
.t-acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--acc-collapse) var(--acc-ease);
}
.t-acc[data-open="true"] .t-acc-panel {
  grid-template-rows: 1fr;
  transition: grid-template-rows var(--acc-expand) var(--acc-ease);
}
.t-acc-panel-inner {
  overflow: hidden;
  opacity: 0;
  filter: blur(2px);
  transition:
    opacity var(--acc-collapse) var(--acc-ease),
    filter var(--acc-collapse) var(--acc-ease);
}
.t-acc[data-open="true"] .t-acc-panel-inner {
  opacity: 1;
  filter: blur(0);
  transition:
    opacity var(--acc-expand) var(--acc-ease),
    filter var(--acc-expand) var(--acc-ease);
}
.t-acc-chevron {
  display: inline-flex;
  transform: scaleY(1);
  transform-origin: center;
  transition: transform var(--acc-chevron) var(--acc-ease);
}
.t-acc-chevron path { vector-effect: non-scaling-stroke; }
.t-acc[data-open="true"] .t-acc-chevron {
  transform: scaleY(-1);
}

@media (prefers-reduced-motion: reduce) {
  .t-acc-panel, .t-acc-panel-inner, .t-acc-chevron {
    transition: none !important;
  }
}

/* FAQ toggle is a sharp + / − (minimalist-ui): the vertical bar turns flat instead of flipping a chevron */
.t-acc[data-open="true"] .t-acc-chevron { transform: none; }
.t-acc-chevron { flex: none; }
.t-acc-v {
  transform-box: view-box;
  transform-origin: 8px 8px;
  transition: transform var(--acc-chevron) var(--acc-ease);
}
.t-acc[data-open="true"] .t-acc-v { transform: rotate(90deg); }
@media (prefers-reduced-motion: reduce) {
  .t-acc-v { transition: none !important; }
}

/* ==========================================================
   Navigation
   ========================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background-color 250ms ease, border-color 250ms ease;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
}
.nav__inner {
  height: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
  min-height: 44px;
}
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__drop { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linejoin: round; }
.brand__seed { fill: var(--rose); }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.125rem; line-height: 1;
  letter-spacing: -0.012em;
  white-space: nowrap;
}
.brand__name em { color: var(--rose-ink); }
.nav__links {
  margin-left: auto;
  display: flex; gap: 4px;
}
.nav__links a {
  padding: 10px 12px;
  font-size: 0.9375rem; color: var(--ink-2);
  text-decoration: none; border-radius: 6px;
  transition: color 200ms ease, background-color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover { color: var(--ink); background: var(--bg-soft); }
}
@media (max-width: 899px) {
  .nav__links { display: none; }
  .nav .btn--sm { margin-left: auto; }
}
@media (max-width: 419px) {
  .nav__inner { gap: 12px; }
  .nav .brand { gap: 8px; }
  .nav .brand__mark { width: 24px; height: 24px; }
  .nav .brand__name { font-size: 1rem; }
  .nav .btn--sm { padding: 0 12px; font-size: 0.8125rem; }
}
@media (max-width: 359px) {
  .nav .brand__name { display: none; }
}

/* ==========================================================
   Hero — static layout (no JS / reduced motion)
   ========================================================== */
.hero { position: relative; }
.hero__inner { display: contents; }
.hero__stage {
  position: relative;
  padding: calc(var(--nav-h) + 32px) var(--gutter) 72px;
  display: flex; flex-direction: column; align-items: center; gap: 28px;
  text-align: center;
}
.soap { position: relative; width: min(78vw, 420px); aspect-ratio: 1; order: 2; }
.soap__poster, .soap__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.soap__poster { object-fit: contain; }
.soap__canvas { opacity: 0; }
.soap.is-live .soap__canvas { opacity: 1; }
.soap.is-live .soap__poster { opacity: 0; }
.soap__shadow {
  position: absolute; left: 50%; top: 50%;
  width: 46%; height: 7%;
  margin: -3.5% 0 0 -23%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(60, 30, 36, 0.20), rgba(60, 30, 36, 0));
  filter: blur(6px);
  transform-origin: center;
  will-change: transform; /* moves every frame: keep the blurred shadow on its own layer */
}
/* static hero (no JS / fallback) shows frame 001 pre-centred; reduced motion shows frame 104 (values from meta.json) */
html:not(.motion-ok) .soap__poster { transform: translateY(12.55%); }
html:not(.motion-ok) .soap__shadow { transform: translateY(513.6%) scaleX(1.136); }
@media (prefers-reduced-motion: reduce) {
  html:not(.motion-ok) .soap__poster { transform: none; }
  html:not(.motion-ok) .soap__shadow { transform: translateY(582%) scaleX(1.162); }
}
/* scroll hero: poster + shadow sit exactly where canvas frame 001 is drawn, so the swap is invisible */
.motion-ok .soap__poster { transform: translateY(12.55%); }
.motion-ok .soap__shadow { transform: translateY(513.6%) scaleX(1.136); }
.phase { order: 1; }
.phase--b, .phase--c { order: 3; }
.phase-a__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.25rem, 1.1rem + 3.9vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.028em;
}
.phase-a__title em { color: var(--rose-ink); }
.phase-a__cue { display: none; }
.phase-b__text, .phase-b__list {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1rem + 1.8vw, 2.625rem);
  line-height: 1.16;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.phase-b__text--soft { color: var(--muted); }
.phase-b__list { color: var(--ink-2); }
.phase-c__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 1.1rem + 4.6vw, 5.25rem);
  line-height: 1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.phase-c__lead {
  margin-top: 20px;
  font-size: clamp(1.0625rem, 0.98rem + 0.4vw, 1.3125rem);
  color: var(--ink-2);
  max-width: 28em;
  text-wrap: pretty;
}
.phase-c__actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

html:not(.motion-ok) .hero .phase .t-stagger-line { opacity: 1; transform: none; filter: none; }
html:not(.motion-ok) .phase-c__actions { justify-content: center; }
html:not(.motion-ok) .phase-c__lead { margin-inline: auto; }

/* ==========================================================
   Hero — scroll sequence (motion-ok)
   ========================================================== */
.motion-ok .hero { height: 440vh; }
.motion-ok .hero__stage {
  position: sticky; top: 0;
  /* the full screen with the browser bar hidden: the stage never resizes when the bar comes and
     goes, so the meadow stays on the bottom edge and nothing has to be measured again mid-scroll */
  height: 100vh; height: 100lvh;
  padding: 0;
  display: block;
  overflow: hidden;
  text-align: left;
  /* hero copy aligns with the nav and the 1240px content column on wide screens */
  --edge: max(var(--gutter), calc((100% - var(--maxw)) / 2));
}
.motion-ok .hero__inner {
  display: block;
  position: absolute; inset: 0;
  will-change: transform;
}
.motion-ok .soap {
  --soap: min(68svh, 46vw, 680px);
  position: absolute;
  left: 50%; top: 52%;
  width: var(--soap);
  margin: calc(var(--soap) / -2) 0 0 calc(var(--soap) / -2);
  will-change: transform;
}
.motion-ok .phase {
  position: absolute;
  pointer-events: none;
}
.motion-ok .phase.is-shown { pointer-events: auto; }
.hero[data-snap] .t-stagger-line { transition: none !important; }
/* the next section rises into the space the meadow leaves, so no blank run follows the hero;
   the transparent stage never blocks the content passing under it */
.motion-ok .hero { margin-bottom: var(--hero-overlap, -48svh); }
.motion-ok .hero__stage { pointer-events: none; }
/* the next section slides over the retreating meadow on its own white, with a soft lip so the
   plants dissolve under it instead of being cut by a hard edge */
.motion-ok .hero + .section { position: relative; z-index: 1; }
@media (min-width: 900px) {
  .motion-ok .hero + .section { background: var(--bg); padding-top: 24px; }
  .motion-ok .hero + .section::before {
    content: "";
    position: absolute; left: 0; right: 0; bottom: 100%;
    height: clamp(56px, 8vh, 96px);
    background: linear-gradient(to top, var(--bg), rgba(255, 255, 255, 0));
    pointer-events: none;
  }
}
@media (max-width: 899px) { .motion-ok .hero { --hero-overlap: -16svh; } }

/* meadow: a scroll-scrubbed video strip that grows from the soil along the bottom of the hero.
   Its frames sit on pure white, so they melt into the page. */
.meadow { display: none; }
.motion-ok .meadow {
  display: block;
  /* sunk a little below the edge so only the plants show, not the soil */
  position: absolute; left: 0; right: 0; bottom: calc(var(--meadow-h, 0px) * -0.11);
  height: var(--meadow-h, 36svh);
  pointer-events: none;
  transform: translate3d(0, 100%, 0);
  will-change: transform;
  /* the tallest stems' fade is drawn into the canvas itself (main.js, drawMeadow) */
}
.meadow canvas { display: block; width: 100%; height: 100%; }
/* inactive beats are transparent and inert to the pointer, but stay in the accessibility tree */

/* phase A: headline split around the soap */
.motion-ok .phase--a { inset: 0; }
.motion-ok .phase-a__title { position: absolute; inset: 0; font-size: clamp(2.375rem, 0.9rem + 4.2vw, 5.25rem); }
.motion-ok .phase-a__l1 {
  position: absolute;
  left: var(--edge); top: calc(var(--nav-h) + 9svh);
  max-width: 7.2em;
}
.motion-ok .phase-a__l2 {
  position: absolute;
  right: var(--edge); bottom: 15svh;
  max-width: 5em;
  text-align: right;
}
.motion-ok .phase-a__cue {
  position: absolute; left: 0; right: 0; bottom: 28px;
  width: max-content; margin-inline: auto;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 0.8125rem; color: var(--muted);
  letter-spacing: 0.02em;
}
.phase-a__cue i {
  position: relative; width: 1px; height: 36px; overflow: hidden;
  background: var(--line);
}
.phase-a__cue i::after {
  content: ""; position: absolute; left: 0; top: 0;
  width: 1px; height: 14px;
  background: var(--ink);
  animation: cue 1.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes cue {
  0% { transform: translateY(-14px); }
  100% { transform: translateY(36px); }
}

/* phase B: narrative beats in the left column */
.motion-ok .phase--b {
  left: var(--edge);
  top: 46%;
  transform: translateY(-50%);
  width: min(38vw, 34rem);
}
.motion-ok .phase--b .t-stagger-line + .t-stagger-line { margin-top: 0.35em; }

/* phase C: the reveal */
.motion-ok .phase--c {
  left: var(--edge);
  top: 46%;
  transform: translateY(-50%);
  width: min(44vw, 36rem);
}

/* the scroll hint leaves on the first scroll intent */
.motion-ok .phase .phase-a__cue.is-gone {
  opacity: 0;
  transition: opacity var(--duration-medium) ease;
}

@media (max-width: 899px) {
  /* phones: the text reveals without blur, a full-layer filter is costly mid-scroll */
  :root { --stagger-blur: 0px; }
  .motion-ok .hero { height: 380vh; }
  .motion-ok .soap { --soap: min(88vw, 50svh); top: 47%; }
  .motion-ok .phase-a__title { font-size: clamp(2.125rem, 1rem + 5.6vw, 3.25rem); }
  .motion-ok .phase-a__l1 { top: calc(var(--nav-h) + 3svh); max-width: 9em; }
  .motion-ok .phase-a__l2 { bottom: 13svh; }
  .motion-ok .phase-a__cue { display: none; }
  .motion-ok .phase--b,
  .motion-ok .phase--c {
    left: var(--gutter); right: var(--gutter);
    top: auto; bottom: calc(var(--meadow-h, 0px) * 0.89 + 12px);
    width: auto;
    transform: none;
  }
  .motion-ok .phase-b__text, .motion-ok .phase-b__list { font-size: clamp(1.625rem, 1rem + 3.4vw, 2.25rem); }
  .motion-ok .phase-c__title { font-size: clamp(2.5rem, 1rem + 7vw, 3.5rem); }
  .motion-ok .phase-c__lead { margin-top: 14px; }
  .motion-ok .phase-c__actions { margin-top: 22px; }
}

/* ==========================================================
   Shared
   ========================================================== */
:root { --ease-move: cubic-bezier(0.77, 0, 0.175, 1); } /* on-screen movement (Emil) */
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(24px, 3vw, 40px);
}
/* a quiet label: the only small caps on the page */
.problem__label, .shop__label {
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}

/* ==========================================================
   Problem — one long sentence; the places are in ink
   ========================================================== */
.problem__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 24px clamp(40px, 7vw, 120px);
  align-items: start;
}
.problem__q { max-width: 7em; }
.problem__places {
  font-family: var(--font-display);
  font-size: var(--fs-prose);
  line-height: 1.36;
  letter-spacing: -0.012em;
  color: var(--muted);
  text-wrap: pretty;
}
.problem__places b { font-weight: 400; color: var(--ink); }
.problem__tries { margin-top: clamp(64px, 8vw, 120px); }
.tries {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 14px;
  border-top: 1px solid var(--line-strong);
}
.tries li {
  padding: 22px 20px 0 0;
  font-family: var(--font-display);
  font-size: var(--fs-m);
  line-height: 1.12;
  letter-spacing: -0.015em;
}
/* each thing you try fades a little more: none of it quite works */
.tries li:nth-child(1) { color: #1c1917; }
.tries li:nth-child(2) { color: #47413c; }
.tries li:nth-child(3) { color: #6b645e; }
.tries li:nth-child(4) { color: #948c85; }
.problem__turn {
  margin-top: clamp(40px, 5vw, 72px);
  font-family: var(--font-display);
  font-size: var(--fs-m);
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.problem__turn em { color: var(--rose-ink); }

/* ==========================================================
   Hinge — the walls, then the turn of the page
   ========================================================== */
.hinge { padding: clamp(72px, 10vw, 152px) 0; background: var(--bg-soft); text-align: center; }
.hinge__kicker { font-size: var(--fs-lead); color: var(--ink-2); text-wrap: balance; }
.hinge__walls { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 54rem; margin: 20px auto 0; }
.hinge__walls li {
  padding: 9px 16px;
  border: 1px solid var(--line-strong); border-radius: 9999px;
  background: var(--bg);
  font-size: 0.9375rem; line-height: 1.35; color: var(--ink-2);
}
.hinge__title { margin: clamp(48px, 6vw, 96px) auto 0; max-width: 13em; }
.hinge__title em { color: var(--rose-ink); }

/* ==========================================================
   Botiquín — the kit as a Hairline figure, tied to the ritual
   ========================================================== */
.kit__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px clamp(40px, 6vw, 96px);
  align-items: center;
}
.kit__copy h2 { font-size: clamp(2.125rem, 1.2rem + 2.3vw, 3.5rem); }
.kit__soft { color: var(--muted); }
.kit__lead { margin-top: 20px; max-width: 30em; font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.moves { margin-top: clamp(28px, 3.5vw, 44px); border-top: 1px solid var(--line-strong); }
.move {
  width: 100%;
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 14px 0;
  background: none; border: 0; border-bottom: 1px solid var(--line);
  text-align: left; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 160ms var(--ease-ui);
}
.move:active { transform: scale(0.99); }
.move__verb {
  font-family: var(--font-display);
  font-size: var(--fs-m);
  line-height: 1.1;
  letter-spacing: -0.015em;
  transition: color 200ms ease, transform 300ms var(--ease-ui);
}
.move__item {
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
  transition: color 200ms ease;
}
.move[aria-pressed="true"] .move__verb { color: var(--rose-ink); transform: translateX(8px); }
.move[aria-pressed="true"] .move__item { color: var(--ink); }
.kit__figure { margin: 0; }
/* the figure lives on a warm card: a label, the live read-out, the drawing, four progress bars, one line of meaning */
.ritual-card {
  --card: #f6f2ee;
  display: grid;
  gap: 4px;
  padding: 18px 18px 20px;
  border: 1px solid #ece5de;
  border-radius: 20px;
  background: var(--card);
}
.ritual-card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 2px 4px; }
.ritual-card__label { font-family: var(--font-display); font-style: italic; font-size: 1.0625rem; color: var(--ink-2); }
.ritual-card__read {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
  transition: color 200ms ease;
}
.ritual-card.is-picked .ritual-card__read { color: var(--rose-ink); }
/* the figure's plate is the card; its one bright stroke is the brand's rose */
.kit__stage {
  width: 100%;
  --hairline-plate: var(--card);
  --hairline-hi: var(--rose-ink);
  --hairline-edge: #a39a93;
  --hairline-mid: #c9c1ba;
  --hairline-lo: #e2dbd4;
  --hairline-stroke: 1;
}
.kit__stage .print { fill: #a39a93; font-family: var(--font-display); letter-spacing: 0.01em; }
.ritual-card__bars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 0 4px; }
.ritual-card__bars span { position: relative; height: 2px; border-radius: 2px; background: #e4ddd6; overflow: hidden; }
.ritual-card__bars span::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--rose-ink);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 300ms var(--ease-ui);
}
.ritual-card__bars span.is-done::after { transform: scaleX(1); }
/* a timer, so it runs at a constant rate */
.ritual-card__bars span.is-run::after { animation: bar-run 3200ms linear forwards; }
@keyframes bar-run { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* every caption sits in the same cell: the card keeps the height of the longest one */
.kit__caption { display: grid; padding: 12px 4px 0; text-align: center; }
.kit__caption > span {
  grid-area: 1 / 1;
  max-width: 30em; margin-inline: auto;
  font-size: 0.9875rem; line-height: 1.55; color: var(--ink-2); text-wrap: balance;
  opacity: 0; transform: translateY(4px); visibility: hidden;
  transition: opacity 200ms ease, transform 300ms var(--ease-ui), visibility 0s linear 200ms;
}
.kit__caption > span.is-active { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.kit__caption b { font-weight: 600; color: var(--ink); }
.kit__caption > [data-cap="-1"] { color: var(--muted); }

/* ==========================================================
   Botiquines — pick one, see it, order it
   ========================================================== */
.shop__head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 12px clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.shop__lead { max-width: 26em; font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.shop__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  grid-template-rows: auto 1fr;
  grid-template-areas: "stage picker" "stage panel";
  gap: 24px clamp(32px, 5vw, 80px);
  align-items: start;
}

/* a segmented control: the white pill slides to the chosen kit (transitions.dev 16) */
.shop__picker {
  grid-area: picker;
  position: relative;
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start;
  width: fit-content; max-width: 100%;
  padding: 4px;
  border: 1px solid var(--line); border-radius: 9999px;
  background: var(--bg-soft);
}
.shop__pill {
  position: absolute; top: 4px; bottom: 4px; left: 0;
  border-radius: 9999px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(28, 25, 23, 0.08), 0 0 0 1px rgba(28, 25, 23, 0.06);
  transition: transform 300ms var(--ease-ui), width 300ms var(--ease-ui);
}
.pick {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 16px;
  border: 0; border-radius: 9999px; background: none;
  font-size: 0.9375rem; font-weight: 500; white-space: nowrap; color: var(--muted);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 200ms ease, transform 160ms var(--ease-ui);
}
.pick i { width: 8px; height: 8px; border-radius: 50%; background: var(--kit-dot); flex: none; }
.pick[aria-checked="true"] { color: var(--ink); }
.pick:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .pick:hover { color: var(--ink); } }

/* the stage: the kit's own colour, its name set large behind it, the cut-out photo in front */
.shop__stage {
  grid-area: stage;
  position: relative; isolation: isolate; overflow: hidden;
  aspect-ratio: 1;
  border-radius: 24px;
  background: var(--stage-bg);
  container-type: inline-size;
  transition: background-color 500ms var(--ease-ui);
}
.shop__stage[data-kit-tint="abre-caminos"] { --stage-bg: #e8efe1; --stage-word: #d2e0c6; }
.shop__stage[data-kit-tint="amor"] { --stage-bg: #f9e5e8; --stage-word: #f1ccd3; }
.shop__stage[data-kit-tint="prosperidad"] { --stage-bg: #f8ebd5; --stage-word: #eed5a6; }
.shop__word { position: absolute; inset: 6% 6% auto; z-index: -1; display: grid; white-space: nowrap; }
.shop__word span {
  grid-area: 1 / 1;
  font-family: var(--font-display); font-style: italic;
  font-size: 15cqw;
  line-height: 0.9; letter-spacing: -0.035em;
  color: var(--stage-word);
  opacity: 0; transform: translateY(10px);
  transition: opacity 400ms var(--ease-ui), transform 600ms var(--ease-ui), color 500ms var(--ease-ui);
}
.shop__word span.is-active { opacity: 1; transform: none; }
.shop__img {
  position: absolute; left: 4%; right: 4%; bottom: 0;
  width: 92%; height: 86%;
  object-fit: contain; object-position: center bottom;
  opacity: 0; transform: translateY(14px) scale(0.98);
  transition: opacity 360ms var(--ease-ui), transform 640ms var(--ease-ui);
}
.shop__img.is-active { opacity: 1; transform: none; }

.shop__panel { grid-area: panel; }
/* the three panels share one cell, so the page never jumps when the copy is shorter */
.shop__info { display: grid; }
.kit-info { grid-area: 1 / 1; }
.kit-info > :not(ul), .kit-info__for li {
  transition: opacity 320ms var(--ease-ui) calc(var(--d, 0) * 45ms), transform 440ms var(--ease-ui) calc(var(--d, 0) * 45ms);
}
.kit-info[aria-hidden="true"] { visibility: hidden; transition: visibility 0s linear 180ms; }
.kit-info[aria-hidden="true"] > :not(ul), .kit-info[aria-hidden="true"] .kit-info__for li {
  opacity: 0; transform: translateY(6px);
  transition-duration: 160ms; transition-delay: 0s;
}
[data-kit-panel="abre-caminos"] { --kit-ink: #50683a; }
[data-kit-panel="amor"] { --kit-ink: var(--rose-ink); }
[data-kit-panel="prosperidad"] { --kit-ink: #8a5a14; }
.kit-info__kicker {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--kit-ink);
}
.kit-info__kicker::before { content: ""; width: 20px; height: 1px; background: currentColor; }
.kit-info__name {
  margin-top: 10px;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2rem, 1.3rem + 2vw, 3rem);
  line-height: 1.04; letter-spacing: -0.022em;
}
.kit-info__name em { color: var(--kit-ink); }
.kit-info__desc { margin-top: 10px; max-width: 28em; font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.kit-info__for { margin-top: 18px; display: grid; gap: 8px; }
.kit-info__for li { position: relative; padding-left: 28px; font-size: 1rem; line-height: 1.5; color: var(--ink-2); }
.kit-info__for li::before {
  content: "";
  position: absolute; left: 2px; top: 0.42em;
  width: 12px; height: 6px;
  border-left: 1.5px solid var(--kit-ink); border-bottom: 1.5px solid var(--kit-ink);
  transform: rotate(-45deg);
}

.shop__contents { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line-strong); }
.shop__contents ul { margin-top: 6px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.shop__contents li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
}
.shop__contents small { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.shop__buy { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.shop__cta { gap: 10px; }
.shop__price { max-width: 19em; font-size: 0.875rem; line-height: 1.45; color: var(--muted); }
.shop__other { margin-top: 24px; font-size: 0.875rem; line-height: 1.55; color: var(--muted); }
.shop__other a { color: var(--rose-ink); font-weight: 500; }

/* ---------- WhatsApp: white buttons, black glyph ---------- */
.wa-glyph { width: 20px; height: 20px; flex: none; fill: currentColor; }
.btn-wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 24px;
  border-radius: 9999px;
  background: #fff; color: var(--ink);
  font-size: 1rem; font-weight: 600; text-decoration: none;
  transition: transform 160ms var(--ease-ui), background-color 200ms ease;
}
.btn-wa .wa-glyph { color: #111; }
.btn-wa:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .btn-wa:hover { background: #f1ece7; } }

.wa-float {
  position: fixed; z-index: 60;
  right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 20px 0 16px;
  border: 1px solid var(--line); border-radius: 9999px;
  background: #fff; color: var(--ink);
  box-shadow: 0 12px 32px -12px rgba(28, 25, 23, 0.35), 0 2px 6px rgba(28, 25, 23, 0.08);
  font-size: 0.9375rem; font-weight: 600; text-decoration: none;
  opacity: 0; transform: translateY(12px) scale(0.96); pointer-events: none;
  transition: opacity 240ms var(--ease-ui), transform 360ms var(--ease-ui);
}
.wa-float .wa-glyph { width: 22px; height: 22px; color: #111; }
.wa-float.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.wa-float.is-shown:active { transform: scale(0.95); }

/* ==========================================================
   How to order — the one dark band: steps, and the chat you'll send
   ========================================================== */
.howto__band {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 40px clamp(40px, 6vw, 96px);
  align-items: center;
  padding: clamp(28px, 5vw, 72px);
  border-radius: 24px;
  background: var(--ink);
  color: #f6f2ee;
}
/* a low rose light behind the chat */
.howto__band::before {
  content: "";
  position: absolute; z-index: -1;
  right: -12%; top: -25%;
  width: 62%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(227, 161, 171, 0.22), rgba(227, 161, 171, 0));
}
.howto__title { color: #fff; }
.howto__lead { margin-top: 12px; max-width: 24em; font-size: var(--fs-lead); line-height: 1.5; color: rgba(246, 242, 238, 0.72); }
.howto__steps { position: relative; margin-top: clamp(28px, 4vw, 40px); display: grid; gap: 22px; }
/* a thin thread joins the three steps */
.howto__steps::before { content: ""; position: absolute; left: 4px; top: 10px; bottom: 10px; width: 1px; background: rgba(246, 242, 238, 0.16); }
.howto__steps li { position: relative; display: grid; gap: 4px; padding-left: 30px; }
.howto__steps li::before {
  content: "";
  position: absolute; left: 0; top: 0.45em;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--ink); border: 1.5px solid var(--rose);
}
.howto__steps li:last-child::before { background: var(--rose); }
.howto__steps strong { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-card); line-height: 1.2; color: #fff; }
.howto__steps span { font-size: 0.9875rem; line-height: 1.55; color: rgba(246, 242, 238, 0.66); }

.howto__chat { display: grid; gap: 14px; }
.chat {
  overflow: hidden;
  border-radius: 20px;
  background: #ece5dd;
  color: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
  transform: rotate(-1.2deg);
}
.chat__head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; }
.chat__avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--rose-soft); }
.chat__avatar svg { width: 22px; height: 22px; }
.chat__avatar path { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.chat__avatar circle { fill: var(--rose); }
.chat__who { display: grid; font-family: var(--font-display); font-size: 1rem; line-height: 1.25; white-space: nowrap; }
.chat__who em { color: var(--rose-ink); }
.chat__who small { font-family: var(--font-sans); font-size: 0.75rem; color: var(--muted); }
.chat__body { display: flex; justify-content: flex-end; padding: 26px 14px 20px; }
.chat__bubble { width: min(100%, 290px); padding: 6px; border-radius: 16px 16px 4px 16px; background: #fff; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06); }
.chat__bubble img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; object-position: center bottom; border-radius: 11px; background: #f4efe9; }
/* two lines kept for every kit's message, so the band never changes height */
.chat__bubble p { min-height: calc(2.8em + 8px); padding: 8px 6px 0; font-size: 0.9375rem; line-height: 1.4; }
.chat__meta { display: flex; justify-content: flex-end; align-items: center; gap: 4px; padding: 0 6px 2px; font-size: 0.6875rem; color: var(--muted); }
.chat__meta svg { width: 15px; height: 11px; fill: none; stroke: #7a9cc6; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.howto__chat .btn-wa { width: 100%; }
.howto__num { text-align: center; font-size: 0.875rem; color: rgba(246, 242, 238, 0.6); font-variant-numeric: tabular-nums; }

/* ==========================================================
   FAQ
   ========================================================== */
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 32px clamp(40px, 7vw, 112px);
  align-items: start;
}
.faq__head { position: sticky; top: calc(var(--nav-h) + 32px); display: grid; gap: 12px; }
.faq__note { max-width: 22em; font-size: 1.0625rem; line-height: 1.6; color: var(--ink-2); }
.faq__list { border-top: 1px solid var(--line-strong); }
.faq__list .t-acc { border-bottom: 1px solid var(--line-strong); }
.t-acc h3 { font: inherit; }
.t-acc-head {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0;
  background: none; border: 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--fs-card);
  line-height: 1.25;
  cursor: pointer;
}
.t-acc-chevron svg { width: 18px; height: 18px; }
.t-acc-chevron path { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.t-acc-panel-inner p { padding: 0 40px 24px 0; color: var(--ink-2); font-size: 1.0625rem; line-height: 1.65; max-width: 36em; }

/* ==========================================================
   Close — petals blow in once and settle around the copy
   ========================================================== */
.close__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: clamp(72px, 9vw, 136px) clamp(24px, 5vw, 64px);
  background: #f7f5f3; /* the petals video is composited on this exact colour */
}
.close__petals {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
  /* clear a calm oval behind the copy so the text always reads */
  -webkit-mask-image: radial-gradient(ellipse 42% 48% at 50% 50%, rgba(0, 0, 0, 0.05) 38%, #000 100%);
  mask-image: radial-gradient(ellipse 42% 48% at 50% 50%, rgba(0, 0, 0, 0.05) 38%, #000 100%);
}
.close__title { max-width: 14em; }
.close__title em { color: var(--rose-ink); }
.close__lead { margin-top: 20px; max-width: 28em; }
.close__actions { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.close__direct { margin-top: 20px; font-size: 0.9375rem; color: var(--ink-2); }
.close__direct a { color: var(--ink); font-weight: 500; }

/* ==========================================================
   Footer
   ========================================================== */
.footer { border-top: 1px solid var(--line); padding: 48px 0 36px; }
.footer__grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px 48px;
  align-items: center;
}
.footer .brand { justify-self: start; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 8px; }
.footer__links a {
  padding: 10px 8px; color: var(--ink-2); text-decoration: none; font-size: 0.9375rem;
  transition: color 200ms ease;
}
@media (hover: hover) and (pointer: fine) { .footer__links a:hover { color: var(--ink); text-decoration: underline; } }
.footer__note, .footer__copy { font-size: 0.875rem; color: var(--muted); }
.footer__copy { text-align: right; }

/* ==========================================================
   Entrances with a purpose (IntersectionObserver):
   the things you try arrive one by one, each a little fainter
   ========================================================== */
.js .tries[data-reveal-list] > li {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 450ms var(--ease-ui), transform 450ms var(--ease-ui);
  transition-delay: calc(var(--i, 0) * 140ms);
}
.js .tries[data-reveal-list].is-shown > li { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal-list] > li { transform: none !important; transition: opacity 200ms ease; transition-delay: 0s; }
  .shop__img, .move__verb { transition: none; transform: none; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 899px) {
  .problem__grid, .faq__grid, .howto__band, .shop__head, .shop__grid { grid-template-columns: minmax(0, 1fr); }
  .tries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tries li { padding-bottom: 6px; }
  .howto__steps { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .faq__head { position: static; }
  /* the ritual reads: heading, lead, the figure, then the four movements under it */
  .kit__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .kit__copy { display: contents; }
  .kit__figure { order: 3; margin-top: 24px; }
  .moves { order: 4; margin-top: 8px; }
  /* phones: pick, see it, read it, order it, without the stage filling the screen */
  .shop__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "picker" "stage" "panel"; gap: 14px; }
  .shop__picker { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pick { padding: 0 8px; font-size: 0.875rem; }
  .shop__stage { aspect-ratio: 5 / 4; border-radius: 20px; }
  .shop__panel { margin-top: 6px; }
  .howto__band { grid-template-columns: minmax(0, 1fr); }
  .chat { transform: none; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__links { justify-content: flex-start; margin-left: -8px; }
  .footer__copy { text-align: left; }
  /* phones: the petals frame the top of the card, the copy sits below them */
  .card.close__card { padding: 0 20px 48px; }
  .close__petals {
    position: relative; inset: auto; z-index: 0;
    width: calc(100% + 40px); height: auto; aspect-ratio: 16 / 9;
    margin: 0 -20px 4px;
    -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
  }
}
@media (max-width: 419px) {
  .pick i { display: none; }
  .pick { font-size: 0.8125rem; padding: 0 4px; }
}
@media (max-width: 599px) {
  body { font-size: 1rem; }
  .tries li { font-size: var(--fs-card); }
  .hinge__walls li { font-size: 0.875rem; padding: 8px 13px; }
  .shop__head { margin-bottom: 20px; }
  .shop__title { font-size: clamp(2rem, 1.1rem + 4.4vw, 2.5rem); }
  .shop__lead { font-size: 1rem; }
  .kit-info__desc { font-size: 1.0625rem; }
  .kit-info__for li { font-size: 0.9375rem; }
  .shop__contents ul { gap: 0 16px; }
  .shop__contents li { flex-direction: column; gap: 0; padding: 8px 0; }
  .shop__buy { flex-direction: column; align-items: stretch; }
  .shop__cta { width: 100%; }
  .shop__price { max-width: none; text-align: center; }
  .ritual-card { padding: 14px 12px 16px; border-radius: 18px; }
  .wa-float { width: 52px; padding: 0; }
  .wa-float span { display: none; }
  .t-acc-panel-inner p { padding-right: 0; }
  .close__actions { width: 100%; }
  .close__actions .btn { flex: 1 1 100%; }
}
