.page-home {
  --h-gap: clamp(26px, 4.4vw, 56px);
  --h-line: rgba(199, 208, 206, 0.24);
  --h-line-strong: rgba(199, 208, 206, 0.42);
}

.page-home .h-section {
  padding: clamp(44px, 7vw, 92px) 0;
}

.page-home .band--deep,
.page-home .h-hero,
.page-home .h-scenery {
  color: var(--text-on-ink);
}

.page-home .band--paper {
  color: var(--text-on-paper);
}

.page-home .h-section__head {
  max-width: 62ch;
  margin-bottom: clamp(24px, 3.6vw, 44px);
}

.page-home .h-section__head .lede {
  margin-top: 12px;
}

.page-home .h-eyebrow {
  color: var(--accent);
  letter-spacing: 0.14em;
}

.page-home .band--paper .h-eyebrow {
  color: var(--brick);
}

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

.page-home .h-hero {
  position: relative;
  padding: clamp(30px, 5vw, 60px) 0 clamp(38px, 6vw, 76px);
  background:
    radial-gradient(120% 96% at 88% -6%, rgba(226, 118, 47, 0.14), transparent 58%),
    linear-gradient(180deg, var(--ink-soft) 0%, var(--ink) 62%, var(--ink-deep) 100%);
  overflow: hidden;
}

.page-home .h-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 52px);
  align-items: end;
}

.page-home .h-hero__kicker {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted-on-ink);
  margin-bottom: 14px;
}

.page-home .h-hero__title {
  font-family: var(--font-display);
  color: var(--text-on-ink);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.page-home .h-hero__lede {
  max-width: 46ch;
  color: var(--text-muted-on-ink);
  font-size: 1.02rem;
  line-height: 1.85;
}

.page-home .h-hero__preview {
  margin-top: clamp(24px, 3.4vw, 38px);
}

.page-home .h-hero__preview-label {
  color: var(--gold);
  margin-bottom: 10px;
}

.page-home .h-chapters {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--h-line);
}

.page-home .h-chapters li {
  border-bottom: 1px solid var(--h-line);
}

.page-home .h-chapters a {
  display: grid;
  grid-template-columns: 2.4em 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px 6px 12px 0;
  color: var(--text-on-ink);
  text-decoration: none;
  transition: color 0.18s ease, padding-left 0.18s ease, background-color 0.18s ease;
}

.page-home .h-chapters a:hover,
.page-home .h-chapters a:focus-visible {
  color: var(--accent);
  padding-left: 10px;
}

.page-home .h-chapters a.is-current,
.page-home .h-chapters a[aria-current="true"] {
  color: var(--accent);
  padding-left: 10px;
}

.page-home .h-chapters a.is-current .h-chapters__num,
.page-home .h-chapters a[aria-current="true"] .h-chapters__num {
  color: var(--accent);
}

.page-home .h-chapters__num {
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.page-home .h-chapters__text {
  font-size: 0.98rem;
}

.page-home .h-hero__figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--h-line-strong);
  box-shadow: var(--shadow-paper);
  background: var(--ink-deep);
}

.page-home .h-hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.page-home .h-hero__caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(14, 24, 40, 0.78);
  border: 1px solid var(--h-line-strong);
  color: var(--accent);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  backdrop-filter: blur(4px);
}

/* ---------- updates ---------- */

.page-home .h-updates {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--h-gap);
}

.page-home .h-updates__figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--h-line);
  background: var(--ink-deep);
}

.page-home .h-updates__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 8 / 5;
}

.page-home .h-updates__caption {
  display: block;
  padding: 10px 14px;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--text-muted-on-ink);
  border-top: 1px solid var(--h-line);
}

.page-home .h-updates__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--h-line);
}

.page-home .h-updates__list .index-item {
  border-bottom: 1px solid var(--h-line);
}

.page-home .index-link {
  display: grid;
  grid-template-columns: 5.2em 3.4em 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 15px 6px 15px 0;
  text-decoration: none;
  color: var(--text-on-ink);
  border-left: 3px solid transparent;
  transition: border-color 0.18s ease, padding-left 0.18s ease, background-color 0.18s ease;
}

