:root {
  color-scheme: dark;
  --ink: #eaf3fa;
  --muted: #9fb6c9;
  --navy: #071422;
  --navy2: #102b45;
  --deep: #04101a;
  --line: rgba(159, 182, 201, .16);
  --accent: #ffa24b;
  --env: rgba(255, 162, 75, .14);
  --env-deep: #ffa24b;
  --camera: rgba(96, 165, 250, .13);
  --camera-deep: #7db4f0;
  --watermark: rgba(94, 234, 212, .12);
  --watermark-deep: #6fd8c8;
  --works: rgba(196, 181, 253, .12);
  --works-deep: #b7a5ec;
  --export: rgba(252, 211, 77, .12);
  --export-deep: #eccb6b;
  --theme: rgba(134, 239, 172, .11);
  --theme-deep: #93d8a4;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -8%, rgba(34, 82, 121, .65), transparent 40rem),
    radial-gradient(900px 520px at 88% 12%, rgba(255, 162, 75, .10), transparent 62%),
    linear-gradient(180deg, var(--navy2), var(--navy) 42%, var(--deep));
  background-attachment: fixed;
  letter-spacing: 0;
}

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

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

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

[id] {
  scroll-margin-top: 88px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  color: var(--navy);
  background: var(--ink);
  transform: translateY(-160%);
}

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

/* ---------- terrain contours ---------- */

.terrain {
  position: fixed;
  inset: 0;
  z-index: 0;
  color: rgba(159, 182, 201, .10);
  pointer-events: none;
  overflow: hidden;
}

.terrain-contours {
  width: 130%;
  height: 130%;
  margin: -12% 0 0 -12%;
}

.terrain-drift {
  animation: terrain-drift-a 46s ease-in-out infinite alternate;
}

.terrain-drift--b {
  animation-name: terrain-drift-b;
  animation-duration: 62s;
  opacity: .7;
}

@keyframes terrain-drift-a {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-46px, 22px, 0);
  }
}

@keyframes terrain-drift-b {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(38px, -26px, 0);
  }
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 0 max(clamp(24px, 5vw, 72px), calc((100% - 1240px) / 2 + 64px));
  border-bottom: 1px solid var(--line);
  background: rgba(7, 20, 34, .78);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
}

.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  font-weight: 800;
  font-size: 17px;
}

.brand img {
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .4);
}

.site-header nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.site-header nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color .25s ease;
}

.site-header nav a:hover {
  color: var(--ink);
}

.store-status {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  border: 1px dashed rgba(255, 162, 75, .45);
  border-radius: 999px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 650;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
}

h1,
h2 {
  margin: 0;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
  text-wrap: balance;
}

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

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(24px, 3.5vw, 52px);
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding: clamp(56px, 9vh, 110px) clamp(24px, 5vw, 64px) clamp(90px, 14vh, 150px);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  justify-self: end;
  width: min(100%, 540px);
}

.hero h1 {
  font-size: clamp(44px, 6.4vw, 88px);
}

.hero-summary {
  margin: 22px 0 0;
  max-width: 24em;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.8;
  font-weight: 560;
  text-wrap: balance;
}

.hero-action {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 34px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
}

.store-button--soon {
  border: 1px solid rgba(255, 162, 75, .55);
  color: var(--accent);
  background: rgba(255, 162, 75, .08);
}

.hero-action small {
  color: var(--muted);
  font-size: 13px;
}

.hero-scene {
  position: relative;
  z-index: 1;
  justify-self: start;
  width: min(100%, 560px);
  min-height: clamp(480px, 60vw, 680px);
  perspective: 1200px;
}

.hero-card {
  position: absolute;
  margin: 0;
  border-radius: 30px;
  overflow: hidden;
  box-shadow:
    0 34px 70px rgba(0, 0, 0, .55),
    0 4px 14px rgba(0, 0, 0, .35);
  transform-style: preserve-3d;
  will-change: transform;
}

.hero-card img {
  width: 100%;
  height: auto;
}

.hero-card--main {
  z-index: 3;
  right: 2%;
  top: 50%;
  width: min(280px, 52%);
  transform: translateY(-50%) rotate(2.5deg) translate(var(--mx, 0px), var(--my, 0px));
  animation: card-float 7s ease-in-out infinite;
}

.hero-card--back {
  z-index: 2;
  left: 0;
  bottom: 4%;
  width: min(220px, 40%);
  transform: rotate(-7deg) translate(var(--mx, 0px), var(--my, 0px));
  opacity: .92;
  animation: card-float 8.5s ease-in-out -3s infinite;
}

