.page-home {
  overflow-x: clip;
  background: var(--ink);
  color: var(--paper-cool);
  font-family: var(--font-body);
}

.page-home h1,
.page-home h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--paper-cool);
}

.page-home p {
  margin: 0;
}

.page-home img {
  max-width: 100%;
  height: auto;
}

.page-home .eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* ---------- Hero ---------- */
.page-home .hero {
  position: relative;
  padding-block: clamp(36px, 6vw, 76px) clamp(48px, 7vw, 88px);
  background:
    radial-gradient(1100px 560px at 78% 8%, rgba(154, 247, 229, 0.1), transparent 62%),
    radial-gradient(860px 520px at 6% 92%, rgba(255, 107, 44, 0.09), transparent 60%),
    var(--ink);
  border-bottom: 1px solid var(--line-soft);
}

.page-home .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(201, 216, 211, 0.16) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.35;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 28%, #000 72%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 28%, #000 72%, transparent);
}

.page-home .hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.page-home .hero-eyebrow {
  color: var(--cyan);
}

.page-home .hero-title {
  margin-top: 16px;
  font-size: clamp(38px, 6.6vw, 76px);
  line-height: 0.98;
}

.page-home .hero-title em {
  font-style: normal;
  color: var(--cyan);
}

.page-home .hero-lede {
  margin-top: 22px;
  max-width: 48ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.85;
  color: rgba(232, 246, 242, 0.78);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.page-home .hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 38px 0 0;
  background: var(--line-soft);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}

.page-home .hero-meta > div {
  padding: 14px 16px;
  background: rgba(14, 42, 36, 0.92);
}

.page-home .hero-meta dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.page-home .hero-meta dd {
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-size: clamp(19px, 2.6vw, 26px);
  font-weight: 700;
  color: var(--amber);
  line-height: 1.1;
}

.page-home .hero-meta dd span {
  font-size: 12px;
  font-weight: 500;
  color: var(--mist);
}

.page-home .hero-visual {
  position: relative;
  min-width: 0;
}

.page-home .visual-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 560px;
  margin-inline: auto;
  overflow: hidden;
  background: var(--ink-deep);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
}

.page-home .visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: saturate(0.8) contrast(1.08);
}

.page-home .visual-pitch {
  position: absolute;
  inset: 8%;
  width: 84%;
  height: 84%;
  color: rgba(154, 247, 229, 0.55);
  pointer-events: none;
}

.page-home .visual-pitch g * {
  stroke-dasharray: 680;
  stroke-dashoffset: 680;
  animation: home-draw 2.6s var(--ease) forwards;
}

@keyframes home-draw {
  to {
    stroke-dashoffset: 0;
  }
}

.page-home .visual-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: grid;
  gap: 2px;
  padding: 12px 18px 12px 16px;
  background: rgba(4, 16, 13, 0.88);
  border-left: 3px solid var(--orange);
}

.page-home .badge-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--mist);
}

.page-home .badge-value {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: var(--amber);
}

.page-home .badge-state {
  font-size: 11.5px;
  color: var(--cyan);
  letter-spacing: 0.06em;
}

/* ---------- Schedule band ---------- */
.page-home .sched {
  padding-block: clamp(18px, 2.6vw, 28px);
  background: var(--ink-2);
  border-bottom: 1px solid var(--line-soft);
}

.page-home .sched-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 16px;
}

.page-home .sched-link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.page-home .sched-link:hover,
.page-home .sched-link:focus-visible {
  border-bottom-color: var(--cyan);
}

.page-home .sched-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.page-home .sched-viewport:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.page-home .sched-track {
  display: flex;
  width: max-content;
  margin: 0;
  padding: 0 0 4px;
  list-style: none;
  animation: home-marquee 52s linear infinite;
}

.page-home .sched-viewport:hover .sched-track,
.page-home .sched-viewport:focus-within .sched-track {
  animation-play-state: paused;
}

@keyframes home-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.page-home .sched-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 10px;
  padding: 10px 16px;
  white-space: nowrap;
  background: var(--pitch);
  border-left: 2px solid var(--cyan);
}

.page-home .sched-league {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--paper-cool);
}

.page-home .sched-round {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--mist);
}

.page-home .sched-time {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--amber);
}

.page-home .sched-tag {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--orange);
  border: 1px solid rgba(255, 107, 44, 0.4);
  padding: 2px 7px;
}

/* ---------- Archive layout ---------- */
.page-home .archive {
  padding-block: clamp(48px, 7vw, 96px);
  background: var(--ink);
}

.page-home .archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
}

.page-home .archive-axis {
  min-width: 0;
  border-top: 2px solid var(--orange);
  padding-top: 16px;
}

.page-home .axis-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--mist);
  margin-bottom: 10px;
}

.page-home .axis-list {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0 0 6px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
}

