/* The portfolio, in the Mulberry & Mint felt system of the front door (door/rooms.css).
   The tokens, the header and its felt tabs, the felt panel, the brass button, the paper tag,
   the patch button and the focus ring are copied from door/rooms.css, so a change there is a
   change to make here too. Same rules of the house: every colour is a token (scripts/contrast_check.py
   reads this file), one light for every piece, one spacing and type scale, nothing animates on its own, and every transition stops under prefers-reduced-motion.
   One column of about 68ch; no script. The fonts are this site's own, in assets/fonts/. */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(fonts/fraunces-1.woff2) format("woff2");
}

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/AtkinsonHyperlegibleNext-Regular.woff2) format("woff2");
}

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/AtkinsonHyperlegibleNext-Bold.woff2) format("woff2");
}

:root {
  color-scheme: dark;

  /* Colour: Mulberry & Mint, dark. */
  --canvas: #291d30;
  --panel: #352640;
  --panel-purple: #1f1625;
  --elevated: #352640;
  --text: #f5ecf2;
  --secondary: #dacad9;
  --muted: #cbbcce;
  --lilac: #dcc2f7;
  --accent-lilac: #dcc2f7;
  --mint: #a7e6ce;
  --focus: #c4f5e2;
  --pink: #ffa8b4; /* decoration */
  --blue: #a9d4ff; /* decoration */
  --line-subtle: #8b7791; /* decoration */
  --line-strong: #b09ab3;
  --line-ui: #b09ab3;
  --felt-top: #43304f;
  --felt-bottom: #33243d;
  --accent-apricot: #f6cea2;
  --accent-honey: #e8c56a;
  --wood-edge: #6b4a2c; /* decoration */
  --brass-hi: #f3dc94; /* decoration */
  --brass-lo: #b48a2a; /* decoration */
  --shadow: rgb(10 4 14 / 0.5); /* decoration */
  --lip: rgb(255 255 255 / 0.1); /* decoration */

  /* The old names some of her markup still uses (inline styles), pointed at the new tokens. */
  --text-secondary: var(--secondary);
  --aquamarine: var(--text);

  /* Type: two families and one scale. */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --t-sm: 0.875rem;
  --t-md: 1.0625rem;
  --t-lg: 1.35rem;
  --t-xl: clamp(1.6rem, 1.2rem + 1.6vw, 2.1rem);
  --t-2xl: clamp(2.1rem, 1.4rem + 3.4vw, 3.6rem);

  /* Space: one scale, in rem. */
  --s1: 0.25rem;
  --s2: 0.5rem;
  --s3: 0.75rem;
  --s4: 1rem;
  --s5: 1.5rem;
  --s6: 2.5rem;
  --s7: 4rem;

  /* Radius: three steps. */
  --r1: 0.5rem;
  --r2: 0.9rem;
  --r3: 1.25rem;

  --tap: 2.75rem;    /* the smallest target anyone can hit with a thumb */
  --measure: 52rem;  /* header, column and foot share one width (the door uses 70rem for its grid) */
  --column: 68ch;    /* the one reading column */
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  background-color: var(--canvas);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--s4);
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--canvas);
  background-image: radial-gradient(60rem 30rem at 50% -12%, var(--felt-top) 0%, transparent 70%);
  color: var(--text);
  font-family: var(--body);
  font-size: var(--t-md);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-wrap: anywhere;
}

h1, h2, h3 {
  margin: 0 0 0.35em;
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text);
  text-wrap: balance;
}

p { margin: 0 0 0.85em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 var(--s4); padding-left: 1.3rem; }
li { margin-bottom: var(--s2); }
li::marker { color: var(--mint); }

a {
  color: var(--mint);
  text-underline-offset: 0.18em;
}

img { max-width: 100%; height: auto; }

/* The focus ring: mint, 3 px, always visible, never removed. */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 0.35rem;
}

/* ---- the skip link: parked off the page until it is focused ---- */
a.skip-link {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 20;
  transform: translateY(-140%);
  padding: var(--s3) var(--s4);
  border-radius: 0 0 var(--r2) 0;
  background-color: var(--mint);
  color: var(--canvas);
  font-weight: 700;
  text-decoration: none;
}

a.skip-link:focus { transform: translateY(0); }

/* ---- the header, the same as the front door's: the lockup, then felt tabs ---- */
.site-head,
.page,
.foot-wrap {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--s4);
}

