.page-home{
  background: var(--ink);
  color: var(--paper);
}
.page-home .home-hero{
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  background: linear-gradient(135deg, var(--ink) 0%, #111827 60%, var(--card) 100%);
  padding: 56px 0 80px;
}
.page-home .home-hero__bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.page-home .home-hero__bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .25;
  transform: scale(1.03);
}
.page-home .home-hero__inner{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
.page-home .home-hero__copy{
  max-width: 700px;
}
.page-home .home-hero__kicker{
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  border-left: 5px solid var(--blue);
  padding-left: 16px;
  margin: 0 0 20px;
}
.page-home .home-hero h1{
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin: 0 0 24px;
}
.page-home .home-hero__refresh{
  font-family: var(--font-mono);
  margin: 0 0 20px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--gold);
}
.page-home .home-hero__refresh-label{
  font-size: var(--text-sm);
  color: var(--muted);
  letter-spacing: .08em;
}
.page-home .home-hero__refresh strong{
  font-size: 3rem;
  line-height: 1;
  color: var(--red);
  font-weight: 900;
}
.page-home .home-hero__refresh-text{
  font-size: var(--text-md);
  color: var(--paper);
}
.page-home .home-hero__desc{
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--paper);
  opacity: .9;
  margin: 0 0 24px;
}
.page-home .home-hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.page-home .home-hero__board{
  background: var(--card);
  border: 3px solid var(--border);
  box-shadow: var(--shadow-hard);
  padding: 16px;
  transform: rotate(1deg);
}
.page-home .home-hero__board-header{
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: var(--text-sm);
  margin-bottom: 12px;
  letter-spacing: .05em;
}
.page-home .home-hero__score-scroll{
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
}
.page-home .score-card{
  background: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-sm);
  padding: 12px;
  min-width: 100%;
  scroll-snap-align: start;
}
.page-home .score-card__meta,
.page-home .score-card__footer{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.page-home .score-card__teams{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  margin: 10px 0;
}
.page-home .score-card__team{
  font-weight: 700;
  color: var(--paper);
  font-size: var(--text-base);
}
.page-home .score-card__score{
  font-family: var(--font-mono);
  font-size: var(--text-lg);
  font-weight: 900;
  color: var(--gold);
}
.page-home .score-card__live{
  color: var(--red);
  font-weight: 700;
}
.page-home .score-card__hot{
  background: var(--red);
  color: var(--paper);
  padding: 2px 8px;
  border-radius: var(--border-radius-pill);
  font-size: var(--text-xs);
}
.page-home .home-datawall{
  padding: 64px 0;
  background: var(--ink);
}
.page-home .home-datawall__head{
  max-width: 760px;
}
.page-home .home-datawall .section__sub,
.page-home .home-topstory .section__sub,
.page-home .home-standings .section__sub,
.page-home .home-calendar .section__sub,
.page-home .home-quick .section__sub{
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 12px;
}
.page-home .home-datawall h2,
.page-home .home-topstory h2,
.page-home .home-standings h2,
.page-home .home-calendar h2,
.page-home .home-quick h2{
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--paper);
}
.page-home .home-datawall__summary{
  color: var(--muted);
  font-size: var(--text-base);
  line-height: 1.6;
  margin: 0;
}
.page-home .home-datawall__stats{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}
.page-home .home-datawall__stats .data-card{
  background: var(--card);
  border: 3px solid var(--border);
  box-shadow: var(--shadow-hard);
  padding: 20px;
  margin: 0;
  border-radius: var(--border-radius-sm);
}
.page-home .home-datawall__stats .data-card__label{
  display: block;
  color: var(--muted);
  font-size: var(--text-sm);
  margin-bottom: 8px;
}
.page-home .home-datawall__stats .data-card__value{
  display: block;
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--paper);
  margin-bottom: 4px;
}
.page-home .home-datawall__stats .data-card__note{
  color: var(--blue);
  font-size: var(--text-sm);
}
.page-home .home-datawall__scores{
  margin-top: 40px;
}
.page-home .home-datawall__legend{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 0 16px;
  padding: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
}
.page-home .home-datawall__legend li{
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.page-home .legend-dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.page-home .legend-dot--live{
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(230,57,70,.2);
}
.page-home .legend-dot--done{
  background: var(--blue);
}
.page-home .legend-dot--heat{
  background: var(--gold);
}
.page-home .home-datawall__board{
  background: var(--card);
  border: 3px solid var(--border);
  box-shadow: var(--shadow-hard);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}
.page-home .match-row{
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}
.page-home .match-row:last-child{
  border-bottom: 0;
}
.page-home .match-row__time{
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-home .match-row__status{
  color: var(--red);
  font-weight: 700;
  font-size: var(--text-xs);
  text-transform: uppercase;
}
.page-home .match-row--done .match-row__status{
  color: var(--muted);
}
.page-home .match-row__league{
  font-size: var(--text-sm);
  color: var(--blue);
}
.page-home .match-row__teams{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  font-weight: 700;
}
.page-home .match-row__score{
  font-family: var(--font-mono);
  font-size: var(--text-lg);
  font-weight: 900;
  color: var(--gold);
}
.page-home .match-row__stat{
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--muted);
}
.page-home .home-datawall__refresh{
  margin-top: 16px;
  color: var(--muted);
  font-size: var(--text-sm);
  font-family: var(--font-mono);
}
.page-home .home-topstory{
  padding: 64px 0;
  background: linear-gradient(180deg, var(--ink) 0%, #111722 100%);
}
.page-home .home-topstory__grid{
  display: grid;
  gap: 32px;
  align-items: center;
}
.page-home .home-topstory__media{
  border: 3px solid var(--border);
  box-shadow: var(--shadow-strong);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}
.page-home .home-topstory__media img{
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.page-home .home-topstory__content h2{
  font-size: 2.2rem;
}
.page-home .home-topstory__lead{
  font-size: var(--text-md);
  line-height: 1.5;
  color: var(--paper);
  font-weight: 700;
  margin: 0 0 12px;
}
.page-home .home-topstory__content p{
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 12px;
}
.page-home .home-topstory__more{
  margin: 20px 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-sm);
  padding: 12px;
}
.page-home .home-topstory__more summary{
  cursor: pointer;
  color: var(--blue);
  font-weight: 700;
  font-size: var(--text-base);
}
.page-home .home-topstory__detail{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.page-home .home-topstory__detail ul{
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-home .home-topstory__detail li{
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
  color: var(--paper);
}
.page-home .home-topstory__detail li::before{
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--red);
}
.page-home .home-standings{
  padding: 64px 0;
  background: var(--ink);
}
.page-home .home-standings__head{
  max-width: 760px;
}
.page-home .home-standings__intro{
  color: var(--muted);
  font-size: var(--text-base);
  line-height: 1.6;
  margin: 0 0 28px;
}
.page-home .home-standings__content{
  display: grid;
  gap: 28px;
  align-items: start;
}
.page-home .home-standings__visual{
  border: 5px solid var(--border);
  box-shadow: var(--shadow-hard);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}
.page-home .home-standings__visual img{
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.page-home .standings-block{
  background: var(--card);
  border: 3px solid var(--border);
  box-shadow: var(--shadow-hard);
  border-radius: var(--border-radius-sm);
  padding: 16px;
  overflow-x: auto;
}
.page-home .standings-block h3{
  font-family: var(--font-display);
  font-size: var(--text-md);
  margin: 0 0 12px;
  color: var(--paper);
  text-transform: uppercase;
  letter-spacing: .03em;
}
.page-home .standings-table{
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}
.page-home .standings-table th{
  text-align: left;
  padding: 10px 8px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--muted);
  border-bottom: 2px solid var(--border);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.page-home .standings-table td{
  padding: 10px 8px;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--paper);
  border-bottom: 1px solid rgba(58,65,96,.5);
}
.page-home .standings-table tr:last-child td{
  border-bottom: 0;
}
.page-home .standings-table td:first-child{
  font-weight: 900;
}
.page-home .standings-table__promote{
  background: rgba(255,183,3,.08);
}
.page-home .standings-table__promote td:first-child{
  border-left: 4px solid var(--gold);
}
.page-home .standings-table__relegate{
  background: rgba(230,57,70,.1);
}
.page-home .standings-table__relegate td:first-child{
  border-left: 4px solid var(--red);
}
.page-home .home-standings__note{
  margin-top: 20px;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.6;
  border-left: 3px solid var(--blue);
  padding-left: 14px;
}
.page-home .home-calendar{
  padding: 64px 0;
  background: linear-gradient(180deg, var(--ink) 0%, var(--card) 100%);
}
.page-home .home-calendar__grid{
  display: grid;
  gap: 32px;
  align-items: center;
}
.page-home .home-calendar__content p{
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 16px;
}
.page-home .home-calendar__list{
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}
.page-home .home-calendar__list li{
  display: grid;
  grid-template-columns: 60px 1fr 80px;
  gap: 12px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.page-home .home-calendar__day{
  font-family: var(--font-display);
  font-size: var(--text-md);
  color: var(--gold);
}
.page-home .home-calendar__match{
  color: var(--paper);
  font-weight: 700;
}
.page-home .home-calendar__time{
  font-family: var(--font-mono);
  color: var(--blue);
  text-align: right;
}
.page-home .home-calendar__media{
  border: 5px solid var(--border);
  box-shadow: var(--shadow-hard);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}
.page-home .home-calendar__media img{
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.page-home .home-quick{
  padding: 64px 0;
  background: var(--ink);
}
.page-home .home-quick__grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}
.page-home .home-quick__card{
  display: block;
  background: var(--card);
  border: 3px solid var(--border);
  box-shadow: var(--shadow-hard);
  border-radius: var(--border-radius-sm);
  padding: 24px;
  color: var(--paper);
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  min-height: 150px;
  position: relative;
}
.page-home .home-quick__card:hover,
.page-home .home-quick__card:focus-visible{
  transform: translate(-4px, -4px);
  border-color: var(--blue);
  box-shadow: var(--shadow-strong);
  outline: none;
}
.page-home .home-quick__num{
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--red);
  letter-spacing: .08em;
}
.page-home .home-quick__title{
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: 1.2;
  margin-top: 12px;
  color: var(--paper);
  text-transform: uppercase;
  letter-spacing: .02em;
}
.page-home .home-quick__card > span:last-child{
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: var(--text-sm);
}

@media (min-width: 640px){
  .page-home .home-hero h1{
    font-size: 3rem;
  }
  .page-home .home-hero__refresh strong{
    font-size: 4rem;
  }
  .page-home .home-datawall h2,
  .page-home .home-topstory h2,
  .page-home .home-standings h2,
  .page-home .home-calendar h2,
  .page-home .home-quick h2{
    font-size: 2.4rem;
  }
  .page-home .home-datawall__stats{
    grid-template-columns: repeat(2, 1fr);
  }
  .page-home .home-quick__grid{
    grid-template-columns: repeat(2, 1fr);
  }
  .page-home .score-card{
    min-width: 260px;
  }
  .page-home .home-hero__score-scroll{
    flex-direction: row;
    flex-wrap: nowrap;
  }
  .page-home .match-row{
    grid-template-columns: 140px 1fr 160px;
    gap: 16px;
    align-items: center;
    padding: 14px 20px;
  }
  .page-home .match-row__time{
    font-size: var(--text-sm);
  }
  .page-home .match-row__stat{
    text-align: right;
    justify-self: end;
  }
}

@media (min-width: 1024px){
  .page-home .home-hero__inner{
    grid-template-columns: 1.05fr .95fr;
    gap: 48px;
  }
  .page-home .home-hero h1{
    font-size: var(--text-2xl);
  }
  .page-home .home-datawall h2,
  .page-home .home-topstory h2,
  .page-home .home-standings h2,
  .page-home .home-calendar h2,
  .page-home .home-quick h2{
    font-size: var(--text-xl);
  }
  .page-home .home-datawall__stats{
    grid-template-columns: repeat(4, 1fr);
  }
  .page-home .home-topstory__grid{
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  .page-home .home-standings__content{
    grid-template-columns: .8fr 1.2fr;
    gap: 40px;
  }
  .page-home .home-calendar__grid{
    grid-template-columns: 1fr .8fr;
    gap: 48px;
  }
  .page-home .home-quick__grid{
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  .page-home .home-quick__card{
    min-height: 180px;
  }
}
