/* Dewlune — concept skincare. Cream, blush and lilac, a thin serif, a liquid glass drop. */
:root {
  --cream: #F5EFE9;
  --paper: #FBF8F5;
  --blush: #EFD6CB;
  --peach: #E9B79C;
  --lilac: #D8D0EA;
  --sage: #CBD6C3;
  --ink: #2A2421;
  --ink-2: #3A322E;
  --muted: #6C605A;
  --line: rgba(42, 36, 33, .14);
  --amber: #B8692E;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter Tight', system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --pad: clamp(16px, 4vw, 56px);
}
*, *::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: clip; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.6; overflow-x: clip; -webkit-font-smoothing: antialiased; }
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure, dl, dd, ol { margin: 0; }
ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; text-transform: inherit; letter-spacing: inherit; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.caps { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.muted { color: var(--muted); }
em { font-style: italic; }
.h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(42px, 6.4vw, 96px); line-height: .98; letter-spacing: -0.015em; }
.label { display: flex; gap: 18px; align-items: center; margin-bottom: clamp(24px, 4vw, 44px); color: var(--muted); }
.label span { color: var(--ink); }
.label::after { content: ''; flex: 1; height: 1px; background: var(--line); transform-origin: left; }
.label--c { justify-content: center; }
.label--c::after { display: none; }
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 28px; border-radius: 999px; background: var(--ink); color: var(--cream); font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; overflow: hidden; isolation: isolate; transition: color .4s; }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, var(--peach), var(--lilac)); transform: translateY(101%); border-radius: inherit; transition: transform .55s var(--ease); }
.btn:hover { color: var(--ink); }
.btn:hover::before { transform: none; }
.btn span { transition: transform .4s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn--full { width: 100%; }
.link { position: relative; font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; padding: 6px 0; }
.link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform .5s var(--ease); }
.link:hover::after { transform: scaleX(0); }

