/* ==========================================================================
   crudeFree website — built on crudeFree Design System v1.0 (Figma)
   Colours, type and components follow the Figma "🎨 crudeFree Design System"
   page. Lime is an accent only. Inter Extra Bold for headlines; Fraunces only
   for the HEALTHY MATERIALS CO. mark.
   ========================================================================== */
:root {
  /* colour (DS v1.0) */
  --cream: #F2EDE4;          /* color/background/primary */
  --cream-2: #E9E2D5;        /* alternate band */
  --paper: #FBF9F5;          /* raised surfaces */
  --ink: #1A1A1A;            /* color/text/primary */
  --ink-2: #5C5A55;          /* color/text/secondary (accessible) */
  --line: #D9D1C2;
  --green-900: #142E2A;      /* color/background/dark */
  --green-800: #1C3A2A;      /* color/background/mid */
  --green-700: #26503A;
  --brand-green: #1C7A3C;    /* logo "crude" */
  --lime: #C8F135;           /* color/accent/primary — accent only */
  --lime-alt: #CFFF51;       /* color/accent/alt */
  --on-dark: #F2EDE4;
  --on-dark-2: #B9C4B6;
  --oxide: #A1412A;          /* "left out" strikethroughs only */

  /* type */
  --font: "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
  --brandfont: "Fraunces", Georgia, serif;
  --t-hero: clamp(2.6rem, 1.4rem + 5.2vw, 6rem);     /* DS Display 96 */
  --t-xl: clamp(2rem, 1.3rem + 2.8vw, 3.5rem);        /* DS Title L 56 */
  --t-l: clamp(1.5rem, 1.15rem + 1.3vw, 2.25rem);     /* DS Title M 36 */
  --t-m: 1.25rem;
  --t-body-l: 1.125rem;                               /* DS Body L 18/28 */
  --t-body: 1rem;
  --t-s: 0.875rem;                                    /* DS Body S 14/22 */
  --t-label: 0.6875rem;                               /* DS Label 10–11 caps */

  /* spacing (DS: 4 8 12 16 24 32 48 60 80 120) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s6: 24px; --s8: 32px;
  --s12: 48px; --s15: 60px; --s20: 80px; --s30: 120px;
  --section: clamp(64px, 40px + 6vw, 120px);
  --gutter: clamp(16px, 4vw, 60px);                   /* DS 60px outer margin */
  --max: 1320px;

  --r-s: 6px; --r-m: 14px; --r-l: 24px; --pill: 999px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 var(--t-body)/1.6 var(--font); -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--green-900); z-index: 60; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--green-900); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .dark :focus-visible { outline-color: var(--lime); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--lime); color: var(--green-900); padding: 10px 16px; border-radius: var(--pill); font-weight: 700; }
.skip:focus { left: 16px; }

/* ---------- layout ---------- */
.wrap { max-width: var(--max); margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.section { padding-block: var(--section); position: relative; }
.band { background: var(--cream-2); }
.dark { background: var(--green-900); color: var(--on-dark); }
.mid { background: var(--green-800); color: var(--on-dark); }
.paper { background: var(--paper); }
.tex-lime { background-color: var(--cream); background-image: url("../img/textures/lime.webp"); background-size: 256px; }
.tex-linseed { background-color: var(--green-900); background-image: url("../img/textures/linseed.webp"); background-size: 256px; }
.grid { display: grid; gap: var(--s6); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); } }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; text-wrap: balance; }
h1 { font-size: var(--t-hero); }
h2 { font-size: var(--t-xl); letter-spacing: -0.028em; }
h3 { font-size: var(--t-l); letter-spacing: -0.02em; line-height: 1.1; }
h4 { font-size: var(--t-m); letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: var(--t-body-l); line-height: 1.56; color: var(--ink-2); max-width: 60ch; }
.dark .lead, .mid .lead { color: var(--on-dark-2); }
.small { font-size: var(--t-s); line-height: 1.57; }
.muted { color: var(--ink-2); }
.dark .muted, .mid .muted { color: var(--on-dark-2); }
.label { display: inline-block; font-size: var(--t-label); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.dark .label, .mid .label { color: var(--on-dark-2); }
.label--lime { color: var(--green-700); }
.dark .label--lime { color: var(--lime); }
/* DS: lime underline accent under key headline words (4–8px, rounded) */
.hl { background-image: linear-gradient(var(--lime), var(--lime)); background-repeat: no-repeat; background-size: 100% .14em; background-position: 0 92%; padding-bottom: .04em; border-radius: 2px; }
.dark .hl, .mid .hl { color: var(--lime); background: none; }
.num { font-variant-numeric: tabular-nums; }
.price { font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price small { font-weight: 500; font-size: .7em; letter-spacing: 0; color: var(--ink-2); }
.measure { max-width: 64ch; }
.stack > * + * { margin-top: var(--s4); }
.stack-l > * + * { margin-top: var(--s6); }
.sec-head { display: grid; gap: var(--s4); margin-bottom: clamp(32px, 4vw, 56px); max-width: 52rem; }
.sec-head--row { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--s6); }
@media (max-width: 760px) { .sec-head--row { grid-template-columns: minmax(0, 1fr); } }

/* DS ghost watermark: 4–6% opacity */
.ghost { position: absolute; pointer-events: none; user-select: none; font-weight: 800; letter-spacing: -0.04em; line-height: .85; color: currentColor; opacity: .05; white-space: nowrap; z-index: 0; }
.ghost-cloud { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.ghost-cloud span { position: absolute; font-weight: 800; letter-spacing: -.02em; opacity: .05; white-space: nowrap; }

/* ---------- buttons (DS: Primary lime, Secondary dark, Outline) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: var(--pill); border: 1.5px solid transparent; font-weight: 700; font-size: 1rem; letter-spacing: -0.005em; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn--lime { background: var(--lime); color: var(--green-900); }
.btn--lime:hover { background: var(--lime-alt); }
.btn--dark { background: var(--green-900); color: var(--cream); }
.btn--dark:hover { background: var(--green-700); }
.btn--outline { border-color: var(--green-900); color: var(--green-900); background: transparent; }
.btn--outline:hover { background: var(--green-900); color: var(--cream); }
.dark .btn--outline, .mid .btn--outline { border-color: var(--on-dark); color: var(--on-dark); }
.dark .btn--outline:hover, .mid .btn--outline:hover { background: var(--on-dark); color: var(--green-900); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn--wa::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--wa-icon) center/contain no-repeat; mask: var(--wa-icon) center/contain no-repeat; }
:root { --wa-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm0 18.2a8.2 8.2 0 0 1-4.2-1.1l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8s-.4-.1-.6.1-.7.8-.8 1-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.2-.4.2-.4.7-1.3a.5.5 0 0 0 0-.4l-.8-1.9c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.8 11.9 11.9 0 0 0 4.6 4c1.7.7 2.4.8 3.2.7a2.8 2.8 0 0 0 1.8-1.3 2.3 2.3 0 0 0 .2-1.3c-.1-.1-.3-.2-.5-.3z'/%3E%3C/svg%3E"); }
.link { font-weight: 700; color: var(--green-900); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.link:hover { text-decoration-color: var(--green-900); }
.dark .link, .mid .link { color: var(--on-dark); }
.dark .link:hover, .mid .link:hover { text-decoration-color: var(--on-dark); }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }

/* ---------- badges (DS certification badge) ---------- */
.badges { display: flex; flex-wrap: wrap; gap: var(--s2); }
.badge { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 12px; border-radius: var(--pill); border: 1px solid var(--green-900); font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-900); background: transparent; }
.badge--lime { background: var(--lime); border-color: var(--lime); }
.badge--dark { background: var(--green-900); color: var(--lime); }
.dark .badge, .mid .badge { border-color: var(--on-dark-2); color: var(--on-dark); }

/* ---------- announcement + header ---------- */
.announce { background: var(--green-900); color: var(--on-dark); font-size: .8125rem; }
.announce .wrap { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); min-height: 36px; padding-block: 6px; }
.announce a { color: var(--lime); font-weight: 600; text-decoration: none; }
.announce a:hover { text-decoration: underline; }
.announce .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); margin-right: 8px; vertical-align: 1px; box-shadow: 0 0 0 0 rgba(200,241,53,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(200,241,53,.55); } 70% { box-shadow: 0 0 0 8px rgba(200,241,53,0); } 100% { box-shadow: 0 0 0 0 rgba(200,241,53,0); } }
@media (max-width: 760px) { .announce .hide-m { display: none; } }

