:root {
  --apricot: #FFB36B;
  --peach: #FFE1C8;
  --persimmon: #F26A3D;
  --cream: #FFF4D8;
  --leaf: #7D9B6D;
  --rose: #D98AA5;
  --plum: #2A1830;
  --halo: #FFF9EC;
  --mx: 50vw;
  --my: 45vh;
  --seam-flex: 0px;
  --light-angle: 38deg;
  --scroll-glow: 0;
  color: var(--plum);
  background: var(--peach);
  font-family: "Nunito Sans", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(255, 249, 236, 0.9), transparent 22vw),
    radial-gradient(circle at 12% 18%, rgba(217, 138, 165, 0.42), transparent 34vw),
    linear-gradient(135deg, var(--peach), var(--cream) 44%, rgba(255, 179, 107, 0.7));
}

.filters { position: absolute; pointer-events: none; }

.projector-blackout {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  background: var(--peach);
  animation: projectorWake 2.4s cubic-bezier(.18,.78,.2,1) forwards;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 12;
  pointer-events: none;
  opacity: 0.14;
  mix-blend-mode: soft-light;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(42, 24, 48, 0.24) 0 1px, transparent 1.5px),
    radial-gradient(circle at 70% 60%, rgba(255, 249, 236, 0.35) 0 1px, transparent 1.7px);
  background-size: 13px 17px, 19px 23px;
}

.lens-field {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.flare {
  position: absolute;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  filter: blur(3px);
  opacity: 0.76;
}

.flare-one {
  left: calc(var(--mx) - 6vw);
  top: calc(var(--my) - 4vh);
  width: 42vw;
  height: 18vw;
  background: radial-gradient(ellipse, rgba(255, 249, 236, 0.72), rgba(255, 179, 107, 0.26) 38%, transparent 68%);
  mix-blend-mode: screen;
}

.flare-two {
  left: calc(var(--mx) + 18vw);
  top: calc(var(--my) + 8vh);
  width: 18vw;
  height: 9vw;
  background: radial-gradient(ellipse, rgba(242, 106, 61, 0.42), transparent 70%);
  mix-blend-mode: screen;
}

.flare-ring {
  left: calc(var(--mx) + 3vw);
  top: calc(var(--my) + 2vh);
  width: 24vw;
  height: 24vw;
  border: 1.4vw solid rgba(255, 249, 236, 0.22);
  box-shadow: inset 0 0 44px rgba(217, 138, 165, 0.24), 0 0 60px rgba(255, 179, 107, 0.22);
}

.aperture {
  left: calc(var(--mx) - 20vw);
  top: calc(var(--my) + 19vh);
  width: 8vw;
  height: 8vw;
  background: conic-gradient(from 20deg, transparent, rgba(255, 249, 236, 0.46), transparent, rgba(242, 106, 61, 0.22), transparent);
  clip-path: polygon(50% 0, 91% 25%, 91% 75%, 50% 100%, 9% 75%, 9% 25%);
}

.experience {
  position: relative;
  z-index: 5;
}

.scene {
  min-height: 100vh;
  position: relative;
}

.split-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) 56px minmax(0, 0.94fr);
  overflow: hidden;
  isolation: isolate;
}

.pane {
  position: relative;
  min-height: 100vh;
  padding: clamp(28px, 5vw, 74px);
  opacity: 0;
  transform: scale(0.94) translateY(36px);
  animation: inflatePane 1.45s cubic-bezier(.16,1.25,.34,1) forwards;
}

.pane-left {
  animation-delay: .58s;
  background:
    radial-gradient(circle at 35% 45%, rgba(255, 249, 236, 0.82), transparent 28%),
    radial-gradient(circle at 80% 12%, rgba(125, 155, 109, 0.26), transparent 24%),
    linear-gradient(145deg, rgba(255, 225, 200, 0.96), rgba(255, 244, 216, 0.74));
}

.pane-right {
  animation-delay: .76s;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 179, 107, 0.36), transparent 34%),
    linear-gradient(156deg, rgba(217, 138, 165, 0.44), rgba(42, 24, 48, 0.9));
  color: var(--halo);
}

.botanical-room {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 0 11vw 11vw 0;
  box-shadow: inset -34px 0 64px rgba(255, 249, 236, 0.36), inset -8px 0 0 rgba(255, 249, 236, 0.18);
}

