:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --surface: rgba(0, 0, 0, 0.025);
  --line: rgba(0, 0, 0, 0.1);
  --text: #0a0a0a;
  --muted: #6b7280;
  --accent: #55c5be;
  --accent-soft: #55c5be;
  --primary-glow: 85 197 190;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-elev: 0 30px 80px -30px rgba(0, 0, 0, 0.18);
  --serif: "Bricolage Grotesque", ui-serif, Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { display: block; }
small { font-size: 0.78rem; letter-spacing: 0.02em; }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin: 0 0 1rem;
}

/* ================= Nav ================= */

.nav {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(85, 197, 190, 0.25);
}

.brand-logo {
  height: 75px;
  width: auto;
  display: block;
}

.site-foot .brand-logo { height: 57px; }

.nav nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 2rem);
  font-size: 0.92rem;
  color: var(--muted);
}

.nav nav a { transition: color 0.2s ease; }
.nav nav a:hover { color: var(--text); }

.nav-cta {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text) !important;
}

.nav-cta:hover { background: var(--surface); }

/* ================= Hero ================= */

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: 8rem clamp(1.25rem, 5vw, 5rem) 6rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -10% -20% auto auto;
  width: 70vmax;
  height: 70vmax;
  background: radial-gradient(closest-side, rgba(85, 197, 190, 0.28), transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-copy { position: relative; z-index: 2; max-width: 32rem; }

.hero-copy h1 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2.6rem, 6.5vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 1.4rem;
}

.hero-copy h1 span { display: block; }
.hero-accent {
  color: var(--accent);
}

.hero-copy .lede {
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  max-width: 30rem;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}
.btn-primary:hover { background: #46b1aa; }

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent-soft); color: var(--accent-soft); }

.btn-lg { padding: 1.1rem 1.6rem; }
.btn-lg span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.btn-lg small { color: rgba(255, 255, 255, 0.78); letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.62rem; }
.btn-lg strong { font-size: 1.05rem; font-weight: 700; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: clamp(1rem, 4vw, 2.5rem);
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.hero-stats div { display: flex; flex-direction: column; gap: 0.25rem; }
.hero-stats dt {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-variant-numeric: tabular-nums;
}
.hero-stats dd { margin: 0; color: var(--muted); font-size: 0.82rem; letter-spacing: 0.02em; }

.hero-note {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.hero-note::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 0.5rem;
  vertical-align: middle;
}

/* iPhone in hero */

.hero-phone {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  --parallax: 0px;
}

.phone-shell {
  position: relative;
  width: min(280px, 60vw);
  aspect-ratio: 9 / 19.5;
  background: #0b0b0c;
  padding: 7px;
  border-radius: 2.75rem;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 30px 60px -25px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.03);
  transform: translate3d(0, var(--parallax), 0) rotate(-2deg);
  transition: transform 0.3s ease;
}

.phone-island {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 35%;
  height: 22px;
  background: #000;
  border-radius: 999px;
  z-index: 2;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 2.4rem;
  object-fit: cover;
  background: #000;
}

.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-cue-dot {
  animation: scrollDot 1.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(8px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ================= Story (pinned scrub) ================= */

.story {
  position: relative;
  padding: clamp(4rem, 10vw, 8rem) clamp(1.25rem, 5vw, 5rem) 6rem;
  background: linear-gradient(180deg, transparent, var(--bg-soft) 18%, var(--bg-soft) 82%, transparent);
}

.story-title {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 38rem;
  margin: 0 0 4rem;
}
.story-title .eyebrow { display: block; margin-bottom: 1.1rem; }

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 38vw) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 4rem);
  align-items: start;
}

.story-stage-wrap {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  place-items: center;
  pointer-events: none;
  grid-column: 2;
  grid-row: 1 / span 5;
}

.story-stage {
  position: relative;
  width: min(278px, 75%);
  aspect-ratio: 9 / 19.5;
  display: grid;
  place-items: center;
}

