/* Pure Cannabis menu field study — design system
   Directive: mousabatarseh.com/pure/ (deep green ground, lime accent, cream paper,
   Aclonica display, Instrument Serif italic, IBM Plex Sans/Mono, numbered FIG. labels).
   Rule: borders are all four sides or none. Never a single-edge rule. */

@import url("../fonts/fonts.css");

:root {
  --ink: #14251c;
  --ink-2: #1b3026;
  --ink-3: #24402f;
  --paper: #f1f0e6;
  --paper-2: #e4e2d2;
  --lime: #cdf478;
  --lime-deep: #9fcf3a;
  --text: #f1f0e6;
  --muted: #b9c4b4;
  --line: rgba(241, 240, 230, 0.2);
  --line-strong: rgba(241, 240, 230, 0.42);
  /* fragment origins (Record Lens) — all chosen for ink text on top */
  --f-maker: #cdf478;
  --f-line: #8fe3c6;
  --f-strain: #d7b8ff;
  --f-type: #bfe0ff;
  --f-size: #9ed0ff;
  --f-tier: #f4a261;
  --f-price: #ff9aa2;
  --f-code: #ff7a7a;
  --f-promo: #ffd166;
  --f-form: #e6d9a8;
  --ok: #cdf478;
  --warn: #f4a261;
  --bad: #ff8b8b;
  --font-display: "Aclonica", "Arial Black", sans-serif;
  --font-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-sans: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", Menlo, monospace;
  --font-cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-fast: 180ms;
  --t-reveal: 600ms;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px; --s6: 96px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--lime); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
code, kbd, .mono { font-family: var(--font-mono); font-size: 0.92em; }
hr { border: 0; height: 1px; background: var(--line); margin: var(--s4) 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--s2); top: -60px; background: var(--lime); color: var(--ink); padding: 10px 14px; z-index: 100; font-weight: 600; }
.skip:focus { top: var(--s2); }

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.08; font-weight: 400; letter-spacing: -0.01em; }
h1 { font-family: var(--font-display); font-size: clamp(2.5rem, 6.2vw, 5.1rem); letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-family: var(--font-display); font-size: clamp(1.85rem, 3.6vw, 2.9rem); letter-spacing: -0.025em; }
h3 { font-family: var(--font-sans); font-weight: 600; font-size: 1.3rem; }
h4 { font-family: var(--font-sans); font-weight: 600; font-size: 1.05rem; }
.serif-i { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
h1 .serif-i, h2 .serif-i { color: var(--lime); font-size: 1.08em; }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: 1.22rem; line-height: 1.5; max-width: 56ch; }
.eyebrow { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lime); margin: 0 0 var(--s2); display: block; }
.eyebrow.dim { color: var(--muted); }
.num { font-family: var(--font-cond); font-weight: 700; font-variant-numeric: tabular-nums; }
.kpi { display: flex; flex-direction: column; gap: 4px; }
.kpi .num { font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 0.95; color: var(--lime); letter-spacing: -0.01em; }
.kpi .lbl { font-size: 0.95rem; color: var(--muted); max-width: 26ch; }
small, .small { font-size: 0.9rem; }
.muted { color: var(--muted); }
ul, ol { padding-left: 1.3em; }
li { margin: 0.25em 0; }
ol.steps { counter-reset: s; list-style: none; padding: 0; }
ol.steps > li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; gap: var(--s2); padding: var(--s3) 0; }
ol.steps > li::before { content: counter(s, decimal-leading-zero); font-family: var(--font-mono); color: var(--lime); font-size: 13px; letter-spacing: 0.1em; padding-top: 6px; }

