:root {
  --red: #d7263d;
  --orange: #f17a1f;
  --yellow: #f5c22e;
  --green: #1f9e5a;
  --blue: #2a5fd0;
  --purple: #7b3fa0;

  --navy: #0f2a52;
  --sand: #ede6c8;
  --brick: #b5583f;
  --chalk: #24403a;
  --mat: #1f4ea1;
  --bus: #f5c22e;
  --paper: #f4f4f1;
  --cream: #f6f1de;

  --display: "Rokkitt", Georgia, serif;
  --hand: "Schoolbell", "Comic Sans MS", cursive;
  --body: "DM Sans", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--navy);
  font: 400 16.5px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: .95;
  margin: 0;
}
h1 { font-size: clamp(3.2rem, 7vw, 6.2rem); }
h2 { font-size: clamp(2.8rem, 6vw, 5.2rem); }
h3 { font-size: 1.15rem; font-family: var(--body); font-weight: 700; letter-spacing: 0; }

.eyebrow { font-size: .85rem; margin: 0 0 1.2rem; }
.hand { font-family: var(--hand); font-size: 1.3rem; line-height: 1.1; }
.body-copy { font-size: 1.05rem; max-width: 40ch; margin: 0 0 1rem; }
.big-line { font-size: clamp(1.4rem, 2.3vw, 1.9rem); line-height: 1.2; margin: 0 0 1.4rem; letter-spacing: -.01em; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }

/* pills */
.pill {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .95em 1.6em; border-radius: 999px;
  font-weight: 500; font-size: .92rem; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.pill:hover { transform: translateY(-1px); }
.pill:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.pill-sm { padding: .7em 1.2em; font-size: .85rem; }
.pill-yellow { background: var(--yellow); color: var(--navy); }
.pill-yellow:hover { background: #ffd451; }
.pill-navy { background: var(--navy); color: var(--cream); }
.pill-outline { background: transparent; border-color: currentColor; color: inherit; }
.text-link { font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* nav */
.nav {
  position: fixed; top: 12px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 24px); max-width: 1240px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 8px 8px 8px 18px;
  background: var(--navy); color: var(--cream);
  border-radius: 999px;
  z-index: 50;
  box-shadow: 0 6px 30px rgba(5, 18, 40, .18);
}
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: inherit; }
.mark { width: 46px; height: 32px; }
.wordmark { display: flex; flex-direction: column; line-height: 1; }
.wordmark em { font: italic 700 1.2rem var(--display); }
.wordmark b { font-weight: 700; font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; margin-top: 3px; }
.nav-links { display: flex; gap: 1.8rem; }
.nav-links a { text-decoration: none; font-size: .85rem; opacity: .9; }
.nav-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.nav .pill { padding: .7em 1.2em; font-size: .85rem; border-color: rgba(246, 241, 222, .5); }

/* hero */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  color: var(--navy); display: flex; flex-direction: column; justify-content: flex-end;
  background: url("../assets/floor-wood.jpg") 50% 50% / cover #e2b77c;
}
.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: multiply; opacity: .9; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(251, 243, 222, .72) 0%, rgba(251, 243, 222, .42) 42%, rgba(251, 243, 222, 0) 70%); }
.hero-inner { position: relative; width: 100%; max-width: 1240px; margin: 0 auto; padding: 140px var(--gutter) 40px; }
.hero-inner > * { max-width: min(52%, 640px); }
.hero-foot p { margin: 0; }
.hero h1 { margin-bottom: 1.6rem; }
.hero-lead { font-size: 1.15rem; font-weight: 500; max-width: 36ch; margin: 0 0 2rem; }
.hero-foot {
  position: relative; width: 100%; max-width: 1240px; margin: 0 auto;
  padding: 18px var(--gutter) 26px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 1.05rem; font-weight: 700; gap: 12px 20px; flex-wrap: wrap;
  border-top: 1px solid rgba(15, 42, 82, .3);
}
.hero-photo {
  position: absolute; right: max(3vw, calc((100% - 1240px) / 2 + var(--gutter))); top: 52%;
  width: min(44vw, 620px); margin: 0; transform: translateY(-50%) rotate(2deg);
  background: #fff; padding: 10px; box-shadow: 0 18px 40px rgba(60, 35, 10, .3);
}
.hero-photo img { width: 100%; height: auto; }
.hero-logo { display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); margin: 0 0 1.4rem; }
.hero-logo .mark { width: clamp(110px, 12vw, 170px); height: auto; aspect-ratio: 120 / 84; flex: none; }
.hero-logo .wordmark em { font-size: clamp(3rem, 6.4vw, 5.6rem); line-height: .9; }
.hero-logo .wordmark b { font-size: clamp(1rem, 1.9vw, 1.6rem); letter-spacing: .24em; margin-top: .35em; }
.hero-title { font: 800 clamp(1.7rem, 2.8vw, 2.4rem)/1.1 var(--display); margin: 0 0 1rem; max-width: 18ch; }
.color-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.color-chips li {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .85); border-radius: 999px;
  padding: 6px 14px 6px 6px; font-weight: 700; font-size: 1rem;
}
.color-chips i { width: 26px; height: 26px; border-radius: 50%; background: var(--c); }
.hero-dots { display: flex; gap: 6px; }
.hero-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }

