/* ── Custom properties ────────────────────────────────── */

:root {
  --bg: #07070c;
  --bg-card: #0d0d14;
  --text-primary: #e8e4df;
  --text-secondary: #9a958e;
  --text-muted: #5a554e;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-medium: rgba(255, 255, 255, 0.10);

  --font-display: "Crimson Pro", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;

  --element-color: #5A7090;
  --element-color-dim: rgba(90, 112, 144, 0.15);
}

/* ── Reset & base ────────────────────────────────────── */

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

html {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ── Grain texture overlay ───────────────────────────── */

.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.12;
  mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ── Starfield background — 3 layers of depth ────────── */

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

body::before {
  width: 1px;
  height: 1px;
  box-shadow:
    24vw 8vh 0 rgba(255,255,255,0.25), 71vw 3vh 0 rgba(255,255,255,0.20),
    12vw 14vh 0 rgba(255,255,255,0.30), 89vw 11vh 0 rgba(255,255,255,0.18),
    45vw 6vh 0 rgba(255,255,255,0.22), 33vw 19vh 0 rgba(255,255,255,0.28),
    78vw 22vh 0 rgba(255,255,255,0.15), 56vw 17vh 0 rgba(255,255,255,0.25),
    7vw 27vh 0 rgba(255,255,255,0.20), 63vw 31vh 0 rgba(255,255,255,0.30),
    91vw 28vh 0 rgba(255,255,255,0.18), 18vw 35vh 0 rgba(255,255,255,0.22),
    42vw 38vh 0 rgba(255,255,255,0.28), 85vw 42vh 0 rgba(255,255,255,0.15),
    3vw 44vh 0 rgba(255,255,255,0.25), 52vw 47vh 0 rgba(255,255,255,0.20),
    76vw 51vh 0 rgba(255,255,255,0.30), 28vw 54vh 0 rgba(255,255,255,0.18),
    95vw 48vh 0 rgba(255,255,255,0.22), 14vw 58vh 0 rgba(255,255,255,0.25),
    67vw 62vh 0 rgba(255,255,255,0.20), 38vw 65vh 0 rgba(255,255,255,0.28),
    83vw 59vh 0 rgba(255,255,255,0.15), 9vw 68vh 0 rgba(255,255,255,0.22),
    48vw 72vh 0 rgba(255,255,255,0.25), 74vw 75vh 0 rgba(255,255,255,0.20),
    21vw 78vh 0 rgba(255,255,255,0.30), 59vw 82vh 0 rgba(255,255,255,0.18),
    87vw 79vh 0 rgba(255,255,255,0.22), 31vw 85vh 0 rgba(255,255,255,0.25),
    66vw 88vh 0 rgba(255,255,255,0.20), 4vw 91vh 0 rgba(255,255,255,0.28),
    43vw 94vh 0 rgba(255,255,255,0.15), 79vw 92vh 0 rgba(255,255,255,0.22),
    16vw 96vh 0 rgba(255,255,255,0.25), 54vw 2vh 0 rgba(255,255,255,0.20),
    92vw 16vh 0 rgba(255,255,255,0.18), 36vw 24vh 0 rgba(255,255,255,0.25),
    61vw 33vh 0 rgba(255,255,255,0.22), 8vw 41vh 0 rgba(255,255,255,0.20),
    47vw 52vh 0 rgba(255,255,255,0.28), 82vw 66vh 0 rgba(255,255,255,0.15),
    26vw 73vh 0 rgba(255,255,255,0.25), 69vw 84vh 0 rgba(255,255,255,0.20),
    15vw 89vh 0 rgba(255,255,255,0.22), 57vw 95vh 0 rgba(255,255,255,0.18),
    40vw 11vh 0 rgba(255,255,255,0.25), 73vw 29vh 0 rgba(255,255,255,0.20),
    19vw 46vh 0 rgba(255,255,255,0.22), 88vw 63vh 0 rgba(255,255,255,0.28),
    34vw 77vh 0 rgba(255,255,255,0.15), 65vw 91vh 0 rgba(255,255,255,0.20),
    2vw 7vh 0 rgba(255,255,255,0.22), 50vw 21vh 0 rgba(255,255,255,0.25),
    81vw 37vh 0 rgba(255,255,255,0.18), 22vw 56vh 0 rgba(255,255,255,0.20),
    70vw 71vh 0 rgba(255,255,255,0.25), 11vw 83vh 0 rgba(255,255,255,0.22),
    46vw 43vh 0 rgba(255,255,255,0.20), 93vw 57vh 0 rgba(255,255,255,0.18),
    1vw 2vh 0 rgba(255,255,255,0.22), 97vw 4vh 0 rgba(255,255,255,0.18),
    6vw 10vh 0 rgba(255,255,255,0.25), 30vw 4vh 0 rgba(255,255,255,0.20),
    58vw 9vh 0 rgba(255,255,255,0.15), 83vw 6vh 0 rgba(255,255,255,0.28),
    17vw 20vh 0 rgba(255,255,255,0.22), 49vw 13vh 0 rgba(255,255,255,0.20),
    68vw 16vh 0 rgba(255,255,255,0.25), 94vw 22vh 0 rgba(255,255,255,0.18),
    25vw 26vh 0 rgba(255,255,255,0.28), 55vw 29vh 0 rgba(255,255,255,0.15),
    80vw 33vh 0 rgba(255,255,255,0.22), 10vw 30vh 0 rgba(255,255,255,0.25),
    44vw 36vh 0 rgba(255,255,255,0.20), 72vw 40vh 0 rgba(255,255,255,0.18),
    96vw 38vh 0 rgba(255,255,255,0.25), 5vw 50vh 0 rgba(255,255,255,0.22),
    37vw 48vh 0 rgba(255,255,255,0.15), 62vw 44vh 0 rgba(255,255,255,0.28),
    20vw 53vh 0 rgba(255,255,255,0.20), 77vw 56vh 0 rgba(255,255,255,0.25),
    41vw 60vh 0 rgba(255,255,255,0.18), 90vw 52vh 0 rgba(255,255,255,0.22),
    13vw 64vh 0 rgba(255,255,255,0.25), 58vw 68vh 0 rgba(255,255,255,0.15),
    35vw 70vh 0 rgba(255,255,255,0.20), 84vw 73vh 0 rgba(255,255,255,0.28),
    7vw 76vh 0 rgba(255,255,255,0.22), 53vw 74vh 0 rgba(255,255,255,0.18),
    27vw 80vh 0 rgba(255,255,255,0.25), 71vw 82vh 0 rgba(255,255,255,0.20),
    16vw 86vh 0 rgba(255,255,255,0.22), 45vw 90vh 0 rgba(255,255,255,0.15),
    86vw 88vh 0 rgba(255,255,255,0.25), 60vw 93vh 0 rgba(255,255,255,0.20),
    32vw 97vh 0 rgba(255,255,255,0.28), 75vw 96vh 0 rgba(255,255,255,0.18),
    98vw 70vh 0 rgba(255,255,255,0.22), 3vw 36vh 0 rgba(255,255,255,0.20),
    39vw 15vh 0 rgba(255,255,255,0.25), 64vw 50vh 0 rgba(255,255,255,0.18),
    51vw 86vh 0 rgba(255,255,255,0.22), 23vw 43vh 0 rgba(255,255,255,0.28),
    78vw 14vh 0 rgba(255,255,255,0.15), 11vw 70vh 0 rgba(255,255,255,0.25),
    47vw 25vh 0 rgba(255,255,255,0.20), 86vw 46vh 0 rgba(255,255,255,0.22),
    29vw 61vh 0 rgba(255,255,255,0.18), 68vw 87vh 0 rgba(255,255,255,0.25),
    95vw 93vh 0 rgba(255,255,255,0.20), 14vw 1vh 0 rgba(255,255,255,0.22),
    52vw 39vh 0 rgba(255,255,255,0.28), 81vw 77vh 0 rgba(255,255,255,0.15),
    37vw 55vh 0 rgba(255,255,255,0.25), 4vw 85vh 0 rgba(255,255,255,0.20),
    66vw 22vh 0 rgba(255,255,255,0.22), 19vw 98vh 0 rgba(255,255,255,0.18),
    91vw 61vh 0 rgba(255,255,255,0.25), 43vw 78vh 0 rgba(255,255,255,0.20),
    76vw 32vh 0 rgba(255,255,255,0.15), 8vw 17vh 0 rgba(255,255,255,0.22),
    55vw 56vh 0 rgba(255,255,255,0.28), 33vw 92vh 0 rgba(255,255,255,0.20);
}

body::after {
  width: 1.5px;
  height: 1.5px;
  box-shadow:
    17vw 12vh 0 rgba(255,255,255,0.50), 62vw 25vh 0 rgba(255,255,255,0.45),
    38vw 41vh 0 rgba(255,255,255,0.50), 84vw 55vh 0 rgba(255,255,255,0.40),
    9vw 67vh 0 rgba(255,255,255,0.50), 53vw 78vh 0 rgba(255,255,255,0.45),
    75vw 89vh 0 rgba(255,255,255,0.40), 29vw 93vh 0 rgba(255,255,255,0.50),
    46vw 7vh 0 rgba(255,255,255,0.45), 91vw 35vh 0 rgba(255,255,255,0.40),
    3vw 22vh 0 rgba(255,255,255,0.45), 72vw 47vh 0 rgba(255,255,255,0.50),
    25vw 63vh 0 rgba(255,255,255,0.40), 87vw 81vh 0 rgba(255,255,255,0.45),
    41vw 16vh 0 rgba(255,255,255,0.50), 64vw 70vh 0 rgba(255,255,255,0.40),
    15vw 45vh 0 rgba(255,255,255,0.45), 93vw 14vh 0 rgba(255,255,255,0.50),
    56vw 92vh 0 rgba(255,255,255,0.40), 33vw 34vh 0 rgba(255,255,255,0.45),
    32vw 18vh 0 rgba(210,190,160,0.35), 68vw 52vh 0 rgba(200,175,140,0.30),
    14vw 76vh 0 rgba(210,185,150,0.35), 82vw 8vh 0 rgba(200,180,150,0.25),
    55vw 64vh 0 rgba(210,190,160,0.30), 47vw 30vh 0 rgba(200,175,140,0.28),
    89vw 72vh 0 rgba(210,185,150,0.32), 21vw 88vh 0 rgba(200,180,150,0.25),
    23vw 32vh 0 rgba(160,180,220,0.30), 77vw 71vh 0 rgba(150,175,210,0.25),
    44vw 86vh 0 rgba(160,180,215,0.30), 6vw 48vh 0 rgba(155,175,210,0.25),
    60vw 15vh 0 rgba(160,180,220,0.30), 35vw 57vh 0 rgba(150,175,210,0.28),
    81vw 42vh 0 rgba(160,180,215,0.25), 12vw 95vh 0 rgba(155,175,210,0.30);
}

body {
  min-height: 100dvh;
  min-height: 100vh;
}

/* ── Landing view ────────────────────────────────────── */

.landing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  min-height: 100vh;
  padding: 40px 16px;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.landing.fade-out {
  opacity: 0;
  transform: scale(0.98);
  pointer-events: none;
}

/* Landing title */

.landing-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 44px);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-align: center;
  color: var(--text-primary);
  margin-bottom: 12px;
  opacity: 0;
  animation: title-reveal 1.2s ease 0.3s forwards;
}

