:root {
  --landing-white: #f3f5f7;
  --landing-cool-white: #eef2f6;
  --landing-blue-white: #e5edf5;
  --landing-ink: #5d6978;
  --landing-ink-soft: rgba(93, 105, 120, 0.76);
  --landing-ink-faint: rgba(93, 105, 120, 0.58);
  --landing-glass: rgba(255, 255, 255, 0.18);
  --landing-glass-strong: rgba(255, 255, 255, 0.3);
  --landing-glass-line: rgba(255, 255, 255, 0.58);
  --landing-shadow: 0 24px 72px rgba(121, 152, 176, 0.18);
  --landing-shadow-soft: 0 12px 28px rgba(153, 182, 201, 0.12);
  --landing-well-deep: #0f1117;
  --landing-well-mid: #1b2330;
  --landing-well-soft: #23212c;
  --landing-duration: 2100ms;
  --landing-trigger-curve: cubic-bezier(0.2, 0.8, 0.2, 1);
  --landing-sink-curve: ease-in-out;
  --landing-well-curve: cubic-bezier(0.7, 0, 0.2, 1);
  --landing-shell-pad-x: clamp(28px, 5vw, 64px);
  --landing-shell-pad-top: clamp(28px, 5vw, 64px);
  --landing-shell-pad-bottom: clamp(64px, 9vw, 116px);
  --landing-content-width: 1100px;
  --font-display: "Noto Serif TC", "Source Han Serif TC", "Songti TC", "PMingLiU", serif;
  --font-ui: "Aptos", "Segoe UI Variable Text", "PingFang TC", "Microsoft JhengHei UI", sans-serif;
}

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

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  font-family: var(--font-ui);
  color: var(--landing-ink);
}

button {
  font: inherit;
}

.landing-page {
  position: relative;
  min-height: 100svh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0) 30%),
    radial-gradient(circle at 18% 20%, rgba(242, 247, 251, 0.78), rgba(242, 247, 251, 0) 26%),
    linear-gradient(180deg, var(--landing-white) 0%, var(--landing-cool-white) 48%, var(--landing-blue-white) 100%);
}

.landing-bg,
.landing-bg > div {
  position: fixed;
  inset: 0;
}

.landing-bg {
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-gradient,
.bg-water,
.bg-light,
.bg-mist,
.bg-vignette,
.transition-darkness {
  pointer-events: none;
  will-change: transform, opacity, filter;
}

.bg-water,
.bg-light,
.bg-mist {
  overflow: hidden;
}

.bg-gradient {
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.12) 28%, rgba(255, 255, 255, 0) 52%),
    radial-gradient(circle at 18% 22%, rgba(241, 247, 252, 0.88), rgba(241, 247, 252, 0) 24%),
    radial-gradient(circle at 80% 16%, rgba(231, 239, 247, 0.82), rgba(231, 239, 247, 0) 24%),
    radial-gradient(circle at 52% 84%, rgba(219, 230, 240, 0.52), rgba(219, 230, 240, 0) 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.66) 0%, rgba(247, 250, 252, 0.36) 42%, rgba(227, 237, 244, 0.22) 100%);
}

.bg-water {
  opacity: 0.52;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08)),
    url("./landing-water-soft-ripple.png") center 54% / cover no-repeat;
  filter: blur(1px) saturate(0.96);
  animation: driftWater 24s ease-in-out infinite alternate;
}

.bg-water::before,
.bg-water::after,
.bg-light::before,
.bg-light::after,
.bg-mist::before {
  content: "";
  position: absolute;
  inset: -12%;
  pointer-events: none;
}

.bg-water::before {
  background:
    radial-gradient(circle at 50% 62%, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.06) 22%, rgba(255, 255, 255, 0) 44%),
    radial-gradient(circle at 22% 44%, rgba(194, 221, 242, 0.18), rgba(194, 221, 242, 0) 20%),
    radial-gradient(circle at 76% 36%, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0) 24%),
    linear-gradient(112deg, rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, 0.34) 46%, rgba(222, 239, 250, 0.18) 54%, rgba(255, 255, 255, 0) 72%);
  mix-blend-mode: soft-light;
  opacity: 0.52;
  filter: blur(20px);
  animation: spectralFlow 10s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.bg-water::after {
  inset: -6%;
  background:
    radial-gradient(circle at 50% 78%, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0) 24%),
    repeating-radial-gradient(circle at 50% 74%, rgba(255, 255, 255, 0.18) 0 1.2%, rgba(255, 255, 255, 0) 1.8% 5.8%);
  mix-blend-mode: screen;
  opacity: 0.24;
  filter: blur(2px);
  transform-origin: 50% 72%;
  animation: waterPulseForward 8.5s cubic-bezier(0.7, 0, 0.2, 1) infinite;
}