.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(242, 237, 228, .94); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-head.scrolled { border-bottom-color: var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: var(--s6); min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 52px; height: auto; }
.hmc { font-family: var(--brandfont); font-variation-settings: "WONK" 1, "SOFT" 0; font-weight: 500; font-size: .8125rem; line-height: 1.05; letter-spacing: .02em; text-transform: uppercase; color: var(--green-900); }
.hmc em { font-style: italic; text-transform: none; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); margin-left: auto; }
.nav > a, .nav .nav-drop > button { text-decoration: none; font-weight: 600; font-size: .9375rem; background: none; border: 0; padding: 8px 0; cursor: pointer; color: var(--ink); position: relative; }
.nav > a::after, .nav .nav-drop > button::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 3px; border-radius: 2px; background: var(--lime); transition: right .25s var(--ease); }
.nav > a:hover::after, .nav > a[aria-current="page"]::after, .nav .nav-drop:hover > button::after { right: 0; }
.nav-drop { position: relative; }
.nav-drop > button { display: inline-flex; align-items: center; gap: 6px; }
.nav-drop > button::before { content: ""; order: 2; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.mega { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-30%); width: min(760px, 90vw); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); padding: var(--s6); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; box-shadow: 0 24px 60px -20px rgba(20, 46, 42, .25); opacity: 0; visibility: hidden; translate: 0 6px; transition: opacity .2s, translate .2s, visibility .2s; }
.nav-drop:hover .mega, .nav-drop:focus-within .mega, .nav-drop.open .mega { opacity: 1; visibility: visible; translate: 0 0; }
.mega a { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px; border-radius: var(--r-m); text-decoration: none; }
.mega a:hover { background: var(--cream); }
.mega i { width: 52px; height: 52px; border-radius: 12px; background-size: 140px; display: block; }
.mega strong { display: block; font-size: .9375rem; }
.mega span { display: block; font-size: .8125rem; color: var(--ink-2); line-height: 1.35; }
.mega .mega-all { grid-column: 1 / -1; display: flex; justify-content: space-between; background: var(--green-900); color: var(--cream); padding: 14px 18px; margin-top: 6px; }
.mega .mega-all:hover { background: var(--green-700); }
.head-cta { display: flex; gap: var(--s2); align-items: center; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--green-900); background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: var(--green-900); border-radius: 2px; position: relative; transition: transform .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.drawer { display: none; }
@media (max-width: 1080px) {
  .nav, .head-cta .btn--outline { display: none; }
  .menu-btn { display: inline-flex; }
  .head-cta { margin-left: auto; }
  .drawer { display: block; position: fixed; inset: 0; top: calc(env(safe-area-inset-top, 0px) + 76px); background: var(--cream); z-index: 49; overflow-y: auto; padding: var(--s6) max(var(--gutter), env(safe-area-inset-right, 0px)) calc(var(--s12) + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px)); transform: translateX(100%); transition: transform .3s var(--ease); visibility: hidden; }
  .drawer.open { transform: none; visibility: visible; }
  .drawer a { display: block; text-decoration: none; font-weight: 800; font-size: 1.75rem; letter-spacing: -.02em; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .drawer .sub a { font-size: 1.0625rem; font-weight: 600; padding: 8px 0 8px 14px; border: 0; color: var(--ink-2); }
  .drawer .cta-row { margin-top: var(--s8); }
  .drawer .cta-row .btn { flex: 1 1 100%; }
}
@media (max-width: 520px) { .head-cta .btn--lime { padding: 0 16px; font-size: .875rem; min-height: 44px; } .hmc { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 104px); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin: var(--s4) 0 var(--s6); }
.hero .lead { margin-bottom: var(--s8); }
.proof { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: var(--s8); padding-top: var(--s6); border-top: 1px solid var(--line); list-style: none; padding-left: 0; }
.proof li { display: flex; align-items: baseline; gap: 8px; font-size: .875rem; color: var(--ink-2); }
.proof b { font-size: 1.375rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.hero-media { position: relative; }
.hero-media .photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-l); background: var(--cream-2); }
.hero-media figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(20, 46, 42, .82); color: var(--cream); font-size: .75rem; padding: 6px 12px; border-radius: var(--pill); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.float-label { position: absolute; right: -18px; top: 28px; width: min(270px, 70%); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero-media .photo { aspect-ratio: 4 / 3; } .float-label { right: 12px; top: 12px; width: min(250px, 62%); } }
@media (max-width: 520px) { .float-label { display: none; } }
.page-hero { padding-block: clamp(40px, 6vw, 88px) clamp(32px, 4vw, 56px); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.75rem); margin: var(--s3) 0 var(--s4); max-width: 18ch; }
.crumbs { font-size: .8125rem; color: var(--ink-2); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }

