:root {
  --night: #061126;
  --deep: #0a1d3e;
  --cosmic: #173f78;
  --mist: #e8f0ff;
  --ice: #b7ccff;
  --aqua: #82e2d5;
  --signal: #f3d47c;
  --ink: #071328;
  --line: rgba(218, 232, 255, 0.22);
  --glass: rgba(9, 28, 61, 0.68);
  --display: "STKaiti", "KaiTi", "FangSong", serif;
  --body: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  --utility: "Arial Narrow", "Roboto Condensed", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(0.22, 0.72, 0.18, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--night);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--mist);
  background:
    radial-gradient(circle at 52% 28%, rgba(54, 98, 161, 0.28), transparent 34rem),
    var(--night);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
}

body.is-loading,
body.is-drawer-open {
  overflow: hidden;
}

button,
a {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

button {
  border: 0;
}

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

::selection {
  color: var(--night);
  background: var(--aqua);
}

:focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.7rem 1rem;
  color: var(--night);
  background: var(--aqua);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.eyebrow {
  margin: 0;
  color: var(--aqua);
  font-family: var(--utility);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.3;
  text-transform: uppercase;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: grid;
  place-items: center;
  padding: 2rem;
  background:
    radial-gradient(circle at 70% 18%, rgba(95, 133, 207, 0.22), transparent 22rem),
    linear-gradient(145deg, #050d1c, #07172f 52%, #091329);
  transition: opacity 800ms var(--ease), visibility 800ms;
}

.loader.is-complete {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__inner {
  width: min(55rem, 100%);
}

.loader__word {
  position: relative;
  margin: 1.2rem 0 0.9rem;
  color: transparent;
  font-family: var(--utility);
  font-size: clamp(4rem, 12vw, 9.5rem);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.8;
  -webkit-text-stroke: 1px rgba(212, 228, 255, 0.24);
}

.loader__word-fill {
  position: absolute;
  inset: 0;
  color: var(--mist);
  clip-path: inset(0 100% 0 0);
  -webkit-text-stroke: 0;
}

.loader__meta {
  display: flex;
  justify-content: space-between;
  color: rgba(232, 240, 255, 0.58);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.loader__track {
  height: 1px;
  margin-top: 0.7rem;
  background: rgba(232, 240, 255, 0.18);
}

.loader__track i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--aqua), var(--signal));
}

.loader__enter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(18rem, 100%);
  margin-top: 2rem;
  padding: 0.9rem 1.1rem;
  color: var(--night);
  background: var(--mist);
  cursor: pointer;
  opacity: 1;
  transition: transform 220ms ease, background-color 220ms ease, opacity 220ms ease;
}

.loader__enter:disabled {
  cursor: wait;
  opacity: 0.36;
}

.loader__enter:not(:disabled):hover {
  background: var(--aqua);
  transform: translateY(-2px);
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.ambient__stars,
.ambient__stars::before,
.ambient__stars::after {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.75) 0 1px, transparent 1.6px),
    radial-gradient(circle at 73% 11%, rgba(130, 226, 213, 0.72) 0 1px, transparent 1.7px),
    radial-gradient(circle at 86% 69%, rgba(243, 212, 124, 0.6) 0 1.2px, transparent 1.8px),
    radial-gradient(circle at 43% 78%, rgba(255, 255, 255, 0.48) 0 1px, transparent 1.5px);
  background-size: 18rem 16rem, 23rem 19rem, 29rem 24rem, 31rem 27rem;
}

.ambient__stars::before {
  opacity: 0.45;
  transform: rotate(16deg) scale(1.18);
}

.ambient__stars::after {
  opacity: 0.28;
  transform: rotate(-13deg) scale(1.35);
}

.orbit-route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.32;
}

.orbit-route path {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.orbit-route__ghost {
  stroke: rgba(183, 204, 255, 0.17);
  stroke-width: 1;
}

.orbit-route__line {
  stroke: url("#routeGradient");
  stroke: var(--aqua);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-dasharray: 2200;
  stroke-dashoffset: var(--route-offset, 2200);
  filter: drop-shadow(0 0 8px rgba(130, 226, 213, 0.45));
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  padding: 1.15rem clamp(1rem, 3vw, 3rem);
  font-family: var(--utility);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  background: linear-gradient(180deg, rgba(5, 13, 28, 0.8), transparent);
  transition: opacity 400ms ease, transform 400ms ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: max-content;
  font-weight: 700;
}

.brand__mark {
  color: var(--aqua);
  font-size: 0.95rem;
  animation: signalPulse 2.6s ease-in-out infinite;
}

@keyframes signalPulse {
  50% { opacity: 0.35; transform: scale(0.8); }
}

.site-header__status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(232, 240, 255, 0.62);
}

