.page-home {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  padding-bottom: 64px;
  overflow-x: hidden;
}

.page-home .container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.page-home .section {
  padding-block: clamp(52px, 7vw, 100px);
}

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

.page-home .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.page-home .eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--tianshan);
  text-transform: uppercase;
  margin: 0 0 12px;
}

.page-home .eyebrow--light {
  color: var(--gold-soft);
}

.page-home .section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.75rem, 4.2vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}

.page-home .lede {
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  line-height: 1.85;
  color: var(--ink-soft);
  margin: 0;
}

.page-home .btn {
  display: inline-block;
  margin-top: 22px;
  padding: 12px 26px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.page-home .btn--gold {
  background: var(--gold);
  color: var(--walnut-deep);
}

.page-home .btn--gold:hover,
.page-home .btn--gold:focus-visible {
  background: var(--gold-soft);
}

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

.page-home .btn--ghost:hover,
.page-home .btn--ghost:focus-visible {
  background: rgba(214, 167, 86, 0.16);
}

.page-home .btn:hover {
  transform: translateY(-2px);
}

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

.page-home .hero-home {
  position: relative;
  background: var(--walnut-deep);
  color: var(--paper);
  padding-block: clamp(28px, 4vw, 48px) clamp(56px, 8vw, 104px);
  overflow: hidden;
}

.page-home .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: saturate(0.85);
}

.page-home .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg, rgba(42, 25, 15, 0.94) 24%, rgba(59, 36, 24, 0.78) 58%, rgba(46, 111, 142, 0.46) 100%);
}

.page-home .hero-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
  pointer-events: none;
}

.page-home .hero-inner {
  position: relative;
  z-index: 1;
}

.page-home .home-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 clamp(28px, 4vw, 52px);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(247, 243, 236, 0.72);
  text-transform: uppercase;
}

.page-home .home-context .ctx-brand {
  color: var(--gold);
  font-weight: 700;
}

.page-home .home-context .ctx-sep {
  color: rgba(247, 243, 236, 0.3);
}

.page-home .home-context .ctx-time {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border: 1px solid rgba(214, 167, 86, 0.5);
  color: var(--gold-soft);
}

.page-home .hero-eyebrow {
  color: var(--snow);
  margin-bottom: 10px;
}

.page-home .hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 7.2vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 clamp(18px, 2.4vw, 28px);
  max-width: 15ch;
  text-wrap: balance;
}

.page-home .hero-brand {
  display: block;
  font-family: var(--font-body);
  font-size: 0.22em;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--gold);
  margin-bottom: 0.9em;
}

.page-home .hero-lede {
  color: rgba(247, 243, 236, 0.82);
  max-width: 60ch;
}

.page-home .entry-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: clamp(32px, 5vw, 56px);
}

.page-home .entry-card {
  position: relative;
  padding: clamp(22px, 3vw, 34px);
  background: rgba(247, 243, 236, 0.055);
  border: 1px solid rgba(247, 243, 236, 0.16);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-home .entry-card:hover,
.page-home .entry-card:focus-within {
  background: rgba(214, 167, 86, 0.14);
  border-color: rgba(214, 167, 86, 0.55);
}

.page-home .entry-label {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--snow);
}

.page-home .entry-label .num {
  color: var(--gold);
  margin-right: 6px;
}

.page-home .entry-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  margin: 0 0 12px;
  color: var(--paper);
}

.page-home .entry-desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(247, 243, 236, 0.8);
}

.page-home .entry-time {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--gold-soft);
}

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

.page-home .entry-extra {
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 0.84rem;
  line-height: 1.7;
  color: rgba(247, 243, 236, 0.66);
  transition: max-height 0.35s ease, opacity 0.35s ease, margin-top 0.35s ease;
}

.page-home .entry-card:hover .entry-extra,
.page-home .entry-card:focus-within .entry-extra {
  max-height: 6em;
  opacity: 1;
  margin-top: 12px;
}

