/* =====================================================
   QUBE — Queen's University Business Engineering
   Light mode · Clean · Professional
   ===================================================== */

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

:root {
  --coral:       #E8845C;
  --coral-dark:  #C96A42;
  --teal:        #3E8FA6;
  --teal-dark:   #2D7088;

  --bg:          #ffffff;
  --bg-alt:      #f7f8fa;
  --border:      #e5e7eb;
  --text:        #111827;
  --text-muted:  #6b7280;
  --text-light:  #9ca3af;

  --navy:        #0f1c35;

  --font-serif:  'EB Garamond', Georgia, serif;
  --font-sans:   -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', system-ui, 'Inter', sans-serif;

  --section-pad: 88px;
  --container:   1160px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- Section type ---------- */
.section-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 14px;
}
.section-label.teal  { color: var(--teal); }
.section-label.light { color: rgba(255,255,255,0.6); }

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 20px;
}
.section-heading em { font-style: italic; color: var(--coral); }
.section-heading.centered { text-align: center; }
.section-heading.light { color: #fff; }

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 48px;
}
.section-sub.centered { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 11px 28px;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  border: 1.5px solid transparent;
}

.btn-primary {
  background: var(--coral);
  color: #fff;
  border-color: var(--coral);
}
.btn-primary:hover { background: var(--coral-dark); border-color: var(--coral-dark); }

.btn-teal {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.btn-teal:hover { background: var(--teal-dark); border-color: var(--teal-dark); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--text); }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover { border-color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--coral);
  border: none;
  padding-left: 0;
  font-size: 0.88rem;
  text-transform: none;
  letter-spacing: 0;
}
.btn-ghost:hover { color: var(--coral-dark); }

.btn-ghost-teal {
  background: transparent;
  color: var(--teal);
  border: none;
  padding-left: 0;
  font-size: 0.88rem;
  text-transform: none;
  letter-spacing: 0;
}
.btn-ghost-teal:hover { color: var(--teal-dark); }

/* ---------- NAV ---------- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 64px;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
  display: flex;
  align-items: center;
  padding: 0 40px;
}
#navbar.scrolled { border-bottom-color: var(--border); }

.nav-inner {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 3px;
}
.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-cta {
  background: var(--coral) !important;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 2px;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--coral-dark) !important; color: #fff !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: all 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- HOME HERO ---------- */
#hero {
  padding: 140px 0 88px;
  text-align: center;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.hero-logo-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 6px;
  margin: 0 auto 28px;
}

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: none;
  color: var(--text);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(5rem, 14vw, 10rem);
  font-weight: 600;
  line-height: 0.9;
  color: var(--text);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-style: italic;
  color: var(--coral);
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- STATS ---------- */
#stats {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.stats-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
}

.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
  text-align: center;
}

.stat-link {
  text-decoration: none;
}

.stat-link--capital {
  color: var(--teal);
}

.stat-link--consulting {
  color: #c4774f;
}

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

/* ---------- ALUMNI LOGOS ---------- */
#alumni-logos {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  padding: 36px 40px 32px;
}

.alumni-logos-label {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.alumni-logos-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.alumni-category-label {
  display: block;
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 16px;
  text-align: center;
}

.alumni-category-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.alumni-category-logos img {
  display: block;
  height: 40px;
  width: 120px;
  object-fit: contain;
  opacity: 0.35;
  filter: grayscale(100%);
  transition: opacity 0.3s, filter 0.3s;
}

.alumni-category-logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ---------- HOME ABOUT ---------- */
#home-about {
  padding: var(--section-pad) 0;
  border-bottom: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.about-text p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.85;
  margin-bottom: 18px;
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.about-card {
  background: var(--bg);
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
}
.about-card:last-child { border-bottom: none; }
.about-card-icon { display: none; }

.about-card h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 6px;
}
.about-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---------- HOME TEAMS ---------- */
#home-teams {
  padding: var(--section-pad) 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.teams-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.team-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.team-card-header {
  padding: 32px 32px 28px;
}
.team-card-header.capital   { background: var(--teal); }
.team-card-header.consulting { background: var(--coral); }

