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

:root {
  --midnight: #0c1620;
  --deep-navy: #14212e;
  --slate: #1d2f42;
  --muted: #5a7a96;
  --light-slate: #a0b9ce;
  --amber: #f5a623;
  --amber-dark: #d4881a;
  --amber-glow: rgba(245, 166, 35, 0.15);
  --white: #f8fafc;
  --off-white: #dde8f0;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --max-w: 1200px;
  --radius: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--midnight);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 clamp(24px, 5vw, 60px);
  backdrop-filter: blur(12px);
  background: rgba(12, 22, 32, 0.85);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

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

.logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo-accent { color: var(--amber); }

.header-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--light-slate);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--white); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 100px clamp(24px, 5vw, 60px) 80px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 28px;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 28px;
}
.hero-headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--amber);
}

.hero-lede {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--light-slate);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: var(--amber);
  color: var(--midnight);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover {
  background: var(--amber-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  color: var(--light-slate);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.12);
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
}

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

.visual-card {
  background: var(--deep-navy);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 440px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(245,166,35,0.1);
}

.card-header {
  background: var(--slate);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.card-dots {
  display: flex;
  gap: 6px;
}
.card-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.card-dots span:nth-child(1) { background: #ff5f57; }
.card-dots span:nth-child(2) { background: #febc2e; }
.card-dots span:nth-child(3) { background: #28c840; }

.card-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card-body { padding: 24px; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.stat {
  background: var(--slate);
  border-radius: var(--radius);
  padding: 14px 12px;
  text-align: center;
}

.stat-val {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--amber);
}

.stat-key {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Bar Chart */
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 72px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
}

.bar {
  width: 100%;
  height: var(--h, 60%);
  background: var(--slate);
  border-radius: 4px 4px 0 0;
  transition: background 0.3s;
}

.bar-active .bar {
  background: var(--amber);
  box-shadow: 0 0 12px rgba(245,166,35,0.4);
}

.bar-animated {
  animation: grow 1.2s ease-out forwards;
}

@keyframes grow {
  from { height: 0; }
}

.bar-group span {
  font-size: 0.65rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Activity Feed */
.activity-feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feed-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--slate);
  font-size: 0.78rem;
  color: var(--light-slate);
}

.feed-icon {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.feed-success .feed-icon { background: #28c840; box-shadow: 0 0 6px #28c840; }
.feed-info .feed-icon { background: #3b82f6; box-shadow: 0 0 6px #3b82f6; }
.feed-warning .feed-icon { background: #f59e0b; box-shadow: 0 0 6px #f59e0b; }

/* ===== SHARED SECTION STYLES ===== */
.section-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(24px, 5vw, 60px); }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--white);
}

/* ===== WHAT WE DO ===== */
.what-we-do {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--midnight) 0%, var(--deep-navy) 100%);
}

.what-we-do .section-headline {
  margin-bottom: 64px;
  max-width: 700px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--slate);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: border-color 0.3s, transform 0.2s;
}
.service-card:hover {
  border-color: rgba(245,166,35,0.25);
  transform: translateY(-4px);
}

.service-icon {
  width: 48px; height: 48px;
  background: var(--amber-glow);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--amber);
}
.service-icon svg { width: 24px; height: 24px; }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--light-slate);
  line-height: 1.65;
}

/* ===== PROOF ===== */
.proof-section {
  padding: 80px 0;
  background: var(--midnight);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.proof-credentials {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.credential { text-align: center; }
.credential-val {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--amber);
  letter-spacing: -0.03em;
}
.credential-label {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.credential-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.1);
}

.proof-quote {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.proof-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--white);
}
.proof-quote blockquote strong {
  color: var(--amber);
  font-weight: 700;
}

/* ===== MANIFESTO ===== */
.manifesto {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--deep-navy) 0%, var(--midnight) 100%);
}

.manifesto-body { max-width: 680px; }

.manifesto-statement {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.manifesto-statement em {
  font-style: italic;
  font-weight: 300;
  color: var(--amber);
}

.manifesto-detail {
  font-size: 1rem;
  color: var(--light-slate);
  line-height: 1.8;
  margin-bottom: 20px;
}
.manifesto-detail:last-child { margin-bottom: 0; }

/* ===== CLOSING ===== */
.closing-section {
  padding: 120px 0 140px;
  text-align: center;
  background: var(--midnight);
  position: relative;
  overflow: hidden;
}
.closing-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(245,166,35,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.closing-inner { position: relative; z-index: 1; }

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.closing-sub {
  font-size: 1.1rem;
  color: var(--light-slate);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--deep-navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 60px 0 40px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 60px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: start;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 8px;
}
.footer-tagline {
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.875rem;
  color: var(--light-slate);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--amber); }

.footer-meta {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 90px;
    gap: 48px;
  }
  .hero-visual { display: none; }
  .proof-credentials { gap: 24px; }
  .credential-divider { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-meta { flex-direction: column; gap: 8px; }
}

@media (max-width: 600px) {
  .header-nav { display: none; }
  .hero-cta-row { flex-direction: column; }
  .btn-primary, .btn-ghost { justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(3, 1fr); }
}