.page-home {
  --home-gap: clamp(20px, 3vw, 40px);
  --home-rail: 76px;
  --home-panel: 400px;
  background: var(--surface-0);
  color: var(--text);
  overflow-x: clip;
  font-family: var(--font-body);
}

/* ---------- HERO ---------- */
.page-home .hero {
  position: relative;
  isolation: isolate;
  padding: clamp(24px, 5vw, 64px) 0 clamp(40px, 6vw, 88px);
  border-bottom: 1px solid var(--line);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.28;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
}

.page-home .hero__bg {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.page-home .hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  filter: saturate(0.7);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 70%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 70%);
}

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

.page-home .hero__rail {
  display: none;
}

.page-home .hero__main .breadcrumb {
  margin-bottom: 20px;
}

.page-home .hero__kicker {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.page-home .hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(38px, 9.5vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--text-strong);
  text-wrap: balance;
}

.page-home .hero__title em {
  display: block;
  font-style: normal;
  color: var(--accent);
}

.page-home .hero__lede {
  margin: 22px 0 0;
  max-width: 46ch;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-muted);
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-home .hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  margin: 32px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: 620px;
}

.page-home .hero__stat dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.page-home .hero__stat dd {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  line-height: 1;
  color: var(--text-strong);
}

.page-home .hero__stat dd small {
  margin-left: 3px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
}

/* ---------- ENTRY PANEL ---------- */
.page-home .entry-panel {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(160deg, var(--surface-2) 0%, var(--surface-1) 72%);
}

.page-home .entry-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px dashed var(--line);
}

.page-home .entry-panel__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.page-home .entry-panel__tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.page-home .entry-panel__tabs .tabs__btn {
  padding: 12px 4px;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}

.page-home .entry-panel__tabs .tabs__btn:last-child {
  border-right: 0;
}

.page-home .entry-panel__tabs .tabs__btn:hover {
  color: var(--text-strong);
}

.page-home .entry-panel__tabs .tabs__btn[aria-selected="true"] {
  color: var(--surface-0);
  background: var(--accent);
  font-weight: 700;
  box-shadow: inset 0 -3px 0 rgba(4, 19, 15, 0.35);
}

.page-home .entry-panel__pane {
  padding: 18px 16px 16px;
  border-bottom: 1px solid var(--line-soft);
}

.page-home .entry-panel__pane:last-child {
  border-bottom: 0;
}

.page-home .entry-panel__label {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

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

.page-home .chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  background: rgba(4, 19, 15, 0.48);
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.page-home .chip input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.page-home .chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 1px solid var(--line);
  background: transparent;
}

.page-home .chip:has(input:checked) {
  border-color: var(--accent);
  color: var(--ice-mint);
}

.page-home .chip:has(input:checked)::before {
  border-color: var(--accent);
  background: var(--accent);
}

.page-home .chip:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.page-home .entry-panel__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.page-home .field-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.page-home .field-list li {
  padding: 7px 9px;
  border: 1px solid var(--line);
  background: rgba(4, 19, 15, 0.42);
  font-size: 12px;
  color: var(--text);
}

.page-home .mini-track {
  margin: 0 0 12px;
  padding: 0 0 0 16px;
  list-style: none;
  border-left: 1px solid var(--line);
}

.page-home .mini-track li {
  position: relative;
  padding: 5px 0 5px 4px;
  font-size: 13px;
  color: var(--text);
}

.page-home .mini-track li::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 12px;
  width: 7px;
  height: 7px;
  background: var(--accent);
}

.page-home .mini-track .mono {
  margin-right: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.page-home .entry-panel__note {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ---------- SHARED SECTION HEAD ---------- */
.page-home .sec-head {
  max-width: 62ch;
  margin-bottom: clamp(24px, 4vw, 48px);
}

.page-home .sec-head__index {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.page-home .sec-head h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}

.page-home .sec-head p:last-child {
  margin: 0;
  max-width: 56ch;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ---------- RHYTHM ---------- */
.page-home .rhythm {
  background: var(--surface-1);
}

.page-home .rhythm__track {
  position: relative;
  display: grid;
  gap: 34px;
  margin: 0;
  padding: 20px 0 0;
  list-style: none;
}

.page-home .rhythm__step {
  position: relative;
  padding: 36px 22px 24px;
}

.page-home .rhythm__no {
  position: absolute;
  top: -18px;
  left: 22px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--surface-0);
  border: 1px solid var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
}

.page-home .rhythm__step h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-strong);
}

.page-home .rhythm__step p {
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--text-muted);
}

.page-home .rhythm__action {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
}

/* ---------- PATH ---------- */
.page-home .path {
  background: var(--surface-0);
}

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

.page-home .path__text .sec-head__index {
  margin-bottom: 12px;
}

.page-home .path__text h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}

