/* ============================================
   Chirag Hathiramani
   Institutional PE aesthetic — restrained, confident
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Outfit:wght@300;400;500;600&display=swap');

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

:root {
  --black: #111111;
  --dark: #1a1a1a;
  --charcoal: #2c2c2c;
  --gray-900: #333;
  --gray-700: #555;
  --gray-500: #888;
  --gray-300: #bbb;
  --gray-200: #d5d5d5;
  --gray-100: #ededed;
  --gray-50: #f5f5f3;
  --white: #ffffff;
  --warm: #b08d57;
  --warm-hover: #9a7a4a;
  --serif: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max: 1140px;
  --narrow: 720px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---- NAV ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--black);
  height: 64px;
  display: flex; align-items: center;
}
.nav-inner {
  width: 100%; max-width: var(--max);
  margin: 0 auto; padding: 0 2.5rem;
  display: flex; justify-content: space-between; align-items: center;
}
.nav-logo {
  font-family: var(--sans);
  font-weight: 500; font-size: 1.05rem;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-links { display: flex; gap: 2.25rem; align-items: center; }
.nav-links a {
  font-size: 0.82rem; font-weight: 400;
  color: var(--gray-300);
  letter-spacing: 0.03em;
  transition: color 0.2s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-cta {
  color: var(--warm) !important;
  font-weight: 500 !important;
}
.nav-cta:hover { color: #c9a46a !important; }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 0.5rem;
}
.nav-toggle span {
  display: block; width: 20px; height: 1.5px;
  background: var(--white); margin: 5px 0;
}

/* ---- HERO ---- */
.hero {
  padding: 160px 0 100px;
}
.hero-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 2.5rem;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--black);
  max-width: 760px;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}
.hero h1 em {
  font-style: italic;
}
.hero-lead {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--gray-700);
  max-width: 600px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}
.hero-cta {
  display: inline-block;
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--warm);
  border-bottom: 1px solid var(--warm);
  padding-bottom: 4px;
  transition: color 0.2s, border-color 0.2s;
}
.hero-cta:hover { color: var(--warm-hover); border-color: var(--warm-hover); }

/* ---- SECTIONS ---- */
.section { padding: 100px 0; }
.section-sm { padding: 70px 0; }
.section-dark { background: var(--dark); color: var(--white); }
.section-dark p, .section-dark .sub { color: var(--gray-300); }
.section-gray { background: var(--gray-50); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 2.5rem; }
.narrow { max-width: var(--narrow); margin: 0 auto; padding: 0 2.5rem; }
.rule { border: none; border-top: 1px solid var(--gray-200); margin: 0; }
.rule-dark { border-color: #333; }

/* ---- TYPOGRAPHY ---- */
h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 400; line-height: 1.2;
  color: var(--black);
  letter-spacing: -0.01em;
}
.section-dark h2 { color: var(--white); }
h3 {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  font-weight: 400; line-height: 1.3;
}
h4 {
  font-family: var(--sans);
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray-500);
}
.section-dark h4 { color: var(--warm); }
p { margin-bottom: 1.25rem; font-weight: 300; font-size: 1.05rem; }
p:last-child { margin-bottom: 0; }
.sub {
  font-size: 1.1rem; line-height: 1.8;
  color: var(--gray-700); font-weight: 300;
}
.sub-lg {
  font-size: clamp(1.15rem, 1.8vw, 1.3rem);
  line-height: 1.8; color: var(--gray-700); font-weight: 300;
}
strong { font-weight: 500; color: var(--black); }
.section-dark strong { color: var(--white); }

/* ---- TWO COLUMN ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.two-col-narrow {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: start;
}

/* ---- THREE COLUMN ---- */
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

/* ---- STATS ---- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.stat {
  text-align: center;
  padding: 50px 20px;
}
.stat + .stat { border-left: 1px solid var(--gray-200); }
.section-dark .stat + .stat { border-color: #333; }
.stat-num {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 400;
  color: var(--black);
  line-height: 1;
  margin-bottom: 10px;
}
.section-dark .stat-num { color: var(--warm); }
.stat-label {
  font-size: 0.82rem; font-weight: 400;
  color: var(--gray-500);
  letter-spacing: 0.02em;
}
.section-dark .stat-label { color: var(--gray-300); }

/* ---- BLOCKQUOTE ---- */
blockquote {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 400; font-style: italic;
  line-height: 1.5;
  color: var(--black);
  max-width: 700px;
}
blockquote cite {
  display: block; font-style: normal;
  font-family: var(--sans);
  font-size: 0.85rem; font-weight: 400;
  color: var(--gray-500);
  margin-top: 1.25rem;
  letter-spacing: 0.02em;
}

