.page-home {
  --hp-lift: -34px;
  display: block;
  position: relative;
  overflow-x: clip;
  background:
    radial-gradient(115% 70% at 84% 0%, rgba(90, 60, 196, .44), transparent 60%),
    radial-gradient(78% 52% at 4% 16%, rgba(53, 224, 214, .13), transparent 62%),
    radial-gradient(95% 60% at 50% 118%, rgba(43, 26, 99, .85), transparent 72%),
    var(--ink-deep);
  color: var(--star-92);
  font-family: var(--font-body);
}

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

.page-home .hero {
  position: relative;
  padding: clamp(112px, 17vh, 184px) var(--gutter) clamp(40px, 7vw, 76px);
}

.page-home .hero-inner {
  width: min(100%, var(--shell));
  margin-inline: auto;
  display: grid;
  gap: clamp(34px, 5vw, 56px);
}

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

.page-home .hero-copy {
  max-width: 40rem;
}

.page-home .eyebrow {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .22em;
  color: var(--cyan);
  text-transform: uppercase;
}

.page-home .hero h1 {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.35rem, 6.6vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -.022em;
  color: var(--star);
}

.page-home .hero-lead {
  margin: 0;
  max-width: 38rem;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.78;
  color: var(--star-70);
}

.page-home .hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  margin-top: clamp(26px, 4vw, 36px);
}

.page-home .hero-hint {
  margin: 0;
  max-width: 24rem;
  font-size: .84rem;
  line-height: 1.62;
  color: var(--star-45);
}

.page-home .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.page-home .btn--gold {
  background: linear-gradient(122deg, var(--gold), #ffd998);
  color: var(--ink);
  box-shadow: 0 16px 34px -18px rgba(242, 178, 80, .95);
}

.page-home .btn:hover,
.page-home .btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px -20px rgba(242, 178, 80, 1);
}

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

.page-home .hero-steps {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: clamp(30px, 4vw, 42px) 0 0;
  padding: 0;
}

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

.page-home .hero-steps li {
  padding: 14px 16px 15px;
  border: 1px solid rgba(247, 249, 255, .14);
  border-radius: var(--r-card);
  background: linear-gradient(160deg, rgba(43, 26, 99, .48), rgba(6, 11, 34, .5));
  font-size: .8rem;
  line-height: 1.55;
  color: var(--star-45);
}

.page-home .hero-steps strong {
  display: block;
  margin: 6px 0 2px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--star-92);
}

.page-home .step-no {
  display: block;
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .12em;
  color: var(--gold);
}

/* hero visual */

.page-home .hero-visual {
  position: relative;
  aspect-ratio: 16 / 11;
  min-height: 300px;
  border-radius: var(--r-panel);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(247, 249, 255, .12);
  background:
    radial-gradient(120% 100% at 72% 18%, rgba(90, 60, 196, .6), rgba(6, 11, 34, .94) 72%);
}

.page-home .orbit {
  position: absolute;
  inset: -28%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 60%, rgba(53, 224, 214, .5) 74%, rgba(242, 178, 80, .45) 85%, transparent 93%);
  filter: blur(28px);
  opacity: .55;
  animation: home-orbit 60s linear infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes home-orbit {
  to { transform: rotate(1turn); }
}

.page-home .hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .42;
  filter: saturate(.82) contrast(1.06);
  z-index: 0;
}

.page-home .hero-sky {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .8;
  z-index: 2;
  pointer-events: none;
}

.page-home .starmap {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
}

.page-home .star-node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px 6px 10px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(53, 224, 214, .34);
  background: rgba(6, 11, 34, .68);
  color: var(--star-92);
  font-size: .76rem;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color .3s var(--ease), transform .3s var(--ease), background .3s var(--ease);
}

.page-home .star-node::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(53, 224, 214, .9);
  flex: none;
}

.page-home .star-node:hover,
.page-home .star-node:focus-visible {
  border-color: var(--gold);
  background: rgba(6, 11, 34, .9);
  transform: translate(-50%, -50%) scale(1.04);
  outline: none;
}

.page-home .star-node--a { left: 20%; top: 24%; }
.page-home .star-node--b { left: 68%; top: 17%; }
.page-home .star-node--c { left: 30%; top: 71%; }
.page-home .star-node--d { left: 71%; top: 67%; }

.page-home .star-tip {
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  transform: translate(-50%, -6px);
  width: 208px;
  padding: 10px 13px;
  border-radius: 12px;
  border: 1px solid rgba(247, 249, 255, .16);
  background: rgba(6, 11, 34, .95);
  color: var(--star-70);
  font-size: .72rem;
  line-height: 1.55;
  white-space: normal;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  z-index: 4;
}

