.page-home {
  --ph-red: #EF4A2A;
  --ph-blue: #0B1F33;
  --ph-yellow: #FFC72C;
  --ph-cream: #F7F3E8;
  --ph-ink: #1A1714;
  --ph-gray: #E5E1D8;
  --ph-green: #2E9E6B;
  overflow-x: clip;
  background: var(--ph-cream);
  color: var(--ph-ink);
  font-family: var(--sx-font-body);
  line-height: 1.7;
}

.page-home .ph-hero {
  position: relative;
  isolation: isolate;
  padding: calc(var(--sx-header-h) + 48px) 0 84px;
  background:
    radial-gradient(900px 420px at 88% 8%, rgba(239, 74, 42, .5), transparent 62%),
    linear-gradient(135deg, #0B1F33 0%, #0B1F33 55%, #122b47 100%);
  color: var(--ph-cream);
}

.page-home .ph-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(115deg, transparent 0 62%, rgba(239, 74, 42, .8) 62% 67%, transparent 67% 100%);
  pointer-events: none;
}

.page-home .ph-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 56px;
  background: var(--ph-red);
  clip-path: polygon(0 0, 100% 0, 100% 42%, 0 100%);
  z-index: 0;
  pointer-events: none;
}

.page-home .ph-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 44px;
}

.page-home .ph-hero__copy {
  display: grid;
  justify-items: start;
  gap: 20px;
}

.page-home .ph-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 8px 14px;
  background: rgba(239, 74, 42, .92);
  color: var(--ph-cream);
  font-family: var(--sx-font-mono);
  font-size: .82rem;
  letter-spacing: .08em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}

.page-home .ph-hero__title {
  margin: 0;
  font-family: var(--sx-font-display);
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 1.06;
  text-transform: uppercase;
  transform: skewX(-3deg);
}

.page-home .ph-hero__lead {
  max-width: 34em;
  margin: 0;
  font-size: 1.02rem;
  color: rgba(247, 243, 232, .92);
}

.page-home .ph-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.page-home .ph-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  font-family: var(--sx-font-body);
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: transform .25s var(--sx-ease), box-shadow .25s var(--sx-ease);
}

.page-home .ph-btn--main {
  background: var(--ph-red);
  color: #fff;
  box-shadow: 6px 6px 0 rgba(255, 199, 44, .5);
}

.page-home .ph-btn--main:hover {
  transform: translateY(-2px) rotate(-1deg);
}

.page-home .ph-btn--outline {
  background: transparent;
  color: var(--ph-cream);
  border: 2px solid rgba(247, 243, 232, .55);
}

.page-home .ph-btn--light {
  background: var(--ph-yellow);
  color: var(--ph-ink);
}

.page-home .ph-btn--light:hover {
  transform: translateY(-2px);
}

.page-home .ph-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin: 8px 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid rgba(247, 243, 232, .22);
}

.page-home .ph-hero__stats li {
  display: grid;
  gap: 2px;
}

.page-home .ph-hero__stats strong {
  font-family: var(--sx-font-mono);
  font-size: 1.7rem;
  line-height: 1.2;
  color: var(--ph-yellow);
}

.page-home .ph-hero__stats span {
  font-size: .85rem;
  opacity: .84;
}

.page-home .ph-hero__visual {
  display: grid;
  gap: 14px;
  justify-items: end;
}

.page-home .ph-match-card {
  margin: 0;
  width: 100%;
  max-width: 520px;
  background: var(--ph-cream);
  color: var(--ph-ink);
  box-shadow: 14px 18px 0 rgba(239, 74, 42, .38);
  transform: rotate(1.5deg);
}

.page-home .ph-match-card img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .ph-match-card__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-family: var(--sx-font-mono);
  font-size: .84rem;
}

.page-home .ph-match-card__status {
  margin-left: auto;
  color: var(--ph-green);
  font-weight: 700;
}

.page-home .ph-match-card__tag {
  background: var(--ph-blue);
  color: var(--ph-cream);
  padding: 3px 8px;
}

