:root {
  --cream: #FFF4D8;
  --sky: #8FD6FF;
  --cyan: #B9F4EC;
  --leaf: #BFE7A0;
  --peach: #FFC7AD;
  --lavender: #D9C8FF;
  --plum: #4A3A5A;
  --white: #FFFFFF;
  --display: "Patrick Hand", "Comic Sans MS", "Segoe Print", cursive;
  --accent: "Caveat", "Bradley Hand", "Segoe Script", cursive;
  --body: "Nunito Sans", "Trebuchet MS", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--plum);
  font-family: var(--body);
  background: var(--cream);
  overflow-x: hidden;
}

.aero-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 16% 10%, rgba(255,255,255,.92) 0 8%, transparent 24%),
    radial-gradient(circle at 84% 22%, rgba(143,214,255,.55) 0 10%, transparent 28%),
    radial-gradient(circle at 48% 78%, rgba(217,200,255,.55) 0 12%, transparent 32%),
    linear-gradient(135deg, #FFF4D8 0%, #B9F4EC 45%, #D9C8FF 100%);
}

.aero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(74,58,90,.13) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .18;
}

.cursor-dew {
  position: fixed;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 20;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.7);
  background: radial-gradient(circle at 30% 25%, #FFFFFF 0 18%, #8FD6FF 38%, rgba(185,244,236,.35) 72%);
  box-shadow: 0 0 24px rgba(143,214,255,.78), inset 3px 4px 8px rgba(255,255,255,.95);
  transition: opacity .35s ease, transform .18s ease;
}

.flow-vine {
  position: fixed;
  inset: 0 auto auto 0;
  width: 100vw;
  height: 520vh;
  z-index: 4;
  pointer-events: none;
  opacity: .75;
  mix-blend-mode: multiply;
}

#gardenPath {
  fill: none;
  stroke: url(#vineGradient);
  stroke-width: 14;
  stroke-linecap: round;
  stroke-dasharray: 34 26;
  filter: drop-shadow(0 10px 14px rgba(143,214,255,.35));
  animation: pathDrift 12s linear infinite;
}

.garden-story { position: relative; z-index: 1; }

.scene {
  position: relative;
  min-height: 112vh;
  padding: clamp(72px, 8vw, 130px) clamp(22px, 7vw, 108px);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  margin-top: -10vh;
  clip-path: polygon(0 8%, 100% 0, 100% 92%, 0 100%);
  transition: filter .7s ease;
}

.scene:first-child { margin-top: 0; clip-path: polygon(0 0, 100% 0, 100% 91%, 0 100%); }
.scene:hover { filter: brightness(1.035) saturate(1.06); }
.scene::before, .scene::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}
.scene::before {
  inset: 4% -12%;
  background: linear-gradient(115deg, rgba(255,255,255,.55), rgba(255,255,255,.08) 34%, rgba(143,214,255,.22) 70%, rgba(255,255,255,.42));
  transform: rotate(-4deg);
  border-top: 1px solid rgba(255,255,255,.72);
  border-bottom: 1px solid rgba(255,255,255,.52);
}
.scene::after {
  width: 55vw;
  height: 55vw;
  border-radius: 50%;
  right: -16vw;
  top: 4vh;
  background: radial-gradient(circle at 35% 25%, rgba(255,255,255,.82), rgba(185,244,236,.24) 38%, transparent 70%);
}

