/* ============================================================
   KMI Family Ventures — static rebuild of kmifv.com
   Design tokens extracted from the live site (see reference/)
   ============================================================ */

:root {
  --teal: #0097B2;
  --teal-dark: #007e95;
  --ink: #0a0a0a;
  --grey-1: #f6f6f6;
  --grey-2: #a6a6a6;
  --grey-3: #545454;
  --grey-4: #3f3f3f;
  --white: #ffffff;
  --font-display: "Plus Jakarta Sans", -apple-system, sans-serif;
  --font-body: "Crimson Text", Georgia, serif;
  --glass-light: rgba(246, 246, 246, 0.61);
  --glass-mid: rgba(255, 255, 255, 0.56);
  --glass-dark: rgba(10, 14, 18, 0.55);
  --header-h: 92px;
  --radius: 14px;
  --shadow-card: 0 18px 50px rgba(0, 0, 0, 0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

::selection { background: rgba(0, 151, 178, 0.85); color: #fff; }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* Skip link — visible only when focused (keyboard a11y) */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: none; }

/* Standard "visually hidden" — content reachable to assistive tech but
   not painted. Used to keep heading hierarchy semantically correct
   (e.g. an h2 above the portfolio grid) without altering the visual
   composition. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#main:focus { outline: none; }

section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
body { animation: pageIn 0.45s ease both; }
@media (prefers-reduced-motion: reduce) {
  body { animation: none; }
  .marquee-track { animation: none !important; }
}

body {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
}

.container {
  width: min(1240px, 92vw);
  margin-inline: auto;
}

/* Big display heading — 80px / 800 / -3px on the live site */
.display {
  font-size: clamp(40px, 5.5vw, 80px);
  letter-spacing: -0.035em;
  line-height: 1.18;
}
.display .accent, .accent { color: var(--teal); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.kicker::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.serif-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: 0.01em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--teal);
  padding: 14px 28px;
  border: 1px solid var(--teal);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.4s ease, box-shadow 0.3s ease;
}
.btn:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 151, 178, 0.35);
}
.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
}
.btn--ghost:hover { background: var(--teal); border-color: var(--teal); }
.btn svg { transition: transform 0.3s ease; }
.btn:hover svg { transform: translateX(4px); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s ease, height 0.35s ease, box-shadow 0.35s ease, color 0.35s ease;
}
.site-header.scrolled {
  height: 72px;
  background: rgba(8, 14, 18, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  color: var(--white);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img { width: 58px; height: auto; transition: transform 0.3s ease; }
.brand:hover img { transform: scale(1.06); }

.main-nav ul {
  display: flex;
  gap: clamp(18px, 3vw, 44px);
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  position: relative;
  padding: 8px 0;
  transition: color 0.4s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0;
  transform: translate(-50%, 6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--teal); }
.main-nav a[aria-current="page"]::after, .main-nav a:hover::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.pitch-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 12px 18px;
  border: 1px solid currentColor;
  border-radius: 6px;
  cursor: pointer;
  background: transparent;
  color: inherit;
  transition: all 0.3s ease;
}
.pitch-btn svg { fill: currentColor; transition: transform 0.3s ease; }
.pitch-btn:hover { background: var(--teal); border-color: var(--teal); color: var(--white); }
.pitch-btn:hover svg { transform: translateX(4px); }

/* dark-hero pages get a white header text, light pages dark text */
.header-on-dark { color: var(--white); }
.header-on-light { color: var(--ink); }
.header-on-light .main-nav a:hover,
.header-on-light .main-nav a[aria-current="page"] { color: var(--teal); }

/* mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle svg { display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 0;
    /* Fully opaque so page content (esp. white text on dark pages
       like /philanthropy) doesn't bleed through the drawer. */
    background: rgb(8, 14, 18);
    display: grid;
    place-content: center;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 60;
  }
  .main-nav.open { opacity: 1; pointer-events: auto; }
  .main-nav ul { flex-direction: column; gap: 28px; }
  .main-nav a { color: var(--white); font-size: 22px; }
  .nav-close {
    position: absolute;
    top: 24px; right: 24px;
    background: none; border: none;
    color: var(--white);
    cursor: pointer;
  }
  .site-header .pitch-btn { display: none; }
  .main-nav .pitch-btn { display: inline-flex; color: var(--white); margin-top: 12px; }
}
@media (min-width: 901px) {
  .nav-close { display: none; }
  .main-nav .pitch-btn { display: none; }
}

