/* Fonts are self-hosted (OFL-1.1, from @fontsource) so the page loads no third-party code.
   Cormorant Garamond carries the editorial headings; Nunito Sans the body; Josefin Sans the small spaced kickers;
   Sacramento only the signature line in the footer. */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Sacramento"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/sacramento-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Josefin Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/josefin-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Josefin Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/josefin-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Josefin Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/josefin-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/nunito-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/nunito-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/nunito-sans-latin-700-normal.woff2") format("woff2"); }

/* Editorial, calm, cream: a 4-tone base (blush-cream, rose-sand, muted pink, plum ink) with the brand pink and green as accents.
   Single light theme by choice. */
:root {
  color-scheme: only light;   /* "only" also opts out of browser auto-darkening (Chrome Auto Dark Mode) */

  /* ---- colour: surfaces ---- */
  --white: #ffffff;
  --cream: #fbf6f3;        /* page */
  --cream-2: #f5ebe7;     /* alternate band */
  --blush: #f8ecef;
  --card: #fffcfb;
  --sand: #ead6d0;        /* rose-beige: arcs, wells (decoration) */
  --line: #ecdcd6;        /* hairlines */
  --line-strong: #e0cbc4; /* arc outlines, decorative rings (not a control boundary) */
  --plum-band: #3f2a35;   /* lifted orb on the dark band */

  /* ---- colour: text ---- */
  --ink: #34222b;         /* dark plum: headings, body, primary button */
  --ink-2: #4a3540;       /* secondary body */
  --muted: #6d5862;       /* captions: >= 5.5:1 on every light surface */
  --on-dark: #ffffff;
  --on-dark-soft: #ecdde3; /* body copy on --ink / plum band */
  --ink-rgb: 52 34 43;     /* for shadows: rgb(var(--ink-rgb) / .2) */

  /* ---- colour: brand accents ---- */
  --pink: #c93676;         /* decoration only (bullets, glints), never small text */
  --pink-bright: #e4508f;
  --pink-deep: #a82a5c;    /* accent text + .btn-pink */
  --pink-hover: #932350;
  --pink-soft: #f3c6d8;    /* on dark only, or decoration */
  --mid: #c48aa2;          /* rules, decoration */
  --green: #197a33;        /* buttons, badge */
  --green-deep: #14652a;
  --footer: #1b6b33;
  --teal: #0b7a72;         /* focus ring, non-text */
  --teal-ink: #0a6a63;     /* teal as TEXT: >= 5.5:1 on every light surface */
  --lotus-teal: #02aeb0;   /* straight from brand-lotus.svg: artwork only, fails as text */
  --lotus-green: #1fa836;  /* straight from brand-lotus.svg: artwork only */

  /* ---- type: families (no system-ui: it resolves to Roboto on Android) ---- */
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --script: "Sacramento", "Brush Script MT", cursive;
  --caps: "Josefin Sans", "Century Gothic", "Gill Sans", "Trebuchet MS", sans-serif;
  --body: "Nunito Sans", "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;

  /* ---- type: scale (body floor 14px, caps floor 12px, ratio ~1.2 to 1.25) ---- */
  --fs-2xs: 12px;   /* kickers, caps labels, legal */
  --fs-xs: 13px;    /* notes, dates, secondary buttons */
  --fs-sm: 14px;    /* card copy, buttons */
  --fs-base: 16px;  /* body */
  --fs-md: 17px;    /* lead paragraphs */
  --fs-lg: 19px;    /* card titles (mobile), long-form */
  --fs-xl: 22px;    /* card titles, quotes */
  --fs-2xl: 26px;   /* sub-headings, totals */
  --fs-h2: clamp(34px, 4.2vw, 52px);
  --fs-h2-lg: clamp(40px, 5vw, 64px);
  --fs-h1: clamp(46px, 6.4vw, 88px);
  --lh-tight: 1.04;
  --lh-snug: 1.25;
  --lh-body: 1.65;
  --track-caps: .24em;   /* was .34em: too airy at 12px */
  --track-caps-sm: .14em;

  /* ---- spacing: 4px base ---- */
  --sp-1: 4px;  --sp-2: 7.5px;  --sp-3: 11.5px; --sp-4: 15.5px; --sp-5: 23px;
  --sp-6: 30.5px; --sp-7: 46px; --sp-8: 69px; --sp-9: 92px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --section: clamp(54px, 7.68vw, 92px);   /* vertical rhythm between landing sections */
  --measure: 62ch;

  /* ---- radii ---- */
  --r-sm: 10px;    /* buttons, chips-in-rows, small media */
  --r-md: 14px;    /* product images, inner panels */
  --r-lg: 20px;    /* cards (alias --radius) */
  --r-xl: 28px;    /* big panels, voices band */
  --r-pill: 999px;
  --radius: var(--r-lg);

  /* ---- shadows: one family, three heights ---- */
  --shadow-sm: 0 1px 2px rgb(var(--ink-rgb) / .05), 0 10px 22px -16px rgb(var(--ink-rgb) / .22);
  --shadow: 0 1px 2px rgb(var(--ink-rgb) / .04), 0 18px 40px -24px rgb(var(--ink-rgb) / .22);
  --shadow-lift: 0 1px 2px rgb(var(--ink-rgb) / .05), 0 26px 48px -24px rgb(var(--ink-rgb) / .3);
  --shadow-float: 0 1px 2px rgb(var(--ink-rgb) / .06), 0 34px 50px -30px rgb(var(--ink-rgb) / .45), 0 10px 18px -12px rgb(var(--ink-rgb) / .16);
  --shadow-btn: 0 12px 24px -14px rgb(var(--ink-rgb) / .7);

  /* ---- motion: transform/opacity/colour only; nothing over 300ms except one-shot reveals ---- */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 160ms;   /* colour, press */
  --dur: 220ms;        /* hover lift, dialog */
  --dur-slow: 300ms;   /* image zoom */
}
* { box-sizing: border-box; }
/* belt and braces only: every decoration is clipped by its own section; this just stops a future one from widening the page */
html { overflow-x: clip; background: var(--cream); -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
a, button, summary, label { touch-action: manipulation; }
.btn, button, .chip { -webkit-user-select: none; user-select: none; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); font-size: var(--fs-base); line-height: var(--lh-body); -webkit-tap-highlight-color: transparent; overflow-x: clip; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: var(--gutter); padding-right: max(19px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
img { max-width: 100%; }
:where(a, button, summary, [tabindex]):focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
footer :where(a, button):focus-visible { outline-color: var(--white); }

.skip { position: absolute; left: 12px; top: -80px; z-index: 50; padding: 11.5px 17.5px; min-height: 44px; border-radius: var(--r-sm); background: var(--ink); color: var(--white); font-weight: 700; text-decoration: none; }
.skip:focus-visible { top: 12px; }

/* type system */
.eyebrow, .kicker { display: block; font: 600 var(--fs-2xs)/1.4 var(--caps); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--pink-deep); }
.title { font-family: var(--serif); font-weight: 500; font-size: var(--fs-h2); line-height: var(--lh-tight); letter-spacing: -.005em; color: var(--ink); text-align: center; }
.title::after { content: ""; display: block; width: 56px; height: 1px; margin: 21px auto 0; background: var(--mid); }
.eyebrow + .title { margin-top: var(--sp-3); }
.caps { font-family: var(--caps); text-transform: uppercase; letter-spacing: .14em; }

/* buttons: rounded-rect, sentence case, quiet */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9.5px; min-height: 46px; padding: 11.5px 23px; border-radius: 10px; font: 700 14.5px/1.2 var(--body); letter-spacing: .02em; text-align: center; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.btn:active { transform: scale(.97); }
.btn-dark { background: var(--ink); color: var(--white); box-shadow: 0 12px 24px -14px rgba(52, 34, 43, .7); }
.btn-dark .arr { display: inline-block; transition: transform 200ms var(--ease-out); }
.btn-green { background: var(--green); color: var(--white); }
.btn-pink { background: var(--pink-deep); color: var(--white); }
.btn-line { background: transparent; border-color: currentColor; color: inherit; }
/* every hover lives behind a capability query so a tap never leaves a stuck hover on phones */
@media (hover: hover) and (pointer: fine) {
  .btn-dark:hover { background: var(--ink-2); }
  .btn-green:hover { background: var(--green-deep); }
  .btn-pink:hover { background: var(--pink-hover); }
  nav a:hover { color: var(--pink-deep); border-color: var(--pink-deep); }
  .lang-slot a:hover { color: var(--ink); }
  .social a:hover { background: var(--cream-2); color: var(--pink-deep); }
  .hero-link:hover { color: var(--pink-deep); text-decoration-color: currentColor; }
  .promise .btn-pink:hover { background: var(--pink-soft); }
  footer .social a:hover { background: var(--white); color: var(--green-deep); }
  .btn:hover { transform: translateY(-1px); }
  .btn-dark:hover .arr, .promise .btn:hover .arr { transform: translateX(3px); }
}

/* header: wordmark left, plain links, then a reserved slot for the future ES | EN switch, then social + cart */
header { position: sticky; top: 0; margin-top: calc(-1 * env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(251, 246, 243, .96); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
@media (prefers-reduced-transparency: reduce) { header { background: var(--cream); -webkit-backdrop-filter: none; backdrop-filter: none; } }
.head { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 23px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 9.5px; min-height: 44px; text-decoration: none; color: var(--ink); }
.logo img { width: 40px; height: 40px; display: block; }
/* Wordmark mirrors the product labels: "Pure" in a regular geometric sans, then the name in bold caps at the same cap height. */
.logo .name { font: 400 23px/1 var(--body); letter-spacing: 0; color: var(--teal-ink); white-space: nowrap; }
.logo .w-health { font-weight: 700; text-transform: uppercase; letter-spacing: .01em; }
.logo .w-juana { font-size: .8em; color: var(--ink-2); }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 29px; }
nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; font: 600 15px var(--body); color: var(--ink); text-decoration: none; border-bottom: 1px solid transparent; transition: color 160ms ease, border-color 160ms ease; }
/* empty until site/en/ exists: two 44px links ("ES", "EN") fit inside */
.lang-slot { width: 92px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
.lang-slot:empty { visibility: hidden; }
.lang-slot a { display: grid; place-items: center; min-width: 44px; min-height: 44px; font: 600 12px/1 var(--caps); letter-spacing: .16em; color: var(--muted); text-decoration: none; border-radius: 999px; }
.lang-slot a + a { border-left: 1px solid var(--line); border-radius: 0 999px 999px 0; }
.lang-slot a[aria-current] { color: var(--pink-deep); }
.head-right { display: flex; align-items: center; gap: 6px; }
.social { display: flex; gap: 4px; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); transition: background-color 160ms ease, color 160ms ease; }
.social svg { width: 18px; height: 18px; }
.promo a { display: inline-block; padding: 13.5px 4px; margin-block: -14px; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.promo { background: var(--cream-2); color: var(--ink-2); text-align: center; font: 600 12px/1.4 var(--caps); letter-spacing: .24em; text-transform: uppercase; padding: calc(8.5px + env(safe-area-inset-top, 0px)) 15.5px calc(8.5px + env(safe-area-inset-top, 0px)); border-bottom: 1px solid var(--line); }

.hero .copy { display: grid; gap: 0; justify-items: start; max-width: 560px; }
.hero h1 { margin-top: 21px; font-family: var(--serif); font-weight: 500; font-size: clamp(46px, 6.4vw, 88px); line-height: .98; letter-spacing: -.015em; color: var(--ink); }
.hero h1 em { display: block; margin-top: .06em; font-style: italic; font-weight: 500; color: var(--pink-deep); letter-spacing: -.01em; }
.hero .lede { margin-top: 29px; padding-top: 29px; position: relative; display: flex; flex-wrap: wrap; align-items: baseline; font-size: 17px; color: var(--ink-2); }
.hero .lede::before { content: ""; position: absolute; top: 0; left: 0; width: 64px; height: 1px; background: var(--mid); }
.hero .lede .nw { white-space: nowrap; }
.hero .lede .dot { color: var(--pink); margin-inline: 7.5px; }
.hero-ctas { margin-top: 32.5px; display: flex; flex-wrap: wrap; align-items: center; gap: 11.5px 25px; }
.hero-ctas .btn { padding-inline: 27px; }
.hero-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: underline; text-decoration-color: var(--mid); text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* one quiet entrance on first paint: copy, then the mark (opacity + 10px rise, ease-out) */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.hero .copy > * { animation: rise 520ms var(--ease-out) both; }
.hero .copy > :nth-child(2) { animation-delay: 60ms; }
.hero .copy > :nth-child(3) { animation-delay: 130ms; }
.hero .copy > :nth-child(4) { animation-delay: 180ms; }

/* shared card */
.prod, .tile, .faq-list details, .t-card, .t-empty, .voices-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }

/* brand story: embossed mark beside the "who am I" copy */
.story { position: relative; overflow: hidden; isolation: isolate; padding-block: calc(var(--section) + var(--sp-2)) var(--sp-7); }
.story-ring { position: absolute; z-index: -1; left: -260px; top: 40px; width: 760px; height: 760px; border-radius: 50%; border: 1px solid var(--sand); }
.story-ring::after { content: ""; position: absolute; inset: 70px; border-radius: 50%; background: radial-gradient(closest-side, rgba(234, 214, 208, .45), rgba(234, 214, 208, 0)); }
.story .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 61.5px; align-items: center; }
/* three planes: a sand arch set back and offset, the photograph in its arch frame, a petal in front */
.story-media { position: relative; margin: 0; isolation: isolate; }
.story-back { position: absolute; z-index: -1; inset: 7% -5% -6% 7%; border-radius: 999px 999px 28px 28px; background: linear-gradient(160deg, #f1e2dd, #e8d3cd); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7); }
.story-frame { position: relative; display: block; border-radius: 999px 999px 24px 24px; overflow: hidden; box-shadow: 0 1px 2px rgba(52, 34, 43, .05), 0 34px 60px -32px rgba(52, 34, 43, .4); }
.story-frame img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.story-frame .print { position: absolute; inset: 0; height: 100%; filter: grayscale(1) contrast(.4) brightness(1.16) blur(1px); }
.story-frame .color { position: relative; }
.story-petal { position: absolute; width: 70px; height: auto; right: -14px; top: -26px; rotate: 22deg; opacity: .7; filter: blur(1.5px); pointer-events: none; }
.story-copy { display: grid; justify-items: start; }
.story-copy h2 { margin-top: var(--sp-3); font: 500 var(--fs-h2)/var(--lh-tight) var(--serif); color: var(--ink); }
.story-copy h2 em { font-style: italic; color: var(--pink-deep); }
.story-copy h2::after { content: ""; display: block; width: 56px; height: 1px; margin-top: 21px; background: var(--mid); }
.story-copy p:not(.eyebrow) { margin-top: 23px; max-width: 52ch; font-size: var(--fs-lg); line-height: 1.7; color: var(--ink-2); }
.story-copy .sign-inline { margin-top: 17.5px; font-family: var(--script); font-size: 46px; line-height: 1; color: var(--pink-deep); }

/* top sellers */
.sellers { position: relative; isolation: isolate; padding-block: var(--sp-8) var(--section); text-align: center; }
/* a blush plane behind the grid, set back: the cards float above it and it slides slower than they do */
.sellers-plane { position: absolute; z-index: -1; left: max(8px, calc(50% - 640px)); right: max(8px, calc(50% - 640px)); top: 34%; bottom: 6%; border-radius: 40px; background: linear-gradient(180deg, var(--blush), #f4e3e6); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8); }
.sellers .prod { box-shadow: var(--shadow-lift); }
.sellers .title, .faq .title { margin-bottom: var(--sp-7); }
.grid6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 17.5px; }
.prod { display: grid; grid-template-rows: auto auto 1fr auto; gap: 6px; padding: 9.5px 9.5px 17.5px; text-align: center; transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) ease; }
.prod .ph { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-md); overflow: hidden; background: var(--white); }
.prod .ph img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform var(--dur-slow) var(--ease-out); }
.prod h3 { margin-top: var(--sp-3); font: 600 var(--fs-xl)/1.15 var(--serif); }
.prod p { font-size: var(--fs-sm); line-height: 1.5; color: var(--muted); padding-inline: 4px; }
.prod .btn { justify-self: center; margin-top: 9.5px; min-height: 44px; padding: 9.5px 21px; font-size: var(--fs-sm); }
.grid6.grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 21px; }
.sellers-more { margin-top: 42px; }
.tag { position: absolute; top: 10px; left: 10px; background: var(--pink-deep); color: var(--white); font: 700 var(--fs-2xs) var(--caps); letter-spacing: var(--track-caps-sm); text-transform: uppercase; padding: var(--sp-1) 9.5px; border-radius: var(--r-pill); }
@media (hover: hover) and (pointer: fine) { .prod:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); } .prod:hover .ph img { transform: scale(1.04); } }

