:root {
  --font-headline: Georgia, "Times New Roman", serif;
  --font-body: Arial, Helvetica, sans-serif;
  --ink: #f6efe3;
  --muted: rgba(246, 239, 227, 0.66);
  --quiet: rgba(246, 239, 227, 0.42);
  --line: rgba(246, 239, 227, 0.24);
  --page-bg: #0f0c08;
  --accent: #c79d56;
  --accent-soft: rgba(199, 157, 86, 0.28);
  --bloom-core: rgba(248, 202, 113, 0.92);
  --bloom-halo: rgba(199, 126, 49, 0.38);
  --cursor-core: rgba(247, 203, 115, 0.22);
  --cursor-halo: rgba(247, 203, 115, 0.08);
  --scene-bg:
    radial-gradient(circle at 78% 18%, rgba(232, 160, 54, 0.24), transparent 26rem),
    radial-gradient(circle at 24% 76%, rgba(88, 93, 44, 0.28), transparent 30rem),
    linear-gradient(128deg, #090706 0%, #241407 46%, #121509 100%);
  --mx: 50%;
  --my: 50%;
  --lag-x: 0px;
  --lag-y: 0px;
  --lag-x-soft: 0px;
  --lag-y-soft: 0px;
  --lag-x-delayed: 0px;
  --lag-y-delayed: 0px;
  --lag-x-neg: 0px;
  --lag-y-neg: 0px;
  --lag-x-neg-soft: 0px;
  --lag-y-strong: 0px;
  --lag-x-delayed-neg: 0px;
  --lag-y-delayed-neg-soft: 0px;
  --lag-y-delayed-soft: 0px;
  --lag-y-soft-small: 0px;
  --bloom-x: 50%;
  --bloom-y: 50%;
  --noise-shift: 0px;
  --noise-shift-neg: 0px;
  --pulse-opacity: 0.18;
  --pulse-opacity-soft: 0.11;
  --environment-softness: 0;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #080706;
  color: var(--ink);
  font-family: var(--font-body);
}

body {
  min-width: 320px;
}

body::selection {
  color: #11100c;
  background: var(--accent);
}

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

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

.experience {
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #080706;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px clamp(20px, 5vw, 72px);
  pointer-events: none;
}

.brand-button,
.cart-button {
  pointer-events: auto;
}

.brand-button {
  padding: 0;
  color: rgba(250, 246, 236, 0.94);
  background: transparent;
  font-family: var(--font-headline);
  font-size: clamp(1.15rem, 1.6vw, 1.75rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cart-button {
  min-height: 2.45rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 0 0 4px;
  color: var(--muted);
  background: transparent;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cart-glyph {
  position: relative;
  width: 18px;
  height: 15px;
  border: 1px solid rgba(246, 239, 227, 0.48);
  border-top: 0;
}

.cart-glyph::before {
  content: "";
  position: absolute;
  left: 3px;
  top: -7px;
  width: 10px;
  height: 8px;
  border: 1px solid rgba(246, 239, 227, 0.48);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.cart-button strong {
  min-width: 2.1rem;
  min-height: 2.1rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(246, 239, 227, 0.44);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 400;
}

.scene {
  position: fixed;
  inset: 0;
  z-index: 5;
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 100svh;
  padding: clamp(86px, 9vw, 130px) clamp(22px, 7vw, 112px) clamp(40px, 6vw, 80px);
  opacity: 0;
  visibility: hidden;
  transform: scale(1.012);
  filter: blur(14px);
  pointer-events: none;
  transition:
    opacity 780ms ease,
    visibility 780ms ease,
    transform 980ms ease,
    filter 980ms ease;
}

.scene-hero .hero-scene,
.scene-select .select-scene,
.scene-environment .environment-scene,
.scene-usage .usage-scene,
.scene-product .product-scene {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  filter: blur(0);
  pointer-events: auto;
}

.eyebrow {
  margin: 0;
  color: var(--quiet);
  font-size: 0.72rem;
  line-height: 1.5;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-headline);
  font-weight: 400;
  letter-spacing: 0;
}

.hero-scene {
  place-items: center start;
  background:
    linear-gradient(90deg, rgba(8, 7, 5, 0.9), rgba(8, 7, 5, 0.54) 45%, rgba(8, 7, 5, 0.24)),
    #11100c;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(90deg, rgba(7, 6, 5, 0.9), rgba(7, 6, 5, 0.48) 46%, rgba(7, 6, 5, 0.2)),
    linear-gradient(0deg, rgba(7, 6, 5, 0.76), transparent 42%, rgba(7, 6, 5, 0.56)),
    url("assets/hero-bg.png"),
    radial-gradient(circle at 74% 34%, #6f604a, #15120d 64%);
  background-size: cover;
  background-position: center, center, center right, center;
  filter: saturate(0.86) contrast(1.03);
  transform: scale(1.04);
  animation: heroBreath 18s ease-in-out infinite alternate;
}

.hero-copy {
  width: min(780px, 100%);
  padding-top: 6vh;
}

.hero-copy h1 {
  max-width: 780px;
  margin-top: 22px;
  font-size: clamp(4.2rem, 10vw, 10.4rem);
  line-height: 0.9;
}

.hero-copy p:not(.eyebrow) {
  max-width: 430px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.75;
}

.line-button,
.solid-button,
.ghost-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.line-button {
  position: relative;
  margin-top: 42px;
  padding: 0 0 11px;
  background: transparent;
}

.line-button::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transition: transform 360ms ease;
}

.line-button:hover::after,
.line-button:focus-visible::after {
  transform: scaleX(0.45);
}

.select-scene {
  grid-template-columns: minmax(240px, 0.68fr) minmax(0, 1.32fr);
  align-items: end;
  gap: clamp(38px, 7vw, 112px);
  background:
    radial-gradient(circle at 12% 28%, rgba(185, 155, 103, 0.12), transparent 24rem),
    linear-gradient(180deg, #0d0b08, #080706);
}

.select-intro {
  align-self: center;
}

.select-intro h2 {
  max-width: 420px;
  margin-top: 22px;
  font-size: clamp(3rem, 6.7vw, 8rem);
  line-height: 0.92;
}

.state-list {
  align-self: center;
  width: 100%;
  min-width: 0;
  border-bottom: 1px solid var(--line);
}

.state-choice {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 54px minmax(0, 0.9fr) minmax(230px, 0.86fr);
  align-items: center;
  gap: clamp(16px, 3vw, 42px);
  min-height: clamp(96px, 12vw, 148px);
  padding: 18px 0;
  overflow: hidden;
  min-width: 0;
  color: var(--ink);
  background: transparent;
  border-top: 1px solid var(--line);
  text-align: left;
}

.state-choice::before {
  content: "";
  position: absolute;
  inset: 8px auto 8px 52px;
  width: 0;
  background: linear-gradient(90deg, var(--accent-soft), transparent);
  opacity: 0;
  transition:
    width 420ms ease,
    opacity 420ms ease;
}

.state-choice:hover::before,
.state-choice:focus-visible::before {
  width: min(46vw, 420px);
  opacity: 1;
}

.state-choice:focus-visible,
.line-button:focus-visible,
.solid-button:focus-visible,
.ghost-button:focus-visible,
.brand-button:focus-visible,
.cart-button:focus-visible,
.cart-close:focus-visible,
.cart-scrim:focus-visible {
  outline: 1px solid rgba(246, 239, 227, 0.62);
  outline-offset: 8px;
}

.choice-number {
  position: relative;
  color: var(--quiet);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
}

.choice-title {
  position: relative;
  min-width: 0;
  font-family: var(--font-headline);
  font-size: clamp(2.15rem, 4.6vw, 5.6rem);
  line-height: 0.95;
  transition: transform 420ms ease;
}

.choice-detail {
  position: relative;
  min-width: 0;
  max-width: 370px;
  color: var(--muted);
  font-size: clamp(0.88rem, 1.08vw, 1rem);
  line-height: 1.72;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 420ms ease,
    transform 420ms ease;
}

.state-choice:hover .choice-title,
.state-choice:focus-visible .choice-title {
  transform: translateX(10px);
}

.state-choice:hover .choice-detail,
.state-choice:focus-visible .choice-detail {
  opacity: 1;
  transform: translateY(0);
}

.world {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0;
  background: var(--scene-bg);
  transition:
    opacity 900ms ease,
    background 900ms ease;
  pointer-events: none;
}

.scene-environment .world,
.scene-usage .world,
.scene-product .world,
.is-blooming .world {
  opacity: 1;
}

.world::before {
  content: "";
  position: absolute;
  inset: -12%;
  background:
    radial-gradient(circle at var(--mx) var(--my), var(--cursor-core), transparent 8rem),
    radial-gradient(circle at var(--mx) var(--my), var(--cursor-halo), transparent 24rem),
    var(--scene-bg);
  filter: saturate(1.08) contrast(1.04);
}

.world::after {
  content: "";
  position: absolute;
  inset: -8%;
  background:
    radial-gradient(ellipse at 50% 50%, transparent 32%, rgba(0, 0, 0, 0.24) 72%),
    linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.035), transparent);
  opacity: 0.86;
  pointer-events: none;
}

.world-layer,
.cursor-field,
.noise-field {
  position: absolute;
  inset: -18%;
  opacity: 0;
  transition:
    opacity 780ms ease,
    filter 780ms ease,
    transform 780ms ease;
  will-change: opacity, transform, filter;
}

.cursor-field {
  inset: 0;
  background:
    radial-gradient(circle at var(--mx) var(--my), var(--cursor-core), transparent 7rem),
    radial-gradient(circle at var(--mx) var(--my), var(--cursor-halo), transparent 18rem);
  mix-blend-mode: screen;
  filter: blur(8px);
  opacity: 0.62;
}

.noise-field {
  inset: 0;
  opacity: 0.12;
  mix-blend-mode: overlay;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.28) 0 1px, transparent 1.35px),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.18) 0 1px, transparent 1.45px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.06));
  background-size: 3px 3px, 5px 5px, 100% 100%;
  transform: translate3d(var(--noise-shift), 0, 0);
  animation: grainPulse 5.4s ease-in-out infinite alternate;
}