.site-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2) var(--s4);
  padding-block: var(--s3) 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  min-height: var(--tap);
  margin: 0;
  color: var(--text);
  font-family: var(--display);
  font-size: var(--t-lg);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.brand img { width: 2rem; height: 2rem; }

.roombar {
  display: flex;
  flex: 1 1 100%;
  gap: var(--s1);
  margin: 0;
  padding: var(--s1);
  border: 1px dashed var(--line-ui);
  border-radius: var(--r2);
  background-color: var(--panel-purple);
}

.roombar a.tab {
  display: inline-flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: var(--tap);
  padding: var(--s1);
  border: 1px dashed var(--line-ui);
  border-radius: var(--r1);
  background-color: var(--felt-bottom);
  background-image: url(felt.png);
  background-size: 160px 160px;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.roombar a.tab:hover { border-color: var(--focus); }

.roombar a.tab[aria-current="page"],
.roombar a.tab.hello {
  background-color: var(--mint);
  background-image: none;
  border-style: solid;
  border-color: var(--canvas);
  color: var(--canvas);
}

.roombar a.tab[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

@media (min-width: 48rem) {
  .site-head,
  .page,
  .foot-wrap { padding-inline: var(--s5); }

  .roombar { flex: 0 1 auto; border: 0; background: none; padding: 0; gap: var(--s2); }
  .roombar a.tab { flex: 0 0 auto; min-width: 4.5rem; padding-inline: var(--s3); font-size: var(--t-sm); }
}

/* ---- the felt panel: flat felt, a pale lip on top, one soft shadow under, and a stitched
   seam sewn just inside the edge. Every card on the page is this one piece. ---- */
.panel,
.artifact,
.ps,
.work-cards > li,
.contact-box,
.platforms {
  position: relative;
  background-color: var(--panel);
  background-image: url(felt.png);
  background-size: 160px 160px;
  border: 1px solid var(--line-subtle);
  border-radius: var(--r3);
  padding: var(--s4);
  box-shadow: inset 0 1px 0 var(--lip), 0 0.3rem 0.8rem var(--shadow);
}

.panel::before,
.artifact::before,
.ps::before,
.work-cards > li::before,
.contact-box::before,
.platforms::before {
  content: "";
  position: absolute;
  inset: 0.3rem;
  border: 1px dashed var(--line-ui);
  border-radius: calc(var(--r3) - 0.3rem);
  opacity: 0.55;
  pointer-events: none;
}

.panel > *,
.artifact > *,
.ps > *,
.work-cards > li > *,
.contact-box > *,
.platforms > * { position: relative; }

/* ---- the patch: a mint button with dark words and a stitched seam ---- */
a.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  min-height: var(--tap);
  min-width: var(--tap);
  padding: var(--s2) var(--s5);
  border: 1px solid var(--line-ui);
  border-radius: 999px;
  background-color: var(--panel-purple);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  box-shadow: inset 0 1px 0 var(--lip), 0 0.2rem 0.5rem var(--shadow);
  transition: background-color 0.15s ease;
}

a.btn:hover { background-color: var(--felt-bottom); border-color: var(--focus); }

a.primary {
  border: 0;
  background-color: var(--mint);
  color: var(--canvas);
}

a.primary:hover { background-color: var(--focus); }

/* The seam sewn inside a patch is decoration. */
a.primary::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px dashed var(--canvas); /* decoration */
  border-radius: inherit;
  opacity: 0.55;
  pointer-events: none;
}

/* the span form of the button (no link) is just a label */
span.btn {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: var(--s2) var(--s5);
  border: 1px dashed var(--line-ui);
  border-radius: 999px;
  color: var(--secondary);
  font-weight: 700;
}

/* ---- the paper tag: a label with a punched hole; dark words on apricot. A tag is a badge: its own
   pair is held to the full bar and the sweep does not lay other words on it. ---- */
.scene-label,
.role-tag {
  display: inline-block;
  margin: 0 0 var(--s3);
  padding: var(--s1) var(--s3) var(--s1) 1.5rem;
  background-color: var(--accent-apricot);
  background-image: radial-gradient(circle at 0.7rem 50%, var(--canvas) 0 0.17rem, transparent 0.2rem);
  color: var(--canvas);
  font-size: var(--t-sm);
  font-weight: 700;
  line-height: 1.3;
  clip-path: polygon(0.5rem 0, 100% 0, 100% 100%, 0.5rem 100%, 0 50%);
}

