:root {
  color-scheme: dark;
  --bg: #030506;
  --bg-2: #080d12;
  --surface: rgba(9, 15, 20, 0.82);
  --surface-strong: rgba(12, 20, 28, 0.96);
  --surface-soft: rgba(17, 28, 38, 0.76);
  --ink: #f3fbff;
  --muted: #8ea3af;
  --line: rgba(100, 244, 255, 0.2);
  --line-strong: rgba(100, 244, 255, 0.52);
  --cyan: #64f4ff;
  --cyan-soft: rgba(100, 244, 255, 0.14);
  --magenta: #ff3df2;
  --red: #ff3b5c;
  --lime: #97ff6d;
  --amber: #ffc857;
  --violet: #8f6bff;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.62), 0 0 26px rgba(100, 244, 255, 0.08);
  --radius: 8px;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(100, 244, 255, 0.07), transparent 260px),
    linear-gradient(110deg, rgba(255, 61, 242, 0.08), transparent 360px),
    var(--bg);
  color: var(--ink);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  content: "";
  background:
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.03) 0,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 4px
    );
  mix-blend-mode: screen;
  opacity: 0.3;
}

body.fx-muted::before,
body.fx-muted .hero-grid,
body.fx-muted .glitch-title::before,
body.fx-muted .glitch-title::after {
  display: none;
}

body.fx-muted * {
  animation: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% -20%, rgba(100, 244, 255, 0.12), transparent 36%),
    linear-gradient(180deg, transparent 0, rgba(3, 5, 6, 0.88) 620px, var(--bg) 860px);
}

.topbar {
  position: fixed;
  inset: 16px 16px auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(3, 6, 9, 0.78);
  color: #fff;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.topbar::after,
.roles-toolbar::after,
.role-detail::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(100, 244, 255, 0.18), transparent);
  opacity: 0.38;
  transform: translateX(-100%);
  animation: hudSweep 5.8s linear infinite;
}

.brand,
.site-nav,
.topbar-actions,
.hero-actions,
.hero-stats,
.roles-toolbar,
.filter-row,
.results-line,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(100, 244, 255, 0.42);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(100, 244, 255, 0.22), rgba(255, 61, 242, 0.18)),
    #071014;
  color: var(--cyan);
  font-size: 0.86rem;
  font-weight: 950;
  text-shadow: 0 0 14px rgba(100, 244, 255, 0.78);
  box-shadow: inset 0 0 18px rgba(100, 244, 255, 0.12), 0 0 18px rgba(100, 244, 255, 0.12);
}

.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1.1;
}

.brand-copy strong {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 900;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.75rem;
}

.site-nav {
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(100, 244, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(100, 244, 255, 0.06);
}

.site-nav a {
  min-height: 38px;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease, text-shadow 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(100, 244, 255, 0.12);
  color: var(--cyan);
  text-shadow: 0 0 16px rgba(100, 244, 255, 0.6);
}

.topbar-actions {
  gap: 8px;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(100, 244, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(100, 244, 255, 0.08);
  color: var(--cyan);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.icon-button:hover,
.icon-button:focus-visible {
  background: rgba(100, 244, 255, 0.16);
  box-shadow: 0 0 22px rgba(100, 244, 255, 0.16);
  transform: translateY(-1px);
}

.icon-button svg,
.search-box svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 78svh;
  padding: 138px 24px 58px;
  place-items: end center;
  isolation: isolate;
  overflow: hidden;
}

.hero-image,
.hero-shade,
.hero-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -3;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.86) contrast(1.16) brightness(0.58);
  transform: scale(1.02);
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.62) 48%, rgba(0, 0, 0, 0.28)),
    linear-gradient(0deg, rgba(3, 5, 6, 0.98), rgba(3, 5, 6, 0.2) 44%, rgba(3, 5, 6, 0.58));
}

