/* ================================================================
   HydraB Design System — shared tokens & primitives
   Reference: /HYDRAB-DESIGN-BRIEF.md
   ================================================================ */

:root {
  /* Primary */
  --hb-forest:        #1A3C34;
  --hb-electric:      #0AC135;
  --hb-warm-white:    #F7F7F0;
  --hb-black:         #000000;

  /* Supporting */
  --hb-pale-lime:     #EEF9DB;
  --hb-bright-lime:   #E1FFCD;
  --hb-mint:          #BBDDCF;
  --hb-sky:           #8BC3DE;
  --hb-slate:         #587481;
  --hb-orange:        #F98513;

  /* Derived */
  --hb-forest-ink:    #102820;
  --hb-forest-04:     rgba(26, 60, 52, 0.04);
  --hb-forest-08:     rgba(26, 60, 52, 0.08);
  --hb-forest-14:     rgba(26, 60, 52, 0.14);
  --hb-forest-30:     rgba(26, 60, 52, 0.30);
  --hb-forest-60:     rgba(26, 60, 52, 0.60);
  --hb-electric-press:#09A82E;

  /* Semantic */
  --bg:         var(--hb-warm-white);
  --bg-alt:     var(--hb-pale-lime);
  --surface:    #FFFFFF;
  --ink:        var(--hb-forest);
  --ink-muted:  var(--hb-forest-60);
  --ink-soft:   var(--hb-slate);
  --accent:     var(--hb-electric);
  --border:     var(--hb-forest-14);
  --border-soft:var(--hb-forest-08);
  --success:    #0AC135;
  --warning:    #F98513;
  --danger:     #D83232;

  /* On-forest (dark anchor sections) */
  --on-forest-ink:      var(--hb-warm-white);
  --on-forest-muted:    rgba(247,247,240,0.62);
  --on-forest-soft:     rgba(247,247,240,0.40);
  --on-forest-border:   rgba(247,247,240,0.12);
  --on-forest-surface:  rgba(247,247,240,0.04);
}

/* ── Base ───────────────────────────────────────────── */
*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:'General Sans','Inter',system-ui,-apple-system,sans-serif;
  font-size:16px;
  line-height:1.5;
  color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{max-width:100%;display:block;}
a{color:inherit;}
button{font:inherit;}
code,pre,.mono{font-family:'JetBrains Mono',ui-monospace,Menlo,monospace;}

/* ── Type scale ─────────────────────────────────────── */
h1,h2,h3,h4{
  margin:0;
  font-weight:700;
  letter-spacing:-0.02em;
  text-wrap:balance;
  color:var(--ink);
}
h1{font-size:clamp(40px,5.5vw,72px);line-height:1.05;letter-spacing:-0.025em;}
h2{font-size:clamp(28px,3.5vw,40px);line-height:1.15;letter-spacing:-0.015em;}
h3{font-size:22px;font-weight:600;letter-spacing:-0.005em;line-height:1.3;}
h4{font-size:16px;font-weight:600;letter-spacing:-0.005em;}
p{margin:0 0 1em;text-wrap:pretty;max-width:65ch;}

.eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  font-size:11px;font-weight:600;letter-spacing:0.12em;
  text-transform:uppercase;color:var(--hb-slate);
  margin-bottom:16px;
}
.eyebrow .triangle{width:8px;height:8px;}

.lead{
  font-size:18px;line-height:1.65;color:var(--hb-forest-60);
  max-width:60ch;
}

/* ── Triangle motif ─────────────────────────────────── */
.triangle{
  display:inline-block;width:10px;height:10px;
  background:var(--accent);
  clip-path:polygon(50% 100%,0 0,100% 0);
  vertical-align:middle;
}
.triangle.forest{background:var(--hb-forest);}
.triangle.right{clip-path:polygon(0 0,100% 50%,0 100%);}
.triangle.up{clip-path:polygon(0 100%,50% 0,100% 100%);}

