/* ============================================================
   Relay — Team task inbox
   Dark, flat, editorial-ops identity
   ============================================================ */

@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: "Literata";
  src: url("assets/literata.ttf") format("truetype");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
  font-optical-sizing: auto;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/ibm-plex-mono.ttf") format("truetype");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;

  /* surfaces */
  --ink: #0f141b;
  --ink-deep: #0a0e14;
  --surface: #141a23;
  --surface-2: #1a212c;
  --surface-3: #212a37;

  /* lines */
  --line: #28323f;
  --line-soft: #1e2733;

  /* text */
  --text: #ecf1f8;
  --text-2: #aebbcb;
  --text-3: #8a97a8;

  /* accent */
  --amber: #f4b740;
  --amber-soft: rgba(244, 183, 64, 0.14);
  --amber-line: rgba(244, 183, 64, 0.4);
  --on-amber: #1c1503;

  /* status */
  --c-todo: #8fb0de;
  --c-in-progress: #45c9e0;
  --c-blocked: #ff7a7a;
  --c-done: #5fd8a2;

  /* priority */
  --c-high: #ff9166;
  --c-medium: #f4b740;
  --c-low: #93a3b6;

  /* type */
  --font-display: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Literata", Georgia, "Times New Roman", serif;
  --font-ui: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* geometry */
  --rail-w: 264px;
  --insp-w: 400px;
  --radius: 8px;
  --radius-lg: 12px;

  /* motion */
  --dur-enter: 260ms;
  --dur-exit: 180ms;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

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

h1, h2, h3, p, dl, dd, dt, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

[hidden] { display: none !important; }

button { font: inherit; color: inherit; }

a { color: var(--amber); }

svg { display: block; }

::selection { background: var(--amber); color: var(--on-amber); }

/* Focus: always visible, high contrast ------------------- */
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--amber);
  color: var(--on-amber);
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: top 140ms var(--ease);
}
.skip-link:focus { top: 12px; }

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

/* ============================================================
   App shell
   ============================================================ */

.app {
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, 1fr);
  min-height: 100dvh;
}

/* ---------- Rail ---------- */

.rail {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 26px 20px 22px;
  background: var(--ink-deep);
  border-right: 1px solid var(--line-soft);
  overflow-y: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border: 1px solid var(--amber-line);
  border-radius: 10px;
  color: var(--amber);
  background: var(--amber-soft);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 3px;
}

.views { display: flex; flex-direction: column; gap: 2px; }
.rail-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 10px 10px;
}

.view {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  text-align: left;
  transition: background 150ms var(--ease), color 150ms var(--ease),
              border-color 150ms var(--ease);
}
.view:hover { background: var(--surface); color: var(--text); }
.view.is-active {
  background: var(--surface-2);
  border-color: var(--line);
  color: var(--text);
}
.view.is-active .view-name { font-weight: 600; }

.view-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-3);
}
.view-dot--all { background: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft); }
.view-dot[data-dot="todo"] { background: var(--c-todo); }
.view-dot[data-dot="in-progress"] { background: var(--c-in-progress); }
.view-dot[data-dot="blocked"] { background: var(--c-blocked); }
.view-dot[data-dot="done"] { background: var(--c-done); }

.view-name { font-size: 14.5px; }
.view-count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}
.view.is-active .view-count { color: var(--amber); }

.rail-foot { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.rail-stats { display: flex; gap: 26px; margin-bottom: 14px; }
.rail-stat { display: flex; flex-direction: column; }
.rail-stat-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.rail-stat-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 6px;
}
.rail-note {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-3);
  max-width: 30ch;
}

/* ---------- Main column ---------- */

.main-col { min-width: 0; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding: 28px 36px 22px;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 8px;
}
.title-block h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 42px;
  line-height: 0.96;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.title-sub {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-3);
}
.title-sep { padding: 0 6px; color: var(--line); }

.controls {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}
.control { display: flex; flex-direction: column; gap: 7px; }
.control-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
}

.input-wrap { position: relative; display: flex; align-items: center; }
.input-icon {
  position: absolute;
  left: 13px;
  color: var(--text-3);
  pointer-events: none;
}
.input-icon svg { width: 17px; height: 17px; }

#search {
  width: 270px;
  max-width: 100%;
  height: 46px;
  padding: 0 14px 0 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 15px;
  transition: border-color 150ms var(--ease), background 150ms var(--ease);
}
#search::placeholder { color: var(--text-3); }
#search:hover { border-color: var(--surface-3); }
#search:focus { border-color: var(--amber); background: var(--surface-2); }