.page-home .index-link:hover,
.page-home .index-link:focus-visible {
  border-left-color: var(--accent);
  padding-left: 12px;
  background: rgba(226, 118, 47, 0.06);
}

.page-home .index-link .index-date {
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.page-home .index-link .index-num {
  color: var(--gold);
  font-size: 0.86rem;
}

.page-home .index-link .index-num::before {
  content: "No.";
  opacity: 0.7;
}

.page-home .index-link .index-title {
  font-size: 1rem;
  line-height: 1.7;
}

/* ---------- entrances ---------- */

.page-home .h-entrances {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--h-gap);
  align-items: start;
}

.page-home .h-entrances__figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(36, 28, 25, 0.12);
  box-shadow: var(--shadow-paper);
  background: var(--paper-soft);
}

.page-home .h-entrances__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.page-home .h-entrances__list {
  display: grid;
  gap: 16px;
}

.page-home .h-entrance {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 22px 24px 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--ink-soft), var(--ink) 70%);
  color: var(--text-on-ink);
  box-shadow: var(--shadow-paper);
  border: 1px solid rgba(199, 208, 206, 0.18);
  overflow: hidden;
}

.page-home .h-entrance::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--gold));
}

.page-home .h-entrance__idx {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.page-home .h-entrance__title {
  font-family: var(--font-display);
  font-size: 1.28rem;
  letter-spacing: 0.01em;
  color: var(--text-on-ink);
}

.page-home .h-entrance__body {
  color: var(--text-muted-on-ink);
  font-size: 0.95rem;
  line-height: 1.85;
  max-width: 44ch;
}

.page-home .h-entrance__cta {
  justify-self: start;
  margin-top: 6px;
  text-decoration: none;
}

/* ---------- directory tree ---------- */

.page-home .h-tree {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-home .h-tree__node {
  border-radius: var(--radius-md);
  background: var(--paper);
  color: var(--text-on-paper);
  border: 1px solid rgba(199, 208, 206, 0.5);
  box-shadow: var(--shadow-paper);
  overflow: hidden;
}

.page-home .h-tree__summary {
  display: grid;
  grid-template-columns: 3em 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 15px 18px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.06rem;
  letter-spacing: 0.01em;
  color: var(--brown);
  transition: background-color 0.18s ease;
}

.page-home .h-tree__summary::-webkit-details-marker {
  display: none;
}

.page-home .h-tree__summary:hover,
.page-home .h-tree__summary:focus-visible {
  background: var(--paper-soft);
}

.page-home .h-tree__summary::after {
  content: "+";
  grid-column: 3;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--accent);
  line-height: 1;
}

.page-home .h-tree__node[open] .h-tree__summary {
  background: var(--paper-soft);
  border-bottom: 1px solid var(--divider);
}

.page-home .h-tree__node[open] .h-tree__summary::after {
  content: "\2013";
}

.page-home .h-tree__num {
  font-size: 0.82rem;
  color: var(--gold-deep);
  letter-spacing: 0.08em;
}

.page-home .h-tree__count {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--text-muted-on-paper);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--divider);
  background: var(--paper);
}

.page-home .h-tree__list {
  list-style: none;
  margin: 0;
  padding: 10px 18px 16px 18px;
  display: grid;
  gap: 2px;
  border-left: 3px solid var(--divider);
  margin-left: 18px;
}

.page-home .h-tree__list a {
  display: block;
  padding: 8px 0;
  color: var(--text-muted-on-paper);
  text-decoration: none;
  font-size: 0.94rem;
  border-bottom: 1px dashed rgba(199, 208, 206, 0.7);
  transition: color 0.18s ease, padding-left 0.18s ease;
}

.page-home .h-tree__list li:last-child a {
  border-bottom: none;
}

.page-home .h-tree__list a:hover,
.page-home .h-tree__list a:focus-visible {
  color: var(--brick);
  padding-left: 8px;
}

/* ---------- sequence ---------- */

.page-home .h-sequence {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--h-gap);
  align-items: start;
}

