/* ============================================================
   ERDMES LABS — Sovereign AI for regulated enterprise
   Two-tone engraved system. Change --flood to retheme the site.
   ============================================================ */

:root {
  --flood: #0b4a37;            /* sovereign green ground   */
  --flood-deep: #06301f;       /* vignette / depth         */
  --bone: #f2eee3;             /* ink on flood, paper bg   */
  --ink: #08281c;              /* ink on paper             */
  --line: color-mix(in srgb, var(--bone) 22%, transparent);
  --line-paper: color-mix(in srgb, var(--ink) 18%, transparent);

  --u: clamp(0.55px, calc(100vw / 1440), 1.15px);
  --edge: calc(48 * var(--u));
  --gutter: calc(96 * var(--u));

  --serif: "Cormorant", "Cormorant Garamond", "Times New Roman", serif;
  --mono: "Courier Prime", "Courier New", ui-monospace, monospace;

  --eyebrow: max(11px, calc(12.5 * var(--u)));
  --body: max(13.5px, calc(15.5 * var(--u)));
  --display: calc(84 * var(--u));
  --h2: calc(64 * var(--u));

  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--flood);
  color: var(--bone);
  font-family: var(--mono);
  font-size: var(--body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
}
@media (hover: none) { body { cursor: auto; } }

::selection { background: var(--bone); color: var(--flood); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img, canvas, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }

/* ---------- Grain + vignette overlays ---------- */
.grain {
  pointer-events: none; position: fixed; inset: -50%; z-index: 90;
  width: 200%; height: 200%; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%   { transform: translate(0,0); }
  20%  { transform: translate(-6%, 4%); }
  40%  { transform: translate(4%, -8%); }
  60%  { transform: translate(-8%, -2%); }
  80%  { transform: translate(6%, 6%); }
  100% { transform: translate(-2%, 8%); }
}

/* ---------- Cursor spotlight on the flood ---------- */
.spot { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .6s;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(242,238,227,.10), transparent 60%); }
body.ready .spot { opacity: 1; }
main, .footer, .wordmark, .contact { position: relative; z-index: 2; }
@media (hover: none) { .spot { display: none; } }

