.page-home {
  --home-gold-soft: rgba(230, 179, 30, 0.18);
  background: var(--bg-deep);
  color: var(--ivory);
}

/* Hero */
.page-home .home-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--bg-deep);
  padding: 5.5rem 0 3rem;
  overflow: hidden;
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .home-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 31, 28, 0.96) 0%, rgba(10, 31, 28, 0.85) 42%, rgba(21, 74, 65, 0.62) 100%);
}

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

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  width: 100%;
}

.page-home .home-hero__content {
  max-width: 720px;
}

.page-home .home-hero__title {
  font-family: var(--font-title);
  font-size: var(--fs-h1);
  line-height: var(--lh-head);
  letter-spacing: -0.02em;
  color: var(--ivory);
  margin: 0.875rem 0 1rem;
}

.page-home .home-hero__title em {
  display: block;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-top: 0.5rem;
  text-transform: uppercase;
}

.page-home .home-hero__lead {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: rgba(252, 250, 245, 0.8);
  max-width: 56ch;
  margin-bottom: 1.75rem;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 2rem;
}

.page-home .home-hero__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.page-home .home-hero__meta li {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-home .home-hero__meta li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  flex: none;
}

.page-home .home-hero__dash {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2.5rem 0 1.5rem;
}

.page-home .home-dash {
  position: relative;
  width: 230px;
  height: 230px;
}

.page-home .home-dash__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.page-home .home-dash__ring-base {
  fill: none;
  stroke: rgba(245, 240, 230, 0.14);
  stroke-width: 4;
}

.page-home .home-dash__ring-gold {
  fill: none;
  stroke: var(--gold);
  stroke-width: 5;
  stroke-linecap: round;
}

.page-home .home-dash__inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-home .home-dash__label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
}

.page-home .home-dash__num {
  font-family: var(--font-mono);
  font-size: clamp(2.75rem, 9vw, 3.75rem);
  line-height: 1;
  color: var(--ivory);
  font-weight: 700;
}

.page-home .home-dash__unit {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: rgba(252, 250, 245, 0.7);
}

.page-home .home-dash__foot {
  position: absolute;
  bottom: -3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  background: var(--bg-forest);
  padding: 0.5rem 0.875rem;
  white-space: nowrap;
  clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 50%, calc(100% - 6px) 100%, 6px 100%, 0 50%);
}

.page-home .home-hero__slash {
  position: absolute;
  right: 0;
  top: 0;
  width: 42%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0 39%, rgba(230, 179, 30, 0.12) 39% 43%, transparent 43%);
  pointer-events: none;
  z-index: 0;
}

/* Breadcrumb */
.page-home .home-breadcrumb {
  padding: 1.5rem var(--container-pad) 2.5rem;
  display: flex;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: rgba(252, 250, 245, 0.44);
  background: var(--bg-deep);
}

.page-home .home-breadcrumb a {
  color: var(--gold);
  text-decoration: none;
}

/* Calendar */
.page-home .home-calendar {
  position: relative;
  padding: 4.5rem 0 5rem;
  background: var(--bg-forest);
}

.page-home .home-calendar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(245, 240, 230, 0.08) 1px, transparent 0);
  background-size: 26px 26px;
  pointer-events: none;
}

.page-home .home-calendar__head {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.page-home .home-calendar__head h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-head);
  margin: 0.375rem 0 0.375rem;
  color: var(--ivory);
}

.page-home .home-calendar__head .section-desc {
  color: rgba(252, 250, 245, 0.66);
  margin-bottom: 0;
}

.page-home .home-calendar__guide {
  align-self: flex-start;
}

.page-home .home-calendar__grid {
  position: relative;
  display: grid;
  gap: 2rem;
}

.page-home .home-calendar__left {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

.page-home .home-calendar__dates {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.625rem;
}

.page-home .home-calendar__date {
  background: rgba(10, 31, 28, 0.52);
  border: 1px solid rgba(245, 240, 230, 0.14);
  padding: 0.75rem 0.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.125rem;
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
}

.page-home .home-calendar__date span {
  font-size: var(--fs-xs);
  color: rgba(252, 250, 245, 0.62);
}

.page-home .home-calendar__date strong {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--ivory);
}

