.page-home {
  --hm-line: rgba(22, 56, 79, 0.9);
  --hm-glow: rgba(33, 230, 193, 0.16);
  background: var(--deep);
  color: var(--ice);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

.page-home .hm-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 9vw, 104px) 0 clamp(44px, 7vw, 84px);
  border-bottom: 1px solid var(--fence);
  background:
    radial-gradient(120% 90% at 88% 0%, rgba(33, 230, 193, 0.18), transparent 62%),
    radial-gradient(90% 70% at 6% 100%, rgba(255, 106, 43, 0.14), transparent 70%),
    var(--deep);
}

.page-home .hm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(22, 56, 79, 0.55) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(22, 56, 79, 0.55) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.45;
  pointer-events: none;
}

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

.page-home .hm-hero__bgimg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.26;
  filter: saturate(0.65) contrast(1.08);
}

.page-home .hm-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 27, 46, 0.96) 0%, rgba(7, 27, 46, 0.72) 55%, rgba(7, 27, 46, 0.35) 100%);
}

.page-home .hm-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(28px, 5vw, 48px);
  align-items: center;
}

.page-home .hm-hero__kicker {
  margin: 0 0 18px;
}

.page-home .hm-hero__title {
  margin: 0;
  font-size: clamp(2.2rem, 7vw, 4.2rem);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ice);
}

.page-home .hm-hero__title::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin-top: 22px;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
}

.page-home .hm-hero__lede {
  margin: 20px 0 0;
  max-width: 34ch;
  font-size: var(--fs-base);
  line-height: 1.75;
  color: rgba(234, 244, 247, 0.86);
}

.page-home .hm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-home .hm-hero__visual {
  position: relative;
}

.page-home .hm-pitch {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 24px rgba(33, 230, 193, 0.12));
}

.page-home .hm-band {
  position: relative;
  padding: clamp(52px, 8vw, 104px) 0;
  background: var(--deep);
}

.page-home .hm-band--well {
  background: linear-gradient(180deg, var(--well) 0%, var(--deep) 100%);
  border-top: 1px solid var(--fence);
  border-bottom: 1px solid var(--fence);
}

.page-home .hm-head {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "num note"
    "text text";
  gap: 6px 14px;
  align-items: start;
  margin-bottom: clamp(26px, 4vw, 44px);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--fence);
}

.page-home .chapter__num {
  grid-area: num;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.9rem, 4.4vw, 2.9rem);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--cyan);
  letter-spacing: 0.02em;
}

.page-home .chapter__note {
  grid-area: note;
  align-self: center;
  writing-mode: horizontal-tb;
  font-size: var(--fs-xs);
  letter-spacing: 0.22em;
  color: var(--mist);
  white-space: nowrap;
}

.page-home .hm-head__text {
  grid-area: text;
}

.page-home .hm-head__text h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  line-height: 1.24;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ice);
}

.page-home .hm-head__text p {
  margin: 14px 0 0;
  max-width: 60ch;
  font-size: var(--fs-base);
  line-height: 1.75;
  color: rgba(234, 244, 247, 0.74);
}

.page-home .hm-matches {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-home .hm-match {
  background: var(--navy);
  border: 1px solid var(--fence);
  border-left: 3px solid var(--cyan);
  transition: border-left-color 180ms ease, background 180ms ease;
}

.page-home .hm-match[open] {
  border-left-color: var(--orange);
  background: #0B2338;
}

.page-home .hm-match__sum {
  display: grid;
  gap: 10px;
  padding: 14px 16px 16px;
  cursor: pointer;
  list-style: none;
}

.page-home .hm-match__sum::-webkit-details-marker {
  display: none;
}

.page-home .hm-match__row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-home .hm-match__league {
  font-size: var(--fs-sm);
  letter-spacing: 0.08em;
  color: var(--mist);
}

.page-home .hm-match__clock {
  margin-left: auto;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-xs);
  color: var(--orange);
  letter-spacing: 0.04em;
}

.page-home .hm-match__board {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "home score"
    "away score";
  align-items: center;
  gap: 4px 12px;
}

.page-home .hm-match__team {
  grid-area: home;
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--ice);
  line-height: 1.3;
}

.page-home .hm-match__team--away {
  grid-area: away;
  font-weight: 500;
  color: rgba(234, 244, 247, 0.7);
}

