.page-home {
  --home-accent: var(--color-orange);
  --home-line: rgba(74, 144, 226, 0.22);
  --home-pad: 72px;
  display: block;
  background: var(--color-midnight);
  color: var(--color-text);
  overflow-x: clip;
}

.page-home section[id],
.page-home aside[id] {
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.page-home .home-hero {
  position: relative;
  padding: calc(var(--header-h) + 36px) 0 56px;
  background:
    linear-gradient(rgba(74, 144, 226, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 144, 226, 0.08) 1px, transparent 1px),
    linear-gradient(140deg, var(--color-midnight) 0%, var(--color-navy) 100%);
  background-size: 36px 36px, 36px 36px, auto;
  border-bottom: 1px solid var(--home-line);
  overflow: hidden;
}

.page-home .home-hero::after {
  content: "[ MATCH DATA ARCHIVE ]";
  position: absolute;
  top: calc(var(--header-h) + 14px);
  right: 20px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(160, 176, 201, 0.5);
}

.page-home .home-hero__inner {
  display: grid;
  gap: 48px;
}

.page-home .home-hero__copy {
  position: relative;
  z-index: 2;
}

.page-home .home-hero__breadcrumb {
  margin-bottom: 20px;
}

.page-home .home-hero__kicker {
  display: inline-flex;
  margin-bottom: 16px;
}

.page-home .home-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 6vw, 54px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  max-width: 11em;
}

.page-home .home-hero__lead {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--home-accent);
  margin: 0 0 14px;
}

.page-home .home-hero__desc {
  color: var(--color-muted);
  max-width: 46em;
  margin: 0 0 28px;
}

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

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

.page-home .home-hero__visual {
  position: relative;
  z-index: 1;
  padding: 20px;
  border: 1px solid var(--home-line);
  background: var(--color-navy);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}

.page-home .home-hero__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}

.page-home .home-hero__path {
  position: absolute;
  inset: 30px;
  width: calc(100% - 60px);
  height: calc(100% - 60px);
  color: var(--color-data);
  pointer-events: none;
  z-index: 0;
}

.page-home .home-hero__path-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-dasharray: 8 6;
  opacity: 0.85;
}

.page-home .home-hero__path-dots {
  fill: var(--home-accent);
}

.page-home .home-hero__stat-card {
  position: absolute;
  right: 24px;
  bottom: 42px;
  z-index: 2;
  padding: 14px 18px;
  background: var(--home-accent);
  color: #fff;
  font-family: var(--font-mono);
  box-shadow: 8px 8px 0 rgba(10, 30, 60, 0.45);
}

.page-home .home-hero__stat-num {
  display: block;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

.page-home .home-hero__stat-cap {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 6px;
}

.page-home .home-hero__coords {
  position: absolute;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  background: rgba(10, 30, 60, 0.72);
  padding: 4px 8px;
  border-left: 2px solid var(--home-accent);
}

.page-home .home-hero__coords--tl {
  top: 10px;
  left: 14px;
}

.page-home .home-hero__coords--br {
  bottom: 12px;
  right: 14px;
}

.page-home .home-calendar {
  position: relative;
  padding: var(--home-pad) 0;
}

.page-home .home-calendar::before {
  content: "[ CALENDAR INDEX ]";
  position: absolute;
  top: 18px;
  right: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(160, 176, 201, 0.5);
}

.page-home .home-calendar__topline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 24px;
}

