.page-home {
  --home-gap: clamp(2.75rem, 7vw, 5.5rem);
  --home-pad: clamp(1.15rem, 4vw, 2.25rem);
  background: var(--ink);
  color: var(--paper);
  overflow-x: clip;
}

.page-home .pg-section {
  padding-block: var(--home-gap);
}

.page-home a {
  color: inherit;
}

/* ---------- Hero ---------- */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(1.75rem, 5vw, 3.25rem)) 0 clamp(1.75rem, 5vw, 3rem);
}

.page-home .home-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-home .home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 45%;
  opacity: 0.55;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(115% 90% at 10% 12%, rgba(7, 26, 43, 0.96) 0%, rgba(7, 26, 43, 0.7) 45%, rgba(2, 11, 18, 0.94) 100%),
    linear-gradient(180deg, rgba(7, 26, 43, 0.35), var(--ink) 94%);
}

.page-home .home-hero__frame {
  position: relative;
  width: var(--shell);
  margin-inline: auto;
  padding: clamp(1.5rem, 4.5vw, 3rem) clamp(1.1rem, 4vw, 2.75rem) clamp(1.75rem, 5vw, 3rem);
  border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, rgba(13, 43, 69, 0.62), rgba(7, 26, 43, 0.28));
  clip-path: polygon(0 0, calc(100% - 46px) 0, 100% 46px, 100% 100%, 0 100%);
}

.page-home .home-hero__frame::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 9px;
  background-image: repeating-linear-gradient(to bottom, var(--line-strong) 0 1px, transparent 1px 15px);
  opacity: 0.85;
  pointer-events: none;
}

.page-home .home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
}

.page-home .home-hero__eyebrow span {
  padding: 0.15rem 0.5rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xs);
  color: var(--cyan);
}

.page-home .home-hero__title {
  margin: 0.9rem 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 6.2vw, 3.85rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 20ch;
}

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

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

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1.4rem, 3.5vw, 2rem);
}

.page-home .home-hero__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  margin: clamp(1.6rem, 4vw, 2.4rem) 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.page-home .home-hero__stat {
  min-width: 0;
}

.page-home .home-hero__stat dt {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.page-home .home-hero__stat dd {
  margin: 0.35rem 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 3.6vw, 1.95rem);
  line-height: 1.1;
  color: var(--paper);
}

.page-home .home-hero__stat dd small {
  margin-left: 0.25rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}

/* ---------- Three entries ---------- */
.page-home .home-entries {
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(14, 107, 102, 0.22), transparent 62%),
    var(--ink);
}

.page-home .home-entries__head {
  max-width: 44rem;
  margin-bottom: clamp(1.6rem, 4vw, 2.5rem);
}

.page-home .home-entries__head .pg-section__title {
  margin: 0.6rem 0 0;
}

.page-home .home-entries__head .pg-lead {
  margin-top: 0.75rem;
  color: var(--mist);
}

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

.page-home .home-entry {
  --accent: var(--cyan);
  --accent-soft: rgba(47, 230, 214, 0.16);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.5rem 1.25rem 1.6rem;
  background: linear-gradient(170deg, rgba(13, 43, 69, 0.82), rgba(7, 26, 43, 0.72));
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.page-home .home-entry::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  border-radius: var(--r-md) var(--r-md) 0 0;
  background: linear-gradient(90deg, var(--accent), transparent 78%);
}

.page-home .home-entry--cyan {
  --accent: var(--cyan);
  --accent-soft: rgba(47, 230, 214, 0.18);
}

.page-home .home-entry--gold {
  --accent: var(--gold);
  --accent-soft: rgba(255, 184, 77, 0.18);
}

.page-home .home-entry--rose {
  --accent: var(--rose);
  --accent-soft: rgba(255, 92, 138, 0.18);
}

.page-home .home-entry:hover,
.page-home .home-entry:focus-within {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 22px 46px -30px var(--accent), 0 0 0 4px var(--accent-soft);
}

.page-home .home-entry__num {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.page-home .home-entry__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 2.8vw, 1.2rem);
  line-height: 1.45;
  color: var(--paper);
}

