/* ========================================
   COMMAND — Premium Consulting
   Theme CSS
   ======================================== */

/* --- Variables --- */
:root {
  --bg:        #0d1f17;
  --surface:   #122a1e;
  --surface2:  #1a3a2f;
  --fg:        #f0ece0;
  --fg-muted:  #a09880;
  --gold:      #c9a84c;
  --gold-dim:  rgba(201,168,76,0.15);
  --gold-line: rgba(201,168,76,0.25);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --space-2: 0.5rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --max-w: 1100px;
  --pad-x: clamp(1.5rem, 5vw, 5rem);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: var(--bg); }

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13,31,23,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gold-line);
}

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

.wordmark {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  gap: var(--space-8);
}

.header-nav a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.header-nav a:hover { color: var(--fg); }

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--space-32) var(--pad-x) var(--space-16);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-line), transparent);
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-16);
  align-items: center;
}

.hero-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.hero-label::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
}

.hero-headline br { display: block; }

.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 42ch;
  line-height: 1.7;
  margin-bottom: var(--space-12);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

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

.stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-top: 0.35rem;
}

.stat-divider {
  width: 1px;
  height: 3rem;
  background: var(--gold-line);
}

/* Hero Badge */
.hero-badge {
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: badgeRotate 30s linear infinite;
}

@keyframes badgeRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero-badge svg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0; left: 0;
}

.badge-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
}

.badge-cmd {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.15em;
  line-height: 1;
  animation: badgeRotateReverse 30s linear infinite;
}

@keyframes badgeRotateReverse {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

.badge-sub {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
}

/* --- Section Shared --- */
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-4);
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 22ch;
  margin-bottom: var(--space-12);
}

/* --- Method Section --- */
.method-section {
  padding: var(--space-24) var(--pad-x);
  background: var(--surface);
  position: relative;
}

.method-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-line), transparent);
}

.method-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-line), transparent);
}

.method-section .section-heading { max-width: none; }

.method-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12) var(--space-16);
}

.method-item { padding: var(--space-8) 0; border-top: 1px solid var(--gold-line); }

.method-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.5;
  margin-bottom: var(--space-4);
  letter-spacing: 0.1em;
}

.method-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: var(--space-4);
}

.method-body {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* --- Principles Section --- */
.principles-section {
  padding: var(--space-24) var(--pad-x);
  background: var(--bg);
}

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

.principles-quote blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-style: italic;
  font-weight: 300;
  color: var(--fg);
  line-height: 1.5;
  margin-bottom: var(--space-4);
}

.principles-quote cite {
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-style: normal;
}

.principles-divider {
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold-line), transparent);
  align-self: stretch;
  min-height: 100px;
}

.principles-body p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: var(--space-6);
}

/* --- Outcomes Section --- */
.outcomes-section {
  padding: var(--space-24) var(--pad-x);
  background: var(--surface);
  position: relative;
}

.outcomes-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-line), transparent);
}

.outcomes-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-line), transparent);
}

.outcomes-section .section-heading { max-width: none; }

.outcomes-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8) var(--space-16);
}

.outcome-card {
  padding: var(--space-8);
  background: var(--surface2);
  border: 1px solid var(--gold-line);
  position: relative;
  transition: border-color 0.3s;
}

.outcome-card:hover { border-color: var(--gold); }

.outcome-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: var(--space-6);
}

.outcome-icon svg { width: 100%; height: 100%; }

.outcome-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: var(--space-4);
}

.outcome-body {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* --- Manifesto Section --- */
.manifesto-section {
  padding: var(--space-24) var(--pad-x);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.manifesto-section::before {
  content: '';
  position: absolute;
  left: -20%;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(201,168,76,0.03) 0%, transparent 60%);
  pointer-events: none;
}

.manifesto-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.manifesto-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-8);
}

.manifesto-statement {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  font-weight: 300;
}

.manifesto-accent {
  color: var(--fg);
  font-weight: 500;
  font-style: italic;
}

/* --- Closing Section --- */
.closing-section {
  padding: var(--space-24) var(--pad-x);
  background: var(--surface);
  position: relative;
}

.closing-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.closing-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.closing-ornament {
  width: 4rem;
  height: 4rem;
  margin: 0 auto var(--space-8);
}

.closing-ornament svg { width: 100%; height: 100%; }

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-8);
}

.closing-body {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: var(--space-6);
}

/* --- Footer --- */
.site-footer {
  padding: var(--space-8) var(--pad-x);
  background: var(--bg);
  border-top: 1px solid var(--gold-line);
}

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

.footer-wordmark {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-tagline {
  display: block;
  font-size: 0.7rem;
  color: var(--fg-muted);
  margin-top: 0.2rem;
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  gap: var(--space-8);
}

.footer-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--fg); }

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

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-badge { display: none; }

  .hero-label { justify-content: center; }
  .hero-label::before { display: none; }
  .hero-sub { margin: 0 auto var(--space-8); }
  .hero-stats { justify-content: center; }

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

  .principles-inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .principles-divider { display: none; }

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

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
  .header-nav { display: none; }
  .hero-stats { flex-direction: column; gap: var(--space-4); }
  .stat-divider { width: 3rem; height: 1px; }
}