/* ---- PILLAR (Blackstone-style text block) ---- */
.pillar { padding: 40px 0; }
.pillar + .pillar { border-top: 1px solid var(--gray-200); }
.section-dark .pillar + .pillar { border-color: #333; }
.pillar h3 { margin-bottom: 0.75rem; }
.pillar p { max-width: 540px; }

/* ---- INSIGHT LIST ---- */
.insight-item {
  display: block;
  padding: 40px 0;
  border-bottom: 1px solid var(--gray-200);
  transition: padding-left 0.25s var(--ease);
}
.insight-item:first-child { border-top: 1px solid var(--gray-200); }
.insight-item:hover { padding-left: 12px; }
.insight-item h4 { margin-bottom: 8px; color: var(--warm); }
.insight-item h3 { margin-bottom: 10px; color: var(--black); }
.insight-item p { margin-bottom: 0; color: var(--gray-700); font-size: 0.95rem; }

/* ---- ARTICLE ---- */
.article-hero { padding: 140px 0 60px; }
.article-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 400; line-height: 1.2;
  max-width: 680px; margin-bottom: 1.25rem;
}
.article-meta {
  font-size: 0.85rem; color: var(--gray-500);
  margin-bottom: 2rem;
}
.article-body { padding-bottom: 80px; }
.article-body p { font-size: 1.08rem; line-height: 1.85; margin-bottom: 1.5rem; }
.article-body h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-top: 3rem; margin-bottom: 1.25rem;
}
.article-body h3 {
  font-size: 1.25rem; margin-top: 2.5rem; margin-bottom: 1rem;
}

/* ---- FORM ---- */
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 8px;
}
.form-group input, .form-group textarea {
  width: 100%; padding: 14px 0;
  border: none; border-bottom: 1px solid var(--gray-200);
  font-family: var(--sans); font-size: 1rem; font-weight: 300;
  color: var(--black); background: transparent;
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--black);
}
.form-group textarea { min-height: 100px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.btn-submit {
  display: inline-block; padding: 14px 40px;
  background: var(--black); color: var(--white);
  font-family: var(--sans); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  border: none; cursor: pointer;
  transition: background 0.2s;
}
.btn-submit:hover { background: var(--charcoal); }

/* ---- FOOTER ---- */
.footer { background: var(--black); padding: 60px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand {
  font-family: var(--sans);
  font-size: 0.95rem; font-weight: 500;
  color: var(--white);
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-desc { font-size: 0.88rem; color: var(--gray-500); font-weight: 300; line-height: 1.7; }
.footer h4 {
  font-size: 0.72rem; color: var(--gray-500);
  margin-bottom: 1rem;
}
.footer a {
  display: block; font-size: 0.88rem; color: var(--gray-300);
  font-weight: 300; margin-bottom: 10px;
  transition: color 0.2s;
}
.footer a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 24px;
  font-size: 0.78rem; color: var(--gray-500); font-weight: 300;
  display: flex; justify-content: space-between;
}

/* ---- LINK STYLE ---- */
.text-link {
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--warm);
  transition: color 0.2s;
}
.text-link:hover { color: var(--warm-hover); }
.text-link::after { content: ' →'; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .two-col, .two-col-narrow, .three-col { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: none; border-top: 1px solid var(--gray-200); }
  .section-dark .stat + .stat { border-color: #333; }
  .hero { padding: 120px 0 70px; }
  .section { padding: 70px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .container, .narrow, .hero-inner { padding: 0 1.5rem; }
  .nav-inner { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--black); padding: 1.5rem 2rem; gap: 1rem;
    border-bottom: 1px solid #333;
  }
  .nav-toggle { display: block; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .hero h1 { font-size: 2.2rem; }
}
