/* ════════════════════════════════════════════════════════════════
   PARTNERS — logo wall
   ════════════════════════════════════════════════════════════════ */
.partners {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface-1);
  overflow: hidden;
}
.partners__inner {
  padding: clamp(64px, 8vw, 120px) 0;
}
.partners__lbl {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.partners__lbl-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 12px 0 0;
}
.partners__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.partner-logo {
  background: var(--surface-1);
  padding: 36px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  transition: background-color .2s ease;
}
.partner-logo:hover { background: var(--surface-2); }
.partner-logo img {
  max-height: 44px;
  max-width: 100%;
  width: auto;
  filter: brightness(0) invert(1) opacity(.78);
  transition: filter .25s ease, transform .25s ease;
}
:root.light .partner-logo img { filter: brightness(0) opacity(.7); }
.partner-logo:hover img { filter: brightness(0) invert(1) opacity(1); transform: scale(1.04); }
:root.light .partner-logo:hover img { filter: brightness(0) opacity(1); }
@media (max-width: 1000px) { .partners__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px)  { .partners__grid { grid-template-columns: repeat(2, 1fr); } }

/* ════════════════════════════════════════════════════════════════
   CASE STUDIES — image grid with click-to-expand
   ════════════════════════════════════════════════════════════════ */
.cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 1.6vw, 28px);
}
/* Center an orphaned last card (odd total) on its own row.
   A 4-col track keeps every card the same width as the 2-up rows. */
@media (min-width: 581px) {
  .cases:has(.case:nth-child(odd):last-child) {
    grid-template-columns: repeat(4, 1fr);
  }
  .cases:has(.case:nth-child(odd):last-child) .case {
    grid-column: span 2;
  }
  .cases:has(.case:nth-child(odd):last-child) .case:last-child {
    grid-column: 2 / span 2;
  }
}
.case {
  position: relative;
  aspect-ratio: 3 / 2;
  background: var(--card-bg);
  -webkit-backdrop-filter: var(--card-blur);
  backdrop-filter: var(--card-blur);
  border: var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  padding: 28px;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .35s ease, border-color .2s ease, background-color .2s ease;
  isolation: isolate;
}
.case:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.case__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .35s ease, transform .8s ease;
}
.case:hover .case__bg { opacity: .25; transform: scale(1.06); }
.case__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .4s ease, transform .9s ease;
  pointer-events: none;
  filter: brightness(.4) saturate(1.05);
  -webkit-mask-image: linear-gradient(to top right, #000 0%, rgba(0,0,0,.82) 30%, rgba(0,0,0,.32) 58%, transparent 80%);
  mask-image: linear-gradient(to top right, #000 0%, rgba(0,0,0,.82) 30%, rgba(0,0,0,.32) 58%, transparent 80%);
}
.case:hover .case__media { opacity: 1; transform: scale(1.06); }
/* Touch devices: the card centered in the viewport reveals its image (JS toggles the class) */
.case--touch-active .case__media { opacity: 1; transform: scale(1.04); }
.case--touch-active { border-color: var(--border-strong); }
/* keep card content above the hover media */
.case > :not(.case__media) { position: relative; z-index: 1; }
.case__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.case__cat {
  font-family: var(--font-label);
  font-size: 10.5px;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--text-3);
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
}
.case__num {
  font-family: var(--font-label);
  font-size: 10.5px;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--text-3);
}
.case__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 0;
  padding: 12px 8px;
}
.case__logo img {
  max-height: 144px;
  max-width: 94%;
  width: auto;
  filter: brightness(0) invert(1) opacity(.88);
  transition: filter .25s ease;
}
:root.light .case__logo img { filter: brightness(0) opacity(.8); }
.case__logo--tall img { max-height: 160px; max-width: 96%; }
.case__wordmark {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  text-align: center;
  line-height: 1;
  opacity: .92;
}
.case__wordmark--lg {
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 700;
}
.case--with-bg .case__logo img { filter: brightness(0) invert(1) opacity(1); }
.case__icon {
  width: 118px;
  height: 118px;
  color: #fff;
  opacity: .88;
}
.case--with-bg .case__icon { color: #fff; opacity: 1; }
.modal__aside-logo .case__icon { width: 130px; height: 130px; color: var(--text); }
/* Bodyscan: white body-scan silhouette + small Netflix wordmark bottom-right */
.case__genlogo {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
}
.case__scan {
  height: 150px;
  width: auto;
  display: block;
}
.case__netflix-n {
  position: absolute;
  right: -30px;
  bottom: 10px;
  width: 26px;
  height: 26px;
  filter: none !important;
}
.modal__aside-logo .case__scan { height: 168px; }
.modal__aside-logo .case__netflix-n { width: 30px; }
.case__projname {
  font-family: var(--font-label);
  font-size: 10.5px;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 7px;
}
.case__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.25;
  color: var(--text);
  margin: 0;
}
.case__client {
  font-family: var(--font-label);
  font-size: 10.5px;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--text-3);
  margin: 4px 0 0;
}
.case__arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 14px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .25s ease, transform .25s ease;
}
.case__tech {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: .01em;
  color: var(--text-3);
  line-height: 1.35;
  margin-top: 7px;
}
.case:hover .case__arrow { opacity: 1; transform: translateX(0); }