/* value tiles */
.tiles { position: relative; z-index: 1; max-width: 1180px; margin: -96px auto 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 19px; padding: 0 max(19px, env(safe-area-inset-right, 0px)) 69px max(19px, env(safe-area-inset-left, 0px)); }
/* the tiles rise over the plum band: a deeper, two-part shadow sells the overlap */
.tiles .tile { box-shadow: var(--shadow-float); }
.tile { display: grid; grid-template-rows: auto auto 1fr auto; gap: 9.5px; justify-items: start; padding: 27px 23px; color: var(--ink); }
.tile svg { width: 30px; height: 30px; padding: 12.5px; box-sizing: content-box; border-radius: 50%; background: var(--blush); color: var(--pink-deep); margin-bottom: 6px; }
.tile h3 { font: 600 var(--fs-xl)/1.15 var(--serif); }
.tile p { font-size: var(--fs-sm); line-height: 1.6; color: var(--muted); }
.tile .btn { margin-top: 7.5px; min-height: 44px; padding: 9.5px 17.5px; font-size: var(--fs-sm); color: var(--ink); border-color: var(--mid); }
@media (hover: hover) and (pointer: fine) { .tile .btn-line:hover { border-color: var(--ink); background: var(--ink); color: var(--white); } }

/* promise: the one dark band, with the foil mark */
.promise { background: var(--ink); color: var(--white); position: relative; overflow: hidden; isolation: isolate; }
.promise-orb { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.orb-a { width: 820px; height: 820px; left: -260px; top: -380px; background: var(--plum-band); }
.orb-b { width: 520px; height: 520px; right: -160px; bottom: -300px; background: radial-gradient(closest-side, rgba(228, 80, 143, .16), rgba(228, 80, 143, 0)); }
.promise .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 61.5px; align-items: center; padding-block: 84.5px 144px; }
.promise-copy { display: grid; justify-items: start; }
.promise .pre { font: italic 500 var(--fs-2xl)/1.1 var(--serif); color: var(--pink-soft); }
.promise h2 { font: 500 var(--fs-h2-lg)/var(--lh-tight) var(--serif); letter-spacing: -.01em; margin-block: var(--sp-3) var(--sp-4); }
.promise-copy p:not(.pre) { max-width: 44ch; font-size: var(--fs-md); color: var(--on-dark-soft); margin-bottom: var(--sp-6); }
.promise .btn-pink { background: var(--white); color: var(--ink); }
.promise .btn-pink .arr { display: inline-block; transition: transform var(--dur) var(--ease-out); }
.foil { position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 40px 70px -30px rgba(0, 0, 0, .7), 0 12px 24px -16px rgba(0, 0, 0, .5); }
.promise .foil img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
/* a band of light that crosses the rose-gold foil as the section scrolls through */
.foil-sweep { position: absolute; inset: -10% -60%; pointer-events: none; background: linear-gradient(105deg, rgba(255, 236, 228, 0) 38%, rgba(255, 236, 228, .34) 48%, rgba(255, 255, 255, .5) 50%, rgba(255, 236, 228, .34) 52%, rgba(255, 236, 228, 0) 62%); mix-blend-mode: soft-light; translate: -30% 0; }
.promise :where(a, button):focus-visible { outline-color: var(--white); }