/* ============================================================
   Hero shells
   ============================================================ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 92vh;
  padding: calc(var(--header-h) + 40px) 0 80px;
  background-size: cover;
  background-position: center;
  color: var(--white);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 10, 16, 0.45) 0%, rgba(0, 10, 16, 0.25) 55%, rgba(0, 10, 16, 0.55) 100%);
}
.hero > .container { position: relative; z-index: 1; }

/* ============================================================
   Scroll entrance animations (Elementor equivalents)
   ============================================================ */
.anim {
  opacity: 0;
  animation-duration: 0.75s;
  animation-fill-mode: both;
  animation-timing-function: ease-out;
}
.anim.slow { animation-duration: 1.25s; }
.anim.in-view { opacity: 1; }
.in-view[data-anim="fadeIn"]        { animation-name: kFadeIn; }
.in-view[data-anim="fadeInUp"]      { animation-name: kFadeInUp; }
.in-view[data-anim="fadeInDown"]    { animation-name: kFadeInDown; }
.in-view[data-anim="fadeInRight"]   { animation-name: kFadeInRight; }
.in-view[data-anim="slideInUp"]     { animation-name: kSlideInUp; }
.in-view[data-anim="bounceInLeft"]  { animation-name: kBounceInLeft; animation-duration: 1s; }
.in-view[data-anim="bounceInRight"] { animation-name: kBounceInRight; animation-duration: 1s; }
/* slideFade* — gentler editorial alternative to the bounce reveals; used by
   the Our Story timeline. Cubic-bezier easing avoids overshoot and lands
   smoothly so the row reads "settled," not "tossed in." */
.in-view[data-anim="slideFadeRight"] {
  animation-name: kSlideFadeRight;
  animation-duration: 0.9s;
  animation-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1);
}
.in-view[data-anim="slideFadeLeft"]  {
  animation-name: kSlideFadeLeft;
  animation-duration: 0.9s;
  animation-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@keyframes kFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes kFadeInUp { from { opacity: 0; transform: translateY(46px); } to { opacity: 1; transform: none; } }
@keyframes kFadeInDown { from { opacity: 0; transform: translateY(-46px); } to { opacity: 1; transform: none; } }
@keyframes kFadeInRight { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }
@keyframes kSlideInUp { from { opacity: 0; transform: translateY(70px); } to { opacity: 1; transform: none; } }
@keyframes kBounceInLeft {
  0% { opacity: 0; transform: translateX(-160px); }
  60% { opacity: 1; transform: translateX(20px); }
  80% { transform: translateX(-8px); }
  100% { opacity: 1; transform: none; }
}
@keyframes kBounceInRight {
  0% { opacity: 0; transform: translateX(160px); }
  60% { opacity: 1; transform: translateX(-20px); }
  80% { transform: translateX(8px); }
  100% { opacity: 1; transform: none; }
}
@keyframes kSlideFadeLeft {
  from { opacity: 0; transform: translateX(-80px); }
  to   { opacity: 1; transform: none; }
}
@keyframes kSlideFadeRight {
  from { opacity: 0; transform: translateX(80px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .anim { animation: none !important; opacity: 1 !important; }
}

/* ============================================================
   Home — hero
   ============================================================ */
.hero--home h1 {
  font-size: clamp(34px, 3.4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero--home .display { margin-top: 6px; }
.hero--home p {
  margin-top: 22px;
  max-width: 460px;
  font-size: 21px;
  color: rgba(255, 255, 255, 0.92);
}
.hero--home .btn { margin-top: 34px; }

/* ============================================================
   Home — collaboration carousel
   ============================================================ */
.collab {
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 110px 0 120px;
  color: var(--white);
  overflow: hidden;
}
.collab::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 12, 0.55);
}
.collab .container, .collab .marquee { position: relative; z-index: 1; }

.marquee {
  margin-top: 64px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.collab-card {
  width: 380px;
  flex: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 34px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.3s ease, transform 0.4s ease, border-color 0.3s ease;
}
@media (max-width: 600px) {
  .collab-card { width: min(300px, 78vw); padding: 26px; }
  .marquee-track { gap: 18px; }
}
.collab-card:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-6px);
}
.collab-card .logo {
  height: 84px;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  background: var(--white);
  border-radius: 10px;
  padding: 14px 20px;
  margin-bottom: 26px;
}
.collab-card .logo img { max-height: 100%; width: auto; max-width: 220px; object-fit: contain; }
.collab-card h3 { font-size: 24px; font-weight: 700; }
.collab-card p { margin-top: 10px; font-size: 19px; color: rgba(255, 255, 255, 0.85); }

/* ============================================================
   Home — footprint section
   ============================================================ */
.footprint {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 130px 0;
  color: var(--ink);
}
.footprint::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 14, 20, 0.25);
}
.footprint .grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
  gap: 34px;
}
.glass-panel {
  background: var(--glass-light);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius);
  padding: clamp(34px, 4vw, 56px);
  box-shadow: var(--shadow-card);
  transition: transform 0.4s ease, box-shadow 0.3s ease;
}
.glass-panel:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(0, 0, 0, 0.26); }
.glass-panel h3 {
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--teal);
}
.glass-panel p { margin-top: 18px; font-size: 20px; color: var(--grey-4); }