.hero-grid {
  z-index: -1;
  background:
    linear-gradient(rgba(100, 244, 255, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 244, 255, 0.11) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent 0, #000 24%, #000 72%, transparent 100%);
  transform: perspective(720px) rotateX(63deg) translateY(36%);
  transform-origin: bottom;
  animation: gridDrift 8s linear infinite;
}

.hero-content {
  width: min(100%, var(--max));
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(100, 244, 255, 0.42);
}

.eyebrow::before {
  width: 26px;
  height: 1px;
  content: "";
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: 5.2rem;
  line-height: 0.96;
  letter-spacing: 0;
}

.glitch-title {
  position: relative;
  display: inline-block;
  color: var(--ink);
  text-shadow:
    0 0 18px rgba(100, 244, 255, 0.42),
    0 0 42px rgba(255, 61, 242, 0.18);
}

.glitch-title::before,
.glitch-title::after {
  position: absolute;
  inset: 0;
  content: attr(data-text);
  pointer-events: none;
}

.glitch-title::before {
  color: var(--cyan);
  transform: translate(2px, 0);
  clip-path: inset(0 0 58% 0);
  animation: glitchTop 3.2s steps(2, end) infinite;
}

.glitch-title::after {
  color: var(--magenta);
  transform: translate(-2px, 0);
  clip-path: inset(50% 0 0 0);
  animation: glitchBottom 2.8s steps(2, end) infinite;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 28px;
  color: rgba(243, 251, 255, 0.78);
  font-size: 1.12rem;
  line-height: 1.7;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 18px;
  background: rgba(10, 18, 24, 0.88);
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: translateX(-120%);
  transition: transform 420ms ease;
}

.button:hover,
.button:focus-visible {
  border-color: var(--line-strong);
  box-shadow: 0 0 28px rgba(100, 244, 255, 0.16);
  transform: translateY(-1px);
}

.button:hover::after,
.button:focus-visible::after {
  transform: translateX(120%);
}

.button.primary {
  border-color: rgba(100, 244, 255, 0.7);
  background:
    linear-gradient(135deg, rgba(100, 244, 255, 0.22), rgba(255, 61, 242, 0.18)),
    #071014;
  color: #fff;
  text-shadow: 0 0 12px rgba(100, 244, 255, 0.55);
}

.button.ghost {
  border-color: rgba(255, 61, 242, 0.38);
  background: rgba(255, 61, 242, 0.08);
  color: #fff;
}

.button.compact {
  min-height: 42px;
  padding: 10px 14px;
  background: rgba(100, 244, 255, 0.05);
}

.hero-stats {
  flex-wrap: wrap;
  gap: 10px;
}

.hero-stats div {
  min-width: 142px;
  padding: 15px 16px;
  border: 1px solid rgba(100, 244, 255, 0.26);
  border-radius: var(--radius);
  background: rgba(3, 8, 12, 0.62);
  box-shadow: inset 0 0 22px rgba(100, 244, 255, 0.06);
  backdrop-filter: blur(12px);
}

.hero-stats dt {
  margin: 0;
  color: var(--cyan);
  font-size: 1.45rem;
  font-weight: 950;
  text-shadow: 0 0 14px rgba(100, 244, 255, 0.48);
}

.hero-stats dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.section {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 76px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head h2,
.city-copy h2 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 2.45rem;
  line-height: 1.1;
  letter-spacing: 0;
  text-shadow: 0 0 24px rgba(100, 244, 255, 0.16);
}

.section-head p,
.city-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.roles-toolbar {
  position: relative;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 10px;
  overflow: hidden;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(14, 24, 32, 0.92), rgba(6, 10, 14, 0.88));
  box-shadow: var(--shadow);
}

.search-box {
  display: flex;
  min-width: 260px;
  flex: 1 1 280px;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(100, 244, 255, 0.22);
  border-radius: var(--radius);
  color: var(--cyan);
  background: rgba(1, 5, 8, 0.72);
  box-shadow: inset 0 0 18px rgba(100, 244, 255, 0.04);
}

