/* ==========================================================================
   THRYA HEALTH AND RESEARCH FOUNDATION
   Stylesheet: WHO WE ARE (who-we-are.html)

   Structure of this file:
     1.  Design tokens          (kept identical across every page stylesheet)
     2.  Reset & base
     3.  Typography utilities
     4.  Buttons & links
     5.  Layout utilities
     6.  Site header & navigation  (floating glass capsule — matches index.html)
     7.  Site footer
     8.  Scroll reveal / motion
     9.  PAGE — Page hero
     10. PAGE — Founding narrative & timeline
     11. PAGE — Why Thrya differentiators
     12. PAGE — Team
     13. PAGE — Objectives
     14. Back-to-top button
     15. MOBILE RESPONSIVE (section by section, labelled)
   ========================================================================== */


/* ----------------------------------------------------------------------
   1. DESIGN TOKENS
   ---------------------------------------------------------------------- */
:root{
  --color-cream:        #FBF6EF;
  --color-cream-deep:   #F3E8D8;
  --color-paper:        #FFFDF9;
  --color-forest:       #14332A;
  --color-forest-2:     #1F5040;
  --color-terracotta:   #B85C34;
  --color-terracotta-deep:#93482A;
  --color-gold:         #C08A34;
  --color-ink:          #211D18;
  --color-ink-soft:     #5B564D;
  --color-line:         #E3D6C2;
  --color-sage:         #E3E8D6;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --space-xs: .5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-xxl: 8rem;

  --radius-sm: 8px;
  --radius-md: 18px;
  --radius-lg: 32px;

  --shadow-soft: 0 24px 60px -30px rgba(20,51,42,.35);
  --shadow-lift: 0 14px 34px -18px rgba(20,51,42,.28);

  --container-w: 1200px;
  /* Matches index.html's capsule header height + breathing room above/below
     it, so scroll-padding-top and the .hero negative-margin trick (if ever
     reused on this page) line up with the taller floating navbar. */
  --header-h: 124px;
}

/* ----------------------------------------------------------------------
   2. RESET & BASE
   ---------------------------------------------------------------------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body{ margin: 0; background: var(--color-cream); color: var(--color-ink); font-family: var(--font-body); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul, ol{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4{ font-family: var(--font-display); color: var(--color-forest); margin: 0 0 .6em; line-height: 1.15; font-weight: 500; }
p{ margin: 0 0 1em; }
button{ font-family: inherit; cursor: pointer; }

.skip-link{ position: absolute; left: -999px; top: 0; background: var(--color-forest); color: #fff; padding: .8rem 1.2rem; z-index: 999; border-radius: 0 0 8px 0; }
.skip-link:focus{ left: 0; }
:focus-visible{ outline: 2.5px solid var(--color-terracotta); outline-offset: 3px; }

/* ----------------------------------------------------------------------
   3. TYPOGRAPHY UTILITIES
   ---------------------------------------------------------------------- */
.eyebrow{ font-family: var(--font-body); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--color-terracotta); margin: 0 0 .9rem; display: inline-block; }
.eyebrow-light{ color: var(--color-gold); }
.section-head{ max-width: 680px; margin: 0 auto var(--space-xl); text-align: center; }
.section-head h2{ font-size: clamp(1.8rem, 3vw, 2.6rem); }
.section-lede{ color: var(--color-ink-soft); font-size: 1.08rem; }
.text-link{ color: var(--color-forest-2); font-weight: 600; border-bottom: 1.5px solid var(--color-terracotta); padding-bottom: 2px; transition: color .2s ease; }
.text-link:hover{ color: var(--color-terracotta); }

/* ----------------------------------------------------------------------
   4. BUTTONS & LINKS
   ---------------------------------------------------------------------- */
.btn{ display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .95rem 1.9rem; border-radius: 999px; font-weight: 600; font-size: .98rem; border: 1.5px solid transparent; transition: transform .2s ease, background .25s ease, color .25s ease, border-color .25s ease; white-space: nowrap; }
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--color-terracotta); color: #fff; box-shadow: var(--shadow-lift); }
.btn-primary:hover{ background: var(--color-terracotta-deep); }
.btn-ghost{ border-color: var(--color-forest); color: var(--color-forest); background: transparent; }
.btn-ghost:hover{ background: var(--color-forest); color: #fff; }

/* ----------------------------------------------------------------------
   5. LAYOUT UTILITIES
   ---------------------------------------------------------------------- */
.container{ max-width: var(--container-w); margin: 0 auto; padding: 0 1.5rem; }

/* ----------------------------------------------------------------------
   6. SITE HEADER & NAVIGATION — floating glass capsule
   Copied 1:1 from style.css (index.html) so both pages render identically.
   ---------------------------------------------------------------------- */
.site-header{
  /* NOTE: no backdrop-filter/transform directly on this element or on
     .header-inner — either would make this sticky header the containing
     block for any position:fixed descendant (like the mobile nav panel
     below), trapping it inside the header's own box instead of the
     viewport. The glass effect instead lives on .nav-capsule::before,
     a pseudo-element, which never becomes a containing block for real
     DOM descendants like .site-nav. */
  position: sticky; top: 0; z-index: 100; width: 100%;
  padding: 14px 1.5rem;
  background: transparent;
  transition: padding .35s ease;
}
.site-header.is-scrolled{ padding-top: 10px; padding-bottom: 10px; }

.header-inner{
  position: relative;
  height: 96px;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 .6rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}

/* the nav pill: logo + links, its own glass capsule */
.nav-capsule{
  position: relative; flex: 1 1 auto; min-width: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  height: 70px; padding: 0 .6rem 0 1.6rem;
}
.nav-capsule::before{
  content: '';
  position: absolute; inset: 0;
  z-index: -1;
  border-radius: 999px;
  background: rgba(251, 246, 239, .62);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .6);
  box-shadow:
    0 18px 40px -22px rgba(20, 51, 42, .35),
    0 2px 8px -2px rgba(20, 51, 42, .12),
    inset 0 1px 0 rgba(255, 255, 255, .55);
  transition: background .35s ease, box-shadow .35s ease;
}
.site-header.is-scrolled .nav-capsule::before{
  background: rgba(251, 246, 239, .86);
  box-shadow:
    0 22px 44px -20px rgba(20, 51, 42, .4),
    0 2px 10px -2px rgba(20, 51, 42, .16),
    inset 0 1px 0 rgba(255, 255, 255, .6);
}