/* Cursor */
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor input { cursor: text !important; }
.cursor { position: fixed; top: 0; left: 0; z-index: 200; pointer-events: none; mix-blend-mode: difference; color: #fff; opacity: 0; transition: opacity .3s; }
.cursor.is-on { opacity: 1; }
.cursor__ring { position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; border: 1px solid #fff; border-radius: 50%; transition: transform .5s var(--ease); }
.cursor__ring::after { content: ''; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px; border-radius: 50%; background: #fff; }
.cursor__label { position: absolute; left: 28px; top: -6px; white-space: nowrap; opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .4s var(--ease); }
.cursor.has-label .cursor__ring { transform: scale(1.7); }
.cursor.has-label .cursor__label { opacity: 1; transform: none; }

/* Loader */
.loader { position: fixed; inset: 0; z-index: 150; display: grid; place-content: center; justify-items: center; background: var(--cream); clip-path: inset(0); transition: clip-path 1.1s var(--ease-io); animation: safe 0s 6s forwards; }
@keyframes safe { to { visibility: hidden; } }
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader__word { overflow: hidden; padding: 0 .1em; }
.loader__word span { display: block; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(64px, 13vw, 200px); line-height: 1.1; transform: translateY(105%); transition: transform 1.3s var(--ease); }
.loader.is-on .loader__word span { transform: none; }
.loader__drop { width: 1px; height: 64px; margin-top: 18px; background: linear-gradient(var(--ink), transparent); transform: scaleY(0); transform-origin: top; transition: transform 1.4s .3s var(--ease); }
.loader.is-on .loader__drop { transform: none; }
.loader__bar { position: absolute; left: var(--pad); right: var(--pad); bottom: 32px; display: flex; justify-content: space-between; color: var(--muted); }

/* Header */
.top { position: fixed; inset: 0 0 auto; z-index: 60; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 72px; padding: 0 var(--pad); transition: transform .6s var(--ease), background-color .4s, box-shadow .4s; }
.top.is-solid { background: rgba(245, 239, 233, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.top.is-hidden { transform: translateY(-100%); }
.top__nav { display: flex; gap: 28px; }
.top__nav a, .top__right button { position: relative; padding: 6px 0; }
.top__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); }
.top__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.top__menu { display: none; align-items: center; gap: 10px; justify-self: start; }
.top__menu i { display: grid; gap: 5px; width: 20px; }
.top__menu i::before, .top__menu i::after { content: ''; height: 1px; background: currentColor; }
.top__logo { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 30px; letter-spacing: -0.01em; }
.top__right { display: flex; justify-content: flex-end; align-items: center; gap: 28px; }
.top__clock { color: var(--muted); }
.top__clock b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }

.menu { position: fixed; inset: 0; z-index: 70; display: grid; align-content: center; gap: 40px; padding: 0 var(--pad); background: var(--ink); color: var(--cream); clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease-io); }
.menu.is-open { clip-path: inset(0); }
.menu__close { position: absolute; top: 26px; right: var(--pad); }
.menu ol { display: grid; gap: 4px; }
.menu a { display: flex; align-items: baseline; gap: 16px; font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 9vw, 92px); line-height: 1.08; }
.menu a .caps { color: var(--peach); }
.menu li { opacity: 0; transform: translateY(30px); transition: opacity .6s, transform .8s var(--ease); }
.menu.is-open li { opacity: 1; transform: none; }
.menu.is-open li:nth-child(2) { transition-delay: .06s; } .menu.is-open li:nth-child(3) { transition-delay: .12s; } .menu.is-open li:nth-child(4) { transition-delay: .18s; } .menu.is-open li:nth-child(5) { transition-delay: .24s; }
.menu__foot { color: #A99C94; }

/* Reveal helpers */
[data-in] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.is-ready [data-in] { opacity: 1; transform: none; }
.is-ready [data-in="2"] { transition-delay: .12s; } .is-ready [data-in="3"] { transition-delay: .26s; } .is-ready [data-in="4"] { transition-delay: .4s; }
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.sw > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.is-in .sw > span { transform: none; }

/* Hero */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; background: var(--cream); }
.hero__gl { position: absolute; inset: 0; }
.hero__gl canvas { display: block; width: 100%; height: 100%; }
.hero__word { position: absolute; inset: 0; display: grid; place-items: center; padding-bottom: 12vh; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 21vw; line-height: 1; color: var(--ink); background: radial-gradient(60% 50% at 30% 30%, var(--blush), transparent), radial-gradient(50% 50% at 80% 60%, var(--lilac), transparent); transition: opacity 1s; }
.hero.is-3d .hero__word { opacity: 0; }
.hero__ui { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(28px, 6vh, 64px); max-width: 780px; transform: translateY(var(--hy, 0)); opacity: var(--ho, 1); }
.hero__eyebrow { margin-bottom: 18px; color: var(--muted); }
.hero__title { font-family: var(--serif); font-weight: 300; font-size: clamp(46px, 6.2vw, 104px); line-height: .95; letter-spacing: -0.02em; }
.hero__title span { display: block; }
.hero__row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 22px 40px; margin-top: 26px; }
.hero__lead { max-width: 38ch; color: var(--ink-2); }
.hero__cta { display: flex; align-items: center; gap: 26px; }
.hero__card { position: absolute; right: var(--pad); bottom: clamp(28px, 6vh, 64px); display: flex; gap: 16px; align-items: center; width: 290px; padding: 12px; border-radius: 20px; background: rgba(251, 248, 245, .6); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 20px 50px -24px rgba(42, 36, 33, .35); transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease); opacity: 0; }
.is-ready .hero__card { animation: cardIn 1.3s .45s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; translate: 0 36px; } to { opacity: 1; translate: 0 0; } }
.hero__card img { width: 76px; height: 100px; object-fit: cover; border-radius: 40px 40px 10px 10px; }
.hero__card div { flex: 1; }
.hero__card .caps { color: var(--muted); }
.hero__card h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; }
.hero__card-row { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; font-size: 13px; }
.hero__card-row button { padding: 6px 12px; border-radius: 999px; background: var(--ink); color: var(--cream); font-size: 12px; }
.hero__down { position: absolute; right: var(--pad); top: 50%; display: flex; align-items: center; gap: 12px; writing-mode: vertical-rl; transform: translateY(-50%); color: var(--muted); opacity: 0; transition: opacity 1s 1s; }
.is-ready .hero__down { opacity: 1; }
.hero__down i { width: 1px; height: 28px; background: currentColor; transform-origin: top; animation: drip 2.2s var(--ease-io) infinite; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Ribbon */
.ribbon { overflow: hidden; padding: 22px 0; border-block: 1px solid var(--line); background: var(--paper); }
.ribbon__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: ribbon 36s linear infinite; }
.ribbon span { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 3vw, 40px); white-space: nowrap; }
.ribbon i { width: 10px; height: 14px; background: var(--peach); clip-path: path('M5 0C5 0 0 7 0 9.5a5 5 0 0 0 10 0C10 7 5 0 5 0z'); }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* Statement */
.statement { padding: clamp(100px, 16vw, 220px) var(--pad); }
.statement__text { max-width: 1180px; font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 4.6vw, 70px); line-height: 1.1; letter-spacing: -0.01em; }
.mw { opacity: calc(.16 + var(--on, 0) * .84); transition: opacity .2s; }