@media (max-width: 1024px) {
  /* 2-up cards on tablets / landscape phones: the fixed 3:2 box is too short for
     the larger logos + 2-line titles + tech, so content overflowed and overlapped.
     Let the cards grow to fit and cap the logo sizes. */
  .case {
    aspect-ratio: auto;
    min-height: 230px;
    justify-content: flex-start;
    gap: 12px;
  }
  .case__logo {
    flex: 0 0 auto;
    min-height: 116px;
    padding: 8px 6px 2px;
  }
  .case__logo img { max-height: 92px; max-width: 80%; }
  .case__logo--tall img { max-height: 104px; max-width: 86%; }
  .case__icon { width: 92px; height: 92px; }
  .case__scan { height: 108px; }
  .case__arrow { opacity: 1; transform: none; }
}

@media (max-width: 580px) {
  .cases { grid-template-columns: 1fr; gap: 16px; }
  /* The fixed 3:2 ratio makes single-column cards collide; let them hug content. */
  .case {
    aspect-ratio: auto;
    min-height: 0;
    padding: 22px;
    gap: 14px;
    justify-content: flex-start;
  }
  .case__logo {
    flex: 0 0 auto;
    padding: 6px 4px 2px;
    justify-content: flex-start;
  }
  .case__logo img { max-height: 56px; max-width: 58%; }
  .case__logo--tall img { max-height: 64px; max-width: 64%; }
  .case__icon { width: 72px; height: 72px; }
  .case__scan { height: 92px; }
  .case__netflix-n { width: 22px; right: -26px; bottom: 8px; }
  .case__wordmark { font-size: 23px; }
  .case__title { font-size: 16px; }
  .case__tech { font-size: 10.5px; margin-top: 6px; }
  /* No hover on touch, so always reveal the call-to-action. */
  .case__arrow { opacity: 1; transform: none; margin-top: 12px; }
}

/* CASE MODAL */
.modal-scrim {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.modal-scrim.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 4px;
  width: 100%;
  max-width: 920px;
  max-height: 86vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 0;
  transform: translateY(20px);
  transition: transform .3s ease;
}
.modal-scrim.open .modal { transform: translateY(0); }
.modal__body { padding: clamp(32px, 4vw, 56px); }
.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.modal__eyebrow {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.modal__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 24px;
  color: var(--text);
}
/* The in-body hero image is only used on narrow screens (see media query);
   on desktop the case image lives in the right aside instead. */
.modal__hero-img {
  display: none;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--border, rgba(0,0,0,0.08));
  background: var(--surface-2);
  margin: 0 0 28px;
}
.modal__sect { margin-bottom: 24px; }
.modal__sect-lbl {
  font-family: var(--font-label);
  font-size: 10.5px;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.modal__sect-body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-2);
  margin: 0;
}
.modal__sect-body ul { margin: 0; padding-left: 16px; }
.modal__sect-body li { margin-bottom: 4px; }
.modal__aside {
  background: var(--surface-2);
  padding: clamp(28px, 3vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  position: relative;
}
.modal__aside-logo {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}
.modal__aside-logo img { max-height: 80px; max-width: 80%; width: auto; filter: brightness(0) invert(1); }
:root.light .modal__aside-logo img { filter: brightness(0); }
.modal__aside-img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
}
.modal__tech { display: flex; flex-wrap: wrap; gap: 6px; }
.modal__tech-tag {
  font-family: var(--font-label);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 5px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
}
@media (max-width: 760px) {
  .modal { grid-template-columns: 1fr; max-height: 92vh; }
  /* Show the image right after the title; drop the duplicate in the aside
     and the now-empty logo frame ordering stays sensible. */
  .modal__hero-img { display: block; }
  .modal__aside-img { display: none; }
  /* Logo-style images (e.g. a brand mark rather than a screenshot) shouldn't
     stretch full-width on mobile. */
  .modal__hero-img--logo {
    width: auto;
    max-width: 200px;
    max-height: 120px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ════════════════════════════════════════════════════════════════
   INDUSTRIES — minimal grid
   ════════════════════════════════════════════════════════════════ */
.industries {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}
.industries--list-only { grid-template-columns: 1fr; }
.industries--list-only .industries__list { grid-template-columns: repeat(3, 1fr); }
.industries__intro p {
  font-size: clamp(17px, 1.3vw, 20px);
  color: var(--text-2);
  line-height: 1.55;
  margin: 0 0 16px;
  max-width: 480px;
}
.industries__intro p strong { color: var(--text); font-weight: 500; }
.industries__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 14px 22px;
  background: var(--accent);
  color: #050709;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: 999px;
  transition: transform .15s ease, opacity .15s ease;
}
.industries__cta:hover { transform: translateY(-1px); opacity: .92; }
.industries__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.industry {
  background: var(--bg);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 130px;
  justify-content: space-between;
  transition: background-color .2s ease;
}
.industry:hover { background: var(--surface-1); }
.industry__num {
  font-family: var(--font-label);
  font-size: 10.5px;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--text-3);
}
.industry__name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--text);
  line-height: 1.1;
}
@media (max-width: 880px) {
  .industries { grid-template-columns: 1fr; }
  .industries__list,
  .industries--list-only .industries__list { grid-template-columns: repeat(2, 1fr); }
}