.chroma-layer {
  background:
    linear-gradient(96deg, transparent 8%, rgba(255, 80, 42, 0.22) 18%, transparent 32%),
    linear-gradient(112deg, transparent 42%, rgba(77, 208, 196, 0.14) 50%, transparent 60%),
    radial-gradient(ellipse at 68% 44%, rgba(255, 216, 142, 0.26), transparent 25rem);
  mix-blend-mode: screen;
  filter: blur(24px) saturate(1.45);
  transform: translate3d(var(--lag-x-neg-soft), var(--lag-y-strong), 0) rotate(-4deg);
  animation: chromaSweep 12s ease-in-out infinite alternate;
}

.pulse-layer {
  background:
    repeating-linear-gradient(86deg, rgba(255, 210, 142, 0.045) 0 1px, transparent 1px 18px),
    radial-gradient(circle at var(--mx) var(--my), rgba(244, 169, 78, 0.2), transparent 19rem);
  mix-blend-mode: screen;
  filter: blur(8px);
  opacity: 0;
  transform: translate3d(var(--lag-x-soft), var(--lag-y-soft), 0);
  animation: overloadPulse 6.6s ease-in-out infinite alternate;
}

.prism-layer {
  background:
    conic-gradient(from 48deg at 58% 44%, transparent 0deg, rgba(229, 176, 83, 0.26) 18deg, transparent 34deg, rgba(126, 137, 82, 0.18) 62deg, transparent 90deg),
    radial-gradient(ellipse at 76% 30%, rgba(255, 185, 77, 0.34), transparent 24rem),
    radial-gradient(ellipse at 18% 74%, rgba(143, 82, 45, 0.26), transparent 26rem);
  mix-blend-mode: screen;
  filter: blur(18px) saturate(1.25);
  transform: translate3d(var(--lag-x), var(--lag-y), 0) rotate(2deg);
  animation: prismDrift 15s ease-in-out infinite alternate;
}