.page-home .h-sequence__timeline {
  margin: 0;
}

.page-home .h-sequence__item {
  padding-bottom: 22px;
}

.page-home .h-sequence__title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--brown);
  margin-bottom: 6px;
}

.page-home .h-sequence__body {
  color: var(--text-muted-on-paper);
  font-size: 0.95rem;
  line-height: 1.85;
  max-width: 44ch;
}

.page-home .h-badges {
  padding: 24px 22px 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--paper), var(--paper-soft));
  border: 1px solid var(--divider);
  box-shadow: var(--shadow-paper);
}

.page-home .h-badges__label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--gold-deep);
}

.page-home .h-badges__hint {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--text-muted-on-paper);
}

.page-home .h-badges__row {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-home .h-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--gold);
  background: rgba(176, 138, 74, 0.1);
  color: var(--gold-deep);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  cursor: default;
  transition: background-color 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.page-home .h-badge:hover,
.page-home .h-badge:focus-visible {
  background: rgba(226, 118, 47, 0.14);
  border-color: var(--accent);
  color: var(--brick);
  transform: translateY(-2px);
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.page-home .h-badge__tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  width: max-content;
  max-width: 200px;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  background: var(--brown);
  color: var(--text-on-ink);
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.6;
  letter-spacing: 0;
  box-shadow: 0 12px 24px -16px rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s ease;
  z-index: 3;
}

.page-home .h-badge:hover .h-badge__tip,
.page-home .h-badge:focus-visible .h-badge__tip {
  opacity: 1;
  visibility: visible;
}

/* ---------- paths ---------- */

.page-home .h-paths {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.page-home .h-path {
  display: grid;
  gap: 10px;
  padding: 24px 24px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--h-line);
  background: rgba(246, 241, 230, 0.05);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.page-home .h-path:hover {
  border-color: rgba(226, 118, 47, 0.5);
  background: rgba(246, 241, 230, 0.08);
}

.page-home .h-path__tag {
  justify-self: start;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--ink-deep);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.page-home .h-path__title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--text-on-ink);
  line-height: 1.4;
}

.page-home .h-path__body {
  color: var(--text-muted-on-ink);
  font-size: 0.95rem;
  line-height: 1.85;
}

.page-home .h-path__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.page-home .h-path__actions .pill {
  text-decoration: none;
}

/* ---------- scenery ---------- */

.page-home .h-scenery {
  padding: 0 0 clamp(36px, 5vw, 64px);
  background: linear-gradient(180deg, var(--ink-deep), var(--ink));
}

.page-home .h-scenery__inner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--h-line);
}

.page-home .h-scenery__inner img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3 / 1;
  opacity: 0.72;
}

.page-home .h-scenery__note {
  position: absolute;
  left: 18px;
  bottom: 16px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(14, 24, 40, 0.82);
  border: 1px solid var(--h-line-strong);
  color: var(--gold);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
}

/* ---------- responsive ---------- */

@media (max-width: 560px) {
  .page-home .index-link {
    grid-template-columns: 5em 1fr;
    gap: 4px 12px;
  }

  .page-home .index-link .index-date {
    grid-row: 1;
    grid-column: 1;
  }

  .page-home .index-link .index-num {
    grid-row: 2;
    grid-column: 1;
  }

  .page-home .index-link .index-title {
    grid-row: 1 / span 2;
    grid-column: 2;
  }

  .page-home .h-tree__summary {
    grid-template-columns: 2.4em 1fr auto;
    font-size: 1rem;
    padding: 14px 15px;
  }

  .page-home .h-tree__count {
    display: none;
  }

  .page-home .h-badge {
    width: 52px;
    height: 52px;
  }

  .page-home .h-badges__row {
    gap: 10px;
  }
}

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

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

  .page-home .h-tree {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (min-width: 940px) {
  .page-home .h-hero__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }

  .page-home .h-updates {
    grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
    align-items: start;
  }

  .page-home .h-entrances {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  }

  .page-home .h-entrances__list {
    grid-template-columns: 1fr;
  }

  .page-home .h-sequence {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }

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

  .page-home .h-tree {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
<<<END>>>