.page-home .ph-hero__note {
  margin: 0;
  padding: 6px 12px;
  background: rgba(11, 31, 51, .78);
  color: #c6d0dd;
  font-family: var(--sx-font-mono);
  font-size: .76rem;
}

.page-home .ph-entry,
.page-home .ph-report,
.page-home .ph-filter {
  padding: 68px 0;
}

.page-home .ph-section-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 30px;
}

.page-home .ph-section-head .sx-index {
  font-family: var(--sx-font-mono);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--ph-red);
}

.page-home .ph-section-head__eyebrow {
  margin: 0 0 4px;
  font-family: var(--sx-font-mono);
  font-size: .76rem;
  letter-spacing: .16em;
  color: var(--ph-red);
}

.page-home .ph-section-head h2 {
  margin: 0;
  font-family: var(--sx-font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.18;
}

.page-home .ph-entry__grid {
  display: grid;
  gap: 20px;
}

.page-home .ph-entry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px;
  background: var(--ph-gray);
  border-top: 4px solid var(--ph-red);
}

.page-home .ph-entry-card--dark {
  background: var(--ph-blue);
  color: var(--ph-cream);
  border-top-color: var(--ph-yellow);
}

.page-home .ph-entry-card h3 {
  margin: 0;
  font-family: var(--sx-font-display);
  font-size: 1.2rem;
  line-height: 1.3;
}

.page-home .ph-entry-card__desc {
  margin: 0;
  font-size: .95rem;
}

.page-home .ph-entry-card--dark .ph-entry-card__desc {
  color: rgba(247, 243, 232, .9);
}

.page-home .ph-entry-card__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .94rem;
}

.page-home .ph-entry-card__list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-home .ph-entry-card__action {
  margin-top: auto;
  align-self: flex-start;
  font-weight: 700;
  color: var(--ph-red);
  text-decoration: none;
}

.page-home .ph-entry-card--dark .ph-entry-card__action {
  color: var(--ph-yellow);
}

.page-home .ph-entry-card__contact {
  margin: 6px 0 0;
  padding-top: 12px;
  border-top: 1px dashed rgba(26, 23, 20, .25);
  font-family: var(--sx-font-mono);
  font-size: .82rem;
  font-style: normal;
  color: #555;
}

.page-home .ph-entry-card--dark .ph-entry-card__contact {
  border-top-color: rgba(247, 243, 232, .2);
  color: rgba(247, 243, 232, .72);
}

.page-home .ph-qr-box {
  background: var(--ph-cream);
  color: var(--ph-ink);
  padding: 6px 12px;
}

.page-home .ph-qr-box summary {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
}

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

.page-home .ph-qr-box summary::before {
  content: "▣";
  color: var(--ph-red);
  font-size: 1.1rem;
}

.page-home .ph-qr-box__art {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 14px 0 6px;
}

.page-home .ph-qr-box__art p {
  margin: 0;
  font-family: var(--sx-font-mono);
  font-size: .82rem;
}

.page-home .ph-qr-box__svg {
  width: 136px;
  height: auto;
  background: var(--ph-blue);
  box-shadow: 6px 6px 0 var(--ph-yellow);
}

.page-home .ph-report {
  background: var(--ph-cream);
}

.page-home .ph-report__grid {
  display: grid;
  gap: 36px;
  align-items: start;
}

.page-home .ph-report__copy {
  display: grid;
  gap: 24px;
}

.page-home .ph-report__copy > p:first-child {
  max-width: 40em;
  margin: 0;
  font-size: 1.04rem;
}

.page-home .ph-report__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .ph-stat {
  display: grid;
  gap: 6px;
  padding: 24px 18px;
  background: var(--ph-blue);
  color: var(--ph-cream);
  border-bottom: 4px solid var(--ph-red);
}

.page-home .ph-stat__num {
  font-family: var(--sx-font-mono);
  font-size: 1.85rem;
  line-height: 1.1;
  color: var(--ph-yellow);
}

