.page-home {
  position: relative;
  background: var(--c-black);
  color: var(--c-paper);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

.page-home img {
  max-width: 100%;
  height: auto;
}

.page-home ::selection {
  background: var(--c-gold);
  color: var(--c-black);
}

.page-home a {
  color: var(--c-gold);
  text-decoration: none;
}

.page-home a:hover {
  text-decoration: underline;
}

.page-home .page-context {
  padding: 0.85rem 1.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--c-gray);
  text-transform: uppercase;
  border-bottom: 1px solid var(--grid-line);
}

.page-home .hero-framed {
  position: relative;
  margin: 1rem auto 2rem;
  max-width: var(--site-max);
  padding: 1rem;
  border: 1px solid var(--c-gold-dim);
  border-radius: var(--radius);
  background:
    repeating-conic-gradient(rgba(245, 240, 232, 0.04) 0% 25%, transparent 0% 50%);
  background-size: 20px 20px;
  background-color: var(--c-ink);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.page-home .hero-framed::before {
  content: "";
  position: absolute;
  inset: 0.55rem;
  border: 1px solid rgba(201, 162, 39, 0.55);
  pointer-events: none;
  z-index: 1;
}

.page-home .hero-framed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.18), transparent 40%, rgba(139, 26, 26, 0.15));
  pointer-events: none;
  z-index: 1;
}

.page-home .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  z-index: 0;
}

.page-home .hero-copy {
  position: relative;
  z-index: 2;
  padding: 2.2rem 1rem 1rem;
}

.page-home .hero-console {
  position: relative;
  z-index: 2;
  margin: 1rem auto 0.5rem;
  border: 1px solid var(--c-gold-dim);
  background: rgba(11, 11, 15, 0.78);
  padding: 1.15rem;
}

.page-home .console-head {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--grid-line);
  padding-bottom: 0.6rem;
  margin-bottom: 0.8rem;
  color: var(--c-silver);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-home .console-ver {
  color: var(--c-gold);
}

.page-home .console-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.page-home .console-stat {
  border-left: 2px solid var(--c-red);
  padding-left: 0.6rem;
}

.page-home .stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2.4rem;
  line-height: 1.1;
  color: var(--c-gold);
}

.page-home .stat-cap {
  display: block;
  font-size: 0.72rem;
  color: var(--c-gray);
  margin-top: 0.2rem;
  letter-spacing: 0.08em;
}

.page-home .console-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.4rem 0;
  border-top: 1px solid var(--grid-line);
  width: 100%;
  color: var(--c-gold);
}

.page-home .hero-kicker {
  color: var(--c-red);
  letter-spacing: 0.3em;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.page-home h1#page-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2.2rem;
  line-height: 1.2;
  margin: 0.6rem 0;
  color: var(--c-paper);
  letter-spacing: 0.04em;
}

.page-home .hero-lead {
  color: var(--c-silver);
  font-size: 0.95rem;
  max-width: 28em;
}

.page-home .quick-index {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: var(--site-max);
  margin: 0 auto 3rem;
  padding: 0 1.25rem;
}

.page-home .quick-index a {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--grid-line);
  color: var(--c-paper);
  font-size: 0.8rem;
  background: rgba(139, 26, 26, 0.12);
}

.page-home .quick-index a span {
  color: var(--c-gold);
  font-family: var(--font-head);
}

.page-home .quick-index a:hover {
  border-color: var(--c-gold-dim);
  background: rgba(201, 162, 39, 0.08);
  text-decoration: none;
}

.page-home .journey-section {
  position: relative;
  max-width: var(--site-max);
  margin: 0 auto 4rem;
  padding: 0 1.25rem;
}

.page-home .section-index {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  border-bottom: 1px solid var(--c-red);
  padding-bottom: 0.6rem;
  margin-bottom: 1.2rem;
}

.page-home .section-index-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(201, 162, 39, 0.18);
  -webkit-text-stroke: 1px var(--c-gold);
  line-height: 0.9;
}

.page-home .section-index-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  color: var(--c-gray);
  text-transform: uppercase;
}

.page-home .section-index-title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-paper);
}

.page-home .section-lead {
  color: var(--c-silver);
  font-size: 0.9rem;
  margin-bottom: 1.4rem;
  max-width: 48em;
}

.page-home .data-caveat {
  color: var(--c-gray);
  font-size: 0.75rem;
  border-left: 2px solid var(--c-red);
  padding-left: 0.7rem;
  margin-top: 1rem;
}