@keyframes title-reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
    letter-spacing: 0.08em;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: -0.01em;
  }
}

/* Body container */

.body-container {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 360px;
  opacity: 0;
  animation: body-reveal 1s ease 0.8s forwards;
}

@keyframes body-reveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.body-svg {
  width: 55%;
  flex-shrink: 0;
  height: auto;
  display: block;
  pointer-events: none;
  filter:
    drop-shadow(0 0 60px rgba(255, 255, 255, 0.025))
    drop-shadow(0 0 120px rgba(90, 112, 144, 0.08));
  animation: breathe 5s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { filter: drop-shadow(0 0 60px rgba(255,255,255,0.025)) drop-shadow(0 0 120px rgba(90,112,144,0.08)); }
  50% { filter: drop-shadow(0 0 70px rgba(255,255,255,0.04)) drop-shadow(0 0 140px rgba(90,112,144,0.12)); }
}

.body-svg .band {
  pointer-events: auto;
  cursor: pointer;
  transition: opacity 0.35s ease, filter 0.35s ease;
  animation: band-nudge 2s ease 2.5s 1;
}

@keyframes band-nudge {
  0%, 100% { filter: brightness(1) saturate(1); }
  40% { filter: brightness(1.25) saturate(1.2); }
}

.body-svg .band:hover {
  opacity: 0.82;
  filter: brightness(1.2) saturate(1.15);
}

