:root {
  --bg: #f6f1e7;
  --surface: rgba(255, 251, 244, 0.84);
  --surface-strong: rgba(255, 253, 249, 0.96);
  --text: #12315f;
  --muted: #5d6f8d;
  --line: rgba(18, 49, 95, 0.09);
  --blue: #1867d9;
  --blue-deep: #0f4ca9;
  --sky: #dcecff;
  --amber: #ffe4ab;
  --rose: #ffd8cb;
  --mint: #dff5e7;
  --shadow-xl: 0 36px 90px rgba(30, 67, 119, 0.16);
  --shadow-lg: 0 24px 60px rgba(30, 67, 119, 0.13);
  --shadow-md: 0 14px 34px rgba(30, 67, 119, 0.1);
  --radius-xl: 38px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --max-width: min(1230px, calc(100% - 2.5rem));
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Global Responsive Scaling Setup */
@media (min-width: 1440px) {
  :root {
    --max-width: 1360px;
  }
  .container {
    max-width: 1360px !important;
  }
}

@media (min-width: 1920px) {
  :root {
    --max-width: 1440px;
  }
  .container {
    max-width: 1440px !important;
  }
  html {
    zoom: 1.1;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.94), transparent 24%),
    radial-gradient(circle at 88% 16%, rgba(191, 225, 255, 0.42), transparent 28%),
    radial-gradient(circle at 82% 74%, rgba(255, 222, 171, 0.34), transparent 26%),
    linear-gradient(180deg, #fcf8f1 0%, #f7f1e6 50%, #f5ede0 100%);
  min-height: 100vh;
  overflow-x: clip;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: rgba(18, 49, 95, 0.08);
  z-index: 60;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #0e55bf 0%, #58a8ff 45%, #ffcf63 100%);
  box-shadow: 0 0 20px rgba(24, 103, 217, 0.35);
}

.page-aura {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(22px);
  z-index: -1;
  animation: aura-drift 18s ease-in-out infinite alternate;
}

.aura-a {
  top: 12%;
  left: -3rem;
  width: 14rem;
  height: 14rem;
  background: rgba(179, 219, 255, 0.42);
}

.aura-b {
  top: 40%;
  right: -5rem;
  width: 18rem;
  height: 18rem;
  background: rgba(255, 222, 171, 0.34);
  animation-duration: 22s;
}

.aura-c {
  bottom: 8%;
  left: 24%;
  width: 12rem;
  height: 12rem;
  background: rgba(255, 179, 151, 0.22);
  animation-duration: 20s;
}

.site-header,
.chapter-lead,
.final-section {
  width: var(--max-width);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 1rem;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.95rem 1.1rem;
  background: rgba(255, 251, 244, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(35, 69, 114, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 18px;
  overflow: hidden;
  padding: 0.26rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 26px rgba(24, 103, 217, 0.25);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12rem;
  line-height: 1.1;
  min-width: 0;
}

.brand-copy strong {
  display: block;
  width: 100%;
  font-size: 0.98rem;
  text-align: center;
}

.brand-copy small,
.site-nav {
  color: var(--muted);
}

.brand-copy small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.08rem;
  width: 100%;
  padding-left: 0;
  font-size: 0.76rem;
}

.brand-copy small img {
  display: block;
  width: auto;
  height: 1.6rem;
  max-width: none;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  font-size: 0.94rem;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 -0.32rem 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), transparent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms var(--ease-out);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.88rem 1.28rem;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  transition:
    transform 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out),
    background-color 220ms var(--ease-out);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue) 0%, #4aa1ff 100%);
  box-shadow: 0 16px 30px rgba(24, 103, 217, 0.28);
}

.btn-secondary,
.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(18, 49, 95, 0.08);
  box-shadow: 0 10px 20px rgba(35, 69, 114, 0.08);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-chapter {
  position: relative;
  height: 180svh;
  --section-progress: 0;
}

.hero-sticky {
  width: var(--max-width);
  min-height: 100svh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.82fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
  position: sticky;
  top: 0;
  padding: 4.5rem 0 2rem;
}

