:root {
  --bg: #050302;
  --bg-deep: #0b0705;
  --text: #f0e4d2;
  --text-soft: #d8c8b4;
  --muted: #a9967f;
  --dim-text: #6e6257;
  --energy-core: #ffd36a;
  --energy-orange: #ff8a1f;
  --deep-ember: #7a2e0e;
  --dark-ember: #2a0e05;
  --line: rgba(255, 138, 31, 0.18);
  --panel: rgba(18, 12, 8, 0.82);
  --panel-soft: rgba(26, 18, 12, 0.72);
  --mono: "SFMono-Regular", "Roboto Mono", "Cascadia Mono", Menlo, monospace;
  --serif: "Times New Roman", "Songti SC", serif;
  --sans: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html,
body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--sans);
}

body {
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(122, 46, 14, 0.16), transparent 34%),
    linear-gradient(180deg, #070403 0%, #020100 100%);
}

body::before {
  position: fixed;
  inset: 16px;
  z-index: -1;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(255, 138, 31, 0.08);
  background:
    linear-gradient(90deg, transparent 0 calc(50% - 1px), rgba(255, 138, 31, 0.045) 50%, transparent calc(50% + 1px)),
    linear-gradient(0deg, transparent 0 calc(50% - 1px), rgba(255, 138, 31, 0.03) 50%, transparent calc(50% + 1px));
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    repeating-linear-gradient(0deg, rgba(255, 138, 31, 0.018) 0 1px, transparent 1px 7px),
    radial-gradient(ellipse at 50% 50%, transparent 0 42%, rgba(0, 0, 0, 0.82) 84%);
}

#archiveFieldCanvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.08;
}

button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: inherit;
  font: inherit;
  cursor: pointer;
  background: transparent;
  touch-action: manipulation;
}

button:focus-visible {
  outline: 2px solid var(--energy-core);
  outline-offset: 3px;
}

h1,
h2,
h3,
p { margin-top: 0; }

.topbar {
  position: fixed;
  top: 24px;
  left: 32px;
  right: 32px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}

.topbar button,
.topbar nav { pointer-events: auto; }

body[data-page="viewer"] .topbar {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links button {
  min-height: 34px;
  padding: 0 10px;
  border-color: transparent;
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.nav-links button:hover,
.nav-links button.active {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 138, 31, 0.035);
}

.page {
  display: none;
  animation: pageIn 320ms var(--ease) both;
}

.page.active { display: block; }

@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-page {
  display: none;
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
}

.hero-page.active { display: block; }

.energy-stage {
  position: absolute;
  inset: 64px 16px 16px;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 138, 31, 0.075);
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255, 138, 31, 0.065), transparent 24%),
    radial-gradient(ellipse at 50% 50%, transparent 0 44%, rgba(0, 0, 0, 0.72) 88%),
    var(--bg-deep);
}

.energy-stage::before {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, transparent 0 25.2%, rgba(255, 138, 31, 0.06) 25.3%, transparent 25.42%, transparent 74.58%, rgba(255, 138, 31, 0.06) 74.7%, transparent 74.8%),
    linear-gradient(0deg, transparent 0 49.9%, rgba(255, 138, 31, 0.06) 50%, transparent 50.1%);
}

.energy-stage::after {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  content: "";
  background:
    repeating-linear-gradient(0deg, rgba(255, 138, 31, 0.018) 0 1px, transparent 1px 6px),
    radial-gradient(ellipse at 50% 50%, transparent 0 46%, rgba(0, 0, 0, 0.84) 90%);
}

#energyHourglass {
  position: absolute;
  left: 3%;
  top: -38%;
  z-index: 2;
  display: block;
  width: 94%;
  height: 176%;
  filter: saturate(1.16) contrast(1.1) brightness(1.12);
}

.core-readout {
  position: absolute;
  z-index: 6;
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.45;
  text-transform: uppercase;
  pointer-events: none;
}

.core-readout-top {
  top: 28px;
  right: clamp(42px, 7vw, 92px);
  text-align: right;
}

.core-readout-mid {
  left: 50%;
  top: 49.2%;
  color: rgba(255, 211, 106, 0.24);
  transform: translate(-50%, -50%);
}

.hero-copy {
  position: absolute;
  z-index: 8;
  left: clamp(36px, 7vw, 92px);
  top: 34vh;
  width: min(330px, 32vw);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.45;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0 0 12px;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
}

