.page-home {
  background: var(--sand);
  color: var(--text);
  overflow-x: clip;
}

/* ---------- Hero ---------- */

.page-home .home-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(540px, 84vh, 820px);
  padding: clamp(88px, 15vw, 132px) 0 clamp(34px, 6vw, 60px);
  background: var(--ink);
  overflow: hidden;
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 50%;
  opacity: .44;
}

.page-home .home-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(104deg, rgba(15, 26, 20, .96) 0%, rgba(15, 26, 20, .84) 40%, rgba(15, 26, 20, .3) 100%),
    repeating-linear-gradient(90deg, rgba(110, 158, 92, .07) 0 1px, transparent 1px 86px);
}

.page-home .home-hero__inner {
  position: relative;
  width: 100%;
}

.page-home .home-hero__eyebrow {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid rgba(228, 178, 60, .5);
  color: var(--ref);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
}

.page-home .home-hero__cols {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
  margin-top: clamp(20px, 3vw, 32px);
}

.page-home .home-hero__title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(46px, 12.4vw, 150px);
  line-height: .86;
  letter-spacing: -.035em;
  color: var(--paper);
}

.page-home .home-hero__lead {
  max-width: 46ch;
  margin: clamp(18px, 2.6vw, 28px) 0 0;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.72;
  color: rgba(232, 227, 217, .88);
}

.page-home .home-hero__actions {
  margin-top: clamp(22px, 3.2vw, 34px);
}

.page-home .home-hero__jump {
  align-self: end;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid rgba(232, 227, 217, .16);
  border-radius: var(--radius);
  background: rgba(232, 227, 217, .07);
  backdrop-filter: blur(8px);
}

.page-home .home-hero__jump-title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  color: rgba(232, 227, 217, .6);
}

.page-home .home-hero__jump-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.page-home .home-hero__jump-list a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 11px 10px;
  border-radius: var(--radius);
  color: var(--paper);
  font-size: 15px;
  text-decoration: none;
  transition: background .18s var(--ease), color .18s var(--ease);
}

.page-home .home-hero__jump-list a:hover,
.page-home .home-hero__jump-list a:focus-visible {
  background: var(--grass);
}

.page-home .home-hero__jump-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--ref);
}

/* ---------- Season bar ---------- */

.page-home .home-seasonbar {
  margin-top: clamp(30px, 4.6vw, 52px);
  padding-top: 18px;
  border-top: 1px solid rgba(232, 227, 217, .18);
}

.page-home .home-seasonbar__tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 10px;
  scrollbar-width: none;
}

.page-home .home-seasonbar__tabs::-webkit-scrollbar {
  display: none;
}

.page-home .home-seasonbar__tabs .yt-tab {
  flex: 0 0 auto;
  scroll-snap-align: start;
  padding: 9px 18px;
  border: 1px solid rgba(232, 227, 217, .22);
  border-radius: 999px;
  background: rgba(232, 227, 217, .05);
  color: rgba(232, 227, 217, .74);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}

.page-home .home-seasonbar__tabs .yt-tab:hover,
.page-home .home-seasonbar__tabs .yt-tab:focus-visible {
  border-color: rgba(228, 178, 60, .6);
  color: var(--paper);
}

.page-home .home-seasonbar__tabs .yt-tab[aria-selected="true"],
.page-home .home-seasonbar__tabs .yt-tab.is-active {
  background: var(--ref);
  border-color: var(--ref);
  color: var(--ink);
  font-weight: 700;
}

.page-home .home-seasonbar__panels {
  margin-top: 14px;
}

.page-home .home-seasonbar__panels .yt-panelbox {
  display: none;
  padding: 15px 18px;
  border-left: 3px solid var(--grass);
  background: rgba(232, 227, 217, .06);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: rgba(232, 227, 217, .86);
  font-size: 15px;
  line-height: 1.72;
}

.page-home .home-seasonbar__panels .yt-panelbox[data-active] {
  display: block;
}

.page-home .home-seasonbar__panels:not(:has([data-active])) > :first-child {
  display: block;
}

/* ---------- Scores ---------- */

.page-home .home-scores {
  padding: clamp(56px, 8.6vw, 108px) 0 clamp(48px, 7vw, 88px);
  background: var(--sand);
}

.page-home .home-scores__head {
  max-width: 62ch;
}

.page-home .home-scores__lead {
  margin: 16px 0 0;
  font-size: 17px;
  line-height: 1.76;
  color: var(--text-soft);
}

