/* ════════════════════════════════════════════════════════════
   Ethan Soh — portfolio
   Apple-light foundation with a personal voice: left-aligned
   hero, tinted project bands, CSS-drawn product mockups.
   No gradients.
   ════════════════════════════════════════════════════════════ */

:root {
  --bg: #ffffff;
  --ink: #1d1d1f;
  --gray: #6e6e73;
  --panel: #f5f5f7;
  --panel-hover: #e8e8ed;
  --hairline: #d2d2d7;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --link: #0066cc;
  --highlight: #ffe45e;

  --dark-bg: #000000;
  --dark-ink: #f5f5f7;
  --dark-gray: #86868b;

  /* project band tints (flat) */
  --tint-cream: #faf1e4;
  --tint-sky: #e9f2fb;
  --tint-mint: #e9f6ee;
  --tint-lavender: #f0eefa;

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;

  --r-card: 18px;
  --r-card-lg: 28px;
  --r-pill: 980px;

  --page: 1080px;
  --ease: cubic-bezier(.28, .11, .32, 1);
  --nav-h: 48px;
}

/* ─── base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 17px; line-height: 1.47; font-weight: 400;
  letter-spacing: -.022em;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: #b3d7ff; color: var(--ink); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
u, em, b, i { text-decoration: none; font-style: normal; }

.container { max-width: var(--page); margin: 0 auto; padding: 0 22px; }

/* ─── toast ─── */
.toast {
  position: fixed; bottom: 28px; left: 50%; z-index: 300;
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  background: var(--bg); color: var(--ink);
  font-size: 14px; font-weight: 500;
  padding: 12px 20px; border-radius: var(--r-pill);
  border: 1px solid var(--hairline);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
  transition: transform .4s var(--ease), opacity .3s var(--ease);
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ─── nav ─── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(251, 251, 253, .8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}
.nav-inner {
  max-width: var(--page); margin: 0 auto; height: 100%;
  padding: 0 22px; display: flex; align-items: center; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.brand-mark { width: 14px; height: 14px; fill: var(--ink); }
.nav-links { display: flex; gap: 32px; margin: 0 auto; }
.nav-links a {
  font-size: 12px; letter-spacing: -.01em;
  color: rgba(0, 0, 0, .72);
  transition: color .25s var(--ease);
}
.nav-links a:hover { color: var(--ink); }

/* ─── buttons & links ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-pill);
  font-size: 17px; font-weight: 400; letter-spacing: -.022em;
  padding: 12px 22px;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-hover); }
.btn-sm { font-size: 12px; padding: 6px 14px; }

.link-chevron {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--link); font-size: 17px; letter-spacing: -.022em;
}
.link-chevron span { transition: transform .25s var(--ease); }
.link-chevron:hover { text-decoration: underline; }
.link-chevron:hover span { transform: translateX(3px); }
.band-dark .link-chevron { color: #2997ff; }

.cta-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

/* ─── hero ─── */
.hero {
  min-height: 86svh; display: flex; align-items: center;
  padding: calc(var(--nav-h) + 72px) 0 80px;
}
.hero-grid {
  display: grid; grid-template-columns: 1.25fr .75fr;
  gap: 72px; align-items: center; width: 100%;
}
.hero-eyebrow { font-size: 16px; color: var(--gray); margin-bottom: 16px; }
.hero-title {
  font-size: clamp(40px, 5.4vw, 68px);
  font-weight: 700; line-height: 1.06; letter-spacing: -.025em;
  margin-bottom: 22px;
}
.hero-sub {
  display: block;
  font-size: .46em; font-weight: 600;
  letter-spacing: -.02em; line-height: 1.25;
  margin-top: 12px;
}
.hl {
  background: var(--highlight);
  padding: .02em .14em; margin: 0 -.04em;
  border-radius: 8px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero-lead {
  font-size: 19px; line-height: 1.5; letter-spacing: -.01em;
  color: var(--gray); max-width: 50ch; margin-bottom: 32px;
}
.social-row { display: flex; gap: 12px; margin-top: 32px; }
.social-row a {
  width: 42px; height: 42px; border-radius: 13px;
  background: var(--panel); color: var(--ink);
  display: grid; place-items: center;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.social-row a:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.social-row svg { width: 18px; height: 18px; fill: currentColor; }
.social-row svg[fill="none"] { fill: none; stroke: currentColor; }

.hero-photo img {
  border-radius: 24px; aspect-ratio: 4/5; object-fit: cover; width: 100%;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .16);
  transform: rotate(2.5deg);
  transition: transform .5s var(--ease);
}
.hero-photo:hover img { transform: rotate(0deg) scale(1.01); }
.photo-note { display: block; text-align: center; margin-top: 18px; font-size: 13px; color: var(--gray); }

/* ─── stats ─── */
.stats { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat strong { display: block; font-size: 48px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.stat > span { font-size: 14px; color: var(--gray); }

/* ─── sections ─── */
.section { padding: 130px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-head h2, .band-grid h2, .about-copy h2 {
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 700; line-height: 1.08; letter-spacing: -.02em;
  margin-bottom: 16px;
}
.section-head p { font-size: 19px; line-height: 1.45; color: var(--gray); }

/* ─── project bands ─── */
.project-band { padding: 88px 0; }
.tint-cream { background: var(--tint-cream); }
.tint-sky { background: var(--tint-sky); }
.tint-mint { background: var(--tint-mint); }
.tint-lavender { background: var(--tint-lavender); }

.project-grid {
  display: grid; grid-template-columns: .9fr 1.1fr;
  gap: 72px; align-items: center;
}
.project-grid.flip .project-copy { order: 2; }
.project-copy h3 { font-size: 34px; font-weight: 700; letter-spacing: -.02em; margin: 10px 0 12px; }
.project-copy p { font-size: 16px; line-height: 1.55; color: #515154; max-width: 46ch; margin-bottom: 20px; }
.card-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gray); }
.card-eyebrow.muted { font-weight: 400; text-transform: none; letter-spacing: -.01em; }

/* ─── product screenshots ─── */
.shot {
  display: block; width: 100%; height: auto; max-width: 560px; margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .16);
}
.shot-phone { max-width: 300px; border-radius: 28px; }

/* smaller projects */
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-top: 18px; }
.mini-card {
  background: var(--panel); border-radius: var(--r-card-lg);
  padding: 36px 34px;
  transition: transform .45s var(--ease);
}
.mini-card:hover { transform: scale(1.012); }
.mini-card h3 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; margin: 8px 0 8px; }
.mini-card p { font-size: 15px; line-height: 1.5; color: var(--gray); }

/* ─── quote band ─── */
.quote-band { padding: 40px 0 130px; }
.quote-band blockquote { text-align: center; max-width: 820px; margin: 0 auto; }
.quote-band p {
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 700; letter-spacing: -.02em; line-height: 1.15;
}
.quote-band cite { display: block; margin-top: 18px; font-size: 16px; color: var(--gray); font-style: normal; }

/* ─── right now ─── */
.now-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.now-card {
  background: var(--panel); border-radius: var(--r-card-lg); padding: 32px 30px;
  transition: transform .45s var(--ease);
}
.now-card:hover { transform: scale(1.015); }
.now-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--gray); margin-bottom: 10px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #30d158; position: relative; flex: none; }
.pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid #30d158; animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.3); opacity: 0; } }
.now-card h3 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.now-card p { font-size: 14px; line-height: 1.5; color: var(--gray); }

/* ─── alt (soft gray) sections ─── */
.section.alt { background: var(--panel); }
.section.alt .repo-card, .section.alt .filter-pill, .section.alt .beyond-card { background: #fff; }
.section.alt .repo-card:hover, .section.alt .filter-pill:hover { background: #fbfbfd; }
.section.alt .filter-pill.active { background: var(--ink); }

/* ─── toolbox ─── */
.tool-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 980px; margin: 0 auto; }
.tool-group h3 {
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--gray); margin-bottom: 14px;
}
.tool-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-pills span {
  font-size: 14px; font-weight: 500; letter-spacing: -.01em;
  background: var(--panel); padding: 8px 16px; border-radius: var(--r-pill);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.tool-pills span:hover { background: var(--panel-hover); transform: translateY(-1px); }

/* ─── beyond the code ─── */
.beyond-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.beyond-card {
  background: #fff; border-radius: var(--r-card); padding: 28px 24px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.beyond-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0, 0, 0, .07); }
.beyond-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--panel); color: var(--ink);
  display: grid; place-items: center; margin-bottom: 16px;
}
.beyond-icon svg { width: 21px; height: 21px; }
.beyond-card h3 { font-size: 17px; font-weight: 700; letter-spacing: -.015em; margin-bottom: 6px; }
.beyond-card p { font-size: 13px; line-height: 1.5; color: var(--gray); }

/* ─── dark band ─── */
.band-dark { background: var(--dark-bg); color: var(--dark-ink); padding: 130px 0; }
.band-dark .band-lead { color: var(--dark-gray); }
.band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.band-lead { font-size: 19px; line-height: 1.45; }

/* ─── gray band ─── */
.band-gray { background: var(--panel); padding: 130px 0; }

/* ─── terminal ─── */
.terminal {
  border-radius: 12px; overflow: hidden;
  background: #161617; color: #f5f5f7;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
  font-family: var(--mono); font-size: 13px; line-height: 1.6;
  letter-spacing: 0;
}
.terminal-bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; background: #29292c; }
.terminal-bar i { width: 12px; height: 12px; border-radius: 50%; }
.terminal-bar i:nth-child(1) { background: #ff5f57; }
.terminal-bar i:nth-child(2) { background: #febc2e; }
.terminal-bar i:nth-child(3) { background: #28c840; }
.terminal-bar span { margin-left: auto; font-size: 11px; color: rgba(255,255,255,.45); }
.terminal-body { padding: 18px; min-height: 236px; white-space: pre-wrap; word-break: break-word; }
.terminal-body .td { color: rgba(255,255,255,.5); }
.cursor-block { display: inline-block; width: 7px; height: 14px; background: #f5f5f7; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ─── GitHub contribution graph ─── */
.contrib-card {
  background: #fff; border-radius: var(--r-card);
  padding: 26px 28px 22px; margin-bottom: 40px;
}
.contrib-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.contrib-head h3 { font-size: 17px; font-weight: 600; letter-spacing: -.015em; }
.contrib-head .link-chevron { font-size: 14px; }
.contrib-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.contrib-body { width: max-content; }
.contrib-months { display: flex; gap: 3px; margin: 0 0 6px 34px; }
.contrib-months span { width: 12px; flex: none; font-size: 10px; color: var(--gray); }
.contrib-months b { font-weight: 400; white-space: nowrap; }
.contrib-rows { display: flex; gap: 6px; }
.contrib-days { display: flex; flex-direction: column; gap: 3px; width: 28px; flex: none; }
.contrib-days span { height: 12px; font-size: 9px; line-height: 12px; color: var(--gray); }
.contrib-grid { display: flex; gap: 3px; }
.contrib-week { display: flex; flex-direction: column; gap: 3px; }
.contrib-week i, .contrib-legend i {
  width: 12px; height: 12px; border-radius: 3px; flex: none;
  background: #ebedf0;
}
.contrib-week i.empty { background: transparent; }
.cl0 { background: #ebedf0; }
.cl1 { background: #9be9a8 !important; }
.cl2 { background: #40c463 !important; }
.cl3 { background: #30a14e !important; }
.cl4 { background: #216e39 !important; }
.contrib-week i:hover { outline: 1px solid rgba(0, 0, 0, .25); outline-offset: -1px; }
.contrib-legend {
  display: flex; align-items: center; gap: 4px;
  justify-content: flex-end; margin-top: 14px;
  font-size: 11px; color: var(--gray);
}
.contrib-legend span { margin: 0 4px; }

/* ─── open source ─── */
.filter-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 48px; }
.filter-pill {
  font-size: 14px; color: var(--ink);
  padding: 8px 18px; border-radius: var(--r-pill);
  background: var(--panel);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.filter-pill:hover { background: var(--panel-hover); }
.filter-pill.active { background: var(--ink); color: #fff; font-weight: 500; }

.repo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.repo-card {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--panel); border-radius: var(--r-card); padding: 22px;
  transition: background .3s var(--ease), transform .35s var(--ease);
}
.repo-card:hover { background: var(--panel-hover); transform: translateY(-2px); }
.repo-card.hide { display: none; }
.repo-top { display: flex; align-items: baseline; gap: 8px; }
.repo-name { font-size: 16px; font-weight: 600; letter-spacing: -.01em; overflow-wrap: anywhere; }
.repo-arrow { margin-left: auto; color: var(--gray); font-size: 14px; transition: color .25s var(--ease), transform .25s var(--ease); }
.repo-card:hover .repo-arrow { color: var(--ink); transform: translateX(2px); }
.repo-desc { font-size: 13px; line-height: 1.45; color: var(--gray); flex: 1; }
.repo-meta { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--gray); }
.lang-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 5px; vertical-align: -1px; }
.repo-live { color: var(--link); cursor: pointer; }
.repo-live:hover { text-decoration: underline; }
/* collapsed grid clips mid-row-3; the overlay fades the peeking cards out */
.repo-clipbox { position: relative; overflow: hidden; }
.repo-clipbox::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px;
  background: linear-gradient(to bottom, rgba(245, 245, 247, 0), var(--panel) 88%);
  pointer-events: none; opacity: 0;
  transition: opacity .4s var(--ease);
}
.repo-clipbox.clipped::after { opacity: 1; }
.repo-more { text-align: center; margin-top: 32px; }
.btn-white { background: #fff; color: var(--ink); font-size: 15px; }
.btn-white:hover { background: #fbfbfd; }
.repo-foot { margin-top: 32px; text-align: center; }

/* ─── certifications (compact chips) ─── */
.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cert-card {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border-radius: 16px; padding: 18px 20px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cert-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, .08); }
.cert-mono {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  font-size: 17px; font-weight: 700;
}
.cert-body { min-width: 0; }
.cert-name { font-size: 15px; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.cert-meta { font-size: 12px; color: var(--gray); margin-top: 2px; overflow-wrap: anywhere; }

.recognition { margin-top: 88px; }
.recognition h3 { font-size: 26px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 24px; }
.timeline { list-style: none; }
.timeline li {
  display: grid; grid-template-columns: 88px 1fr; gap: 24px;
  padding: 22px 0; border-top: 1px solid var(--hairline);
}
.t-year { font-size: 14px; color: var(--gray); padding-top: 2px; }
.timeline strong { font-size: 17px; font-weight: 600; letter-spacing: -.015em; display: block; margin-bottom: 4px; }
.timeline p { font-size: 14px; line-height: 1.5; color: var(--gray); }

/* ─── about ─── */
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: center; }
.about-copy > p { color: var(--gray); font-size: 17px; margin-bottom: 16px; max-width: 54ch; }
.facts { display: grid; gap: 22px; }
.facts dt { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--gray); margin-bottom: 3px; }
.facts dd { font-size: 16px; font-weight: 500; letter-spacing: -.01em; }

/* ─── contact ─── */
.contact { padding: 170px 0; text-align: center; border-top: 1px solid var(--hairline); }
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact h2 {
  font-size: clamp(42px, 6.6vw, 84px);
  font-weight: 700; letter-spacing: -.025em; line-height: 1.04;
  margin-bottom: 20px;
}
.contact p { font-size: 19px; color: var(--gray); max-width: 560px; margin-bottom: 40px; }
.contact .cta-row { justify-content: center; }

/* ─── footer ─── */
.footer { background: var(--panel); padding: 28px 0; }
.footer-shortcuts {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding-bottom: 20px; margin-bottom: 20px;
  border-bottom: 1px solid var(--hairline);
}
.footer-shortcuts span { font-size: 12px; color: var(--gray); margin-right: 6px; }
.footer-shortcuts a {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0;
  color: var(--gray); background: #fff; padding: 5px 12px; border-radius: 99px;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.footer-shortcuts a:hover { background: var(--ink); color: #fff; }
.footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer p { font-size: 12px; color: var(--gray); }
.footer-links { display: flex; gap: 24px; margin-left: auto; }
.footer-links a { font-size: 12px; color: var(--gray); transition: color .25s var(--ease); }
.footer-links a:hover { color: var(--ink); }

/* ─── reveal-on-scroll ─── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ─── konami confetti ─── */
.confetti { position: fixed; top: -24px; z-index: 400; pointer-events: none; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); opacity: 0; } }

/* ─── snapshot mode (?snap — screenshots/tests) ─── */
.snap .reveal { opacity: 1; transform: none; transition: none; }
.snap .hero { min-height: auto; padding-top: 140px; }

/* ─── responsive ─── */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-photo { max-width: 340px; }
  .project-grid { grid-template-columns: 1fr; gap: 48px; }
  .project-grid.flip .project-copy { order: 0; }
  .repo-grid { grid-template-columns: repeat(2, 1fr); }
  .band-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .now-grid, .tool-groups { grid-template-columns: 1fr; gap: 24px; }
  .beyond-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-inner { justify-content: space-between; }
  .section, .band-dark, .band-gray { padding: 96px 0; }
  .project-band { padding: 64px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .repo-grid, .cert-grid, .mini-grid, .beyond-grid { grid-template-columns: 1fr; }
  .quote-band { padding: 16px 0 96px; }
  .contact { padding: 120px 0; }
}

/* ─── reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
}
