/* Dylan Allison Photography
   Layout: a gallery wall on blueprint navy, in the same family as the résumé
   site (Oswald display, Archivo text, JetBrains Mono for readouts, hi-vis
   yellow accent). A quiet header with a live archive readout; the cover photo
   hung uncropped and centred, resolving from coarse pixels as it loads; album
   tabs that stay in reach; photos in justified rows at their true
   proportions. Viewer: a near-black room with the file's own data. */

/* ---------- fonts (self-hosted, SIL Open Font License; see fonts/) ---------- */
@font-face {
  font-family: "Oswald"; font-style: normal; font-display: swap; font-weight: 200 700;
  src: url("fonts/oswald-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 100 800;
  src: url("fonts/jetbrains-mono-latin.woff2") format("woff2");
}

/* ---------- tokens ---------- */
/* Blueprint navy is the default look; the switch in the header offers daylight. */
:root {
  --wall: #0c1622;        /* blueprint navy */
  --mat: #16263a;         /* behind a photo that's still loading */
  --ink: #eef3f7;         /* drafting white */
  --ink-soft: #b3c3d1;
  --graphite: #8399ae;    /* quiet text and readouts */
  --rule: #2c4258;
  --rule-soft: #1d3044;
  --accent: #f7b500;      /* hi-vis yellow */
  --accent-2: #ff6b2c;    /* safety orange */
  --on-accent: #14100a;
  --glow: radial-gradient(1200px 600px at 85% -10%, rgba(247, 181, 0, 0.06), transparent 60%),
          radial-gradient(900px 500px at -10% 110%, rgba(255, 107, 44, 0.05), transparent 60%);
  --grid-line: rgba(120, 160, 200, 0.05);
  --room: #070a0e;        /* the viewer: near-black, so photos aren't tinted */
  --room-ink: #eef3f7;
  --room-muted: #9fb0c0;
  --room-rule: rgba(238, 243, 247, 0.14);

  --display: "Oswald", "Arial Narrow", sans-serif;
  --body: "Archivo", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Consolas, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --gap: clamp(6px, 0.8vw, 12px);
  --cover-h: max(240px, min(100vh - 230px, 1040px));
  color-scheme: dark;
}
@supports (height: 100svh) { :root { --cover-h: max(240px, min(100svh - 230px, 1040px)); } }
/* Daylight: drafting paper. */
:root[data-theme="light"] {
  --wall: #f2f5f8; --mat: #e1e7ee; --ink: #0c1622; --ink-soft: #2f4255; --graphite: #52657a;
  --rule: #c9d3de; --rule-soft: #dbe2ea; --accent: #875c00; --accent-2: #c2410c; --on-accent: #ffffff;
  --glow: none; --grid-line: rgba(12, 22, 34, 0.05);
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { margin: 0; }
body {
  background-color: var(--wall);
  background-image: var(--glow);
  background-attachment: fixed;
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
/* A faint blueprint grid, as on the résumé. It sits behind the page, never over a photo. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px),
                    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }
.num { font-variant-numeric: tabular-nums; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wrap { position: relative; z-index: 1; max-width: 1600px; margin-inline: auto; padding-inline: var(--gutter); }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 14px;
  background: var(--ink); color: var(--wall); text-decoration: none; font: 500 0.8125rem/1 var(--mono);
}
.skip:focus { top: 12px; }
.notice {
  position: relative; z-index: 1;
  margin: 0; padding: 10px var(--gutter); background: var(--mat); color: var(--ink);
  font: 400 0.8125rem/1.45 var(--mono); text-align: center; text-wrap: balance;
}
.notice.problem { background: #b3261e; color: #ffffff; font-weight: 500; }

/* ---------- header ---------- */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: clamp(18px, 2.4vw, 26px) clamp(14px, 1.8vw, 18px);
  border-bottom: 1px solid var(--rule-soft);
}
.name {
  display: flex; align-items: center; gap: 0.6rem; min-width: 0; text-decoration: none; white-space: nowrap;
  font-family: var(--display); font-weight: 500; font-size: 1.125rem; line-height: 1.1;
  letter-spacing: 0.03em; text-transform: uppercase;
}
/* The monogram badge, as on the résumé site. */
.name .mark {
  font: 500 0.6875rem/1 var(--mono); letter-spacing: 0.16em; color: var(--accent);
  border: 1px solid var(--rule); border-radius: 2px; padding: 0.32rem 0.45rem 0.28rem 0.55rem;
}
.name .role { font: 400 0.75rem/1 var(--mono); letter-spacing: 0.04em; color: var(--graphite); }
@media (max-width: 640px) { .name .role { display: none; } }
@media (max-width: 480px) { .name .mark { display: none; } .name { font-size: 1.0625rem; } }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 1.9rem); }
.nav a {
  position: relative; font: 400 0.75rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft); text-decoration: none; padding-block: 8px 6px; white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--accent);
  transition: right 0.28s cubic-bezier(0.6, 0, 0.2, 1);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