.fog-layer {
  background:
    radial-gradient(ellipse at 22% 34%, rgba(255, 255, 255, 0.22), transparent 30rem),
    radial-gradient(ellipse at 76% 58%, rgba(178, 203, 214, 0.2), transparent 34rem),
    linear-gradient(92deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  filter: blur(42px);
  transform: translate3d(var(--lag-x-delayed), var(--lag-y-delayed), 0);
  animation: fogDrift 28s ease-in-out infinite alternate;
}

.fog-layer-b {
  transform: translate3d(var(--lag-x-delayed-neg), var(--lag-y-delayed-neg-soft), 0) scale(1.08);
  animation-duration: 36s;
}

.silhouette-layer {
  background:
    radial-gradient(ellipse at 16% 50%, rgba(0, 0, 0, 0.4), transparent 15rem),
    radial-gradient(ellipse at 72% 46%, rgba(12, 15, 16, 0.5), transparent 19rem),
    radial-gradient(ellipse at 48% 82%, rgba(33, 41, 42, 0.28), transparent 17rem);
  filter: blur(22px);
  animation: silhouetteFade 13s ease-in-out infinite alternate;
}

.architecture-layer {
  background:
    linear-gradient(90deg, rgba(255, 239, 203, 0.045) 0 1px, transparent 1px 18%),
    linear-gradient(0deg, transparent 0 58%, rgba(255, 233, 190, 0.07) 58.2%, transparent 62%),
    linear-gradient(118deg, rgba(255, 255, 255, 0.05), transparent 22%, rgba(0, 0, 0, 0.12) 70%);
  opacity: 0;
  filter: blur(0.5px);
  transform: translate3d(var(--lag-x-soft), var(--lag-y-soft), 0);
}

.stone-layer {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.07), transparent 22%, rgba(0, 0, 0, 0.18) 68%, transparent),
    repeating-linear-gradient(102deg, rgba(255, 255, 255, 0.032) 0 1px, transparent 1px 16px),
    radial-gradient(ellipse at 72% 34%, rgba(181, 153, 111, 0.24), transparent 25rem);
  filter: contrast(1.05) saturate(0.78);
  transform: translate3d(var(--lag-x-soft), var(--lag-y-soft), 0);
}

.shimmer-layer {
  background:
    linear-gradient(104deg, transparent 12%, rgba(231, 221, 191, 0.13) 34%, transparent 48%),
    linear-gradient(174deg, transparent 32%, rgba(149, 169, 153, 0.12) 46%, transparent 60%);
  mix-blend-mode: screen;
  filter: blur(1px);
  transform: translate3d(var(--lag-x-soft), var(--lag-y-soft), 0);
  animation: waterShimmer 10s ease-in-out infinite alternate;
}

.ripple-layer {
  background:
    radial-gradient(ellipse at var(--mx) var(--my), rgba(234, 224, 190, 0.18), transparent 14rem),
    repeating-radial-gradient(ellipse at var(--mx) var(--my), rgba(235, 220, 181, 0.12) 0 1px, transparent 1px 18px);
  mix-blend-mode: screen;
  filter: blur(1.6px);
  transform: translate3d(var(--lag-x-soft), var(--lag-y-soft), 0);
}

.botanical-layer {
  background:
    radial-gradient(ellipse at 24% 28%, rgba(103, 255, 173, 0.3), transparent 13rem),
    radial-gradient(ellipse at 72% 32%, rgba(255, 157, 130, 0.2), transparent 16rem),
    radial-gradient(ellipse at 64% 78%, rgba(93, 207, 198, 0.22), transparent 20rem);
  mix-blend-mode: screen;
  filter: blur(16px);
  transform: translate3d(var(--lag-x), var(--lag-y-soft), 0);
  animation: organicFloat 20s ease-in-out infinite alternate;
}

.botanical-layer-b {
  background:
    radial-gradient(ellipse at 16% 68%, rgba(217, 255, 212, 0.2), transparent 11rem),
    radial-gradient(ellipse at 82% 58%, rgba(88, 238, 171, 0.26), transparent 14rem),
    radial-gradient(ellipse at 54% 22%, rgba(255, 184, 159, 0.18), transparent 13rem);
  transform: translate3d(var(--lag-x-neg), var(--lag-y-neg), 0) scale(0.98);
}

.organism-layer {
  background:
    radial-gradient(ellipse at 18% 28%, rgba(194, 255, 212, 0.22), transparent 8rem),
    radial-gradient(ellipse at 78% 42%, rgba(108, 255, 184, 0.18), transparent 10rem),
    radial-gradient(ellipse at 54% 78%, rgba(255, 151, 134, 0.14), transparent 9rem);
  mix-blend-mode: screen;
  filter: blur(8px);
  transform: translate3d(var(--lag-x), var(--lag-y), 0);
  animation: organismDrift 17s ease-in-out infinite alternate;
}

.organism-layer-b {
  background:
    radial-gradient(ellipse at 34% 68%, rgba(143, 255, 210, 0.16), transparent 7rem),
    radial-gradient(ellipse at 88% 72%, rgba(211, 255, 221, 0.18), transparent 8rem),
    radial-gradient(ellipse at 64% 18%, rgba(87, 202, 202, 0.2), transparent 9rem);
  transform: translate3d(var(--lag-x-neg-soft), var(--lag-y-strong), 0) scale(1.04);
  animation-duration: 23s;
}

.glass-layer {
  background:
    linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.13) 19%, transparent 22%),
    linear-gradient(64deg, transparent 48%, rgba(169, 252, 227, 0.12) 49%, transparent 53%);
  mix-blend-mode: screen;
  filter: blur(2px);
  transform: translate3d(var(--lag-x-neg-soft), var(--lag-y-soft), 0);
}

.veil-layer {
  background:
    linear-gradient(118deg, transparent 10%, rgba(255, 255, 255, 0.11) 18%, transparent 28%),
    linear-gradient(72deg, transparent 48%, rgba(255, 255, 255, 0.08) 52%, transparent 58%);
  mix-blend-mode: screen;
  filter: blur(3px);
  transform: translate3d(var(--lag-x-neg-soft), var(--lag-y-soft), 0);
  animation: veilSweep 15s ease-in-out infinite alternate;
}

.environment-scene {
  z-index: 8;
  place-items: center;
  text-align: center;
}