.body-svg .band:active,
.body-svg .band.touch-pulse {
  filter: brightness(1.4) saturate(1.3);
  transition: filter 0.1s ease;
}

.body-svg .dividers line {
  stroke: rgba(7, 7, 12, 0.5);
  stroke-width: 0.5;
}

/* Visited glow on bands */
.body-svg .band.visited {
  animation: visited-glow 4s ease-in-out infinite;
}

@keyframes visited-glow {
  0%, 100% { filter: brightness(1) saturate(1); }
  50% { filter: brightness(1.12) saturate(1.1); }
}

/* ── Labels ──────────────────────────────────────────── */

.labels {
  position: relative;
  flex-shrink: 0;
  width: 45%;
  padding-left: 4px;
  pointer-events: none;
}

.label {
  position: absolute;
  top: var(--band-top);
  left: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  opacity: 0;
  transform: translateY(-50%) translateX(-4px);
  animation: label-fade-in 0.6s ease forwards;
  animation-delay: calc(1.2s + var(--band-top) * 0.02);
}

@keyframes label-fade-in {
  to {
    opacity: 0.85;
    transform: translateY(-50%) translateX(0);
  }
}

.label-line {
  display: block;
  width: 20px;
  height: 1px;
  background: linear-gradient(to right, var(--el-color, rgba(168, 164, 158, 0.3)), transparent);
  opacity: 0.5;
  transition: width 0.3s ease, opacity 0.3s ease;
}

