:root {
  color-scheme: dark;
  --bg: #030308;
  --bg-soft: #070812;
  --text: #f4f1e9;
  --muted: #b9b3c7;
  --quiet: #817c91;
  --gold: #d8bd72;
  --card: rgba(255, 255, 255, 0.055);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% 0%, rgba(42, 31, 107, 0.42), transparent 34rem),
    linear-gradient(180deg, var(--bg), #05050d 42%, #030308);
  color: var(--text);
  font-family: Inter, Geist, Satoshi, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  position: relative;
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 6.5rem 1.5rem 4rem;
  isolation: isolate;
}

.hero-video,
.cosmic-field,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-video {
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

.cosmic-field {
  z-index: -4;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(216, 189, 114, 0.13), transparent 10rem),
    radial-gradient(circle at 20% 20%, rgba(141, 116, 255, 0.22), transparent 18rem),
    radial-gradient(circle at 78% 26%, rgba(69, 107, 255, 0.14), transparent 20rem),
    linear-gradient(145deg, #020207, #090819 46%, #030308);
}

.cosmic-field::before,
.cosmic-field::after {
  content: "";
  position: absolute;
  inset: -20%;
  background-image:
    radial-gradient(circle, rgba(255, 246, 218, 0.9) 0 1px, transparent 1.7px),
    radial-gradient(circle, rgba(141, 116, 255, 0.62) 0 1px, transparent 1.6px);
  background-position: 0 0, 2rem 3rem;
  background-size: 7rem 7rem, 11rem 11rem;
  opacity: 0.18;
  animation: drift 42s linear infinite;
}

.cosmic-field::after {
  filter: blur(1px);
  opacity: 0.13;
  animation-duration: 68s;
  animation-direction: reverse;
}

.orb {
  position: absolute;
  width: 26rem;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(54px);
  opacity: 0.22;
}

.orb-a {
  top: 16%;
  left: 10%;
  background: #8d74ff;
  animation: pulse 9s ease-in-out infinite;
}

.orb-b {
  right: 8%;
  bottom: 18%;
  background: #d8bd72;
  animation: pulse 11s ease-in-out infinite 1.5s;
}

.orb-c {
  top: 42%;
  left: 50%;
  background: #3447d8;
  transform: translateX(-50%);
  animation: pulse 12s ease-in-out infinite 0.6s;
}

.mandala {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(56vw, 42rem);
  aspect-ratio: 1;
  border: 1px solid rgba(216, 189, 114, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.34;
  animation: rotateQuiet 52s linear infinite;
}

.mandala::before,
.mandala::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(141, 116, 255, 0.18);
  transform: rotate(45deg);
}

.mandala::after {
  inset: 26%;
  border-color: rgba(216, 189, 114, 0.24);
  border-radius: 50%;
  transform: rotate(0deg);
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(3, 3, 8, 0.78), rgba(3, 3, 8, 0.38) 42%, rgba(3, 3, 8, 0.95)),
    radial-gradient(circle at center, rgba(3, 3, 8, 0.08), rgba(3, 3, 8, 0.72) 74%);
}

.site-header {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 4;
  display: flex;
  width: min(100%, var(--max));
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  transform: translateX(-50%);
}

.brand-mark,
.nav-links {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-mark {
  color: var(--text);
}

.header-actions,
.nav-links,
.language-toggle {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: 1.1rem;
}

.nav-links {
  gap: 1.25rem;
  color: rgba(244, 241, 233, 0.64);
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--gold);
}

.language-toggle {
  gap: 0.15rem;
  min-height: 2.15rem;
  padding: 0.18rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(3, 3, 8, 0.42);
  backdrop-filter: blur(18px);
}