@keyframes card-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -14px;
  }
}

/* 实时海拔仪表：装饰性面板，内容由 JS 计数驱动 */
.altimeter {
  position: absolute;
  z-index: 4;
  left: -2%;
  top: 6%;
  min-width: min(240px, 58%);
  padding: 18px 20px;
  border: 1px solid rgba(255, 162, 75, .3);
  border-radius: 20px;
  background: rgba(7, 20, 34, .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .5);
  font-family: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  transform: translate(var(--mx, 0px), var(--my, 0px));
  will-change: transform;
}

.altimeter-row--main {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--accent);
}

.altimeter-value {
  font-size: clamp(34px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}

.altimeter-unit {
  font-size: 15px;
  color: var(--muted);
}

.altimeter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 14px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.altimeter-grid b {
  display: block;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* 层叠山峦剪影，随滚动视差 */
.hero-mountains {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 1;
  width: 100vw;
  min-width: 900px;
  height: clamp(120px, 22vw, 240px);
  transform: translateX(-50%);
  pointer-events: none;
}

.mountain {
  will-change: transform;
}

.mountain--far {
  fill: rgba(34, 82, 121, .55);
}

.mountain--mid {
  fill: rgba(16, 43, 69, .9);
}

.mountain--near {
  fill: var(--deep);
}

.section-cue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  transition: color .25s ease;
}

.section-cue:hover {
  color: var(--accent);
}

.section-cue span {
  display: inline-block;
  animation: cue-bounce 1.8s ease-in-out infinite;
}

@keyframes cue-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

/* ---------- marquee ---------- */

.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(4, 16, 26, .55);
  mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}

.marquee-track span {
  color: rgba(159, 182, 201, .7);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: .12em;
  white-space: nowrap;
}

.marquee-track i {
  color: var(--accent);
  font-style: normal;
  font-size: 12px;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- story intro ---------- */

.story-intro {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding: clamp(72px, 12vh, 130px) clamp(24px, 5vw, 64px) clamp(28px, 5vh, 56px);
}

.story-intro h2 {
  font-size: clamp(32px, 4.4vw, 56px);
}

.story-intro > p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.9;
  font-weight: 540;
}

/* ---------- chapters ---------- */

.chapter {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 90px);
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding: clamp(64px, 11vh, 120px) clamp(24px, 5vw, 64px);
}

.chapter--reverse .chapter-copy {
  order: 2;
}

.chapter--reverse .chapter-visual {
  order: 1;
}

.chapter-number {
  position: absolute;
  top: clamp(28px, 6vh, 64px);
  left: clamp(18px, 4vw, 56px);
  z-index: 0;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(159, 182, 201, .25);
  font-size: clamp(88px, 12vw, 180px);
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.chapter--reverse .chapter-number {
  left: auto;
  right: clamp(18px, 4vw, 56px);
}

.chapter-copy {
  position: relative;
  z-index: 1;
  max-width: 480px;
}

.chapter h2 {
  font-size: clamp(34px, 4.6vw, 60px);
}

.chapter-copy > p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.9;
  font-weight: 540;
}

.chapter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.chapter-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(16, 43, 69, .5);
  font-size: 13px;
  font-weight: 700;
}

.chapter .eyebrow {
  color: var(--chapter-deep, var(--accent));
}

.chapter-visual {
  position: relative;
  z-index: 1;
  justify-self: center;
  margin: 0;
  width: min(340px, 100%);
  will-change: transform;
}

.chapter-visual .visual-plane {
  position: absolute;
  inset: -7% -12%;
  border: 1px solid var(--line);
  border-radius: 44px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cg fill='none' stroke='rgba(159,182,201,.22)' stroke-width='1'%3E%3Cpath d='M-20,60 C40,40 80,80 140,60 S240,30 280,55'/%3E%3Cpath d='M-20,120 C40,100 90,140 150,120 S250,90 280,115'/%3E%3Cpath d='M-20,180 C50,160 90,200 160,180 S250,150 280,175'/%3E%3Cpath d='M-20,235 C45,215 95,255 155,235 S255,205 280,230'/%3E%3C/g%3E%3C/svg%3E") center / 240px 240px,
    var(--chapter-tint, rgba(16, 43, 69, .6));
  transform: rotate(-2.5deg);
  transition: transform .6s cubic-bezier(.22, .8, .28, 1);
}

.chapter--reverse .chapter-visual .visual-plane {
  transform: rotate(2.5deg);
}