.subtitle {
  margin: 0;
  color: var(--text-soft);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
}

.signal-dashboard {
  display: grid;
  gap: 8px;
  width: 190px;
  margin-top: 52px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.signal-dashboard article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 13px;
  align-items: baseline;
}

.signal-dashboard span {
  color: var(--text);
  font-family: var(--mono);
  font-size: 18px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.signal-dashboard strong {
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
}

.hero-actions {
  position: fixed;
  z-index: 20;
  right: clamp(34px, 5vw, 74px);
  bottom: 42px;
}

.primary-button,
.secondary-button,
.viewer-button {
  min-height: 44px;
  padding: 0 16px;
  color: var(--text);
  border-color: var(--line);
  background: var(--panel);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  transition: color 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
}

.primary-button {
  min-width: 174px;
  text-align: left;
}

.primary-button:hover,
.secondary-button:hover,
.viewer-button:hover {
  color: var(--energy-core);
  border-color: rgba(255, 211, 106, 0.44);
  background: rgba(255, 138, 31, 0.06);
}

.archive-stats {
  position: fixed;
  z-index: 8;
  left: clamp(36px, 7vw, 92px);
  bottom: 44px;
  display: grid;
  grid-template-columns: 62px minmax(190px, 1fr);
  gap: 5px 16px;
  width: min(410px, calc(100vw - 72px));
}

.archive-stats article { display: contents; }

.archive-stats strong {
  color: var(--dim-text);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
}

.archive-stats span {
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 11px;
}

.chapters-page,
.reflection-page {
  width: min(100% - 56px, 1180px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: 118px 0 88px;
}

.section-heading {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 290px;
  gap: 36px;
  align-items: start;
  margin-bottom: 42px;
}

.section-heading .eyebrow { margin: 0; }

.section-heading h2 {
  margin: 0;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(42px, 7vw, 102px);
  font-weight: 400;
  line-height: 0.92;
}

.section-heading p:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
}

.timeline-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 0 22px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.timeline-strip span {
  padding-top: 9px;
  border-top: 1px solid var(--line);
}

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

.scene-card {
  position: relative;
  min-height: 252px;
  padding: 0;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-align: left;
  overflow: hidden;
  background: var(--panel-soft);
}

.scene-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82)), var(--scene-image);
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  filter: sepia(1) saturate(1.2) contrast(1.05);
  transition: opacity 180ms var(--ease), transform 240ms var(--ease);
}

.scene-card:hover::before {
  opacity: 0.34;
  transform: scale(1.04);
}

.scene-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 252px;
  padding: 15px;
}

.scene-number,
.scene-chapter,
.scene-card p {
  font-family: var(--mono);
}

.scene-number {
  color: var(--text);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.scene-chapter {
  margin-top: 8px;
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
}

.scene-card h3 {
  margin: auto 0 8px;
  color: var(--text);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.1;
}

.scene-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 10px;
  line-height: 1.55;
}

.viewer-page.active { display: block; }

.panorama-shell {
  position: relative;
  height: calc(100dvh - 32px);
  min-height: 620px;
  margin: 16px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #020100;
}

.panorama-shell::after {
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  content: "";
  background:
    repeating-linear-gradient(0deg, rgba(255, 138, 31, 0.016) 0 1px, transparent 1px 6px),
    radial-gradient(ellipse at center, transparent 0 48%, rgba(0, 0, 0, 0.72) 100%);
}

#panorama {
  width: 100%;
  height: 100%;
}

.viewer-button,
.scene-info-card,
.scene-progress,
.scene-index-panel,
.scene-audio-player {
  position: absolute;
  z-index: 8;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(12px);
}

.back-button {
  top: 22px;
  left: 22px;
}

.audio-button {
  top: 22px;
  right: 168px;
}

.index-button {
  top: 22px;
  right: 22px;
}

.scene-audio-player {
  top: 74px;
  right: 22px;
  width: min(360px, calc(100vw - 44px));
  height: 38px;
  color-scheme: dark;
}

.scene-nav {
  position: absolute;
  top: 50%;
  z-index: 8;
  width: 48px;
  height: 72px;
  border-color: var(--line);
  color: var(--text);
  background: rgba(5, 3, 2, 0.42);
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
}

.scene-nav-prev { left: 22px; }
.scene-nav-next { right: 22px; }