.page-home .btn {
  display: inline-block;
  padding: 0.65rem 1.2rem;
  border: 1px solid var(--c-gold-dim);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--c-paper);
  margin-top: 1rem;
  transition: border-color var(--transition-speed), background var(--transition-speed);
}

.page-home .btn-primary {
  background: var(--c-gold);
  color: var(--c-black);
  border-color: var(--c-gold);
}

.page-home .btn-outline {
  background: transparent;
}

.page-home .btn:hover {
  background: rgba(201, 162, 39, 0.12);
  text-decoration: none;
}

.page-home .btn-primary:hover {
  background: var(--c-gold-bright);
}

.page-home .update-layout {
  display: grid;
  gap: 1.6rem;
}

.page-home .ring-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border: 1px solid var(--grid-line);
  background: linear-gradient(160deg, rgba(27, 58, 92, 0.18), rgba(91, 44, 142, 0.12));
}

.page-home .ring-svg {
  width: 170px;
  max-width: 100%;
  height: auto;
}

.page-home .ring-bg {
  fill: none;
  stroke: var(--c-gray);
  stroke-width: 2;
}

.page-home .ring-fg {
  fill: none;
  stroke: var(--c-gold);
  stroke-width: 3;
}

.page-home .ring-text {
  fill: var(--c-paper);
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 700;
}

.page-home .ring-caption {
  color: var(--c-gray);
  font-size: 0.75rem;
  margin-top: 0.6rem;
}

.page-home .update-details .update-summary {
  color: var(--c-silver);
  font-size: 0.95rem;
}

.page-home .update-facts {
  list-style: none;
  margin: 1.2rem 0;
  padding: 0;
  border-top: 1px solid var(--grid-line);
}

.page-home .update-facts li {
  display: flex;
  justify-content: space-between;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--grid-line);
  font-size: 0.82rem;
}

.page-home .update-facts strong {
  color: var(--c-paper);
  font-weight: 500;
}

.page-home .update-facts span {
  color: var(--c-gold);
  font-family: var(--font-head);
  font-size: 1rem;
}

.page-home .tabs {
  margin-top: 1rem;
}

.page-home .tab-list {
  display: flex;
  border-bottom: 1px solid var(--c-gold-dim);
  padding-bottom: 0.4rem;
  gap: 1rem;
}

.page-home .tab-button {
  background: transparent;
  border: 0;
  color: var(--c-gray);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.1rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.page-home .tab-button[aria-selected="true"] {
  color: var(--c-gold);
  border-bottom-color: var(--c-gold);
}

.page-home .tab-panel {
  margin-top: 1.2rem;
}

.page-home .chart-figure {
  margin: 0;
  border: 1px solid var(--grid-line);
  background: rgba(19, 19, 28, 0.6);
  padding: 1rem;
}

.page-home .chart-figure img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.8;
}

.page-home .chart-figure svg {
  width: 100%;
  height: auto;
  margin-top: 0.8rem;
  background: rgba(27, 58, 92, 0.18);
}

.page-home .bar-chart rect.bar {
  fill: var(--c-gold);
  opacity: 0.85;
}

.page-home .bar-chart rect.bar-alt {
  fill: var(--c-red);
  opacity: 0.8;
}

.page-home .chart-axis {
  stroke: var(--c-silver);
  stroke-width: 1;
}

.page-home .chart-label {
  fill: var(--c-paper);
  font-size: 11px;
  font-family: var(--font-body);
}

.page-home figcaption {
  color: var(--c-gray);
  font-size: 0.72rem;
  margin-top: 0.6rem;
  text-align: right;
}

.page-home .region-layout {
  display: grid;
  gap: 1.5rem;
}

.page-home .region-map {
  border: 1px solid var(--grid-line);
  padding: 0.5rem;
  background: rgba(11, 11, 15, 0.6);
}

.page-home .region-map img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .region-list {
  display: grid;
  gap: 0.4rem;
}