/* Ritual */
.ritual { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; grid-template-rows: auto 1fr auto; gap: 0 clamp(24px, 5vw, 80px); min-height: 100svh; padding: clamp(80px, 9vw, 120px) var(--pad) 48px; overflow: hidden; }
.ritual__bg { position: absolute; inset: -20%; z-index: -1; background: radial-gradient(40% 40% at 25% 40%, var(--blush), transparent 70%), radial-gradient(35% 45% at 75% 60%, var(--lilac), transparent 70%), radial-gradient(30% 30% at 60% 20%, #F8E6DA, transparent 70%), var(--cream); animation: silk 18s ease-in-out infinite alternate; }
@keyframes silk { 0% { transform: translate3d(0, 0, 0) rotate(0); } 50% { transform: translate3d(4%, -3%, 0) rotate(6deg); } 100% { transform: translate3d(-4%, 3%, 0) rotate(-4deg); } }
.ritual__head { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; }
.ritual__head .label { flex: 1; min-width: 240px; margin: 0; }
.chapters { display: flex; gap: 6px; }
.chapters button { min-width: 46px; height: 46px; padding: 0 14px; border-radius: 999px; font-family: var(--serif); font-size: 20px; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .4s, color .4s; }
.chapters button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.ritual__stage { position: relative; display: grid; place-items: center; min-height: 64svh; perspective: 1000px; }
.arch { position: absolute; overflow: hidden; border-radius: 999px 999px 22px 22px; background: var(--paper); box-shadow: 0 40px 80px -40px rgba(42, 36, 33, .45); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .8s var(--ease); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch--main { position: relative; width: min(30vw, 46svh, 400px); aspect-ratio: 3 / 4.2; z-index: 2; }
.arch--a { width: min(13vw, 190px); aspect-ratio: 3 / 4; left: 2%; top: 8%; animation: float 7s ease-in-out infinite; }
.arch--b { width: min(14vw, 210px); aspect-ratio: 3 / 4; right: 2%; bottom: 4%; z-index: 3; animation: float 8s 1s ease-in-out infinite reverse; }
@keyframes float { 50% { translate: 0 -16px; } }
.ritual__stage > * { filter: blur(0); opacity: 1; scale: 1; transition: filter .6s var(--ease), opacity .6s var(--ease), scale .9s var(--ease), transform .8s var(--ease); }
.ritual__stage.out > * { filter: blur(14px); opacity: 0; scale: .94; }
.ritual__stage.out .arch--a { scale: .8; }
.ritual__text { align-self: center; display: grid; gap: 16px; }
.ritual__text > * { transition: opacity .6s var(--ease), transform .8s var(--ease), filter .6s; }
.ritual__text.out > * { opacity: 0; transform: translateY(18px); filter: blur(8px); }
.ritual__text.out > :nth-child(2) { transition-delay: .04s; }
.ritual__step { color: var(--muted); }
.ritual__name { font-family: var(--serif); font-weight: 300; font-size: clamp(64px, 9vw, 150px); line-height: .9; letter-spacing: -0.03em; }
.ritual__tag { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.2; max-width: 22ch; }
.ritual__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 12px; }
.ritual__buy > span { color: var(--muted); }
.ritual__nav { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; margin-top: 24px; }
.ritual__bar { flex: 1; height: 1px; background: var(--line); overflow: hidden; }
.ritual__bar i { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.ritual__bar i.run { animation: bar 7s linear forwards; }
@keyframes bar { to { transform: scaleX(1); } }

/* Science */
.science { padding: clamp(100px, 12vw, 180px) var(--pad); background: var(--paper); }
.science__head { display: grid; grid-template-columns: 1fr; max-width: 1100px; }
.science__lead { max-width: 44ch; margin-top: 22px; font-size: 18px; }
.ingredients { margin-top: clamp(48px, 7vw, 96px); border-top: 1px solid var(--line); }
.ing { display: grid; grid-template-columns: 130px 1fr auto minmax(180px, 280px); gap: clamp(16px, 3vw, 48px); align-items: center; padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); }
.ing__mol { width: 120px; height: 120px; overflow: visible; }
.ing__mol path { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--d, 0)); }
.ing__mol circle { fill: var(--peach); transform-box: fill-box; transform-origin: center; transform: scale(clamp(0, calc(var(--d, 0) * 3 - 2), 1)); }
.ing__n { color: var(--muted); margin-bottom: 10px; }
.ing h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.02; margin-bottom: 10px; }
.ing__body .muted { max-width: 46ch; }
.ing__pct { font-family: var(--serif); font-weight: 300; font-size: clamp(56px, 7vw, 110px); line-height: 1; font-variant-numeric: tabular-nums; }
.ing__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; }
.ing__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.2 - var(--d, 0) * .2)); }
.science__note { margin-top: 28px; }

