/* ============================================================
   Weekend Depot — a two-day transit board printed in riso ink
   ============================================================ */

@font-face {
  font-family: "Space Grotesk";
  src: url("assets/space-grotesk.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("assets/literata.ttf") format("truetype");
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/ibm-plex-mono.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #e9e6db;
  --paper-deep: #ddd9ca;
  --card: #f3f0e6;
  --board: #15231d;
  --board-2: #1d2f27;
  --flap: #ede6d3;
  --flap-dim: #9fb0a4;
  --ink: #1b1a16;
  --ink-soft: #4b4a41;
  --rule: #c3bfae;
  --rule-dark: #33463c;
  --amber: #e0a200;
  --focus: #2e52c8;

  --art: #e24c6b;
  --film: #2e52c8;
  --food: #e06a26;
  --literature: #6d4ac6;
  --music: #149a8b;
  --outdoors: #4e8c39;
  --walks: #dfa200;

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Literata", Georgia, serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --shell: min(1180px, 100% - 2.5rem);
  --radius: 14px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    radial-gradient(rgba(27, 26, 22, 0.055) 1px, transparent 1px),
    radial-gradient(rgba(27, 26, 22, 0.04) 1px, transparent 1px);
  background-size: 7px 7px, 7px 7px;
  background-position: 0 0, 3px 3px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

button { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

.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;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  background: var(--board);
  color: var(--flap);
  padding: 0.6rem 1rem;
  border-radius: 0 0 10px 10px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0; }

/* ---------------- Masthead ---------------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(233, 230, 219, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 2px solid var(--ink);
}

.masthead-inner {
  width: var(--shell);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: 0.6rem; }

.brand-mark {
  position: relative;
  width: 34px; height: 34px;
  display: inline-grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--amber);
}
.brand-mark span {
  position: absolute;
  width: 16px; height: 2px;
  background: var(--ink);
}
.brand-mark span:first-child { transform: rotate(45deg); }
.brand-mark span:last-child { transform: rotate(-45deg); }

.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

.controls {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.field { position: relative; display: flex; align-items: center; }

.field-icon {
  position: absolute;
  left: 0.7rem;
  font-size: 1rem;
  color: var(--ink-soft);
  pointer-events: none;
}

#search {
  width: 15rem;
  max-width: 44vw;
  padding: 0.55rem 0.8rem 0.55rem 2rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--card);
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--ink);
}
#search::placeholder { color: #7b7869; }

#filter {
  appearance: none;
  -webkit-appearance: none;
  padding: 0.55rem 2rem 0.55rem 0.8rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background-color: var(--card);
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 15px) 55%, calc(100% - 10px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--ink);
  cursor: pointer;
}

.saved-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--card);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}
.saved-toggle:hover { transform: translateY(-1px); }
.saved-toggle[aria-pressed="true"] {
  background: var(--board);
  color: var(--flap);
  border-color: var(--board);
}
.saved-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--art);
  box-shadow: 0 0 0 2px var(--card);
}
.saved-toggle[aria-pressed="true"] .saved-dot {
  background: var(--amber);
  box-shadow: 0 0 0 2px var(--board);
}
.saved-count {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  min-width: 1.2em;
  text-align: center;
  padding: 0.05rem 0.35rem;
  border-radius: 999px;
  background: var(--paper-deep);
  color: var(--ink);
}
.saved-toggle[aria-pressed="true"] .saved-count { background: var(--flap); }

/* ---------------- Hero / board ---------------- */

.hero {
  width: var(--shell);
  margin: 1.6rem auto 0;
}

.board-wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20rem;
  gap: 1.4rem;
  align-items: end;
}

.board {
  position: relative;
  overflow: hidden;
  background: var(--board);
  color: var(--flap);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem 1.3rem;
  box-shadow: 10px 10px 0 rgba(27, 26, 22, 0.14);
  border: 2px solid var(--ink);
}
.board::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.028) 0 1px,
    transparent 1px 3px
  );
}

.board-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--flap-dim);
  position: relative;
  z-index: 1;
}
.board-row-bottom { border-top: 1px dashed var(--rule-dark); padding-top: 0.7rem; margin-top: 0.2rem; }
.board-tag {
  color: var(--board);
  background: var(--amber);
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-weight: 600;
}

.flap {
  position: relative;
  z-index: 1;
  font-size: clamp(2.4rem, 7.4vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-align: center;
  margin: 0.7rem 0;
  color: var(--flap);
  text-shadow: 2px 0 0 rgba(226, 76, 107, 0.55), -2px 0 0 rgba(46, 82, 200, 0.5);
}
.flap .ch {
  display: inline-block;
  min-width: 0.32em;
}
.flap .ch.space { min-width: 0.28em; }

@media (prefers-reduced-motion: no-preference) {
  .flap .ch.flipping { animation: flap 0.28s ease both; }
}
@keyframes flap {
  0% { transform: rotateX(90deg); opacity: 0.1; }
  60% { transform: rotateX(-12deg); opacity: 1; }
  100% { transform: rotateX(0); opacity: 1; }
}

.hero-note {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--ink-soft);
  box-shadow: 6px 6px 0 rgba(27, 26, 22, 0.12);
}