.environment-copy {
  position: relative;
  z-index: 2;
  width: min(900px, 100%);
  transform: translateY(-2vh);
}

.environment-copy h2 {
  margin-top: 16px;
  font-size: clamp(4.8rem, 12vw, 13.5rem);
  line-height: 0.86;
}

.environment-copy p:last-child {
  max-width: 590px;
  margin: 30px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.32rem);
  line-height: 1.7;
}

.environment-instruction {
  position: absolute;
  left: clamp(22px, 7vw, 112px);
  bottom: clamp(34px, 5.5vw, 78px);
  z-index: 2;
  max-width: 290px;
  margin: 0;
  color: var(--quiet);
  font-family: var(--font-headline);
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  line-height: 1.45;
  text-align: left;
}

.continue-button {
  position: absolute;
  right: clamp(22px, 7vw, 112px);
  bottom: clamp(28px, 5vw, 72px);
  z-index: 2;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

.scene-environment.is-ready .continue-button {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.usage-scene {
  z-index: 9;
  display: block;
  padding: 0;
  background: #090807;
}

.usage-frame {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 34% 26%, var(--accent-soft), transparent 18rem),
    linear-gradient(135deg, rgba(246, 239, 227, 0.12), rgba(0, 0, 0, 0.42)),
    var(--page-bg);
}

.usage-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.18) 56%, rgba(0, 0, 0, 0.56)),
    radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.12), transparent 20rem);
  pointer-events: none;
}

.usage-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.76) contrast(1.04);
  transform: scale(1.045);
  transition:
    opacity 500ms ease,
    filter 800ms ease,
    transform 1200ms ease;
}

.usage-frame.has-fallback img,
.product-object.has-fallback img {
  opacity: 0;
}

.usage-copy {
  position: absolute;
  left: clamp(22px, 7vw, 112px);
  bottom: clamp(42px, 7vw, 108px);
  z-index: 2;
  width: min(680px, calc(100% - 44px));
}

.usage-copy h2 {
  max-width: 620px;
  margin-top: 18px;
  font-size: clamp(3.6rem, 8vw, 9.4rem);
  line-height: 0.9;
}

.product-scene {
  z-index: 10;
  grid-template-columns: minmax(260px, 1.06fr) minmax(260px, 0.94fr);
  align-items: center;
  gap: clamp(28px, 6vw, 100px);
  background:
    radial-gradient(circle at 32% 44%, var(--accent-soft), transparent 28rem),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.42));
}

.product-object {
  position: relative;
  min-height: min(76vh, 780px);
  display: grid;
  place-items: center;
}

.product-object::before {
  content: "";
  position: absolute;
  width: min(72%, 540px);
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    radial-gradient(circle, var(--accent-soft), transparent 66%),
    radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 54%);
  filter: blur(22px);
}

.product-object::after {
  content: "";
  position: absolute;
  bottom: 13%;
  width: min(58%, 480px);
  height: 14%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.48), transparent 72%);
  filter: blur(10px);
}

.product-object img {
  position: relative;
  z-index: 1;
  width: min(72vw, 620px);
  max-height: 74vh;
  object-fit: contain;
  filter: drop-shadow(0 34px 62px rgba(0, 0, 0, 0.52));
  transform: translateY(10px);
}

.product-copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.product-copy h2 {
  margin-top: 22px;
  font-size: clamp(3.1rem, 6vw, 7.2rem);
  line-height: 0.92;
}

.product-copy > p:not(.eyebrow):not(.cart-message) {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.28vw, 1.2rem);
  line-height: 1.72;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.solid-button,
.ghost-button {
  min-width: 178px;
  padding: 15px 22px;
  border: 1px solid rgba(246, 239, 227, 0.56);
  transition:
    background 280ms ease,
    color 280ms ease,
    border-color 280ms ease,
    opacity 360ms ease,
    transform 360ms ease;
}

.solid-button {
  color: #11100c;
  background: var(--ink);
}

.ghost-button {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
}

.solid-button:hover,
.solid-button:focus-visible,
.ghost-button:hover,
.ghost-button:focus-visible {
  transform: translateY(-2px);
  border-color: var(--ink);
}

.solid-button:hover,
.solid-button:focus-visible {
  background: var(--accent);
}

.solid-button:disabled {
  cursor: default;
  color: rgba(17, 16, 12, 0.72);
  background: rgba(246, 239, 227, 0.72);
  transform: none;
}

.ghost-button:hover,
.ghost-button:focus-visible {
  background: rgba(246, 239, 227, 0.1);
}

.cart-message {
  min-height: 1.8em;
  margin: 22px 0 0;
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 420ms ease,
    transform 420ms ease;
}

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

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  visibility: hidden;
  pointer-events: none;
}

.cart-overlay.is-open {
  visibility: visible;
  pointer-events: auto;
}

.cart-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 28%, var(--accent-soft), transparent 28rem),
    rgba(4, 4, 3, 0.72);
  backdrop-filter: blur(18px);
  opacity: 0;
  transition: opacity 520ms ease;
}

.cart-overlay.is-open .cart-scrim {
  opacity: 1;
}

.cart-panel {
  position: absolute;
  top: 24px;
  right: clamp(18px, 4vw, 56px);
  bottom: 24px;
  width: min(520px, calc(100% - 36px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid rgba(246, 239, 227, 0.18);
  background:
    linear-gradient(140deg, rgba(29, 25, 20, 0.9), rgba(9, 8, 7, 0.84)),
    radial-gradient(circle at 34% 0%, rgba(255, 232, 185, 0.12), transparent 22rem);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.58);
  opacity: 0;
  transform: translateX(32px) scale(0.985);
  transition:
    opacity 560ms ease,
    transform 700ms cubic-bezier(0.16, 0.84, 0.2, 1);
}

.cart-overlay.is-open .cart-panel {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.cart-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  pointer-events: none;
  mix-blend-mode: overlay;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.28) 0 1px, transparent 1.4px),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.14) 0 1px, transparent 1.5px);
  background-size: 3px 3px, 5px 5px;
}

.cart-heading,
.cart-footer {
  position: relative;
  z-index: 1;
}

