/* SoloBook landing — brand cream + charcoal from logo */
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif-regular-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f6ebd4;
  --bg-deep: #efe0c4;
  --bg-soft: #fbf3e6;
  --ink: #2c2b2a;
  --ink-soft: rgba(44, 43, 42, 0.72);
  --ink-faint: rgba(44, 43, 42, 0.45);
  --line: rgba(44, 43, 42, 0.12);
  --line-strong: rgba(44, 43, 42, 0.22);
  --tg: #1f8fbf;
  --tg-ink: #0f5f82;
  --shadow: 0 28px 60px rgba(44, 43, 42, 0.14);
  --radius-phone: 28px;
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* clip keeps position: sticky working; hidden is the fallback */
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior-x: none;
}

body {
  margin: 0;
  min-width: 320px;
  max-width: 100%;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(255, 255, 255, 0.55), transparent 55%),
    radial-gradient(900px 600px at -10% 30%, rgba(237, 219, 189, 0.9), transparent 50%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 28%, var(--bg-deep) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main,
section,
.section-inner,
.hero-copy,
.copy,
.visual {
  min-width: 0;
}

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

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  color: var(--bg-soft);
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

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

:where(a, button):focus-visible {
  outline: 3px solid var(--tg);
  outline-offset: 3px;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}

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

/* ——— Top bar ——— */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding:
    0.85rem
    max(clamp(1.25rem, 4vw, 2.5rem), env(safe-area-inset-right))
    0.85rem
    max(clamp(1.25rem, 4vw, 2.5rem), env(safe-area-inset-left));
  backdrop-filter: blur(14px);
  background: rgba(246, 235, 212, 0.72);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.01em;
}

.brand img {
  width: auto;
  height: 36px;
  object-fit: contain;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.topnav a:not(.topnav-cta) {
  color: var(--ink-soft);
  transition: color 0.2s var(--ease);
}

.topnav a:not(.topnav-cta):hover {
  color: var(--ink);
}

.topnav-cta {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg-soft) !important;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.topnav-cta:hover {
  transform: translateY(-1px);
  background: #1a1918;
}

@media (max-width: 720px) {
  .topnav a:not(.topnav-cta) {
    display: none;
  }

  .topbar {
    gap: 0.65rem;
  }

  .topnav {
    gap: 0.5rem;
  }
}

/* ——— Shared ——— */
.section {
  padding: clamp(4.5rem, 10vw, 7.5rem) clamp(1.25rem, 4vw, 2.5rem);
}

section[id] {
  scroll-margin-top: 5rem;
}

.section-inner {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.section-inner.narrow {
  width: min(100%, 720px);
}

.section-inner.center {
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.display {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.body {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 36rem;
}

.body.muted {
  color: var(--ink-faint);
  max-width: none;
}

.punch {
  margin: 1.75rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-style: italic;
  line-height: 1.3;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.cta-row.center {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg-soft);
}

.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: transparent;
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    transform: translateY(-2px);
  }

  .btn-primary:hover {
    background: #1a1918;
  }

  .btn-ghost:hover {
    border-color: var(--ink);
  }
}

.phone-shot {
  width: min(100%, 420px);
  margin-inline: auto;
  border-radius: var(--radius-phone);
  box-shadow: var(--shadow);
  background: var(--bg-deep);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split.reverse .copy {
  order: 2;
}

.split.reverse .visual {
  order: 1;
}

@media (max-width: 900px) {
  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }

  .split.reverse .copy,
  .split.reverse .visual {
    order: initial;
  }
}

/* ——— Hero ——— */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
  min-height: calc(100svh - 64px);
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem) clamp(1.25rem, 4vw, 2.5rem) clamp(2.5rem, 6vw, 4rem);
}

.hero-copy {
  padding-bottom: clamp(1rem, 4vw, 3rem);
}

.hero-brand {
  margin: 0 0 1rem;
  display: flex;
  justify-content: flex-start;
}

.hero-logo {
  display: block;
  width: clamp(168px, 28vw, 260px);
  height: auto;
}

.hero-title {
  max-width: 14ch;
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 5.4vw, 4.4rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-wrap: balance;
  text-align: left;
  animation: rise 1s 0.06s var(--ease) both;
}

.hero-lead {
  margin: 0;
  max-width: 28ch;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.45vw, 1.55rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink-soft);
  animation: rise 1s 0.1s var(--ease) both;
}

.hero .cta-row {
  animation: rise 1s 0.3s var(--ease) both;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  animation: float-in 1.15s 0.18s var(--ease) both;
}

.hero-visual .phone-shot {
  width: min(100%, 460px);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    align-items: start;
    padding-top: 1.5rem;
  }

  .hero-copy {
    padding-bottom: 0.5rem;
    text-align: center;
  }

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

  .hero-logo {
    margin-inline: auto;
  }

  .hero-title {
    max-width: 16ch;
    margin-inline: auto;
    text-align: center;
  }

  .hero-lead {
    max-width: 28ch;
    margin-inline: auto;
  }

  .hero .cta-row {
    justify-content: center;
  }

  .hero-visual .phone-shot {
    width: min(100%, 340px);
  }
}

