:root {
  --bg: #0a0d0d;
  --panel: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f3efe4;
  --muted: rgba(243, 239, 228, 0.72);
  --accent: #afff5d;
  --accent-soft: rgba(175, 255, 93, 0.18);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 20%, rgba(175, 255, 93, 0.12), transparent 28%),
    radial-gradient(circle at 80% 18%, rgba(109, 150, 255, 0.14), transparent 30%),
    linear-gradient(180deg, #0d1212 0%, #090909 54%, #050605 100%);
  color: var(--text);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 88%);
  pointer-events: none;
}

.page-shell {
  position: relative;
  z-index: 1;
}

.site-header,
.hero,
.intro-band,
.projects,
.method,
.final-cta {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.brand,
.site-nav a,
.project-links a,
.button {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: var(--text);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #111;
  font-weight: 700;
}

.brand-name {
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: inline-flex;
  gap: 22px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 34px;
  min-height: calc(100svh - 96px);
  align-items: center;
  padding: 40px 0 72px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.hero h1,
.section-heading h2,
.final-cta h2 {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(3.5rem, 8vw, 7.4rem);
  line-height: 0.96;
}

.hero h1 span {
  color: var(--accent);
  display: block;
}

.hero-body {
  max-width: 38rem;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.95rem;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--accent);
  color: #101010;
  border-color: transparent;
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.hero-visual {
  position: relative;
  min-height: 520px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 55%),
    linear-gradient(180deg, rgba(175, 255, 93, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.hero-visual::after {
  inset: 56px;
}

.orbital {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  animation: floatOrbit 18s linear infinite;
}

.orbital-a {
  width: 440px;
  height: 440px;
  top: 38px;
  right: -82px;
}

.orbital-b {
  width: 240px;
  height: 240px;
  left: -30px;
  bottom: 36px;
  animation-duration: 11s;
  animation-direction: reverse;
}

.signal-grid {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  display: grid;
  gap: 10px;
}

.signal-grid span {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: rgba(9, 11, 11, 0.74);
  color: var(--muted);
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
}

.intro-band {
  padding: 26px 0 42px;
  border-top: 1px solid var(--line);
}

.intro-band p {
  max-width: 54rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.projects,
.method,
.final-cta {
  padding: 72px 0;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 52rem;
}

.section-heading h2,
.final-cta h2 {
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  line-height: 0.98;
}

.project-list {
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.project-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.75fr;
  gap: 24px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease, transform 180ms ease;
}

.project-row:hover {
  background: rgba(255, 255, 255, 0.02);
  transform: translateX(6px);
}

.project-status {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-meta h3,
.method-grid h3 {
  margin: 0;
  font-size: 1.45rem;
}

.project-summary,
.method-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.project-links {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.project-links a,
.project-links span {
  font-size: 0.95rem;
}

.project-links a {
  color: var(--text);
}

.project-links span {
  color: var(--muted);
}

.project-row.live .project-links a::after {
  content: " ->";
  color: var(--accent);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.method-grid > div {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.final-cta {
  border-top: 1px solid var(--line);
  padding-bottom: 96px;
}

@keyframes floatOrbit {
  from {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.03);
  }
  to {
    transform: rotate(360deg) scale(1);
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 24px;
  }

  .project-row,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 420px;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .site-nav {
    gap: 16px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 48px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-visual::after {
    inset: 38px;
  }

  .orbital-a {
    width: 320px;
    height: 320px;
    top: 14px;
    right: -70px;
  }

  .orbital-b {
    width: 180px;
    height: 180px;
    left: -42px;
    bottom: 20px;
  }
}