.page-home .ph-stat__label {
  font-size: .86rem;
  opacity: .92;
}

.page-home .ph-report__shot {
  margin: 0;
  padding: 12px;
  background: var(--ph-blue);
  transform: rotate(-1deg);
  box-shadow: 10px 10px 0 rgba(239, 74, 42, .3);
}

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

.page-home .ph-report__shot figcaption {
  padding-top: 10px;
  color: var(--ph-cream);
  font-family: var(--sx-font-mono);
  font-size: .8rem;
}

.page-home .ph-timeline {
  display: grid;
  gap: 18px;
  margin: 48px 0 0;
  padding: 0 0 0 22px;
  list-style: none;
  border-left: 3px solid var(--ph-red);
}

.page-home .ph-timeline li {
  position: relative;
}

.page-home .ph-timeline li::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 6px;
  width: 11px;
  height: 11px;
  background: var(--ph-yellow);
  border: 2px solid var(--ph-blue);
  transform: rotate(45deg);
}

.page-home .ph-timeline li span {
  display: block;
  font-family: var(--sx-font-mono);
  font-size: .78rem;
  letter-spacing: .1em;
  color: var(--ph-red);
}

.page-home .ph-recap {
  padding: 68px 0;
  background: var(--ph-blue);
  color: var(--ph-cream);
}

.page-home .ph-recap .ph-section-head .sx-index {
  color: var(--ph-yellow);
}

.page-home .ph-recap .ph-section-head h2 {
  color: var(--ph-cream);
}

.page-home .ph-recap__grid {
  display: grid;
  gap: 22px;
}

.page-home .ph-recap-card {
  display: grid;
  gap: 0;
  overflow: hidden;
  background: var(--ph-cream);
  color: var(--ph-ink);
  border-bottom: 4px solid var(--ph-red);
  transition: transform .3s var(--sx-ease), box-shadow .3s var(--sx-ease);
}

.page-home .ph-recap-card:hover {
  transform: translateY(-4px) rotate(.5deg);
  box-shadow: 8px 10px 0 rgba(255, 199, 44, .35);
}

.page-home .ph-recap-card__media img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .ph-recap-card__body {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px;
}

.page-home .ph-recap-card h3 {
  margin: 0;
  font-family: var(--sx-font-display);
  font-size: 1.1rem;
  line-height: 1.35;
}

.page-home .ph-recap-card p {
  margin: 0;
  font-size: .94rem;
}

.page-home .ph-recap-card a {
  justify-self: start;
  font-weight: 700;
  color: var(--ph-red);
  text-decoration: none;
}

.page-home .ph-recap-card a::after {
  content: " →";
}

.page-home .ph-recap__note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 32px 0 0;
  padding: 16px 18px;
  background: rgba(255, 199, 44, .14);
  border-left: 4px solid var(--ph-yellow);
  font-size: .95rem;
}

.page-home .ph-recap__note a {
  margin-left: auto;
  font-weight: 700;
  color: var(--ph-yellow);
  text-decoration: none;
}

.page-home .ph-filter-box {
  position: relative;
  padding: 0 0 22px;
  background: var(--ph-gray);
  border: 1px solid rgba(26, 23, 20, .08);
}

.page-home .ph-filter-box__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-home .ph-filter-box__tabs {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 3px solid var(--ph-blue);
}

.page-home .ph-filter-box__tab {
  padding: 14px 26px;
  background: transparent;
  border-right: 1px solid rgba(11, 31, 51, .12);
  font-weight: 700;
  cursor: pointer;
  transition: background .25s var(--sx-ease), color .25s var(--sx-ease);
}

.page-home .ph-filter-box__input:checked ~ .ph-filter-box__tabs label[for="ph-sport-football"],
.page-home .ph-filter-box__input:checked ~ .ph-filter-box__tabs label[for="ph-sport-basketball"],
.page-home .ph-filter-box__input:checked ~ .ph-filter-box__tabs label[for="ph-sport-tennis"] {
  background: var(--ph-blue);
  color: var(--ph-yellow);
}