.page-home .axis-list li {
  flex: 0 0 auto;
}

.page-home .axis-link {
  display: block;
  padding: 9px 14px;
  font-size: 13.5px;
  color: var(--mist);
  text-decoration: none;
  white-space: nowrap;
  background: rgba(18, 59, 50, 0.5);
  border-bottom: 2px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.page-home .axis-link:hover,
.page-home .axis-link:focus-visible,
.page-home .axis-link[data-active] {
  color: var(--paper-cool);
  border-bottom-color: var(--cyan);
  background: rgba(154, 247, 229, 0.08);
}

.page-home .axis-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .axis-chips li {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--mist);
  border: 1px dashed rgba(201, 216, 211, 0.28);
  padding: 3px 8px;
}

.page-home .axis-note {
  margin-top: 16px;
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(126, 156, 148, 0.95);
}

.page-home .archive-main {
  min-width: 0;
}

.page-home .block-head {
  max-width: 64ch;
}

.page-home .block-head h2 {
  margin-top: 10px;
  font-size: clamp(26px, 3.4vw, 40px);
}

.page-home .block-lede {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(232, 246, 242, 0.72);
}

.page-home .btn {
  text-decoration: none;
}

/* ---------- Standings ---------- */
.page-home .table-scroll {
  margin-top: 24px;
  overflow-x: auto;
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
  -webkit-overflow-scrolling: touch;
}

.page-home .table-scroll:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.page-home .standings {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-home .standings th,
.page-home .standings td {
  padding: 13px 14px;
  text-align: right;
  white-space: nowrap;
  border-bottom: 1px solid var(--line-faint);
}

.page-home .standings thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--mist);
  background: var(--pitch);
  border-bottom: 1px solid rgba(154, 247, 229, 0.25);
}

.page-home .standings tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--paper-cool);
}

.page-home .standings .col-team,
.page-home .standings thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  text-align: left;
  background: var(--ink-2);
}

.page-home .standings thead th:first-child {
  background: var(--pitch);
}

.page-home .standings tbody tr:last-child th,
.page-home .standings tbody tr:last-child td {
  border-bottom: none;
}

.page-home .rank {
  display: inline-block;
  width: 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mist);
}

.page-home .standings .pts {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--amber);
}

.page-home .standings .gd {
  font-family: var(--font-mono);
  color: var(--cyan);
}

.page-home .f {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-left: 3px;
  font-family: var(--font-mono);
  font-size: 11px;
  border-radius: 1px;
}

.page-home .f-w {
  background: rgba(154, 247, 229, 0.18);
  color: var(--cyan);
}

.page-home .f-d {
  background: rgba(201, 216, 211, 0.12);
  color: var(--mist);
}

.page-home .f-l {
  background: rgba(255, 107, 44, 0.16);
  color: var(--orange);
}

.page-home .table-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
}

.page-home .table-foot p {
  max-width: 46ch;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

/* ---------- Data strip ---------- */
.page-home .data-strip {
  position: relative;
  margin: clamp(32px, 4vw, 48px) 0;
  max-height: 220px;
  aspect-ratio: 16 / 6;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.page-home .data-strip img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.page-home .data-strip figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--paper-cool);
  text-shadow: 0 1px 12px rgba(4, 16, 13, 0.9);
}

/* ---------- Weekend cards ---------- */
.page-home .weekend-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.page-home .wk-card {
  background: var(--ink-2);
  border-top: 2px solid var(--cyan);
}

.page-home .wk-card--focus {
  border-top-color: var(--orange);
}

.page-home .wk-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--paper-cool);
}

.page-home .wk-card summary::-webkit-details-marker {
  display: none;
}

.page-home .wk-card summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  color: var(--cyan);
}

.page-home .wk-card[open] summary::after {
  content: "−";
}

.page-home .wk-card summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -4px;
}

.page-home .wk-body {
  padding: 0 18px 18px;
}

.page-home .wk-body ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .wk-item {
  display: grid;
  gap: 4px;
  padding-left: 12px;
  border-left: 1px solid var(--line-soft);
}

.page-home .wk-time {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--amber);
}

.page-home .wk-desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(232, 246, 242, 0.74);
}

.page-home .weekend-foot {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .weekend-foot a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(154, 247, 229, 0.4);
}

/* ---------- Replay ---------- */
.page-home .replay {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3vw, 32px);
  align-items: center;
  margin-top: clamp(38px, 5vw, 60px);
  padding: clamp(22px, 3.4vw, 34px);
  background: var(--pitch);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
}

.page-home .replay-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1000 / 640;
  object-fit: cover;
  filter: saturate(0.85);
}

.page-home .replay h2 {
  margin-top: 10px;
  font-size: clamp(23px, 3vw, 33px);
}

.page-home .replay-lede {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(232, 246, 242, 0.76);
}

.page-home .tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
}

