/* ============================================================================
   NAVIGATE FOUNDATION - STYLES
   You normally do NOT need to edit this file. Colors live at the very top
   (the :root block) if you ever want to adjust the brand palette.
   ========================================================================== */

:root {
  /* Brand palette */
  --navy:       #15335c;
  --navy-deep:  #0f2545;
  --sage:       #88bd84;
  --sage-soft:  #e8f1e5;
  --gold:       #c39a45;
  --gold-deep:  #a8842f;
  --gold-ink:   #876820;   /* AA-contrast gold for small text on light bg */

  /* Neutrals */
  --ink:    #1d2530;
  --muted:  #58626f;
  --paper:  #faf8f3;
  --white:  #ffffff;
  --line:   #e7e1d6;

  --maxw: 1180px;
  --radius: 18px;
  /* soft, diffused ambient shadows (no harsh dark drops) */
  --shadow-sm: 0 2px 4px rgba(15,37,69,.04), 0 8px 20px -12px rgba(15,37,69,.10);
  --shadow:    0 24px 60px -24px rgba(15,37,69,.28), 0 8px 24px -16px rgba(15,37,69,.16);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease:  cubic-bezier(.32,.72,0,1);   /* spring-like premium easing */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
/* film-grain paper texture - fixed, never repaints on scroll */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.1; color: var(--navy); margin: 0; letter-spacing: -.015em; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.35rem); }
h3 { font-size: 1.35rem; }
p  { margin: 0 0 1rem; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section   { padding: clamp(80px, 11vw, 150px) 0; }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--navy  { background: var(--navy); color: #dce6f2; }
.section--navy h2, .section--navy h3 { color: #fff; }

/* eyebrow - understated editorial kicker (no pill, no caps) */
.eyebrow {
  font-family: var(--serif); font-weight: 600; font-style: italic; font-size: 1.05rem;
  letter-spacing: 0; text-transform: none; color: var(--gold-ink);
  margin: 0 0 .9rem; display: block;
}
.section--navy .eyebrow { color: var(--sage); }
.head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.head p { color: var(--muted); font-size: 1.1rem; }
.section--navy .head p { color: #b9c8dc; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--sans); font-weight: 600; font-size: .96rem;
  padding: .72rem .85rem .72rem 1.4rem; border-radius: 999px; cursor: pointer;
  border: 1.5px solid transparent; white-space: nowrap; position: relative;
  transition: transform .4s var(--ease), background .35s var(--ease), box-shadow .4s var(--ease), color .3s var(--ease);
}
.btn:not(:has(.btn__ic)) { padding: .72rem 1.5rem; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
/* nested "button-in-button" arrow circle */
.btn__ic {
  display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  border-radius: 50%; font-size: .9rem; line-height: 1; flex: none;
  transition: transform .4s var(--ease), background .35s var(--ease);
}
.btn:hover .btn__ic { transform: translate(2px, -2px) scale(1.06); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-deep); box-shadow: var(--shadow); }
.btn--primary .btn__ic { background: rgba(255,255,255,.16); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-deep); box-shadow: var(--shadow); }
.btn--gold .btn__ic { background: rgba(255,255,255,.22); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--ghost .btn__ic { background: rgba(255,255,255,.16); }
.btn--ghost-dark { background: transparent; color: var(--navy); border-color: rgba(21,51,92,.35); }
.btn--ghost-dark:hover { background: var(--navy); color:#fff; }

/* ============================ HEADER / NAV ============================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: center; padding: 18px 16px 0;
  transition: padding .4s var(--ease);
}
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  width: 100%; max-width: var(--maxw); height: 64px; padding: 0 14px 0 22px;
  background: rgba(252,250,246,.72); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border: 1px solid rgba(21,51,92,.08); border-radius: 999px;
  box-shadow: 0 10px 30px -16px rgba(15,37,69,.28); transition: box-shadow .4s var(--ease), background .4s var(--ease);
}
.site-header.scrolled { padding-top: 10px; }
.site-header.scrolled .nav { box-shadow: 0 16px 40px -18px rgba(15,37,69,.4); background: rgba(252,250,246,.9); }
.nav__logo img { height: 38px; }
.nav__links { display: flex; gap: 1.5rem; align-items: center; list-style: none; margin: 0 auto 0 .5rem; padding: 0; }
.nav__links a { color: var(--ink); font-weight: 500; font-size: .92rem; position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.nav__cta { display: flex; gap: .6rem; align-items: center; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; position: relative; width: 40px; height: 40px; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; margin: 5px auto; transition: transform .35s var(--ease), opacity .25s var(--ease); }
.nav.open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================ HERO ============================ */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(15,37,69,.92) 0%, rgba(15,37,69,.7) 42%, rgba(15,37,69,.28) 100%);
}
.hero__inner { position: relative; z-index: 1; max-width: 720px; padding: 80px 0; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; }
.hero__sub {
  font-family: var(--sans); font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  font-size: clamp(.8rem, 1.4vw, .95rem); color: var(--sage); margin: 0 0 1.2rem;
}
.hero__mission { font-size: clamp(1.1rem, 2vw, 1.4rem); color: #e7eef7; max-width: 600px; margin: 1.5rem 0 2.2rem; line-height: 1.5; }
.hero__cta { display: flex; gap: .9rem; flex-wrap: wrap; }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index:1; color: rgba(255,255,255,.7); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }

/* ============================ WHO WE ARE ============================ */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.split__media { display: flex; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 100%; min-height: 420px; object-fit: cover; object-position: center; }
.split__text p { color: var(--muted); }
.split__text p:first-of-type { font-size: 1.18rem; color: var(--ink); }

/* ============================ PROGRAM / PATHWAY ============================ */
.pathway { display: flex; flex-wrap: wrap; gap: .6rem; align-items: stretch; margin: 8px 0 8px; }
.pathway__step {
  flex: 1 1 180px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--sage);
  border-radius: 10px; padding: 1rem 1.2rem; display: flex; align-items: center; gap: .8rem; box-shadow: var(--shadow-sm);
}
.pathway__num { font-family: var(--serif); font-size: 1.5rem; color: var(--gold); font-weight: 600; line-height: 1; }
.pathway__label { font-weight: 600; color: var(--navy); font-size: .98rem; }

.tri-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 44px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.panel h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; font-size: 1.15rem; }
.panel--accent { background: var(--sage-soft); border-color: #d4e6cf; }
.ck-list { list-style: none; padding: 0; margin: 0; }
.ck-list li { position: relative; padding-left: 1.8rem; margin-bottom: .6rem; color: var(--muted); font-size: .97rem; }
.ck-list li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 9px; height: 9px;
  background: var(--sage); border-radius: 50%; box-shadow: 0 0 0 3px var(--sage-soft);
}
.panel--accent .ck-list li::before { box-shadow: 0 0 0 3px #fff; }

/* ============================ MARKETS ============================ */
.markets__wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px,5vw,64px); align-items: center; }
.markets__stat { font-family: var(--serif); font-size: clamp(3rem, 7vw, 5rem); color: var(--sage); line-height: 1; }
.markets__stat span { display:block; font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing:.1em; text-transform: uppercase; color: #b9c8dc; margin-top: .5rem; }
.states { display: flex; flex-wrap: wrap; gap: .7rem; }
.state-chip {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); color: #eaf1f8;
  padding: .6rem 1.1rem; border-radius: 999px; font-weight: 500; font-size: .95rem;
  display: inline-flex; align-items: center; gap: .5rem; transition: .2s;
}
.state-chip::before { content: "★"; color: var(--sage); font-size: .8rem; }

