.page-home {
  --home-gap-lg: clamp(3rem, 6vw, 6rem);
  --home-gap-md: clamp(1.5rem, 3vw, 2.5rem);
  --home-panel-bg: rgba(19, 74, 59, 0.88);
  --home-border: rgba(201, 162, 39, 0.35);
  --home-border-strong: rgba(201, 162, 39, 0.8);
  --home-divider: rgba(216, 211, 198, 0.22);
  background:
    radial-gradient(ellipse at 82% 8%, rgba(201, 162, 39, 0.07) 0%, transparent 52%),
    radial-gradient(ellipse at 10% 68%, rgba(0, 194, 168, 0.05) 0%, transparent 45%),
    linear-gradient(180deg, var(--deep-green) 0%, #0a3026 100%);
  color: var(--text-on-dark);
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: var(--home-gap-lg);
}

.page-home .crumb-route {
  max-width: var(--pitch-width);
  margin: 0 auto;
  padding: calc(var(--body-pt) + 1rem) var(--gutter) 0;
}

.page-home .crumb-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 241, 232, 0.55);
}

.page-home .hero-frame {
  position: relative;
  max-width: calc(var(--pitch-width) + var(--gutter) * 2);
  margin: 1.5rem auto 0;
  border: 2px solid var(--gold);
  background: linear-gradient(135deg, rgba(11, 61, 46, 0.96) 0%, rgba(19, 74, 59, 0.92) 58%, rgba(11, 61, 46, 0.88) 100%);
  overflow: hidden;
  z-index: 1;
}

.page-home .hero-frame-bg {
  position: absolute;
  right: -6%;
  bottom: -10%;
  width: min(62%, 380px);
  height: auto;
  opacity: 0.14;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.page-home .frame-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--gold);
  border-style: solid;
  border-width: 0;
  z-index: 3;
  pointer-events: none;
}

.page-home .frame-corner--tl {
  top: -2px;
  left: -2px;
  border-top-width: 3px;
  border-left-width: 3px;
}

.page-home .frame-corner--tr {
  top: -2px;
  right: -2px;
  border-top-width: 3px;
  border-right-width: 3px;
}

.page-home .frame-corner--bl {
  bottom: -2px;
  left: -2px;
  border-bottom-width: 3px;
  border-left-width: 3px;
}

.page-home .frame-corner--br {
  bottom: -2px;
  right: -2px;
  border-bottom-width: 3px;
  border-right-width: 3px;
}

.page-home .hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: var(--home-gap-md);
  padding: var(--gutter);
}

.page-home .hero-copy {
  min-width: 0;
}

.page-home .hero-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0.6rem 0 1.2rem;
  color: var(--gold-light);
}

.page-home .hero-copy .lede {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.8;
  max-width: 34em;
  color: rgba(244, 241, 232, 0.88);
  margin: 0 0 1.6rem;
}

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

.page-home .hero-scoreboard {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.page-home .scoreboard-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
  padding-left: 0.75rem;
  border-left: 3px solid var(--red);
  line-height: 1.4;
}

.page-home .match-card {
  position: relative;
  background: var(--home-panel-bg);
  border: 1px solid var(--home-border);
  padding: 1rem 1.1rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.page-home .match-card:hover {
  border-color: var(--gold-light);
  border-left: 3px solid var(--gold);
  transform: translateX(2px);
}

.page-home .match-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}

.page-home .match-competition {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(244, 241, 232, 0.62);
  font-weight: 600;
}

.page-home .match-status {
  font-family: var(--font-data);
  font-size: 0.72rem;
  color: rgba(244, 241, 232, 0.7);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(244, 241, 232, 0.18);
  padding: 0.15rem 0.45rem;
}

.page-home .match-status--live {
  color: var(--gold-light);
  border-color: rgba(201, 162, 39, 0.5);
}

.page-home .match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.page-home .team-name {
  flex: 1;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.page-home .match-score {
  font-family: var(--font-data);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--gold-light);
  white-space: nowrap;
}

.page-home .match-events {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  font-size: 0.82rem;
  color: rgba(244, 241, 232, 0.72);
  margin-bottom: 0.7rem;
}

.page-home .match-card-foot {
  display: flex;
  gap: 1.2rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--home-divider);
  font-family: var(--font-data);
  font-size: 0.82rem;
  color: var(--teal);
}

.page-home .schedule-section,
.page-home .data-section,
.page-home .directory-section,
.page-home .steps-section {
  max-width: var(--pitch-width);
  margin: 0 auto;
  padding: var(--home-gap-lg) var(--gutter) 0;
}

.page-home .section-head {
  margin-bottom: 1.5rem;
}

.page-home .section-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  color: var(--gold-light);
  margin: 0 0 0.6rem;
  letter-spacing: -0.01em;
}

.page-home .section-head .lede {
  max-width: 42em;
  color: rgba(244, 241, 232, 0.86);
  line-height: 1.75;
  margin: 0;
}

.page-home .route-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.page-home .route-filter-btn {
  padding: 0.45rem 1rem;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  background: transparent;
  color: rgba(244, 241, 232, 0.72);
  border: 1px solid rgba(244, 241, 232, 0.25);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.page-home .route-filter-btn:hover,
.page-home .route-filter-btn[aria-pressed="true"] {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.page-home .schedule-board {
  display: grid;
  gap: 1.75rem;
}

.page-home .schedule-group {
  background: var(--home-panel-bg);
  border: 1px solid var(--home-divider);
  padding: 1.2rem 1.1rem;
  transition: border-color 0.2s ease;
}

.page-home .schedule-group:hover {
  border-color: var(--home-border-strong);
}

.page-home .league-name {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--gold);
  margin: 0 0 0.85rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem;
}

.page-home .league-focus {
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(244, 241, 232, 0.65);
  background: rgba(155, 27, 48, 0.22);
  border-left: 2px solid var(--red);
  padding: 0.15rem 0.5rem;
}

.page-home .fixture-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .fixture-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.8rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(216, 211, 198, 0.14);
  font-size: 0.9rem;
  line-height: 1.4;
}

