/* =========================================================
   KOCOSTAR — design system
   Ivory · peach · ink · coral. Cormorant Garamond + Manrope.
   ========================================================= */
:root {
  --ivory: #F7F1EA;
  --cream: #EFE4D8;
  --peach: #EBD2C0;
  --rose: #E8B4A8;
  --coral: #E8503F;
  --ink: #1A1412;
  --ink-2: #3A302B;
  --mute: #7A6B62;
  --line: rgba(26, 20, 18, .14);
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
::selection { background: var(--coral); color: #fff; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 99px; }
.skip:focus { top: 12px; }

/* Film grain */
.grain {
  position: fixed; inset: -50%; z-index: 150; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0) } 20% { transform: translate(-3%, 2%) } 40% { transform: translate(2%, -3%) } 60% { transform: translate(-2%, -1%) } 80% { transform: translate(3%, 3%) } 100% { transform: translate(0, 0) } }

/* ---------- Type ---------- */
.display { font: 300 clamp(2.4rem, 5.6vw, 5.2rem)/.98 var(--serif); letter-spacing: -.015em; }
.display em, .hero__title em { font-style: italic; font-weight: 300; color: var(--coral); }
.display--xl { font-size: clamp(3rem, 8.4vw, 8.6rem); line-height: .94; }
.display--md { font-size: clamp(1.9rem, 3.2vw, 3rem); line-height: 1.04; }
.display--light { color: #fff; }
.display--light em { color: #FFD9CF; }
.eyebrow { font: 600 .72rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--mute); margin-bottom: 1.4rem; display: flex; align-items: center; gap: .9rem; }
.eyebrow::before { content: ''; width: 34px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--light { color: rgba(255, 255, 255, .8); }
.link { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 6px; transition: color .3s, border-color .3s; }
.link:hover { color: var(--coral); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; overflow: hidden;
  padding: 1.05rem 1.9rem; border-radius: 999px; font: 600 .76rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  isolation: isolate; transition: color .45s var(--ease), border-color .45s; white-space: nowrap;
}
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .55s var(--ease); }
.btn:hover::before { transform: translateY(0); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark::before { background: var(--coral); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light::before { background: var(--peach); }
.btn--ghost { border: 1px solid var(--ink); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: #fff; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- Logo (real Kocostar wordmark as mask → takes currentColor) ---------- */
.logo__mark {
  display: block; width: 138px; aspect-ratio: 455 / 53; background: currentColor;
  -webkit-mask: url('/assets/img/logo.png') center / contain no-repeat; mask: url('/assets/img/logo.png') center / contain no-repeat;
}
.logo__mark--pre { width: min(62vw, 420px); }
.logo__mark--giant { width: 100%; -webkit-mask-image: url('/assets/img/logo-xl.png'); mask-image: url('/assets/img/logo-xl.png'); }

/* ---------- Custom cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--coral); opacity: 0; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), opacity .3s, background .3s; display: grid; place-items: center; }
.cursor.is-on { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Header ---------- */
.header {
  position: fixed; z-index: 120; left: 0; right: 0; top: 0; height: var(--header-h); padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: var(--ink);
  transition: transform .6s var(--ease), background .4s, color .4s, backdrop-filter .4s;
}
.header.is-solid { background: rgba(247, 241, 234, .82); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); }
.header.is-hidden { transform: translateY(-100%); }
.header.is-light { color: #fff; }
.header.is-light.is-solid { background: rgba(26, 20, 18, .55); }
.header .logo__mark { width: 128px; }
.nav { display: flex; gap: clamp(1.2rem, 3vw, 2.8rem); }
.nav a { position: relative; font: 600 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; padding: 8px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__actions { display: flex; justify-content: flex-end; align-items: center; gap: 14px; }
.lang-switch { display: inline-flex; align-items: center; gap: 4px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid currentColor; font: 700 .7rem/1 var(--sans); letter-spacing: .14em; color: inherit; opacity: .85; transition: opacity .3s, background .3s; }
.lang-switch:hover { opacity: 1; background: rgba(128, 128, 128, .14); }
.lang-switch__sep, .lang-switch__alt { opacity: .45; }
.lang-switch:hover .lang-switch__alt { opacity: 1; }
.menu .lang-switch { align-self: flex-start; margin-top: 2.4rem; color: #fff; border-color: rgba(255, 255, 255, .35); }
@media (max-width: 520px) { .header__actions > .lang-switch { height: 34px; padding: 0 10px; font-size: .64rem; } }
.cart-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); transition: background .3s, color .3s; }
.header.is-light .cart-btn { border-color: rgba(255, 255, 255, .4); }
.cart-btn:hover { background: var(--ink); color: #fff; }
.cart-btn__count { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--coral); color: #fff; font: 700 .64rem/19px var(--sans); text-align: center; transform: scale(0); transition: transform .4s var(--ease); }
.cart-btn__count.has { transform: scale(1); }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 110; background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px; clip-path: circle(0% at 92% 4%); transition: clip-path .9s var(--ease); visibility: hidden; }
.menu.is-open { clip-path: circle(150% at 92% 4%); visibility: visible; }
.menu__nav { display: grid; gap: .2rem; }
.menu__nav a { font: 300 clamp(2.8rem, 12vw, 5rem)/1.1 var(--serif); overflow: hidden; display: block; }
.menu__nav a span { display: block; transform: translateY(110%); transition: transform .8s var(--ease); }
.menu.is-open .menu__nav a span { transform: none; }
.menu.is-open .menu__nav a:nth-child(2) span { transition-delay: .06s } .menu.is-open .menu__nav a:nth-child(3) span { transition-delay: .12s } .menu.is-open .menu__nav a:nth-child(4) span { transition-delay: .18s }
.menu__foot { margin-top: 3rem; font: 600 .7rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
body.menu-open .header { color: #fff; background: transparent; backdrop-filter: none; }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; color: var(--ink); background: var(--ivory); }
.preloader__panel { position: absolute; inset: 0; }
.preloader__panel--1 { background: var(--rose); }
.preloader__panel--2 { background: var(--peach); }
.preloader__inner { position: relative; display: grid; gap: 1.6rem; justify-items: center; width: min(62vw, 420px); }
.preloader__meta { display: flex; justify-content: space-between; width: 100%; font: 600 .68rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.preloader__count b { font-weight: 600; font-variant-numeric: tabular-nums; }
.preloader__bar { width: 100%; height: 1px; background: var(--line); }
.preloader__bar span { display: block; height: 100%; width: 0; background: var(--coral); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; padding: calc(var(--header-h) + 3vh) var(--gutter) 3.2vh; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 80% at 50% 0%, #FBF6F0 0%, var(--ivory) 55%, var(--cream) 100%); }
.hero__kicker { display: flex; align-items: center; gap: 14px; font: 600 .72rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); }
.hero__top { display: grid; gap: .9rem; justify-items: start; }
.hero__claim { margin: 0; font: 700 .8rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--coral); }
@media (max-width: 900px) { .hero__top { justify-items: center; text-align: center; } }
/* the claim as a slowly turning seal beside the title (wide screens); phones keep the text line */
.hero__seal { position: absolute; z-index: 3; right: calc(var(--gutter) + 3vw); top: calc(var(--header-h) + 5svh); width: clamp(128px, 11.5vw, 172px); aspect-ratio: 1; display: grid; place-items: center; color: var(--ink); pointer-events: none; }
.hero__seal-ring { position: absolute; inset: 0; }
.hero__seal-ring svg { display: block; width: 100%; height: 100%; overflow: visible; }
.hero__seal text { font: 600 14.5px var(--sans); letter-spacing: .1em; fill: currentColor; }
.hero__seal::before { content: ''; position: absolute; inset: 24%; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #fff 0%, #FBE9DF 38%, var(--peach) 100%); box-shadow: 0 22px 40px -18px rgba(120, 60, 40, .5), inset 0 1px 0 rgba(255, 255, 255, .9); }
.hero__seal-core { position: relative; font: 300 clamp(1.6rem, 2.2vw, 2.2rem)/1 var(--serif); color: var(--coral); }
@media (min-width: 901px) and (min-height: 521px) { .hero__claim { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
@media (max-width: 900px), (max-height: 520px) { .hero__seal { display: none; } }
.hero__kicker i { width: 38px; height: 1px; background: currentColor; opacity: .5; }
.hero__title { position: absolute; z-index: 1; left: var(--gutter); right: var(--gutter); top: 50%; transform: translateY(-58%); display: flex; align-items: center; justify-content: center; font: 300 clamp(3.2rem, 9.2vw, 10.4rem)/.9 var(--serif); letter-spacing: -.025em; white-space: nowrap; pointer-events: none; }
.hero__w { overflow: hidden; padding: .06em .04em .12em; }
.hero__line { display: block; }
.hero__gap { width: .1em; flex: none; }
.hero__orb { position: absolute; left: 50%; top: 54%; width: min(54vw, 760px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(246, 201, 182, .9) 0%, rgba(246, 201, 182, 0) 68%); will-change: transform; }
/* liquid light: big soft radial-gradient blobs drifting behind everything (transform-only animation = GPU, no repaint, no blur filter) */
.hero__lq { opacity: 0; position: absolute; border-radius: 50%; will-change: transform; pointer-events: none; background: radial-gradient(closest-side, var(--c) 0%, rgba(255, 255, 255, 0) 100%); }
.hero__lq--1 { left: -16vw; top: -6vh; width: 66vw; height: 58vw; --c: rgba(244, 191, 169, .8); --o: .75; }
.hero__lq--2 { right: -16vw; top: -18vh; width: 60vw; height: 50vw; --c: rgba(242, 169, 166, .7); --o: .6; }
.hero__lq--3 { left: 18vw; bottom: -30vh; width: 70vw; height: 54vw; --c: rgba(251, 214, 192, .95); --o: .9; }
.hero__lq--4 { right: 0; bottom: 0; width: 42vw; height: 36vw; --c: rgba(255, 244, 234, 1); --o: .95; }
@keyframes lq-in { from { opacity: 0; } to { opacity: var(--o, .8); } }
@keyframes lq-a { 0% { transform: translate3d(0, 0, 0) scale(1, 1) rotate(0deg); } 50% { transform: translate3d(9vw, 7vh, 0) scale(1.2, .88) rotate(24deg); } 100% { transform: translate3d(-3vw, 14vh, 0) scale(.92, 1.14) rotate(-14deg); } }
@keyframes lq-b { 0% { transform: translate3d(0, 0, 0) scale(1, 1) rotate(0deg); } 50% { transform: translate3d(-10vw, 9vh, 0) scale(.9, 1.2) rotate(-26deg); } 100% { transform: translate3d(4vw, 16vh, 0) scale(1.15, .9) rotate(16deg); } }
@keyframes lq-c { 0% { transform: translate3d(0, 0, 0) scale(1, 1) rotate(0deg); } 50% { transform: translate3d(-12vw, -8vh, 0) scale(1.14, .9) rotate(16deg); } 100% { transform: translate3d(10vw, -3vh, 0) scale(.94, 1.1) rotate(-18deg); } }
@keyframes lq-d { 0% { transform: translate3d(0, 0, 0) scale(1); } 100% { transform: translate3d(-14vw, -12vh, 0) scale(1.35, 1.1); } }
@media (prefers-reduced-motion: reduce) { .hero__lq { opacity: var(--o, .8); } .hero__petals { opacity: 1; } }
/* camellia petals drifting down (generated in home.js) */
.hero__petals { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; opacity: 0; }
.hero__petals--front { z-index: 4; }
.petal { position: absolute; left: 0; top: 0; will-change: transform; }
@keyframes petals-in { from { opacity: 0; } to { opacity: 1; } }
.hero { --ch: clamp(200px, 29svh, 330px); --bw: clamp(250px, 25vw, 390px); --bh: clamp(120px, 15svh, 160px); }
.hero__title { top: 25%; transform: translateY(-50%); }
/* deck: a box with cards that rise out of its mouth and fan across the hero */
.deck { position: absolute; left: 0; right: 0; margin: 0 auto; bottom: 17svh; width: var(--bw); height: var(--bh); z-index: 3; }
.deck__back { position: absolute; left: 3%; right: 3%; top: -6%; bottom: 40%; border-radius: 14px 14px 0 0; background: linear-gradient(180deg, #3b2b24, #2a1e19); box-shadow: inset 0 10px 22px rgba(0, 0, 0, .4); }
.deck__cards { position: absolute; left: 0; right: 0; top: 34%; height: 0; z-index: 1; clip-path: inset(-300vh -300vw 0 -300vw); }
.deck__card { position: absolute; left: 50%; bottom: 0; height: var(--ch); width: auto; transform-origin: 50% 100%; will-change: transform; filter: drop-shadow(0 18px 26px rgba(70, 40, 30, .28)); }
.deck__front { position: absolute; left: 0; right: 0; top: 34%; bottom: 0; z-index: 2; display: grid; align-content: center; justify-items: center; gap: 8px; border-radius: 4px 4px 12px 12px; background: linear-gradient(180deg, #261b17 0%, #17110e 100%); box-shadow: 0 34px 50px rgba(60, 35, 25, .34), inset 0 1px 0 rgba(246, 201, 182, .28); }
.deck__front::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(246, 201, 182, .3); border-radius: 2px 2px 8px 8px; pointer-events: none; }
.deck__brand { font: 600 clamp(.78rem, 1.25vw, 1.05rem)/1 var(--sans); letter-spacing: .42em; padding-left: .42em; color: var(--ivory); }
.deck__sub { font: 600 .56rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: rgba(246, 201, 182, .72); }
@keyframes spin { to { transform: translateX(-50%) rotate(360deg); } }
.hero__bottom { position: relative; z-index: 4; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-top: auto; }
.hero__lead { max-width: 360px; font-size: .95rem; color: var(--ink-2); }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.hero__scroll { position: absolute; z-index: 4; left: 50%; bottom: 3.2vh; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font: 600 .62rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--mute); }
.hero__scroll i { width: 1px; height: 38px; background: linear-gradient(var(--ink), transparent); transform-origin: top; animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Press marquee ---------- */
.press { padding: 3.2rem 0 3.6rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: var(--ivory); position: relative; z-index: 2; }
.press__label { text-align: center; font: 600 .68rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--mute); margin-bottom: 2rem; }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__group { display: flex; align-items: center; gap: clamp(48px, 7vw, 110px); padding-right: clamp(48px, 7vw, 110px); }
.marquee__group img { height: 34px; width: auto; opacity: .78; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.press--page { border-top: 0; }

/* ---------- Manifesto ---------- */
.manifesto { padding: clamp(110px, 18vw, 240px) var(--gutter) clamp(90px, 12vw, 180px); max-width: 1500px; margin: 0 auto; }
.manifesto__text { font: 300 clamp(1.9rem, 4.7vw, 4.6rem)/1.12 var(--serif); letter-spacing: -.012em; max-width: 21em; }
.manifesto__text .word { display: inline-block; opacity: .16; }
.manifesto__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: clamp(60px, 9vw, 130px); padding-top: 2.4rem; border-top: 1px solid var(--line); }
.stat { display: grid; gap: .6rem; }
.stat__num { font: 300 clamp(3rem, 7vw, 6.4rem)/1 var(--serif); font-variant-numeric: lining-nums; color: var(--ink); }
.stat__label { font: 600 .7rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }

/* ---------- Ritual (pinned) ---------- */
.ritual { position: relative; background: var(--ink); color: #fff; }
.ritual__pin { position: relative; min-height: 100svh; padding: calc(var(--header-h) + 2vh) var(--gutter) 5vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: auto 1fr auto; column-gap: 3vw; overflow: hidden; isolation: isolate; color: #fff; }
.ritual__bg { position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 55% at 50% 58%, rgba(232, 150, 120, .22), transparent 70%), var(--ink); }
.ritual .display em { color: var(--rose); }
.ritual__head { grid-column: 1 / -1; grid-row: 1; }
.ritual__head .display { max-width: 12em; }
.ritual__steps { grid-column: 1; grid-row: 2; position: relative; align-self: center; min-height: 260px; }
.rstep { position: absolute; inset: 0 0 auto 0; }
.rstep__no { display: block; font: 300 clamp(4rem, 8vw, 7.5rem)/1 var(--serif); color: var(--coral); }
.rstep h3 { font: 300 clamp(2rem, 3.4vw, 3.2rem)/1.05 var(--serif); margin: .2rem 0 .8rem; }
.rstep p { max-width: 26em; color: inherit; opacity: .8; }
.ritual__stage { grid-column: 2; grid-row: 2; position: relative; display: grid; place-items: center; min-height: 52svh; }
.ritual__disc { position: absolute; width: min(36vw, 520px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #F8DCCC, var(--peach) 60%, #D9AF99); box-shadow: 0 60px 120px -30px rgba(120, 60, 40, .45); }
.ritual__ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); }
.ritual__ring--1 { width: min(46vw, 660px); aspect-ratio: 1; }
.ritual__ring--2 { width: min(56vw, 800px); aspect-ratio: 1; opacity: .5; }
.ritual__tube { position: relative; height: min(62svh, 560px); width: auto; filter: drop-shadow(0 40px 50px rgba(90, 40, 20, .35)); will-change: transform; }
.ritual__stats { grid-column: 3; grid-row: 2; align-self: center; display: grid; gap: 2.2rem; justify-items: start; }
.rstat { position: relative; padding-left: 1.4rem; border-left: 1px solid currentColor; }
.rstat__n { font: 300 clamp(3.4rem, 6.2vw, 6rem)/1 var(--serif); display: flex; align-items: baseline; gap: .1em; }
.rstat__n span { font-size: .5em; color: var(--coral); }
.rstat__l { font: 600 .72rem/1.5 var(--sans); letter-spacing: .16em; text-transform: uppercase; opacity: .75; margin-top: .4rem; }
.rstat__l small { text-transform: none; letter-spacing: 0; font-weight: 400; }
.ritual__cta { grid-column: 1; grid-row: 3; justify-self: start; align-self: end; }
.ritual__foot { grid-column: 3; grid-row: 3; align-self: end; font-size: .72rem; opacity: .55; }
.ritual__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 2px; background: rgba(128, 128, 128, .25); }
.ritual__progress span { display: block; height: 100%; width: 100%; background: var(--coral); transform: scaleX(0); transform-origin: left; }

/* ---------- Shelf (horizontal) ---------- */
.shelf { background: var(--cream); }
.shelf__pin { min-height: 100svh; padding: calc(var(--header-h) + 3vh) 0 5vh; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.shelf__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; padding: 0 var(--gutter); margin-bottom: 3vh; }
.shelf__viewport { flex: 1; display: flex; align-items: center; }
.shelf__track { display: flex; gap: clamp(16px, 2vw, 32px); padding: 0 var(--gutter); width: max-content; will-change: transform; }
.shelf__card { position: relative; flex: none; width: clamp(250px, 24vw, 380px); height: min(60svh, 560px); align-self: center; border-radius: 999px 999px 18px 18px; background: var(--tint); display: grid; place-items: center; padding: 52px 34px 104px; overflow: hidden; transition: transform .7s var(--ease); }
.shelf__card { transition: translate .7s var(--ease); }
.shelf__card:hover { translate: 0 -10px; }
.shelf__card img { width: auto; height: 100%; max-width: 100%; object-fit: contain; min-height: 0; filter: drop-shadow(0 22px 26px rgba(70, 40, 30, .25)); transition: transform .8s var(--ease); }
.shelf__card img { transition: scale .8s var(--ease), rotate .8s var(--ease); }
.shelf__card:hover img { scale: 1.06; rotate: -2deg; }
.shelf__no { position: absolute; top: 7%; left: 0; right: 0; text-align: center; font: 600 .66rem/1 var(--sans); letter-spacing: .24em; color: rgba(26, 20, 18, .5); }
.shelf__meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 8% 6%; display: grid; gap: 2px; text-align: center; }
.shelf__cat { font: 600 .6rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; opacity: .6; }
.shelf__name { font: 400 clamp(1.15rem, 1.6vw, 1.5rem)/1.1 var(--serif); }
.shelf__price { font: 600 .78rem/1.6 var(--sans); }
.shelf__card--dark { color: #fff; } .shelf__card--dark .shelf__no { color: rgba(255, 255, 255, .5); }
.shelf__progress { display: flex; align-items: center; gap: 1.4rem; padding: 0 var(--gutter); margin-top: 3vh; }
.shelf__progress > span { flex: 1; height: 1px; background: var(--line); position: relative; }
.shelf__progress > span::after { content: ''; position: absolute; inset: 0; background: var(--ink); transform: scaleX(var(--p, 0)); transform-origin: left; }
.shelf__counter { font: 600 .72rem/1 var(--sans); font-style: normal; letter-spacing: .16em; font-variant-numeric: tabular-nums; }

/* ---------- Scene ---------- */
.scene { position: relative; min-height: 92svh; display: flex; align-items: center; overflow: hidden; color: #fff; isolation: isolate; }
.scene__media { position: absolute; inset: -12% 0; z-index: -1; }
.scene__media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.scene::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(40, 18, 12, .62), rgba(40, 18, 12, .1) 62%); }
.scene__text { padding: 0 var(--gutter); max-width: 900px; }

/* ---------- Issues ---------- */
.issues { position: relative; padding: clamp(100px, 14vw, 200px) var(--gutter); }
.issues__head { margin-bottom: clamp(40px, 6vw, 90px); }
.issues__list { border-top: 1px solid var(--line); }
.issues__row { display: grid; grid-template-columns: 70px 1fr auto 50px; align-items: center; gap: 1rem; padding: clamp(18px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--line); transition: padding .6s var(--ease), color .4s, opacity .4s; position: relative; }
.issues__no { font: 600 .72rem/1 var(--sans); letter-spacing: .2em; color: var(--mute); }
.issues__label { font: 300 clamp(2.2rem, 6.4vw, 6.2rem)/1 var(--serif); letter-spacing: -.02em; }
.issues__count { font: 600 .7rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.issues__arrow { font-size: 1.6rem; text-align: right; transition: transform .6s var(--ease), color .3s; }
@media (hover: hover) { .issues__row:hover { padding-left: 2.2vw; color: var(--coral); } .issues__row:hover .issues__label { font-style: italic; } .issues__row:hover .issues__arrow { transform: translateX(8px); } .issues__list:hover .issues__row:not(:hover) { opacity: .38; } }

/* ---------- Product cards / grid ---------- */
.best { padding: clamp(80px, 11vw, 160px) var(--gutter); background: var(--cream); }
.best__head, .related__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: clamp(36px, 5vw, 70px); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 28px); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { display: flex; flex-direction: column; gap: 1rem; }
.card__media { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 4.6; border-radius: 999px 999px 14px 14px; background: var(--tint, var(--peach)); padding: 16% 14%; overflow: hidden; }
.card__media img { width: auto; height: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(70, 40, 30, .22)); transition: transform .9s var(--ease); }
.card__media:hover img { transform: scale(1.07) rotate(-2.5deg); }
.card__body { display: grid; gap: .25rem; }
.card__cat { font: 600 .62rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.card__name { font: 400 1.55rem/1.1 var(--serif); }
.card__name a:hover { color: var(--coral); }
.card__size { font-size: .8rem; color: var(--mute); }
.card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: .7rem; }
.price { font: 600 .95rem/1 var(--sans); }
.add { position: relative; overflow: hidden; border: 1px solid var(--ink); border-radius: 99px; padding: .7rem 1.2rem; font: 600 .68rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; transition: background .35s, color .35s; }
.add:hover { background: var(--ink); color: #fff; }
.add.is-done { background: var(--coral); border-color: var(--coral); color: #fff; }

/* ---------- Story / promise ---------- */
.story { display: grid; grid-template-columns: 1.2fr 1fr; min-height: 80svh; background: var(--ivory); }
.story__media { overflow: hidden; position: relative; min-height: 420px; }
.story__media img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; object-position: 80% 50%; }
.story__text { padding: clamp(40px, 6vw, 110px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1.6rem; }
.story__text p:not(.eyebrow) { max-width: 30em; color: var(--ink-2); }
.promise { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ink); color: #fff; }
.promise__item { padding: clamp(40px, 6vw, 90px) var(--gutter); border-right: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 1rem; align-content: start; }
.promise__item:last-child { border-right: 0; }
.promise__item span { font: 600 .7rem/1 var(--sans); letter-spacing: .22em; color: var(--rose); }
.promise__item h3 { font: 300 clamp(1.8rem, 2.6vw, 2.6rem)/1.05 var(--serif); }
.promise__item p { color: rgba(255, 255, 255, .7); max-width: 26em; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #fff; padding: clamp(70px, 9vw, 130px) var(--gutter) 28px; overflow: hidden; }
.promise + .footer { border-top: 1px solid rgba(255, 255, 255, .12); }
.footer__top { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 8vw, 140px); }
.footer .eyebrow { color: rgba(255, 255, 255, .6); }
.footer .display em { color: var(--rose); }
.newsletter { position: relative; display: flex; gap: 10px; margin-top: 2.2rem; flex-wrap: wrap; max-width: 520px; }
.newsletter input { flex: 1; min-width: 200px; background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .4); color: #fff; padding: .9rem 0; font: inherit; outline: none; border-radius: 0; }
.newsletter input:focus { border-color: var(--rose); }
.newsletter input::placeholder { color: rgba(255, 255, 255, .5); }
.newsletter__msg { flex-basis: 100%; min-height: 1.4em; font-size: .85rem; color: var(--rose); }
.newsletter__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.newsletter__legal { flex-basis: 100%; margin: 0; font-size: .7rem; line-height: 1.5; color: rgba(255, 255, 255, .45); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; align-content: start; }
.footer__cols h4 { font: 600 .68rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 1.2rem; }
.footer__cols a, .footer__cols p { display: block; font-size: .92rem; color: rgba(255, 255, 255, .85); margin-bottom: .6rem; }
.footer__cols a:hover { color: var(--rose); }
.footer__word { margin: clamp(60px, 9vw, 130px) 0 22px; color: var(--peach); overflow: hidden; }
.footer__bar { display: flex; justify-content: space-between; gap: 1rem; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .74rem; color: rgba(255, 255, 255, .55); }
.footer__ko { letter-spacing: .3em; font-family: 'Apple SD Gothic Neo', 'Malgun Gothic', var(--sans); }

/* ---------- Cart drawer ---------- */
.cart { position: fixed; inset: 0; z-index: 300; visibility: hidden; }
.cart.is-open { visibility: visible; }
.cart__scrim { position: absolute; inset: 0; background: rgba(26, 20, 18, .5); opacity: 0; transition: opacity .5s; backdrop-filter: blur(3px); }
.cart.is-open .cart__scrim { opacity: 1; }
.cart__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(100%, 460px); background: var(--ivory); display: flex; flex-direction: column; transform: translateX(102%); transition: transform .7s var(--ease); }
.cart.is-open .cart__panel { transform: none; }
.cart__head { display: flex; justify-content: space-between; align-items: center; padding: 26px 28px; border-bottom: 1px solid var(--line); }
.cart__head h2 { font: 300 2rem/1 var(--serif); }
.cart__close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); }
.cart__ship { padding: 18px 28px 6px; font-size: .82rem; color: var(--ink-2); }
.cart__bar { height: 3px; background: var(--line); border-radius: 9px; margin-top: 10px; overflow: hidden; }
.cart__bar span { display: block; height: 100%; width: 0; background: var(--coral); transition: width .6s var(--ease); }
.cart__list { flex: 1; overflow: auto; padding: 8px 28px; }
.cart__item { display: grid; grid-template-columns: 78px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart__thumb { width: 78px; aspect-ratio: 1; border-radius: 999px 999px 10px 10px; background: var(--tint); display: grid; place-items: center; padding: 8px; }
.cart__thumb img { height: 100%; width: auto; object-fit: contain; }
.cart__name { font: 400 1.2rem/1.1 var(--serif); }
.cart__meta { font-size: .78rem; color: var(--mute); }
.cart__qty { display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; border: 1px solid var(--line); border-radius: 99px; padding: 2px 6px; }
.cart__qty button { width: 24px; height: 24px; }
.cart__qty output { min-width: 16px; text-align: center; font-size: .85rem; }
.cart__line { text-align: right; font: 600 .9rem/1 var(--sans); }
.cart__remove { display: block; margin-top: 10px; font-size: .68rem; color: var(--mute); text-decoration: underline; margin-left: auto; }
.cart__empty { padding: 60px 28px; text-align: center; color: var(--mute); }
.cart__empty a { color: var(--coral); }
.cart__foot { padding: 22px 28px 28px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; }
.cart__total small { color: var(--mute); font-size: .7rem; margin-left: 6px; }
.cart__total strong { font: 400 2rem/1 var(--serif); }
.cart__note { font-size: .76rem; color: var(--mute); text-align: center; min-height: 1.2em; }
.cart.is-empty .cart__list, .cart.is-empty .cart__foot, .cart.is-empty .cart__ship { display: none; }
.cart:not(.is-empty) .cart__empty { display: none; }

/* ---------- Page heads / shop ---------- */
.pagehead { padding: calc(var(--header-h) + clamp(50px, 8vw, 120px)) var(--gutter) clamp(36px, 5vw, 70px); max-width: 1500px; }
.pagehead__lead { margin-top: 1.6rem; max-width: 36em; color: var(--ink-2); font-size: 1.05rem; }
.shop { padding: 0 var(--gutter) clamp(90px, 12vw, 170px); }
.shop__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: clamp(30px, 4vw, 56px); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: .65rem 1.15rem; border: 1px solid var(--line); border-radius: 99px; font: 600 .68rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; transition: all .3s; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.select select { appearance: none; -webkit-appearance: none; background: transparent url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231A1412' stroke-width='1.4'><path d='m1 1 5 5 5-5'/></svg>") no-repeat right 14px center; border: 1px solid var(--line); border-radius: 99px; padding: .65rem 2.4rem .65rem 1.15rem; font: 600 .68rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; color: var(--ink); }
.shop__count { margin-left: auto; font: 600 .68rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.shop__none { padding: 80px 0; text-align: center; color: var(--mute); }
.shop__none .link { margin-left: 8px; }
.card.is-hidden { display: none; }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 100svh; }
.pdp__stage { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; background: var(--tint); overflow: hidden; }
.pdp__stage--dark { color: #fff; }
.pdp__back { position: absolute; top: calc(var(--header-h) + 14px); left: var(--gutter); font: 600 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; z-index: 2; }
.pdp__halo { position: absolute; width: min(42vw, 560px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 70%); }
.pdp__img { position: relative; height: min(72svh, 680px); width: auto; max-width: 78%; object-fit: contain; filter: drop-shadow(0 40px 50px rgba(60, 30, 20, .3)); will-change: transform; }
.pdp__info { padding: calc(var(--header-h) + clamp(40px, 6vw, 90px)) var(--gutter) clamp(60px, 8vw, 120px) clamp(28px, 5vw, 80px); display: flex; flex-direction: column; gap: 1.4rem; }
.pdp__short { font-size: 1.1rem; color: var(--ink-2); max-width: 32em; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { padding: .5rem .95rem; border: 1px solid var(--line); border-radius: 99px; font: 600 .64rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; transition: all .3s; }
.tag:hover { background: var(--ink); color: #fff; }
.pdp__buy { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 1.6rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pdp__price { display: grid; margin-right: auto; }
.pdp__price strong { font: 400 2.6rem/1 var(--serif); }
.pdp__price small { color: var(--mute); font-size: .74rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; }
.qty button { width: 42px; height: 46px; font-size: 1.1rem; }
.qty output { min-width: 28px; text-align: center; font-weight: 600; }
.pdp__perks { display: grid; gap: .4rem; font-size: .84rem; color: var(--ink-2); }
.pdp__perks li::before { content: '✦'; color: var(--coral); margin-right: .7rem; font-size: .7rem; }
.accs { margin-top: .6rem; border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 1.3rem 0; cursor: pointer; font: 600 .74rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary i { position: relative; width: 14px; height: 14px; }
.acc summary i::before, .acc summary i::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
.acc summary i::after { transform: rotate(90deg); }
.acc[open] summary i::after { transform: rotate(0); }
.acc__body { padding: 0 0 1.6rem; color: var(--ink-2); display: grid; gap: .8rem; font-size: .95rem; }
.acc__body ul { display: grid; gap: .4rem; list-style: disc; padding-left: 1.1rem; }
.inci { font-size: .78rem; line-height: 1.7; color: var(--mute); }
.pdp__extra { padding: 0 var(--gutter); }
.pdp__scene { width: 100%; max-height: 80svh; object-fit: cover; border-radius: 999px 999px 0 0; }
.related { padding: clamp(80px, 11vw, 160px) var(--gutter); }

/* ---------- About ---------- */
.about-hero { padding: 0 var(--gutter); }
.about-hero__media { overflow: hidden; border-radius: 999px 999px 0 0 / 40% 40% 0 0; max-height: 78svh; }
.about-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); padding: clamp(80px, 11vw, 160px) var(--gutter); }
.about-grid__item { display: grid; gap: 1.2rem; align-content: start; border-top: 1px solid var(--line); padding-top: 1.6rem; }
.about-grid__no { font: 600 .7rem/1 var(--sans); letter-spacing: .22em; color: var(--coral); }
.about-grid__item p { color: var(--ink-2); }
.about-numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding: 0 var(--gutter) clamp(70px, 9vw, 130px); }
.about-cta { display: grid; justify-items: start; gap: 2rem; padding: clamp(80px, 11vw, 170px) var(--gutter); background: var(--cream); }
.notfound { min-height: 100svh; padding: calc(var(--header-h) + 60px) var(--gutter) 60px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1.6rem; }

[data-reveal] { will-change: transform, opacity; }

/* ---------- Checkout (/pedido) + thanks ---------- */
.pagehead--co { padding-bottom: clamp(20px, 3vw, 40px); }
.co { padding: 0 var(--gutter) clamp(90px, 12vw, 170px); }
.co__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.co__empty { display: grid; gap: 1.4rem; justify-items: start; padding: 40px 0; color: var(--ink-2); }
.co-form { display: grid; gap: 2.4rem; }
.co-form fieldset { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.co-form legend { font: 300 clamp(1.8rem, 2.6vw, 2.4rem)/1.1 var(--serif); margin-bottom: 1.2rem; padding: 0; grid-column: 1 / -1; float: left; width: 100%; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field > span { font: 600 .66rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.field em { font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 400; }
.field input { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: .8rem 0; font: 400 1.05rem/1.3 var(--sans); color: var(--ink); border-radius: 0; outline: none; transition: border-color .3s; }
.field input:focus { border-color: var(--ink); }
.field input::placeholder { color: rgba(122, 107, 98, .55); }
.co-zone { grid-column: 1 / -1; min-height: 1.4em; font-size: .88rem; color: var(--ink-2); }
.co-zone.is-ok b { color: var(--ink); }
.co-zone.is-ok span { color: var(--mute); font-size: .8rem; }
.co-zone.is-error { color: var(--coral); }
.co-company { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.co-company summary { cursor: pointer; font: 600 .74rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; list-style: none; }
.co-company summary::-webkit-details-marker { display: none; }
.co-company .field { margin-top: 1rem; }
.co-error { color: var(--coral); font-weight: 600; font-size: .9rem; }
.co-secure, .co-privacy { font-size: .78rem; line-height: 1.6; color: var(--mute); }
.co-secure { text-align: center; }
.co-summary { position: sticky; top: calc(var(--header-h) + 20px); background: var(--cream); border-radius: 28px; padding: clamp(24px, 3vw, 40px); display: grid; gap: 1.4rem; }
.co-summary h2 { font: 300 2rem/1 var(--serif); }
.co-items { display: grid; gap: 14px; }
.co-items li { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; }
.co-items__img { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 999px 999px 12px 12px; padding: 6px; }
.co-items__img img { height: 100%; width: auto; object-fit: contain; }
.co-items__img b { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 99px; background: var(--ink); color: #fff; font: 700 .66rem/20px var(--sans); text-align: center; }
.co-items__name { font: 400 1.15rem/1.15 var(--serif); }
.co-items__name small { display: block; font: 400 .74rem/1.4 var(--sans); color: var(--mute); }
.co-items__price { font: 600 .9rem/1 var(--sans); }
.co-totals { margin: 0; display: grid; gap: 10px; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.co-totals div { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; }
.co-totals dt { color: var(--ink-2); }
.co-totals dd { margin: 0; font-weight: 600; text-align: right; }
.co-totals__tax { font-size: .8rem !important; color: var(--mute); }
.co-totals__total { padding-top: 12px; border-top: 1px solid var(--line); align-items: baseline; }
.co-totals__total dt { font: 600 .74rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.co-totals__total dd { font: 400 2.2rem/1 var(--serif); }
.co-hint { font-size: .8rem; color: var(--ink-2); }
.thanks { min-height: 100svh; padding: calc(var(--header-h) + 60px) var(--gutter) 60px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1.6rem; }
@media (max-width: 900px), (max-height: 520px) {
  .hero { --ch: clamp(150px, 23svh, 205px); --bh: 92px; }
  .deck { position: relative; bottom: auto; width: min(62vw, 280px); margin: calc(var(--ch) * 1.34) auto 0; }
  .co__grid { grid-template-columns: 1fr; }
  .co-summary { position: static; order: -1; }
  .co-form fieldset { grid-template-columns: 1fr; }
}

/* =========================================================
   Motion layers (v2)
   ========================================================= */
/* scroll progress + page curtain */
.header__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--coral); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.curtain { position: fixed; inset: 0; z-index: 600; background: var(--ink); transform: translateY(-101%); pointer-events: none; display: grid; place-items: center; color: var(--peach); }
.curtain .logo__mark { width: min(46vw, 300px); opacity: .9; }
.k-nav .curtain { transform: none; }
html.k-nav body { overflow: hidden; }

/* split headings */
.mw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.mwi { display: inline-block; will-change: transform; }

/* particles (hero + ritual) */
.ritual__fx { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.ritual__fx { z-index: -1; }
.fx-drop { position: absolute; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: radial-gradient(circle at 30% 28%, rgba(255, 255, 255, .95), rgba(255, 214, 198, .55) 45%, rgba(240, 160, 140, .18)); box-shadow: inset -2px -3px 6px rgba(200, 110, 90, .25); }
.fx-star { position: absolute; width: 16px; height: 16px; color: var(--coral); }
.fx-star svg { width: 100%; height: 100%; display: block; fill: currentColor; }
.ritual .fx-star { color: var(--rose); }


/* giant strip */
.strip { overflow: hidden; background: var(--ivory); padding: clamp(40px, 6vw, 90px) 0; display: grid; gap: clamp(8px, 1.4vw, 20px); }
.strip__row { overflow: hidden; }
.strip__track { display: flex; width: max-content; will-change: transform; }
.strip__group { display: flex; align-items: center; gap: clamp(20px, 3vw, 54px); padding-right: clamp(20px, 3vw, 54px); white-space: nowrap; }
.strip__row--a .strip__group { font: 300 clamp(4.4rem, 12vw, 13rem)/1 var(--serif); letter-spacing: -.03em; }
.strip__row--a span { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.strip__row--b .strip__group { font: italic 300 clamp(3rem, 8vw, 8.4rem)/1.05 var(--serif); color: var(--coral); }
.strip__group i { font-style: normal; font-size: .38em; color: var(--coral); }
.strip__row--b i { color: var(--ink); }

/* stacked routine cards */
.stack { background: var(--ivory); padding: clamp(90px, 12vw, 180px) var(--gutter) clamp(60px, 8vw, 120px); }
.stack__intro { margin-bottom: clamp(36px, 5vw, 70px); max-width: 1500px; }
.stack__cards { position: relative; }
.scard { position: sticky; top: calc(var(--header-h) + var(--i, 0) * 14px); display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: min(72svh, 640px); margin-bottom: 4vh; padding: clamp(28px, 4vw, 64px) clamp(28px, 5vw, 90px); border-radius: 32px; background: var(--tint); overflow: hidden; transform-origin: 50% 0; box-shadow: 0 40px 80px -50px rgba(60, 30, 20, .5); will-change: transform; }
.scard::after { content: ''; position: absolute; inset: 0; background: #1A1412; opacity: var(--dim, 0); pointer-events: none; border-radius: inherit; }
.scard--dark { color: #fff; }
.scard__text { display: grid; gap: 1.1rem; justify-items: start; z-index: 1; }
.scard__no { font: 600 .72rem/1 var(--sans); letter-spacing: .24em; opacity: .65; }
.scard h3 { font: 300 clamp(3.4rem, 8vw, 8rem)/.9 var(--serif); letter-spacing: -.03em; }
.scard p { max-width: 28em; opacity: .85; }
.scard__meta { display: flex; gap: 8px; flex-wrap: wrap; }
.scard__meta li { padding: .5rem .9rem; border: 1px solid currentColor; border-radius: 99px; font: 600 .62rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.scard__visual { position: relative; display: grid; place-items: center; height: min(60svh, 520px); }
.scard__ring { position: absolute; width: min(36vw, 480px); aspect-ratio: 1; border-radius: 50%; border: 1px solid currentColor; opacity: .25; }
.scard__visual img { position: relative; height: 100%; width: auto; filter: drop-shadow(0 34px 40px rgba(60, 30, 20, .3)); will-change: transform; }

/* card tilt */
.card__media, .scard__visual { transform-style: preserve-3d; }

@media (max-width: 900px), (max-height: 520px) {
  .scard { grid-template-columns: 1fr; min-height: 0; padding: 28px 22px 10px; margin-bottom: 14px; gap: 6px; top: calc(var(--header-h) + var(--i, 0) * 10px); }
  .scard__visual { height: 36svh; order: -1; }
  .scard__visual img { height: 36svh; width: auto; max-width: 100%; object-fit: contain; }
  .scard__ring { width: 70vw; }
  .scard h3 { font-size: 3.4rem; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .ritual__pin { grid-template-columns: 1fr 1fr; }
  .ritual__stage { grid-column: 2; grid-row: 2 / span 2; }
  .ritual__stats { grid-column: 1; grid-row: 3; align-self: start; grid-auto-flow: column; gap: 1.4rem; }
  .ritual__cta, .ritual__foot { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px), (max-height: 520px) {
  :root { --header-h: 64px; }
  .header { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .burger { display: block; }
  .header .logo__mark { width: 112px; }
  .hero { padding-top: calc(var(--header-h) + 20px); padding-bottom: 28px; justify-content: flex-start; align-items: center; gap: 0; text-align: center; }
  .hero__kicker { justify-content: center; font-size: .66rem; letter-spacing: .2em; }
  .hero__title { position: relative; top: auto; left: auto; right: auto; transform: none; margin: 1rem 0 0; flex-wrap: wrap; justify-content: center; text-align: center; gap: 0 .22em; font-size: clamp(3.5rem, 17.5vw, 5.6rem); line-height: .95; }
  .hero__gap { display: none; }
  .hero__bottom { flex-direction: column; align-items: center; gap: 1.1rem; width: 100%; margin-top: 1.4rem; }
  .hero__lead { max-width: 34ch; font-size: .92rem; }
  .hero__cta { flex-direction: column; width: 100%; max-width: 340px; gap: 10px; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .hero__scroll { display: none; }
  .hero__petals--front { display: none; }
  .deck__card:nth-child(1), .deck__card:nth-child(7) { display: none; }   /* 5 cards fit a phone; the 7-card fan is for wide screens */
  /* collagen ritual on phones: compact. product first, steps as a list, stats in one row */
  .ritual__pin { display: flex; flex-direction: column; min-height: auto; padding: calc(var(--header-h) + 30px) var(--gutter) 56px; color: #fff; }
  .ritual__bg { opacity: 1 !important; }
  .ritual__fx { display: none; }
  .ritual__head { order: 1; }
  .ritual__head .display { font-size: clamp(2rem, 9vw, 2.8rem); max-width: none; }
  .ritual__stage { order: 2; min-height: 0; height: min(68vw, 310px); margin: 18px 0 14px; }
  .ritual__disc { width: min(54vw, 250px); }
  .ritual__ring--1 { width: min(74vw, 330px); } .ritual__ring--2 { display: none; }
  .ritual__tube { height: min(62vw, 290px); width: auto; max-width: 84vw; object-fit: contain; }
  .ritual__steps { order: 3; min-height: 0; display: grid; gap: 0; margin-top: 6px; border-top: 1px solid rgba(255, 255, 255, .14); }
  .rstep { position: relative; display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .rstep__no { grid-row: 1 / span 2; font-size: 2.1rem; line-height: 1; }
  .rstep h3 { font-size: 1.35rem; margin: 0 0 .25rem; }
  .rstep p { font-size: .92rem; line-height: 1.5; margin: 0; max-width: none; }
  .ritual__stats { order: 4; grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); margin: 26px 0 8px; gap: 10px; align-items: start; }
  .rstat { padding-left: .75rem; }
  .rstat__n { font-size: 2.3rem; }
  .rstat__l { font-size: .56rem; letter-spacing: .1em; margin-top: .3rem; }
  .ritual__cta { order: 5; display: flex; width: 100%; justify-content: center; margin-top: 20px; }
  .ritual__foot { order: 6; display: block; margin-top: 1rem; }
  .ritual__progress { display: none; }
  .shelf__pin { min-height: auto; padding-bottom: 60px; }
  .shelf__head { flex-direction: column; align-items: flex-start; }
  .shelf__viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .shelf__viewport::-webkit-scrollbar { display: none; }
  .shelf__card { scroll-snap-align: center; width: 72vw; }
  .shelf__progress { display: none; }
  .issues__row { grid-template-columns: 40px 1fr 30px; } .issues__count { display: none; }
  .story, .footer__top, .pdp { grid-template-columns: 1fr; }
  .story__media { min-height: 320px; }
  .promise, .about-grid, .about-numbers, .manifesto__stats { grid-template-columns: 1fr; }
  .promise__item { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .manifesto__stats { gap: 1.6rem; }
  .pdp__stage { position: relative; height: 70svh; }
  .pdp__info { padding-left: var(--gutter); }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .shop__count { margin-left: 0; width: 100%; }
}
@media (max-width: 560px) {
  .grid, .grid--4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card__name { font-size: 1.2rem; }
  .card__foot { flex-direction: column; align-items: flex-start; gap: 10px; }
  .add { width: 100%; }
  .best__head, .related__head { flex-direction: column; align-items: flex-start; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__bar { flex-direction: column; }
  .cart__item { grid-template-columns: 64px 1fr auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .grain { display: none; }
  .manifesto__text .word { opacity: 1 !important; }
}

/* tablets in portrait (600–900px): same phone layout, scaled up and vertically centred */
@media (min-width: 600px) and (max-width: 900px) {
  .hero { --ch: clamp(230px, 27svh, 330px); --bh: 130px; justify-content: center; }
  .hero__title { font-size: clamp(4.6rem, 12.5vw, 7.4rem); }
  .deck { width: min(46vw, 360px); }
  .hero__lead { font-size: 1.05rem; max-width: 40ch; }
  .hero__cta { max-width: 420px; }
}
/* phones: a lighter hero. the claim is the only eyebrow, no lead paragraph, one button */
@media (max-width: 599px), (max-height: 520px) {
  .hero { justify-content: center; }
  .hero__kicker, .hero__lead, .hero__cta .btn--ghost, .deck__sub { display: none; }
  .hero__claim { font-size: .7rem; letter-spacing: .14em; }
}

/* ---------- Dónde comprar (mapa de farmacias) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pagehead--where { padding-bottom: clamp(20px, 3vw, 40px); }
.where { padding: 0 var(--gutter) clamp(60px, 8vw, 120px); max-width: 1500px; }
.where__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 18px; }
.where__search { display: flex; gap: 10px; flex: 1 1 380px; max-width: 560px; }
.where__search input { flex: 1; min-width: 0; font: inherit; padding: 14px 20px; border: 1px solid var(--line); border-radius: 999px; background: #fff8; color: var(--ink); }
.where__search input:focus { outline: 2px solid var(--coral); outline-offset: 2px; }
.where__locate { font: inherit; font-weight: 600; padding: 13px 22px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; }
.where__locate:hover { background: var(--ink); color: var(--ivory); }
.where__count { margin: 0; color: var(--mute); font-size: .92rem; }
.where__body { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: 20px; height: clamp(460px, 72svh, 720px); }
.where__map { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--cream); z-index: 0; }
.where__map .leaflet-tile-pane { filter: saturate(.65) sepia(.18) brightness(1.03); }
.where__list { list-style: none; margin: 0; padding: 0; overflow-y: auto; border: 1px solid var(--line); border-radius: 22px; background: #fff6; overscroll-behavior: contain; }
.where__list li + li { border-top: 1px solid var(--line); }
.where__list button { display: block; width: 100%; text-align: left; font: inherit; padding: 14px 18px; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.where__list button:hover, .where__list button:focus-visible { background: var(--cream); }
.where__list strong { display: block; font-weight: 600; }
.where__list span { display: block; color: var(--mute); font-size: .88rem; }
.where__pin i { display: block; width: 22px; height: 22px; border-radius: 50%; background: var(--coral); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(26, 20, 18, .35); }
.where__pin:hover i, .where__pin:focus i { transform: scale(1.2); }
.where .leaflet-popup-content { font: 400 .92rem/1.5 var(--sans); color: var(--ink); }
.where .leaflet-popup-content a { color: var(--coral); }
.where__note { margin-top: 18px; color: var(--mute); font-size: .88rem; max-width: 60em; }
.where__cta { margin-top: 18px; }
@media (max-width: 900px), (max-height: 520px) {
  .where__body { grid-template-columns: 1fr; height: auto; }
  .where__map { height: 56svh; min-height: 320px; }
  .where__list { max-height: 44svh; }
  .where__search { max-width: none; }
}

/* ---------- Páginas legales ---------- */
.pagehead--legal { padding-bottom: clamp(16px, 2.5vw, 30px); }
.pagehead--legal .display--xl { font-size: clamp(2.4rem, 7vw, 5.5rem); }
.legal { padding: 0 var(--gutter) clamp(70px, 9vw, 130px); max-width: 920px; color: var(--ink-2); }
.legal h2 { font: 500 clamp(1.3rem, 2.2vw, 1.7rem)/1.25 var(--serif); color: var(--ink); margin: 2.2em 0 .5em; }
.legal p, .legal li { font-size: .98rem; line-height: 1.7; }
.legal ul { padding-left: 1.2em; }
.legal a { color: var(--coral); text-underline-offset: 3px; }
.legal code { font-size: .88em; background: var(--cream); padding: 1px 6px; border-radius: 6px; }
.legal__date { margin-top: 2.5em; color: var(--mute); font-size: .86rem; }
.legal__table { overflow-x: auto; margin: 1em 0; border: 1px solid var(--line); border-radius: 14px; }
.legal__table table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .9rem; }
.legal__table th, .legal__table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.legal__table th { background: var(--cream); font-weight: 600; color: var(--ink); }
.legal__table tr:last-child td { border-bottom: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.footer__legal a { text-decoration: underline; text-underline-offset: 3px; opacity: .85; }
.footer__legal a:hover { opacity: 1; }
.footer__company { margin: 0 0 18px; font-size: .72rem; line-height: 1.6; color: rgba(255, 255, 255, .45); }
.footer__company a { text-decoration: underline; text-underline-offset: 3px; }
.footer__company a:hover { color: var(--rose); }
