.page-home {
  --home-gap: clamp(1.6rem, 4vw, 3.25rem);
  --home-sec: clamp(2.4rem, 6vw, 4.5rem);
  display: block;
  color: var(--c-mist);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 84% 4%, rgba(47, 183, 166, 0.15), transparent 46%),
    radial-gradient(circle at 4% 46%, rgba(16, 42, 58, 0.92), transparent 58%),
    var(--c-night);
}

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

.page-home h1,
.page-home h2,
.page-home h3 {
  font-family: var(--font-display);
  letter-spacing: -0.015em;
}

.page-home .eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--c-jade);
}

.page-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.4rem;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
    border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.page-home .btn--primary {
  background: var(--c-jade);
  color: var(--c-on-jade);
}

.page-home .btn--primary:hover,
.page-home .btn--primary:focus-visible {
  background: var(--c-jade-soft);
  transform: translateY(-2px);
}

.page-home .btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--c-paper);
}

.page-home .btn--ghost:hover,
.page-home .btn--ghost:focus-visible {
  border-color: var(--c-jade);
  color: var(--c-jade-soft);
  transform: translateY(-2px);
}

/* ---------- hero ---------- */

.page-home .hero {
  padding: clamp(1.4rem, 4vw, 2.6rem) 0 clamp(2rem, 5vw, 3.4rem);
}

.page-home .hero__inner {
  display: grid;
  gap: clamp(1.8rem, 4vw, 3rem);
}

.page-home .breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--c-stand);
}

.page-home .breadcrumbs__link {
  color: var(--c-jade-soft);
  text-decoration: none;
}

.page-home .breadcrumbs__item:not(:last-child)::after {
  content: "/";
  margin-left: 0.45rem;
  color: var(--c-stand);
}

.page-home .hero h1 {
  margin: 0;
  font-weight: 900;
  font-size: clamp(2.1rem, 7.4vw, 4.3rem);
  line-height: 1.05;
  color: var(--c-paper);
}

.page-home .hero__lead {
  margin: 1.1rem 0 0;
  max-width: 36rem;
  font-size: clamp(0.98rem, 2.4vw, 1.1rem);
  line-height: 1.85;
  color: var(--c-mist);
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.page-home .hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1.8rem 0 0;
  padding: 1.1rem 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-home .hero__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.35rem, 4.6vw, 2rem);
  line-height: 1.1;
  color: var(--c-jade-soft);
}

.page-home .hero__unit {
  font-size: 0.62em;
  margin-left: 1px;
}

.page-home .hero__fact {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--c-stand);
}

.page-home .hero__visual {
  position: relative;
  min-height: 290px;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-xl);
  border: 1px solid var(--line-strong);
  background: var(--c-deep);
  overflow: hidden;
  isolation: isolate;
}

.page-home .hero__visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.52;
  filter: saturate(0.82);
}

.page-home .hero__pitch {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.page-home .hero__board {
  position: absolute;
  left: clamp(0.7rem, 2.6vw, 1.4rem);
  right: clamp(0.7rem, 2.6vw, 1.4rem);
  bottom: clamp(0.7rem, 2.6vw, 1.4rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  padding: 0.75rem 0.85rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  background: rgba(7, 17, 26, 0.78);
  backdrop-filter: blur(6px);
}

.page-home .hero__board-item {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 0;
}

.page-home .hero__board-label {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: var(--c-stand);
}

.page-home .hero__board-value {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-paper);
  white-space: nowrap;
}

.page-home .hero__board-value--mono {
  font-family: var(--font-mono);
  color: var(--c-jade-soft);
}

.page-home .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 3px;
}

.page-home .dot--red {
  background: var(--c-red);
}

.page-home .dot--yellow {
  background: var(--c-yellow);
}

/* ---------- leagues ---------- */

.page-home .leagues {
  padding: var(--home-sec) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 42, 58, 0.62), rgba(11, 27, 43, 0));
}

.page-home .leagues__head {
  max-width: 46rem;
  margin-bottom: clamp(1.4rem, 3vw, 2rem);
}

.page-home .leagues__title {
  margin: 0;
  font-size: clamp(1.5rem, 4.6vw, 2.35rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--c-paper);
}

