.page-home {
  --home-space: clamp(3rem, 7vw, 6rem);
  position: relative;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--color-cream);
  color: var(--color-ink);
}

.page-home .home-section-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.page-home .home-section-sigil {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.35rem;
  flex-shrink: 0;
}

.page-home .home-staff {
  width: 42px;
  height: 42px;
  animation: page-home-staff 9s linear infinite;
  will-change: transform;
}

@keyframes page-home-staff {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}

.page-home .home-section-num {
  font-family: var(--font-head);
  font-size: clamp(3.25rem, 8vw, 6rem);
  line-height: 0.8;
  color: rgba(156, 142, 128, 0.4);
}

@supports ((-webkit-text-stroke: 2px #9C8E80) or (text-stroke: 2px #9C8E80)) {
  .page-home .home-section-num {
    color: transparent;
    -webkit-text-stroke: 2px #9C8E80;
  }
}

.page-home .home-section-title {
  font-family: var(--font-head);
  font-size: clamp(1.85rem, 4vw, 2.8rem);
  line-height: 1;
  margin: 0 0 0.5rem;
  color: var(--color-ink);
  display: inline-block;
  border-bottom: 4px solid var(--color-flame);
  padding-bottom: 0.35rem;
}

.page-home .home-section-sub {
  margin: 0;
  max-width: 56ch;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-rock-dark);
}

.page-home .home-hero {
  position: relative;
  padding: 1.5rem 0 clamp(2.5rem, 7vw, 5rem);
  border-bottom: 6px solid var(--color-flame);
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 211, 77, 0.3), transparent 32%),
    linear-gradient(180deg, #FBF5EA 0%, var(--color-cream) 100%);
}

.page-home .home-breadcrumb {
  margin-bottom: 1.25rem;
}

.page-home .home-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
}

.page-home .home-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-data);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--color-flame);
  background: rgba(245, 74, 0, 0.08);
  border-left: 4px solid var(--color-flame);
  padding: 0.4rem 0.75rem;
  margin: 0 0 1rem;
}

.page-home .home-hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 6.5vw, 5.4rem);
  line-height: 1;
  margin: 0 0 1.25rem;
  max-width: 12em;
  color: var(--color-ink);
}

.page-home .home-hero-title span {
  display: block;
}

.page-home .home-hero-title span:last-child {
  color: var(--color-flame);
}

.page-home .home-hero-lede {
  max-width: 58ch;
  margin: 0;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--color-rock-dark);
  border-left: 3px solid var(--color-electric);
  padding-left: 1rem;
}

.page-home .home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.page-home .home-hero-figure {
  margin: 0;
  position: relative;
}

.page-home .home-hero-figure img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border: 1px solid var(--color-line);
  box-shadow: 18px 18px 0 rgba(245, 74, 0, 0.14);
}

.page-home .home-round {
  position: relative;
  padding: var(--home-space) 0;
  background: #FFF9EF;
}

.page-home .home-round .filter-bar {
  margin: 0 0 1.25rem;
}

.page-home .home-round-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.page-home .home-round-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.page-home .home-match {
  position: relative;
  background: var(--color-cream);
  border: 1px solid var(--color-line);
  border-left: 6px solid var(--color-flame);
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: box-shadow 240ms var(--ease-out), transform 240ms var(--ease-out);
}

.page-home .home-match:hover {
  box-shadow: 10px 10px 0 rgba(245, 74, 0, 0.12);
  transform: translate(-2px, -2px);
}

.page-home .home-match-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.75rem;
  font-family: var(--font-data);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--color-rock-dark);
}

.page-home .home-match-id {
  font-weight: 700;
}

.page-home .home-match-time {
  color: var(--color-electric);
}

.page-home .home-match-title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.45rem;
  line-height: 1.1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.75rem;
  color: var(--color-ink);
}

.page-home .home-match-title span {
  color: var(--color-flame);
  font-family: var(--font-data);
}

.page-home .home-match-summary {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.62;
  color: var(--color-rock-dark);
}

.page-home .home-match-stats {
  border-top: 1px dashed var(--color-line);
  padding-top: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
}

.page-home .home-round-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-home .home-round-figure {
  margin: 0;
}

.page-home .home-round-figure img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border: 1px solid var(--color-line);
}

.page-home .home-round-note {
  background: var(--color-night);
  color: var(--color-cream);
  padding: 1rem 1.15rem;
  border-top: 4px solid var(--color-electric);
}