/* badge: the lilac tag */
.role-tag { background-color: var(--lilac); margin: 0 0 var(--s4); }
/* badge: the lilac part tag */
#turn .scene-label { background-color: var(--lilac); }
/* badge: the honey part tag */
#think .scene-label { background-color: var(--accent-honey); }
/* badge: the mint part tag */
#build .scene-label { background-color: var(--mint); }
/* badge: the pink part tag */
#strange .scene-label { background-color: var(--pink); }

/* ---- the brass button: the one accent a section heading wears ---- */
.work > h2::before,
.scene > .content > h2::before,
.log h2::before,
.platforms > h2::before {
  content: "";
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.3em;
  border-radius: 50%;
  background-image:
    radial-gradient(circle, var(--wood-edge) 0 0.08rem, transparent 0.1rem),
    radial-gradient(circle, var(--wood-edge) 0 0.08rem, transparent 0.1rem),
    radial-gradient(circle at 35% 30%, var(--brass-hi), var(--brass-lo));
  background-position: 30% 50%, 70% 50%, 0 0;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  box-shadow: 0 1px 2px var(--shadow);
}

/* ---- the page: one calm column ---- */
.page {
  display: grid;
  gap: var(--s6);
  padding-block: var(--s5) var(--s6);
}

.page > * { min-width: 0; }

.page p,
.page li,
.log p,
.log li { max-width: var(--column); }

.page .work-cards > li,
.page .ps li,
.page .loop li,
.page .layers li { max-width: none; }

.scene,
.work,
.platforms {
  display: block;
  margin: 0;
}

.scene:not(.scene-hero),
.work {
  padding-top: var(--s5);
  border-top: 2px dashed var(--line-subtle); /* decoration: the stitched divider */
  scroll-margin-top: var(--s4);
}

.felt-veil { display: none; }

.work > h2,
.scene > .content > h2,
.platforms > h2,
.log h2 {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  margin: 0 0 var(--s4);
  font-size: var(--t-xl);
}

.platforms > h2,
.log h2 { font-size: var(--t-lg); }

.log h2::after {
  content: "";
  flex: 1;
  align-self: center;
  min-width: 1rem;
  border-top: 2px dashed var(--line-subtle); /* decoration */
}

/* ---- the hero: her name first ---- */
.scene-hero { padding-top: var(--s2); }

.scene-hero h1,
.log h1 {
  margin: 0 0 var(--s3);
  font-size: var(--t-2xl);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.scene-lead {
  margin: 0 0 var(--s4);
  color: var(--secondary);
  font-size: 1.15rem;
}

.scene-hero ul { margin-top: var(--s4); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3) var(--s4);
  margin: var(--s4) 0;
}

/* ---- Spool's card: the door's speech patch, Spool beside it ---- */
.spool-note {
  display: flex;
  align-items: center;
  gap: var(--s3);
  max-width: 34rem;
  margin: var(--s5) 0 var(--s4);
}

.spool-note img { flex: none; width: 4.5rem; height: auto; }
.welcome img { width: 5.5rem; }

.spool-note p {
  position: relative;
  flex: 1;
  margin: 0;
  padding: var(--s3) var(--s4);
  border: 2px dashed var(--accent-apricot);
  border-radius: var(--r2);
  background-color: var(--panel);
  box-shadow: inset 0 1px 0 var(--lip), 0 0.3rem 0.8rem var(--shadow);
  color: var(--text);
  font-size: var(--t-sm);
  line-height: 1.4;
}

.spool-note p::before {
  content: "";
  position: absolute;
  left: -0.4rem;
  top: calc(50% - 0.35rem);
  width: 0.7rem;
  height: 0.7rem;
  rotate: 45deg;
  border-left: 2px dashed var(--accent-apricot);
  border-bottom: 2px dashed var(--accent-apricot);
  background-color: var(--panel);
}

