@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Instrument+Serif:ital@0;1&display=swap');

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

:root {
  --void: #0F1216;
  --ash: #C9D1D9;
  --void-mid: #161b22;
  --void-deep: #0a0d10;
  --ash-dim: rgba(201, 209, 217, 0.4);
  --ash-ghost: rgba(201, 209, 217, 0.08);
  --ash-faint: rgba(201, 209, 217, 0.03);
  --line: rgba(201, 209, 217, 0.12);
  --font-display: 'Syne', sans-serif;
  --font-body: 'Instrument Serif', serif;
}

html {
  background: var(--void);
  color: var(--ash);
  font-family: var(--font-display);
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  background: var(--void);
}

/* ─── NOISE OVERLAY ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 9999;
}

/* ─── SITE SHELL — nav ─── */
#site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 18, 22, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

#site-nav .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 56px;
}

#site-nav .logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: var(--ash);
  text-decoration: none;
  transition: opacity 0.2s;
}

#site-nav .logo:hover {
  opacity: 0.65;
}

#site-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

#site-nav .nav-links a {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(201, 209, 217, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

#site-nav .nav-links a:hover {
  color: var(--ash);
}

#site-nav .hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--ash);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

@media (max-width: 680px) {
  #site-nav .hamburger {
    display: block;
  }

  #site-nav .nav-links {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--void-mid);
    border-bottom: 1px solid var(--line);
    padding: 1rem 2rem;
  }

  #site-nav .nav-links.active {
    display: flex;
  }

  #site-nav .nav-links a {
    padding: 0.75rem 0;
    width: 100%;
    border-bottom: 1px solid var(--line);
  }

  #site-nav .nav-links a:last-child {
    border-bottom: none;
  }
}

/* ─── SITE SHELL — footer ─── */
#site-footer footer {
  border-top: 1px solid var(--line);
  padding: 2rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(201, 209, 217, 0.25);
}

#site-footer footer a {
  color: rgba(201, 209, 217, 0.4);
  text-decoration: none;
  transition: color 0.2s;
}

#site-footer footer a:hover {
  color: var(--ash);
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 6rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.07;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: var(--ash);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: breathe 8s ease-in-out infinite;
}

.hero-orb-2 {
  width: 300px;
  height: 300px;
  background: var(--ash);
  top: 20%;
  right: 10%;
  animation: drift 12s ease-in-out infinite alternate;
  opacity: 0.04;
}

@keyframes breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.07; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.1; }
}

@keyframes drift {
  0% { transform: translateY(0); }
  100% { transform: translateY(40px); }
}

/* Radial grid lines */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ash-dim);
  margin-bottom: 2rem;
  font-weight: 500;
}

.eyebrow::before,
.eyebrow::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--ash-dim);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--ash);
  margin-bottom: 2rem;
}

.hero h1 em {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 400;
  color: rgba(201, 209, 217, 0.55);
}

.hero-sub {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--ash-dim);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto 3rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ash);
  color: var(--void);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-primary:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--ash);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 28px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}

.btn-ghost:hover {
  border-color: var(--ash-dim);
  transform: translateY(-1px);
}

/* ─── SCROLL INDICATOR ─── */
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(201, 209, 217, 0.25);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 1;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(201,209,217,0.25), transparent);
  animation: scroll-drop 2s ease-in-out infinite;
}

@keyframes scroll-drop {
  0%, 100% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  50% { opacity: 0.4; }
}

/* ─── SECTION BASE ─── */
.section {
  padding: 7rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-full {
  padding: 7rem 2rem;
}

.section-label {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(201, 209, 217, 0.3);
  margin-bottom: 1rem;
  font-weight: 600;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ash);
  margin-bottom: 1.5rem;
}

.section-title em {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 400;
  color: var(--ash-dim);
}

/* ─── DIVIDER ─── */
.divider {
  width: 100%;
  height: 1px;
  background: var(--line);
  margin: 0 auto;
}

/* ─── ABOUT / INTRO ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.about-left {
  position: sticky;
  top: 8rem;
}

.about-right p {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--ash-dim);
  margin-bottom: 1.5rem;
}

.about-right p strong {
  font-style: normal;
  color: var(--ash);
}

/* ─── FEATURE CARDS ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature-card {
  background: var(--void);
  padding: 2.5rem;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ash-dim), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  background: var(--ash-ghost);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-num {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(201, 209, 217, 0.2);
  margin-bottom: 2rem;
  font-weight: 600;
}

.feature-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--ash-dim);
  font-size: 16px;
  transition: border-color 0.3s, color 0.3s;
}

.feature-card:hover .feature-icon {
  border-color: var(--ash-dim);
  color: var(--ash);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ash);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(201, 209, 217, 0.45);
  line-height: 1.7;
}

/* ─── MARQUEE ─── */
.marquee-wrap {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 0;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-item {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(201, 209, 217, 0.2);
  white-space: nowrap;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4rem;
}

.marquee-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(201, 209, 217, 0.2);
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── STATEMENT ─── */
.statement-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.statement-bg-char {
  position: absolute;
  font-size: 40vw;
  font-weight: 800;
  color: rgba(201, 209, 217, 0.012);
  user-select: none;
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
  letter-spacing: -0.05em;
  font-family: var(--font-display);
}

.statement-quote {
  position: relative;
  z-index: 1;
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.4;
  color: var(--ash);
  max-width: 820px;
  margin: 0 auto;
}

.statement-attr {
  margin-top: 2rem;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(201, 209, 217, 0.3);
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 500;
}

/* ─── MANIFESTO LIST ─── */
.manifesto-list {
  counter-reset: manifesto;
  list-style: none;
}

.manifesto-item {
  counter-increment: manifesto;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background 0.2s;
}

.manifesto-item:first-child {
  border-top: 1px solid var(--line);
}

.manifesto-num {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(201, 209, 217, 0.2);
  padding-top: 4px;
  font-weight: 600;
}

.manifesto-num::before {
  content: counter(manifesto, decimal-leading-zero);
}

.manifesto-text {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--ash-dim);
}

.manifesto-text strong {
  font-style: normal;
  color: var(--ash);
}

/* ─── CTA SECTION ─── */
.cta-section {
  text-align: center;
  padding: 10rem 2rem;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  border: 1px solid var(--line);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cta-section::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid var(--line);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.6;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-section .section-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  margin-bottom: 2rem;
}

.cta-section .section-title em {
  display: block;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-left {
    position: static;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: clamp(3.5rem, 16vw, 5rem);
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .manifesto-item {
    grid-template-columns: 48px 1fr;
    gap: 1rem;
  }
}

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
}