/* ---------------- Network line map ---------------- */

.network {
  margin-top: 1.4rem;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 1rem 1.1rem 1.1rem;
  box-shadow: 6px 6px 0 rgba(27, 26, 22, 0.12);
}
.network-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}
.network-head h2 { font-size: 1.05rem; }
.network-head p {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
}

.network-scroll { overflow-x: auto; padding-bottom: 0.2rem; }

.network-scale {
  position: relative;
  min-width: 560px;
  height: 1.1rem;
  margin-left: 7.6rem;
  margin-right: 2.8rem;
  border-bottom: 1px solid var(--rule);
}
.network-scale span {
  position: absolute;
  bottom: 0.1rem;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--ink-soft);
}
.network-scale span:first-child { transform: translateX(0); }
.network-scale span:last-child { transform: translateX(-100%); }

.network-lines { min-width: 560px; }

.line-row {
  display: grid;
  grid-template-columns: 7.2rem minmax(300px, 1fr) 2.4rem;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0;
}
.line-row + .line-row { border-top: 1px dashed var(--rule); }

.line-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1.5px solid transparent;
  background: none;
  padding: 0.2rem 0.4rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  justify-self: start;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.line-label:hover { border-color: var(--ink); }
.line-label[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}
.line-label .swatch {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--c);
  border: 1.5px solid var(--ink);
}

.line-track {
  position: relative;
  height: 20px;
}
.line-track::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 5px;
  transform: translateY(-50%);
  border-radius: 3px;
  background: var(--c);
  opacity: 0.9;
}
.stop {
  position: absolute;
  top: 50%;
  width: 15px; height: 15px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--c);
  cursor: pointer;
  padding: 0;
  transition: transform 0.12s ease;
  z-index: 1;
}
.stop:hover, .stop:focus-visible { transform: translate(-50%, -50%) scale(1.5); }
.stop.is-saved {
  background: var(--c);
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--c);
}

.line-count {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--ink-soft);
  text-align: right;
}

/* ---------------- Departures list ---------------- */

.departures {
  width: var(--shell);
  margin: 2rem auto 0;
  scroll-margin-top: 5rem;
}

.departures-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 3px solid var(--ink);
  padding-bottom: 0.5rem;
  margin-bottom: 1.2rem;
}
.departures-head h2 { font-size: 1.5rem; font-weight: 700; }
.result-count {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.departures-meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.surprise-btn {
  border: 2px solid var(--ink);
  background: var(--card);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}
.surprise-btn:hover { background: var(--ink); color: var(--paper); transform: translateY(-1px); }

.day-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.day-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 0.35rem;
  margin-bottom: 0.4rem;
}
.day-head h3 { font-size: 1.05rem; }
.day-num {
  font-family: var(--font-mono);
  background: var(--walks);
  color: var(--ink);
  padding: 0.02rem 0.35rem;
  border-radius: 4px;
}
.day-count {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--ink-soft);
}

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

.departure { border-bottom: 1px dashed var(--rule); }

.departure-btn {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr) auto;
  grid-template-areas: "time title price" ". meta price";
  align-items: baseline;
  gap: 0.05rem 0.7rem;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 0.72rem 0.5rem 0.72rem 0.2rem;
  cursor: pointer;
  border-radius: 8px;
  position: relative;
  transition: background 0.13s ease, padding-left 0.13s ease;
}
.departure-btn::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6rem; bottom: 0.6rem;
  width: 4px;
  border-radius: 2px;
  background: var(--c);
  opacity: 0;
  transition: opacity 0.13s ease;
}
.departure-btn:hover,
.departure-btn:focus-visible {
  background: var(--card);
  padding-left: 0.75rem;
}
.departure-btn:hover::before,
.departure-btn:focus-visible::before { opacity: 1; }

.dep-time {
  grid-area: time;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
}
.dep-title {
  grid-area: title;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.25;
}
.dep-meta {
  grid-area: meta;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}
.dep-venue { line-height: 1.35; }
.dep-line {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--ink);
}
.dep-line .swatch {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c);
}
.dep-price {
  grid-area: price;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.dep-saved-flag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  color: var(--paper);
  background: var(--ink);
  padding: 0.05rem 0.35rem;
  border-radius: 3px;
}

/* ---------------- Empty state ---------------- */

