.page-home {
  --home-line: rgba(57, 230, 212, 0.18);
  --home-line-soft: rgba(155, 182, 201, 0.14);
  background: var(--void);
  color: var(--ink);
  overflow-x: hidden;
}

.page-home .home-crumb {
  padding-top: clamp(14px, 3vw, 26px);
}

.page-home .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.page-home .breadcrumb [aria-current="page"] {
  color: var(--cyan);
}

.page-home .crumb-link {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 140ms var(--ease), border-color 140ms var(--ease);
}

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

/* ---------- hero ---------- */
.page-home .hero {
  position: relative;
  padding: clamp(18px, 4vw, 34px) 0 clamp(44px, 7vw, 90px);
  isolation: isolate;
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: -10% -10% 0;
  z-index: -1;
  background:
    radial-gradient(70% 60% at 82% 6%, rgba(57, 230, 212, 0.16), transparent 66%),
    radial-gradient(50% 50% at 8% 92%, rgba(255, 90, 54, 0.1), transparent 70%),
    linear-gradient(180deg, var(--deep), var(--void) 74%);
  pointer-events: none;
}

.page-home .hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 5vw, 44px);
}

.page-home .hero-copy .index-tag {
  margin-bottom: clamp(14px, 2.4vw, 22px);
}

.page-home .hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(42px, 11.5vw, 108px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.page-home .hero-title-em {
  display: inline-block;
  color: var(--cyan);
  position: relative;
}

.page-home .hero-title-em::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 12%;
  bottom: -0.06em;
  height: 5px;
  background: linear-gradient(90deg, var(--hot), rgba(255, 90, 54, 0));
}

.page-home .hero-lede {
  margin: clamp(18px, 3vw, 26px) 0 0;
  max-width: 44ch;
  font-size: clamp(15px, 2.4vw, 17px);
  line-height: 1.85;
  color: var(--muted);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 4vw, 34px);
}

/* status pod */
.page-home .hero-status {
  border: 1px solid var(--edge);
  border-radius: 4px;
  padding: clamp(18px, 3vw, 24px);
  background: rgba(10, 30, 51, 0.55);
  backdrop-filter: blur(10px);
  align-self: start;
}

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

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

.page-home .status-item {
  display: grid;
  grid-template-columns: 10px 1fr;
  column-gap: 10px;
  row-gap: 2px;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--home-line-soft);
}

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

.page-home .status-dot {
  grid-row: span 2;
  align-self: start;
  margin-top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(57, 230, 212, 0.16);
}

.page-home .status-dot--hot {
  background: var(--hot);
  box-shadow: 0 0 0 3px rgba(255, 90, 54, 0.2);
}

.page-home .status-key {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.page-home .status-val {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
}

/* hero visual */
.page-home .hero-visual {
  margin: 0;
}

.page-home .hero-frame {
  position: relative;
  border: 1px solid var(--edge);
  overflow: hidden;
  background: linear-gradient(150deg, var(--deep), var(--void));
}

.page-home .hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 15, 29, 0.1), rgba(5, 15, 29, 0.82) 88%);
  pointer-events: none;
}

.page-home .hero-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  filter: saturate(0.85) contrast(1.05);
}

.page-home .hero-trace {
  position: absolute;
  z-index: 2;
  left: 4%;
  right: 4%;
  bottom: 8%;
  width: 92%;
  height: auto;
}

.page-home .media-caption {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ---------- stat band ---------- */
.page-home .stat-band {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
  background: linear-gradient(128deg, var(--panel), var(--deep) 68%);
}

.page-home .stat-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  pointer-events: none;
}

.page-home .stat-band-inner {
  position: relative;
  display: grid;
  gap: clamp(22px, 4vw, 40px);
  padding: clamp(28px, 5vw, 56px) 0;
}

.page-home .stat-head .index-tag {
  margin-bottom: 10px;
}

.page-home .stat-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 3.6vw, 38px);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.page-home .stat-note {
  margin: 10px 0 0;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .stat-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: var(--home-line-soft);
}

