/* ==========================================================================
   AVIN — Template 2 · "ATELIER"
   A light, Swiss-grid, museum-catalogue direction. Effra only, a monospace
   for data, hairline rules, square geometry and the product as a specimen.
   Brand palette: Violet #37246B · Cyan #5CBCC8 · Rose Beige #E6C4A8
   ========================================================================== */

@font-face { font-family: "Effra"; src: url("../fonts/EffraVF_Trial_Wght.ttf") format("truetype"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Effra"; src: url("../fonts/EffraVF_Trial_WghtItal.ttf") format("truetype"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  --paper: #FFFFFF;
  --bone: #F6F2EE;
  --rose-20: #FAF3EE;
  --rose-60: #F0DCCB;
  --rose: #E6C4A8;
  --rose-deep: #B08567;
  --ink: #1E1440;
  --night: #1B1238;
  --violet: #37246B;
  --violet-80: #5F5089;
  --violet-60: #877CA6;
  --violet-40: #AFA7C4;
  --violet-20: #D7D3E1;
  --cyan: #5CBCC8;
  --cyan-60: #9DD7DE;
  --cyan-20: #DEF2F4;
  --pearl: #FAF6F1;
  --porcelain: #FFFDFA;
  --muted: #716A86;
  --line: rgba(30, 20, 64, .12);
  --line-strong: rgba(30, 20, 64, .3);
  --line-light: rgba(255, 255, 255, .18);

  --sans: "Effra", "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.19, 1, .22, 1);
  --gutter: clamp(16px, 3vw, 48px);
  --max: 1600px;
  --header-h: 72px;

  --star-cyan: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='194 96 82 84'%3E%3Cpath fill='%235CBCC8' d='M233.55,99.42c.39-1.61,2.61-1.61,3.01,0,2.14,8.61,6.32,16.37,12.88,23.09,6.82,6.99,14.83,11.48,23.86,13.78,1.56,.4,1.55,2.58-.02,2.98-17.09,4.29-31.95,17.71-36.75,37.01-.38,1.54-2.6,1.52-2.98-.02-4.55-18.46-19.05-32.52-36.82-36.97-1.54-.39-1.51-2.59,.04-2.98,10.65-2.69,19.75-8.36,27.06-17.36,4.8-5.91,8.02-12.44,9.73-19.51Z'/%3E%3C/svg%3E");
  --star-violet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='194 96 82 84'%3E%3Cpath fill='%2337246B' d='M233.55,99.42c.39-1.61,2.61-1.61,3.01,0,2.14,8.61,6.32,16.37,12.88,23.09,6.82,6.99,14.83,11.48,23.86,13.78,1.56,.4,1.55,2.58-.02,2.98-17.09,4.29-31.95,17.71-36.75,37.01-.38,1.54-2.6,1.52-2.98-.02-4.55-18.46-19.05-32.52-36.82-36.97-1.54-.39-1.51-2.59,.04-2.98,10.65-2.69,19.75-8.36,27.06-17.36,4.8-5.91,8.02-12.44,9.73-19.51Z'/%3E%3C/svg%3E");
  --star-pearl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='194 96 82 84'%3E%3Cpath fill='%23FAF6F1' d='M233.55,99.42c.39-1.61,2.61-1.61,3.01,0,2.14,8.61,6.32,16.37,12.88,23.09,6.82,6.99,14.83,11.48,23.86,13.78,1.56,.4,1.55,2.58-.02,2.98-17.09,4.29-31.95,17.71-36.75,37.01-.38,1.54-2.6,1.52-2.98-.02-4.55-18.46-19.05-32.52-36.82-36.97-1.54-.39-1.51-2.59,.04-2.98,10.65-2.69,19.75-8.36,27.06-17.36,4.8-5.91,8.02-12.44,9.73-19.51Z'/%3E%3C/svg%3E");
  --shippo-violet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='none' stroke='%2337246B' stroke-width='.6'%3E%3Ccircle cx='0' cy='0' r='20'/%3E%3Ccircle cx='40' cy='0' r='20'/%3E%3Ccircle cx='0' cy='40' r='20'/%3E%3Ccircle cx='40' cy='40' r='20'/%3E%3Ccircle cx='20' cy='20' r='20'/%3E%3C/g%3E%3C/svg%3E");
  --shippo-pearl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-width='.6'%3E%3Ccircle cx='0' cy='0' r='20'/%3E%3Ccircle cx='40' cy='0' r='20'/%3E%3Ccircle cx='0' cy='40' r='20'/%3E%3Ccircle cx='40' cy='40' r='20'/%3E%3Ccircle cx='20' cy='20' r='20'/%3E%3C/g%3E%3C/svg%3E");
  --shippo-cyan: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='none' stroke='%235CBCC8' stroke-width='.7'%3E%3Ccircle cx='0' cy='0' r='20'/%3E%3Ccircle cx='40' cy='0' r='20'/%3E%3Ccircle cx='0' cy='40' r='20'/%3E%3Ccircle cx='40' cy='40' r='20'/%3E%3Ccircle cx='20' cy='20' r='20'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; animation: pageIn .8s var(--ease) both; }
body.is-leaving { opacity: 0; transition: opacity .4s; }
body.menu-open { overflow: hidden; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: inherit; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 1px solid var(--cyan); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 10px; z-index: 999; padding: 10px 16px; background: var(--ink); color: #fff; }
.skip:focus { left: 16px; }
main { display: block; padding-top: var(--header-h); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(14px, 1.6vw, 24px); }
.c-2 { grid-column: span 2; } .c-3 { grid-column: span 3; } .c-4 { grid-column: span 4; } .c-5 { grid-column: span 5; }
.c-6 { grid-column: span 6; } .c-7 { grid-column: span 7; } .c-8 { grid-column: span 8; } .c-9 { grid-column: span 9; } .c-12 { grid-column: 1 / -1; }
.ta-r { text-align: right; }

/* Swiss grid overlay — press G */
.gridlines { position: fixed; inset: 0; z-index: 1; pointer-events: none; display: grid; grid-template-columns: repeat(6, 1fr); width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); opacity: 0; transition: opacity .6s; }
.gridlines i { border-left: 1px solid rgba(92, 188, 200, .28); }
.gridlines i:last-child { border-right: 1px solid rgba(92, 188, 200, .28); }
.show-grid .gridlines { opacity: 1; }

/* ---------- Type ---------- */
.mono { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; line-height: 1.5; }
.idx { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0; }
.bg-violet .idx, .bg-ink .idx { color: rgba(255, 255, 255, .6); }
.t-hero { font-size: clamp(52px, 9.4vw, 168px); font-weight: 200; letter-spacing: -.058em; line-height: .9; }
.t-xl { font-size: clamp(40px, 5.8vw, 100px); font-weight: 200; letter-spacing: -.048em; line-height: .96; }
.t-l { font-size: clamp(30px, 3.6vw, 58px); font-weight: 250; letter-spacing: -.035em; line-height: 1.02; }
.t-m { font-size: clamp(21px, 1.9vw, 29px); font-weight: 300; letter-spacing: -.018em; line-height: 1.2; }
.t-lead { font-size: clamp(18px, 1.35vw, 21px); line-height: 1.55; font-weight: 300; }
.muted { color: var(--muted); }
.bg-violet .muted, .bg-ink .muted { color: rgba(255, 255, 255, .66); }
.accent { color: var(--violet); }
.bg-violet .accent, .bg-ink .accent { color: var(--rose); }
.outline { color: transparent; -webkit-text-stroke: 1px var(--violet); }
.star { display: inline-block; width: .62em; height: .62em; vertical-align: .08em; background: var(--star-cyan) center/contain no-repeat; }

/* ---------- Buttons & links ---------- */
.a-btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; min-height: 54px; padding: 0 20px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; transition: color .5s var(--ease), border-color .5s; }
.a-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.a-btn:hover::before { transform: scaleX(1); }
.a-btn:hover { color: var(--ink); border-color: var(--cyan); }
.a-btn .arr { transition: transform .5s var(--ease); }
.a-btn:hover .arr { transform: translateX(4px); }
.a-btn--line { background: transparent; color: var(--ink); }
.a-btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.bg-violet .a-btn--line, .bg-ink .a-btn--line { color: var(--paper); border-color: rgba(255, 255, 255, .5); }
.a-btn--block { width: 100%; }
.a-link { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; transition: color .3s, gap .5s var(--ease); }
.a-link:hover { color: var(--violet); gap: 18px; }
.bg-violet .a-link:hover, .bg-ink .a-link:hover { color: var(--rose); }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid var(--line-strong); font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.bg-violet .tag, .bg-ink .tag { border-color: var(--line-light); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- Header ---------- */
.a-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transition: transform .7s var(--ease); }
.a-header.is-hidden { transform: translateY(-101%); }
.menu-open .a-header { transform: none; background: var(--rose-20); }
.a-header__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; height: var(--header-h); }
.a-logo { display: block; color: var(--ink); }
.logo { width: 84px; height: auto; overflow: visible; }
.logo__word { fill: currentColor; }
.logo__star { fill: var(--cyan); transform-box: fill-box; transform-origin: center; transition: transform 1s var(--ease); }
.a-logo:hover .logo__star { transform: rotate(90deg); }
.a-meta { display: flex; gap: 28px; color: var(--muted); }
.a-meta b { font-weight: 400; color: var(--ink); font-variant-numeric: tabular-nums; }
.a-right { display: flex; align-items: center; gap: 28px; }
.a-nav { display: flex; gap: clamp(16px, 1.8vw, 28px); }
.a-nav a { position: relative; font-size: 13.5px; white-space: nowrap; padding: 6px 0; }
.a-nav a sup, .menu__links sup { font-family: var(--mono); font-size: 8.5px; color: var(--muted); margin-right: 4px; vertical-align: 6px; }
.a-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--violet); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.a-nav a:hover::after, .a-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.a-nav a[aria-current="page"] { color: var(--violet); }
.a-shop { padding: 9px 14px; background: var(--ink); color: var(--paper); transition: background .3s; }
.a-shop:hover { background: var(--violet); }
.a-bag { display: inline-flex; gap: 4px; }
.a-bag [data-bag-count]::before { content: "("; }
.a-bag [data-bag-count]::after { content: ")"; }
.a-bag [data-bag-count].has-items { color: var(--violet); }
.a-burger { display: none; }

