/* Reset Capital — Variation B: Navy Monolith */

html, body { margin: 0; padding: 0; scroll-behavior: smooth; background: transparent; }
* { box-sizing: border-box; }

body {
  background: transparent;
  font-family: var(--font-body);
  color: var(--fg-inverse-1);
  overflow-x: hidden;
}

/* Fixed full-page background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(2, 48, 100, 0.35), rgba(2, 48, 100, 0.35)),
    url(claudia-chiavazza-N9vsB6OEeKM-unsplash.jpg) center/cover no-repeat;
}

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }

/* ── Eyebrow label ── */
.eb {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rc-gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.eb::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--rc-gold);
  display: inline-block;
}
.on-cream .eb { color: var(--rc-navy); font-size: 13px; }
.on-cream .eb::before { background: var(--rc-navy); }

/* ── Buttons ── */
.btn {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 150ms var(--ease-standard);
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  line-height: 1;
}
.btn.primary-inv { background: var(--rc-cream); color: var(--rc-navy); }
.btn.primary-inv:hover { background: white; color: var(--rc-navy); text-decoration: none; }
.btn.ghost-inv { background: transparent; color: var(--rc-cream); border-color: rgba(248,245,240,0.35); }
.btn.ghost-inv:hover { background: rgba(248,245,240,0.08); text-decoration: none; color: var(--rc-cream); }
.btn.primary { background: var(--rc-navy); color: var(--rc-cream); }
.btn.primary:hover { background: var(--rc-navy-hover); text-decoration: none; }
.btn.secondary { background: transparent; color: var(--rc-navy); border-color: var(--rc-navy); }
.btn.secondary:hover { background: rgba(2,48,100,0.06); text-decoration: none; }

/* ── Navbar ── */
.navbar {
  position: sticky; top: 0; z-index: 50; height: 76px;
  background: rgba(2, 48, 100, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(248,245,240,0.12);
  display: flex; align-items: center;
}
.navbar .inner { display: flex; align-items: center; gap: 40px; width: 100%; }
.navbar img { height: 32px; cursor: pointer; filter: brightness(0) invert(1) sepia(0.15) saturate(0.85); }
.navbar .links { display: flex; gap: 32px; margin-left: auto; align-items: center; }
.navbar a {
  color: rgba(248,245,240,0.78);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease-standard);
}
.navbar a:hover { color: var(--rc-cream); text-decoration: none; }
.navbar a.active { color: var(--rc-cream); font-weight: 700; border-bottom-color: var(--rc-gold); }

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--rc-cream);
  border-radius: 2px;
  transition: all 0.25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ── */
.hero {
  background: rgba(248, 245, 240, 0.22);
  color: var(--rc-cream);
  padding: 140px 0 160px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(248,245,240,0.12);
}
.hero::before { display: none; }
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(232,167,60,0.5) 20%, rgba(232,167,60,0.5) 80%, transparent 100%);
}
.hero .content { position: relative; z-index: 1; max-width: 980px; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 104px;
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--rc-cream);
  margin: 0 0 32px;
}
.hero h1 em { font-style: normal; color: var(--rc-gold); }
.hero .eb { color: var(--rc-cream); font-size: 13px; }
.hero .eb::before { background: var(--rc-cream); }
#approach .eb { font-size: 13px; }
#team .eb { color: var(--rc-cream); }
#team .eb::before { background: var(--rc-cream); }
.hero .lede {
  font-family: var(--font-body);
  font-size: 21px;
  line-height: 1.55;
  color: rgba(248,245,240,0.82);
  max-width: 600px;
  margin: 0 0 40px;
}
.hero .cta { display: flex; gap: 12px; }
.hero .btn.ghost-inv {
  background: rgba(248, 245, 240, 0.08);
  border-color: var(--rc-gold);
  color: var(--rc-cream);
}
.hero .btn.ghost-inv:hover {
  background: rgba(248, 245, 240, 0.18);
  color: var(--rc-cream);
}

/* ── Override utility bg classes for transparency ── */
.on-navy { background: rgba(2, 48, 100, 0.7) !important; }
.on-cream { background: rgba(248, 245, 240, 0.8) !important; }

/* ── Sections: navy (default) ── */
.section {
  padding: 112px 0;
  border-bottom: 1px solid rgba(248,245,240,0.1);
}
.section h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--rc-cream);
  margin: 16px 0 20px;
  max-width: 820px;
}
.section .lede {
  font-size: 19px;
  line-height: 1.6;
  color: rgba(248,245,240,0.78);
  max-width: 620px;
  margin: 0 0 64px;
}

/* ── Cream insert sections ── */
.section.on-cream {
  background: rgba(248, 245, 240, 0.88);
  color: var(--rc-charcoal);
  border-bottom: 1px solid var(--border-hairline);
}
.section.on-cream h2 { color: var(--rc-navy); }
.section.on-cream .lede { color: var(--fg-1); }