.empty-state {
  border: 2px dashed var(--ink);
  border-radius: var(--radius);
  padding: 2.4rem 1.4rem;
  text-align: center;
  background: var(--card);
  margin-top: 1rem;
}
.empty-sign {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--art);
  margin-bottom: 0.6rem;
}
.empty-state h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.empty-state p { color: var(--ink-soft); font-size: 0.9rem; }
.reset-btn {
  margin-top: 1rem;
  padding: 0.55rem 1.1rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--amber);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}
.reset-btn:hover { background: var(--board); color: var(--flap); }

/* ---------------- Detail dialog (boarding pass) ---------------- */

.detail-dialog {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(560px, 94vw);
  width: 100%;
  max-height: 92vh;
  color: var(--ink);
}
.detail-dialog::backdrop {
  background: rgba(21, 35, 29, 0.62);
  backdrop-filter: blur(2px);
}

.ticket {
  position: relative;
  background: var(--board);
  color: var(--flap);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem 1.4rem;
  overflow: hidden;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 12px 12px 0 rgba(27, 26, 22, 0.28);
}
.ticket-stripe {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 8px;
  background: var(--c, var(--amber));
}
.ticket-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding-top: 0.4rem;
  margin-bottom: 0.8rem;
}
.ticket-line {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--flap-dim);
}
.ticket-line .swatch {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--c, var(--amber));
}

.close-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  color: var(--flap);
  border: 1.5px solid var(--rule-dark);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-family: var(--font-display);
  font-size: 0.76rem;
  cursor: pointer;
  white-space: nowrap;
}
.close-btn:hover { background: var(--flap); color: var(--board); }

#detail-title {
  font-size: clamp(1.5rem, 4.5vw, 2rem);
  color: var(--flap);
  margin-bottom: 0.5rem;
}
.ticket-summary {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #cfd8cf;
  margin-bottom: 1.1rem;
}

.ticket-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0 0 1.1rem;
  border-top: 1px solid var(--rule-dark);
  border-left: 1px solid var(--rule-dark);
}
.ticket-grid > div {
  border-right: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
  padding: 0.55rem 0.7rem;
}
.ticket-grid dt {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--flap-dim);
  margin-bottom: 0.15rem;
}
.ticket-grid dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 500;
}

.ticket-body {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #d9e0d8;
  margin-bottom: 1.1rem;
}
.ticket-body p + p { margin-top: 0.6rem; }

.ticket-access {
  background: var(--board-2);
  border-left: 4px solid var(--amber);
  border-radius: 0 8px 8px 0;
  padding: 0.7rem 0.9rem;
  margin-bottom: 1.2rem;
}
.ticket-access h3 {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.25rem;
}
.ticket-access p { font-size: 0.85rem; line-height: 1.5; color: #d9e0d8; }

.ticket-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  border-top: 1px dashed var(--rule-dark);
  padding-top: 1rem;
}
.save-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid var(--amber);
  background: var(--amber);
  color: var(--board);
  border-radius: 999px;
  padding: 0.6rem 1.1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.save-btn:hover { background: var(--flap); border-color: var(--flap); }
.save-btn[aria-pressed="true"] {
  background: transparent;
  color: var(--amber);
  border-color: var(--amber);
}
.save-mark {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 2px solid currentColor;
}
.save-btn[aria-pressed="true"] .save-mark { background: currentColor; }
.save-hint {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--flap-dim);
  letter-spacing: 0.03em;
}

/* ---------------- Footer ---------------- */

.site-foot {
  width: var(--shell);
  margin: 2.6rem auto 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
}

/* ---------------- Responsive ---------------- */

@media (max-width: 900px) {
  .board-wrap { grid-template-columns: 1fr; }
  .hero-note { order: 2; }
  .day-grid { grid-template-columns: 1fr; gap: 1.6rem; }
}

@media (max-width: 620px) {
  :root { --shell: min(1180px, 100% - 1.6rem); }
  body { font-size: 15px; }

  .masthead-inner { padding: 0.6rem 0; }
  .controls { width: 100%; }
  .field.search-field { flex: 1 1 100%; }
  #search { width: 100%; max-width: none; }
  .select-field { flex: 1 1 auto; }
  #filter { width: 100%; }
  .saved-toggle { flex: 1 1 auto; justify-content: center; }

  .board { padding: 1.1rem 1rem 1rem; box-shadow: 6px 6px 0 rgba(27, 26, 22, 0.14); }
  .board-dates { font-size: 0.6rem; }
  .flap { font-size: clamp(2rem, 12vw, 3rem); }

  .departure-btn {
    grid-template-columns: 3rem minmax(0, 1fr) auto;
    gap: 0.05rem 0.5rem;
  }
  .ticket { padding: 1.1rem 1rem 1.2rem; }
  .ticket-grid { grid-template-columns: 1fr; }
  .site-foot { flex-direction: column; gap: 0.3rem; }
}

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