.page-home .home-calendar__more {
  color: var(--color-muted);
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid var(--home-accent);
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

.page-home .home-calendar__more:hover,
.page-home .home-calendar__more:focus-visible {
  color: var(--color-text);
}

.page-home .home-calendar__filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.page-home .home-calendar__filter-btn {
  text-decoration: none;
}

.page-home .home-calendar__board {
  display: grid;
  gap: 18px;
}

.page-home .home-calendar__list {
  display: grid;
  gap: 12px;
}

.page-home .home-calendar__match {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px 16px;
  background: var(--color-navy);
  border: 1px solid var(--home-line);
  border-left: 4px solid var(--home-line);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.page-home .home-calendar__match:hover,
.page-home .home-calendar__match:focus-within {
  border-left-color: var(--home-accent);
  background: #163150;
  transform: translateX(4px);
}

.page-home .home-calendar__match-time {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
}

.page-home .home-calendar__match-body {
  position: relative;
  padding-right: 84px;
}

.page-home .home-calendar__match-body .tag {
  position: absolute;
  top: 0;
  right: 0;
}

.page-home .home-calendar__match-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 4px;
}

.page-home .home-calendar__match-meta {
  margin: 0;
  font-size: 13px;
  color: var(--color-muted);
}

.page-home .home-calendar__aside {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
}

.page-home .home-calendar__photo {
  position: relative;
  overflow: hidden;
  min-height: 140px;
  border: 1px solid var(--home-line);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

.page-home .home-calendar__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .home-calendar__counts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
}

.page-home .home-calendar__counts div {
  background: var(--color-navy);
  border: 1px solid var(--home-line);
  padding: 18px 14px;
  text-align: center;
}

.page-home .home-calendar__counts-num {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 800;
  color: var(--home-accent);
}

.page-home .home-calendar__counts-label {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--color-muted);
}

.page-home .home-calendar__archive {
  margin-top: 20px;
  border: 1px solid var(--home-line);
  background: rgba(20, 44, 74, 0.6);
}

.page-home .home-calendar__archive-summary {
  cursor: pointer;
  padding: 16px 18px;
  list-style: none;
  font-weight: 700;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-home .home-calendar__archive-summary::-webkit-details-marker {
  display: none;
}

.page-home .home-calendar__archive-summary::before {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  color: var(--home-accent);
}

.page-home .home-calendar__archive[open] .home-calendar__archive-summary::before {
  content: "−";
}

.page-home .home-calendar__archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 0 16px 16px;
}

.page-home .home-calendar__season {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--home-line);
  background: var(--color-midnight);
  color: var(--color-text);
  text-decoration: none;
  transition: border-color 0.2s ease;
}

.page-home .home-calendar__season:hover,
.page-home .home-calendar__season:focus-visible {
  border-color: var(--home-accent);
}

.page-home .home-calendar__season-code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--home-accent);
}

.page-home .home-calendar__season-name {
  font-size: 14px;
}

.page-home .home-calendar__season--now {
  border-color: var(--home-accent);
}

.page-home .home-bob {
  position: relative;
  padding: var(--home-pad) 0;
  background: linear-gradient(135deg, var(--color-navy), var(--color-midnight));
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
  overflow: hidden;
}

.page-home .home-bob::before {
  content: "BOB ARCHIVE LINK";
  position: absolute;
  top: 16px;
  left: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(160, 176, 201, 0.45);
}

.page-home .home-bob__inner {
  display: grid;
  gap: 36px;
}

.page-home .home-bob__intro {
  max-width: 560px;
}

.page-home .home-bob__index {
  display: inline-flex;
  margin-bottom: 12px;
}

.page-home .home-bob__title {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 800;
  margin: 0 0 16px;
  padding-left: 16px;
  border-left: 4px solid var(--home-accent);
}

.page-home .home-bob__lead {
  margin: 0 0 20px;
  color: var(--color-muted);
}

.page-home .home-bob__benefits {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-home .home-bob__benefits li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(10, 30, 60, 0.5);
  border: 1px solid var(--home-line);
  font-size: 14px;
}

.page-home .home-bob__benefits li::before {
  content: "◆";
  font-size: 10px;
  color: var(--home-accent);
}

.page-home .home-bob__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-home .home-bob__step {
  position: relative;
  padding: 20px 18px 20px 62px;
  background: var(--color-navy);
  border: 1px solid var(--home-line);
  border-right: 3px solid var(--home-accent);
  transition: transform 0.2s ease, background 0.2s ease;
}

.page-home .home-bob__step:hover {
  transform: translateY(-3px);
  background: #163150;
}

