:root {
  --ink: #182124;
  --muted: #55646a;
  --line: #dbe3e4;
  --paper: #fbfbf8;
  --white: #ffffff;
  --green: #1d6b57;
  --green-dark: #11483a;
  --gold: #d89a2b;
  --gold-text: #7f5207;
  --rose: #a64c5d;
  --shadow: 0 24px 70px rgba(18, 34, 39, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 64px);
  background: rgba(251, 251, 248, 0.92);
  border-bottom: 1px solid rgba(219, 227, 228, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 8px;
  object-fit: contain;
  background: var(--white);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  max-width: 260px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 22px);
  color: #314044;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  border-bottom: 2px solid transparent;
  padding: 8px 0;
}

.site-nav a:hover {
  border-color: var(--gold);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 74px));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 35, 32, 0.9), rgba(10, 35, 32, 0.55) 52%, rgba(10, 35, 32, 0.25)),
    linear-gradient(0deg, rgba(10, 35, 32, 0.6), rgba(10, 35, 32, 0.05) 44%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
  padding: clamp(72px, 13vw, 132px) clamp(18px, 5vw, 64px);
  color: var(--white);
}

.hero-caption {
  position: absolute;
  right: clamp(18px, 5vw, 64px);
  bottom: 18px;
  z-index: 1;
  max-width: 330px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  line-height: 1.4;
  text-align: right;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold-text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.leadership-section .eyebrow,
.contact-section .eyebrow {
  color: var(--gold);
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.hero .eyebrow {
  color: var(--gold);
  background: transparent;
  border-radius: 0;
  padding: 0;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.section-heading h2,
.intro .section-grid > div:first-child h2,
.leadership-intro h2,
.contact-panel > div:first-child h2 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
}

.modal-card .eyebrow {
  margin-bottom: 8px;
  color: var(--rose);
  font-size: 12px;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  font-size: 21px;
  line-height: 1.2;
}

.hero-lede {
  width: min(640px, 100%);
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(18px, 2.2vw, 23px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  background: var(--gold);
  color: #1e170a;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.46);
  color: var(--white);
}

.button.solid {
  background: var(--green);
  color: var(--white);
}

.button.outline {
  border-color: var(--green);
  background: var(--white);
  color: var(--green);
}

.band {
  padding: clamp(32px, 3vw, 40px) clamp(18px, 5vw, 64px);
}

.section-grid,
.section-heading,
.contact-panel,
.worked-with {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.section-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.rich-text {
  color: var(--muted);
  font-size: 18px;
}

.worked-with {
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.worked-with h3 {
  margin-bottom: 16px;
}

.org-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.org-list li {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-weight: 800;
}

.work {
  background: #edf3ef;
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading > p:not(.eyebrow),
.section-heading > div > p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.gallery-note {
  margin-bottom: 0;
  font-size: 16px !important;
}

.section-heading.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.unit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.unit-card,
.technical-card,
.post-card,
.modal-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.unit-card {
  min-height: 430px;
  padding: 24px;
}

.unit-card .icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: #e6f0ec;
  color: var(--green);
  font-weight: 900;
}

.unit-card h3 {
  margin: 32px 0 12px;
}

.unit-card h4 {
  margin: 22px 0 10px;
  color: var(--green-dark);
  font-size: 13px;
  text-transform: uppercase;
}

.unit-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

.unit-card p,
.technical-card p,
.post-card p {
  color: var(--muted);
}

.technical-section {
  background: var(--paper);
}

.technical-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.technical-card {
  min-height: 230px;
  padding: 28px;
}

.technical-card h3 {
  margin-bottom: 12px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.post-card {
  display: flex;
  min-height: 315px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
}

.post-card time {
  color: var(--rose);
  font-size: 13px;
  font-weight: 800;
}

.post-card button,
.text-link {
  width: fit-content;
  border: 0;
  border-bottom: 2px solid var(--gold);
  background: transparent;
  color: var(--green-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.gallery-section {
  background: #edf3ef;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.gallery-grid figure {
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.gallery-grid figure > img {
  width: 100%;
  min-height: 0;
  flex: 1;
  object-fit: cover;
}

.gallery-grid figcaption {
  padding: 14px 16px 16px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}

.g-collage {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.g-top {
  grid-column: 3 / 5;
}

.g-top > img {
  min-height: 210px;
}

.g-wide {
  grid-column: 1 / -1;
}

.g-wide > img {
  height: auto;
  flex: none;
}

.collage {
  display: grid;
  flex: 1;
  min-height: 440px;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1.35fr 1fr;
  gap: 3px;
  background: var(--white);
}

.collage img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.collage img:first-child {
  grid-column: 1 / 3;
  object-position: center 30%;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  color: var(--white);
}

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

.social-links a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #0866ff;
  transition: transform 160ms ease, filter 160ms ease;
}

.social-links a img {
  display: block;
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

.social-links .social-instagram {
  border-radius: 13px;
  background: radial-gradient(circle at 30% 105%, #ffd76a 0 16%, #fd5949 42%, #d6249f 67%, #285aeb 100%);
}

.social-links .social-x {
  background: #111;
}

.social-links .social-linkedin {
  border-radius: 8px;
  background: transparent;
}

.social-links .social-linkedin img {
  width: 42px;
  height: 42px;
  filter: none;
}

.post-modal[hidden],
.privacy-modal[hidden] {
  display: none;
}

.post-modal,
.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 20, 22, 0.62);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  max-height: min(720px, 88vh);
  overflow: auto;
  padding: clamp(28px, 5vw, 48px);
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.privacy-card {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 6px;
  background: var(--white);
  box-shadow: var(--shadow);
  outline: none;
}

.privacy-card h2 {
  margin-bottom: 18px;
  font-size: clamp(26px, 4vw, 34px);
  text-align: center;
}

.privacy-card p {
  color: #2b3a3f;
  font-size: 15px;
}

.privacy-card p a {
  border-bottom: 1px solid var(--gold);
  font-weight: 800;
}

.privacy-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}

.privacy-actions .button {
  min-width: 190px;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.08em;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .site-nav {
    gap: 12px;
    font-size: 13px;
  }
}

@media (min-width: 761px) {
  .section-heading.split .text-link {
    white-space: nowrap;
  }
}

@media (max-width: 980px) {
  .section-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .unit-grid,
  .technical-grid,
  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .g-collage {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .g-top {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
  }

  .brand small {
    max-width: 190px;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: 84px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 18px 50px rgba(18, 34, 39, 0.14);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 720px;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(10, 35, 32, 0.9), rgba(10, 35, 32, 0.3));
  }

  .hero .eyebrow {
    display: inline-block;
  }

  .hero-caption {
    right: 18px;
    left: 18px;
    max-width: none;
    text-align: left;
  }

  .hero-content {
    padding-bottom: 96px;
  }

  .unit-grid,
  .technical-grid,
  .gallery-grid,
  .post-grid,
  .team-list,
  .name-list {
    grid-template-columns: 1fr;
  }


  .ed-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .collage {
    min-height: 300px;
  }

  .section-heading.split {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ---- Multi-page layout ---- */
.site-nav a[aria-current="page"] {
  border-color: var(--gold);
  color: var(--green-dark);
}

.worked-with {
  margin-top: 48px;
}

.worked-with h2 {
  margin-bottom: 18px;
  font-size: 26px;
}

.unit-card h2 {
  margin: 32px 0 12px;
  font-size: 21px;
  line-height: 1.2;
}

.technical-card h2 {
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.2;
}

.post-card h2 {
  margin: 8px 0 12px;
  font-size: 21px;
  line-height: 1.2;
}

.ed-card,
.team-block {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: var(--white);
}

.ed-card {
  display: flex;
  align-items: center;
  gap: 26px;
}

.ed-card h2 {
  margin-bottom: 2px;
  font-size: 28px;
}

.ed-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.ed-card .role {
  margin-bottom: 10px;
  color: var(--green);
  font-weight: 800;
}

.team-block h2 {
  margin-bottom: 16px;
  font-size: 22px;
}

.team-list,
.name-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.team-list li strong {
  display: block;
}

.team-list li span {
  color: var(--muted);
  font-size: 15px;
}

.name-list li {
  color: var(--ink);
}

.contact-section {
  background: #edf3ef;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  color: var(--ink);
}

.contact-details {
  display: grid;
  gap: 10px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-weight: 800;
}

.contact-details h2,
.contact-card h2 {
  margin: 0 0 6px;
  font-size: 24px;
}

.contact-details a {
  width: fit-content;
  border-bottom: 2px solid var(--gold);
}

.contact-card {
  display: grid;
  gap: 14px;
  justify-items: start;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.contact-card p {
  margin: 0;
  color: var(--muted);
}

.contact-card .consent {
  font-size: 14px;
}

.contact-card .consent a {
  border-bottom: 1px solid var(--gold);
  color: var(--ink);
  font-weight: 800;
}

.follow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-weight: 800;
}

.social-links a:hover { transform: translateY(-2px); }
.social-links a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  width: min(1160px, calc(100% - 2 * clamp(18px, 5vw, 64px)));
  margin: 0 auto;
  padding: 28px 0;
  color: var(--muted);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
}

.footer-logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: contain;
  background: var(--white);
}

.footer-copy {
  margin: 0;
  font-size: 14px;
}

.footer-privacy {
  margin-left: 4px;
  border: 0;
  border-bottom: 2px solid var(--gold);
  background: transparent;
  color: var(--green-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.page-main {
  width: min(820px, 100%);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) clamp(18px, 5vw, 64px);
}

.page-main h1 {
  font-size: clamp(36px, 5vw, 56px);
}

.page-main h2 {
  margin: 32px 0 8px;
  font-size: 24px;
}

.page-main p {
  color: var(--muted);
  font-size: 18px;
}

.page-main a:not(.text-link) {
  border-bottom: 1px solid var(--gold);
}

@media (max-width: 980px) {
  .leadership-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .section-heading h2,
  .intro .section-grid > div:first-child h2,
  .leadership-intro h2,
  .contact-panel > div:first-child h2 {
    font-size: 26px;
  }

  .team-list,
  .name-list {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---- Single-page dark sections ---- */
.leadership-section {
  padding: clamp(32px, 3vw, 40px) clamp(18px, 5vw, 64px);
  background: #173d35;
  color: var(--white);
}

.leadership-section .eyebrow {
  color: var(--gold);
  background: transparent;
  padding: 0;
}

.leadership-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 6vw, 76px);
  width: min(1160px, 100%);
  margin: 0 auto;
}

.leadership-intro p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
}

.leadership-people {
  display: grid;
  gap: 14px;
  align-content: start;
}

.leadership-section .ed-card,
.leadership-section .team-block {
  padding: 22px;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.leadership-section .ed-card h3 {
  margin: 0 0 2px;
  font-size: 24px;
}

.leadership-section .ed-card p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.leadership-section .ed-card .role {
  margin-bottom: 8px;
  color: var(--gold);
}

.leadership-section .team-block h3 {
  margin-bottom: 14px;
  font-size: 18px;
}

.leadership-section .team-list li span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.leadership-section .name-list li {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
}

.contact-section {
  padding: 0 clamp(18px, 5vw, 64px) clamp(32px, 3vw, 40px);
  background: #173d35;
}

.contact-section .contact-panel {
  color: var(--white);
}

.contact-section .contact-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-section .contact-details {
  margin-top: 26px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
}

.contact-section .contact-card {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.contact-section .contact-card h3 {
  margin: 0;
}

.contact-section .contact-card p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-section .contact-card .consent a {
  color: var(--white);
}

.contact-section .follow {
  color: rgba(255, 255, 255, 0.9);
}



@media (max-width: 980px) {
  .leadership-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .leadership-section .ed-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

.impact-section {
  background: var(--paper);
}

.impact-section .section-heading {
  margin-bottom: 28px;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.impact-stat {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-height: 96px;
  padding: 20px 24px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: var(--white);
}

.impact-stat strong {
  color: var(--green-dark);
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1;
  white-space: nowrap;
}

.impact-stat span {
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
}

.partners-section {
  background: var(--white);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 142px;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.partner-logo img {
  width: 100%;
  height: 104px;
  object-fit: contain;
}

@media (max-width: 980px) {
  .partner-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .impact-grid {
    grid-template-columns: 1fr;
  }

  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .partner-logo {
    min-height: 124px;
    padding: 14px;
  }

  .partner-logo img {
    height: 92px;
  }

  .partner-logo:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 220px);
  }
}
.impact-section {
  padding-top: 0;
  padding-bottom: clamp(28px, 3vw, 40px);
}

.impact-section .section-heading {
  margin-bottom: 24px;
}

.impact-section .section-heading h2 {
  max-width: none;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
}

@media (max-width: 760px) {
  .impact-section {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .impact-section .section-heading {
    margin-bottom: 20px;
  }
}


/* ---- Spacing and polish pass ---- */
/* Hairline dividers where neighbouring sections share a background */
.impact-section::before,
.contact-section::before {
  content: "";
  display: block;
  width: min(1160px, 100%);
  height: 1px;
  margin: 0 auto;
}

.impact-section::before {
  margin-bottom: clamp(24px, 2.5vw, 32px);
  background: var(--line);
}

.contact-section::before {
  margin-bottom: clamp(28px, 3vw, 40px);
  background: rgba(255, 255, 255, 0.16);
}

.impact-section .section-heading { margin-bottom: 20px; }

/* Leadership: heading is now a real h2, intro stays in view beside the long list */
.leadership-intro h2 { margin-bottom: 14px; color: var(--white); }

@media (min-width: 981px) {
  .leadership-intro {
    position: sticky;
    top: 110px;
    align-self: start;
  }
}

/* Data Peaks logo is a dark tile: let the card blend into it */
.partner-logo.is-dark {
  padding: 0;
  overflow: hidden;
  border-color: #0a0a0a;
  background: #0a0a0a;
}

.partner-logo.is-dark img {
  height: 100%;
  min-height: 140px;
  object-fit: cover;
}

@media (max-width: 760px) {
  .impact-section { padding-top: 0; }
  .partner-logo.is-dark img { min-height: 0; }
}

/* Mobile footer: keep the name and copyright on one line */
@media (max-width: 760px) {
  .site-footer {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 0;
  }

  .footer-brand {
    flex: 1 1 auto;
    min-width: 0;
    gap: 10px;
    font-size: 14px;
    line-height: 1.3;
  }

  .footer-logo {
    width: 40px;
    height: 40px;
  }

  .footer-copy {
    flex: 0 0 auto;
    font-size: 13px;
    white-space: nowrap;
  }
}