.select-wrap { position: relative; display: flex; align-items: center; }
.select-wrap select {
  appearance: none;
  height: 46px;
  padding: 0 40px 0 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 15px;
  cursor: pointer;
  transition: border-color 150ms var(--ease), background 150ms var(--ease);
}
.select-wrap select:hover { border-color: var(--surface-3); }
.select-wrap select:focus { border-color: var(--amber); background: var(--surface-2); }
.select-chevron {
  position: absolute;
  right: 13px;
  color: var(--text-3);
  pointer-events: none;
}
.select-chevron svg { width: 15px; height: 15px; }

/* ============================================================
   Ledger list
   ============================================================ */

.content {
  padding: 22px 36px 60px;
}

.ledger-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px 150px 104px 122px;
  gap: 16px;
  padding: 0 54px 10px 19px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
}

.ledger {
  border-top: 1px solid var(--line);
}

.row { border-bottom: 1px solid var(--line-soft); }
.row.is-active .row-open { background: var(--surface-2); }

.row-open {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px 150px 104px 122px 20px;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 14px 16px 14px 16px;
  border: 0;
  border-left: 3px solid var(--status, var(--text-3));
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 140ms var(--ease);
}
.row-open:hover { background: var(--surface); }
.row-open:active { background: var(--surface-2); }
.row-open:focus-visible { outline-offset: -2px; }

.row[data-status="todo"] { --status: var(--c-todo); }
.row[data-status="in-progress"] { --status: var(--c-in-progress); }
.row[data-status="blocked"] { --status: var(--c-blocked); }
.row[data-status="done"] { --status: var(--c-done); }

.row-main { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.row-title {
  font-family: var(--font-body);
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  overflow-wrap: anywhere;
}
.row-sub {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-3);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: center;
}
.row-id { color: var(--text-3); }
.row-priority { font-weight: 600; }
.row-priority[data-priority="high"] { color: var(--c-high); }
.row-priority[data-priority="medium"] { color: var(--c-medium); }
.row-priority[data-priority="low"] { color: var(--c-low); }

.row-cell {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.row-due { font-variant-numeric: tabular-nums; color: var(--text-2); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px 4px 8px;
  border: 1px solid var(--pill-line, var(--line));
  border-radius: 999px;
  background: var(--pill-bg, var(--surface-2));
  color: var(--pill-fg, var(--text-2));
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.pill::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--pill-fg, var(--text-3));
  flex: none;
}
.pill[data-status="todo"] { --pill-fg: var(--c-todo); --pill-line: rgba(143,176,222,0.4); --pill-bg: rgba(143,176,222,0.12); }
.pill[data-status="in-progress"] { --pill-fg: var(--c-in-progress); --pill-line: rgba(69,201,224,0.4); --pill-bg: rgba(69,201,224,0.12); }
.pill[data-status="blocked"] { --pill-fg: var(--c-blocked); --pill-line: rgba(255,122,122,0.4); --pill-bg: rgba(255,122,122,0.12); }
.pill[data-status="done"] { --pill-fg: var(--c-done); --pill-line: rgba(95,216,162,0.4); --pill-bg: rgba(95,216,162,0.12); }

.row-chevron { color: var(--text-3); transition: transform 160ms var(--ease), color 160ms var(--ease); }
.row-chevron svg { width: 18px; height: 18px; }
.row-open:hover .row-chevron { color: var(--amber); transform: translateX(3px); }

.row-mobile-meta { display: none; }

/* ============================================================
   Empty state
   ============================================================ */

.empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 8px;
  padding: 56px 32px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.empty-icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text-3);
}
.empty-icon svg { width: 24px; height: 24px; }
.empty-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.empty-text { color: var(--text-2); max-width: 46ch; }

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 150ms var(--ease), border-color 150ms var(--ease),
              transform 120ms var(--ease), color 150ms var(--ease);
}
.btn:hover { background: var(--surface-3); border-color: var(--text-3); }
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--on-amber);
}
.btn--primary:hover { background: #f8c65a; border-color: #f8c65a; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-2);
  cursor: pointer;
  transition: background 150ms var(--ease), color 150ms var(--ease),
              border-color 150ms var(--ease);
}
.icon-btn:hover { background: var(--surface-3); color: var(--text); border-color: var(--text-3); }
.icon-btn svg { width: 20px; height: 20px; }

/* ============================================================
   Inspector / detail
   ============================================================ */

.inspector {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 60;
  width: var(--insp-w);
  max-width: 100%;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-left: 1px solid var(--line);
  transform: translateX(102%);
  visibility: hidden;
  transition: transform var(--dur-enter) var(--ease), visibility var(--dur-enter);
  will-change: transform;
}
.inspector.is-open { transform: translateX(0); visibility: visible; }
.inspector:not(.is-open) { pointer-events: none; }