.menu { position: fixed; inset: 0; z-index: 45; overflow: auto; padding-top: var(--header-h); background: var(--rose-20); visibility: hidden; transform: translateY(-100%); transition: transform .9s var(--ease), visibility 0s .9s; }
.menu-open .menu { visibility: visible; transform: none; transition: transform .9s var(--ease), visibility 0s; }
.menu__inner { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding-block: 40px; }
.menu__links a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: clamp(34px, 8vw, 58px); font-weight: 200; letter-spacing: -.04em; line-height: 1.1; }
.menu__links a:hover { color: var(--violet); }
.menu__foot { color: var(--muted); }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), clip-path 1.4s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="mask"] { opacity: 1; transform: none; clip-path: inset(0 100% 0 0); }
.js [data-reveal="lines"] { opacity: 1; transform: none; }
.js [data-reveal].is-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
.line-mask { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line-mask > span { display: block; }
.js .line-mask > span { transform: translateY(105%); transition: transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js .is-in .line-mask > span { transform: none; }
.js .scrub .w { opacity: .14; transition: opacity .4s; }
.js .scrub .w.on { opacity: 1; }

/* Crosshair cursor (drawn by avin-core.js) */
.cursor { position: fixed; top: 0; left: 0; z-index: 150; width: 22px; height: 22px; margin: -11px 0 0 -11px; pointer-events: none; opacity: 0; transition: opacity .3s, width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease); }
.cursor::before, .cursor::after { content: ""; position: absolute; background: var(--violet); }
.cursor::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.cursor::after { top: 50%; left: 0; right: 0; height: 1px; }
.cursor.is-on { opacity: 1; }
.cursor.is-hover { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
@media (pointer: coarse) { .cursor { display: none; } }

.product-visual { display: block; width: 100%; }
.product-visual svg { width: 100%; height: auto; overflow: visible; }

/* ---------- Sections ---------- */
.a-sec { position: relative; padding-block: clamp(80px, 10vw, 160px); }
.a-sec--tight { padding-block: clamp(56px, 6vw, 96px); }
.a-sec--flush { padding-top: 0; }
.bg-bone { background: var(--bone); }
.bg-rose { background: var(--rose); }
.bg-rose20 { background: var(--rose-20); }
.bg-violet { background: var(--violet); color: var(--paper); }
.bg-ink { background: var(--night); color: var(--paper); }
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(14px, 1.6vw, 24px); row-gap: 20px; align-items: end; padding-bottom: 26px; margin-bottom: clamp(40px, 5vw, 80px); border-bottom: 1px solid var(--line-strong); }
.sec-head .idx { grid-column: span 2; align-self: start; padding-top: .6em; }
.sec-head h2 { grid-column: span 6; }
.sec-head > p:last-child, .sec-head > div:last-child { grid-column: span 4; margin: 0; }
.bg-violet .sec-head, .bg-ink .sec-head { border-color: var(--line-light); }

/* ---------- Home: hero & specimen plate ---------- */
.a-hero { padding-top: clamp(24px, 3vw, 44px); }
.a-hero__top { padding-bottom: clamp(30px, 4vw, 60px); color: var(--muted); }
.a-hero__top b { font-weight: 400; color: var(--ink); font-variant-numeric: tabular-nums; }
.a-hero h1 { padding-bottom: clamp(36px, 5vw, 80px); }
.a-hero__body { align-items: stretch; border-top: 1px solid var(--line-strong); padding-top: clamp(14px, 1.6vw, 24px); }

.plate { position: relative; overflow: hidden; aspect-ratio: 5 / 4; display: grid; place-items: center; background: var(--rose-20); }
.plate::before { content: ""; position: absolute; inset: 0; background: var(--shippo-violet) 0 0/44px 44px; opacity: .06; }
.plate > .product-visual { position: relative; width: 24%; margin-top: -2%; }
.plate__cap { position: absolute; left: 18px; bottom: 16px; color: var(--violet); }
.plate__num { position: absolute; right: 18px; top: 16px; color: var(--violet); }
.anno { position: absolute; display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; color: var(--violet); white-space: nowrap; }
.anno::before { content: ""; width: var(--len, 80px); height: 1px; background: currentColor; }
.anno::after { content: ""; position: absolute; left: -3px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.anno--l { flex-direction: row-reverse; }
.anno--l::after { left: auto; right: -3px; }
.dim { position: absolute; font-family: var(--mono); font-size: 10px; color: var(--violet); }
.dim--h { left: 41.5%; width: 17%; top: 84%; border-top: 1px solid currentColor; text-align: center; padding-top: 6px; }
.dim--h::before, .dim--h::after { content: ""; position: absolute; top: -5px; width: 1px; height: 9px; background: currentColor; }
.dim--h::before { left: 0; } .dim--h::after { right: 0; }
.dim--v { left: 35%; top: 16%; height: 63%; border-left: 1px solid currentColor; }
.dim--v::before, .dim--v::after { content: ""; position: absolute; left: -5px; width: 9px; height: 1px; background: currentColor; }
.dim--v::before { top: 0; } .dim--v::after { bottom: 0; }
.dim--v span { position: absolute; top: 50%; right: 8px; transform: translateY(-50%) rotate(-90deg); transform-origin: right center; white-space: nowrap; }

.sheet { display: flex; flex-direction: column; padding-left: clamp(0px, 1.4vw, 20px); }
.sheet__name { margin: 14px 0 6px; }
.sheet dl { margin: 26px 0; border-top: 1px solid var(--ink); }
.sheet dl div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.sheet dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.sheet dd { margin: 0; font-size: 15.5px; }
.sheet__buy { margin-top: auto; display: grid; gap: 10px; }
.sheet__price { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; }
.sheet__price b { font-size: 30px; font-weight: 250; letter-spacing: -.02em; }

/* Velocity marquee */
.a-marquee { overflow: hidden; white-space: nowrap; border-block: 1px solid var(--line-strong); padding-block: clamp(20px, 3vw, 44px); }
.a-marquee__track { display: inline-flex; align-items: center; gap: .35em; will-change: transform; font-size: clamp(60px, 10.5vw, 190px); font-weight: 200; letter-spacing: -.055em; line-height: 1; }
.a-marquee__track .star { width: .4em; height: .4em; vertical-align: middle; }

/* Philosophy */
.statement { font-size: clamp(30px, 3.9vw, 64px); font-weight: 250; letter-spacing: -.035em; line-height: 1.1; margin: 0; }
.sig { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 20px; border-top: 1px solid var(--line); }

/* Horizontal scroll */
.hs { position: relative; background: var(--bone); }
.hs__sticky { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 3vh, 40px); }
.hs__head { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.hs__bar { position: relative; flex: 0 1 240px; height: 1px; background: var(--line-strong); }
.hs__bar i { position: absolute; inset: 0; background: var(--violet); transform: scaleX(0); transform-origin: left; }
.hs__track { display: flex; padding-left: var(--gutter); will-change: transform; }
.hs__panel { flex: none; display: flex; flex-direction: column; width: min(540px, 80vw); height: min(66vh, 620px); padding: 26px 40px 26px 26px; border-left: 1px solid var(--line-strong); }
.hs__panel--intro { width: min(700px, 88vw); border-left: 0; padding-left: 0; justify-content: flex-end; }
.hs__panel--end { justify-content: space-between; background: var(--violet); color: var(--paper); border-left: 0; margin-right: var(--gutter); }
.hs__n { font-size: clamp(80px, 9vw, 150px); font-weight: 150; letter-spacing: -.07em; line-height: .8; color: var(--violet); }
.hs__glyph { width: 44%; margin: auto 0 26px auto; }
.hs__panel h3 { margin: 8px 0 12px; }
.hs__panel p { max-width: 30em; color: var(--muted); font-size: 15.5px; }
.hs__panel dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.hs__panel dt { color: var(--muted); }
.hs__panel dd { margin: 0; }

/* Lab block */
.lab2__visual { position: relative; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line-light); background: var(--shippo-pearl) 0 0/48px 48px; background-color: rgba(255, 255, 255, .02); }
.lab2__visual::before, .lab2__visual::after { content: ""; position: absolute; background: rgba(255, 255, 255, .28); }
.lab2__visual::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.lab2__visual::after { top: 50%; left: 0; right: 0; height: 1px; }
.lens2 { position: relative; z-index: 1; width: 58%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 38% 32%, #fff, var(--cyan-20) 35%, var(--cyan) 100%); box-shadow: 0 0 0 1px rgba(255, 255, 255, .35), 0 0 0 26px rgba(255, 255, 255, .05), 0 0 0 27px rgba(255, 255, 255, .2); animation: breathe 8s ease-in-out infinite; }
.lens2 i { position: absolute; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--rose) 50%, var(--violet-60)); }
.readout { position: absolute; z-index: 2; color: rgba(255, 255, 255, .72); }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
.coords { font-family: var(--mono); font-size: clamp(26px, 3vw, 46px); letter-spacing: -.02em; line-height: 1.1; margin: 0 0 40px; font-weight: 300; }
.stats2 { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); }
.stats2 div { padding: 22px 16px 0 0; }
.stats2 div + div { padding-left: 16px; border-left: 1px solid var(--line-light); }
.stats2 b { display: block; font-size: clamp(56px, 6vw, 100px); font-weight: 150; letter-spacing: -.06em; line-height: 1; font-variant-numeric: tabular-nums; }
.rows { border-top: 1px solid var(--line-strong); }
.bg-violet .rows, .bg-ink .rows { border-color: var(--line-light); }
.row { border-bottom: 1px solid var(--line); }
.bg-violet .row, .bg-ink .row { border-color: var(--line-light); }
.row summary { display: grid; grid-template-columns: 70px 1fr auto; gap: 16px; align-items: baseline; padding: 22px 0; list-style: none; cursor: pointer; transition: color .3s, padding .5s var(--ease); }
.row summary::-webkit-details-marker { display: none; }
.row summary::after { content: "+"; font-family: var(--mono); font-size: 18px; transition: transform .5s var(--ease); }
.row[open] summary::after { transform: rotate(45deg); }
.row summary:hover { color: var(--violet); padding-left: 10px; }
.bg-violet .row summary:hover { color: var(--rose); }
.row__body { padding: 0 0 26px 86px; max-width: 46em; color: var(--muted); }

