.page-home{
  --section-gap: clamp(64px, 10vw, 140px);
  --cover-accent: var(--c-orange);
  --cover-glow: var(--c-yellow);
  background: var(--c-space-900);
  color: var(--c-field);
  overflow-x: hidden;
}
.page-home img{
  max-width: 100%;
  height: auto;
  display: block;
}

.page-home .home-cover{
  position: relative;
  min-height: min(100vh, 1024px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--c-space-900);
  overflow: hidden;
}
.page-home .cover-visual{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-home .cover-visual::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,14,31,.78) 0%, rgba(10,31,68,.46) 52%, rgba(5,14,31,.92) 100%);
}
.page-home .cover-visual img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-home .cover-shade{
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(105deg, rgba(5,14,31,.94) 0%, rgba(10,31,68,.66) 46%, rgba(10,31,68,.18) 100%);
}
.page-home .cover-layout{
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(96px, 16vw, 160px) var(--gap) clamp(44px, 7vw, 72px);
  display: grid;
  gap: clamp(32px, 6vw, 64px);
  align-items: end;
}
.page-home .cover-kicker{
  font-family: var(--font-num);
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-yellow);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-home .cover-kicker::before{
  content: "";
  width: 34px;
  height: 2px;
  background: var(--c-yellow);
  flex: none;
}
.page-home h1{
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: .96;
  font-size: clamp(3.1rem, 12vw, 7.2rem);
  color: var(--c-field);
  margin: 0 0 clamp(20px, 4vw, 32px);
}
.page-home .title-line{
  display: block;
}
.page-home .title-line--accent{
  display: inline-block;
  color: var(--c-space-950);
  background: var(--c-orange);
  padding: .06em .2em .1em .14em;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 100%, 14px 100%);
  margin-left: -.05em;
}
.page-home .cover-lede{
  max-width: 640px;
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.7;
  color: var(--c-field);
  margin: 0 0 28px;
  opacity: .92;
}
.page-home .cover-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.page-home .cover-aside{
  display: grid;
  gap: 16px;
  max-width: 360px;
  justify-self: end;
  width: 100%;
}
.page-home .edition-card{
  padding: 18px 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  align-items: end;
  transform: rotate(1.5deg);
}
.page-home .edition-label{
  grid-column: 1 / -1;
  font-family: var(--font-num);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-space-950);
  font-weight: 700;
}
.page-home .edition-value{
  font-family: var(--font-num);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--c-space-950);
}
.page-home .edition-note{
  font-size: .8rem;
  font-weight: 600;
  color: var(--c-space-950);
  white-space: nowrap;
}
.page-home .cover-stats{
  list-style: none;
  margin: 0;
  padding: 18px 20px;
  display: grid;
  gap: 10px;
  background: rgba(5,14,31,.72);
  border: 1px solid var(--c-line);
  backdrop-filter: blur(6px);
}
.page-home .cover-stats li{
  font-family: var(--font-body);
  font-size: .92rem;
  color: var(--c-night);
}
.page-home .cover-stats .num{
  color: var(--c-yellow);
  font-family: var(--font-num);
  font-size: 1.06rem;
  margin-right: 6px;
}
.page-home .cover-index{
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap) 34px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
}
.page-home .cover-index a{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: rgba(5,14,31,.9);
  color: var(--c-field);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 500;
  transition: background .3s var(--ease-out), color .3s var(--ease-out);
}
.page-home .cover-index a:hover,
.page-home .cover-index a:focus-visible{
  background: var(--c-orange);
  color: var(--c-space-950);
  outline: none;
}
.page-home .cover-index .idx{
  font-family: var(--font-num);
  color: var(--c-yellow);
  font-size: .8rem;
  transition: color .3s var(--ease-out);
}
.page-home .cover-index a:hover .idx,
.page-home .cover-index a:focus-visible .idx{
  color: var(--c-space-950);
}