.status-dot {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 0.7rem var(--aqua);
}

.menu-button {
  justify-self: end;
  padding: 0.4rem 0;
  color: var(--mist);
  background: transparent;
  cursor: pointer;
}

.route-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 75;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  width: min(25rem, 100%);
  height: 100dvh;
  padding: 7rem 2rem 2rem;
  background: rgba(5, 15, 33, 0.94);
  border-left: 1px solid var(--line);
  backdrop-filter: blur(22px);
  transform: translateX(102%);
  transition: transform 500ms var(--ease);
}

.route-menu.is-open {
  transform: translateX(0);
}

.route-menu > p {
  margin: 0 0 2rem;
  color: rgba(232, 240, 255, 0.48);
  font-size: 0.8rem;
}

.route-menu a {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.8rem;
  padding: 1rem 0;
  color: rgba(232, 240, 255, 0.6);
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-size: 1.5rem;
  transition: color 180ms ease, padding-left 180ms ease;
}

.route-menu a span {
  color: var(--aqua);
  font-family: var(--utility);
  font-size: 0.68rem;
}

.route-menu a:hover,
.route-menu a.is-active {
  padding-left: 0.6rem;
  color: var(--mist);
}

.chapter-rail {
  position: fixed;
  top: 50%;
  right: clamp(0.7rem, 2vw, 2rem);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transform: translateY(-50%);
}

.chapter-rail a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  color: rgba(232, 240, 255, 0.38);
  font-family: var(--utility);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  transition: color 200ms ease;
}

.chapter-rail a span {
  opacity: 0;
  transform: translateX(0.4rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

.chapter-rail a i {
  width: 0.35rem;
  height: 0.35rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.chapter-rail a:hover span,
.chapter-rail a.is-active span {
  opacity: 1;
  transform: translateX(0);
}

.chapter-rail a.is-active {
  color: var(--aqua);
}

.chapter-rail a.is-active i {
  background: var(--aqua);
  box-shadow: 0 0 0.65rem rgba(130, 226, 213, 0.75);
  transform: scale(1.35);
}

.scene {
  position: relative;
}

.hero {
  height: 190vh;
  min-height: 75rem;
}

.hero__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.hero__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: var(--hero-opacity, 1);
  will-change: opacity;
}

.hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 13, 28, 0.1), transparent 35%, rgba(5, 13, 28, 0.3)),
    radial-gradient(circle, transparent 45%, rgba(4, 12, 29, 0.28));
}

.hero__caption {
  position: absolute;
  bottom: clamp(4rem, 9vh, 7.5rem);
  left: clamp(1.2rem, 5vw, 5rem);
  z-index: 2;
  max-width: 28rem;
  opacity: var(--hero-caption-opacity, 0);
  transform: translateY(var(--hero-caption-y, 1rem));
}

.hero__caption > p:last-child {
  margin: 0.8rem 0 0;
  color: var(--mist);
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.5vw, 2.1rem);
  letter-spacing: 0.05em;
}

.scroll-cue {
  position: absolute;
  right: clamp(1rem, 3vw, 3rem);
  bottom: 2rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(232, 240, 255, 0.58);
  font-family: var(--utility);
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  opacity: var(--scroll-cue-opacity, 1);
}

.scroll-cue i {
  position: relative;
  width: 3.5rem;
  height: 1px;
  overflow: hidden;
  background: rgba(232, 240, 255, 0.25);
}

.scroll-cue i::after {
  position: absolute;
  inset: 0;
  content: "";
  background: var(--aqua);
  animation: cueLine 1.9s ease-in-out infinite;
}

@keyframes cueLine {
  from { transform: translateX(-100%); }
  50%, 100% { transform: translateX(100%); }
}

.manifesto {
  min-height: 118vh;
  display: grid;
  place-items: center;
  padding: 7rem clamp(1.2rem, 8vw, 10rem);
  overflow: hidden;
  isolation: isolate;
  background: #071226;
}

.manifesto::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background: url("assets/bg-wushan.webp") center / cover no-repeat;
  transform: scale(1.025);
}

.manifesto::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 35% 48%, rgba(4, 13, 34, 0.32), rgba(4, 13, 34, 0.58) 74%),
    linear-gradient(180deg, rgba(3, 10, 25, 0.15), rgba(3, 10, 25, 0.42));
}