/* Founder */
.portrait2 { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: linear-gradient(180deg, var(--violet-80), var(--night)); }
.portrait2::before { content: ""; position: absolute; inset: 0; background: var(--shippo-pearl) 0 0/44px 44px; opacity: .07; }
.portrait2 svg { position: absolute; left: 50%; bottom: 0; width: 78%; transform: translateX(-50%); fill: rgba(230, 196, 168, .22); }
.fig { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; color: var(--muted); }
.quote2 { margin: 50px 0 0; padding-left: 26px; border-left: 1px solid var(--cyan); }

/* Consultation band */
.consult2 { overflow: hidden; }
.consult2 h2 { font-size: clamp(52px, 8.4vw, 150px); font-weight: 200; letter-spacing: -.058em; line-height: .9; }
.round { position: relative; z-index: 2; display: grid; place-items: center; align-content: center; gap: 6px; width: clamp(150px, 15vw, 220px); aspect-ratio: 1; border-radius: 50%; background: var(--ink); color: var(--paper); text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; transition: background .4s, transform .6s var(--ease); }
.round:hover { background: var(--violet); }
.round span { font-size: 26px; font-family: var(--sans); }
.consult2__wave { position: absolute; inset: -20% -10%; background: url("../brand/wave-violet.svg") center/120% auto no-repeat; opacity: .1; pointer-events: none; }