.page-home .home-bob__step-num {
  position: absolute;
  left: 14px;
  top: 20px;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 800;
  color: var(--home-accent);
}

.page-home .home-bob__step-title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
}

.page-home .home-bob__step-text {
  margin: 0;
  font-size: 14px;
  color: var(--color-muted);
}

.page-home .home-versions {
  padding: var(--home-pad) 0;
  background: var(--color-light);
  color: var(--color-midnight);
}

.page-home .home-versions .section-title__text {
  color: var(--color-midnight);
}

.page-home .home-versions .section-title__line {
  background: rgba(10, 30, 60, 0.2);
}

.page-home .home-versions__layout {
  display: grid;
  gap: 32px;
  margin-top: 32px;
}

.page-home .home-versions__content {
  max-width: 560px;
}

.page-home .home-versions__lead {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.7;
  max-width: 640px;
}

.page-home .home-versions__feature {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .home-versions__feature li {
  position: relative;
  padding: 10px 0 10px 22px;
  border-bottom: 1px solid rgba(10, 30, 60, 0.15);
}

.page-home .home-versions__feature li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 10px;
  font-weight: 800;
  color: var(--home-accent);
}

.page-home .home-versions__visual {
  position: relative;
  min-height: 220px;
  max-width: 460px;
  margin: 0 auto;
  background-image:
    linear-gradient(rgba(10, 30, 60, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 30, 60, 0.06) 1px, transparent 1px);
  background-size: 20px 20px;
}

.page-home .home-versions__stack {
  position: absolute;
  width: 150px;
  height: 210px;
  border: 1px solid rgba(10, 30, 60, 0.3);
  border-radius: 4px 12px 12px 4px;
  background:
    linear-gradient(rgba(10, 30, 60, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 30, 60, 0.08) 1px, transparent 1px),
    #fff;
  background-size: 12px 12px;
  box-shadow: 6px 10px 18px rgba(10, 30, 60, 0.12);
}

.page-home .home-versions__stack--1 {
  left: 0;
  top: 20px;
  opacity: 0.35;
  transform: rotate(-8deg);
}

.page-home .home-versions__stack--2 {
  left: 36px;
  top: 8px;
  opacity: 0.55;
  transform: rotate(-4deg);
}

.page-home .home-versions__stack--3 {
  left: 72px;
  top: -2px;
  opacity: 0.78;
  transform: rotate(0deg);
}

.page-home .home-versions__stack--4 {
  left: 108px;
  top: -10px;
  opacity: 1;
  transform: rotate(3deg);
}

.page-home .home-versions__label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--color-muted);
}

.page-home .home-versions__label--top {
  top: 0;
  right: 0;
}

.page-home .home-versions__label--bottom {
  bottom: 0;
  left: 0;
  color: var(--home-accent);
}

.page-home .home-updates {
  padding: var(--home-pad) 0;
}

.page-home .home-updates__list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
}

.page-home .home-updates__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--home-line);
}

.page-home .home-updates__item:first-child {
  border-top: 1px solid var(--home-line);
}

.page-home .home-updates__title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
}

.page-home .home-updates__desc {
  margin: 0;
  font-size: 14px;
  color: var(--color-muted);
}

.page-home .home-updates__more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.page-home .home-updates__note {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-muted);
}

