/* ─────────────────────────────────────────────────────────────
   Dr. Rosette — aesthetic skin clinic demo
   Palette sampled from the reference screenshot. Three real webp
   photos; every other visual is CSS + inline SVG. No runtime
   network requests beyond Google Fonts.
   ───────────────────────────────────────────────────────────── */

:root {
  --page:    #f6f3ee;
  --plum:    #4a2c3d;
  --plum-2:  #5c3a4b;
  --mauve:   #9b6a85;
  --peach:   #e9c6ab;
  --peach-2: #e2b899;
  --mist:    #eae6e0;
  --ink:     #241f1d;
  --muted:   rgba(36, 31, 29, .60);
  --line:    rgba(36, 31, 29, .14);
  --card:    #ffffff;

  --r-card: 4px;
  --pad:    clamp(20px, 5vw, 76px);
  --head:   "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --body:   "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --maxw:   1320px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html[data-lang="es"]:not([data-ready]) body { visibility: hidden; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { margin: 0; font-family: var(--head); font-weight: 600; letter-spacing: -.02em; line-height: 1.08; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
sup { font-size: inherit; vertical-align: baseline; }

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--plum); color: #fff; padding: 10px 18px; border-radius: 999px;
}
.skip:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; border-radius: 2px; }

/* ── Cursor follower — a ring that trails the pointer with a little lag ── */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 95;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid #fff; mix-blend-mode: difference;
  pointer-events: none; opacity: 0;
  transition: opacity .3s ease, width .25s ease, height .25s ease;
  will-change: transform;
}
.cursor.is-visible { opacity: 1; }
.cursor.is-lg { width: 52px; height: 52px; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

.shell { overflow: clip; }
.section { padding: clamp(56px, 8vw, 120px) var(--pad); max-width: var(--maxw); margin-inline: auto; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 22px; border: 0; border-radius: 999px;
  font-family: var(--head); font-size: 14px; font-weight: 500; letter-spacing: -.01em;
  white-space: nowrap;
  transition: background .22s, color .22s, transform .22s;
}
.btn svg { width: 15px; height: 15px; }
.btn--plum  { background: var(--plum); color: #fff; }
.btn--plum:hover { background: var(--plum-2); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: rgba(255, 255, 255, .82); }
.btn:active { transform: scale(.97); }

.icon-btn {
  display: grid; place-items: center; width: 46px; height: 46px; flex: none;
  border: 0; border-radius: 50%; background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.4px var(--line);
  transition: background .2s, color .2s, box-shadow .2s;
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { background: var(--ink); color: #fff; box-shadow: inset 0 0 0 1.4px var(--ink); }
.icon-btn--light { color: #fff; box-shadow: inset 0 0 0 1.4px rgba(255, 255, 255, .3); }
.icon-btn--light:hover { background: #fff; color: var(--plum); box-shadow: inset 0 0 0 1.4px #fff; }

/* ── Typography helpers ────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--head); font-size: 11.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .16em; color: var(--muted);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mauve); flex: none; }
.eyebrow--light { color: rgba(255, 255, 255, .66); }
.eyebrow--light::before { background: var(--peach); }

.h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; }

.split { font-family: var(--head); font-weight: 600; letter-spacing: -.03em;
  font-size: clamp(28px, 3.6vw, 46px); line-height: 1.08; }
.split span { display: block; }
.split__mauve { color: var(--mauve); }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--head); font-size: 13.5px; font-weight: 500; letter-spacing: -.01em;
  color: var(--ink);
}
.link svg { width: 15px; height: 15px; transition: transform .22s; }
.link:hover svg { transform: translate(2px, -2px); }
.link--underline span { border-bottom: 1.5px solid currentColor; padding-bottom: 3px; }

.chips {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  font-family: var(--head); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .14em; color: var(--muted);
}
.chips i { color: var(--mauve); font-style: normal; }

/* hand-drawn underline flourish */
.hero__accent { position: relative; display: inline-block; }
.flourish {
  position: absolute; left: 2%; right: -2%; bottom: -.14em; width: 96%; height: .3em;
  color: var(--mauve); overflow: visible;
}
.flourish path { stroke-dasharray: 1; stroke-dashoffset: 0; }

/* ── Nav ───────────────────────────────────────────────────── */
.nav {
  position: relative; z-index: 30;
  display: flex; align-items: center; gap: 20px;
  padding: clamp(14px, 1.8vw, 20px) var(--pad);
  background: var(--page);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: baseline; gap: 7px; }
.brand__name { font-family: var(--head); font-size: 19px; font-weight: 600; letter-spacing: -.03em; }
.brand__tag {
  font-family: var(--head); font-size: 8.5px; font-weight: 500; line-height: 1.25;
  text-transform: uppercase; letter-spacing: .1em; color: var(--muted);
  max-width: 19ch; align-self: center;
}
.nav__links {
  display: flex; align-items: center; gap: clamp(16px, 2vw, 30px);
  margin-left: clamp(20px, 5vw, 64px);
  font-family: var(--head); font-size: 13.5px; font-weight: 400;
}
.nav__links a { opacity: .78; transition: opacity .2s; }
.nav__links a:hover { opacity: 1; }
.nav__right { display: flex; align-items: center; gap: 14px; margin-left: auto; }

.langs { display: flex; align-items: center; gap: 4px; font-family: var(--head); font-size: 12px; }
.langs button { background: none; border: 0; padding: 2px 3px; opacity: .45; transition: opacity .2s; }
.langs button[aria-pressed="true"] { opacity: 1; font-weight: 600; }
.langs button:hover { opacity: 1; }
.langs span { opacity: .3; }

.burger { display: none; width: 42px; height: 42px; background: none; border: 0; padding: 12px; }
.burger span { display: block; height: 1.6px; background: currentColor; transition: transform .25s, opacity .2s; }
.burger span + span { margin-top: 6px; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr 1fr;
  gap: clamp(14px, 1.8vw, 24px);
  padding: clamp(20px, 3vw, 40px) var(--pad) clamp(40px, 6vw, 76px);
  max-width: var(--maxw); margin-inline: auto;
  align-items: stretch;
}

.hero__intro { position: relative; display: flex; flex-direction: column; padding: 8px 12px 0 0; }
.hero__title {
  margin-top: 20px;
  font-size: clamp(40px, 5.4vw, 74px); font-weight: 600; line-height: .98; letter-spacing: -.04em;
}
.hero__title span { display: block; }
.hero__accent { color: var(--mauve); }
.hero__lead { margin-top: 20px; max-width: 22ch; font-size: 14.5px; color: var(--muted); }
.hero__more { margin-top: 22px; }
.hero__corner {
  margin-top: auto; padding-top: 30px;
  font-family: var(--head); font-size: 10.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .14em; color: var(--muted);
}

.hero__media { position: relative; overflow: hidden; background: var(--mist); min-height: clamp(360px, 46vw, 560px); }
.hero__media img,
.hero__media video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.hero__media video { object-position: 50% 28%; }
.hero__tab, .hero__cap, .hero__plus {
  position: absolute; font-family: var(--head); font-weight: 500;
  text-transform: uppercase; letter-spacing: .12em; color: #fff;
  font-size: 9.5px; text-shadow: 0 1px 10px rgba(0, 0, 0, .35);
}
.hero__tab { top: 12px; left: 12px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(4px);
  padding: 6px 10px; letter-spacing: .14em; }
.hero__cap { left: 12px; bottom: 12px; max-width: 60%; line-height: 1.4; }
.hero__plus { right: 12px; bottom: 8px; font-size: 20px; letter-spacing: 0; }

.hero__stack { display: flex; flex-direction: column; gap: clamp(14px, 1.8vw, 24px); }
.hero__stack .hcard { flex: 1; }
.hcard__row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 1.8vw, 24px); }

.hcard {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(18px, 2vw, 26px);
  border-radius: var(--r-card); overflow: hidden;
  transition: transform .25s;
}
a.hcard:hover { transform: translateY(-3px); }
.hcard__label {
  font-family: var(--head); font-size: 9.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .14em; opacity: .7;
}
.hcard__ico { width: 22px; height: 22px; margin: 12px 0 auto; opacity: .9; }
.hcard__title { margin-top: 12px; font-size: clamp(20px, 2.1vw, 27px); font-weight: 600; letter-spacing: -.03em; }
.hcard--plum .hcard__ico { margin: 14px 0 0; }
.hcard--plum .hcard__title { margin-top: auto; }
.hcard__mini { margin-top: auto; font-family: var(--head); font-size: 15px; font-weight: 500; letter-spacing: -.02em; line-height: 1.25; }
.hcard__link { margin-top: 12px; font-family: var(--head); font-size: 12px; opacity: .78; }
.hcard__arrow { position: absolute; top: 16px; right: 16px; width: 15px; height: 15px; opacity: .7; }
.hcard--plum  { background: var(--plum); color: #fff; }
.hcard--plum .hcard__mini { margin-top: 12px; }
.hcard--peach { background: var(--peach); color: var(--ink); }
.hcard--white { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.hcard--white .hcard__ico { margin: 0 0 auto; }
.hcard--white .hcard__label { margin-top: 8px; opacity: .55; }

/* ── Marquee ───────────────────────────────────────────────── */
.marquee { background: var(--mist); overflow: hidden; padding: 14px 0; }
.marquee__track {
  display: flex; align-items: center; gap: 26px; width: max-content;
  font-family: var(--head); font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .18em; color: var(--muted);
}
.marquee__track i { color: var(--mauve); font-style: normal; font-size: 11px; }

/* ── Find your feel-good ───────────────────────────────────── */
.feelgood__head {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(20px, 3vw, 48px);
  align-items: end; margin-bottom: clamp(32px, 4vw, 56px);
}
.feelgood__head .split { margin-top: 14px; }
.feelgood__intro { max-width: 34ch; font-size: 14px; color: var(--muted); }

.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.4vw, 18px); }
.cat {
  position: relative; display: flex; flex-direction: column;
  min-height: clamp(200px, 22vw, 240px);
  padding: clamp(18px, 1.8vw, 24px);
  background: var(--card); border-radius: var(--r-card);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .25s, box-shadow .25s;
}
.cat:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), 0 16px 34px rgba(36, 31, 29, .08); }
.cat__k {
  font-family: var(--head); font-size: 9.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .14em; color: var(--muted);
}
.cat__arrow { position: absolute; top: 18px; right: 18px; width: 14px; height: 14px; opacity: .6; }
.cat__ico { width: 26px; height: 26px; margin: auto 0 16px; opacity: .85; }
.cat__t { font-size: clamp(18px, 1.9vw, 23px); font-weight: 600; letter-spacing: -.03em; }
.cat__d { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.cat--plum { background: var(--plum); color: #fff; box-shadow: none; }
.cat--plum .cat__k { color: rgba(255, 255, 255, .68); }
.cat--plum .cat__d { color: rgba(255, 255, 255, .66); }
.cat--plum:hover { box-shadow: 0 16px 34px rgba(36, 31, 29, .16); }

.focus {
  position: relative; display: grid; grid-template-columns: 1fr 1.15fr;
  margin-top: clamp(16px, 2vw, 24px);
  background: var(--mist); border-radius: var(--r-card); overflow: hidden;
}
.focus__media { overflow: hidden; min-height: 260px; }
.focus__media img { width: 100%; height: 100%; object-fit: cover; }
.focus__body { position: relative; padding: clamp(26px, 3.4vw, 52px); display: flex; flex-direction: column; gap: 14px; }
.focus__body .eyebrow { margin-bottom: 2px; }
.focus__body h3 { font-size: clamp(22px, 2.5vw, 33px); font-weight: 600; letter-spacing: -.03em; max-width: 18ch; }
.focus__body p { font-size: 14px; color: var(--muted); max-width: 44ch; }
.focus__body .link { margin-top: 4px; }
.ghost {
  position: absolute; right: clamp(16px, 3vw, 44px); bottom: clamp(6px, 2vw, 22px);
  font-family: var(--head); font-weight: 600; font-size: clamp(44px, 8vw, 104px);
  letter-spacing: -.05em; color: rgba(36, 31, 29, .06); pointer-events: none; line-height: .8;
}

/* ── Dark — Our approach ───────────────────────────────────── */
.approach {
  background: var(--plum); color: #fff;
  padding: clamp(56px, 8vw, 120px) var(--pad);
}
.approach > * { max-width: var(--maxw); margin-inline: auto; }
.approach__top { display: flex; align-items: center; justify-content: space-between; }
.approach__heart { width: 22px; height: 22px; color: rgba(255, 255, 255, .5); }
.approach__title {
  margin: clamp(28px, 4vw, 52px) 0;
  font-family: var(--head); font-weight: 600; letter-spacing: -.04em;
  font-size: clamp(38px, 6.4vw, 92px); line-height: 1;
}
.approach__title .line { display: block; overflow: hidden; }
.approach__title b { font-weight: 600; }
.approach__title em { font-style: normal; color: rgba(255, 255, 255, .48); }
.approach__foot {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: clamp(20px, 3vw, 44px);
  padding-top: clamp(22px, 3vw, 36px); border-top: 1px solid rgba(255, 255, 255, .18);
}
.approach__mark { width: 34px; height: 34px; color: var(--peach); }
.approach__foot p { max-width: 52ch; font-size: 14px; color: rgba(255, 255, 255, .74); }

/* ── New here ──────────────────────────────────────────────── */
.newhere { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.newhere__media { position: relative; overflow: hidden; border-radius: var(--r-card); background: var(--mist);
  aspect-ratio: 3 / 4; }
.newhere__media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 22%; }
.newhere__cap {
  position: absolute; left: 14px; bottom: 14px; max-width: 60%;
  font-family: var(--head); font-size: 9.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .12em; color: #fff; line-height: 1.4;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .4);
}
.newhere__body .h2 { margin: 12px 0 clamp(18px, 2.4vw, 32px); max-width: 16ch; }
.steps { border-top: 1px solid var(--line); }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
  padding: clamp(18px, 2.2vw, 26px) 0; border-bottom: 1px solid var(--line);
}
.step__ico { width: 22px; height: 22px; margin-top: 3px; color: var(--mauve); }
.step__k {
  font-family: var(--head); font-size: 9.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .14em; color: var(--muted);
}
.step__t { margin-top: 8px; font-family: var(--head); font-size: clamp(17px, 1.9vw, 21px); font-weight: 600; letter-spacing: -.02em; }
.step__d { margin-top: 4px; font-size: 13.5px; color: var(--muted); }

/* ── A plan that feels like you ────────────────────────────── */
.plan { display: grid; grid-template-columns: .9fr 1.2fr; gap: clamp(24px, 4vw, 64px); align-items: stretch; }
.plan__card {
  position: relative; overflow: hidden;
  background: var(--peach); border-radius: var(--r-card);
  padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column;
  min-height: clamp(280px, 34vw, 380px);
}
.plan__texture {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 35%;
  opacity: .12; mix-blend-mode: multiply; pointer-events: none;
}
.plan__card > :not(.plan__texture) { position: relative; z-index: 1; }
.plan__ico { width: 30px; height: 30px; opacity: .8; }
.plan__big { margin-top: auto; font-family: var(--head); font-weight: 600; letter-spacing: -.03em;
  font-size: clamp(26px, 3.2vw, 40px); line-height: 1.06; }
.plan__big span { display: block; }
.plan__body { display: flex; flex-direction: column; gap: 16px; align-self: center; }
.plan__body .split { margin: 6px 0 2px; }
.plan__body > p { font-size: 14px; color: var(--muted); max-width: 46ch; }
.plan__body .link { margin-top: 6px; }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq { background: var(--mist); }
.faq__inner {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 80px);
  max-width: var(--maxw); margin-inline: auto;
  padding: clamp(56px, 8vw, 120px) var(--pad);
  align-items: start;
}
.faq__head .split { margin: 14px 0 16px; }
.faq__note { font-size: 13.5px; color: var(--muted); max-width: 32ch; }
.faq__more {
  margin-top: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-family: var(--head); font-size: 12.5px; color: var(--muted);
}
.faq__more > svg { width: 16px; height: 16px; }
.faq__more a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.faq__more a svg { width: 13px; height: 13px; }
.faq__more a:hover { text-decoration: underline; text-underline-offset: 3px; }

.acc__item { border-top: 1px solid var(--line); }
.acc__item:last-child { border-bottom: 1px solid var(--line); }
.acc__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: clamp(16px, 2vw, 22px) 0; background: none; border: 0; text-align: left;
  font-family: var(--head); font-size: clamp(15px, 1.7vw, 18px); font-weight: 500; letter-spacing: -.01em;
}
.acc__mark { position: relative; width: 13px; height: 13px; flex: none; }
.acc__mark::before, .acc__mark::after {
  content: ""; position: absolute; inset: 50% 0 auto 0; height: 1.6px; background: var(--ink);
  transform: translateY(-50%); transition: transform .3s ease;
}
.acc__mark::after { transform: translateY(-50%) rotate(90deg); }
.acc__item.is-open .acc__mark::after { transform: translateY(-50%) rotate(0); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s ease; }
.acc__panel > div { overflow: hidden; }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel p { padding-bottom: clamp(16px, 2vw, 22px); max-width: 52ch; font-size: 14px; color: var(--muted); }

/* ── CTA ───────────────────────────────────────────────────── */
.cta {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(14px, 2vw, 24px);
  max-width: var(--maxw); margin-inline: auto;
  padding: clamp(40px, 6vw, 80px) var(--pad) clamp(56px, 8vw, 110px);
}
.cta__card {
  border-radius: var(--r-card); padding: clamp(28px, 4vw, 56px);
  display: flex; flex-direction: column;
  min-height: clamp(240px, 30vw, 320px);
}
.cta__card--plum { background: var(--plum); color: #fff; }
.cta__card--peach { background: var(--peach); color: var(--ink); }
.cta__k {
  font-family: var(--head); font-size: 9.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .14em; opacity: .7;
}
.cta__title { margin: 14px 0 12px; font-size: clamp(28px, 3.6vw, 46px); font-weight: 600; letter-spacing: -.03em; line-height: 1.04; }
.cta__title span { display: block; }
.cta__title--sm { margin: auto 0 12px; font-size: clamp(22px, 2.6vw, 32px); max-width: 12ch; }
.cta__card--peach .cta__k { order: 3; margin-top: 0; }
.cta__ico { width: 30px; height: 30px; opacity: .8; }
.cta__d { font-size: 14px; color: rgba(255, 255, 255, .74); max-width: 34ch; }
.cta__card--plum .btn { margin-top: auto; align-self: flex-start; }
.cta__card--plum .hero__accent { color: var(--peach); }

/* ── Footer ────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); padding: clamp(36px, 5vw, 60px) var(--pad) clamp(20px, 3vw, 30px); }
.footer > * { max-width: var(--maxw); margin-inline: auto; }
.footer__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__links { display: flex; gap: clamp(16px, 2.4vw, 32px); font-family: var(--head); font-size: 13px; }
.footer__links a { opacity: .72; transition: opacity .2s; }
.footer__links a:hover { opacity: 1; }
.footer__bar {
  display: flex; flex-wrap: wrap; gap: 10px clamp(16px, 3vw, 40px); align-items: center;
  margin-top: clamp(28px, 4vw, 44px); padding-top: 16px; border-top: 1px solid var(--line);
  font-family: var(--head); font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted);
}
.footer__mid { margin-inline: auto; }
.footer__bar a:hover { color: var(--ink); }

/* ─────────────────────────────────────────────────────────────
   Motion — one distinct treatment per section.
   JS adds `.in` to each [data-anim] as it enters the viewport.
   ───────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {

  [data-anim] {
    transition: opacity .7s ease, translate .7s cubic-bezier(.2, .7, .3, 1),
                scale .7s cubic-bezier(.2, .7, .3, 1), filter .7s ease;
  }

  /* rise — staggered fade + climb (category cards, plan body, FAQ items) */
  [data-anim="rise"] { opacity: 0; translate: 0 22px; }
  [data-anim="rise"].in { opacity: 1; translate: none; }

  /* wipe — panel photo reveals left→right (in-focus panel) */
  [data-anim="wipe"] .focus__media { clip-path: inset(0 100% 0 0); transition: clip-path .9s cubic-bezier(.65, 0, .35, 1); }
  [data-anim="wipe"].in .focus__media { clip-path: inset(0 0 0 0); }
  [data-anim="wipe"] .focus__body > *:not(.ghost) { opacity: 0; translate: 0 16px;
    transition: opacity .6s .3s ease, translate .6s .3s ease; }
  [data-anim="wipe"].in .focus__body > *:not(.ghost) { opacity: 1; translate: none; }

  /* reveal-lines — heading lines rise from a clip mask (dark section) */
  [data-anim="reveal-lines"] .approach__title .line > span { display: block; translate: 0 110%;
    transition: translate .8s cubic-bezier(.6, 0, .2, 1); }
  [data-anim="reveal-lines"].in .approach__title .line:nth-child(1) > span { translate: none; }
  [data-anim="reveal-lines"].in .approach__title .line:nth-child(2) > span { translate: none; transition-delay: .12s; }
  [data-anim="reveal-lines"] .approach__top,
  [data-anim="reveal-lines"] .approach__foot { opacity: 0; translate: 0 18px;
    transition: opacity .7s ease, translate .7s ease; }
  [data-anim="reveal-lines"].in .approach__top { opacity: 1; translate: none; }
  [data-anim="reveal-lines"].in .approach__foot { opacity: 1; translate: none; transition-delay: .35s; }
  [data-anim="reveal-lines"] .approach__mark { opacity: 0; scale: .5; rotate: -20deg;
    transition: opacity .6s .5s ease, scale .6s .5s cubic-bezier(.22, 1.3, .36, 1), rotate .6s .5s ease; }
  [data-anim="reveal-lines"].in .approach__mark { opacity: 1; scale: 1; rotate: 0deg; }

  /* wipe-up — photo reveals bottom→top (new here) */
  [data-anim="wipe-up"] img { clip-path: inset(100% 0 0 0); transition: clip-path .9s cubic-bezier(.65, 0, .35, 1); }
  [data-anim="wipe-up"].in img { clip-path: inset(0 0 0 0); }

  /* rows — list rows slide in from the left, staggered (new here steps) */
  [data-anim="rows"] { opacity: 0; translate: -28px 0; }
  [data-anim="rows"].in { opacity: 1; translate: none; }

  /* slide-left — peach card slides in from the left (plan) */
  [data-anim="slide-left"] { opacity: 0; translate: -44px 0; }
  [data-anim="slide-left"].in { opacity: 1; translate: none; }

  /* pop — cards scale in with an overshoot (CTA) */
  [data-anim="pop"] { opacity: 0; scale: .9; transition: opacity .5s ease, scale .6s cubic-bezier(.22, 1.2, .36, 1); }
  [data-anim="pop"].in { opacity: 1; scale: 1; }
  [data-anim="pop"] .flourish path { stroke-dashoffset: 1; transition: stroke-dashoffset .7s .35s ease; }
  [data-anim="pop"].in .flourish path { stroke-dashoffset: 0; }

  /* fade — opacity only (footer) */
  [data-anim="fade"] { opacity: 0; }
  [data-anim="fade"].in { opacity: 1; }

  /* marquee — continuous loop */
  .marquee__track { animation: marquee 34s linear infinite; }
  @keyframes marquee { to { transform: translateX(-50%); } }

  /* ── Hero entrance (fires on load) ───────────────────────── */
  html.hero-armed .hero__media img,
  html.hero-armed .hero__media video { scale: 1.06; }
  html.hero-armed .hero__media .hero__tab,
  html.hero-armed .hero__media .hero__cap,
  html.hero-armed .hero__media .hero__plus { opacity: 0; }
  html.hero-armed .hero__intro > *,
  html.hero-armed .hero__stack .hcard { opacity: 0; translate: 0 18px; }
  html.hero-armed .hero__title .flourish path { stroke-dashoffset: 1; }

  html.hero-ready .hero__media img,
  html.hero-ready .hero__media video { scale: 1; transition: scale 1.2s cubic-bezier(.16, .84, .34, 1); }
  html.hero-ready .hero__media .hero__tab,
  html.hero-ready .hero__media .hero__cap,
  html.hero-ready .hero__media .hero__plus { opacity: 1; transition: opacity .7s .5s ease; }
  html.hero-ready .hero__intro > *,
  html.hero-ready .hero__stack .hcard {
    opacity: 1; translate: none;
    transition: opacity .6s ease, translate .6s cubic-bezier(.22, .68, .36, 1);
  }
  html.hero-ready .hero__intro > *:nth-child(1) { transition-delay: .05s; }
  html.hero-ready .hero__intro > *:nth-child(2) { transition-delay: .16s; }
  html.hero-ready .hero__intro > *:nth-child(3) { transition-delay: .26s; }
  html.hero-ready .hero__intro > *:nth-child(4) { transition-delay: .34s; }
  html.hero-ready .hero__intro > *:nth-child(5) { transition-delay: .42s; }
  html.hero-ready .hero__stack .hcard:nth-child(1) { transition-delay: .30s; }
  html.hero-ready .hero__stack .hcard:nth-child(2) { transition-delay: .40s; }
  html.hero-ready .hero__title .flourish path { stroke-dashoffset: 0; transition: stroke-dashoffset .8s .5s ease; }
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1040px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .nav__links.is-open {
    position: absolute; top: 100%; left: var(--pad); right: var(--pad); z-index: 40;
    display: grid; gap: 4px; margin: 0; padding: 16px 20px;
    background: var(--page); border: 1px solid var(--line); border-radius: 8px;
    box-shadow: 0 18px 40px rgba(36, 31, 29, .12); font-size: 15px;
  }
  .hero { grid-template-columns: 1fr 1fr; }
  .hero__intro { grid-column: 1 / -1; }
  .hero__title { margin-top: 12px; }
  .hero__corner { padding-top: 20px; }
  .feelgood__head { grid-template-columns: 1fr; align-items: start; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .focus { grid-template-columns: 1fr; }
  .newhere, .plan { grid-template-columns: 1fr; }
  .plan__body { align-self: start; }
  .faq__inner { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .hero { grid-template-columns: 1fr; }
  .hero__media { min-height: clamp(320px, 80vw, 440px); }
  .hcard__row { grid-template-columns: 1fr; }
  .cats { grid-template-columns: 1fr; }
  .cat { min-height: 0; }
  .cat__ico { margin-top: 16px; }
  .approach__foot { grid-template-columns: 1fr; gap: 18px; }
  .footer__bar { justify-content: flex-start; }
  .footer__mid { margin-inline: 0; width: 100%; order: 3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important;
    animation-iteration-count: 1 !important; }
  .marquee__track { animation: none; transform: none; }
  [data-anim], [data-anim] * {
    opacity: 1 !important; translate: none !important; scale: none !important;
    rotate: none !important; filter: none !important; clip-path: none !important;
  }
  .flourish path { stroke-dashoffset: 0 !important; }
  .acc__panel { transition: none; }
  .cursor { display: none; }
}
