.page-home .hero {
  padding: 26px 0 10px;
}

.page-home .hero__grid {
  display: grid;
  gap: 30px;
}

.page-home .hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 8.4vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--fog);
  margin: 14px 0 0;
}

.page-home .hero__lead {
  margin: 18px 0 0;
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.8;
  color: var(--blue-gray);
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-home .hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  list-style: none;
  margin: 30px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line-steel);
}

.page-home .hero__facts li {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.page-home .hero-fact__num {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--orange);
}

.page-home .hero-fact__label {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.page-home .hero-map {
  position: relative;
  margin: 0;
  border: 1px solid var(--line-steel);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--ink-raised);
  box-shadow: var(--shadow-panel);
}

.page-home .hero-map__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.page-home .hero-map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  background-image:
    repeating-linear-gradient(to right, rgba(63, 224, 208, 0.16) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(to bottom, rgba(63, 224, 208, 0.1) 0 1px, transparent 1px 44px);
}

.page-home .hero-map__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.page-home .hero-map__route {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2;
  stroke-dasharray: 7 9;
  opacity: 0.85;
}

.page-home .hero-map__nodes circle {
  fill: var(--orange);
  stroke: var(--ink-void);
  stroke-width: 2;
}

.page-home .hero-map__nodes circle:last-child {
  fill: var(--red);
}

.page-home .hero-map__cap {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.page-home .hero-map__pulse {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--cyan);
  padding: 5px 11px;
  border: 1px solid rgba(63, 224, 208, 0.42);
  border-radius: var(--radius-pill);
  background: rgba(5, 10, 20, 0.72);
}

.page-home .band__grid {
  display: grid;
  gap: 16px;
}

.page-home .band__sub,
.page-home .band__record {
  display: flex;
  flex-direction: column;
  padding: 22px 20px;
}

.page-home .band__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 4.4vw, 30px);
  line-height: 1.15;
  color: var(--fog);
  margin: 10px 0 0;
}

.page-home .band__text {
  margin: 12px 0 0;
  line-height: 1.8;
  color: var(--blue-gray);
}

.page-home .band__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.page-home .band__sub .btn {
  align-self: flex-start;
  margin-top: 22px;
}

.page-home .band__record-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
  color: var(--fog);
  margin: 10px 0 0;
}

.page-home .record-strip {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.page-home .record-strip__item {
  flex: 1;
  padding: 10px 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-steel);
  color: var(--blue-gray);
}

.page-home .record-strip__item.is-win {
  background: rgba(226, 59, 78, 0.16);
  border-color: rgba(226, 59, 78, 0.55);
  color: var(--red);
}

.page-home .record-strip__item.is-loss {
  background: rgba(34, 49, 79, 0.55);
}

.page-home .record-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line-steel);
}

.page-home .record-stats dt {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.page-home .record-stats dd {
  margin: 5px 0 0;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--fog);
}

.page-home .city-block {
  position: relative;
  overflow: hidden;
}

.page-home .city-block__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.2;
}

.page-home .city-block__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .city-block .shell {
  position: relative;
  z-index: 1;
}

.page-home .city-block__lead {
  margin: 12px 0 0;
  max-width: 68ch;
  line-height: 1.8;
  color: var(--blue-gray);
}

.page-home .city-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.page-home .city-grid > li {
  display: flex;
}

.page-home .city-card {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding: 14px 14px 16px;
  text-decoration: none;
  background: linear-gradient(165deg, rgba(17, 30, 56, 0.96), rgba(10, 18, 36, 0.96));
  border: 1px solid var(--line-steel);
  border-radius: var(--radius-md);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.page-home .city-card:hover,
.page-home .city-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--orange);
  box-shadow: 0 14px 30px -22px rgba(255, 138, 43, 0.95);
}

.page-home .city-card__idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--cyan);
}

.page-home .city-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--fog);
}

.page-home .city-card__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.page-home .city-block__foot {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--blue-gray);
}

.page-home .dispatches__grid {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.page-home .dispatch {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.page-home .dispatch--report {
  background-image: repeating-linear-gradient(135deg, rgba(63, 224, 208, 0.055) 0 2px, transparent 2px 16px);
}

.page-home .dispatch__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 3.8vw, 26px);
  line-height: 1.22;
  color: var(--fog);
  margin: 18px 0 0;
}