/* ── Buttons ────────────────────────────────────────── */
.btn{
  display:inline-flex;align-items:center;gap:8px;
  font-family:inherit;font-size:14px;font-weight:500;line-height:1;
  padding:12px 20px;border-radius:999px;border:0;
  cursor:pointer;text-decoration:none;
  transition:background 150ms ease, color 150ms ease, border-color 150ms ease, transform 150ms ease;
  white-space:nowrap;
}
.btn-primary{background:var(--accent);color:var(--hb-forest);}
.btn-primary:hover{background:var(--hb-electric-press);}
.btn-secondary{background:var(--hb-forest);color:var(--hb-warm-white);}
.btn-secondary:hover{background:var(--hb-forest-ink);}
.btn-ghost{background:transparent;color:var(--hb-forest);border:1px solid var(--border);}
.btn-ghost:hover{border-color:var(--hb-forest-30);background:var(--hb-forest-04);}
.btn-small{padding:8px 14px;font-size:13px;}

/* ── Cards ──────────────────────────────────────────── */
.card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:12px;
  padding:24px;
  transition:border-color 200ms ease, transform 200ms ease;
}
.card:hover{border-color:rgba(10,193,53,0.4);}
.card-link{display:block;text-decoration:none;color:inherit;}
.card-link:hover{transform:translateY(-2px);}

/* ── Pills / badges ─────────────────────────────────── */
.pill{
  display:inline-flex;align-items:center;gap:6px;
  padding:3px 10px;border-radius:999px;
  font-size:12px;font-weight:500;line-height:1.4;
  background:var(--hb-forest-08);color:var(--hb-forest);
}
.pill-success{background:rgba(10,193,53,0.12);color:var(--hb-electric-press);}
.pill-warning{background:rgba(249,133,19,0.12);color:var(--hb-orange);}
.pill-danger{background:rgba(216,50,50,0.10);color:var(--danger);}
.pill-electric{background:var(--accent);color:var(--hb-forest);}
.pill-forest{background:var(--hb-forest);color:var(--hb-warm-white);}

/* ── Nav ────────────────────────────────────────────── */
.hb-nav{
  position:sticky;top:0;z-index:100;
  padding:10px 40px;
  display:flex;justify-content:space-between;align-items:center;
  gap:24px;
  background:rgba(247,247,240,0.92);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border-soft);
  min-height:64px;
}
.hb-nav-brand{
  display:flex;align-items:center;gap:14px;
  text-decoration:none;color:var(--ink);
}
.hb-nav-brand img{
  height:44px;width:auto;display:block;
  transition:filter 150ms ease;
}
/* In dark mode, flip the transparent PNG to warm-white with a filter —
   no second asset needed. */
[data-theme="dark"] .hb-nav-brand img{
  filter:brightness(0) invert(1);
}
.hb-nav .mark{
  font-size:11px;font-weight:600;letter-spacing:0.12em;
  text-transform:uppercase;color:var(--hb-slate);
  padding-left:14px;border-left:1px solid var(--border);
}
/* Partner / group brand logos sit to the right of the HydraB lockup.
   Sized smaller than the HydraB image because their canvases pack content
   more densely — same numeric height would look visually larger. */
.hb-nav-partners{
  display:flex;align-items:center;gap:20px;
}
/* Tighten the nav-level gap when the partner strip is present so the
   HydraB → Wrightbus space matches the inter-logo gap inside the strip. */
.hb-nav:has(.hb-nav-partners){gap:20px;}

/* ── Nav intro entrance ───────────────────────────────
   Each partner logo fades + slides in 0.25s after the
   previous, then the divider, then the page-mark text.
   Gated by body.intro-running, which hydrab.js removes
   ~2.6s after DOMContentLoaded so theme swaps don't
   retrigger the animation. */
body.intro-running .hb-nav-partners img{
  opacity:0;transform:translateX(-12px);
  animation:hbNavLogoIn 0.45s cubic-bezier(.2,.7,.3,1) forwards;
}
body.intro-running .hb-nav-partners img:nth-child(1){animation-delay:0.25s;}
body.intro-running .hb-nav-partners img:nth-child(2){animation-delay:0.50s;}
body.intro-running .hb-nav-partners img:nth-child(3){animation-delay:0.75s;}
body.intro-running .hb-nav-partners img:nth-child(4){animation-delay:1.00s;}
body.intro-running .hb-nav-partners img:nth-child(5){animation-delay:1.25s;}
body.intro-running .hb-nav-partners img:nth-child(6){animation-delay:1.50s;}
/* Page-mark divider: replace the default .mark border-left with a pseudo
   so we can animate it independently from the text inside. */