.hero-copy h1,
.chapter-lead h2,
.story-step h2,
.final-copy h2 {
  margin: 0;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

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

.hero-copy h1 {
  max-width: min(100%, 13ch);
  font-size: clamp(2.9rem, 5.2vw, 5rem);
  line-height: 0.92;
}

.hero-copy h1 span {
  display: block;
  white-space: nowrap;
}

.hero-lead,
.step-summary,
.memory-copy p,
.final-copy p {
  color: var(--muted);
}

.hero-lead {
  max-width: 32rem;
  margin: 1.4rem 0 0;
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.1rem;
  max-width: 41rem;
}

.metric-card {
  padding: 1.1rem 1rem;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
}

.metric-card strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1.55rem;
  color: var(--blue-deep);
  letter-spacing: -0.05em;
}

.metric-card span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.hero-visual {
  position: relative;
  justify-self: end;
  width: min(100%, 34rem);
  min-height: 40rem;
  min-width: 0;
  z-index: 1;
}

.hero-orb,
.hero-ring {
  position: absolute;
  pointer-events: none;
}

.hero-orb {
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 55%),
    linear-gradient(145deg, rgba(90, 167, 255, 0.5), rgba(255, 219, 163, 0.28));
  filter: blur(1px);
}

.orb-one {
  top: 1rem;
  right: 0.5rem;
  width: 15rem;
  height: 15rem;
}

.orb-two {
  bottom: 5rem;
  left: -1rem;
  width: 11rem;
  height: 11rem;
}

.hero-ring {
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
}

.ring-one {
  top: 2rem;
  right: 1.3rem;
  width: 18rem;
  height: 18rem;
}

.ring-two {
  bottom: 3rem;
  left: 0;
  width: 13rem;
  height: 13rem;
}

.poster,
.stage-card,
.memory-stage-card,
.snapshot,
.cta-media {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-xl);
  background: var(--surface-strong);
}

.poster img,
.stage-card img,
.memory-stage-card img,
.memory-quote-card img,
.cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-back img {
  object-position: center bottom;
}

.poster-main img {
  object-position: center center;
}

.poster-note img {
  object-position: center 28%;
}

.stage-main img {
  object-position: center center;
}

.stage-top img {
  object-position: center top;
}

.stage-bottom img {
  object-position: center center;
}

.poster {
  position: absolute;
  translate: 0 0;
  border-radius: 32px;
  will-change: transform, translate;
}

.poster-back {
  top: 1rem;
  left: -0.35rem;
  width: 16.5rem;
  height: 29rem;
  transform:
    translate3d(calc(var(--section-progress) * -64px), calc(var(--section-progress) * -54px), 0)
    rotate(calc(-11deg + var(--section-progress) * 8deg));
}

.poster-main {
  top: 4rem;
  right: 1.25rem;
  width: 18.25rem;
  height: 25.5rem;
  transform:
    translate3d(calc(var(--section-progress) * 14px), calc(18px - var(--section-progress) * 58px), 0)
    rotate(calc(8deg - var(--section-progress) * 10deg));
}

.poster-note {
  right: -0.5rem;
  bottom: -0.3rem;
  width: 9.5rem;
  height: 12.5rem;
  transform:
    translate3d(calc(var(--section-progress) * 28px), calc(var(--section-progress) * -30px), 0)
    rotate(calc(-7deg + var(--section-progress) * 5deg));
}

.hero-chip {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 0.8rem;
  max-width: 18rem;
  padding: 1rem 1.1rem;
  background: rgba(18, 49, 95, 0.9);
  color: #fff;
  border-radius: 24px;
  box-shadow: 0 24px 40px rgba(18, 49, 95, 0.24);
  transform: translateY(calc(10px - var(--section-progress) * 18px));
}

.hero-chip span {
  display: block;
  margin-bottom: 0.3rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.hero-chip strong {
  font-size: 1rem;
  line-height: 1.55;
}

.chapter-lead {
  padding: 1rem 0 2rem;
}

.chapter-lead h2 {
  max-width: 58rem;
  font-size: clamp(2rem, 4.1vw, 3.8rem);
  line-height: 1.05;
  color: var(--text);
}

.chapter-lead h2 span,
.memory-overlay-title span {
  display: block;
  white-space: nowrap;
}

.scrolly-section {
  width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.scrolly-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: 1.6rem;
  align-items: start;
}

.sticky-stage {
  position: sticky;
  top: 12vh;
  height: 78svh;
}

.visual-stage {
  position: relative;
  min-height: 78svh;
  padding: 1.2rem;
  border-radius: 40px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 237, 0.86)),
    linear-gradient(135deg, rgba(24, 103, 217, 0.05), rgba(255, 204, 95, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  isolation: isolate;
  transition:
    background 300ms var(--ease-out),
    box-shadow 300ms var(--ease-out);
}

.visual-stage[data-theme="sky"] {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(242, 248, 255, 0.88)),
    linear-gradient(135deg, rgba(24, 103, 217, 0.06), rgba(133, 193, 255, 0.14));
}

