/* ═══════════════════════════════════════════════════════════
   NeuralArc Founder Profiles — Investor Deck
   Palette: Indigo Ink × Monochrome Luxe
   Fonts: Cormorant Garamond (display) + Manrope (body)
═══════════════════════════════════════════════════════════ */

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

:root {
  /* Page 1 — Deep Indigo */
  --p1-bg: #0D0B1A;
  --p1-surface: #13102A;
  --p1-accent: #7B68EE;
  --p1-accent-light: #A89FF5;
  --p1-gold: #C9A87C;
  --p1-text: #E8E0F0;
  --p1-muted: #8A7FA8;
  --p1-border: rgba(123, 104, 238, 0.2);

  /* Page 2 — Warm Slate */
  --p2-bg: #0F0E0C;
  --p2-surface: #1A1814;
  --p2-accent: #C9A87C;
  --p2-accent-light: #E0C99A;
  --p2-teal: #4A9B8E;
  --p2-text: #F2EDE4;
  --p2-muted: #8A8070;
  --p2-border: rgba(201, 168, 124, 0.2);
}

html {
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

body {
  background: #080808;
  font-family: 'Manrope', sans-serif;
}

/* ─── PAGE SHELL ─────────────────────────────────────────── */
.page {
  position: relative;
  width: 1200px;
  min-height: 850px;
  margin: 0 auto 60px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0 56px 40px;
}

.page-1 { background: var(--p1-bg); }
.page-2 { background: var(--p2-bg); }

/* ─── BACKGROUND DECORATION ─────────────────────────────── */
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.bg-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(123,104,238,0.18) 0%, transparent 70%);
  top: -150px; right: -100px;
}
.bg-orb-2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(201,168,124,0.12) 0%, transparent 70%);
  bottom: -80px; left: -60px;
}
.bg-orb-3 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,168,124,0.15) 0%, transparent 70%);
  top: -150px; right: -100px;
}
.bg-orb-4 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(74,155,142,0.12) 0%, transparent 70%);
  bottom: -80px; left: -60px;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ─── HEADER ─────────────────────────────────────────────── */
.page-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 36px;
}

.company-mark {
  display: flex;
  align-items: center;
  gap: 10px;
}

.company-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--p1-accent);
  box-shadow: 0 0 12px var(--p1-accent);
}

.page-2 .company-dot {
  background: var(--p2-accent);
  box-shadow: 0 0 12px var(--p2-accent);
}

.company-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
}

.header-tag {
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--p1-muted);
}

.page-2 .header-tag { color: var(--p2-muted); }

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 10;
  display: flex;
  gap: 56px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.hero-left {
  flex: 1;
}

.founder-badge {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--p1-accent);
  background: rgba(123,104,238,0.12);
  border: 1px solid rgba(123,104,238,0.3);
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 16px;
}

.founder-badge-2 {
  color: var(--p2-accent);
  background: rgba(201,168,124,0.1);
  border-color: rgba(201,168,124,0.3);
}

.founder-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4.8rem;
  font-weight: 300;
  line-height: 0.95;
  color: var(--p1-text);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.page-2 .founder-name { color: var(--p2-text); }

.founder-name em {
  font-style: italic;
  color: var(--p1-accent-light);
}

.page-2 .founder-name em { color: var(--p2-accent-light); }

.founder-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 400;
  color: var(--p1-gold);
  line-height: 1.5;
  margin-bottom: 18px;
  max-width: 480px;
}

.page-2 .founder-tagline { color: var(--p2-accent); }

.hero-divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--p1-accent), transparent);
  margin-bottom: 18px;
}

.page-2 .hero-divider {
  background: linear-gradient(90deg, var(--p2-accent), transparent);
}

.founder-bio {
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--p1-muted);
  max-width: 500px;
}

.page-2 .founder-bio { color: var(--p2-muted); }

.founder-bio em {
  color: var(--p1-text);
  font-style: normal;
  font-weight: 500;
}

.page-2 .founder-bio em { color: var(--p2-text); }

/* ─── PHOTO ──────────────────────────────────────────────── */
.hero-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.photo-frame {
  width: 200px;
  height: 240px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--p1-border);
  background: var(--p1-surface);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-frame-2 {
  border-color: var(--p2-border);
  background: var(--p2-surface);
}

.photo-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(13,11,26,0.6) 100%);
  z-index: 1;
  pointer-events: none;
}

.page-2 .photo-frame::before {
  background: linear-gradient(180deg, transparent 60%, rgba(15,14,12,0.6) 100%);
}

.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.photo-fallback-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--p1-muted);
  position: absolute;
  z-index: 0;
}

.photo-frame.photo-fallback .founder-photo { display: none; }

.photo-caption {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--p1-muted);
  text-align: center;
}

.page-2 .photo-caption { color: var(--p2-muted); }

/* ─── STATS ROW ──────────────────────────────────────────── */
.stats-row {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  background: var(--p1-surface);
  border: 1px solid var(--p1-border);
  border-radius: 4px;
  padding: 24px 40px;
  margin-bottom: 36px;
  gap: 0;
}

.stats-row-2 {
  background: var(--p2-surface);
  border-color: var(--p2-border);
}