.scene-info-card {
  left: 22px;
  bottom: 24px;
  width: min(430px, calc(100% - 44px));
  padding: 16px;
  background: rgba(18, 12, 8, 0.9);
}

.scene-info-card h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(27px, 3vw, 44px);
  font-weight: 400;
  line-height: 1.05;
}

.scene-info-card p:last-child {
  margin: 0;
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
}

.scene-progress {
  left: 50%;
  bottom: 24px;
  width: min(320px, 38vw);
  padding: 10px 12px;
  transform: translateX(-50%);
}

.scene-progress span {
  display: block;
  color: var(--text);
  font-family: var(--mono);
  font-size: 10px;
  text-align: center;
  text-transform: uppercase;
}

.progress-track {
  height: 1px;
  margin-top: 8px;
  background: rgba(255, 138, 31, 0.16);
}

#sceneProgressBar {
  display: block;
  width: 10%;
  height: 100%;
  background: var(--energy-core);
  transition: width 240ms var(--ease);
}

.scene-index-panel {
  top: 74px;
  right: 22px;
  left: auto;
  width: min(360px, calc(100vw - 44px));
  max-height: calc(100dvh - 112px);
  padding: 13px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateX(18px);
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
}

.scene-index-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

#closeSceneIndex {
  width: 40px;
  min-height: 40px;
  color: var(--text-soft);
}

.scene-list {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.scene-list button {
  min-height: 44px;
  padding: 9px 10px;
  color: var(--text-soft);
  text-align: left;
  background: transparent;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.35;
}

.scene-list button strong {
  margin-right: 8px;
  color: var(--text);
}

.scene-list button.active,
.scene-list button:hover {
  color: var(--energy-core);
  border-color: rgba(255, 211, 106, 0.38);
}

.scene-transition {
  position: absolute;
  inset: 0;
  z-index: 12;
  display: grid;
  place-items: center;
  color: var(--text);
  background: rgba(5, 3, 2, 0.68);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms var(--ease);
}

.scene-transition.active { opacity: 1; }

.scene-transition span {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.pnlm-hotspot-base {
  width: 18px;
  height: 18px;
  border: 1px solid var(--energy-core);
  border-radius: 50%;
  background: radial-gradient(circle, var(--energy-core) 0 18%, rgba(255, 138, 31, 0.72) 20% 46%, transparent 50%);
  box-shadow: 0 0 0 6px rgba(255, 138, 31, 0.1), 0 0 18px rgba(255, 211, 106, 0.32);
}

.reflection-page {
  width: min(100% - 56px, 1240px);
}

.reflection-hero {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}

.reflection-hero .eyebrow { margin: 0; }

.reflection-hero h2 {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: clamp(14px, 1.8vw, 22px);
  font-weight: 400;
  line-height: 1.3;
  text-transform: uppercase;
}

.reflection-hero h3 {
  grid-column: 2;
  margin: 4px 0 20px;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 400;
  line-height: 0.98;
}

.reflection-hero p {
  grid-column: 2;
  max-width: 820px;
  margin: 0;
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.85;
}

.reflection-hero p + p {
  margin-top: 12px;
}

.reflection-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 54px 0 62px;
  border: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(255, 138, 31, 0.04), transparent 52%, rgba(255, 138, 31, 0.035));
}

.reflection-timeline::before {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 44px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 211, 106, 0.55), transparent);
}

.reflection-timeline article {
  position: relative;
  min-height: 238px;
  padding: 78px 22px 22px;
  border-right: 1px solid var(--line);
  background: rgba(18, 12, 8, 0.46);
}

.reflection-timeline article:last-child { border-right: 0; }

.reflection-timeline article::before {
  position: absolute;
  top: 36px;
  left: 22px;
  width: 15px;
  height: 15px;
  border: 1px solid var(--energy-core);
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, var(--energy-core) 0 18%, rgba(255, 138, 31, 0.2) 21% 100%);
  box-shadow: 0 0 18px rgba(255, 138, 31, 0.32);
}

.reflection-timeline span,
.micro-video-card span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.reflection-timeline h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.04;
}

.reflection-timeline p {
  margin: 0;
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
}

.micro-lens-archive {
  padding-top: 6px;
}

.archive-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.archive-heading .eyebrow { margin: 0; }

.archive-heading h3 {
  margin: 0;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 400;
}

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