.visual-stage[data-theme="amber"] {
  background:
    linear-gradient(180deg, rgba(255, 253, 245, 0.94), rgba(255, 247, 221, 0.88)),
    linear-gradient(135deg, rgba(255, 205, 90, 0.08), rgba(255, 153, 80, 0.08));
}

.visual-stage[data-theme="rose"] {
  background:
    linear-gradient(180deg, rgba(255, 249, 247, 0.94), rgba(255, 238, 232, 0.9)),
    linear-gradient(135deg, rgba(255, 149, 107, 0.06), rgba(255, 207, 195, 0.14));
}

.visual-stage[data-theme="mint"] {
  background:
    linear-gradient(180deg, rgba(248, 255, 251, 0.94), rgba(232, 248, 238, 0.9)),
    linear-gradient(135deg, rgba(77, 178, 124, 0.05), rgba(202, 243, 220, 0.16));
}

.stage-glow {
  position: absolute;
  inset: auto auto 2rem 2rem;
  width: 11rem;
  height: 11rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 224, 164, 0.55), rgba(255, 224, 164, 0) 68%);
  filter: blur(6px);
  pointer-events: none;
}

.stage-card {
  position: absolute;
  translate: 0 0;
  border-radius: 30px;
  will-change: transform, translate;
  transition:
    transform 420ms var(--ease-out),
    translate 420ms var(--ease-out),
    opacity 320ms var(--ease-out),
    box-shadow 320ms var(--ease-out);
}

.stage-card img {
  transform: scale(var(--stage-image-scale, 1.07));
  transform-origin: center center;
  transition:
    opacity 260ms var(--ease-out),
    transform 520ms var(--ease-out),
    filter 260ms var(--ease-out);
}

.stage-card.is-swapping img {
  opacity: 0.1;
  transform: scale(calc(var(--stage-image-scale, 1.07) + 0.04));
  filter: saturate(0.92);
}

.stage-main {
  inset: 5rem 3rem 10rem 2rem;
  z-index: 2;
  --stage-image-scale: 1.01;
  transform: rotate(-4deg);
}

.stage-top {
  top: 1.2rem;
  right: 1.6rem;
  width: 9.35rem;
  height: 14rem;
  z-index: 3;
  --stage-image-scale: 1.06;
  transform: rotate(8deg);
}

.stage-bottom {
  left: 1.3rem;
  bottom: 1.4rem;
  width: 10rem;
  height: 13.55rem;
  z-index: 3;
  --stage-image-scale: 1.05;
  transform: rotate(-8deg);
}

.stage-caption {
  position: absolute;
  right: 1.4rem;
  bottom: 1.6rem;
  max-width: 14rem;
  padding: 1rem 1.1rem;
  background: rgba(18, 49, 95, 0.88);
  color: #fff;
  border-radius: 24px;
  box-shadow: 0 24px 42px rgba(18, 49, 95, 0.22);
  z-index: 4;
  transition:
    opacity 260ms var(--ease-out),
    transform 260ms var(--ease-out);
}

.stage-caption.is-swapping {
  opacity: 0.1;
  transform: translateY(10px);
}

.stage-kicker {
  margin: 0 0 0.25rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stage-caption h3 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.2;
}

.stage-caption p:last-child {
  margin: 0.55rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  line-height: 1.65;
}

.stage-caption.is-minimal .stage-kicker,
.stage-caption.is-minimal #stage-text {
  display: none;
}

.stage-caption.is-minimal h3 {
  font-size: 1.1rem;
  line-height: 1.35;
}

.stage-dots {
  position: absolute;
  inset: 1.2rem auto auto 1.2rem;
  display: inline-flex;
  gap: 0.45rem;
  z-index: 4;
}

.stage-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(18, 49, 95, 0.18);
  transition:
    transform 220ms var(--ease-out),
    background-color 220ms var(--ease-out),
    width 220ms var(--ease-out);
}

.stage-dot.is-active {
  width: 1.6rem;
  background: var(--blue);
}

.story-column {
  display: grid;
  gap: 0.9rem;
}

.story-step {
  min-height: 86svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 1rem 1.5rem 2rem;
  opacity: 0.35;
  transform: translateY(30px);
  transition:
    opacity 320ms ease,
    transform 320ms var(--ease-out);
}

