/* ============================================================
   REACH scroll-story layer
   One pinned desktop narrative, calm chapter transitions,
   compact mobile fallbacks, and reduced-motion support.
   ============================================================ */

:root {
  --flow-header: 3.85rem;
  --flow-max: 78rem;
  --flow-wide: 88rem;
  --flow-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --flow-hero-progress: 0;
  --flow-gallery-progress: 0;
}

.page-home--flow {
  --max: var(--flow-max);
  background: #f5f5f7;
}

.page-home--flow .shell {
  max-width: var(--flow-max);
}

.page-home--flow h1,
.page-home--flow h2,
.page-home--flow h3 {
  letter-spacing: -0.026em;
}

.page-home--flow h1 {
  font-size: clamp(3.25rem, 7.2vw, 6.85rem);
  line-height: 0.94;
}

.page-home--flow h2 {
  font-size: clamp(2.7rem, 5.5vw, 5.2rem);
  line-height: 0.98;
}

.page-home--flow h3 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.08;
}

.page-home--flow .lead {
  font-size: clamp(1.05rem, 1.55vw, 1.24rem);
  line-height: 1.6;
}

.page-home--flow section[id] {
  scroll-margin-top: calc(var(--flow-header) + 1rem);
}

/* Header orientation and page progress */

.page-home--flow .site-header {
  min-height: var(--flow-header);
  background: rgba(245, 245, 247, 0.78);
  border-bottom-color: rgba(29, 29, 31, 0.08);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
}

.page-home--flow .header-inner {
  min-height: var(--flow-header);
}

.page-home--flow .site-nav a {
  position: relative;
}

.page-home--flow .site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -0.65rem;
  height: 1px;
  background: var(--accent);
  transition: right 280ms var(--flow-ease);
}

.page-home--flow .site-nav a[aria-current="true"] {
  color: var(--text);
}

.page-home--flow .site-nav a[aria-current="true"]::after {
  right: 0;
}

.page-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}

.page-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #016fd0, #49a8ff);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

/* Hero */

.page-home--flow .hero--flow {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(100svh - var(--flow-header));
  padding: clamp(5.75rem, 10vh, 8.5rem) 0 clamp(7rem, 13vh, 10rem);
  overflow: clip;
  isolation: isolate;
  background:
    radial-gradient(58rem 36rem at 50% 42%, rgba(255, 255, 255, 0.96), transparent 70%),
    linear-gradient(180deg, #f7f8fa 0%, #f3f4f7 72%, #e8ebf0 100%);
}

.hero--flow::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(6, 8, 12, 0.07));
  pointer-events: none;
}

.hero--flow .hero-inner {
  position: relative;
  z-index: 2;
  max-width: 73rem;
  gap: clamp(1.25rem, 2.4vw, 2rem);
  transform: translateY(calc(var(--flow-hero-progress) * -2.5rem));
  opacity: calc(1 - (var(--flow-hero-progress) * 0.5));
  will-change: transform, opacity;
}

.page-home--flow .hero--flow h1 {
  max-width: 13.2ch;
  text-wrap: balance;
}

.page-home--flow .hero--flow .hero-sub {
  max-width: 43rem;
  font-size: clamp(1.08rem, 1.85vw, 1.38rem);
}