.room-glow {
  position: absolute;
  width: 46vw;
  height: 46vw;
  border-radius: 48% 52% 44% 56%;
  left: 8%;
  top: 20%;
  background: radial-gradient(circle, rgba(255, 249, 236, 0.9), rgba(255, 179, 107, 0.28) 42%, transparent 70%);
  filter: blur(4px);
  animation: breathe 6s ease-in-out infinite;
}

.floating-label,
.strip-title,
.kicker {
  font-family: "Instrument Sans", "Nunito Sans", system-ui, sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: clamp(10px, 1vw, 13px);
  font-weight: 650;
}

.floating-label {
  position: relative;
  width: fit-content;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 249, 236, 0.52);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 16px 36px rgba(242, 106, 61, 0.14);
}

.wordmark {
  position: relative;
  margin: 22px 0 8px;
  font-family: "Instrument Sans", "Nunito Sans", system-ui, sans-serif;
  font-size: clamp(64px, 11vw, 158px);
  letter-spacing: -0.08em;
  line-height: .82;
  color: var(--plum);
  text-shadow:
    0 2px 0 rgba(255, 249, 236, 0.72),
    0 18px 36px rgba(242, 106, 61, 0.2),
    -16px -14px 42px rgba(255, 249, 236, 0.48);
  transform: translateZ(0);
}

.wordmark span { color: var(--persimmon); }

.hero-copy {
  position: relative;
  max-width: 620px;
  margin: 0 0 28px;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.36;
  color: rgba(42, 24, 48, 0.78);
}

.seed-lens {
  position: relative;
  width: min(430px, 82vw);
  aspect-ratio: 1.55;
  margin: 10px 0 24px 5vw;
  border-radius: 44% 56% 52% 48% / 58% 43% 57% 42%;
  background: linear-gradient(var(--light-angle), rgba(255,249,236,.66), rgba(255,179,107,.32), rgba(217,138,165,.22));
  box-shadow: inset 14px 16px 28px rgba(255, 249, 236, 0.72), inset -18px -20px 34px rgba(242, 106, 61, 0.18), 0 32px 80px rgba(125, 155, 109, 0.26);
  animation: seedFloat 7s ease-in-out infinite;
}

.lens-core {
  position: absolute;
  inset: 12%;
  border-radius: inherit;
  overflow: hidden;
  background:
    radial-gradient(circle at 55% 43%, rgba(255, 249, 236, 0.9), transparent 12%),
    radial-gradient(circle at 66% 60%, rgba(242, 106, 61, 0.42), transparent 25%),
    linear-gradient(128deg, rgba(125, 155, 109, 0.36), rgba(255, 244, 216, 0.42));
  filter: url(#soft-glass);
}

.play-puff {
  position: absolute;
  width: 82px;
  height: 72px;
  left: 46%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--halo);
  clip-path: polygon(24% 10%, 88% 50%, 24% 90%);
  filter: drop-shadow(0 12px 22px rgba(42,24,48,.16));
}

.petal-shadow {
  position: absolute;
  border-radius: 80% 18% 80% 18%;
  background: rgba(125, 155, 109, 0.28);
  filter: blur(1px);
  animation: petalDrift 9s ease-in-out infinite;
}

.petal-a { width: 90px; height: 140px; left: 8%; top: 12%; transform: rotate(22deg); }
.petal-b { width: 70px; height: 120px; right: 15%; top: 18%; transform: rotate(-38deg); animation-delay: -2s; }
.petal-c { width: 110px; height: 80px; left: 38%; bottom: 4%; transform: rotate(8deg); animation-delay: -4s; }

.subtitle-pill,
.timestamp-cloud,
.pod-caption,
.closing-word {
  font-family: "Fraunces", "Georgia", serif;
  font-style: italic;
}

.subtitle-pill {
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  width: max-content;
  max-width: 90%;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 244, 216, 0.74);
  color: var(--plum);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 18px 30px rgba(42,24,48,.12);
}