@media (max-width: 420px) { .nav { gap: 0.8rem; } .nav a { letter-spacing: 0.06em; } }
/* Light/dark switch: a sun at night (switch to daylight), a moon in daylight. */
.theme {
  display: inline-grid; place-items: center; width: 34px; height: 34px; margin: -6px -8px -6px -2px;
  padding: 0; border: 0; border-radius: 2px; background: none; color: var(--ink-soft); cursor: pointer;
}
.theme:hover { color: var(--accent); }
.theme svg { grid-area: 1 / 1; width: 17px; height: 17px; }
.theme .moon { display: none; }
:root[data-theme="light"] .theme .moon { display: block; }
:root[data-theme="light"] .theme .sun { display: none; }

/* A one-line readout of the archive, like the résumé's coordinate strip. */
.readout {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.35rem 1.5rem;
  padding-block: 10px; border-bottom: 1px solid var(--rule-soft);
  font: 400 0.6875rem/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--graphite);
}
.readout span { white-space: nowrap; }
.readout .dot {
  display: inline-block; width: 6px; height: 6px; margin-right: 0.6rem; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 8px rgba(247, 181, 0, 0.7); translate: 0 -1px;
}
:root[data-theme="light"] .readout .dot { box-shadow: none; }

/* ---------- photos page ---------- */
.cover { display: grid; justify-items: center; padding-top: clamp(4px, 1.5vw, 16px); }
.cover-inner { margin: 0; width: min(100%, calc(var(--cover-h) * var(--r, 1.5))); }
.cover-box {
  position: relative; display: block; width: 100%; aspect-ratio: var(--ar, 3 / 2);
  background: var(--mat); overflow: hidden; cursor: zoom-in;
}
.cover-box img, .cover-box canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover-box img { object-fit: cover; }
.cover-box canvas { image-rendering: pixelated; transition: opacity 0.5s ease; }
.cover-cap {
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 0.25rem 1.5rem;
  min-height: 1.4rem; margin-top: 14px; font: 400 0.75rem/1.5 var(--mono); letter-spacing: 0.02em; color: var(--graphite);
}
.cover-cap .t { font: 400 1.125rem/1.3 var(--display); letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink); }
.cover-cap .m { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }

.intro {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end;
  gap: 1.5rem clamp(2rem, 5vw, 5rem); padding-block: clamp(64px, 9vw, 128px) clamp(36px, 5vw, 64px);
}
.statement {
  margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(2.5rem, 6vw, 5rem); text-transform: uppercase;
  line-height: 0.95; letter-spacing: 0.01em; max-width: 15ch; text-wrap: balance;
}
.intro p { margin: 0; max-width: 40ch; font-size: 1.125rem; line-height: 1.55; color: var(--ink-soft); text-wrap: pretty; }
@media (max-width: 760px) { .intro { grid-template-columns: 1fr; } }

.albums {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--wall); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
}
@supports (backdrop-filter: blur(1px)) {
  .albums { background: color-mix(in srgb, var(--wall) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
}
.albums-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--rule); }
.tabs {
  display: flex; gap: clamp(1.1rem, 2.2vw, 1.9rem); min-width: 0; overflow-x: auto;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs.more-right { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); }
.tabs.more-left { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 40px), transparent); }
.tabs.more-left.more-right { -webkit-mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
.tab {
  position: relative; display: inline-flex; align-items: baseline; gap: 0.55em; padding-block: 17px 15px;
  font: 400 0.75rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft); text-decoration: none; white-space: nowrap;
}
.tab:hover { color: var(--ink); }
.tab .n { letter-spacing: 0.02em; color: var(--graphite); font-variant-numeric: tabular-nums; }
.tab[aria-current="page"] { color: var(--ink); }
.tab[aria-current="page"] .n { color: var(--accent); }
.tab[aria-current="page"]::after { content: ""; position: absolute; inset: auto 0 -1px 0; height: 1px; background: var(--accent); }
.tab:focus-visible { outline-offset: -2px; }
.albums .total { flex: none; font: 400 0.75rem/1 var(--mono); letter-spacing: 0.02em; color: var(--graphite); }
@media (max-width: 560px) { .albums .total { display: none; } }
.album-desc {
  margin: 0; padding-block: 18px 6px; max-width: 62ch; white-space: pre-line;
  font: 400 1.125rem/1.55 var(--body); color: var(--ink-soft); text-wrap: pretty;
}