/* ——— Problem ——— */
.problem {
  border-top: 1px solid var(--line);
}

.problem-lines {
  display: grid;
  gap: 0.35rem;
  margin: 1.5rem 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.problem-lines p {
  margin: 0;
}

/* ——— Solution ——— */
.steps {
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.steps li {
  position: relative;
  padding-left: 2.4rem;
  font-weight: 500;
}

.steps li::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.steps {
  counter-reset: step;
}

.steps.numbered li::before {
  content: counter(step);
}

/* ——— Client journey ——— */
.journey {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.28), transparent);
}

.journey-head {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.journey-stage {
  display: grid;
  grid-template-columns: minmax(240px, 380px) 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  min-width: 0;
}

/* Grid items default to min-width: auto, which would let the mobile rails
   grow to their content width and leave nothing to scroll. */
.journey-phone,
.journey-steps {
  min-width: 0;
  max-width: 100%;
}

.journey-phone {
  position: sticky;
  top: 5.5rem;
}

.phone-stack {
  position: relative;
  width: 100%;
  isolation: isolate;
}

.phone-stack .phone-shot {
  width: 100%;
  margin: 0;
}

.phone-stack .phone-shot:not(:first-child) {
  position: absolute;
  inset: 0;
}

.phone-stack .phone-shot {
  opacity: 0;
  transform: translateY(10px) scale(0.985);
  transition:
    opacity 0.45s var(--ease),
    transform 0.55s var(--ease);
  pointer-events: none;
  will-change: opacity, transform;
}

.phone-stack .phone-shot.is-shown {
  opacity: 1;
  transform: none;
  z-index: 1;
}

.journey-steps {
  display: grid;
  gap: 0.35rem;
  padding-top: 0.5rem;
}

.journey-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  text-align: left;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid transparent;
  transition:
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    transform 0.35s var(--ease),
    opacity 0.35s var(--ease);
  opacity: 0.55;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.journey-step:hover {
  background: rgba(255, 255, 255, 0.35);
  opacity: 0.85;
}

.journey-step.is-active {
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--line-strong);
  transform: translateX(4px);
  opacity: 1;
}

.journey-step .num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink-faint);
  line-height: 1;
  padding-top: 0.2rem;
  transition: color 0.35s var(--ease);
}

.journey-step strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 650;
  margin-bottom: 0.2rem;
}

.journey-step em {
  display: block;
  font-style: normal;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.journey-step.is-active .num {
  color: var(--ink);
}

@media (max-width: 860px) {
  .journey-stage {
    grid-template-columns: 1fr;
  }

  .journey-phone {
    position: relative;
    top: auto;
    width: min(100%, 320px);
    margin-inline: auto;
  }
}

/* ——— Master gallery ——— */
.master {
  border-top: 1px solid var(--line);
}

.master-head {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.gallery-item {
  margin: 0;
}

.gallery-item img {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(44, 43, 42, 0.12);
  margin-bottom: 0.9rem;
}

.gallery-item figcaption {
  display: grid;
  gap: 0.2rem;
  padding-inline: 0.15rem;
}

.gallery-item strong {
  font-size: 1rem;
}

.gallery-item span {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.master-more {
  margin: 2rem 0 0;
  max-width: 42rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .gallery {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin-inline: auto;
  }
}

/* ——— Benefits ——— */
.benefits {
  border-top: 1px solid var(--line);
}

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

.benefit-list li {
  display: grid;
  gap: 0.35rem;
  padding: 1.4rem 1.2rem 1.4rem 0;
  border-bottom: 1px solid var(--line);
}

.benefit-list li:nth-child(odd) {
  padding-right: 1.5rem;
  border-right: 1px solid var(--line);
}

.benefit-list li:nth-child(even) {
  padding-left: 1.5rem;
}

.benefit-list strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
}

.benefit-list span {
  color: var(--ink-soft);
}

@media (max-width: 700px) {
  .benefit-list {
    grid-template-columns: 1fr;
  }

  .benefit-list li:nth-child(odd),
  .benefit-list li:nth-child(even) {
    border-right: 0;
    padding-left: 0;
    padding-right: 0;
  }
}

/* ——— Audience ——— */
.audience {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.22);
}

.audience-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.audience-list li {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  font-size: 1.15rem;
  font-weight: 500;
}

.audience-list li:last-child {
  border-bottom: 1px solid var(--line);
}

/* ——— Pricing ——— */
.pricing {
  border-top: 1px solid var(--line);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 2rem 0 1.5rem;
}

.price {
  padding: 1.75rem 1.5rem 1.6rem;
  border-top: 1px solid var(--line-strong);
}

.price-label {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.price-value {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.25rem);
  line-height: 1;
}

.price-value span {
  font-size: 0.55em;
  margin-right: 0.1em;
}

.price-desc {
  margin: 0;
  color: var(--ink-soft);
  max-width: 28ch;
}

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

/* ——— Closing ——— */
.closing {
  border-top: 1px solid var(--line);
  padding-bottom: clamp(5rem, 12vw, 8rem);
}

.closing-logo {
  width: 140px;
  height: auto;
  margin: 0 auto 1.25rem;
}

.closing .body {
  margin-inline: auto;
}

.contact-hint {
  margin: 1.25rem 0 0;
  color: var(--ink-faint);
  font-size: 0.95rem;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
}

.footer-inner {
  width: min(100%, var(--max));
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--ink-faint);
  font-size: 0.9rem;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink-soft);
}