.brand{ display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.brand-mark {
    width: 152px;
    height: 47px;
    object-fit: contain;
}.brand-name{ font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; letter-spacing: .04em; color: var(--color-forest); }

.site-nav{ display: flex; align-items: center; gap: .25rem; }
.nav-link{
  font-weight: 600; font-size: .92rem; color: var(--color-ink);
  padding: .6rem 1.05rem; border-radius: 999px;
  transition: color .25s ease, background .25s ease;
}
.nav-link:hover,
.nav-link.is-active{
  color: var(--color-terracotta); background: rgba(20, 51, 42, .07);
}

/* separate floating CTA pill, outside the nav capsule — dark, with a
   circular arrow bubble, matching a "book appointment" style hero CTA */
.nav-cta{
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: .7rem;
  background: var(--color-forest); color: #fff !important; font-weight: 600; font-size: .92rem;
  padding: .5rem .5rem .5rem 1.4rem; border-radius: 999px;
  box-shadow: 0 14px 28px -12px rgba(20, 51, 42, .55);
  transition: background .25s ease, transform .2s ease, box-shadow .25s ease;
}
.nav-cta:hover{ background: var(--color-forest-deep, #0E241D); transform: translateY(-2px); box-shadow: 0 18px 32px -12px rgba(20, 51, 42, .65); }
.nav-cta-arrow{
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; background: var(--color-terracotta);
  font-size: 1rem; line-height: 1;
}

.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  padding: 0;
  margin-right: 1.2rem;
}
.nav-toggle span{ display: block; height: 2px; width: 100%; background: var(--color-forest); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav-toggle.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity: 0; }
.nav-toggle.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------------------------------------------------
   7. SITE FOOTER
   ---------------------------------------------------------------------- */
.site-footer{
  position: relative;
  background: linear-gradient(175deg, var(--color-forest) 0%, #142b23 100%);
  color: #E9E3D6;
  padding: var(--space-xl) 0 var(--space-md);
  margin-top: var(--space-xxl);
  overflow: hidden;
}

/* subtle top accent line */
.site-footer::before{
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-terracotta), var(--color-gold), var(--color-terracotta));
  opacity: .85;
}

/* faint radial glow for depth, matching CTA band */
.site-footer::after{
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 0%, rgba(214, 163, 63, .12), transparent 55%);
  pointer-events: none;
}