.page-home .dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
}

.page-home .dot--amber {
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(217, 130, 43, 0.65);
  animation: home-pulse 1.6s ease-out infinite;
}

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

@keyframes home-pulse {
  0% { box-shadow: 0 0 0 0 rgba(217, 130, 43, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(217, 130, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(217, 130, 43, 0); }
}

/* ---------- record band ---------- */

.page-home .record-band {
  background:
    radial-gradient(120% 90% at 8% 0%, rgba(214, 167, 86, 0.16) 0%, transparent 55%),
    var(--walnut);
  color: var(--paper);
  position: relative;
}

.page-home .record-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(247, 243, 236, 0.05) 0 1px, transparent 1px 22px);
  pointer-events: none;
}

.page-home .record-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 52px);
}

.page-home .record-band .section-title {
  color: var(--paper);
}

.page-home .band-lede {
  margin: 0 0 clamp(22px, 3vw, 30px);
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(247, 243, 236, 0.78);
  max-width: 52ch;
}

.page-home .filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(247, 243, 236, 0.18);
}

.page-home .filter-btn {
  font: inherit;
  font-size: 0.84rem;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(247, 243, 236, 0.28);
  background: transparent;
  color: rgba(247, 243, 236, 0.85);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.page-home .filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
}

.page-home .filter-btn.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--walnut-deep);
  font-weight: 700;
}

.page-home .filter-status {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(247, 243, 236, 0.56);
}

.page-home .timeline {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  position: relative;
}

.page-home .timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold) 0%, rgba(214, 167, 86, 0.12) 100%);
}

.page-home .timeline-item {
  position: relative;
  padding: 0 0 26px 34px;
}

.page-home .timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 13px;
  height: 13px;
  background: var(--gold);
  transform: rotate(45deg);
}

.page-home .timeline-item[hidden],
.page-home .timeline-item.is-hidden {
  display: none !important;
}

.page-home .timeline-date {
  margin: 0 0 6px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--amber);
  text-transform: uppercase;
}

.page-home .timeline-title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--paper);
}

.page-home .timeline-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(247, 243, 236, 0.72);
}

.page-home .record-side {
  display: grid;
  gap: 20px;
  align-content: start;
}

.page-home .media {
  margin: 0;
  overflow: hidden;
  background: var(--walnut-deep);
}

.page-home .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.page-home .media:hover img {
  transform: scale(1.03);
}

.page-home .record-figure img {
  aspect-ratio: 5 / 3;
  border: 1px solid rgba(247, 243, 236, 0.18);
}

.page-home .media-caption {
  margin-top: 10px;
  font-size: 0.78rem;
  line-height: 1.7;
  color: rgba(247, 243, 236, 0.6);
}

.page-home .cut-panel {
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.page-home .record-note {
  padding: 20px 22px;
  background: rgba(42, 25, 15, 0.5);
  border: 1px solid rgba(214, 167, 86, 0.32);
}

.page-home .record-note-title {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-soft);
}

.page-home .record-note p:last-child {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.8;
  color: rgba(247, 243, 236, 0.72);
}

/* ---------- device path ---------- */

.page-home .device-path {
  background: var(--paper);
}

.page-home .device-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 4vw, 56px);
}

.page-home .device-lede {
  margin-bottom: clamp(22px, 3vw, 34px);
}

.page-home .step-list {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: grid;
  gap: 18px;
}

.page-home .step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

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

.page-home .step-num {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--walnut);
  padding-top: 2px;
  border-top: 2px solid var(--gold);
  display: block;
}

.page-home .step-body h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
}

.page-home .step-body p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

.page-home .device-side {
  display: grid;
  gap: 22px;
  align-content: start;
}

.page-home .device-figure img {
  aspect-ratio: 3 / 2;
  border: 1px solid var(--line);
}

.page-home .device-figure .media-caption {
  color: var(--ink-soft);
}