.search-box:focus-within {
  border-color: var(--line-strong);
  box-shadow: 0 0 22px rgba(100, 244, 255, 0.12);
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.search-box input::placeholder {
  color: rgba(142, 163, 175, 0.72);
}

.filter-row {
  flex: 2 1 520px;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button {
  min-height: 42px;
  border: 1px solid rgba(100, 244, 255, 0.18);
  border-radius: var(--radius);
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
  border-color: var(--line-strong);
  background: var(--cyan-soft);
  color: var(--cyan);
  box-shadow: 0 0 18px rgba(100, 244, 255, 0.12);
}

.results-line {
  justify-content: space-between;
  margin: 18px 0 16px;
  color: var(--muted);
  font-weight: 850;
}

.roles-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.role-card {
  position: relative;
  display: grid;
  min-height: 178px;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
  overflow: hidden;
  border: 1px solid rgba(100, 244, 255, 0.16);
  border-radius: var(--radius);
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(100, 244, 255, 0.065), transparent 42%),
    linear-gradient(180deg, rgba(13, 21, 28, 0.95), rgba(7, 11, 15, 0.96));
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.34);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.role-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  height: 2px;
  content: "";
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
}

.role-card:hover,
.role-card:focus-visible {
  border-color: rgba(100, 244, 255, 0.54);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.role-card.is-selected {
  border-color: rgba(255, 61, 242, 0.68);
  outline: 2px solid rgba(255, 61, 242, 0.16);
  box-shadow: 0 0 32px rgba(255, 61, 242, 0.12), var(--shadow);
}

.role-card-top,
.role-card-meta,
.detail-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.role-code {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(100, 244, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(100, 244, 255, 0.08);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 950;
  text-shadow: 0 0 14px rgba(100, 244, 255, 0.58);
}

.role-card h3,
.role-detail h3,
.guide-grid h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.25;
}

.role-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.role-card-meta,
.detail-meta {
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(100, 244, 255, 0.08);
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
}

.pill.public {
  color: var(--cyan);
}

.pill.civil {
  color: var(--lime);
}

.pill.business {
  color: var(--amber);
}

.pill.illegal {
  color: var(--red);
}

.pill.health {
  color: var(--violet);
}

.role-detail {
  position: sticky;
  top: 96px;
  scroll-margin-top: 108px;
  overflow: hidden;
  border: 1px solid rgba(100, 244, 255, 0.3);
  border-radius: var(--radius);
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255, 61, 242, 0.12), transparent 44%),
    linear-gradient(180deg, rgba(12, 21, 29, 0.98), rgba(4, 8, 11, 0.98));
  color: #fff;
  box-shadow: var(--shadow);
}

.detail-kicker {
  margin-bottom: 16px;
}

.role-detail .role-code {
  width: 52px;
  height: 52px;
}

.role-detail h3 {
  margin: 14px 0 12px;
  font-size: 1.65rem;
  text-shadow: 0 0 18px rgba(100, 244, 255, 0.18);
}

.role-detail p {
  color: rgba(243, 251, 255, 0.72);
  line-height: 1.7;
}

.detail-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  padding: 12px;
  border: 1px solid rgba(100, 244, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(100, 244, 255, 0.055);
  color: rgba(243, 251, 255, 0.84);
  line-height: 1.45;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 26px;
  border: 1px dashed rgba(100, 244, 255, 0.25);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--surface);
}

.guide-section {
  padding-top: 42px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.guide-grid article {
  min-height: 228px;
  border: 1px solid rgba(100, 244, 255, 0.16);
  border-radius: var(--radius);
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(100, 244, 255, 0.055), transparent 48%),
    var(--surface);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.34);
}

.guide-index {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--magenta);
  font-weight: 950;
  text-shadow: 0 0 16px rgba(255, 61, 242, 0.48);
}

.guide-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.city-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
  padding-top: 40px;
}

.city-map {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(100, 244, 255, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(100, 244, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 244, 255, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 61, 242, 0.08), transparent 44%),
    var(--surface-strong);
  background-size: 38px 38px, 38px 38px, auto, auto;
  box-shadow: var(--shadow);
}