/* blocks */
.block { padding: clamp(80px, 11vw, 150px) 0; }
.block-sand { background: var(--sand); color: var(--navy); }
.block-navy { background: var(--navy); color: var(--cream); }
.block-brick { background: var(--brick); color: var(--cream); }
.block-paper { background: var(--paper); color: var(--navy); }

/* school textures */
.block-notebook {
  --rule: 36px;
  position: relative;
  padding: calc(var(--rule) * 4) 0 calc(var(--rule) * 3);
  color: var(--navy);
  background: repeating-linear-gradient(180deg, transparent 0 calc(var(--rule) - 1.5px), rgba(42, 95, 208, .3) calc(var(--rule) - 1.5px) var(--rule)), var(--cream);
}
.block-notebook::before {
  content: ""; position: absolute; top: 0; bottom: 0; width: 1.5px;
  left: calc(max(0px, (100% - 1240px) / 2) + var(--gutter) * .55);
  background: rgba(215, 38, 61, .5);
}
.block-notebook .eyebrow, .block-notebook .big-line, .note-line, .block-notebook dt, .block-notebook dd {
  position: relative; top: var(--nudge, 9px);
  margin: 0; font-family: var(--hand); line-height: var(--rule);
}
.block-notebook .eyebrow { font-size: 1.4rem; color: var(--red); }
.block-notebook .big-line { font-size: 1.75rem; letter-spacing: 0; --nudge: 7.5px; }
.note-line { font-size: 1.4rem; max-width: 34em; }
.block-notebook h2 {
  --h2-size: clamp(3rem, 5.6vw, 4.4rem);
  position: relative; top: calc(16.5px + (70.4px - var(--h2-size)) * .268);
  font-size: var(--h2-size); line-height: calc(var(--rule) * 2);
}
.block-notebook .split { gap: var(--rule) 48px; align-items: start; }
.block-notebook .rows { margin: 0; }
.block-notebook .rows div, .block-notebook .rows div:last-child { padding: 0; border: 0; gap: 0 20px; grid-template-columns: 130px 1fr; }
.block-notebook .rows dt { font-size: 1.4rem; font-weight: 400; color: var(--blue); }
.block-notebook .rows dd { font-size: 1.4rem; }
.block-chalk {
  color: var(--cream);
  background:
    radial-gradient(120% 90% at 20% 0, rgba(255, 255, 255, .07), transparent 60%),
    radial-gradient(90% 80% at 90% 100%, rgba(255, 255, 255, .05), transparent 60%),
    var(--chalk);
  border-bottom: 16px solid #b98a52;
}
.block-mats {
  color: var(--cream);
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .16) 0 2px, rgba(255, 255, 255, .05) 2px 4px, transparent 4px 220px),
    var(--mat);
}
.block-brick {
  background-color: var(--brick);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='72'%3E%3Cpath d='M0 .5H160M0 36.5H160M.5 0V36M80.5 36V72' stroke='%23000' stroke-opacity='.1' fill='none'/%3E%3C/svg%3E");
}
.block-bus {
  background: var(--bus); color: #17140a;
  border-top: 12px solid #17140a;
  box-shadow: inset 0 14px 0 var(--bus), inset 0 22px 0 #17140a;
}
.ruler {
  height: 30px; background-color: var(--bus);
  background-image:
    repeating-linear-gradient(90deg, #17140a 0 2px, transparent 2px 80px),
    repeating-linear-gradient(90deg, #17140a 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(23, 20, 10, .6) 0 1px, transparent 1px 10px);
  background-size: 100% 18px, 100% 12px, 100% 7px;
  background-repeat: no-repeat;
}

/* steps */
.steps { list-style: none; margin: calc(var(--rule) * 2) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps li { background: #fff; padding: 12px 12px 18px; box-shadow: 0 10px 24px rgba(15, 42, 82, .14); }
.steps li:nth-child(1) { transform: rotate(-1.2deg); }
.steps li:nth-child(2) { transform: rotate(.8deg) translateY(10px); }
.steps li:nth-child(3) { transform: rotate(-.5deg); }
.steps img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 0; }
.steps li > div { position: relative; padding: 16px 6px 0 60px; min-height: 66px; }
.step-shape { position: absolute; left: 4px; top: 14px; width: 44px; height: 44px; }
.steps b { position: absolute; left: 4px; top: 14px; width: 44px; height: 44px; display: grid; place-items: center; color: #fff; font: 800 1.2rem var(--display); }
.steps li:nth-child(2) b { color: var(--navy); }
.steps h3 { font: 800 1.6rem var(--display); }
.steps p { margin: 2px 0 0; font-size: .92rem; }
.lesson-plan { margin-top: calc(var(--rule) * 2); }

/* media */
.media-wide { margin: 0 0 14px; border-radius: 14px; overflow: hidden; aspect-ratio: 21 / 9; }
.media-wide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.clips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.clip {
  position: relative; padding: 0; border: 0; background: var(--navy); cursor: pointer;
  border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; color: #fff;
}
.clip video { width: 100%; height: 100%; object-fit: cover; }
.clip span {
  position: absolute; left: 10px; bottom: 10px; padding: 4px 10px 5px;
  background: var(--cream); color: var(--navy); border-radius: 4px; font-size: 1.05rem;
  transform: rotate(-1.5deg);
}
.clip::after {
  content: ""; position: absolute; right: 12px; top: 12px; width: 0; height: 0;
  border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .5));
}
.clip:hover video { transform: scale(1.03); }
.clip video { transition: transform .4s; }
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(92vw, 560px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(10, 20, 40, .85); }
.lightbox video { width: 100%; max-height: 88vh; border-radius: 14px; background: #000; }
.lightbox-close {
  position: absolute; right: -6px; top: -46px; width: 38px; height: 38px;
  border: 0; border-radius: 50%; background: var(--cream); color: var(--navy);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .pill-outline { color: var(--navy); }
.hero .pill-yellow { background: var(--navy); color: var(--cream); }
.hero .pill-yellow:hover { background: #17396d; }

/* how */
.rows { margin: 2.4rem 0 0; }
.rows div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid rgba(15, 42, 82, .2); }
.rows div:last-child { border-bottom: 1px solid rgba(15, 42, 82, .2); }
.rows dt { font-weight: 700; font-size: .9rem; }
.rows dd { margin: 0; font-size: .9rem; }

/* builder */
.builder-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.builder-head .body-copy { opacity: .85; }
.builder-ui { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; }
.tray {
  position: sticky; top: 100px;
  padding: 22px; border-radius: 22px;
  background: rgba(246, 241, 222, .06);
  border: 1px solid rgba(246, 241, 222, .14);
}
.tray-label { font-size: .75rem; opacity: .7; margin: 0 0 .7rem; }
.tray-label:not(:first-child) { margin-top: 1.5rem; }
.swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.swatch {
  aspect-ratio: 1; border-radius: 50%; padding: 0; cursor: pointer;
  background: var(--c); border: 2px solid var(--navy);
  outline: 1.5px solid transparent; outline-offset: 1px;
}
.swatch[aria-checked="true"] { outline-color: var(--cream); }
.shapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.shape-btn {
  aspect-ratio: 1; display: grid; place-items: center; padding: 11px;
  background: var(--cream); border: 0; border-radius: 14px;
  cursor: grab; touch-action: none; transition: transform .15s;
}
.shape-btn:hover { transform: scale(1.05); }
.shape-btn svg { width: 100%; height: 100%; fill: var(--current); pointer-events: none; }
.grid-toggle { display: flex; align-items: center; gap: 10px; margin-top: 1.4rem; font-size: .85rem; cursor: pointer; }
.grid-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch { position: relative; width: 38px; height: 22px; border-radius: 999px; background: rgba(246, 241, 222, .25); transition: background .2s; flex: none; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--cream); transition: transform .2s; }
.grid-toggle input:checked + .switch { background: var(--yellow); }
.grid-toggle input:checked + .switch::after { transform: translateX(16px); background: var(--navy); }
.grid-toggle input:focus-visible + .switch { outline: 2px solid var(--cream); outline-offset: 2px; }
.tray-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 1.6rem; }
.tray-actions .pill { justify-content: center; }

.court-wrap { position: relative; }
.court {
  display: block; width: 100%; height: auto;
  border-radius: 22px; overflow: visible;
  touch-action: none; user-select: none;
}
.paint { fill: rgba(42, 95, 208, .12); }
.grid-lines line { stroke: rgba(15, 42, 82, .4); stroke-width: 1; stroke-dasharray: 3 4; }
.grid-lines[hidden] { display: none; }
.scale-note { font-size: .82rem; opacity: .75; margin: 12px 0 0; }
.spot { cursor: grab; }
.spot:active { cursor: grabbing; }
.spot use { filter: drop-shadow(0 1.5px 0 rgba(0, 0, 0, .18)); }
.spot .ring { display: none; fill: none; stroke: var(--navy); stroke-width: 2.5; stroke-dasharray: 5 4; }
.spot.selected .ring { display: block; }
.spot-tools {
  position: absolute; z-index: 5; display: flex; gap: 2px; padding: 4px;
  background: var(--cream); border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  transform: translate(-50%, calc(-100% - 14px));
}
.spot-tools[hidden] { display: none; }
.spot-tools button {
  background: transparent; color: var(--navy); border: 0; border-radius: 999px;
  font-weight: 500; font-size: .8rem; padding: .5em .9em; cursor: pointer;
}
.spot-tools button:hover { background: var(--sand); }

.tally {
  margin-top: 18px; padding: 16px 0 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px;
  border-top: 1px solid rgba(246, 241, 222, .18);
}
.tally p { margin: 0; font-size: .95rem; }
.tally-total { font: 800 1.6rem var(--display); }
.tally-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; flex: 1; }
.tally-list li {
  display: flex; align-items: center; gap: 6px; white-space: nowrap;
  border: 1px solid rgba(246, 241, 222, .25); border-radius: 999px;
  padding: 3px 10px 3px 5px; font-size: .78rem;
}
.tally-list i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); }