/* ---------- layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: var(--s6) 0; }
.section.tight { padding: var(--s5) 0; }
.band { background: var(--paper); color: var(--ink); color-scheme: light; }
.band .eyebrow { color: var(--ink); opacity: 0.75; }
.band .muted { color: #4f5a52; }
.band .kpi .num { color: var(--ink); }
.band a:hover { color: #35602f; }
.band-lime { background: var(--lime); color: var(--ink); color-scheme: light; }
.band-lime .eyebrow { color: var(--ink); opacity: 0.8; }
.band-lime .muted { color: #3b4a2b; }
.band-2 { background: var(--ink-2); }
.grid { display: grid; gap: var(--s4); }
.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)); }
.grid-5-7 { grid-template-columns: 5fr 7fr; }
.grid-7-5 { grid-template-columns: 7fr 5fr; }
.grid-4-8 { grid-template-columns: 4fr 8fr; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-5-7, .grid-7-5, .grid-4-8 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.stack > * + * { margin-top: var(--s3); }
.row { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }
.between { justify-content: space-between; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(20, 37, 28, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 8px var(--gutter) 0; }
.site-head .bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: 12px 18px; max-width: var(--max); margin: 0 auto; border: 1px solid var(--line-strong); border-radius: 6px; background: rgba(27, 48, 38, 0.6); }
.brand { display: flex; align-items: baseline; gap: 12px; text-decoration: none; }
.brand .word { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -0.02em; white-space: nowrap; }
.brand .word em { font-family: var(--font-serif); font-style: italic; color: var(--lime); }
.brand .sub { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { font-size: 15px; text-decoration: none; padding: 7px 11px; border: 1px solid transparent; border-radius: 4px; color: var(--text); }
.nav a:hover { border-color: var(--line-strong); color: var(--lime); }
.nav a[aria-current="page"] { border-color: var(--lime); color: var(--lime); }
.nav a .n { font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin-right: 5px; }
.motion-toggle { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.04em; background: transparent; border: 1px solid var(--line-strong); color: var(--text); padding: 8px 12px; border-radius: 4px; cursor: pointer; }
.motion-toggle::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.motion-toggle[aria-pressed="true"]::before { background: var(--muted); }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--line-strong); color: var(--text); padding: 8px 12px; border-radius: 4px; font-family: var(--font-mono); font-size: 12.5px; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-head .bar { flex-wrap: wrap; }
  .nav { display: none; width: 100%; flex-direction: column; padding-top: 8px; }
  .nav.open { display: flex; }
  .nav a { font-size: 16px; padding: 10px 12px; }
  .brand .sub { display: none; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--lime); color: var(--ink); border: 1px solid var(--lime); padding: 13px 20px; border-radius: 4px; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform var(--t-fast) var(--ease), background var(--t-fast); }
.btn:hover { background: #d9f792; color: var(--ink); transform: translateY(-1px); }
.btn .arr { font-family: var(--font-mono); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line-strong); }
.btn-ghost:hover { background: rgba(241, 240, 230, 0.06); color: var(--lime); }
.band .btn-ghost, .band-lime .btn-ghost { color: var(--ink); border-color: rgba(20, 37, 28, 0.45); }
.band .btn-ghost:hover, .band-lime .btn-ghost:hover { background: rgba(20, 37, 28, 0.06); color: var(--ink); }
.band-lime .btn { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.band-lime .btn:hover { background: #1f3a2b; color: var(--lime); }
.btn-sm { padding: 8px 12px; font-size: 14px; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ---------- specimen tag (the signature device) ---------- */
.tag { border: 1px solid var(--line-strong); border-radius: 6px; background: var(--ink-2); overflow: hidden; }
.tag > .tag-head { display: flex; justify-content: space-between; gap: var(--s2); padding: 10px 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: rgba(241, 240, 230, 0.04); }
.tag > .tag-head b { color: var(--text); font-weight: 500; }
.tag > .tag-body { padding: var(--s3); }
.tag > .tag-foot { padding: 10px 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted); display: flex; justify-content: space-between; gap: var(--s2); flex-wrap: wrap; }
.band .tag { background: #fff; border-color: rgba(20, 37, 28, 0.35); }
.band .tag > .tag-head { background: rgba(20, 37, 28, 0.05); color: #4f5a52; }
.band .tag > .tag-head b { color: var(--ink); }
.band .tag > .tag-foot { color: #4f5a52; }
.tag.lime { background: var(--lime); color: var(--ink); border-color: var(--ink); color-scheme: light; }
.tag.lime > .tag-head { background: rgba(20, 37, 28, 0.08); color: var(--ink); }
.tag.lime > .tag-head b { color: var(--ink); }
.tag.lime > .tag-foot { color: var(--ink); }
.fig { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* fragments */
.frag { display: inline-block; padding: 1px 6px; margin: 1px 2px; border-radius: 3px; color: var(--ink); box-shadow: 0 0 0 1px rgba(20, 37, 28, 0.55); font-family: var(--font-mono); font-size: 0.95em; line-height: 1.5; }
.frag-maker { background: var(--f-maker); }
.frag-line { background: var(--f-line); }
.frag-strain { background: var(--f-strain); }
.frag-type { background: var(--f-type); }
.frag-size { background: var(--f-size); }
.frag-tier { background: var(--f-tier); }
.frag-price { background: var(--f-price); }
.frag-code { background: var(--f-code); }
.frag-promo { background: var(--f-promo); }
.frag-form { background: var(--f-form); }
.frag-plain { background: transparent; color: inherit; box-shadow: 0 0 0 1px var(--line); }
.band .frag-plain { box-shadow: 0 0 0 1px rgba(20, 37, 28, 0.3); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; }
.legend .sw { display: inline-block; width: 12px; height: 12px; border-radius: 2px; vertical-align: -1px; margin-right: 6px; box-shadow: 0 0 0 1px rgba(20, 37, 28, 0.55); }

/* provenance chips */
.chip { display: inline-block; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; border: 1px solid var(--line-strong); color: var(--text); white-space: nowrap; }
.chip.obs { border-color: var(--lime); color: var(--lime); }
.chip.model { border-color: var(--f-size); color: var(--f-size); }
.chip.proposed { border-color: var(--f-promo); color: var(--f-promo); }
.chip.synthetic { border-color: var(--f-strain); color: var(--f-strain); }
.chip.needs { border-color: var(--f-price); color: var(--f-price); }
.chip.doc { border-color: var(--f-line); color: var(--f-line); }
.band .chip { color: var(--ink); border-color: rgba(20, 37, 28, 0.45); }
.band .chip.obs { border-color: #35602f; color: #35602f; }
.band .chip.model { border-color: #2d5d8f; color: #2d5d8f; }
.band .chip.proposed { border-color: #8a5a00; color: #8a5a00; }
.band .chip.needs { border-color: #a1333c; color: #a1333c; }
.band .chip.doc { border-color: #1e6b53; color: #1e6b53; }
.band .chip.synthetic { border-color: #5b3d8f; color: #5b3d8f; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line-strong); border-radius: 6px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; vertical-align: top; border: 1px solid var(--line); }
th { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 500; background: rgba(241, 240, 230, 0.04); }
td.n, th.n { text-align: right; font-variant-numeric: tabular-nums; }
.band th { color: #4f5a52; background: rgba(20, 37, 28, 0.05); }
.band th, .band td { border-color: rgba(20, 37, 28, 0.2); }
.band .table-wrap { border-color: rgba(20, 37, 28, 0.35); }
.status { font-family: var(--font-mono); font-size: 12.5px; padding: 2px 7px; border-radius: 3px; display: inline-block; box-shadow: 0 0 0 1px rgba(20, 37, 28, 0.55); color: var(--ink); }
.status.s200 { background: var(--ok); }
.status.s3xx { background: var(--f-size); }
.status.s404 { background: var(--bad); }
.status.s5xx { background: var(--f-tier); }

/* ---------- forms ---------- */
label.lbl { display: block; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.band label.lbl { color: #4f5a52; }
input[type="text"], select, textarea { width: 100%; background: rgba(241, 240, 230, 0.06); border: 1px solid var(--line-strong); color: var(--text); padding: 11px 12px; border-radius: 4px; font-size: 16px; }
.band input[type="text"], .band select, .band textarea { background: #fff; color: var(--ink); border-color: rgba(20, 37, 28, 0.4); }
select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
textarea { min-height: 160px; font-family: var(--font-mono); font-size: 14px; }
fieldset { border: 1px solid var(--line-strong); border-radius: 6px; padding: var(--s2) var(--s3); margin: 0; }
legend { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 0 6px; }
.band fieldset { border-color: rgba(20, 37, 28, 0.35); }
.band legend { color: #4f5a52; }
.radio { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; }
.radio input { margin-top: 5px; accent-color: var(--lime); }
.band .radio input { accent-color: #35602f; }
.field + .field { margin-top: var(--s2); }
.error { color: var(--bad); font-size: 0.92rem; font-family: var(--font-mono); }
.band .error { color: #a1333c; }
.empty { border: 1px dashed var(--line-strong); border-radius: 6px; padding: var(--s3); color: var(--muted); font-size: 0.95rem; }
.band .empty { border-color: rgba(20, 37, 28, 0.35); color: #4f5a52; }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 var(--s5); }
.hero-grid { display: grid; grid-template-columns: 6fr 6fr; gap: var(--s5); align-items: start; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }
.leaf-tag { position: relative; }
.leaf-stage { aspect-ratio: 4 / 4.3; display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 45%, rgba(205, 244, 120, 0.08), transparent 70%); }
.leaf-stage svg { width: 78%; height: auto; overflow: visible; }
.leaf-stage .leaf-path { fill: none; stroke: var(--lime); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.leaf-stage .leaf-fill { fill: var(--lime); opacity: 0; }
.leaf-stage .leaf-vein { fill: none; stroke: var(--ink); stroke-width: 0.9; opacity: 0; }
.motion-on .leaf-stage .leaf-path { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw 2.4s var(--ease) forwards; }
.motion-on .leaf-stage .leaf-fill { animation: fillin 900ms var(--ease) 2s forwards; }
.motion-on .leaf-stage .leaf-vein { animation: veins 900ms var(--ease) 2.3s forwards; }
.motion-on .leaf-stage .leaf-group { transform-origin: 50% 92%; animation: sway 9s ease-in-out 3s infinite; }
.motion-off .leaf-stage .leaf-path { stroke-dashoffset: 0; }
.motion-off .leaf-stage .leaf-fill { opacity: 0.92; }
.motion-off .leaf-stage .leaf-vein { opacity: 0.6; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fillin { to { opacity: 0.92; } }
@keyframes veins { to { opacity: 0.6; } }
@keyframes sway { 0%, 100% { transform: rotate(-1.2deg); } 50% { transform: rotate(1.2deg); } }
.leaf-note { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.leaf-note .plus { color: var(--lime); font-size: 16px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity var(--t-reveal) var(--ease), transform var(--t-reveal) var(--ease); }
.reveal.in, .motion-off .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .leaf-stage .leaf-path, .leaf-stage .leaf-fill, .leaf-stage .leaf-vein, .leaf-stage .leaf-group { animation: none !important; }
  .leaf-stage .leaf-path { stroke-dashoffset: 0 !important; }
  .leaf-stage .leaf-fill { opacity: 0.92 !important; }
  .leaf-stage .leaf-vein { opacity: 0.6 !important; }
  .btn { transition: none; }
}

/* ---------- question index (home) ---------- */
.q-list { display: grid; gap: var(--s3); }
.q { display: grid; grid-template-columns: 120px 1fr auto; gap: var(--s3); align-items: start; border: 1px solid var(--line-strong); border-radius: 6px; padding: var(--s3); text-decoration: none; color: inherit; transition: background var(--t-fast), border-color var(--t-fast); }
.q:hover { background: rgba(241, 240, 230, 0.04); border-color: var(--lime); color: inherit; }
.q .qn { font-family: var(--font-cond); font-weight: 700; font-size: 3.4rem; line-height: 0.9; color: var(--lime); }
.q .qn small { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 11px; letter-spacing: 0.1em; color: var(--muted); margin-top: 8px; }
.q h3 { margin-bottom: 6px; }
.q p { margin: 0; color: var(--muted); max-width: 60ch; }
.q .qfact { font-family: var(--font-mono); font-size: 12.5px; color: var(--lime); text-align: right; min-width: 150px; }
@media (max-width: 760px) { .q { grid-template-columns: 1fr; } .q .qfact { text-align: left; } }

/* ---------- misc ---------- */
.callout { border: 1px solid var(--line-strong); border-radius: 6px; padding: var(--s3); background: rgba(241, 240, 230, 0.03); }
.band .callout { background: #fff; border-color: rgba(20, 37, 28, 0.3); }
.quote { font-family: var(--font-serif); font-style: italic; font-size: 1.5rem; line-height: 1.35; max-width: 30ch; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }
.pre { white-space: pre-wrap; font-family: var(--font-mono); font-size: 13.5px; line-height: 1.5; background: rgba(0, 0, 0, 0.25); border: 1px solid var(--line); border-radius: 4px; padding: var(--s2); overflow: auto; max-height: 360px; }
.band .pre { background: #fff; border-color: rgba(20, 37, 28, 0.3); color: var(--ink); }
.bar-row { display: grid; grid-template-columns: 150px 1fr 70px; gap: 12px; align-items: center; font-size: 14px; }
.bar-row .track { height: 12px; border: 1px solid var(--line-strong); border-radius: 3px; overflow: hidden; background: rgba(241, 240, 230, 0.05); }
.bar-row .fill { height: 100%; background: var(--lime); }
.bar-row .fill.warn { background: var(--f-tier); }
.bar-row .fill.bad { background: var(--bad); }
.band .bar-row .track { border-color: rgba(20, 37, 28, 0.35); background: #fff; }
.bar-row .v { font-family: var(--font-mono); font-size: 12.5px; text-align: right; }
details { border: 1px solid var(--line-strong); border-radius: 6px; padding: 0; }
details + details { margin-top: 10px; }
summary { cursor: pointer; padding: 14px 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: var(--s2); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--font-mono); color: var(--lime); }
details[open] summary::after { content: "–"; }
details > .d-body { padding: 0 18px 18px; }
.band details { border-color: rgba(20, 37, 28, 0.35); }
.band summary::after { color: var(--ink); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.04em; text-decoration: none; border: 1px solid var(--line-strong); padding: 6px 10px; border-radius: 4px; }
.toc a:hover { border-color: var(--lime); }
.band .toc a { border-color: rgba(20, 37, 28, 0.4); }
.band .toc a:hover { border-color: var(--ink); }
.foot { padding: var(--s5) 0; font-size: 0.95rem; color: var(--muted); }
.foot .wordmark { font-family: var(--font-display); font-size: clamp(3rem, 12vw, 9rem); line-height: 0.9; color: var(--lime); letter-spacing: -0.04em; opacity: 0.95; }
.foot a { color: var(--text); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 4px; font-weight: 600; box-shadow: 0 0 0 1px var(--ink); z-index: 60; opacity: 0; transition: opacity var(--t-fast); pointer-events: none; }
.toast.show { opacity: 1; }
.rename-list li { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: start; padding: 10px 0; }
@media (max-width: 760px) { .rename-list li { grid-template-columns: 1fr; } }
.pill-row { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { font-family: var(--font-mono); font-size: 12px; padding: 3px 8px; border-radius: 3px; border: 1px solid var(--line-strong); }
.sev-A { border-color: var(--bad); color: var(--bad); }
.sev-B { border-color: var(--f-promo); color: var(--f-promo); }
.band .sev-A { border-color: #a1333c; color: #a1333c; }
.band .sev-B { border-color: #8a5a00; color: #8a5a00; }
.store-list { display: flex; flex-wrap: wrap; gap: 6px; }
.store-list .pill.on { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.band .store-list .pill.on { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.checklist li { list-style: none; display: grid; grid-template-columns: 24px 1fr; gap: 10px; padding: 8px 0; }
.checklist { padding: 0; }
.checklist input { accent-color: var(--lime); margin-top: 5px; }
.band .checklist input { accent-color: #35602f; }
.inline-code { font-family: var(--font-mono); font-size: 0.9em; background: rgba(241, 240, 230, 0.08); padding: 1px 5px; border-radius: 3px; }
.band .inline-code { background: rgba(20, 37, 28, 0.08); }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line-strong); border-radius: 6px; overflow: hidden; }
.flow > div { padding: var(--s3); border: 1px solid var(--line); }
.flow .fh { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lime); margin-bottom: 8px; }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }
.band .flow .fh { color: #35602f; }
.band .flow > div { border-color: rgba(20, 37, 28, 0.2); }
.band .flow { border-color: rgba(20, 37, 28, 0.35); }
@media print { .site-head, .motion-toggle, .btn { display: none; } body { background: #fff; color: #000; } }

/* ======================================================================
   Directive transplant — the PURE field-notes opening (mousabatarseh.com/pure/)
   Leaf plate, unfold + vein-draw, scroll-linked specimen, pointer tilt, title
   and copy entrances, replay. Values are the directive's own.
   ====================================================================== */
:root { --pure-ease: cubic-bezier(.22, 1, .36, 1); --pure-muted: #adb9a8; }
.pure-opening .hero-grid { grid-template-columns: 1fr 1fr; gap: 5%; align-items: start; }
.pure-hero-copy { min-height: 560px; padding-top: 8px; }
.pure-hero-copy .pure-kicker { color: var(--lime); font-size: 11px; letter-spacing: .065em; }
.pure-hero-copy h1 { letter-spacing: -.045em; margin: 34px 0 30px; font-family: var(--font-display); font-size: clamp(52px, 6.6vw, 104px); font-weight: 400; line-height: .9; }
.pure-hero-copy h1 .pure-title-line { display: block; animation: pure-title-enter 1s var(--pure-ease) both; }
.pure-hero-copy h1 .pure-title-line:nth-child(2) { animation-delay: .13s; }
.pure-hero-copy h1 em { color: var(--lime); font-size: 1em; }
.pure-hero-description { color: #d7dece; max-width: 36ch; font-size: 17px; line-height: 1.7; animation: pure-copy-enter .8s .16s var(--pure-ease) both; }
.pure-hero-actions { margin-top: 29px; animation: pure-copy-enter .8s .23s var(--pure-ease) both; }
.pure-scroll-note { color: var(--pure-muted); align-items: center; gap: 18px; margin-top: 54px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .065em; text-transform: uppercase; display: flex; max-width: 410px; }
.pure-scroll-note > span:first-child { color: var(--lime); font-size: 24px; }
.pure-replay { color: var(--pure-muted); letter-spacing: 0; text-transform: none; background: 0 0; border: 1px solid #6c7965; min-height: 44px; margin-left: auto; padding: 8px 12px; font: 11px var(--font-mono); transition: background .18s, color .18s; cursor: pointer; border-radius: 4px; }
.pure-replay:hover:not(:disabled) { color: var(--lime); background: #26392a; }
.pure-replay:disabled { opacity: .65; cursor: default; }
.pure-art-column { align-self: start; position: sticky; top: 108px; }
.pure-plate { aspect-ratio: 1 / 1.15; background: #1c3022; border: 1px solid #75856a; flex-direction: column; display: flex; position: relative; overflow: hidden; margin: 0; border-radius: 6px; }
.pure-plate-meta, .pure-plate figcaption { color: #c7d2ba; z-index: 1; justify-content: space-between; gap: 8px; padding: 22px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .065em; text-transform: uppercase; display: flex; }
.pure-plate figcaption { margin-top: 22px; }
.pure-specimen-motion { transform: translateY(var(--specimen-y, 0)) rotate(var(--specimen-turn, -9deg)) scale(var(--specimen-scale, 1.05)); transform-origin: 50% 55%; will-change: transform; position: absolute; inset: 1% -5% 4%; }
.pure-specimen { width: 100%; height: 100%; display: block; transform: translate(var(--pointer-x, 0px), var(--pointer-y, 0px)) rotate(var(--pointer-turn, 0deg)); transition: transform .55s var(--pure-ease); }
.pure-leaf-shape { fill: #bedc85; stroke: #14251c; stroke-width: 1.3px; stroke-linejoin: round; }
.pure-leaf-vein { fill: none; stroke: #3b562d; stroke-width: 1px; opacity: .83; }
.pure-leaf-stem { fill: none; stroke: #bdd986; stroke-width: 5px; stroke-linecap: round; }
.pure-leaflet { transform-origin: 0 0; transform: rotate(var(--leaf-angle)); transform-box: view-box; }
.pure-plate.pure-in-view .pure-leaflet { animation: pure-leaf-unfold 1.45s var(--leaf-delay) var(--pure-ease) both; }
.pure-plate.pure-in-view .pure-leaf-vein { animation: pure-vein-draw 1.7s .12s var(--pure-ease) both; }
.pure-plate-annotation { z-index: 1; color: #dce5cf; align-items: flex-start; gap: 9px; max-width: 150px; margin-top: auto; margin-left: 23px; font-family: var(--font-mono); font-size: 11px; line-height: 1.5; display: flex; }
.pure-annotation-mark { font-size: 21px; line-height: 1; color: var(--lime); }
.pure-art-footnote { color: var(--pure-muted); padding: 19px 0 0 4px; font-size: 12px; line-height: 1.5; font-family: var(--font-mono); }
.pure-drift { transform: translateX(var(--type-drift, 0px)); }
h2.pure-in-view { animation: pure-section-enter .9s var(--pure-ease) both; }
@keyframes pure-title-enter { 0% { opacity: .45; transform: translateY(42px) rotate(1.2deg); } to { opacity: 1; transform: translateY(0) rotate(0); } }
@keyframes pure-copy-enter { 0% { opacity: .6; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pure-leaf-unfold { 0% { transform: rotate(calc(var(--leaf-angle) * .2)) scaleY(.76); } to { transform: rotate(var(--leaf-angle)) scaleY(1); } }
@keyframes pure-vein-draw { 0% { stroke-dasharray: 400; stroke-dashoffset: 400px; } to { stroke-dasharray: 400; stroke-dashoffset: 0; } }
@keyframes pure-section-enter { 0% { opacity: .55; translate: 0 38px; } to { opacity: 1; translate: 0; } }
/* paused (Pause motion) and reduced motion: the directive's .pure-reduced behaviour */
.motion-off .pure-title-line, .motion-off .pure-hero-description, .motion-off .pure-hero-actions, .motion-off .pure-leaflet, .motion-off .pure-leaf-vein, .motion-off h2.pure-in-view { animation: none !important; }
.motion-off .pure-specimen, .motion-off .pure-drift, .motion-off .pure-specimen-motion { transform: none !important; transition: none !important; will-change: auto; }
@media (prefers-reduced-motion: reduce) {
  .pure-title-line, .pure-hero-description, .pure-hero-actions, .pure-leaflet, .pure-leaf-vein, h2.pure-in-view { animation: none !important; }
  .pure-specimen, .pure-drift, .pure-specimen-motion { transform: none !important; transition: none !important; }
}
@media (max-width: 1000px) { .pure-hero-copy h1 { font-size: clamp(52px, 8.6vw, 92px); } .pure-plate { aspect-ratio: 1 / 1.4; } .pure-specimen-motion { inset: 7% -12% 4%; } }
@media (max-width: 980px) { .pure-opening .hero-grid { grid-template-columns: 1fr; } .pure-art-column { position: relative; top: auto; margin-top: 8px; } .pure-hero-copy { min-height: 0; } }
@media (max-width: 760px) {
  .pure-hero-copy h1 { font-size: clamp(44px, 12.5vw, 76px); line-height: .92; margin: 26px 0 24px; }
  .pure-scroll-note { display: none; }
  .pure-plate { aspect-ratio: 1 / 1.12; max-height: 620px; }
  .pure-specimen-motion { will-change: auto; inset: -2% -4% 16%; transform: none !important; }
  .pure-plate.pure-in-view .pure-leaflet { animation-duration: 1.15s; }
}

/* ---------- white instead of a full lime slab ---------- */
.band-lime { background: #ffffff; color: var(--ink); color-scheme: light; }
.band-lime .eyebrow { color: #35602f; opacity: 1; }
.band-lime .muted { color: #4f5a52; }
.band-lime .btn { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.band-lime .btn:hover { background: #1f3a2b; color: var(--lime); }
.band-lime .btn-ghost { background: transparent; color: var(--ink); border-color: rgba(20, 37, 28, 0.45); }
.band-lime .btn-ghost:hover { background: rgba(20, 37, 28, 0.06); color: var(--ink); }
.band-lime .tag { background: #f7f7f2; border-color: rgba(20, 37, 28, 0.35); }
.band-lime .tag > .tag-head { background: rgba(20, 37, 28, 0.05); color: #4f5a52; }
.band-lime .tag > .tag-head b { color: var(--ink); }
.band-lime .tag > .tag-foot { color: #4f5a52; }
.band-lime .table-wrap { border-color: rgba(20, 37, 28, 0.35); }
.band-lime th { color: #4f5a52; background: rgba(20, 37, 28, 0.05); }
.band-lime th, .band-lime td { border-color: rgba(20, 37, 28, 0.2); }
.band-lime input[type="text"], .band-lime select, .band-lime textarea { background: #fff; color: var(--ink); border-color: rgba(20, 37, 28, 0.4); }
.band-lime label.lbl, .band-lime legend { color: #4f5a52; }
.band-lime fieldset { border-color: rgba(20, 37, 28, 0.35); }
.band-lime .radio input, .band-lime .checklist input { accent-color: #35602f; }
.band-lime .chip { color: var(--ink); border-color: rgba(20, 37, 28, 0.45); }
.band-lime .chip.obs { border-color: #35602f; color: #35602f; }
.band-lime .chip.model { border-color: #2d5d8f; color: #2d5d8f; }
.band-lime .chip.proposed { border-color: #8a5a00; color: #8a5a00; }
.band-lime .chip.needs { border-color: #a1333c; color: #a1333c; }
.band-lime .chip.doc { border-color: #1e6b53; color: #1e6b53; }
.band-lime .pill { border-color: rgba(20, 37, 28, 0.4); }
.band-lime .sev-A { border-color: #a1333c; color: #a1333c; }
.band-lime .sev-B { border-color: #8a5a00; color: #8a5a00; }
.band-lime .store-list .pill.on { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.band-lime .empty { border-color: rgba(20, 37, 28, 0.35); color: #4f5a52; }
.band-lime .bar-row .track { border-color: rgba(20, 37, 28, 0.35); background: #fff; }
.band-lime details { border-color: rgba(20, 37, 28, 0.35); }
.band-lime summary::after { color: var(--ink); }
.band-lime a:hover { color: #35602f; }
.band-lime .kpi .num { color: var(--ink); }
.band-lime .rename-list li, .band-lime ol.steps > li::before { color: var(--ink); }
.band-lime ol.steps > li::before { color: #35602f; }
.band-lime .frag-plain { box-shadow: 0 0 0 1px rgba(20, 37, 28, 0.3); }

/* ---------- lime accents that read on the dark ground ---------- */
.eyebrow { font-size: 13.5px; font-weight: 500; }
.q .qfact { font-size: 14px; font-weight: 500; }
.nav a .n { color: var(--lime); }
.tag > .tag-head span:last-child { color: var(--lime); }
.fig, .legend { color: var(--text); }
.kpi .num, .q .qn { text-shadow: 0 0 1px rgba(205, 244, 120, 0.4); }

/* ---------- footer with the study's own leaf ---------- */
.foot-head { display: flex; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.foot-mark { width: clamp(72px, 10vw, 120px); flex: 0 0 auto; }
.notes-leaf .leaf-path { fill: none; stroke: var(--lime); stroke-width: 1.4; stroke-linejoin: round; }
.notes-leaf .leaf-fill { fill: var(--lime); opacity: .92; }
.notes-leaf .leaf-vein { fill: none; stroke: var(--ink); stroke-width: .9; opacity: .6; }

/* ---------- no lime text on light grounds (cream and white bands) ---------- */
.band .q .qn, .band-lime .q .qn { color: #35602f; text-shadow: none; }
.band .q .qn small, .band-lime .q .qn small { color: #4f5a52; }
.band .q .qfact, .band-lime .q .qfact { color: #35602f; }
.band .q:hover, .band-lime .q:hover { border-color: var(--ink); background: rgba(20, 37, 28, 0.04); }
.band .q, .band-lime .q { border-color: rgba(20, 37, 28, 0.35); }
.band .q p, .band-lime .q p { color: #4f5a52; }
.band .tag > .tag-head span:last-child, .band-lime .tag > .tag-head span:last-child { color: #35602f; }
.band ol.steps > li::before, .band-lime ol.steps > li::before { color: #35602f; }
.band .bar-row .fill, .band-lime .bar-row .fill { background: #35602f; }
.band .kpi .num, .band-lime .kpi .num { text-shadow: none; }
.band .pure-annotation-mark, .band-lime .pure-annotation-mark { color: #35602f; }
.band .legend, .band .fig, .band-lime .legend, .band-lime .fig { color: var(--ink); }
.band .nav a .n, .band-lime .nav a .n { color: #35602f; }
.band h2.pure-in-view, .band-lime h2.pure-in-view { color: var(--ink); }
.band .flow .fh, .band-lime .flow .fh { color: #35602f; }
.band .eyebrow, .band-lime .eyebrow { color: #35602f; opacity: 1; }

/* ---------- motion pass, 23 Oct 2026: footer leaf, staggered reveals, count-ups, bars ---------- */
/* footer leaf: same sequence as the hero plate (draw 1.8s, fill, veins, then a slow sway) */
.notes-leaf .leaf-group { transform-origin: 50% 92%; transform-box: view-box; }
.motion-on .foot-mark:not(.in) .notes-leaf .leaf-path { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.motion-on .foot-mark:not(.in) .notes-leaf .leaf-fill, .motion-on .foot-mark:not(.in) .notes-leaf .leaf-vein { opacity: 0; }
.motion-on .foot-mark.in .notes-leaf .leaf-path { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw 1.8s var(--ease) forwards; }
.motion-on .foot-mark.in .notes-leaf .leaf-fill { opacity: 0; animation: fillin 800ms var(--ease) 1.4s forwards; }
.motion-on .foot-mark.in .notes-leaf .leaf-vein { opacity: 0; animation: veins 800ms var(--ease) 1.7s forwards; }
.motion-on .foot-mark.in .notes-leaf .leaf-group { animation: sway 7s ease-in-out 2.4s infinite; }
.foot-mark { cursor: pointer; }

/* staggered entry for cards, steps, flow cells and table rows */
.stagger { opacity: 0; transform: translateY(22px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.stagger.in, .motion-off .stagger { opacity: 1; transform: none; }

/* bars grow from the left once they come into view */
.bar-row .fill { transform-origin: 0 50%; }
.motion-on .bar-row:not(.in) .fill { transform: scaleX(0); }
.motion-on .bar-row.in .fill { animation: grow 1.1s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* card hover: a small lift and a lime edge, full border only */
.q, .tag, .flow > div { transition: transform 260ms var(--ease), border-color 260ms var(--ease), background-color 260ms var(--ease); }
.motion-on .q:hover, .motion-on .tag:hover { transform: translateY(-4px); }
.motion-on .flow > div:hover { background-color: rgba(205, 244, 120, 0.06); }

/* nav underline that draws in on hover and focus */
.nav a { background-image: linear-gradient(currentColor, currentColor); background-size: 0% 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size 320ms var(--ease); }
.nav a:hover, .nav a:focus-visible, .nav a[aria-current="page"] { background-size: 100% 1px; }

@media (prefers-reduced-motion: reduce) {
  .stagger { opacity: 1; transform: none; transition: none; }
  .notes-leaf .leaf-path, .notes-leaf .leaf-fill, .notes-leaf .leaf-vein, .notes-leaf .leaf-group, .bar-row .fill { animation: none !important; transform: none !important; stroke-dashoffset: 0 !important; }
  .notes-leaf .leaf-fill { opacity: .92 !important; } .notes-leaf .leaf-vein { opacity: .6 !important; }
  .q, .tag, .flow > div, .nav a { transition: none; }
  .q:hover, .tag:hover { transform: none !important; }
}

/* hero title: each line stays on one line; size follows the column width (wraps only on small phones) */
.pure-hero-copy { container-type: inline-size; }
.pure-hero-copy h1 .pure-title-line { white-space: nowrap; }
@supports (font-size: 1cqi) {
  .pure-hero-copy h1 { font-size: min(clamp(52px, 6.6vw, 104px), var(--title-fit, 12.4cqi)); }
}
@media (max-width: 1000px) { @supports (font-size: 1cqi) { .pure-hero-copy h1 { font-size: min(clamp(52px, 8.6vw, 92px), var(--title-fit, 12.4cqi)); } } }
@media (max-width: 560px) { .pure-hero-copy h1 .pure-title-line { white-space: normal; } @supports (font-size: 1cqi) { .pure-hero-copy h1 { font-size: clamp(44px, 12.5vw, 76px); } } }

/* mechanism flow: columns follow the space the box gets, not the screen (fixes the cut-off 4th column on tablets) */
.flow { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }
.flow > div { min-width: 0; overflow-wrap: anywhere; }
/* chips: more room inside and between (tablet feedback) */
.chip { padding: 6px 12px; line-height: 1.35; margin: 4px 6px 4px 0; }
.flow .chip { margin-top: 12px; }
/* boxes end where their content ends (no empty stretch beside long text) */
main .flow, main .tag { align-self: start; }
.flow .chip { display: table; }

/* header: tagline under the wordmark, nav links and the motion button each on one line */
.brand { flex-direction: column; align-items: flex-start; gap: 3px; flex: 0 0 auto; }
.brand .sub { font-size: 10.5px; white-space: nowrap; }
.nav { flex-wrap: nowrap; }
.nav a { white-space: nowrap; padding: 7px 9px; }
.motion-toggle { white-space: nowrap; flex: 0 0 auto; }
@media (max-width: 1180px) and (min-width: 901px) { .nav a { font-size: 14px; padding: 7px 7px; } .nav a .n { margin-right: 3px; } .site-head .bar { gap: 14px; } }

/* the "Who this is for" note follows you down beside the plan (sticky under the header) */
@media (min-width: 981px) { .tag-follow { position: sticky; top: 120px; } }
@media (max-width: 1100px) and (min-width: 901px) { .nav a .n { display: none; } .nav a { font-size: 14px; padding: 7px 6px; } .brand .sub { font-size: 9.5px; letter-spacing: .06em; } .motion-toggle { padding: 8px 10px; font-size: 12px; } .site-head .bar { padding: 12px 14px; gap: 10px; } }
@media (max-width: 950px) and (min-width: 901px) { .nav a { font-size: 13px; padding: 7px 4px; } .nav { gap: 2px; } .brand .word { font-size: 1.1rem; } }

/* ---------- text in motion: paragraphs settle in, labels slide, reading light follows the scroll ---------- */
.tx { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity 900ms var(--ease), transform 900ms var(--ease), filter 900ms var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.tx.in { opacity: var(--read, 1); transform: translateY(var(--float, 0px)); filter: none; transition: opacity 900ms var(--ease), transform 900ms var(--ease), filter 900ms var(--ease); }
.tx.in.live { transition: opacity 180ms linear, transform 120ms linear; }
.ey { display: inline-block; opacity: 0; transform: translateX(-28px); letter-spacing: .3em; transition: opacity 700ms var(--ease), transform 700ms var(--ease), letter-spacing 900ms var(--ease); }
.ey.in { opacity: 1; transform: none; letter-spacing: 0.1em; }
.motion-off .tx, .motion-off .ey { opacity: 1 !important; transform: none !important; filter: none !important; letter-spacing: inherit; transition: none; }
@media (prefers-reduced-motion: reduce) { .tx, .ey { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; } }

/* any two columns: the shorter side follows the scroll (set by initFollow in common.js) */
.follow { position: sticky; top: 120px; align-self: start; }

/* ---------- smoke: two drifting haze layers over the whole site, very light, no pointer events ---------- */
.smoke { position: fixed; inset: 0; z-index: 40; pointer-events: none; overflow: hidden; mix-blend-mode: screen; opacity: .085; }
.smoke i { position: absolute; inset: -50%; background: url("../img/smoke.svg") 0 0 / 1200px 900px repeat; will-change: transform; }
.smoke i:nth-child(2) { background-size: 1700px 1275px; opacity: .6; }
.motion-on .smoke i:nth-child(1) { animation: smoke-a 90s linear infinite alternate; }
.motion-on .smoke i:nth-child(2) { animation: smoke-b 130s linear infinite alternate; }
@keyframes smoke-a { from { transform: translate3d(0, 0, 0) rotate(0deg); } to { transform: translate3d(-12%, -8%, 0) rotate(4deg); } }
@keyframes smoke-b { from { transform: translate3d(-6%, 4%, 0) rotate(-3deg); } to { transform: translate3d(8%, -10%, 0) rotate(2deg); } }
@media (prefers-reduced-motion: reduce) { .smoke i { animation: none !important; } }
@media print { .smoke { display: none; } }

/* explainer video on the home page */
.explainer-grid { display: grid; grid-template-columns: 4fr 8fr; gap: var(--s5); align-items: center; }
.explainer-tag video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--ink); }
.explainer-tag { padding: 0; }
@media (max-width: 980px) { .explainer-grid { grid-template-columns: 1fr; gap: var(--s3); } }
.explainer-grid > * { min-width: 0; } .explainer-tag { width: 100%; justify-self: stretch; }