/* ============================ TEAM ============================ */
.founder { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px,5vw,60px); align-items: start; margin-bottom: 72px; }
.founder__photo img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.founder__title { color: var(--gold-ink); font-weight: 600; letter-spacing: .04em; margin: .4rem 0 1.4rem; font-size: .95rem; }
.founder__bio p { color: var(--muted); }

.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px; }
.member { text-align: center; }
.member__photo {
  aspect-ratio: 1/1; border-radius: 50%; overflow: hidden; width: 150px; margin: 0 auto 1rem;
  box-shadow: var(--shadow-sm); border: 3px solid #fff; outline: 1px solid var(--line);
}
/* Default face centering. Per-person overrides are applied as inline styles in render.js
   (that way they survive the single-file preview, where images become embedded data). */
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.member__name { font-family: var(--serif); font-weight: 600; color: var(--navy); font-size: 1.05rem; }
.member__role { color: var(--muted); font-size: .85rem; margin-top: .25rem; line-height: 1.4; }

/* ============================ PROGRAMS ============================ */
.prog-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,56px); align-items: center; padding: 40px 0; border-bottom: 1px solid var(--line); }
.prog-row:last-child { border-bottom: 0; }
.prog-row:nth-child(even) .prog-row__media { order: 2; }
.prog-row__logo { height: 124px; width: auto; max-width: 300px; margin-bottom: 1.4rem; object-fit: contain; object-position: left; }
.prog-row__text p { color: var(--muted); }
.prog-row__modules { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.tag { background: var(--sage-soft); color: #34663b; border: 1px solid #d4e6cf; padding: .35rem .8rem; border-radius: 8px; font-size: .85rem; font-weight: 500; }
.video-embed { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--navy-deep); cursor: pointer; }
.video-embed img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: .3s; }
.video-embed:hover img { opacity: 1; transform: scale(1.03); }
.video-embed iframe { width: 100%; height: 100%; border: 0; position: absolute; inset: 0; }
.video-embed__play {
  position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%;
  background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
}
.video-embed__play::after { content: ""; border-left: 20px solid var(--navy); border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 5px; }
.prog-row__nomedia { background: var(--sage-soft); border-radius: var(--radius); aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; }
.prog-row__nomedia img { max-width: 55%; max-height: 60%; object-fit: contain; }

