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

:root {
  --ink: #06080f;
  --deep-navy: #0c1220;
  --navy: #111827;
  --slate: #1e2d42;
  --mid-slate: #374b66;
  --muted: #6b8299;
  --faint: #8fa7bf;
  --warm-white: #f0ece2;
  --warm-cream: #e8e0d4;
  --amber: #f4a22a;
  --amber-dim: rgba(244, 162, 42, 0.12);
  --amber-border: rgba(244, 162, 42, 0.25);
  --success-green: #4ade80;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
}

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

body {
  background: var(--ink);
  color: var(--warm-white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ===== SVG NOISE FILTER ===== */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 clamp(24px, 5vw, 64px);
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(6, 8, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(244, 162, 42, 0.1);
}

.nav-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.04em;
  color: var(--amber);
}

.nav-tagline {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ===== PHILOSOPHY ===== */
.philosophy {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px clamp(24px, 5vw, 64px) 80px;
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(244, 162, 42, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(61, 90, 128, 0.06) 0%, transparent 70%),
    var(--ink);
}

.philosophy::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, rgba(6, 8, 15, 0.95));
  z-index: 1;
}

.philosophy-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

.philosophy-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.philosophy-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--amber);
}

.philosophy-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--warm-white);
  margin-bottom: 48px;
  max-width: 18ch;
}

.philosophy-headline em {
  font-style: italic;
  color: var(--amber);
}

.philosophy-body {
  max-width: 600px;
  margin-bottom: 64px;
}

.philosophy-body p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--faint);
  margin-bottom: 24px;
}

.philosophy-body p:last-child { margin-bottom: 0; }

.philosophy-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 600px;
}

.philosophy-divider::before {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: var(--amber);
  flex-shrink: 0;
}

.philosophy-divider-text {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--warm-cream);
  line-height: 1.5;
}

.philosophy-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.philosophy-trust-dot {
  color: var(--amber);
  opacity: 0.5;
}

.philosophy-cta {
  margin-top: 48px;
}

.philosophy-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid var(--amber);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.philosophy-cta-btn:hover {
  background: #e8941f;
  border-color: #e8941f;
}

/* ===== APPROACH ===== */
.approach {
  padding: 100px clamp(24px, 5vw, 64px);
  background: var(--deep-navy);
  position: relative;
}

.approach::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
}

.approach-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

.approach-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.approach-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--amber);
}

.approach-headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--warm-white);
  margin-bottom: 72px;
  line-height: 1.2;
}

.approach-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.approach-step {
  padding: 48px 40px;
  border-left: 1px solid rgba(244, 162, 42, 0.15);
  position: relative;
}

.approach-step:first-child { border-left: none; }

.approach-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: -1px;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--amber), transparent);
}

.step-number {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-style: italic;
  color: var(--amber);
  margin-bottom: 24px;
  opacity: 0.7;
}

.step-content h3 {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--warm-white);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.step-content p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--faint);
}

/* ===== AGENTS ===== */
.agents {
  padding: 100px clamp(24px, 5vw, 64px);
  background: var(--ink);
  position: relative;
}

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

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

.agents-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.agents-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--amber);
}

.agents-headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--warm-white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.agents-sub {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 64px;
  max-width: 520px;
  line-height: 1.6;
}

.agents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(244, 162, 42, 0.08);
  border: 1px solid rgba(244, 162, 42, 0.08);
}

.agent-card {
  padding: 40px 32px;
  background: var(--ink);
  transition: background 0.2s ease;
  cursor: default;
}

.agent-card:hover {
  background: rgba(244, 162, 42, 0.04);
}

.agent-card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  margin-bottom: 20px;
  border: 1px solid rgba(244, 162, 42, 0.3);
  border-radius: 8px;
}

.agent-card h3 {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--warm-white);
  margin-bottom: 12px;
  letter-spacing: -0.005em;
}

.agent-card p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted);
}

/* ===== INSIGHTS ===== */
.insights {
  padding: 100px clamp(24px, 5vw, 64px);
  background: var(--deep-navy);
}

.insights-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.insights-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.insights-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--amber);
}

.insights-headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--warm-white);
  margin-bottom: 64px;
  line-height: 1.2;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.insight-card {
  padding: 36px 32px;
  border: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
  transition: border-color 0.2s ease;
}

.insight-card:hover {
  border-color: rgba(244, 162, 42, 0.2);
}

.insight-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
  background: rgba(244, 162, 42, 0.1);
  border: 1px solid rgba(244, 162, 42, 0.2);
  padding: 4px 10px;
  border-radius: 2px;
}

.insight-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--warm-white);
  margin-bottom: 16px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.insight-card p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted);
}

/* ===== PRINCIPLES ===== */
.principles {
  padding: 100px clamp(24px, 5vw, 64px);
  background: var(--ink);
}

.principles-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.principles-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.principles-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--amber);
}

.principles-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(244, 162, 42, 0.15);
}

.principle {
  padding: 36px 0;
  border-bottom: 1px solid rgba(244, 162, 42, 0.1);
  position: relative;
}

.principle::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--amber);
  border-radius: 50%;
}

.principle-text {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-style: italic;
  color: var(--warm-cream);
  line-height: 1.5;
  max-width: 800px;
}

.principles-cta {
  margin-top: 48px;
}

.principles-link {
  font-size: 0.9375rem;
  color: var(--amber);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

.principles-link:hover {
  opacity: 0.7;
}

/* ===== CLOSING ===== */
.closing {
  padding: 120px clamp(24px, 5vw, 64px) 140px;
  background: var(--deep-navy);
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 162, 42, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

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

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--warm-white);
  line-height: 1.05;
  margin-bottom: 48px;
}

.closing-body {
  max-width: 600px;
}

.closing-body p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--faint);
}

/* ===== FOOTER ===== */
.footer {
  padding: 40px clamp(24px, 5vw, 64px);
  background: var(--ink);
  border-top: 1px solid rgba(244, 162, 42, 0.1);
}

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

.footer-name {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--warm-white);
  margin-bottom: 4px;
}

.footer-desc {
  font-size: 0.8125rem;
  color: var(--muted);
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .approach-steps {
    grid-template-columns: 1fr;
  }
  .approach-step {
    border-left: none;
    border-top: 1px solid rgba(244, 162, 42, 0.15);
    padding: 40px 0;
  }
  .approach-step:first-child {
    border-top: none;
    padding-top: 0;
  }
  .approach-step::before { display: none; }

  .agents-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .philosophy-headline { max-width: none; }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .agents-grid {
    grid-template-columns: 1fr;
  }

  .philosophy {
    padding-top: 100px;
  }

  .philosophy-cta-btn {
    width: 100%;
    justify-content: center;
  }
}