/* ============================================================
   Footer CTA (all pages)
   ============================================================ */
.cta {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 120px 0 90px;
  color: var(--white);
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 8, 12, 0.35), rgba(0, 8, 12, 0.55));
}
.cta .container { position: relative; z-index: 1; }
.cta .display { text-align: center; color: rgba(255, 255, 255, 0.82); }
.cta .display .accent { color: var(--teal); }
.cta .serif-sub { display: block; margin-top: 18px; }

.cta-card {
  margin-top: 56px;
  background: rgba(20, 28, 34, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: clamp(32px, 5vw, 64px);
}
.cta-card h3 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  margin-bottom: 34px;
}

/* ---------- Forms (CTA + popup share these) ---------- */
.kmi-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 22px;
}
.kmi-form .row + .row { margin-top: 22px; }
.kmi-form .row.cols-2 { grid-template-columns: 1fr 1fr; }
.kmi-form .row.cols-1 { grid-template-columns: 1fr; }
@media (max-width: 760px) { .kmi-form .row { grid-template-columns: 1fr; } }

.kmi-form input, .kmi-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--white);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  padding: 12px 2px;
  outline: none;
  transition: border-color 0.3s ease;
}
.kmi-form textarea {
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 10px;
  padding: 14px;
  min-height: 110px;
  resize: vertical;
  margin-top: 22px;
}
.kmi-form input::placeholder, .kmi-form textarea::placeholder { color: rgba(255, 255, 255, 0.65); }
.kmi-form input:focus, .kmi-form textarea:focus { border-color: var(--teal); }
.kmi-form .submit-row { text-align: center; margin-top: 34px; }
.kmi-form .form-note { text-align: center; font-size: 16px; margin-top: 14px; color: rgba(255,255,255,0.7); display: none; }
.kmi-form .form-note[data-kind="success"] { color: #6fe6c5; }
.kmi-form .form-note[data-kind="error"]   { color: #ff9c8a; }
.kmi-form button[disabled] { opacity: 0.6; cursor: progress; }
/* The popup is on a glass background — darker form-note text reads better there. */
#pitch-popup .kmi-form .form-note { color: rgba(255,255,255,0.85); }

.contact-lines {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 48px;
  margin-top: 44px;
  font-size: 18px;
}
.contact-lines li { display: inline-flex; align-items: center; gap: 12px; }
.contact-lines svg { flex: none; }
.contact-lines a { transition: color 0.3s ease; }
.contact-lines a:hover { color: var(--teal); }

/* ============================================================
   Pitch Us popup
   ============================================================ */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 8, 12, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.popup-overlay.open { opacity: 1; pointer-events: auto; }

.popup {
  width: min(640px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(14, 20, 26, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--white);
  padding: clamp(30px, 5vw, 52px);
  position: relative;
  transform: translateY(70px);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}
.popup-overlay.open .popup { transform: none; opacity: 1; }

.popup h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; }
.popup .serif-sub { display: block; margin-top: 8px; margin-bottom: 30px; font-size: 20px; }
.popup-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 8px;
  transition: color 0.3s ease, transform 0.3s ease;
}
.popup-close:hover { color: var(--white); transform: rotate(90deg); }
.popup .contact-lines { margin-top: 30px; font-size: 16px; }

/* ============================================================
   Portfolio
   ============================================================ */
.hero--portfolio { min-height: 70vh; align-items: flex-start; }
.hero--portfolio .glass-intro {
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: clamp(30px, 4vw, 54px);
  max-width: 980px;
}
.hero--portfolio h1 { font-size: clamp(30px, 3.2vw, 46px); letter-spacing: -0.02em; margin-top: 18px; }
.hero--portfolio .serif-sub { margin-top: 14px; }
.hero--portfolio p.lede { margin-top: 18px; font-size: 19px; color: rgba(255, 255, 255, 0.9); }

.portfolio-grid {
  padding: 100px 0 110px;
}
.portfolio-grid .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 56px;
}
@media (max-width: 860px) { .portfolio-grid .grid { grid-template-columns: 1fr; } }