.page-home .home-scores__grid {
  display: grid;
  gap: 1px;
  margin-top: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}

.page-home .home-score {
  padding: clamp(24px, 3.6vw, 42px);
  background: var(--paper);
}

.page-home .home-score__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(16px, 2.4vw, 24px);
}

.page-home .home-score__num {
  display: flex;
  align-items: baseline;
  margin: 0;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: clamp(56px, 11.5vw, 124px);
  line-height: .88;
  letter-spacing: -.05em;
  color: var(--red);
}

.page-home .home-score__num i {
  font-style: normal;
  padding-inline: .12em;
  font-size: .36em;
  color: var(--stone);
}

.page-home .home-score__read {
  max-width: 46ch;
  margin: clamp(16px, 2.2vw, 24px) 0 0;
  font-size: 16px;
  line-height: 1.74;
  color: var(--text-soft);
}

/* ---------- Modules ---------- */

.page-home .home-modules {
  padding: clamp(56px, 8.6vw, 108px) 0;
  background: var(--paper);
}

.page-home .home-modules__head {
  max-width: 60ch;
}

.page-home .home-modules__lead {
  margin: 16px 0 0;
  font-size: 17px;
  line-height: 1.74;
  color: var(--text-soft);
}

.page-home .home-modules__grid {
  display: grid;
  gap: 16px;
  margin-top: clamp(28px, 4vw, 48px);
}

.page-home .home-mod {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-top: 3px solid var(--grass);
  border-radius: var(--radius);
  background: var(--sand);
}

.page-home .home-mod--table {
  border-top-color: var(--ref);
}

.page-home .home-mod--youth {
  border-top-color: var(--moss);
}

.page-home .home-mod--venue {
  border-top-color: var(--wood);
}

.page-home .home-mod__idx {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--stone);
}

.page-home .home-mod__title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(23px, 2.6vw, 33px);
  line-height: 1.08;
  letter-spacing: -.015em;
  color: var(--ink);
}

.page-home .home-mod__text {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.74;
  color: var(--text-soft);
}

.page-home .home-mod__for {
  margin: 0;
  padding-left: 13px;
  border-left: 2px solid var(--line);
  font-size: 14px;
  line-height: 1.66;
  color: var(--stone);
}

.page-home .home-mod__link {
  margin-top: auto;
  align-self: flex-start;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 600;
  color: var(--grass);
  text-decoration: none;
  transition: color .18s var(--ease);
}

.page-home .home-mod__link:hover,
.page-home .home-mod__link:focus-visible {
  color: var(--ink);
}

.page-home .home-mod__media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-2);
}

.page-home .home-mod__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .home-mod--youth .home-mod__media img {
  aspect-ratio: 3 / 4;
}

.page-home .home-mod--venue .home-mod__media img {
  aspect-ratio: 3 / 2;
}

/* ---------- Compare ---------- */

.page-home .home-compare {
  padding: clamp(56px, 8.6vw, 108px) 0;
  background: var(--sand);
}

.page-home .home-compare__intro {
  max-width: 62ch;
}

.page-home .home-compare__intro .yt-lead {
  margin-top: 16px;
}

.page-home .home-compare__wrap {
  margin-top: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.page-home .home-compare__caption {
  padding: 16px 18px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--stone);
  border-bottom: 1px solid var(--line);
}

.page-home .home-compare__table a {
  color: var(--grass);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.page-home .home-compare__table a:hover,
.page-home .home-compare__table a:focus-visible {
  color: var(--ink);
}

.page-home .home-compare__tail {
  margin: clamp(20px, 3vw, 30px) 0 0;
  font-size: 16px;
  line-height: 1.76;
  color: var(--text-soft);
}

.page-home .home-compare__tail a {
  color: var(--grass);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.page-home .home-compare__tail a:hover,
.page-home .home-compare__tail a:focus-visible {
  color: var(--ink);
}

/* ---------- Timeline band ---------- */

.page-home .home-timeline {
  padding: clamp(56px, 8.6vw, 108px) 0;
  background: var(--ink);
  color: var(--sand);
}

.page-home .home-timeline__head {
  max-width: 58ch;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.page-home .home-timeline .yt-eyebrow {
  color: var(--ref);
}

.page-home .home-timeline .yt-h2 {
  color: var(--paper);
}

.page-home .home-timeline__grid {
  display: grid;
  gap: clamp(28px, 4vw, 52px);
}

.page-home .home-tl {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 26px;
  border-left: 1px solid rgba(232, 227, 217, .2);
}

.page-home .home-tl__item {
  position: relative;
  padding-bottom: 26px;
}

.page-home .home-tl__item:last-child {
  padding-bottom: 0;
}

.page-home .home-tl__item::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--grass);
  border: 2px solid var(--ink);
  box-shadow: 0 0 0 1px rgba(232, 227, 217, .32);
  transition: background .2s var(--ease), box-shadow .2s var(--ease);
}

.page-home .home-tl__item.is-active::before {
  background: var(--ref);
  box-shadow: 0 0 0 1px var(--ref);
}

.page-home .home-tl__year {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ref);
}