/* Catalogue strip */
.catalogue { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line); }
.catalogue a { display: flex; flex-direction: column; gap: 10px; min-height: 230px; padding: 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .4s; }
.catalogue a:hover { background: var(--rose-20); }
.catalogue .product-visual { width: 38%; margin: auto auto 0; opacity: .35; filter: saturate(.4); transition: opacity .5s, filter .5s; }
.catalogue a:hover .product-visual, .catalogue .is-live .product-visual { opacity: 1; filter: none; }
.catalogue b { font-weight: 300; font-size: 16px; line-height: 1.2; }
.catalogue .is-live { background: var(--rose-20); }

/* Index list + floating preview */
.index-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.index-list a { display: grid; grid-template-columns: 110px minmax(0, 1fr) 150px 80px 24px; gap: 20px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); transition: padding .6s var(--ease), color .3s; }
.index-list a:hover { padding-left: 18px; color: var(--violet); }
.index-list .t-m { font-size: clamp(20px, 1.8vw, 27px); }
.index-list .arr { transition: transform .5s var(--ease); }
.index-list a:hover .arr { transform: translateX(6px); }
.preview { position: fixed; top: 0; left: 0; z-index: 60; width: 240px; aspect-ratio: 4 / 5; overflow: hidden; pointer-events: none; opacity: 0; transform: scale(.85); transition: opacity .35s, transform .6s var(--ease); }
.preview.is-on { opacity: 1; transform: scale(1); }
.preview .cover { position: absolute; inset: 0; }