.story-step.is-active {
  opacity: 1;
  transform: translateY(0);
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(145deg, var(--blue) 0%, #52a4ff 100%);
  box-shadow: 0 12px 24px rgba(24, 103, 217, 0.22);
  font-weight: 800;
}

.step-kicker {
  margin: 0 0 0.5rem;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-step h2 {
  max-width: 34rem;
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  line-height: 1.02;
}

.step-summary {
  max-width: 33rem;
  margin: 1.2rem 0 0;
  font-size: 1.02rem;
  line-height: 1.8;
}

.story-step ul {
  display: grid;
  gap: 0.65rem;
  max-width: 31rem;
  margin: 1.4rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.7;
}

.memory-chapter {
  position: relative;
  margin-top: 3rem;
  padding: 2rem 0 4rem;
}

.memory-sticky {
  width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
  padding: 0;
}

.memory-copy {
  position: relative;
  z-index: 1;
  max-width: none;
  text-align: right;
  display: grid;
  justify-items: end;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}

.memory-copy .eyebrow {
  margin-bottom: 0.6rem;
  color: var(--blue);
}

.memory-title {
  max-width: 52rem;
  margin: 0;
  font-size: clamp(2.1rem, 4.4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.memory-lead {
  max-width: 52rem;
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
}

.memory-outcomes {
  display: grid;
  gap: 2.6rem;
}

.memory-scrolly-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 1.6rem;
  align-items: start;
}

.memory-column {
  display: grid;
  gap: 0.9rem;
}

.memory-sticky-stage {
  position: sticky;
  top: 12vh;
  height: 78svh;
}

.memory-visual-stage {
  position: relative;
  min-height: 78svh;
  padding: 1.2rem;
  border-radius: 40px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 248, 237, 0.88)),
    linear-gradient(135deg, rgba(24, 103, 217, 0.05), rgba(255, 204, 95, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  isolation: isolate;
  transition:
    background 300ms var(--ease-out),
    box-shadow 300ms var(--ease-out);
}

.memory-visual-stage[data-memory-theme="amber"] {
  background:
    linear-gradient(180deg, rgba(255, 253, 245, 0.94), rgba(255, 247, 221, 0.88)),
    linear-gradient(135deg, rgba(255, 205, 90, 0.08), rgba(255, 153, 80, 0.08));
}

.memory-visual-stage[data-memory-theme="rose"] {
  background:
    linear-gradient(180deg, rgba(255, 249, 247, 0.94), rgba(255, 238, 232, 0.9)),
    linear-gradient(135deg, rgba(255, 149, 107, 0.06), rgba(255, 207, 195, 0.14));
}

.memory-visual-stage[data-memory-theme="mint"] {
  background:
    linear-gradient(180deg, rgba(248, 255, 251, 0.94), rgba(232, 248, 238, 0.9)),
    linear-gradient(135deg, rgba(77, 178, 124, 0.05), rgba(202, 243, 220, 0.16));
}

.memory-visual-stage[data-memory-theme="sky"] {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(242, 248, 255, 0.88)),
    linear-gradient(135deg, rgba(24, 103, 217, 0.06), rgba(133, 193, 255, 0.14));
}

.memory-stage-glow {
  position: absolute;
  inset: auto 2rem 2rem auto;
  width: 11rem;
  height: 11rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 224, 164, 0.55), rgba(255, 224, 164, 0) 68%);
  filter: blur(6px);
  pointer-events: none;
}

.memory-stage-card {
  position: absolute;
  translate: 0 0;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 24px 42px rgba(18, 49, 95, 0.16);
  will-change: transform, translate;
  transition:
    transform 420ms var(--ease-out),
    translate 420ms var(--ease-out),
    opacity 320ms var(--ease-out),
    box-shadow 320ms var(--ease-out);
}

.memory-stage-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(var(--memory-stage-image-scale, 1.07));
  transform-origin: center center;
  transition:
    opacity 260ms var(--ease-out),
    transform 520ms var(--ease-out),
    filter 260ms var(--ease-out);
}

.memory-stage-card.is-swapping img {
  opacity: 0.1;
  transform: scale(calc(var(--memory-stage-image-scale, 1.07) + 0.04));
  filter: saturate(0.92);
}