.page-home .hm-match__score {
  grid-area: score;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.page-home .hm-poss {
  display: flex;
  width: 100%;
  height: 4px;
  background: var(--fence);
  overflow: hidden;
}

.page-home .hm-poss__a {
  background: var(--cyan);
}

.page-home .hm-poss__b {
  background: var(--orange);
}

.page-home .hm-w58 { width: 58%; }
.page-home .hm-w42 { width: 42%; }
.page-home .hm-w51 { width: 51%; }
.page-home .hm-w49 { width: 49%; }
.page-home .hm-w47 { width: 47%; }
.page-home .hm-w53 { width: 53%; }
.page-home .hm-w54 { width: 54%; }
.page-home .hm-w46 { width: 46%; }
.page-home .hm-w50 { width: 50%; }
.page-home .hm-w56 { width: 56%; }
.page-home .hm-w44 { width: 44%; }

.page-home .hm-match__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.page-home .hm-form {
  display: inline-flex;
  gap: 4px;
}

.page-home .hm-form__i {
  display: block;
  width: 16px;
  height: 4px;
  background: var(--fence);
}

.page-home .hm-form__i.is-win { background: var(--green); }
.page-home .hm-form__i.is-loss { background: var(--orange); }
.page-home .hm-form__i.is-draw { background: var(--mist); }

.page-home .hm-match__stamp {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-xs);
  color: var(--mist);
}

.page-home .hm-match__body {
  padding: 0 16px 16px;
  border-top: 1px dashed var(--fence);
  margin-top: 2px;
  padding-top: 12px;
}

.page-home .hm-match__body p {
  margin: 0 0 6px;
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: rgba(234, 244, 247, 0.76);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.page-home .hm-match__body p:last-child {
  margin-bottom: 0;
}

.page-home .hm-match__k {
  display: inline-block;
  min-width: 76px;
  font-family: var(--font-sans);
  color: var(--mist);
}

.page-home .hm-matches__note {
  margin: 20px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--fence);
  font-size: var(--fs-sm);
  line-height: 1.8;
  color: var(--mist);
  max-width: 70ch;
}

.page-home .hm-paths {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--fence);
  border: 1px solid var(--fence);
}

.page-home .hm-path {
  position: relative;
  background: var(--navy);
  padding: 24px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 100%);
}

.page-home .hm-path__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-2xl);
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
  opacity: 0.42;
  letter-spacing: 0.04em;
}

.page-home .hm-path__title {
  margin: 0;
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--ice);
}

.page-home .hm-path__desc {
  margin: 0;
  font-size: var(--fs-base);
  line-height: 1.75;
  color: rgba(234, 244, 247, 0.74);
  flex: 1;
}

.page-home .hm-data {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.page-home .hm-data__shot {
  margin: 0;
}

.page-home .hm-data__shot figcaption {
  margin-top: 12px;
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--mist);
}

.page-home .hm-data__panel {
  background: var(--navy);
  border: 1px solid var(--fence);
  border-top: 3px solid var(--cyan);
  padding: 22px 20px 24px;
  display: grid;
  gap: 14px;
}

.page-home .hm-data__cap {
  margin: 0;
  font-size: var(--fs-sm);
  letter-spacing: 0.06em;
  color: var(--mist);
}

.page-home .hm-data__score {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.page-home .hm-data__num {
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--ice);
}

.page-home .hm-data__sep {
  font-size: var(--fs-xl);
  color: var(--fence);
}

.page-home .hm-data__line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 6px;
  border-top: 1px solid var(--fence);
}

.page-home .hm-data__label {
  margin: 0;
  font-size: var(--fs-sm);
  letter-spacing: 0.05em;
  color: var(--mist);
}

.page-home .hm-spark {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .hm-cells {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--fence);
  border: 1px solid var(--fence);
}

.page-home .hm-cell {
  background: var(--deep);
  padding: 12px 14px;
  display: grid;
  gap: 2px;
}

.page-home .hm-cell__v {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--cyan);
  line-height: 1.1;
}

.page-home .hm-cell__l {
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  color: var(--mist);
}

.page-home .hm-read {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: clamp(24px, 4vw, 40px);
  border-top: 1px solid var(--fence);
}

.page-home .hm-read__fig {
  margin: 0;
}

.page-home .hm-read__text h3 {
  margin: 0 0 12px;
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--ice);
}

.page-home .hm-read__text p {
  margin: 0 0 12px;
  font-size: var(--fs-base);
  line-height: 1.8;
  color: rgba(234, 244, 247, 0.76);
  max-width: 42ch;
}

