:root {
  --bg: #07111f;
  --bg-deep: #030814;
  --panel: rgba(9, 16, 32, 0.56);
  --line: rgba(135, 187, 255, 0.18);
  --text: #f6f7fb;
  --muted: rgba(246, 247, 251, 0.72);
  --soft: rgba(246, 247, 251, 0.42);
  --accent: #58d3ff;
  --accent-soft: #95ffd5;
  --glow: rgba(88, 211, 255, 0.42);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --pointer-x: 50vw;
  --pointer-y: 30vh;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Noto Sans SC", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 20%, rgba(88, 211, 255, 0.16), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(149, 255, 213, 0.12), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #081221 0%, #030814 55%, #050a12 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle 180px at var(--pointer-x) var(--pointer-y), rgba(255, 255, 255, 0.08), transparent 70%);
  pointer-events: none;
  z-index: -2;
}

.page-noise,
.page-grid,
.orb {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.page-noise {
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black, transparent 82%);
  z-index: -4;
}

.page-grid {
  inset: 4vh 3vw;
  border: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 0.7;
  z-index: -3;
}

.orb {
  filter: blur(20px);
  z-index: -5;
}

.orb-a {
  inset: auto auto 6% -8%;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 211, 255, 0.25) 0%, rgba(88, 211, 255, 0.04) 50%, transparent 72%);
  animation: driftA 18s ease-in-out infinite;
}

.orb-b {
  inset: 10% -10% auto auto;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(149, 255, 213, 0.18) 0%, rgba(149, 255, 213, 0.03) 52%, transparent 70%);
  animation: driftB 22s ease-in-out infinite;
}

.site-shell {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.hero,
.manifesto,
.atmosphere,
.site-footer {
  position: relative;
}

.hero {
  min-height: 100svh;
  padding: 28px 0 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
}

.hero-panel {
  align-self: end;
  max-width: 760px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(6, 12, 25, 0.42), rgba(6, 12, 25, 0.18));
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

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

.hero-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding-top: 10px;
  color: var(--soft);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero-code {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.18em;
  font-size: 1rem;
}

.eyebrow {
  color: var(--accent-soft);
}

.hero-kicker,
.manifesto-index,
.mark-line {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  font-size: clamp(4.6rem, 15vw, 10rem);
  line-height: 0.96;
  letter-spacing: 0.04em;
  text-shadow: 0 0 20px rgba(88, 211, 255, 0.16);
}

.hero-copy {
  width: min(28rem, 100%);
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.85;
}

.hero-trace {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  margin-top: 32px;
  color: var(--soft);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.manifesto {
  padding: 96px 0 32px;
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 44px;
}

.section-heading h2 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1.1;
  font-weight: 500;
}

.manifesto-lines {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.manifesto-item {
  min-height: 260px;
  padding: 28px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

.manifesto-item h3 {
  margin: 0 0 18px;
  font-size: 1.7rem;
  font-weight: 500;
}

.manifesto-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.atmosphere {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 36px;
  align-items: end;
  padding: 120px 0 120px;
}

.atmosphere-copy {
  max-width: 36rem;
}

.atmosphere-lead {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  line-height: 1.95;
}

.atmosphere-mark {
  display: grid;
  justify-items: end;
  gap: 18px;
}

.mark-word {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(4rem, 12vw, 9rem);
  letter-spacing: 0.14em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.22);
}

.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-note {
  margin: 0;
  color: var(--soft);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.footer-icp {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  transition: color 180ms ease, border-color 180ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent-soft);
  border-color: var(--accent-soft);
}

@keyframes driftA {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(48px, -26px, 0) scale(1.08);
  }
}

@keyframes driftB {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-36px, 28px, 0) scale(1.06);
  }
}

@media (max-width: 960px) {
  .manifesto-lines,
  .atmosphere {
    grid-template-columns: 1fr;
  }

  .atmosphere-mark {
    justify-items: start;
  }

  .hero-meta,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-trace {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {
  .site-shell,
  .site-footer {
    width: min(100% - 28px, 100%);
  }

  .page-grid {
    inset: 12px;
  }

  .hero {
    padding-bottom: 40px;
  }

  .hero-title {
    font-size: clamp(3.2rem, 20vw, 5.4rem);
  }

  .hero-copy,
  .atmosphere-lead,
  .manifesto-item p {
    line-height: 1.75;
  }

  .manifesto {
    padding-top: 72px;
  }

  .manifesto-item {
    min-height: unset;
  }

  .atmosphere {
    padding: 88px 0 88px;
  }

  .footer-icp {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

}