.chapter-visual picture {
  position: relative;
  display: block;
  border-radius: 30px;
  overflow: hidden;
  box-shadow:
    0 34px 64px rgba(0, 0, 0, .55),
    0 4px 14px rgba(0, 0, 0, .35);
  transform: rotate(1.5deg);
  transition: transform .6s cubic-bezier(.22, .8, .28, 1), box-shadow .6s ease;
}

.chapter--reverse .chapter-visual picture {
  transform: rotate(-1.5deg);
}

.chapter-visual:hover picture {
  transform: rotate(0deg) translateY(-8px);
  box-shadow:
    0 48px 88px rgba(0, 0, 0, .62),
    0 6px 18px rgba(0, 0, 0, .4);
}

.chapter-visual:hover .visual-plane {
  transform: rotate(0deg) scale(1.02);
}

.chapter-visual img {
  width: 100%;
  height: auto;
}

.chapter--env {
  --chapter-tint: var(--env);
  --chapter-deep: var(--env-deep);
}

.chapter--camera {
  --chapter-tint: var(--camera);
  --chapter-deep: var(--camera-deep);
}

.chapter--watermark {
  --chapter-tint: var(--watermark);
  --chapter-deep: var(--watermark-deep);
}

.chapter--works {
  --chapter-tint: var(--works);
  --chapter-deep: var(--works-deep);
}

.chapter--export {
  --chapter-tint: var(--export);
  --chapter-deep: var(--export-deep);
}

.chapter--theme {
  --chapter-tint: var(--theme);
  --chapter-deep: var(--theme-deep);
}

/* ---------- closing / privacy ---------- */

.closing {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  margin: clamp(48px, 9vh, 96px) max(clamp(20px, 5vw, 64px), calc((100% - 1240px) / 2));
  padding: clamp(44px, 7vh, 80px) clamp(24px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    radial-gradient(600px 320px at 90% 0%, rgba(255, 162, 75, .10), transparent 65%),
    radial-gradient(560px 300px at 0% 100%, rgba(34, 82, 121, .5), transparent 65%),
    rgba(16, 43, 69, .55);
}

.privacy-copy h2 {
  font-size: clamp(28px, 3.6vw, 46px);
}

.privacy-copy > p {
  margin: 18px 0 0;
  max-width: 34em;
  color: var(--muted);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.9;
  font-weight: 540;
}

.privacy-points {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  max-width: 34em;
}

.privacy-points li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

.privacy-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .8;
}

.privacy-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 20px;
  color: var(--accent);
  font-size: 14.5px;
  font-weight: 700;
}

.download-compact {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(7, 20, 34, .72);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .45);
}

.download-compact img {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .45);
}

.download-compact strong {
  font-size: 19px;
  font-weight: 800;
}

.download-compact p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

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

.site-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 28px;
  padding: 30px max(clamp(24px, 5vw, 64px), calc((100% - 1240px) / 2 + 64px)) 40px;
  border-top: 1px solid var(--line);
  background: rgba(4, 16, 26, .6);
  color: var(--muted);
  font-size: 13px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.site-footer a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  transition: color .25s ease;
}

.site-footer a:hover {
  color: var(--ink);
}

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