.page-home .fixture-item:last-child {
  border-bottom: none;
}

.page-home .fixture-date {
  font-family: var(--font-data);
  font-size: 0.78rem;
  color: rgba(244, 241, 232, 0.55);
  min-width: 7.5em;
}

.page-home .fixture-match {
  flex: 1;
  color: var(--text-on-dark);
  font-weight: 500;
}

.page-home .fixture-status {
  font-family: var(--font-data);
  font-size: 0.75rem;
  color: var(--teal);
}

.page-home .data-layout {
  display: grid;
  gap: var(--home-gap-md);
  margin-bottom: var(--home-gap-lg);
}

.page-home .data-copy p {
  color: rgba(244, 241, 232, 0.8);
  line-height: 1.75;
  margin: 0 0 1rem;
}

.page-home .subsection-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--gold-light);
  margin: 0 0 0.75rem;
}

.page-home .feature-list {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
}

.page-home .feature-list li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.2rem;
  color: rgba(244, 241, 232, 0.84);
  line-height: 1.65;
}

.page-home .feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
}

.page-home .data-figure,
.page-home .radar-figure {
  margin: 0;
}

.page-home .data-figure .image-frame,
.page-home .radar-figure .image-frame {
  margin-bottom: 0.5rem;
}

.page-home .data-figure figcaption,
.page-home .radar-figure figcaption {
  text-align: center;
}

.page-home .radar-layout {
  display: grid;
  gap: var(--home-gap-md);
  grid-template-columns: 1fr;
}

.page-home .radar-meta {
  background: var(--home-panel-bg);
  border: 1px solid var(--home-border);
  padding: 1.2rem 1.2rem 1.4rem;
}

.page-home .radar-meta .legend-list {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.page-home .radar-meta .legend-dot {
  width: 10px;
  height: 10px;
  display: inline-block;
  margin-right: 0.5rem;
}

.page-home .legend-dot--gold {
  background: var(--gold);
}

.page-home .legend-dot--teal {
  background: var(--teal);
}

.page-home .radar-meta .note-text {
  color: rgba(244, 241, 232, 0.6);
  line-height: 1.6;
  margin: 0 0 1.2rem;
}

.page-home .directory-grid {
  display: grid;
  gap: 1.2rem;
  margin-bottom: var(--home-gap-md);
}

.page-home .directory-card {
  background: var(--cream);
  color: var(--ink);
  padding: 1.4rem 1.3rem;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.page-home .directory-card:hover {
  box-shadow: 6px 6px 0 rgba(201, 162, 39, 0.35);
  transform: translate(-2px, -2px);
}

.page-home .directory-label {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(155, 27, 48, 0.08);
  border: 1px solid rgba(155, 27, 48, 0.25);
  padding: 0.2rem 0.6rem;
}

.page-home .directory-card-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.4;
  margin: 0;
  color: var(--ink);
}

.page-home .directory-excerpt {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(24, 29, 27, 0.75);
  margin: 0;
}

.page-home .directory-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.page-home .directory-map {
  margin-top: 1.5rem;
}

.page-home .directory-map .image-frame {
  margin-bottom: 0.5rem;
}

.page-home .directory-map .note-text {
  text-align: center;
  color: rgba(244, 241, 232, 0.62);
  font-size: 0.88rem;
  max-width: 44em;
  margin: 0.6rem auto 0;
  line-height: 1.6;
}

.page-home .steps-list {
  list-style: none;
  margin: 0 0 var(--home-gap-md);
  padding: 0;
  display: grid;
  gap: 1.2rem;
}

.page-home .step-item {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  background: var(--home-panel-bg);
  border: 1px solid var(--home-divider);
  padding: 1.2rem 1.1rem;
}

.page-home .step-num {
  font-family: var(--font-data);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.03em;
  line-height: 1;
  padding-top: 0.2rem;
}

.page-home .step-body {
  min-width: 0;
}

.page-home .step-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--gold-light);
  margin: 0 0 0.4rem;
}

.page-home .step-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(244, 241, 232, 0.78);
  margin: 0;
}

.page-home .steps-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  padding-top: 1rem;
}

@media (min-width: 900px) {
  .page-home .hero-frame {
    margin-left: var(--gutter);
    margin-right: var(--gutter);
  }

  .page-home .hero-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(2rem, 4vw, 4rem);
    padding: clamp(2rem, 4vw, 3.5rem);
  }

  .page-home .hero-frame-bg {
    width: min(52%, 420px);
    opacity: 0.2;
  }

  .page-home .hero-scoreboard {
    padding-top: 0.5rem;
  }

  .page-home .schedule-board {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1.5rem;
  }

  .page-home .schedule-group {
    margin: 0;
  }

  .page-home .data-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
  }

  .page-home .radar-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
  }

  .page-home .radar-meta {
    order: -1;
  }

  .page-home .directory-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
  }

  .page-home .steps-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .page-home .step-item {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .page-home .step-num {
    font-size: 2.2rem;
  }

  .page-home .steps-cta {
    justify-content: flex-start;
  }
}

@media (min-width: 1280px) {
  .page-home .hero-frame {
    margin-left: auto;
    margin-right: auto;
    max-width: calc(var(--pitch-width) + var(--gutter) * 2);
  }

  .page-home .hero-inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  }
}