.p-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 26px;
  align-items: center;
  padding: 26px 18px;
  border-radius: 12px;
  transition: background 0.3s ease, transform 0.4s ease;
}
.p-item:hover { background: var(--grey-1); transform: translateY(-3px); }
.p-item .logo {
  width: 110px; height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid #ececec;
  border-radius: 10px;
  padding: 10px;
}
.p-item .logo img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }
.p-item h3 { font-size: 21px; font-weight: 700; }
.p-item h3 a { transition: color 0.2s ease; }
.p-item h3 a::after {
  content: "";
  display: inline-block;
  width: 11px; height: 11px;
  margin-left: 6px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M7 17 17 7M9 7h8v8'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M7 17 17 7M9 7h8v8'/></svg>") center/contain no-repeat;
  opacity: 0.45;
  transform: translateY(-1px);
  transition: opacity 0.2s ease, color 0.2s ease;
}
.p-item h3 a:hover { color: var(--teal); }
.p-item h3 a:hover::after { opacity: 1; }
.p-item p { margin-top: 6px; font-size: 18px; color: var(--grey-3); line-height: 1.45; }

/* ============================================================
   Our Story
   ============================================================ */
.hero--story {
  min-height: 78vh;
  color: var(--ink);
  background-color: var(--white);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top right;
}
.hero--story::before { display: none; }
.hero--story h1 { font-size: clamp(48px, 6vw, 84px); letter-spacing: -0.03em; }
.hero--story p { margin-top: 26px; max-width: 620px; font-size: 22px; color: var(--grey-4); }
@media (max-width: 900px) {
  /* Source image is 1000x2008 (portrait), so shrink it on mobile so the copy isn't running under it. */
  .hero--story {
    min-height: 0;
    padding-top: calc(var(--header-h) + 36px);
    padding-bottom: 56px;
    background-size: 32% auto;
    background-position: top calc(var(--header-h) - 12px) right -12px;
  }
  .hero--story .container { padding-right: 30%; }
  .hero--story h1 { font-size: clamp(40px, 9vw, 56px); }
  .hero--story p { font-size: 18px; margin-top: 18px; max-width: 100%; padding-right: 0; }
}
@media (max-width: 520px) {
  .hero--story { background-size: 36% auto; }
  .hero--story .container { padding-right: 32%; }
  .hero--story p { padding-right: 0; margin-top: 24px; }
  .hero--story h1 { line-height: 1.05; }
}