.diegetic-action {
  position: relative;
  width: fit-content;
  border: 0;
  border-radius: 999px;
  padding: 16px 25px;
  color: var(--plum);
  background: linear-gradient(135deg, var(--halo), var(--apricot));
  box-shadow: inset 0 2px 0 rgba(255,255,255,.8), inset 0 -12px 22px rgba(242,106,61,.18), 0 18px 44px rgba(242,106,61,.2);
  font: 750 14px/1 "Instrument Sans", "Nunito Sans", system-ui, sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .45s cubic-bezier(.16,1.4,.35,1), box-shadow .45s ease;
}

.diegetic-action:hover,
.diegetic-action.bloomed {
  transform: translateY(-4px) scale(1.045);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.9), inset 0 -14px 24px rgba(242,106,61,.22), 0 25px 58px rgba(242,106,61,.3);
}

.diegetic-action.small { padding: 14px 20px; }

.seam-wrap {
  position: relative;
  z-index: 4;
  filter: url(#gooey-seam);
  pointer-events: none;
}

.tube-vine {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  transform: translateX(var(--seam-flex));
}

.tube-vine::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -8vh;
  width: 42px;
  height: 116vh;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--leaf), var(--apricot) 38%, var(--rose) 68%, var(--persimmon));
  box-shadow: inset 12px 0 18px rgba(255,249,236,.5), inset -12px 0 20px rgba(42,24,48,.16), 0 0 42px rgba(255,179,107,.34);
  animation: seamBreathe 5.6s ease-in-out infinite;
}

.seam-node {
  position: absolute;
  left: 50%;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 30% 25%, var(--halo), var(--apricot) 52%, var(--rose));
  box-shadow: inset 10px 9px 18px rgba(255,255,255,.62), inset -12px -12px 22px rgba(42,24,48,.12);
}

.node-one { top: 21%; }
.node-two { top: 52%; width: 110px; height: 110px; }
.node-three { top: 81%; width: 70px; height: 70px; }

.memory-strip {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  border-radius: 10vw 0 0 10vw;
  box-shadow: inset 32px 0 60px rgba(255, 249, 236, 0.08);
}

.strip-title { opacity: .76; margin-left: 10%; }

.memory-capsule {
  position: relative;
  width: min(380px, 78%);
  margin-left: clamp(20px, 11vw, 140px);
  padding: 12px;
  border-radius: 42px;
  background: rgba(255, 244, 216, 0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24), 0 18px 52px rgba(42,24,48,.22);
  backdrop-filter: blur(14px);
  transform: translateX(24px) scale(.98);
  transition: transform .7s cubic-bezier(.16,1.25,.36,1), background .7s ease;
}

.memory-capsule:nth-of-type(even) { margin-left: clamp(6px, 5vw, 70px); }

.memory-capsule.active,
.memory-capsule:hover {
  transform: translateX(-8px) scale(1.04);
  background: rgba(255, 244, 216, 0.25);
}

.capsule-video {
  height: clamp(86px, 14vh, 138px);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: inset 0 16px 20px rgba(255,255,255,.18), inset 0 -22px 24px rgba(42,24,48,.12);
}

.petal-video { background: radial-gradient(ellipse at 40% 25%, var(--halo), transparent 18%), linear-gradient(135deg, rgba(125,155,109,.58), rgba(255,179,107,.68)); }
.curtain-video { background: repeating-linear-gradient(95deg, rgba(255,249,236,.36) 0 13px, transparent 13px 30px), linear-gradient(135deg, var(--rose), rgba(255,225,200,.7)); }
.flare-video { background: radial-gradient(circle at 72% 45%, var(--halo), var(--apricot) 16%, transparent 34%), linear-gradient(135deg, var(--persimmon), var(--plum)); }
.horizon-video { background: linear-gradient(178deg, rgba(255,244,216,.88) 0 42%, rgba(242,106,61,.5) 43% 46%, rgba(42,24,48,.72) 47%); }

.memory-capsule p {
  margin: 10px 8px 4px;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: lowercase;
}

.timestamp-cloud {
  align-self: center;
  margin-top: 12px;
  padding: 13px 20px;
  border-radius: 999px;
  background: rgba(255, 249, 236, 0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24);
}

.chapter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 6vw, 90px);
  padding: clamp(70px, 9vw, 130px) clamp(26px, 7vw, 108px);
  overflow: hidden;
}

.chapter::before {
  content: "";
  position: absolute;
  inset: 8% 48% 8% auto;
  width: 48px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(125,155,109,.74), rgba(255,179,107,.84), rgba(217,138,165,.64));
  filter: blur(calc(1px + var(--scroll-glow) * 2px));
  box-shadow: 0 0 50px rgba(255,179,107,.25);
}