.page-home .leagues__lead {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--c-mist);
}

.page-home .league-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .league-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(11, 27, 43, 0.7);
  text-decoration: none;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease),
    background var(--dur) var(--ease);
}

.page-home .league-card:hover,
.page-home .league-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--c-jade);
  background: rgba(47, 183, 166, 0.12);
}

.page-home .league-card__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-paper);
}

.page-home .league-card__meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--c-stand);
  white-space: nowrap;
}

.page-home .league-card--all {
  border-color: rgba(47, 183, 166, 0.55);
  background: rgba(47, 183, 166, 0.14);
}

.page-home .league-card--all .league-card__name {
  color: var(--c-jade-soft);
}

.page-home .leagues__note {
  margin: 1.2rem 0 0;
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--c-stand);
}

/* ---------- round + mobile ---------- */

.page-home .round {
  padding: var(--home-sec) 0 0;
}

.page-home .round__grid {
  display: grid;
  gap: var(--home-gap);
}

.page-home .round__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.3rem, 4vw, 2.4rem);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: var(--c-deep);
  overflow: hidden;
  isolation: isolate;
}

.page-home .round__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  z-index: -1;
}

.page-home .round__card h2 {
  margin: 0;
  font-size: clamp(1.4rem, 4.2vw, 2.1rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--c-paper);
}

.page-home .round__text {
  margin: 0.8rem 0 0;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--c-mist);
}

.page-home .signal-list {
  display: grid;
  gap: 0.5rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.page-home .signal {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: rgba(7, 17, 26, 0.6);
}

.page-home .signal__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}

.page-home .signal__dot--red {
  background: var(--c-red);
}

.page-home .signal__dot--yellow {
  background: var(--c-yellow);
}

.page-home .signal__dot--jade {
  background: var(--c-jade);
}

.page-home .signal__label {
  font-size: 0.78rem;
  color: var(--c-stand);
}

.page-home .signal__value {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--c-paper);
  white-space: nowrap;
}

.page-home .mobile-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 42, 58, 0.9), rgba(11, 27, 43, 0.9));
  overflow: hidden;
}

.page-home .mobile-card__frame {
  aspect-ratio: 4 / 3;
  background: var(--c-night);
}

.page-home .mobile-card__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.page-home .mobile-card__body {
  padding: clamp(1.2rem, 3.6vw, 1.9rem);
}

.page-home .mobile-card h2 {
  margin: 0;
  font-size: clamp(1.35rem, 4vw, 1.9rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--c-paper);
}

.page-home .mobile-card p {
  margin: 0.75rem 0 1.2rem;
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--c-mist);
}

/* ---------- community ---------- */

.page-home .comm {
  padding: var(--home-sec) 0 0;
}

.page-home .comm__grid {
  display: grid;
  gap: var(--home-gap);
}

.page-home .comm__sticky {
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: var(--c-deep);
  overflow: hidden;
}

.page-home .comm__frame {
  aspect-ratio: 16 / 10;
}

.page-home .comm__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .comm__sticky-body {
  position: relative;
  padding: clamp(1.2rem, 3.6vw, 1.8rem);
}

.page-home .comm__sticky-body h2 {
  margin: 0;
  font-size: clamp(1.3rem, 3.8vw, 1.8rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--c-paper);
}

.page-home .comm__sticky-body p {
  margin: 0.7rem 0 1.2rem;
  font-size: 0.93rem;
  line-height: 1.8;
  color: var(--c-mist);
}

.page-home .label-v {
  display: inline-block;
  margin: 0 0 0.7rem;
  padding: 0.2rem 0.7rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(47, 183, 166, 0.5);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--c-jade-soft);
}

.page-home .comm__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0 0 1.4rem;
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.page-home .comm__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  line-height: 1.1;
  color: var(--c-jade-soft);
}

.page-home .comm__cap {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.78rem;
  color: var(--c-stand);
}

.page-home .comm__subtitle {
  margin: 1.5rem 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-paper);
}

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

.page-home .comm__topics li {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  gap: 0.6rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--c-mist);
}

.page-home .comm__idx {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--c-jade);
}

