:root {
  --warm-black: #090706;
  --charcoal: #141516;
  --fog: #7f8b95;
  --fog-dim: #37424b;
  --amber: #d9a05f;
  --wine: #7e2628;
  --moon: #d8dde0;
  --soft: rgba(245, 239, 225, 0.86);
  --muted: rgba(216, 221, 224, 0.62);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--warm-black);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% 0%, rgba(126, 38, 40, 0.2), transparent 30rem),
    linear-gradient(180deg, #090706 0%, #101214 44%, #050505 100%);
  color: var(--soft);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::selection {
  background: rgba(217, 160, 95, 0.26);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.15;
  background-image:
    repeating-radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.3) 0 1px, transparent 1px 3px);
  mix-blend-mode: soft-light;
}

.cursor-glow {
  position: fixed;
  width: 32rem;
  height: 32rem;
  margin: -16rem 0 0 -16rem;
  z-index: 2;
  pointer-events: none;
  opacity: 0.18;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 160, 95, 0.42), transparent 65%);
  transform: translate3d(50vw, 50vh, 0);
  transition: transform 120ms ease-out;
}

.quiet-nav {
  position: fixed;
  top: 1.4rem;
  left: 50%;
  z-index: 30;
  display: flex;
  gap: clamp(0.7rem, 2vw, 1.8rem);
  align-items: center;
  width: min(92vw, 52rem);
  padding: 0.85rem 1rem;
  border: 1px solid rgba(216, 221, 224, 0.12);
  border-radius: 999px;
  background: rgba(9, 7, 6, 0.28);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.quiet-nav a {
  color: rgba(245, 239, 225, 0.72);
  text-decoration: none;
  font-size: clamp(0.68rem, 1.8vw, 0.8rem);
  white-space: nowrap;
}

.scene {
  position: relative;
  min-height: 100vh;
  padding: clamp(6rem, 10vw, 9rem) clamp(1.2rem, 5vw, 5rem);
  isolation: isolate;
  overflow: hidden;
}

.scene + .scene {
  border-top: 1px solid rgba(216, 221, 224, 0.06);
}

.kicker {
  margin: 0 0 1.25rem;
  color: rgba(217, 160, 95, 0.74);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1.2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(6.8rem, 19vw, 18rem);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: 0;
  text-shadow: 0 0 4rem rgba(126, 38, 40, 0.52), 0 1.2rem 5rem rgba(0, 0, 0, 0.64);
}

h2 {
  max-width: 16ch;
  margin-bottom: 1.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 6vw, 6.8rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.45rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 400;
}

p {
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 1.72;
}

.opening {
  display: grid;
  place-items: center;
  min-height: 120vh;
  text-align: center;
  perspective: 950px;
  background:
    linear-gradient(145deg, rgba(165, 182, 255, 0.16) 0%, transparent 34%),
    linear-gradient(180deg, #0b0a18 0%, #17112a 42%, #070608 100%);
}

.opening-copy {
  position: relative;
  z-index: 9;
  width: min(92vw, 86rem);
  padding-top: 4vh;
  transform: translateY(2vh);
  mix-blend-mode: screen;
}

.hero-video-frame {
  position: relative;
  width: min(86vw, 62rem);
  margin: 0 auto clamp(1.5rem, 3vw, 2.6rem);
  border: 1px solid rgba(245, 239, 225, 0.16);
  background:
    linear-gradient(145deg, rgba(245, 239, 225, 0.08), rgba(165, 182, 255, 0.05)),
    rgba(9, 7, 6, 0.34);
  box-shadow: 0 2.2rem 7rem rgba(0, 0, 0, 0.38), 0 0 5rem rgba(165, 182, 255, 0.18);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.hero-video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #050505;
}

.hero-sound-toggle {
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 4;
  min-height: 2.4rem;
  padding: 0 0.9rem;
  border: 1px solid rgba(245, 239, 225, 0.22);
  border-radius: 999px;
  background: rgba(9, 7, 6, 0.56);
  color: rgba(245, 239, 225, 0.9);
  cursor: pointer;
  font: inherit;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(16px);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.hero-sound-toggle:hover,
.hero-sound-toggle:focus-visible {
  border-color: rgba(217, 160, 95, 0.7);
  background: rgba(9, 7, 6, 0.78);
  transform: translateY(-1px);
}

.enter-link {
  display: inline-flex;
  color: rgba(245, 239, 225, 0.82);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.enter-link::after {
  content: "";
  width: 5rem;
  height: 1px;
  margin: 0.65rem 0 0 1rem;
  background: linear-gradient(90deg, rgba(217, 160, 95, 0.76), transparent);
}

.fog {
  position: absolute;
  inset: auto;
  z-index: 1;
  width: 72vw;
  height: 44vh;
  filter: blur(48px);
  opacity: 0.38;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 139, 149, 0.55), transparent 68%);
  animation: floatFog 16s ease-in-out infinite alternate;
}

.fog-a {
  left: -18vw;
  top: 18vh;
}

.fog-b {
  right: -20vw;
  bottom: 4vh;
  animation-duration: 21s;
}

.dream-cloud {
  position: absolute;
  z-index: 1;
  width: 58vw;
  height: 26vh;
  opacity: 0.32;
  filter: blur(34px);
  background:
    linear-gradient(90deg, transparent, rgba(165, 182, 255, 0.35), rgba(217, 160, 95, 0.1), transparent);
  transform: skewY(-7deg);
  animation: cloudPass 18s ease-in-out infinite alternate;
}

.cloud-left {
  left: -16vw;
  top: 18vh;
}

.cloud-right {
  right: -20vw;
  bottom: 18vh;
  animation-duration: 24s;
}

.spatial-stage {
  position: absolute;
  inset: 12vh 4vw 10vh;
  z-index: 5;
  transform-style: preserve-3d;
  transform: rotateX(2deg) translateZ(0);
}

.spatial-stage::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 54%;
  width: min(74vw, 62rem);
  height: min(24vw, 16rem);
  background: linear-gradient(90deg, transparent, rgba(165, 182, 255, 0.2), rgba(217, 160, 95, 0.14), transparent);
  filter: blur(28px);
  transform: translate(-50%, -50%) rotateX(72deg);
}

.spatial-card {
  position: absolute;
  display: grid;
  align-content: space-between;
  width: clamp(9rem, 15vw, 17rem);
  min-height: clamp(7rem, 12vw, 11rem);
  padding: clamp(0.9rem, 1.6vw, 1.3rem);
  border: 1px solid rgba(245, 239, 225, 0.18);
  background:
    linear-gradient(135deg, rgba(245, 239, 225, 0.16), rgba(165, 182, 255, 0.08)),
    rgba(8, 7, 18, 0.46);
  box-shadow: 0 1.4rem 4rem rgba(0, 0, 0, 0.28), 0 0 3rem rgba(95, 93, 255, 0.14);
  backdrop-filter: blur(24px);
  transform-style: preserve-3d;
  animation: spatialFloat 9s ease-in-out infinite alternate;
}

.spatial-card span {
  color: rgba(245, 239, 225, 0.64);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-align: left;
  text-transform: uppercase;
}

.spatial-card strong {
  color: rgba(245, 239, 225, 0.92);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  font-weight: 400;
  line-height: 0.9;
  text-align: left;
}

.spatial-card i {
  display: block;
  width: 100%;
  height: 2.6rem;
  margin-top: 1rem;
  background:
    linear-gradient(90deg, rgba(165, 182, 255, 0.72), rgba(217, 160, 95, 0.42), transparent),
    repeating-linear-gradient(90deg, rgba(245, 239, 225, 0.16) 0 1px, transparent 1px 14px);
  opacity: 0.68;
}

.card-worlds {
  left: 8%;
  top: 22%;
  transform: translateZ(-180px) rotateY(14deg) rotateZ(-4deg);
}

.card-rem {
  left: 15%;
  bottom: 22%;
  transform: translateZ(160px) rotateY(18deg) rotateZ(3deg);
  animation-delay: 0.8s;
}

.card-journal {
  right: 8%;
  top: 24%;
  transform: translateZ(110px) rotateY(-16deg) rotateZ(4deg);
  animation-delay: 0.4s;
}

.card-memory {
  right: 18%;
  bottom: 20%;
  transform: translateZ(-140px) rotateY(-13deg) rotateZ(-3deg);
  animation-delay: 1.2s;
}

.card-ai {
  left: 50%;
  bottom: 8%;
  width: clamp(12rem, 18vw, 20rem);
  min-height: 6rem;
  transform: translateX(-50%) translateZ(240px) rotateX(4deg);
  animation-delay: 1.6s;
}

.particle-field {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(245, 239, 225, 0.75);
  box-shadow: 0 0 16px rgba(217, 160, 95, 0.8);
  animation: drift var(--duration) ease-in-out infinite alternate;
  opacity: var(--opacity);
}

.sound-orbit {
  position: absolute;
  z-index: 2;
  width: min(72vw, 48rem);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(0.4px);
}

.sound-orbit span {
  position: absolute;
  inset: calc(var(--i, 1) * 7%);
  border: 1px solid rgba(216, 221, 224, 0.07);
  border-radius: 50%;
  animation: pulse 6s ease-in-out infinite;
}

.sound-orbit span:nth-child(1) { --i: 1; animation-delay: 0s; }
.sound-orbit span:nth-child(2) { --i: 2; animation-delay: 0.8s; }
.sound-orbit span:nth-child(3) { --i: 3; animation-delay: 1.6s; }
.sound-orbit span:nth-child(4) { --i: 4; animation-delay: 2.4s; }

.breath-meter {
  position: absolute;
  right: clamp(1.5rem, 4vw, 4rem);
  bottom: clamp(1.5rem, 4vw, 4rem);
  z-index: 5;
  display: flex;
  align-items: end;
  gap: 0.45rem;
  height: 4rem;
  opacity: 0.72;
}

.breath-meter i,
.voice-line span {
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--moon), rgba(217, 160, 95, 0.42));
  animation: wave 2.8s ease-in-out infinite;
}