/* testimonials teaser: a cream card over the lotus pattern */
.voices { padding-block: var(--sp-5) var(--section); }
.voices .wrap { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--sp-8); border-radius: var(--r-xl); background: var(--blush); display: grid; place-items: center; perspective: 900px; perspective-origin: 50% 0%; }
/* the lotus pattern is its own plane: it lies back in perspective and stands up as you reach it */
.voices-plane { position: absolute; z-index: -1; inset: -12% -8%; background: url("brand-pattern.webp") center / cover no-repeat; transform-origin: 50% 100%; }
.voices .wrap::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(248, 236, 239, .55), rgba(248, 236, 239, 0) 40%), radial-gradient(60% 60% at 50% 50%, rgba(52, 34, 43, 0), rgba(52, 34, 43, .1)); }
.voices-card { position: relative; width: min(100%, 620px); display: grid; justify-items: center; padding: 46px 38.5px; text-align: center; background: rgba(255, 252, 251, .96); box-shadow: 0 1px 2px rgba(52, 34, 43, .06), 0 44px 70px -34px rgba(52, 34, 43, .5); }
.voices-card p:not(.eyebrow) { margin: 21px 0 27px; max-width: 44ch; color: var(--muted); font-size: var(--fs-md); }

/* testimonials page */
.t-head { padding-bottom: 7.5px; }
.t-list { position: relative; z-index: 1; padding-block: 38.5px 92px; }
.t-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 21px; }
.t-grid:empty { display: none; }
.t-grid:not(:empty) + .t-empty { display: none; }
.t-card { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "photo who" "quote quote" "date date"; grid-template-rows: auto 1fr auto; align-items: center; gap: 13.5px 15.5px; padding: 27px 27px 23px; min-width: 0; }
.t-card::before { content: "\201C"; position: absolute; right: 22px; top: 6px; font: 500 88px/1 var(--serif); color: var(--pink-soft); pointer-events: none; }
.t-photo { grid-area: photo; align-self: start; flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--cream-2); border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--line); }
.t-who { grid-area: who; display: grid; gap: 2px; min-width: 0; padding-right: 38.5px; }
.t-card:not(:has(.t-photo)) .t-who { grid-column: 1 / -1; }
.t-who strong { font: 600 var(--fs-xl)/1.15 var(--serif); color: var(--ink); overflow-wrap: anywhere; }
.t-who span { font: 600 var(--fs-2xs)/1.4 var(--caps); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); overflow-wrap: anywhere; }
.t-quote { grid-area: quote; align-self: start; margin: 0; padding-top: 13.5px; border-top: 1px solid var(--line); }
.t-quote p { font: italic 500 var(--fs-xl)/1.45 var(--serif); color: var(--ink-2); overflow-wrap: break-word; hyphens: auto; }
.t-date { grid-area: date; font-size: var(--fs-xs); color: var(--muted); }
.t-empty { max-width: 680px; margin: 0 auto; display: grid; justify-items: center; gap: 15.5px; padding: 46px 30.5px 42px; text-align: center; }
.t-empty img { width: 104px; height: auto; margin-bottom: 4px; }
.t-empty-title { font: 500 clamp(26px, 3vw, 32px)/1.15 var(--serif); color: var(--ink); text-wrap: balance; }
.t-empty p:not(.t-empty-title) { max-width: 46ch; color: var(--muted); }
.t-empty .btn { margin-top: 7.5px; }
.t-note { max-width: 70ch; margin: 34.5px auto 0; padding-top: 17.5px; border-top: 1px solid var(--line); text-align: center; font-size: var(--fs-xs); line-height: 1.6; color: var(--muted); }