.bg-light {
  opacity: 0.28;
  mix-blend-mode: screen;
  background:
    radial-gradient(circle at 22% 28%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 12%),
    radial-gradient(circle at 78% 16%, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0) 18%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 48%),
    url("./landing-water-soft-ripple.png") center 52% / 118% auto no-repeat;
  filter: blur(16px) brightness(1.2) saturate(1.04);
  animation: breatheLight 12s ease-in-out infinite;
}

.bg-light::before {
  background:
    radial-gradient(circle at 50% 82%, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0) 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.05) 18%, rgba(255, 255, 255, 0.3) 46%, rgba(255, 255, 255, 0) 78%);
  opacity: 0.44;
  filter: blur(28px);
  transform: translate3d(0, 10%, 0) scale(1.08);
  animation: forwardLightPush 7.2s cubic-bezier(0.7, 0, 0.2, 1) infinite;
}

.bg-light::after {
  background:
    radial-gradient(circle at 18% 62%, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0) 12%),
    radial-gradient(circle at 42% 56%, rgba(222, 242, 252, 0.28), rgba(222, 242, 252, 0) 10%),
    radial-gradient(circle at 66% 46%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 9%),
    radial-gradient(circle at 80% 72%, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 12%);
  opacity: 0.34;
  filter: blur(10px);
  animation: lightShardDrift 9s ease-in-out infinite alternate;
}

.bg-mist {
  opacity: 0.82;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.18) 28%, rgba(255, 255, 255, 0) 54%),
    radial-gradient(circle at 26% 70%, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0) 24%),
    radial-gradient(circle at 76% 74%, rgba(221, 236, 247, 0.36), rgba(221, 236, 247, 0) 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02) 36%, rgba(255, 255, 255, 0.16) 100%);
  filter: blur(24px);
  animation: driftMist 20s ease-in-out infinite alternate;
}

.bg-mist::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.12) 30%, rgba(219, 235, 246, 0.26) 52%, rgba(255, 255, 255, 0) 82%);
  opacity: 0.28;
  filter: blur(36px);
  transform: translateY(8%);
  animation: mistPush 9.5s ease-in-out infinite;
}

.bg-vignette {
  opacity: 0.04;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0) 34%, rgba(207, 220, 232, 0.12) 62%, rgba(166, 186, 201, 0.18) 100%);
}

.transition-darkness {
  opacity: 0;
  background:
    radial-gradient(circle at 50% 48%, rgba(27, 35, 48, 0) 0%, rgba(27, 35, 48, 0.08) 28%, rgba(27, 35, 48, 0.34) 60%, rgba(15, 17, 23, 0.78) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(35, 33, 44, 0.08) 36%, rgba(27, 35, 48, 0.58) 74%, rgba(15, 17, 23, 0.92) 100%);
}

.landing-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: var(--landing-shell-pad-top) var(--landing-shell-pad-x) var(--landing-shell-pad-bottom);
}

.consciousness-gate {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(1.8rem, 3vw, 2.65rem);
  width: min(100%, 48rem);
  min-height: calc(100svh - var(--landing-shell-pad-top) - var(--landing-shell-pad-bottom));
  text-align: center;
}

.gate-title {
  margin: 0;
  color: var(--landing-ink);
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 6.4vw, 5.75rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.08;
  text-indent: 0.12em;
  text-shadow: 0 10px 32px rgba(255, 255, 255, 0.42);
  animation: fadeUpSoft 0.9s ease-out both;
}

.gate-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: min(100%, clamp(18.25rem, 27vw, 23rem));
  aspect-ratio: 1 / 1;
  padding: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.12)),
    rgba(255, 255, 255, 0.18);
  color: var(--landing-ink);
  cursor: pointer;
  isolation: isolate;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -18px 28px rgba(205, 226, 238, 0.18),
    var(--landing-shadow),
    var(--landing-shadow-soft);
  transition:
    transform 260ms var(--landing-trigger-curve),
    box-shadow 260ms ease,
    border-color 260ms ease,
    background-color 260ms ease,
    opacity 260ms ease;
  animation: fadeUpSoft 1s ease-out 0.15s both;
}