.page-home .region-item {
  border: 1px solid var(--grid-line);
  background: rgba(245, 240, 232, 0.02);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.page-home .region-local {
  border-color: var(--c-gold-dim);
  background: rgba(201, 162, 39, 0.08);
}

.page-home .region-toggle {
  display: block;
  width: 100%;
  background: transparent;
  border: 0;
  padding: 0.9rem 1rem;
  color: var(--c-paper);
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.page-home .region-badge {
  margin-left: 0.5rem;
  padding: 0.1rem 0.45rem;
  background: var(--c-red);
  color: var(--c-paper);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
}

.page-home .region-panel {
  padding: 0 1rem 1rem;
  color: var(--c-silver);
  font-size: 0.82rem;
  border-top: 1px dashed var(--grid-line);
}

.page-home .region-panel p {
  margin: 0.8rem 0 0;
}

.page-home .replay-timeline {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.page-home .replay-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.8rem;
  border: 1px solid var(--grid-line);
  background: rgba(245, 240, 232, 0.03);
  padding: 0.6rem;
  box-shadow: var(--shadow-card);
}

.page-home .replay-thumb {
  position: relative;
  overflow: hidden;
}

.page-home .replay-thumb img {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 110px;
}

.page-home .replay-time {
  position: absolute;
  left: 0;
  bottom: 0;
  background: rgba(11, 11, 15, 0.82);
  color: var(--c-gold);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  padding: 0.2rem 0.5rem;
}

.page-home .replay-body h3 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  margin: 0.2rem 0 0.4rem;
  color: var(--c-paper);
}

.page-home .replay-toggle {
  background: transparent;
  border: 0;
  color: var(--c-gold);
  font-size: 0.75rem;
  cursor: pointer;
  padding: 0;
}

.page-home .replay-panel {
  margin-top: 0.4rem;
  color: var(--c-gray);
  font-size: 0.78rem;
  border-top: 1px dotted var(--grid-line);
}

.page-home .feedback-layout {
  border: 1px solid var(--c-gold-dim);
  padding: 1.4rem;
  background: linear-gradient(150deg, rgba(139, 26, 26, 0.14), rgba(91, 44, 142, 0.1));
}

.page-home .feedback-copy p {
  font-size: 0.95rem;
  color: var(--c-silver);
}

.page-home .feedback-steps {
  list-style: none;
  margin: 1.2rem 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.page-home .feedback-steps li {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  border: 1px solid var(--grid-line);
  padding: 0.7rem;
  font-size: 0.85rem;
  color: var(--c-paper);
  background: rgba(11, 11, 15, 0.4);
}

.page-home .feedback-steps li span {
  font-family: var(--font-head);
  color: var(--c-gold);
  font-size: 1.5rem;
  font-weight: 700;
}

.page-home .index-map {
  max-width: var(--site-max);
  margin: 0 auto 3rem;
  padding: 1.5rem 1.25rem;
  border-top: 2px solid var(--c-red);
  border-bottom: 1px solid var(--c-gold-dim);
}

.page-home .index-map-head {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.page-home .index-map-head h2 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  margin: 0;
}

.page-home .index-map-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.page-home .index-map-links a {
  display: flex;
  flex-direction: column;
  padding: 0.7rem;
  border: 1px solid var(--grid-line);
  color: var(--c-paper);
}

.page-home .index-map-links a span {
  color: var(--c-gold);
  font-family: var(--font-head);
  font-size: 1rem;
}

.page-home .index-map-links a small {
  color: var(--c-gray);
  font-size: 0.72rem;
}

.page-home .disclaimer {
  max-width: var(--site-max);
  margin: 0 auto 2rem;
  padding: 0 1.25rem;
  color: var(--c-gray);
  font-size: 0.72rem;
  border-left: 2px solid var(--c-gray);
}

@media (min-width: 900px) {
  .page-home .page-context {
    max-width: var(--site-max);
    margin-inline: auto;
  }

  .page-home .hero-framed {
    margin: 2rem auto 3rem;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 2rem;
    align-items: center;
  }

  .page-home .hero-framed::before {
    inset: 1rem;
  }

  .page-home .hero-copy {
    padding: 2.5rem 1rem 1.5rem;
  }

  .page-home .hero-console {
    margin: 0;
    width: auto;
  }

  .page-home .quick-index {
    gap: 0;
  }

  .page-home .quick-index a {
    flex: 1;
    justify-content: center;
    border-right: 1px solid var(--grid-line);
  }

  .page-home .quick-index a + a {
    border-left: 1px solid var(--grid-line);
  }

  .page-home .update-layout {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
  }

  .page-home .region-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .page-home .replay-timeline {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .replay-card {
    grid-template-columns: 1fr;
  }

  .page-home .replay-thumb img {
    max-height: 150px;
  }

  .page-home .index-map-links {
    grid-template-columns: repeat(5, 1fr);
  }

  .page-home .journey-section {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .page-home .section-index-num {
    font-size: 4.2rem;
  }
}