/* ── Thesis ── */
.thesis {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: start;
}
.thesis .col-l h2 { font-size: 44px; max-width: 380px; }
.thesis .col-r p {
  font-size: 19px;
  line-height: 1.65;
  color: var(--fg-1);
  margin: 0 0 20px;
}
.thesis .col-r p.lead {
  font-size: 22px;
  line-height: 1.55;
  color: var(--rc-navy);
  font-weight: 700;
  margin-bottom: 28px;
}

/* ── Pillars divider (inside combined section) ── */
.pillars-divider {
  border: none;
  border-top: 1px solid var(--border-hairline);
  margin: 72px 0 72px;
}

/* ── Pillars ── */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-hairline);
}
.pillar { padding: 40px 32px 40px 0; border-right: 1px solid var(--border-hairline); }
.pillar:last-child { border-right: none; }
.pillar:not(:first-child) { padding-left: 32px; }
.pillar .n {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--rc-sage);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.pillar h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--rc-navy);
  margin: 0 0 12px;
  line-height: 1.25;
}
.pillar p { font-size: 15px; line-height: 1.6; color: var(--fg-1); margin: 0; }

/* ── Verticals ── */
.verticals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.vert { padding: 56px 48px 56px 0; }
.vert:last-child { border-right: none; padding-left: 48px; padding-right: 0; }
.vert .label {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.vert.energy .label { color: var(--rc-sage); }
.vert.energy .label::before { content: ""; width: 10px; height: 10px; background: var(--rc-sage); border-radius: 999px; }
.vert.medtech .label { color: var(--rc-steel); }
.vert.medtech .label::before { content: ""; width: 10px; height: 10px; background: var(--rc-steel); border-radius: 999px; }
.vert-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
}
.vert .vert-head h3 { margin: 0; line-height: 1; }
.vert-icon {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.95;
}
.vert-icon svg { width: 100%; height: 100%; display: block; }
.vert.energy .vert-icon { color: var(--rc-sage); }
.vert.medtech .vert-icon { color: var(--rc-steel); }
.vert h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 36px;
  letter-spacing: -0.015em;
  color: var(--rc-navy);
  margin: 0 0 16px;
}
.on-navy .vert h3 { color: var(--rc-cream); }
.vert p { font-size: 19px; line-height: 1.65; color: var(--fg-1); margin: 0 0 28px; max-width: 460px; }
.on-navy .vert p { color: rgba(248,245,240,0.78); }
.on-navy .verticals-intro { color: var(--rc-cream); }
.on-navy .vert { border-right-color: rgba(248,245,240,0.12); }
.focus-list { list-style: none; padding: 24px 0 0; margin: 0; border-top: 1px solid var(--border-hairline); }
.focus-list li {
  padding: 10px 0;
  font-size: 14px;
  color: var(--fg-1);
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-hairline);
}
.focus-list li:last-child { border-bottom: none; }
.tag-pill {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}
.vert.energy .tag-pill { background: var(--rc-sage-tint); color: var(--rc-sage-hover); }
.vert.medtech .tag-pill { background: var(--rc-steel-tint); color: #4A5A6B; }

/* ── Core Pillars ── */
.verticals-header {
  margin-top: 64px;
}
.verticals-intro {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--rc-cream);
  margin: 0;
}

/* ── Core Pillars — Glyph Cards ── */
.pillars-v-glyph {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.pillars-v-glyph .pv-card {
  background: rgba(232, 167, 60, 0.14);
  border: 1px solid rgba(232, 167, 60, 0.3);
  border-radius: 6px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pillars-v-glyph .pv-glyph {
  width: 48px; height: 48px;
  color: var(--rc-gold);
  margin-bottom: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.pillars-v-glyph .pv-glyph svg { width: 100%; height: 100%; display: block; }
.pv-png-icon {
  width: 48px; height: 48px;
  display: block;
  object-fit: contain;
  -webkit-filter: invert(14%) sepia(60%) saturate(800%) hue-rotate(185deg) brightness(90%);
  filter: invert(14%) sepia(60%) saturate(800%) hue-rotate(185deg) brightness(90%);
}
.pillars-v-glyph .pv-eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rc-navy);
}
.pillars-v-glyph .pv-card h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.25;
  color: var(--rc-navy);
  margin: 0;
  letter-spacing: -0.005em;
}
.pillars-v-glyph .pv-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-1);
  margin: 0;
}

/* ── CTA Band (cream in Var B) ── */
.cta-band {
  background: var(--rc-cream);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -120px; top: -80px;
  width: 440px; height: 440px;
  background: url(assets/logo-full-blue.svg) center/contain no-repeat;
  opacity: 0.04;
  pointer-events: none;
}
.cta-band .row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
}
.cta-band h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--rc-navy);
  margin: 0;
  max-width: 640px;
}
.cta-band .eb { margin-bottom: 16px; }