.chapter-side {
  position: relative;
  z-index: 2;
  opacity: .35;
  transform: translateY(48px) scale(.98);
  transition: opacity 1s ease, transform 1s cubic-bezier(.16,1.18,.32,1);
}

.scene.in-view .chapter-side {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.kicker { color: var(--persimmon); }

.chapter h2 {
  margin: 14px 0 18px;
  font-family: "Instrument Sans", "Nunito Sans", system-ui, sans-serif;
  font-size: clamp(42px, 6vw, 94px);
  line-height: .92;
  letter-spacing: -.06em;
  max-width: 760px;
}

.chapter p {
  max-width: 610px;
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.55;
  color: rgba(42, 24, 48, 0.72);
}

blockquote {
  margin: 36px 0 0;
  max-width: 510px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(25px, 3vw, 42px);
  font-style: italic;
  line-height: 1.05;
  color: var(--leaf);
}

.screen-garden { background: linear-gradient(135deg, var(--cream), var(--peach)); }
.voice-light { background: linear-gradient(135deg, rgba(217,138,165,.48), var(--cream)); }
.memory-bloom { background: linear-gradient(145deg, var(--peach), rgba(125,155,109,.24) 62%, var(--cream)); }
.afterimage-dusk { background: linear-gradient(140deg, var(--plum), #5a304a 48%, var(--rose)); color: var(--halo); }
.afterimage-dusk p { color: rgba(255,249,236,.74); }

.petal-screen {
  position: relative;
  width: min(620px, 86vw);
  aspect-ratio: 1.1;
  border-radius: 64% 36% 61% 39% / 42% 66% 34% 58%;
  background:
    radial-gradient(circle at 64% 34%, rgba(255,249,236,.86), transparent 14%),
    linear-gradient(135deg, rgba(255,179,107,.62), rgba(217,138,165,.42), rgba(125,155,109,.3));
  box-shadow: inset 18px 20px 35px rgba(255,255,255,.56), inset -22px -26px 38px rgba(42,24,48,.13), 0 46px 90px rgba(42,24,48,.16);
  animation: breathe 6.4s ease-in-out infinite;
}

.caption-burn {
  position: absolute;
  left: 13%;
  bottom: 12%;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(42,24,48,.28);
  color: var(--halo);
  font-size: 13px;
  letter-spacing: .08em;
}

.moth {
  position: absolute;
  width: 28px;
  height: 18px;
  border-radius: 60% 60% 20% 20%;
  background: rgba(42,24,48,.45);
  filter: blur(.4px);
  animation: mothFloat 8s ease-in-out infinite;
}

.moth-one { left: 38%; top: 28%; }
.moth-two { right: 24%; bottom: 32%; animation-delay: -3s; transform: scale(.7); }

.inflated-leaf {
  position: absolute;
  border-radius: 80% 16% 76% 20%;
  background: linear-gradient(135deg, rgba(255,249,236,.48), rgba(125,155,109,.58));
  box-shadow: inset 10px 14px 22px rgba(255,255,255,.42), inset -12px -18px 28px rgba(42,24,48,.12);
}

.leaf-one { width: 170px; height: 260px; right: 8%; top: 4%; transform: rotate(28deg); }
.leaf-two { width: 125px; height: 190px; left: 0; bottom: 4%; transform: rotate(-28deg); }

.subtitle-stack {
  display: grid;
  gap: 22px;
  padding: min(7vw, 76px);
  border-radius: 58px;
  background: rgba(255, 249, 236, 0.38);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.56), 0 35px 80px rgba(42,24,48,.12);
}

.subtitle-stack span {
  width: fit-content;
  padding: 14px 20px;
  border-radius: 999px;
  background: rgba(255, 244, 216, 0.72);
  color: var(--plum);
  box-shadow: 0 14px 30px rgba(242,106,61,.12);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.16,1.25,.32,1);
}

.scene.in-view .subtitle-stack span { opacity: 1; transform: translateY(0); }
.scene.in-view .subtitle-stack span:nth-child(2) { transition-delay: .2s; }
.scene.in-view .subtitle-stack span:nth-child(3) { transition-delay: .4s; }

.pod-orbit {
  position: relative;
  width: min(610px, 86vw);
  aspect-ratio: 1;
  margin-inline: auto;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,249,236,.54), transparent 58%);
}