.hb-mark-anim{border-left:0 !important;padding-left:14px;position:relative;}
.hb-mark-anim::before{
  content:'';position:absolute;left:0;top:50%;
  width:1px;height:18px;margin-top:-9px;
  background:var(--border);
}
[data-theme="dark"] .hb-mark-anim::before{background:rgba(247,247,240,0.18);}
body.intro-running .hb-mark-anim::before{
  opacity:0;
  animation:hbNavDividerIn 0.3s ease 1.75s forwards;
}
.hb-mark-anim .mark-text{display:inline-block;}
body.intro-running .hb-mark-anim .mark-text{
  opacity:0;transform:translateX(-12px);
  animation:hbNavMarkIn 0.45s cubic-bezier(.2,.7,.3,1) 2.00s forwards;
}
@keyframes hbNavLogoIn   {to{opacity:1;transform:translateX(0);}}
@keyframes hbNavDividerIn{to{opacity:1;}}
@keyframes hbNavMarkIn   {to{opacity:1;transform:translateX(0);}}
@media (prefers-reduced-motion: reduce){
  body.intro-running .hb-nav-partners img,
  body.intro-running .hb-mark-anim::before,
  body.intro-running .hb-mark-anim .mark-text{
    opacity:1;transform:none;animation:none;
  }
}
.hb-nav-partners img{
  height:28px;width:auto;display:block;
  transition:filter 150ms ease;
}
/* Per-partner overrides — visual height parity (densely-packed canvases
   need a smaller height to read at the same optical size as HydraB). */
.hb-nav-partners img[src$="Wrightbus_logo.png"]{height:22px;}
.hb-nav-partners img[src$="hygen.svg"]{height:16px;}
.hb-nav-partners img[src$="hykitdark.png"]{height:22px;}
/* newpower ships white-on-transparent — flip dark in light mode so it reads
   on the warm-white nav. Dark mode is overridden below to restore white. */
.hb-nav-partners img[src$="newpower.webp"]{filter:brightness(0);}
/* HyKit uses one asset across both modes. Light mode wraps it in a brand-
   green pill so the white KIT letterforms have contrast; dark mode shows
   the asset directly on forest. */
.hb-nav-partners img[src$="hykitdark.png"]{
  background:#8cc63f;border-radius:3px;padding:1px 4px;
  transition:background 150ms ease,padding 150ms ease,filter 150ms ease;
}
.hb-nav-end{
  display:flex;align-items:center;gap:4px;margin-left:auto;
}
.hb-nav-links{display:flex;gap:2px;align-items:center;}
.hb-nav-links a{
  font-size:13px;font-weight:500;color:var(--hb-forest-60);
  text-decoration:none;padding:8px 14px;border-radius:999px;
  transition:background 150ms, color 150ms;
  /* Reserve space for the bold active state so width never shifts */
  letter-spacing:0;
}
.hb-nav-links a:hover{color:var(--ink);background:var(--hb-forest-04);}
.hb-nav-links a.active{
  color:var(--hb-warm-white);background:var(--hb-forest);
  font-weight:600;
}
.hb-nav-links a.active:hover{background:var(--hb-forest-ink);}