.page-home .stat-item {
  padding: 14px 14px 16px;
  background: rgba(5, 15, 29, 0.72);
}

.page-home .stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.page-home .stat-num {
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(32px, 5.4vw, 58px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--cyan);
}

.page-home .stat-item--hot .stat-num {
  color: var(--hot);
}

.page-home .stat-unit {
  margin-left: 4px;
  font-size: 0.34em;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ---------- path index ---------- */
.page-home .section {
  padding: clamp(44px, 8vw, 96px) 0;
}

.page-home .path-head {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.page-home .section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(27px, 4.2vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.page-home .path-lede {
  margin: 0;
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

.page-home .path-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.page-home .path-step {
  position: relative;
  padding: 18px 0 22px 26px;
  border-left: 1px solid var(--home-line);
}

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

.page-home .path-step::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 24px;
  width: 9px;
  height: 9px;
  background: var(--cyan);
  transform: rotate(45deg);
}

.page-home .path-step.step-hot::before {
  background: var(--hot);
}

.page-home .step-coord {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.page-home .step-name {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(20px, 2.6vw, 26px);
  letter-spacing: -0.02em;
}

.page-home .step-hot .step-name {
  color: var(--hot);
}

.page-home .step-note {
  margin: 8px 0 0;
  max-width: 30ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .path-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(28px, 4vw, 40px);
  padding: clamp(18px, 3vw, 24px);
  border: 1px solid var(--edge);
  border-left: 3px solid var(--cyan);
  border-radius: 3px;
  background: rgba(16, 43, 68, 0.5);
}

.page-home .path-foot-text {
  margin: 0;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
}

/* ---------- league zones ---------- */
.page-home .league-section {
  border-top: 1px solid var(--home-line-soft);
  background: linear-gradient(200deg, var(--deep), var(--void) 62%);
}

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

.page-home .league-visual {
  margin: 0;
  order: 2;
}

.page-home .league-frame {
  border: 1px solid var(--edge);
  overflow: hidden;
  background: var(--panel);
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}

.page-home .league-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.page-home .league-copy .index-tag {
  margin-bottom: 12px;
}

.page-home .league-lede {
  margin: 14px 0 0;
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

.page-home .league-rows {
  margin-top: clamp(24px, 4vw, 34px);
  display: grid;
}

.page-home .league-row {
  padding: 20px 0 22px;
  border-top: 1px solid var(--home-line-soft);
  transition: border-color 160ms var(--ease), transform 160ms var(--ease);
}

.page-home .league-row:last-child {
  border-bottom: 1px solid var(--home-line-soft);
}

.page-home .league-row:hover {
  border-color: var(--edge-strong);
  transform: translateY(-4px);
}

.page-home .league-row-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.page-home .league-name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(19px, 2.4vw, 24px);
  letter-spacing: -0.02em;
}

.page-home .league-count {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--hot);
  white-space: nowrap;
}

.page-home .league-desc {
  margin: 10px 0 0;
  max-width: 56ch;
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

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

.page-home .chip {
  padding: 4px 10px;
  border: 1px solid var(--home-line);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--teal);
}

/* ---------- return ---------- */
.page-home .return-grid {
  display: grid;
  gap: clamp(26px, 5vw, 44px);
  align-items: center;
}

.page-home .return-copy .index-tag {
  margin-bottom: 12px;
}

.page-home .return-text {
  margin: 16px 0 0;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

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

.page-home .return-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
}

.page-home .return-mark {
  flex: none;
  margin-top: 8px;
  width: 8px;
  height: 8px;
  background: var(--amber);
  transform: rotate(45deg);
}

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

.page-home .return-visual {
  margin: 0;
}

.page-home .return-frame {
  position: relative;
  border: 1px solid var(--edge);
  overflow: hidden;
  background: var(--panel);
}

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

/* ---------- deep links ---------- */
.page-home .deep-section .section-head {
  margin-bottom: clamp(22px, 3vw, 32px);
}

.page-home .deep-links {
  display: grid;
  gap: 14px;
}

.page-home .deep-link {
  position: relative;
  display: grid;
  gap: 8px;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--edge);
  border-radius: 3px;
  background: rgba(16, 43, 68, 0.42);
  text-decoration: none;
  color: var(--ink);
  transition: transform 160ms var(--ease), border-color 160ms var(--ease), background-color 160ms var(--ease);
}

.page-home .deep-link:hover,
.page-home .deep-link:focus-visible {
  transform: translateY(-4px);
  border-color: var(--edge-strong);
  background: rgba(26, 167, 155, 0.12);
}

.page-home .deep-coord {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--cyan);
}

.page-home .deep-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(18px, 2.4vw, 24px);
  letter-spacing: -0.02em;
}