.page-home--flow .hero--flow .hero-meta {
  max-width: 61rem;
  margin-top: clamp(1.25rem, 3vw, 2.2rem);
  padding: 1.15rem 1.35rem;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 55px rgba(28, 32, 42, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  transform: scale(calc(1 + (var(--flow-hero-progress) * 0.08)));
  opacity: calc(1 - (var(--flow-hero-progress) * 0.28));
  will-change: transform, opacity;
}

.hero-orbit {
  position: absolute;
  left: 50%;
  top: 47%;
  border: 1px solid rgba(1, 111, 208, 0.12);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: inset 0 0 80px rgba(1, 111, 208, 0.025);
}

.hero-orbit--one {
  width: min(88vw, 78rem);
  aspect-ratio: 1.75;
}

.hero-orbit--two {
  width: min(68vw, 58rem);
  aspect-ratio: 1.72;
  border-color: rgba(1, 111, 208, 0.16);
}

.hero-orbit--three {
  width: min(48vw, 40rem);
  aspect-ratio: 1.68;
  border-color: rgba(1, 111, 208, 0.2);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.35rem;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  color: #6c7078;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transform: translateX(-50%);
}

.scroll-cue i {
  position: relative;
  width: 1.25rem;
  height: 1.95rem;
  border: 1px solid rgba(29, 29, 31, 0.22);
  border-radius: 999px;
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.42rem;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%);
  animation: flow-scroll-cue 1.8s ease-in-out infinite;
}

@keyframes flow-scroll-cue {
  0%, 100% { opacity: 0.35; transform: translate(-50%, 0); }
  45% { opacity: 1; }
  75% { opacity: 0; transform: translate(-50%, 0.65rem); }
}

/* Shared reveal motion */

.js [data-reveal] {
  opacity: 0;
  filter: blur(7px);
  transform: translateY(1.6rem) scale(0.992);
  transition:
    opacity 760ms var(--flow-ease),
    transform 760ms var(--flow-ease),
    filter 620ms ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  filter: none;
  transform: none;
}

.hero--flow [data-reveal]:nth-child(2) { transition-delay: 70ms; }
.hero--flow [data-reveal]:nth-child(3) { transition-delay: 130ms; }
.hero--flow [data-reveal]:nth-child(4) { transition-delay: 190ms; }
.hero--flow [data-reveal]:nth-child(5) { transition-delay: 250ms; }

/* Five-stage customer path */

.journey-section {
  position: relative;
  padding: 0;
  overflow: clip;
  color: #fff;
  background:
    radial-gradient(62rem 42rem at 18% 28%, rgba(1, 111, 208, 0.18), transparent 68%),
    radial-gradient(46rem 34rem at 86% 72%, rgba(52, 139, 222, 0.08), transparent 72%),
    #080a0e;
}

.journey-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 16%, transparent 84%, rgba(255, 255, 255, 0.035));
}

.journey-section .eyebrow { color: #69b9ff; }
.journey-section .lead { color: #b8bec8; }

.journey-intro {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 1.35rem;
  min-height: 92svh;
  text-align: center;
  justify-items: center;
}

.journey-intro h2 {
  max-width: 13.4ch;
}

.journey-intro .lead {
  max-width: 39rem;
}

.journey-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.journey-sticky {
  position: sticky;
  top: var(--flow-header);
  display: grid;
  align-content: center;
  gap: 2.5rem;
  height: calc(100svh - var(--flow-header));
  padding-block: 2.5rem;
}

.journey-sticky-copy {
  display: grid;
  gap: 0.8rem;
  max-width: 29rem;
}

.journey-kicker {
  font-size: clamp(1.8rem, 3.7vw, 3.8rem);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.035em;
}

.journey-sticky-copy p {
  max-width: 27rem;
  color: #9ea5b0;
  font-size: 1rem;
  line-height: 1.62;
}

.journey-rail {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey-rail::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 1.15rem;
  bottom: 1.15rem;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.journey-rail li {
  position: relative;
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  gap: 0.85rem;
  align-items: center;
  min-height: 2.9rem;
  color: #676e79;
  transition: color 420ms var(--flow-ease), transform 420ms var(--flow-ease);
}

.journey-rail li span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: #0c0f14;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: background 420ms var(--flow-ease), border-color 420ms var(--flow-ease), box-shadow 420ms var(--flow-ease);
}

.journey-rail li strong {
  font-size: 0.92rem;
  font-weight: 570;
}

.journey-rail li.is-past {
  color: #9aa2ad;
}

.journey-rail li.is-active {
  color: #fff;
  transform: translateX(0.35rem);
}

.journey-rail li.is-active span {
  border-color: #5bb2ff;
  background: var(--accent);
  box-shadow: 0 0 0 0.45rem rgba(1, 111, 208, 0.12), 0 0 2.5rem rgba(1, 111, 208, 0.38);
}

.journey-meter {
  width: min(18rem, 72%);
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.11);
}

.journey-meter span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #016fd0, #62bcff);
  transform: scaleX(0.2);
  transform-origin: left center;
  transition: transform 440ms var(--flow-ease);
}

