.page-home {
  --home-section-space: 64px;
  --home-hero-space: 28px;
}

.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: 28px 20px 56px;
  background:
    radial-gradient(circle at 88% 10%, rgba(201, 151, 28, 0.12), transparent 36%),
    var(--color-bg);
}

.page-home .home-hero-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  width: 36%;
  height: 10px;
  background: linear-gradient(115deg, var(--color-gold) 0%, var(--color-gold) 34%, var(--color-barley) 34%, var(--color-barley) 60%, transparent 60%);
  border-radius: 0 0 999px 0;
  z-index: 2;
}

.page-home .home-hero-grid {
  display: grid;
  gap: 22px;
  max-width: var(--content-max);
  margin: 0 auto;
}

.page-home .home-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--color-brand);
  color: #F7F4ED;
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  position: relative;
  overflow: hidden;
}

.page-home .home-aside::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -36px;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(247, 244, 237, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

.page-home .home-aside-kicker {
  margin: 0;
  font: 700 11px/1.5 var(--font-mono);
  letter-spacing: 0.08em;
  color: var(--color-barley);
  border-bottom: 1px solid rgba(247, 244, 237, 0.22);
  padding-bottom: 12px;
}

.page-home .home-aside-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #F7F4ED;
}

.page-home .home-aside-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--color-gold);
  border-radius: 50%;
  color: var(--color-brand);
  font-weight: 900;
  font-size: 18px;
}

.page-home .home-aside-name {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.02em;
}

.page-home .home-aside-sub {
  margin: -8px 0 0;
  font-size: 12px;
  color: rgba(247, 244, 237, 0.72);
}

.page-home .home-aside-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.page-home .home-aside-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: rgba(247, 244, 237, 0.82);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.page-home .home-aside-link:hover,
.page-home .home-aside-link.is-active {
  background: var(--color-gold);
  color: var(--color-brand);
}

.page-home .home-aside-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-barley);
}

.page-home .home-aside-link:hover .home-aside-num,
.page-home .home-aside-link.is-active .home-aside-num {
  color: var(--color-brand);
}

.page-home .home-aside-foot {
  margin-top: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(247, 244, 237, 0.56);
}

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

.page-home .home-hero-breadcrumbs {
  margin: 0 0 18px;
}

.page-home .home-hero-eyebrow {
  margin: 0 0 12px;
  font: 600 12px/1.5 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.page-home .home-hero-title {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: 38px;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}

.page-home .home-hero-title span {
  display: block;
  color: var(--color-brand);
}

.page-home .home-hero-lead {
  margin: 0 0 28px;
  max-width: 64ch;
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-charcoal);
}

.page-home .home-hero-bottom {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-home .home-fixture {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--color-cloud);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-panel);
  overflow: hidden;
}

.page-home .home-fixture-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-home .home-fixture-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 20px 0;
}

.page-home .home-fixture-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--color-ink);
}

.page-home .home-fixture-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--color-cloud);
  border-radius: var(--radius-pill);
  padding: 4px;
}

.page-home .home-fixture-tab {
  display: inline-block;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-ink);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.page-home .home-fixture-tab:hover {
  background: var(--color-barley);
  color: var(--color-brand);
}

.page-home .home-fixture-radio:focus-visible ~ .home-fixture-head .home-fixture-tabs {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

.page-home #fixture-today:checked ~ .home-fixture-head .home-fixture-tab--today,
.page-home #fixture-tomorrow:checked ~ .home-fixture-head .home-fixture-tab--tomorrow {
  background: var(--color-brand);
  color: #F7F4ED;
}

.page-home .home-fixture-panel--tomorrow {
  display: none;
}

.page-home #fixture-tomorrow:checked ~ .home-fixture-body .home-fixture-panel--tomorrow {
  display: block;
}

.page-home #fixture-tomorrow:checked ~ .home-fixture-body .home-fixture-panel--today {
  display: none;
}

.page-home .home-match-list {
  list-style: none;
  margin: 0;
  padding: 14px 20px 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-home .home-match {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 11px 6px;
  border-bottom: 1px dashed var(--color-cloud);
}

.page-home .home-match:last-child {
  border-bottom: 0;
}

.page-home .home-match-time {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-charcoal);
}

.page-home .home-match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  font-size: 14px;
  color: var(--color-ink);
}

.page-home .home-match-teams b {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--color-brand);
  white-space: nowrap;
}

.page-home .home-match-status {
  font-size: 12px;
  color: var(--color-green);
  background: rgba(27, 94, 74, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.page-home .home-match-status--live {
  color: var(--color-terra);
  background: rgba(166, 74, 60, 0.1);
}

.page-home .home-match-status--upcoming {
  color: var(--color-charcoal);
  background: var(--color-cloud);
}

.page-home .home-speed {
  margin: 6px 20px 20px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--color-flour);
}

.page-home .home-speed-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .home-speed-label {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-ink);
}

.page-home .home-speed-nums {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-charcoal);
}

.page-home .home-speed-nums b {
  font-size: 15px;
  color: var(--color-green);
}

.page-home .home-speed-nums del {
  color: var(--color-terra);
}

.page-home .home-speed-track {
  height: 6px;
  margin: 12px 0 8px;
  background: var(--color-cloud);
  border-radius: 999px;
  overflow: hidden;
}