.page-home .home-round-note p {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(246, 239, 227, 0.85);
}

.page-home .home-archive {
  background: var(--color-night);
  color: var(--color-cream);
  border-top: 5px solid var(--color-flame);
  border-bottom: 5px solid var(--color-electric);
  padding: var(--home-space) 0;
}

.page-home .home-archive .home-section-title {
  color: var(--color-cream);
  border-bottom-color: var(--color-gold);
}

.page-home .home-archive .home-section-sub {
  color: rgba(246, 239, 227, 0.7);
}

.page-home .home-archive .home-section-num {
  color: rgba(246, 239, 227, 0.28);
}

@supports ((-webkit-text-stroke: 2px #9C8E80) or (text-stroke: 2px #9C8E80)) {
  .page-home .home-archive .home-section-num {
    color: transparent;
    -webkit-text-stroke: 2px rgba(246, 239, 227, 0.4);
  }
}

.page-home .home-archive-media {
  margin: 0 0 1.5rem;
}

.page-home .home-archive-media img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border: 1px solid rgba(246, 239, 227, 0.2);
}

.page-home .home-archive-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.page-home .home-archive-stats .stat-item {
  background: rgba(255, 255, 255, 0.06);
  border-left: 4px solid var(--color-gold);
  padding: 0.85rem 1rem;
}

.page-home .home-archive-stats .stat-value {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  color: var(--color-gold);
}

.page-home .home-archive-stats .stat-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: rgba(246, 239, 227, 0.72);
}

.page-home .home-bars {
  border: 1px solid rgba(246, 239, 227, 0.18);
  background: rgba(255, 255, 255, 0.04);
  padding: 1rem 0.75rem;
}

.page-home .home-bars-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-bottom: 0.75rem;
  padding: 0 0.25rem;
}

.page-home .home-bars-title {
  margin: 0;
  font-size: 1rem;
  font-family: var(--font-head);
  color: var(--color-cream);
}

.page-home .home-bars-legend {
  display: flex;
  gap: 0.85rem;
  font-size: 0.8rem;
  color: rgba(246, 239, 227, 0.75);
}

.page-home .home-legend-swatch {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 0.3rem;
}

.page-home .home-legend-swatch--report {
  background: var(--color-flame);
}

.page-home .home-legend-swatch--highlight {
  background: var(--color-gold);
}

.page-home .home-bar-row {
  display: flex;
  justify-content: space-between;
  gap: 0.35rem;
  min-height: 180px;
  overflow-x: auto;
}

.page-home .home-bar-col {
  flex: 1 0 64px;
  min-width: 50px;
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.page-home .home-bar-val {
  font-family: var(--font-data);
  font-size: 0.72rem;
  color: rgba(246, 239, 227, 0.85);
  white-space: nowrap;
  margin-bottom: auto;
}

.page-home .home-bar-pair {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  height: 150px;
}

.page-home .home-bar {
  width: 26px;
  height: var(--bar, 80%);
  min-height: 6px;
  background: var(--color-flame);
  color: #fff;
  font-family: var(--font-data);
  font-size: 0.72rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 3px;
  transform-origin: bottom;
  transition: filter 240ms var(--ease-out);
}

.page-home .home-bar--highlight {
  background: var(--color-gold);
  color: #24211C;
}

.page-home .home-bar-col:hover .home-bar {
  filter: brightness(1.1);
}

.page-home .home-bar-rank {
  margin-top: 0.3rem;
  font-size: 0.75rem;
  color: rgba(246, 239, 227, 0.62);
  white-space: nowrap;
}

.page-home .home-archive-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(246, 239, 227, 0.18);
  padding-top: 1.25rem;
}

.page-home .home-archive .btn-ghost {
  border-color: rgba(246, 239, 227, 0.5);
  color: var(--color-cream);
}

.page-home .home-archive .btn-ghost:hover {
  background: rgba(246, 239, 227, 0.12);
}

.page-home .home-follow {
  padding: var(--home-space) 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 211, 77, 0.2), transparent 28%),
    var(--color-cream);
}

.page-home .home-follow-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.page-home .home-follow-card {
  --team-color: var(--color-flame);
  position: relative;
  background: #FFF9EF;
  border: 1px solid var(--color-line);
  border-top: 6px solid var(--team-color);
  padding: 0.9rem 1rem;
  transition: box-shadow 240ms var(--ease-out), transform 240ms var(--ease-out);
}