/* ---------- ticker ---------- */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--paper); }
.ticker-track { display: flex; gap: 40px; width: max-content; padding-block: 14px; animation: tick 40s linear infinite; }
.ticker-track span { display: inline-flex; align-items: center; gap: 40px; font-weight: 800; font-size: .9375rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green-900); white-space: nowrap; }
.ticker-track span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- ingredient label (signature) ---------- */
.ilabel { background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); border-radius: var(--r-m); padding: 18px 20px; box-shadow: 0 18px 40px -22px rgba(20, 46, 42, .45); font-size: .875rem; }
.ilabel .ilabel-title { font-weight: 800; font-size: 1.125rem; letter-spacing: -.01em; margin: 4px 0 10px; }
.ilabel hr { border: 0; border-top: 1.5px solid var(--ink); margin: 10px 0; }
.ilabel ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 3px; }
.ilabel .in li::before { content: "+"; display: inline-block; width: 16px; font-weight: 800; color: var(--brand-green); }
.ilabel .out li { color: var(--ink-2); text-decoration: line-through; text-decoration-color: var(--oxide); text-decoration-thickness: 1.5px; }
.ilabel .out li::before { content: "–"; display: inline-block; width: 16px; font-weight: 800; color: var(--oxide); text-decoration: none; }
.ilabel dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; }
.ilabel dt { font-size: .625rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); padding-top: 3px; }
.ilabel dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- swap cards (DS: dark header band 25%) ---------- */
.swaps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); }
@media (max-width: 1000px) { .swaps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .swaps { grid-template-columns: minmax(0, 1fr); } }
.swap { display: grid; grid-template-rows: auto auto 1fr; border-radius: var(--r-l); overflow: hidden; background: var(--paper); border: 1px solid var(--line); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.swap:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(20, 46, 42, .45); }
.swap-head { background: var(--green-900); color: var(--on-dark); padding: 18px 22px 20px; display: grid; gap: 6px; }
.swap-head .label { color: var(--lime); }
.swap-head .from { font-size: 1rem; color: var(--on-dark-2); text-decoration: line-through; text-decoration-color: var(--oxide); text-decoration-thickness: 2px; }
.swap-img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; background: var(--cream-2); }
.swap-body { padding: 20px 22px 24px; display: grid; gap: 10px; align-content: start; }
.swap-body h3 { font-size: 1.5rem; }
.swap-body .foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--line); }
.swap-body .go { font-weight: 700; font-size: .875rem; color: var(--green-900); }
.swap:hover .go { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 4px; }

/* ---------- stat callout (DS) ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(242, 237, 228, .14); border-radius: var(--r-l); overflow: hidden; }
.stat { background: var(--green-900); padding: clamp(24px, 3vw, 40px); display: grid; gap: 10px; align-content: start; }
.stat b { font-size: clamp(3rem, 2rem + 4vw, 5.5rem); font-weight: 800; letter-spacing: -.05em; line-height: .9; color: var(--lime); }
.stat p { color: var(--on-dark); font-size: 1.0625rem; max-width: 26ch; }
.stat cite { font-style: normal; font-size: .75rem; color: var(--on-dark-2); }
@media (max-width: 860px) { .stats { grid-template-columns: minmax(0, 1fr); } }

/* ---------- category tiles ---------- */
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); }
@media (max-width: 1100px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cats { grid-template-columns: minmax(0, 1fr); } }
.cat { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 300px; padding: 18px; border-radius: var(--r-l); overflow: hidden; text-decoration: none; color: var(--ink); background-size: 256px; isolation: isolate; transition: transform .3s var(--ease); }
.cat:hover { transform: translateY(-4px); }
.cat-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .6s var(--ease); }
.cat:hover .cat-img { transform: scale(1.04); }
.cat .count { align-self: flex-start; background: var(--paper); border-radius: var(--pill); padding: 4px 12px; font-size: .75rem; font-weight: 700; }
.cat-card { background: var(--paper); border-radius: var(--r-m); padding: 16px 18px; display: grid; gap: 6px; }
.cat-card h3 { font-size: 1.375rem; }
.cat-card p { font-size: .8125rem; color: var(--ink-2); line-height: 1.45; }
.cat-card .row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 4px; }
.cat-card .row span:last-child { font-size: .8125rem; font-weight: 700; color: var(--green-900); }

/* ---------- product cards ---------- */
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
@media (max-width: 1000px) { .products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .products { grid-template-columns: minmax(0, 1fr); } }
.pcard { display: grid; grid-template-rows: auto 1fr; text-decoration: none; border-radius: var(--r-l); background: var(--paper); border: 1px solid var(--line); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(20, 46, 42, .5); }
.pcard-media { position: relative; aspect-ratio: 4 / 3; background: var(--cream-2); overflow: hidden; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; }
.pcard-media .chips { position: absolute; left: 12px; top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.pcard-media .chips span { background: var(--paper); border-radius: var(--pill); font-size: .6875rem; font-weight: 700; padding: 4px 10px; letter-spacing: .04em; }
.swatch-strip { position: absolute; left: 12px; bottom: 12px; display: flex; }
.swatch-strip i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--paper); margin-left: -6px; background-size: cover; }
.swatch-strip i:first-child { margin-left: 0; }
.swatch-strip em { font-style: normal; font-size: .75rem; font-weight: 700; background: var(--paper); border-radius: var(--pill); padding: 2px 8px; margin-left: 6px; align-self: center; }
.pcard-body { padding: 18px 20px 20px; display: grid; gap: 8px; align-content: start; }
.pcard-body h3 { font-size: 1.25rem; line-height: 1.2; }
.pcard-body p { font-size: .875rem; color: var(--ink-2); line-height: 1.5; }
.pcard-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.pcard-foot .price { font-size: 1.125rem; }
.pcard-foot .lt { font-size: .75rem; color: var(--ink-2); }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s6); counter-reset: s; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.steps li { counter-increment: s; display: grid; gap: 10px; align-content: start; padding-top: 20px; border-top: 2px solid currentColor; }
.steps li::before { content: counter(s, decimal-leading-zero); font-weight: 800; font-size: 2.5rem; letter-spacing: -.04em; line-height: 1; color: var(--lime); -webkit-text-stroke: 1.5px var(--green-900); }
.dark .steps li::before { -webkit-text-stroke: 0; }
.steps h3 { font-size: 1.375rem; }
.steps p { font-size: .9375rem; }

/* ---------- media + misc cards ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(20px, 2.5vw, 32px); }
.dark .card { background: rgba(242, 237, 228, .06); border-color: rgba(242, 237, 228, .14); }
.photo-r { border-radius: var(--r-l); width: 100%; object-fit: cover; background: var(--cream-2); }
.ratio-43 { aspect-ratio: 4 / 3; } .ratio-169 { aspect-ratio: 16 / 9; } .ratio-11 { aspect-ratio: 1; } .ratio-45 { aspect-ratio: 4 / 5; }
.caption { font-size: .75rem; color: var(--ink-2); margin-top: 8px; }

/* checks */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start; }
.checks li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23142E2A' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; margin-top: 2px; }

/* standard cards */
.standard { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); counter-reset: st; }
@media (max-width: 1000px) { .standard { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .standard { grid-template-columns: minmax(0, 1fr); } }
.standard > div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px; display: grid; gap: 10px; align-content: start; }
.standard .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--green-900); color: var(--lime); display: grid; place-items: center; font-weight: 800; }
.standard h3 { font-size: 1.25rem; }
.standard p { font-size: .9375rem; color: var(--ink-2); }

/* project feature */
.feature { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 0; border-radius: var(--r-l); overflow: hidden; background: var(--green-900); color: var(--on-dark); }
.feature img { width: 100%; height: 100%; object-fit: cover; min-height: 340px; }
.feature .txt { padding: clamp(24px, 4vw, 56px); display: grid; gap: 18px; align-content: center; }
.feature dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.feature dt { font-size: .625rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-2); }
.feature dd { margin: 2px 0 0; font-weight: 800; font-size: 1.75rem; letter-spacing: -.03em; color: var(--lime); }
@media (max-width: 900px) { .feature { grid-template-columns: minmax(0, 1fr); } }