/* faq */
.faq { padding-block: var(--sp-8) var(--section); background: var(--cream-2); text-align: center; }
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 11.5px; text-align: left; }
.faq-list details { padding: 2px 21px; box-shadow: none; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 15.5px; min-height: 60px; padding-block: 13.5px; cursor: pointer; list-style: none; font: 600 var(--fs-xl)/var(--lh-snug) var(--serif); color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::marker { content: none; }
.faq-list summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); color: var(--pink-deep); font: 400 18px/1 var(--body); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details[open] summary { color: var(--pink-deep); }
.faq-list p { color: var(--muted); font-size: var(--fs-base); line-height: var(--lh-body); padding-bottom: 19px; max-width: 64ch; }
@media (hover: hover) and (pointer: fine) { .faq-list summary:hover { color: var(--pink-deep); } }

/* footer: brand green */
footer { background: var(--footer); color: var(--white); }
footer .wrap { padding-block: 61.5px 42px; display: grid; gap: 15.5px; justify-items: center; text-align: center; }
footer h2 { font: 500 var(--fs-2xl)/1.1 var(--serif); }
footer h2 + .wa { margin-top: -4px; }
footer .social + h2 { margin-top: 17.5px; }
footer .social a { color: var(--white); border: 1px solid rgb(255 255 255 / .4); }
.wa a { color: inherit; text-decoration: underline; text-underline-offset: 4px; display: inline-block; padding: 9.5px 6px; }
.wa { font-size: var(--fs-lg); font-weight: 700; font-variant-numeric: tabular-nums; user-select: all; letter-spacing: .02em; }
/* payment brands: plain words with dividers, not pills, so they do not read as buttons */
.pay { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; }
.pay span { font-weight: 700; font-size: var(--fs-sm); padding: 2px var(--sp-4); }
.pay span + span { border-left: 1px solid rgb(255 255 255 / .45); }
.disc { font-size: var(--fs-sm); line-height: 1.6; max-width: 90ch; }
.sign { margin-top: 9.5px; font-family: var(--script); font-size: 32px; line-height: 1; }