.page-home .home-entry__text {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .home-entry__link {
  margin-top: auto;
  align-self: flex-start;
  padding-bottom: 0.15rem;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-soft);
  transition: border-color 0.3s var(--ease), gap 0.3s var(--ease);
}

.page-home .home-entry__link::after {
  content: " →";
}

.page-home .home-entry__link:hover,
.page-home .home-entry__link:focus-visible {
  border-color: var(--accent);
}

.page-home .home-entries__figure {
  margin: clamp(1.75rem, 4.5vw, 2.75rem) 0 0;
}

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

/* ---------- Ladder ---------- */
.page-home .home-ladder {
  padding-block: var(--home-gap);
  background: linear-gradient(180deg, var(--void), var(--ink) 62%);
  border-top: 1px solid var(--line);
}

.page-home .home-ladder__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.75rem, 5vw, 3rem);
}

.page-home .home-ladder__main {
  min-width: 0;
}

.page-home .home-ladder__main .pg-section__title {
  margin: 0.6rem 0 clamp(1.5rem, 4vw, 2.25rem);
}

.page-home .home-ladder__steps {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0 0 0 1.4rem;
  border-left: 1px solid var(--line-strong);
}

.page-home .home-ladder__step {
  position: relative;
  padding-bottom: clamp(1.4rem, 3.5vw, 2rem);
}

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

.page-home .home-ladder__step::before {
  content: "";
  position: absolute;
  left: -1.4rem;
  top: 0.5rem;
  width: 9px;
  height: 9px;
  margin-left: -4.5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(47, 230, 214, 0.12);
}

.page-home .home-ladder__num {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.page-home .home-ladder__title {
  margin: 0.35rem 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 2.8vw, 1.25rem);
  line-height: 1.45;
}

.page-home .home-ladder__text {
  margin: 0;
  max-width: 40rem;
  font-size: 0.94rem;
  line-height: 1.85;
  color: var(--mist);
}

.page-home .home-ladder__figure {
  margin: 0;
  align-self: start;
}

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

/* ---------- Band: export ---------- */
.page-home .home-band {
  padding-block: clamp(2.5rem, 7vw, 4.25rem);
  background:
    radial-gradient(85% 120% at 88% 8%, rgba(14, 107, 102, 0.5), transparent 66%),
    linear-gradient(120deg, var(--hull), var(--void));
  border-block: 1px solid var(--line);
}

.page-home .home-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.75rem, 4.5vw, 2.75rem);
  align-items: center;
}

.page-home .home-band__copy {
  min-width: 0;
}

.page-home .home-band__title {
  margin: 0.6rem 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 4.4vw, 2.3rem);
  line-height: 1.25;
}

.page-home .home-band__text {
  margin: 0;
  max-width: 34rem;
  font-size: 0.96rem;
  line-height: 1.85;
  color: var(--mist);
}

.page-home .home-band__list {
  list-style: none;
  margin: 1.25rem 0 1.6rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.page-home .home-band__list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .home-band__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--cyan);
}

.page-home .home-band__list strong {
  color: var(--sand);
  font-weight: 700;
}

.page-home .home-band__visual {
  min-width: 0;
  display: grid;
  gap: 1rem;
}

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

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

.page-home .home-band__path {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
}

/* ---------- Folds ---------- */
.page-home .home-folds {
  background: var(--ink);
}

.page-home .home-folds__head {
  max-width: 42rem;
  margin-bottom: clamp(1.4rem, 3.5vw, 2rem);
}

.page-home .home-folds__head .pg-section__title {
  margin: 0.6rem 0 0;
}

.page-home .home-folds__head .pg-lead {
  margin-top: 0.75rem;
  color: var(--mist);
}

.page-home .home-fold {
  border-top: 1px solid var(--line);
}

.page-home .home-fold:last-of-type {
  border-bottom: 1px solid var(--line);
}

.page-home .home-fold .pg-fold__summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.98rem, 2.6vw, 1.15rem);
  line-height: 1.5;
  color: var(--paper);
  transition: color 0.3s var(--ease);
}