.manifesto__inner {
  position: relative;
  width: min(70rem, 100%);
  opacity: var(--manifesto-opacity, 0);
  transform: translateY(var(--manifesto-y, 3rem));
}

.manifesto h1 {
  max-width: 58rem;
  margin: 1rem 0 2rem;
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 6.8rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.06;
  text-wrap: balance;
  text-shadow: 0 0.25rem 1.8rem rgba(1, 7, 20, 0.58);
}

.manifesto__inner > p:last-child {
  max-width: 40rem;
  margin-left: auto;
  color: rgba(242, 247, 255, 0.84);
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  line-height: 2;
}

.journal {
  --chapter-bg: url("assets/bg-wushan.webp");
  height: 210vh;
  min-height: 88rem;
  isolation: isolate;
}

#wushan {
  --chapter-bg: url("assets/bg-wushan.webp");
}

#yichang {
  --chapter-bg: url("assets/bg-yichang.webp");
}

#enshi {
  --chapter-bg: url("assets/bg-enshi.webp");
}

.journal::before {
  position: sticky;
  top: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100vh;
  margin-bottom: -100vh;
  content: "";
  background:
    radial-gradient(circle at 50% 48%, rgba(4, 13, 34, 0.58) 0 30%, rgba(4, 13, 34, 0.38) 66%, rgba(4, 13, 34, 0.22) 100%),
    linear-gradient(180deg, rgba(3, 10, 25, 0.18), rgba(3, 10, 25, 0.42)),
    var(--chapter-bg) center / cover no-repeat;
  box-shadow: inset 0 0 10rem rgba(3, 9, 24, 0.28);
}

.journal__sticky {
  position: sticky;
  top: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(16rem, 0.82fr) minmax(24rem, 1.35fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
  width: min(92rem, calc(100% - 9vw));
  height: 100vh;
  margin: 0 auto;
  padding: 6rem 2.5rem 4rem;
  overflow: hidden;
}

.journal--reverse .journal__sticky {
  grid-template-columns: minmax(24rem, 1.35fr) minmax(16rem, 0.82fr);
}

.journal--reverse .journal__copy {
  grid-column: 2;
}

.journal--reverse .journal__visual {
  grid-column: 1;
  grid-row: 1;
}

.journal__index {
  position: absolute;
  top: 12vh;
  left: 1rem;
  z-index: 0;
  color: rgba(216, 229, 255, 0.095);
  font-family: var(--utility);
  font-size: min(30vw, 25rem);
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 0.7;
  transform: translateX(var(--index-x, -5vw));
}

.journal__copy {
  z-index: 3;
  max-width: 30rem;
  opacity: var(--copy-opacity, 0);
  transform: translate3d(var(--copy-x, -2rem), var(--copy-y, 2rem), 0);
  text-shadow: 0 0.2rem 1.2rem rgba(2, 8, 22, 0.58);
}

.journal__copy h2 {
  margin: 0.9rem 0 1.2rem;
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
  text-wrap: balance;
}

.journal__copy > p:not(.eyebrow) {
  margin: 0;
  color: rgba(242, 247, 255, 0.82);
  font-size: 0.92rem;
  line-height: 1.9;
}

.journal__facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.journal__facts div {
  min-width: 0;
}

.journal__facts dt {
  margin-bottom: 0.35rem;
  color: var(--aqua);
  font-family: var(--utility);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.journal__facts dd {
  margin: 0;
  color: rgba(242, 247, 255, 0.84);
  font-size: 0.76rem;
}

.journal__link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--aqua);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  transition: color 180ms ease, gap 180ms ease;
}

.journal__link:hover {
  gap: 1.3rem;
  color: var(--aqua);
}

.journal__visual {
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(217, 232, 255, 0.24);
  border-radius: clamp(0.7rem, 1.4vw, 1.35rem);
  background: #0a1934;
  box-shadow: 0 2.4rem 7rem rgba(0, 6, 20, 0.5);
  opacity: var(--visual-opacity, 0);
  transform: translate3d(var(--visual-x, 7vw), var(--visual-y, 12vh), 0) scale(var(--visual-scale, 0.86)) rotate(var(--visual-rotate, 1.6deg));
  transform-origin: 50% 70%;
  will-change: transform, opacity;
}