/* anchor jumps must land below the sticky header */
[id] { scroll-margin-top: 140px; }

/* 404 page */
.nf { min-height: 80vh; display: grid; align-content: center; justify-items: center; gap: 17.5px; padding: 23px max(19px, env(safe-area-inset-left, 0px)); text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.nf-mark { width: 120px; height: auto; margin-bottom: 6px; }
.nf::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 640px; height: 640px; margin: -320px 0 0 -320px; border-radius: 50%; background: var(--cream-2); }
.nf p:not(.eyebrow) { color: var(--muted); }

@media (max-width: 1100px) {
  nav ul { gap: 4px 21px; }
  .head { gap: 17.5px; }
}
@media (max-width: 980px) {
  .head .social { display: none; }
  .head { gap: 11.5px; }
  .logo .name { font-size: 19.5px; }
  nav ul { flex-wrap: nowrap; gap: 0 2px; }
  nav a { padding-inline: 9.5px; font-size: 14.5px; white-space: nowrap; }
  .lang-slot { width: 88px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid6.grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story .wrap, .promise .wrap { gap: 34.5px; }
}
@media (max-width: 760px) {
  /* header: wordmark | language | cart on row 1; the four links on row 2 (scrolls, with a fade, only where they do not fit) */
  header .head { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "logo lang right" "nav nav nav"; gap: 0 4px; min-height: 0; padding-top: 7.5px; }
  .head .logo { grid-area: logo; }
  .logo img { width: 34px; height: 34px; }
  .logo .name { font-size: 19px; }
  .head-right { grid-area: right; }
  .head nav { grid-area: nav; min-width: 0; margin-inline: calc(-1 * max(19px, env(safe-area-inset-left, 0px))); border-top: 1px solid var(--line); margin-top: 6px; }
  .lang-slot { grid-area: lang; width: 88px; }
  .head nav ul { flex-wrap: nowrap; justify-content: center; gap: 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; padding-inline: 9.5px; }
  .head nav ul::-webkit-scrollbar { display: none; }
  .head nav a { padding: 0 9.5px; font-size: 14px; white-space: nowrap; }
  .promo { letter-spacing: .14em; padding: calc(var(--sp-2) + env(safe-area-inset-top, 0px)) var(--sp-4) calc(var(--sp-2) + env(safe-area-inset-top, 0px)); text-wrap: balance; }
  [id] { scroll-margin-top: 120px; }

    .hero h1 { font-size: clamp(44px, 13vw, 60px); margin-top: 11.5px; }
  .hero .lede { font-size: 15.5px; margin-top: 23px; padding-top: 23px; }
  .hero .lede .dot { margin-inline: 5px; }
  .hero-ctas { margin-top: 27px; display: grid; width: 100%; justify-items: center; }
  .hero-ctas .btn { width: 100%; }

  .story { padding-block: 69px 23px; }
  .story .wrap { grid-template-columns: 1fr; gap: 34.5px; }
  .story-copy p:not(.eyebrow) { font-size: var(--fs-md); }

  .sellers { padding-block: 54px 69px; }
  .sellers .title, .faq .title { margin-bottom: 30.5px; }
  .grid6, .grid6.grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11.5px; }
  .prod { padding: 7.5px 7.5px 13.5px; border-radius: 16px; }
  .prod .ph { border-radius: 10px; }
  .prod h3 { font-size: var(--fs-lg); }
  .prod .btn { padding-inline: 19px; }
  .sellers-more { margin-top: 30.5px; width: 100%; }

  .promise .wrap { grid-template-columns: 1fr; padding-block: 61.5px 115px; gap: 34.5px; }
  .promise .btn { width: 100%; }
  .tiles { grid-template-columns: 1fr; gap: 11.5px; margin-top: -72px; padding-block: 0 46px; }
  .voices { padding-block: 7.5px 69px; }
  .voices .wrap { margin-inline: 11.5px; padding: 38.5px 13.5px; border-radius: 22px; }
  .voices-card { padding: 34.5px 21px; }
  .voices-card .btn { width: 100%; }
  .t-list { padding-block: 27px 69px; }
  .t-card { padding: 21px 19px 19px; }
  .t-quote p { font-size: var(--fs-lg); }
  .t-empty { padding: 34.5px 19px; }
  .t-empty .btn { width: 100%; }
  .faq { padding-block: 54px 69px; }
  .faq-list summary { font-size: var(--fs-lg); }
  footer .wrap { padding-block: 50px 34.5px; padding-bottom: max(34.5px, env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 430px) {
  /* one row for wordmark + language + a bare cart icon (shop.css) at 360 to 430 px */
  .logo { gap: 7.5px; } .logo img { width: 30px; height: 30px; } .logo .name { font-size: 16.5px; }
  .head nav a { padding: 0 8.5px; font-size: 13.5px; }
}
@media (max-width: 345px) {
  /* narrower still: the language slot drops beside the links, which scroll under a fade at the right edge */
  header .head { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "logo right" "nav lang"; }
  .head nav { margin-right: 0; }
  .lang-slot { margin-top: 6px; border-top: 1px solid var(--line); }
  .head nav ul { justify-content: flex-start; padding-inline: 4px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
  .head nav a { padding: 0 7.5px; font-size: 13px; }
}
@media (max-width: 380px) {
  .hero .lede { font-size: 14.5px; }
  .t-photo { width: 52px; height: 52px; }
  .t-who { padding-right: 27px; }
}

/* ---------- depth in motion ----------
   Planes: far (arcs, rings, orbs, back plates) slide slower than the page; near (petals) slide faster;
   text and cards never move at another speed than the page. Scroll-linked motion is CSS scroll-driven
   animation where the browser has it (compositor-only: translate, rotate, scale, opacity); depth.js
   repeats the parallax with one passive scroll listener where it does not, and adds the pointer tilt. */
.story-ring { --p: -.1; } .story-back { --p: -.08; } .story-petal { --p: .22; }
.sellers-plane { --p: -.14; } .orb-a { --p: -.16; } .orb-b { --p: .12; }
:root { --pk: 1; }
@media (max-width: 600px) { :root { --pk: .5; } }
@media (prefers-reduced-motion: no-preference) {
  /* story photograph develops from a faint grey print, once, when it first comes into view (depth.js) */
  .story-media.will-develop .color { opacity: 0; transform: scale(1.04); }
  .story-media.developed .color { opacity: 1; transform: none; transition: opacity 1600ms cubic-bezier(.22, 1, .36, 1), transform 1800ms cubic-bezier(.22, 1, .36, 1); }

  @supports (animation-timeline: view()) {
    .story-ring, .story-back, .story-petal, .sellers-plane, .orb-a, .orb-b {
      animation: par linear both; animation-timeline: view(); animation-range: cover;
    }
    @keyframes par { from { translate: 0 calc(var(--p) * var(--pk) * 55vh); } to { translate: 0 calc(var(--p) * var(--pk) * -55vh); } }
    /* the light band crosses the foil while the plum section passes the middle of the screen */
    .foil-sweep { animation: sweep linear both; animation-timeline: view(); animation-range: cover 20% cover 80%; }
    @keyframes sweep { from { translate: -30% 0; } to { translate: 30% 0; } }
    /* the lotus pattern lies back and stands up as you reach it; the card stays with the page */
    .voices-plane { animation: recede linear both; animation-timeline: view(); animation-range: cover 0% cover 60%; }
    @keyframes recede { from { transform: rotateX(24deg) scale(1.18); } to { transform: rotateX(0deg) scale(1); } }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
  /* entrance keeps only a short fade, no movement */
  @keyframes rise { from { opacity: 0; } }
  .hero .copy > * { animation-duration: 200ms; animation-delay: 0ms; }
  .btn:active { transform: none; }
  .prod:hover, .prod:hover .ph img, .btn:hover, .btn-dark:hover .arr, .promise .btn:hover .arr { transform: none !important; }
}

/* ---------- hero: the studio product shot ----------
   A pre-rendered photograph (a still) of the jar over a seamless cream sweep; the headline, kicker and
   subline are real HTML in front of it. On desktop the photo is scaled from its left edge so the jar sits
   further right (--shift); a soft cream halo keeps the type legible where it crosses the jar. */
.studio { position: relative; isolation: isolate; }
.studio-stage { --sx: 50%; --sy: 50%; --shift: 1.18; position: relative; height: calc(100svh - 112px); min-height: 560px; max-height: 1000px; overflow: hidden; background: #ecdfda; }
.studio-shot { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: var(--sx) var(--sy); transform-origin: 0 50%; scale: var(--shift, 1); }
.studio-type { position: absolute; inset: 0; display: grid; align-content: center; padding-bottom: 6%; }
.studio .kicker, .studio h1, .studio-copy .lede { text-shadow: 0 0 1px rgba(251, 246, 243, .8), 0 0 12px rgba(251, 246, 243, .7), 0 0 26px rgba(251, 246, 243, .45); }
.studio-lines { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: max(19px, env(safe-area-inset-left, 0px)) max(19px, env(safe-area-inset-right, 0px)); }
.studio .kicker { margin-bottom: 17.5px; color: var(--ink); }
.studio h1 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(56px, 9.4vw, 150px); line-height: .9; letter-spacing: -.022em; color: var(--ink); }
.studio h1 em { display: block; margin-left: .9em; font-style: italic; color: #7a1b44; letter-spacing: -.015em; }   /* a deeper rose than --pink-deep: it stands on the photo */
.studio-copy { position: relative; z-index: 2; margin-top: -168px; padding-bottom: 54px; }
.studio-copy .lede { display: flex; flex-wrap: wrap; align-items: baseline; margin: 0; padding: 0; font-size: 17px; color: var(--ink); }
.studio-copy .lede::before { display: none; }
.studio-copy .lede .nw { white-space: nowrap; }
.studio-copy .lede .dot { color: #7a1b44; margin-inline: 7.5px; }
.studio-copy .hero-ctas { margin-top: 17.5px; display: flex; flex-wrap: wrap; align-items: center; gap: 13.5px 17.5px; }
.btn-pill { border-radius: 999px; padding-inline: 29px; }
.studio-card { display: inline-flex; align-items: center; gap: 11.5px; min-height: 56px; padding: 7.5px 17.5px 7.5px 7.5px; border-radius: 16px; background: rgba(255, 252, 251, .86); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; font-size: 14px; line-height: 1.3; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.studio-card img { width: 40px; height: 40px; border-radius: 10px; background: var(--cream); padding: 4px; }
.studio-card strong { display: block; font-weight: 700; }
@media (hover: hover) and (pointer: fine) { .studio-card:hover { border-color: var(--mid); } }
@media (max-height: 640px) and (orientation: landscape) { .studio-stage { min-height: min(560px, 100svh); } }
@media (max-width: 760px), (max-width: 900px) and (orientation: portrait) {
  /* phones and tablets held upright get their own portrait photograph: jar high, the type over the floor below it.
     The stage is sized so the headline AND the first button fit in the first screen under the promo bar and header
     (roughly 160px) and the copy block below the photograph (roughly 150px); taller screens get the full 4:5 frame. */
  .studio-stage { --sx: 50%; --sy: 45%; --shift: 1; height: clamp(300px, min(125vw, calc(100svh - 310px - env(safe-area-inset-top, 0px))), 1000px); min-height: 0; max-height: none; }
  .studio-type { align-content: end; padding-bottom: 3%; }
  .studio .kicker { margin-bottom: 7.5px; }
  .studio h1 { font-size: clamp(42px, 12.4vw, 96px); }
  .studio h1 em { margin-left: .6em; }
  .studio-copy { margin-top: 0; padding-block: 15.5px 42px; }
  .studio-copy .lede { font-size: 15.5px; }
  .studio-copy .hero-ctas { display: grid; justify-items: stretch; margin-top: 13.5px; }
  .studio-copy .btn-pill { width: 100%; }
}

/* ---------- "Conoce tus cápsulas": a pinned section that turns each jar on its axis as you scroll ----------
   Static by default (stacked stills + text: no JS, reduced motion, data saver). cycle.js adds .is-scrub,
   which pins the stage and draws pre-rendered frames to the canvas. */
.cycle { position: relative; padding-block: 69px 38.5px; }
.cycle .title { margin-bottom: 34.5px; }
.cycle-stage { display: none; }
.cycle-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 21px; }
.cycle-item { display: grid; gap: 11.5px; align-content: start; }
.cycle-still { width: 100%; height: auto; border-radius: 18px; background: #e3d3cc; }
.cycle-text h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.05; color: var(--ink); }
.cycle-text p { margin-top: 7.5px; color: var(--ink-2); font-size: 16.5px; }
.cycle-text .btn { margin-top: 13.5px; }
.cycle .disc { margin-top: 27px; color: var(--muted); }

/* scrub mode: one screen of scroll per jar; the stage stays pinned */
.cycle.is-scrub { padding: 0; height: calc(var(--n, 6) * 100svh + 40svh); }
.cycle.is-scrub .cycle-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; background: #c9b4a8; }
/* over the photograph the small type goes to full ink for contrast */
.cycle.is-scrub .eyebrow, .cycle.is-scrub .cycle-text p, .cycle.is-scrub .disc { color: var(--ink); }
.cycle.is-scrub .title::after { display: none; }
.cycle.is-scrub .cycle-stage { display: block; position: absolute; inset: 0; }
.cycle-plate { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cycle-canvas { position: absolute; display: block; }
.cycle.is-scrub .cycle-wrap { position: relative; z-index: 1; height: 100%; display: grid; align-content: center; grid-template-rows: auto auto 1fr auto; padding-block: 144px 27px; pointer-events: none; }
.cycle.is-scrub .cycle-wrap a { pointer-events: auto; }
.cycle.is-scrub .title { text-align: left; margin-bottom: 0; }
.cycle.is-scrub .cycle-list { position: relative; display: block; max-width: 420px; margin-top: 38.5px; }
.cycle.is-scrub .cycle-still { display: none; }
.cycle.is-scrub .cycle-item { position: absolute; inset: 0 auto auto 0; width: 100%; opacity: 0; translate: 0 12px; transition: opacity 420ms var(--ease-out), translate 420ms var(--ease-out); pointer-events: none; }
.cycle.is-scrub .cycle-item.is-on { opacity: 1; translate: 0 0; pointer-events: auto; }
.cycle.is-scrub .cycle-text h3 { font-size: clamp(40px, 5vw, 64px); }
.cycle.is-scrub .disc { max-width: 52ch; align-self: end; }
@media (max-width: 760px), (max-width: 900px) and (orientation: portrait) {
  .cycle.is-scrub .cycle-pin { background: linear-gradient(180deg, #a08d83 0, #b9a598 62%, #c4b0a4 100%); }
  .cycle.is-scrub .cycle-plate { display: none; }
  .cycle.is-scrub .cycle-wrap { align-content: start; grid-template-rows: auto auto 1fr auto; padding-block: calc(var(--hdr, 100px) + 7.5px) 15.5px; }
  .cycle.is-scrub .eyebrow, .cycle.is-scrub .title { visibility: hidden; }
  .cycle.is-scrub .title { font-size: 30px; }
  .cycle.is-scrub .cycle-list { margin-top: auto; align-self: end; min-height: 170px; }
  .cycle.is-scrub .cycle-text h3 { font-size: 36px; }
  .cycle.is-scrub .cycle-text p { font-size: 15.5px; }
  .cycle.is-scrub .disc { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .cycle-item { transition: none !important; } }