.pod {
  position: absolute;
  width: 138px;
  height: 108px;
  border: 0;
  border-radius: 54% 46% 51% 49% / 62% 40% 60% 38%;
  cursor: pointer;
  background: linear-gradient(var(--light-angle), rgba(255,249,236,.78), rgba(255,179,107,.45), rgba(217,138,165,.35));
  box-shadow: inset 13px 14px 24px rgba(255,255,255,.58), inset -15px -17px 24px rgba(42,24,48,.13), 0 24px 56px rgba(125,155,109,.22);
  transition: transform .65s cubic-bezier(.16,1.35,.32,1), filter .65s ease;
}

.pod::after {
  content: "";
  position: absolute;
  inset: 28%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--halo), transparent 70%);
}

.pod.active { transform: scale(1.16) translateY(-8px); filter: saturate(1.25); }
.pod-a { left: 8%; top: 18%; }
.pod-b { right: 10%; top: 12%; }
.pod-c { left: 18%; bottom: 10%; }
.pod-d { right: 14%; bottom: 17%; }

.pod-caption {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 18px 25px;
  border-radius: 999px;
  background: rgba(255, 244, 216, 0.82);
  box-shadow: 0 24px 50px rgba(42,24,48,.14);
}

.afterimage-lens {
  position: relative;
  width: min(560px, 80vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--halo), rgba(255,179,107,.42) 24%, rgba(217,138,165,.26) 43%, transparent 68%);
  box-shadow: 0 0 90px rgba(255,179,107,.52), inset 0 0 80px rgba(255,249,236,.26);
  animation: afterPulse 8s ease-in-out infinite;
}

.afterimage-lens span {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255,249,236,.2);
}
.afterimage-lens span:nth-child(1) { inset: 12%; }
.afterimage-lens span:nth-child(2) { inset: 28%; }
.afterimage-lens span:nth-child(3) { inset: 42%; background: rgba(255,249,236,.34); }

.closing-word {
  display: inline-block;
  margin-top: 24px;
  padding: 18px 25px;
  border-radius: 999px;
  background: rgba(255, 249, 236, 0.13);
  color: var(--halo);
}

@keyframes projectorWake {
  0% { opacity: 1; filter: brightness(.72); }
  58% { opacity: .72; filter: brightness(1.18); }
  100% { opacity: 0; filter: brightness(1); }
}

@keyframes inflatePane {
  0% { opacity: 0; transform: scale(.9) translateY(42px); border-radius: 18vw; }
  68% { opacity: 1; transform: scale(1.035) translateY(-8px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes breathe {
  0%, 100% { transform: scale(1) rotate(-1deg); }
  50% { transform: scale(1.045) rotate(1.2deg); }
}

@keyframes seedFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-18px) rotate(1.5deg); }
}

@keyframes petalDrift {
  0%, 100% { translate: 0 0; opacity: .72; }
  50% { translate: 18px -12px; opacity: .42; }
}

@keyframes seamBreathe {
  0%, 100% { transform: translateX(-50%) scaleX(1); }
  50% { transform: translateX(calc(-50% + var(--seam-flex))) scaleX(1.22); }
}

@keyframes mothFloat {
  0%, 100% { translate: 0 0; opacity: .45; }
  50% { translate: 18px -26px; opacity: .2; }
}

@keyframes afterPulse {
  0%, 100% { transform: scale(1); filter: saturate(1); }
  50% { transform: scale(1.06); filter: saturate(1.25); }
}

@media (max-width: 860px) {
  .split-stage,
  .chapter { grid-template-columns: 1fr; }
  .seam-wrap { position: absolute; inset: 0; width: 100%; }
  .tube-vine::before { left: 92%; opacity: .54; }
  .seam-node { left: 92%; }
  .botanical-room,
  .memory-strip { border-radius: 0; min-height: auto; }
  .memory-strip { padding-top: 30px; padding-bottom: 60px; }
  .memory-capsule,
  .memory-capsule:nth-of-type(even) { margin-left: 0; width: 100%; }
  .chapter { padding-block: 80px; }
  .chapter::before { left: 8%; right: auto; opacity: .32; }
}