.timeline {
  position: relative;
  padding: 40px 0 130px;
}
/* Timeline spine: a grey track with a teal "filled" portion driven by the
   user's scroll position through the section. JS in main.js sets two CSS
   custom properties on .timeline:
     --timeline-progress         (0–1)  drives the gradient hard-stop and the
                                        scrubber dot's vertical position
     --timeline-scrubber-opacity (0/1)  fades the scrubber out at the very
                                        top and bottom edges of the section
                                        so it doesn't sit awkwardly on the
                                        boundary
   The teal portion uses a hard-stop linear gradient rather than a separate
   element so we avoid layout work (no width/height changes per frame). */
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--teal) 0%,
    var(--teal) calc(var(--timeline-progress, 0) * 100%),
    #d8d8d8 calc(var(--timeline-progress, 0) * 100%),
    #d8d8d8 100%
  );
  transform: translateX(-1px);
  pointer-events: none;
}
.timeline::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(var(--timeline-progress, 0) * 100%);
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 151, 178, 0.18),
              0 0 22px rgba(0, 151, 178, 0.55);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: var(--timeline-scrubber-opacity, 0);
  transition: opacity 220ms ease;
}
.t-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  align-items: center;
  margin-bottom: 90px;
}
.t-row .year {
  font-family: var(--font-display);
  font-size: clamp(44px, 4.6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--teal);
}
.t-row .dot {
  justify-self: center;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(0, 151, 178, 0.15);
  transition: box-shadow 400ms ease;
}
/* Active dot — the row currently centered in the viewport ripples outward
   with a slow pulse, like a heartbeat marker. Once the row scrolls past,
   .is-passed (set in main.js) keeps a steady glow so the user sees a
   trail of "where I've been." */
.t-row.is-active .dot {
  animation: kDotPulse 2.4s ease-in-out infinite;
}
.t-row.is-passed .dot {
  box-shadow: 0 0 0 6px rgba(0, 151, 178, 0.22),
              0 0 14px rgba(0, 151, 178, 0.4);
}
@keyframes kDotPulse {
  0%, 100% {
    box-shadow: 0 0 0 6px rgba(0, 151, 178, 0.18),
                0 0 0 0 rgba(0, 151, 178, 0.55);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(0, 151, 178, 0.28),
                0 0 0 16px rgba(0, 151, 178, 0);
  }
}
.t-row .desc { font-size: 19px; color: var(--grey-4); max-width: 480px; }
.t-row .year { grid-column: 1; grid-row: 1; justify-self: end; }
.t-row .dot  { grid-column: 2; grid-row: 1; }
.t-row .desc { grid-column: 3; grid-row: 1; justify-self: start; }
.t-row.flip .year { grid-column: 3; justify-self: start; }
.t-row.flip .desc { grid-column: 1; justify-self: end; text-align: right; }
@media (max-width: 760px) {
  .timeline::before { left: 8px; }
  .timeline::after  { left: 8px; }
  .t-row { grid-template-columns: 40px 1fr; margin-bottom: 56px; }
  .t-row .dot { grid-row: 1 / 3; grid-column: 1 !important; justify-self: start; margin-left: 2px; }
  .t-row .year, .t-row.flip .year { grid-column: 2; grid-row: 1; text-align: left; justify-self: start; }
  .t-row .desc, .t-row.flip .desc { grid-column: 2; grid-row: 2; text-align: left; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  /* Drop the scroll-driven gradient and scrubber; keep the static grey track. */
  .timeline::before {
    background: #d8d8d8;
  }
  .timeline::after { display: none; }
  .t-row.is-active .dot { animation: none; }
}

/* ============================================================
   Meet The Team
   ============================================================ */
.team-hero {
  padding: calc(var(--header-h) + 60px) 0 40px;
  text-align: center;
}
.team-hero h1 { font-size: clamp(38px, 4.4vw, 58px); letter-spacing: -0.02em; }
.team-hero p { margin-top: 14px; font-size: 21px; color: var(--grey-3); }

.team-grid {
  padding: 50px 0 120px;
}
.team-grid .grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 38px 22px;
  max-width: 1180px;
  margin-inline: auto;
}
@media (max-width: 1080px) {
  .team-grid .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 26px; }
}
@media (max-width: 560px) {
  .team-grid .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.member { text-align: center; cursor: pointer; background: none; border: none; font: inherit; color: inherit; padding: 0; }
.member .photo {
  border-radius: 999px 999px 14px 14px;
  overflow: hidden;
  background: #101417;
  aspect-ratio: 3 / 4;
}
.member .photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}
.member:hover .photo img { transform: scale(1.05); }
.member h3 { margin-top: 18px; font-size: 20px; font-weight: 700; }
.member .role {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
}
.member .hint {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  color: var(--grey-2);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.member:hover .hint { opacity: 1; }

/* bio modal */
.bio-modal .popup { width: min(760px, 100%); }
.bio-modal .role { color: var(--teal); font-family: var(--font-display); font-weight: 600; font-size: 14px; margin: 6px 0 18px; }
.bio-modal p { font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, 0.88); }

/* ============================================================
   Values
   ============================================================ */
