:root {
  --navy: #073848;
  --navy2: #075b63;
  --teal: #087f82;
  --turq: #28c5bd;
  --cream: #f7f1e7;
  --ink: #103945;
  --muted: #61797b;
  --line: rgba(8, 127, 130, 0.2);
}

.site-header {
  background: linear-gradient(90deg, rgba(6, 91, 99, 0.98), rgba(8, 127, 130, 0.96));
  border-bottom: 2px solid rgba(214, 163, 62, 0.72);
}

.nav-cta {
  border-color: var(--gold);
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(4, 82, 88, 0.96) 0%, rgba(5, 104, 108, 0.84) 34%, rgba(8, 127, 130, 0.24) 72%, rgba(7, 56, 72, 0.1) 100%);
}

.build {
  background: linear-gradient(135deg, #06656b 0%, #09888a 62%, #12a5a2 100%);
  border-top: 7px solid var(--navy);
}

.pillars article:hover {
  background: rgba(4, 76, 82, 0.58);
}

.principles > div {
  background: #dff3ef;
  color: var(--ink);
  border-right-color: rgba(8, 127, 130, 0.18);
}

.principles > div:nth-child(even) {
  border-top: 4px solid var(--navy);
}

.principles > div:nth-child(odd) {
  border-top: 4px solid var(--gold);
}

.principles {
  grid-template-columns: repeat(4, 1fr);
}

.principles p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.founder-copy {
  max-width: 760px;
}

.founder-copy .lead {
  color: var(--teal);
}

.founder-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.partners-main {
  padding-top: 88px;
}

.partners-hero {
  min-height: 600px;
  padding: clamp(6rem, 12vw, 10rem) clamp(1.25rem, 7vw, 7rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  background: linear-gradient(120deg, #05636a 0%, #0a8d8e 58%, #2bc4bb 100%);
}

.partners-hero h1 {
  max-width: 850px;
  margin: 0;
  font: 600 clamp(3.8rem, 8vw, 7.6rem)/0.96 "Manrope", sans-serif;
  letter-spacing: -0.05em;
}

.partners-hero h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--gold);
}

.partners-hero > p:last-child {
  max-width: 650px;
  margin: 2rem 0 0;
  font-size: 1.2rem;
  color: rgba(255,255,255,.82);
}

.partner-gallery {
  background: var(--paper);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.logo-card {
  min-height: 240px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .2s, transform .2s;
}

.logo-card:hover {
  background: #e8f7f3;
  transform: translateY(-3px);
}

.logo-card > span {
  color: var(--teal);
  line-height: 1;
}

.logo-card small {
  margin-top: 1rem;
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ande-logo, .nbec-logo { font: 700 3rem "Manrope", sans-serif; letter-spacing: -.08em; }
.palladium-logo { font: 600 1.8rem "Manrope", sans-serif; letter-spacing: .08em; }
.palladium-logo b { color: var(--gold); }
.segal-logo { font: 700 2.5rem "Manrope", sans-serif; letter-spacing: .05em; border-bottom: 6px solid var(--gold); padding-bottom: .4rem; }
.kpmg-logo { display: flex; gap: 2px; }
.kpmg-logo b { border: 2px solid var(--teal); padding: .45rem .35rem; font: 700 1.6rem "Manrope", sans-serif; }
.templeton-logo { font: 600 2rem Georgia, serif; letter-spacing: .08em; }

.founder-monogram {
  background: linear-gradient(145deg, #087f82, #22b8b2);
  border-bottom: 8px solid var(--navy);
}

.cta {
  background: linear-gradient(135deg, #05737a 0%, #0e9695 56%, #26bdb5 100%);
}

footer {
  background: linear-gradient(100deg, #073848 0%, #065b63 72%);
  border-top: 3px solid var(--gold);
}

.section-heading h2,
.founder-copy h2,
.partners-hero h1 {
  text-shadow: 0 1px 0 rgba(7, 56, 72, 0.08);
}

.approach-card {
  border-top: 5px solid var(--gold);
  box-shadow: 0 20px 50px rgba(7, 56, 72, 0.08);
}

.logo-card {
  border-top: 3px solid transparent;
}

.logo-card:hover {
  border-top-color: var(--gold);
}

@media (max-width: 900px) {
  .site-header nav {
    background: #06656b;
  }
  .principles, .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-main { padding-top: 72px; }
}

@media (max-width: 580px) {
  .hero-overlay {
    background: linear-gradient(90deg, rgba(4, 82, 88, 0.96), rgba(8, 127, 130, 0.68));
  }
  .principles, .logo-grid { grid-template-columns: 1fr; }
  .logo-card { min-height: 200px; }
}

.palette-switcher {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .75rem 1rem;
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--gold);
  box-shadow: 0 8px 30px rgba(7,56,72,.18);
  font-size: .8rem;
}

.palette-switcher a { color: var(--teal); font-weight: 600; }
