/* ── TOKENS ──────────────────────────────────────────────────────────── */
:root {
  --bg:          #0d0f14;
  --bg-2:        #13161e;
  --bg-3:        #1a1e28;
  --surface:     #1e2330;
  --surface-2:   #252b3a;
  --border:      rgba(255,255,255,0.07);
  --border-2:    rgba(255,255,255,0.12);

  --ink:         #e8eaf0;
  --ink-2:       #9aa0b4;
  --ink-3:       #5c6478;

  --violet:      #7c5cfc;
  --violet-dim:  rgba(124,92,252,0.15);
  --violet-glow: rgba(124,92,252,0.35);
  --emerald:     #1dba8a;
  --emerald-dim: rgba(29,186,138,0.12);

  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   22px;
  --radius-full: 999px;

  --font-sans:   'Space Grotesk', system-ui, sans-serif;
  --font-display:'DM Serif Display', Georgia, serif;

  --max-w:       1160px;
  --gap:         clamp(1.5rem, 4vw, 3rem);
}

/* ── RESET ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
address { font-style: normal; }

/* ── UTILITIES ───────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 0.75rem;
}

.section-header {
  max-width: 580px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-header h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }

/* ── BUTTONS ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 0 0 0 var(--violet-glow);
}
.btn-primary:hover {
  background: #8f72fd;
  box-shadow: 0 0 22px 4px var(--violet-glow);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  border: 1.5px solid var(--border-2);
}
.btn-ghost:hover {
  border-color: var(--violet);
  color: var(--ink);
  background: var(--violet-dim);
}

.btn-full { width: 100%; justify-content: center; }

/* ── HEADER ──────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,15,20,0.72);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1.5rem;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.wordmark:hover { color: var(--violet); }
.wordmark-icon { color: var(--violet); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.site-nav a {
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: all 0.18s;
}
.site-nav a:hover { color: var(--ink); background: var(--surface); }
.site-nav .nav-cta {
  background: var(--violet);
  color: #fff;
  padding: 0.5rem 1.25rem;
}
.site-nav .nav-cta:hover { background: #8f72fd; color: #fff; }

/* ── HAMBURGER ───────────────────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink-2);
  border-radius: 2px;
  transition: all 0.2s;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding: 1rem 0;
}
.mobile-menu a {
  display: block;
  padding: 0.75rem clamp(1.25rem,5vw,2.5rem);
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.18s;
}
.mobile-menu a:hover { color: var(--ink); }

/* ── HERO ────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 12vw, 10rem) 0 clamp(4rem, 8vw, 7rem);
}

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

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}
.orb-1 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(124,92,252,0.45) 0%, transparent 70%);
  top: -180px; left: -120px;
  animation: drift 14s ease-in-out infinite;
}
.orb-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(29,186,138,0.3) 0%, transparent 70%);
  bottom: -120px; right: -60px;
  animation: drift 18s ease-in-out infinite reverse;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(124,92,252,0.2) 0%, transparent 70%);
  top: 40%; left: 55%;
  animation: drift 22s ease-in-out infinite 4s;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  33%       { transform: translate(30px, -20px); }
  66%       { transform: translate(-20px, 30px); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 75%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald);
  background: var(--emerald-dim);
  border: 1px solid rgba(29,186,138,0.25);
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 14ch;
}
.hero h1 em {
  font-style: italic;
  color: var(--violet);
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.1875rem);
  color: var(--ink-2);
  max-width: 52ch;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 0.25rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.badge {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-3);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.3rem 0.875rem;
  border-radius: var(--radius-full);
}

/* ── ABOUT ───────────────────────────────────────────────────────────── */
.about {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: start;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.about-text p {
  color: var(--ink-2);
  font-size: 1.0625rem;
  line-height: 1.75;
  max-width: 48ch;
}
.about-text p + p { margin-top: 1rem; }

.about-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: border-color 0.2s, background 0.2s;
}
.stat-card:hover {
  border-color: var(--violet);
  background: var(--surface-2);
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--violet);
  line-height: 1;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--ink-2);
  line-height: 1.4;
}

/* ── PRINCIPLES ──────────────────────────────────────────────────────── */
.principles {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.principle-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.principle-card:hover {
  border-color: var(--violet);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35), 0 0 0 1px var(--violet-dim);
}

.card-icon {
  color: var(--emerald);
  width: 44px;
  height: 44px;
  background: var(--emerald-dim);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.principle-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.principle-card p {
  font-size: 0.9375rem;
  color: var(--ink-2);
  line-height: 1.7;
}

/* ── MANIFESTO ───────────────────────────────────────────────────────── */
.manifesto {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.manifesto blockquote {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}
.manifesto blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.manifesto blockquote p::before { content: "\201C"; color: var(--violet); }
.manifesto blockquote p::after  { content: "\201D"; color: var(--violet); }
.manifesto blockquote footer {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--ink-3);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── CONTACT ─────────────────────────────────────────────────────────── */
.contact {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.contact-inner {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

.contact-inner .contact-details {
  align-items: center;
}

.contact-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.contact-text p {
  color: var(--ink-2);
  font-size: 1.0625rem;
  line-height: 1.75;
  max-width: 52ch;
  margin-inline: auto;
}

.contact-details {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.contact-details a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--violet);
  transition: color 0.18s;
}
.contact-details a:hover { color: #a080fe; }
.contact-details span {
  font-size: 0.9rem;
  color: var(--ink-3);
}


/* ── FOOTER ──────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: clamp(2rem, 4vw, 3.5rem) 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand .wordmark {
  font-size: 0.9375rem;
  margin-bottom: 0.375rem;
}
.footer-brand p {
  font-size: 0.85rem;
  color: var(--ink-3);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.125rem;
}
.footer-nav a {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  color: var(--ink-3);
  border-radius: var(--radius-full);
  transition: color 0.18s, background 0.18s;
}
.footer-nav a:hover { color: var(--ink); background: var(--surface); }

.footer-copy {
  width: 100%;
  font-size: 0.8125rem;
  color: var(--ink-3);
  text-align: right;
}

/* ── RESPONSIVE ──────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .site-nav { display: none; }
  .hamburger { display: flex; }

  .about-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }
  .about-aside {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .stat-card { flex: 1 1 180px; }

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

@media (max-width: 560px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-copy { text-align: left; }
  .about-aside { flex-direction: column; }
}