/* ---------- Custom cursor ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none;
  width: 10px; height: 10px; margin: -5px 0 0 -5px;
  background: var(--bone); border-radius: 50%;
  mix-blend-mode: difference;
  transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease);
}
.cursor.is-link { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: transparent; border: 1px solid #fff; }
.cursor.is-text { width: 2px; height: 26px; margin: -13px 0 0 -1px; border-radius: 0; }
@media (hover: none) { .cursor { display: none; } }

/* ---------- Ticker bar ---------- */
.ticker {
  position: relative; z-index: 30;
  border-bottom: 1px solid var(--line);
  font-size: var(--eyebrow); letter-spacing: .18em; text-transform: uppercase;
  overflow: hidden; white-space: nowrap; padding: calc(10 * var(--u)) 0;
}
.ticker__track { display: inline-flex; gap: 4em; padding-left: 4em; animation: ticker 38s linear infinite; }
.ticker__track span::after { content: "•"; margin-left: 4em; opacity: .55; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr auto 1fr 1fr; align-items: center;
  padding: calc(22 * var(--u)) var(--edge);
  font-size: max(11.5px, calc(13 * var(--u))); letter-spacing: .16em; text-transform: uppercase; font-weight: 700;
  transition: background .4s, padding .4s var(--ease), backdrop-filter .4s;
}
.nav.is-scrolled { background: color-mix(in srgb, var(--flood) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-block: calc(12 * var(--u)); border-bottom: 1px solid var(--line); }
.nav > a { position: relative; width: fit-content; }
.nav > a:nth-child(1) { justify-self: start; }
.nav > a:nth-child(2) { justify-self: center; }
.nav > a:nth-child(4) { justify-self: center; }
.nav > a:nth-child(5) { justify-self: end; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px; background: currentColor; transition: right .35s var(--ease); }
.nav__link:hover::after { right: 0; }
.nav__brand { text-align: center; font-family: var(--serif); font-weight: 500; font-size: calc(30 * var(--u)); line-height: .9; letter-spacing: .06em; }
.nav__brand small { display: block; font-family: var(--mono); font-weight: 400; font-size: var(--eyebrow); letter-spacing: .3em; margin-top: 6px; opacity: .75; }
.nav__cta::before { content: ""; } 
.nav__cta { display: inline-flex; align-items: center; gap: .6em; }
.nav__cta .arrow { display: inline-block; transition: transform .3s var(--ease); }
.nav__cta:hover .arrow { transform: translateX(6px); }

@media (max-width: 800px) {
  .nav { grid-template-columns: 1fr auto 1fr; }
  .nav > a:nth-child(2), .nav > a:nth-child(4) { display: none; }
  .nav > a:nth-child(5) { grid-column: 3; }
}

/* ---------- Common ---------- */
.eyebrow {
  font-family: var(--mono); font-size: var(--eyebrow); letter-spacing: .2em; text-transform: uppercase; opacity: .85;
  display: flex; align-items: center; gap: 1em;
}
.eyebrow::before { content: ""; width: 2em; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 2em; height: 1px; background: currentColor; opacity: .6; }

.display {
  font-family: var(--serif); font-weight: 300; text-transform: uppercase;
  line-height: .92; letter-spacing: .01em; font-size: var(--display); overflow-wrap: anywhere;
}
.h2 { font-family: var(--serif); font-weight: 300; text-transform: uppercase; line-height: .95; font-size: var(--h2); letter-spacing: .01em; }
.h3 { font-family: var(--serif); font-weight: 400; text-transform: uppercase; line-height: 1; font-size: calc(40 * var(--u)); }
.lede { font-size: max(14px, calc(17 * var(--u))); line-height: 1.55; max-width: 62ch; }
.mono-up { text-transform: uppercase; letter-spacing: .08em; line-height: 1.6; font-size: max(12px, calc(13 * var(--u))); }
.muted { opacity: .72; }
em { font-style: italic; font-weight: 400; text-transform: none; }

.btn {
  display: inline-flex; align-items: center; gap: .8em;
  background: var(--bone); color: var(--flood);
  font-family: var(--mono); font-size: var(--eyebrow); letter-spacing: .18em; text-transform: uppercase; font-weight: 700;
  padding: calc(14 * var(--u)) calc(22 * var(--u)); border: 1px solid var(--bone);
  position: relative; overflow: hidden; isolation: isolate;
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--flood); transform: translateY(101%); transition: transform .45s var(--ease); z-index: -1; }
.btn:hover { color: var(--bone); }
.btn:hover::before { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--bone); }
.btn--ghost::before { background: var(--bone); }
.btn--ghost:hover { color: var(--flood); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

.paper .btn { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.paper .btn::before { background: var(--bone); }
.paper .btn:hover { color: var(--ink); }

.rule { height: 1px; background: var(--line); }
.paper .rule { background: var(--line-paper); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: calc(100svh - 120px); overflow: hidden;
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center;
  padding: calc(30 * var(--u)) var(--edge) calc(70 * var(--u));
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%, transparent 55%, var(--flood-deep) 130%);
  opacity: .9;
}
.hero__copy { position: relative; z-index: 2; display: flex; flex-direction: column; gap: calc(24 * var(--u)); padding-left: calc(var(--gutter) * .5); }
.hero__title { max-width: none; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; transform: translateY(110%); }
.hero__sub { max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: calc(18 * var(--u)); }
.hero__art { position: relative; z-index: 1; height: 100%; min-height: 60svh; display: grid; place-items: center; }
.hero__art canvas { width: min(92%, 78svh); aspect-ratio: 1; }
.hero__ascii { position: absolute; left: var(--gutter); bottom: calc(28 * var(--u)); font-size: var(--eyebrow); letter-spacing: .12em; opacity: .55; }
.hero__coords { position: absolute; right: var(--edge); bottom: calc(28 * var(--u)); font-size: var(--eyebrow); letter-spacing: .12em; opacity: .55; text-align: right; }

/* terminal chip */
.term {
  font-family: var(--mono); font-size: max(12px, calc(13.5 * var(--u)));
  background: var(--bone); color: var(--flood);
  padding: calc(14 * var(--u)) calc(18 * var(--u));
  display: inline-flex; gap: .8em; align-items: center; white-space: nowrap; overflow: hidden;
}
.term .dim { opacity: .5; }
.term { max-width: 100%; }
@media (max-width: 640px) { .term { white-space: normal; line-height: 1.7; } }
.term .caret { display: inline-block; width: .6em; height: 1.1em; background: currentColor; vertical-align: -0.2em; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__copy { padding-left: 0; }
  .hero__art { min-height: 48svh; order: -1; }
  .hero__ascii { position: static; }
  .hero__coords { display: none; }
  :root { --display: calc(70 * var(--u) + 10px); --h2: calc(44 * var(--u) + 8px); }
  .contact .display { font-size: calc(70 * var(--u) + 10px); }
  .statement p { font-size: calc(40 * var(--u) + 8px); }
  .statement { padding-inline: var(--edge); }
}

/* ---------- Section scaffolding ---------- */
.section { position: relative; padding: calc(120 * var(--u)) var(--edge); }
.section--tight { padding-block: calc(80 * var(--u)); }
.section__head { display: grid; gap: calc(22 * var(--u)); justify-items: center; text-align: center; margin-bottom: calc(70 * var(--u)); }
.section__head .h2 { max-width: 16ch; }
.section__head .lede { text-align: center; }

/* ---------- Verticals ---------- */
.verticals { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.vertical { padding: calc(36 * var(--u)); display: grid; gap: calc(18 * var(--u)); border-right: 1px solid var(--line); position: relative; overflow: hidden; }
.vertical:last-child { border-right: 0; }
.vertical canvas { width: 100%; aspect-ratio: 4/3; border: 1px solid var(--line); }
.vertical .h3 { min-height: 2em; }
.vertical__idx { position: absolute; top: calc(14 * var(--u)); right: calc(16 * var(--u)); font-size: var(--eyebrow); letter-spacing: .2em; opacity: .5; }
@media (max-width: 900px) { .verticals { grid-template-columns: 1fr; } .vertical { border-right: 0; border-bottom: 1px solid var(--line); } .vertical:last-child { border-bottom: 0; } }

/* ---------- Statement ---------- */
.statement { text-align: center; padding-inline: calc(var(--edge) + var(--gutter)); }
.statement p { font-family: var(--serif); font-weight: 300; font-size: calc(58 * var(--u) + 8px); line-height: 1.08; max-width: 26ch; margin: 0 auto; }
.statement .w { display: inline-block; opacity: .18; transition: opacity .3s; }
.statement .w.on { opacity: 1; }
.statement em { font-style: italic; }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; white-space: nowrap; font-family: var(--serif); font-weight: 300; text-transform: uppercase; font-size: calc(72 * var(--u) + 8px); line-height: 1.1; padding: calc(10 * var(--u)) 0; }
.marquee__track { display: inline-flex; will-change: transform; }
.marquee__track span { padding-right: .5em; }
.marquee__track span::after { content: "·"; padding-left: .5em; opacity: .5; }

/* ---------- Paper panel ---------- */
.paper { background: var(--bone); color: var(--ink); position: relative; }
.paper ::selection { background: var(--ink); color: var(--bone); }
.paper .eyebrow { opacity: .8; }
.chips { position: absolute; top: calc(26 * var(--u)); right: var(--edge); display: flex; gap: 6px; font-size: var(--eyebrow); letter-spacing: .18em; text-transform: uppercase; }
.chips span { border: 1px solid currentColor; padding: 6px 10px; }
.chips span.live::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: .6em; animation: blink 1.4s steps(2) infinite; }