/* ── Theme toggle — segmented pill with sliding thumb ── */
.hb-theme-toggle{
  position:relative;display:inline-flex;align-items:center;
  margin-left:8px;padding:3px;height:34px;
  background:var(--hb-forest-08);
  border:1px solid var(--border);border-radius:999px;
  font-family:inherit;cursor:pointer;
  transition:border-color 150ms ease, background 150ms ease;
  -webkit-user-select:none;user-select:none;
  overflow:hidden;
}
.hb-theme-toggle:hover{border-color:var(--hb-forest-30);}
.hb-theme-toggle .thumb{
  position:absolute;top:3px;bottom:3px;left:3px;
  width:calc(50% - 3px);
  background:var(--hb-forest);
  border-radius:999px;
  transition:transform 240ms cubic-bezier(.25,.46,.45,.94), background 150ms ease;
  z-index:0;
}
.hb-theme-toggle .lbl{
  position:relative;z-index:1;
  display:inline-flex;align-items:center;justify-content:center;
  min-width:54px;padding:0 14px;height:100%;
  font-size:12px;font-weight:600;letter-spacing:0.02em;line-height:1;
  color:var(--hb-forest-60);
  transition:color 180ms ease;
}
.hb-theme-toggle .lbl-light{color:var(--hb-warm-white);}
.hb-theme-toggle .lbl-dark{color:var(--hb-forest-60);}

/* Dark mode — thumb slides right, electric accent */
[data-theme="dark"] .hb-theme-toggle{
  background:rgba(247,247,240,0.10);
  border-color:rgba(247,247,240,0.18);
}
[data-theme="dark"] .hb-theme-toggle:hover{border-color:rgba(247,247,240,0.35);}
[data-theme="dark"] .hb-theme-toggle .thumb{
  transform:translateX(100%);
  background:var(--hb-electric);
}
[data-theme="dark"] .hb-theme-toggle .lbl-light{color:rgba(247,247,240,0.55);}
[data-theme="dark"] .hb-theme-toggle .lbl-dark{color:var(--hb-forest);}

/* ── Sign out — outlined pill to the right of the theme toggle ── */
.hb-signout{
  display:inline-flex;align-items:center;gap:6px;
  margin-left:6px;height:34px;padding:0 14px;
  font-family:inherit;font-size:12px;font-weight:600;letter-spacing:0.02em;line-height:1;
  color:var(--hb-forest-60);text-decoration:none;
  background:transparent;border:1px solid var(--border);border-radius:999px;
  transition:color 150ms ease, border-color 150ms ease, background 150ms ease;
}
.hb-signout:hover{color:var(--ink);border-color:var(--hb-forest-30);background:var(--hb-forest-04);}
.hb-signout svg{width:14px;height:14px;flex:none;}
[data-theme="dark"] .hb-signout{color:rgba(247,247,240,0.65);border-color:rgba(247,247,240,0.18);}
[data-theme="dark"] .hb-signout:hover{color:var(--hb-warm-white);border-color:rgba(247,247,240,0.35);background:rgba(247,247,240,0.06);}
@media (max-width:640px){
  .hb-signout span{display:none;}
  .hb-signout{padding:0 10px;}
}

/* ── Sections ───────────────────────────────────────── */
.section{padding:96px 48px;}
.section-inner{max-width:1200px;margin:0 auto;}
.section-prose{max-width:720px;margin:0 auto;}
.section-alt{background:var(--hb-pale-lime);}
.section-forest{
  background:var(--hb-forest);color:var(--on-forest-ink);
}
.section-forest h1,
.section-forest h2,
.section-forest h3,
.section-forest h4{color:var(--on-forest-ink);}
.section-forest .lead,
.section-forest p{color:var(--on-forest-muted);}
.section-forest .eyebrow{color:var(--hb-mint);}
.section-forest .card{
  background:var(--on-forest-surface);
  border-color:var(--on-forest-border);
  color:var(--on-forest-ink);
}
.section-forest .card h3{color:var(--on-forest-ink);}
.section-forest .card p{color:var(--on-forest-muted);}
.section-forest .pill{background:var(--on-forest-surface);color:var(--on-forest-ink);border:1px solid var(--on-forest-border);}
.section-forest .btn-ghost{color:var(--hb-warm-white);border-color:var(--on-forest-border);}
.section-forest .btn-ghost:hover{background:var(--on-forest-surface);border-color:var(--on-forest-ink);}

/* ── Grid helpers ───────────────────────────────────── */
.g2{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;}
.g3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.g4{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;}

/* ── Footer ─────────────────────────────────────────── */
.hb-footer{
  padding:48px;
  border-top:1px solid var(--border);
  background:var(--hb-warm-white);
  color:var(--hb-forest-60);
  font-size:13px;
}
.hb-footer-inner{
  max-width:1200px;margin:0 auto;
  display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;
}
.hb-footer img{height:20px;width:auto;opacity:0.8;}