/* ---------- Covers (shared art) ---------- */
.cover { position: relative; background: var(--night); overflow: hidden; }
.cover::before, .cover::after { content: ""; position: absolute; }
.cover--glow { background: radial-gradient(circle at 50% 56%, rgba(157, 215, 222, .95) 0, rgba(92, 188, 200, .45) 14%, transparent 42%), radial-gradient(circle at 25% 18%, rgba(95, 80, 137, .9), transparent 50%), var(--night); }
.cover--glow::after { left: 50%; top: 56%; width: 24%; aspect-ratio: 1; transform: translate(-50%, -50%); background: var(--star-pearl) center/contain no-repeat; filter: drop-shadow(0 0 30px rgba(255, 255, 255, .9)); }
.cover--rings { background: repeating-radial-gradient(circle at 50% 62%, transparent 0 26px, rgba(55, 36, 107, .2) 26px 27px), radial-gradient(circle at 50% 62%, var(--rose-20), var(--rose) 70%); }
.cover--rings::after { left: 50%; top: 62%; width: 16%; aspect-ratio: 1; transform: translate(-50%, -50%); background: var(--star-violet) center/contain no-repeat; }
.cover--molecules { background: radial-gradient(circle at 30% 30%, rgba(230, 196, 168, .9) 0 3px, transparent 4px) 0 0/64px 64px, radial-gradient(circle at 70% 70%, rgba(92, 188, 200, .95) 0 2px, transparent 3px) 0 0/46px 46px, radial-gradient(80% 60% at 60% 40%, #3E2A80, #140D2B); }
.cover--wave { background: url("../brand/wave-cyan.svg") 40% 50%/190% auto no-repeat, linear-gradient(160deg, var(--violet), var(--night)); }
.cover--lab { background: var(--shippo-cyan) 0 0/38px 38px, var(--porcelain); }
.cover--lab::after { left: 50%; top: 50%; width: 52%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 38% 32%, #fff, var(--cyan-20) 35%, var(--cyan-60) 80%); box-shadow: 0 0 0 14px rgba(255, 255, 255, .8), 0 0 0 15px rgba(55, 36, 107, .15); }
.cover--astaxanthin { background: radial-gradient(circle at 58% 42%, #F2C6AE 0, #D98E73 18%, #8E3F45 42%, var(--night) 78%); }
.cover--letter { background: radial-gradient(70% 60% at 30% 30%, var(--violet), var(--night)); display: grid; place-items: center; }
.cover--letter::after { content: "Dr."; position: static; font-size: clamp(70px, 9vw, 150px); font-weight: 150; letter-spacing: -.06em; color: var(--rose); }
.cover--plate { background: var(--rose-20); display: grid; place-items: end center; padding-bottom: 12%; }
.cover--plate::before { inset: 0; background: var(--shippo-violet) 0 0/40px 40px; opacity: .07; }
.cover--plate .product-visual { position: relative; width: 26%; }

/* ---------- Footer ---------- */
.a-footer { position: relative; z-index: 2; background: var(--rose-20); padding-top: clamp(70px, 8vw, 120px); }
.a-footer__top { padding-bottom: clamp(50px, 6vw, 90px); row-gap: 50px; }
.a-form { display: flex; margin-top: 30px; border-bottom: 1px solid var(--ink); }
.a-form input { flex: 1; min-width: 0; padding: 14px 0; border: 0; background: transparent; outline: none; font-size: 17px; }
.a-form input::placeholder { color: var(--muted); }
.a-form button { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding-left: 14px; }
.a-form button:hover { color: var(--violet); }
.a-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.a-footer__cols h4 { margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--line-strong); color: var(--muted); }
.a-footer__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.a-footer__cols a { font-size: 15px; transition: color .3s; }
.a-footer__cols a:hover { color: var(--violet); }
.a-footer__mark { color: var(--violet); border-top: 1px solid var(--line-strong); padding-top: clamp(20px, 3vw, 40px); }
.a-footer__mark .logo { width: 100%; }
.a-footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 22px; margin-top: clamp(20px, 3vw, 40px); border-top: 1px solid var(--line-strong); color: var(--muted); }
.a-footer__bar a:hover, .a-footer__bar button:hover { color: var(--violet); }

/* ---------- Forms, drawer, modal, toast ---------- */
.field { display: grid; gap: 4px; margin-bottom: 18px; }
.field label, .label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.input { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; background: transparent; font-size: 17px; outline: none; transition: border-color .3s; }
.input:focus { border-color: var(--violet); }
textarea.input { resize: vertical; min-height: 90px; }
select.input { -webkit-appearance: none; appearance: none; background: linear-gradient(45deg, transparent 50%, currentColor 50%) calc(100% - 10px) 55%/6px 6px no-repeat, linear-gradient(-45deg, transparent 50%, currentColor 50%) calc(100% - 4px) 55%/6px 6px no-repeat; }
.bg-violet .input, .bg-ink .input { border-color: var(--line-light); }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--muted); }
.check input { margin-top: 4px; accent-color: var(--violet); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.form-grid .span-2 { grid-column: 1 / -1; }

.drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; transition: visibility 0s .7s; }
.drawer.is-open { visibility: visible; transition: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(30, 20, 64, .3); opacity: 0; transition: opacity .7s var(--ease); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); display: flex; flex-direction: column; background: var(--paper); border-left: 1px solid var(--line-strong); transform: translateX(100%); transition: transform .7s var(--ease); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; height: var(--header-h); padding: 0 24px; border-bottom: 1px solid var(--line-strong); }
.drawer__head h2 { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.drawer__items { flex: 1; overflow: auto; padding: 0 24px; }
.drawer__empty { padding: 60px 0; text-align: center; color: var(--muted); }
.drawer__empty .spark { display: block; width: 24px; height: 24px; margin: 0 auto 18px; background: var(--star-cyan) center/contain no-repeat; }
.drawer__empty .link-line { font-family: var(--mono); font-size: 11px; text-transform: uppercase; border-bottom: 1px solid; }
.bag-item { display: grid; grid-template-columns: 74px 1fr auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.bag-item__thumb { aspect-ratio: 3 / 4; background: var(--rose-20); display: grid; place-items: end center; padding: 8px 20px 6px; }
.bag-item__name { margin: 0; font-size: 16px; }
.bag-item__meta { margin: 2px 0 10px; font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; color: var(--muted); }
.bag-item__price { font-size: 15px; text-align: right; }
.bag-item__remove { display: block; margin-top: 8px; font-family: var(--mono); font-size: 10px; text-transform: uppercase; color: var(--muted); text-decoration: underline; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); }
.qty button { width: 32px; height: 32px; }
.qty span { min-width: 22px; text-align: center; font-size: 14px; }
.qty--lg button { width: 46px; height: 54px; }
.drawer__foot { display: grid; gap: 12px; padding: 20px 24px 24px; border-top: 1px solid var(--line-strong); background: var(--bone); }
.drawer__total { display: flex; justify-content: space-between; font-size: 18px; }
.drawer__foot .btn { display: flex; align-items: center; justify-content: center; min-height: 54px; background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; }
.close-x { position: relative; width: 40px; height: 40px; }
.close-x::before, .close-x::after { content: ""; position: absolute; left: 11px; right: 11px; top: 50%; height: 1px; background: currentColor; transform: rotate(45deg); }
.close-x::after { transform: rotate(-45deg); }

.modal { position: fixed; inset: 0; z-index: 85; display: grid; place-items: center; padding: 16px; visibility: hidden; opacity: 0; transition: opacity .4s, visibility 0s .4s; }
.modal.is-open { visibility: visible; opacity: 1; transition: opacity .4s; }
.modal__scrim { position: absolute; inset: 0; background: rgba(30, 20, 64, .4); }
.modal__card { position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: clamp(28px, 4vw, 48px); background: var(--paper); border: 1px solid var(--line-strong); transform: translateY(20px); transition: transform .6s var(--ease); }
.modal.is-open .modal__card { transform: none; }
.modal__card .close-x { position: absolute; top: 12px; right: 12px; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; display: flex; align-items: center; gap: 12px; max-width: calc(100% - 32px); padding: 14px 20px; background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; transform: translate(-50%, 180%); transition: transform .6s var(--ease); }
.toast.is-on { transform: translate(-50%, 0); }
.toast .spark { width: 12px; height: 12px; background: var(--star-cyan) center/contain no-repeat; }

.acc { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; list-style: none; cursor: pointer; font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 16px; transition: transform .5s var(--ease); }
.acc[open] summary::after { transform: rotate(45deg); }
.acc__body { padding-bottom: 22px; color: var(--muted); font-size: 15.5px; }
.acc__body p:last-child { margin: 0; }

.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filter { padding: 8px 12px; border: 1px solid var(--line-strong); font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; transition: background .3s, color .3s, border-color .3s; }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
[data-cat].is-hidden { display: none !important; }

/* ==========================================================================
   INNER PAGES — science, collection, house, journal
   ========================================================================== */
.page-top { padding-top: clamp(24px, 3vw, 44px); }
.page-top h1 { padding-bottom: clamp(30px, 4vw, 60px); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
@keyframes wobble { 0%, 100% { border-radius: 50% 50% 50% 50% / 58% 58% 42% 42%; transform: rotate(0); } 50% { border-radius: 46% 54% 52% 48% / 55% 60% 40% 45%; transform: rotate(5deg); } }

/* Table of contents with preview */
.toc2 { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.toc2 a { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 20px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); transition: padding .6s var(--ease), color .3s; }
.toc2 a:hover { padding-left: 18px; color: var(--violet); }
.toc2 .t-l { font-size: clamp(26px, 3vw, 46px); }

/* Editorial */
.cols2 { column-count: 2; column-gap: clamp(24px, 3vw, 48px); font-size: 17px; line-height: 1.7; color: #3E3560; }
.cols2 p { break-inside: avoid-column; }
.lead-p { column-span: all; margin-bottom: 30px !important; font-size: clamp(21px, 1.8vw, 28px); line-height: 1.4; color: var(--ink); letter-spacing: -.015em; }
.fig-dark { aspect-ratio: 1; background: var(--night); }
.fig-dark svg { width: 100%; height: 100%; }

/* Specimen table */
.table-scroll { overflow-x: auto; }
.spec-table, .pipeline { width: 100%; min-width: 780px; border-collapse: collapse; }
.spec-table th, .pipeline th { text-align: left; padding: 0 16px 14px 0; border-bottom: 1px solid var(--ink); font-family: var(--mono); font-size: 10.5px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.spec-table td, .pipeline td { padding: 22px 16px 22px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.spec-table tbody tr, .pipeline tbody tr { transition: background .3s; }
.spec-table tbody tr:hover, .pipeline tbody tr:hover { background: var(--rose-20); }
.spec-table .t-m { white-space: nowrap; }
.spec-table .sub td { padding-block: 14px; color: var(--muted); }
.spec-table .sub .t-m { font-size: 18px; color: var(--ink); }

/* Stacking cards */
.stack__card { position: sticky; top: calc(var(--header-h) + 20px + var(--i, 0) * 26px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(14px, 1.6vw, 24px); align-content: space-between; min-height: calc(100vh - var(--header-h) - 140px); margin-bottom: 40px; padding: clamp(24px, 3vw, 44px); border: 1px solid var(--line-strong); background: var(--paper); }
.stack__card:nth-child(2) { background: var(--rose-20); }
.stack__card.bg-violet { border-color: var(--violet); }
.stack__num { grid-column: span 4; font-size: clamp(90px, 12vw, 220px); font-weight: 150; letter-spacing: -.07em; line-height: .8; }
.stack__card svg { grid-column: 9 / -1; justify-self: end; width: min(240px, 100%); }
.stack__body { grid-column: 1 / 9; align-self: end; padding-top: 40px; }
.stack__body h3 { margin: 10px 0 18px; }
.stack__body p { max-width: 34em; }

/* Pathway */
.pathway { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 90px); }
.pathway__visual { position: sticky; top: calc(var(--header-h) + 60px); height: calc(100vh - var(--header-h) - 120px); min-height: 440px; }
.skin { --depth: 8; position: relative; height: 100%; overflow: hidden; border: 1px solid var(--line-light); background: #241848; }
.skin__layer { position: absolute; left: 0; right: 0; opacity: .32; transition: opacity 1s var(--ease); }
.skin__layer--1 { top: 0; height: 17%; background: var(--rose-20); }
.skin__layer--2 { top: 17%; height: 32%; background: var(--rose); }
.skin__layer--2::before { content: ""; position: absolute; inset: 0; background: var(--shippo-violet) 0 0/34px 34px; opacity: .14; }
.skin__layer--3 { top: 49%; height: 6%; background: var(--violet-40); }
.skin__layer--4 { top: 55%; height: 45%; background: var(--violet-80); }
.skin__layer--4::before { content: ""; position: absolute; inset: 0; background: url("../brand/wave-rose.svg") center/140% auto repeat-y; opacity: .3; }
.skin[data-step="1"] .skin__layer--1, .skin[data-step="2"] .skin__layer--1, .skin[data-step="2"] .skin__layer--2,
.skin[data-step="3"] .skin__layer--2, .skin[data-step="4"] .skin__layer--3, .skin[data-step="4"] .skin__layer--4 { opacity: 1; }
.skin__label { position: absolute; right: 12px; transform: translateY(-50%); padding: 4px 8px; background: rgba(255, 255, 255, .88); color: var(--ink); font-family: var(--mono); font-size: 10px; text-transform: uppercase; }
.skin__label--4 { background: rgba(20, 13, 43, .55); color: #fff; }
.carrier { position: absolute; top: calc(var(--depth) * 1%); width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, var(--cyan) 55%, rgba(92, 188, 200, 0) 75%); box-shadow: 0 0 18px 3px rgba(92, 188, 200, .6); transition: top 1.6s var(--ease); transition-delay: var(--dl, 0s); }
.carrier::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px solid rgba(92, 188, 200, .45); animation: pulse 2.6s ease-out infinite; }
.skin__readout { position: absolute; left: 12px; bottom: 10px; font-family: var(--mono); font-size: 10px; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.skin__readout b { margin-right: 6px; font-size: 22px; font-weight: 300; color: var(--rose); }
.step { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; opacity: .25; transition: opacity .8s; }
.step.is-active { opacity: 1; }
.step h3 { margin: 12px 0 14px; }
.step p { max-width: 30em; color: rgba(255, 255, 255, .7); }

/* Periodic table of actives */
.ptable { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line); }
.el { position: relative; display: flex; flex-direction: column; aspect-ratio: 1 / 1.08; padding: 12px; background: var(--paper); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: opacity .5s, background .4s; }
.el:hover { background: var(--rose-20); }
.js .ptable .el.is-dim, .ptable .el.is-dim { opacity: .16; }
.el__n { font-family: var(--mono); font-size: 10px; color: var(--muted); }
.el__sym { margin: auto 0 4px; font-size: clamp(34px, 4vw, 66px); font-weight: 200; letter-spacing: -.05em; line-height: 1; color: var(--violet); }
.el__name { font-size: 13px; line-height: 1.25; }
.el__keys { position: absolute; top: 13px; right: 12px; display: flex; gap: 3px; }
.el__keys i, .legend i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.k-regen { background: var(--cyan); } .k-collagen { background: var(--violet); } .k-barrier { background: var(--rose-deep); } .k-bright { background: #D98E73; } .k-micro { background: var(--violet-40); }
.hl-bar { margin-bottom: 20px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 20px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }

/* Process & checks */
.process { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line-light); }
.process > div { padding: 20px 16px 0 0; }
.process > div + div { padding-left: 16px; border-left: 1px solid var(--line-light); }
.process b { display: block; margin-bottom: 26px; font-size: 44px; font-weight: 150; letter-spacing: -.05em; line-height: 1; color: var(--rose); }
.process h3 { margin-bottom: 8px; font-size: 19px; font-weight: 300; }
.process p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .66); }
.checks2 { margin-top: clamp(60px, 7vw, 100px); border-top: 1px solid var(--line-light); }
.checks2 > div { display: grid; grid-template-columns: 60px minmax(0, 1fr) minmax(0, 1.6fr) 140px; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line-light); }
.checks2 p { margin: 0; font-size: 15px; color: rgba(255, 255, 255, .66); }

/* Collection catalogue */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line); }
.cat { position: relative; display: flex; flex-direction: column; min-height: 320px; padding: 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .4s; }
.cat:hover { background: var(--rose-20); }
.cat--hero { grid-column: span 2; grid-row: span 2; background: var(--rose-20); }
.cat--hero:hover { background: var(--rose-60); }
.cat--note { justify-content: space-between; background: var(--bone); }
.cat .product-visual { width: 30%; margin: auto auto 12px; opacity: .3; filter: saturate(.3) blur(1px); transition: opacity .6s, filter .6s, transform .8s var(--ease); }
.cat:hover .product-visual { opacity: .85; filter: none; transform: translateY(-6px); }
.cat--hero .product-visual { width: 24%; opacity: 1; filter: none; }
.cat__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cat b { font-size: 19px; font-weight: 300; }
.cat--hero b { font-size: clamp(34px, 4vw, 64px); font-weight: 200; letter-spacing: -.045em; }