/* ============================ STORIES ============================ */
.stories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.story { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.story__photo { aspect-ratio: 1/1; overflow: hidden; }
.story__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.story__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.story__name { font-family: var(--serif); font-size: 1.25rem; color: var(--navy); }
.story__role { color: var(--gold-ink); font-size: .85rem; font-weight: 600; margin: .2rem 0 1rem; letter-spacing: .01em; }
.story__text { color: var(--muted); font-size: .95rem; }

/* ============================ PARTNERS ============================ */
.partners-feature { display: flex; gap: 64px; flex-wrap: wrap; justify-content: center; align-items: center; margin-bottom: 72px; }
.partners-feature img { height: 150px; width: auto; max-width: 420px; object-fit: contain; }
@media (max-width: 600px) { .partners-feature img { height: 110px; } }
.partner-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; margin-bottom: 64px; }
.partner-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.partner-card img { height: 56px; width: auto; object-fit: contain; object-position: left; margin-bottom: 1.2rem; }
.partner-card h3 { font-size: 1.1rem; margin-bottom: .8rem; }
.partner-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; align-items: center; }
.logo-wall .wall-item { display: flex; align-items: center; justify-content: center; padding: 22px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; min-height: 104px; box-shadow: inset 0 1px 0 rgba(255,255,255,.7), var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.logo-wall .wall-item:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), var(--shadow); }
.logo-wall img { max-height: 54px; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .35s var(--ease), opacity .35s var(--ease); }
.logo-wall .wall-item:hover img { filter: grayscale(0); opacity: 1; }

