/* ==========================================================================
   City Agenda — a Bauhaus / transit-broadsheet weekend programme
   ========================================================================== */

@font-face {
  font-family: "Oswald";
  src: url("assets/oswald.ttf") format("truetype");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("assets/work-sans.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/ibm-plex-mono.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Surfaces + ink */
  --paper: #f2f1ec;
  --paper-2: #e7e6df;
  --paper-3: #fbfaf6;
  --ink: #14161a;
  --ink-2: #41454d;
  --line: #14161a;

  /* Primary-colour system */
  --red: #c9351b;
  --blue: #1b3fd8;
  --yellow: #e0a81c;
  --violet: #6a2fcb;
  --green: #1c7a4b;
  --teal: #0e7480;

  --focus: #1b3fd8;
  --shadow: 5px 5px 0 var(--ink);
  --maxw: 1280px;

  --font-display: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Work Sans", -apple-system, "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --ease: 140ms cubic-bezier(0.2, 0.6, 0.2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll {
  overflow: hidden;
}

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

button,
input,
select {
  font: inherit;
  color: inherit;
  touch-action: manipulation;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 28px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

/* Focus ------------------------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: top var(--ease);
}
.skip-link:focus {
  top: 12px;
}

/* Masthead ---------------------------------------------------------------- */
.masthead {
  border-top: 8px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
}

.masthead__inner {
  padding-top: 18px;
  padding-bottom: 22px;
}

.masthead__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.kicker__tag {
  background: var(--ink);
  color: var(--paper);
  padding: 3px 8px;
}
.kicker__dot {
  width: 8px;
  height: 8px;
  background: var(--red);
}

.masthead__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 10vw, 7.5rem);
  line-height: 0.87;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.masthead__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 12px;
}

.masthead__lede {
  max-width: 62ch;
  margin: 0;
  font-size: 15.5px;
  color: var(--ink-2);
}

.masthead__geo {
  display: flex;
  flex-shrink: 0;
  gap: 6px;
  padding-bottom: 4px;
}
.sq {
  display: block;
  width: 22px;
  height: 22px;
  border: 2px solid var(--ink);
}
.sq--red { background: var(--red); }
.sq--blue { background: var(--blue); }
.sq--yellow { background: var(--yellow); }
.sq--ink { background: var(--ink); }

/* Controls ---------------------------------------------------------------- */
.controls {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper-2);
  border-bottom: 2px solid var(--ink);
}

.controls__inner {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(180px, 0.9fr) auto auto;
  align-items: end;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.field__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.field__icon {
  position: absolute;
  left: 11px;
  bottom: 12px;
  width: 17px;
  height: 17px;
  color: var(--ink-2);
  pointer-events: none;
}
.field__icon svg {
  width: 17px;
  height: 17px;
}

.field__input {
  width: 100%;
  height: 46px;
  min-width: 0;
  padding: 0 13px;
  background: var(--paper-3);
  border: 2px solid var(--ink);
  border-radius: 0;
  font-size: 15px;
  appearance: none;
}
.field--search .field__input {
  padding-left: 36px;
}
.field__input::placeholder {
  color: #6b6f77;
}
.field__input:hover {
  background: #fff;
}
.field__select {
  padding-right: 38px;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 19px) 20px, calc(100% - 13px) 20px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 15px;
  background: var(--paper-3);
  border: 2px solid var(--ink);
  border-radius: 0;
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), background-color var(--ease), color var(--ease);
}
.btn:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn:active {
  transform: translate(3px, 3px);
  box-shadow: 0 0 0 var(--ink);
}
.btn__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.btn__count {
  min-width: 20px;
  padding: 1px 4px;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
}
.btn:hover .btn__count {
  background: var(--paper);
  color: var(--ink);
}

.btn--toggle[aria-pressed="true"] {
  background: var(--yellow);
  color: var(--ink);
}
.btn--toggle[aria-pressed="true"]:hover {
  background: var(--yellow);
  color: var(--ink);
}
.btn--toggle[aria-pressed="true"] .btn__count {
  background: var(--ink);
  color: var(--yellow);
}
.btn--toggle[aria-pressed="true"] .btn__icon {
  fill: var(--ink);
}

.btn--toggle,
.field--toggle {
  align-self: end;
}

.btn--primary {
  background: var(--yellow);
  color: var(--ink);
}
.btn--primary:hover {
  background: var(--ink);
  color: var(--paper);
}

.controls__status {
  align-self: end;
  margin: 0 0 13px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
}

/* Layout ------------------------------------------------------------------ */
.layout {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: 48px;
  padding-top: 34px;
  padding-bottom: 72px;
  align-items: start;
}