.label-text {
  font-family: var(--font-body);
  transition: color 0.3s ease;
}

.label-text strong {
  color: var(--text-primary);
  font-weight: 600;
  margin-right: 4px;
  font-variant-numeric: tabular-nums;
}

.label.highlight {
  opacity: 1 !important;
}

.label.highlight .label-text {
  color: var(--el-color);
}

.label.highlight .label-line {
  opacity: 0.9;
  width: 28px;
}

/* ── Hint text ───────────────────────────────────────── */

.hint {
  margin-bottom: 32px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 300;
  font-style: italic;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.8;
  opacity: 0;
  animation: fade-in 1s ease 0.4s forwards;
}

@keyframes fade-in {
  to { opacity: 1; }
}

/* ── Closing line ────────────────────────────────────── */

.closing-line {
  margin-top: 32px;
  max-width: 360px;
  font-family: var(--font-display);
  font-size: 17px;
  font-style: italic;
  font-weight: 300;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.8;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.closing-line.visible {
  opacity: 1;
}

/* ── Story view ──────────────────────────────────────── */

.story {
  position: fixed;
  inset: 0;
  background: transparent;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 10;
  transition: opacity 0.5s ease;
}

.story.hidden {
  display: none;
}

.story.visible {
  display: block;
  animation: story-enter 0.5s ease forwards;
}

@keyframes story-enter {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(0px);
  }
}