.page-home .home-fold .pg-fold__summary::-webkit-details-marker {
  display: none;
}

.page-home .home-fold .pg-fold__summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  line-height: 1;
  color: var(--cyan);
}

.page-home .home-fold[open] .pg-fold__summary::after {
  content: "–";
  color: var(--gold);
}

.page-home .home-fold .pg-fold__summary:hover {
  color: var(--cyan);
}

.page-home .home-fold .pg-fold__body {
  padding: 0 0 1.5rem;
  max-width: 46rem;
  font-size: 0.94rem;
  line-height: 1.85;
  color: var(--mist);
}

.page-home .home-fold .pg-fold__body p {
  margin: 0 0 0.75rem;
}

.page-home .home-fold .pg-fold__body p:last-child {
  margin-bottom: 0;
}

.page-home .home-fold .pg-fold__body a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 230, 214, 0.35);
}

.page-home .home-fold .pg-fold__body a:hover,
.page-home .home-fold .pg-fold__body a:focus-visible {
  border-color: var(--cyan);
}

/* ---------- Closing ---------- */
.page-home .home-close {
  padding-block: clamp(2.5rem, 6vw, 4rem) clamp(2.75rem, 7vw, 4.5rem);
  background: var(--void);
  border-top: 1px solid var(--line);
}

.page-home .home-close__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}

.page-home .home-close__card {
  min-width: 0;
  padding: clamp(1.35rem, 4vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, rgba(13, 43, 69, 0.85), rgba(2, 11, 18, 0.92));
}

.page-home .home-close__title {
  margin: 0.6rem 0 0.7rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 3.8vw, 1.85rem);
  line-height: 1.3;
}

.page-home .home-close__text {
  margin: 0 0 1.25rem;
  max-width: 34rem;
  font-size: 0.93rem;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .home-close__rows {
  display: grid;
  gap: 0.65rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.page-home .home-close__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.9rem;
}

.page-home .home-close__key {
  min-width: 4.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.page-home .home-close__val {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--sand);
  word-break: break-word;
}

.page-home .home-close__card .pg-copybtn {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  border-bottom: 1px dashed rgba(245, 215, 161, 0.45);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.page-home .home-close__card .pg-copybtn:hover,
.page-home .home-close__card .pg-copybtn:focus-visible {
  color: var(--cyan);
  border-color: var(--cyan);
}

.page-home .home-close__meta {
  margin: 1.1rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(169, 186, 198, 0.7);
}

.page-home .home-close__nav {
  min-width: 0;
  padding: clamp(1.35rem, 4vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(7, 26, 43, 0.6);
}

.page-home .home-close__navtitle {
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mist);
}

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

.page-home .home-close__links a {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.92rem;
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.page-home .home-close__links a:hover,
.page-home .home-close__links a:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

/* ---------- Responsive ---------- */
@media (min-width: 720px) {
  .page-home .home-hero__metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .page-home .home-entry--cyan {
    grid-column: span 2;
  }

  .page-home .home-close__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: start;
  }
}

@media (min-width: 900px) {
  .page-home .home-entries__grid {
    grid-template-columns: 1.12fr 1fr 1fr;
    align-items: start;
  }

  .page-home .home-entry--cyan {
    grid-column: auto;
  }

  .page-home .home-entry--gold {
    margin-top: 1.4rem;
  }

  .page-home .home-entry--rose {
    margin-top: 2.8rem;
  }

  .page-home .home-ladder__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: start;
  }

  .page-home .home-band__inner {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  }

  .page-home .home-band__visual {
    justify-items: end;
  }
}

@media (min-width: 1080px) {
  .page-home .home-hero__frame {
    padding-right: clamp(2rem, 5vw, 3.5rem);
  }

  .page-home .home-hero__title {
    max-width: 24ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-entry,
  .page-home .home-entry__link,
  .page-home .home-close__card .pg-copybtn,
  .page-home .home-close__links a {
    transition: none;
  }

  .page-home .home-entry:hover,
  .page-home .home-entry:focus-within {
    transform: none;
  }
}
<<<END>>>