/* Rail -------------------------------------------------------------------- */
.rail {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.rail__block {
  border: 2px solid var(--ink);
  background: var(--paper-3);
  padding: 16px;
}
.rail__block--note {
  background: var(--paper-2);
}
.rail__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.rail__count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-2);
}
.rail__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.rail__list li {
  border-top: 1px solid #c9c8c0;
}
.rail__list li:first-child {
  border-top: 0;
}
.rail__open {
  display: flex;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  padding: 9px 4px;
  background: none;
  border: 0;
  text-align: left;
  font-size: 14px;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color var(--ease), padding-left var(--ease);
}
.rail__open:hover {
  background: var(--paper-2);
  padding-left: 8px;
}
.rail__time {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-2);
  flex-shrink: 0;
  padding-top: 2px;
}
.rail__hint,
.rail__note {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-2);
}

/* Legend ------------------------------------------------------------------ */
.legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.legend li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
}
.legend__swatch {
  width: 13px;
  height: 13px;
  border: 1.5px solid var(--ink);
  flex-shrink: 0;
}
.legend__name {
  flex: 1;
}
.legend__n {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-2);
}

/* Listings ---------------------------------------------------------------- */
.listings {
  min-width: 0;
}
.listings__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 4px solid var(--ink);
}
.listings__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.listings__sub {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Item -------------------------------------------------------------------- */
.item {
  position: relative;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 232px;
  grid-template-areas: "lead body aside";
  gap: 0 26px;
  padding: 24px 14px;
  border-bottom: 2px solid var(--ink);
  scroll-margin-top: 92px;
  transition: background-color var(--ease);
}
.item:hover {
  background: var(--paper-2);
}

.item__lead {
  grid-area: lead;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.item__num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: 0.01em;
}
.item__cat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.item__swatch {
  width: 12px;
  height: 12px;
  background: var(--cat, var(--ink));
  border: 1.5px solid var(--ink);
  flex-shrink: 0;
}

.item__body {
  grid-area: body;
  min-width: 0;
}
.item__title {
  margin: 0 0 7px;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: 0.005em;
}
.item__open {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.item__open::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.item__open:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.item:hover .item__open {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}
.item__summary {
  margin: 0 0 13px;
  font-size: 15px;
  color: var(--ink-2);
  max-width: 62ch;
}
.item__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
}
.item__meta li {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1.5px solid #b9b8b0;
  background: var(--paper-3);
}
.item__meta li:first-child {
  border-color: var(--ink);
  font-weight: 500;
}

.item__aside {
  grid-area: aside;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.item__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--cat, var(--ink));
  isolation: isolate;
}
.item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: luminosity;
  opacity: 0.86;
  filter: contrast(1.06);
}
.item__open-cue {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.item__open-cue svg {
  width: 16px;
  height: 16px;
  transition: transform var(--ease);
}
.item:hover .item__open-cue svg {
  transform: translateX(4px);
}
.item__price {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-2);
}

/* Empty ------------------------------------------------------------------- */
.empty {
  border: 3px dashed var(--ink);
  margin-top: 26px;
  padding: 44px 28px;
  text-align: center;
  background: var(--paper-3);
}
.empty__mark {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--red);
}
.empty__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.empty__text {
  margin: 0 auto 20px;
  max-width: 46ch;
  color: var(--ink-2);
}

/* Footer ------------------------------------------------------------------ */
.pagefoot {
  border-top: 2px solid var(--ink);
  background: var(--paper-2);
}
.pagefoot__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  padding-bottom: 18px;
}
.pagefoot p {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* Detail overlay ---------------------------------------------------------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  justify-content: flex-end;
  background: rgba(12, 13, 16, 0.62);
}
.overlay[hidden] {
  display: none;
}

