:root {
  --bg: #020410;
  --text: #e0dded;
  --text-soft: #a8acbf;
  --muted: #686c84;
  --border: rgba(80, 90, 150, 0.16);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
}

body {
  min-height: 100%;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 46%, rgba(12, 18, 48, 0.5) 0%, transparent 42%),
    radial-gradient(circle at 50% 46%, rgba(8, 12, 36, 0.35) 0%, transparent 58%),
    linear-gradient(180deg, #070b1e 0%, #04071a 40%, #020410 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#scene {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.page {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 1.4rem 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.brand img {
  width: 24px;
  height: 24px;
}

.brand span {
  font-weight: 600;
  letter-spacing: 0.15em;
  font-size: 0.82rem;
}

.header-cta {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 0.95rem;
  transition: color 200ms, border-color 200ms;
}

.header-cta:hover {
  color: var(--text);
  border-color: rgba(80, 90, 150, 0.4);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  pointer-events: none;
  opacity: 0;
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.3s;
}

main > * {
  pointer-events: auto;
}

.eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.6rem;
}

h1 {
  font-family: "Instrument Serif", serif;
  font-size: clamp(2.8rem, 7.5vw, 5.2rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.015em;
}

.sub {
  margin-top: 1.4rem;
  font-size: 1.02rem;
  color: var(--text-soft);
  max-width: 34ch;
  line-height: 1.55;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  margin-top: 2.4rem;
  padding: 0.65rem 1.5rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: #0a0e20;
  background: #e4e2f0;
  border-radius: 8px;
  transition: background 200ms, transform 150ms;
}

.cta-button:hover {
  background: #f4f2ff;
  transform: translateY(-1px);
}

/* --- About section --- */

.about {
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(2, 4, 16, 0) 0%,
    rgba(2, 4, 16, 1) 5rem,
    rgba(2, 4, 16, 1) 100%
  );
  padding: 6rem 1.5rem 5rem;
}

.about-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.section-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.4rem;
}

h2 {
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.about-lead {
  margin-top: 1.2rem;
  font-size: 1rem;
  color: var(--text-soft);
  max-width: 48ch;
  margin-inline: auto;
  line-height: 1.6;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  text-align: left;
}

.pillar h3 {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.7rem;
}

.pillar p {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.55;
}

/* --- Logos bar (placeholder) --- */

.logos-bar {
  position: relative;
  background: var(--bg);
  padding: 3rem 1.5rem;
  text-align: center;
}

.logos-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.8rem;
}

.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  opacity: 0.5;
}

.logos-row img {
  height: 28px;
  filter: grayscale(1) brightness(1.6);
  transition: opacity 200ms;
}

.logos-row img:hover {
  opacity: 0.8;
}

/* --- Footer --- */

footer {
  text-align: center;
  padding: 1.5rem;
  color: var(--muted);
  font-size: 0.76rem;
  background: var(--bg);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  header {
    padding: 1rem;
  }

  main {
    padding: 2rem 1rem;
  }

  .sub {
    font-size: 0.92rem;
  }

  .about {
    padding: 4rem 1rem 3.5rem;
  }

  .pillars {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    margin-top: 2.5rem;
  }
}

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

  main {
    opacity: 1;
  }
}