.gate-button::before,
.gate-button::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: inherit;
}

.gate-button::before {
  inset: 8% 14% auto;
  height: 28%;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.2) 42%, rgba(255, 255, 255, 0) 72%);
  opacity: 0.8;
  filter: blur(3px);
}

.gate-button::after {
  inset: auto 17% 10%;
  height: 24%;
  background:
    radial-gradient(circle at 50% 40%, rgba(222, 243, 251, 0.56), rgba(222, 243, 251, 0) 60%),
    radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 74%);
  opacity: 0.74;
  filter: blur(12px);
}

.gate-button-core {
  position: absolute;
  inset: 13%;
  border-radius: inherit;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    inset 0 14px 22px rgba(255, 255, 255, 0.26),
    inset 0 -18px 28px rgba(173, 199, 216, 0.16);
}

.gate-button-core::before,
.gate-button-core::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.gate-button-core::before {
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.52) 24%, rgba(235, 243, 249, 0.16) 58%, rgba(255, 255, 255, 0) 76%);
  opacity: 0.94;
  filter: blur(0.5px);
}

.gate-button-core::after {
  background:
    radial-gradient(circle at 50% 54%, rgba(15, 17, 23, 0.98) 0%, rgba(27, 35, 48, 0.95) 28%, rgba(35, 33, 44, 0.76) 52%, rgba(214, 225, 233, 0.18) 70%, rgba(255, 255, 255, 0) 84%);
  opacity: 0;
  transform: scale(0.72);
  filter: blur(8px);
}

.gate-button-label {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.86rem;
  max-width: 80%;
}

.gate-button-title,
.gate-button-sub {
  display: block;
  text-align: center;
}

.gate-button-title {
  color: rgba(93, 105, 120, 0.96);
  font-size: clamp(1.36rem, 2vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.07em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.74);
}

.gate-button-sub {
  color: var(--landing-ink-soft);
  font-size: clamp(0.88rem, 1.12vw, 1.04rem);
  letter-spacing: 0.04em;
}

.gate-noscript {
  margin: 0;
  color: var(--landing-ink-faint);
  font-size: 0.95rem;
}

.gate-noscript a {
  color: inherit;
}

.seo-intro {
  position: relative;
  width: 100%;
  margin-top: clamp(1.5rem, 4vw, 3.75rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.seo-intro-inner {
  position: relative;
  width: min(100%, var(--landing-content-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.seo-intro-inner > h2,
.seo-links {
  grid-column: 1 / -1;
}

.seo-intro-inner > h2 {
  margin: 0 0 0.4rem;
  color: rgba(93, 105, 120, 0.96);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.85rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.18;
  text-align: center;
  text-shadow: 0 8px 24px rgba(255, 255, 255, 0.38);
}

.seo-card {
  position: relative;
  min-height: 100%;
  padding: clamp(1.25rem, 2.4vw, 1.8rem);
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.2)),
    rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -16px 24px rgba(213, 228, 238, 0.14),
    0 20px 46px rgba(145, 173, 193, 0.14);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
}

.seo-card h3 {
  margin: 0 0 0.8rem;
  color: rgba(93, 105, 120, 0.96);
  font-family: var(--font-display);
  font-size: clamp(1.16rem, 1.8vw, 1.42rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.seo-card p {
  margin: 0;
  color: rgba(93, 105, 120, 0.84);
  font-size: clamp(0.98rem, 1.2vw, 1.05rem);
  line-height: 1.9;
  letter-spacing: 0.02em;
}

.seo-links {
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
}

.seo-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 15rem);
  padding: 0.95rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.18)),
    rgba(255, 255, 255, 0.18);
  color: rgba(93, 105, 120, 0.96);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 34px rgba(150, 178, 198, 0.14);
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  transition:
    transform 220ms var(--landing-trigger-curve),
    box-shadow 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
}

.seo-links a:hover,
.seo-links a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.76);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 24px 40px rgba(140, 170, 191, 0.18);
}

.seo-links a:focus-visible {
  outline: none;
}

.landing-page:not(.is-entering-consciousness) .gate-button:hover,
.landing-page:not(.is-entering-consciousness) .gate-button:focus-visible {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -18px 28px rgba(205, 226, 238, 0.22),
    0 30px 84px rgba(132, 166, 191, 0.22),
    0 14px 34px rgba(153, 185, 203, 0.16);
}