.cart-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(246, 239, 227, 0.16);
}

.cart-heading h2 {
  margin-top: 12px;
  font-size: clamp(3rem, 5vw, 5.6rem);
  line-height: 0.9;
}

.cart-close {
  padding: 4px 0 10px;
  color: var(--muted);
  background: transparent;
  border-bottom: 1px solid rgba(246, 239, 227, 0.38);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cart-empty {
  position: relative;
  z-index: 1;
  align-self: center;
  color: var(--muted);
  text-align: center;
}

.cart-empty p {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: var(--font-headline);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

.cart-empty span {
  display: block;
  max-width: 290px;
  margin: 0 auto;
  line-height: 1.6;
}

.cart-overlay.has-items .cart-empty {
  display: none;
}

.cart-items {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 18px;
  overflow: auto;
  padding: 26px 2px;
}

.cart-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 104px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(246, 239, 227, 0.13);
}

.cart-item-image {
  width: 82px;
  height: 96px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle, var(--accent-soft), transparent 70%),
    rgba(255, 255, 255, 0.035);
}

.cart-item-image img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.45));
}

.cart-item-copy {
  min-width: 0;
}

.cart-item-state {
  display: block;
  margin-bottom: 8px;
  color: var(--quiet);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cart-item-name {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-headline);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.05;
}

.cart-item-meta {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.cart-footer {
  padding-top: 24px;
  border-top: 1px solid rgba(246, 239, 227, 0.16);
}

.cart-subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cart-subtotal strong {
  color: var(--ink);
  font-weight: 400;
  text-align: right;
}

.checkout-button {
  width: 100%;
}

.purchase-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  visibility: hidden;
  pointer-events: none;
}

.purchase-overlay.is-open {
  visibility: visible;
  pointer-events: auto;
}

.purchase-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 24%, rgba(199, 157, 86, 0.2), transparent 28rem),
    rgba(2, 2, 2, 0.78);
  backdrop-filter: blur(20px);
  opacity: 0;
  transition: opacity 480ms ease;
}

.purchase-overlay.is-open .purchase-scrim {
  opacity: 1;
}

.purchase-panel {
  position: absolute;
  inset: clamp(18px, 4vw, 56px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(24px, 4vw, 54px);
  overflow: hidden;
  border: 1px solid rgba(246, 239, 227, 0.18);
  background:
    linear-gradient(130deg, rgba(26, 22, 18, 0.92), rgba(7, 7, 6, 0.92)),
    radial-gradient(circle at 74% 18%, var(--accent-soft), transparent 26rem);
  box-shadow: 0 50px 140px rgba(0, 0, 0, 0.64);
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition:
    opacity 560ms ease,
    transform 760ms cubic-bezier(0.16, 0.84, 0.2, 1);
}

.purchase-overlay.is-open .purchase-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.purchase-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.22) 0 1px, transparent 1.4px),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1) 0 1px, transparent 1.5px);
  background-size: 3px 3px, 5px 5px;
}

.purchase-heading,
.purchase-layout {
  position: relative;
  z-index: 1;
}

.purchase-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.purchase-heading h2 {
  margin-top: 12px;
  font-size: clamp(3.4rem, 8vw, 8rem);
  line-height: 0.86;
}

.purchase-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(280px, 1.18fr);
  gap: clamp(28px, 6vw, 86px);
  min-height: 0;
}

.purchase-summary {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 0;
  padding-top: 4px;
}

.purchase-items {
  display: grid;
  align-content: start;
  gap: 16px;
  overflow: auto;
  margin-top: 24px;
  padding-right: 6px;
}

.purchase-item {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(246, 239, 227, 0.14);
}

.purchase-item span {
  display: block;
  margin-bottom: 8px;
  color: var(--quiet);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.purchase-item strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-headline);
  font-size: clamp(1.4rem, 2.6vw, 2.5rem);
  font-weight: 400;
  line-height: 1.04;
}

.purchase-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(246, 239, 227, 0.16);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.purchase-total strong {
  color: var(--ink);
  font-weight: 400;
  text-align: right;
}

.purchase-form {
  display: grid;
  align-content: start;
  gap: 16px;
}

.purchase-form label {
  display: grid;
  gap: 8px;
}

.purchase-form span {
  color: var(--quiet);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.purchase-form input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(246, 239, 227, 0.24);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.035);
  border-radius: 0;
  font: inherit;
}

.purchase-form input:focus {
  outline: 1px solid rgba(246, 239, 227, 0.56);
  outline-offset: 3px;
}

.purchase-submit {
  width: 100%;
  margin-top: 10px;
}

.purchase-note {
  min-height: 1.5em;
  margin: 0;
  color: var(--accent);
  line-height: 1.5;
}

.bloom-transition {
  position: fixed;
  left: var(--bloom-x);
  top: var(--bloom-y);
  z-index: 40;
  width: 30vmax;
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    radial-gradient(circle, var(--bloom-core) 0 7%, var(--bloom-halo) 32%, rgba(255, 255, 255, 0.12) 52%, transparent 72%),
    conic-gradient(from 80deg, transparent, rgba(255, 255, 255, 0.18), transparent, var(--bloom-halo), transparent);
  filter: blur(12px) saturate(1.2);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.05) rotate(0deg);
  pointer-events: none;
  mix-blend-mode: screen;
}

.is-blooming .bloom-transition {
  animation: bloomExpand 1250ms cubic-bezier(0.16, 0.84, 0.2, 1) forwards;
}

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

.light-trail,
.haze-trail,
.ripple-mark,
.eco-glow,
.botanical-spark,
.botanical-growth {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  mix-blend-mode: screen;
}

.light-trail {
  width: 92px;
  height: 34px;
  background: radial-gradient(ellipse, var(--cursor-core), transparent 68%);
  filter: blur(12px);
  transform: translate(-50%, -50%) rotate(var(--trail-rotate));
  animation: trailFade 900ms ease-out forwards;
}

.haze-trail {
  width: 180px;
  height: 120px;
  background: radial-gradient(ellipse, rgba(233, 239, 237, 0.2), rgba(153, 177, 188, 0.1) 42%, transparent 72%);
  filter: blur(24px);
  transform: translate(-50%, -50%) scale(0.72);
  animation: hazeFade 2200ms ease-out forwards;
}