/* founder */
.founder { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.founder img { border-radius: var(--r-l); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.founder blockquote { margin: 0; font-weight: 800; font-size: var(--t-l); letter-spacing: -.025em; line-height: 1.15; text-wrap: balance; }
@media (max-width: 760px) { .founder { grid-template-columns: minmax(0, 1fr); } .founder img { max-width: 260px; } }

/* library visit */
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.visit .txt { padding: clamp(24px, 4vw, 56px); display: grid; gap: 18px; align-content: center; }
.visit .pic { min-height: 320px; background-size: cover; background-position: center; }
@media (max-width: 860px) { .visit { grid-template-columns: minmax(0, 1fr); } }
.kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 18px; margin: 0; }
.kv dt { font-size: .6875rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); padding-top: 3px; }
.kv dd { margin: 0; font-weight: 600; }

/* articles */
.acard { display: grid; grid-template-rows: auto 1fr; gap: 16px; text-decoration: none; }
.acard .cover { aspect-ratio: 16 / 10; border-radius: var(--r-l); overflow: hidden; background-size: 256px; position: relative; display: grid; place-items: end start; padding: 18px; }
.acard .cover b { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 800; letter-spacing: -.04em; line-height: .95; color: var(--green-900); max-width: 9ch; }
.acard .cover.dk b { color: var(--lime); }
.acard h3 { font-size: 1.375rem; transition: color .2s; }
.acard:hover h3 { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.acard p { font-size: .9375rem; color: var(--ink-2); margin-top: 6px; }

/* faq */
.faq { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 700; font-size: 1.125rem; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23142E2A' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/16px no-repeat; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: var(--ink-2); max-width: 70ch; }
.faq details > div > * + * { margin-top: 10px; }
.dark .faq { border-color: var(--on-dark); } .dark .faq details { border-color: rgba(242,237,228,.18); } .dark .faq details > div { color: var(--on-dark-2); }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.form .two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 560px) { .form .two { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; }
.field > label, .field > legend { font-weight: 700; font-size: .875rem; }
.field .hint { font-size: .75rem; color: var(--ink-2); }
.input { width: 100%; min-height: 52px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: var(--r-m); background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
textarea.input { min-height: 110px; padding: 14px 16px; resize: vertical; }
select.input { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1A1A' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center/18px no-repeat; padding-right: 44px; }
.input:focus { outline: none; border-color: var(--green-900); box-shadow: 0 0 0 4px rgba(200, 241, 53, .55); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--pill); border: 1.5px solid var(--line); background: #fff; font-size: .875rem; font-weight: 600; cursor: pointer; transition: all .15s; }
.choice input:checked + span { background: var(--green-900); border-color: var(--green-900); color: var(--cream); }
.choice input:focus-visible + span { box-shadow: 0 0 0 4px rgba(200, 241, 53, .7); }
.form-err { color: var(--oxide); font-size: .875rem; min-height: 1.2em; font-weight: 600; }
.form-note { font-size: .75rem; color: var(--ink-2); }
.form-done { display: grid; gap: 14px; padding: 8px 0; }
.form-done .tick { width: 56px; height: 56px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; }
.dark .input { border-color: transparent; }
.form-card { background: var(--paper); color: var(--ink); border-radius: var(--r-l); padding: clamp(22px, 3vw, 36px); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .5); }
.form-card .field > label, .form-card legend { color: var(--ink); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .split { align-items: start; }
.cta-points { list-style: none; padding: 0; margin: var(--s8) 0 0; display: grid; gap: 14px; }
.cta-points li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; }
.cta-points li::before { content: ""; width: 26px; height: 26px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23142E2A' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/15px no-repeat; }
.cta-points b { display: block; }

/* ---------- footer (DS: lime left pill + dark green bar) ---------- */
.site-foot { background: var(--green-900); color: var(--on-dark); padding-top: clamp(56px, 7vw, 96px); padding-bottom: env(safe-area-inset-bottom, 0px); position: relative; overflow: hidden; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: var(--s8); }
@media (max-width: 900px) { .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-top > :first-child { grid-column: 1 / -1; } }
.foot-top h4 { font-size: .6875rem; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 14px; font-weight: 700; }
.foot-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-top a { text-decoration: none; color: var(--on-dark); font-size: .9375rem; }
.foot-top a:hover { color: var(--lime); }
.foot-news { display: grid; gap: 14px; max-width: 26rem; }
.foot-news form { display: flex; gap: 8px; }
.foot-news .input { min-height: 48px; border-color: transparent; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(242, 237, 228, .3); display: grid; place-items: center; }
.socials a:hover { background: var(--lime); border-color: var(--lime); color: var(--green-900); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.foot-bar { margin-top: clamp(48px, 6vw, 80px); display: flex; align-items: stretch; min-height: 96px; }
.foot-bar .pill { background: var(--lime); border-radius: 0 999px 999px 0; display: flex; align-items: center; padding: 0 28px 0 max(var(--gutter), env(safe-area-inset-left, 0px)); }
.foot-bar .pill img { width: 64px; }
.foot-bar .bar { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px max(var(--gutter), env(safe-area-inset-right, 0px)) 16px 28px; }
.foot-bar .hmc { color: var(--lime-alt); opacity: .9; font-size: 1.125rem; }
.legal { font-size: .75rem; color: var(--on-dark-2); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.legal a { color: var(--on-dark-2); }
.foot-ghost { position: absolute; right: -2vw; bottom: 70px; font-size: clamp(6rem, 18vw, 18rem); font-weight: 800; letter-spacing: -.06em; opacity: .045; line-height: .8; pointer-events: none; }

/* floating whatsapp */
.wa-float { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--green-900); color: var(--lime); display: grid; place-items: center; box-shadow: 0 12px 30px -10px rgba(0,0,0,.4); }
.wa-float::before { content: ""; width: 26px; height: 26px; background: currentColor; -webkit-mask: var(--wa-icon) center/contain no-repeat; mask: var(--wa-icon) center/contain no-repeat; }

/* ---------- product page ---------- */
.pd { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (max-width: 960px) { .pd { grid-template-columns: minmax(0, 1fr); } }
.pd-media { position: sticky; top: 100px; display: grid; gap: 12px; }
@media (max-width: 960px) { .pd-media { position: static; } }
.pd-main { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-l); background: var(--cream-2); }
.pd-note { font-size: .75rem; color: var(--ink-2); }
.pd-info { display: grid; gap: 22px; }
.pd-info h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.5rem); }
.pd-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pd-price .price { font-size: 2rem; }
.variants { display: flex; flex-wrap: wrap; gap: 8px; }
.variants button { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--paper); box-shadow: 0 0 0 1px var(--line); background-size: cover; cursor: pointer; padding: 0; }
.variants button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--green-900); }
.variant-name { font-size: .875rem; font-weight: 600; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--paper); }
table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child th, tr:last-child td { border-bottom: 0; }
thead th { font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); font-weight: 700; background: var(--cream); }
td.r, th.r { text-align: right; font-variant-numeric: tabular-nums; }
.pd-cta { display: grid; gap: 10px; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); }
.pd-cta .two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
@media (max-width: 480px) { .pd-cta .two { grid-template-columns: minmax(0, 1fr); } }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--green-900); color: var(--cream); padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); display: none; align-items: center; gap: 12px; }
.sticky-buy .price { color: var(--lime); }
.sticky-buy .btn { margin-left: auto; }
@media (max-width: 760px) { .sticky-buy.show { display: flex; } body.has-sticky .wa-float { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- quiz ---------- */
.quiz { max-width: 780px; margin-inline: auto; }
.q-progress { height: 8px; border-radius: 8px; background: var(--cream-2); overflow: hidden; margin-bottom: 28px; }
.q-progress i { display: block; height: 100%; width: 0; background: var(--green-900); border-radius: 8px; transition: width .35s var(--ease); }
.q-step h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); margin: 10px 0 24px; }
.q-opts { display: grid; gap: 12px; }
.q-opt { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; text-align: left; width: 100%; padding: 18px 20px; border-radius: var(--r-m); border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; font-weight: 600; font-size: 1.0625rem; transition: border-color .15s, background .15s, transform .15s; }
.q-opt:hover { border-color: var(--green-900); transform: translateY(-1px); }
.q-opt small { display: block; font-weight: 400; font-size: .8125rem; color: var(--ink-2); margin-top: 2px; }
.q-opt::after { content: ""; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); }
.q-opt[aria-pressed="true"] { border-color: var(--green-900); background: #fff; }
.q-opt[aria-pressed="true"]::after { background: var(--lime); border-color: var(--green-900); }
.q-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.score { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; }
.ring { width: 180px; height: 180px; }
.ring circle { fill: none; stroke-width: 14; }
.ring .bg { stroke: rgba(242, 237, 228, .15); }
.ring .fg { stroke: var(--lime); stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset 1.2s var(--ease); }
.ring text { fill: var(--cream); font-weight: 800; font-size: 46px; letter-spacing: -2px; }
@media (max-width: 560px) { .score { grid-template-columns: minmax(0, 1fr); } .ring { width: 150px; height: 150px; } }
.result-list { display: grid; gap: 12px; }
.result-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 18px 20px; border-radius: var(--r-m); background: var(--paper); border: 1px solid var(--line); text-decoration: none; }
.result-item .pri { font-size: .625rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; }
.pri-h { background: var(--oxide); color: #fff; } .pri-m { background: var(--lime); color: var(--green-900); }

/* article */
.article { max-width: 720px; margin-inline: auto; font-size: 1.125rem; line-height: 1.7; }
.article > * + * { margin-top: 1.1em; }
.article h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); margin-top: 1.8em; }
.article h3 { font-size: 1.375rem; margin-top: 1.5em; }
.article ul, .article ol { padding-left: 1.2em; }
.article li + li { margin-top: .4em; }
.article blockquote { margin: 1.6em 0; padding: 20px 24px; border-left: 6px solid var(--lime); background: var(--paper); border-radius: 0 var(--r-m) var(--r-m) 0; font-weight: 600; }
.article .sources { font-size: .875rem; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 18px; }
.article .sources a { word-break: break-word; }
.toc-cta { background: var(--green-900); color: var(--cream); border-radius: var(--r-l); padding: 28px; display: grid; gap: 14px; }