.landing-page:not(.is-entering-consciousness) .gate-button:hover::before,
.landing-page:not(.is-entering-consciousness) .gate-button:focus-visible::before {
  opacity: 0.94;
}

.landing-page:not(.is-entering-consciousness) .gate-button:hover::after,
.landing-page:not(.is-entering-consciousness) .gate-button:focus-visible::after {
  opacity: 0.92;
}

.gate-button:focus-visible {
  outline: none;
}

.landing-page:not(.is-entering-consciousness) .gate-button:active {
  transform: translateY(0) scale(0.99);
}

.gate-button[disabled] {
  cursor: default;
}

.landing-page.is-entering-consciousness .bg-gradient {
  animation: gradientSink var(--landing-duration) var(--landing-sink-curve) forwards;
}

.landing-page.is-entering-consciousness .bg-water {
  animation:
    driftWaterSlow 36s ease-in-out infinite alternate,
    waterMemorySink var(--landing-duration) var(--landing-sink-curve) forwards;
}

.landing-page.is-entering-consciousness .bg-light {
  animation:
    breatheLightDim 16s ease-in-out infinite,
    lightDescend var(--landing-duration) var(--landing-sink-curve) forwards;
}

.landing-page.is-entering-consciousness .bg-mist {
  animation:
    driftMist 24s ease-in-out infinite alternate,
    mistGather var(--landing-duration) var(--landing-sink-curve) forwards;
}

.landing-page.is-entering-consciousness .bg-vignette {
  animation: vignetteClose var(--landing-duration) var(--landing-well-curve) forwards;
}

.landing-page.is-entering-consciousness .transition-darkness {
  animation: darknessDescend var(--landing-duration) var(--landing-sink-curve) forwards;
}

.landing-page.is-entering-consciousness .consciousness-gate {
  animation: shellPullIn var(--landing-duration) var(--landing-well-curve) forwards;
}

.landing-page.is-entering-consciousness .gate-title {
  animation: titleSink var(--landing-duration) var(--landing-sink-curve) forwards;
}

.landing-page.is-entering-consciousness .gate-button {
  animation: gateVesselSink var(--landing-duration) var(--landing-trigger-curve) forwards;
}

.landing-page.is-entering-consciousness .gate-button::before {
  animation: gateHighlightSink var(--landing-duration) var(--landing-sink-curve) forwards;
}

.landing-page.is-entering-consciousness .gate-button::after {
  animation: gateGlowSink var(--landing-duration) var(--landing-sink-curve) forwards;
}

.landing-page.is-entering-consciousness .gate-button-label {
  animation: labelSink var(--landing-duration) var(--landing-sink-curve) forwards;
}

.landing-page.is-entering-consciousness .gate-button-core::before {
  animation: coreLightFade var(--landing-duration) var(--landing-sink-curve) forwards;
}

.landing-page.is-entering-consciousness .gate-button-core::after {
  animation: coreWellOpen var(--landing-duration) var(--landing-well-curve) forwards;
}

