:root {
  --bg: #0C0A09;
  --bg-warm: #1A1614;
  --bg-card: #231F1C;
  --fg: #F5F0EB;
  --fg-muted: #A89F96;
  --fg-dim: #6B625A;
  --accent: #C8956C;
  --accent-light: #E4C4A8;
  --accent-glow: rgba(200, 149, 108, 0.15);
  --gold: #D4A574;
  --cream: #F5E6D3;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --max-w: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 2.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(200, 149, 108, 0.25);
  border-radius: 2px;
  width: fit-content;
}

.hero-label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--fg);
  max-width: 14ch;
  margin-bottom: 2rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--fg-muted);
  max-width: 52ch;
  line-height: 1.75;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(200, 149, 108, 0.12);
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-number {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--accent-light);
  line-height: 1.1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 0.35rem;
}

/* ===== PHILOSOPHY ===== */
.philosophy {
  padding: 8rem 2rem;
  background: var(--bg-warm);
  position: relative;
}

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

.philosophy-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.philosophy-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--fg-dim);
  margin-bottom: 1.5rem;
}

.philosophy-statement {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300;
  line-height: 1.35;
  color: var(--fg);
}

.philosophy-statement em {
  font-style: italic;
  color: var(--accent);
}

.philosophy-details {
  padding-top: 0.5rem;
}

.philosophy-point {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(200, 149, 108, 0.08);
}

.philosophy-point:first-child {
  border-top: 1px solid rgba(200, 149, 108, 0.08);
}

.philosophy-point h3 {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--accent-light);
  margin-bottom: 0.4rem;
}

.philosophy-point p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ===== CAPABILITIES ===== */
.capabilities {
  padding: 8rem 2rem;
  background: var(--bg);
}

.capabilities-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.capabilities-header {
  margin-bottom: 5rem;
}

.capabilities-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--fg-dim);
  margin-bottom: 1.5rem;
}

.capabilities-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.2;
  max-width: 20ch;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(200, 149, 108, 0.06);
}

.capability-card {
  background: var(--bg);
  padding: 3rem;
  position: relative;
  transition: background 0.4s var(--ease);
}

.capability-card:hover {
  background: var(--bg-warm);
}

.capability-number {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--fg-dim);
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}

.capability-card h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.capability-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ===== CLOSING ===== */
.closing {
  padding: 10rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  bottom: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 60vw;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 65%);
  pointer-events: none;
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.closing-quote {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.3;
  color: var(--fg);
  margin-bottom: 2rem;
}

.closing-attribution {
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--fg-dim);
}

/* ===== FOOTER ===== */
.footer {
  padding: 3rem 2rem;
  border-top: 1px solid rgba(200, 149, 108, 0.08);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--fg-muted);
}

.footer-meta {
  font-size: 0.75rem;
  color: var(--fg-dim);
}

.footer-portal-link {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 149, 108, 0.3);
  padding-bottom: 1px;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.footer-portal-link:hover {
  color: var(--accent-light);
  border-color: var(--accent-light);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 4rem 1.5rem 3rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .philosophy-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .capability-card {
    padding: 2rem 1.5rem;
  }

  .closing {
    padding: 6rem 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}