.page-home .home-calendar__date.is-active {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.page-home .home-calendar__date.is-active span,
.page-home .home-calendar__date.is-active strong {
  color: var(--bg-deep);
}

.page-home .home-calendar__matches {
  display: grid;
  gap: 0.75rem;
}

.page-home .cal-match {
  display: grid;
  grid-template-columns: 4.25rem 1fr auto;
  grid-template-areas:
    "time league status"
    "time teams status";
  gap: 0.1rem 0.75rem;
  align-items: center;
  padding: 1rem;
  background: rgba(10, 31, 28, 0.55);
  border-left: 3px solid var(--gold);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-home .cal-match:hover {
  background: rgba(10, 31, 28, 0.82);
  transform: translateX(4px);
}

.page-home .cal-match__time {
  grid-area: time;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--gold);
  font-size: 0.9375rem;
}

.page-home .cal-match__league {
  grid-area: league;
  font-size: var(--fs-xs);
  color: rgba(252, 250, 245, 0.5);
  letter-spacing: 0.08em;
}

.page-home .cal-match__teams {
  grid-area: teams;
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  font-size: var(--fs-body);
  color: var(--ivory);
}

.page-home .cal-match__vs {
  color: var(--gold);
  font-family: var(--font-mono);
}

.page-home .cal-match__status {
  grid-area: status;
  font-size: var(--fs-xs);
  color: rgba(242, 201, 76, 0.9);
  background: rgba(242, 201, 76, 0.12);
  padding: 0.25rem 0.5rem;
  border-radius: 2px;
  text-align: center;
}

.page-home .home-calendar__visual {
  position: relative;
}

.page-home .home-calendar__img {
  width: 100%;
  height: auto;
  display: block;
  clip-path: polygon(0 0, calc(100% - 1.25rem) 0, 100% 1.25rem, 100% 100%, 0 100%);
}

.page-home .home-calendar__note {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: 1rem;
  padding: 0.875rem 1rem;
  background: rgba(10, 31, 28, 0.62);
  color: rgba(252, 250, 245, 0.72);
  font-size: var(--fs-sm);
}

.page-home .home-calendar__note-num {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--gold);
}

/* Lineup */
.page-home .home-lineup {
  padding: 4.5rem 0;
  background: var(--bg-deep);
}

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

.page-home .home-lineup__panel {
  background: var(--bg-forest);
  padding: 2rem;
  position: relative;
}

.page-home .home-lineup__panel::before {
  content: "";
  position: absolute;
  inset: auto -1rem -1rem auto;
  width: 96px;
  height: 96px;
  background: var(--home-gold-soft);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.page-home .home-lineup__panel h2 {
  font-family: var(--font-title);
  font-size: var(--fs-h2);
  line-height: var(--lh-head);
  color: var(--ivory);
  margin: 0.375rem 0 0.875rem;
}

.page-home .home-lineup__panel p {
  color: rgba(252, 250, 245, 0.72);
  line-height: var(--lh-body);
  margin-bottom: 1.25rem;
}

.page-home .home-lineup__list {
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.625rem;
}

.page-home .home-lineup__list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: var(--fs-body);
  color: var(--ivory);
}

.page-home .home-lineup__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.875rem;
  height: 2px;
  background: var(--gold);
  transform: skewX(-32deg);
}

.page-home .home-lineup__visual {
  position: relative;
}

.page-home .home-lineup__img {
  width: 100%;
  height: auto;
  display: block;
  clip-path: polygon(0 0, calc(100% - 1.5rem) 0, 100% 1.5rem, 100% 100%, 0 100%);
}

/* Discipline */
.page-home .home-cards {
  padding: 4.5rem 0;
  background: var(--paper);
  color: var(--charcoal);
}

.page-home .home-cards__head {
  margin-bottom: 2rem;
}

.page-home .home-cards__head .eyebrow {
  color: var(--gold-dark);
}

.page-home .home-cards__head h2 {
  font-family: var(--font-title);
  font-size: var(--fs-h2);
  line-height: var(--lh-head);
  margin: 0.375rem 0 0.5rem;
  color: var(--charcoal);
}

.page-home .home-cards__head .section-desc {
  color: rgba(43, 43, 43, 0.64);
  margin-bottom: 0;
}