.journal__visual::after {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.journal__visual img {
  width: 100%;
  height: min(68vh, 47rem);
  object-fit: cover;
  filter: saturate(0.92) contrast(1.03);
  transform: scale(var(--image-scale, 1.04));
}

.journal__visual figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  color: rgba(232, 240, 255, 0.5);
  background: rgba(7, 19, 40, 0.92);
  font-family: var(--utility);
  font-size: 0.6rem;
  letter-spacing: 0.09em;
}

.journal--portrait .journal__sticky {
  grid-template-columns: minmax(16rem, 0.9fr) minmax(18rem, 0.85fr);
  width: min(74rem, calc(100% - 12vw));
}

.journal--portrait .journal__visual {
  justify-self: end;
  width: min(33rem, 42vw);
}

.journal--portrait .journal__visual img {
  height: min(74vh, 52rem);
  object-position: center 42%;
}

.outro {
  min-height: 120vh;
  display: grid;
  place-items: center;
  padding: 8rem clamp(1.2rem, 8vw, 9rem);
  overflow: hidden;
}

.outro::before {
  position: absolute;
  width: min(86vw, 72rem);
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(130, 226, 213, 0.24);
  border-radius: 50%;
  box-shadow:
    0 0 0 5rem rgba(130, 226, 213, 0.025),
    0 0 0 11rem rgba(183, 204, 255, 0.018);
  transform: scale(var(--outro-ring-scale, 0.7));
  opacity: var(--outro-ring-opacity, 0);
}

.outro__inner {
  position: relative;
  z-index: 2;
  width: min(70rem, 100%);
  text-align: center;
  opacity: var(--outro-opacity, 0);
  transform: translateY(var(--outro-y, 3rem));
}

.outro__inner .eyebrow {
  justify-self: center;
}

.outro h2 {
  margin: 1rem 0 1.4rem;
  font-family: var(--display);
  font-size: clamp(3rem, 7.5vw, 8rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.98;
  text-wrap: balance;
}

.outro__inner > p:not(.eyebrow) {
  color: rgba(232, 240, 255, 0.6);
}

.outro__actions {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2.2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 9rem;
  padding: 0.78rem 1.1rem;
  color: var(--night);
  background: var(--mist);
  border: 1px solid var(--mist);
  font-size: 0.78rem;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  background: var(--aqua);
  border-color: var(--aqua);
  transform: translateY(-2px);
}

.button--ghost {
  color: var(--mist);
  background: transparent;
  border-color: var(--line);
}

.outro__route {
  display: grid;
  grid-template-columns: auto minmax(2rem, 1fr) auto minmax(2rem, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  max-width: 42rem;
  margin: 5rem auto 0;
  color: rgba(232, 240, 255, 0.45);
  font-family: var(--utility);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
}

.outro__route i {
  height: 1px;
  background: linear-gradient(90deg, rgba(130, 226, 213, 0.2), var(--aqua), rgba(130, 226, 213, 0.2));
}

.journal-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  opacity: 0;
  transition: opacity 380ms ease, visibility 380ms;
}

.journal-drawer.is-open {
  visibility: visible;
  opacity: 1;
}

.journal-drawer__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 8, 19, 0.72);
  cursor: pointer;
}

.journal-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(62rem, 94vw);
  height: 100%;
  overflow-y: auto;
  color: var(--ink);
  background: #edf4ff;
  box-shadow: -2rem 0 8rem rgba(0, 0, 0, 0.45);
  transform: translateX(102%);
  transition: transform 600ms var(--ease);
}

.journal-drawer.is-open .journal-drawer__panel {
  transform: translateX(0);
}

.journal-drawer__header {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1.2rem, 4vw, 3.5rem);
  background: rgba(237, 244, 255, 0.9);
  border-bottom: 1px solid rgba(7, 19, 40, 0.12);
  backdrop-filter: blur(18px);
}

.journal-drawer__header .eyebrow {
  color: #236e73;
}

.journal-drawer__header button {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem;
  background: transparent;
  cursor: pointer;
}

.journal-drawer__header button span {
  font-size: 1.5rem;
  line-height: 1;
}

.journal-drawer__body {
  padding: clamp(2rem, 6vw, 5.5rem) clamp(1.2rem, 7vw, 6.5rem) 5rem;
}