/* ════════════════════════════════════════════════════════════════
   PEOPLE
   ════════════════════════════════════════════════════════════════ */
.people-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 1.6vw, 28px);
}
.person {
  width: calc((100% - 2 * clamp(16px, 1.6vw, 28px)) / 3);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.person__photo {
  aspect-ratio: 4 / 5;
  background: var(--surface-2);
  background-size: cover;
  background-position: center top;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  filter: grayscale(.4) contrast(1.05);
  transition: filter .35s ease;
}
.person:hover .person__photo { filter: grayscale(0) contrast(1.05); }
.person__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.4));
}
.person__meta { padding: 18px 4px 0; }
.person__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--text);
  margin: 0;
}
.person__role {
  font-family: var(--font-label);
  font-size: 10.5px;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--accent);
  margin: 6px 0 12px;
}
.person__bio {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.5;
  margin: 0;
}
.people-closing {
  margin-top: clamp(64px, 8vw, 120px);
  padding-top: clamp(48px, 5vw, 80px);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.people-closing__lbl {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
}
.people-closing__text {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.3;
  color: var(--text);
  margin: 0;
  text-wrap: balance;
}
.people-closing__text em {
  font-family: inherit;
  font-style: normal;
  color: var(--accent);
}
@media (max-width: 980px) { .person { width: calc((100% - clamp(16px, 1.6vw, 28px)) / 2); } }
@media (max-width: 540px) {
  /* Smaller, denser people cards on phones */
  .people-grid { gap: 14px; }
  .person { width: calc((100% - 14px) / 2); }
  .person__meta { padding: 12px 2px 0; }
  .person__name { font-size: 14.5px; }
  .person__role { font-size: 9px; margin: 5px 0 8px; }
}

/* Bio hidden by default — shown via toggle (all screen sizes) */
.person__bio {
  display: none;
  margin-top: 8px;
}
.person__bio.bio-open { display: block; }

/* Bio toggle button */
.person__bio-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 0;
  padding: 4px 10px 4px 9px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text-3);
  font-family: var(--font-label);
  font-size: 9px;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
  line-height: 1;
}
.person__bio-btn:hover,
.person__bio-btn[aria-expanded="true"] {
  border-color: var(--accent);
  color: var(--accent);
}
.person__bio-btn svg {
  transition: transform .2s ease;
  flex-shrink: 0;
}
.person__bio-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
@media (max-width: 760px) { .people-closing { grid-template-columns: 1fr; gap: 16px; } }

/* ════════════════════════════════════════════════════════════════
   QUOTE
   ════════════════════════════════════════════════════════════════ */
.quote {
  text-align: center;
  padding-top: clamp(48px, 6vw, 90px);
  padding-bottom: clamp(96px, 12vw, 180px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface-1);
}
.quote__mark {
  font-family: var(--font-serif);
  font-size: clamp(96px, 12vw, 180px);
  line-height: .6;
  color: var(--accent);
  margin: 0;
  opacity: .8;
}
.quote__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 56px);
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text);
  margin: 32px auto 32px;
  max-width: 880px;
  text-wrap: balance;
}
.quote__text em {
  font-family: inherit;
  font-style: normal;
  color: var(--accent);
}
.quote__attrib {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--text-3);
}
.quote__attrib strong { color: var(--text); font-weight: 500; }