/* ============================ GALLERY ============================ */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-bottom: 48px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.photo-grid .gphoto { display: block; aspect-ratio: 1/1; overflow: hidden; border-radius: 14px; padding: 0; border: 0; cursor: zoom-in; background: var(--navy-deep); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.photo-grid .gphoto:hover img { transform: scale(1.07); }

/* ============================ LEGACY / DONATE ============================ */
.legacy { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,60px); align-items: center; }
.legacy__card { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #dce6f2; border-radius: 20px; padding: clamp(32px,4vw,52px); box-shadow: var(--shadow); }
.legacy__card h2 { color: #fff; margin-bottom: 1rem; }
.legacy__card p { color: #c2d0e2; font-size: 1.02rem; }

/* ============================ PRESS ============================ */
.press-list { display: grid; gap: 12px; }
.press-item { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px 26px; box-shadow: var(--shadow-sm); transition: .2s; }
.press-item:hover { transform: translateX(4px); border-color: var(--gold); }
.press-item__title { font-family: var(--serif); font-size: 1.12rem; color: var(--navy); }
.press-item__source { color: var(--muted); font-size: .85rem; margin-top: .2rem; }
.press-item__arrow { color: var(--gold-ink); font-size: 1.3rem; transition: transform .4s var(--ease); }
.press-item:hover .press-item__arrow { transform: translateX(4px); }

/* ============================ CTA BAND ============================ */
.cta-band { background: var(--sage-soft); text-align: center; }
.cta-band h2 { margin-bottom: 1rem; }
.cta-band p { color: var(--muted); max-width: 540px; margin: 0 auto 2rem; font-size: 1.1rem; }
.cta-band__btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================ FOOTER ============================ */
.footer { background: var(--navy-deep); color: #aebfd4; padding: 64px 0 36px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer h4 { color: #fff; font-family: var(--sans); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer a { color: #aebfd4; }
.footer a:hover { color: #fff; }
.footer__contact li { list-style: none; margin-bottom: .6rem; }
.footer__nav { list-style: none; padding: 0; margin: 0; }
.footer__nav li { margin-bottom: .55rem; }
.footer__tag { font-family: var(--serif); font-size: 1.25rem; color: #fff; max-width: 320px; line-height: 1.3; margin-bottom: 1.5rem; }
.footer__logos { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin-top: 1.4rem; }
.footer__logos img { height: 38px; width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: .85; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: #a3b3c9; }
.footer__social { display: flex; gap: 16px; }

/* ============================ SCROLL REVEAL ============================ */
.reveal { opacity: 0; transform: translateY(30px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; filter: none; transition: none; } }

/* ============================ LIGHTBOX ============================ */
.lightbox { position: fixed; inset: 0; background: rgba(10,20,38,.92); z-index: 200; display: none; align-items: center; justify-content: center; padding: 32px; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 90vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox__close { position: absolute; top: 20px; right: 26px; color: #fff; font-size: 2rem; cursor: pointer; line-height: 1; background: rgba(255,255,255,.12); border: 0; width: 48px; height: 48px; border-radius: 50%; transition: background .3s var(--ease); }
.lightbox__close:hover { background: rgba(255,255,255,.24); }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 860px) {
  .nav__links, .nav__cta .btn--ghost-dark { display: none; }
  .nav__toggle { display: block; }
  .nav.open .nav__links {
    display: flex; flex-direction: column; align-items: flex-start; position: absolute; top: calc(100% + 12px); left: 0; right: 0;
    background: rgba(252,250,246,.96); backdrop-filter: blur(16px); padding: 22px 26px; gap: 1.1rem;
    border: 1px solid rgba(21,51,92,.08); border-radius: 24px; box-shadow: var(--shadow);
  }
  .nav.open .nav__links a { font-size: 1.1rem; font-family: var(--serif); }
  /* staggered reveal of mobile links */
  .nav.open .nav__links li { opacity: 0; transform: translateY(12px); animation: navIn .5s var(--ease) forwards; }
  .nav.open .nav__links li:nth-child(1){animation-delay:.04s} .nav.open .nav__links li:nth-child(2){animation-delay:.09s}
  .nav.open .nav__links li:nth-child(3){animation-delay:.14s} .nav.open .nav__links li:nth-child(4){animation-delay:.19s}
  .nav.open .nav__links li:nth-child(5){animation-delay:.24s} .nav.open .nav__links li:nth-child(6){animation-delay:.29s}
  @keyframes navIn { to { opacity: 1; transform: none; } }
  .split, .markets__wrap, .founder, .prog-row, .legacy { grid-template-columns: 1fr; }
  .prog-row:nth-child(even) .prog-row__media { order: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================================================================
   V2 ELEVATION REFINEMENTS (high-end pass)
   ========================================================================== */
/* concentric, machined-card feel: subtle inner highlight + diffused lift */
.story, .partner-card, .panel, .press-item {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s var(--ease);
}
.story:hover, .partner-card:hover {
  transform: translateY(-6px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), var(--shadow);
}
.story { border-radius: var(--radius); }
.story__photo { margin: 6px 6px 0; border-radius: calc(var(--radius) - 6px); }   /* concentric inset media */
.story__photo img { border-radius: inherit; }

/* hero: bigger editorial weight + slow ken-burns drift */
.hero h1 { letter-spacing: -.02em; }
.hero__bg img { animation: kenburns 22s var(--ease) infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .hero__bg img { animation: none; } }
.hero__scroll { opacity: .7; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 0%,100%{transform:translate(-50%,0)} 50%{transform:translate(-50%,7px)} }

/* pathway: connect steps with a flowing accent on hover */
.pathway__step { transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.pathway__step:hover { transform: translateY(-4px); border-left-color: var(--gold); box-shadow: var(--shadow-sm); }

/* focus-visible: keyboard accessibility ring (a11y) */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px;
}
/* skip link */
.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--navy); color: #fff;
  padding: 12px 20px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { left: 16px; }

/* global reduced-motion guard - disable all decorative motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ============================================================================
   COMPASS-STAR BRAND MOTIF
   ========================================================================== */
:root {
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M 50,4 L 52.7,43.5 L 67,33 L 56.5,47.3 L 96,50 L 56.5,52.7 L 67,67 L 52.7,56.5 L 50,96 L 47.3,56.5 L 33,67 L 43.5,52.7 L 4,50 L 43.5,47.3 L 33,33 L 47.3,43.5 Z'/%3E%3C/svg%3E");
}
/* small compass star before each kicker label (inherits the gold/sage text colour) */
.eyebrow::before {
  content: ""; display: inline-block; width: .82em; height: .82em; margin-right: .55em;
  vertical-align: -.06em; background: currentColor;
  -webkit-mask: var(--star) center / contain no-repeat; mask: var(--star) center / contain no-repeat;
}
/* large faint watermark */
.wm {
  position: absolute; pointer-events: none; aspect-ratio: 1; background: currentColor; z-index: 0;
  -webkit-mask: var(--star) center / contain no-repeat; mask: var(--star) center / contain no-repeat;
}
.hero .wm { width: clamp(280px, 38vw, 540px); right: -7%; top: 12%; color: #fff; opacity: .06; }
.section--navy { position: relative; overflow: hidden; }
.section--navy .wm { width: clamp(260px, 34vw, 460px); left: -6%; bottom: -18%; color: var(--sage); opacity: .1; }
.section--navy .markets__wrap { position: relative; z-index: 1; }
.legacy__card { position: relative; overflow: hidden; }
.legacy__card .wm { width: 300px; right: -70px; top: -70px; color: #fff; opacity: .06; }
.legacy__card h2, .legacy__card p, .legacy__card a { position: relative; z-index: 1; }

/* ---- Program overview graphic + National Markets map (provided vectors) ---- */
.prog-intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px,5vw,64px); align-items: center; margin-bottom: clamp(40px,6vw,72px); }
.prog-intro__text p { color: var(--muted); }
.prog-intro__graphic img { max-width: 400px; width: 100%; margin: 0 auto; filter: drop-shadow(0 22px 44px rgba(15,37,69,.20)); }
/* National markets: flat brand US map, sits directly on the navy (no card) */
.markets__map { display: flex; align-items: center; }
.usmap { width: 100%; height: auto; display: block; overflow: visible; filter: drop-shadow(0 18px 34px rgba(0,0,0,.3)); }
.usmap .st { fill: rgba(173,198,230,.16); stroke: rgba(196,216,240,.5); stroke-width: 1.1; vector-effect: non-scaling-stroke; transition: fill .35s var(--ease); }
.usmap .st.on { fill: var(--sage); stroke: rgba(255,255,255,.65); stroke-width: 1.3; }
@media (max-width: 860px) { .prog-intro { grid-template-columns: 1fr; } .prog-intro__graphic { order: -1; } }

/* ---- On-brand recreation of the 5-step program overview funnel ---- */
.funnel { display: flex; flex-direction: column; gap: 9px; max-width: 430px; margin: 0 auto; }
.funnel__title { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--gold-ink); text-align: center; margin: 0 0 .4rem; }
.funnel__step {
  display: flex; align-items: center; gap: .85rem; padding: .95rem 1.3rem; border-radius: 12px; color: #fff;
  background: color-mix(in srgb, var(--navy), var(--sage) calc(var(--i) / (var(--n) - 1) * 100%));
  box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.funnel__step:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.funnel__num { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; opacity: .85; min-width: 1.2em; }
.funnel__label { font-weight: 600; font-size: .98rem; letter-spacing: -.01em; }
/* deepest steps use dark text for contrast on the light sage end */
.funnel__step:nth-last-child(-n+2) { color: #143018; }
.funnel__step:nth-last-child(-n+2) .funnel__num { opacity: .65; }

/* ---- Partner logo marquee (auto-scrolling, all partners) ---- */
.marquee { display: flex; flex-direction: column; gap: 16px; }
.marquee__row { overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.marquee__track { display: flex; gap: 16px; width: max-content; animation: marquee var(--dur, 60s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.mq-set { display: contents; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.wall-item {
  flex: 0 0 auto; width: 160px; height: 94px; display: flex; align-items: center; justify-content: center;
  padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), var(--shadow-sm);
}
.wall-item img { max-height: 48px; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .35s var(--ease), opacity .35s var(--ease); }
.wall-item:hover img { filter: grayscale(0); opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .marquee__row { overflow: visible; -webkit-mask: none; mask: none; }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .mq-set:nth-child(2) { display: none; }
}

/* ---- Contact form (Formspree) ---- */
.cform { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.cform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cform__field { display: flex; flex-direction: column; gap: .45rem; font-weight: 600; font-size: .9rem; color: var(--navy); }
.cform__opt { color: var(--muted); font-weight: 400; }
.cform input, .cform textarea {
  font-family: var(--sans); font-size: 1rem; padding: .85rem 1rem; border: 1px solid var(--line);
  border-radius: 12px; background: #fff; color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), var(--shadow-sm);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(21,51,92,.14); }
.cform textarea { resize: vertical; }
.cform__foot { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.cform__status { margin: 0; font-size: .92rem; font-weight: 600; }
.cform__status.ok { color: #2f7a3a; }
.cform__status.err { color: #b03a2e; }
.cform__alt { text-align: center; color: var(--muted); margin-top: 1.8rem; font-size: .95rem; }
@media (max-width: 600px) { .cform__grid { grid-template-columns: 1fr; } }

/* ---- Who We Are: text in two columns + full-width uncropped photo ---- */
.about__text { columns: 2; column-gap: clamp(32px,4vw,56px); max-width: 1040px; margin: 0 auto clamp(36px,5vw,56px); }
.about__text p { color: var(--muted); break-inside: avoid; margin-bottom: 1.05rem; }
.about__text p:first-child { font-size: 1.16rem; color: var(--ink); }
.about__media { display: flex; justify-content: center; }
.about__media img { width: 100%; max-width: 820px; height: auto; display: block; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 720px) { .about__text { columns: 1; } }
