/* =========================================================
   十九岁，长征 — shared foundation
   Static site, no external dependencies, Edge 90+ friendly.
   ========================================================= */

:root {
  --ink: #070706;
  --ink-2: #0d0c0a;
  --ink-3: #14110e;
  --paper: #ece4d4;
  --paper-2: #d3c7b4;
  --muted: #a59a89;
  --muted-2: #7d7467;
  --gold: #c7a76b;
  --gold-2: #e2c489;
  --red: #a8272c;
  --red-2: #cf4144;
  --line: rgba(236, 228, 212, 0.14);
  --line-strong: rgba(236, 228, 212, 0.3);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, SimSun, serif;
  --sans: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  --max: 1180px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 280px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open,
body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--red);
  color: #fff6e7;
}

:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- shared type ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--gold);
  opacity: 0.7;
}

.eyebrow--plain::before {
  display: none;
}

.serif {
  font-family: var(--serif);
}

.red {
  color: var(--red-2);
}

.gold {
  color: var(--gold-2);
}

.container {
  width: min(var(--max), calc(100% - 80px));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 130px 0;
}

.section--tight {
  padding: 92px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 66px;
}

.section-head__title {
  max-width: 760px;
}

.section-index {
  display: inline-block;
  margin-bottom: 22px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--muted-2);
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 64px);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: 0.02em;
}

.section-title em {
  font-style: normal;
  color: var(--gold-2);
}

.section-lede {
  max-width: 410px;
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
}