.spool-note b {
  display: block;
  margin-bottom: var(--s1);
  color: var(--accent-apricot);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---- Contents: a drawer that opens with no script ---- */
.drawer {
  max-width: 34rem;
  margin: 0 0 var(--s4);
  background-color: var(--elevated);
  border: 1px solid var(--line-ui);
  border-radius: var(--r2);
  overflow: hidden;
}

.drawer > summary {
  display: flex;
  align-items: center;
  gap: var(--s2);
  min-height: var(--tap);
  padding: var(--s2) var(--s4);
  color: var(--text);
  font-family: var(--display);
  font-size: var(--t-md);
  list-style: none;
  cursor: pointer;
}

.drawer > summary::-webkit-details-marker { display: none; }

.drawer > summary::after {
  content: "+";
  margin-left: auto;
  color: var(--mint);
  font-family: var(--body);
  font-weight: 700;
}

.drawer[open] > summary::after { content: "\2212"; }
.drawer[open] > summary { border-bottom: 1px solid var(--line-ui); }

.drawer ul {
  display: grid;
  margin: 0;
  padding: var(--s2) var(--s4) var(--s3);
  list-style: none;
}

.drawer li { margin: 0; }

.drawer li a {
  display: flex;
  align-items: center;
  min-height: var(--tap);
}

/* ---- work cards, artifacts, side panels ---- */
.work-sub { margin: -0.5rem 0 var(--s4); color: var(--secondary); }

.work-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s4);
  margin: 0 0 var(--s4);
  padding: 0;
  list-style: none;
}

.work-cards > li { margin: 0; }
.work-cards h3 { font-size: 1.2rem; }

.work-cards p { color: var(--text); }

.hood,
.quiet,
.desc { color: var(--secondary); }

.hood {
  margin-top: var(--s3);
  padding-top: var(--s2);
  border-top: 1px dashed var(--line-subtle); /* decoration */
  font-size: var(--t-sm);
}

.quiet { font-size: var(--t-sm); }

.work-more { margin: 0; }

.artifact,
.ps,
.contact-box { margin: var(--s4) 0; }

.artifact h3,
.ps h3 { font-size: var(--t-lg); }

.ps .ps-h {
  margin: 0 0 var(--s3);
  color: var(--secondary);
  font-family: var(--body);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ps ul,
.ps ol { margin: 0; padding: 0; list-style: none; }
.ps li { margin: 0 0 var(--s3); }
.ps-timeline span { display: block; color: var(--secondary); font-size: var(--t-sm); }
.ps-note { margin-top: var(--s3); color: var(--secondary); font-size: var(--t-sm); }

.ps a,
.links a { display: inline-flex; align-items: center; min-height: var(--tap); }

blockquote {
  margin: var(--s5) 0;
  padding: var(--s1) 0 var(--s1) var(--s4);
  border-left: 3px dashed var(--accent-lilac); /* decoration */
  font-family: var(--display);
  font-size: 1.15rem;
  line-height: 1.4;
  max-width: var(--column);
}

summary { cursor: pointer; min-height: var(--tap); }
.scene details > summary { display: list-item; padding-block: var(--s3); }

/* ---- tags: skills, tools, status ---- */
.chip,
.tech span,
.platforms dd span,
.tools .chip {
  display: inline-block;
  margin: 0;
  padding: var(--s1) var(--s3);
  border: 1px dashed var(--line-ui);
  border-radius: var(--r1);
  background-color: var(--panel-purple);
  color: var(--text);
  font-size: var(--t-sm);
  line-height: 1.4;
}

.chip.bright { border-style: solid; border-color: var(--mint); }

.tech {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}

.platforms { margin: 0; }
.platforms dl { margin: 0; display: grid; gap: var(--s3); }

.platforms dt {
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.platforms dd {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin: var(--s2) 0 0;
}

.platforms dl > dd:nth-of-type(5n+1) span { border-color: var(--accent-apricot); }
.platforms dl > dd:nth-of-type(5n+2) span { border-color: var(--lilac); }
.platforms dl > dd:nth-of-type(5n+3) span { border-color: var(--accent-honey); }
.platforms dl > dd:nth-of-type(5n+4) span { border-color: var(--pink); }
.platforms dl > dd:nth-of-type(5n) span { border-color: var(--mint); }

.loop {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s2);
  margin: var(--s4) 0;
  padding: 0;
  list-style: none;
}

.loop li {
  margin: 0;
  padding: var(--s1) var(--s3);
  border: 1px dashed var(--line-ui);
  border-radius: var(--r1);
  background-color: var(--panel-purple);
}

.loop .arr { padding: 0; border: 0; background: none; color: var(--mint); }

.layers { margin: var(--s3) 0; }

.closing {
  margin: var(--s5) 0 var(--s4);
  font-family: var(--display);
  font-size: var(--t-xl);
  color: var(--text);
}

.big-mail { font-size: 1.1rem; font-weight: 700; margin-bottom: var(--s3); }
.big-mail a, .contact-box a { display: inline-flex; align-items: center; min-height: var(--tap); }

/* ---- the foot ---- */
footer,
.chrome.bot {
  width: 100%;
  max-width: var(--measure);
  margin: var(--s6) auto 0;
  padding: var(--s5) var(--s4) var(--s6);
  border-top: 2px dashed var(--line-subtle); /* decoration */
  color: var(--muted);
  font-size: var(--t-sm);
}

footer > * { max-width: var(--column); }
footer p { margin: 0 0 var(--s3); }
footer .motto { color: var(--secondary); font-family: var(--display); font-size: var(--t-md); }
footer a { display: inline-flex; align-items: center; min-height: var(--tap); }
.crew-list { display: block; }
.crew > summary { display: flex; align-items: center; }

@media (min-width: 40rem) {
  .work-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 48rem) {
  footer,
  .chrome.bot { padding-inline: var(--s5); }
  .scene-hero { padding-top: var(--s5); }
}

@media (max-width: 30rem) {
  .brand { font-size: 1.2rem; }
}

/* ---- the résumé page (log.html): the same column, flat, with the same section headers ---- */
.log {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding: var(--s5) var(--s4) var(--s6);
}

@media (min-width: 48rem) {
  .log { padding-inline: var(--s5); }
}

.log section { margin: 0 0 var(--s6); }
.log h3 { margin: 0 0 var(--s1); font-size: var(--t-lg); }
.log h3 .chip { font-family: var(--body); vertical-align: middle; }
.log p,
.log li { color: var(--secondary); }
.log strong { color: var(--text); }

.resume-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  margin: 0 0 var(--s5);
}