.stage-glow {
  position: absolute;
  inset: -15% -25%;
  background: radial-gradient(closest-side, rgba(85, 197, 190, 0.32), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.stage-phone {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  background: #0b0b0c;
  padding: 8px;
  border-radius: 2.4rem;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 30px 60px -25px rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.stage-phone-island {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 32%;
  height: 22px;
  background: #000;
  border-radius: 999px;
  z-index: 20;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.stage-phone-screen {
  position: absolute;
  inset: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  border-radius: 2rem;
  object-fit: cover;
  background: #000;
  transform: translateY(100vh);
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.stage-phone-screen[data-step="0"] { transform: translateY(0); }

/* Layered cards that fly in around the phone */
.layer {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  will-change: transform, opacity;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.card {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.05rem;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-elev);
  white-space: nowrap;
  font-size: 0.85rem;
}

.card-mark {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--accent);
}

.card-title { margin: 0; font-weight: 600; color: var(--text); }
.card-meta { margin: 0; font-size: 0.75rem; color: var(--muted); letter-spacing: 0.01em; }

.card-search { padding-right: 1.3rem; }
.card-search > div { display: flex; flex-direction: column; }

.card-pill { padding: 0.5rem 0.9rem; border-radius: 999px; }
.card-check {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: var(--accent);
  color: #ffffff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.78rem;
}

.card-shield { color: var(--accent-soft); }
.card-shield p { color: var(--text); }
.card-shield .card-meta { color: var(--muted); }

.card-unlock { padding-right: 1.2rem; color: var(--accent-soft); }
.card-unlock .card-title { color: var(--text); }

.card-receipt { flex-direction: column; align-items: stretch; gap: 0.35rem; min-width: 200px; }
.card-row { display: flex; justify-content: space-between; margin: 0; font-weight: 500; }
.card-amount { font-family: var(--serif); font-weight: 800; color: var(--accent-soft); }
.card-muted { color: var(--muted); font-size: 0.72rem; }

.card-status { padding-left: 0.95rem; }
.card-status > p { margin: 0; }
.card-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4cd964;
  box-shadow: 0 0 0 0 rgba(76, 217, 100, 0.6);
  animation: pulse 1.6s ease-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(76, 217, 100, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(76, 217, 100, 0); }
  100% { box-shadow: 0 0 0 0 rgba(76, 217, 100, 0); }
}

/* Chapters column */
.chapters {
  list-style: none;
  margin: 0;
  padding: 0;
  display: contents;
}

.chapter:nth-child(1) { grid-column: 1; grid-row: 1; }
.chapter:nth-child(2) { grid-column: 3; grid-row: 2; text-align: right; justify-self: end; }
.chapter:nth-child(3) { grid-column: 1; grid-row: 3; }
.chapter:nth-child(4) { grid-column: 3; grid-row: 4; text-align: right; justify-self: end; }
.chapter:nth-child(5) { grid-column: 1; grid-row: 5; }

.chapter {
  min-height: 80vh;
  padding: 8vh 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 28rem;
  opacity: 0.35;
  filter: blur(0.4px);
  transition: opacity 0.45s ease, filter 0.45s ease, transform 0.45s ease;
  transform: translateY(8px);
}

.chapter.is-active { opacity: 1; filter: none; transform: none; }
.chapter.is-before { opacity: 0.55; filter: none; transform: none; }

.chapter h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  letter-spacing: -0.02em;
  line-height: 1.0;
  margin: 0;
}

.chapter-num {
  font-style: italic;
  font-weight: 500;
  color: var(--accent-soft);
  margin-right: 0.15em;
}

.chapter-lede {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  margin: 0;
}

.chapter p:last-child {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* ================= Fleet ================= */

.fleet {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 5vw, 5rem);
}

.fleet-head { max-width: 38rem; margin: 0 0 3rem; }
.fleet-head h2 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}

.fleet-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.4s ease, border-color 0.3s ease;
}
.fleet-card:hover { transform: translateY(-4px); border-color: var(--accent-soft); }

.fleet-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.fleet-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem 1.2rem 1.3rem;
}
.fleet-name { font-weight: 600; margin: 0; }
.fleet-price {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 1.3rem;
  margin: 0;
}
.fleet-price span { color: var(--muted); font-size: 0.8rem; font-weight: 500; }

/* ================= Reviews / Testimonials ================= */

.reviews {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 5vw, 5rem);
}

.reviews-head { max-width: 38rem; margin: 0 0 3rem; }
.reviews-head h2 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

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

.review-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
}

.review-top {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}

.review-avatar {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.review-who { flex: 1; min-width: 0; }

.review-nameline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.review-name { margin: 0; font-weight: 700; }
.review-time { color: var(--muted); font-size: 0.82rem; flex-shrink: 0; }
.review-sub { margin: 0.1rem 0 0; color: var(--muted); font-size: 0.85rem; }

.review-stars {
  margin-top: 0.4rem;
  color: #ffb400;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
}

.review-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
}

.review-body {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ================= FAQ ================= */

.faq {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 5vw, 5rem);
  max-width: 52rem;
  margin: 0 auto;
}

.faq-head { margin: 0 0 2.5rem; }
.faq-head h2 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 0;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }

.faq-item summary::after {
  content: "+";
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  margin: 0;
  padding: 0 0 1.4rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 44rem;
}

/* ================= CTA ================= */

.cta {
  text-align: center;
  padding: clamp(5rem, 10vw, 9rem) 1.25rem;
  background: radial-gradient(ellipse at center top, rgba(85, 197, 190, 0.18), transparent 60%);
}