/* Feature: photo opens to the full screen */
.feature { position: relative; height: 220svh; background: var(--paper); }
.feature__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.feature__img { position: absolute; inset: 0; clip-path: inset(calc((1 - var(--f, 0)) * 20%) calc((1 - var(--f, 0)) * 32%) round calc((1 - var(--f, 0)) * 400px) calc((1 - var(--f, 0)) * 400px) 24px 24px); }
.feature__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(calc(1.18 - var(--f, 0) * .18)); }
.feature__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(42, 36, 33, .55)); opacity: var(--t, 0); }
.feature__text { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(32px, 8vh, 80px); color: var(--cream); opacity: var(--t, 0); transform: translateY(calc((1 - var(--t, 0)) * 40px)); }
.feature__big { font-family: var(--serif); font-weight: 300; font-size: clamp(46px, 7.4vw, 124px); line-height: .95; letter-spacing: -0.02em; margin-top: 12px; }

/* Shop */
.shop { padding: clamp(100px, 12vw, 170px) var(--pad); }
.shop__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(32px, 5vw, 64px); }
.shop__head > div { flex: 1; min-width: 280px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters button { padding: 10px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s, color .3s; }
.filters button[aria-selected="true"] { background: var(--ink); color: var(--cream); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 28px); }
.card { opacity: 0; transform: translateY(50px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--i) * 90ms); }
.card.is-in { opacity: 1; transform: none; }
.card.is-hidden { display: none; }
.card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 18px; background: var(--blush); transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__media img { transform: scale(1.07); }
.card__media::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .35), transparent 45%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.card:hover .card__media::after { opacity: 1; }
.card__tag { position: absolute; left: 12px; top: 12px; padding: 6px 10px; border-radius: 999px; background: rgba(251, 248, 245, .8); backdrop-filter: blur(8px); }
.card__quick { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; min-height: 46px; border-radius: 999px; background: var(--ink); color: var(--cream); font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; transform: translateY(140%); transition: transform .6s var(--ease); }
.card:hover .card__quick, .card__quick:focus-visible { transform: none; }
.card__info { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; }
.card__name { font-family: var(--serif); font-size: 24px; line-height: 1.1; }
.card__name small { display: block; margin-top: 4px; font-family: var(--sans); font-size: 13px; color: var(--muted); }
.card__price { font-variant-numeric: tabular-nums; }