.page-home .live-strip{
  background: var(--c-orange);
  color: var(--c-space-950);
  padding: 14px 0;
  overflow-x: auto;
}
.page-home .live-strip__inner{
  display: flex;
  gap: 28px;
  align-items: center;
  white-space: nowrap;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .9rem;
}
.page-home .strip-dot{
  width: 10px;
  height: 10px;
  background: var(--c-yellow);
  display: inline-block;
  transform: rotate(45deg);
  flex: none;
}
.page-home .strip-num{
  font-family: var(--font-num);
  color: var(--c-space-950);
  font-weight: 700;
}

.page-home .home-live,
.page-home .home-possession,
.page-home .home-records,
.page-home .home-directory{
  padding: var(--section-gap) 0;
}
.page-home .home-directory{
  padding-bottom: calc(var(--section-gap) * 1.1);
}
.page-home h2{
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -.01em;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  line-height: 1.12;
  color: var(--c-field);
  margin: 0 0 16px;
}
.page-home .section-intro{
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-night);
  max-width: 720px;
  margin: 0 0 40px;
}

.page-home .live-layout{
  display: grid;
  gap: 24px;
  align-items: start;
}
.page-home .live-snapshot{
  position: relative;
}
.page-home .live-hero{
  width: 100%;
}
.page-home .live-score{
  position: relative;
  margin-top: -84px;
  margin-left: auto;
  margin-right: var(--gap);
  max-width: 260px;
  padding: 20px 24px;
  text-align: center;
  z-index: 3;
}
.page-home .live-score .data-tag{
  display: inline-block;
}
.page-home .score-main{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-num);
  font-size: 3rem;
  line-height: 1;
  color: var(--c-space-950);
  margin: 8px 0 4px;
}
.page-home .score-main i{
  font-style: normal;
  opacity: .55;
}
.page-home .score-sub{
  font-size: .8rem;
  font-weight: 600;
  color: var(--c-space-950);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.page-home .live-stats{
  display: grid;
  gap: 16px;
}
.page-home .stat-card{
  padding: 22px;
}
.page-home .stat-label{
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-night);
  margin: 0 0 10px;
}
.page-home .stat-value{
  font-family: var(--font-num);
  font-size: 2rem;
  color: var(--c-field);
  margin: 0 0 12px;
}
.page-home .stat-value b{
  font-family: var(--font-num);
  font-size: 1rem;
  color: var(--c-yellow);
  font-weight: 400;
  margin-left: 2px;
}
.page-home .stat-bar{
  height: 6px;
  background: var(--c-line);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.page-home .stat-bar::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: var(--c-orange);
  border-radius: inherit;
}
.page-home .stat-bar--home::before{
  width: 58%;
}
.page-home .stat-bar--away::before{
  width: 27%;
}
.page-home .stat-handicap{
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--c-field);
  margin: 8px 0;
}
.page-home .stat-handicap .num{
  font-family: var(--font-num);
  font-size: 1.3rem;
  color: var(--c-yellow);
}