.ripple-mark {
  width: 140px;
  height: 64px;
  border: 1px solid rgba(230, 216, 181, 0.18);
  background: radial-gradient(ellipse, rgba(226, 212, 178, 0.14), transparent 68%);
  filter: blur(1px);
  transform: translate(-50%, -50%) scale(0.52);
  animation: rippleFade 1800ms ease-out forwards;
}

.eco-glow {
  width: 118px;
  height: 118px;
  background:
    radial-gradient(circle, rgba(183, 255, 205, 0.22), transparent 56%),
    radial-gradient(ellipse at 70% 34%, rgba(255, 153, 136, 0.16), transparent 48%);
  filter: blur(12px) saturate(1.25);
  transform: translate(-50%, -50%) scale(0.55);
  animation: ecoFade 2100ms ease-out forwards;
}

.botanical-spark {
  width: 18px;
  height: 54px;
  border: 1px solid rgba(192, 255, 218, 0.34);
  border-radius: 999px 999px 80% 80%;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(219, 255, 221, 0.72), transparent 24%),
    linear-gradient(180deg, rgba(111, 255, 179, 0.42), rgba(255, 158, 140, 0.12));
  filter: blur(0.2px) drop-shadow(0 0 18px rgba(117, 255, 184, 0.32));
  transform: translate(-50%, -50%) rotate(var(--spark-rotate)) scale(0.3);
  animation: botanicalRise 2600ms ease-out forwards;
}

.botanical-growth {
  width: 8px;
  height: 150px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(236, 255, 228, 1), rgba(112, 255, 171, 0.72) 48%, rgba(91, 220, 174, 0.12)),
    radial-gradient(circle at 50% 0%, rgba(236, 255, 228, 0.96), transparent 2rem);
  box-shadow:
    0 0 18px rgba(129, 255, 181, 0.64),
    0 0 46px rgba(80, 235, 178, 0.28);
  filter: drop-shadow(0 0 18px rgba(129, 255, 181, 0.58));
  transform: translate(-50%, -94%) rotate(var(--growth-rotate)) scaleY(0);
  transform-origin: 50% 100%;
  animation: growthStem 5200ms cubic-bezier(0.16, 0.84, 0.2, 1) forwards;
}

.botanical-growth::before,
.botanical-growth::after,
.botanical-growth i {
  content: "";
  position: absolute;
  width: 42px;
  height: 20px;
  border: 1px solid rgba(207, 255, 218, 0.34);
  border-radius: 100% 0 100% 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(227, 255, 230, 0.56), transparent 34%),
    linear-gradient(135deg, rgba(106, 255, 177, 0.42), rgba(255, 158, 140, 0.08));
  opacity: 0;
  filter: drop-shadow(0 0 14px rgba(126, 255, 184, 0.32));
  transform-origin: 0 50%;
  animation: growthLeaf 4200ms ease-out forwards;
}

.botanical-growth::before {
  left: 2px;
  top: 42px;
  --leaf-rotation: -38deg;
  transform: rotate(var(--leaf-rotation)) scale(0.1);
  animation-delay: 360ms;
}

.botanical-growth::after {
  right: 2px;
  top: 78px;
  --leaf-rotation: 138deg;
  transform: rotate(var(--leaf-rotation)) scale(0.1);
  transform-origin: 100% 50%;
  animation-delay: 660ms;
}

.botanical-growth i:nth-child(1) {
  left: 1px;
  top: 108px;
  --leaf-rotation: -28deg;
  transform: rotate(var(--leaf-rotation)) scale(0.1);
  animation-delay: 940ms;
}

.botanical-growth i:nth-child(2) {
  right: 1px;
  top: 22px;
  --leaf-rotation: 148deg;
  transform: rotate(var(--leaf-rotation)) scale(0.1);
  transform-origin: 100% 50%;
  animation-delay: 1180ms;
}

.botanical-growth i:nth-child(3) {
  left: 0;
  top: 4px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(241, 255, 221, 0.88), rgba(126, 255, 185, 0.24) 54%, transparent 72%);
  border-color: rgba(221, 255, 221, 0.42);
  --leaf-rotation: -10deg;
  transform: rotate(var(--leaf-rotation)) scale(0.1);
  animation-delay: 1380ms;
}