.scene-hero { background: linear-gradient(145deg, #FFF4D8 0%, #FFFFFF 34%, #B9F4EC 100%); }
.scene-sprout { background: linear-gradient(135deg, #B9F4EC 0%, #FFF4D8 54%, #BFE7A0 100%); }
.scene-lagoon { background: linear-gradient(140deg, #8FD6FF 0%, #B9F4EC 48%, #FFFFFF 100%); }
.scene-herbarium { background: linear-gradient(135deg, #FFC7AD 0%, #FFF4D8 48%, #BFE7A0 100%); }
.scene-greenhouse { background: linear-gradient(145deg, #D9C8FF 0%, #8FD6FF 48%, #FFF4D8 100%); }

.pane-glass, .gel-object, .gel-button {
  border: 1px solid rgba(255,255,255,.72);
  background: linear-gradient(145deg, rgba(255,255,255,.58), rgba(255,255,255,.22));
  box-shadow: 0 28px 70px rgba(143,214,255,.32), inset 0 2px 14px rgba(255,255,255,.88), inset 0 -20px 48px rgba(217,200,255,.18);
  backdrop-filter: blur(16px);
}

.hero-bubble {
  width: min(850px, 90vw);
  min-height: 440px;
  border-radius: 48% 52% 44% 56% / 38% 42% 58% 62%;
  display: grid;
  place-items: center;
  padding: clamp(28px, 6vw, 68px);
  position: relative;
  transform: rotate(-2deg);
  animation: heroArrive 1.2s ease both, gelFloat 7s ease-in-out infinite 1.1s;
}
.hero-bubble::before {
  content: "";
  position: absolute;
  width: 34%;
  height: 18%;
  left: 16%;
  top: 12%;
  border-radius: 50%;
  background: rgba(255,255,255,.62);
  filter: blur(2px);
}
.hero-bubble::after {
  content: "";
  position: absolute;
  left: 13%;
  bottom: -46px;
  border: 52px solid transparent;
  border-top-color: rgba(255,255,255,.42);
  transform: rotate(24deg);
}

.wordmark, h2 {
  font-family: var(--display);
  font-weight: 400;
  line-height: .88;
  color: var(--plum);
  margin: 0;
  text-shadow: 0 5px 0 rgba(255,255,255,.5), 0 18px 28px rgba(143,214,255,.3);
}
.wordmark {
  position: relative;
  font-size: clamp(70px, 14vw, 180px);
  letter-spacing: .018em;
  opacity: 0;
  animation: writeIn 1.3s ease 1.05s forwards;
}
.hero-note {
  position: absolute;
  right: 11%;
  bottom: 16%;
  max-width: 300px;
  font-size: clamp(24px, 3vw, 42px);
  line-height: .9;
  color: var(--plum);
  transform: rotate(5deg);
  opacity: 0;
  animation: writeIn .9s ease 1.75s forwards;
}

.caveat { font-family: var(--accent); }

.skeleton-lines {
  position: absolute;
  inset: 34% 13% auto;
  display: grid;
  gap: 22px;
  animation: skeletonFade .9s ease 1.2s forwards;
}
.skeleton-lines span, .skeleton-mini, .note-shimmer {
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(185,244,236,.25), #FFFFFF, rgba(143,214,255,.42), rgba(185,244,236,.25));
  background-size: 240% 100%;
  animation: shimmer 1.55s ease-in-out infinite;
  box-shadow: inset 0 1px 8px rgba(255,255,255,.85);
}
.skeleton-lines span:nth-child(1) { width: 74%; }
.skeleton-lines span:nth-child(2) { width: 92%; }
.skeleton-lines span:nth-child(3) { width: 54%; }

.leaf {
  position: absolute;
  width: 58px;
  height: 28px;
  border: 2px solid var(--plum);
  border-radius: 100% 0 100% 0;
  background: rgba(191,231,160,.72);
  opacity: 0;
  transform-origin: left bottom;
  animation: leafUnfold .8s ease 2.25s forwards;
}
.leaf-dot { right: 30%; top: 33%; transform: rotate(-42deg) scale(.1); }
.leaf-tail { left: 32%; bottom: 22%; transform: rotate(130deg) scale(.1); animation-delay: 2.42s; }

.margin-scribble, .diagonal-label, .closing-scribble {
  position: absolute;
  font-family: var(--accent);
  font-size: clamp(23px, 2.4vw, 36px);
  color: rgba(74,58,90,.82);
}
.margin-scribble { left: 8vw; bottom: 18vh; transform: rotate(-9deg); }
.diagonal-label { top: 18vh; left: 6vw; transform: rotate(-12deg); }
.closing-scribble { right: 8vw; bottom: 13vh; transform: rotate(-4deg); }

.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 24%, #FFFFFF 0 12%, #8FD6FF 34%, rgba(185,244,236,.22) 70%);
  box-shadow: 0 16px 34px rgba(143,214,255,.3), inset 6px 8px 16px rgba(255,255,255,.82);
  animation: bubbleRise 8s ease-in-out infinite;
}
.cluster-one { width: 80px; height: 80px; left: 11%; top: 19%; }
.cluster-two { width: 42px; height: 42px; right: 13%; top: 32%; animation-delay: -2s; }
.cluster-three { width: 110px; height: 110px; right: 21%; bottom: 14%; animation-delay: -4s; }

.scene-copy { max-width: 560px; position: relative; z-index: 3; }
.tilted-copy { justify-self: start; align-self: center; transform: rotate(-4deg); }
.scene-copy h2, .lagoon-title h2, .greenhouse h2 { font-size: clamp(52px, 7vw, 106px); }
.scene-copy p, .greenhouse p {
  font-size: clamp(18px, 1.5vw, 23px);
  line-height: 1.55;
  max-width: 520px;
  background: rgba(255,255,255,.28);
  border-radius: 28px;
  padding: 18px 22px;
}

.sprout-stage {
  position: absolute;
  right: 8vw;
  bottom: 11vh;
  width: min(480px, 82vw);
  height: 620px;
}
.droplet {
  position: absolute;
  left: 22%;
  top: 0;
  width: 285px;
  min-height: 180px;
  border-radius: 56% 44% 60% 40% / 52% 42% 58% 48%;
  padding: 54px 28px 34px;
  animation: dropSeed 5.6s ease-in-out infinite;
}
.skeleton-mini { display: block; width: 78%; margin: 0 auto 22px; }
.ink-text { font-family: var(--display); font-size: 36px; line-height: .95; display: block; opacity: .94; text-align: center; }
.soil-saucer {
  position: absolute;
  left: 12%;
  bottom: 40px;
  width: 360px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(180deg, #FFC7AD, #FFF4D8 58%, #BFE7A0);
  border: 2px solid rgba(74,58,90,.2);
  box-shadow: inset 0 12px 20px rgba(255,255,255,.72), 0 24px 35px rgba(74,58,90,.12);
}
.soil-saucer span { position: absolute; bottom: 38px; width: 34px; height: 12px; border-radius: 50%; background: rgba(74,58,90,.22); }
.soil-saucer span:nth-child(1) { left: 88px; } .soil-saucer span:nth-child(2) { left: 164px; } .soil-saucer span:nth-child(3) { left: 238px; }
.botanical { position: absolute; stroke: var(--plum); stroke-width: 4; fill: rgba(191,231,160,.5); stroke-linecap: round; stroke-linejoin: round; }
.sprout-svg { width: 260px; right: 18%; bottom: 72px; transform-origin: bottom center; animation: growSprout 5.6s ease-in-out infinite; }

.lagoon-shell {
  width: min(1060px, 94vw);
  min-height: 680px;
  border-radius: 60px;
  position: relative;
  padding: clamp(30px, 6vw, 70px);
  background: radial-gradient(circle at 24% 16%, rgba(255,255,255,.82), transparent 18%), linear-gradient(135deg, rgba(255,255,255,.46), rgba(143,214,255,.25), rgba(185,244,236,.38));
  transform: rotate(2deg);
}
.lagoon-title span { font-size: 36px; }
.floating-note {
  position: absolute;
  width: 290px;
  border-radius: 34px 42px 30px 46px;
  padding: 25px;
  transition: transform .45s cubic-bezier(.2,1.6,.38,1), box-shadow .45s ease;
}
.floating-note:hover, .specimen:hover, .gel-button:hover { transform: translateY(-10px) rotate(var(--tilt, 0deg)) scale(1.035); box-shadow: 0 36px 80px rgba(143,214,255,.45), inset 0 2px 18px rgba(255,255,255,.95); }
.floating-note p { font-family: var(--display); font-size: 31px; line-height: 1; margin: 12px 0; }
.floating-note span { font-family: var(--accent); font-size: 24px; }
.note-shimmer { width: 70%; height: 17px; }
.note-a { --tilt: -5deg; right: 10%; top: 22%; transform: rotate(-5deg); animation: lagoonDrift 8s ease-in-out infinite; }
.note-b { --tilt: 7deg; left: 12%; bottom: 16%; transform: rotate(7deg); animation: lagoonDrift 9s ease-in-out infinite -2s; }
.note-c { --tilt: -2deg; right: 23%; bottom: 8%; transform: rotate(-2deg); animation: lagoonDrift 7.5s ease-in-out infinite -4s; }
.aqua-ring { position: absolute; border: 3px solid rgba(255,255,255,.62); border-radius: 50%; box-shadow: 0 0 0 10px rgba(143,214,255,.12); animation: ripple 4s ease-out infinite; }
.ring-one { width: 170px; height: 170px; left: 46%; top: 38%; }
.ring-two { width: 110px; height: 110px; right: 9%; bottom: 14%; animation-delay: -1.6s; }

.herbarium-heading { justify-self: start; align-self: start; transform: rotate(-3deg); }
.herbarium-heading .caveat { font-size: 34px; }
.specimen-wall {
  width: min(1080px, 95vw);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 40px);
  align-self: end;
  margin-top: 160px;
  transform: rotate(2deg);
}
.specimen {
  position: relative;
  min-height: 410px;
  border-radius: 30px;
  padding: 34px 26px 26px;
  background: linear-gradient(145deg, rgba(255,244,216,.74), rgba(255,255,255,.34));
}
.specimen-lift { transform: translateY(-45px) rotate(-4deg); }
.pin { position: absolute; top: 16px; left: calc(50% - 8px); width: 16px; height: 16px; border-radius: 50%; background: #FFC7AD; box-shadow: 0 0 0 7px rgba(255,255,255,.5), 0 5px 12px rgba(74,58,90,.2); }
.specimen svg { display: block; width: 150px; height: 178px; margin: 18px auto; stroke: var(--plum); stroke-width: 3; fill: rgba(191,231,160,.5); stroke-linecap: round; stroke-linejoin: round; }
.specimen p { font-family: var(--display); font-size: 34px; line-height: .98; margin: 0 0 16px; }
.specimen small { font-family: var(--accent); font-size: 24px; }

.moon {
  position: absolute;
  top: 13vh;
  right: 16vw;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #FFFFFF 0 22%, #FFF4D8 42%, rgba(217,200,255,.5) 78%);
}
.greenhouse {
  position: relative;
  width: min(760px, 90vw);
  min-height: 540px;
  border-radius: 42px 42px 56px 56px;
  padding: clamp(36px, 6vw, 68px);
  text-align: center;
  overflow: hidden;
}
.greenhouse::before { content: ""; position: absolute; inset: 18px; border: 2px solid rgba(255,255,255,.55); border-radius: 36px; background: repeating-linear-gradient(90deg, transparent 0 118px, rgba(255,255,255,.42) 120px 122px); pointer-events: none; }
.roof { position: absolute; top: -98px; left: 12%; width: 76%; height: 170px; border: 2px solid rgba(255,255,255,.65); background: linear-gradient(135deg, rgba(255,255,255,.32), rgba(185,244,236,.2)); transform: perspective(240px) rotateX(58deg); border-radius: 26px; }
.greenhouse h2, .greenhouse p, .gel-button { position: relative; z-index: 2; }
.gel-button {
  margin-top: 18px;
  border-radius: 999px;
  color: var(--plum);
  font-family: var(--accent);
  font-size: 32px;
  padding: 13px 28px 16px;
  cursor: pointer;
  border-color: rgba(255,255,255,.84);
  background: linear-gradient(180deg, #FFFFFF, #B9F4EC 52%, #8FD6FF);
  transition: transform .25s ease, box-shadow .25s ease;
}
.gel-button:active { transform: scale(.94); }
.orbit { position: absolute; left: 50%; top: 50%; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; transform: translate(-50%, -50%); animation: orbitSpin 12s linear infinite; }
.orbit span { position: absolute; width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle at 30% 20%, #FFFFFF, #8FD6FF 45%, #D9C8FF); box-shadow: 0 0 18px rgba(255,255,255,.8); }
.orbit-one { width: 360px; height: 210px; }.orbit-two { width: 500px; height: 300px; animation-duration: 18s; animation-direction: reverse; }.orbit-three { width: 250px; height: 410px; animation-duration: 15s; }
.orbit-one span { left: 76%; top: 8%; }.orbit-two span { left: 8%; top: 62%; }.orbit-three span { left: 42%; top: -4%; }
.orbit.ripple-burst { animation-duration: 4s; }

@keyframes shimmer { 0% { background-position: 160% 0; } 100% { background-position: -80% 0; } }
@keyframes skeletonFade { to { opacity: 0; transform: translateY(-12px); } }
@keyframes writeIn { from { opacity: 0; filter: blur(8px); transform: translateY(12px) scale(.96); } to { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); } }
@keyframes heroArrive { from { opacity: 0; transform: translateY(50px) rotate(-7deg) scale(.92); } to { opacity: 1; transform: translateY(0) rotate(-2deg) scale(1); } }
@keyframes gelFloat { 0%,100% { border-radius: 48% 52% 44% 56% / 38% 42% 58% 62%; transform: translateY(0) rotate(-2deg); } 50% { border-radius: 54% 46% 53% 47% / 44% 54% 46% 56%; transform: translateY(-16px) rotate(1deg); } }
@keyframes leafUnfold { to { opacity: 1; transform: rotate(var(--leaf-rot, -42deg)) scale(1); } }
.leaf-tail { --leaf-rot: 130deg; } .leaf-dot { --leaf-rot: -42deg; }
@keyframes bubbleRise { 0%,100% { transform: translateY(0) scale(1); opacity: .62; } 50% { transform: translateY(-44px) scale(1.08); opacity: .92; } }
@keyframes pathDrift { to { stroke-dashoffset: -120; } }
@keyframes dropSeed { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(265px) scale(.82); } 64% { transform: translateY(292px) scale(.95, .62); } }
@keyframes growSprout { 0%,42% { transform: scaleY(.08); opacity: .18; } 68%,100% { transform: scaleY(1); opacity: 1; } }
@keyframes lagoonDrift { 0%,100% { margin-top: 0; } 50% { margin-top: -22px; } }
@keyframes ripple { 0% { transform: scale(.65); opacity: .9; } 100% { transform: scale(1.55); opacity: 0; } }
@keyframes orbitSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }

@media (max-width: 820px) {
  .scene { min-height: 105vh; padding: 86px 20px; }
  .hero-bubble { min-height: 380px; }
  .hero-note { position: relative; right: auto; bottom: auto; margin-top: 24px; text-align: center; }
  .tilted-copy, .herbarium-heading { justify-self: center; transform: rotate(-2deg); }
  .sprout-stage { position: relative; right: auto; bottom: auto; height: 520px; margin-top: 40px; }
  .scene-sprout { display: block; }
  .lagoon-shell { min-height: 780px; }
  .floating-note { width: 250px; }
  .note-a { right: 5%; top: 31%; }.note-b { left: 5%; bottom: 27%; }.note-c { right: 12%; bottom: 6%; }
  .specimen-wall { grid-template-columns: 1fr; margin-top: 60px; transform: none; }
  .specimen-lift { transform: none; }
  .flow-vine { opacity: .42; }
}