.memory-stage-main {
  inset: 5rem 2rem 10rem 3rem;
  z-index: 2;
  --memory-stage-image-scale: 1.01;
  transform: rotate(4deg);
}

.memory-stage-top {
  top: 1.2rem;
  left: 1.6rem;
  width: 9.35rem;
  height: 14rem;
  z-index: 3;
  --memory-stage-image-scale: 1.06;
  transform: rotate(-8deg);
}

.memory-stage-bottom {
  right: 1.3rem;
  bottom: 1.4rem;
  width: 10rem;
  height: 13.55rem;
  z-index: 3;
  --memory-stage-image-scale: 1.05;
  transform: rotate(8deg);
}

.memory-stage-caption {
  position: absolute;
  left: 1.4rem;
  bottom: 1.6rem;
  max-width: 14rem;
  padding: 1rem 1.1rem;
  background: rgba(18, 49, 95, 0.88);
  color: #fff;
  border-radius: 24px;
  box-shadow: 0 24px 42px rgba(18, 49, 95, 0.22);
  z-index: 4;
  transition:
    opacity 260ms var(--ease-out),
    transform 260ms var(--ease-out);
}

.memory-stage-caption.is-swapping {
  opacity: 0.1;
  transform: translateY(10px);
}

.memory-stage-kicker {
  margin: 0 0 0.25rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.memory-stage-caption h3 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.2;
}

.memory-stage-kicker,
.memory-stage-caption h3 {
  display: none;
}

.memory-stage-caption p:last-child {
  margin: 0;
  color: #fff;
  font-size: 1.18rem;
  line-height: 1.28;
  font-weight: 700;
}

.memory-stage-dots {
  position: absolute;
  inset: 1.2rem 1.2rem auto auto;
  display: inline-flex;
  gap: 0.45rem;
  z-index: 4;
}

.memory-stage-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(18, 49, 95, 0.18);
  transition:
    transform 220ms var(--ease-out),
    background-color 220ms var(--ease-out),
    width 220ms var(--ease-out);
}

.memory-stage-dot.is-active {
  width: 1.6rem;
  background: var(--blue);
}

.memory-step {
  min-height: 86svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 2rem 1.5rem 1rem;
  opacity: 0.35;
  transform: translateY(30px);
  transition:
    opacity 320ms ease,
    transform 320ms var(--ease-out);
  scroll-margin-top: 8rem;
}

.memory-step.is-active {
  opacity: 1;
  transform: translateY(0);
}

.memory-step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(145deg, var(--blue) 0%, #52a4ff 100%);
  box-shadow: 0 12px 24px rgba(24, 103, 217, 0.22);
  font-weight: 800;
}

.memory-step-kicker {
  margin: 0 0 0.5rem;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.memory-step-parent .memory-step-kicker {
  color: #2f6bbf;
}

.memory-cluster {
  max-width: 36rem;
  margin-top: 1.3rem;
}

.memory-cluster:first-of-type {
  margin-top: 1.15rem;
}

.memory-cluster h3 {
  max-width: 36rem;
  margin: 0 0 0.9rem;
  color: var(--text);
  font-size: clamp(1.9rem, 3.1vw, 3.15rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-transform: none;
}

.memory-step ul {
  display: grid;
  gap: 0.6rem;
  max-width: 31rem;
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.7;
}

.memory-cluster p {
  margin: 0;
  max-width: 31rem;
  color: var(--muted);
  line-height: 1.75;
}

.memory-sky-strip {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 24rem;
  margin: 0;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-xl);
}

.memory-sky-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(247, 240, 225, 0.08) 0%, rgba(247, 240, 225, 0.14) 100%);
  pointer-events: none;
}

.memory-sky-strip img {
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.memory-overlay-title {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  margin: 0;
  width: calc(100% - 3rem);
  max-width: 68rem;
  color: var(--text);
  font-size: clamp(1.75rem, 3.45vw, 3.45rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  text-align: center;
  transform: translate(-50%, -50%);
}

.final-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 1.4rem;
  align-items: start;
  padding: 4rem 0 5rem;
}

.final-copy h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.04;
}

.final-copy p {
  margin: 1.2rem 0 0;
  line-height: 1.8;
  font-size: 1.02rem;
}