/* ——— Motion ——— */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
    background-attachment: scroll;
  }

  .noise {
    opacity: 0.025;
  }

  .topbar {
    padding-top: max(0.65rem, env(safe-area-inset-top));
    padding-bottom: 0.65rem;
  }

  .brand {
    gap: 0.45rem;
    font-size: 1.2rem;
  }

  .brand img {
    height: 32px;
  }

  .topnav-cta {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding-inline: 1rem;
  }

  .section {
    padding-block: clamp(3.75rem, 16vw, 5rem);
  }

  .display {
    font-size: clamp(2rem, 10vw, 2.75rem);
    text-wrap: balance;
  }

  .hero {
    gap: 2.25rem;
    padding-top: 1.25rem;
    padding-bottom: 3.5rem;
  }

  .hero-logo {
    width: clamp(145px, 46vw, 190px);
  }

  .hero-title {
    font-size: clamp(2.35rem, 12vw, 3.35rem);
  }

  .hero-lead {
    font-size: clamp(1.12rem, 4.6vw, 1.35rem);
  }

  .hero .cta-row,
  .closing .cta-row {
    width: 100%;
  }

  .hero .btn,
  .closing .btn {
    width: 100%;
    min-height: 52px;
  }

  .phone-shot {
    border-radius: clamp(18px, 6vw, var(--radius-phone));
  }

  .journey-stage {
    --rail-card: min(320px, 78vw);
    --rail-gutter: max(clamp(1.25rem, 4vw, 2.5rem), calc((100vw - var(--rail-card)) / 2));
    gap: 1.25rem;
  }

  .journey-phone {
    width: 100%;
    margin-inline: 0;
  }

  .phone-stack {
    display: flex;
    align-items: stretch;
    width: auto;
    min-width: 0;
    gap: 0.85rem;
    margin-inline: calc(clamp(1.25rem, 4vw, 2.5rem) * -1);
    /* Side padding equal to the free space beside a card, so the first and the
       last screen can still settle in the middle of the viewport. */
    padding: 0.15rem var(--rail-gutter);
    scroll-padding-inline: var(--rail-gutter);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .phone-stack::-webkit-scrollbar {
    display: none;
  }

  /* With JS the settling is animated in sync for both rails, so native
     snapping and smooth scrolling must not compete with it. */
  .js .phone-stack,
  .js .journey-steps {
    scroll-snap-type: none;
    scroll-behavior: auto;
  }

  .phone-stack .phone-shot,
  .phone-stack .phone-shot:not(:first-child) {
    position: relative;
    inset: auto;
    flex: 0 0 var(--rail-card);
    width: var(--rail-card);
    margin: 0;
    opacity: 0.45;
    transform: scale(0.96);
    transition:
      opacity 0.35s var(--ease),
      transform 0.35s var(--ease);
    pointer-events: auto;
    scroll-snap-align: center;
    will-change: opacity, transform;
  }

  .phone-stack .phone-shot.is-shown {
    opacity: 1;
    transform: none;
    z-index: 1;
  }

  .journey-steps {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: var(--rail-card);
    max-width: none;
    gap: 0.85rem;
    margin-inline: calc(clamp(1.25rem, 4vw, 2.5rem) * -1);
    padding: 0.25rem var(--rail-gutter) 0.75rem;
    scroll-padding-inline: var(--rail-gutter);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .journey-steps::-webkit-scrollbar {
    display: none;
  }

  .journey-step {
    min-height: 72px;
    padding: 0.9rem;
    gap: 0.75rem;
    opacity: 0.7;
    scroll-snap-align: center;
  }

  .journey-step.is-active {
    transform: none;
  }

  .gallery {
    gap: 2rem;
  }

  .price {
    padding-inline: 0;
  }

  .footer-inner {
    display: grid;
    justify-content: center;
    text-align: center;
  }

  .footer {
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
  }
}

@media (max-width: 380px) {
  .brand span {
    display: none;
  }

  .topbar {
    padding-inline: 1rem;
  }

  .section,
  .hero {
    padding-inline: 1rem;
  }

  .journey-step em {
    font-size: 0.88rem;
  }
}

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

  .reveal,
  .hero-brand,
  .hero-title,
  .hero-lead,
  .hero .cta-row,
  .hero-visual {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .phone-stack,
  .journey-steps {
    scroll-behavior: auto;
  }
}

@media (prefers-reduced-data: reduce) {
  .noise {
    display: none;
  }
}