/* Finder */
.finder { position: relative; padding: clamp(100px, 12vw, 170px) var(--pad); background: var(--ink); color: var(--cream); overflow: hidden; }
.finder__glow { position: absolute; inset: -30% -10% auto; height: 120%; background: radial-gradient(30% 35% at 15% 25%, rgba(240, 170, 150, .28), transparent 70%), radial-gradient(35% 40% at 85% 65%, rgba(170, 150, 235, .3), transparent 70%); mix-blend-mode: screen; animation: silk 16s ease-in-out infinite alternate; pointer-events: none; }
.finder .label, .finder .label span { color: #B9ACA4; }
.finder .label span { color: var(--cream); }
.finder .label::after { background: rgba(245, 239, 233, .18); }
.finder__head, .finder__box { position: relative; }
.finder__box { display: grid; grid-template-columns: 1fr 1.1fr; align-items: start; gap: clamp(32px, 6vw, 96px); margin-top: clamp(40px, 6vw, 80px); }
.finder__q + .finder__q { margin-top: 36px; }
.finder__q > p { color: #B9ACA4; margin-bottom: 14px; }
.finder__q b { color: var(--peach); font-weight: 500; margin-right: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { min-height: 48px; padding: 0 20px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(245, 239, 233, .25); font-size: 15px; transition: background-color .35s, color .35s, box-shadow .35s; }
.chips button:hover { box-shadow: inset 0 0 0 1px var(--cream); }
.chips button[aria-pressed="true"] { background: var(--cream); color: var(--ink); }
.finder__result { padding: clamp(20px, 3vw, 36px); border-radius: 24px; background: rgba(245, 239, 233, .06); box-shadow: inset 0 0 0 1px rgba(245, 239, 233, .14); backdrop-filter: blur(10px); }
.finder__for { color: #B9ACA4; margin-bottom: 18px; }
.routine { display: grid; gap: 10px; }
.routine li { display: grid; grid-template-columns: 26px 64px 1fr auto; gap: 16px; align-items: center; padding: 10px; border-radius: 16px; background: rgba(245, 239, 233, .06); }
.routine li > span:first-child { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--peach); text-align: center; }
.routine img { width: 64px; height: 80px; object-fit: cover; border-radius: 32px 32px 8px 8px; }
.routine b { display: block; font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.1; }
.routine small { color: #B9ACA4; font-size: 13px; }
.finder__total { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(245, 239, 233, .14); }
.finder__total p { display: grid; }
.finder__total p .caps { color: #B9ACA4; }
.finder__total b { font-family: var(--serif); font-weight: 300; font-size: 48px; line-height: 1; font-variant-numeric: tabular-nums; }
.finder .btn { background: var(--cream); color: var(--ink); }

/* Refill x-ray */
.refill { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: center; padding: clamp(100px, 12vw, 170px) var(--pad); background: linear-gradient(180deg, var(--cream), #F1E6DF); }
.refill__text .muted { max-width: 42ch; margin-top: 22px; font-size: 18px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.stats dt { color: var(--muted); }
.stats dd { font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 5vw, 72px); line-height: 1.05; font-variant-numeric: tabular-nums; }
.refill__text .refill__note { margin-top: 18px; font-size: 11px; }
.xray { position: relative; display: grid; place-items: center; }
.xray__svg { width: min(100%, 440px); overflow: visible; }
.xray__grid path { fill: none; stroke: var(--line); stroke-width: .6; stroke-dasharray: 2 4; }
.xray__lines path { fill: none; stroke: var(--ink); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--d, 0)); }
.xray__liquid { fill: var(--amber); opacity: .3; transform: translateY(calc((1 - var(--l, 0)) * 240px)); }
.xray__tags text { fill: var(--muted); font-size: 10px; letter-spacing: .14em; opacity: clamp(0, calc(var(--d, 0) * 4 - 3), 1); }
.xray::before { content: ''; position: absolute; inset: 10% 15%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(233, 183, 156, .45), transparent 65%); filter: blur(10px); }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 100px); padding: clamp(100px, 12vw, 160px) var(--pad); background: var(--paper); }
.acc { border-top: 1px solid var(--line); }
.acc__i { border-bottom: 1px solid var(--line); }
.acc__i button { display: flex; justify-content: space-between; align-items: center; gap: 20px; width: 100%; padding: 26px 0; text-align: left; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.2; }
.acc__i button i { position: relative; flex: none; width: 16px; height: 16px; }
.acc__i button i::before, .acc__i button i::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .5s var(--ease); }
.acc__i button i::after { transform: rotate(90deg); }
.acc__i.is-open button i::after { transform: rotate(0); }
.acc__p { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.acc__p > p { overflow: hidden; max-width: 56ch; color: var(--muted); }
.acc__i.is-open .acc__p { grid-template-rows: 1fr; }
.acc__i.is-open .acc__p > p { padding-bottom: 26px; }

/* Newsletter */
.news { position: relative; display: grid; justify-items: center; text-align: center; gap: 18px; padding: clamp(110px, 14vw, 200px) var(--pad); overflow: hidden; }
.news__drop { position: absolute; left: 50%; top: 50%; z-index: -1; width: min(70vw, 620px); aspect-ratio: 1; translate: -50% -50%; border-radius: 46% 54% 50% 50% / 55% 48% 52% 45%; background: radial-gradient(circle at 35% 30%, #fff, var(--blush) 40%, var(--lilac) 75%); filter: blur(30px); opacity: .8; animation: blob 14s ease-in-out infinite alternate; }
@keyframes blob { 50% { border-radius: 58% 42% 46% 54% / 44% 58% 42% 56%; transform: rotate(40deg) scale(1.08); } 100% { border-radius: 42% 58% 60% 40% / 52% 40% 60% 48%; transform: rotate(-30deg) scale(.95); } }
.news .label { margin-bottom: 0; }
.news .muted { max-width: 40ch; }
.news__form { display: flex; gap: 8px; width: min(100%, 480px); margin-top: 14px; padding: 6px; border-radius: 999px; background: rgba(251, 248, 245, .75); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(10px); }
.news__form input { flex: 1; min-width: 0; padding: 0 18px; border: 0; background: none; outline: 0; }
.news__note { color: var(--muted); }

/* Footer */
.foot { padding: clamp(60px, 8vw, 100px) var(--pad) 0; background: var(--ink); color: var(--cream); overflow: hidden; }
.foot .muted { color: #B9ACA4; }
.foot__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.foot__cols .caps { margin-bottom: 8px; color: var(--peach); }
.foot__cols a:hover { color: var(--peach); }
.foot__word { overflow: hidden; margin-top: clamp(40px, 6vw, 80px); text-align: center; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 25vw; line-height: .9; letter-spacing: -0.03em; }
.foot__word span { display: inline-block; padding: 0 .06em .08em; background: linear-gradient(100deg, var(--peach), var(--lilac) 45%, var(--cream) 70%, var(--peach)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; transform: translateY(calc((1 - var(--m, 0)) * 60%)); animation: sheen 9s linear infinite; }
@keyframes sheen { to { background-position: -200% 0; } }

/* Bag drawer */
.drawer { position: fixed; inset: 0; z-index: 90; background: rgba(42, 36, 33, .35); opacity: 0; transition: opacity .4s; }
.drawer.is-open { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(100%, 440px); padding: 24px; background: var(--paper); transform: translateX(100%); transition: transform .6s var(--ease); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.drawer__lines { flex: 1; overflow: auto; }
.drawer__empty { padding: 40px 0; color: var(--muted); font-family: var(--serif); font-size: 24px; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line img { width: 64px; height: 80px; object-fit: cover; border-radius: 32px 32px 8px 8px; }
.line b { display: block; font-family: var(--serif); font-weight: 400; font-size: 20px; }
.line small { color: var(--muted); }
.qty { display: flex; align-items: center; gap: 10px; }
.qty button { width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); }
.drawer__foot { display: grid; gap: 14px; padding-top: 18px; }
.drawer__foot > p:first-child { display: flex; justify-content: space-between; align-items: baseline; }
.drawer__foot b { font-family: var(--serif); font-size: 30px; font-weight: 400; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 95; padding: 14px 22px; border-radius: 999px; background: var(--ink); color: var(--cream); font-size: 14px; opacity: 0; transform: translate(-50%, 200%); transition: transform .5s var(--ease), opacity .3s; pointer-events: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.badge { position: fixed; left: 16px; bottom: 16px; z-index: 50; padding: 8px 12px; border-radius: 999px; background: rgba(251, 248, 245, .8); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line); font-size: 10px; pointer-events: none; }

/* Tablet */
@media (max-width: 1100px) {
  .top__nav, .top__clock { display: none; }
  .top__menu { display: inline-flex; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .ing { grid-template-columns: 90px 1fr auto; }
  .ing__mol { width: 84px; height: 84px; }
  .ing__img { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
}
/* Phone */
@media (max-width: 760px) {
  .top { height: 60px; }
  .top__logo { font-size: 26px; }
  .hero__card, .hero__down { display: none; }
  .hero__title { font-size: clamp(44px, 12.5vw, 64px); }
  .hero__row { margin-top: 18px; }
  .hero__ui { bottom: 64px; }
  .hero__cta { gap: 18px; }
  .hero__cta .btn { padding: 0 22px; }
  .hero__lead { font-size: 15px; }
  .ritual { grid-template-columns: 1fr; grid-template-rows: auto auto auto auto; padding-bottom: 36px; }
  .ritual__stage { min-height: 56svh; }
  .arch--main { width: min(60vw, 40svh); }
  .arch--a { width: 26vw; left: 0; top: 6%; }
  .arch--b { width: 28vw; right: 0; bottom: 2%; }
  .ritual__text { text-align: center; justify-items: center; }
  .ritual__name { font-size: 64px; }
  .ritual__buy { justify-content: center; }
  .ing { grid-template-columns: 64px 1fr; gap: 12px 16px; }
  .ing__mol { width: 60px; height: 60px; }
  .ing__pct { grid-column: 2; font-size: 52px; }
  .ing__img { aspect-ratio: 16 / 10; }
  .card__name { font-size: 20px; }
  .card__quick { transform: none; min-height: 40px; font-size: 10px; letter-spacing: .12em; }
  .finder__box { grid-template-columns: 1fr; }
  .routine li { grid-template-columns: 20px 52px 1fr auto; gap: 12px; }
  .routine img { width: 52px; height: 66px; }
  .routine b { font-size: 20px; }
  .refill, .faq { grid-template-columns: 1fr; }
  .stats dd { font-size: 40px; }
  .foot__cols { grid-template-columns: 1fr; }
  .badge { bottom: 10px; left: 10px; }
}