.page-home .path__lead {
  margin: 0 0 26px;
  max-width: 54ch;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-muted);
}

.page-home .path__switch {
  display: inline-flex;
  margin-bottom: 18px;
  border: 1px solid var(--line);
}

.page-home .path__switch .tabs__btn {
  padding: 9px 16px;
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.16s var(--ease), background 0.16s var(--ease);
}

.page-home .path__switch .tabs__btn + .tabs__btn {
  border-left: 1px solid var(--line);
}

.page-home .path__switch .tabs__btn[aria-selected="true"] {
  background: var(--accent);
  color: var(--surface-0);
  font-weight: 700;
}

.page-home .steps {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  counter-reset: pstep;
}

.page-home .steps li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 4px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  background: var(--surface-1);
  font-size: 14px;
  color: var(--text);
}

.page-home .steps li::before {
  counter-increment: pstep;
  content: counter(pstep, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
}

.page-home .steps--old li {
  background: rgba(10, 36, 28, 0.6);
  color: var(--text-muted);
}

.page-home .steps--old li::before {
  color: var(--muted-sage);
}

.page-home .path__note {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--status-orange);
}

.page-home .path__media {
  margin: 0;
}

/* ---------- MEDIA BASICS ---------- */
.page-home .media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

/* ---------- MOBILE SCENE ---------- */
.page-home .mobile {
  background: var(--surface-1);
}

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

.page-home .mobile__figure {
  position: relative;
  margin: 0 auto;
  max-width: 320px;
  width: 100%;
  border: 1px solid var(--line);
  box-shadow: var(--sh-card);
  overflow: hidden;
}

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

.page-home .mobile__text h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}

.page-home .mobile__text > p {
  margin: 0;
  max-width: 54ch;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-muted);
}

.page-home .checklist {
  display: grid;
  gap: 10px;
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
}

.page-home .checklist li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text);
}

.page-home .checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* ---------- WEEKEND ---------- */
.page-home .weekend {
  background: var(--surface-0);
}

.page-home .weekend__grid {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(24px, 4vw, 42px);
}

.page-home .combo {
  padding: 20px;
}

.page-home .combo__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.page-home .combo__span {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ice-mint);
}

.page-home .combo h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-strong);
}

.page-home .combo p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}

.page-home .combo__meta {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.page-home .weekend__figure {
  margin: 0;
}

/* ---------- NEXT ---------- */
.page-home .next {
  background: linear-gradient(180deg, var(--surface-1) 0%, var(--surface-0) 100%);
  border-top: 1px solid var(--line);
}

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

.page-home .next__link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.page-home .next__link .mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.page-home .next__link strong {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-strong);
}

.page-home .next__link p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--text-muted);
}

.page-home .next__link:hover,
.page-home .next__link:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 rgba(77, 255, 210, 0.18);
}

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

/* ---------- BREAKPOINTS ---------- */
@media (min-width: 640px) {
  .page-home .hero__bg {
    width: min(72%, 1000px);
  }

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

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

@media (min-width: 760px) {
  .page-home .rhythm__track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding-top: 26px;
  }

  .page-home .rhythm__step:nth-child(2) {
    margin-top: 26px;
  }
}

@media (min-width: 900px) {
  .page-home .hero {
    padding-bottom: clamp(56px, 6vw, 104px);
  }

  .page-home .hero__inner {
    grid-template-columns: var(--home-rail) minmax(0, 1fr) var(--home-panel);
    gap: var(--home-gap);
    align-items: start;
  }

  .page-home .hero__rail {
    display: block;
    position: relative;
    min-height: 420px;
  }

  .page-home .hero__rail-spine {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, var(--accent) 0%, var(--line) 58%, transparent 100%);
  }

  .page-home .hero__rail-node {
    position: relative;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin: 0 auto 24px;
    border: 1px solid var(--line);
    background: var(--surface-0);
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
  }

  .page-home .hero__rail-node.is-on {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--surface-0);
    box-shadow: 0 0 0 5px rgba(77, 255, 210, 0.14);
  }

  .page-home .hero__rail-label {
    display: block;
    margin-top: 10px;
    writing-mode: vertical-rl;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.3em;
    color: var(--muted-sage);
    text-align: center;
  }

  .page-home .entry-panel {
    margin-top: clamp(36px, 5vw, 76px);
  }

  .page-home .path__inner {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    align-items: center;
  }

  .page-home .mobile__inner {
    grid-template-columns: 320px minmax(0, 1fr);
  }

  .page-home .mobile__figure {
    margin: 0;
  }

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

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

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

@media (prefers-reduced-motion: reduce) {
  .page-home .combo,
  .page-home .next__link,
  .page-home .chip,
  .page-home .entry-panel__tabs .tabs__btn,
  .page-home .path__switch .tabs__btn {
    transition: none;
  }
}
<<<END>>>