/* ── Back button ─────────────────────────────────────── */

.back-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 20;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 7, 12, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.25s ease;
}

.back-btn:hover {
  background: rgba(20, 20, 30, 0.8);
  border-color: var(--border-medium);
  transform: translateX(-2px);
}

/* ── Story header ────────────────────────────────────── */

.story-header {
  position: sticky;
  top: 0;
  z-index: 15;
  padding: 24px 24px 20px 72px;
  background: linear-gradient(to bottom, var(--bg) 50%, transparent);
}

.story-header-name-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.story-element-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-element-icon svg {
  width: 40px;
  height: 40px;
}

.story-element-name {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.story-element-pct {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

/* ── Timeline track ──────────────────────────────────── */

.timeline-track {
  position: fixed;
  right: 16px;
  top: 100px;
  bottom: 60px;
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 20px;
  pointer-events: none;
}

.timeline-label {
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.timeline-label-top {
  margin-bottom: 8px;
}

.timeline-label-bottom {
  margin-top: 8px;
}

.timeline-line {
  flex: 1;
  width: 1px;
  background: var(--border-subtle);
  position: relative;
}

.timeline-dot {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--element-color);
  box-shadow: 0 0 8px var(--element-color-dim);
  transition: top 0.15s ease-out;
}

/* ── Cards ───────────────────────────────────────────── */

.cards-container {
  padding: 0 24px 120px 24px;
  max-width: 520px;
  margin: 0 auto;
}

.story-card {
  padding: 56px 0;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  border-bottom: 1px solid var(--border-subtle);
}

.story-card:last-of-type {
  border-bottom: none;
}

.story-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.card-time {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--element-color);
  margin-bottom: 20px;
  opacity: 0.8;
}

.card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.story-card:hover .card-image img {
  transform: scale(1.02);
}

.card-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.5;
}

.card-text {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-primary);
  opacity: 0.92;
}

/* ── Story end prompt ────────────────────────────────── */

.story-end {
  text-align: center;
  padding: 72px 0 40px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.story-end.in-view {
  opacity: 1;
  transform: translateY(0);
}

.story-end p {
  font-family: var(--font-display);
  font-size: 16px;
  font-style: italic;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.story-end-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.story-end-btn {
  background: none;
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.03em;
  padding: 14px 24px;
  border-radius: 28px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.story-end-back {
  color: var(--text-secondary);
  border-color: var(--border-subtle);
}

.story-end-back:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-medium);
}

.story-end-next {
  border-color: var(--next-color, var(--border-medium));
  color: var(--text-primary);
}

.story-end-next-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.story-end-next-icon svg {
  width: 20px;
  height: 20px;
}

.story-end-next:hover {
  background: color-mix(in srgb, var(--next-color) 12%, transparent);
  transform: translateY(-1px);
}

/* ── Other overlay ───────────────────────────────────── */

.other-overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 7, 12, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.other-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.other-overlay-content {
  max-width: 420px;
  text-align: center;
}

.other-overlay-content p {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-primary);
  opacity: 0.85;
}

.other-overlay-close {
  margin-top: 32px;
  background: none;
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.03em;
  padding: 12px 28px;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.other-overlay-close:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}

/* ── Capture widget position ─────────────────────────── */

.bm-capture-root, .bm-capture-portal { z-index: 10000 !important }

/* ── Desktop ─────────────────────────────────────────── */

@media (min-width: 600px) {
  .body-container {
    max-width: 280px;
  }

  .label {
    font-size: 12px;
  }

  .cards-container {
    padding: 0 40px 120px 40px;
  }

  .card-text {
    font-size: 20px;
  }

  .story-header {
    padding-left: 80px;
  }
}

@media (min-width: 900px) {
  .landing-title {
    font-size: 48px;
  }

  .body-container {
    max-width: 300px;
  }
}
