/* BASILEOS — Dark amber precision theme */
:root {
  --bg: #0e0e0e;
  --surface: #161412;
  --surface-2: #1e1b17;
  --border: #2a2520;
  --fg: #f0ebe3;
  --fg-muted: #7a6e62;
  --accent: #C8923A;
  --accent-dim: #7a561f;
  --accent-glow: rgba(200, 146, 58, 0.12);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Mono', monospace;
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.15;
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.nav-tag {
  font-size: 0.7rem;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  padding: 0.3rem 0.8rem;
  border-radius: 2rem;
}

/* HERO */
.hero {
  padding: 5rem 3rem 4rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: start;
}

.hero-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 1.75rem;
  color: var(--fg);
}

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

.hero-sub {
  font-size: 0.9rem;
  color: var(--fg-muted);
  max-width: 38ch;
  line-height: 1.7;
}

.hero-scoreboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.scoreboard-card {
  background: var(--surface);
  padding: 1.25rem 1.5rem;
}

.sb-label {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.4rem;
}

.sb-value {
  font-family: 'DM Mono', monospace;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--fg);
}

.sb-live {
  color: #5ab87a;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sb-live::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5ab87a;
  box-shadow: 0 0 6px #5ab87a;
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-rule {
  height: 1px;
  background: linear-gradient(to right, var(--accent), transparent);
  margin-top: 4rem;
  max-width: 200px;
}

/* PILLARS */
.pillars {
  padding: 5rem 3rem;
  border-top: 1px solid var(--border);
}

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

.section-title {
  font-size: 2rem;
  font-weight: 300;
  color: var(--fg-muted);
  margin-bottom: 3rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.pillar {
  background: var(--surface);
  padding: 2.5rem;
}

.pillar-icon {
  margin-bottom: 1.25rem;
}

.pillar h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--fg);
}

.pillar p {
  font-size: 0.8rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* PHILOSOPHY */
.philosophy {
  padding: 5rem 3rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

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

.phil-quote-block {
  max-width: 700px;
  margin: 0 auto 4rem;
  text-align: center;
}

.phil-quote-block blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-style: italic;
  font-weight: 300;
  color: var(--fg);
  line-height: 1.4;
  margin-bottom: 1rem;
}

.phil-attribution {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.phil-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.phil-col h4 {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 1rem;
  font-weight: 400;
}

.phil-col ul {
  list-style: none;
}

.phil-col ul li {
  font-size: 0.82rem;
  color: var(--fg);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

.phil-col ul li:last-child { border-bottom: none; }

/* CLOSING */
.closing {
  padding: 6rem 3rem 5rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

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

.closing-headline {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--fg);
  margin-bottom: 1rem;
}

.closing-sub {
  font-size: 0.85rem;
  color: var(--fg-muted);
  max-width: 44ch;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.closing-rule {
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 1.5rem;
}

.closing-stamp {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 3rem;
}

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

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-right: 1rem;
}

.footer-descriptor {
  font-size: 0.7rem;
  color: var(--fg-muted);
}

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

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-scoreboard {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .phil-details {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .nav, .hero, .pillars, .philosophy, .closing, .footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-scoreboard {
    grid-template-columns: 1fr 1fr;
  }
}