.city-map::before,
.city-map::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(100, 244, 255, 0.28);
  border-radius: 50%;
}

.city-map::before {
  inset: 18%;
  box-shadow: 0 0 26px rgba(100, 244, 255, 0.08);
}

.city-map::after {
  inset: 34% 14% 26% 20%;
  border-color: rgba(255, 61, 242, 0.3);
  transform: rotate(14deg);
}

.pin {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(100, 244, 255, 0.28);
  border-radius: var(--radius);
  padding: 8px 11px;
  background: rgba(4, 8, 11, 0.9);
  color: var(--ink);
  box-shadow: 0 0 22px rgba(100, 244, 255, 0.12);
  font-size: 0.84rem;
  font-weight: 950;
}

.pin-public {
  left: 12%;
  top: 18%;
  color: var(--cyan);
}

.pin-work {
  right: 12%;
  top: 30%;
  color: var(--lime);
}

.pin-event {
  left: 24%;
  bottom: 20%;
  color: var(--amber);
}

.pin-risk {
  right: 16%;
  bottom: 14%;
  color: var(--red);
}

.footer {
  justify-content: space-between;
  gap: 16px;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 28px 0 40px;
  border-top: 1px solid rgba(100, 244, 255, 0.18);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer span {
  color: var(--ink);
  font-weight: 950;
}

.footer a {
  color: var(--cyan);
  font-weight: 900;
}

@keyframes gridDrift {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 0 72px, 72px 0;
  }
}

@keyframes glitchTop {
  0%,
  82%,
  100% {
    transform: translate(2px, 0);
  }

  84% {
    transform: translate(8px, -2px);
  }

  86% {
    transform: translate(-4px, 1px);
  }
}

@keyframes glitchBottom {
  0%,
  76%,
  100% {
    transform: translate(-2px, 0);
  }

  78% {
    transform: translate(-8px, 2px);
  }

  80% {
    transform: translate(5px, -1px);
  }
}

@keyframes hudSweep {
  0%,
  34% {
    transform: translateX(-110%);
  }

  52%,
  100% {
    transform: translateX(110%);
  }
}

@media (max-width: 980px) {
  .topbar {
    align-items: flex-start;
  }

  .menu-button {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    width: min(280px, calc(100vw - 32px));
    flex-direction: column;
    align-items: stretch;
    border: 1px solid rgba(100, 244, 255, 0.22);
    background: rgba(3, 6, 9, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
  }

  h1 {
    font-size: 3.6rem;
  }

  .roles-layout,
  .city-section {
    grid-template-columns: 1fr;
  }

  .role-detail {
    order: -1;
    position: static;
    scroll-margin-top: 88px;
  }
}

@media (max-width: 720px) {
  .topbar {
    inset: 10px 10px auto;
    width: calc(100% - 20px);
  }

  .brand-copy small {
    display: none;
  }

  .brand-mark,
  .icon-button {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: auto;
    padding: 118px 16px 42px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.58) 58%, rgba(3, 5, 6, 0.98)),
      linear-gradient(90deg, rgba(0, 0, 0, 0.82), transparent);
  }

  .hero-grid {
    background-size: 48px 48px;
  }

  h1 {
    font-size: 2.75rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-stats div {
    flex: 1 1 130px;
    min-width: 0;
  }

  .section {
    width: min(calc(100% - 24px), var(--max));
    padding: 54px 0;
  }

  .section-head h2,
  .city-copy h2 {
    font-size: 1.9rem;
  }

  .roles-toolbar {
    padding: 10px;
  }

  .search-box {
    min-width: 100%;
  }

  .filter-row {
    flex: 1 1 100%;
  }

  .filter-button,
  .button.compact {
    flex: 1 1 auto;
  }

  .role-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .guide-grid article {
    min-height: auto;
  }

  .city-map {
    min-height: 300px;
  }
}

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