/* ── Reveal-on-scroll ───────────────────────────────── */
.rv{opacity:0;transform:translateY(14px);transition:opacity .6s ease,transform .6s ease;}
.rv.vis{opacity:1;transform:translateY(0);}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width:960px){
  .section{padding:64px 24px;}
  .hb-nav{padding:10px 20px;}
  .hb-nav .mark{display:none;}
  .hb-nav-partners{display:none;}
  .hb-footer{padding:32px 24px;}
  .g2,.g3,.g4{grid-template-columns:1fr;}
}
/* Partner strip + brand + nav-end is too much content between 960–1200px;
   hide the strip earlier so the nav row doesn't crowd. */
@media (max-width:1200px){
  .hb-nav-partners{display:none;}
}

/* ──────────────────────────────────────────────────────
   DARK MODE — forest canvas, warm-white ink
   Triggered by [data-theme="dark"] on <html> (or <body>)
   ────────────────────────────────────────────────────── */
[data-theme="dark"]{
  --bg:        var(--hb-forest);
  --bg-alt:    #153029;
  --surface:   rgba(247,247,240,0.04);
  --ink:       var(--hb-warm-white);
  --ink-muted: rgba(247,247,240,0.65);
  --ink-soft:  rgba(247,247,240,0.45);
  --border:       rgba(247,247,240,0.12);
  --border-soft:  rgba(247,247,240,0.08);
  /* Remap the alpha-on-forest tokens so tracks/pills/borders stay visible
     when the page background becomes forest. Keeping --hb-forest itself
     as-is because it's also used as a solid background color. */
  --hb-forest-04: rgba(247,247,240,0.04);
  --hb-forest-08: rgba(247,247,240,0.08);
  --hb-forest-14: rgba(247,247,240,0.14);
  --hb-forest-30: rgba(247,247,240,0.30);
  --hb-forest-60: rgba(247,247,240,0.65);
  --hb-slate:     rgba(247,247,240,0.55);
}
[data-theme="dark"] body{background:var(--hb-forest);color:var(--hb-warm-white);}
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4{color:var(--hb-warm-white);}
[data-theme="dark"] p{color:rgba(247,247,240,0.72);}
[data-theme="dark"] .lead{color:rgba(247,247,240,0.7);}
[data-theme="dark"] .eyebrow{color:var(--hb-mint);}

/* Nav in dark */
[data-theme="dark"] .hb-nav{
  background:rgba(16,40,32,0.88);
  border-bottom-color:rgba(247,247,240,0.08);
}
[data-theme="dark"] .hb-nav-brand{color:var(--hb-warm-white);}
[data-theme="dark"] .hb-nav .mark{color:rgba(247,247,240,0.55);border-left-color:rgba(247,247,240,0.12);}
[data-theme="dark"] .hb-nav-partners img{filter:brightness(0) invert(1);}
/* newpower's light-mode brightness(0) override sits at the same specificity
   as the rule above and would win on source order — pin it back to white in
   dark mode explicitly. */