/* about */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.arch {
  margin: 0; aspect-ratio: 1206 / 1583; overflow: hidden; max-height: 82vh;
  border-radius: 28px;
  background: rgba(0, 0, 0, .15);
  max-width: 460px; width: 100%; justify-self: center;
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.about-text h2 { margin-bottom: 2rem; }
.about-text .text-link { display: inline-block; margin-top: 1rem; }

/* shop */
.shop-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 56px; }
.shop-head .body-copy { font-size: .92rem; margin: 0; }
.products { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 18px; }
.product { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.product-art {
  background: #fff; border-radius: 18px; padding: 36px;
  display: grid; place-items: center; aspect-ratio: 1 / 1;
}
.product-wide .product-art { aspect-ratio: auto; height: 100%; min-height: 280px; }
.product-art svg { width: 100%; max-width: 260px; height: auto; }
.product-info { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.product-info p { margin: 2px 0 0; font-size: .85rem; opacity: .75; }
.price { font-weight: 500; font-size: .95rem; white-space: nowrap; }
.product .pill { align-self: flex-start; }

/* faq */
.faq h2 { margin-bottom: 3rem; }
.faq-list { margin-top: 3rem; }
details { border-top: 1px solid rgba(15, 42, 82, .2); }
details:last-child { border-bottom: 1px solid rgba(15, 42, 82, .2); }
summary {
  list-style: none; cursor: pointer; padding: 20px 0;
  display: flex; align-items: center; gap: 14px; font-size: .98rem;
}
summary::-webkit-details-marker { display: none; }
summary::before { content: "▸"; font-size: .8rem; transition: transform .2s; }
details[open] summary::before { transform: rotate(90deg); }
details p { margin: 0 0 22px 26px; font-size: .95rem; opacity: .8; }

/* contact */
.contact { align-items: end; }
.contact-links a {
  display: grid; grid-template-columns: 160px 1fr auto; gap: 16px; align-items: center;
  padding: 24px 0; text-decoration: none;
  border-top: 1px solid rgba(246, 241, 222, .3);
}
.contact-links a:last-child { border-bottom: 1px solid rgba(246, 241, 222, .3); }
.contact-links span { font-size: .85rem; opacity: .8; }
.contact-links strong { font: 700 clamp(1.2rem, 2.2vw, 1.7rem) var(--display); }
.contact-links i { font-style: normal; transition: transform .2s; }
.contact-links a:hover i { transform: translate(3px, -3px); }

/* footer */
.footer { background: var(--navy); color: var(--cream); padding: 70px 0 40px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer nav a { text-decoration: none; font-size: .85rem; opacity: .8; }
.footer p { width: 100%; margin: 30px 0 0; padding-top: 22px; border-top: 1px solid rgba(246, 241, 222, .15); font-size: .78rem; opacity: .6; }
.brand-big .mark { width: 72px; height: 50px; }
.brand-big .wordmark em { font-size: 1.6rem; }
.brand-big .wordmark b { font-size: .8rem; }

/* responsive */
@media (max-width: 960px) {
  .hero { justify-content: flex-start; padding-top: 86px; min-height: 0; }
  .hero-lines { display: none; }
  .hero-photo { position: relative; right: auto; top: auto; transform: rotate(1deg); width: calc(100% - var(--gutter) * 2); max-width: 620px; margin: 0 var(--gutter); }
  .hero-inner > * { max-width: none; }
  .hero-inner { padding-top: 16px; padding-bottom: 28px; }
  .hero-shade { background: linear-gradient(180deg, rgba(251, 243, 222, 0) 25%, rgba(251, 243, 222, .62) 50%); }
  .nav-links { display: none; }
  .split, .builder-head, .about { grid-template-columns: 1fr; }
  .clips { grid-template-columns: repeat(3, 1fr); }
  .builder-ui { grid-template-columns: 1fr; }
  .tray { position: static; }
  .shapes { grid-template-columns: repeat(6, 1fr); }
  .tray-actions { flex-direction: row; }
  .products { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  .product-wide .product-art { aspect-ratio: 1 / 1; min-height: 0; }
  .arch { max-width: 380px; }
}
@media (max-width: 600px) {
  .nav { padding-left: 12px; }
  .nav .pill { padding: .6em 1em; }
  .rows div { grid-template-columns: 1fr; gap: 4px; }
  .clips { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .clip span { font-size: .9rem; left: 6px; bottom: 6px; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .block-notebook .rows div, .block-notebook .rows div:last-child { grid-template-columns: 1fr; }
  .steps li { max-width: 340px; }
  .contact-links a { grid-template-columns: 1fr auto; }
  .contact-links span { grid-column: 1 / -1; }
  .hero-foot span:first-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