.resume-actions img { width: 4.5rem; height: auto; }

a.pdf-button {
  border: 0;
  background-color: var(--mint);
  color: var(--canvas);
}

a.pdf-button:hover { background-color: var(--focus); }

.idblock .ti {
  display: block;
  max-width: var(--column);
  padding-left: var(--s3);
  border-left: 3px dashed var(--accent-honey); /* decoration */
  color: var(--secondary);
  font-size: 1.15rem;
}

.contact,
.tools {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1) var(--s5);
  margin: var(--s4) 0;
  padding: 0;
  list-style: none;
}

.contact { align-items: center; }
.contact li,
.tools li { margin: 0; }
.contact a,
.tlink { display: inline-flex; align-items: center; min-height: var(--tap); }
.tools { gap: var(--s2); }

.note {
  padding: var(--s3) 0;
  border-block: 1px dashed var(--line-subtle); /* decoration */
  color: var(--secondary);
}

.when { color: var(--muted); font-size: var(--t-sm); font-weight: 700; margin-bottom: var(--s1); }
.org { font-size: var(--t-sm); }

.log article {
  padding-block: var(--s4);
  border-top: 1px dashed var(--line-subtle); /* decoration */
}

.log h2 + article,
.log .experience > h2 + article { border-top: 0; }

.log .education { padding-top: 0; }

.log .foot { margin: 0; padding-top: var(--s5); border-top: 2px dashed var(--line-subtle); color: var(--muted); font-size: var(--t-sm); }

.chrome.bot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s1) var(--s5);
}

.chrome.bot a { display: inline-flex; align-items: center; min-height: var(--tap); }
.log > .foot { max-width: none; }

/* On screen her name comes first and "Contact" heads the list under it. The markup order is
   kept for print and for a screen reader. */
@media screen {
  .log section[aria-labelledby="s-id"] { display: flex; flex-direction: column; }
  .log section[aria-labelledby="s-id"] > .idblock { order: -1; }
  .log section[aria-labelledby="s-id"] > h2 { margin-top: var(--s5); }
}

.print-only,
.print-location,
.print-heading { display: none; }

/* ---- nothing moves when the reader has asked for less motion ----
   The house rule, copied from door/rooms.css: the felt tabs and buttons fade their
   colour over 0.15s, and a reader who has asked for less motion gets none of it. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