@keyframes fadeUpSoft {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes driftWater {
  0% {
    transform: scale(1.03) translate3d(-1.2%, -1%, 0);
  }

  50% {
    transform: scale(1.08) translate3d(1.1%, 0.8%, 0);
  }

  100% {
    transform: scale(1.05) translate3d(0.3%, 1.3%, 0);
  }
}

@keyframes spectralFlow {
  0% {
    transform: translate3d(-8%, 3%, 0) scale(1.02) rotate(-5deg);
    opacity: 0.34;
  }

  45% {
    transform: translate3d(4%, -2%, 0) scale(1.08) rotate(2deg);
    opacity: 0.56;
  }

  100% {
    transform: translate3d(10%, -5%, 0) scale(1.12) rotate(6deg);
    opacity: 0.28;
  }
}

@keyframes waterPulseForward {
  0% {
    transform: translate3d(0, 8%, 0) scale(0.82);
    opacity: 0.04;
  }

  18% {
    opacity: 0.18;
  }

  50% {
    transform: translate3d(0, 2%, 0) scale(1);
    opacity: 0.24;
  }

  100% {
    transform: translate3d(0, -7%, 0) scale(1.24);
    opacity: 0;
  }
}

@keyframes driftWaterSlow {
  0% {
    transform: scale(1.06) translate3d(-0.8%, -0.2%, 0);
  }

  100% {
    transform: scale(1.1) translate3d(0.4%, 1.1%, 0);
  }
}

@keyframes breatheLight {
  0%,
  100% {
    opacity: 0.24;
    transform: scale(1.08);
  }

  50% {
    opacity: 0.34;
    transform: scale(1.12);
  }
}

@keyframes forwardLightPush {
  0% {
    transform: translate3d(0, 14%, 0) scale(1.16);
    opacity: 0.08;
  }

  24% {
    opacity: 0.26;
  }

  62% {
    transform: translate3d(0, -1%, 0) scale(1.02);
    opacity: 0.42;
  }

  100% {
    transform: translate3d(0, -10%, 0) scale(0.94);
    opacity: 0;
  }
}

@keyframes lightShardDrift {
  0% {
    transform: translate3d(-3%, 2%, 0) scale(0.98);
    opacity: 0.18;
  }

  50% {
    transform: translate3d(3%, -2%, 0) scale(1.04);
    opacity: 0.34;
  }

  100% {
    transform: translate3d(6%, -4%, 0) scale(1.08);
    opacity: 0.2;
  }
}

@keyframes breatheLightDim {
  0%,
  100% {
    opacity: 0.16;
    transform: scale(1.12);
  }

  50% {
    opacity: 0.22;
    transform: scale(1.15);
  }
}

@keyframes driftMist {
  from {
    transform: scale(1) translateY(0);
  }

  to {
    transform: scale(1.04) translateY(-0.8%);
  }
}

@keyframes mistPush {
  0%,
  100% {
    transform: translate3d(0, 10%, 0) scale(1.04);
    opacity: 0.14;
  }

  50% {
    transform: translate3d(0, -3%, 0) scale(1.1);
    opacity: 0.3;
  }
}

@keyframes gradientSink {
  0%,
  8.6% {
    opacity: 1;
    filter: brightness(1) saturate(1);
  }

  35.7% {
    opacity: 0.96;
    filter: brightness(0.9) saturate(0.96);
  }

  64.3% {
    opacity: 0.8;
    filter: brightness(0.68) saturate(0.82);
  }

  85.7% {
    opacity: 0.62;
    filter: brightness(0.44) saturate(0.68);
  }

  100% {
    opacity: 0.5;
    filter: brightness(0.34) saturate(0.56);
  }
}

@keyframes waterMemorySink {
  0%,
  8.6% {
    opacity: 0.52;
    filter: blur(1px) brightness(1) saturate(0.96);
  }

  35.7% {
    opacity: 0.48;
    filter: blur(2px) brightness(0.84) saturate(0.9);
  }

  64.3% {
    opacity: 0.38;
    filter: blur(4px) brightness(0.66) saturate(0.82);
  }

  85.7% {
    opacity: 0.24;
    filter: blur(7px) brightness(0.46) saturate(0.74);
  }

  100% {
    opacity: 0.18;
    filter: blur(9px) brightness(0.38) saturate(0.7);
  }
}

@keyframes lightDescend {
  0%,
  8.6% {
    opacity: 0.28;
    filter: blur(16px) brightness(1.2) saturate(1.04);
  }

  35.7% {
    opacity: 0.2;
    filter: blur(18px) brightness(1.04) saturate(0.96);
  }

  64.3% {
    opacity: 0.12;
    filter: blur(20px) brightness(0.78) saturate(0.86);
  }

  85.7% {
    opacity: 0.06;
    filter: blur(24px) brightness(0.56) saturate(0.78);
  }

  100% {
    opacity: 0.04;
    filter: blur(26px) brightness(0.48) saturate(0.72);
  }
}

@keyframes mistGather {
  0%,
  8.6% {
    opacity: 0.82;
    filter: blur(24px);
  }

  35.7% {
    opacity: 0.9;
    filter: blur(28px);
  }

  64.3% {
    opacity: 0.96;
    filter: blur(34px);
  }

  85.7% {
    opacity: 0.9;
    filter: blur(40px);
  }

  100% {
    opacity: 0.82;
    filter: blur(42px);
  }
}

@keyframes vignetteClose {
  0%,
  8.6% {
    opacity: 0.04;
  }

  35.7% {
    opacity: 0.14;
  }

  64.3% {
    opacity: 0.34;
  }

  85.7% {
    opacity: 0.62;
  }

  100% {
    opacity: 0.78;
  }
}

@keyframes darknessDescend {
  0%,
  8.6% {
    opacity: 0;
  }

  35.7% {
    opacity: 0.18;
  }

  64.3% {
    opacity: 0.46;
  }

  85.7% {
    opacity: 0.8;
  }

  100% {
    opacity: 0.96;
  }
}

@keyframes shellPullIn {
  0%,
  8.6% {
    transform: scale(1);
    filter: blur(0);
  }

  35.7% {
    transform: scale(1.018);
    filter: blur(1px);
  }

  64.3% {
    transform: scale(1.04);
    filter: blur(4px);
  }

  85.7% {
    transform: scale(1.058);
    filter: blur(8px);
  }

  100% {
    transform: scale(1.065);
    filter: blur(12px);
  }
}

@keyframes titleSink {
  0%,
  8.6% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }

  35.7% {
    opacity: 0.86;
    transform: translateY(-4px) scale(1.01);
    filter: blur(2px);
  }

  64.3% {
    opacity: 0.36;
    transform: translateY(-12px) scale(1.024);
    filter: blur(7px);
  }

  85.7% {
    opacity: 0.08;
    transform: translateY(-18px) scale(1.03);
    filter: blur(12px);
  }

  100% {
    opacity: 0;
    transform: translateY(-20px) scale(1.03);
    filter: blur(14px);
  }
}