/* Product page */
.pdp2__info { position: sticky; top: calc(var(--header-h) + 30px); align-self: start; }
.pdp2__plates { display: grid; gap: clamp(14px, 1.6vw, 24px); padding-left: clamp(0px, 2vw, 30px); }
.pdp2__plate { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; display: grid; place-items: center; }
.pdp2__plate figcaption { position: absolute; left: 14px; bottom: 12px; }
.pdp2__plate--front { background: var(--rose-20); }
.pdp2__plate--front .product-visual { width: 21%; }
.pdp2__plate--texture { background: radial-gradient(circle at 50% 45%, #6A4DB3, var(--violet) 40%, var(--night)); }
.pdp2__plate--actives { background: var(--paper); border: 1px solid var(--line-strong); }
.pdp2__plate--ritual { background: radial-gradient(60% 50% at 50% 60%, rgba(92, 188, 200, .3), transparent 70%), var(--night); }
.pdp2__plate--ritual .product-visual { width: 17%; transform: rotate(-12deg); }
.drop2 { width: 32%; aspect-ratio: 1; border-radius: 50% 50% 50% 50% / 58% 58% 42% 42%; background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .95) 0 3%, rgba(255, 255, 255, .25) 8%, transparent 22%), radial-gradient(circle at 50% 62%, #7E62CB, #4A2F8C 45%, #241848 82%); box-shadow: inset -24px -30px 60px rgba(0, 0, 0, .45), inset 16px 20px 50px rgba(157, 215, 222, .35), 0 40px 90px rgba(92, 188, 200, .25); animation: wobble 10s ease-in-out infinite; }
.diagram { position: relative; width: 50%; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line-strong); }
.diagram::before { content: ""; position: absolute; inset: 22%; border-radius: 50%; border: 1px dashed var(--line-strong); }
.diagram i { position: absolute; left: 50%; top: 50%; width: 14%; aspect-ratio: 1; transform: translate(-50%, -50%); background: var(--star-cyan) center/contain no-repeat; animation: spin 30s linear infinite; }
.diagram span { position: absolute; padding: 4px 8px; background: var(--paper); border: 1px solid var(--line-strong); font-family: var(--mono); font-size: 10px; text-transform: uppercase; white-space: nowrap; }
.sizes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 12px 0 8px; }
.size { padding: 14px; text-align: left; border: 1px solid var(--line-strong); transition: background .3s, color .3s, border-color .3s; }
.size b { display: block; font-size: 15px; font-weight: 400; }
.size small { font-family: var(--mono); font-size: 10px; text-transform: uppercase; color: var(--muted); }
.size[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.size[aria-pressed="true"] small { color: rgba(255, 255, 255, .7); }
.buy2 { display: flex; gap: 6px; }
.buy2 .a-btn { flex: 1; }
.perks2 { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); }
.perks2 li { padding: 10px 0; border-bottom: 1px solid var(--line); }