.breath-meter i {
  height: calc(0.9rem + var(--h, 1) * 0.55rem);
}

.breath-meter i:nth-child(1) { --h: 2; animation-delay: 0s; }
.breath-meter i:nth-child(2) { --h: 5; animation-delay: 0.15s; }
.breath-meter i:nth-child(3) { --h: 3; animation-delay: 0.3s; }
.breath-meter i:nth-child(4) { --h: 7; animation-delay: 0.45s; }
.breath-meter i:nth-child(5) { --h: 4; animation-delay: 0.6s; }
.breath-meter i:nth-child(6) { --h: 6; animation-delay: 0.75s; }
.breath-meter i:nth-child(7) { --h: 2; animation-delay: 0.9s; }

.concept,
.glasses,
.system,
.emotional-ai,
.tester {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(19rem, 0.88fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
}

.panel-image {
  min-height: min(66vh, 44rem);
  border: 1px solid rgba(216, 221, 224, 0.1);
  border-radius: 0;
  background:
    radial-gradient(circle at 70% 34%, rgba(217, 160, 95, 0.18), transparent 12rem),
    linear-gradient(140deg, #171819, #0a0908 54%, #1c1111);
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.4);
}

.memory-room {
  position: relative;
  overflow: hidden;
}

.memory-room::before {
  content: "";
  position: absolute;
  inset: 10% 12%;
  border: 1px solid rgba(216, 221, 224, 0.08);
  background:
    linear-gradient(90deg, transparent 49%, rgba(216, 221, 224, 0.05) 50%, transparent 51%),
    linear-gradient(180deg, transparent 49%, rgba(216, 221, 224, 0.05) 50%, transparent 51%);
  transform: perspective(900px) rotateX(62deg);
}

.window-glow {
  position: absolute;
  left: 18%;
  top: 16%;
  width: 24%;
  height: 32%;
  background: linear-gradient(180deg, rgba(127, 139, 149, 0.22), rgba(217, 160, 95, 0.06));
  box-shadow: 0 0 5rem rgba(127, 139, 149, 0.24);
}

.bedline {
  position: absolute;
  left: 30%;
  bottom: 26%;
  width: 46%;
  height: 12%;
  border-top: 1px solid rgba(245, 239, 225, 0.24);
  background: linear-gradient(180deg, rgba(216, 221, 224, 0.06), transparent);
  transform: skewX(-18deg);
}

.projection-veil {
  position: absolute;
  right: 5%;
  top: -5%;
  width: 48%;
  height: 110%;
  background: linear-gradient(100deg, transparent, rgba(127, 139, 149, 0.14), rgba(217, 160, 95, 0.09), transparent);
  filter: blur(14px);
  transform: rotate(8deg);
  animation: veil 9s ease-in-out infinite alternate;
}

.night-highway {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 33%, rgba(126, 38, 40, 0.22), transparent 20rem),
    linear-gradient(180deg, #0c1015 0%, #121619 52%, #090706 100%);
}

.moon-haze {
  position: absolute;
  left: 50%;
  top: 12%;
  width: min(44vw, 34rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 221, 224, 0.12), transparent 62%);
  filter: blur(15px);
  transform: translateX(-50%);
}