/* reveal */
@media (prefers-reduced-motion: no-preference) {
  .rv { transform: none; transition: transform .7s var(--ease); }
  .js .rv.pre { transform: translateY(16px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; scroll-behavior: auto !important; }
}
.cta-points span span { display: block; }
.cta-points b + .muted { margin-top: 2px; }
.dark .paper .muted, .dark .result-item .muted, .dark .form-card .muted, .dark .ilabel .muted, .dark .card.paper .muted { color: var(--ink-2); }
.dark .form-card .label, .dark .result-item .label { color: var(--ink-2); }

/* ==========================================================================
   v3: interactive "breathing room" hero, audience paths, ingredients, journal
   ========================================================================== */
.hx { position: relative; overflow: hidden; background: var(--green-900) url("../img/textures/linseed.webp"); background-size: 256px; padding-block: clamp(32px, 4.5vw, 64px) 0; }
.hx-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-areas: "head stage" "act stage"; column-gap: clamp(28px, 4vw, 64px); row-gap: 0; align-items: center; }
.hx-head { grid-area: head; align-self: end; }
.hx-act { grid-area: act; align-self: start; }
.hx-stage-wrap { grid-area: stage; }
@media (max-width: 1000px) { .hx-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "stage" "act"; row-gap: 24px; } }
.hx-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .8125rem; font-weight: 700; letter-spacing: .02em; color: var(--lime); background: rgba(200, 241, 53, .1); border: 1px solid rgba(200, 241, 53, .35); border-radius: var(--pill); padding: 6px 14px; }
.hx-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: pulse 2.4s infinite; }
.hx h1 { color: var(--cream); font-size: clamp(2.5rem, 1.3rem + 3.6vw, 4.6rem); margin: 18px 0 18px; letter-spacing: -.045em; line-height: .96; }
.hx .lead { color: var(--on-dark-2); }
.aud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
@media (max-width: 1000px) { .aud { margin-top: 0; } }
.aud button { min-height: 40px; padding: 0 16px; border-radius: var(--pill); border: 1.5px solid rgba(242, 237, 228, .28); background: transparent; color: var(--cream); font-weight: 600; font-size: .875rem; cursor: pointer; transition: all .2s var(--ease); }
.aud button:hover { border-color: var(--cream); }
.aud button[aria-selected="true"] { background: var(--cream); color: var(--green-900); border-color: var(--cream); }
.aud-panel { margin-top: 16px; display: grid; gap: 18px; }
.aud-panel p { color: var(--cream); font-size: 1.0625rem; line-height: 1.55; min-height: 3.2em; max-width: 46ch; border-left: 3px solid var(--lime); padding-left: 14px; }
.hx-stage-wrap { position: relative; }
.hx-stage { position: relative; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 16 / 9; background: #2a2a24; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); isolation: isolate; }
.hx-img { width: 100%; height: 100%; object-fit: cover; filter: saturate(calc(.4 + .6 * var(--clean))) brightness(calc(.78 + .22 * var(--clean))) sepia(calc((1 - var(--clean)) * .35)); transition: filter .15s linear; }
.hx-smog { position: absolute; inset: 0; pointer-events: none; opacity: calc((1 - var(--clean)) * .9); background: radial-gradient(60% 50% at 75% 30%, rgba(92, 84, 70, .55), transparent 70%), radial-gradient(45% 40% at 15% 85%, rgba(92, 84, 70, .5), transparent 70%), linear-gradient(180deg, rgba(60, 56, 48, .15), rgba(60, 56, 48, .35)); mix-blend-mode: multiply; }
.hx-haze { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hs { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: transparent; z-index: 3; }
.hs span { position: absolute; inset: 7px; border-radius: 50%; background: var(--oxide); box-shadow: 0 0 0 2px var(--cream); transition: background .3s; }
.hs::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--cream); opacity: .9; animation: ring 2.2s infinite; }
@keyframes ring { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.hx-stage.is-swapped .hs span { background: var(--lime); }
.hs.focus span { box-shadow: 0 0 0 3px var(--lime); }
.hs.dim { opacity: .45; }
.hs.on span { background: var(--lime); box-shadow: 0 0 0 3px var(--green-900), 0 0 0 5px var(--lime); }
.hs:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.hx-clean { position: absolute; left: 16px; top: 16px; right: 16px; display: grid; gap: 2px; max-width: 380px; padding: 12px 16px; border-radius: var(--r-m); background: var(--lime); color: var(--green-900); font-size: .8125rem; line-height: 1.4; opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease); pointer-events: none; z-index: 2; }
.hx-clean b { font-size: 1rem; font-weight: 800; letter-spacing: -.01em; }
.hx-stage.is-clean .hx-clean { opacity: 1; transform: none; }
.hx-hint { position: absolute; right: 14px; top: 14px; z-index: 2; background: rgba(20, 46, 42, .85); color: var(--cream); font-size: .75rem; font-weight: 600; padding: 6px 12px; border-radius: var(--pill); }
.hs-card { position: absolute; z-index: 5; width: min(320px, 46%); background: var(--paper); color: var(--ink); border-radius: var(--r-m); padding: 16px 18px 18px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .55); display: grid; gap: 8px; }
.hs-card .label { color: var(--ink-2); }
.hs-x { position: absolute; right: 8px; top: 6px; width: 32px; height: 32px; border: 0; background: transparent; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--ink-2); border-radius: 50%; }
.hs-x:hover { background: var(--cream); }
.hs-typ { display: grid; gap: 2px; font-size: .875rem; }
.hs-typ s { color: var(--ink-2); text-decoration-color: var(--oxide); text-decoration-thickness: 2px; font-weight: 600; }
.hs-typ span { color: var(--oxide); font-weight: 600; font-size: .8125rem; }
.hs-swap { display: grid; gap: 2px; padding-top: 8px; border-top: 1px solid var(--line); }
.hs-swap b { font-size: 1.125rem; letter-spacing: -.01em; }
.hs-card .btn { justify-self: start; margin-top: 4px; }
@media (max-width: 760px) { .hs-card { position: static; width: auto; margin-top: 12px; } .hx-hint { font-size: .6875rem; } .hs { width: 34px; height: 34px; margin: -17px 0 0 -17px; } }
.hx-ctl { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; margin-top: 18px; color: var(--on-dark-2); font-size: .8125rem; font-weight: 600; }
.hx-ctl-r { color: var(--lime); }
#clean { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 10px; background: linear-gradient(90deg, var(--oxide), #8a7a5a 40%, var(--lime)); outline: none; cursor: pointer; }
#clean::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: var(--cream); border: 4px solid var(--green-900); box-shadow: 0 0 0 2px var(--lime), 0 6px 14px rgba(0, 0, 0, .4); cursor: grab; }
#clean::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--cream); border: 4px solid var(--green-900); box-shadow: 0 0 0 2px var(--lime); cursor: grab; }
#clean:focus-visible { box-shadow: 0 0 0 3px var(--lime); }
.hx-stage.hinted ~ .hx-ctl #clean::-webkit-slider-thumb { animation: nudge 1.6s 2; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(14px); } }
@media (max-width: 480px) { .hx-ctl { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .hx-ctl #clean { grid-column: 1 / -1; grid-row: 1; } .hx-ctl-r { text-align: right; } }
.hx-cap { margin-top: 10px; font-size: .75rem; color: var(--on-dark-2); }
.hx-proof { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 32px; margin: clamp(32px, 4vw, 56px) auto 0; padding-block: 20px; border-top: 1px solid rgba(242, 237, 228, .14); }
@media (max-width: 560px) { .hx-proof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hx-proof li { color: var(--on-dark-2); font-size: .875rem; display: flex; align-items: baseline; gap: 8px; }
.hx-proof b { color: var(--cream); font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }

/* who it's for */
.who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); }
@media (max-width: 1000px) { .who { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .who { grid-template-columns: minmax(0, 1fr); } }
.who-card { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-l); overflow: hidden; text-decoration: none; background-size: 256px; padding: 10px; transition: transform .3s var(--ease); }
.who-card:hover { transform: translateY(-4px); }
.who-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--r-l) - 8px); }
.who-body { background: var(--paper); border-radius: var(--r-m); padding: 16px 18px 18px; margin-top: 10px; display: grid; gap: 8px; align-content: start; }
.who-body h3 { font-size: 1.25rem; line-height: 1.15; }
.who-go { font-weight: 700; font-size: .875rem; color: var(--green-900); }
.who-card:hover .who-go { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 4px; }