.stage { display: grid; grid-template-columns: 1fr 1fr; gap: calc(60 * var(--u)); align-items: center; padding: calc(70 * var(--u)) 0; border-top: 1px solid var(--line-paper); }
.stage:first-of-type { border-top: 0; }
.stage:nth-child(even) .stage__art { order: 2; }
.stage__copy { display: grid; gap: calc(20 * var(--u)); position: relative; }
.stage__copy .h2 { max-width: 14ch; }
.stage__points { display: grid; gap: calc(16 * var(--u)); margin-top: calc(10 * var(--u)); border-top: 1px solid var(--line-paper); padding-top: calc(20 * var(--u)); }
.stage__points b { display: block; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: max(12px, calc(13 * var(--u))); margin-bottom: 4px; }
.stage__art { position: relative; }
.stage__art canvas { width: 100%; aspect-ratio: 4/3; border: 1px solid var(--line-paper); background: var(--bone); }
.stage__art .tag { position: absolute; font-size: var(--eyebrow); letter-spacing: .18em; text-transform: uppercase; background: var(--ink); color: var(--bone); padding: 4px 8px; }
.stage__num { font-family: var(--serif); font-weight: 300; font-size: calc(200 * var(--u)); line-height: .8; opacity: .07; position: absolute; top: -.25em; right: -.05em; pointer-events: none; }
@media (max-width: 900px) { .stage { grid-template-columns: 1fr; } .stage:nth-child(even) .stage__art { order: 0; } }