.cta h2 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2.3rem, 5vw, 4rem);
  letter-spacing: -0.025em;
  margin: 0 0 0.8rem;
}

.cta p { color: var(--muted); margin: 0 0 2rem; }

/* ================= Footer ================= */

.site-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  padding: 2rem clamp(1.25rem, 5vw, 5rem) 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}
.site-foot > div { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--serif); font-weight: 700; color: var(--text); }
.site-foot nav { display: flex; gap: 1.25rem; }
.site-foot nav a:hover { color: var(--text); }

.site-social { display: flex; gap: 0.75rem; align-items: center; }
.site-social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.site-social a:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* ================= Legal pages (Privacy, Terms) ================= */

.legal-page {
  max-width: 44rem;
  margin: 0 auto;
  padding: 8rem clamp(1.25rem, 5vw, 2rem) 6rem;
}

.legal-head { margin-bottom: 3rem; }

.legal-head h1 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0.4rem 0 0.8rem;
}

.legal-updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.legal-page article > h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: -0.01em;
  margin: 3rem 0 1rem;
}

.legal-page article > h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 2rem 0 0.6rem;
}

.legal-page article > h4 {
  font-weight: 600;
  font-size: 1rem;
  margin: 1.4rem 0 0.4rem;
  font-style: italic;
  color: var(--muted);
}

.legal-page p {
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 1rem;
}

.legal-page ul {
  margin: 0 0 1.2rem 0;
  padding: 0 0 0 1.4rem;
}

.legal-page li {
  margin-bottom: 0.5rem;
  line-height: 1.65;
}

.legal-page strong { font-weight: 600; }

.legal-page a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page a:hover { opacity: 0.8; }

/* ================= Reduced motion ================= */

@media (prefers-reduced-motion: reduce) {
  .layer { opacity: 1 !important; transform: translate(-50%, -50%) !important; }
  .scroll-cue-dot, .card-pulse { animation: none; }
  html { scroll-behavior: auto; }
}

/* ================= Mobile ================= */

@media (max-width: 880px) {
  .nav nav a:not(.nav-cta) { display: none; }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 7rem;
    padding-bottom: 5rem;
    gap: 3rem;
  }
  .hero-phone { justify-self: center; }
  .scroll-cue { display: none; }

  /* Block layout makes sticky bulletproof in mobile Safari */
  .story-grid { display: block; }

  .story-stage-wrap {
    position: sticky;
    top: 0;
    height: 60vh;
    margin-bottom: 1rem;
    background: var(--bg-soft);
    z-index: 3;
    /* Override base grid centering — implicit single-track grid sizes the cell
       to the child and pins it to the container's start, which leaves all the
       leftover horizontal space on one side. Flex centring is unambiguous. */
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Soft fade so chapter text dissolves under the pinned stage */
  .story-stage-wrap::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -36px;
    height: 36px;
    background: linear-gradient(var(--bg-soft), transparent);
    pointer-events: none;
  }

  /* Phone-shaped stage. Width is explicit (derived from desired height
     via the aspect ratio) so mobile browsers center it predictably. */
  .story-stage {
    width: min(220px, 25vh);
    max-width: 92%;
    aspect-ratio: 9 / 19.5;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    justify-self: center;
  }

  .stage-phone {
    width: 100%;
    padding: 5px;
    border-radius: 1.6rem;
    z-index: 2;
  }
  .stage-phone-screen {
    inset: 5px;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    border-radius: 1.3rem;
  }
  .stage-phone-island { width: 36%; height: 14px; top: 8px; }

  /* No floating cards on mobile — phone owns the stage, chapters do the talking */
  .layer { display: none; }

  /* Chapters become the focus: big type, JS-driven fade as they slide under
     the pinned phone. Disable the desktop class-based opacity transition so it
     doesn't fight inline opacity from the scroll handler. */
  .chapter {
    min-height: 78vh;
    padding: 6vh 0 4vh;
    max-width: none;
    transition: none;
    filter: none;
    transform: none;
    opacity: 1;
    will-change: opacity;
  }
  .chapter.is-active,
  .chapter.is-before {
    filter: none;
    transform: none;
  }
  .chapter:nth-child(even) { text-align: left; justify-self: stretch; }

  .chapter h3 {
    font-size: clamp(2.6rem, 10vw, 3.6rem);
    line-height: 0.95;
    letter-spacing: -0.025em;
  }
  .chapter p:last-child {
    font-size: 1rem;
    max-width: 30rem;
  }

  .story-title { margin-bottom: 2.5rem; }

  .hero-stats { gap: 1.25rem; }
  .hero-stats dt { font-size: 1.2rem; }
}