.hero--values { background-attachment: fixed; background-position: 50% 100%; min-height: 86vh; }
.hero--values h1 { font-size: clamp(32px, 3.6vw, 52px); letter-spacing: -0.02em; }
.hero--values p { margin-top: 22px; max-width: 760px; font-size: 21px; color: rgba(255, 255, 255, 0.92); }
.hero--values .btn { margin-top: 34px; }

/* ----- Values wheel — scroll-driven, pinned, rotating disk ----- */
.values-wheel-section {
  position: relative;
  background-color: #0c1114;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  /* IMPORTANT: no overflow:hidden here — it breaks the sticky child. */
}
.values-wheel-section .wheel-scroll-track {
  position: relative;
  /* svh (stable, URL-bar-showing) instead of vh so iOS Safari's dynamic
     URL-bar collapse/expand doesn't shift the wheel's calibration mid-
     scroll. Falls back to vh in older browsers via cascade. */
  height: 320vh;
  height: 320svh;
}
.values-wheel-section .wheel-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden; /* clip the oversized disk to this pinned viewport-sized box */
}
.values-wheel-section .wheel-pin-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2,8,12,0.55) 0%, rgba(2,8,12,0.45) 55%, rgba(2,8,12,0.85) 100%);
  pointer-events: none;
}
.values-wheel-section .wheel-eyebrow {
  position: absolute;
  top: 14vh;
  top: 14svh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.values-wheel-section .wheel-eyebrow::after {
  content: "";
  display: block;
  width: 64px;
  height: 2px;
  background: var(--teal);
  margin: 14px auto 0;
}
.values-wheel-section .wheel-pointer {
  position: absolute;
  top: 27vh;
  top: 27svh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.values-wheel-section .wheel-pointer-num {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 2px solid var(--white);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  background: rgba(20, 25, 30, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: transform 0.3s ease;
}
.values-wheel-section .wheel-pointer-dot {
  width: 12px;
  height: 12px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(0, 151, 178, 0.85);
}
/* The disk: rotates as you scroll. Top edge anchors just under the pointer. */
.values-wheel-section .wheel-disk-positioner {
  position: absolute;
  top: 27vh;
  top: 27svh;
  left: 50%;
  transform: translate(-50%, 0);
  width: 0;
  height: 0;
  z-index: 2;
}
.values-wheel-section .wheel-disk {
  position: absolute;
  top: 70vh;
  top: 70svh;
  left: 0;
  width: 140vh;
  width: 140svh;
  height: 140vh;
  height: 140svh;
  margin-top: -70vh;
  margin-top: -70svh;
  margin-left: -70vh;
  margin-left: -70svh;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transform: rotate(var(--rot, 0deg));
  will-change: transform;
}
/* Item: sits on the top of the disk, then rotated by --a to its slot. */
.values-wheel-section .wheel-disk-item {
  position: absolute;
  top: 0;
  left: 50%;
  margin: -22px 0 0 -22px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  transform: rotate(var(--a)) translateY(0) translateY(0);
  transform-origin: 22px 70vh; /* rotate around disk center (70vh below item top) */
  transform-origin: 22px 70svh;
}
.values-wheel-section .wheel-disk-item .num {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(20, 25, 30, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  /* counter-rotate so the number sits upright at any disk rotation */
  transform: rotate(calc(-1 * var(--a) - var(--rot, 0deg)));
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.values-wheel-section .wheel-disk-item:hover .num { background: rgba(0, 151, 178, 0.5); border-color: rgba(0, 151, 178, 0.8); }
.values-wheel-section .wheel-disk-item.is-active .num { background: var(--teal); border-color: var(--teal); box-shadow: 0 0 22px rgba(0, 151, 178, 0.65); }

/* Centered text label — current value name + description */
.values-wheel-section .wheel-labels {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(620px, 84vw);
  min-height: 200px;
  text-align: center;
  z-index: 3;
  pointer-events: none;
}
.values-wheel-section .wheel-label {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.32s ease, transform 0.32s ease, visibility 0s linear 0.32s;
  visibility: hidden;
}
.values-wheel-section .wheel-label.is-active {
  opacity: 1;
  transform: none;
  visibility: visible;
  transition: opacity 0.32s ease, transform 0.32s ease, visibility 0s linear 0s;
}
.values-wheel-section .wheel-label h3 {
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}
.values-wheel-section .wheel-label p {
  margin-top: 16px;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.values-wheel-section .wheel-hint {
  position: absolute;
  bottom: 6vh;
  bottom: 6svh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  margin: 0;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  opacity: 1;
  transition: opacity 0.4s ease;
}
.values-wheel-section .wheel-hint-arrow {
  display: inline-block;
  margin-left: 8px;
  animation: wheelHintBob 1.8s ease-in-out infinite;
}
@keyframes wheelHintBob {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(4px); opacity: 1; }
}
.values-wheel-section.scrolled-into-wheel .wheel-hint { opacity: 0; pointer-events: none; }

@media (max-width: 720px) {
  .values-wheel-section .wheel-scroll-track { height: 260vh; height: 260svh; }
  .values-wheel-section .wheel-eyebrow { top: 11vh; top: 11svh; }
  .values-wheel-section .wheel-pointer { top: 22vh; top: 22svh; }
  .values-wheel-section .wheel-pointer-num { width: 40px; height: 40px; font-size: 14px; }
  .values-wheel-section .wheel-disk-positioner { top: 22vh; top: 22svh; }
  .values-wheel-section .wheel-disk {
    width: 130vh; width: 130svh;
    height: 130vh; height: 130svh;
    margin-top: -65vh; margin-top: -65svh;
    margin-left: -65vh; margin-left: -65svh;
    top: 65vh; top: 65svh;
  }
  .values-wheel-section .wheel-disk-item {
    transform-origin: 22px 65vh;
    transform-origin: 22px 65svh;
  }
  .values-wheel-section .wheel-labels { top: 56%; }
  .values-wheel-section .wheel-label h3 { font-size: clamp(24px, 6vw, 32px); }
  .values-wheel-section .wheel-label p { font-size: 16px; }
  .values-wheel-section .wheel-hint { bottom: 4vh; bottom: 4svh; }
}

@media (prefers-reduced-motion: reduce) {
  /* Skip the long scroll: the section becomes a normal-height panel. */
  .values-wheel-section .wheel-scroll-track { height: auto; }
  .values-wheel-section .wheel-pin { position: relative; height: auto; padding: 80px 0 100px; }
  .values-wheel-section .wheel-disk { transition: none; }
  .values-wheel-section .wheel-disk-item .num { transition: none; }
  .values-wheel-section .wheel-label { transition: none; }
}

.value-cards { padding: 110px 0 120px; }
.value-cards .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 30px;
}
.v-card {
  border: 1px solid #e8e8e8;
  border-radius: var(--radius);
  padding: 44px 36px;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.v-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 151, 178, 0.4);
}
.v-card img { width: 64px; height: 64px; object-fit: contain; margin: 0 auto 24px; }
.v-card h3 { font-size: 24px; font-weight: 700; }
.v-card p { margin-top: 14px; font-size: 19px; color: var(--grey-3); }

/* ============================================================
   Philanthropy
   ============================================================ */
.hero--phil { min-height: 80vh; align-items: flex-end; padding-bottom: 90px; }
.hero--phil .glass-intro {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: clamp(30px, 4vw, 50px);
  max-width: 860px;
}
.hero--phil h1 { font-size: clamp(36px, 4vw, 56px); color: var(--teal); letter-spacing: -0.02em; }
.hero--phil .kicker { margin-top: 16px; }
.hero--phil p { margin-top: 18px; font-size: 20px; color: rgba(255, 255, 255, 0.93); }

.sparklab {
  position: relative;
  background: #0c1114;
  color: var(--white);
  padding: 120px 0;
  background-size: 100% auto;
  background-position: bottom center;
  background-repeat: no-repeat;
}
.sparklab .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 920px) { .sparklab .grid { grid-template-columns: 1fr; } }
.sparklab h2 { font-size: clamp(32px, 3.6vw, 48px); }
.sparklab .lede { margin-top: 22px; font-size: 20px; color: rgba(255, 255, 255, 0.85); }

.flip-card { perspective: 1600px; min-height: 560px; }
@media (max-width: 920px) { .flip-card { min-height: 600px; } }
.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.flip-card.flipped .flip-inner { transform: rotateY(180deg); }
.flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius);
  overflow: hidden;
}
.flip-front {
  background: #11181d;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
}
.flip-front .mix { flex: 1; object-fit: cover; width: 100%; height: 100%; }
.flip-front .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  background: rgba(8, 12, 15, 0.9);
}
.flip-front .bar img { height: 40px; width: auto; }
.flip-btn {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
  background: var(--teal);
  border: none;
  border-radius: 6px;
  padding: 10px 18px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.flip-btn:hover { background: var(--teal-dark); }
.flip-back {
  background: #11181d;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transform: rotateY(180deg);
  padding: 28px 28px 80px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.3) transparent;
}
.flip-back::-webkit-scrollbar { width: 6px; }
.flip-back::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.3); border-radius: 3px; }
.flip-back h3 { font-size: 21px; color: var(--teal); margin-bottom: 8px; }
.flip-back h3 + p { margin-bottom: 18px; }
.flip-back p { font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, 0.85); }
.flip-back .flip-btn {
  position: sticky;
  bottom: 0;
  margin-top: 16px;
  align-self: flex-start;
  background: var(--teal);
  box-shadow: 0 -16px 24px -8px #11181d;
}