.page-home .home-follow-card:hover {
  box-shadow: 8px 8px 0 rgba(245, 74, 0, 0.1);
  transform: translate(-2px, -2px);
}

.page-home .home-follow-code {
  font-family: var(--font-data);
  font-size: 0.72rem;
  color: var(--color-rock);
  text-transform: uppercase;
}

.page-home .home-follow-name {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--color-ink);
}

.page-home .home-follow-note {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.78rem;
  color: var(--color-rock-dark);
}

.page-home .home-recent {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px dashed var(--color-line);
  border-bottom: 1px dashed var(--color-line);
  padding: 1rem 0 1.25rem;
}

.page-home .home-recent-title {
  margin: 0 0 0.55rem;
  font-size: 1rem;
}

.page-home .home-recent-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.page-home .home-recent-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  font-size: 0.9rem;
}

.page-home .home-recent-list a:hover {
  border-bottom-color: var(--color-electric);
  color: var(--color-electric);
}

.page-home .home-recent-dot {
  --team-color: var(--color-electric);
  width: 10px;
  height: 10px;
  background: var(--team-color);
  display: inline-block;
  border-radius: 50%;
}

.page-home .home-follow-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.page-home .home-topics {
  padding: var(--home-space) 0;
  background: #F2E9DB;
  border-top: 4px solid var(--color-line);
}

.page-home .home-topics-matrix {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.page-home .home-topic-card {
  background: var(--color-cream);
  border: 1px solid var(--color-line);
  padding: 1.25rem 1.35rem;
  position: relative;
  transition: box-shadow 240ms var(--ease-out), transform 240ms var(--ease-out);
}

.page-home .home-topic-card--road {
  border-top: 6px solid var(--color-flame);
}

.page-home .home-topic-card--penalty {
  border-top: 6px solid var(--color-electric);
}

.page-home .home-topic-card--rush {
  border-top: 6px solid var(--color-gold);
}

.page-home .home-topic-card:hover {
  box-shadow: 12px 12px 0 rgba(245, 74, 0, 0.1);
  transform: translate(-2px, -2px);
}

.page-home .home-topic-card-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.page-home .home-topic-title {
  margin: 0.7rem 0 0.4rem;
  font-family: var(--font-head);
  font-size: 1.3rem;
  line-height: 1.15;
}

.page-home .home-topic-summary {
  margin: 0 0 0.9rem;
  font-size: 0.88rem;
  line-height: 1.62;
  color: var(--color-rock-dark);
}

.page-home .home-topic-link {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  color: var(--color-flame);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.page-home .home-topic-link:hover {
  border-bottom-color: var(--color-flame);
}

.page-home .home-topics-media {
  margin: 0 0 1.75rem;
}

.page-home .home-topics-media img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border: 1px solid var(--color-line);
}

.page-home .home-topics-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--color-line);
  padding-top: 1.5rem;
}

.page-home .home-topics-cta p {
  margin: 0;
  font-size: 0.9rem;
  max-width: 48ch;
  color: var(--color-rock-dark);
}

.page-home [data-observe="reveal"] {
  transition: opacity 480ms var(--ease-out), transform 480ms var(--ease-out);
}

.js .page-home [data-observe="reveal"] {
  opacity: 0;
  transform: translateY(16px);
}

.js .page-home [data-observe="reveal"].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.js .page-home .home-bar {
  transform: scaleY(0);
  transition: transform 600ms var(--ease-out), filter 240ms var(--ease-out);
}

.js .page-home .home-bars.is-revealed .home-bar {
  transform: scaleY(1);
}

@media (min-width: 680px) {
  .page-home .home-round-list {
    grid-template-columns: 1fr 1fr;
  }

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

  .page-home .home-archive-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .home-topics-matrix {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .home-topics-matrix .home-topic-card:last-child {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero-grid {
    grid-template-columns: 7fr 5fr;
  }

  .page-home .home-hero-lede {
    font-size: 1.05rem;
  }

  .page-home .home-hero-figure {
    max-width: 560px;
    justify-self: end;
  }

  .page-home .home-round-body {
    grid-template-columns: 1fr 300px;
    gap: 1.75rem;
  }

  .page-home .home-follow-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .page-home .home-topics-matrix .home-topic-card:last-child {
    grid-column: span 1;
  }

  .page-home .home-topics-media {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-staff {
    animation: none;
  }

  .page-home [data-observe="reveal"] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .page-home .home-bar {
    transform: none !important;
    transition: none !important;
  }
}

.page-home {
  --bar: 1rem;
}