.page-home .deep-note {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .deep-go {
  position: absolute;
  top: clamp(16px, 3vw, 24px);
  right: clamp(16px, 3vw, 24px);
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--hot);
}

/* ---------- contact band ---------- */
.page-home .contact-band {
  padding: clamp(38px, 6vw, 64px) 0 clamp(48px, 7vw, 80px);
  border-top: 1px solid var(--edge);
  background:
    radial-gradient(60% 100% at 88% 0%, rgba(255, 90, 54, 0.14), transparent 70%),
    linear-gradient(160deg, var(--deep), var(--void));
}

.page-home .contact-grid {
  display: grid;
  gap: clamp(22px, 4vw, 40px);
}

.page-home .contact-copy .index-tag {
  margin-bottom: 12px;
}

.page-home .contact-note {
  margin: 14px 0 0;
  max-width: 48ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

.page-home .contact-lines {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--edge);
  border-left: 3px solid var(--hot);
  border-radius: 3px;
  background: rgba(5, 15, 29, 0.6);
}

.page-home .contact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: baseline;
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--home-line-soft);
}

.page-home .contact-line:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-home .contact-key {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  min-width: 68px;
}

.page-home .contact-val {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--ink);
  word-break: break-word;
}

.page-home .contact-btn {
  justify-self: start;
  margin-top: 4px;
}

/* ---------- focus ---------- */
.page-home a:focus-visible,
.page-home .deep-link:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* ---------- responsive ---------- */
@media (min-width: 600px) {
  .page-home .stat-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .deep-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .page-home .path-head {
    grid-template-columns: 7fr 5fr;
    align-items: end;
  }

  .page-home .path-lede {
    justify-self: end;
    text-align: right;
  }

  .page-home .path-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0 clamp(14px, 2vw, 28px);
  }

  .page-home .path-step {
    padding: 26px 18px 0 0;
    border-left: 0;
    border-top: 1px solid var(--home-line);
  }

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

  .page-home .path-step::before {
    left: 0;
    top: -5px;
  }

  .page-home .stat-band-inner {
    grid-template-columns: 4fr 8fr;
    align-items: end;
  }

  .page-home .stat-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .page-home .contact-grid {
    grid-template-columns: 7fr 5fr;
    align-items: start;
  }
}

@media (min-width: 1000px) {
  .page-home .hero-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(16px, 2vw, 32px);
    row-gap: clamp(20px, 3vw, 36px);
  }

  .page-home .hero-copy {
    grid-column: 1 / span 8;
  }

  .page-home .hero-status {
    grid-column: 9 / -1;
    margin-top: clamp(30px, 5vw, 64px);
  }

  .page-home .hero-visual {
    grid-column: 5 / -1;
    grid-row: 2;
    margin-top: clamp(-56px, -3vw, -20px);
  }

  .page-home .league-grid {
    grid-template-columns: 5fr 7fr;
    align-items: start;
  }

  .page-home .league-visual {
    order: 0;
    position: sticky;
    top: 96px;
  }

  .page-home .league-frame {
    aspect-ratio: 3 / 4;
  }

  .page-home .return-grid {
    grid-template-columns: 7fr 5fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .league-row,
  .page-home .deep-link,
  .page-home .crumb-link {
    transition: none;
  }

  .page-home .league-row:hover,
  .page-home .deep-link:hover,
  .page-home .deep-link:focus-visible {
    transform: none;
  }
}
