/* --- Variables --- */
:root {
  --bg: #0a0a0b;
  --bg-elevated: #121214;
  --text: #e8e6e3;
  --text-muted: #8c8986;
  --accent: #c9a227;
  --accent-dim: rgba(201, 162, 39, 0.15);
  --ring: rgba(201, 162, 39, 0.4);
  --border: rgba(255, 255, 255, 0.06);
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --space: 1.5rem;
  --radius: 8px;
}

/* --- Reset & base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

/* --- Noise overlay --- */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space) 2rem;
  background: linear-gradient(to bottom, var(--bg) 60%, transparent);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 1.125rem;
}

.logo-ring {
  color: var(--accent);
  font-size: 1.5rem;
  line-height: 1;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--text);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
}

.hero-ring {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.ring {
  position: absolute;
  border: 1px solid var(--ring);
  border-radius: 50%;
  opacity: 0.6;
  animation: pulse-ring 8s ease-in-out infinite;
}

.ring-1 { width:  min(70vmin, 320px); height: min(70vmin, 320px); animation-delay: 0s; }
.ring-2 { width:  min(50vmin, 240px); height: min(50vmin, 240px); animation-delay: -2.5s; }
.ring-3 { width:  min(30vmin, 160px); height: min(30vmin, 160px); animation-delay: -5s; }

@keyframes pulse-ring {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.02); }
}

.hero-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
}

.hero-title .line {
  display: block;
}

.hero-title .accent {
  color: var(--accent);
  font-style: italic;
}

.hero-tagline {
  position: relative;
  z-index: 1;
  max-width: 36ch;
  margin: 0 0 2.5rem;
  color: var(--text-muted);
  font-size: 1.125rem;
}

.hero-cta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background: #d4af37;
  border-color: #d4af37;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* --- Sections --- */
.section {
  padding: 5rem 1.5rem;
}

.container {
  max-width: 720px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 400;
  margin: 0 0 1rem;
  color: var(--text);
}

.section-lead {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin: 0 0 3rem;
  line-height: 1.7;
}

/* --- Vision / Pillars --- */
.vision {
  background: var(--bg-elevated);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.pillar {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s;
}

.pillar:hover {
  border-color: var(--accent-dim);
  background: var(--accent-dim);
}

.pillar-icon {
  font-size: 1.75rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.pillar h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.pillar p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- Research --- */
.research-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.research-list li {
  position: relative;
  padding: 0.75rem 0 0.75rem 1.75rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.research-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.research-list li:last-child {
  border-bottom: none;
}

/* --- CTA --- */
.cta {
  padding: 6rem 1.5rem;
}

.cta-inner {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, var(--accent-dim) 0%, transparent 50%);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 400;
  margin: 0 0 0.75rem;
}

.cta-text {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

/* --- Footer --- */
.footer {
  padding: 2rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* --- Responsive --- */
@media (max-width: 640px) {
  .header { padding: var(--space) 1rem; }
  .nav { gap: 1.25rem; }
  .hero { padding: 5rem 1rem 3rem; }
  .hero-cta { flex-direction: column; }
  .btn { width: 100%; max-width: 280px; }
}