.final-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.final-badges span {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 22px rgba(35, 69, 114, 0.08);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.cta-card {
  padding: 1rem;
  background: rgba(255, 252, 246, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 34px;
  box-shadow: var(--shadow-xl);
}

.cta-media {
  height: 14rem;
  border-radius: 24px;
}

.cta-media img {
  object-position: center center;
}

.consult-form {
  margin-top: 1rem;
}

.form-hint {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.5;
}

.form-hint span,
.consult-form em {
  color: #ef7f2d;
  font-style: normal;
  font-weight: 700;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.consult-form label {
  display: grid;
  gap: 0.45rem;
}

.consult-form span {
  font-size: 0.88rem;
  font-weight: 600;
}

.consult-form input,
.consult-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(18, 49, 95, 0.11);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.consult-form input:focus,
.consult-form textarea:focus {
  border-color: rgba(74, 161, 255, 0.72);
  box-shadow: 0 0 0 4px rgba(74, 161, 255, 0.16);
  transform: translateY(-1px);
}

.consult-form textarea {
  min-height: 7rem;
  resize: vertical;
}

.full-width {
  margin-top: 0.95rem;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.form-note {
  min-height: 1.25rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.floating-cta {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 45;
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 9rem;
  min-height: 3.2rem;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue) 0%, #4aa1ff 100%);
  box-shadow: 0 20px 34px rgba(24, 103, 217, 0.3);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 720ms var(--ease-out),
    transform 720ms var(--ease-out);
  transition-delay: calc(var(--delay, 0) * 1ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.float-soft {
  animation: float-soft 8s ease-in-out infinite;
}

.float-slower {
  animation: float-soft 11s ease-in-out infinite;
}

.float-reverse {
  animation: float-reverse 9s ease-in-out infinite;
}

@keyframes float-soft {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -12px;
  }
}

@keyframes float-reverse {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 10px;
  }
}

@keyframes aura-drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(1.2rem, -1rem, 0) scale(1.12);
  }
}

@media (hover: hover) {
  .poster:hover,
  .stage-card:hover,
  .snapshot:hover,
  .cta-media:hover,
  .metric-card:hover {
    box-shadow: 0 30px 68px rgba(30, 67, 119, 0.18);
  }
}

@media (max-width: 1100px) {
  .hero-sticky,
  .memory-scrolly-shell,
  .scrolly-shell,
  .final-section {
    grid-template-columns: 1fr;
  }

  .hero-sticky {
    padding-top: 4.8rem;
  }

  .hero-visual {
    width: min(100%, 38rem);
    min-height: 39rem;
    justify-self: center;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sticky-stage {
    position: relative;
    top: auto;
    height: auto;
  }

  .visual-stage,
  .memory-visual-stage {
    min-height: 42rem;
  }

  .story-step,
  .memory-step {
    min-height: auto;
    padding: 2rem 0 1rem;
    opacity: 1;
    transform: none;
  }

  .memory-sticky-stage {
    position: relative;
    top: auto;
    height: auto;
    order: -1;
  }
}

@media (min-width: 1101px) {
  .site-header {
    padding: 1rem 1.25rem;
  }

  .hero-sticky {
    grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.88fr);
    gap: clamp(2.4rem, 4.2vw, 5rem);
  }

  .hero-copy {
    max-width: 43rem;
  }

  .hero-lead {
    max-width: 35rem;
  }

  .hero-metrics {
    max-width: 44.5rem;
  }

  .chapter-lead {
    padding: 1.2rem 0 2.8rem;
  }

  .chapter-lead h2 {
    max-width: 65rem;
    font-size: clamp(2.15rem, 3.95vw, 4.05rem);
  }

  .scrolly-section {
    padding: 2.2rem 0 4.8rem;
  }

  .scrolly-shell {
    grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
    gap: 2rem;
  }

  .story-step h2 {
    max-width: 38rem;
    font-size: clamp(2.05rem, 3.15vw, 3.45rem);
  }

  .step-summary {
    max-width: 36rem;
  }

  .story-step ul {
    max-width: 34rem;
  }

  .memory-chapter {
    margin-top: 3.6rem;
  }

  .memory-sticky {
    gap: 1.8rem;
  }

  .memory-copy {
    margin-bottom: 1.8rem;
  }

  .memory-title {
    max-width: 58rem;
    font-size: clamp(2.2rem, 4.05vw, 4.15rem);
  }

  .memory-lead {
    max-width: 56rem;
  }

  .memory-outcomes {
    gap: 3rem;
  }

  .memory-scrolly-shell {
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
    gap: 2rem;
  }

  .memory-cluster {
    max-width: 39rem;
  }

  .memory-cluster h3 {
    max-width: 39rem;
  }

  .memory-step ul,
  .memory-cluster p {
    max-width: 34rem;
  }

  .final-section {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 1.8rem;
    padding: 4.4rem 0 5.4rem;
  }

  .final-copy h2 {
    font-size: clamp(2.1rem, 3.75vw, 3.8rem);
  }

  .final-copy p {
    max-width: 35rem;
  }
}

@media (max-width: 820px) {
  .site-nav,
  .site-header .btn-ghost {
    display: none;
  }

  .site-header {
    position: relative;
    top: auto;
    z-index: 5;
    border-radius: 26px;
  }

  .hero-chapter,
  .memory-chapter {
    height: auto;
  }

  .hero-sticky,
  .memory-sticky {
    position: relative;
    min-height: auto;
  }

  .hero-sticky,
  .chapter-lead,
  .scrolly-section,
  .final-section,
  .memory-sticky,
  .site-header {
    width: min(100% - 1rem, 40rem);
  }

  .hero-copy h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .hero-copy h1 span {
    white-space: normal;
  }

  .hero-metrics,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 34rem;
  }

  .poster-back {
    width: 14rem;
    height: 25rem;
  }

  .poster-main {
    width: 15rem;
    height: 22rem;
  }

  .poster-note {
    width: 9rem;
    height: 12rem;
  }

  .chapter-lead h2,
  .story-step h2,
  .memory-title,
  .final-copy h2 {
    font-size: clamp(1.9rem, 8vw, 3rem);
  }

  .chapter-lead h2 span,
  .memory-overlay-title span {
    white-space: normal;
  }

  .scrolly-shell,
  .memory-scrolly-shell {
    gap: 0.95rem;
  }

  .sticky-stage,
  .memory-sticky-stage {
    position: sticky;
    top: 0.9rem;
    height: clamp(18.5rem, 46svh, 24rem);
    z-index: 8;
  }

  .visual-stage,
  .memory-visual-stage {
    min-height: clamp(18.5rem, 46svh, 24rem);
    border-radius: 28px;
    padding: 0.9rem;
  }

  .stage-main {
    inset: 2.95rem 0.95rem 6.25rem 0.95rem;
    transform: rotate(-2deg);
  }

  .stage-top {
    top: 0.8rem;
    right: 0.32rem;
    width: 6.35rem;
    height: 8.5rem;
    transform: rotate(5deg);
  }

  .stage-bottom {
    left: 0.3rem;
    bottom: 0.76rem;
    width: 5.65rem;
    height: 5.85rem;
    transform: rotate(-4deg);
  }

  .stage-caption {
    right: 0.85rem;
    left: auto;
    bottom: 0.85rem;
    width: min(14.2rem, calc(100% - 6.95rem));
    padding: 0.62rem 0.72rem;
    border-radius: 18px;
    background: rgba(18, 49, 95, 0.82);
    box-shadow: 0 14px 24px rgba(18, 49, 95, 0.18);
  }

  .stage-kicker,
  #stage-text {
    display: none;
  }

  .stage-caption h3 {
    font-size: clamp(0.92rem, 3.65vw, 1.03rem);
    line-height: 1.28;
  }

  .stage-caption p:last-child {
    font-size: 0.82rem;
    line-height: 1.55;
  }

  .stage-dots {
    inset: 0.9rem auto auto 0.9rem;
  }

  .memory-stage-main {
    inset: 2.95rem 0.95rem 6.25rem 0.95rem;
    transform: rotate(2deg);
  }

  .memory-stage-top {
    top: 0.8rem;
    left: 0.32rem;
    width: 6.35rem;
    height: 8.5rem;
    transform: rotate(-5deg);
  }

  .memory-stage-bottom {
    right: 0.3rem;
    bottom: 0.76rem;
    width: 5.65rem;
    height: 5.85rem;
    transform: rotate(4deg);
  }

  .memory-stage-caption {
    left: 0.85rem;
    right: auto;
    bottom: 0.85rem;
    width: min(14.2rem, calc(100% - 6.95rem));
    padding: 0.62rem 0.72rem;
    border-radius: 18px;
    background: rgba(18, 49, 95, 0.82);
    box-shadow: 0 14px 24px rgba(18, 49, 95, 0.18);
  }

  .memory-stage-kicker,
  .memory-stage-caption h3 {
    display: none;
  }

  .memory-stage-caption p:last-child {
    margin: 0;
    font-size: clamp(0.92rem, 3.65vw, 1.01rem);
    line-height: 1.38;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.94);
  }

  .memory-stage-dots {
    inset: 0.9rem 0.9rem auto auto;
  }

  .story-column,
  .memory-column {
    gap: 0.25rem;
  }

  .story-step {
    min-height: clamp(23rem, 68svh, 32rem);
    padding: 1.6rem 0.15rem 1.2rem;
    opacity: 0.24;
    transform: translateY(20px);
  }

  .story-step.is-active {
    opacity: 1;
    transform: none;
  }

  .memory-step {
    min-height: clamp(26rem, 78svh, 38rem);
    padding: 1.8rem 0.15rem 1.2rem;
    opacity: 0.24;
    transform: translateY(20px);
  }

  .memory-step.is-active {
    opacity: 1;
    transform: none;
  }

  .form-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .floating-cta {
    display: inline-flex;
  }
}