[data-theme="dark"] .hb-nav-partners img[src$="newpower.webp"]{filter:brightness(0) invert(1);}
/* Drop the HyKit chip in dark mode so the asset sits cleanly on forest. */
[data-theme="dark"] .hb-nav-partners img[src$="hykitdark.png"]{
  background:transparent;padding:0;filter:none;
}
[data-theme="dark"] .hb-nav-links a{color:rgba(247,247,240,0.55);}
[data-theme="dark"] .hb-nav-links a:hover{color:var(--hb-warm-white);background:rgba(247,247,240,0.06);}
[data-theme="dark"] .hb-nav-links a.active{
  color:var(--hb-forest);background:var(--hb-warm-white);font-weight:600;
}
[data-theme="dark"] .hb-nav-links a.active:hover{background:#fff;}
[data-theme="dark"] .hb-theme-toggle{color:rgba(247,247,240,0.55);border-color:rgba(247,247,240,0.12);}
[data-theme="dark"] .hb-theme-toggle:hover{color:var(--hb-warm-white);background:rgba(247,247,240,0.06);border-color:rgba(247,247,240,0.28);}

/* Cards, sections, pills */
[data-theme="dark"] .card{background:rgba(247,247,240,0.04);border-color:rgba(247,247,240,0.12);}
[data-theme="dark"] .section-alt{background:#153029;}
/* Forest sections stay forest — no change */
[data-theme="dark"] .pill{background:rgba(247,247,240,0.08);color:var(--hb-warm-white);}
[data-theme="dark"] .btn-ghost{color:var(--hb-warm-white);border-color:rgba(247,247,240,0.18);}
[data-theme="dark"] .btn-ghost:hover{background:rgba(247,247,240,0.08);border-color:rgba(247,247,240,0.35);}

/* Footer */
[data-theme="dark"] .hb-footer{background:var(--hb-forest-ink);border-top-color:rgba(247,247,240,0.08);color:rgba(247,247,240,0.55);}
[data-theme="dark"] .hb-footer a{color:var(--hb-warm-white) !important;}

/* Pills — in dark mode, drop the forest-alpha bg for a warm-white-alpha one
   so the pill still reads as a pill on a dark surface. */
[data-theme="dark"] .pill{background:rgba(247,247,240,0.08);color:var(--hb-warm-white);}
[data-theme="dark"] .pill-success{background:rgba(10,193,53,0.18);color:var(--hb-electric);}
[data-theme="dark"] .pill-warning{background:rgba(249,133,19,0.18);color:var(--hb-orange);}
[data-theme="dark"] .pill-danger{background:rgba(216,50,50,0.18);color:#ff7b7b;}
[data-theme="dark"] .pill-electric{background:var(--hb-electric);color:var(--hb-forest);}
[data-theme="dark"] .pill-forest{background:rgba(247,247,240,0.12);color:var(--hb-warm-white);}

/* Per-page component overrides — elements that hardcode var(--hb-forest)
   for text/fill (--hb-forest stays forest because it's also a solid bg,
   so text uses need explicit remapping here). */

/* Portal stats / tiles (index.html) */
[data-theme="dark"] .hero-stats .stat-num{color:var(--hb-warm-white);}
[data-theme="dark"] .tile-foot{color:var(--hb-warm-white);}
[data-theme="dark"] .tile-feature{background:var(--hb-forest-ink);border-color:rgba(247,247,240,0.18);}

/* Briefing stats & callouts (chair-briefing.html) — also overridden in
   the page's local style block; keeping here so hub/survey inherit.   */
[data-theme="dark"] .stat-num{color:var(--hb-warm-white);}
[data-theme="dark"] .stat-num.accent{color:var(--hb-electric);}
[data-theme="dark"] .stat{border-left-color:var(--hb-electric);}
[data-theme="dark"] .callout{background:rgba(247,247,240,0.04);border-color:rgba(247,247,240,0.12);}
[data-theme="dark"] .callout p{color:rgba(247,247,240,0.78);}
[data-theme="dark"] .callout strong{color:var(--hb-warm-white);}
[data-theme="dark"] .callout.warn{background:rgba(249,133,19,0.10);}
[data-theme="dark"] .callout.danger{background:rgba(216,50,50,0.12);}

/* Survey text (survey.html) */
[data-theme="dark"] .hbar .lbl,
[data-theme="dark"] .donut-center .val,
[data-theme="dark"] .hist-footer .avg,
[data-theme="dark"] .pill-row .pill-label{color:var(--hb-warm-white);}

/* Events page text colour fixes (pages/events.html).
   Filter-button and meta-pill variants have their own colour logic
   per variant, so they're handled in that page's local style block. */
[data-theme="dark"] .section-title,
[data-theme="dark"] .event-card h3,
[data-theme="dark"] .resource-strip .r-title,
[data-theme="dark"] .vendor-oai .vendor-label,
[data-theme="dark"] .source-link{color:var(--hb-warm-white);}
[data-theme="dark"] .resource-strip{background:rgba(247,247,240,0.06);}

/* Respect prefers-reduced-motion everywhere */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important;}
}