/* ingredients */
.ingr-row { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: var(--s3); }
@media (max-width: 1100px) { .ingr-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ingr-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ingr { display: grid; gap: 4px; text-decoration: none; }
.ingr i { display: block; aspect-ratio: 1; border-radius: 50%; background-size: 160px; border: 1px solid var(--line); transition: transform .3s var(--ease); }
.ingr:hover i { transform: scale(1.04) rotate(4deg); }
.ingr .label { margin-top: 8px; }
.ingr strong { font-size: 1rem; }
.origin { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding-block: clamp(40px, 5vw, 64px); border-top: 1.5px solid var(--ink); }
@media (max-width: 860px) { .origin { grid-template-columns: minmax(0, 1fr); } }
.origin h2 { font-size: clamp(2.5rem, 1.6rem + 3vw, 4rem); }
.icards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
@media (max-width: 640px) { .icards { grid-template-columns: minmax(0, 1fr); } }
.icard { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); padding: 16px; scroll-margin-top: 110px; }
.icard i { width: 96px; height: 96px; border-radius: var(--r-m); background-size: 160px; display: block; }
.icard h3 { font-size: 1.25rem; }
.icard p { font-size: .9375rem; color: var(--ink-2); margin-top: 4px; }
.icard .found { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.icard .found a { font-size: .75rem; font-weight: 700; text-decoration: none; padding: 4px 10px; border-radius: var(--pill); background: var(--cream); }
.icard .found a:hover { background: var(--lime); }

/* audience page */
.aud-hero { background-size: 256px; }
.reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
@media (max-width: 640px) { .reasons { grid-template-columns: minmax(0, 1fr); } }
.reasons > div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px; display: grid; gap: 8px; align-content: start; }
.reasons h3 { font-size: 1.25rem; }
.reasons p { color: var(--ink-2); font-size: .9375rem; }

/* glossary */
.gloss-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.gloss-nav a { font-size: .8125rem; font-weight: 700; text-decoration: none; padding: 6px 12px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--paper); }
.gloss-nav a:hover { background: var(--lime); border-color: var(--lime); }
.gloss { display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.gloss dt { scroll-margin-top: 110px; font-weight: 800; font-size: 1.375rem; letter-spacing: -.02em; padding-top: 24px; }
.gloss dd { margin: 8px 0 0; padding-bottom: 24px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; color: var(--ink-2); max-width: 72ch; }
.gloss dd .meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .8125rem; }