/* ---------- buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 14px 28px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.2;
  overflow: hidden;
  transition: color 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.btn span {
  font-family: var(--sans);
  transition: transform 0.35s var(--ease);
}

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

.btn:hover span {
  transform: translateX(4px);
}

.btn--primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #17110a;
}

.btn--primary:hover {
  background: var(--gold-2);
  border-color: var(--gold-2);
}

.btn--ghost {
  border-color: rgba(236, 228, 212, 0.32);
  color: var(--paper);
}

.btn--ghost:hover {
  border-color: var(--paper);
  background: rgba(236, 228, 212, 0.06);
}

.btn--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn--dark:hover {
  background: #201811;
  border-color: #201811;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--gold-2);
  border-bottom: 1px solid rgba(226, 196, 137, 0.4);
  padding-bottom: 3px;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.link-arrow:hover {
  color: var(--paper);
  border-color: var(--paper);
}

/* ---------- header / navigation ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 36px;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
body.inner-page .site-header {
  background: rgba(7, 7, 6, 0.88);
  border-bottom-color: var(--line);
}

@supports ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
  .site-header.is-scrolled,
  body.inner-page .site-header {
    background: rgba(7, 7, 6, 0.7);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 150px;
}

.brand__mark {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: var(--red-2);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand__name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.3;
}

.brand__sub {
  font-size: 8px;
  letter-spacing: 0.26em;
  color: var(--muted-2);
  text-transform: uppercase;
  line-height: 1.3;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  position: relative;
  padding: 6px 0;
  font-size: 12px;
  letter-spacing: 0.13em;
  color: rgba(236, 228, 212, 0.68);
  transition: color 0.25s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right 0.35s var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--paper);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  right: 0;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 8px 0 8px 12px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--paper);
}

.nav-toggle__lines {
  position: relative;
  width: 22px;
  height: 14px;
}

.nav-toggle__lines::before,
.nav-toggle__lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}

.nav-toggle__lines::before {
  top: 3px;
}

.nav-toggle__lines::after {
  top: 10px;
}

body.nav-open .nav-toggle__lines::before {
  top: 7px;
  transform: rotate(45deg);
}

body.nav-open .nav-toggle__lines::after {
  top: 7px;
  transform: rotate(-45deg);
}

.nav-scrim {
  display: none;
}

@media (max-width: 900px) {
  .site-header {
    height: 64px;
    padding: 0 20px;
  }

  .brand {
    min-width: 0;
  }

  .brand__name {
    font-size: 15px;
  }

  .brand__sub {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    z-index: 102;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 101;
    width: min(82vw, 360px);
    padding: 108px 36px 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #0b0a09;
    border-left: 1px solid var(--line);
    transform: translateX(105%);
    transition: transform 0.5s var(--ease);
  }

  .site-nav a {
    width: 100%;
    padding: 18px 0;
    font-family: var(--serif);
    font-size: 24px;
    letter-spacing: 0.08em;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a::after {
    display: none;
  }

  .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.78);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }

  body.nav-open .site-nav {
    transform: translateX(0);
  }

  body.nav-open .nav-scrim {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 520px) {
  .container {
    width: calc(100% - 40px);
  }

  .section {
    padding: 88px 0;
  }

  .section-head {
    display: block;
    margin-bottom: 44px;
  }

  .section-lede {
    margin-top: 22px;
  }
}

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

.home-hero {
  position: relative;
  min-height: 100vh;
  min-height: 780px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.home-hero__art,
.home-hero__veil,
.home-hero__grain {
  position: absolute;
  inset: 0;
}

.home-hero__art {
  background-image: url("../images/hero-ridge.jpg");
  background-position: 50% 42%;
  background-size: cover;
  transform: scale(1.03);
  will-change: transform;
}

.home-hero__veil {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 7, 6, 0.9) 0%, rgba(7, 7, 6, 0.6) 42%, rgba(7, 7, 6, 0.22) 72%, rgba(7, 7, 6, 0.58) 100%),
    linear-gradient(0deg, var(--ink) 0%, transparent 24%, transparent 76%, rgba(7, 7, 6, 0.5) 100%);
}

.home-hero__grain {
  z-index: 2;
  background-image: url("../images/grain.png");
  opacity: 0.5;
  pointer-events: none;
  mix-blend-mode: soft-light;
}

.home-hero__inner {
  position: relative;
  z-index: 3;
  width: min(var(--max), calc(100% - 80px));
  margin: 0 auto;
  padding: 140px 0 96px;
}

.home-hero__content {
  position: relative;
  max-width: 730px;
}

.home-hero .eyebrow {
  margin-bottom: 48px;
}

.home-hero__title {
  position: relative;
  isolation: isolate;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: 0.02em;
}

.home-hero__title-small {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 14px;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: 0.34em;
  color: var(--gold-2);
}

.home-hero__title-big {
  position: relative;
  z-index: 1;
  display: block;
  font-size: clamp(90px, 14vw, 196px);
  letter-spacing: 0.06em;
  color: var(--paper);
}

.home-hero__title-big .dot {
  color: var(--red-2);
}

.home-hero__age {
  position: absolute;
  right: -60px;
  bottom: -18px;
  z-index: -1;
  font-family: "Bodoni 72", Didot, "Times New Roman", var(--serif);
  font-size: clamp(220px, 33vw, 470px);
  line-height: 0.7;
  letter-spacing: -0.08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(236, 228, 212, 0.14);
  pointer-events: none;
  user-select: none;
}

.home-hero__question {
  margin-top: 38px;
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.55;
  color: var(--paper);
}

.home-hero__lede {
  max-width: 560px;
  margin-top: 24px;
  font-size: 14px;
  line-height: 2.1;
  color: var(--muted);
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 42px;
}

.home-hero__foot {
  position: absolute;
  left: 0;
  bottom: -50px;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--muted-2);
}

.scroll-line {
  position: relative;
  display: block;
  width: 64px;
  height: 1px;
  overflow: hidden;
  background: rgba(236, 228, 212, 0.2);
}

.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-100%);
  animation: scroll-hint 2.8s var(--ease) infinite;
}

@keyframes scroll-hint {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}

.home-hero__index {
  position: absolute;
  right: 34px;
  bottom: 34px;
  z-index: 3;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.26em;
  color: var(--muted-2);
  writing-mode: vertical-rl;
}

@media (max-width: 900px) {
  .home-hero {
    min-height: 100vh;
    min-height: 720px;
  }

  .home-hero__art {
    background-position: 56% 50%;
  }

  .home-hero__veil {
    background:
      linear-gradient(90deg, rgba(7, 7, 6, 0.78) 0%, rgba(7, 7, 6, 0.42) 70%, rgba(7, 7, 6, 0.6) 100%),
      linear-gradient(0deg, var(--ink) 0%, transparent 34%, rgba(7, 7, 6, 0.34) 100%);
  }

  .home-hero__inner {
    width: calc(100% - 40px);
    padding-top: 112px;
  }

  .home-hero .eyebrow {
    margin-bottom: 34px;
    font-size: 10px;
    letter-spacing: 0.16em;
  }

  .home-hero__title-small {
    font-size: 24px;
    letter-spacing: 0.3em;
  }

  .home-hero__title-big {
    font-size: clamp(72px, 23vw, 132px);
  }

  .home-hero__age {
    right: -8px;
    bottom: 0;
    font-size: 230px;
    opacity: 0.9;
  }

  .home-hero__question {
    margin-top: 28px;
    font-size: 22px;
  }

  .home-hero__lede {
    font-size: 13px;
  }

  .home-hero__actions {
    margin-top: 32px;
  }

  .home-hero__foot {
    display: none;
  }

  .home-hero__index {
    display: none;
  }
}

@media (max-width: 520px) {
  .home-hero__title-small {
    font-size: 20px;
  }

  .home-hero__title-big {
    font-size: 84px;
    letter-spacing: 0.04em;
  }

  .home-hero__age {
    font-size: 188px;
    bottom: -10px;
  }

  .home-hero__actions .btn {
    flex: 1 1 100%;
  }
}

/* ---------- route cards ---------- */

