.page-home {
  --home-cut: 18px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

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

.page-home .hero {
  position: relative;
  padding: clamp(18px, 3.5vw, 40px) 0 clamp(26px, 5vw, 54px);
}

.page-home .hero-frame {
  position: relative;
  padding: clamp(18px, 3vw, 36px);
  border: 1px solid var(--line-strong);
  background: var(--ink-2);
  box-shadow: var(--shadow-2);
}

.page-home .hero-frame::before,
.page-home .hero-frame::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  pointer-events: none;
  z-index: 2;
}

.page-home .hero-frame::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}

.page-home .hero-frame::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}

.page-home .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
  filter: saturate(0.85) contrast(1.05);
  z-index: 0;
}

.page-home .hero-shade {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(100deg, rgba(7, 30, 23, 0.96) 22%, rgba(7, 30, 23, 0.62) 68%, rgba(7, 30, 23, 0.9) 100%),
    repeating-linear-gradient(90deg, rgba(242, 237, 227, 0.05) 0 1px, transparent 1px 56px);
}

.page-home .hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(22px, 3vw, 36px);
  align-items: end;
}

.page-home .hero-kicker {
  margin: 0 0 clamp(8px, 1.5vw, 14px);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.page-home .hero-round {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 clamp(6px, 1.5vw, 14px);
}

.page-home .hero-round-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(4.5rem, 17vw, 8rem);
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: var(--gold);
  text-shadow: 0 0 46px rgba(232, 180, 74, 0.28);
}

.page-home .hero-round-unit {
  font-size: clamp(0.95rem, 3vw, 1.5rem);
  font-weight: 700;
  color: var(--mist);
  letter-spacing: 0.06em;
}

.page-home .hero-title {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 4.4vw, 2.55rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  font-weight: 900;
  color: var(--cream);
  max-width: 22ch;
}

.page-home .hero-lede {
  margin: 0 0 clamp(18px, 3vw, 26px);
  font-size: clamp(0.95rem, 2.2vw, 1.06rem);
  line-height: 1.8;
  color: var(--cream-dim);
  max-width: 46ch;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .hero-actions .btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.page-home .hero-board {
  position: relative;
  padding: 16px 18px 14px;
  background: linear-gradient(180deg, rgba(18, 46, 37, 0.94), rgba(7, 30, 23, 0.96));
  border: 1px solid var(--line-strong);
  border-left: 2px solid var(--gold);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
  box-shadow: var(--shadow-1);
}

.page-home .board-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0 0 10px;
}

.page-home .board-note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.page-home .board-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .board-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "time league state"
    "match match match";
  gap: 4px 12px;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid var(--line-soft);
}

.page-home .board-time {
  grid-area: time;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: var(--gold-soft);
}

.page-home .board-league {
  grid-area: league;
  font-size: 0.76rem;
  color: var(--mist);
  letter-spacing: 0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-home .board-state {
  grid-area: state;
  font-size: 0.72rem;
  padding: 2px 8px;
  border: 1px solid var(--line);
  color: var(--mist);
  white-space: nowrap;
}

.page-home .board-state--live {
  color: var(--orange);
  border-color: rgba(255, 122, 61, 0.5);
  background: rgba(255, 122, 61, 0.08);
}

.page-home .board-match {
  grid-area: match;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--cream);
}

.page-home .board-match em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--mist);
  margin: 0 4px;
}

.page-home .board-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.84rem;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

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

.page-home .section {
  padding: clamp(44px, 7vw, 86px) 0;
}

.page-home .section-head {
  max-width: 62ch;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.page-home .section-title {
  font-size: clamp(1.4rem, 3.6vw, 2.3rem);
  line-height: 1.24;
  letter-spacing: -0.02em;
  font-weight: 900;
  margin: 0 0 12px;
}

.page-home .section-desc {
  margin: 0;
  font-size: clamp(0.94rem, 2.1vw, 1.02rem);
  line-height: 1.8;
  color: var(--cream-dim);
}

.page-home .lane-grid {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
}

.page-home .lane-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .lane-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 2px 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.page-home .lane-item:last-child {
  border-bottom: 1px solid var(--line);
}

.page-home .lane-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--cyan);
  padding-top: 5px;
}

.page-home .lane-title {
  margin: 0 0 6px;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.page-home .lane-link {
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-home .lane-link:hover,
.page-home .lane-link:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
}

.page-home .lane-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.78;
  color: var(--cream-dim);
}

.page-home .lane-arrow {
  font-family: var(--font-mono);
  color: var(--stone);
  padding-top: 4px;
  transition: transform 0.2s var(--ease), color 0.2s var(--ease);
}

.page-home .lane-item:hover .lane-arrow {
  transform: translateX(4px);
  color: var(--cyan);
}

.page-home .lane-figure {
  margin: 0;
  aspect-ratio: 4 / 3;
}

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

.page-home .schedule-section {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.page-home .schedule-track {
  display: flex;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 6px var(--gutter) 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--gutter);
  scrollbar-color: var(--stone) transparent;
  -webkit-overflow-scrolling: touch;
}

