.page-home {
  --home-pad: 18px;
  --home-gap: 20px;
  display: block;
  overflow-x: clip;
}

@media (min-width: 768px) {
  .page-home {
    --home-pad: 32px;
    --home-gap: 28px;
  }
}

.page-home .section {
  padding: clamp(52px, 8vw, 96px) 0;
}

.page-home .hero {
  padding-top: calc(var(--hdr-total) + 18px);
}

.page-home .hero-frame {
  position: relative;
  margin: 0 var(--home-pad);
  padding: clamp(22px, 4.5vw, 60px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
  border: 1px solid var(--line-strong);
  background: var(--grad-deep);
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}

@media (min-width: 768px) {
  .page-home .hero-frame {
    min-height: 620px;
  }
}

.page-home .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: saturate(0.72) contrast(1.08);
}

.page-home .hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(178deg, rgba(5, 10, 18, 0.92) 0%, rgba(11, 15, 14, 0.6) 42%, rgba(11, 15, 14, 0.96) 100%);
  pointer-events: none;
}

.page-home .hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(46, 107, 255, 0.16) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(123, 242, 192, 0.1) 0 1px, transparent 1px 96px);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.15) 70%, transparent 100%);
  pointer-events: none;
}

.page-home .hero-mark {
  position: absolute;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--mist);
  pointer-events: none;
}

.page-home .hero-mark--tl {
  top: 16px;
  left: 18px;
  padding-left: 22px;
  color: var(--green-lt);
}

.page-home .hero-mark--tl::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 1px;
  background: var(--orange);
}

.page-home .hero-mark--br {
  bottom: 16px;
  right: 18px;
}

.page-home .hero-body {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 660px;
}

.page-home .crumbs {
  margin-bottom: 18px;
}

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

.page-home .crumbs-item {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.page-home .crumbs-item + .crumbs-item::before {
  content: "/";
  margin-right: 8px;
  color: rgba(154, 168, 163, 0.5);
}

.page-home .crumbs-link {
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid rgba(154, 168, 163, 0.35);
}

.page-home .crumbs-link:hover {
  color: var(--green-lt);
  border-bottom-color: var(--green-lt);
}

.page-home .crumbs-current {
  color: var(--green-lt);
}

.page-home .hero-kicker {
  margin: 0 0 14px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--orange-2);
}

.page-home .hero-title {
  margin: 0 0 16px;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(2.1rem, 8.4vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-home .hero-lede {
  margin: 0 0 26px;
  max-width: 34em;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(242, 247, 244, 0.82);
}

.page-home .league-shell {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.page-home .league-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2px 2px 12px;
  scrollbar-width: none;
}

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

.page-home .league-btn {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  background: rgba(11, 15, 14, 0.6);
  color: var(--paper);
  font-family: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.page-home .league-btn:hover {
  border-color: var(--orange-2);
  color: var(--green-lt);
}

.page-home .league-btn[aria-pressed="true"] {
  border-color: var(--orange);
  background: rgba(255, 90, 31, 0.14);
  color: var(--green-lt);
}

.page-home .league-btn:focus-visible {
  outline: 2px solid var(--orange-2);
  outline-offset: 2px;
}

.page-home .league-idx {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--orange-2);
}

.page-home .league-label {
  white-space: nowrap;
}

.page-home .league-readout {
  margin: 0;
  padding: 10px 14px;
  border-left: 2px solid var(--orange);
  background: rgba(31, 191, 117, 0.08);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--green-lt);
}

.page-home .hero-scroll {
  display: none;
}

@media (min-width: 1000px) {
  .page-home .hero-scroll {
    position: absolute;
    right: 28px;
    bottom: 26px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
  }

  .page-home .hero-scroll-label {
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    color: var(--mist);
  }

  .page-home .hero-scroll-rail {
    position: relative;
    display: block;
    width: 68px;
    height: 2px;
    background: rgba(154, 168, 163, 0.28);
  }

  .page-home .hero-scroll-dot {
    position: absolute;
    top: -3px;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--orange);
    transform: rotate(45deg);
    animation: home-scroll-drift 2.4s ease-in-out infinite;
  }
}

@keyframes home-scroll-drift {
  0%, 100% { transform: translateX(0) rotate(45deg); }
  50% { transform: translateX(56px) rotate(45deg); }
}

.page-home .round-head {
  margin-bottom: 22px;
}

.page-home .section-head {
  max-width: 46em;
  margin-bottom: 26px;
}

.page-home .section-kicker {
  margin: 0 0 10px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--orange-2);
}