.routes-section {
  background:
    radial-gradient(circle at 85% 8%, rgba(168, 39, 44, 0.1), transparent 40%),
    var(--ink);
}

.routes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.route-card {
  position: relative;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 28px;
  border: 1px solid var(--line);
  background: #0b0a08;
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.45s var(--ease), transform 0.45s var(--ease), background 0.45s var(--ease);
}

.route-card > * {
  position: relative;
  z-index: 2;
}

.route-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--card-img);
  background-size: cover;
  background-position: center;
  opacity: 0.64;
  filter: saturate(0.9) brightness(1.12);
  transform: scale(1.03);
  transition: opacity 0.6s var(--ease), transform 0.8s var(--ease);
}

.route-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(7, 7, 6, 0.62) 0%, rgba(7, 7, 6, 0.14) 28%, rgba(7, 7, 6, 0.54) 48%, rgba(7, 7, 6, 0.9) 70%, #070706 100%);
}

.route-card:hover {
  transform: translateY(-6px);
  border-color: rgba(199, 167, 107, 0.55);
  background: #0e0c09;
}

.route-card:hover::before {
  opacity: 0.78;
  transform: scale(1.07);
}

.route-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.route-card__no {
  font-family: "Bodoni 72", Didot, "Times New Roman", var(--serif);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted-2);
}

.route-card__tag {
  padding: 4px 8px;
  border: 1px solid rgba(207, 65, 68, 0.45);
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: #dc7a78;
}

.route-card:nth-child(2) .route-card__tag {
  border-color: rgba(199, 167, 107, 0.45);
  color: var(--gold-2);
}

.route-card:nth-child(3) .route-card__tag {
  border-color: rgba(159, 169, 119, 0.45);
  color: #bac18d;
}

.route-card__name {
  margin-top: 22px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.route-card__alias {
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.route-card__numbers {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 12px;
  margin-top: auto;
  padding-top: 58px;
}

.route-card__num {
  font-family: "Bodoni 72", Didot, "Times New Roman", var(--serif);
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 1;
  color: var(--paper);
  white-space: nowrap;
}

.route-card__num small {
  margin-left: 3px;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0;
  color: var(--muted);
}

.route-card__num--end {
  color: var(--gold-2);
}

.route-card__arrow {
  padding-bottom: 9px;
  color: var(--muted-2);
}

.route-card__labels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted-2);
}

.route-card__labels span:last-child {
  text-align: right;
}

.route-card__desc {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.95;
  color: var(--muted);
}

.route-card__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--paper);
}

.route-card__link span:last-child {
  font-size: 18px;
  color: var(--gold);
  transition: transform 0.35s var(--ease);
}

.route-card:hover .route-card__link span:last-child {
  transform: translateX(5px);
}

@media (max-width: 980px) {
  .routes-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .route-card {
    min-height: 0;
    padding: 26px 22px;
  }

  .route-card__numbers {
    padding-top: 34px;
  }

  .route-card__num {
    font-size: 38px;
  }

  .route-card__desc {
    max-width: 620px;
  }
}

/* ---------- stats ---------- */

.stats-section {
  border-top: 1px solid var(--line);
  background: var(--ink-2);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.stat {
  min-height: 260px;
  padding: 30px 26px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(236, 228, 212, 0.012);
}

.stat__value {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-family: "Bodoni 72", Didot, "Times New Roman", var(--serif);
  font-size: clamp(52px, 5.4vw, 78px);
  line-height: 1;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}

.stat__value small {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.stat__label {
  margin-top: 22px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--paper-2);
}

.stat__note {
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted-2);
}

.stats-source {
  margin-top: 20px;
  font-size: 10px;
  line-height: 1.9;
  color: var(--muted-2);
}

@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat {
    min-height: 210px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat {
    min-height: 0;
    padding: 26px 20px;
  }

  .stat__label {
    margin-top: 14px;
  }
}

/* ---------- quote / CTA band ---------- */

.quote-band {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  isolation: isolate;
}

.quote-band__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../images/echo.jpg");
  background-size: cover;
  background-position: center 60%;
  opacity: 0.75;
}

.quote-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(7, 7, 6, 0.9), rgba(7, 7, 6, 0.5) 60%, rgba(7, 7, 6, 0.7));
}

.quote-band__inner {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 80px;
  align-items: end;
}