.page-home .checklist {
  padding: 20px 22px 22px;
  background: var(--paper-2);
  border-left: 3px solid var(--pine);
}

.page-home .checklist-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.page-home .checklist-title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--walnut);
}

.page-home .checklist-meter-count {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--pine);
}

.page-home .checklist-meter {
  height: 6px;
  background: rgba(30, 26, 23, 0.12);
  overflow: hidden;
  margin-bottom: 14px;
}

.page-home .checklist-meter-fill {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--pine);
  transition: width 0.35s ease;
}

.page-home .checklist-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.page-home .checklist-item label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--ink);
  cursor: pointer;
}

.page-home .checklist-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--pine);
  flex: none;
}

.page-home .checklist-item:has(input:checked) label {
  color: var(--pine);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

/* ---------- chapter band ---------- */

.page-home .chapter-band {
  position: relative;
  background: var(--tianshan-deep);
  color: var(--paper);
  overflow: hidden;
}

.page-home .chapter-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .chapter-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
}

.page-home .chapter-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(36, 93, 120, 0.92) 0%, rgba(46, 111, 142, 0.82) 45%, rgba(59, 36, 24, 0.9) 100%);
}

.page-home .chapter-inner {
  position: relative;
  z-index: 1;
}

.page-home .chapter-band .section-title {
  color: var(--paper);
}

.page-home .chapter-grid {
  list-style: none;
  margin: clamp(24px, 3vw, 36px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-home .chapter-card a {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "idx name"
    "idx desc";
  gap: 4px 16px;
  align-content: start;
  padding: 20px 22px;
  text-decoration: none;
  color: var(--paper);
  background: rgba(247, 243, 236, 0.08);
  border: 1px solid rgba(247, 243, 236, 0.2);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  transition: background-color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.page-home .chapter-card a:hover,
.page-home .chapter-card a:focus-visible {
  background: rgba(214, 167, 86, 0.2);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.page-home .chapter-idx {
  grid-area: idx;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.page-home .chapter-name {
  grid-area: name;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.12rem;
}

.page-home .chapter-desc {
  grid-area: desc;
  font-size: 0.86rem;
  line-height: 1.7;
  color: rgba(247, 243, 236, 0.76);
}

/* ---------- scenes ---------- */

.page-home .scene-band {
  background: var(--paper);
}

.page-home .scene-head {
  max-width: 62ch;
  margin-bottom: clamp(26px, 3.4vw, 40px);
}

.page-home .scene-lede {
  margin-top: 6px;
}

.page-home .scene-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .scene-item {
  padding: 24px 22px;
  background: var(--paper);
  position: relative;
}

.page-home .scene-item::after {
  content: "";
  position: absolute;
  left: 22px;
  bottom: 0;
  width: 34px;
  height: 2px;
  background: var(--gold);
}

.page-home .scene-tag {
  margin: 0 0 10px;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--tianshan);
}

.page-home .scene-item h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 900;
  color: var(--walnut-deep);
}

.page-home .scene-item p:last-child {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

.page-home .scene-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 26px;
  margin-top: clamp(24px, 3vw, 34px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.page-home .scene-stats p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.page-home .scene-stats .num {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--walnut);
  margin-right: 4px;
}

/* ---------- trust ---------- */

.page-home .trust-band {
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
  border-top: 1px solid var(--line);
}

.page-home .trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 48px);
}

.page-home .trust-lede {
  margin-bottom: 22px;
}

.page-home .trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

.page-home .trust-list .dot {
  margin-top: 0.55em;
}

.page-home .trust-band .btn--ghost {
  color: var(--walnut);
  border-color: var(--walnut);
}

.page-home .trust-band .btn--ghost:hover,
.page-home .trust-band .btn--ghost:focus-visible {
  background: rgba(90, 58, 42, 0.08);
}

.page-home .trust-card {
  padding: 24px 24px 26px;
  background: var(--tianshan-deep);
  color: var(--paper);
  align-self: start;
}

.page-home .trust-card-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--gold-soft);
}