/* ---------- Terminal window ---------- */
.termwin { background: var(--ink); color: var(--bone); border: 1px solid var(--ink); font-size: max(12px, calc(13.5 * var(--u))); line-height: 1.7; }
.termwin__bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid color-mix(in srgb, var(--bone) 18%, transparent); font-size: var(--eyebrow); letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.termwin__bar i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--bone); opacity: .7; }
.termwin__bar i:first-child { background: var(--bone); }
.termwin__body { padding: 16px 18px; min-height: 12em; white-space: pre-wrap; }
.termwin__body .ok { color: #9fe3b8; }
.termwin__body .dim { opacity: .55; }

/* ---------- Grid of six ---------- */
.six { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.six__item { padding: calc(40 * var(--u)) calc(34 * var(--u)); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: calc(16 * var(--u)); align-content: start; position: relative; overflow: hidden; }
.six__item:nth-child(3n) { border-right: 0; }
.six__item:nth-last-child(-n+3) { border-bottom: 0; }
.six__item::before { content: ""; position: absolute; inset: 0; background: var(--bone); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); z-index: 0; }
.six__item:hover::before { transform: scaleY(1); }
.six__item:hover { color: var(--flood); }
.six__item > * { position: relative; z-index: 1; }
.six__item .h3 { font-size: calc(34 * var(--u) + 4px); max-width: 12ch; }
@media (max-width: 900px) { .six { grid-template-columns: 1fr; } .six__item { border-right: 0; } .six__item:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); } .six__item:last-child { border-bottom: 0; } }

/* ---------- Sovereignty ---------- */
.sov { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(40 * var(--u)); }
.sov__item { display: grid; gap: calc(16 * var(--u)); border-top: 1px solid var(--line); padding-top: calc(24 * var(--u)); }
.sov__item .idx { font-size: var(--eyebrow); letter-spacing: .2em; opacity: .6; }
.sov__item .h3 { font-size: calc(38 * var(--u) + 4px); }
@media (max-width: 900px) { .sov { grid-template-columns: 1fr; } }

