/* =======================
   ORPHI ADVISORY — THEME
   ======================= */

/* --- Variables --- */
:root {
  --bg: #0E1621;
  --surface: #162032;
  --surface-alt: #1A2840;
  --text: #F0EDE8;
  --text-muted: #8899AA;
  --accent: #00C896;
  --accent-dim: rgba(0, 200, 150, 0.12);
  --border: rgba(255, 255, 255, 0.07);
  --cream: #F7F3ED;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Playfair Display', serif; font-weight: 600; line-height: 1.2; }
a { color: var(--accent); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }
em { font-style: italic; }

/* --- Navigation --- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(14, 22, 33, 0.92);
  backdrop-filter: blur(12px);
  z-index: 100;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 32px; height: 32px;
  background: var(--accent);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 18px;
  color: var(--bg);
}
.brand-name { font-weight: 600; font-size: 15px; letter-spacing: 0.01em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-muted); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); opacity: 1; }
.nav-cta {
  background: var(--accent);
  color: var(--bg) !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
}

/* --- Hero --- */
.hero {
  position: relative;
  padding: 100px 48px 80px;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,200,150,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,150,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-content { max-width: 760px; position: relative; z-index: 1; }
.hero-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-headline {
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 28px;
  color: var(--cream);
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 40px;
  line-height: 1.7;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent);
  color: var(--bg);
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  display: inline-block;
}
.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  display: inline-block;
}
.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 72px;
  border-top: 1px solid var(--border);
  padding-top: 36px;
  position: relative;
  z-index: 1;
}
.stat { flex: 1; padding: 0 32px 0 0; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
}
.stat-label { font-size: 12px; color: var(--text-muted); margin-top: 6px; letter-spacing: 0.05em; text-transform: uppercase; }
.stat-divider { width: 1px; background: var(--border); margin: 0 40px; }

/* --- Section Common --- */
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--cream);
  max-width: 600px;
  font-weight: 600;
}

/* --- Pillars --- */
.pillars {
  padding: 100px 48px;
  background: var(--surface);
}
.pillars-header { margin-bottom: 64px; }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.pillar {
  background: var(--surface);
  padding: 48px 40px;
  transition: background 0.3s;
}
.pillar:hover { background: var(--surface-alt); }
.pillar--featured {
  background: var(--surface-alt);
  position: relative;
}
.pillar--featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
}
.pillar-icon {
  color: var(--accent);
  margin-bottom: 24px;
}
.pillar-title {
  font-size: 22px;
  color: var(--cream);
  margin-bottom: 14px;
  font-weight: 600;
}
.pillar-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  font-weight: 300;
}
.pillar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pillar-list li {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}
.pillar-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* --- Manifesto --- */
.manifesto {
  padding: 100px 48px;
  background: var(--bg);
}
.manifesto-inner { max-width: 700px; }
.manifesto-quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 120px;
  color: var(--accent);
  opacity: 0.25;
  line-height: 0.6;
  margin-bottom: 20px;
}
.manifesto-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-style: italic;
  color: var(--cream);
  line-height: 1.35;
  margin-bottom: 20px;
}
.manifesto-attribution {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}
.manifesto-body {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  font-weight: 300;
  max-width: 560px;
}

/* --- Outcomes --- */
.outcomes {
  padding: 100px 48px;
  background: var(--surface);
}
.outcomes-header { margin-bottom: 64px; }
.outcomes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 80px;
}
.outcome { padding: 0; }
.outcome-icon { color: var(--accent); margin-bottom: 20px; }
.outcome h3 {
  font-size: 22px;
  color: var(--cream);
  margin-bottom: 14px;
}
.outcome p { font-size: 15px; color: var(--text-muted); font-weight: 300; line-height: 1.7; }

/* --- Testimonials --- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.testimonial {
  background: var(--surface);
  padding: 36px 32px;
}
.testimonial-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
  font-style: italic;
  margin-bottom: 24px;
}
.testimonial-author { display: flex; flex-direction: column; gap: 2px; }
.testimonial-author strong { font-size: 14px; color: var(--cream); }
.testimonial-author span { font-size: 12px; color: var(--text-muted); }

/* --- Closing --- */
.closing {
  padding: 120px 48px;
  background: var(--bg);
  text-align: center;
}
.closing-inner { max-width: 600px; margin: 0 auto; }
.closing-headline {
  font-size: clamp(32px, 4vw, 52px);
  color: var(--cream);
  margin-bottom: 16px;
}
.closing-body { font-size: 18px; color: var(--text-muted); margin-bottom: 40px; font-weight: 300; }
.btn-large { padding: 18px 40px; font-size: 16px; }

/* --- Footer --- */
.footer {
  padding: 48px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  background: var(--surface);
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-company { font-weight: 600; font-size: 15px; }
.footer-tagline { font-size: 12px; color: var(--text-muted); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); font-size: 14px; }
.footer-copy { font-size: 13px; color: var(--text-muted); }

/* --- Responsive --- */
@media (max-width: 900px) {
  .nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .hero { padding: 72px 24px 60px; }
  .pillars, .manifesto, .outcomes, .closing { padding: 72px 24px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .stat-divider { display: none; }
  .stat { padding: 0; border-top: 1px solid var(--border); padding-top: 24px; }
  .footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 500px) {
  .hero-headline { font-size: 36px; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-ghost { width: 100%; text-align: center; }
}