.path-forward {
  position: relative;
  background-size: cover;
  background-position: top center;
  padding: 120px 0;
  color: var(--white);
}
.path-forward::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(2, 10, 14, 0.6);
}
.path-forward .container { position: relative; z-index: 1; }
.path-forward h2 { font-size: clamp(32px, 3.6vw, 48px); text-align: center; }
.path-forward .grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 30px;
}
.path-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  transition: transform 0.4s ease, background 0.3s ease;
}
.path-card:hover { transform: translateY(-8px); background: rgba(255, 255, 255, 0.16); }
.path-card img { height: 210px; width: 100%; object-fit: cover; }
.path-card .body { padding: 28px; }
.path-card h3 { font-size: 23px; font-weight: 700; }
.path-card p { margin-top: 12px; font-size: 17.5px; color: rgba(255, 255, 255, 0.86); line-height: 1.5; }

.orgs {
  position: relative;
  padding: 110px 0 120px;
  background-size: cover;
  background-position: center;
}
.orgs::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(248, 250, 251, 0.9);
}
.orgs .container { position: relative; z-index: 1; }
.orgs h2 { font-size: clamp(30px, 3.4vw, 44px); text-align: center; }
.orgs .serif-sub { display: block; text-align: center; margin-top: 12px; color: var(--grey-3); font-size: 21px; }
.orgs .grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
@media (max-width: 820px) { .orgs .grid { grid-template-columns: 1fr; } }
.org-card {
  background: var(--white);
  border: 1px solid #e9e9e9;
  border-radius: 12px;
  padding: 28px 30px;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
}
.org-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09); }
.org-card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.org-card p { margin-top: 8px; font-size: 17.5px; color: var(--grey-3); line-height: 1.5; }