/* journal */
.tagbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.tagbar button { min-height: 38px; padding: 0 16px; border-radius: var(--pill); border: 1.5px solid var(--line); background: var(--paper); font-weight: 600; font-size: .875rem; cursor: pointer; }
.tagbar button[aria-pressed="true"] { background: var(--green-900); color: var(--cream); border-color: var(--green-900); }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .875rem; color: var(--ink-2); margin-top: 14px; }
.dark .post-meta { color: var(--on-dark-2); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--pill); background: var(--lime); color: var(--green-900); }

/* mega menu: second dropdown */
.mega--home { grid-template-columns: repeat(2, minmax(0, 1fr)); transform: translateX(-40%); }
.mega-h { grid-column: 1 / -1; font-size: .6875rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); padding: 8px 10px 0; }

.prose > * + * { margin-top: 1em; }
.prose a { font-weight: 700; color: var(--green-900); text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 4px; }

.hx-stage.is-clean .hx-hint { display: none; }
@media (max-width: 560px) { .hx-clean { left: 10px; right: 10px; top: 10px; padding: 8px 12px; font-size: .75rem; } .hx-clean b { font-size: .875rem; } }

/* team cards */
.team-card img{width:72px;height:72px;border-radius:50%;object-fit:cover}

/* library map */
.map-card{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);border-radius:var(--r-l);overflow:hidden;background:var(--cream-2,#e9e2d6);border:1px solid rgba(26,26,26,.08)}
.map-card iframe{width:100%;height:100%;min-height:360px;border:0;display:block}
.map-info{padding:clamp(24px,3vw,40px);display:grid;gap:10px;align-content:center;justify-items:start}
@media (max-width:760px){.map-card{grid-template-columns:1fr}.map-card iframe{min-height:280px}}
@media (max-width:680px){.grid.strip{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ---------- materials library: standard catalogue layout (sidebar filters + results) ---------- */
.lib-top { padding: clamp(20px, 3vw, 36px) 0 clamp(20px, 2.5vw, 28px); border-bottom: 1px solid var(--line); }
.lib-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; margin-top: 14px; }
.lib-title h1 { font-size: var(--t-xl); }
.lib-title .lead { max-width: 46ch; font-size: 1rem; }
.lib { padding: clamp(24px, 3vw, 40px) 0 clamp(56px, 7vw, 96px); }
.lib-layout { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.lib-side { position: sticky; top: 96px; max-height: calc(100vh - 112px); overflow-y: auto; scrollbar-width: thin; padding-right: 4px; }
.lib-side-h { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.lib-side-h strong { font-size: 1rem; }
.lib-clear { background: none; border: 0; padding: 0; font: 600 .8125rem var(--font); color: var(--ink-2); text-decoration: underline; cursor: pointer; }
.lib-close, .lib-side-f { display: none; }
.fgroup { padding: 18px 0 16px; border-bottom: 1px solid var(--line); }
.fgroup-h { font-size: .6875rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.flist { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.fopt { box-sizing: border-box; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 38px; padding: 8px 12px; margin: 0; border: 0; border-radius: var(--r-s); background: none; font: 500 .9375rem/1.3 var(--font); color: var(--ink); text-align: left; cursor: pointer; }
.fopt span { display: inline-flex; align-items: center; gap: 10px; }
.fopt em { font-style: normal; font-size: .8125rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
@media (hover: hover) { .fopt:hover { background: var(--cream-2); } }
.fopt[aria-pressed="true"] { background: var(--green-900); color: var(--cream); font-weight: 700; }
.fopt[aria-pressed="true"] em { color: var(--lime); }
.fopt:focus-visible { outline: 2px solid var(--green-900); outline-offset: 2px; }
.fdot { width: 18px; height: 18px; border-radius: 50%; background-size: cover; background-position: center; border: 1px solid var(--line); flex: none; }
.lib-results { display: grid; gap: 14px; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.lib-results-h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.lib-results-h h2 { font-size: var(--t-l); }
.lib-count { font-size: .875rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.lib-tools { display: flex; gap: 10px; align-items: center; }
.lib-open { display: none; }
.lib-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--lime); color: var(--green-900); font-size: .75rem; font-weight: 800; }
.lib-q { max-width: 320px; min-height: 42px; padding-block: 0; }
.lib-active { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.achip { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 8px 0 14px; border-radius: var(--pill); border: 1px solid var(--green-900); background: var(--paper); font: 600 .8125rem var(--font); color: var(--green-900); cursor: pointer; }
.achip b { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--green-900); color: var(--cream); font-size: .875rem; line-height: 1; }
.mgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; }
.mtile { display: grid; gap: 14px; align-content: start; text-decoration: none; color: inherit; }
.mtile[hidden] { display: none; }
.mtile-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-m); background: var(--cream-2); }
.mtile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mtile:hover .mtile-img img { transform: scale(1.04); }
.mtile:focus-visible { outline: 2px solid var(--green-900); outline-offset: 4px; border-radius: var(--r-m); }
.mtile-flag { position: absolute; left: 12px; top: 12px; background: var(--lime); color: var(--green-900); font-size: .625rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: var(--pill); }
.mtile-body { display: grid; gap: 6px; }
.mtile-body h3 { font-size: 1.1875rem; line-height: 1.2; letter-spacing: -.01em; }
.mtile-made { font-size: .875rem; font-weight: 600; color: var(--green-800); }
.mtile-made::first-letter { text-transform: uppercase; }
.mtile-rep { font-size: .8125rem; color: var(--ink-2); }
.lib-empty { display: grid; gap: 10px; justify-items: start; padding: 48px 32px; border: 1px dashed var(--line); border-radius: var(--r-m); background: var(--paper); }
.lib-empty[hidden] { display: none; }
.lib-note { margin-top: 32px; }
.lib-scrim { position: fixed; inset: 0; background: rgba(20, 46, 42, .45); z-index: 60; }
@media (max-width: 1100px) { .mgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .lib-layout { grid-template-columns: 1fr; }
  .lib-open { display: inline-flex; flex: none; }
  .lib-q { max-width: none; flex: 1; }
  .lib-side { position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; top: auto; max-height: 85vh; background: var(--cream); border-radius: var(--r-l) var(--r-l) 0 0; padding: 18px 20px 0; transform: translateY(105%); transition: transform .3s var(--ease); box-shadow: 0 -12px 40px rgba(0,0,0,.18); visibility: hidden; }
  .lib-side.open { transform: none; visibility: visible; }
  .lib-close { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); font-size: 1.25rem; cursor: pointer; }
  .lib-side-h { gap: 12px; } .lib-side-h strong { flex: 1; }
  .lib-side-f { display: block; position: sticky; bottom: 0; padding: 14px 0 calc(14px + env(safe-area-inset-bottom, 0px)); background: var(--cream); }
  body.lib-lock { overflow: hidden; }
}
@media (max-width: 520px) { .mgrid { gap: 24px 12px; } .mtile-body h3 { font-size: 1rem; } .mtile-rep { display: none; } .lib-title h1 { font-size: 2rem; } }
button.ingr { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; font: inherit; color: inherit; }

/* lab tests on product pages */
.labtests { display: grid; gap: 14px; padding: 22px; border-radius: var(--r-m, 14px); background: var(--paper); border: 1px solid var(--line); }
.labtest { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.labtest-h { display: grid; gap: 2px; }
.labtests .checks li { font-size: .9375rem; }
.grid > figure { margin: 0; }

/* ---------- shoppable images: material dots on project photos ---------- */
.spot { position: relative; margin: 0; }
.spot > img { display: block; width: 100%; height: auto; border-radius: var(--r-l); }
.spot figcaption { margin-top: 10px; }
.spot-pt { position: absolute; z-index: 2; width: 0; height: 0; }
.spot-dot { position: absolute; left: -17px; top: -17px; width: 34px; height: 34px; border-radius: 50%; border: 0; padding: 0; background: rgba(20, 46, 42, .35); cursor: pointer; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.spot-dot span { position: absolute; inset: 9px; border-radius: 50%; background: var(--cream); box-shadow: 0 0 0 2px var(--green-900); transition: transform .2s var(--ease), background .2s; }
.spot-dot::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--cream); animation: ring 2.4s infinite; }
.spot-pt.open .spot-dot span, .spot-dot:hover span { background: var(--lime); transform: scale(1.15); }
.spot-dot:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.spot-card { position: absolute; left: 24px; top: -20px; width: 240px; display: grid; gap: 4px; padding: 14px 16px 16px; border-radius: var(--r-m); background: var(--paper); color: var(--ink); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .45); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 3; }
.spot-card strong { font-size: 1.0625rem; line-height: 1.25; }
.spot-card p { font-size: .8125rem; color: var(--ink-2); margin: 0; }
.spot-card .link { margin-top: 6px; justify-self: start; }
.spot-pt--l .spot-card { left: auto; right: 24px; }
.spot-pt--t .spot-card { top: auto; bottom: -20px; }
.spot-pt.open .spot-card { opacity: 1; visibility: visible; transform: none; }
.spot-pt.open { z-index: 4; }
@media (hover: hover) { .spot-pt:hover .spot-card { opacity: 1; visibility: visible; transform: none; } .spot-pt:hover { z-index: 4; } }
@media (max-width: 600px) { .spot-card { width: 200px; } .spot-dot { left: -15px; top: -15px; width: 30px; height: 30px; } }
.spot-hint { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 600; color: var(--ink-2); }
.spot-hint i { width: 12px; height: 12px; border-radius: 50%; background: var(--cream); box-shadow: 0 0 0 2px var(--green-900); }
.shop-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 860px) { .shop-grid { grid-template-columns: 1fr; } }
.spot--feature { align-self: center; }
.spot--feature > img { border-radius: 0; min-height: 0; height: auto; }
.feature .spot > img { min-height: 0; height: auto; object-fit: initial; }
.spot-card .link, .dark .spot-card .link { color: var(--green-900); }
.feature:has(.spot--feature) { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: center; }
@media (max-width: 860px) { .feature:has(.spot--feature) { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .page-hero .stats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } .page-hero .stat b { font-size: 2.5rem; } }

/* ---------- project story (editorial case study) ---------- */
.st-h { font-family: var(--brandfont); font-weight: 400; font-variation-settings: "opsz" 144, "SOFT" 30; letter-spacing: -.025em; line-height: 1.02; font-size: clamp(2.5rem, 1.4rem + 4.4vw, 5.25rem); color: var(--cream); }
.st-h em { font-style: italic; }
.st-lime { color: var(--lime); }
.st-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); }
.st-kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.st-lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.55; color: var(--on-dark); opacity: .88; max-width: 52ch; }
.st-intro { position: relative; overflow: hidden; background: var(--green-900); color: var(--cream); min-height: min(92vh, 900px); display: grid; }
.st-intro-bg { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(22px) brightness(.55) saturate(1.1); transform: scale(1.05); }
.st-intro::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,46,42,.15) 0%, rgba(20,46,42,.35) 45%, rgba(20,46,42,.92) 100%); }
.st-intro-in { position: relative; z-index: 1; display: grid; grid-template-rows: auto 1fr auto; gap: 32px; padding-block: clamp(20px, 3vw, 36px) clamp(32px, 5vw, 64px); }
.st-intro .crumbs, .st-intro .crumbs a { color: var(--on-dark-2); }
.st-intro-txt { align-self: end; display: grid; gap: 22px; max-width: 980px; }
.st-step { justify-self: start; color: var(--cream); font-size: .8125rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; display: inline-flex; gap: 12px; }
.st-step:hover { color: var(--lime); }
.st-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 1px solid rgba(242,237,228,.18); }
.st-stats div { padding: 18px 20px 0 0; }
.st-stats dd { margin: 0; order: -1; font-family: var(--brandfont); font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem); color: var(--lime); line-height: 1; }
.st-stats div { display: flex; flex-direction: column; gap: 8px; }
.st-stats dt { font-size: .8125rem; color: var(--on-dark-2); max-width: 22ch; }
.st-chapters { background: var(--green-900); color: var(--cream); padding: clamp(56px, 8vw, 120px) 0; }
.st-chapters .wrap { display: grid; gap: clamp(64px, 9vw, 140px); }
.st-ch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.st-ch--rev .st-media { order: 2; }
.st-media { margin: 0; position: relative; overflow: hidden; border-radius: var(--r-l); aspect-ratio: 4 / 5; background: var(--green-800); }
.st-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.st-ch:hover .st-media img { transform: scale(1.03); }
.st-txt { display: grid; gap: 18px; align-content: center; }
.st-meta { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid rgba(242,237,228,.16); }
.st-count { font-size: .8125rem; font-weight: 700; letter-spacing: .16em; color: var(--on-dark-2); }
.st-num { font-family: var(--brandfont); font-style: italic; color: var(--lime); font-size: 1.75rem; line-height: 1; margin-top: 12px; }
.st-h--ch { font-size: clamp(2.25rem, 1.4rem + 2.8vw, 4rem); }
.st-tags { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.st-tags a, .st-tags > li > span { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 18px; border-radius: var(--pill); border: 1px solid rgba(242,237,228,.45); color: var(--cream); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.st-tags a { border-color: var(--lime); }
.st-tags a:hover { background: var(--lime); color: var(--green-900); }
.st-outro { position: relative; overflow: hidden; color: var(--cream); background: var(--green-900); }
.st-outro img { display: block; width: 100%; height: min(90vh, 860px); object-fit: cover; }
.st-outro::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,46,42,0) 30%, rgba(20,46,42,.92) 100%); }
.st-outro-in { position: absolute; left: 0; right: 0; bottom: clamp(32px, 6vw, 80px); z-index: 1; display: grid; gap: 18px; }
@media (max-width: 860px) {
  .st-ch { grid-template-columns: 1fr; gap: 0; position: relative; }
  .st-ch--rev .st-media { order: 0; }
  .st-media { aspect-ratio: 1; }
  .st-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,46,42,0) 35%, rgba(20,46,42,.95) 100%); }
  .st-txt { margin-top: -38%; position: relative; z-index: 1; padding: 0 20px; gap: 12px; }
  .st-meta { position: absolute; top: calc(-62% + 20px); left: 20px; right: 20px; border: 0; padding: 0; }
  .st-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; }
  .st-outro img { height: 80vh; }
  .st-intro { min-height: 88vh; }
}