.page-home .possession-layout{
  display: grid;
  gap: 24px;
}
.page-home .possession-panel{
  padding: 24px;
  display: grid;
  gap: 18px;
}
.page-home .possession-head{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--c-field);
  font-size: .9rem;
}
.page-home .wave{
  width: 100%;
  height: auto;
  display: block;
}
.page-home .wave-grid{
  stroke: var(--c-line);
  stroke-width: 1;
  fill: none;
}
.page-home .wave-line{
  stroke: var(--c-yellow);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.page-home .wave-dot{
  fill: var(--c-orange);
}
.page-home .rate-group{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.page-home .rate-chip{
  border: 1px solid var(--c-line);
  color: var(--c-night);
  font-family: var(--font-num);
  font-size: .88rem;
  padding: 8px 16px;
  background: transparent;
  letter-spacing: .04em;
  transition: border-color .3s var(--ease-out), background .3s var(--ease-out), color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.page-home .rate-chip.is-active{
  background: var(--c-orange);
  border-color: var(--c-orange);
  color: var(--c-space-950);
  font-weight: 700;
  box-shadow: 0 0 0 4px rgba(255,108,0,.18);
}
.page-home .rate-chip:hover{
  border-color: var(--c-orange);
  color: var(--c-field);
}
.page-home .possession-shot{
  width: 100%;
}

.page-home .records-layout{
  display: grid;
  gap: 24px;
  align-items: center;
}
.page-home .records-excerpts{
  display: grid;
  gap: 20px;
}
.page-home .record-card{
  padding: 22px 22px 18px;
  border-left: 4px solid var(--c-orange);
}
.page-home .record-meta{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.page-home .round-tag{
  font-family: var(--font-num);
  font-size: 1rem;
  color: var(--c-yellow);
  font-weight: 700;
}
.page-home .record-text{
  font-family: var(--font-body);
  font-size: .95rem;
  line-height: 1.7;
  color: var(--c-field);
  opacity: .9;
  margin: 0 0 10px;
}
.page-home .record-fold{
  margin-top: 8px;
}
.page-home .record-fold summary{
  cursor: pointer;
  color: var(--c-orange-soft);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .88rem;
  display: inline-block;
  border-bottom: 1px dashed var(--c-orange);
  transition: color .3s var(--ease-out);
}
.page-home .record-fold summary:hover{
  color: var(--c-yellow);
}
.page-home .record-fold p{
  margin-top: 10px;
  font-size: .88rem;
  line-height: 1.6;
  color: var(--c-night);
}
.page-home .records-visual{
  width: 100%;
}

.page-home .dir-grid{
  display: grid;
  gap: 12px;
}
.page-home .dir-card{
  display: grid;
  grid-template-columns: 52px 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  align-items: center;
  padding: 22px 24px;
  background: var(--c-space-950);
  border: 1px solid var(--c-line);
  color: var(--c-field);
  text-decoration: none;
  position: relative;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 100%, 18px 100%);
  transition: background .3s var(--ease-out), border-color .3s var(--ease-out);
}
.page-home .dir-card::before{
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: -1px;
  height: 3px;
  background: var(--c-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.page-home .dir-card:hover,
.page-home .dir-card:focus-visible{
  background: var(--c-space-900);
  border-color: var(--c-orange);
  outline: none;
}
.page-home .dir-card:hover::before,
.page-home .dir-card:focus-visible::before{
  transform: scaleX(1);
}
.page-home .dir-number{
  grid-row: 1 / 3;
  align-self: center;
  font-family: var(--font-num);
  color: var(--c-yellow);
  font-size: .9rem;
}
.page-home .dir-title{
  font-family: var(--font-head);
  font-size: 1.3rem;
  letter-spacing: -.01em;
  line-height: 1.2;
  transition: color .3s var(--ease-out);
}
.page-home .dir-points{
  font-family: var(--font-body);
  font-size: .84rem;
  color: var(--c-night);
  line-height: 1.4;
}
.page-home .dir-card:hover .dir-title{
  color: var(--c-orange-soft);
}

@media (min-width: 720px){
  .page-home .cover-index{
    grid-template-columns: repeat(4, 1fr);
  }
  .page-home .cover-layout{
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  }
  .page-home .live-layout{
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    align-items: stretch;
  }
  .page-home .live-stats{
    grid-template-columns: repeat(2, 1fr);
  }
  .page-home .possession-layout{
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
  }
  .page-home .possession-shot{
    order: 2;
  }
  .page-home .possession-panel{
    order: 1;
  }
  .page-home .records-layout{
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  }
  .page-home .dir-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px){
  .page-home .home-cover{
    min-height: 100vh;
  }
  .page-home .live-stats{
    grid-template-columns: repeat(3, 1fr);
  }
  .page-home .dir-grid{
    grid-template-columns: repeat(3, 1fr);
  }
  .page-home .dir-card:nth-child(4){
    grid-column: span 1;
  }
}

@media (prefers-reduced-motion: reduce){
  .page-home .edition-card{
    transform: none;
  }
  .page-home [data-reveal]{
    transform: none !important;
  }
}