.road,
.road-gloss {
  position: absolute;
  left: 50%;
  bottom: -12%;
  width: min(76vw, 54rem);
  height: 72%;
  transform: translateX(-50%) perspective(900px) rotateX(68deg);
  transform-origin: bottom;
  clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%);
}

.road {
  background:
    linear-gradient(90deg, transparent 48%, rgba(245, 239, 225, 0.26) 50%, transparent 52%),
    linear-gradient(180deg, rgba(216, 221, 224, 0.03), rgba(245, 239, 225, 0.08), #050505);
  box-shadow: 0 -4rem 8rem rgba(0, 0, 0, 0.85) inset;
}

.road-gloss {
  background: linear-gradient(90deg, transparent, rgba(127, 139, 149, 0.15), transparent);
  filter: blur(11px);
  opacity: 0.8;
}

.red-house {
  position: absolute;
  left: 50%;
  top: 35%;
  width: 8rem;
  height: 8rem;
  transform: translateX(-50%) scale(0.78);
  filter: drop-shadow(0 0 2.5rem rgba(126, 38, 40, 0.9));
}

.roof {
  position: absolute;
  left: 0.9rem;
  top: 0.6rem;
  width: 6.2rem;
  height: 6.2rem;
  background: rgba(126, 38, 40, 0.86);
  transform: rotate(45deg);
}

.house-body {
  position: absolute;
  left: 1.1rem;
  top: 3.35rem;
  width: 5.8rem;
  height: 4.6rem;
  background: linear-gradient(180deg, #7e2628, #2a1112);
}

.house-light {
  position: absolute;
  left: 3.4rem;
  top: 4.8rem;
  width: 1.3rem;
  height: 1.7rem;
  background: rgba(217, 160, 95, 0.92);
  box-shadow: 0 0 2.6rem rgba(217, 160, 95, 0.95);
}

.sequence-copy {
  position: relative;
  z-index: 5;
  width: min(92vw, 58rem);
  margin-top: 42vh;
}

.voice-line {
  display: flex;
  align-items: end;
  gap: 0.6rem;
  height: 5rem;
}

.voice-line span {
  height: 1.7rem;
}

.voice-line span:nth-child(2) { height: 3rem; animation-delay: 0.2s; }
.voice-line span:nth-child(3) { height: 4.5rem; animation-delay: 0.4s; }
.voice-line span:nth-child(4) { height: 2.6rem; animation-delay: 0.6s; }
.voice-line span:nth-child(5) { height: 3.7rem; animation-delay: 0.8s; }

.product-stage {
  position: relative;
  min-height: min(70vh, 44rem);
  display: grid;
  place-items: center;
}

.glass-rig {
  position: relative;
  z-index: 4;
  width: min(68vw, 37rem);
  height: 17rem;
  transform: rotate(-5deg);
  animation: floatProduct 8s ease-in-out infinite alternate;
}

.lens {
  position: absolute;
  top: 4.5rem;
  width: 13.5rem;
  height: 8.6rem;
  border: 1px solid rgba(245, 239, 225, 0.55);
  border-radius: 48% 52% 44% 56%;
  background:
    radial-gradient(circle at 35% 30%, rgba(217, 160, 95, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(216, 221, 224, 0.14), rgba(9, 7, 6, 0.52));
  box-shadow: 0 0 4rem rgba(127, 139, 149, 0.18);
}

.lens-left { left: 2rem; }
.lens-right { right: 2rem; }

.bridge {
  position: absolute;
  left: 50%;
  top: 7.6rem;
  width: 4.8rem;
  height: 1.2rem;
  border-top: 1px solid rgba(245, 239, 225, 0.62);
  transform: translateX(-50%);
}

.temple {
  position: absolute;
  top: 6.5rem;
  width: 9rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(245, 239, 225, 0.66), transparent);
}

.temple-left {
  left: -4rem;
  transform: rotate(-20deg);
}

.temple-right {
  right: -4rem;
  transform: rotate(20deg) scaleX(-1);
}

.sensor-dot {
  position: absolute;
  right: 7rem;
  top: 5.3rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 1.8rem rgba(217, 160, 95, 0.9);
}

.halo-ring {
  position: absolute;
  width: min(72vw, 42rem);
  aspect-ratio: 1;
  border: 1px solid rgba(216, 221, 224, 0.08);
  border-radius: 50%;
}

.ring-one {
  transform: rotateX(70deg) rotateZ(-12deg);
}

.ring-two {
  transform: rotateX(70deg) rotateZ(18deg) scale(0.72);
  border-color: rgba(217, 160, 95, 0.14);
}

.room-map {
  position: relative;
  min-height: min(70vh, 42rem);
  border: 1px solid rgba(216, 221, 224, 0.08);
  background:
    radial-gradient(circle at 46% 54%, rgba(217, 160, 95, 0.14), transparent 16rem),
    linear-gradient(135deg, rgba(127, 139, 149, 0.07), transparent);
  overflow: hidden;
}

.room-grid {
  position: absolute;
  inset: 8%;
  background:
    linear-gradient(90deg, rgba(216, 221, 224, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(216, 221, 224, 0.08) 1px, transparent 1px);
  background-size: 4rem 4rem;
  transform: perspective(900px) rotateX(58deg);
}

.layer {
  position: absolute;
  left: 12%;
  min-width: 12rem;
  padding: 0.9rem 1rem;
  border-left: 1px solid rgba(217, 160, 95, 0.6);
  color: rgba(245, 239, 225, 0.7);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(9, 7, 6, 0.32);
  backdrop-filter: blur(10px);
}

.layer-light { top: 18%; }
.layer-projection { top: 38%; left: 32%; }
.layer-audio { top: 58%; left: 18%; }

.bed-node {
  position: absolute;
  right: 14%;
  bottom: 18%;
  width: 14rem;
  height: 7rem;
  border: 1px solid rgba(245, 239, 225, 0.18);
  background: rgba(216, 221, 224, 0.05);
  transform: skewX(-18deg);
}

.signal {
  position: absolute;
  border: 1px solid rgba(217, 160, 95, 0.14);
  border-radius: 50%;
  animation: pulse 5s ease-in-out infinite;
}

.signal-one {
  right: 16%;
  bottom: 19%;
  width: 16rem;
  height: 16rem;
}

.signal-two {
  right: 7%;
  bottom: 9%;
  width: 28rem;
  height: 28rem;
  animation-delay: 1.3s;
}

.mapping {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  min-height: 34rem;
  border: 1px solid rgba(216, 221, 224, 0.08);
  background: rgba(216, 221, 224, 0.08);
}

.mapping article {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 26rem;
  padding: 1.5rem;
  background:
    radial-gradient(circle at 50% 34%, var(--tone), transparent 12rem),
    #0b0b0b;
  overflow: hidden;
}

.mapping article::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: repeating-radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.7) 0 1px, transparent 1px 5px);
}