.journal-drawer__number {
  margin: 0;
  color: rgba(7, 19, 40, 0.12);
  font-family: var(--utility);
  font-size: clamp(5rem, 13vw, 10rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.7;
}

.journal-drawer__body h2 {
  max-width: 45rem;
  margin: 1.8rem 0 1rem;
  font-family: var(--display);
  font-size: clamp(2.5rem, 6vw, 5.8rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.journal-drawer__lead {
  max-width: 42rem;
  color: rgba(7, 19, 40, 0.68);
  font-size: 1.05rem;
  line-height: 1.9;
}

.journal-drawer__body figure {
  margin: 3rem 0;
}

.journal-drawer__body figure img {
  width: 100%;
  max-height: 72vh;
  object-fit: cover;
  border-radius: 0.4rem;
}

.journal-drawer__prose {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 3rem;
  color: rgba(7, 19, 40, 0.74);
  line-height: 2;
}

.journal-drawer__prose p {
  margin: 0;
}

.journal-drawer__prose blockquote {
  grid-column: 1 / -1;
  margin: 1rem 0;
  padding-left: 1.2rem;
  color: var(--ink);
  border-left: 2px solid #3a9e99;
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}

.journal-drawer__nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(7, 19, 40, 0.16);
}

.journal-drawer__nav a {
  padding: 0.55rem 0;
  font-size: 0.8rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 3vw, 3rem);
  color: rgba(232, 240, 255, 0.4);
  border-top: 1px solid var(--line);
  font-family: var(--utility);
  font-size: 0.6rem;
  letter-spacing: 0.09em;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header__status {
    display: none;
  }

  .chapter-rail {
    top: auto;
    right: 50%;
    bottom: 0.9rem;
    flex-direction: row;
    padding: 0.6rem 0.8rem;
    background: rgba(6, 17, 38, 0.72);
    border: 1px solid var(--line);
    border-radius: 999px;
    backdrop-filter: blur(12px);
    transform: translateX(50%);
  }

  .chapter-rail a span {
    display: none;
  }

  .journal,
  .journal--portrait {
    height: 205vh;
  }

  .journal__sticky,
  .journal--reverse .journal__sticky,
  .journal--portrait .journal__sticky {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.2rem;
    width: 100%;
    padding: 5.2rem 1.2rem 4.5rem;
  }

  .journal--reverse .journal__copy,
  .journal--reverse .journal__visual {
    grid-column: auto;
    grid-row: auto;
  }

  .journal__copy {
    order: 1;
    width: 100%;
    max-width: 42rem;
  }

  .journal__visual,
  .journal--portrait .journal__visual {
    order: 2;
    width: min(100%, 42rem);
    max-height: 49vh;
  }

  .journal__visual img,
  .journal--portrait .journal__visual img {
    height: min(40vh, 28rem);
    object-position: center;
  }

  .journal__copy h2 {
    font-size: clamp(2.2rem, 9vw, 4rem);
  }

  .journal__copy > p:not(.eyebrow) {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .journal__facts {
    margin: 1rem 0;
  }

  .journal__index {
    top: 16vh;
    left: -2rem;
  }

  .manifesto__inner > p:last-child {
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  .site-header {
    padding: 0.9rem 1rem;
  }

  .brand {
    font-size: 0.68rem;
  }

  .hero {
    min-height: 64rem;
  }

  .hero__frame {
    background: #071226;
  }

  .hero__frame::before {
    position: absolute;
    inset: -2rem;
    z-index: 0;
    content: "";
    background:
      linear-gradient(rgba(7, 18, 38, 0.25), rgba(7, 18, 38, 0.5)),
      url("assets/hero-universe.webp") center / cover no-repeat;
    filter: blur(18px) saturate(0.85);
    transform: scale(1.08);
  }

  .hero__frame img {
    position: relative;
    z-index: 1;
    object-fit: contain;
  }

  .hero__vignette {
    z-index: 2;
  }

  .hero__caption {
    bottom: 5rem;
    left: 1.2rem;
    max-width: calc(100% - 2.4rem);
  }

  .scroll-cue {
    display: none;
  }

  .manifesto {
    min-height: 105vh;
    padding: 6rem 1.2rem;
  }

  .manifesto h1 {
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .journal__facts {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .journal__visual figcaption {
    font-size: 0.52rem;
  }

  .outro {
    min-height: 105vh;
    padding: 6rem 1.2rem;
  }

  .outro h2 {
    font-size: clamp(2.8rem, 14vw, 4.6rem);
  }

  .outro__actions {
    flex-direction: column;
  }

  .outro__route {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
  }

  .outro__route i {
    width: 1px;
    height: 1.2rem;
  }

  .journal-drawer__panel {
    width: 100%;
  }

  .journal-drawer__prose {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    padding-bottom: 4.2rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .journal__visual,
  .journal__copy,
  .manifesto__inner,
  .outro__inner {
    opacity: 1 !important;
    transform: none !important;
  }
}