.page-home .star-node:hover .star-tip,
.page-home .star-node:focus-visible .star-tip {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

@media (max-width: 620px) {
  .page-home .star-node {
    font-size: .68rem;
    padding: 5px 10px 5px 8px;
  }
  .page-home .star-tip { display: none; }
}

/* ---------- boards ---------- */

.page-home .boards {
  width: min(100%, var(--shell));
  margin-inline: auto;
  padding: 8px var(--gutter) clamp(70px, 10vw, 120px);
  display: grid;
  gap: clamp(38px, 5vw, 58px);
}

.page-home .board {
  position: relative;
  border-radius: var(--r-panel);
  padding: clamp(26px, 4.4vw, 58px);
  overflow: hidden;
}

.page-home .board--paper {
  background: linear-gradient(178deg, var(--paper) 0%, #ede3d1 100%);
  border: 1px solid var(--paper-shade);
  color: var(--ink-88);
  box-shadow: 0 44px 74px -54px rgba(0, 0, 0, .95);
}

.page-home .board--deep {
  background: linear-gradient(152deg, rgba(43, 26, 99, .94), rgba(6, 11, 34, .97));
  border: 1px solid rgba(90, 60, 196, .42);
  color: var(--star-92);
  box-shadow: 0 44px 74px -54px rgba(0, 0, 0, .95);
}

@media (min-width: 1024px) {
  .page-home .boards > section.board:nth-of-type(even) {
    width: calc(100% - clamp(24px, 6vw, 82px));
    margin-inline-start: auto;
  }
  .page-home .board--lift { margin-top: var(--hp-lift); }
}

.page-home .section-num {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: .88;
  letter-spacing: -.045em;
}

.page-home .board--paper .section-num { color: var(--nebula); }
.page-home .board--deep .section-num { color: var(--gold); }

.page-home .board h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -.012em;
  color: inherit;
}

.page-home .board-lead {
  margin: 0;
  max-width: 44rem;
  font-size: 1.02rem;
  line-height: 1.8;
}

.page-home .board--paper .board-lead { color: var(--ink-62); }
.page-home .board--deep .board-lead { color: var(--star-70); }

.page-home .board h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.4;
  color: inherit;
}

.page-home .board-split {
  display: grid;
  gap: 28px;
}

@media (min-width: 900px) {
  .page-home .board-split {
    grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr);
    align-items: start;
    gap: clamp(30px, 4vw, 52px);
  }
  .page-home .board-split--flip {
    grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  }
}

@media (max-width: 899px) {
  .page-home .board-split--flip > .media { order: 2; }
}

/* fact lists */

.page-home .facts {
  list-style: none;
  display: grid;
  gap: 18px;
  margin: clamp(26px, 3.4vw, 34px) 0 0;
  padding: 0;
}

.page-home .facts li {
  padding-left: 18px;
  border-left: 3px solid var(--cyan);
}

.page-home .facts strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: inherit;
}

.page-home .facts span {
  display: block;
  font-size: .9rem;
  line-height: 1.7;
}

.page-home .board--paper .facts span { color: var(--ink-62); }
.page-home .board--deep .facts span { color: var(--star-70); }

.page-home .board--paper .facts li { border-left-color: var(--nebula); }

/* stat row */

.page-home .stat-row {
  list-style: none;
  display: grid;
  gap: 22px;
  margin: clamp(28px, 3.6vw, 38px) 0 0;
  padding: 0;
}

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

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

.page-home .stat__value {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  line-height: 1;
  letter-spacing: -.03em;
}

.page-home .board--paper .stat__value { color: var(--nebula); }
.page-home .board--deep .stat__value { color: var(--gold); }

.page-home .stat__label {
  display: block;
  font-size: .84rem;
  line-height: 1.68;
}

.page-home .board--paper .stat__label { color: var(--ink-62); }
.page-home .board--deep .stat__label { color: var(--star-70); }

/* ---------- steps ---------- */

.page-home .steps {
  list-style: none;
  display: grid;
  gap: 16px;
  margin: clamp(28px, 3.6vw, 38px) 0 0;
  padding: 0;
}

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

.page-home .step {
  padding: 22px 20px 20px;
  border-radius: var(--r-card);
  border: 1px solid var(--paper-shade);
  background: rgba(255, 255, 255, .56);
  transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}

.page-home .step:hover {
  transform: translateY(-5px);
  background: #fff;
  box-shadow: 0 26px 44px -30px rgba(19, 22, 34, .62);
}