.page-home .hm-read__text p:last-child {
  margin-bottom: 0;
}

.page-home .hm-weekend {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: start;
}

.page-home .hm-weekend__visual {
  position: relative;
}

.page-home .hm-weekend__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(33, 230, 193, 0.18), transparent 65%);
  pointer-events: none;
}

.page-home .hm-tl {
  list-style: none;
  margin: 0;
  padding: 0 0 0 18px;
  position: relative;
}

.page-home .hm-tl::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, var(--cyan), var(--fence) 70%);
}

.page-home .hm-tl__item {
  position: relative;
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 14px;
  padding: 14px 0;
  align-items: start;
}

.page-home .hm-tl__item::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 22px;
  width: 7px;
  height: 7px;
  background: var(--cyan);
  transform: rotate(45deg);
}

.page-home .hm-tl__item--gap::before {
  background: var(--orange);
}

.page-home .hm-tl__time {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.04em;
  padding-top: 2px;
}

.page-home .hm-tl__name {
  margin: 0 0 4px;
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--ice);
  line-height: 1.5;
}

.page-home .hm-tl__meta {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--mist);
}

.page-home .hm-weekend__notes {
  list-style: none;
  margin: clamp(26px, 4vw, 44px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--fence);
  border: 1px solid var(--fence);
}

.page-home .hm-weekend__notes li {
  background: var(--navy);
  padding: 16px 18px;
  font-size: var(--fs-base);
  line-height: 1.75;
  color: rgba(234, 244, 247, 0.76);
}

.page-home .hm-weekend__notes strong {
  display: block;
  margin-bottom: 4px;
  font-size: var(--fs-sm);
  letter-spacing: 0.08em;
  color: var(--cyan);
  font-weight: 700;
}

.page-home .hm-compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--fence);
  border: 1px solid var(--fence);
}

.page-home .hm-compare__col {
  background: var(--navy);
  padding: 22px 20px 24px;
}

.page-home .hm-compare__tag {
  margin: 0 0 16px;
  display: inline-block;
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  color: var(--yellow);
  border: 1px solid var(--yellow);
}

.page-home .hm-compare__tag--v4 {
  color: var(--cyan);
  border-color: var(--cyan);
}

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

.page-home .hm-compare__list li {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--fence);
}

.page-home .hm-compare__list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-home .hm-compare__list span {
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  color: var(--mist);
}

.page-home .hm-compare__list b {
  font-size: var(--fs-base);
  font-weight: 500;
  line-height: 1.7;
  color: var(--ice);
}

.page-home .hm-compare__more {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 0;
}

.page-home .hm-service {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--fence);
  border: 1px solid var(--fence);
}

.page-home .hm-service__cell {
  background: var(--navy);
  padding: 22px 20px 24px;
}

.page-home .hm-service__cell h3 {
  margin: 0 0 10px;
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--cyan);
}

.page-home .hm-service__cell p {
  margin: 0;
  font-size: var(--fs-base);
  line-height: 1.8;
  color: rgba(234, 244, 247, 0.76);
}

.page-home .hm-service__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 26px 0 0;
}

.page-home .hm-service__cta span {
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--mist);
}

@media (min-width: 640px) {
  .page-home .hm-matches {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .hm-cells {
    grid-template-columns: repeat(4, 1fr);
  }

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

@media (min-width: 900px) {
  .page-home .hm-hero__inner {
    grid-template-columns: 7fr 5fr;
  }

  .page-home .hm-head {
    grid-template-columns: auto 24px 1fr;
    grid-template-areas: "num note text";
    align-items: center;
    gap: 0 20px;
  }

  .page-home .chapter__note {
    writing-mode: vertical-rl;
    letter-spacing: 0.3em;
    align-self: start;
    padding-top: 6px;
  }

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

  .page-home .hm-data {
    grid-template-columns: 5fr 7fr;
    gap: 36px;
  }

  .page-home .hm-read {
    grid-template-columns: 5fr 7fr;
    gap: 36px;
    align-items: center;
  }

  .page-home .hm-weekend {
    grid-template-columns: 5fr 7fr;
    gap: 40px;
  }

  .page-home .hm-compare {
    grid-template-columns: 1fr 1fr;
  }

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

@media (min-width: 1080px) {
  .page-home .hm-matches {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hm-match,
  .page-home .hm-path {
    transition: none;
  }
}
</main>