.detail {
  width: min(640px, 100%);
  height: 100%;
  overflow-y: auto;
  background: var(--paper);
  border-left: 4px solid var(--ink);
  box-shadow: -12px 0 0 rgba(20, 22, 26, 0.18);
  animation: detail-in 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.detail:focus {
  outline: none;
}
@keyframes detail-in {
  from { transform: translateX(28px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.detail__bar {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}
.detail__index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.btn--icon {
  width: 46px;
  height: 46px;
  min-height: 46px;
  padding: 0;
  flex-shrink: 0;
}
.btn--icon svg {
  width: 20px;
  height: 20px;
}

.detail__scroll {
  padding: 24px 24px 56px;
}
.detail__cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 4px 10px;
  border: 2px solid var(--ink);
  background: var(--paper-3);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.detail__cat .item__swatch {
  width: 13px;
  height: 13px;
}
.detail__title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 2.9rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.005em;
}

.detail__fig {
  margin: 0 0 22px;
  border: 2px solid var(--ink);
  background: var(--cat, var(--ink));
  isolation: isolate;
}
.detail__fig img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  mix-blend-mode: luminosity;
  opacity: 0.88;
  filter: contrast(1.06);
}
.detail__fig figcaption {
  padding: 7px 10px;
  border-top: 2px solid var(--ink);
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.detail__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 24px;
  border: 2px solid var(--ink);
  background: var(--paper-3);
}
.detail__meta > div {
  padding: 11px 13px;
  border-top: 1.5px solid #c9c8c0;
}
.detail__meta > div:nth-child(-n + 2) {
  border-top: 0;
}
.detail__meta > div:nth-child(odd) {
  border-right: 1.5px solid #c9c8c0;
}
.detail__meta dt {
  margin: 0 0 3px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.detail__meta dd {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
}

.detail__body p {
  margin: 0 0 16px;
  font-size: 16.5px;
  line-height: 1.62;
  max-width: 60ch;
}
.detail__body p:first-child {
  font-size: 18px;
  line-height: 1.55;
}

.detail__notes {
  margin: 22px 0 26px;
  padding: 15px 16px;
  border: 2px solid var(--ink);
  border-left: 8px solid var(--blue);
  background: var(--paper-3);
}
.detail__notes h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.detail__notes p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-2);
}

.detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
}
.btn--save {
  min-height: 52px;
  padding: 0 22px;
  font-size: 13px;
}
.btn--save[aria-pressed="true"] {
  background: var(--yellow);
  color: var(--ink);
}
.btn--save[aria-pressed="true"]:hover {
  background: var(--yellow);
  color: var(--ink);
}
.btn--save[aria-pressed="true"] .btn__icon {
  fill: var(--ink);
}

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1080px) {
  .controls__inner {
    grid-template-columns: minmax(200px, 1.3fr) minmax(170px, 0.9fr) auto;
  }
  .controls__status {
    grid-column: 1 / -1;
    margin: 0;
  }
  .layout {
    grid-template-columns: 236px minmax(0, 1fr);
    gap: 32px;
  }
  .item {
    grid-template-columns: 50px minmax(0, 1fr) 190px;
    gap: 0 20px;
  }
}

@media (max-width: 860px) {
  .masthead__geo { display: none; }
  .controls { position: static; }
  .layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding-top: 26px;
  }
  .rail {
    position: static;
    order: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
  }
  .listings { order: 1; }
  .rail__block--note { display: none; }
}

@media (max-width: 620px) {
  .wrap { padding-inline: 16px; }
  .masthead { border-top-width: 6px; }
  .masthead__inner { padding-top: 14px; padding-bottom: 16px; }
  .masthead__title { font-size: clamp(2.6rem, 15vw, 4rem); }
  .masthead__lede {
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .masthead__kicker { font-size: 10.5px; gap: 8px; }

  .controls__inner {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding-top: 10px;
    padding-bottom: 12px;
  }
  .field--search { grid-column: 1 / -1; }
  .field--select { grid-column: 1 / 2; }
  .field--toggle { grid-column: 2 / 3; }
  .btn--toggle { width: 100%; }
  .controls__status { grid-column: 1 / -1; margin: 0; }

  .listings__title { font-size: 23px; }

  .item {
    grid-template-columns: minmax(0, 1fr) 96px;
    grid-template-areas:
      "lead aside"
      "body aside";
    gap: 10px 14px;
    padding: 18px 12px;
  }
  .item__lead { flex-direction: row; align-items: center; gap: 10px; }
  .item__num { font-size: 24px; }
  .item__title { font-size: 21px; }
  .item__summary { font-size: 14.5px; margin-bottom: 10px; }
  .item__aside { align-self: start; }
  .item__thumb { aspect-ratio: 1 / 1; }
  .item__open-cue { display: none; }

  .detail { width: 100%; border-left: 0; }
  .detail__scroll { padding: 20px 16px 48px; }
  .detail__meta { grid-template-columns: minmax(0, 1fr); }
  .detail__meta > div:nth-child(odd) { border-right: 0; }
  .detail__meta > div:nth-child(-n + 2) { border-top: 1.5px solid #c9c8c0; }
  .detail__meta > div:first-child { border-top: 0; }
}

@media (max-width: 400px) {
  .controls__inner { grid-template-columns: 1fr; }
  .field--select,
  .field--toggle { grid-column: 1 / -1; }
  .item {
    grid-template-columns: minmax(0, 1fr) 82px;
  }
}

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