.page-home .comm__tail {
  margin: 1.2rem 0 0;
  font-size: 0.86rem;
  line-height: 1.8;
  color: var(--c-stand);
}

/* ---------- legacy ---------- */

.page-home .legacy {
  padding: var(--home-sec) 0 0;
}

.page-home .legacy__grid {
  display: grid;
  gap: var(--home-gap);
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(16, 42, 58, 0.92), rgba(7, 17, 26, 0.88));
}

.page-home .legacy__copy h2 {
  margin: 0;
  font-size: clamp(1.4rem, 4.2vw, 2.1rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--c-paper);
}

.page-home .legacy__copy p {
  margin: 0.8rem 0 1.3rem;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--c-mist);
}

.page-home .switchbar {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.32rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: rgba(7, 17, 26, 0.72);
}

.page-home .switchbar__item {
  padding: 0.5rem 1rem;
  border-radius: var(--r-pill);
  font-size: 0.8rem;
  color: var(--c-stand);
  white-space: nowrap;
}

.page-home .switchbar__item--on {
  background: var(--c-jade);
  color: var(--c-on-jade);
  font-weight: 700;
}

.page-home .legacy__list {
  display: grid;
  gap: 0.6rem;
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
}

.page-home .legacy__list li {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0.6rem;
  align-items: baseline;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--c-mist);
}

.page-home .legacy__key {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--c-jade);
}

/* ---------- ledger ---------- */

.page-home .ledger {
  padding: var(--home-sec) 0 0;
}

.page-home .ledger__head {
  max-width: 44rem;
  margin-bottom: clamp(1.3rem, 3vw, 2rem);
}

.page-home .ledger__head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 4.4vw, 2.2rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--c-paper);
}

.page-home .ledger__head p {
  margin: 0.75rem 0 0;
  font-size: 0.94rem;
  line-height: 1.85;
  color: var(--c-mist);
}

.page-home .ledger__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.page-home .plate {
  padding: 0.9rem 0 0.9rem 0.95rem;
  border-left: 2px solid var(--c-jade);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: rgba(16, 42, 58, 0.55);
}

.page-home .plate--wide {
  grid-column: span 2;
}

.page-home .plate__label {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--c-jade);
}

.page-home .plate__num {
  margin: 0.3rem 0 0.2rem;
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 5vw, 2.3rem);
  line-height: 1.1;
  color: var(--c-paper);
}

.page-home .plate__text {
  margin: 0.25rem 0 0;
  font-size: 0.83rem;
  line-height: 1.7;
  color: var(--c-mist);
}

.page-home .plate__text--mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--c-stand);
}

.page-home .plate__link {
  color: var(--c-jade-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(159, 227, 216, 0.4);
}

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

/* ---------- closing ---------- */

.page-home .closing {
  padding: var(--home-sec) 0 clamp(2.6rem, 6vw, 4.5rem);
}

.page-home .closing__inner {
  display: grid;
  gap: 1.4rem;
  padding: clamp(1.4rem, 4vw, 2.6rem);
  border-radius: var(--r-xl);
  border: 1px solid var(--line-strong);
  background: linear-gradient(120deg, rgba(47, 183, 166, 0.2), rgba(16, 42, 58, 0.9) 62%);
}

.page-home .closing__copy h2 {
  margin: 0;
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--c-paper);
}

.page-home .closing__copy p {
  margin: 0.7rem 0 0;
  font-size: 0.93rem;
  line-height: 1.8;
  color: var(--c-mist);
}

.page-home .closing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* ---------- media ---------- */

@media (min-width: 640px) {
  .page-home .league-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (min-width: 860px) {
  .page-home .round__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: stretch;
  }

  .page-home .legacy__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
  }

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

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

  .page-home .plate--wide {
    grid-column: span 2;
  }
}

@media (min-width: 980px) {
  .page-home .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
    align-items: center;
  }

  .page-home .hero__visual {
    aspect-ratio: 5 / 4;
    min-height: 420px;
  }

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

  .page-home .comm__grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    align-items: start;
  }

  .page-home .comm__sticky {
    position: sticky;
    top: 1.5rem;
  }
}
<<<END>>>
