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

:root {
  --bg: #0e0c09;
  --surface: #161210;
  --surface-2: #1e1a14;
  --border: #2a2018;
  --accent: #c8922a;
  --accent-dim: #8a5a1a;
  --accent-bright: #e8a840;
  --text: #f0e6d3;
  --text-muted: #8a7a68;
  --text-dim: #5a4e3a;
  --ff-head: 'Cormorant Garamond', Georgia, serif;
  --ff-body: 'Space Grotesk', 'Helvetica Neue', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 60px 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(200,146,42,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(200,146,42,0.03) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto auto;
  gap: 0;
  align-items: start;
}

.hero-eyebrow {
  grid-column: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 12px var(--accent); }
  50% { opacity: 0.6; box-shadow: 0 0 4px var(--accent); }
}

.eyebrow-label {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-headline {
  grid-column: 1;
  font-family: var(--ff-head);
  font-size: clamp(72px, 9vw, 120px);
  font-weight: 700;
  line-height: 0.92;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 36px;
}

.hero-sub {
  grid-column: 1;
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.hero-metric-strip {
  grid-column: 1;
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 0;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.metric {
  padding-right: 32px;
}

.metric-value {
  display: block;
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.metric-label {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.metric-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
  margin: 0 32px 0 0;
}

.altitude-graphic {
  grid-column: 2;
  grid-row: 1 / 6;
  padding: 0 0 0 48px;
  display: flex;
  align-items: center;
}

.altitude-svg {
  width: 100%;
  height: auto;
  max-height: 480px;
}

.grid-label {
  font-family: var(--ff-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  fill: var(--text-dim);
  text-transform: uppercase;
}

.annotation-text {
  font-family: var(--ff-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  fill: var(--accent-dim);
}

/* === MISSION === */
.mission {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 60px;
}

.mission-inner {
  max-width: 900px;
  margin: 0 auto;
}

.mission-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.mission-statement {
  font-family: var(--ff-head);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 40px;
}

.mission-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  padding: 12px 20px;
}

.tag-bracket {
  font-family: var(--ff-body);
  font-size: 14px;
  color: var(--accent-dim);
}

.tag-text {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  font-family: var(--ff-head);
}

/* === PRINCIPLES === */
.principles {
  padding: 100px 60px;
  background: var(--bg);
}

.principles-header {
  max-width: 1200px;
  margin: 0 auto 72px;
}

.section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.principles-title {
  font-family: var(--ff-head);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--text);
}

.principles-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.principle {
  background: var(--bg);
  padding: 48px 40px;
}

.principle-number {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 24px;
}

.principle-title {
  font-family: var(--ff-head);
  font-size: 26px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.2;
}

.principle-body {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* === AGENTS === */
.agents {
  padding: 100px 60px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.agents-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.agents-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.agents-title {
  font-family: var(--ff-head);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 60px;
}

.agents-comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

.comparison-col {
  padding: 40px;
}

.comparison-col.old {
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.comparison-col.new {
  background: rgba(200,146,42,0.04);
  border: 1px solid var(--accent-dim);
}

.col-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.old-label { color: var(--text-muted); }
.new-label { color: var(--accent); }

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison-list li {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.new .comparison-list li { color: var(--text); }

.comparison-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 1px;
  background: var(--accent-dim);
}

.new .comparison-list li::before { background: var(--accent); }

.comparison-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  gap: 16px;
}

.divider-line {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.divider-arrow {
  font-size: 20px;
  color: var(--accent);
  font-weight: 300;
}

/* === ENVIRONMENTS === */
.environments {
  padding: 100px 60px;
  background: var(--bg);
}

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

.environments-title {
  font-family: var(--ff-head);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 72px;
}

.environments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.env-card {
  background: var(--surface);
  padding: 48px 44px;
}

.env-icon {
  margin-bottom: 24px;
}

.env-svg {
  width: 48px;
  height: 48px;
}

.env-name {
  font-family: var(--ff-head);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.env-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* === CLOSING === */
.closing {
  padding: 120px 60px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  text-align: center;
}

.closing-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.status-dot-small {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2.5s ease-in-out infinite;
}

.closing-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.closing-headline {
  font-family: var(--ff-head);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
  max-width: 700px;
  margin: 0 auto;
}

/* === FOOTER === */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 40px 60px;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-logo {
  font-family: var(--ff-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.05em;
}

.footer-tagline {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.footer-meta {
  display: flex;
  align-items: center;
}

.footer-copy {
  font-size: 11px;
  color: var(--text-dim);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero { padding: 60px 32px 48px; }
  .hero-grid { grid-template-columns: 1fr; }
  .altitude-graphic { display: none; }
  .principles-grid { grid-template-columns: 1fr; }
  .agents-comparison { grid-template-columns: 1fr; }
  .comparison-divider { flex-direction: row; padding: 24px 40px; }
  .divider-line { width: 40px; height: 1px; }
  .environments-grid { grid-template-columns: 1fr; }
  .mission, .principles, .agents, .environments, .closing, .footer { padding-left: 32px; padding-right: 32px; }
  .footer-inner { flex-direction: column; gap: 20px; text-align: center; }
}

@media (max-width: 600px) {
  .hero { padding: 48px 20px 36px; }
  .mission, .principles, .agents, .environments, .closing, .footer { padding-left: 20px; padding-right: 20px; }
  .principles-title, .agents-title, .environments-title, .closing-headline { font-size: 36px; }
  .mission-statement { font-size: 22px; }
  .hero-metric-strip { flex-direction: column; gap: 16px; align-items: flex-start; }
  .metric-divider { display: none; }
}