.journey-steps {
  display: grid;
}

.journey-step {
  display: grid;
  align-items: center;
  min-height: 70svh;
}

.journey-step-card {
  position: relative;
  display: grid;
  gap: 1.1rem;
  padding: clamp(2rem, 4vw, 3.35rem);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: clamp(1.8rem, 3vw, 2.8rem);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(13, 16, 22, 0.86);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.journey-step-card::before {
  content: "";
  position: absolute;
  width: 14rem;
  height: 14rem;
  right: -6rem;
  top: -6rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 111, 208, 0.24), transparent 67%);
  opacity: 0;
  transform: scale(0.75);
  transition: opacity 460ms var(--flow-ease), transform 620ms var(--flow-ease);
}

.journey-step-number {
  color: #69b9ff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.journey-step h3 {
  max-width: 13ch;
  color: #fff;
  font-size: clamp(2.3rem, 4.7vw, 4.6rem);
  line-height: 0.98;
}

.journey-step p {
  max-width: 32rem;
  color: #b8bec8;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.62;
}

.journey-step small {
  display: block;
  width: fit-content;
  margin-top: 0.5rem;
  padding: 0.56rem 0.78rem;
  border: 1px solid rgba(104, 184, 255, 0.18);
  border-radius: 999px;
  color: #a9cce9;
  background: rgba(1, 111, 208, 0.07);
  font-size: 0.72rem;
  line-height: 1.4;
}

.js .journey-step-card {
  opacity: 0.28;
  filter: blur(2.5px);
  transform: translateY(1rem) scale(0.985);
  transition:
    opacity 420ms var(--flow-ease),
    filter 420ms var(--flow-ease),
    transform 420ms var(--flow-ease),
    border-color 420ms var(--flow-ease);
}

.js .journey-step.is-active .journey-step-card {
  opacity: 1;
  filter: none;
  transform: none;
  border-color: rgba(102, 185, 255, 0.24);
}

.journey-step.is-active .journey-step-card::before {
  opacity: 1;
  transform: scale(1);
}

.journey-close {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 1.35rem;
  min-height: 82svh;
  text-align: center;
}

.journey-close h2 {
  max-width: 13.5ch;
}

.journey-close .lead {
  max-width: 42rem;
}

.journey-close .btn {
  margin-top: 0.6rem;
}

/* Media offer chapter */

.page-home--flow .media-section--flow {
  padding: clamp(7rem, 12vw, 11rem) 0;
  background:
    radial-gradient(60rem 32rem at 12% 24%, rgba(1, 111, 208, 0.08), transparent 72%),
    #f5f5f7;
}

.media-chapter-head {
  display: grid;
  gap: 1.2rem;
  margin-bottom: clamp(3.5rem, 7vw, 6.5rem);
}

.media-chapter-head h2 {
  max-width: 14ch;
}

.media-chapter-head .lead {
  max-width: 44rem;
}

.media-flow-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2.5rem, 6vw, 6.5rem);
  align-items: start;
}

.media-visual {
  position: sticky;
  top: calc(var(--flow-header) + 2rem);
  display: grid;
  gap: 1rem;
}

.kit-figure--flow {
  margin: 0;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: clamp(1.8rem, 3vw, 2.65rem);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 34px 90px rgba(27, 31, 41, 0.12);
  transform: translateY(calc((var(--flow-gallery-progress) - 0.5) * -1.5rem));
  will-change: transform;
}

.kit-figure--flow img {
  width: 100%;
  height: clamp(26rem, 41vw, 34rem);
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  object-position: center 43%;
}