/* Ritual steps */
.steps-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.steps-row > div { padding: 24px 24px 0 0; }
.steps-row > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.steps-row svg { width: 84px; height: 84px; margin: 34px 0; fill: none; stroke: var(--violet); stroke-width: 1; }
.steps-row h3 { margin-bottom: 10px; }

/* Pipeline */
.bar { position: relative; display: block; width: 160px; height: 3px; background: var(--line); }
.bar i { position: absolute; inset: 0; background: var(--violet); transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform 1.8s var(--ease) .2s; }
.js [data-reveal]:not(.is-in) .bar i { transform: scaleX(0); }
.stage-label { display: block; margin-top: 8px; color: var(--muted); }
.notify { padding-bottom: 3px; border-bottom: 1px solid currentColor; font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; white-space: nowrap; transition: color .3s; }
.notify:hover { color: var(--violet); }
.tiers2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(30, 20, 64, .3); }
.tiers2 > div { padding: 24px 24px 0 0; }
.tiers2 > div + div { padding-left: 24px; border-left: 1px solid rgba(30, 20, 64, .2); }
.tiers2 h3 { margin: 14px 0 10px; }

/* House */
.house-plate { position: relative; margin: 0; aspect-ratio: 21 / 8; overflow: hidden; display: grid; place-items: center; background: var(--violet); }
.house-plate::before { content: ""; position: absolute; inset: -10%; background: url("../brand/wave-rose.svg") center/110% auto no-repeat; opacity: .22; }
.house-plate__star { position: relative; width: 7%; aspect-ratio: 1; background: var(--star-cyan) center/contain no-repeat; animation: spin 40s linear infinite; }
.house-plate .mono { position: absolute; color: rgba(255, 255, 255, .72); }
.theses { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.theses li { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(14px, 1.6vw, 24px); align-items: baseline; padding: clamp(18px, 2.4vw, 34px) 0; border-bottom: 1px solid var(--line); }
.theses .mono { grid-column: span 2; color: var(--muted); }
.theses .t-xl { grid-column: span 10; font-size: clamp(34px, 5vw, 86px); transition: color .4s, transform .8s var(--ease); }
.theses li:hover .t-xl { color: var(--violet); transform: translateX(12px); }
.cv { margin-top: 36px; border-top: 1px solid var(--ink); }
.cv > div { display: grid; grid-template-columns: 170px minmax(0, 1fr) 90px; gap: 16px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line); }
.equation { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; border-block: 1px solid var(--line-strong); }
.eq { padding: clamp(20px, 3vw, 40px) clamp(10px, 1.4vw, 22px); }
.eq .t-l { display: block; margin: 12px 0 14px; }
.eq p { margin: 0; font-size: 14.5px; color: var(--muted); }
.eq--result { background: var(--violet); color: var(--paper); }
.eq--result p { color: rgba(255, 255, 255, .72); }
.op { display: grid; place-items: center; padding: 0 6px; font-size: clamp(30px, 3vw, 52px); font-weight: 150; color: var(--cyan); }
.world2 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.world2 .cover { aspect-ratio: 3 / 4; margin-bottom: 14px; transition: transform 1.2s var(--ease); }
.world2 a:hover .cover { transform: scale(.97); }
.world2 h3 { margin-top: 6px; }
.world2 p { margin: 6px 0 0; font-size: 14.5px; color: var(--muted); }
.formats2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.formats2 article { display: flex; flex-direction: column; min-height: 430px; padding: 26px; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); transition: background .4s; }
.formats2 article:hover { background: rgba(255, 255, 255, .04); }
.formats2 .feat { background: rgba(230, 196, 168, .1); }
.formats2 h3 { margin: 12px 0 10px; }
.formats2 ul { list-style: none; margin: 24px 0; padding: 0; border-top: 1px solid var(--line-light); }
.formats2 li { padding: 10px 0; border-bottom: 1px solid var(--line-light); font-size: 15px; color: rgba(255, 255, 255, .8); }
.formats2 .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.formats2 .price { font-size: 26px; font-weight: 250; }