.page-home .home-cards__table {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.page-home .card-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 0.875rem;
  background: rgba(255, 255, 255, 0.65);
  border-left: 4px solid transparent;
  padding: 1rem 1.125rem;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-home .card-row:hover {
  background: #fff;
  border-left-color: var(--gold);
}

.page-home .card-row__badge {
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: 700;
  border-radius: 50%;
  color: #fff;
}

.page-home .card-row__badge--red {
  background: var(--red);
}

.page-home .card-row__badge--yellow {
  background: var(--yellow);
  color: var(--charcoal);
}

.page-home .card-row__match {
  font-weight: 600;
}

.page-home .card-row__player,
.page-home .card-row__min {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: rgba(43, 43, 43, 0.6);
}

.page-home .home-cards__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.page-home .home-cards__actions .btn-outline {
  border-color: var(--charcoal);
  color: var(--charcoal);
}

.page-home .home-cards__actions .btn-outline:hover {
  background: var(--charcoal);
  color: var(--paper);
}

/* Bigscreen */
.page-home .home-bigscreen {
  padding: 4.5rem 0;
  background: var(--bg-deep);
}

.page-home .home-bigscreen__inner {
  position: relative;
  padding: 2.5rem;
  display: grid;
  gap: 2.5rem;
  background-color: var(--bg-forest);
  overflow: hidden;
}

.page-home .home-bigscreen__content .eyebrow {
  margin-bottom: 0.375rem;
}

.page-home .home-bigscreen__content h2 {
  font-family: var(--font-title);
  font-size: var(--fs-h2);
  line-height: var(--lh-head);
  color: var(--ivory);
  margin: 0 0 0.875rem;
}

.page-home .home-bigscreen__content p {
  color: rgba(252, 250, 245, 0.74);
  line-height: var(--lh-body);
  margin-bottom: 1.5rem;
  max-width: 52ch;
}

.page-home .home-bigscreen__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.page-home .home-bigscreen__actions .btn-outline {
  border-color: var(--ivory);
  color: var(--ivory);
}

.page-home .home-bigscreen__actions .btn-outline:hover {
  background: var(--ivory);
  color: var(--bg-deep);
}

.page-home .home-bigscreen__preview {
  width: min(100%, 480px);
  margin-inline: auto;
}

.page-home .tv-frame {
  background: #000;
  border: 10px solid var(--charcoal);
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.page-home .tv-frame__screen {
  background: var(--bg-deep);
  border-radius: 0.25rem;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--gold);
}

.page-home .tv-frame__row + .tv-frame__row {
  border-top: 1px dashed rgba(230, 179, 30, 0.2);
  padding-top: 0.5rem;
}

.page-home .tv-frame__stand {
  display: block;
  width: 42%;
  height: 10px;
  background: var(--charcoal);
  margin: 12px auto 0;
  clip-path: polygon(6% 0, 94% 0, 100% 100%, 0% 100%);
}

/* Replay */
.page-home .home-replay {
  padding: 4.5rem 0;
  background: var(--bg-forest);
}

.page-home .home-replay__head {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.page-home .home-replay__head h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-head);
  margin: 0.375rem 0 0.5rem;
  color: var(--ivory);
}

.page-home .home-replay__head .section-desc {
  color: rgba(252, 250, 245, 0.64);
  margin-bottom: 0;
}

.page-home .home-replay__grid {
  display: grid;
  gap: 1.5rem;
}

.page-home .replay-card {
  display: block;
  text-decoration: none;
  background: var(--bg-deep);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.page-home .replay-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
}

.page-home .replay-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 1rem) 0, 100% 1rem, 100% 100%, 0 100%);
}

.page-home .replay-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease);
}

.page-home .replay-card:hover .replay-card__img {
  transform: scale(1.04);
}

.page-home .replay-card__tag {
  position: absolute;
  left: 0.875rem;
  top: 0.875rem;
  background: var(--gold);
  color: var(--bg-deep);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.375rem 0.625rem;
  clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 50%, calc(100% - 6px) 100%, 6px 100%, 0 50%);
}

.page-home .replay-card__title {
  display: block;
  padding: 1rem 1rem 0.25rem;
  font-weight: 700;
  font-size: var(--fs-body);
  color: var(--ivory);
}

.page-home .replay-card__meta {
  display: block;
  padding: 0 1rem 1rem;
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--gold);
}

/* Stats */
.page-home .home-stats {
  position: relative;
  padding: 4.5rem 0;
  background: var(--bg-deep);
}

.page-home .home-stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 55%, rgba(230, 179, 30, 0.06) 55%);
  pointer-events: none;
}

.page-home .home-stats .section-header {
  margin-bottom: 2.25rem;
}

.page-home .home-stats .section-desc {
  color: rgba(252, 250, 245, 0.64);
}

.page-home .home-stats__grid {
  position: relative;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

.page-home .home-stats .stat-card {
  background: var(--bg-forest);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-height: 128px;
}

.page-home .home-stats .stat-label {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  letter-spacing: 0.08em;
  color: rgba(252, 250, 245, 0.66);
}

.page-home .home-stats .stat-value {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--gold);
}

.page-home .home-stats .stat-unit {
  font-size: var(--fs-xs);
  color: rgba(252, 250, 245, 0.52);
}

.page-home .home-stats__foot {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  color: rgba(252, 250, 245, 0.56);
}

.page-home .home-stats__foot a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(230, 179, 30, 0.4);
}

/* Desktop */
@media (min-width: 768px) {
  .page-home .home-hero {
    align-items: center;
    padding: 4rem 0;
  }

  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
    gap: 1rem;
  }

  .page-home .home-hero__dash {
    justify-content: flex-end;
    padding: 0;
  }

  .page-home .home-calendar__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .page-home .home-calendar__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 3rem;
    align-items: start;
  }

  .page-home .home-calendar__visual {
    position: sticky;
    top: 2rem;
  }

  .page-home .home-lineup__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    align-items: center;
    gap: 4rem;
  }

  .page-home .home-lineup__panel {
    padding: 2.5rem;
  }

  .page-home .home-bigscreen__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 3rem;
  }

  .page-home .home-replay__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

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

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