.grid { display: grid; gap: var(--gap); padding-top: var(--gap); }
.row { display: flex; gap: var(--gap); align-items: flex-start; }
.tile { position: relative; display: block; min-width: 0; overflow: hidden; background: var(--mat); cursor: zoom-in; }
.tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.5s ease, filter 0.25s ease;
}
.tile img.in { opacity: 1; }
.tile:hover img { filter: brightness(1.06); }
.tile:focus-visible { outline-offset: 2px; }
.spacer { min-width: 0; }
.empty { padding-block: 3rem; max-width: 44ch; color: var(--graphite); }
.empty h2 { margin: 0 0 0.5rem; color: var(--ink); font: 500 2rem/1.05 var(--display); letter-spacing: 0.02em; text-transform: uppercase; }

/* ---------- about page ---------- */
.about {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start;
  gap: clamp(2rem, 6vw, 6.5rem); padding-block: clamp(8px, 2vw, 24px) 0;
}
.about.no-portrait { grid-template-columns: minmax(0, 1fr); max-width: 52rem; }
.portrait { margin: 0; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 24px); }
.portrait img {
  width: 100%; height: auto; aspect-ratio: var(--ar, 4 / 5); max-height: calc(100vh - 64px);
  object-fit: cover; background: var(--mat);
}
.about-text { min-width: 0; padding-top: clamp(0px, 1vw, 12px); }
.lead {
  margin: 0 0 1.2em; font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 3.8vw, 3.25rem); line-height: 1; letter-spacing: 0.01em; text-transform: uppercase; max-width: 22ch; text-wrap: balance;
}
.bio p { margin: 0 0 1.1em; max-width: 36em; font: 400 1.1875rem/1.62 var(--body); color: var(--ink-soft); text-wrap: pretty; }
.facts { margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; max-width: 40rem; }
.facts div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; padding-block: 14px; border-top: 1px solid var(--rule-soft); }
.facts div:last-child { border-bottom: 1px solid var(--rule-soft); }
.facts dt { padding-top: 0.2em; font: 400 0.6875rem/1.5 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--graphite); }
.facts dd { margin: 0; font-size: 1.0625rem; overflow-wrap: anywhere; }
.facts dd span { display: block; }
.facts a { text-underline-offset: 3px; }
.files { margin-top: clamp(2.5rem, 5vw, 3.5rem); max-width: 40rem; }
.files h2 { margin: 0 0 0.75rem; font: 400 0.6875rem/1.5 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.files p { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--ink-soft); text-wrap: pretty; }
.files a { color: inherit; text-underline-offset: 3px; }
.files a:hover { color: var(--ink); }
@media (max-width: 820px) {
  .about { grid-template-columns: minmax(0, 1fr); }
  .portrait { position: static; max-width: 30rem; }
  .portrait img { max-height: 72vh; }
}
@media (max-width: 420px) { .facts div { grid-template-columns: 7.5rem minmax(0, 1fr); } }

/* ---------- footer ---------- */
.foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem;
  margin-top: clamp(72px, 10vw, 144px); padding-block: 26px calc(40px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--rule-soft); font: 400 0.75rem/1.5 var(--mono); letter-spacing: 0.02em; color: var(--graphite);
}
.foot .links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.foot a { color: var(--graphite); text-underline-offset: 3px; }
.foot a:hover { color: var(--accent); }

/* ---------- 404 page ---------- */
.lost { padding-block: clamp(48px, 12vw, 160px); max-width: 40rem; }
.lost h1 { margin: 0 0 0.8rem; font: 500 clamp(2.5rem, 6vw, 4.5rem)/0.95 var(--display); letter-spacing: 0.01em; text-transform: uppercase; }
.lost p { margin: 0 0 1.75rem; color: var(--ink-soft); font-size: 1.125rem; }
.lost a { font: 400 0.75rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); text-underline-offset: 6px; }