.media-use-cases {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.media-use-cases span {
  padding: 0.58rem 0.8rem;
  border: 1px solid rgba(29, 29, 31, 0.09);
  border-radius: 999px;
  color: #555a62;
  background: rgba(255, 255, 255, 0.74);
  font-size: 0.72rem;
  font-weight: 600;
}

.offer--flow {
  gap: 1.5rem;
  padding: clamp(1.65rem, 4vw, 3.3rem);
  border-radius: clamp(1.8rem, 3vw, 2.75rem);
  box-shadow: 0 34px 95px rgba(27, 31, 41, 0.11);
}

.offer--flow .offer-head {
  gap: 1.5rem;
}

.offer--flow .offer-title h3 {
  max-width: 18ch;
  font-size: clamp(1.75rem, 3.2vw, 3rem);
}

.offer--flow .price {
  font-size: clamp(3.2rem, 6vw, 5.2rem);
  line-height: 0.92;
}

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

.offer-highlights li {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 0;
}

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

.offer-highlights li:nth-child(even) {
  padding-left: 1rem;
}

.offer-highlights li:nth-child(-n + 2) {
  border-bottom: 1px solid var(--line);
}

.offer-highlights strong {
  font-size: 0.96rem;
}

.offer-highlights span {
  color: var(--muted);
  font-size: 0.76rem;
}

.scope-details {
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: rgba(245, 246, 248, 0.8);
}

.scope-details summary {
  position: relative;
  padding: 1rem 3rem 1rem 1.1rem;
  cursor: pointer;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 650;
  list-style: none;
}

.scope-details summary::-webkit-details-marker { display: none; }

.scope-details summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 400;
  transform: translateY(-52%);
  transition: transform 220ms ease;
}

.scope-details[open] summary::after {
  transform: translateY(-52%) rotate(45deg);
}

.scope-details .offer-list {
  margin: 0;
  padding: 0 1.1rem 1.15rem 2.1rem;
}

.scope-details .offer-list li {
  padding-block: 0.32rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.offer--flow .guarantee {
  margin-top: 0;
}

/* Immersive creative-direction chapter */

.page-home--flow .gallery-section--flow {
  padding: clamp(7rem, 12vw, 11rem) 0 clamp(6rem, 10vw, 9rem);
  overflow: clip;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 16%),
    #e8eaee;
}

.gallery-chapter-head {
  display: grid;
  justify-items: center;
  gap: 1.2rem;
  text-align: center;
}

.gallery-chapter-head h2 {
  max-width: 14ch;
}

.gallery-chapter-head .lead {
  max-width: 42rem;
}

.gallery-stage {
  width: min(calc(100% - 2rem), var(--flow-wide));
  margin: clamp(3.5rem, 7vw, 6rem) auto 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.gallery-panel {
  position: relative;
  margin: 0;
  min-height: 22rem;
  overflow: hidden;
  border-radius: clamp(1.45rem, 2.5vw, 2.3rem);
  background: #d8dadd;
  box-shadow: 0 28px 75px rgba(27, 31, 41, 0.13);
}

.gallery-panel--hero { grid-column: span 7; min-height: 36rem; }
.gallery-panel--portrait { grid-column: span 5; min-height: 36rem; }
.gallery-panel--detail { grid-column: span 4; min-height: 28rem; }
.gallery-panel--wide { grid-column: span 8; min-height: 28rem; }

.gallery-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(calc(1.035 + (var(--flow-gallery-progress) * 0.025)));
  transition: filter 500ms ease;
  will-change: transform;
}

.gallery-panel--hero img { object-position: center 48%; }
.gallery-panel--portrait img { object-position: center 40%; }
.gallery-panel--detail img { object-position: center 47%; }
.gallery-panel--wide img { object-position: center 42%; }

.gallery-panel::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.58));
  pointer-events: none;
}

.gallery-panel figcaption {
  position: absolute;
  left: 1.35rem;
  bottom: 1.15rem;
  z-index: 1;
  color: #fff;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 620;
  letter-spacing: -0.018em;
}