.page-home .schedule-card {
  flex: 0 0 min(76vw, 268px);
  scroll-snap-align: start;
  padding: 14px 16px 16px;
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-top: 2px solid var(--stone);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.page-home .schedule-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.page-home .schedule-card--live {
  border-top-color: var(--orange);
  background: linear-gradient(180deg, rgba(255, 122, 61, 0.07), var(--ink-3) 46%);
}

.page-home .schedule-card--done {
  border-top-color: var(--stone);
  opacity: 0.82;
}

.page-home .schedule-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 10px;
}

.page-home .schedule-time {
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.page-home .schedule-teams {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--cream);
}

.page-home .schedule-teams em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--gold);
  margin: 0 4px;
}

.page-home .schedule-meta {
  margin: 0 0 12px;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  color: var(--mist);
}

.page-home .schedule-state {
  display: inline-block;
  font-size: 0.7rem;
  padding: 2px 8px;
  border: 1px solid var(--line);
  color: var(--mist);
}

.page-home .schedule-state--live {
  color: var(--orange);
  border-color: rgba(255, 122, 61, 0.55);
}

.page-home .schedule-state--done {
  color: var(--cream-dim);
  border-color: var(--line);
}

.page-home .standings-grid {
  display: grid;
  gap: clamp(26px, 4vw, 44px);
}

.page-home .standings-table .num {
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--orange);
}

.page-home .rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 24px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cream-dim);
  border: 1px solid var(--line);
}

.page-home .rank-badge--top {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
  font-weight: 700;
}

.page-home .standings-cta {
  margin-top: 16px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.page-home .standings-side {
  display: grid;
  gap: 16px;
  align-content: start;
}

.page-home .standings-figure {
  margin: 0;
}

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

.page-home .standings-spark {
  display: block;
  width: 100%;
  height: auto;
  max-height: 96px;
}

.page-home .stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-home .stat-row .stat {
  display: grid;
  gap: 2px;
}

.page-home .stat-row .stat-value {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 5vw, 2.3rem);
  line-height: 1;
  color: var(--gold);
}

.page-home .stat-row .stat--cyan .stat-value {
  color: var(--cyan);
}

.page-home .stat-row .stat-label {
  font-size: 0.76rem;
  color: var(--mist);
  line-height: 1.5;
}

.page-home .note {
  margin: 0;
  padding: 12px 14px;
  font-size: 0.84rem;
  line-height: 1.75;
  color: var(--cream-dim);
  border-left: 2px solid var(--clay);
  background: rgba(184, 101, 74, 0.08);
}

.page-home .note-title {
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
  color: var(--cream);
}

.page-home .report-grid {
  display: grid;
  gap: clamp(24px, 4vw, 42px);
  align-items: center;
}

.page-home .report-figure {
  margin: 0;
  order: -1;
}

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

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

.page-home .report-points {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.page-home .report-points li {
  position: relative;
  padding-left: 18px;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--cream-dim);
}

.page-home .report-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  background: var(--cyan);
}

.page-home .report-main .btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.page-home .support-panel {
  display: grid;
  gap: clamp(24px, 3.5vw, 40px);
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, rgba(14, 42, 33, 0.96), rgba(7, 30, 23, 0.98)),
    repeating-linear-gradient(45deg, rgba(242, 237, 227, 0.04) 0 1px, transparent 1px 22px);
}

.page-home .support-main .section-title {
  margin-bottom: 12px;
}

.page-home .support-text {
  margin: 0 0 20px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--cream-dim);
  max-width: 46ch;
}

.page-home .support-main .btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.page-home .support-facts {
  margin: 0;
  display: grid;
  gap: 0;
}

.page-home .support-facts > div {
  display: grid;
  gap: 2px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
}

.page-home .support-facts > div:first-child {
  border-top: 1px solid var(--line-soft);
}

.page-home .support-facts dt {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--mist);
}

.page-home .support-facts dd {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--cream);
  overflow-wrap: anywhere;
}

.page-home .support-facts dd.is-mono {
  font-family: var(--font-mono);
  letter-spacing: -0.01em;
  color: var(--gold-soft);
}

@media (min-width: 720px) {
  .page-home .schedule-track {
    padding-left: max(var(--gutter), calc((100vw - var(--shell)) / 2));
    padding-right: max(var(--gutter), calc((100vw - var(--shell)) / 2));
  }

  .page-home .support-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }

  .page-home .support-facts > div:nth-child(2) {
    border-top: 1px solid var(--line-soft);
  }
}

@media (min-width: 900px) {
  .page-home .hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  }

  .page-home .lane-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    align-items: start;
  }

  .page-home .report-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }

  .page-home .support-panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    align-items: center;
  }
}

@media (min-width: 1000px) {
  .page-home .standings-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .schedule-track {
    scroll-behavior: auto;
  }

  .page-home .schedule-card,
  .page-home .lane-link,
  .page-home .lane-arrow,
  .page-home .board-link {
    transition: none;
  }

  .page-home .schedule-card:hover {
    transform: none;
  }

  .page-home .lane-item:hover .lane-arrow {
    transform: none;
  }
}