.team-tag {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 10px;
}

.team-card-header h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 4px;
}

.team-tagline {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
}

.team-card-body {
  padding: 28px 32px;
}

.team-card-body > p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.team-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.team-features li {
  display: flex;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.feat-icon { flex-shrink: 0; }
.capital   .feat-icon { color: var(--teal); }
.consulting .feat-icon { color: var(--coral); }

.team-card-footer {
  padding: 18px 32px;
  border-top: 1px solid var(--border);
}

/* ---------- HOME EVENTS ---------- */
#home-events {
  padding: var(--section-pad) 0;
  border-bottom: 1px solid var(--border);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.event-card {
  background: var(--bg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-right: 1px solid var(--border);
}
.event-card:last-child { border-right: none; }

.event-num {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  color: var(--text-light);
  font-style: italic;
}

.event-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
}

.event-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.75;
  flex: 1;
}

.event-tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: 4px;
}
.event-tag.coral { color: var(--coral); }

/* ---------- HOME JOIN CTA ---------- */
#home-join {
  padding: var(--section-pad) 0;
  background: var(--navy);
  text-align: center;
}

.home-join-inner .section-sub { color: rgba(255,255,255,0.6); }

.join-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
  padding: 120px 0 56px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.page-hero .section-label { margin-bottom: 10px; }

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
}
.page-hero h1 em { font-style: italic; color: var(--coral); }

.page-hero p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.8;
}

/* ---------- ABOUT PAGE ---------- */
.about-page-body { padding: var(--section-pad) 0; }

.about-full-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 72px;
  align-items: start;
  margin-bottom: 72px;
}

.about-full-text p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 18px;
}

.about-full-text .quote {
  border-left: 2px solid var(--coral);
  padding-left: 22px;
  margin: 28px 0;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
}

.about-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  position: sticky;
  top: 84px;
}

.sidebar-card {
  background: var(--bg);
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
}
.sidebar-card:last-child { border-bottom: none; }

.sidebar-card .sc-label {
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 6px;
}

.sidebar-card h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 5px;
}

.sidebar-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Offerings grid */
.offerings-section {
  padding-top: var(--section-pad);
  border-top: 1px solid var(--border);
}

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.offering-card {
  background: var(--bg);
  padding: 28px 26px;
  border-right: 1px solid var(--border);
}
.offering-card:nth-child(3n) { border-right: none; }

.offering-icon { display: none; }

.offering-card h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.offering-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- TEAMS PAGE ---------- */
.teams-page-body { padding: var(--section-pad) 0; }

.team-full {
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 32px;
}

.team-full-header {
  padding: 44px 48px 36px;
}
.team-full-header.capital   { background: var(--teal); }
.team-full-header.consulting { background: var(--coral); }

.team-full-header .team-tag {
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 12px;
  display: block;
}

.team-full-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 500;
  color: #fff;
  margin-bottom: 6px;
}

.team-full-header .team-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em;
}

.team-full-body {
  background: var(--bg);
  padding: 44px 48px;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 56px;
}

.team-full-desc p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 18px;
}

.team-full-features {
  display: flex;
  flex-direction: column;
}