/* ---------- viewer ---------- */
.viewer {
  position: fixed; inset: 0; z-index: 100; display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  background: var(--room); color: var(--room-ink); overscroll-behavior: contain;
  touch-action: manipulation;   /* no double-tap zoom; pinch still works */
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
}
.v-top { grid-row: 1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 6px 8px 6px 20px; }
.v-pos { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 0.75rem/1 var(--mono); letter-spacing: 0.04em; color: var(--room-muted); }
.v-pos b { font-weight: 500; color: var(--room-ink); }
.vbtn {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%;
  background: transparent; color: var(--room-ink); cursor: pointer;
}
.vbtn:hover { background: rgba(255, 255, 255, 0.1); }
.vbtn svg { width: 22px; height: 22px; }
.viewer :focus-visible { outline-color: var(--accent); }
.v-mid { grid-row: 2; position: relative; min-height: 0; }
.v-stage { position: absolute; inset: 4px 72px 20px; }
.v-stage > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  user-select: none; -webkit-user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none;
  cursor: zoom-in; transition: opacity 0.25s ease;
}
.v-stage .lo { filter: blur(12px); transform: scale(0.995); }
.v-error {
  position: absolute; inset: 0; display: grid; place-content: center; gap: 12px; padding: 24px;
  text-align: center; color: var(--room-muted); font-size: 0.9375rem;
}
.v-error .btn { justify-self: center; }
.v-side { position: absolute; top: 50%; translate: 0 -50%; z-index: 3; }
.v-side.prev { left: 14px; }
.v-side.next { right: 14px; }
.zoom {
  position: absolute; inset: 0; z-index: 2; display: flex; overflow: auto; background: var(--room);
  cursor: grab; overscroll-behavior: contain; scrollbar-width: thin;
}
.zoom:focus { outline: none; }
.zoom.dragging { cursor: grabbing; }
.zoom img { flex: none; margin: auto; max-width: none; user-select: none; -webkit-user-drag: none; }
.v-info {
  grid-row: 3; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 14px 32px;
  padding: 16px 20px 20px; border-top: 1px solid var(--room-rule);
}
.v-text { min-width: 0; display: grid; gap: 6px; }
.v-title { margin: 0; font: 400 1.375rem/1.15 var(--display); letter-spacing: 0.03em; text-transform: uppercase; overflow-wrap: anywhere; }
.v-cap { margin: 0; max-width: 70ch; font: 400 0.9375rem/1.45 var(--body); color: var(--room-muted); }
.v-line { display: flex; flex-wrap: wrap; gap: 3px 18px; margin: 0; font: 400 0.75rem/1.5 var(--mono); letter-spacing: 0.02em; color: var(--room-muted); }
.v-line span { white-space: nowrap; }
.v-line a { color: inherit; text-underline-offset: 3px; }
.v-line a:hover { color: var(--room-ink); }
.v-status { margin: 0; font: 400 0.75rem/1.5 var(--mono); color: var(--accent); }
.v-actions { display: flex; gap: 8px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px;
  border-radius: 2px; border: 1px solid var(--room-rule); background: transparent; color: var(--room-ink);
  font: 400 0.75rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; cursor: pointer; transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover { border-color: var(--room-muted); }
.btn[aria-pressed="true"] { background: rgba(238, 243, 247, 0.12); border-color: var(--room-muted); }
.btn.icon { width: 40px; padding: 0; flex: none; }
/* Download: the hi-vis button, as on the résumé. */
.btn.solid { background: #f7b500; color: #14100a; border-color: #f7b500; }
.btn.solid:hover { background: var(--room-ink); border-color: var(--room-ink); color: var(--room); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn.icon svg { width: 18px; height: 18px; }
.viewer.zoomed .v-side { display: none; }
.viewer.bare .v-top, .viewer.bare .v-info, .viewer.bare .v-side { display: none; }
.viewer.bare .v-stage { inset: 0; }
@media (max-width: 700px) {
  .v-top { padding-right: 156px; min-height: 56px; }
  .v-stage { inset: 0 0 12px; }
  .v-side { top: calc(env(safe-area-inset-top, 0px) + 6px); translate: none; }
  .v-side.prev { left: auto; right: 104px; }
  .v-side.next { right: 56px; }
  .v-close { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 6px); right: 8px; }
  .v-info { grid-template-columns: minmax(0, 1fr); padding: 14px 16px 16px; }
  .v-actions .btn:not(.icon) { flex: 1; }
  .v-line.file { display: none; }
  .v-line.file.only { display: flex; }
  .v-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
  .v-cap { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