.quote-band blockquote {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 50px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

.quote-band blockquote span {
  color: var(--gold-2);
}

.quote-band__cite {
  margin-top: 28px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.quote-band__aside {
  padding-bottom: 8px;
}

.quote-band__aside p {
  max-width: 360px;
  margin-bottom: 28px;
  font-size: 14px;
  line-height: 2.05;
  color: var(--paper-2);
}

@media (max-width: 900px) {
  .quote-band {
    padding: 92px 0;
  }

  .quote-band__inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

/* ---------- page hero (subpages) ---------- */

.page-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 100px) 0 76px;
  overflow: hidden;
  isolation: isolate;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center 45%;
  opacity: 0.66;
  filter: saturate(0.8) brightness(0.72) contrast(1.04);
  transform: scale(1.02);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 7, 6, 0.94), rgba(7, 7, 6, 0.68) 54%, rgba(7, 7, 6, 0.46) 100%),
    linear-gradient(0deg, var(--ink) 0%, transparent 52%, rgba(7, 7, 6, 0.34) 100%);
}

.page-hero__inner {
  width: min(var(--max), calc(100% - 80px));
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
}

.breadcrumb a {
  color: var(--muted);
  transition: color 0.25s ease;
}

.breadcrumb a:hover {
  color: var(--gold-2);
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(50px, 7.2vw, 108px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.04em;
}

.page-hero h1 em {
  font-style: normal;
  color: var(--gold-2);
}

.page-hero__lede {
  max-width: 620px;
  margin-top: 26px;
  font-size: 15px;
  line-height: 2.05;
  color: var(--paper-2);
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 36px;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted-2);
}

.page-hero__meta span::before {
  content: "·";
  margin-right: 10px;
  color: var(--red-2);
}

@media (max-width: 900px) {
  .page-hero {
    min-height: 56vh;
    padding: calc(var(--header-h) + 78px) 0 56px;
  }

  .page-hero__inner {
    width: calc(100% - 40px);
  }

  .page-hero::after {
    background:
      linear-gradient(90deg, rgba(7, 7, 6, 0.92), rgba(7, 7, 6, 0.66) 82%, rgba(7, 7, 6, 0.54) 100%),
      linear-gradient(0deg, var(--ink) 0%, transparent 48%, rgba(7, 7, 6, 0.28) 100%);
  }

  .page-hero h1 {
    font-size: clamp(40px, 12vw, 66px);
  }

  .page-hero__lede {
    font-size: 13px;
  }
}

/* ---------- content helpers ---------- */

.prose {
  max-width: 720px;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 2.2;
  color: var(--paper-2);
}

.prose p + p {
  margin-top: 22px;
}

.prose strong {
  color: var(--paper);
  font-weight: 600;
}

.prose em {
  font-style: normal;
  color: var(--gold-2);
}

.rule {
  width: 100%;
  height: 1px;
  background: var(--line);
}

.note {
  font-size: 10px;
  line-height: 1.9;
  color: var(--muted-2);
}

/* ---------- footer ---------- */

.site-footer {
  position: relative;
  padding: 76px 0 34px;
  border-top: 1px solid var(--line);
  background: #060605;
  overflow: hidden;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 60px;
  padding-bottom: 60px;
}

.footer-brand {
  max-width: 420px;
}

.footer-brand .brand {
  margin-bottom: 26px;
}

.footer-brand p {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.85;
  color: var(--paper-2);
}

.footer-col h3 {
  margin-bottom: 20px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--muted-2);
}

.footer-col a,
.footer-col p {
  display: block;
  margin-bottom: 11px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  transition: color 0.25s ease;
}

.footer-col a:hover {
  color: var(--gold-2);
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1.8;
  color: var(--muted-2);
}

.site-footer__bottom a {
  color: var(--muted);
  border-bottom: 1px solid rgba(236, 228, 212, 0.2);
}

.site-footer__bottom a:hover {
  color: var(--gold-2);
}

.footer-star {
  position: absolute;
  right: -60px;
  bottom: -100px;
  width: 360px;
  height: 360px;
  color: rgba(168, 39, 44, 0.055);
  pointer-events: none;
}

@media (max-width: 900px) {
  .site-footer {
    padding-top: 60px;
  }

  .site-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .site-footer__bottom {
    display: block;
  }

  .site-footer__bottom span {
    display: block;
    margin-top: 8px;
  }
}

/* ---------- page transition ---------- */

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  background: #060605;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.page-transition__star {
  width: 34px;
  height: 34px;
  color: var(--red-2);
  animation: star-pulse 1.1s ease-in-out infinite alternate;
}

body.is-leaving .page-transition {
  opacity: 1;
  visibility: visible;
}

@keyframes star-pulse {
  from { opacity: 0.35; transform: scale(0.9) rotate(0deg); }
  to { opacity: 1; transform: scale(1) rotate(8deg); }
}

/* ---------- reveal ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--delay, 0ms);
}

[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