.team-full-features li {
  display: flex;
  gap: 14px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.team-full-features li:first-child { padding-top: 0; }
.team-full-features li:last-child  { border-bottom: none; padding-bottom: 0; }

/* Teams page operations section */
.team-ops-section {
  margin-top: 32px;
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.team-ops-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 36px 48px;
  background: var(--bg-alt);
}

.team-ops-text {
  flex-shrink: 0;
  max-width: 260px;
}

.team-ops-heading {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.team-ops-text p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---------- EVENTS PAGE ---------- */
.events-page-body { padding: var(--section-pad) 0; }

.events-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 56px;
}

.event-full-card {
  background: var(--bg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.event-full-card:nth-child(2n) { border-right: none; }
.event-full-card:nth-last-child(-n+2) { border-bottom: none; }

.event-full-card .event-num {
  font-family: var(--font-serif);
  font-size: 0.82rem;
  color: var(--text-light);
  font-style: italic;
}
.event-full-card.teal .event-num { color: var(--teal); opacity: 0.7; }

.event-full-card h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.2;
}

.event-full-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.78;
  flex: 1;
}

.event-full-card .event-tag {
  margin-top: 6px;
  color: var(--teal);
}
.event-full-card.teal .event-tag { color: var(--teal); }

/* ---------- JOIN PAGE ---------- */
.join-page-body { padding: var(--section-pad) 0; }

.join-who {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 36px 40px;
  margin-bottom: 56px;
}
.join-who p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 680px;
}
.join-who p + p { margin-top: 14px; }

.join-steps-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 72px;
}

.join-step-card {
  background: var(--bg);
  padding: 36px 32px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.join-step-card:last-child { border-right: none; }

.step-num-lg {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--coral);
}

.join-step-card h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
}

.join-step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.join-social-section {
  padding-top: 56px;
  border-top: 1px solid var(--border);
}

.join-social-section .section-heading {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-bottom: 14px;
}

.join-social-section > p {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 28px;
}

.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border: 1.5px solid var(--border);
  border-radius: 2px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- Divider ---------- */
.section-divider {
  height: 1px;
  background: var(--border);
  margin: 64px 0;
}

/* ---------- FOOTER ---------- */
#footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  padding-bottom: 52px;
}

.footer-brand { display: flex; flex-direction: column; gap: 0; }

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-logo-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border-radius: 3px;
  opacity: 0.75;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
}

.footer-brand p {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
}
.footer-brand .footer-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.28);
  margin-top: 3px;
}

.footer-links { display: flex; gap: 52px; }

.footer-col h4 {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-col a:hover { color: rgba(255,255,255,0.85); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 40px;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.05em;
}

/* ---------- NAV DROPDOWN ---------- */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 8px 0;
  min-width: 220px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  z-index: 110;
  padding-top: 16px;
  margin-top: 0;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu li {
  padding: 0;
}

.nav-dropdown-menu a {
  display: block;
  padding: 8px 20px;
  font-size: 0.76rem !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
  color: var(--text-muted) !important;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  color: var(--text) !important;
  background: var(--bg-alt);
}

/* ---------- WORK PAGES ---------- */
.work-page-body {
  padding: var(--section-pad) 0;
  border-bottom: 1px solid var(--border);
}

.work-intro {
  max-width: 720px;
  margin-bottom: 48px;
}

.work-intro p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Sector index (Capital reports page) */
.sector-index {
  border-top: 2px solid var(--text);
}

.sector-row {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
}

.sector-num {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--teal);
  flex-shrink: 0;
  width: 28px;
}

.sector-row h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--text);
  flex-shrink: 0;
  width: 240px;
}

.sector-row p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.sector-arrow {
  font-size: 1.2rem;
  color: var(--text-light);
  flex-shrink: 0;
}

/* Client grid (Consulting portfolio page) */
.client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.client-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.client-card img {
  height: 48px;
  width: 140px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: grayscale(100%);
  opacity: 0.6;
}

.client-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.client-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.client-placeholder {
  grid-column: 1 / -1;
  border-style: dashed;
  padding: 64px 24px;
}

.client-placeholder-icon {
  font-size: 2rem;
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1;
}

/* ---------- EXECUTIVE TEAM ---------- */
.exec-section {
  padding-top: var(--section-pad);
  border-top: 1px solid var(--border);
}

.exec-group {
  margin-bottom: 48px;
}
.exec-group:last-child { margin-bottom: 0; }

.exec-group-label {
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.exec-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}