.page-home .home-tl__text {
  margin: 0;
  max-width: 34ch;
  font-size: 15.5px;
  line-height: 1.72;
  color: rgba(232, 227, 217, .84);
}

.page-home .home-timeline__media {
  margin: 0;
}

.page-home .home-timeline__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 12 / 7;
  object-fit: cover;
  border-radius: var(--radius);
}

.page-home .home-timeline__media .yt-media__cap {
  margin-top: 12px;
  color: rgba(232, 227, 217, .6);
}

.page-home .home-cadence {
  list-style: none;
  display: grid;
  gap: 1px;
  margin: clamp(34px, 5vw, 56px) 0 0;
  padding: 0;
  border-top: 1px solid rgba(232, 227, 217, .18);
  border-bottom: 1px solid rgba(232, 227, 217, .18);
}

.page-home .home-cadence__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 2px;
  border-bottom: 1px solid rgba(232, 227, 217, .1);
}

.page-home .home-cadence__item:last-child {
  border-bottom: 0;
}

.page-home .home-cadence__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: rgba(232, 227, 217, .58);
}

.page-home .home-cadence__value {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--paper);
}

.page-home .home-timeline__foot {
  margin-top: clamp(26px, 3.6vw, 40px);
}

.page-home .home-timeline__foot p {
  max-width: 68ch;
  margin: 0;
  font-size: 16px;
  line-height: 1.76;
  color: rgba(232, 227, 217, .78);
}

.page-home .home-timeline__foot a {
  color: var(--ref);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.page-home .home-timeline__foot a:hover,
.page-home .home-timeline__foot a:focus-visible {
  color: var(--paper);
}

/* ---------- Reveal / motion ---------- */

.page-home .yt-reveal.is-in .home-score__num {
  animation: home-flip .55s var(--ease) both;
}

@keyframes home-flip {
  from {
    opacity: 0;
    transform: translateY(-18px) rotateX(-38deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */

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

  .page-home .home-cadence__item {
    padding: 20px 22px;
    border-bottom: 0;
    border-left: 1px solid rgba(232, 227, 217, .1);
  }

  .page-home .home-cadence__item:first-child,
  .page-home .home-cadence__item:nth-child(3) {
    border-left: 0;
  }

  .page-home .home-cadence__item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(232, 227, 217, .1);
  }

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

@media (min-width: 900px) {
  .page-home .home-hero__cols {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, .85fr);
    align-items: end;
  }

  .page-home .home-hero__jump-list a {
    padding: 12px 12px;
  }

  .page-home .home-timeline__grid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: start;
  }

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

  .page-home .home-cadence__item {
    border-left: 1px solid rgba(232, 227, 217, .1);
    border-bottom: 0;
  }

  .page-home .home-cadence__item:first-child {
    border-left: 0;
  }
}

@media (min-width: 1020px) {
  .page-home .home-modules__grid {
    grid-template-columns: repeat(12, 1fr);
    align-items: start;
  }

  .page-home .home-mod--schedule {
    grid-column: 1 / span 7;
    grid-row: 1;
  }

  .page-home .home-mod--table {
    grid-column: 8 / span 5;
    grid-row: 1;
  }

  .page-home .home-mod--youth {
    grid-column: 1 / span 5;
    grid-row: 2;
  }

  .page-home .home-mod--venue {
    grid-column: 6 / span 7;
    grid-row: 2;
  }

  .page-home .home-mod--table,
  .page-home .home-mod--schedule {
    min-height: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .yt-reveal,
  .page-home .yt-reveal.is-in .home-score__num {
    animation: none;
    transform: none;
    opacity: 1;
  }

  .page-home .home-tl__item::before,
  .page-home .home-seasonbar__tabs .yt-tab,
  .page-home .home-hero__jump-list a {
    transition: none;
  }
}