@keyframes labelSink {
  0%,
  8.6% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }

  35.7% {
    opacity: 0.84;
    transform: translateY(-1px) scale(1.01);
    filter: blur(2px);
  }

  64.3% {
    opacity: 0.22;
    transform: translateY(-6px) scale(1.035);
    filter: blur(8px);
  }

  85.7% {
    opacity: 0.05;
    transform: translateY(-10px) scale(1.045);
    filter: blur(14px);
  }

  100% {
    opacity: 0;
    transform: translateY(-12px) scale(1.05);
    filter: blur(16px);
  }
}

@keyframes gateVesselSink {
  0% {
    transform: scale(1);
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.52);
  }

  4.3% {
    transform: scale(0.98);
  }

  8.6% {
    transform: scale(1.02);
  }

  35.7% {
    transform: scale(1.02);
    opacity: 0.96;
    border-color: rgba(255, 255, 255, 0.42);
  }

  64.3% {
    transform: scale(1.012);
    opacity: 0.82;
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.42),
      inset 0 -18px 28px rgba(69, 86, 105, 0.18),
      0 22px 58px rgba(8, 11, 18, 0.38);
  }

  85.7% {
    transform: scale(1);
    opacity: 0.48;
    border-color: rgba(255, 255, 255, 0.1);
  }

  100% {
    transform: scale(0.992);
    opacity: 0.2;
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.12),
      0 12px 32px rgba(6, 8, 12, 0.48);
  }
}

@keyframes gateHighlightSink {
  0%,
  35.7% {
    opacity: 0.8;
  }

  64.3% {
    opacity: 0.34;
  }

  85.7%,
  100% {
    opacity: 0.1;
  }
}

@keyframes gateGlowSink {
  0%,
  8.6% {
    opacity: 0.74;
  }

  35.7% {
    opacity: 0.88;
  }

  64.3% {
    opacity: 0.44;
  }

  85.7%,
  100% {
    opacity: 0.08;
  }
}

@keyframes coreLightFade {
  0%,
  35.7% {
    opacity: 0.94;
    transform: scale(1);
  }

  64.3% {
    opacity: 0.36;
    transform: scale(1.02);
  }

  85.7%,
  100% {
    opacity: 0;
    transform: scale(1.04);
  }
}

@keyframes coreWellOpen {
  0%,
  8.6% {
    opacity: 0;
    transform: scale(0.72);
    filter: blur(8px);
  }

  35.7% {
    opacity: 0.36;
    transform: scale(0.88);
    filter: blur(5px);
  }

  64.3% {
    opacity: 0.84;
    transform: scale(1);
    filter: blur(2px);
  }

  85.7% {
    opacity: 0.96;
    transform: scale(1.06);
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: scale(1.08);
    filter: blur(0);
  }
}