/* Journal */
.toolbar2 { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding-block: 16px; border-block: 1px solid var(--line-strong); }
.feature2 { align-items: end; }
.feature2 .cover { aspect-ratio: 16 / 10; transition: transform 1.4s var(--ease); }
.feature2:hover .cover { transform: scale(.985); }
.entries[data-view="grid"] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(30px, 4vw, 60px) clamp(14px, 1.6vw, 24px); }
.entry { display: block; }
.entries[data-view="grid"] .entry .cover { aspect-ratio: 4 / 5; margin-bottom: 16px; transition: transform 1.2s var(--ease); }
.entries[data-view="grid"] .entry:hover .cover { transform: scale(.97); }
.entry__meta { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; color: var(--muted); }
.entry__title { font-size: clamp(20px, 1.7vw, 26px); font-weight: 300; letter-spacing: -.015em; line-height: 1.2; transition: color .3s; }
.entry:hover .entry__title { color: var(--violet); }
.entries[data-view="list"] { border-top: 1px solid var(--line-strong); }
.entries[data-view="list"] .entry { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 22px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); transition: padding .6s var(--ease); }
.entries[data-view="list"] .entry:hover { padding-left: 14px; }
.entries[data-view="list"] .entry .cover { aspect-ratio: 1; }
.entries .empty-note { grid-column: 1 / -1; padding: 40px 0; text-align: center; color: var(--muted); }

@media (max-width: 1100px) {
  .ptable { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process > div:nth-child(4) { padding-left: 0; border-left: 0; }
  .cat-grid, .world2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .equation { grid-template-columns: 1fr; }
  .op { padding: 4px 0; }
}
@media (max-width: 900px) {
  .pathway { grid-template-columns: 1fr; gap: 0; }
  .pathway__visual { top: var(--header-h); height: 40vh; min-height: 280px; z-index: 2; }
  .stack__card { position: relative; top: auto; min-height: 0; row-gap: 20px; }
  .stack__num, .stack__body, .stack__card svg { grid-column: 1 / -1; justify-self: start; }
  .pdp2__info { position: static; margin-bottom: 40px; }
  .pdp2__plates { padding-left: 0; }
  .steps-row, .tiers2, .formats2 { grid-template-columns: 1fr; }
  .steps-row > div + div, .tiers2 > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .entries[data-view="grid"] { grid-template-columns: 1fr 1fr; }
  .cols2 { column-count: 1; }
  .checks2 > div { grid-template-columns: 40px 1fr; }
  .checks2 > div > :nth-child(n+3) { grid-column: 2; }
  .theses .mono, .theses .t-xl { grid-column: 1 / -1; }
  .cv > div { grid-template-columns: 1fr auto; }
  .cv > div > :nth-child(2) { grid-column: 1 / -1; order: 3; }
}
@media (max-width: 640px) {
  .ptable { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: 1fr; }
  .process > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-light); }
  .cat-grid, .world2, .entries[data-view="grid"] { grid-template-columns: 1fr; }
  .cat--hero { grid-column: auto; grid-row: auto; min-height: 460px; }
  .toc2 a { grid-template-columns: 40px 1fr; }
  .toc2 a > :nth-child(3) { display: none; }
  .house-plate { aspect-ratio: 4 / 3; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .a-meta { display: none; }
  .a-header__inner { grid-template-columns: auto 1fr; }
  .a-right { justify-self: end; }
}
@media (max-width: 1100px) {
  .a-nav { display: none; }
  .a-burger { display: inline-flex; }
  .catalogue { grid-template-columns: repeat(4, 1fr); }
  .index-list a { grid-template-columns: 90px minmax(0, 1fr) 70px 24px; }
  .index-list a > :nth-child(3) { display: none; }
}
@media (max-width: 900px) {
  .g12 > [class*="c-"] { grid-column: 1 / -1; }
  .sec-head { grid-template-columns: 1fr; }
  .sec-head .idx, .sec-head h2, .sec-head > p:last-child, .sec-head > div:last-child { grid-column: 1 / -1; }
  .a-hero__top > :nth-child(n+3) { display: none; }
  .a-hero__top > * { grid-column: span 6 !important; }
  .sheet { padding: 30px 0 0; }
  .anno { display: none; }
  .hs__sticky { position: static; height: auto; padding-block: 60px; }
  .hs__track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; transform: none !important; }
  .hs__panel { scroll-snap-align: start; height: auto; min-height: 460px; }
  .hs__bar { display: none; }
  .lab2__visual { margin-bottom: 40px; }
  .round { margin-top: 40px; }
  .row__body { padding-left: 0; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .a-shop { display: none; }
  .a-right { gap: 18px; }
  .catalogue { grid-template-columns: repeat(2, 1fr); }
  .index-list a { grid-template-columns: minmax(0, 1fr) 24px; gap: 10px; }
  .index-list a > :nth-child(1), .index-list a > :nth-child(4) { display: none; }
  .sheet dl div { grid-template-columns: 1fr; gap: 2px; }
  .stats2 { grid-template-columns: 1fr; }
  .stats2 div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-light); }
  .a-footer__cols { grid-template-columns: 1fr 1fr; }
  .row summary { grid-template-columns: 44px 1fr auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; clip-path: none; }
  .js .line-mask > span { transform: none; }
  .js .scrub .w { opacity: 1; }
}
