/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --midnight: #0a0e1a;
  --deep-indigo: #0f172a;
  --navy: #1a2540;
  --gold: #c9a84c;
  --gold-dim: #a07e35;
  --cream: #f5f0e8;
  --cream-dim: #c8bfb0;
  --text-muted: #8892a8;
  --border: rgba(201,168,76,0.18);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--midnight);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  line-height: 1.15;
  font-weight: 600;
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--cream);
  margin-bottom: 2rem;
}

/* === NAVIGATION === */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3rem;
  background: rgba(10,14,26,0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.tenant-brand-logo {
  max-height: 1.4rem;
  width: auto;
  vertical-align: middle;
  display: inline-block;
}

.tagline {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 3rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 65% 45%, rgba(201,168,76,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 10% 80%, rgba(15,23,42,0.9) 0%, transparent 60%),
    linear-gradient(160deg, var(--midnight) 0%, #0d1220 60%, var(--midnight) 100%);
  z-index: 0;
}

/* Subtle grid overlay */
.hero-atmosphere::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, black 0%, transparent 80%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.hero-headline {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  color: var(--cream);
  margin-bottom: 1.75rem;
  font-weight: 700;
  line-height: 1.08;
}

.hero-lede {
  font-size: 1.1rem;
  color: var(--cream-dim);
  max-width: 520px;
  line-height: 1.75;
}

/* === ORBITAL VISUAL === */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbital-ring {
  position: relative;
  width: 320px;
  height: 320px;
}

.core-node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.sat-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.sat-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(201,168,76,0.6), 0 0 4px rgba(201,168,76,0.9);
}

.sat-label {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.sat-1 { top: 5%; left: 50%; transform: translateX(-50%); }
.sat-2 { top: 35%; right: 2%; }
.sat-3 { bottom: 35%; right: 2%; }
.sat-4 { bottom: 5%; left: 50%; transform: translateX(-50%); }

/* Ring orbit line */
.orbital-ring::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  transform: translate(-50%, -50%) rotate(-30deg);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 50%;
}

.orbital-ring::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  height: 280px;
  transform: translate(-50%, -50%) rotate(15deg);
  border: 1px solid rgba(201,168,76,0.07);
  border-radius: 50%;
  border-style: dashed;
}

/* === HERO STATS === */
.hero-stats {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 1200px;
  margin: 4rem auto 0;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.stat {
  flex: 1;
  padding: 0 2rem;
}

.stat:first-child { padding-left: 0; }

.stat-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--border);
  flex-shrink: 0;
}

/* === AGENTS SECTION === */
.agents {
  padding: 7rem 3rem;
  background: var(--deep-indigo);
  position: relative;
}

.agents::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.3;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.agent-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.agent-card {
  background: rgba(26,37,64,0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.agent-card:hover {
  border-color: rgba(201,168,76,0.45);
  transform: translateY(-4px);
}

.agent-icon {
  margin-bottom: 1.25rem;
  opacity: 0.85;
}

.agent-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  color: var(--cream);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.agent-card p {
  font-size: 0.875rem;
  color: var(--cream-dim);
  line-height: 1.65;
}

/* === CURRICULUM SECTION === */
.curriculum {
  padding: 7rem 3rem;
  background: var(--midnight);
}

.curriculum-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.curriculum-body {
  font-size: 1rem;
  color: var(--cream-dim);
  line-height: 1.75;
  margin-top: 1.5rem;
}

.curriculum-categories {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cat-tag {
  display: inline-block;
  padding: 0.45rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  color: var(--cream-dim);
  letter-spacing: 0.04em;
}

.cat-tag.cat-accent {
  background: rgba(201,168,76,0.15);
  border-color: rgba(201,168,76,0.4);
  color: var(--gold);
}

.cat-tag.cat-outline {
  background: transparent;
  border: 1px solid rgba(200,191,176,0.2);
  color: var(--text-muted);
}

/* === VISION SECTION === */
.vision {
  padding: 7rem 3rem;
  background: var(--deep-indigo);
}

.vision-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.vision-quote {
  max-width: 760px;
  margin: 0 auto 5rem;
  text-align: center;
  position: relative;
}

.vision-quote::before {
  content: '\201C';
  font-family: 'Cormorant Garamond', serif;
  font-size: 8rem;
  color: var(--gold);
  opacity: 0.15;
  position: absolute;
  top: -2rem;
  left: -1rem;
  line-height: 1;
}

.vision-quote blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-style: italic;
  color: var(--cream);
  line-height: 1.5;
  font-weight: 400;
  position: relative;
  z-index: 1;
}

.vision-attr {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.vision-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  border-top: 1px solid var(--border);
  padding-top: 3rem;
}

.pillar {}

.pillar-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.pillar h4 {
  font-size: 1.15rem;
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.pillar p {
  font-size: 0.875rem;
  color: var(--cream-dim);
  line-height: 1.7;
}

/* === MANIFESTO SECTION === */
.manifesto {
  padding: 8rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.manifesto::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(201,168,76,0.05) 0%, transparent 70%);
}

.manifesto-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.manifesto-headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--cream);
  margin-bottom: 2.5rem;
  line-height: 1.1;
}

.manifesto-body {
  margin-bottom: 3rem;
}

.manifesto-body p {
  font-size: 1.05rem;
  color: var(--cream-dim);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.manifesto-body p:last-child { margin-bottom: 0; }

.manifesto-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.manifesto-tags span {
  padding: 0.4rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

/* === FOOTER === */
.site-footer {
  padding: 4rem 3rem 3rem;
  background: var(--midnight);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  gap: 3rem;
}

.footer-brand .wordmark {
  display: block;
  margin-bottom: 0.75rem;
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 300px;
  line-height: 1.65;
}

.footer-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 0.85rem; font-size: 0.85rem; }
.footer-nav a { color: var(--cream-dim); text-decoration: none; font-weight: 500; letter-spacing: 0.04em; transition: color 0.15s; }
.footer-nav a:hover { color: var(--gold); }
.footer-nav-sep { color: var(--border); user-select: none; }

.footer-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: right;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .agent-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .curriculum-inner { grid-template-columns: 1fr; gap: 3rem; }
  .vision-pillars { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .topbar { padding: 1rem 1.5rem; }
  .hero { padding: 7rem 1.5rem 3rem; }
  .agents, .curriculum, .vision, .manifesto { padding: 5rem 1.5rem; }
  .agent-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 1.5rem; }
  .stat { padding: 0; text-align: center; }
  .stat-divider { display: none; }
  .footer-inner { flex-direction: column; }
  .footer-note { text-align: left; }
}

@media (max-width: 375px) {
  .hero-headline { font-size: 2.2rem; }
  .section-title { font-size: 1.75rem; }
  .manifesto-headline { font-size: 2rem; }
}