.page-home .trust-line {
  margin: 0 0 12px;
  display: grid;
  gap: 4px;
}

.page-home .footer-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.62);
}

.page-home .trust-card a {
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid rgba(214, 167, 86, 0.5);
  word-break: break-all;
}

.page-home .trust-card a:hover {
  color: var(--gold-soft);
}

.page-home .trust-mail {
  font-size: 0.9rem;
}

.page-home .copy-btn {
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 7px 16px;
  margin: 0 0 18px;
  cursor: pointer;
  color: var(--walnut-deep);
  background: var(--gold);
  border: 0;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background-color 0.2s ease;
}

.page-home .copy-btn:hover {
  background: var(--gold-soft);
}

.page-home .copy-btn.is-copied {
  background: var(--pine);
  color: var(--paper);
}

.page-home .trust-note {
  margin: 6px 0 0;
  font-size: 0.82rem;
  line-height: 1.75;
  color: rgba(247, 243, 236, 0.68);
}

/* ---------- rail / index ---------- */

.page-home .rail {
  position: fixed;
  z-index: 30;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(59, 36, 24, 0.97);
  border-top: 1px solid rgba(214, 167, 86, 0.4);
  overflow-x: auto;
  scrollbar-width: none;
}

.page-home .rail::-webkit-scrollbar {
  display: none;
}

.page-home .rail-title {
  display: none;
}

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

.page-home .rail-list a {
  display: block;
  white-space: nowrap;
  font-size: 0.76rem;
  padding: 6px 11px;
  color: rgba(247, 243, 236, 0.82);
  text-decoration: none;
  border: 1px solid rgba(247, 243, 236, 0.24);
}

.page-home .rail-list a[aria-current="true"] {
  color: var(--walnut-deep);
  background: var(--gold);
  border-color: var(--gold);
  font-weight: 700;
}

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

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

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

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

@media (min-width: 900px) {
  .page-home .entry-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .page-home .entry-card--offset {
    margin-top: 46px;
  }

  .page-home .record-grid {
    grid-template-columns: 7fr 4fr;
    align-items: start;
  }

  .page-home .device-grid {
    grid-template-columns: 7fr 4fr;
    align-items: start;
  }

  .page-home .trust-grid {
    grid-template-columns: 7fr 4fr;
    align-items: start;
  }

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

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

@media (min-width: 1080px) {
  .page-home .record-side,
  .page-home .device-side {
    position: sticky;
    top: calc(var(--bar-h) + 24px);
  }
}

@media (min-width: 1500px) {
  .page-home {
    padding-bottom: 0;
  }

  .page-home .rail {
    left: 26px;
    right: auto;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 150px;
    padding: 16px 14px;
    background: rgba(59, 36, 24, 0.06);
    border: 1px solid var(--line);
    border-top: 2px solid var(--gold);
    overflow: visible;
  }

  .page-home .rail-title {
    display: block;
    margin: 0 0 4px;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--walnut);
  }

  .page-home .rail-list {
    flex-direction: column;
    gap: 2px;
  }

  .page-home .rail-list a {
    border: 0;
    border-left: 2px solid transparent;
    color: var(--ink-soft);
    padding: 7px 8px;
    font-size: 0.82rem;
  }

  .page-home .rail-list a:hover {
    color: var(--walnut);
    border-left-color: var(--gold);
  }

  .page-home .rail-list a[aria-current="true"] {
    background: transparent;
    color: var(--walnut);
    border-left-color: var(--walnut);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .dot--amber {
    animation: none;
  }

  .page-home .btn,
  .page-home .entry-card,
  .page-home .entry-extra,
  .page-home .chapter-card a,
  .page-home .media img,
  .page-home .checklist-meter-fill {
    transition: none;
  }

  .page-home .btn:hover,
  .page-home .chapter-card a:hover {
    transform: none;
  }

  .page-home .media:hover img {
    transform: none;
  }
}