.exec-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.exec-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 14px;
  filter: grayscale(20%);
  transition: filter 0.3s, transform 0.3s;
}
.exec-card:hover img {
  filter: grayscale(0%);
  transform: scale(1.04);
}

.exec-card h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 3px;
  line-height: 1.3;
}

.exec-card .exec-role {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Chair cards — larger headshots */
.exec-grid-chairs {
  grid-template-columns: repeat(2, 1fr);
  max-width: 400px;
}

.exec-card-chair img {
  width: 150px;
  height: 150px;
}

.exec-card-chair h4 {
  font-size: 1.1rem;
}

/* Team page leadership strip */
.team-leadership {
  padding: 36px 48px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 48px;
}

.team-leadership-label {
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  flex-shrink: 0;
}

.team-leadership-grid {
  display: flex;
  gap: 36px;
}

.team-leader {
  display: flex;
  align-items: center;
  gap: 14px;
}

.team-leader img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.team-leader-info h4 {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.2;
}

.team-leader-info span {
  font-size: 0.73rem;
  color: var(--text-muted);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .about-grid,
  .about-full-grid  { grid-template-columns: 1fr; gap: 48px; }
  .teams-grid       { grid-template-columns: 1fr; }
  .team-full-body   { grid-template-columns: 1fr; gap: 36px; }
  .events-grid      { grid-template-columns: 1fr; }
  .offerings-grid   { grid-template-columns: repeat(2, 1fr); }
  .footer-inner     { grid-template-columns: 1fr; gap: 40px; }
  .footer-links     { gap: 40px; }
  .about-sidebar    { position: static; }
  .exec-grid        { grid-template-columns: repeat(3, 1fr); }
  .team-leadership  { padding: 28px 32px; flex-direction: column; align-items: flex-start; gap: 20px; }
  .team-ops-inner   { flex-direction: column; align-items: flex-start; gap: 28px; padding: 28px 32px; }
  .team-ops-text    { max-width: none; }
}

@media (max-width: 768px) {
  :root { --section-pad: 64px; }

  .container { padding: 0 24px; }
  #navbar    { padding: 0 24px; }
  .footer-bottom { padding: 20px 24px; }

  .nav-links {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0; bottom: 0;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    z-index: 99;
    border-top: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; color: var(--text); }
  .nav-toggle { display: flex; }
  .nav-cta { padding: 12px 28px !important; }

  .stats-grid { flex-wrap: wrap; }
  .stat-item {
    flex: 1 1 50%;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .stat-item:nth-child(2n) { border-right: none; }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }

  .events-grid      { grid-template-columns: 1fr; }
  .events-full-grid { grid-template-columns: 1fr; }
  .offerings-grid   { grid-template-columns: 1fr; }
  .join-steps-full  { grid-template-columns: 1fr; }
  .sector-row        { flex-wrap: wrap; gap: 8px 24px; }
  .sector-row h3     { width: auto; }
  .sector-row p      { flex-basis: 100%; }
  .sector-arrow      { display: none; }
  .client-grid      { grid-template-columns: 1fr; }
  .footer-links     { flex-direction: column; gap: 28px; }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    margin-top: 0;
    padding: 4px 0;
    background: transparent;
  }
  .nav-dropdown-menu a {
    text-align: center !important;
    padding: 6px 20px !important;
    font-size: 0.85rem !important;
  }
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown .nav-dropdown-menu {
    display: block;
  }

  .team-full-header { padding: 32px 28px 24px; }
  .team-full-body   { padding: 32px 28px; }
  .exec-grid        { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .team-leadership  { padding: 24px 28px; }
  .team-leadership-grid { flex-wrap: wrap; gap: 20px; }
  .team-ops-inner   { padding: 24px 28px; }

  .event-full-card:nth-child(2n)       { border-right: none; }
  .event-full-card:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .event-full-card:last-child { border-bottom: none; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(4rem, 18vw, 5rem); }
}