/* Audit decision bridge */

.page-home--flow .audit-section--flow {
  padding: clamp(6.5rem, 11vw, 10rem) 0;
  background: #f5f5f7;
}

.audit-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2rem, 7vw, 6rem);
  align-items: end;
  padding: clamp(2.25rem, 6vw, 5.4rem);
  overflow: hidden;
  border-radius: clamp(2rem, 4vw, 3.4rem);
  color: #fff;
  background:
    radial-gradient(42rem 30rem at 100% 0%, rgba(85, 181, 255, 0.34), transparent 70%),
    linear-gradient(135deg, #062a4a, #063d70 50%, #07111d);
  box-shadow: 0 38px 100px rgba(2, 37, 68, 0.2);
}

.audit-stage::after {
  content: "";
  position: absolute;
  right: -8rem;
  bottom: -12rem;
  width: 28rem;
  height: 28rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 4rem rgba(255, 255, 255, 0.025), 0 0 0 8rem rgba(255, 255, 255, 0.018);
  pointer-events: none;
}

.audit-stage > * {
  position: relative;
  z-index: 1;
}

.audit-stage > div {
  display: grid;
  gap: 1rem;
}

.audit-stage .eyebrow { color: #8ccaff; }
.audit-stage h2 { max-width: 13.5ch; }
.audit-stage .lead { max-width: 39rem; color: #c6d7e6; }

.audit-note {
  color: #9fc1de;
  font-size: 0.84rem;
  font-weight: 560;
}

.audit-stage .btn-primary {
  background: #fff;
  color: #063d70;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.audit-stage .btn-primary:hover {
  background: #edf7ff;
  color: #052f56;
}

/* Process */

.page-home--flow .process-section--flow {
  padding: clamp(7rem, 12vw, 11rem) 0;
  background: #fff;
}

.process-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: clamp(3.5rem, 7vw, 6rem) 0 0;
  padding: 0;
  list-style: none;
}

.process-line::before {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  top: 1.4rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(1, 111, 208, 0.35) 12%, rgba(1, 111, 208, 0.35) 88%, transparent);
}

.process-line li {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.7rem;
  min-height: 14rem;
  padding: 3.65rem 1.25rem 1.45rem;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 1.45rem;
  background: #f8f8fa;
}

.process-line li > span {
  position: absolute;
  left: 1.1rem;
  top: 0.42rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 0 0 0.45rem #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.process-line h3 { font-size: 1.28rem; }
.process-line p { color: var(--muted); font-size: 0.88rem; line-height: 1.55; }

.clarity-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1rem;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 1.25rem;
  overflow: hidden;
  background: #fff;
}