.page-home .home-speed-bar {
  display: block;
  height: 100%;
  width: 71%;
  background: linear-gradient(90deg, var(--color-gold), var(--color-green));
  border-radius: 999px;
  animation: home-speed-fill 1.4s ease-out;
}

.page-home .home-speed-bar--alt {
  width: 62%;
  background: linear-gradient(90deg, var(--color-gold), var(--color-brand));
}

.page-home .home-speed-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--color-charcoal);
}

@keyframes home-speed-fill {
  from {
    width: 94%;
  }
  to {
    width: 71%;
  }
}

.page-home .home-hero-media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-cloud);
  line-height: 0;
}

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

.page-home .home-section {
  padding: var(--home-section-space) 20px;
}

.page-home .home-section--tint {
  background: var(--color-flour);
}

.page-home .home-section-shell {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: var(--content-max);
  margin: 0 auto;
}

.page-home .home-section-kicker {
  margin: 0 0 10px;
  font: 600 12px/1.5 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.page-home .home-section-heading {
  margin: 0 0 18px;
  font-size: 32px;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}

.page-home .home-section-lead {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--color-charcoal);
}

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

.page-home .home-dim-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid var(--color-cloud);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-ink);
}

.page-home .home-dim-icon {
  flex: 0 0 auto;
  color: var(--color-brand);
}

.page-home .home-download-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 16px;
}

.page-home .home-qr {
  position: relative;
  display: inline-block;
}

.page-home .home-qr summary {
  list-style: none;
  cursor: pointer;
}

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

.page-home .home-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  background: var(--color-brand);
  color: #F7F4ED;
  border: 0;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.page-home .home-download-btn:hover {
  background: var(--color-gold);
  color: var(--color-brand);
}

.page-home .home-qr-pop {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  z-index: 30;
  width: 220px;
  padding: 16px;
  background: #FFFFFF;
  border: 1px solid var(--color-cloud);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-panel);
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.page-home .home-qr-pop img {
  width: 160px;
  height: auto;
  border-radius: 10px;
}

.page-home .home-qr-pop span {
  font-size: 12px;
  line-height: 1.6;
  color: var(--color-charcoal);
}

.page-home .home-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-brand);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.page-home .home-link-arrow::after {
  content: "→";
  font-family: var(--font-mono);
  transition: transform 0.2s;
}

.page-home .home-link-arrow:hover::after {
  transform: translateX(4px);
}

.page-home .home-dist-figure,
.page-home .home-bigscreen-figure,
.page-home .home-change-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-cloud);
  line-height: 0;
}

.page-home .home-dist-figure img,
.page-home .home-bigscreen-figure img,
.page-home .home-change-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.page-home .home-feature-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  counter-reset: feature;
  display: grid;
  gap: 12px;
}

.page-home .home-feature-list li {
  position: relative;
  counter-increment: feature;
  padding: 14px 16px 14px 44px;
  background: #FFFFFF;
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-ink);
}

.page-home .home-feature-list li::before {
  content: counter(feature, decimal-leading-zero);
  position: absolute;
  left: 14px;
  top: 15px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-gold);
}

.page-home .home-section-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

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

.page-home .home-change-list li {
  background: #FFFFFF;
  border: 1px solid var(--color-cloud);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
}

.page-home .home-change-tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 5px 10px;
  font: 700 10px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-brand);
  background: rgba(29, 43, 100, 0.08);
  border-radius: var(--radius-pill);
}

.page-home .home-change-list h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  color: var(--color-ink);
}

.page-home .home-change-list p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-charcoal);
}

.page-home .home-data-cols {
  display: grid;
  gap: 28px;
  max-width: var(--content-max);
  margin: 0 auto 28px;
}

.page-home .home-data-intro p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-charcoal);
}

.page-home .home-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.page-home .home-stat-item {
  display: grid;
  gap: 8px;
  text-align: center;
  background: var(--color-brand);
  border-radius: var(--radius-lg);
  padding: 22px 16px;
  color: #F7F4ED;
}

.page-home .home-stat-num {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  color: var(--color-gold);
}

.page-home .home-stat-label {
  font-size: 13px;
  color: rgba(247, 244, 237, 0.82);
}

.page-home .home-data-foot {
  display: grid;
  gap: 12px;
  max-width: var(--content-max);
  margin: 0 auto 28px;
}

.page-home .home-data-note {
  display: grid;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid var(--color-cloud);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.page-home .home-data-note strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--color-ink);
}

.page-home .home-data-note span {
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-charcoal);
}

.page-home .home-action-row {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 2px solid var(--color-cloud);
}

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

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

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

  .page-home .home-hero-grid {
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 56px;
    align-items: stretch;
    min-height: 640px;
  }

  .page-home .home-aside {
    padding: 26px 20px;
    clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
    border-radius: var(--radius-lg);
  }

  .page-home .home-aside-nav {
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
  }

  .page-home .home-aside-link {
    padding: 10px 12px;
  }

  .page-home .home-aside-foot {
    flex-direction: column;
    gap: 6px;
  }

  .page-home .home-hero-title {
    font-size: 56px;
  }

  .page-home .home-hero-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    align-items: stretch;
  }

  .page-home .home-hero-media img {
    height: 100%;
    min-height: 340px;
    object-fit: cover;
  }

  .page-home .home-section {
    padding: 96px 48px;
  }

  .page-home .home-section-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
  }

  .page-home .home-section-heading {
    font-size: 36px;
  }

  .page-home .home-data-cols {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
  }

  .page-home .home-data-foot {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}