.page-home .step .step-no {
  display: block;
  margin-bottom: 12px;
  color: var(--bay);
}

.page-home .step > p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.72;
  color: var(--ink-62);
}

.page-home .step__more {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s var(--ease);
}

.page-home .step__more > div {
  overflow: hidden;
}

.page-home .step:hover .step__more,
.page-home .step:focus-within .step__more {
  grid-template-rows: 1fr;
}

.page-home .step__more p {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--paper-shade);
  font-size: .84rem;
  line-height: 1.7;
  color: var(--ink-62);
}

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

.page-home .media {
  margin: 0;
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid rgba(19, 22, 34, .08);
  background: var(--paper-shade);
}

.page-home .board--deep .media {
  border-color: rgba(247, 249, 255, .14);
  background: rgba(6, 11, 34, .6);
}

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

.page-home .media__caption {
  padding: 12px 16px 14px;
  font-size: .78rem;
  line-height: 1.6;
}

.page-home .board--paper .media__caption {
  color: var(--ink-62);
  background: rgba(255, 255, 255, .62);
}

.page-home .board--deep .media__caption {
  color: var(--star-70);
  background: rgba(6, 11, 34, .72);
}

/* ---------- hub ---------- */

.page-home .hub {
  display: grid;
  gap: 14px;
  margin-top: clamp(28px, 3.6vw, 40px);
}

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

@media (min-width: 1060px) {
  .page-home .hub { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.page-home .hub-card {
  position: relative;
  display: block;
  padding: 22px 18px 24px;
  border-radius: var(--r-card);
  border: 1px solid rgba(53, 224, 214, .22);
  background: linear-gradient(180deg, rgba(90, 60, 196, .3), rgba(6, 11, 34, .55));
  color: var(--star-92);
  text-decoration: none;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.page-home .hub-card:hover,
.page-home .hub-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(53, 224, 214, .72);
  box-shadow: 0 28px 46px -30px rgba(53, 224, 214, .6);
  outline: none;
}

.page-home .hub-index {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .16em;
  color: var(--gold);
}

.page-home .hub-card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  color: var(--star);
}

.page-home .hub-card p {
  margin: 0;
  font-size: .82rem;
  line-height: 1.7;
  color: var(--star-70);
}

/* ---------- wide figure ---------- */

.page-home .wide-figure {
  margin: 0;
  border-radius: var(--r-panel);
  overflow: hidden;
  border: 1px solid rgba(247, 249, 255, .12);
  background: rgba(6, 11, 34, .6);
}

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

.page-home .wide-figure figcaption {
  padding: 14px 20px 16px;
  font-size: .8rem;
  line-height: 1.62;
  color: var(--star-70);
  background: rgba(6, 11, 34, .78);
}

/* ---------- rhythm ---------- */

.page-home .rhythm-list {
  list-style: none;
  display: grid;
  gap: 18px;
  margin: clamp(28px, 3.6vw, 38px) 0 0;
  padding: 0;
}

@media (min-width: 820px) {
  .page-home .rhythm-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
}

.page-home .rhythm-list li {
  padding-top: 18px;
  border-top: 2px solid var(--nebula);
}

.page-home .rhythm-when {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .14em;
  color: var(--bay);
}

.page-home .rhythm-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.02rem;
  color: var(--ink);
}

.page-home .rhythm-list p {
  margin: 0;
  font-size: .88rem;
  line-height: 1.72;
  color: var(--ink-62);
}

/* ---------- shared link ---------- */

.page-home .board-next {
  margin: clamp(26px, 3.4vw, 34px) 0 0;
}

.page-home .link-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color .25s var(--ease), gap .25s var(--ease);
}

.page-home .link-inline::after {
  content: "→";
  font-size: .95em;
}

.page-home .link-inline:hover,
.page-home .link-inline:focus-visible {
  gap: 12px;
  outline: none;
}

.page-home .board--paper .link-inline { color: var(--nebula); }
.page-home .board--deep .link-inline { color: var(--cyan); }

.page-home .board--paper .link-inline:hover { color: var(--ink); }
.page-home .board--deep .link-inline:hover { color: var(--gold); }

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .page-home .orbit { animation: none; }
  .page-home .step,
  .page-home .hub-card,
  .page-home .btn,
  .page-home .star-node,
  .page-home .link-inline {
    transition: opacity .3s linear;
  }
  .page-home .step:hover,
  .page-home .hub-card:hover,
  .page-home .btn:hover {
    transform: none;
  }
  .page-home .step__more {
    grid-template-rows: 1fr;
  }
}
</｜｜DSML｜｜ parameter>
</invoke>
</｜｜DSML｜｜ parameter>