.page-home .section-title {
  margin: 0 0 12px;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(1.6rem, 4.6vw, 2.5rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-home .section-sub {
  margin: 0;
  max-width: 40em;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .round-band {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px var(--home-pad) 20px;
  scrollbar-width: none;
}

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

.page-home .round-item {
  flex: 0 0 min(72vw, 292px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 18px 22px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--green);
  background: linear-gradient(160deg, rgba(18, 48, 40, 0.92) 0%, rgba(11, 15, 14, 0.96) 72%);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.page-home .round-item:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
}

.page-home .round-tag {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--green);
}

.page-home .round-time {
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--paper);
}

.page-home .round-name {
  margin: 4px 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--paper);
}

.page-home .round-venue {
  margin: 0;
  font-size: 0.82rem;
  color: var(--mist);
}

.page-home .band-hint {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--mist);
}

.page-home .lines-grid {
  row-gap: var(--home-gap);
}

.page-home .line-cell {
  display: flex;
}

.page-home .line-cell > * {
  width: 100%;
}

.page-home .phone-frame,
.page-home .panel-frame {
  margin: 0;
}

.page-home .phone-frame img,
.page-home .panel-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .phone-frame {
  min-height: 300px;
}

.page-home .panel-frame {
  min-height: 240px;
}

.page-home .img-cap {
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--mist);
}

.page-home .switch-card,
.page-home .compat-card,
.page-home .rule-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 22px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(150deg, rgba(18, 48, 40, 0.95) 0%, rgba(11, 15, 14, 0.98) 62%);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}

.page-home .switch-card {
  position: relative;
}

.page-home .switch-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 76px;
  height: 3px;
  background: var(--grad-cta);
}

.page-home .exhibit-idx {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--green);
}

.page-home .card-title {
  margin: 0;
  font-size: clamp(1.15rem, 3.4vw, 1.5rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--paper);
}

.page-home .card-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 14px;
  list-style: none;
  margin: 6px 0 4px;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}

.page-home .stat-num {
  display: block;
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--green-lt);
}

.page-home .stat-unit {
  font-size: 0.85rem;
  color: var(--green);
  margin-left: 2px;
}

.page-home .stat-lab {
  display: block;
  margin-top: 4px;
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--mist);
}

.page-home .switch-card .btn,
.page-home .compat-card .btn {
  align-self: flex-start;
}

.page-home .compat-readout {
  margin: 0;
  padding: 12px 14px;
  border-left: 2px solid var(--warn);
  background: rgba(255, 211, 77, 0.08);
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--paper);
}

.page-home .compat-num {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--warn);
  margin-right: 6px;
}

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

.page-home .compat-meta {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.page-home .back-grid {
  row-gap: var(--home-gap);
}

.page-home .timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 34px;
}

.page-home .timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--green) 0%, rgba(46, 107, 255, 0.45) 60%, rgba(46, 107, 255, 0) 100%);
}

.page-home .tl-item {
  position: relative;
  padding-bottom: 24px;
}

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

.page-home .tl-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 6px;
  width: 9px;
  height: 9px;
  background: var(--orange);
  transform: rotate(45deg);
}

.page-home .tl-idx {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--green);
  margin-bottom: 4px;
}

.page-home .tl-title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--paper);
}

.page-home .tl-text {
  margin: 0;
  max-width: 34em;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .rule-card .btn {
  align-self: flex-start;
}

.page-home .local-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}

.page-home .local-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: saturate(0.8) contrast(1.1);
}

.page-home .local-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(5, 10, 18, 0.94) 0%, rgba(11, 15, 14, 0.72) 54%, rgba(18, 48, 40, 0.6) 100%);
  pointer-events: none;
}

.page-home .local-body {
  position: relative;
  z-index: 2;
  padding: clamp(28px, 5vw, 68px) clamp(22px, 4vw, 56px);
}

.page-home .local-body .section-title {
  max-width: 22em;
}

.page-home .local-text {
  margin: 0 0 12px;
  max-width: 40em;
  font-size: 0.96rem;
  line-height: 1.8;
  color: rgba(242, 247, 244, 0.86);
}

.page-home .local-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 20px 0 18px;
  padding: 0;
}

.page-home .local-fact {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  background: rgba(11, 15, 14, 0.6);
  font-size: 0.82rem;
  color: var(--paper);
}

.page-home .local-fact .mono {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-lt);
}

.page-home .local-mail {
  margin: 0 0 20px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--green-lt);
}

.page-home .local-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 999px) {
  .page-home .lines-grid,
  .page-home .back-grid {
    display: block;
  }

  .page-home .line-cell,
  .page-home .back-grid > .col-7,
  .page-home .back-grid > .col-5 {
    margin-bottom: var(--home-gap);
  }

  .page-home .line-cell:last-child,
  .page-home .back-grid > .col-5:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 560px) {
  .page-home .hero-title {
    font-size: clamp(1.9rem, 9vw, 2.4rem);
  }

  .page-home .round-time {
    font-size: 1.6rem;
  }

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

  .page-home .local-facts {
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero-scroll-dot {
    animation: none;
  }

  .page-home .round-item {
    transition: none;
  }
}