/* ============================================================
   Section heading helpers
   ============================================================ */
.dual-heading h2 { font-size: clamp(34px, 4.2vw, 56px); letter-spacing: -0.025em; }
.dual-heading .line2 { display: block; color: var(--teal); }

/* ============================================================
   Site footer
   ============================================================ */
.site-footer {
  background: #070b0f;
  color: rgba(255, 255, 255, 0.78);
  padding: 64px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 16px;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 760px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}
.site-footer h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-brand img { width: 56px; height: auto; }
.footer-brand .tagline {
  margin-top: 18px;
  max-width: 340px;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
}
.footer-nav ul { display: grid; gap: 10px; }
.footer-nav a {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.25s ease;
}
.footer-nav a:hover { color: var(--teal); }
.footer-contact address {
  font-style: normal;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}
.footer-mail {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--white);
  transition: color 0.25s ease;
}
.footer-mail:hover { color: var(--teal); }
.footer-pitch {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 11px 18px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.footer-pitch:hover { background: var(--teal); border-color: var(--teal); }
.footer-pitch svg { transition: transform 0.25s ease; }
.footer-pitch:hover svg { transform: translateX(3px); }
.footer-base {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.25s ease;
}
.back-to-top:hover { color: var(--teal); }
@media (max-width: 520px) {
  .footer-base { flex-direction: column-reverse; align-items: flex-start; }
}