[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity .8s cubic-bezier(.22, .8, .28, 1),
    transform .8s cubic-bezier(.22, .8, .28, 1);
}

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

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

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 48px;
    text-align: center;
  }

  .hero-copy {
    justify-self: center;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
  }

  .hero-summary {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-action {
    justify-content: center;
  }

  .hero-scene {
    justify-self: center;
    width: 100%;
    min-height: clamp(440px, 96vw, 600px);
    margin-top: 12px;
  }

  .altimeter {
    left: 50%;
    transform: translateX(-50%) translate(var(--mx, 0px), var(--my, 0px));
  }

  .story-intro,
  .closing {
    grid-template-columns: 1fr;
  }

  .download-compact {
    justify-self: center;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: absolute;
    left: 0;
    right: 0;
    grid-template-columns: 1fr auto;
    gap: 16px;
    min-height: 64px;
  }

  .site-header nav {
    display: none;
  }

  .hero-card--main {
    width: min(230px, 54%);
  }

  .hero-card--back {
    width: min(170px, 38%);
  }

  .chapter {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .chapter--reverse .chapter-copy {
    order: 1;
  }

  .chapter--reverse .chapter-visual {
    order: 2;
  }

  .chapter-number {
    font-size: 84px;
  }

  .chapter-visual {
    width: min(320px, 82vw);
  }

  .chapter-visual .visual-plane {
    inset: -3.5% -5%;
    border-radius: 32px;
  }

  .closing {
    margin-left: 20px;
    margin-right: 20px;
    padding: 32px 22px;
  }
}

/* ---------- mobile full-screen paging ---------- */

/* JS 接管翻页后（homepage.js 加 .js-pager），原生 snap 与 smooth 滚动必须关闭，
   否则会与 rAF 补间互相抢滚动位置。无 JS 时仍走下面的 CSS snap 兜底。 */
@media (max-width: 720px) {
  html.js-pager {
    scroll-snap-type: none;
    scroll-behavior: auto;
  }
}

@media (max-width: 720px) and (prefers-reduced-motion: no-preference) {
  html {
    scroll-snap-type: y mandatory;
  }

  .hero,
  .story-intro,
  .chapter,
  .closing {
    scroll-snap-align: start;
  }

  .hero,
  .story-intro,
  .chapter {
    min-height: 100vh;
    min-height: 100svh;
    align-content: center;
    scroll-margin-top: 0;
  }

  .hero {
    height: 100vh;
    height: 100svh;
    padding-top: 76px;
    padding-bottom: 40px;
    grid-template-rows: auto minmax(0, 1fr);
    row-gap: 8px;
  }

  .hero h1 {
    font-size: clamp(30px, 8.2vw, 38px);
  }

  .hero-summary {
    display: none;
  }

  .hero-action {
    margin-top: 16px;
  }

  .hero-copy .eyebrow {
    display: none;
  }

  .has-app-vh .hero,
  .has-app-vh .chapter {
    height: var(--app-vh);
  }

  .has-app-vh .story-intro {
    min-height: var(--app-vh);
  }

  .has-app-vh .closing {
    min-height: calc(var(--app-vh) - 48px);
  }

  .hero-scene {
    min-height: 0;
  }

  .hero-card--main {
    width: min(190px, 46%);
  }

  .hero-card--back {
    width: min(140px, 33%);
  }

  .altimeter {
    top: 2%;
    min-width: 0;
    width: min(220px, 62%);
    padding: 12px 14px;
  }

  .altimeter-value {
    font-size: 28px;
  }

  .altimeter-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4px 10px;
    margin-top: 8px;
    padding-top: 8px;
  }

  .hero-mountains {
    min-width: 640px;
    height: 110px;
  }

  .section-cue {
    display: none;
  }

  .story-intro {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .chapter {
    gap: 20px;
    padding-top: 24px;
    padding-bottom: 24px;
    height: 100vh;
    height: 100svh;
    grid-template-rows: auto minmax(0, 1fr);
    scroll-margin-top: 0;
  }

  .chapter h2 {
    font-size: clamp(26px, 7vw, 32px);
  }

  .chapter h2 br {
    display: none;
  }

  .chapter .eyebrow {
    margin-bottom: 8px;
  }

  .chapter-copy > p {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .chapter-tags {
    margin-top: 14px;
  }

  .chapter-tags span {
    min-height: 32px;
    padding: 0 12px;
    font-size: 12px;
  }

  .chapter-number {
    font-size: 60px;
    top: 12px;
  }

  .chapter-visual {
    width: min(210px, 52vw);
    height: 100%;
    min-height: 0;
  }

  .chapter-visual .visual-plane {
    inset: -4% -7%;
  }

  .chapter-visual picture {
    height: 100%;
  }

  .chapter-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }

  .closing {
    min-height: calc(100vh - 48px);
    min-height: calc(100svh - 48px);
    align-content: center;
    margin-top: 24px;
    margin-bottom: 24px;
    padding: 24px 18px;
    scroll-margin-top: 0;
  }

  .closing .download-compact {
    padding: 18px;
    gap: 10px;
  }

  .closing .download-compact img {
    width: 64px;
    height: 64px;
    border-radius: 16px;
  }

  .privacy-copy h2 {
    font-size: clamp(24px, 6.4vw, 30px);
  }

  .privacy-copy > p {
    font-size: 13px;
    line-height: 1.75;
  }

  .privacy-points li {
    font-size: 12.5px;
  }

  .privacy-link {
    margin-top: 10px;
    min-height: 36px;
    font-size: 13px;
  }
}

/* ---------- reduced motion ---------- */

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

  .terrain-drift,
  .hero-card,
  .marquee-track,
  .section-cue span {
    animation: none;
  }

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

  .chapter-visual picture,
  .chapter-visual .visual-plane {
    transition: none;
  }
}