.page-home .dispatch__text {
  margin: 12px 0 0;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--blue-gray);
}

.page-home .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.page-home .dispatch .btn {
  align-self: flex-start;
  margin-top: 22px;
}

.page-home .timeline {
  position: relative;
  list-style: none;
  margin: 18px 0 0;
  padding: 0 0 0 24px;
}

.page-home .timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(to bottom, var(--orange), rgba(34, 49, 79, 0.2));
}

.page-home .timeline li {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding: 7px 0;
  font-size: 14px;
  color: var(--blue-gray);
}

.page-home .timeline li::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 13px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink-base);
  border: 1px solid var(--line-steel);
}

.page-home .timeline li:first-child::before {
  background: var(--orange);
  border-color: var(--orange);
}

.page-home .timeline__when {
  min-width: 58px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
}

.page-home .rewind__lead {
  margin: 12px 0 0;
  max-width: 66ch;
  line-height: 1.8;
  color: var(--blue-gray);
}

.page-home .rewind__rail {
  display: flex;
  gap: 14px;
  list-style: none;
  margin: 26px 0 0;
  padding: 4px 20px 18px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.page-home .rewind__rail::-webkit-scrollbar {
  height: 6px;
}

.page-home .rewind__rail::-webkit-scrollbar-thumb {
  background: var(--line-steel);
  border-radius: var(--radius-pill);
}

.page-home .rewind__item {
  flex: 0 0 78%;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  scroll-snap-align: start;
}

.page-home .rewind__item:not(.rewind__item--lead)::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), rgba(255, 138, 43, 0));
}

.page-home .rewind__body {
  padding: 18px 16px 20px;
}

.page-home .rewind__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.28;
  color: var(--fog);
}

.page-home .rewind__meta {
  margin: 9px 0 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--cyan);
}

.page-home .close__panel {
  display: grid;
  gap: 24px;
  padding: 26px 20px 30px;
  border: 1px solid var(--line-steel);
  border-radius: var(--radius-md);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(255, 138, 43, 0.14) 0%, rgba(255, 138, 43, 0) 55%),
    linear-gradient(160deg, var(--ink-raised), var(--ink-base));
}

.page-home .close__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 5.2vw, 40px);
  line-height: 1.1;
  color: var(--fog);
  margin: 12px 0 0;
}

.page-home .close__text {
  margin: 14px 0 0;
  max-width: 60ch;
  line-height: 1.8;
  color: var(--blue-gray);
}

.page-home .close__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.page-home .trust-card {
  padding: 22px 20px;
}

.page-home .trust-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--ink-base);
}

.page-home .trust-card__list {
  display: grid;
  gap: 9px;
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-base);
}

.page-home .trust-card__list li {
  position: relative;
  padding-left: 15px;
}

.page-home .trust-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.page-home .trust-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 18px 0 0;
  font-size: 13.5px;
}

.page-home .trust-card__links a {
  color: var(--orange-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(194, 94, 20, 0.42);
}

.page-home .trust-card__links a:hover,
.page-home .trust-card__links a:focus-visible {
  border-bottom-color: var(--orange-deep);
}

@media (min-width: 760px) {
  .page-home .city-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .rewind__item {
    flex: 0 0 340px;
  }

  .page-home .rewind__item--lead {
    flex: 0 0 460px;
  }
}

@media (min-width: 900px) {
  .page-home .band__grid {
    grid-template-columns: 7fr 5fr;
    align-items: stretch;
  }
}

@media (min-width: 940px) {
  .page-home .hero {
    padding: 48px 0 22px;
  }

  .page-home .hero__grid {
    grid-template-columns: 5fr 7fr;
    align-items: center;
    gap: 48px;
  }

  .page-home .dispatches__grid {
    grid-template-columns: 6fr 6fr;
    gap: 18px;
  }

  .page-home .close__panel {
    grid-template-columns: 7fr 5fr;
    align-items: center;
    gap: 36px;
    padding: 34px 32px;
  }
}

@media (min-width: 1360px) {
  .page-home .rewind__rail {
    padding-left: calc((100vw - 1280px) / 2 + 20px);
    padding-right: calc((100vw - 1280px) / 2 + 20px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .city-card,
  .page-home .rewind__rail {
    transition: none;
    scroll-behavior: auto;
  }

  .page-home .city-card:hover,
  .page-home .city-card:focus-visible {
    transform: none;
  }
}