.page-home .home-stats {
  padding: var(--home-pad) 0;
  background: linear-gradient(180deg, var(--color-light), #d8dee8);
  color: var(--color-midnight);
}

.page-home .home-stats .section-title__text {
  color: var(--color-midnight);
}

.page-home .home-stats .section-title__line {
  background: rgba(10, 30, 60, 0.2);
}

.page-home .home-stats__inner {
  display: grid;
  gap: 32px;
}

.page-home .home-stats__visual {
  position: relative;
  padding: 12px;
  border: 1px solid rgba(10, 30, 60, 0.2);
  background: #fff;
  box-shadow: 10px 10px 0 rgba(10, 30, 60, 0.08);
}

.page-home .home-stats__visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .home-stats__capt {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 6px 10px;
  background: rgba(10, 30, 60, 0.82);
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.page-home .home-stats__grid {
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.page-home .home-stats__cell {
  padding: 16px 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(10, 30, 60, 0.16);
}

.page-home .home-stats__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 800;
  color: var(--home-accent);
}

.page-home .home-stats__label {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--color-midnight);
}

.page-home .home-subscribe {
  position: relative;
  padding: var(--home-pad) 0;
  background: linear-gradient(120deg, #0d2a4f, var(--color-navy) 70%, #1d3d63);
  border-top: 1px solid var(--home-line);
  overflow: hidden;
}

.page-home .home-subscribe::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -100px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(255, 107, 53, 0.45);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.12), transparent 70%);
}

.page-home .home-subscribe__inner {
  position: relative;
  display: grid;
  gap: 32px;
}

.page-home .home-subscribe__title {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 800;
  margin: 10px 0 14px;
}

.page-home .home-subscribe__text {
  max-width: 520px;
  color: var(--color-muted);
  margin: 0 0 20px;
}

.page-home .home-subscribe__timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  border-left: 1px solid var(--home-line);
  padding-left: 18px;
}

.page-home .home-subscribe__week {
  font-family: var(--font-mono);
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  color: var(--home-accent);
}

.page-home .home-subscribe__item {
  width: fit-content;
  padding: 7px 12px;
  background: rgba(10, 30, 60, 0.5);
  border: 1px solid var(--home-line);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-text);
}

.page-home .home-cityline {
  position: relative;
  display: block;
  line-height: 0;
  border-top: 4px solid var(--home-accent);
}

.page-home .home-cityline img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .home-cityline__overlay {
  position: absolute;
  left: 16px;
  bottom: 16px;
  line-height: 1.4;
}

.page-home .home-cityline__text {
  padding: 8px 12px;
  background: rgba(10, 30, 60, 0.85);
  border-left: 3px solid var(--home-accent);
  font-size: 14px;
  color: var(--color-text);
}

@media (min-width: 640px) {
  .page-home .home-calendar__archive-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

@media (min-width: 960px) {
  .page-home .home-hero {
    padding-top: calc(var(--header-h) + 72px);
    padding-bottom: 96px;
  }

  .page-home .home-hero__inner {
    grid-template-columns: 46% 1fr;
    align-items: center;
    gap: 64px;
  }

  .page-home .home-hero__desc {
    font-size: 17px;
  }

  .page-home .home-hero__visual {
    min-height: 480px;
  }

  .page-home .home-calendar__board {
    grid-template-columns: 1fr 340px;
    align-items: stretch;
  }

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

  .page-home .home-calendar__match {
    grid-template-columns: 78px 1fr;
  }

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

  .page-home .home-bob__inner {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
    gap: 64px;
  }

  .page-home .home-bob__steps {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }

  .page-home .home-bob__step {
    padding: 22px 16px 22px 52px;
  }

  .page-home .home-bob__step-num {
    left: 12px;
  }

  .page-home .home-versions__layout {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }

  .page-home .home-versions__visual {
    min-height: 280px;
  }

  .page-home .home-versions__stack {
    width: 170px;
    height: 230px;
  }

  .page-home .home-versions__stack--1 {
    left: 10px;
  }

  .page-home .home-versions__stack--2 {
    left: 56px;
  }

  .page-home .home-versions__stack--3 {
    left: 102px;
  }

  .page-home .home-versions__stack--4 {
    left: 148px;
  }

  .page-home .home-stats__inner {
    grid-template-columns: 42% 1fr;
    gap: 56px;
    align-items: center;
  }

  .page-home .home-stats__grid {
    margin-top: 28px;
  }

  .page-home .home-subscribe__inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
  }

  .page-home .home-subscribe__timeline {
    padding-left: 28px;
  }

  .page-home .home-cityline__overlay {
    left: 32px;
    bottom: 32px;
  }
}