.lang-button {
  min-height: 1.68rem;
  padding: 0 0.62rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(244, 241, 233, 0.58);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lang-button:hover,
.lang-button.is-active {
  background: rgba(216, 189, 114, 0.14);
  color: var(--text);
}

.hero-content {
  width: min(100%, 62rem);
  margin: 0 auto;
  text-align: center;
}

.eyebrow,
.section-kicker,
.stage-number {
  margin: 0;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", Geist, Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  margin-top: 1.1rem;
  font-size: clamp(3.6rem, 9vw, 8.7rem);
  line-height: 0.9;
  text-wrap: balance;
}

.hero-copy {
  width: min(100%, 44rem);
  margin: 1.65rem auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.75;
}

.hero-copy p {
  margin: 0;
}

.hero-copy .wisdom-line {
  margin-top: 1.1rem;
  color: var(--text);
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  margin-top: 2.25rem;
  padding: 0 1.25rem;
  border: 1px solid rgba(216, 189, 114, 0.34);
  border-radius: 999px;
  background: rgba(216, 189, 114, 0.08);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.primary-link:hover {
  border-color: rgba(216, 189, 114, 0.72);
  background: rgba(216, 189, 114, 0.13);
  transform: translateY(-2px);
}

.section-pad {
  padding: clamp(5rem, 9vw, 9rem) 1.5rem;
}

.concept,
.stages,
.closing {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.concept::before,
.closing::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 78% 10%, rgba(141, 116, 255, 0.12), transparent 28rem);
}

.concept-grid,
.section-heading,
.stage-grid,
.closing-inner {
  position: relative;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.concept-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.75fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
  margin-top: 1rem;
}

.concept h2,
.section-heading h2,
.closing h2 {
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 1.02;
  text-wrap: balance;
}

.concept-copy {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.85;
}

.concept-copy p {
  margin: 0 0 1.1rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.section-heading h2 {
  max-width: 56rem;
}

.stage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.stage-card {
  min-height: 20rem;
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    var(--card);
  box-shadow: var(--shadow);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.stage-card:hover {
  border-color: rgba(216, 189, 114, 0.34);
  background:
    linear-gradient(180deg, rgba(216, 189, 114, 0.095), rgba(255, 255, 255, 0.025)),
    var(--card);
  transform: translateY(-4px);
}

.stage-card-featured {
  background:
    radial-gradient(circle at 80% 0%, rgba(216, 189, 114, 0.16), transparent 16rem),
    linear-gradient(180deg, rgba(216, 189, 114, 0.11), rgba(255, 255, 255, 0.025));
}

.stage-card h3 {
  margin-top: 5.5rem;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
}

.stage-card p {
  max-width: 20rem;
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.closing {
  min-height: 78svh;
  display: grid;
  place-items: center;
  text-align: center;
}

.closing-inner {
  max-width: 54rem;
}

.closing h2 {
  margin-top: 1rem;
}

.closing-line {
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.contact-form {
  width: min(100%, 31rem);
  margin: 3rem auto 0;
  text-align: left;
}

.contact-form label {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--quiet);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
}

input,
button {
  min-height: 3.1rem;
  border-radius: 999px;
  font: inherit;
}

input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  padding: 0 1rem;
  outline: none;
}

input:focus {
  border-color: rgba(216, 189, 114, 0.6);
}

button {
  border: 1px solid rgba(216, 189, 114, 0.35);
  background: rgba(216, 189, 114, 0.12);
  color: var(--text);
  cursor: pointer;
  font-weight: 600;
  padding: 0 1.1rem;
  transition: background 180ms ease, border-color 180ms ease;
}

button:hover {
  border-color: rgba(216, 189, 114, 0.72);
  background: rgba(216, 189, 114, 0.18);
}

.form-note {
  min-height: 1.4rem;
  margin: 0.7rem 0 0;
  color: var(--quiet);
  font-size: 0.86rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  to {
    transform: translate3d(4rem, -4rem, 0) rotate(8deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.16;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.28;
    transform: scale(1.05);
  }
}

@keyframes rotateQuiet {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 820px) {
  .site-header {
    padding: 1.15rem;
  }

  .nav-links {
    display: none;
  }

  .header-actions {
    gap: 0;
  }

  .hero {
    min-height: 94svh;
    padding: 5.5rem 1rem 3rem;
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 5.2rem);
  }

  .concept-grid,
  .section-heading,
  .stage-grid {
    display: block;
  }

  .concept-copy {
    margin-top: 1.5rem;
  }

  .stage-card {
    min-height: 14rem;
    margin-top: 0.8rem;
  }

  .stage-card h3 {
    margin-top: 3.5rem;
  }

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

  button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-copy {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .section-pad {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .mandala {
    width: 92vw;
  }
}