@media (max-width: 900px) {
  :root {
    --landing-shell-pad-x: clamp(20px, 6vw, 42px);
    --landing-shell-pad-bottom: clamp(56px, 10vw, 88px);
  }

  .landing-shell {
    padding-inline: var(--landing-shell-pad-x);
  }

  .gate-title {
    font-size: clamp(3.6rem, 10vw, 4.7rem);
  }

  .gate-button {
    width: min(100%, 20rem);
  }

  .seo-intro-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --landing-shell-pad-x: 18px;
    --landing-shell-pad-top: 24px;
    --landing-shell-pad-bottom: 64px;
  }

  .landing-shell {
    padding: var(--landing-shell-pad-top) var(--landing-shell-pad-x) var(--landing-shell-pad-bottom);
  }

  .consciousness-gate {
    gap: 1.55rem;
  }

  .gate-title {
    font-size: clamp(2.8rem, 13.6vw, 3.9rem);
    letter-spacing: 0.14em;
  }

  .gate-button {
    width: min(100%, 16.8rem);
    padding: 1.45rem;
  }

  .gate-button-title {
    font-size: clamp(1.12rem, 5.8vw, 1.42rem);
  }

  .gate-button-sub {
    font-size: 0.9rem;
  }

  .seo-intro {
    margin-top: 1rem;
  }

  .seo-card {
    padding: 1.2rem 1.05rem;
    border-radius: 22px;
  }

  .seo-card p {
    line-height: 1.82;
  }

  .bg-water {
    background-position: center 52%;
  }

  .bg-light {
    background-position: center 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-water,
  .bg-light,
  .bg-mist,
  .bg-water::before,
  .bg-water::after,
  .bg-light::before,
  .bg-light::after,
  .bg-mist::before,
  .gate-title,
  .gate-button {
    animation: none;
  }

  .landing-bg > div,
  .consciousness-gate,
  .gate-title,
  .gate-button,
  .seo-links a,
  .gate-button-label,
  .gate-button::before,
  .gate-button::after,
  .gate-button-core::before,
  .gate-button-core::after {
    transition:
      opacity 180ms ease-out,
      transform 180ms ease-out,
      filter 180ms ease-out;
  }

  .landing-page:not(.is-entering-consciousness) .gate-button:hover,
  .landing-page:not(.is-entering-consciousness) .gate-button:focus-visible,
  .landing-page:not(.is-entering-consciousness) .gate-button:active {
    transform: none;
  }

  .landing-page.is-entering-consciousness .bg-gradient,
  .landing-page.is-entering-consciousness .bg-water,
  .landing-page.is-entering-consciousness .bg-light,
  .landing-page.is-entering-consciousness .bg-mist,
  .landing-page.is-entering-consciousness .bg-vignette,
  .landing-page.is-entering-consciousness .transition-darkness,
  .landing-page.is-entering-consciousness .consciousness-gate,
  .landing-page.is-entering-consciousness .gate-title,
  .landing-page.is-entering-consciousness .gate-button,
  .landing-page.is-entering-consciousness .gate-button-label,
  .landing-page.is-entering-consciousness .gate-button::before,
  .landing-page.is-entering-consciousness .gate-button::after,
  .landing-page.is-entering-consciousness .gate-button-core::before,
  .landing-page.is-entering-consciousness .gate-button-core::after {
    animation: none !important;
  }

  .landing-page.is-entering-consciousness .bg-gradient {
    opacity: 0.56;
    filter: brightness(0.4);
  }

  .landing-page.is-entering-consciousness .bg-water {
    opacity: 0.18;
    filter: blur(6px) brightness(0.42);
  }

  .landing-page.is-entering-consciousness .bg-light {
    opacity: 0.04;
  }

  .landing-page.is-entering-consciousness .bg-mist {
    opacity: 0.72;
    filter: blur(32px);
  }

  .landing-page.is-entering-consciousness .bg-vignette {
    opacity: 0.66;
  }

  .landing-page.is-entering-consciousness .transition-darkness {
    opacity: 0.94;
  }

  .landing-page.is-entering-consciousness .consciousness-gate {
    transform: scale(1.02);
    filter: blur(4px);
  }

  .landing-page.is-entering-consciousness .gate-title,
  .landing-page.is-entering-consciousness .gate-button-label {
    opacity: 0;
  }

  .landing-page.is-entering-consciousness .gate-button {
    opacity: 0.24;
  }

  .landing-page.is-entering-consciousness .gate-button-core::before {
    opacity: 0;
  }

  .landing-page.is-entering-consciousness .gate-button-core::after {
    opacity: 1;
    transform: scale(1.04);
    filter: blur(0);
  }
}