/* ---------- Timeline (partner) ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.week { padding: calc(34 * var(--u)); border-right: 1px solid var(--line); display: grid; gap: calc(16 * var(--u)); align-content: start; position: relative; }
.week:last-child { border-right: 0; }
.week .bar { height: 4px; background: var(--line); position: relative; overflow: hidden; }
.week .bar i { position: absolute; inset: 0; background: var(--bone); transform: scaleX(0); transform-origin: left; }
.week .deliv { border-top: 1px solid var(--line); padding-top: calc(14 * var(--u)); }
@media (max-width: 1000px) { .timeline { grid-template-columns: 1fr 1fr; } .week:nth-child(2) { border-right: 0; } .week:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 600px) { .timeline { grid-template-columns: 1fr; } .week { border-right: 0; border-bottom: 1px solid var(--line); } .week:last-child { border-bottom: 0; } }

/* ---------- Principles / fit list ---------- */
.list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.list__row { display: grid; grid-template-columns: 4em 1fr 1.4fr; gap: calc(30 * var(--u)); padding: calc(28 * var(--u)) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.list__row .idx { font-size: var(--eyebrow); letter-spacing: .2em; opacity: .6; }
.list__row .h3 { font-size: calc(32 * var(--u) + 4px); }
@media (max-width: 800px) { .list__row { grid-template-columns: 3em 1fr; } .list__row p { grid-column: 2; } }

/* ---------- Contact ---------- */
.contact { text-align: center; display: grid; justify-items: center; gap: calc(28 * var(--u)); padding-block: calc(140 * var(--u)); position: relative; overflow: hidden; }
.contact .display { max-width: 12ch; font-size: calc(96 * var(--u) + 8px); }
.contact .lede { text-align: center; }
.contact__mail { font-size: max(13px, calc(15 * var(--u))); letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.contact__mail:hover { border-color: currentColor; }
.contact__bg { position: absolute; inset: 0; z-index: 0; opacity: .35; pointer-events: none; }
.contact > *:not(.contact__bg) { position: relative; z-index: 1; }

/* ---------- Wordmark ---------- */
.wordmark { overflow: hidden; height: calc(0.62 * 30vw); position: relative; margin-top: calc(40 * var(--u)); }
.wordmark span { position: absolute; left: 0; bottom: -0.32em; white-space: nowrap; font-family: var(--serif); font-weight: 500; text-transform: uppercase; font-size: 30vw; line-height: 1; letter-spacing: -.02em; will-change: transform; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: calc(40 * var(--u)) var(--edge); display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: calc(40 * var(--u)); font-size: var(--eyebrow); letter-spacing: .14em; text-transform: uppercase; line-height: 2; }
.footer p { max-width: 40ch; }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__col { display: grid; align-content: start; }
.footer__bottom { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: calc(20 * var(--u)); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1em; opacity: .7; }
@media (max-width: 800px) { .footer { grid-template-columns: 1fr; } }

/* ---------- Reveal system ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); }
[data-reveal].in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal="fade"] { transform: none; }
[data-reveal="scale"] { transform: scale(.96); }
[data-reveal].in[data-reveal="scale"] { transform: none; }
[data-stagger] > * { opacity: 0; transform: translateY(24px); }
[data-stagger].in > * { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-stagger].in > *:nth-child(1) { transition-delay: .00s; }
[data-stagger].in > *:nth-child(2) { transition-delay: .08s; }
[data-stagger].in > *:nth-child(3) { transition-delay: .16s; }
[data-stagger].in > *:nth-child(4) { transition-delay: .24s; }
[data-stagger].in > *:nth-child(5) { transition-delay: .32s; }
[data-stagger].in > *:nth-child(6) { transition-delay: .40s; }

/* ---------- Page loader ---------- */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--flood); display: grid; place-items: center; color: var(--bone); font-size: var(--eyebrow); letter-spacing: .3em; text-transform: uppercase; }
.loader__bar { width: 220px; height: 1px; background: var(--line); margin-top: 16px; position: relative; overflow: hidden; }
.loader__bar i { position: absolute; inset: 0; background: var(--bone); transform: scaleX(0); transform-origin: left; }
.loader.done { transform: translateY(-100%); transition: transform .9s var(--ease); }

/* page-specific hero (inner pages) */
.hero--inner { grid-template-columns: 1fr; min-height: 60svh; align-content: end; padding-bottom: calc(60 * var(--u)); }
.hero--inner .hero__copy { padding-left: var(--gutter); max-width: 1100px; }
.hero--inner .hero__title { max-width: 14ch; }
.hero--inner .hero__bg { position: absolute; inset: 0; z-index: 0; opacity: .5; }
.hero--inner .hero__bg canvas { width: 100%; height: 100%; }
@media (max-width: 960px) { .hero--inner .hero__copy { padding-left: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
  [data-reveal], [data-stagger] > * { opacity: 1; transform: none; }
}