.page-home .ph-filter-box__input:focus-visible + .ph-filter-box__tab,
.page-home .ph-filter-box__input:focus + .ph-filter-box__tab {
  outline: 3px solid var(--ph-yellow);
  outline-offset: 2px;
}

.page-home .ph-filter-box__panels {
  padding: 0;
}

.page-home .ph-filter-box__panel {
  display: none;
  padding: 12px 18px 0;
}

.page-home #ph-sport-football:checked ~ .ph-filter-box__panels .ph-filter-box__panel--football,
.page-home #ph-sport-basketball:checked ~ .ph-filter-box__panels .ph-filter-box__panel--basketball,
.page-home #ph-sport-tennis:checked ~ .ph-filter-box__panels .ph-filter-box__panel--tennis {
  display: block;
}

.page-home .ph-live-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .ph-live-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  align-items: center;
  padding: 14px 4px;
  border-bottom: 1px dashed rgba(11, 31, 51, .2);
}

.page-home .ph-live-row:last-child {
  border-bottom: 0;
}

.page-home .ph-live-row__name {
  font-weight: 700;
}

.page-home .ph-live-row__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  color: var(--ph-green);
}

.page-home .ph-live-row__heat {
  justify-self: start;
  padding: 2px 8px;
  background: rgba(239, 74, 42, .08);
  font-family: var(--sx-font-mono);
  font-size: .78rem;
  color: var(--ph-red);
}

.page-home .ph-filter-box__tip {
  margin: 0;
  padding: 16px 18px 0;
  font-family: var(--sx-font-mono);
  font-size: .8rem;
  color: #555;
}

.page-home .ph-local {
  position: relative;
  overflow: hidden;
  padding: 68px 0;
  background: var(--ph-blue);
  color: var(--ph-cream);
}

.page-home .ph-local__bg {
  position: absolute;
  inset: 0;
}

.page-home .ph-local__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .5;
}

.page-home .ph-local__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 31, 51, .94) 0%, rgba(11, 31, 51, .58) 100%);
}

.page-home .ph-local .sx-container {
  position: relative;
  z-index: 1;
}

.page-home .ph-local .sx-index {
  color: var(--ph-yellow);
}

.page-home .ph-local h2 {
  margin: 12px 0 16px;
  font-family: var(--sx-font-display);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  line-height: 1.2;
}

.page-home .ph-local p {
  max-width: 36em;
  margin: 0 0 26px;
  font-size: 1rem;
}

.page-home .ph-local__link {
  margin-left: 18px;
  font-weight: 700;
  color: var(--ph-yellow);
  text-decoration: none;
}

@media (min-width: 700px) {
  .page-home .ph-report__stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .ph-recap__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .ph-live-row {
    grid-template-columns: 2fr 1.2fr .7fr;
  }

  .page-home .ph-live-row__heat {
    justify-self: end;
  }

  .page-home .ph-timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 52px;
    padding: 24px 0 0;
    border-left: 0;
    border-top: 3px solid var(--ph-red);
  }

  .page-home .ph-timeline li::before {
    left: auto;
    top: -27px;
  }
}

@media (min-width: 960px) {
  .page-home .ph-hero__inner {
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 60px;
  }

  .page-home .ph-hero {
    min-height: 660px;
    display: flex;
    align-items: center;
  }

  .page-home .ph-hero__visual {
    justify-items: center;
  }

  .page-home .ph-entry__grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }

  .page-home .ph-report__grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }

  .page-home .ph-filter-box__panels {
    padding: 0 12px;
  }

  .page-home .ph-live-row {
    grid-template-columns: 2fr 1.4fr .7fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .ph-match-card,
  .page-home .ph-report__shot,
  .page-home .ph-hero__title,
  .page-home .ph-recap-card,
  .page-home .ph-btn,
  .page-home .ph-recap-card:hover,
  .page-home .ph-btn--main:hover,
  .page-home .ph-btn--light:hover {
    transform: none;
    transition: none;
  }
}