.mapping article:nth-child(1) { --tone: rgba(217, 160, 95, 0.28); }
.mapping article:nth-child(2) { --tone: rgba(126, 38, 40, 0.3); }
.mapping article:nth-child(3) { --tone: rgba(127, 139, 149, 0.34); }

.map-dot {
  width: 0.8rem;
  height: 0.8rem;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  box-shadow: 0 0 2rem currentColor;
}

.warm { background: var(--amber); color: var(--amber); }
.film { background: var(--wine); color: var(--wine); }
.blue { background: var(--fog); color: var(--fog); }

.mapping p {
  margin: 0;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tester {
  background:
    radial-gradient(circle at 82% 22%, rgba(217, 160, 95, 0.13), transparent 20rem),
    radial-gradient(circle at 18% 78%, rgba(127, 139, 149, 0.1), transparent 22rem),
    #080807;
}

.tester-copy {
  position: relative;
  z-index: 4;
}

.tester-form {
  position: relative;
  z-index: 4;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(216, 221, 224, 0.11);
  background:
    linear-gradient(145deg, rgba(245, 239, 225, 0.06), rgba(127, 139, 149, 0.03)),
    rgba(9, 7, 6, 0.62);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

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

.tester-form label {
  display: grid;
  gap: 0.45rem;
  color: rgba(245, 239, 225, 0.78);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wide-field {
  grid-column: 1 / -1;
}

.tester-form input,
.tester-form select,
.tester-form textarea {
  width: 100%;
  border: 1px solid rgba(216, 221, 224, 0.16);
  border-radius: 0;
  background: rgba(5, 5, 5, 0.48);
  color: var(--soft);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  outline: none;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.tester-form input,
.tester-form select {
  min-height: 3rem;
  padding: 0 0.85rem;
}

.tester-form textarea {
  min-height: 9rem;
  padding: 0.85rem;
  resize: vertical;
}

.tester-form select {
  color-scheme: dark;
}

.tester-form input:focus,
.tester-form select:focus,
.tester-form textarea:focus {
  border-color: rgba(217, 160, 95, 0.72);
  background: rgba(9, 7, 6, 0.72);
  box-shadow: 0 0 0 3px rgba(217, 160, 95, 0.12);
}

.tester-form textarea::placeholder {
  color: rgba(216, 221, 224, 0.38);
}

.consent-stack {
  display: grid;
  gap: 0.85rem;
  margin: 1.25rem 0;
}

.tester-form .check-row {
  display: flex;
  grid-template-columns: none;
  align-items: start;
  gap: 0.75rem;
  color: rgba(216, 221, 224, 0.7);
  font-size: 0.82rem;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
}

.check-row input {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  min-height: 0;
  margin-top: 0.12rem;
  accent-color: var(--amber);
}

.tester-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.2rem;
  border: 1px solid rgba(217, 160, 95, 0.64);
  border-radius: 0;
  background: rgba(217, 160, 95, 0.15);
  color: rgba(245, 239, 225, 0.92);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.tester-form button:hover,
.tester-form button:focus-visible {
  background: rgba(217, 160, 95, 0.24);
  border-color: rgba(217, 160, 95, 0.9);
  transform: translateY(-1px);
}

.hidden-field {
  display: none;
}

.subscribe {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(19rem, 0.75fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
  min-height: 92vh;
  background:
    radial-gradient(circle at 72% 26%, rgba(165, 182, 255, 0.18), transparent 22rem),
    radial-gradient(circle at 20% 78%, rgba(217, 160, 95, 0.1), transparent 26rem),
    #060607;
}

.subscribe-copy,
.subscribe-form {
  position: relative;
  z-index: 4;
}

.subscribe-copy h2 {
  max-width: 13ch;
}

.subscribe-orb {
  position: absolute;
  right: 10%;
  top: 18%;
  z-index: 1;
  width: min(34vw, 22rem);
  aspect-ratio: 1;
  border: 1px solid rgba(245, 239, 225, 0.12);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(245, 239, 225, 0.28), transparent 12%),
    radial-gradient(circle at 60% 54%, rgba(165, 182, 255, 0.28), transparent 34%),
    radial-gradient(circle at 40% 62%, rgba(217, 160, 95, 0.16), transparent 42%),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 5rem rgba(165, 182, 255, 0.18), inset 0 0 4rem rgba(255, 255, 255, 0.04);
  filter: blur(0.2px);
  animation: spatialFloat 8s ease-in-out infinite alternate;
}

.subscribe-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(216, 221, 224, 0.11);
  background:
    linear-gradient(145deg, rgba(245, 239, 225, 0.07), rgba(165, 182, 255, 0.04)),
    rgba(9, 7, 6, 0.62);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

.subscribe-form label {
  display: grid;
  gap: 0.45rem;
  color: rgba(245, 239, 225, 0.78);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.subscribe-form input,
.subscribe-form select {
  width: 100%;
  min-height: 3rem;
  border: 1px solid rgba(216, 221, 224, 0.16);
  border-radius: 0;
  background: rgba(5, 5, 5, 0.5);
  color: var(--soft);
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  padding: 0 0.85rem;
  outline: none;
}

.subscribe-form input:focus,
.subscribe-form select:focus {
  border-color: rgba(217, 160, 95, 0.72);
  box-shadow: 0 0 0 3px rgba(217, 160, 95, 0.12);
}

.subscribe-form input::placeholder {
  color: rgba(216, 221, 224, 0.38);
}

.subscribe-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.2rem;
  border: 1px solid rgba(217, 160, 95, 0.64);
  border-radius: 0;
  background: rgba(217, 160, 95, 0.15);
  color: rgba(245, 239, 225, 0.92);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.subscribe-form button:hover,
.subscribe-form button:focus-visible {
  background: rgba(217, 160, 95, 0.24);
  border-color: rgba(217, 160, 95, 0.9);
  transform: translateY(-1px);
}

.closing {
  display: grid;
  place-items: center;
  min-height: 110vh;
  text-align: center;
  background: radial-gradient(circle at 50% 45%, rgba(127, 139, 149, 0.11), transparent 32rem), #030303;
}

.closing h2 {
  position: relative;
  z-index: 4;
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 7rem);
}

.closing-fade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle, transparent 0%, rgba(3, 3, 3, 0.92) 74%);
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(var(--x), var(--y), 0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.2;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.72;
    transform: scale(1.03);
  }
}

@keyframes wave {
  0%, 100% {
    transform: scaleY(0.55);
    opacity: 0.46;
  }
  50% {
    transform: scaleY(1);
    opacity: 0.95;
  }
}

@keyframes floatFog {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(8vw, -5vh, 0) scale(1.18);
  }
}

@keyframes veil {
  from {
    transform: rotate(8deg) translateX(0);
  }
  to {
    transform: rotate(5deg) translateX(-8%);
  }
}

@keyframes floatProduct {
  from {
    transform: rotate(-5deg) translateY(-1rem);
  }
  to {
    transform: rotate(-2deg) translateY(1rem);
  }
}

@keyframes cloudPass {
  from {
    transform: translate3d(-3vw, 0, 0) skewY(-7deg);
  }
  to {
    transform: translate3d(5vw, -3vh, 0) skewY(-4deg);
  }
}

@keyframes spatialFloat {
  from {
    margin-top: -0.8rem;
  }
  to {
    margin-top: 0.8rem;
  }
}

@media (max-width: 820px) {
  .quiet-nav {
    justify-content: space-between;
    overflow-x: auto;
  }

  .opening {
    min-height: 108vh;
  }

  .opening-copy {
    padding-top: 5vh;
  }

  .hero-video-frame {
    width: min(92vw, 40rem);
  }

  .spatial-stage {
    inset: 10vh 0 6vh;
    transform: scale(0.82);
  }

  .spatial-card {
    width: 10.5rem;
    min-height: 7rem;
  }

  .card-worlds {
    left: 1rem;
    top: 20%;
  }

  .card-rem {
    left: 1.2rem;
    bottom: 18%;
  }

  .card-journal {
    right: 1rem;
    top: 26%;
  }

  .card-memory {
    right: 1.2rem;
    bottom: 22%;
  }

  .card-ai {
    bottom: 7%;
  }

  .concept,
  .glasses,
  .system,
  .emotional-ai,
  .tester,
  .subscribe {
    grid-template-columns: 1fr;
  }

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

  .glass-copy {
    order: -1;
  }

  .mapping {
    grid-template-columns: 1fr;
  }

  .mapping article {
    min-height: 15rem;
  }

  .sequence-copy {
    margin-top: 48vh;
  }
}

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