.footer-inner{
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.footer-logo{
  display: block;
  width: 71px;
  height: 65px;
  margin-left: 0px;
  margin-top: -6px;
  margin-bottom: .4rem;
  opacity: 1;
}

.footer-name{
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
  margin: 1.1rem 0 .3rem;
  line-height: 1.35;
}

.footer-tagline{
  color: var(--color-gold);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0;
}

.footer-col h3{
  font-family: var(--font-body);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: .6rem;
}
.footer-col h3::after{
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 24px; height: 2px;
  background: var(--color-terracotta);
}

.footer-col a, .footer-col p{
  display: block;
  color: #D9D2C2;
  font-size: .95rem;
  margin-bottom: .65rem;
  line-height: 1.5;
}

.footer-col a{
  position: relative;
  width: fit-content;
  transition: color .25s ease, transform .25s ease;
}
.footer-col a:hover{
  color: #fff;
  transform: translateX(3px);
}

.footer-bottom{
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p{
  margin: 0;
  font-size: .85rem;
  color: #B9AF9C;
}

.footer-social{ display: flex; gap: .9rem; }
.footer-social a{
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  color: #E9E3D6;
  transition: background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.footer-social a:hover{
  background: var(--color-terracotta);
  border-color: var(--color-terracotta);
  transform: translateY(-3px);
  box-shadow: 0 8px 18px -6px rgba(196, 106, 79, .55);
}



/* ----------------------------------------------------------------------
   8. SCROLL REVEAL / MOTION
   ---------------------------------------------------------------------- */
.js [data-reveal]{ opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js [data-reveal].is-visible{ opacity: 1; transform: translateY(0); }

/* ----------------------------------------------------------------------
   PAGE HERO — SPOTLIGHT VARIANT (story-style media block)
   ---------------------------------------------------------------------- */
:root{
  --radius-lg: 12px;
}

.hero-spot{
  background: linear-gradient(165deg, var(--color-forest) 0%, #0F241D 100%);
  border-radius: var(--radius-lg, 12px);
  padding: 4.4rem 3.4rem 3rem;
  overflow: hidden;
  position: relative;
  transition: box-shadow .4s ease;
}
.hero-spot::before{
  content: '';
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(circle at 90% -12%, rgba(192,138,52,.24), transparent 55%),
    radial-gradient(circle at 2% 118%, rgba(31,80,64,.6), transparent 50%);
}
.hero-spot::after{
  content: '';
  position: absolute;
  left: 1.5rem; right: 1.5rem; bottom: 0;
  height: 1px;
  background: rgba(255,255,255,.12);
}
.hero-spot:hover{
  box-shadow: 0 0 0 1px rgba(192,138,52,.15), 0 20px 60px rgba(0,0,0,.35);
}
.hero-spot-grid, .hero-spot-marquee-track{ position: relative; z-index: 1; }

/* two-column layout: copy left, image right */
.hero-spot-grid{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 3.2rem;
  align-items: center;
}

.hero-spot-eyebrow{
  font-family: var(--font-body);
  font-weight: 700; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--color-gold); margin: 0 0 1.6rem;
}

.hero-spot-headline{
  max-width: 640px; margin: 0 0 1.8rem;
  font-family: var(--font-display); font-weight: 500; font-style: normal; font-optical-sizing: auto;
  letter-spacing: -.01em;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.22;
  color: rgba(255,255,255,.9);
  transition: color .4s ease;
}
.hero-spot:hover .hero-spot-headline{
  color: #fff;
}
.hero-spot-headline-sub{
  display: inline-block;
  margin-top: .35em;
  font-size: .65em;
  font-weight: 500;
  color: rgba(255,255,255,.8);
}

.hero-spot-highlight{
  border-bottom: 1.5px dashed rgba(255,255,255,.28);
  transition: color .25s ease, border-color .25s ease;
}
.hero-spot-headline:hover .hero-spot-highlight{ border-color: rgba(255,255,255,.4); }
.hero-spot-highlight:hover{
  color: var(--color-gold);
  border-color: var(--color-gold);
}

.hero-spot-lede{
  font-family: 'Source Sans 3', sans-serif; font-size: 1.05rem; line-height: 1.7;
  color: rgba(255,255,255,.62); max-width: 46ch; margin: 0 0 2.6rem;
}

/* ---------- image panel — story-style frame ---------- */
.hero-spot-media{
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  isolation: isolate;
  background: #0a1a15;
}

/* progress segments, one per image, along the top */
.hero-spot-media-progress{
  position: absolute;
  top: .9rem; left: .9rem; right: .9rem;
  z-index: 4;
  display: flex;
  gap: 4px;
}
.hero-spot-media-progress span{
  flex: 1;
  height: 2px;
  border-radius: 2px;
  background: rgba(255,255,255,.28);
  overflow: hidden;
  position: relative;
}
.hero-spot-media-progress span::after{
  content: "";
  position: absolute; inset: 0;
  background: #C08A34;
  transform: scaleX(0);
  transform-origin: left;
  animation: heroSpotSegFill 24s linear infinite;
}
.hero-spot-media-progress span:nth-child(1)::after{ animation-delay: 0s; }
.hero-spot-media-progress span:nth-child(2)::after{ animation-delay: 4s; }
.hero-spot-media-progress span:nth-child(3)::after{ animation-delay: 8s; }
.hero-spot-media-progress span:nth-child(4)::after{ animation-delay: 12s; }
.hero-spot-media-progress span:nth-child(5)::after{ animation-delay: 16s; }
.hero-spot-media-progress span:nth-child(6)::after{ animation-delay: 20s; }

@keyframes heroSpotSegFill{
  0%      { transform: scaleX(0); }
  16.6%   { transform: scaleX(1); }
  16.7%   { transform: scaleX(1); }
  100%    { transform: scaleX(1); }
}

/* the frame holding the stacked photos */
.hero-spot-media-frame{
  position: absolute;
  inset: 0;
}
.hero-spot-media-frame img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  filter: saturate(0.92) contrast(1.03);
  animation: heroSpotStoryShow 24s ease-in-out infinite;
  transition: filter .6s ease;
}
.hero-spot-media-frame img:nth-child(1){ animation-delay: 0s; }
.hero-spot-media-frame img:nth-child(2){ animation-delay: 4s; }
.hero-spot-media-frame img:nth-child(3){ animation-delay: 8s; }
.hero-spot-media-frame img:nth-child(4){ animation-delay: 12s; }
.hero-spot-media-frame img:nth-child(5){ animation-delay: 16s; }
.hero-spot-media-frame img:nth-child(6){ animation-delay: 20s; }

@keyframes heroSpotStoryShow{
  0%      { opacity: 0; }
  3%      { opacity: 1; }
  14%     { opacity: 1; }
  17%     { opacity: 0; }
  100%    { opacity: 0; }
}

.hero-spot:hover .hero-spot-media-frame img{
  filter: saturate(1) contrast(1.05);
}

.hero-spot-media::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,37,30,0) 40%, rgba(15,37,30,.85) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-spot-media::before{
  content: "";
  position: absolute; inset: 0;
  border: 1px solid rgba(192,138,52,.35);
  border-radius: 10px;
  z-index: 3;
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.hero-spot:hover .hero-spot-media::before{
  opacity: 1;
}

.hero-spot-media-caption{
  position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.1rem;
  z-index: 4;
  font-family: 'Source Sans 3', sans-serif;
  font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.75);
  display: flex; align-items: center; gap: .5rem;
  opacity: 0; transform: translateY(6px);
  transition: opacity .4s ease, transform .4s ease;
}
.hero-spot:hover .hero-spot-media-caption{
  opacity: 1; transform: translateY(0);
}
.hero-spot-media-caption::before{
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: #C08A34; flex-shrink: 0;
}

/* caption text swaps in sync with the active image */
.hero-spot-media-caption-text{
  position: relative;
  display: block;
  flex: 1;
  min-height: 1.4em;
}
.hero-spot-media-caption-text span{
  position: absolute;
  inset: 0;
  opacity: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  animation: heroSpotCaptionShow 24s ease-in-out infinite;
}
.hero-spot-media-caption-text span:nth-child(1){ animation-delay: 0s; }
.hero-spot-media-caption-text span:nth-child(2){ animation-delay: 4s; }
.hero-spot-media-caption-text span:nth-child(3){ animation-delay: 8s; }
.hero-spot-media-caption-text span:nth-child(4){ animation-delay: 12s; }
.hero-spot-media-caption-text span:nth-child(5){ animation-delay: 16s; }
.hero-spot-media-caption-text span:nth-child(6){ animation-delay: 20s; }

@keyframes heroSpotCaptionShow{
  0%      { opacity: 0; }
  3%      { opacity: 1; }
  14%     { opacity: 1; }
  17%     { opacity: 0; }
  100%    { opacity: 0; }
}

/* ---------- marquee ---------- */
.hero-spot-marquee-track{
  overflow: hidden; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1rem;
  margin-top: .4rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.hero-spot-marquee{
  display: flex; width: max-content;
  animation: heroSpotMarquee 22s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}

.hero-spot-marquee-group{
  display: flex; gap: 2.4rem; flex-shrink: 0;
  padding-right: 2.4rem;
}

.hero-spot-marquee .stat{
  font-family: var(--font-body); font-size: .72rem; letter-spacing: .08em;
  color: rgba(255,255,255,.4); white-space: nowrap;
  border-bottom: 1.5px dashed transparent;
  padding-bottom: .15rem;
  transition: color .3s ease, border-color .3s ease;
}
.hero-spot-marquee .stat:hover{
  color: rgba(255,255,255,.75);
  border-color: rgba(255,255,255,.3);
}
.hero-spot-marquee .stat--gold{
  color: var(--color-gold);
  border-color: rgba(192,138,52,.6);
}
.hero-spot-marquee .stat--gold:hover{ color: #D9A24C; border-color: #D9A24C; }

@keyframes heroSpotMarquee{
  from{ transform: translate3d(0,0,0); }
  to{ transform: translate3d(-50%,0,0); }
}

@media (prefers-reduced-motion: reduce){
  .hero-spot-marquee{ animation: none; }
  .hero-spot-media-frame img{ animation: none; opacity: 1; }
  .hero-spot-media-frame img:not(:first-child){ display: none; }
  .hero-spot-media-progress span::after{ animation: none; }
  .hero-spot-media-caption-text span{ animation: none; opacity: 0; }
  .hero-spot-media-caption-text span:first-child{ opacity: 1; }
}
@media (max-width: 900px){
  .hero-spot-grid{ grid-template-columns: 1fr; }
  .hero-spot-media{ aspect-ratio: 16 / 9; order: -1; }
}
@media (max-width: 700px){
  .hero-spot{ padding: 3rem 1.6rem 2.2rem; }
}



/* ----------------------------------------------------------------------
   FOUNDING NARRATIVE & FIELD LOG
   ---------------------------------------------------------------------- */
.narrative{ padding: var(--space-xxl) 0; }
.narrative-grid{ display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--space-xl); align-items: start; }

.narrative-copy h2{
  font-size: clamp(2rem, 3.4vw, 2.8rem);
}

.narrative-log-wrap{ padding-top: .3rem; }

.narrative-timeline{
  position: relative;
  border-left: 2px solid var(--color-line);
  padding-left: var(--space-md);
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.narrative-fill{
  position: absolute;
  left: -2px; top: 0;
  width: 2px; height: 0;
  background: var(--color-terracotta);
  transition: height 1.1s cubic-bezier(.22,.61,.36,1);
}

.narrative-entry{ position: relative; }

.narrative-mark{
  position: absolute;
  left: calc(-1 * var(--space-md) - 6px);
  top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--color-cream-deep);
  border: 2px solid var(--color-line);
  box-shadow: 0 0 0 0 rgba(193,97,61,0);
  transition: background .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.narrative-entry.lit .narrative-mark{
  background: var(--color-terracotta);
  border-color: var(--color-terracotta);
  box-shadow: 0 0 0 4px rgba(193,97,61,0.15);
}

.narrative-date{ font-family: 'Courier New', monospace; font-size: .8rem; color: var(--color-ink-soft); display: block; margin-bottom: .3rem; }
.narrative-timeline h3{ font-size: 1.08rem; margin: 0 0 .35rem; }
.narrative-summary{ margin: 0; color: var(--color-ink-soft); font-size: .95rem; line-height: 1.6; max-width: 38ch; }

.narrative-toggle{
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: .7rem; background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: .85rem; color: var(--color-terracotta); padding: 0;
}
.narrative-toggle:focus-visible{ outline: 2px solid var(--color-terracotta); outline-offset: 3px; }
.narrative-icon{ position: relative; width: 10px; height: 10px; flex: none; }
.narrative-icon::before, .narrative-icon::after{ content: ''; position: absolute; background: var(--color-terracotta); border-radius: 1px; }
.narrative-icon::before{ width: 10px; height: 1.4px; top: 4.3px; left: 0; }
.narrative-icon::after{ width: 1.4px; height: 10px; top: 0; left: 4.3px; transition: transform .25s ease; }
.narrative-entry.open .narrative-icon::after{ transform: rotate(90deg); }

.narrative-more{ max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.narrative-entry.open .narrative-more{ max-height: 160px; }
.narrative-more-inner{ padding-top: .6rem; color: var(--color-ink-soft); font-size: .9rem; line-height: 1.6; max-width: 38ch; }

.narrative-progress{ font-size: .78rem; color: var(--color-ink-soft); opacity: .7; margin: var(--space-md) 0 0; text-align: right; }

@media (max-width: 860px){
  .narrative-grid{
     grid-template-columns: 1fr;
    gap: 0;
   }
}



/* ----------------------------------------------------------------------
   11. PAGE — WHY THRYA DIFFERENTIATORS
   ---------------------------------------------------------------------- */
.differentiators{ padding-bottom:60px; }
.diff-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }

.diff-card{
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s ease, box-shadow .35s ease;
}
.diff-card:hover, .diff-card:focus-within{
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft), inset 0 0 0 1px rgba(255,255,255,.16);
}

.diff-photo{ position: absolute; inset: 0; background: var(--color-forest); }
.diff-photo img{
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04);
  transition: transform 1s cubic-bezier(.16,.8,.24,1);
}
.diff-card:hover .diff-photo img, .diff-card:focus-within .diff-photo img{
  transform: scale(1.1);
}

/* colorizes the photo at rest; fades away on hover to reveal true color */
.diff-tint{
  position: absolute; inset: 0;
  mix-blend-mode: color;
  opacity: 1;
  transition: opacity .7s ease;
}
.diff-card:hover .diff-tint, .diff-card:focus-within .diff-tint{ opacity: 0; }

.diff-card--terracotta .diff-tint{ background: var(--color-terracotta); }
.diff-card--gold .diff-tint{ background: var(--color-gold); }
.diff-card--forest2 .diff-tint{ background: var(--color-forest-2); }
.diff-card--forest .diff-tint{ background: var(--color-forest); }

.diff-card::before{
  content: '';
  position: absolute; inset: 0; z-index: 1;
  transition: opacity .6s ease;
}
.diff-card:hover::before, .diff-card:focus-within::before{ opacity: .82; }

.diff-card--terracotta::before{ background: linear-gradient(0deg, rgba(147,72,42,.95) 8%, rgba(147,72,42,.5) 48%, rgba(147,72,42,.08) 78%); }
.diff-card--gold::before{ background: linear-gradient(0deg, rgba(122,86,32,.95) 8%, rgba(122,86,32,.5) 48%, rgba(122,86,32,.08) 78%); }
.diff-card--forest2::before{ background: linear-gradient(0deg, rgba(20,51,42,.95) 8%, rgba(20,51,42,.5) 48%, rgba(20,51,42,.08) 78%); }
.diff-card--forest::before{ background: linear-gradient(0deg, rgba(15,38,31,.95) 8%, rgba(15,38,31,.5) 48%, rgba(15,38,31,.08) 78%); }

.diff-body{
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end; gap: .55rem;
  padding: 1.8rem 1.6rem;
  color: #fff;
}

.diff-mark{ display: inline-flex; width: 42px; height: 42px; margin-bottom: .2rem; }
.diff-mark svg{ width: 100%; height: 100%; overflow: visible; }
.diff-mark-ring{
  fill: none;
  stroke: rgba(255,255,255,.4);
  stroke-width: 1.4;
  transition: stroke .4s ease;
}
.diff-card:hover .diff-mark-ring, .diff-card:focus-within .diff-mark-ring{ stroke: rgba(255,255,255,.9); }
.diff-mark-icon{
  fill: none;
  stroke: #fff;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  opacity: 0;
  transition: stroke-dashoffset .7s ease .05s, opacity .35s ease .05s;
}
.diff-card:hover .diff-mark-icon, .diff-card:focus-within .diff-mark-icon{
  stroke-dashoffset: 0;
  opacity: 1;
}

.diff-body h3{ color: #fff; font-size: 1.12rem; margin: 0; }
.diff-body p{
  margin: 0;
  max-width: 27ch;
  font-size: .9rem;
  line-height: 1.6;
  color: rgba(255,255,255,.82);
}


/* ----------------------------------------------------------------------
   12. PAGE — TEAM  (profile switcher)
   ---------------------------------------------------------------------- */
.team{ padding-bottom: var(--space-xxl); }

.team-switcher{
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

/* ---- Roster: dark horizontal strip above the profile panel ---- */
.team-roster{
  flex: 0 0 auto;
  background: var(--color-forest);
  display: flex;
  flex-direction: row;
  align-items: stretch;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: .5rem .5rem 0;
}

.team-roster-item{
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .9rem 1.5rem;
  border-bottom: 3px solid transparent;
  flex: 1 1 0;
  min-width: 210px;
  white-space: nowrap;
  transition: background .25s ease, border-color .25s ease;
}

.team-roster-item:hover{ background: rgba(255,255,255,.05); }

.team-roster-item.is-active{
  background: rgba(255,255,255,.07);
  border-bottom-color: var(--accent, var(--color-gold));
}

.team-roster-item:focus-visible{ outline-offset: -3px; }

.team-roster-avatar{
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--accent, var(--color-terracotta));
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-roster-initials{
  font-family: var(--font-display);
  font-size: .85rem;
  color: rgba(255,255,255,.92);
}

.team-roster-avatar img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-roster-avatar img:not([src]),
.team-roster-avatar img[src=""]{ display: none; }

.team-roster-info{ min-width: 0; }

.team-roster-name{
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .92rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-roster-item.is-active .team-roster-name{ color: var(--accent, var(--color-gold)); }

.team-roster-role{
  display: block;
  font-size: .76rem;
  color: rgba(255,255,255,.55);
  margin-top: .15rem;
}

/* Cycle through the logo palette, same as used elsewhere on this page */
.team-roster-item:nth-child(4n+1),
.team-panel:nth-child(4n+1){ --accent:#c1694f; }
.team-roster-item:nth-child(4n+2),
.team-panel:nth-child(4n+2){ --accent:#d3a233; }
.team-roster-item:nth-child(4n+3),
.team-panel:nth-child(4n+3){ --accent:#3f5c42; }
.team-roster-item:nth-child(4n+4),
.team-panel:nth-child(4n+4){ --accent:#c1694f; }

/* ---- Panels: one full profile shown at a time ---- */
.team-panels{
  flex: 1;
  min-width: 0;
  position: relative;
}

.team-panel{
  display: none;
  padding: 2.8rem 3rem;
}

.team-panel.is-active{
  display: block;
  animation: teamPanelIn .35s ease;
}

.team-panel.is-active::after{
  content: "";
  display: block;
  clear: both;
}

@keyframes teamPanelIn{
  from{ opacity: 0; transform: translateY(8px); }
  to{ opacity: 1; transform: translateY(0); }
}

/* ---- Header: floats left so the bio wraps beside it, then spreads full width once it clears ---- */
.team-panel-header{
  float: left;
  width: 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
  margin: 0 2.4rem 1.5rem 0;
  padding-right: 2.2rem;
  border-right: 1px solid rgba(63,92,66,.12);
}

.team-panel-photo{
  position: relative;
  width: 100%;
  height: 230px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--accent, var(--color-forest));
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-panel-initials{
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: rgba(255,255,255,.9);
}

.team-panel-photo img{
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-panel-photo img:not([src]),
.team-panel-photo img[src=""]{ display: none; }

.team-panel-heading{
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.team-panel-heading h3{
  font-size: 1.4rem;
  line-height: 1.25;
  margin: 0;
}

.team-panel-role{
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .85rem;
  color: var(--accent, var(--color-terracotta));
  margin: 0 0 .3rem;
}

.team-panel-linkedin{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-forest);
  transition: background .3s ease, transform .3s ease;
}

.team-panel-linkedin:hover{
  background: var(--color-gold);
  transform: translateY(-2px);
}

.team-panel-linkedin svg{
  width: 15px;
  height: 15px;
  fill: #fff;
}

/* ---- Bio: wraps beside the floated header, then spreads to full width below it ---- */
.team-bio p{
  font-size: .92rem;
  line-height: 1.65;
  color: var(--color-ink-soft);
  margin: 0 0 .9rem;
}

.team-bio p:last-child{ margin-bottom: 0; }

/* ---- Bio content: clamped to the height of the whole header block
   (photo + name + role + LinkedIn icon line) until "Read More" is used ---- */
.bio-toggle-input{
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.team-bio-content{
  --bio-clamp-h: 344px; /* matches .team-panel-header: photo + heading + role + linkedin */
  max-height: var(--bio-clamp-h);
  overflow: hidden;
  position: relative;
  transition: max-height .4s ease;
}
.team-bio-content::after{
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2.4em;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.95) 78%);
  pointer-events: none;
  transition: opacity .3s ease;
}

.bio-toggle-input:checked ~ .team-bio-content{
  max-height: 4000px;
}
.bio-toggle-input:checked ~ .team-bio-content::after{
  opacity: 0;
}

/* ---- Bio: "Read More" / "Read Less" toggle label ---- */
.bio-toggle{
  margin-top: .8rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .84rem;
  letter-spacing: .02em;
  color: var(--accent, var(--color-terracotta));
  border-bottom: 1.5px solid var(--accent, var(--color-terracotta));
  padding-bottom: 2px;
  width: fit-content;
  transition: color .2s ease, border-color .2s ease;
}
.bio-toggle:hover{ color: var(--color-terracotta-deep); border-color: var(--color-terracotta-deep); }

.bio-toggle::after{
  content: '';
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform .25s ease;
  flex-shrink: 0;
}
.bio-toggle-input:checked ~ .bio-toggle::after{ transform: rotate(-135deg); margin-top: 3px; }

.bio-toggle .label-open{ display: none; }
.bio-toggle-input:checked ~ .bio-toggle .label-closed{ display: none; }
.bio-toggle-input:checked ~ .bio-toggle .label-open{ display: inline; }

.bio-toggle-input:focus-visible ~ .bio-toggle{ outline: 2.5px solid var(--color-terracotta); outline-offset: 3px; }

@media (max-width: 900px){
  .team-panel-header{
    float: none;
    width: 100%;
    flex-direction: row;
    align-items: center;
    margin: 0 0 1.6rem;
    padding-right: 0;
    padding-bottom: 1.6rem;
    border-right: none;
    border-bottom: 1px solid rgba(63,92,66,.12);
  }
  .team-panel-photo{ width: 130px; height: 150px; flex: 0 0 130px; }
  .team-bio-content{ --bio-clamp-h: 190px; }
}

@media (max-width: 750px){
  .team-switcher{ border-radius: var(--radius-md); }
  .team-roster{ padding: .6rem; gap: .3rem; }
  .team-roster-item{ flex: 0 0 auto; min-width: auto; padding: .55rem .9rem; }
  .team-roster-info{ display: none; }
  .team-roster-avatar{ width: 40px; height: 40px; }
  .team-panel{ padding: 1.6rem 1.4rem; }
  .team-panel-header{ flex-direction: column; align-items: flex-start; }
  .team-panel-photo{ width: 100%; flex-basis: 200px; }
}
/* ----------------------------------------------------------------------
   13. PAGE — OBJECTIVES
   ---------------------------------------------------------------------- */
.objectives{ padding:0; }

.objectives-head{ max-width: 760px; margin: 0 0 var(--space-xl); }
.objectives-head h2{ font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.objectives-lede{ font-size: 1.02rem; color: var(--color-ink-soft); }

/* ---- Row of columns ---- */
.objectives-cols{
  display: flex;
  align-items: stretch;
  gap: 2px;
  height: 460px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(0,0,0,.06);
}

/* ---- Individual column: plain white panel by default ---- */
.obj-col{
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  background: #fff;
  overflow: hidden;
  transition: flex .6s cubic-bezier(.22,1,.36,1);
}

.obj-col:hover{
  flex: 2.4 1 0;
}

/* ---- Brand palette, cycling terracotta / gold / forest across columns ---- */
.obj-col:nth-child(3n+1){ --obj-accent: #c1694f; } /* terracotta */
.obj-col:nth-child(3n+2){ --obj-accent: #d3a233; } /* gold */
.obj-col:nth-child(3n+3){ --obj-accent: #3f5c42; } /* forest green */

/* Thin colored accent bar on top of every panel, using its own accent */
.obj-col::after{
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--obj-accent);
  z-index: 3;
  transition: opacity .4s ease;
}

/* Background photo + colored overlay (tinted with the column's own accent), hidden until hover */
.obj-col::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, color-mix(in srgb, var(--obj-accent) 35%, transparent) 0%, color-mix(in srgb, var(--obj-accent) 88%, #0b171088) 100%),
    var(--obj-bg);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity .6s ease, transform .8s cubic-bezier(.22,1,.36,1);
  z-index: 1;
}

.obj-col:hover::before{
  opacity: 1;
  transform: scale(1);
}

.obj-col:hover::after{
  opacity: 0;   /* the top accent bar disappears once the photo/tint takes over */
}

/* Content sits above the photo/overlay */
.obj-col-inner{
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 2.4rem 1.4rem 1.8rem;
}

.obj-num{
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--obj-accent);
  transition: color .4s ease;
}

.obj-dots{
  display: block;
  width: 1px;
  height: 28px;
  margin: .9rem 0;
  background-image: linear-gradient(var(--obj-accent) 40%, transparent 0%);
  background-size: 1px 6px;
  background-repeat: repeat-y;
  opacity: .55;
  transition: background-image .4s ease, opacity .4s ease;
}

.obj-col h3{
  font-size: 1.15rem;
  margin: 0 0 .6rem;
  color: var(--color-ink);
  transition: color .4s ease;
}

.obj-col p{
  font-size: .88rem;
  line-height: 1.55;
  color: var(--color-ink-soft);
  margin: 0 0 1.1rem;
  max-width: 30ch;
  transition: color .4s ease;
}

.obj-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: .5rem 1.1rem;
  font-size: .82rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid var(--obj-accent);
  color: var(--obj-accent);
  text-decoration: none;
  white-space: nowrap;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}

.obj-btn:hover{
  background: var(--obj-accent);
  color: #fff;
}

/* ---- Active/hover state: flip text to white over the tinted photo ---- */
.obj-col:hover .obj-num,
.obj-col:hover h3{
  color: #fff;
}

.obj-col:hover p{
  color: rgba(255,255,255,.85);
}

.obj-col:hover .obj-dots{
  background-image: linear-gradient(rgba(255,255,255,.6) 40%, transparent 0%);
  opacity: 1;
}

.obj-col:hover .obj-btn{
  border-color: #fff;
  color: #fff;
  background: transparent;
}

.obj-col:hover .obj-btn:hover{
  background: #fff;
  color: var(--obj-accent);
}

/* ---- Mobile: stack as plain cards, no hover-driven photo reveal ---- */
@media (max-width: 900px){
  .objectives-cols{
    flex-direction: column;
    height: auto;
    gap: 1px;
  }
  .obj-col{
    flex: 1 1 auto !important;
  }
  .obj-col-inner{
    padding: 1.6rem 1.5rem;
  }
  .obj-col::before{
    opacity: .6;
    transform: scale(1);
  }
  .obj-col::after{ opacity: 0; }
  .obj-num, .obj-col h3{ color: #fff; }
  .obj-col p{ color: rgba(255,255,255,.85); }
  .obj-dots{
    background-image: linear-gradient(rgba(255,255,255,.6) 40%, transparent 0%);
    opacity: 1;
  }
  .obj-btn{ border-color: #fff; color: #fff; }
}

/* ----------------------------------------------------------------------
   14. BACK TO TOP BUTTON
   ---------------------------------------------------------------------- */
.to-top{ position: fixed; right: 1.6rem; bottom: 1.6rem; width: 48px; height: 48px; border-radius: 50%; background: var(--color-forest); color: #fff; border: none; font-size: 1.2rem; box-shadow: var(--shadow-soft); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s ease, transform .3s ease, background .2s ease; z-index: 90; }
.to-top.is-visible{ opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover{ background: var(--color-terracotta); }


/* ==========================================================================
   15. MOBILE RESPONSIVE
   Rebuilt from scratch, section by section — the old block above this
   point referenced classes that no longer exist in the current markup
   (.page-hero-grid, .page-hero-fact, .team-grid, .objectives-grid, etc).
   Desktop rules (sections 1–14 above) are untouched.
   ========================================================================== */

/* ---- 15.1 Tablet breakpoint (≤ 1024px) ---- */
@media (max-width: 1024px){
  :root{ --space-xxl: 6rem; --space-xl: 3.6rem; }
  .diff-grid{ grid-template-columns: repeat(2, 1fr); }
  .footer-inner{ grid-template-columns: 1fr 1fr; }
}

/* ---- 15.2 Section headers, site-wide (≤ 640px) ----
   Every section intro — eyebrow + h2 (+ lede where present) — gets a
   smaller, centered treatment on phone. .section-head is already centered
   on desktop (just needs smaller type); .narrative-copy and
   .objectives-head are left-aligned on desktop, so they're centered here
   too for a consistent mobile look. */
@media (max-width: 640px){
  .section-head{ margin: 0 auto 1.6rem; }
  .section-head .eyebrow{ font-size: .62rem; }
  .section-head h2{ font-size: 1.5rem; }
  .section-lede{ font-size: .85rem; text-align: left; }

  .narrative-copy{ text-align: center; }
  .narrative-copy .eyebrow{ font-size: .62rem; }
  .narrative-copy h2{ font-size: 1.5rem; }
  .narrative-copy p{ text-align: left; }

  .objectives-head{ text-align: center; margin: 0 auto 1.6rem; }
  .objectives-head .eyebrow{ font-size: .62rem; }
  .objectives-head h2{ font-size: 1.4rem; }
  .objectives-lede{ font-size: .82rem; text-align: left; }
}

/* ==========================================================================
   16. MOBILE RESPONSIVE — NAV (rebuilt from scratch)
   Copied 1:1 from index.html's mobile nav so both pages behave and look
   identical: same narrow height, same bigger logo, same "Donate" text
   visible next to the arrow, same compact floating dropdown card.
   ========================================================================== */
@media (max-width: 640px){
  :root{ --header-h: 88px; }

  .site-header{ padding: 10px 1rem; }
  .header-inner{ height: 64px; padding: 0 .3rem; }

  .nav-toggle{ display: flex; }

  .nav-capsule{
    height: 64px;
    padding: 0 .4rem 0 1rem;
  }
  .brand-mark{
    width: 43px;
    height: 64px;
    margin-left: 12px;
  }
  .brand-name{ font-size: 1.05rem; }

  /* CTA pill: Donate text stays visible alongside the arrow bubble */
  .nav-cta{ font-size: .72rem; gap: .4rem; padding: .3rem .3rem .3rem .8rem; }
  .nav-cta-arrow{ width: 26px; height: 26px; font-size: .85rem; }

  /* nav links drop out of the capsule row and open as a small floating
     card — about half the screen height — instead of a full-height panel */
  .site-nav{
    position: fixed;
    top: calc(var(--header-h) + .5rem);
    left: 50%;
    width: min(88vw, 360px);
    max-height: 50vh;
    transform: translateX(-50%) translateY(-12px) scale(.96);
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
    padding: .8rem;
    border-radius: var(--radius-lg);
    /* same frosted-glass recipe as .nav-capsule::before. backdrop-filter is
       safe here because .site-nav is itself the fixed element — it has no
       fixed descendants that could get trapped by a new containing block. */
    background: rgba(251, 246, 239, .62);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, .6);
    box-shadow:
      0 18px 40px -22px rgba(20, 51, 42, .35),
      0 2px 8px -2px rgba(20, 51, 42, .12),
      inset 0 1px 0 rgba(255, 255, 255, .55);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background .35s ease, box-shadow .35s ease;
  }
  /* keep in step with the capsule, which gets more opaque once scrolled */
  .site-header.is-scrolled .site-nav{
    background: rgba(251, 246, 239, .86);
    box-shadow:
      0 22px 44px -20px rgba(20, 51, 42, .4),
      0 2px 10px -2px rgba(20, 51, 42, .16),
      inset 0 1px 0 rgba(255, 255, 255, .6);
  }
  /* browsers without backdrop-filter: fall back to a near-solid panel */
  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){
    .site-nav,
    .site-header.is-scrolled .site-nav{ background: rgba(251, 246, 239, .97); }
  }
  .site-nav.is-open{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
  }
  .nav-link{ width: 100%; font-size: 1rem; padding: .8rem .9rem; text-align: left; }

  body.nav-open{ overflow: hidden; }
}

/* ==========================================================================
   17. MOBILE RESPONSIVE — PAGE HERO (hero-spot) (rebuilt from scratch)
   Desktop already stacks this to one column and reorders the media panel
   on top at ≤900px, and trims padding at ≤700px — those rules are
   untouched. This just scales everything down further: smaller type,
   tighter spacing, a smaller caption/marquee.
   ========================================================================== */
@media (max-width: 640px){
  .hero-spot{ margin: 0 -1.5rem; padding: 2rem 20px 1.6rem; border-radius: 0; }
  .hero-spot-grid{ gap: 1.6rem; }

  .hero-spot-eyebrow{ font-size: .6rem; margin-bottom: .9rem; }
  .hero-spot-headline{ font-size: 1.5rem; margin-bottom: .9rem; }
  .hero-spot-headline-sub{ font-size: .62em; }
  .hero-spot-lede{ font-size: .84rem; line-height: 1.55; margin-bottom: 1.5rem; }

  /* image made as wide as the section allows and a little taller than
     the desktop's 16:9 crop */
  .hero-spot-media{ aspect-ratio: 4 / 3; border-radius: 8px; }
  .hero-spot-media-progress{ top: .6rem; left: .6rem; right: .6rem; }
  .hero-spot-media-caption{ left: .8rem; right: .8rem; bottom: .8rem; font-size: .6rem; }

  .hero-spot-marquee-track{ padding-top: .7rem; margin-top: .2rem; }
  .hero-spot-marquee-group{ gap: 1.4rem; padding-right: 1.4rem; }
  .hero-spot-marquee .stat{ font-size: .6rem; }
}

/* ==========================================================================
   18. MOBILE RESPONSIVE — FOUNDING NARRATIVE & TIMELINE (rebuilt from
   scratch)
   Desktop already stacks the grid to one column at ≤860px — untouched.
   Same structure, mini version: tighter timeline rail, smaller type.
   ========================================================================== */
@media (max-width: 640px){
  .narrative{ padding: 2.6rem 0; }

  .narrative-log-wrap{ padding-top: 0; }
  .narrative-timeline{ gap: 1.3rem; padding-left: 1rem; }
  .narrative-mark{ left: calc(-1rem - 6px); width: 10px; height: 10px; }

  .narrative-date{ font-size: .7rem; }
  .narrative-timeline h3{ font-size: .92rem; }
  .narrative-summary{ font-size: .8rem; max-width: 100%; }

  .narrative-toggle{ font-size: .74rem; margin-top: .5rem; }
  .narrative-more-inner{ font-size: .78rem; max-width: 100%; }
  .narrative-progress{ font-size: .66rem; }
}

/* ==========================================================================
   19. MOBILE RESPONSIVE — WHY THRYA DIFFERENTIATORS (rebuilt from scratch)
   Mini version of desktop: stays a 2×2 grid instead of dropping to a
   single column, just like the Founders cards on the home page — tighter
   padding, smaller icon/type.
   ========================================================================== */
@media (max-width: 640px){
  .diff-grid{ grid-template-columns: 1fr 1fr; gap: .7rem; }
  .diff-card{ border-radius: var(--radius-sm); }

  .diff-body{ padding: 1rem .9rem; gap: .35rem; }
  .diff-mark{ width: 30px; height: 30px; margin-bottom: .1rem; }

  .diff-body h3{ font-size: .86rem; }
  .diff-body p{ font-size: .7rem; line-height: 1.4; max-width: 100%; }
}

/* ==========================================================================
   20. MOBILE RESPONSIVE — TEAM (profile switcher) (rebuilt from scratch)
   Desktop already handles ≤900px (header row instead of float) and
   ≤750px (roster names hidden, avatar-only strip) — those are untouched.
   This scales everything down further for phones.
   ========================================================================== */
@media (max-width: 640px){
  .team-switcher{ border-radius: var(--radius-sm); }

  .team-roster{ padding: .5rem .5rem 0; gap: .2rem; }
  .team-roster-item{ padding: .45rem .7rem; gap: .55rem; min-width: 160px; }
  .team-roster-avatar{ width: 34px; height: 34px; }
  .team-roster-initials{ font-size: .7rem; }

  /* keep the name + role visible next to the photo, like desktop —
     just smaller, so it still fits the scrollable strip on phone */
  .team-roster-info{ display: block; }
  .team-roster-name{ font-size: .78rem; }
  .team-roster-role{ font-size: .64rem; }

  .team-panel{ padding: 1.1rem 1rem; }
  .team-panel-header{ gap: .8rem; margin-bottom: 1.1rem; padding-bottom: 1.1rem; }
  .team-panel-photo{ flex-basis: auto; width: 100%; height: auto; aspect-ratio: 4 / 5; }
  .team-panel-initials{ font-size: 1.6rem; }

  .team-panel-heading h3{ font-size: 1.05rem; }
  .team-panel-role{ font-size: .74rem; }
  .team-panel-linkedin{ width: 26px; height: 26px; }
  .team-panel-linkedin svg{ width: 12px; height: 12px; }

  .team-bio-content{ --bio-clamp-h: 320px; }
  .team-bio p{ font-size: .78rem; line-height: 1.5; }
  .bio-toggle{ font-size: .72rem; margin-top: .6rem; }
}
/* ==========================================================================
   21. MOBILE RESPONSIVE — OBJECTIVES (rebuilt from scratch)
   Desktop already stacks the columns to plain cards at ≤900px — untouched.
   That ≤900px rule also force-applies the hover/reveal state permanently
   (since hover doesn't really exist on touch), which is overridden here
   for phones: cards start in their normal "before hover" look (white
   card, colored accent bar, dark text) and animate into the reveal state
   — photo tint + white text — one at a time as each card scrolls into
   view, via a JS-added .in-view class standing in for :hover. Mini
   version otherwise: tighter card padding, smaller number/heading/
   paragraph.
   ========================================================================== */
/* ==========================================================================
   21. MOBILE RESPONSIVE — OBJECTIVES (rebuilt from scratch)
   Desktop already stacks the columns to plain cards at ≤900px — untouched.
   That ≤900px rule also force-applies the hover/reveal state permanently
   (since hover doesn't really exist on touch), which is overridden here
   for phones: cards start in their normal "before hover" look (white
   card, colored accent bar, dark text) and animate into the reveal state
   — photo tint + white text — as each card scrolls into view, via a
   JS-added .in-view class standing in for :hover. Only one card is
   "revealed" at a time: scrolling to the next card returns the previous
   one to its default white state (handled in script.js).
   ========================================================================== */
@media (max-width: 640px){
  .obj-col-inner{ padding: 1.2rem 1rem; }
  .obj-num{ font-size: 1.8rem; }
  .obj-dots{ height: 18px; margin: .6rem 0; }

  .obj-col h3{ font-size: .95rem; }
  .obj-col p{ font-size: .76rem; max-width: 100%; margin-bottom: .8rem; }
  .obj-btn{ font-size: .72rem; padding: .4rem .9rem; }

  /* ---- reset the ≤900px "always revealed" state back to default ---- */
  .obj-col::before{ opacity: 0; transform: scale(1.06); }
  .obj-col::after{ opacity: 1; }
  .obj-num, .obj-col h3{ color: var(--color-ink); }
  .obj-num{ color: var(--obj-accent); }
  .obj-col p{ color: var(--color-ink-soft); }
  .obj-dots{
    background-image: linear-gradient(var(--obj-accent) 40%, transparent 0%);
    opacity: .55;
  }
  .obj-btn{ border-color: var(--obj-accent); color: var(--obj-accent); }

  /* ---- .in-view stands in for :hover, added/removed by JS as the user
     scrolls — same visual result as the desktop hover state, but only
     ever applied to one card at a time ---- */
  .obj-col.in-view::before{ opacity: 1; transform: scale(1); }
  .obj-col.in-view::after{ opacity: 0; }
  .obj-col.in-view .obj-num,
  .obj-col.in-view h3{ color: #fff; }
  .obj-col.in-view p{ color: rgba(255,255,255,.85); }
  .obj-col.in-view .obj-dots{
    background-image: linear-gradient(rgba(255,255,255,.6) 40%, transparent 0%);
    opacity: 1;
  }
  .obj-col.in-view .obj-btn{ border-color: #fff; color: #fff; background: transparent; }
}

/* ==========================================================================
   22. MOBILE RESPONSIVE — FOOTER (rebuilt from scratch)
   Copied 1:1 from index.html so both pages match exactly.
   ========================================================================== */
@media (max-width: 640px){

  .site-footer{ padding: 1.8rem 0 1rem; margin-top: var(--space-lg); }

  .footer-inner{
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem .8rem;
    padding-bottom: 1.1rem;
  }
  .footer-brand{
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: .6rem;
  }
  /* Quick links (2nd child) and Get involved (3rd child) sit side by
     side; Reach us (4th child) drops back to full width below them */
  .footer-col:nth-child(4){ grid-column: 1 / -1; }

  .footer-logo{ grid-column: 1; grid-row: 1 / span 2; width: 48px; height: 36px; margin: 0; }
  .footer-name{ grid-column: 2; grid-row: 1; font-size: .8rem; margin: 0; line-height: 1.25; align-self: end; }
  .footer-tagline{ grid-column: 2; grid-row: 2; font-size: .58rem; margin: 0; align-self: start; white-space: normal; }

  .footer-col h3{ font-size: .66rem; margin-bottom: .45rem; padding-bottom: .3rem; }
  .footer-col a, .footer-col p{ font-size: .78rem; margin-bottom: .3rem; }

  .footer-bottom{
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
    padding-top: .8rem;
  }
  .footer-bottom p{ font-size: .68rem; }

  .footer-social{ gap: .5rem; }
  .footer-social a{ width: 26px; height: 26px; }
  .footer-social a svg{ width: 14px; height: 14px; }
}

/* ==========================================================================
   23. MOBILE RESPONSIVE — BACK TO TOP (rebuilt from scratch)
   Copied 1:1 from index.html so both pages match exactly.
   ========================================================================== */
@media (max-width: 640px){
  .to-top{ right: 1rem; bottom: 1rem; width: 40px; height: 40px; font-size: 1rem; }
}