.clarity-strip span {
  display: grid;
  gap: 0.28rem;
  padding: 1rem 1.15rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.clarity-strip span + span { border-left: 1px solid var(--line); }
.clarity-strip strong { color: var(--text); font-size: 0.84rem; }

/* Founder and choice chapters */

.page-home--flow .founder-section--flow {
  padding: clamp(5rem, 9vw, 8rem) 0;
  background: #f5f5f7;
}

.founder-section--flow .founder-card {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: end;
  min-height: 34rem;
  padding: clamp(2.2rem, 6vw, 5.4rem);
  background:
    radial-gradient(42rem 28rem at 100% 0%, rgba(1, 111, 208, 0.14), transparent 68%),
    linear-gradient(145deg, #fff, #f1f6fb);
}

.founder-section--flow .founder-card h2 {
  max-width: 13ch;
}

.founder-section--flow .founder-card h3 {
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
}

.page-home--flow .starting-section--flow {
  padding: clamp(7rem, 11vw, 10rem) 0;
  background: #fff;
}

.starting-section--flow .sec-head h2 {
  max-width: 15ch;
}

.starting-section--flow .starting-card {
  min-height: 25rem;
  transition: transform 360ms var(--flow-ease), box-shadow 360ms var(--flow-ease), border-color 360ms var(--flow-ease);
}

.starting-section--flow .starting-card:hover {
  transform: translateY(-0.4rem);
  border-color: rgba(1, 111, 208, 0.18);
  box-shadow: 0 30px 70px rgba(27, 31, 41, 0.12);
}

/* FAQ and closing */

.page-home--flow .faq-section--flow {
  padding: clamp(6rem, 10vw, 9rem) 0;
  background: #f5f5f7;
}

.faq-section--flow .sec-head h2 { max-width: 14ch; }

.faq-section--flow .faq-grid {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.faq-section--flow details {
  border-radius: 1.1rem;
  transition: background 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.faq-section--flow details[open] {
  border-color: rgba(1, 111, 208, 0.18);
  background: #fff;
  box-shadow: 0 18px 50px rgba(27, 31, 41, 0.07);
}

.page-home--flow .final--flow {
  padding: 0 0 clamp(4rem, 8vw, 7rem);
  background: #f5f5f7;
}

.final--flow .shell {
  position: relative;
  display: grid;
  gap: 1.35rem;
  min-height: 68svh;
  align-content: center;
  justify-items: center;
  overflow: hidden;
  border-radius: clamp(2rem, 4vw, 3.5rem);
  color: #fff;
  background:
    radial-gradient(44rem 32rem at 50% 115%, rgba(1, 111, 208, 0.48), transparent 67%),
    #090b0f;
  box-shadow: 0 40px 100px rgba(15, 18, 24, 0.2);
}

.final--flow .shell::before,
.final--flow .shell::after {
  content: "";
  position: absolute;
  width: 30rem;
  height: 30rem;
  border: 1px solid rgba(102, 185, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.final--flow .shell::before { left: -16rem; top: -17rem; }
.final--flow .shell::after { right: -17rem; bottom: -18rem; }

.final--flow .shell > * { position: relative; z-index: 1; }
.final--flow .eyebrow { color: #69b9ff; }
.final--flow h2 { max-width: 14ch; }
.final--flow .lead { max-width: 42rem; color: #b8bec8; }

.final--flow .btn-ghost {
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.final--flow .btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

/* Desktop enhancements */

@media (min-width: 56.25rem) {
  .page-home--flow .site-nav { display: flex; }
  .page-home--flow .brand-sub { display: inline-flex; }

  .page-home--flow .hero-meta .dot { display: inline; }

  .journey-step:nth-child(2) .journey-step-card { transform-origin: 80% 50%; }
  .journey-step:nth-child(3) .journey-step-card { transform-origin: 50% 50%; }
  .journey-step:nth-child(4) .journey-step-card { transform-origin: 20% 50%; }
}

/* Tablet and mobile: linear story, no pinned chapter */

@media (max-width: 47.99rem) {
  :root { --flow-header: 3.65rem; }

  .page-home--flow h1 {
    font-size: clamp(3rem, 14.2vw, 4.25rem);
    line-height: 0.96;
    letter-spacing: -0.022em;
  }

  .page-home--flow h2 {
    font-size: clamp(2.35rem, 10.7vw, 3.35rem);
    line-height: 1;
    letter-spacing: -0.02em;
  }

  .page-home--flow .hero--flow {
    min-height: calc(100svh - var(--flow-header));
    padding: clamp(4.5rem, 12vh, 6.5rem) 0 6.5rem;
  }

  .hero--flow .hero-inner {
    gap: 1.2rem;
    transform: none;
    opacity: 1;
  }

  .page-home--flow .hero--flow h1 {
    max-width: 10.7ch;
  }

  .page-home--flow .hero--flow .hero-sub {
    max-width: 21rem;
    font-size: 1.05rem;
    line-height: 1.5;
  }

  .page-home--flow .hero--flow .btn-row {
    grid-template-columns: 1fr;
    max-width: 21rem;
  }

  .page-home--flow .hero--flow .hero-meta {
    width: min(100%, 22rem);
    padding: 1rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
  }

  .hero-orbit--one { width: 145vw; aspect-ratio: 1.25; }
  .hero-orbit--two { width: 112vw; aspect-ratio: 1.18; }
  .hero-orbit--three { width: 78vw; aspect-ratio: 1.12; }

  .scroll-cue span { display: none; }

  .js [data-reveal] {
    filter: none;
    transform: translateY(1rem);
    transition-duration: 580ms;
  }

  .journey-intro {
    min-height: auto;
    padding-block: 6rem 4rem;
    text-align: left;
    justify-items: start;
  }

  .journey-intro h2 { max-width: 10.5ch; }
  .journey-intro .lead { max-width: 21rem; }

  .journey-layout {
    display: block;
  }

  .journey-sticky { display: none; }

  .journey-steps {
    position: relative;
    gap: 0.8rem;
    padding: 0 0 3.5rem 1rem;
  }

  .journey-steps::before {
    content: "";
    position: absolute;
    left: 1.1rem;
    top: 1.5rem;
    bottom: 5rem;
    width: 1px;
    background: linear-gradient(180deg, #2d94ed, rgba(255, 255, 255, 0.12));
  }

  .journey-step {
    position: relative;
    min-height: 0;
    padding-left: 1.1rem;
  }

  .journey-step::before {
    content: "";
    position: absolute;
    left: -0.18rem;
    top: 1.65rem;
    z-index: 2;
    width: 0.48rem;
    height: 0.48rem;
    border: 2px solid #080a0e;
    border-radius: 50%;
    background: #5bb2ff;
    box-shadow: 0 0 0 1px rgba(91, 178, 255, 0.4);
  }

  .journey-step-card {
    gap: 0.7rem;
    padding: 1.25rem 1.15rem;
    border-radius: 1.2rem;
    box-shadow: none;
  }

  .js .journey-step-card,
  .js .journey-step.is-active .journey-step-card {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .journey-step h3 {
    max-width: 15ch;
    font-size: 1.7rem;
    line-height: 1.02;
  }

  .journey-step p {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .journey-step small {
    width: auto;
    margin-top: 0.2rem;
    border: 0;
    padding: 0;
    background: transparent;
    font-size: 0.68rem;
  }

  .journey-close {
    min-height: auto;
    padding-block: 4rem 6rem;
    text-align: left;
    justify-items: start;
  }

  .journey-close h2 { max-width: 10ch; }

  .page-home--flow .media-section--flow {
    padding: 6rem 0;
  }

  .media-chapter-head {
    margin-bottom: 2.5rem;
  }

  .media-chapter-head h2 { max-width: 10.5ch; }

  .media-flow-layout {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .media-visual {
    position: static;
    gap: 0.7rem;
  }

  .kit-figure--flow {
    transform: none;
    border-radius: 1.55rem;
  }

  .kit-figure--flow img {
    height: min(82vw, 20rem);
    aspect-ratio: 4 / 3.4;
  }

  .media-use-cases {
    justify-content: center;
  }

  .offer--flow {
    padding: 1.3rem;
    border-radius: 1.55rem;
  }

  .offer--flow .offer-head {
    gap: 1.2rem;
  }

  .offer--flow .offer-title h3 {
    font-size: 1.75rem;
  }

  .offer--flow .price {
    font-size: 3.5rem;
  }

  .offer-highlights {
    grid-template-columns: 1fr;
  }

  .offer-highlights li,
  .offer-highlights li:nth-child(odd),
  .offer-highlights li:nth-child(even) {
    padding: 0.8rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .offer-highlights li:last-child { border-bottom: 0; }

  .page-home--flow .gallery-section--flow {
    padding: 6rem 0 5rem;
  }

  .gallery-chapter-head {
    justify-items: start;
    text-align: left;
  }

  .gallery-chapter-head h2 { max-width: 10.5ch; }
  .gallery-chapter-head .concept-disclosure { text-align: left; }

  .gallery-stage {
    width: 100%;
    display: flex;
    gap: 0.8rem;
    margin-top: 2.75rem;
    padding: 0 7.5vw 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .gallery-stage::-webkit-scrollbar { display: none; }

  .gallery-panel,
  .gallery-panel--hero,
  .gallery-panel--portrait,
  .gallery-panel--detail,
  .gallery-panel--wide {
    flex: 0 0 84vw;
    min-height: 30rem;
    border-radius: 1.5rem;
    scroll-snap-align: center;
    box-shadow: 0 22px 55px rgba(27, 31, 41, 0.13);
  }

  .gallery-panel img { transform: scale(1.035); }
  .gallery-panel figcaption { left: 1.1rem; bottom: 1rem; }

  .page-home--flow .audit-section--flow {
    padding: 5rem 0;
  }

  .audit-stage {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    align-items: start;
    padding: 2rem 1.35rem;
    border-radius: 1.75rem;
  }

  .audit-stage h2 { max-width: 10.5ch; }
  .audit-stage .btn { width: 100%; }

  .page-home--flow .process-section--flow {
    padding: 6rem 0;
  }

  .process-section--flow .sec-head--center {
    text-align: left;
    justify-items: start;
  }

  .process-section--flow .sec-head h2 { max-width: 10ch; }

  .process-line {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    margin-top: 2.75rem;
    padding-left: 1rem;
  }

  .process-line::before {
    left: 1.15rem;
    right: auto;
    top: 1rem;
    bottom: 1rem;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, #2d94ed, rgba(1, 111, 208, 0.08));
  }

  .process-line li {
    min-height: 0;
    padding: 1.2rem 1rem 1.15rem 3.25rem;
  }

  .process-line li > span {
    left: -0.95rem;
    top: 1rem;
  }

  .clarity-strip {
    grid-template-columns: 1fr;
  }

  .clarity-strip span + span {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .page-home--flow .founder-section--flow {
    padding: 4.5rem 0;
  }

  .founder-section--flow .founder-card {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 2.5rem;
    padding: 2rem 1.35rem;
    border-radius: 1.7rem;
  }

  .founder-section--flow .founder-card h2 { max-width: 10.5ch; }

  .page-home--flow .starting-section--flow {
    padding: 6rem 0;
  }

  .starting-section--flow .sec-head--center {
    text-align: left;
    justify-items: start;
  }

  .starting-section--flow .sec-head h2 { max-width: 11ch; }

  .starting-section--flow .starting-card {
    min-height: 0;
  }

  .starting-section--flow .starting-card:hover {
    transform: none;
  }

  .page-home--flow .faq-section--flow {
    padding: 5rem 0 6rem;
  }

  .faq-section--flow .sec-head h2 { max-width: 11ch; }

  .page-home--flow .final--flow {
    padding: 0 0 max(3.5rem, calc(2rem + env(safe-area-inset-bottom)));
  }

  .final--flow .shell {
    min-height: 72svh;
    padding: 4.5rem 1.35rem;
    border-radius: 1.8rem;
  }

  .final--flow h2 { max-width: 10.5ch; }

  .final--flow .btn-row {
    display: grid;
    width: 100%;
    max-width: 22rem;
  }

  .final--flow .btn { width: 100%; }
}

@media (max-width: 23rem) {
  .page-home--flow h1 { font-size: 2.8rem; }
  .page-home--flow h2 { font-size: 2.2rem; }
  .gallery-panel,
  .gallery-panel--hero,
  .gallery-panel--portrait,
  .gallery-panel--detail,
  .gallery-panel--wide { flex-basis: 86vw; min-height: 27rem; }
}

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

  .hero--flow .hero-inner,
  .hero-atmosphere,
  .kit-figure--flow,
  .gallery-panel img {
    transform: none !important;
    opacity: 1 !important;
  }

  .js [data-reveal],
  .js [data-reveal].is-visible,
  .js .journey-step-card,
  .js .journey-step.is-active .journey-step-card {
    opacity: 1;
    filter: none;
    transform: none;
  }
}