body.state-overstimulated {
  --page-bg: #100c08;
  --ink: #f6ead8;
  --muted: rgba(246, 234, 216, 0.68);
  --quiet: rgba(246, 234, 216, 0.44);
  --line: rgba(226, 184, 112, 0.24);
  --accent: #c79d56;
  --accent-soft: rgba(199, 157, 86, 0.28);
  --bloom-core: rgba(248, 204, 116, 0.95);
  --bloom-halo: rgba(211, 116, 44, 0.42);
  --cursor-core: rgba(247, 203, 115, 0.24);
  --cursor-halo: rgba(247, 203, 115, 0.1);
  --scene-bg:
    radial-gradient(circle at 78% 18%, rgba(232, 160, 54, 0.24), transparent 26rem),
    radial-gradient(circle at 24% 76%, rgba(88, 93, 44, 0.28), transparent 30rem),
    linear-gradient(128deg, #090706 0%, #241407 46%, #121509 100%);
}

body.state-overstimulated .prism-layer {
  opacity: 0.92;
}

body.state-overstimulated .chroma-layer {
  opacity: 0.84;
}

body.state-overstimulated .pulse-layer {
  opacity: var(--pulse-opacity);
}

body.state-overstimulated .glass-layer {
  opacity: 0.44;
}

body.state-overstimulated .veil-layer {
  opacity: 0.48;
}

body.state-overstimulated .noise-field {
  opacity: 0.28;
}

body.state-overstimulated .scene-environment.is-softened .prism-layer,
body.state-overstimulated .scene-product .prism-layer,
body.state-overstimulated .scene-usage .prism-layer {
  opacity: 0.48;
  filter: blur(24px) saturate(1.05);
}

body.state-overstimulated .scene-environment.is-softened .chroma-layer {
  opacity: 0.34;
}

body.state-overstimulated .scene-environment.is-softened .noise-field {
  opacity: 0.12;
}

body.state-restless {
  --page-bg: #0d1012;
  --ink: #eef2ef;
  --muted: rgba(238, 242, 239, 0.62);
  --quiet: rgba(238, 242, 239, 0.38);
  --line: rgba(221, 232, 232, 0.2);
  --accent: #aebcc0;
  --accent-soft: rgba(174, 188, 192, 0.24);
  --bloom-core: rgba(231, 238, 237, 0.92);
  --bloom-halo: rgba(127, 156, 168, 0.44);
  --cursor-core: rgba(230, 238, 238, 0.18);
  --cursor-halo: rgba(150, 177, 190, 0.11);
  --scene-bg:
    radial-gradient(ellipse at 26% 22%, rgba(221, 232, 232, 0.2), transparent 25rem),
    radial-gradient(ellipse at 74% 58%, rgba(99, 122, 135, 0.18), transparent 31rem),
    linear-gradient(140deg, #0a0d0f 0%, #20282a 52%, #d7ddd9 180%);
}

body.state-restless .fog-layer {
  opacity: 0.94;
}

body.state-restless .fog-layer-b {
  opacity: 0.74;
}

body.state-restless .silhouette-layer {
  opacity: 0.68;
}

body.state-restless .veil-layer {
  opacity: 0.3;
}

body.state-restless .cursor-field {
  filter: blur(22px);
  opacity: 0.58;
}

body.state-grounded {
  --page-bg: #13110d;
  --ink: #f2eadb;
  --muted: rgba(242, 234, 219, 0.66);
  --quiet: rgba(242, 234, 219, 0.42);
  --line: rgba(211, 192, 157, 0.22);
  --accent: #bba37f;
  --accent-soft: rgba(187, 163, 127, 0.24);
  --bloom-core: rgba(226, 207, 169, 0.9);
  --bloom-halo: rgba(144, 128, 92, 0.38);
  --cursor-core: rgba(220, 206, 173, 0.14);
  --cursor-halo: rgba(177, 192, 170, 0.1);
  --scene-bg:
    radial-gradient(circle at 72% 22%, rgba(165, 137, 93, 0.2), transparent 26rem),
    radial-gradient(circle at 18% 82%, rgba(51, 66, 46, 0.28), transparent 30rem),
    linear-gradient(135deg, #11100d 0%, #29251d 48%, #161a12 100%);
}

body.state-grounded .stone-layer {
  opacity: 0.82;
}

body.state-grounded .architecture-layer {
  opacity: 0.56;
}

body.state-grounded .shimmer-layer {
  opacity: 0.52;
}

body.state-grounded .ripple-layer {
  opacity: 0.34;
}

body.state-grounded .cursor-field {
  filter: blur(14px);
  opacity: 0.42;
}

body.state-seeking {
  --page-bg: #070908;
  --ink: #f3fff7;
  --muted: rgba(243, 255, 247, 0.66);
  --quiet: rgba(243, 255, 247, 0.42);
  --line: rgba(147, 241, 197, 0.2);
  --accent: #89f0bd;
  --accent-soft: rgba(137, 240, 189, 0.22);
  --bloom-core: rgba(169, 255, 197, 0.94);
  --bloom-halo: rgba(255, 158, 140, 0.36);
  --cursor-core: rgba(137, 240, 189, 0.24);
  --cursor-halo: rgba(88, 232, 190, 0.12);
  --scene-bg:
    radial-gradient(circle at 76% 16%, rgba(114, 245, 178, 0.2), transparent 24rem),
    radial-gradient(circle at 18% 62%, rgba(255, 136, 113, 0.15), transparent 25rem),
    radial-gradient(circle at 66% 76%, rgba(83, 195, 200, 0.18), transparent 28rem),
    linear-gradient(135deg, #050606 0%, #081312 48%, #030605 100%);
}

body.state-seeking .botanical-layer-a {
  opacity: 0.46;
  filter: blur(22px);
}

body.state-seeking .botanical-layer-b {
  opacity: 0.3;
  filter: blur(24px);
}

body.state-seeking .organism-layer-a {
  opacity: 0.18;
}

body.state-seeking .organism-layer-b {
  opacity: 0.14;
}

body.state-seeking .glass-layer {
  opacity: 0.3;
}

body.state-seeking .veil-layer {
  opacity: 0.22;
}

body.state-seeking .cursor-field {
  opacity: 0.42;
  filter: blur(18px);
}

@keyframes heroBreath {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.07) translate3d(-1.2%, 0.8%, 0);
  }
}

@keyframes bloomExpand {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.05) rotate(0deg);
  }

  38% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(2.8) rotate(18deg);
  }

  76% {
    opacity: 0.82;
    transform: translate(-50%, -50%) scale(6.7) rotate(36deg);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(8.4) rotate(48deg);
  }
}

@keyframes prismDrift {
  from {
    transform: translate3d(var(--lag-x), var(--lag-y), 0) rotate(1deg) scale(1);
  }

  to {
    transform: translate3d(var(--lag-x-neg), var(--lag-y-strong), 0) rotate(6deg) scale(1.05);
  }
}

@keyframes chromaSweep {
  from {
    transform: translate3d(var(--lag-x-neg-soft), var(--lag-y-strong), 0) rotate(-5deg) scale(1);
  }

  to {
    transform: translate3d(var(--lag-x), var(--lag-y-neg), 0) rotate(7deg) scale(1.08);
  }
}

@keyframes overloadPulse {
  from {
    filter: blur(10px) saturate(1.05);
  }

  to {
    filter: blur(18px) saturate(1.3);
  }
}

@keyframes grainPulse {
  from {
    transform: translate3d(var(--noise-shift), 0, 0);
  }

  to {
    transform: translate3d(var(--noise-shift-neg), 1px, 0);
  }
}

@keyframes fogDrift {
  from {
    transform: translate3d(var(--lag-x-delayed), var(--lag-y-delayed), 0) scale(1);
  }

  to {
    transform: translate3d(var(--lag-x-delayed-neg), var(--lag-y-delayed-soft), 0) scale(1.08);
  }
}