.page-home .tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--cyan);
  border: 1px solid rgba(154, 247, 229, 0.32);
  padding: 4px 10px;
}

/* ---------- Apple ---------- */
.page-home .apple {
  padding-block: clamp(40px, 5vw, 64px);
  background: var(--ink-2);
  border-block: 1px solid var(--line-soft);
}

.page-home .apple-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.page-home .apple-media {
  max-width: 320px;
  justify-self: center;
}

.page-home .apple-media img {
  display: block;
  width: 100%;
  height: auto;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
}

.page-home .apple-copy h2 {
  margin-top: 10px;
  font-size: clamp(26px, 3.4vw, 40px);
}

.page-home .apple-lede {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(232, 246, 242, 0.74);
}

.page-home .steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
  margin: 24px 0 26px;
  padding: 0;
  list-style: none;
}

.page-home .steps li {
  position: relative;
  counter-increment: step;
  padding-left: 40px;
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(232, 246, 242, 0.78);
}

.page-home .steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--orange);
  border: 1px solid rgba(255, 107, 44, 0.42);
}

/* ---------- Updates ---------- */
.page-home .updates {
  padding-block: clamp(48px, 6vw, 92px);
  background: var(--ink);
}

.page-home .updates-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.page-home .updates-copy h2 {
  margin-top: 10px;
  font-size: clamp(26px, 3.4vw, 40px);
}

.page-home .timeline {
  display: grid;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-soft);
}

.page-home .timeline li {
  display: grid;
  gap: 5px;
  padding: 16px 0 16px 18px;
  border-bottom: 1px solid var(--line-soft);
  border-left: 2px solid rgba(154, 247, 229, 0.28);
}

.page-home .tl-time {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--amber);
}

.page-home .tl-text {
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(232, 246, 242, 0.76);
}

.page-home .contact-card {
  padding: clamp(20px, 3vw, 32px);
  color: #0B211C;
}

.page-home .contact-card .eyebrow {
  color: #2F6F5F;
}

.page-home .contact-card h2 {
  margin-top: 10px;
  font-size: clamp(22px, 2.7vw, 30px);
  color: #0B211C;
}

.page-home .contact-card .contact-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .contact-card .contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(7, 26, 22, 0.22);
  font-size: 14px;
  color: #0B211C;
}

.page-home .contact-card .contact-key {
  min-width: 44px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #4A6B62;
}

.page-home .contact-card .contact-value {
  font-weight: 600;
  word-break: break-all;
}

.page-home .contact-card .contact-copy {
  margin-left: auto;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #0B211C;
  background: transparent;
  border: 1px solid rgba(7, 26, 22, 0.32);
  cursor: pointer;
}

.page-home .contact-card .contact-copy:hover,
.page-home .contact-card .contact-copy:focus-visible {
  background: rgba(7, 26, 22, 0.08);
  outline: none;
}

.page-home .contact-card .contact-note {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.75;
  color: #46655D;
}

.page-home .contact-card .btn {
  margin-top: 20px;
}

/* ---------- Responsive ---------- */
@media (min-width: 780px) {
  .page-home .weekend-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .page-home .hero-inner {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  }

  .page-home .apple-inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  }

  .page-home .replay {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  }
}

@media (min-width: 900px) {
  .page-home .updates-grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  }
}

@media (min-width: 960px) {
  .page-home .archive-layout {
    grid-template-columns: 236px minmax(0, 1fr);
    gap: clamp(32px, 4vw, 56px);
  }

  .page-home .archive-axis {
    position: sticky;
    top: 96px;
  }

  .page-home .axis-list {
    display: grid;
    gap: 2px;
    overflow: visible;
    padding-bottom: 0;
  }

  .page-home .axis-list li {
    flex: 0 0 auto;
  }

  .page-home .axis-link {
    padding: 11px 12px;
    white-space: normal;
    background: transparent;
    border-bottom: none;
    border-left: 2px solid transparent;
  }

  .page-home .axis-link:hover,
  .page-home .axis-link:focus-visible,
  .page-home .axis-link[data-active] {
    border-left-color: var(--cyan);
    border-bottom-color: transparent;
    background: rgba(154, 247, 229, 0.07);
  }
}

@media (max-width: 420px) {
  .page-home .hero-meta > div {
    padding: 12px 10px;
  }

  .page-home .hero-meta dd {
    font-size: 18px;
  }

  .page-home .hero-meta dt {
    font-size: 10px;
    letter-spacing: 0.06em;
  }

  .page-home .sched-item {
    padding: 9px 12px;
  }

  .page-home .replay,
  .page-home .contact-card {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .sched-track {
    animation: none;
  }

  .page-home .visual-pitch g * {
    animation: none;
    stroke-dashoffset: 0;
  }

  .page-home .axis-link,
  .page-home .wk-card summary::after {
    transition: none;
  }
}