.insp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--ink-deep);
}
.insp-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}

.insp-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 26px 26px 48px;
  overscroll-behavior: contain;
}

.insp-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 25px;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--text);
  overflow-wrap: anywhere;
}

.insp-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-2);
}
.tag--priority[data-priority="high"] { color: var(--c-high); border-color: rgba(255,145,102,0.4); }
.tag--priority[data-priority="medium"] { color: var(--c-medium); border-color: rgba(244,183,64,0.4); }
.tag--priority[data-priority="low"] { color: var(--c-low); }

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 24px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.fact { padding: 12px 14px; background: var(--surface); }
.fact dt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 5px;
}
.fact dd { font-size: 14.5px; color: var(--text); overflow-wrap: anywhere; }

.status-edit {
  margin-top: 24px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink);
}
.status-edit .select-wrap { margin-top: 7px; }
.status-edit .select-wrap select { width: 100%; }
.status-feedback {
  min-height: 18px;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-done);
  display: flex;
  align-items: center;
  gap: 6px;
}
.status-feedback:empty { margin-top: 0; }

.detail-body {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.72;
  color: var(--text-2);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-width: 68ch;
}

.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }

/* Scrim (mobile modal) */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(5, 8, 12, 0.62);
  opacity: 0;
  transition: opacity var(--dur-enter) var(--ease);
}
.scrim.is-open { opacity: 1; }
.scrim[hidden] { display: none; }

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 80;
  transform: translate(-50%, 20px);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-done);
  flex: none;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1180px) {
  .ledger-head { display: none; }
  .row-open {
    grid-template-columns: minmax(0, 1fr) 122px 20px;
    grid-template-areas:
      "main status chev"
      "meta meta meta";
  }
  .row-main { grid-area: main; }
  .row-status { grid-area: status; }
  .row-chevron { grid-area: chev; }
  .row-project,
  .row-owner,
  .row-due { display: none; }
  .row-mobile-meta {
    grid-area: meta;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--text-3);
  }
}

/* Desktop: open detail shifts the list and compacts the ledger so nothing
   is hidden behind the inspector. */
@media (min-width: 821px) {
  .main-col { transition: padding-right var(--dur-enter) var(--ease); }
  body.detail-open .main-col { padding-right: var(--insp-w); }

  body.detail-open .ledger-head { display: none; }
  body.detail-open .row-open {
    grid-template-columns: minmax(0, 1fr) 122px 20px;
    grid-template-areas:
      "main status chev"
      "meta meta meta";
  }
  body.detail-open .row-main { grid-area: main; }
  body.detail-open .row-status { grid-area: status; }
  body.detail-open .row-chevron { grid-area: chev; }
  body.detail-open .row-project,
  body.detail-open .row-owner,
  body.detail-open .row-due { display: none; }
  body.detail-open .row-mobile-meta {
    grid-area: meta;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--text-3);
  }
}

@media (max-width: 820px) {
  :root { --insp-w: 100%; }

  .app { grid-template-columns: 1fr; }

  .rail {
    position: static;
    height: auto;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    padding: 14px 18px;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .brand { flex: none; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 16px; }
  .brand-sub { display: none; }
  .views {
    flex-direction: row;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 2px;
  }
  .views .rail-label { display: none; }
  .view { width: auto; white-space: nowrap; padding: 8px 12px; min-height: 44px; }
  .view-count { display: none; }
  .rail-foot { display: none; }

  .topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 20px 18px 18px;
  }
  .title-block h1 { font-size: 34px; }
  .controls { gap: 12px; }
  .control { flex: 1 1 200px; }
  #search { width: 100%; }
  .select-wrap { width: 100%; }
  .select-wrap select { width: 100%; }

  .content { padding: 16px 18px 48px; }

  .row-open {
    grid-template-columns: minmax(0, 1fr) auto 20px;
    padding: 15px 14px;
    gap: 10px 12px;
  }
  .row-title { font-size: 16px; }

  .inspector {
    border-left: 0;
  }
  .insp-scroll { padding: 22px 18px 48px; }
  .facts { grid-template-columns: 1fr; }
  .toast { bottom: 18px; width: calc(100% - 36px); justify-content: center; }
}

@media (max-width: 400px) {
  .title-block h1 { font-size: 30px; }
  .row-status .pill { padding: 3px 8px 3px 7px; }
  .row-open { grid-template-columns: minmax(0, 1fr) auto; }
  .row-chevron { display: none; }
}

/* ============================================================
   Reduced motion
   ============================================================ */

@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;
  }
  .row-open:hover .row-chevron { transform: none; }
}