/* ════════════════════════════════════════════════════════════════
   CONTACT
   ════════════════════════════════════════════════════════════════ */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
}
.contact__title { font-size: clamp(40px, 5vw, 80px); margin-bottom: 24px; }
.contact__lead {
  font-size: clamp(18px, 1.4vw, 22px);
  color: var(--text-2);
  line-height: 1.45;
  margin: 0 0 48px;
  max-width: 440px;
}
.contact__list { display: flex; flex-direction: column; gap: 32px; }
.contact__item-lbl {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 6px;
}
.contact__item-val {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.012em;
  color: var(--text);
  line-height: 1.2;
}
.contact__item a.contact__item-val { transition: color .15s ease; }
.contact__item a.contact__item-val:hover { color: var(--accent); }
.contact__item-val--icon { display: inline-flex; align-items: center; }
.contact__item-val--icon svg { display: block; border-radius: 6px; transition: transform .15s ease, opacity .15s ease; }
.contact__item-val--icon:hover svg { transform: translateY(-2px); opacity: .85; }
.contact__map {
  aspect-ratio: 4 / 5;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.contact__map iframe { width: 100%; height: 100%; border: 0; filter: invert(.92) hue-rotate(180deg) contrast(.85); }
:root.light .contact__map iframe { filter: none; }
.contact__map-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--bg);
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-family: var(--font-label);
  font-size: 10.5px;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--text);
  z-index: 2;
}
@media (max-width: 880px) { .contact { grid-template-columns: 1fr; } .contact__map { aspect-ratio: 16/10; } }

/* ════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px var(--section-pad-x) 32px;
  background: var(--surface-1);
}
.footer__inner {
  max-width: var(--container-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 32px;
  align-items: center;
}
.footer__logo { height: 22px; width: auto; opacity: .9; }
:root.light .footer__logo { filter: invert(1); }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a {
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0;
}
.footer__links a:hover { color: var(--text); }
.footer__copy {
  font-family: var(--font-label);
  font-size: 10.5px;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--text-3);
}
@media (max-width: 760px) {
  .footer { padding: 28px var(--section-pad-x) 24px; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 16px; }
  .footer__links { justify-content: center; width: 100%; gap: 14px 18px; }
  .footer__links a { font-size: 11px; }
  .footer__logo { height: 18px; }
  .footer__copy { font-size: 9.5px; }
}

/* ════════════════════════════════════════════════════════════════
   ANIMATION — reveal on scroll
   ════════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s cubic-bezier(.2,.6,.2,1), transform .8s cubic-bezier(.2,.6,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in { transition: none; opacity: 1; transform: none; }
  .vision__compass { animation: none; }
  .hero__scroll svg { animation: none; }
}

/* ════════════════════════════════════════════════════════════════
   PARTNER BAND — contained statement card before Success Stories
   ════════════════════════════════════════════════════════════════ */
.partner-band {
  padding: clamp(40px, 6vw, 88px) 0 clamp(8px, 2vw, 24px);
}
/* Match the gap below the band to the gap above it — let the band's own
   bottom padding be the spacing, not the Success Stories section padding. */
.partner-band + #cases { padding-top: 0; }
.partner-band__card {
  position: relative;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: clamp(32px, 4vw, 56px) clamp(28px, 4vw, 64px);
  overflow: hidden;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.partner-band__inner {
  position: relative;
  z-index: 1;
}
.partner-band__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--text);
  margin: 0 auto;
  max-width: 22ch;
  text-wrap: balance;
}
.partner-band__sub {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text-3);
  margin: clamp(12px, 1.4vw, 18px) 0 0;
}
/* Concentric rings — centered backdrop behind the statement */
.partner-band__rings {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(420px, 50vw, 720px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 30px, var(--border) 30px 31px);
  -webkit-mask-image: radial-gradient(circle, #000 35%, transparent 70%);
          mask-image: radial-gradient(circle, #000 35%, transparent 70%);
  opacity: .6;
  pointer-events: none;
}
@media (max-width: 760px) {
  .partner-band__rings { opacity: .4; }
  .partner-band__title { max-width: none; }
}

/* Credentials logo matrix — organizations served */
.cred-logos {
  position: relative;
  z-index: 1;
  margin-top: clamp(40px, 5vw, 72px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1px;
  background: var(--border);
}
.cred-logo {
  flex: 0 0 calc(25% - 0.75px);
  min-width: 0;
  box-sizing: border-box;
  background: var(--surface-1);
  padding: clamp(20px, 2.6vw, 34px) clamp(14px, 2vw, 28px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .2s ease;
}
.cred-logo:hover { background: var(--surface-2); }
.cred-logo img {
  max-height: 42px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .55;
  transition: opacity .25s ease, transform .25s ease;
}
.cred-logo:hover img { opacity: 1; transform: scale(1.04); }
:root.light .cred-logos { background: var(--border); }
:root.light .cred-logo img { filter: brightness(0); opacity: .55; }
:root.light .cred-logo:hover img { opacity: 1; }
@media (max-width: 760px) {
  .cred-logo { flex-basis: calc(33.333% - 0.667px); }
  .cred-logo img { max-height: 34px; }
}
@media (max-width: 480px) {
  .cred-logo { flex-basis: calc(50% - 0.5px); }
}