#team, #advisors { background: rgba(248, 245, 240, 0.22); }
#team .lede, #advisors .lede { color: var(--rc-cream); }
#team .eb, #advisors .eb { font-size: 13px; color: var(--rc-cream); }
#team .eb::before, #advisors .eb::before { background: var(--rc-cream); }

/* ── People grid (Team + Advisors) ── */
.people-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.advisors-section { border-top: 1px solid rgba(248,245,240,0.1); }

.person-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
}

.person-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(248,245,240,0.1);
  transition: opacity 0.2s;
}

.person-card:hover .person-photo { opacity: 0.8; }

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

.person-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--rc-cream);
  margin: 0;
}

.person-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rc-cream);
  margin: 0;
}

/* ── Modal ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2, 48, 100, 0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.active { display: flex; }

.modal {
  background: var(--rc-cream);
  border-radius: var(--radius-md);
  padding: 48px;
  max-width: 480px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--rc-navy);
  opacity: 0.4;
  line-height: 1;
}
.modal-close:hover { opacity: 0.8; }

.modal h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--rc-navy);
  margin-bottom: 4px;
}
.modal .modal-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rc-navy);
  opacity: 0.55;
  margin-bottom: 20px;
}
.modal .modal-bio {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--rc-charcoal);
  margin: 0;
  white-space: pre-line;
}
.modal .modal-education {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--rc-navy);
  opacity: 0.6;
}
.modal .modal-education .edu-label {
  display: block;
  margin-bottom: 4px;
}
.modal .modal-education ul {
  list-style: disc;
  margin: 0;
  padding-left: 1.2em;
}
.modal .modal-education li {
  padding-left: 0.2em;
  line-height: 1.5;
}

/* ── Footer ── */
.footer {
  background: rgba(2, 48, 100, 0.82);
  color: rgba(248,245,240,0.55);
  padding: 20px 0;
  font-size: 13px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo { height: 48px; display: block; opacity: 0.9; }
.footer-contact { font-size: 13px; color: rgba(248,245,240,0.55); display: flex; align-items: center; gap: 12px; }
.footer-contact a { color: rgba(248,245,240,0.55); text-decoration: none; transition: color 150ms; }
.footer-contact a:hover { color: var(--rc-cream); text-decoration: none; }
.footer-linkedin { display: flex; align-items: center; }
.footer .legal {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  font-size: 12px; color: rgba(248,245,240,0.4);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .wrap { padding: 0 24px; }
  .navbar .links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: rgba(2, 48, 100, 0.82);
    backdrop-filter: blur(12px);
    padding: 8px 24px 16px;
    gap: 0;
  }
  .navbar .links.open { display: flex; }
  .navbar .links a { padding: 14px 0; border-top: 1px solid rgba(248,245,240,0.12); }
  .navbar .inner { flex-wrap: nowrap; }
  .hamburger { display: flex; }

  /* Font scaling — moderate (20-25%) */
  .hero { padding: 100px 0 120px; }
  .hero h1 { font-size: 38px; }
  .hero .lede { font-size: 16px; }
  .section { padding: 72px 0; }
  .section h2, .verticals-intro, .thesis .col-l h2 { font-size: 28px; }
  .lede { font-size: 16px; }
  .vert h3 { font-size: 18px; }
  .vert p { font-size: 15px; }
  .pv-card p { font-size: 14px; }
  .person-card h4 { font-size: 0.85rem; }
  .person-title { font-size: 0.65rem; }

  /* Layout */
  .thesis { grid-template-columns: 1fr; gap: 40px; }
  .pillars { grid-template-columns: 1fr; border-top: none; }
  .pillar { border-right: none; border-top: 1px solid rgba(248,245,240,0.12); padding: 32px 0; }
  .pillar:not(:first-child) { padding-left: 0; }
  .verticals { grid-template-columns: 1fr; }
  .vert { border-right: none; padding: 40px 0; border-top: 1px solid var(--border-hairline); }
  .vert:last-child { padding-left: 0; }
  .people-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band .row { grid-template-columns: 1fr; }
  .pillars-v-glyph { grid-template-columns: 1fr 1fr; }
  .cta-band h3 { font-size: 28px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer .legal { flex-direction: column; gap: 8px; }
}

@media (max-width: 480px) {
  /* Further font scaling */
  .hero h1 { font-size: 30px; }
  .section h2, .verticals-intro, .thesis .col-l h2 { font-size: 22px; }

  .people-grid { grid-template-columns: repeat(2, 1fr); }
  .person-photo { max-width: 100%; margin-left: 0; margin-right: 0; }

  .footer .cols { grid-template-columns: 1fr; }
  .pillars-v-glyph { grid-template-columns: 1fr; }
}