@media (max-width: 560px) {
  .hero-visual {
    min-height: 31rem;
  }

  .poster,
  .stage-card,
  .memory-stage-card,
  .snapshot,
  .cta-media,
  .cta-card,
  .visual-stage,
  .memory-visual-stage {
    border-radius: 24px;
  }

  .poster-back {
    width: 12rem;
    height: 22rem;
  }

  .poster-main {
    top: 3.4rem;
    width: 13.5rem;
    height: 20rem;
  }

  .poster-note {
    width: 7.7rem;
    height: 10.5rem;
  }

  .hero-chip {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.5rem;
    max-width: none;
  }

  .hero-chip span {
    white-space: normal;
  }

  .stage-main {
    inset: 2.55rem 0.7rem 5.3rem 0.7rem;
  }

  .stage-top {
    right: 0.2rem;
    width: 5.6rem;
    height: 7.45rem;
  }

  .stage-bottom {
    left: 0.18rem;
    bottom: 0.58rem;
    width: 4.85rem;
    height: 5.05rem;
  }

  .story-step {
    min-height: clamp(22rem, 64svh, 29rem);
    padding-left: 0.2rem;
  }

  .memory-sky-strip {
    height: 13rem;
  }

  .sticky-stage,
  .memory-sticky-stage {
    top: 0.7rem;
    height: clamp(17rem, 44svh, 21rem);
  }

  .memory-stage-main {
    inset: 2.55rem 0.7rem 5.3rem 0.7rem;
  }

  .memory-stage-top {
    left: 0.2rem;
    width: 5.6rem;
    height: 7.45rem;
  }

  .memory-stage-bottom {
    right: 0.18rem;
    bottom: 0.58rem;
    width: 4.85rem;
    height: 5.05rem;
  }

  .memory-step {
    min-height: clamp(25rem, 74svh, 35rem);
    padding-left: 0.2rem;
  }

  .visual-stage,
  .memory-visual-stage {
    min-height: clamp(17rem, 44svh, 21rem);
    padding: 0.75rem;
  }

  .stage-caption,
  .memory-stage-caption {
    bottom: 0.65rem;
    padding: 0.62rem 0.72rem;
  }

  .stage-caption {
    right: 0.7rem;
    left: auto;
    width: min(13.5rem, calc(100% - 5.45rem));
  }

  .memory-stage-caption {
    left: 0.7rem;
    right: auto;
    width: min(13.5rem, calc(100% - 5.45rem));
  }

  .stage-caption h3,
  .memory-stage-caption p:last-child {
    font-size: 0.88rem;
  }

  .stage-caption p:last-child,
  #stage-text {
    font-size: 0.78rem;
    line-height: 1.5;
  }

  .memory-overlay-title {
    top: 50%;
    left: 50%;
    width: calc(100% - 1.8rem);
    font-size: clamp(1.7rem, 8vw, 2.5rem);
    line-height: 1.02;
    transform: translate(-50%, -50%);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }

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

/* Thank You Popup */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(18, 49, 95, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.popup-box {
  position: relative;
  background: transparent;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  border-radius: 24px;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.popup-overlay.is-active .popup-box {
  transform: scale(1) translateY(0);
}

.popup-close {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: none;
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 10;
  transition: transform 0.2s ease, background 0.2s ease;
}

.popup-close:hover {
  transform: scale(1.1);
  background: var(--rose);
}

.popup-image {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: var(--shadow-xl);
  display: block;
}

@media (max-width: 768px) {
  .popup-close {
    top: -10px;
    right: -10px;
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
}