.stat-card {
  flex: 1;
  text-align: center;
}

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--p1-accent-light);
  line-height: 1;
  margin-bottom: 6px;
}

.stats-row-2 .stat-number { color: var(--p2-accent-light); }

.stat-plus {
  font-size: 1.6rem;
  vertical-align: super;
}

.stat-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--p1-muted);
  line-height: 1.4;
  text-transform: uppercase;
}

.stats-row-2 .stat-label { color: var(--p2-muted); }

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--p1-border);
  flex-shrink: 0;
}

.stats-row-2 .stat-divider { background: var(--p2-border); }

/* ─── CONTENT GRID ───────────────────────────────────────── */
.content-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  flex: 1;
}

.section-label {
  font-family: 'Manrope', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--p1-accent);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--p1-border);
}

.page-2 .section-label {
  color: var(--p2-accent);
  border-color: var(--p2-border);
}

/* ─── TIMELINE ───────────────────────────────────────────── */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: flex;
  gap: 16px;
  padding-bottom: 20px;
  position: relative;
}

.timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 12px;
  bottom: 0;
  width: 1px;
  background: var(--p1-border);
}

.page-2 .timeline-item:not(:last-child)::after {
  background: var(--p2-border);
}

.tl-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--p1-surface);
  border: 2px solid var(--p1-accent);
  flex-shrink: 0;
  margin-top: 3px;
  position: relative;
  z-index: 1;
}

.tl-dot-2 {
  border-color: var(--p2-accent);
  background: var(--p2-surface);
}

.timeline-item.current .tl-dot {
  background: var(--p1-accent);
  box-shadow: 0 0 8px var(--p1-accent);
}

.page-2 .timeline-item.current .tl-dot {
  background: var(--p2-accent);
  box-shadow: 0 0 8px var(--p2-accent);
}

.tl-body { flex: 1; }

.tl-role {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--p1-text);
  margin-bottom: 2px;
}

.page-2 .tl-role { color: var(--p2-text); }

.tl-company {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--p1-accent-light);
  margin-bottom: 2px;
}

.page-2 .tl-company { color: var(--p2-accent-light); }

.tl-period {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--p1-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.page-2 .tl-period { color: var(--p2-muted); }

.tl-desc {
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--p1-muted);
}

.page-2 .tl-desc { color: var(--p2-muted); }

/* ─── INSIGHT BLOCKS ─────────────────────────────────────── */
.insight-blocks {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.insight-block {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(123,104,238,0.06);
  border: 1px solid var(--p1-border);
  border-radius: 3px;
}

.insight-icon {
  font-size: 0.9rem;
  color: var(--p1-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.insight-text {
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--p1-muted);
}

.insight-text strong {
  display: block;
  color: var(--p1-text);
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 0.8rem;
}

/* ─── PRESS LOGOS ────────────────────────────────────────── */
.press-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.press-item {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--p1-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 5px 12px;
  border-radius: 2px;
  text-transform: uppercase;
}

/* ─── AWARDS ─────────────────────────────────────────────── */
.awards-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.award-item {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 10px 14px;
  background: rgba(201,168,124,0.06);
  border: 1px solid var(--p2-border);
  border-radius: 3px;
}

.award-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--p2-accent);
  flex-shrink: 0;
  min-width: 44px;
}

.award-name {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--p2-text);
  line-height: 1.4;
}

/* ─── MENTOR GRID ────────────────────────────────────────── */
.mentor-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mentor-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--p2-muted);
}

.mentor-icon {
  font-size: 0.5rem;
  color: var(--p2-accent);
}

/* ─── ROLE DESCRIPTION ───────────────────────────────────── */
.role-description {
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--p2-muted);
}

.role-description strong {
  color: var(--p2-text);
  font-weight: 600;
}

/* ─── CONTACT BLOCK ──────────────────────────────────────── */
.contact-block {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  background: rgba(201,168,124,0.06);
  border: 1px solid var(--p2-border);
  border-radius: 3px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--p2-muted);
}

.contact-icon {
  color: var(--p2-accent);
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.page-footer {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  margin-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-left {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--p1-accent);
  text-transform: uppercase;
}

.page-2 .footer-left { color: var(--p2-accent); }

.footer-center {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--p1-muted);
  text-transform: uppercase;
}

.page-2 .footer-center { color: var(--p2-muted); }

.footer-right {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  color: var(--p1-muted);
}

.page-2 .footer-right { color: var(--p2-muted); }

/* ─── PRINT / RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1240px) {
  .page {
    width: 100%;
    padding: 0 32px 32px;
  }
}

@media (max-width: 900px) {
  .hero { flex-direction: column-reverse; gap: 24px; }
  .hero-right { flex-direction: row; align-items: center; gap: 20px; }
  .photo-frame { width: 120px; height: 144px; }
  .founder-name { font-size: 3.2rem; }
  .content-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-row { flex-wrap: wrap; gap: 16px; padding: 20px; }
  .stat-divider { display: none; }
}

@media print {
  body { background: white; }
  .page { margin: 0; page-break-after: always; }
  .bg-orb, .bg-grid { display: none; }
}