/* =====================================================================
   BINARY HELIX v2 — Light laboratory design system
   ---------------------------------------------------------------------
   Mood:   bright lab paper, pastel light, clay-and-glass 3D, natural
           photographic plates. No dark sections.
   Type:   Geist 500 display (tight), Geist 400 body, Geist Mono labels.
           Wordmark: Archivo Expanded 600 (logo only).

   COMPONENT INVENTORY — use these; add page-local CSS in <style>
   Layout ..... .container .container--narrow .container--wide .section .section--tight
                .section--paper (white) .section--mist (cool grey-white) .section--tint (pastel field)
                .grid .grid-2 .grid-3 .grid-4 .split .stack .row .center
   Type ....... .eyebrow .display-1 .display-2 .display-3 .h4 .lead .muted .small .mono .balance
                .statement (big paragraph, <span class="dim"> for grey words)
   Actions .... .btn .btn--primary (ink) .btn--ghost .btn--light .btn--sm .link-arrow
                .chip .chip--lav .chip--mint .chip--sky .chip--peach .chip--butter
   Surfaces ... .card .card--glass .card--lav/--mint/--sky/--peach/--butter
                .field (pastel gradient hero field)  .stats > .stat (hairline columns)
                .panel (tall atmospheric card: .viz background + .panel__body)
                .plate (photographic image frame: .viz + figcaption)
   Visuals .... .viz[data-viz="helix|chain|cells|mito|bubble|bottle|light|dapple|ink|micro|field"]
                data-opts='{"...": ...}' — rendered by js/viz.js (Three.js)
   Motion ..... [data-reveal] [data-stagger] [data-split] [data-count] .marquee
   Content .... .table-wrap > table.data  .callout(.callout--warn) .disclaimer details.accordion
                [data-tabs] [role=tablist] button[data-tab] + [data-panel]
                sup.cite > a   ol.references
   Store ...... .product-card .tone-* (studio backdrops)  BH.cart.add({...})
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@100..125,500..700&family=Geist:wght@300..700&family=Geist+Mono:wght@400;500&display=swap');

:root {
  --ground: #F6F5F1;
  --ground-2: #EEECE6;
  --paper: #FFFFFF;
  --mist: #F1F3F2;
  --ink: #16181D;
  --ink-2: #555B66;
  --ink-3: #80868F;
  --line: rgba(22, 24, 29, .1);
  --line-strong: rgba(22, 24, 29, .2);

  /* pastels (unchanged from v1) */
  --lav: #DCD5F6;   --lav-deep: #6E5FC7;
  --mint: #D2ECE1;  --mint-deep: #2F8067;
  --sky: #D3E4F4;   --sky-deep: #336A9E;
  --peach: #F8DDCD; --peach-deep: #B5623A;
  --butter: #F2EBC8; --butter-deep: #8A7420;
  --rose: #F5D8E0;  --rose-deep: #A34467;
  --sage: #DCE5D3;
  --coral-deep: #B8483F;

  /* pastel fields */
  --field: linear-gradient(128deg, #C9DDF3 0%, #D4E9E2 46%, #E7EFCB 100%);
  --field-lav: linear-gradient(140deg, #E3DCF8 0%, #D9E6F5 55%, #E2F0E9 100%);
  --field-peach: linear-gradient(140deg, #F7E1D3 0%, #F4E6DE 45%, #EDE8F5 100%);

  --f-sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --f-mark: 'Archivo', 'Geist', system-ui, sans-serif;

  --radius-sm: 10px; --radius: 18px; --radius-lg: 28px; --radius-pill: 999px;
  --shadow-1: 0 1px 2px rgba(22,24,29,.04), 0 8px 24px -8px rgba(22,24,29,.08);
  --shadow-2: 0 2px 6px rgba(22,24,29,.04), 0 30px 60px -20px rgba(22,24,29,.16);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-1: 180ms; --dur-2: 420ms; --dur-3: 900ms;
  --header-h: 72px;
  --z-header: 100; --z-drawer: 400; --z-toast: 500;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; font-family: var(--f-sans); font-size: 17px; line-height: 1.55; letter-spacing: -0.005em;
  color: var(--ink); background: var(--ground); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--lav-deep); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--lav); color: var(--ink); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.035em; line-height: 1.02; }
