/* ============================================================
   ORION EQUITY RESEARCH GROUP — Design System v2
   Ink navy + brass, editorial and restrained.
   ============================================================ */

:root {
  --navy: #1A2540;
  --navy-deep: #0D1421;
  --navy-mid: #232F52;
  --gold: #96793A;
  --gold-light: #B9975C;
  --paper: #FFFEFC;
  --panel: #F3F2EE;
  --ink: #1C1F2A;
  --muted: #5B5F6E;
  --line: rgba(26, 37, 64, 0.14);
  --line-soft: rgba(26, 37, 64, 0.08);

  --font-display: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  --font-body: 'EB Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0 0 0.5em;
  font-weight: 500;
  letter-spacing: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 12px 24px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-gold {
  background: var(--gold);
  color: #fff;
}
.btn-gold:hover { background: #7F672F; }
.btn-outline-light {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.btn-outline-navy {
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ---------------- Nav ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 32px;
  max-width: var(--container);
  margin: 0 auto;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.01em;
}
.nav-brand img { height: 30px; width: 30px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.nav-links a {
  color: rgba(255,255,255,0.68);
  transition: color 0.15s;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  position: relative;
}
.nav-links a:hover, .nav-links a.active {
  color: #fff;
  border-bottom-color: var(--gold-light);
}
.nav-cta { margin-left: 6px; }
.nav-toggle { display: none; }

.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  top: 30px;
  left: -16px;
  background: var(--navy-deep);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 0;
  min-width: 220px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 9px 20px;
  color: rgba(255,255,255,0.72);
  border-bottom: none;
  font-size: 13px;
}
.dropdown a:hover { color: #fff; background: rgba(255,255,255,0.05); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
  }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 32px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .dropdown { display: block; position: static; border: none; background: none; padding: 8px 0 0 14px; box-shadow: none; min-width: 0; }
  .has-dropdown:hover .dropdown { display: block; }
}

/* ---------------- Hero ---------------- */
.hero {
  background: var(--navy-deep);
  color: #fff;
  padding: 92px 0 0;
}
.hero-inner {
  max-width: 700px;
  padding-bottom: 84px;
}
.hero .label { color: var(--gold-light); margin-bottom: 20px; display: block; }
.hero h1 {
  color: #fff;
  font-size: clamp(34px, 4.4vw, 50px);
  line-height: 1.18;
  margin-bottom: 22px;
  font-weight: 500;
}
.hero p.lede {
  font-family: var(--font-body);
  font-size: 19px;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin-bottom: 34px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.coverage-strip {
  border-top: 1px solid rgba(255,255,255,0.12);
  background: var(--navy);
}
.coverage-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.coverage-item {
  flex: 1;
  min-width: 150px;
  padding: 22px 24px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.coverage-item:last-child { border-right: none; }
.coverage-num {
  font-family: var(--font-display);
  font-size: 30px;
  color: #fff;
  font-weight: 500;
  line-height: 1;
}
.coverage-label {
  font-family: var(--font-sans);
  font-size: 11.5px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-top: 7px;
}
@media (max-width: 700px) {
  .coverage-item { min-width: 50%; border-bottom: 1px solid rgba(255,255,255,0.1); }
}

/* ---------------- Sections ---------------- */
.section { padding: 88px 0; }
.section-tight { padding: 64px 0; }
.section-panel { background: var(--panel); }
.section-navy { background: var(--navy-deep); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-border-top { border-top: 1px solid var(--line-soft); }

.section-head { max-width: 620px; margin-bottom: 46px; }
.section-head .label { display: block; margin-bottom: 10px; }
.section-head h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 500; }
.section-head p { color: var(--muted); font-size: 17px; margin-top: 10px; }
.section-navy .section-head p { color: rgba(255,255,255,0.65); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------------- Mission block ---------------- */
.mission-block {
  max-width: 760px;
}
.mission-block p {
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.8;
  color: var(--ink);
}
.mission-block p + p { margin-top: 18px; }

/* ---------------- Values ---------------- */
.values-list {
  border-top: 1px solid var(--line);
}
.value-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.value-row h3 { font-size: 21px; margin: 0; }
.value-row p { margin: 0; color: var(--muted); font-size: 16.5px; }
@media (max-width: 700px) {
  .value-row { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------------- Sector coverage list ---------------- */
.coverage-list {
  border-top: 1px solid rgba(255,255,255,0.14);
}
.coverage-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-family: var(--font-sans);
  transition: padding-left 0.15s;
}
.coverage-row:hover { padding-left: 10px; border-bottom-color: var(--gold-light); }
.coverage-row .sector-name {
  font-family: var(--font-display);
  font-size: 21px;
  color: #fff;
  font-weight: 500;
}
.coverage-row .sector-meta {
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---------------- Logo wall (schools) ---------------- */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.logo-tile {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  aspect-ratio: 3/2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  min-width: 0;
  overflow: hidden;
}
.logo-tile img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(100%); opacity: 0.72; transition: opacity 0.2s, filter 0.2s; }
.logo-tile:hover img { filter: grayscale(0%); opacity: 1; }
.logo-tile .logo-fallback {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  color: var(--muted);
  letter-spacing: 0.01em;
}
@media (max-width: 900px) { .logo-wall { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .logo-wall { grid-template-columns: repeat(3, 1fr); } }
.schools-more {
  margin-top: 20px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------------- CTA band ---------------- */
.cta-band {
  background: var(--navy);
  color: #fff;
  padding: 68px 0;
  text-align: center;
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; font-weight: 500; }
.cta-band p { color: rgba(255,255,255,0.68); margin-bottom: 30px; font-size: 17px; }
.cta-band .cta-actions,
.center-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.55);
  padding: 52px 0 26px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 19px;
  color: #fff;
  margin-bottom: 10px;
}
.footer-brand img { height: 26px; width: 26px; }
.footer-tag { font-family: var(--font-sans); font-size: 13.5px; max-width: 300px; color: rgba(255,255,255,0.5); }
.footer-cols { display: flex; gap: 60px; }
.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
}
.footer-col a, .footer-col p {
  display: block;
  font-family: var(--font-sans);
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 9px;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(255,255,255,0.38);
}
@media (max-width: 700px) {
  .footer-cols { gap: 34px; flex-wrap: wrap; }
}

/* ---------------- Page header (interior pages) ---------------- */
.page-header {
  background: var(--navy-deep);
  color: #fff;
  padding: 68px 0 52px;
}
.page-header .label { color: var(--gold-light); display: block; margin-bottom: 12px; }
.page-header h1 { color: #fff; font-size: clamp(32px, 4vw, 44px); margin-bottom: 12px; font-weight: 500; }
.page-header p { color: rgba(255,255,255,0.68); font-size: 17px; max-width: 600px; margin: 0; }

/* ---------------- People cards ---------------- */
.people-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.people-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.person-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 22px 20px 26px;
}
.person-photo {
  width: 100%;
  aspect-ratio: 1;
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
  overflow: hidden;
}
.person-card h4 { font-size: 18.5px; margin-bottom: 2px; font-weight: 500; }
.person-role { font-family: var(--font-sans); font-size: 12px; color: var(--gold); font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; margin-bottom: 6px; }
.person-school { font-family: var(--font-sans); font-size: 13px; color: var(--muted); }
@media (max-width: 980px) { .people-grid, .people-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .people-grid, .people-grid.cols-3 { grid-template-columns: 1fr; } }

/* ---------------- Analyst roster (compact) ---------------- */
.sector-block { margin-bottom: 50px; }
.sector-block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1.5px solid var(--navy);
  padding-bottom: 10px;
  margin-bottom: 18px;
}
.sector-block-head h3 { font-size: 22px; margin: 0; font-weight: 500; }
.sector-block-count { font-family: var(--font-sans); font-size: 12px; color: var(--gold); font-weight: 600; letter-spacing: 0.03em; }
.analyst-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px 24px;
}
.analyst-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
}
.analyst-row .a-name { color: var(--ink); font-weight: 500; }
.analyst-row .a-school { font-family: var(--font-sans); font-size: 12px; color: var(--muted); text-align: right; }
@media (max-width: 900px) { .analyst-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .analyst-list { grid-template-columns: 1fr; } }

/* ---------------- Founder / About ---------------- */
.founder-block {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: start;
}
.founder-photo {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--panel);
  overflow: hidden;
}
.founder-copy .label { display: block; margin-bottom: 12px; }
.founder-copy p { font-size: 17.5px; color: var(--ink); margin-bottom: 16px; line-height: 1.75; }
.founder-copy .founder-name { color: var(--navy); font-size: 22px; font-weight: 500; font-family: var(--font-display); margin-top: 22px; margin-bottom: 4px; }
.founder-copy .founder-role { font-family: var(--font-sans); font-size: 13px; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 18px; }
@media (max-width: 800px) {
  .founder-block { grid-template-columns: 1fr; }
  .founder-photo { max-width: 280px; }
}

/* ---------------- Status / checklist (Apply) ---------------- */
.status-card {
  background: var(--panel);
  border-left: 3px solid var(--gold);
  padding: 30px 34px;
  max-width: 720px;
  margin-bottom: 44px;
}
.status-card .label { display: block; margin-bottom: 8px; }
.status-card h3 { font-size: 22px; margin-bottom: 10px; font-weight: 500; }
.status-card p { color: var(--muted); margin: 0; font-size: 16.5px; }

.check-list { list-style: none; padding: 0; margin: 0; max-width: 640px; }
.check-list li {
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  gap: 14px;
  font-size: 16.5px;
}
.check-list li .mark { color: var(--gold); font-family: var(--font-display); font-weight: 700; }

/* ---------------- Contact ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  max-width: 820px;
  margin: 0 auto;
}
.contact-card {
  background: var(--paper);
  padding: 34px;
  text-align: center;
}
.contact-card .label { display: block; margin-bottom: 10px; }
.contact-card h3 { font-size: 20px; margin-bottom: 8px; font-weight: 500; }
.contact-card p { color: var(--muted); font-size: 15.5px; margin-bottom: 20px; }
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------------- Research tabs & report cards ---------------- */
.tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 44px;
}
.tab-btn {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--muted);
  background: none;
  border: none;
  padding: 14px 20px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}
.tab-btn:hover { color: var(--navy); }
.tab-btn.active { color: var(--navy); border-bottom-color: var(--gold); }

.report-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.report-card {
  border: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  flex-direction: column;
}
.report-card-preview {
  aspect-ratio: 8.5/11;
  background: var(--panel);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.report-card-preview iframe { width: 100%; height: 100%; border: none; }
.report-card-body { padding: 20px 22px 22px; }
.report-card .rc-ticker { font-family: var(--font-sans); font-size: 11.5px; color: var(--gold); font-weight: 700; letter-spacing: 0.05em; }
.report-card h4 { font-size: 20px; margin: 4px 0 6px; font-weight: 500; }
.report-card .rc-analyst { font-family: var(--font-sans); font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.report-card .rc-actions { display: flex; gap: 10px; }
@media (max-width: 800px) { .report-grid { grid-template-columns: 1fr; } }

.empty-state {
  border: 1px dashed var(--line);
  padding: 54px 30px;
  text-align: center;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 14.5px;
}
.empty-state strong { display: block; font-family: var(--font-display); font-size: 22px; color: var(--navy); margin-bottom: 8px; font-weight: 500; }

/* ---------------- Utility ---------------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