.micro-video-card {
  display: grid;
  gap: 14px;
  padding: 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel-soft);
}

.micro-video-card video,
.modal-media video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 138, 31, 0.2);
  border-radius: 4px;
  background: #020100;
}

.micro-video-card h4 {
  margin: 10px 0 8px;
  color: var(--text);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.08;
}

.micro-video-card p {
  min-height: 66px;
  margin: 0 0 14px;
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.65;
}

.video-play-button {
  min-height: 34px;
  padding: 0 12px;
  color: var(--text);
  border-color: var(--line);
  background: rgba(5, 3, 2, 0.44);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.final-statement {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 54px;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
}

.final-statement p {
  margin: 0;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(24px, 3.2vw, 42px);
  font-weight: 400;
  line-height: 1.18;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}

.modal-backdrop[hidden] { display: none; }

.modal-card {
  position: relative;
  width: min(680px, 100%);
  padding: 26px;
  border: 1px solid var(--line);
  background: rgba(18, 12, 8, 0.96);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.52);
  animation: modalIn 200ms var(--ease) both;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  min-height: 40px;
  color: var(--text-soft);
  font-size: 22px;
}

.modal-card h2 {
  margin: 0 0 14px;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 400;
}

.modal-card p {
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.82;
}

.modal-media {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 138, 31, 0.14);
}

.modal-media[hidden] { display: none; }

.modal-media .eyebrow {
  margin-bottom: 10px;
  color: var(--muted);
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.modal-tags span {
  padding: 5px 8px;
  border: 1px solid rgba(255, 138, 31, 0.14);
  color: var(--text);
  font-family: var(--mono);
  font-size: 9px;
}

@media (max-width: 1080px) {
  #energyHourglass {
    left: -2%;
    top: -26%;
    width: 104%;
    height: 154%;
  }

  .hero-copy {
    left: 34px;
    top: 26vh;
    width: min(340px, 42vw);
  }

  .scene-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading { grid-template-columns: 1fr; }
  .reflection-hero { grid-template-columns: 1fr; }
  .reflection-hero h2,
  .reflection-hero h3,
  .reflection-hero p { grid-column: 1; }
  .micro-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .final-statement { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .topbar {
    left: 18px;
    right: 18px;
    align-items: flex-start;
  }

  .nav-links { gap: 2px; }
  .nav-links button {
    min-height: 36px;
    padding: 0 7px;
    font-size: 9px;
  }

  .energy-stage { inset: 66px 10px 10px; }

  #energyHourglass {
    left: -16%;
    top: -14%;
    width: 132%;
    height: 126%;
  }

  .hero-copy {
    left: 24px;
    top: 20vh;
    width: min(310px, calc(100vw - 48px));
  }

  .hero-copy h1 {
    font-size: clamp(30px, 10vw, 42px);
    max-width: 280px;
  }

  .subtitle { font-size: 13px; }

  .signal-dashboard {
    width: 174px;
    margin-top: 34px;
  }

  .hero-actions {
    left: 24px;
    right: auto;
    bottom: 28px;
  }

  .archive-stats { display: none; }

  .chapters-page,
  .reflection-page {
    width: calc(100% - 28px);
    padding-top: 96px;
  }

  .scene-card-grid,
  .reflection-timeline,
  .micro-video-grid {
    grid-template-columns: 1fr;
  }

  .reflection-hero {
    gap: 16px;
    padding-bottom: 28px;
  }

  .reflection-hero h3 { margin-top: 0; }

  .reflection-timeline {
    margin: 34px 0 42px;
  }

  .reflection-timeline::before {
    top: 0;
    bottom: 0;
    left: 29px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, rgba(255, 211, 106, 0.55), transparent);
  }

  .reflection-timeline article {
    min-height: 190px;
    padding: 62px 18px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .archive-heading {
    display: grid;
    align-items: start;
  }

  .micro-video-card p { min-height: 0; }

  .panorama-shell {
    height: calc(100dvh - 20px);
    margin: 10px;
  }

  .audio-button {
    top: 68px;
    right: 18px;
  }

  .index-button {
    top: 114px;
    right: 18px;
  }

  .scene-audio-player {
    top: 160px;
    right: 18px;
    width: min(300px, calc(100vw - 36px));
  }

  .scene-progress { display: none; }
  .scene-info-card {
    bottom: 18px;
    left: 18px;
    width: calc(100% - 36px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