main [id] { scroll-margin-top: calc(var(--header-h) + 24px); }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; }
:where([data-icon]) { display: inline-flex; align-items: center; justify-content: center; }
:where([data-icon]) > svg { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 clamp(20px, 3.4vw, 44px); }
.container--narrow { max-width: 900px; }
.container--wide { max-width: 1600px; }
.section { padding: clamp(80px, 11vw, 160px) 0; position: relative; }
.section--tight { padding: clamp(52px, 7vw, 96px) 0; }
.section--paper { background: var(--paper); }
.section--mist { background: var(--mist); }
.section--tint { background: var(--field-lav); }
.grid { display: grid; gap: clamp(14px, 1.6vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.stack > * + * { margin-top: 24px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) { .grid-2, .grid-3, .grid-4, .split { grid-template-columns: 1fr; } }

/* ---------- Type ---------- */
.eyebrow { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lav-deep); }
.eyebrow--plain::before { display: none; }
.display-1 { font-size: clamp(46px, 7vw, 104px); font-weight: 500; letter-spacing: -0.045em; line-height: .98; }
.display-2 { font-size: clamp(36px, 4.8vw, 72px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.display-3 { font-size: clamp(28px, 3vw, 44px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; }
.h4 { font-size: clamp(19px, 1.5vw, 23px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.dim { color: var(--ink-3); }
.lead { font-size: clamp(18px, 1.35vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 60ch; letter-spacing: -0.012em; }
.statement { font-size: clamp(30px, 3.6vw, 56px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.1; max-width: 26ch; text-wrap: balance; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }
.mono { font-family: var(--f-mono); font-size: .86em; }
.balance { text-wrap: balance; }

/* ---------- Buttons ---------- */
.btn { --bg: transparent; --fg: var(--ink); --bd: var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 22px;
  border-radius: var(--radius-pill); background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; touch-action: manipulation;
  transition: background var(--dur-2) var(--ease-out), border-color var(--dur-2), color var(--dur-2), transform var(--dur-1) var(--ease-out); }
.btn svg { width: 15px; height: 15px; transition: transform var(--dur-2) var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn--primary { --bg: var(--ink); --fg: #F6F5F1; --bd: var(--ink); }
.btn--primary:hover { --bg: #2A2D34; --bd: #2A2D34; }
.btn--ghost:hover { --bd: var(--ink); --bg: rgba(22,24,29,.04); }
.btn--light { --bg: rgba(255,255,255,.72); --fg: var(--ink); --bd: rgba(255,255,255,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn--light:hover { --bg: #fff; }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow svg { width: 14px; height: 14px; transition: transform var(--dur-2) var(--ease-out); }
.link-arrow:hover svg { transform: translate(3px, -3px); }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 3px 11px; border-radius: var(--radius-pill);
  font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; background: rgba(22,24,29,.06); color: var(--ink); white-space: nowrap; }
.chip--lav { background: var(--lav); color: #45389A; } .chip--mint { background: var(--mint); color: #1F5E4B; }
.chip--sky { background: var(--sky); color: #25547F; } .chip--peach { background: var(--peach); color: #8A4722; }
.chip--butter { background: var(--butter); color: #6B5A15; } .chip--rose { background: var(--rose); color: #862F52; }
.chip--coral { background: #F8DEDA; color: #93352E; }
.callout--coral { background: #F8DEDA; }

/* ---------- Surfaces ---------- */
.card { background: var(--paper); border-radius: var(--radius); padding: clamp(22px, 2.4vw, 36px); border: 1px solid var(--line); position: relative; overflow: hidden;
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out); }
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.card--glass { background: rgba(255,255,255,.62); border-color: rgba(255,255,255,.85); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); box-shadow: var(--shadow-1); }
.card--lav { background: var(--lav); border-color: transparent; } .card--mint { background: var(--mint); border-color: transparent; }
.card--sky { background: var(--sky); border-color: transparent; } .card--peach { background: var(--peach); border-color: transparent; }
.card--butter { background: var(--butter); border-color: transparent; }

/* pastel gradient field (diag-nose-style hero) */
.field { position: relative; background: var(--field); border-radius: 0 0 var(--radius-lg) var(--radius-lg); overflow: hidden; isolation: isolate; }
.field--lav { background: var(--field-lav); } .field--peach { background: var(--field-peach); }
.field > .viz { position: absolute; inset: 0; z-index: -1; }

/* hairline stats row */
.stats { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: 22px 22px 6px 0; border-right: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.stat + .stat { padding-left: 22px; }
.stat:last-child { border-right: 0; }
.stat__num { font-size: clamp(34px, 3.6vw, 54px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__label { font-size: 14px; color: var(--ink-2); }
@media (max-width: 768px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat { border-right: 0; padding-left: 0 !important; border-bottom: 1px solid var(--line); padding-bottom: 18px; } }

/* tall atmospheric panel (Pause · Ground · Reflect) */
.panel { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: clamp(420px, 42vw, 580px); border-radius: var(--radius-lg);
  overflow: hidden; isolation: isolate; padding: 22px; color: var(--ink); background: var(--mist); transition: transform var(--dur-3) var(--ease-out); }
.panel > .viz { position: absolute; inset: 0; z-index: -1; transition: transform 1.2s var(--ease-out); }
a.panel:hover > .viz { transform: scale(1.035); }
.panel__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.panel__tag { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; border-radius: var(--radius-pill); background: rgba(255,255,255,.66); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.panel__body { display: grid; gap: 10px; }
.panel__title { font-size: clamp(26px, 2.4vw, 36px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.02; }
.panel__text { font-size: 15px; color: var(--ink-2); max-width: 34ch; margin: 0; }
.panel__go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.panel__go svg { width: 16px; height: 16px; transition: transform var(--dur-2) var(--ease-out); }
a.panel:hover .panel__go svg { transform: translate(2px, -2px); }

/* photographic plate */
.plate { margin: 0; display: grid; gap: 12px; }
.plate__frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: var(--ar, 4 / 5); background: var(--mist); isolation: isolate; }
.plate__frame > .viz { position: absolute; inset: 0; }
.plate__tag { position: absolute; left: 14px; top: 14px; z-index: 1; font-family: var(--f-mono); font-size: 11px; letter-spacing: .03em; text-transform: uppercase; padding: 5px 10px; border-radius: var(--radius-pill); background: rgba(255,255,255,.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.plate figcaption { display: flex; justify-content: space-between; gap: 16px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .02em; text-transform: uppercase; color: var(--ink-3); }

/* visual host */
.viz { position: relative; width: 100%; height: 100%; min-height: 1px; overflow: hidden; }
.viz > canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.viz[data-loading="true"]::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%) -100% 0 / 200% 100%; animation: vizShimmer 1.6s linear infinite; }
@keyframes vizShimmer { to { background-position: 100% 0; } }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: var(--z-header); height: var(--header-h); display: flex; align-items: center;
  transition: background var(--dur-2), box-shadow var(--dur-2), transform var(--dur-2) var(--ease-out); }
.site-header.is-scrolled { background: rgba(246,245,241,.78); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__icon { height: 34px; width: auto; flex: none; }
/* Wordmark is half the icon height, vertically centred; gap is about a third of the icon height */
.brand__name { font-family: var(--f-mark); font-weight: 600; font-stretch: 125%; font-size: 17px; letter-spacing: .03em; text-transform: uppercase; line-height: 1; }
.site-footer .brand { gap: 12px; }
.site-footer .brand__icon { height: 38px; }
.site-footer .brand__name { font-size: 19px; }
.nav { display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: var(--radius-pill); }
.site-header:not(.is-scrolled) .nav { background: rgba(255,255,255,.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav a { padding: 7px 13px; border-radius: var(--radius-pill); font-size: 14.5px; color: var(--ink-2); transition: background var(--dur-1), color var(--dur-1); }
.nav a:hover { color: var(--ink); background: rgba(22,24,29,.05); }
.nav a[aria-current="page"] { color: var(--ink); background: #fff; box-shadow: 0 1px 2px rgba(22,24,29,.06); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.6); border: 1px solid var(--line); position: relative; transition: background var(--dur-1); }
.icon-btn:hover { background: #fff; }
.icon-btn svg { width: 17px; height: 17px; }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 600; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.cart-count[data-empty="true"] { display: none; }
.menu-toggle { display: none; }
@media (max-width: 1300px) { .nav { display: none; } .menu-toggle { display: grid; } .header-actions .btn { display: none; } }
.mobile-nav { position: fixed; inset: 0; z-index: calc(var(--z-header) - 1); background: var(--ground); padding: calc(var(--header-h) + 20px) clamp(20px, 5vw, 44px) 40px;
  display: flex; flex-direction: column; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity var(--dur-2), visibility var(--dur-2); }
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-nav a { font-size: clamp(28px, 7vw, 42px); font-weight: 500; letter-spacing: -0.035em; padding: 10px 0; border-bottom: 1px solid var(--line); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ground-2); padding: clamp(64px, 8vw, 110px) 0 28px; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 36px; }
.footer-col h4 { font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 15px; }
.footer-col a:hover { color: var(--lav-deep); }
.footer-mark { font-family: var(--f-mark); font-weight: 600; font-stretch: 125%; text-transform: uppercase; line-height: .9; white-space: nowrap; letter-spacing: .01em;
  font-size: clamp(30px, 8.2vw, 132px); margin-top: clamp(56px, 8vw, 100px); color: transparent; -webkit-text-stroke: 1px rgba(22,24,29,.14); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 22px; font-size: 13px; color: var(--ink-3); }
.newsletter { display: flex; gap: 8px; margin-top: 18px; max-width: 420px; }
.newsletter input { flex: 1; min-height: 46px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); background: #fff; padding: 0 18px; font: inherit; font-size: 15px; }
@media (max-width: 1024px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: 1 / -1; } }

/* ---------- Page hero (subpages) ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(48px, 6vw, 88px); isolation: isolate; overflow: hidden; }
.page-hero.field { min-height: min(86vh, 860px); display: flex; align-items: flex-end; }
.page-hero__viz { position: absolute; inset: 0; z-index: -1; }
.page-hero .display-1 { margin: 18px 0 24px; }

/* ---------- Content blocks ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
table.data th, table.data td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); background: var(--ground); }
table.data tr:last-child td { border-bottom: 0; }
table.data td:first-child { font-weight: 500; }
.callout { border-radius: var(--radius); padding: 20px 24px; background: var(--sky); display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.callout svg { width: 20px; height: 20px; margin-top: 3px; }
.callout--warn { background: var(--butter); } .callout--rose { background: var(--rose); }
.disclaimer { font-size: 13px; line-height: 1.6; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 20px; margin-top: 40px; }
details.accordion { border-top: 1px solid var(--line); }
details.accordion:last-of-type { border-bottom: 1px solid var(--line); }
details.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: clamp(18px, 1.4vw, 21px); font-weight: 500; letter-spacing: -0.02em; min-height: 44px; }
details.accordion summary::-webkit-details-marker { display: none; }
details.accordion summary::after { content: "+"; font-size: 24px; font-weight: 300; transition: transform var(--dur-2) var(--ease-out); }
details.accordion[open] summary::after { transform: rotate(45deg); }
details.accordion .accordion__body { padding: 0 0 26px; color: var(--ink-2); max-width: 72ch; }
[data-tabs] [role="tablist"] { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: var(--radius-pill); background: rgba(22,24,29,.06); }
[data-tabs] [role="tab"] { border: 0; background: transparent; padding: 9px 17px; min-height: 42px; border-radius: var(--radius-pill); font-weight: 500; font-size: 14.5px; color: var(--ink-2); transition: background var(--dur-1), color var(--dur-1); }
[data-tabs] [role="tab"][aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(22,24,29,.08); }
[data-panel][hidden] { display: none !important; }
[data-panel] { animation: panelIn var(--dur-2) var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(6px); } }
sup.cite { font-family: var(--f-mono); font-size: .62em; margin-left: 1px; }
sup.cite a { color: var(--lav-deep); padding: 0 1px; }
sup.cite a:hover { text-decoration: underline; }
ol.references { padding-left: 1.4em; display: grid; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
ol.references li { padding-left: 6px; scroll-margin-top: 110px; }
ol.references li:target { background: var(--butter); border-radius: 6px; }

/* marquee */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 52s linear infinite; }
.marquee__item { display: inline-flex; align-items: center; gap: 48px; font-size: clamp(20px, 2vw, 28px); font-weight: 500; letter-spacing: -0.03em; white-space: nowrap; color: var(--ink-2); }
.marquee__item::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Motion (content visible at rest; reveal is a gentle lift) ---------- */
[data-reveal] { opacity: .001; transform: translate3d(0, 24px, 0); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0ms); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-stagger] > * { opacity: .001; transform: translate3d(0, 20px, 0); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
[data-stagger].is-in > * { opacity: 1; transform: none; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
[data-split] .w > span { display: inline-block; transform: translate3d(0, 104%, 0); transition: transform 1s var(--ease-out); transition-delay: var(--d, 0ms); }
[data-split].is-in .w > span { transform: none; }
.no-js [data-reveal], .no-js [data-stagger] > * { opacity: 1; transform: none; }

/* ---------- Store ---------- */
.product-card { display: flex; flex-direction: column; gap: 12px; }
.product-card__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; isolation: isolate; }
.product-card__media > .viz, .product-card__media > .pkg { position: absolute; inset: 0; }
.product-card__media .chip { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.78); z-index: 1; }
.product-card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.product-card__name { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
.product-card__price { font-variant-numeric: tabular-nums; }
.tone-mint { background: radial-gradient(120% 90% at 50% 20%, #E6F4EE, #CFE8DD); }
.tone-lav { background: radial-gradient(120% 90% at 50% 20%, #EEEAFB, #D9D1F4); }
.tone-peach { background: radial-gradient(120% 90% at 50% 20%, #FBEDE4, #F4D9C8); }
.tone-sky { background: radial-gradient(120% 90% at 50% 20%, #E7F0F9, #CEDFF0); }
.tone-butter { background: radial-gradient(120% 90% at 50% 20%, #F8F4E1, #EDE4BF); }
.tone-rose { background: radial-gradient(120% 90% at 50% 20%, #FAEBEF, #F1D2DC); }
.tone-sage { background: radial-gradient(120% 90% at 50% 20%, #ECF1E6, #D7E1CD); }
.tone-coral { background: radial-gradient(120% 90% at 50% 20%, #FBECEA, #F3D3CF); }
.tone-ink, .tone-ground { background: radial-gradient(120% 90% at 50% 20%, #F4F3EF, #E4E2DB); }
.pkg { position: relative; display: grid; place-items: center; }
.pkg svg { width: 100%; height: 100%; }

/* drawer & toast */
.drawer-scrim { position: fixed; inset: 0; background: rgba(22,24,29,.28); backdrop-filter: blur(3px); z-index: var(--z-drawer); opacity: 0; visibility: hidden; transition: opacity var(--dur-2), visibility var(--dur-2); }
.drawer-scrim.is-open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--ground); z-index: calc(var(--z-drawer) + 1); transform: translateX(100%); visibility: hidden;
  transition: transform .6s var(--ease-out), visibility .6s; display: flex; flex-direction: column; }
.drawer.is-open { transform: none; visibility: visible; box-shadow: -30px 0 80px rgba(22,24,29,.14); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer__body { flex: 1; overflow-y: auto; padding: 14px 22px; }
.drawer__foot { padding: 18px 22px 26px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.cart-line { display: grid; grid-template-columns: 70px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-line__thumb { width: 70px; height: 80px; border-radius: 12px; display: grid; place-items: center; padding: 6px; }
.cart-line__thumb svg { width: 100%; height: 100%; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); }
.qty button { width: 32px; height: 32px; border: 0; background: none; font-size: 16px; }
.qty span { min-width: 20px; text-align: center; font-variant-numeric: tabular-nums; font-size: 14px; }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, calc(100% + 60px)); z-index: var(--z-toast); background: var(--ink); color: #fff; padding: 13px 20px; border-radius: var(--radius-pill); font-size: 14.5px; box-shadow: var(--shadow-2); transition: transform .5s var(--ease-out); }
.toast.is-on { transform: translate(-50%, 0); }

/* utility */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.mt-0 { margin-top: 0; } .mt-4 { margin-top: 16px; } .mt-5 { margin-top: 24px; } .mt-6 { margin-top: 32px; } .mt-7 { margin-top: 48px; } .mt-8 { margin-top: 64px; }
.mb-0 { margin-bottom: 0; } .mb-5 { margin-bottom: 24px; } .mb-7 { margin-bottom: 48px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.sticky { position: sticky; top: calc(var(--header-h) + 24px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal], [data-stagger] > *, [data-split] .w > span { opacity: 1 !important; transform: none !important; }
}