@keyframes silhouetteFade {
  from {
    transform: translate3d(var(--lag-x-delayed), 0, 0) scale(0.98);
  }

  to {
    transform: translate3d(var(--lag-x-delayed-neg), var(--lag-y-delayed-soft), 0) scale(1.04);
  }
}

@keyframes waterShimmer {
  from {
    transform: translate3d(-1.5%, var(--lag-y-soft), 0);
  }

  to {
    transform: translate3d(1.5%, var(--lag-y-soft-small), 0);
  }
}

@keyframes organicFloat {
  from {
    transform: translate3d(var(--lag-x), var(--lag-y-soft), 0) scale(1);
  }

  to {
    transform: translate3d(var(--lag-x-neg-soft), var(--lag-y), 0) scale(1.06);
  }
}

@keyframes organismDrift {
  from {
    transform: translate3d(var(--lag-x), var(--lag-y), 0) scale(0.98);
    filter: blur(10px) saturate(1.1);
  }

  to {
    transform: translate3d(var(--lag-x-neg-soft), var(--lag-y-strong), 0) scale(1.08);
    filter: blur(4px) saturate(1.35);
  }
}

@keyframes veilSweep {
  from {
    transform: translate3d(var(--lag-x-neg-soft), var(--lag-y-soft), 0) rotate(-2deg);
  }

  to {
    transform: translate3d(var(--lag-x-soft), var(--lag-y-neg), 0) rotate(2deg);
  }
}

@keyframes trailFade {
  from {
    opacity: 0.78;
    transform: translate(-50%, -50%) rotate(var(--trail-rotate)) scale(0.68);
  }

  to {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--trail-rotate)) scale(1.35);
  }
}

@keyframes hazeFade {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.62);
  }

  28% {
    opacity: 0.54;
  }

  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.65) translate3d(var(--lag-x-delayed), var(--lag-y-delayed), 0);
  }
}

@keyframes rippleFade {
  from {
    opacity: 0.42;
    transform: translate(-50%, -50%) scale(0.46);
  }

  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.42);
  }
}

@keyframes ecoFade {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.42);
  }

  24% {
    opacity: 0.68;
  }

  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.32);
  }
}

@keyframes botanicalRise {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--spark-rotate)) scale(0.24);
  }

  18% {
    opacity: 0.92;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -160%) rotate(var(--spark-rotate)) scale(1.12);
  }
}

@keyframes growthStem {
  0% {
    opacity: 0;
    transform: translate(-50%, -94%) rotate(var(--growth-rotate)) scaleY(0);
  }

  16% {
    opacity: 1;
  }

  58% {
    opacity: 0.96;
    transform: translate(-50%, -94%) rotate(var(--growth-rotate)) scaleY(1);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -104%) rotate(var(--growth-rotate)) scaleY(1);
  }
}

@keyframes growthLeaf {
  0% {
    opacity: 0;
    transform: rotate(var(--leaf-rotation, -30deg)) scale(0.1);
  }

  28% {
    opacity: 0.9;
  }

  74% {
    opacity: 0.72;
    transform: rotate(var(--leaf-rotation, -30deg)) scale(1);
  }

  100% {
    opacity: 0;
    transform: rotate(var(--leaf-rotation, -30deg)) scale(1.04);
  }
}

@media (max-width: 980px) {
  .select-scene,
  .product-scene {
    grid-template-columns: 1fr;
  }

  .select-intro {
    align-self: end;
  }

  .state-list {
    align-self: start;
  }

  .state-choice {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px 22px;
  }

  .choice-detail {
    grid-column: 2;
    opacity: 1;
    transform: none;
  }

  .product-object {
    min-height: 42vh;
  }

  .product-copy {
    max-width: none;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 18px;
  }

  .cart-button {
    gap: 8px;
    letter-spacing: 0.12em;
  }

  .cart-glyph {
    width: 16px;
    height: 14px;
  }

  .scene {
    padding: 84px 20px 34px;
  }

  .usage-scene {
    padding: 0;
  }

  .hero-copy h1 {
    font-size: clamp(3.5rem, 18vw, 6.35rem);
  }

  .select-scene {
    gap: 28px;
  }

  .select-intro h2 {
    font-size: clamp(3.1rem, 15vw, 5.9rem);
  }

  .state-choice {
    width: 100%;
    min-height: 104px;
    padding: 18px 0;
  }

  .choice-title {
    font-size: clamp(2rem, 9.4vw, 3.2rem);
  }

  .choice-detail {
    max-width: 100%;
    font-size: 0.86rem;
    line-height: 1.55;
  }

  .environment-copy h2 {
    font-size: clamp(4.2rem, 20vw, 7.2rem);
  }

  .environment-copy p:last-child {
    margin-top: 22px;
  }

  .environment-instruction {
    left: 20px;
    right: 20px;
    bottom: 108px;
    max-width: none;
  }

  .continue-button {
    left: 20px;
    right: 20px;
    bottom: 32px;
    width: auto;
  }

  .usage-copy {
    left: 20px;
    bottom: 34px;
    width: calc(100% - 40px);
  }

  .usage-copy h2,
  .product-copy h2 {
    font-size: clamp(3.25rem, 15vw, 5.7rem);
  }

  .product-scene {
    align-content: center;
    gap: 12px;
  }

  .product-object {
    min-height: 38vh;
  }

  .product-object img {
    width: min(88vw, 420px);
    max-height: 40vh;
  }

  .product-actions {
    display: grid;
  }

  .solid-button,
  .ghost-button {
    width: 100%;
  }

  .cart-panel {
    top: 18px;
    right: 12px;
    bottom: 18px;
    width: calc(100% - 24px);
    padding: 22px;
  }

  .cart-heading h2 {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .cart-item {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 14px;
  }

  .cart-item-image {
    width: 70px;
    height: 86px;
  }

  .purchase-panel {
    inset: 12px;
    padding: 22px;
    overflow: auto;
  }

  .purchase-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .purchase-heading h2 {
    font-size: clamp(3.1rem, 16vw, 5.2rem);
  }

  .purchase-summary {
    min-height: auto;
  }

  .purchase-items {
    max-height: 170px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
