/* ===================================================================
   The Seventy Nations — Header + Hero
   Colors extracted directly from assets/mockup-full.png
   =================================================================== */
:root {
  /* --- one motion system, reused by every hover/focus state on the site --- */
  --motion:        220ms;
  --motion-ease:   cubic-bezier(0.22, 0.61, 0.36, 1);
  --motion-photo:  350ms;    /* a photo eases in a beat slower than a UI element */
  --lift:          -5px;
  --lift-press:    -2px;

  --purple-deep:#0E111B;  /* far-left hero background        */
  --purple-base:#0D111A;  /* darkest nav / emblem ground     */
  --purple-mid:#121623;  /* gradient mid / nav right tone   */
  --gold:#EA9342;  /* bright gold — subheading/accents (mockup-sampled) */
  --gold-soft:#D09D6B;  /* logo / muted gold               */
  --gold-btn-1:    #B16F31;  /* button gradient top (mockup-sampled) */
  --gold-btn-2:    #8A4C12;  /* button gradient bottom (mockup-sampled) */
  --btn-text:#FCFBF8;  /* warm white button text (mockup-sampled) */
  --white:#F5F6F9;  /* heading white                   */
  --text-muted:#CFC9DC;  /* paragraph lavender-grey         */
  --nav-text:#E9EBF2;  /* nav links                       */
  --quote-text:#E2E4ED;  /* isaiah quote                    */

  /* --- Section 2 (Why / Visionaries parchment) — extracted from mockup --- */
  --s2-cream:#FBFAF8;  /* parchment background fallback   */
  --s2-ink:#111420;  /* serif column headings (mockup-sampled) */
  --s2-body:#191B22;  /* dark-navy body paragraphs       */
  --s2-emph:#0F131E;  /* bold emphasized line (mockup-sampled) */
  --s2-gold-icon:#C8854A;  /* line-art globe / skyline stroke */
  --s2-line:#C4915E;  /* thin vertical gold dividers     */
  --s2-btn:#131725;  /* solid navy button fill          */
  --s2-btn-text:#F1B67D;  /* gold button text                */

  /* --- Section 3 (Jerusalem Unity Center) — extracted from mockup --- */
  --s3-navy:#111520;  /* solid navy panel base           */
  --s3-navy-edge:#0E111C;  /* deepest left edge               */
  --s3-gold:#D4904E;  /* serif heading gold              */
  --s3-gold-soft:#C38F5E;  /* italic subheading gold          */
  --s3-cream:#D9D3E4;  /* paragraph cream/lavender        */
  --s3-btn:#C8874A;  /* solid gold button fill          */
  --s3-btn-dark:#2A1606;  /* button dark text                */

  /* --- Section 4 (Get Involved) — extracted from mockup --- */
  --s4-cream:#FBFAF8;  /* parchment strip background       */
  --s4-title:#131624;  /* dark navy serif heading (mockup-sampled) */
  --s4-gold:#B26B2B;  /* line-art icons gold (mockup-sampled) */
  --s4-gold-soft:#B47235;  /* italic subheading gold (mockup-sampled) */
  --s4-line:#D29A63;  /* flanking heading lines (mockup-sampled) */
  --s4-divider:rgba(167,96,32,0.5); /* vertical item dividers (mockup-sampled) */
  --s4-label:#131623;  /* dark-navy item labels (mockup-sampled) */
  --s4-btn:#141827;  /* solid deep-purple button fill (mockup-sampled) */
  --s4-btn-text:#EA9A51;  /* button gold text (mockup-sampled) */

  /* ---- Section 5 : A Shared Future banner ---- */
  --s5-navy:#111520;  /* overlay navy/purple dimmer        */
  --s5-navy-warm:#151823;  /* warm sunset edge of overlay       */
  --s5-heading:#FBFAF9;  /* cream/white heading               */
  --s5-text:#D8D0C4;  /* cream paragraph text              */

  /* ---- Footer — extracted from mockup --- */
  --ft-navy:#0F121C;  /* footer navy base                 */
  --ft-gold:#DC9A5E;  /* labels / icons / serif crest     */
  --ft-gold-soft:#C98A52;  /* secondary gold serif text        */
  --ft-btn:#A8682F;  /* solid SUBSCRIBE button gold (muted) */
  --ft-btn-text:#111420;  /* dark navy text on button         */
  --ft-muted:#C7AC93;  /* muted cream-gold body / copyright*/
  --ft-line:rgba(220,154,94,0.30); /* gold dividers    */
  --ft-ring:rgba(220,154,94,0.55); /* social icon rings*/
}

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

/* The UA's `[hidden] { display: none }` sits at the bottom of the cascade, so any
   class below that sets a display wins over it and the element keeps rendering.
   Everything the site hides from JS uses the attribute, so it has to win here. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

/* offset anchor targets so the fixed header doesn't overlap headings */
#home,
#vision,
#pillars,
#the-center,
#get-involved,
#meirah,
#events,
#future,
#footer { scroll-margin-top: 90px; }

body {
  font-family: "Montserrat", sans-serif;
  background: var(--purple-deep);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===================== HEADER ===================== */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.brand__emblem {
  height: 96px;
  width: auto;
  display: block;
}

.brand__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 25px;
  line-height: 1.02;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.brand__sub {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-top: 3px;
}

/* ---- Nav ---- */
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav__list {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav__list a {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color:#F3F4F7;
  transition: color var(--motion) var(--motion-ease);
}

.main-nav__list a:hover { color: var(--gold); }

/* ---- Mobile menu toggle (hidden until the drawer breakpoint) ---- */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border:1px solid rgba(220,154,94,0.45);
  border-radius: 6px;
  background:rgba(14,17,27,0.55);
  color: var(--gold-soft);
  cursor: pointer;
  transition: border-color var(--motion) var(--motion-ease),
              color var(--motion) var(--motion-ease);
}
.nav-toggle:hover { border-color: var(--gold); color: var(--gold); }
.nav-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 20px;
  height: 14px;
}
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--motion) var(--motion-ease),
              opacity var(--motion) var(--motion-ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }

/* open: the outer bars meet in the middle as an × and the middle bar drops out */
.site-header.nav-open .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header.nav-open .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (prefers-reduced-motion: reduce) {
  .nav-toggle,
  .nav-toggle__bars span { transition: none; }
}


.btn-donate {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--btn-text);
  background: linear-gradient(180deg, var(--gold-btn-1) 0%, var(--gold-btn-2) 100%);
  padding: 9px 22px;
  border-radius: 4px;
  box-shadow:0 2px 10px rgba(0, 0, 0, 0.35);
  transition: filter var(--motion) var(--motion-ease);
}

.btn-donate:hover { filter: brightness(1.08); }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  /* the frame follows the artwork's own 2560x1393 proportion once the viewport
     grows past a laptop. it used to be a flat 765px tall at every width, so a
     desktop monitor scaled the picture up and sliced the sky off the top and the
     hills off the bottom — the exact two bands the text has to sit in. below
     ~1406px this never binds, so laptops render as before.
     the upper bound used to be a flat 1050px, which quietly brought the crop back
     above ~2100px and pushed the light back down over the scripture. it now keeps
     creeping up on very wide monitors so the dark band under the fan never gets
     shorter than the verse that has to sit in it */
  min-height: clamp(600px, 54.4vw, max(1200px, 42vw));
  background-color: var(--purple-deep);
  background-image: url("assets/img/hero-bg.jpg");
  /* desktop artwork: full-bleed, centre-cropped and filled edge to edge */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;

  /* the light fan leaves exactly two clear zones: the deep purple sky above and
     left of it, and the dark hill band along the bottom. the headline takes the
     first, the scripture takes the second, and the beams sweep diagonally
     between them without a word laid over the light */
  display: grid;
  grid-template-columns: minmax(0, 580px) minmax(0, 600px);
  justify-content: space-between;
  align-items: start;
  column-gap: 60px;
  /* 202px top clearance and a 60px gutter matching the header — but past 1440px
     the surplus width becomes side gutters instead of being handed to
     space-between. that was the desktop failure: the headline and the scripture
     drifted to opposite edges of a wide monitor and the middle of the
     composition fell out, while a laptop never got wide enough to show it */
  padding: 202px max(60px, calc((100% - 1440px) / 2)) 64px;
}

/* dark purple gradient overlay: dense left -> sunset reveal right.
   the new artwork is already deep purple on the left, so the left band is
   semi-opaque (not solid) — text keeps full contrast while the constellation
   motif in the image still ghosts through */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:linear-gradient(
      100deg,
      rgba(14,17,27,0.88) 0%,
      rgba(14,17,27,0.80) 22%,
      rgba(14,17,28,0.62) 38%,
      rgba(15,19,30,0.38) 54%,
      rgba(17,20,31,0.14) 72%,
      rgba(17,21,33,0.05) 90%,
      rgba(18,22,34,0.02) 100%
    ),
    linear-gradient(
      180deg,
      rgba(13,16,25,0.55) 0%,
      rgba(13,16,25,0) 22%,
      rgba(13,16,25,0) 62%,
      rgba(13,16,25,0.30) 82%,
      rgba(13,16,25,0.52) 100%
    );
}

/* ---- Isaiah quote (bottom-right, under the light streams) ---- */
.hero__quote {
  position: relative;
  z-index: 3;
  /* the quote sits first in the DOM so mobile stacks it above the headline;
     on desktop it is pinned to the second column and dropped to the foot of the
     row, which lands it on the dark hills *below* the light fan */
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  justify-self: center;
  /* wider than the old 460: the verse is set large now, and its longest line
     ("and for the sake of Jerusalem") has to stay on one line — the client's
     seven-line shape breaks the moment a line wraps */
  max-width: 560px;
  text-align: center;
  padding: 0 10px;
  /* the clear wedge runs from the city out to the sun, and its underside climbs
     to the right — far more room than the thin strip of hills we were using.
     the block is bottom-anchored so it grows upward into that wedge.
     it used to hang off the very hem of the frame (-44px), which pinned the
     composition to the floor and left a dead band under the buttons opposite it.
     lifted clear of the hem now, into the open air between the ridge and the
     beams: the offset is in vw because the frame is 54.4vw tall, so this keeps
     the same spot on the artwork at every desktop width */
  margin-bottom: clamp(24px, 3vw, 64px);
  /* no plate and no scrim: down here the artwork is already deep and dark, so
     the scripture reads on its own. the box that used to dim the sunset was what
     made this look bolted on */
}

/* no gold hairline any more. the verse is set as a tapered column now, and a flat
   rule ruled straight across its foot cancelled exactly the shape the client asked
   for — the gold small-caps attribution is ornament enough */
.hero__quote::before { content: none; }

.hero__quote blockquote {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 400;
  /* the hero frame is 54.4vw tall, so the wedge under the fan grows with the
     viewport — the verse scales with it and keeps the same share of that wedge at
     every width instead of overflowing it on a laptop. sized up by about a third
     from the first pass: at 1440 this reads 23px against a 60px headline, which
     is what makes the two halves of the composition balance */
  font-size: clamp(19px, 1.62vw, 30px);
  /* tighter leading than a paragraph wants: this is set as verse now, and seven
     lines have to live where three used to */
  line-height: 1.34;
  color: var(--quote-text);
  /* deeper glow than before. set this large the verse reaches up past the hill
     ridge into the lit haze, so each line carries its own pool of shadow */
  text-shadow:0 2px 12px rgba(13,16,25,0.98), 0 0 30px rgba(13,16,25,0.92), 0 0 64px rgba(13,16,25,0.72);
}

.hero__quote figcaption {
  margin-top: 14px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  /* scaled with the verse so the attribution keeps its proportion to it */
  font-size: clamp(12px, 0.86vw, 15px);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow:0 2px 10px rgba(13,16,25,0.95), 0 0 22px rgba(13,16,25,0.8);
}

/* ---- Left content ---- */
.hero__content {
  position: relative;
  z-index: 3;
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* take the whole height of the row rather than sitting at the top of it, and
     centre the block inside it. top-anchored, every pixel the frame gained over
     the copy piled up in one place — the empty stretch under the buttons */
  align-self: stretch;
  justify-content: center;
}

.hero__title {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: 60px;
  line-height: 1.05;
  white-space: nowrap;
  color: var(--white);
  text-shadow:0 2px 18px rgba(0, 0, 0, 0.45);
}

.hero__subtitle {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-style: normal;
  font-size: 30px;
  letter-spacing: 0.02em;
  color: var(--gold);
  /* the four gaps down this column (here, either side of the rule, and above the
     buttons) all open with the viewport now. centring alone only splits the
     surplus height between top and bottom; letting the rhythm breathe with the
     frame is what actually closes it, and it does so without touching a single
     type size — the headline still has to stay on one line in its track */
  margin-top: clamp(10px, 0.9vw, 18px);
}

/* mockup ornament: thin gold line — sun/star burst — thin gold line,
   spanning the width of the subtitle */
.hero__rule {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 355px;
  margin: clamp(20px, 2.2vw, 44px) 0 clamp(22px, 2.4vw, 48px);
}

.hero__rule::before,
.hero__rule::after {
  content: "";
  flex: 1 1 0;
  height: 1px;
  background:rgba(229,141,60,0.55);   /* sampled from mockup accent line */
}

.hero__rule span {
  display: block;
  line-height: 1;
  font-size: 13px;
  color:#EDB078;                         /* sampled from mockup star ornament */
}

.hero__rule span::before {
  content: "\2739";                       /* twelve-pointed star burst */
}

.hero__lede {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 440px;
}

.hero__lede + .hero__lede { margin-top: clamp(14px, 1.3vw, 26px); }

/* ---- Buttons ---- */
.hero__actions {
  display: flex;
  gap: 18px;
  margin-top: clamp(30px, 3.4vw, 68px);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 14px 28px;
  border-radius: 4px;
  transition: all var(--motion) var(--motion-ease);
}

.btn__arrow { font-size: 15px; line-height: 1; }

.btn--solid {
  color: var(--btn-text);
  background: linear-gradient(180deg, var(--gold-btn-1) 0%, var(--gold-btn-2) 100%);
  box-shadow:0 4px 16px rgba(0, 0, 0, 0.3);
}

.btn--solid:hover { filter: brightness(1.08); transform: translateY(-1px); }

.btn--ghost {
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--gold-soft);
}

.btn--ghost:hover {
  background:rgba(227,175,130,0.1);
  border-color: var(--gold);
}

/* ===================== RESPONSIVE ===================== */
/* the desktop hero stays centre-cropped at every width — no per-breakpoint
   background-position overrides above the mobile (768px) image swap. */

@media (max-width: 1100px) {
  .site-header { padding: 18px 32px; }
  .main-nav { gap: 24px; }
  .main-nav__list { gap: 22px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); column-gap: 36px; padding: 200px 32px 40px; }
  /* smaller and lower than the desktop setting. seven lines are ~190px tall and
     the dark band down here is barely wider than that, so the verse has to give
     back both leading and a few points of size to stay off the beams */
  /* same lift as the desktop rule, but a fixed one: below 1100 the frame is held
     at a flat 780px (see the min-width:981 rule under this), so a vw offset would
     keep shrinking against a height that no longer moves */
  .hero__quote { max-width: 380px; margin-bottom: 56px; }
  .hero__quote blockquote { font-size: 16px; }
  .hero__title { font-size: 54px; }
  .hero__lede { max-width: 640px; }
}

/* small laptops still in the two-column hero (981-1100px). here 54.4vw is only
   ~600px, so the frame was sized by its own content at ~711px — short enough that
   the light floor landed 40px *inside* the scripture. a hard 780px floor buys the
   band back. scoped so the stacked layouts below 980px keep their own heights */
@media (min-width: 981px) and (max-width: 1100px) {
  .hero { min-height: 780px; }
}

/* Compact header for laptops/tablets so the full nav never overflows.
   Desktop (>1200px) is untouched. Nav hides below 900px (logo + Donate),
   consistent with the mobile pattern. */
@media (max-width: 1200px) {
  .site-header { padding: 16px 28px; }
  .brand { gap: 12px; }
  .brand__emblem { height: 84px; }
  .brand__title { font-size: 20px; }
  .brand__sub { font-size: 11.5px; letter-spacing: 0.26em; }
  .main-nav { gap: 16px; }
  .main-nav__list { gap: 14px; }
  .main-nav__list a { font-size: 11px; letter-spacing: 0.05em; }
  .btn-donate { font-size: 11px; padding: 8px 15px; }
}
@media (max-width: 900px) {
  html, body { overflow-x: hidden; }

  /* the row of links becomes a drawer that drops out of the header bar */
  .nav-toggle { display: inline-flex; }
  .main-nav__list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 20px 14px;
    background:linear-gradient(180deg, rgba(14,17,27,0.98) 0%, rgba(18,22,35,0.98) 100%);
    border-top:1px solid rgba(220,154,94,0.28);
    border-bottom:1px solid rgba(220,154,94,0.28);
    box-shadow:0 18px 40px rgba(12,15,23,0.55);
    /* closed state — kept in the layout so the open transition has somewhere
       to run from, but inert to pointer, screen reader and tab order */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity var(--motion) var(--motion-ease),
                transform var(--motion) var(--motion-ease),
                visibility 0s linear var(--motion);
  }
  .site-header.nav-open .main-nav__list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0s;
  }
  .main-nav__list li + li { border-top:1px solid rgba(220,154,94,0.16); }
  .main-nav__list a {
    display: block;
    padding: 14px 4px;
    font-size: 13px;
    letter-spacing: 0.12em;
  }
  .main-nav__list a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
}

/* the drawer still has to become inert when closed, so only the eased part of
   the transition goes — the visibility delay stays */
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .main-nav__list {
    transform: none;
    transition: visibility 0s linear var(--motion);
  }
  .site-header.nav-open .main-nav__list { transition-delay: 0s; }
}

/* ==== TABLET / SMALL LAPTOP (max-width: 980px) — hero stacks ====
   Two columns get too cramped to hold the headline and the scripture side by
   side, so the hero collapses to one centred column (still on the landscape
   artwork; the portrait swap happens at 768px). */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    row-gap: 30px;
    padding: 176px 32px 74px;
    /* stacked, the hero is tall and narrow, so cover centre-crops the wide
       artwork down to empty sky — bias downward to keep the cityscape,
       light streams and sun in frame */
    background-position: 50% 64%;
  }
  /* single column, so DOM order rules: scripture first, headline block below */
  .hero__quote {
    grid-column: 1;
    grid-row: 1;
    max-width: 540px;
    padding: 34px 30px 36px;
    /* stacked: no fan to duck under, so drop the drop-down nudge */
    margin-bottom: 0;
  }
  .hero__quote blockquote { font-size: 19px; }
  .hero__content {
    grid-column: 1;
    grid-row: 2;
    align-items: center;
    text-align: center;
  }
  .hero__rule { margin-left: auto; margin-right: auto; }
  .hero__lede { max-width: 580px; }
  .hero__actions { justify-content: center; }

  /* the left-to-right gradient assumes a left-aligned column; stacked and
     centred, the copy needs an even scrim top-to-bottom instead */
  .hero__overlay {
    background:linear-gradient(
      180deg,
      rgba(13,16,25,0.82) 0%,
      rgba(14,17,26,0.52) 30%,
      rgba(14,17,27,0.48) 62%,
      rgba(13,16,25,0.82) 100%
    );
  }
}

/* ============ MOBILE — header + hero (max-width: 768px) ============ */
@media (max-width: 768px) {
  html, body { overflow-x: hidden; }

  /* ---- Header ---- */
  .site-header { padding: 14px 20px; }
  .main-nav__list { padding: 6px 16px 14px; }
  .brand { gap: 12px; }
  .brand__emblem { height: 76px; }
  .brand__title { font-size: 20px; }
  .brand__sub { font-size: 12px; letter-spacing: 0.28em; }
  .btn-donate { font-size: 12px; padding: 10px 18px; }

  /* ---- Hero ---- */
  .hero {
    /* drop the desktop two-column grid: portrait stacks quote over content */
    display: block;
    padding: 0;
    min-height: 0;
    /* dedicated portrait crop of the hero artwork for mobile */
    background-image: url("assets/img/hero-bg-mobile.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
  }
  /* portrait overlay: dark bands top & bottom so quote and content stay legible,
     lighter middle so the skyline still reads through */
  .hero__overlay {
    background:linear-gradient(
      180deg,
      rgba(13,16,25,0.88) 0%,
      rgba(14,17,26,0.68) 28%,
      rgba(14,17,27,0.55) 52%,
      rgba(14,17,27,0.80) 80%,
      rgba(13,16,25,0.94) 100%
    );
  }
  .hero__quote {
    position: static;
    max-width: 430px;
    margin: 0 auto;
    padding: 134px 24px 0;
    text-align: center;
  }
  /* the desktop gold hairlines need a positioned box to anchor to, and the
     portrait crop reads cleaner without them */
  .hero__quote::before,
  .hero__quote::after { display: none; }
  .hero__quote blockquote {
    font-size: 17px;
    line-height: 1.45;
    text-shadow:0 2px 12px rgba(13,16,25,1), 0 0 30px rgba(13,16,25,0.95), 0 0 56px rgba(13,16,25,0.8);
  }
  /* the hand-set breaks stay on down here too: the longest line is ~210px, so it
     clears a 320px phone, and letting it reflow instead just wrapped it into more
     lines than the client's layout uses anyway */
  .hero__quote figcaption { margin-top: 12px; font-size: 12px; }
  .hero__content {
    max-width: none;
    align-items: center;
    text-align: center;
    padding: 30px 22px 56px;
  }
  .hero__title { font-size: 34px; line-height: 1.12; white-space: normal; }
  .hero__subtitle { font-size: 21px; margin-top: 8px; }
  .hero__rule { width: 100%; max-width: 250px; margin: 16px auto 18px; }
  .hero__lede { font-size: 15px; line-height: 1.65; max-width: 480px; }
  .hero__lede + .hero__lede { margin-top: 12px; }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 340px;
    gap: 12px;
    margin-top: 26px;
  }
  .btn { justify-content: center; padding: 15px 20px; font-size: 12.5px; }
}

/* ===================================================================
   SECTION 2 — Why The Seventy Nations / Why Jerusalem / Visionaries
   (parchment, three columns with thin gold dividers)
   =================================================================== */
.why {
  background-color: var(--s2-cream);
  background-image: url("assets/img/section-2-bg.jpg?v=ng1");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--s2-body);
}

.why__inner {
  display: grid;
  /* column proportions measured from assets/hero-and-2nd-section-mockup.png */
  grid-template-columns: 1.24fr 1fr 1.28fr;
  column-gap: 56px;
  max-width: 1420px;
  margin: 0 auto;
  padding: 64px 36px 68px;
}

/* thin vertical gold dividers sitting in the gaps between columns */
.why__col {
  position: relative;
  min-width: 0;
}

.why__col + .why__col::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: -28px;
  width: 1px;
  background:linear-gradient(
    180deg,
    rgba(196,145,94,0) 0%,
    rgba(196,145,94,0.55) 14%,
    rgba(196,145,94,0.55) 86%,
    rgba(196,145,94,0) 100%
  );
}

.why__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: clamp(20px, 1.875vw, 27px);
  line-height: 1.15;
  letter-spacing: 0.005em;
  color: var(--s2-ink);
  margin: 0 0 20px;
}

.why__body { font-size: 0; }   /* collapse whitespace between inline children */

/* line-art icon images — small, no frame, no background */
.why__icon { display: block; line-height: 0; }
.why__icon img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: none;
  border: none;
}

/* Column 1 — heading indented over the text block, globe icon beside the paragraphs.
   The grid lives on the mover, so the column's own box (and its divider) stays put
   while the content lifts on hover. */
.why__col--globe > .card__lift {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    ".    title"
    "icon text";
  column-gap: 22px;
  align-items: start;
}
.why__title--globe { grid-area: title; }
.why__icon--globe {
  grid-area: icon;
  width: clamp(84px, 7.8vw, 112px);
  margin-top: -6px;   /* globe top sits just above the first paragraph, as in the mockup */
}
.why__text {
  grid-area: text;
  min-width: 0;
}

/* Column 2 — skyline icon beside the first paragraph, second paragraph below */
.why__title--centered { text-align: center; }
.why__lede {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}
.why__lede .why__p { margin: 0; }
.why__icon--skyline {
  width: clamp(96px, 8.6vw, 124px);
  flex: none;
}

.why__p {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.72;
  color: var(--s2-body);
  margin: 0 0 16px;
}

.why__emph {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.6;
  color: var(--s2-emph);
  margin: 0;
}

.why__btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  padding: 13px 26px;
  background: var(--s2-btn);
  color: var(--s2-btn-text);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: filter var(--motion) var(--motion-ease), transform var(--motion) var(--motion-ease);
}
.why__btn:hover { filter: brightness(1.12); transform: translateY(-1px); }
.why__btn-arrow { font-size: 15px; line-height: 1; }

/* ---- Section 2 responsive ---- */
@media (max-width: 1100px) {
  .why__inner { column-gap: 44px; padding: 56px 36px 60px; }
  .why__col + .why__col::before { left: -22px; }
}

/* ============ MOBILE — why / visionaries (max-width: 768px) ============ */
@media (max-width: 768px) {
  .why__inner { grid-template-columns: 1fr; row-gap: 40px; padding: 48px 22px 52px; }
  .why__col + .why__col::before { display: none; }
  .why__col + .why__col {
    padding-top: 40px;
    border-top:1px solid rgba(196,145,94,0.4);
  }
  /* centered stacks for a tidy, symmetric read on narrow screens */
  .why__col { text-align: center; }
  .why__title,
  .why__title--centered { font-size: 22px; line-height: 1.2; text-align: center; margin-bottom: 18px; }

  /* column 1: heading, globe centered, then text — one clean centered stack */
  .why__col--globe > .card__lift {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "icon"
      "text";
    column-gap: 0;
  }
  .why__icon--globe { width: 96px; margin: 0 auto 18px; }

  /* column 2: skyline sits centered above its paragraph */
  .why__lede { flex-direction: column; align-items: center; gap: 16px; }
  .why__icon--skyline { width: 130px; margin: 0 auto; }

  .why__p { font-size: 15px; line-height: 1.7; margin: 0 0 14px; }
  .why__emph { font-size: 15px; line-height: 1.65; }

  /* column 3: copy and call-to-action centered */
  .why__body { text-align: center; }
  .why__btn { margin-top: 8px; padding: 14px 28px; }
}


/* ===================================================================
   SECTION 2B — THE FOUNDERS
   Navy band in the same family as the Founder strip and Events:
   the shared starfield background, the gold flanking-line head used by
   Pillars/Events, and the one-row-with-thin-gold-dividers layout used by
   Pillars and Get Involved. The portrait treatment is the Founder strip's
   gold ring set over the Pillars badge well, so a person is drawn the same
   way here as everywhere else on the page.
   =================================================================== */
:root {
  --fn-navy:#111420;  /* navy fallback while the image loads        */
  --fn-gold:#E8974C;  /* bright gold — name on hover                */
  --fn-gold-soft:#C38F5E;  /* italic subheading gold (navy family)       */
  --fn-icon:#D4904E;  /* line-art portrait glyph + head ornaments   */
  --fn-line:rgba(212,144,78,0.85); /* head flanking lines        */
  --fn-divider:rgba(212,144,78,0.42); /* vertical item dividers     */
  --fn-ring:#F2BB86;  /* thin gold portrait ring (founder strip)    */
  --fn-well:#121622;  /* dark navy portrait well (pillars badge)    */
  --fn-role:#CFC9DC;  /* uppercase role line (site lavender-grey)   */
  --fn-desc:#BABFCF;  /* short biography line                       */
}

.founders {
  background-color: var(--fn-navy);          /* navy fallback while image loads */
  background-image: url("assets/img/events-bg.jpg?v=ng1");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* thin gold frame on the top and bottom edges only, as the Events band has */
  border-top:1px solid rgba(212,144,78,0.45);
  border-bottom:1px solid rgba(212,144,78,0.45);
  position: relative;
  overflow: hidden;
}

/* the same faint starfield the Founder strip carries */
.founders::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:radial-gradient(1px 1px at 8% 28%, rgba(242,187,134,0.6), transparent 60%),
    radial-gradient(1px 1px at 18% 70%, rgba(242,187,134,0.4), transparent 60%),
    radial-gradient(1.3px 1.3px at 72% 24%, rgba(242,187,134,0.55), transparent 60%),
    radial-gradient(1px 1px at 84% 66%, rgba(242,187,134,0.45), transparent 60%),
    radial-gradient(1px 1px at 60% 82%, rgba(242,187,134,0.4), transparent 60%),
    radial-gradient(1.3px 1.3px at 94% 38%, rgba(242,187,134,0.5), transparent 60%);
  pointer-events: none;
}

.founders__inner {
  position: relative;
  z-index: 1;
  max-width: 1340px;
  margin: 0 auto;
  padding: 50px 56px 56px;
}

/* ---- centered gold heading, flanking lines + inward tips
   (the same ornament as Our Four Pillars and Events) ---- */
.founders__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.founders__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  /* Our Four Pillars' size, and the steps down to it are that head's steps
     too — 27 / 20 / 18. This is the longest of them by two words, so the
     flanking lines give up their width to it first, and on the narrowest
     phones it is allowed the second line the others never need. */
  font-size: 27px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--s3-gold);            /* same gold as the Events heading */
  white-space: nowrap;
}
.founders__line {
  height: 1px;
  width: 86px;
  background:linear-gradient(90deg, rgba(212,144,78,0) 0%, var(--fn-line) 100%);
}
.founders__head .founders__line:last-child {
  background:linear-gradient(90deg, var(--fn-line) 0%, rgba(212,144,78,0) 100%);
}
.founders__tip {
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}
.founders__tip--r { border-left: 7px solid var(--fn-icon); }
.founders__tip--l { border-right: 7px solid var(--fn-icon); }

/* italic gold subheading, as under "Get Involved" */
.founders__sub {
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(18px, 1.7vw, 22px);
  color: var(--fn-gold-soft);
  margin-top: 8px;
}

/* ---- closing statement : a centered running passage with a circular "more"
   trigger hanging off it, the same off-a-passage pop-up the Shared Future
   banner uses. The section's only one — the opening passage that used to
   carry a second was folded into this one, so the reader meets a single
   affordance here rather than two competing ones. ---- */
.founders__intro {
  max-width: 760px;
  margin: 26px auto 0;
  text-align: center;
}
.founders__lede {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 15.5px;
  line-height: 1.85;
  letter-spacing: 0.01em;
  color: var(--fn-desc);
  margin: 0;
}
.founders__more {
  margin-top: 16px;
  border-color:rgba(232,151,76,0.55);
  color: var(--fn-gold);
}
.founders__more:hover { background: var(--fn-gold); border-color: var(--fn-gold); color:#131825; }

.founders__closing { margin-top: 44px; }
/* the same italic gold as the sub-heading above, and at the same size — it is
   the same kind of line, and at 17px it was reading smaller than the sentence
   it introduces */
.founders__closing-eyebrow {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(18px, 1.7vw, 22px);
  color: var(--fn-gold-soft);
  margin: 0 0 12px;
}

/* ---- the founders in one row, thin gold dividers between.
   The founder holds the first column; everyone after her sits in a horizontal
   scroller, so a sixth or a seventh is a markup change and never a second row
   of section height.

   The two halves are grid siblings, so they stretch to a common height, and
   each lays its card out on the same four rows — portrait, name, role,
   biography — with the biography row taking up the slack. That is what keeps
   the pinned card's arrow level with the scrolling ones' across a boundary
   the two sides cannot share a subgrid over. ---- */
.founders__row {
  display: grid;
  /* the pinned card, then the rail. A rail card is the same width as the
     pinned one — see grid-auto-columns below, which is that share of the
     rail's own width rather than of the row's. */
  grid-template-columns: 23% 1fr;
  align-items: stretch;
  margin-top: 30px;
}

.founders__pinned,
.founders__grid {
  list-style: none;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 0;
  margin: 0;
  /* the hover lift rides 5px up and the rail's overflow-x turns overflow-y
     into a clip, so both halves carry the lift's room as padding */
  padding-top: 8px;
}

.founders__pinned {
  grid-template-columns: 1fr;
  border-right: 1px solid var(--fn-divider);
}

.founders__rail {
  position: relative;
  min-width: 0;                       /* or the track's width floors the grid */
  /* Cards dissolve at the edge they are scrolling past rather than being cut
     off by it. The falloff is deliberately front-loaded — a straight ramp
     leaves the part-visible card's words at three-quarters opacity, which
     still reads as text that has been cut, so the first third of the fade
     drops most of the way and what is past the edge reads as a ghost.
     founders.js sets each side to 0 once the rail reaches that end, so a
     fully-scrolled row has no fade hanging over its last card. */
  --fn-fade-mask:linear-gradient(90deg,
    transparent 0,
    rgba(0, 0, 0, 0.18) calc(var(--fn-fade-l, 0px) * 0.62),
    #000 var(--fn-fade-l, 0px),
    #000 calc(100% - var(--fn-fade-r, 0px)),
    rgba(0, 0, 0, 0.18) calc(100% - var(--fn-fade-r, 0px) * 0.62),
    transparent 100%);
  -webkit-mask-image: var(--fn-fade-mask);
          mask-image: var(--fn-fade-mask);
  transition: -webkit-mask-image var(--motion) var(--motion-ease),
                      mask-image var(--motion) var(--motion-ease);
}

.founders__grid {
  grid-auto-flow: column;
  /* 23% of the row, expressed against the rail's 77% of it — so a scrolling
     card measures exactly the same as the pinned one, and three and a bit are
     in view at a time */
  grid-auto-columns: 29.87%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.founders__grid::-webkit-scrollbar { width: 0; height: 0; }

.founders__item {
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  padding: 6px 18px;
  scroll-snap-align: start;
}
.founders__item > .card__lift {
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  text-align: center;
}
.founders__grid .founders__item + .founders__item {
  border-left: 1px solid var(--fn-divider);
}

/* the role runs to two lines on one card and one on the rest; holding two
   lines' room on every card is what keeps the biographies starting level
   across the pinned/scrolling boundary */
.founders__role { min-height: 2.4em; }

/* ---- the row is taken hold of and dragged, so it wears the cursor that says
   so. The card triggers inside it would otherwise show the pointer of a thing
   you click — which they also are, and still are: founders.js lets a press
   through as a click as long as it did not travel. The pinned card keeps the
   plain pointer, because it is the one card that does not move. ---- */
.founders__rail,
.founders__rail .card__trigger { cursor: grab; }
.founders__rail.is-dragging,
.founders__rail.is-dragging .card__trigger { cursor: grabbing; }

/* mid-drag the scroll position is being set outright, frame by frame: smooth
   scrolling would chase every one of those and snapping would fight them.
   Both come back on release, so the row still settles onto a card. */
.founders__rail.is-dragging .founders__grid {
  scroll-behavior: auto;
  scroll-snap-type: none;
}
.founders__rail.is-dragging,
.founders__rail.is-dragging * { user-select: none; }
/* a portrait is the easiest thing in the row to grab, and dragging one would
   otherwise start the browser's own image drag instead of the row's */
.founders__rail img { -webkit-user-drag: none; user-select: none; }

/* ---- the hint under the row: an open hand, then a hairline that fills as the
   row scrolls. Quiet enough to read as an indicator rather than a control —
   the scrolling itself is done by dragging, flicking, or tabbing. ---- */
.founders__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}
.founders__hand {
  display: block;
  width: 19px;
  height: 19px;
  color: var(--fn-gold);
  opacity: 0.75;
  /* drawn a hair above the line it sits beside, so the pair reads as one mark */
  transform: translateY(-1px);
  transition: opacity var(--motion) var(--motion-ease);
}
.founders__hand svg { width: 100%; height: 100%; display: block; }
/* once the row has been moved the hand has said its piece and gets out of the
   way, leaving the line to do the reporting */
.founders__hint[data-moved] .founders__hand { opacity: 0.28; }

.founders__progress {
  position: relative;
  width: 150px;
  height: 2px;
  border-radius: 2px;
  background: var(--fn-divider);
  overflow: hidden;
}
.founders__progress-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  border-radius: 2px;
  background: var(--fn-gold);
  transition: left var(--motion) var(--motion-ease), width var(--motion) var(--motion-ease);
}
@media (prefers-reduced-motion: reduce) {
  .founders__progress-bar { transition: none; }
}

/* circular portrait: dark navy well, thin gold ring — the Founder strip's
   photo frame, holding a gold line-art figure until real portraits land */
.founders__photo {
  justify-self: center;
  align-self: start;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  padding: 3px;
  background: var(--fn-well);
  border: 1px solid var(--fn-ring);
  box-shadow:0 0 0 1px rgba(242,187,134,0.25);
  color: var(--fn-icon);
  overflow: hidden;
}
.founders__photo svg {
  width: 52px;
  height: 52px;
}
/* the portrait fills the ring. Desaturated so the five read as one set on
   the navy — four of the sources are already monochrome, so this only brings
   the fifth into line. */
.founders__photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  filter: grayscale(1);
}

/* every founder's name reads as one line at one size, so the five sit level
   with each other. The longest name sets the ceiling: the size tracks the
   column width down to the two-column breakpoint rather than wrapping. */
.founders__name {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: clamp(15px, 1.45vw, 19px);
  line-height: 1.2;
  color: var(--s3-gold);            /* same gold as the Events card titles */
  margin: 0;
  align-self: start;
  white-space: nowrap;
}

.founders__role {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fn-role);
  margin: 6px 0 0;
}

.founders__desc {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--fn-desc);
  margin: 10px 0 0;
}

/* ---- responsive.
   The rail is the row at every width — it is what keeps the section one card
   deep however many founders it holds, and a phone needs that more than a
   desktop does. What changes is how many cards are in view and where the
   founder sits: beside the rail while there is room for a column of her own,
   and on her own line above it once there is not. ---- */
@media (max-width: 1100px) {
  .founders__inner { padding: 48px 36px 50px; }

  /* the founder leads on a line of her own; the rail runs full width below */
  .founders__row {
    display: block;
    margin-top: 26px;
  }
  .founders__pinned {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    justify-items: center;
    border-right: none;
    padding-top: 0;
    margin-bottom: 34px;
  }
  .founders__pinned .founders__item {
    width: 46%;                       /* one rail card's width, see below */
    max-width: none;
    margin: 0 auto;
  }

  /* two in view, and part of a third */
  .founders__grid { grid-auto-columns: 46%; }
  .founders__item { padding: 6px 14px; }
  .founders__name { font-size: clamp(15px, 2.3vw, 21px); }
}

/* ============ MOBILE — the founders (max-width: 768px) ============ */
@media (max-width: 768px) {
  .founders__inner { padding: 46px 22px 50px; }
  .founders__head { gap: 8px; }
  .founders__line { width: 20px; }
  .founders__title { font-size: 20px; letter-spacing: 0.08em; }
  .founders__closing { margin-top: 40px; }

  /* One founder at a time, centred rather than run up against the left edge —
     so a portrait in the rail sits on the same axis as the founder's above it,
     and the next card shows past both edges. The 8% either side is the half of
     a card's 84% that is not the card. */
  .founders__grid {
    /* 100% of the content box, which the padding either side has already made
       84% of the rail — the card comes out at that 84%, the same width as the
       founder's card above it */
    grid-auto-columns: 100%;
    padding-left: 8%;
    padding-right: 8%;
  }
  .founders__item {
    padding: 6px 12px;
    scroll-snap-align: center;
  }
  .founders__pinned { margin-bottom: 30px; }
  .founders__pinned .founders__item { width: 84%; }

  .founders__photo { width: 112px; height: 112px; }
  .founders__photo svg { width: 56px; height: 56px; }
  .founders__name { font-size: clamp(17px, 5.4vw, 22px); }
  .founders__role { font-size: 11px; }
  .founders__desc { font-size: 15px; line-height: 1.7; margin: 8px auto 0; max-width: 320px; }
}

/* the only head on the page long enough to need a second line: below this the
   flanking lines have no width left to give it, so it takes the line instead
   of dropping under the size the other section heads hold */
@media (max-width: 600px) {
  .founders__title {
    font-size: 18px;
    letter-spacing: 0.06em;
    line-height: 1.35;
    white-space: normal;
    text-align: center;               /* two lines, centred on the ornament */
  }
  /* the flanking rule keeps its own room rather than being squeezed out by a
     head that now wants two lines of it */
  .founders__line { flex: 0 0 auto; }
}

/* ===================================================================
   SECTION 2C — OUR FOUR PILLARS  (light parchment, one row of four)
   Colors sampled from assets/mockup-full-2.png
   =================================================================== */
:root {
  --pl-cream:#FCFAF8;  /* parchment background              */
  --pl-badge:#121622;  /* solid dark-navy icon badge fill   */
  --pl-icon:#D4904E;  /* gold line-art icon stroke         */
  --pl-heading:#111521;  /* dark navy serif "OUR FOUR PILLARS" (mockup-sampled) */
  --pl-line:#C4915E;  /* flank + vertical divider gold     */
  --pl-title:#10131F;  /* bold dark-navy pillar title       */
  --pl-desc:#191B22;  /* dark-navy description text         */
}

.pillars {
  background-color: var(--pl-cream);            /* fallback while image loads */
  background-image: url("assets/img/section-3-bg.jpg?v=ng1");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.pillars__inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 52px 56px 56px;
}

/* ---- centered gold heading with flanking lines + inward arrows ---- */
.pillars__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.pillars__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 27px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pl-heading);
  white-space: nowrap;
}

.pillars__line {
  height: 1px;
  width: 86px;
  background:linear-gradient(90deg, rgba(196,145,94,0) 0%, var(--pl-line) 100%);
}
.pillars__head .pillars__line:last-child {
  background:linear-gradient(90deg, var(--pl-line) 0%, rgba(196,145,94,0) 100%);
}

.pillars__tip {
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}
.pillars__tip--r { border-left: 7px solid var(--pl-line); }   /* points inward (right) */
.pillars__tip--l { border-right: 7px solid var(--pl-line); }  /* points inward (left)  */

/* ---- four pillars in one row, thin gold dividers between ---- */
.pillars__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 34px;
}

.pillars__item {
  padding: 6px 28px;
}
.pillars__item > .card__lift {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.pillars__item + .pillars__item {
  border-left:1px solid rgba(196,145,94,0.45);
}

/* circular solid navy badge holding a gold line-art icon */
.pillars__badge {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--pl-badge);
  color: var(--pl-icon);
}
.pillars__badge svg {
  width: 44px;
  height: 44px;
}

.pillars__name {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.15;
  color: var(--pl-title);
  margin: 2px 0 0;
}

.pillars__desc {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--pl-desc);
  margin: 8px 0 0;
}

/* ---- responsive: 2x2 on tablet, single column on phones ---- */
@media (max-width: 1100px) {
  .pillars__inner { padding: 48px 36px 50px; }
  .pillars__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 24px;
    margin-top: 30px;
  }
  .pillars__item { padding: 0 12px; }
  .pillars__item + .pillars__item { border-left: none; }
  .pillars__item:nth-child(even) {
    border-left:1px solid rgba(196,145,94,0.45);
  }
}

/* ============ MOBILE — our four pillars (max-width: 768px) ============ */
@media (max-width: 768px) {
  .pillars__inner { padding: 46px 22px 50px; }
  .pillars__head { gap: 10px; }
  .pillars__line { width: 34px; }
  .pillars__title { font-size: 20px; letter-spacing: 0.08em; }
  .pillars__grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 28px auto 0;
    max-width: 420px;
  }
  /* each pillar: badge centered on top, then title, then text — one tidy centered unit */
  .pillars__item,
  .pillars__item:nth-child(even) {
    border-left: none;
    padding: 0;
  }
  .pillars__item > .card__lift {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
  }
  .pillars__badge { width: 64px; height: 64px; margin: 0 auto; }
  .pillars__badge svg { width: 40px; height: 40px; }
  .pillars__name { font-size: 20px; margin: 0; }
  .pillars__desc { font-size: 15px; line-height: 1.65; margin: 6px auto 0; max-width: 320px; }
}

/* ===================== SECTION 3 — JERUSALEM UNITY CENTER ===================== */
.center {
  background-color: var(--s3-navy);
  /* gradient overlay (top) blends solid navy left -> transparent right; building photo (bottom) sits on the right */
  background-image:linear-gradient(to right,
      var(--s3-navy) 0%,
      var(--s3-navy) 26%,
      rgba(17,21,32,0.92) 38%,
      rgba(17,21,32,0.45) 52%,
      rgba(17,21,32,0) 66%),
    url("assets/img/section-4-bg.jpg?v=ng1");
  background-repeat: no-repeat, no-repeat;
  background-position: center, right center;
  background-size: cover, cover;
}

.center__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 56px 60px;
}

.center__panel {
  max-width: 540px;
}

.center__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 170px;
  height: 170px;
  margin-bottom: 14px;
}

.center__badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.center__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--s3-gold);
}

.center__subtitle {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: var(--s3-gold-soft);
  margin-top: 6px;
}

.center__text {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.75;
  color: var(--s3-cream);
  margin-top: 20px;
  max-width: 500px;
}
.center__text + .center__text { margin-top: 14px; }

.center__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding: 13px 28px;
  /* mockup-sampled:gold gradient with warm white text */
  background: linear-gradient(180deg, #B47132 0%, #945213 100%);
  color:#F9F8F1;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  /* it is a real <button> — it opens the Center's pop-up rather than
     navigating — so it has to be reset back to the button styling above */
  border: 0;
  border-radius: 2px;
  transition: filter var(--motion) var(--motion-ease), transform var(--motion) var(--motion-ease);
}

.center__btn:hover { filter: brightness(1.1); transform: translateY(var(--lift-press)); }
.center__btn:focus-visible { outline: 2px solid var(--s3-gold); outline-offset: 3px; }

.center__btn-arrow { font-size: 15px; line-height: 1; }

/* ---- Section 3 responsive ---- */
@media (max-width: 1100px) {
  .center {
    background-image:linear-gradient(to right,
        var(--s3-navy) 0%,
        rgba(17,21,32,0.9) 50%,
        rgba(17,21,32,0.55) 100%),
      url("assets/img/section-4-bg.jpg?v=ng1");
  }
  .center__inner { padding: 22px 32px 52px; }
  .center__panel { max-width: 560px; }
}

/* ============ MOBILE — jerusalem unity center (max-width: 768px) ============ */
@media (max-width: 768px) {
  /* portrait overlay: navy veil strongest behind the text at the top,
     easing toward the bottom so the building photo still shows through */
  .center {
    background-image:linear-gradient(180deg,
        rgba(17,21,32,0.94) 0%,
        rgba(17,21,32,0.86) 40%,
        rgba(17,21,32,0.66) 100%),
      url("assets/img/section-4-bg.jpg?v=ng1");
    /* building's glass dome centres at ~73% of the source width; frame it
       so the lit facade fills the tall crop instead of the empty sky left of it */
    background-position: center, 73% center;
    background-size: cover, cover;
    background-repeat: no-repeat, no-repeat;
  }
  .center__inner { padding: 44px 22px 52px; }
  /* centered panel: logo, headings, copy, and button in one centered stack */
  .center__panel { max-width: 480px; margin: 0 auto; text-align: center; }
  .center__badge { width: 128px; height: 128px; margin: 0 auto 12px; }
  .center__title { font-size: 26px; line-height: 1.15; }
  .center__subtitle { font-size: 18px; margin-top: 6px; }
  .center__text { font-size: 15px; line-height: 1.7; margin: 16px auto 0; text-align: center; }
  .center__btn { margin-top: 24px; padding: 15px 30px; }
}

/* ===================== SECTION 4 — GET INVOLVED ===================== */
.involve {
  background-color: var(--s4-cream);
  background-image: url("assets/img/section-5-bg.jpg?v=ng1");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.involve__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 46px 56px 50px;
}

.involve__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.involve__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 25px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--s4-title);
  white-space: nowrap;
}

.involve__line {
  height: 1px;
  width: 90px;
  background: var(--s4-line);
}

.involve__sub {
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  color: var(--s4-gold-soft);
  margin-top: 4px;
}

.involve__row {
  display: flex;
  align-items: center;
  margin-top: 32px;
}

.involve__items {
  list-style: none;
  display: flex;
  align-items: stretch;
  flex: 1 1 auto;
}

.involve__item {
  flex: 1 1 0;
  padding: 2px 12px;
}
.involve__item > .card__lift {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 11px;
}

.involve__item + .involve__item {
  border-left: 1px solid var(--s4-divider);
}

.involve__icon { color: var(--s4-gold); line-height: 0; }
.involve__icon svg { width: 36px; height: 36px; }

.involve__label {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--s4-label);
  text-align: center;
}

.involve__btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 40px;
  padding: 13px 28px;
  background: var(--s4-btn);
  color: var(--s4-btn-text);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  transition: background var(--motion) var(--motion-ease), transform var(--motion) var(--motion-ease);
}

.involve__btn:hover { background:#191E2E; transform: translateY(-1px); }
.involve__btn-arrow { font-size: 15px; line-height: 1; }

/* Donate CTA paired above "Join the Movement" — the section's first item
   is "Support the Vision", so a gold primary donate button belongs here */
.involve__actions {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-left: 40px;
}
.involve__actions .involve__btn { margin-left: 0; }

.involve__donate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 28px;
  background: linear-gradient(180deg, var(--gold-btn-1) 0%, var(--gold-btn-2) 100%);
  color: var(--btn-text);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  box-shadow:0 4px 16px rgba(0, 0, 0, 0.28);
  transition: filter var(--motion) var(--motion-ease), transform var(--motion) var(--motion-ease);
}
.involve__donate:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* small line-art heart shared by the donate buttons */
.donate-heart { width: 15px; height: 15px; flex: 0 0 auto; }

/* ---- Section 4 responsive ---- */
@media (max-width: 1100px) {
  .involve__inner { padding: 24px 28px 28px; }
  .involve__row { flex-direction: column; gap: 22px; }
  .involve__items { width: 100%; flex-wrap: wrap; }
  .involve__item { flex: 1 1 30%; min-width: 110px; padding: 12px 8px; border-left: none !important; }
  .involve__btn { margin-left: 0; }
  .involve__actions { margin-left: 0; width: 100%; max-width: 340px; align-items: stretch; }
}

/* ============ MOBILE — get involved (max-width: 768px) ============ */
@media (max-width: 768px) {
  .involve__inner { padding: 44px 22px 50px; }
  .involve__line { width: 34px; }
  .involve__title { font-size: 20px; }
  .involve__sub { font-size: 18px; margin-top: 6px; }
  .involve__row { margin-top: 28px; gap: 28px; }
  /* six items in a tidy 2-column grid */
  .involve__items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 12px;
  }
  /* each item: icon centered over its label */
  .involve__item { padding: 0; min-width: 0; }
  .involve__item > .card__lift { gap: 10px; align-items: center; }
  .involve__icon svg { width: 34px; height: 34px; }
  .involve__label { font-size: 14px; line-height: 1.4; text-align: center; }
  .involve__btn {
    width: 100%;
    max-width: 340px;
    justify-content: center;
    padding: 15px 24px;
  }
}

/* ===================================================================
   SECTION 4.5 : FOUNDER STRIP — MEIRAH
   (compact full-width navy/starfield band between Get Involved
    and the Shared Future banner)
   =================================================================== */
.founder {
  background-color:#121622;                     /* navy fallback while image loads */
  background-image: url("assets/img/events-bg.jpg?v=ng1");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

/* faint starfield, echoing the mockup's constellation feel */
.founder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:radial-gradient(1px 1px at 8% 28%, rgba(242,187,134,0.6), transparent 60%),
    radial-gradient(1px 1px at 18% 70%, rgba(242,187,134,0.4), transparent 60%),
    radial-gradient(1.3px 1.3px at 72% 24%, rgba(242,187,134,0.55), transparent 60%),
    radial-gradient(1px 1px at 84% 66%, rgba(242,187,134,0.45), transparent 60%),
    radial-gradient(1px 1px at 60% 82%, rgba(242,187,134,0.4), transparent 60%),
    radial-gradient(1.3px 1.3px at 94% 38%, rgba(242,187,134,0.5), transparent 60%);
  pointer-events: none;
}

.founder__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

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

.founder__photo {
  flex: 0 0 auto;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  padding: 3px;
  border:1px solid #F2BB86;      /* thin gold ring */
  box-shadow:0 0 0 1px rgba(242,187,134,0.25);
}

.founder__photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  /* the source is already a square crop cut to put her face on the circle's
     own centre, so the frame needs no anchor of its own */
  object-fit: cover;
  display: block;
}

.founder__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color:#F0B075;                 /* gold heading (mockup-sampled) */
  margin: 0 0 8px;
}

.founder__desc {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color:#D1D3E2;                 /* light cream/lavender */
  margin: 0;
  max-width: 640px;
}

.founder__btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color:#E8B07D;                 /* gold text (mockup-sampled) */
  text-decoration: none;
  background: transparent;
  padding: 12px 24px;
  border:1px solid #C9813F;      /* gold outline button (mockup-sampled) */
  border-radius: 2px;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--motion) var(--motion-ease), color var(--motion) var(--motion-ease);
}

.founder__btn:hover {
  background-color:#DD8C42;
  color:#131825;
}

.founder__btn-arrow { font-size: 14px; }

/* ============ MOBILE — founder strip (max-width: 768px) ============ */
@media (max-width: 768px) {
  .founder__inner {
    flex-direction: column;
    align-items: center;
    gap: 22px;
    padding: 44px 22px 48px;
    text-align: center;
  }
  /* photo, heading, copy, and button in one centered stack */
  .founder__main { flex-direction: column; align-items: center; gap: 18px; text-align: center; }
  .founder__photo { width: 112px; height: 112px; }
  .founder__title { font-size: 26px; line-height: 1.2; margin-bottom: 10px; }
  .founder__desc { font-size: 15px; line-height: 1.7; max-width: 480px; text-align: center; margin: 0 auto; }
  .founder__btn { padding: 14px 30px; }
}

/* ===================================================================
   SECTION 4.75 : EVENTS
   (deep navy constellation band, built to assets/even-section-mockup.jpeg;
    background image shared with the Founder strip family)
   =================================================================== */
:root {
  --ev-gold:#E8974C;  /* serif heading / card titles (mockup-sampled) */
  --ev-icon:#D4904E;  /* line-art meta icons + head ornaments         */
  --ev-line:rgba(212,144,78,0.85); /* head flanking lines          */
  --ev-border:rgba(212,144,78,0.5);  /* card / bar gold borders      */
  --ev-card:rgba(27,32,49,0.34);  /* card fill over the navy bg   */
  --ev-tile:#0F131E;  /* image tile dark ground                       */
  --ev-meta:#CFC9DC;  /* meta rows (site lavender-grey)               */
  --ev-desc:#BABFCF;  /* card description                             */
}

.events {
  background-color:#111420;                 /* navy fallback while image loads */
  background-image: url("assets/img/events-bg.jpg?v=ng1");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* thin gold frame on the top and bottom edges only (no left/right) */
  border-top:1px solid rgba(212,144,78,0.45);
  border-bottom:1px solid rgba(212,144,78,0.45);
  /* hairline gap so the band doesn't feel fused to the founder strip above */
  margin-top: 2px;
}

.events__inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 50px 56px 56px;
}

/* ---- centered gold heading, flanking lines + inward tips
   (same ornament pattern as the Our Four Pillars head) ---- */
.events__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.events__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--s3-gold);            /* same gold as "The Jerusalem Unity Center" */
  white-space: nowrap;
}
.events__line {
  height: 1px;
  width: 86px;
  background:linear-gradient(90deg, rgba(212,144,78,0) 0%, var(--ev-line) 100%);
}
.events__head .events__line:last-child {
  background:linear-gradient(90deg, var(--ev-line) 0%, rgba(212,144,78,0) 100%);
}
.events__tip {
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}
.events__tip--r { border-left: 7px solid var(--ev-icon); }
.events__tip--l { border-right: 7px solid var(--ev-icon); }

/* ---- three event cards ---- */
.events__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 30px;
}
.events__card {
  display: flex;
  align-items: stretch;
  gap: 18px;
  padding: 18px;
  background: var(--ev-card);
  border: 1px solid var(--ev-border);
  border-radius: 10px;
}

/* on-brand image column, stretched to the full content height so the image
   and the text/button column read as equal-height (dates removed per client) */
.events__tile {
  flex: 0 0 96px;
  align-self: stretch;
  border-radius: 8px;
  border:1px solid rgba(212,144,78,0.35);
  background-color: var(--ev-tile);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.events__tile--dialogue { background-image: url("assets/img/event-unity-in-diversity.jpg"); }
.events__tile--jerusalem { background-image: url("assets/img/event-a-light-among-nations.jpg"); }
.events__tile--youth { background-image: url("assets/img/event-youth-leadership.jpg"); }

.events__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.events__name {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 21px;
  line-height: 1.22;
  color: var(--s3-gold);            /* same gold as the Jerusalem Unity Center heading */
  margin: 0 0 10px;
}
.events__meta {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}
.events__meta li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.01em;
  color: var(--ev-meta);
}
.events__meta svg {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  color: var(--ev-icon);
}
.events__desc {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ev-desc);
  margin: 10px 0 14px;
}
.events__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 22px;
  /* gold-outline button — same style/color as the founder "MEET MEIRAH" button */
  background: transparent;
  color:#E8B07D;
  border:1px solid #C9813F;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background-color var(--motion) var(--motion-ease), color var(--motion) var(--motion-ease);
}
.events__cta:hover { background-color:#DD8C42; color:#131825; }
.events__cta-arrow { font-size: 13px; line-height: 1; }

/* ---- notify line, shown under the grid while events are scheduled ---- */
.events__notify {
  margin-top: 26px;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ev-meta);
}
.events__notify a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 6px;
  font-weight: 600;
  color:#E8B07D;
  border-bottom:1px solid rgba(221,140,66,0.45);
  transition: color var(--motion) var(--motion-ease),
              border-color var(--motion) var(--motion-ease);
}
.events__notify a:hover { color:#F0B075; border-bottom-color:#EFAB6D; }
.events__notify a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---- "No Events Scheduled" bar: info on the left, CTA on the right ---- */
.events__none {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 26px;
  padding: 20px 30px;
  /* translucent purple fill + a soft gold glow behind the icon and a faint
     constellation of stars, echoing the founder strip / section backdrop */
  background-color:rgba(27,32,49,0.34);
  background-image:radial-gradient(180px 110px at 7% 50%, rgba(220,154,94,0.14), rgba(220,154,94,0) 72%),
    radial-gradient(1.5px 1.5px at 22% 32%, rgba(242,187,134,0.42), transparent 60%),
    radial-gradient(1.1px 1.1px at 46% 66%, rgba(242,187,134,0.26), transparent 60%),
    radial-gradient(1.6px 1.6px at 67% 38%, rgba(242,187,134,0.34), transparent 60%),
    radial-gradient(1.1px 1.1px at 84% 62%, rgba(242,187,134,0.24), transparent 60%),
    radial-gradient(1.2px 1.2px at 57% 24%, rgba(242,187,134,0.22), transparent 60%),
    radial-gradient(1.2px 1.2px at 37% 46%, rgba(242,187,134,0.20), transparent 60%);
  background-repeat: no-repeat;
  border: 1px solid var(--ev-border);
  border-radius: 10px;
}
.events__none-info {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
.events__none-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--ev-border);
  background:rgba(15,19,30,0.35);
  color: var(--ev-icon);
}
.events__none-icon svg { width: 30px; height: 30px; }
.events__none-text { text-align: left; min-width: 0; }
.events__none-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 21px;
  line-height: 1.2;
  color: var(--ev-gold);
  margin: 0;
}
.events__none-sub {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ev-meta);
  margin: 4px 0 0;
}
/* CTA mirrors the card buttons (site Donate gradient) */
.events__none-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: linear-gradient(180deg, var(--gold-btn-1) 0%, var(--gold-btn-2) 100%);
  color:#FBFAF8;                 /* softer warm ivory, easier on the eyes than bright white */
  box-shadow:0 2px 10px rgba(0, 0, 0, 0.28);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: filter var(--motion) var(--motion-ease), transform var(--motion) var(--motion-ease);
}
.events__none-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* ---- Section 4.75 responsive ---- */
@media (max-width: 1100px) {
  .events__inner { padding: 44px 32px 48px; }
  .events__grid { grid-template-columns: 1fr; max-width: 620px; margin: 28px auto 0; gap: 20px; }
  .events__none { max-width: 620px; margin-left: auto; margin-right: auto; }
}

/* ============ MOBILE — events (max-width: 768px) ============ */
@media (max-width: 768px) {
  .events__inner { padding: 44px 22px 50px; }
  .events__line { width: 34px; }
  .events__title { font-size: 20px; letter-spacing: 0.12em; }
  .events__grid { max-width: 480px; gap: 18px; margin-top: 26px; }
  .events__card { padding: 16px; gap: 14px; }
  .events__tile { flex-basis: 84px; }
  .events__name { font-size: 20px; }
  .events__meta li { font-size: 12.5px; }
  .events__desc { font-size: 13px; }
  .events__cta { padding: 11px 18px; font-size: 11.5px; }
  /* stack: info centered on top, full-width CTA below */
  .events__none {
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 480px;
    padding: 22px 22px 24px;
    gap: 18px;
  }
  .events__notify { font-size: 12.5px; line-height: 1.9; }
  .events__notify a { margin-left: 0; }
  .events__none-info { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
  .events__none-text { text-align: center; }
  .events__none-icon { width: 50px; height: 50px; }
  .events__none-icon svg { width: 28px; height: 28px; }
  .events__none-btn { width: 100%; max-width: 300px; justify-content: center; padding: 14px 24px; }
}

/* ===================================================================
   SECTION 5 : A SHARED FUTURE BANNER
   =================================================================== */
.future {
  background-color: var(--s5-navy);
  /* mockup overlay: darker purple core behind the text, fading toward the
     edges so the sunset panorama shows through; slight extra darkening at
     the very bottom (band medians sampled from mockup:edges ~#301028 /
     #3E1B2F, centre ~#131624, bottom ~#10131E) */
  background-image:
    linear-gradient(to right,
      rgba(15,18,29,0.28) 0%,
      rgba(17,20,32,0.62) 22%,
      rgba(17,20,32,0.87) 40%,
      rgba(17,20,32,0.87) 60%,
      rgba(17,20,32,0.62) 78%,
      rgba(17,19,30,0.28) 100%),
    linear-gradient(to bottom,
      rgba(13,16,25,0.25) 0%,
      rgba(13,16,25,0) 30%,
      rgba(13,16,25,0) 62%,
      rgba(13,16,25,0.55) 100%),
    url("assets/img/last-section-bg.jpg?v=ng1");
  background-position: center, center, center;
  background-size: cover, cover, cover;
  background-repeat: no-repeat, no-repeat, no-repeat;
}

.future__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 56px 64px;
  text-align: center;
}

.future__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 46px;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--s5-heading);
  margin: 0;
}

.future__text {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: 0.02em;
  color: var(--s5-text);
  margin: 24px 0 0;
}

/* ============ MOBILE — a shared future (max-width: 768px) ============ */
@media (max-width: 768px) {
  /* portrait overlay: even vertical veil so the centered text stays legible
     while the sunset panorama fills the tall crop */
  .future {
    background-image:linear-gradient(180deg,
        rgba(14,17,28,0.68) 0%,
        rgba(17,20,32,0.80) 50%,
        rgba(13,16,25,0.86) 100%),
      url("assets/img/last-section-bg.jpg?v=ng1");
    background-position: center, center;
    background-size: cover, cover;
    background-repeat: no-repeat, no-repeat;
  }
  .future__inner { padding: 52px 24px 56px; }
  .future__title { font-size: 26px; line-height: 1.25; }
  .future__text { font-size: 15px; line-height: 1.75; margin-top: 18px; }
  .future__text br { display: none; }
}

/* ===================================================================
   FOOTER
   =================================================================== */
.footer {
  background-color: var(--ft-navy);
  background-image: url("assets/img/footer-bg.jpg?v=ng1");
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--ft-gold);
}
.footer__inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 56px 56px 32px;
}

/* ---- Top row ---- */
.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px 28px;
  flex-wrap: wrap;
}

/* 1. Brand crest */
.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
/* Transparent logo PNGs carry ~19% built-in padding per side,
   so the 76px box renders ~48px of visible artwork. */
.footer__crest {
  flex: 0 0 auto;
  line-height: 0;
  width: 76px;
  height: 76px;
}
.footer__crest img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.footer__brand-text { display: flex; flex-direction: column; }
.footer__brand-name {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 19px;
  line-height: 1.08;
  letter-spacing: 0.12em;
  color: var(--ft-gold);
}
.footer__brand-sub {
  font-family: "Cormorant Garamond", serif;
  font-size: 12px;
  letter-spacing: 0.34em;
  color: var(--ft-gold-soft);
  margin-top: 4px;
}

/* 2. Sub-brands */
.footer__marks { display: flex; gap: 22px; }
.footer__mark {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: opacity var(--motion) var(--motion-ease);
}
a.footer__mark:hover { opacity: 0.78; }
.footer__mark-icon {
  line-height: 0;
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
}
.footer__mark-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.footer__mark-text {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.14em;
  color: var(--ft-gold);
}

/* 3. Stay Connected */
.footer__connect { max-width: 300px; }
.footer__label {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 21px;
  letter-spacing: 0.03em;
  color: var(--ft-gold);
  margin: 0 0 9px;
}
.footer__connect-text {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ft-muted);
  margin: 0 0 14px;
}
.footer__subscribe { display: flex; align-items: stretch; }
.footer__input {
  flex: 1 1 auto;
  min-width: 0;
  background:rgba(255, 255, 255, 0.04);
  border: 1px solid var(--ft-line);
  border-right: none;
  color: var(--ft-muted);
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  padding: 0 13px;
  height: 38px;
}
.footer__input::placeholder { color:rgba(203,177,154,0.7); }
.footer__input:focus { outline: none; border-color: var(--ft-gold); }
.footer__sub-btn {
  flex: 0 0 auto;
  background: var(--ft-btn);
  color: var(--ft-btn-text);
  border: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.07em;
  padding: 0 18px;
  height: 38px;
  cursor: pointer;
}
.footer__sub-btn:hover { filter: brightness(1.07); }
.footer__sub-btn:disabled { opacity: 0.6; cursor: default; }
.footer__sub-status {
  margin: 8px 0 0;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  color: var(--ft-muted);
  min-height: 14px;
}
.footer__sub-status.is-success { color: var(--ft-gold); }
.footer__sub-status.is-error { color:#E08A6B; }

/* 4. Follow Us */
.footer__social { display: flex; gap: 14px; }
.footer__social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--ft-ring);
  color: var(--ft-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background var(--motion) var(--motion-ease), color var(--motion) var(--motion-ease);
}
.footer__social-btn svg { width: 18px; height: 18px; }
.footer__social-btn:hover {
  background: var(--ft-gold);
  color: var(--ft-navy);
}

/* ---- Nonprofit / tax-deductibility statement ---- */
.footer__legal {
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--ft-line);
  text-align: center;
}
/* text measure stays readable while the rule spans the footer like the one below */
.footer__legal-text,
.footer__legal-note { max-width: 860px; margin-inline: auto; }
.footer__legal-text {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  line-height: 1.8;
  letter-spacing: 0.01em;
  color: var(--ft-muted);
}
.footer__legal-org {
  font-weight: 600;
  color: var(--ft-gold-soft);
}
.footer__legal-note {
  margin-top: 14px;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ft-gold);
}
/* donate CTA closing the nonprofit statement — inline-flex centers under the
   text-align:center legal block */
.footer__donate {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  padding: 13px 30px;
  background: linear-gradient(180deg, var(--gold-btn-1) 0%, var(--gold-btn-2) 100%);
  color: var(--btn-text);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  box-shadow:0 4px 16px rgba(0, 0, 0, 0.35);
  transition: filter var(--motion) var(--motion-ease), transform var(--motion) var(--motion-ease);
}
.footer__donate:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* ---- Bottom bar ---- */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--ft-line);
}
/* the legal band already carries a divider, so the copyright rule sits closer */
.footer__legal + .footer__bottom { margin-top: 26px; padding-top: 22px; }
.footer__copy {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ft-muted);
}

@media (max-width: 920px) {
  .footer__top { gap: 26px; }
  .footer__connect, .footer__follow { flex: 1 1 100%; }
}
/* ============ MOBILE — footer (max-width: 768px) ============ */
@media (max-width: 768px) {
  .footer { background-position: center bottom; background-size: cover; background-repeat: no-repeat; }
  .footer__inner { padding: 44px 22px 24px; }
  /* logos run over two rows — brand crest + Unity Center share row one, each
     centred in its own half; One Day JLM takes row two on its own, centred on
     the full width. Newsletter and social span both columns below.
     minmax(0, 1fr), NOT 1fr: plain `1fr` is `minmax(auto, 1fr)`, and that auto
     floor is raised to the widest item's min-content — the subscribe row
     (email input + SUBSCRIBE button) forced the track wider than the footer,
     so the centred logos sat centred on an overflowing track. */
  .footer__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    justify-items: start;
    text-align: left;
    gap: 30px 16px;
  }
  .footer__marks { display: contents; }
  /* each logo unit stacked and centred within whatever it spans */
  .footer__brand,
  .footer__mark {
    flex-direction: column;
    align-items: center;
    justify-self: center;
    text-align: center;
  }
  /* the second mark (One Day JLM) drops to row two and centres across both
     columns. Matched by sibling order, NOT :last-of-type — the two marks are
     an <a> and a <div>, so :last-of-type matches both of them. */
  .footer__mark + .footer__mark { grid-column: 1 / -1; }
  .footer__brand { gap: 6px; }
  .footer__mark { gap: 4px; }
  .footer__brand-text { align-items: center; }
  /* crest matches the mark icons so all three artwork boxes align */
  .footer__crest { width: 76px; height: 76px; }
  /* all three footer wordmarks share one size so the row reads balanced */
  .footer__brand-name,
  .footer__mark-text { font-size: 15px; line-height: 1.2; letter-spacing: 0.12em; }
  .footer__connect,
  .footer__follow { grid-column: 1 / -1; }
  /* newsletter block */
  .footer__connect { max-width: 400px; width: 100%; }
  .footer__label { font-size: 20px; margin-bottom: 8px; }
  .footer__connect-text { font-size: 14px; line-height: 1.6; margin-bottom: 14px; }
  .footer__connect-text br { display: none; }
  .footer__subscribe { width: 100%; max-width: 400px; margin: 0; }
  .footer__input { height: 46px; font-size: 14px; padding: 0 14px; }
  .footer__sub-btn { height: 46px; padding: 0 20px; }
  /* social icons flush left */
  .footer__social { justify-content: flex-start; gap: 16px; }
  .footer__social-btn { width: 44px; height: 44px; }
  /* nonprofit statement */
  .footer__legal { margin-top: 34px; padding-top: 22px; text-align: left; }
  .footer__legal-text { font-size: 12.5px; line-height: 1.75; }
  .footer__legal-note { font-size: 16px; margin-top: 12px; }
  /* bottom bar */
  .footer__bottom { margin-top: 34px; padding-top: 22px; }
  .footer__legal + .footer__bottom { margin-top: 24px; padding-top: 20px; }
  .footer__copy { font-size: 12.5px; }
}
/* Very narrow phones: the two row-one logos get only a ~132px column each, and
   "UNITY CENTER" fills 128.6px of it. Ease the wordmarks down a step so they
   keep clear of one another even if Cormorant falls back to a wider serif. */
@media (max-width: 380px) {
  .footer__brand-name,
  .footer__mark-text { font-size: 13px; letter-spacing: 0.1em; }
}

/* ===================================================================
   SMALL PHONES (max-width: 480px) — tighter type + padding scale
   =================================================================== */
@media (max-width: 480px) {
  .site-header { padding: 12px 16px; }
  .brand__emblem { height: 66px; }
  .brand__title { font-size: 18px; }
  .brand__sub { font-size: 11px; }
  .btn-donate { font-size: 11.5px; padding: 9px 15px; }

  .hero__quote { padding: 120px 20px 0; }
  .hero__quote blockquote { font-size: 16px; }
  .hero__content { padding: 26px 20px 48px; }
  .hero__title { font-size: 30px; }
  .hero__subtitle { font-size: 19px; }

  .why__inner { padding: 44px 20px 48px; }
  .why__title { font-size: 22px; }

  .pillars__inner { padding: 42px 20px 46px; }
  .pillars__title { font-size: 18px; }

  .center__inner { padding: 40px 20px 48px; }
  .center__badge { width: 112px; height: 112px; }
  .center__title { font-size: 24px; }

  .involve__inner { padding: 40px 20px 46px; }
  .involve__title { font-size: 18px; }

  .founder__inner { padding: 40px 20px 44px; }
  .founder__title { font-size: 24px; }

  .events__inner { padding: 42px 20px 46px; }
  .events__title { font-size: 18px; }

  .future__inner { padding: 46px 20px 50px; }
  .future__title { font-size: 24px; }

  .footer__inner { padding: 40px 20px 22px; }
  .footer__crest { width: 76px; height: 76px; }
}

/* ===================================================================
   JOIN THE MOVEMENT — POPUP / MODAL
   deep-navy constellation card, gold serif heading, footer-style inputs
   =================================================================== */
.jm-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
}
.jm-modal.is-open { display: flex; }

.jm-modal__overlay {
  position: fixed;
  inset: 0;
  background:rgba(13,15,24,0.74);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  animation: jmFade 0.25s ease;
}

.jm-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  margin: auto;
  background-color:#11141F;
  background-image:linear-gradient(180deg, rgba(15,19,29,0.88), rgba(14,17,28,0.94)),
    url("assets/img/events-bg.jpg?v=ng1");
  background-size: cover;
  background-position: center;
  border:1px solid rgba(212,144,78,0.5);
  border-radius: 14px;
  box-shadow:0 30px 90px rgba(0, 0, 0, 0.6);
  padding: 40px 44px 44px;
  color: var(--text-muted);
  color-scheme: dark;
  animation: jmIn 0.28s cubic-bezier(0.2, 0.8, 0.3, 1);
}

@keyframes jmFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes jmIn {
  from { opacity: 0; transform: translateY(16px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.jm-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  border:1px solid rgba(212,144,78,0.4);
  border-radius: 50%;
  background:rgba(255, 255, 255, 0.04);
  color: var(--gold);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background var(--motion) var(--motion-ease), color var(--motion) var(--motion-ease);
}
.jm-modal__close:hover { background: var(--gold); color:#131825; }

/* ---- heading ---- */
.jm-modal__head { text-align: center; max-width: 540px; margin: 0 auto 24px; }
.jm-modal__eyebrow {
  display: inline-block;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 8px;
}
.jm-modal__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 34px;
  line-height: 1.12;
  color: var(--s3-gold);
  margin: 0;
}
.jm-modal__intro {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 12px 0 0;
}

/* ---- form ---- */
.jm-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 18px;
}
.jm-field { display: flex; flex-direction: column; min-width: 0; }
.jm-field--full { grid-column: 1 / -1; }
.jm-field label {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nav-text);
  margin-bottom: 6px;
}
.jm-req { color: var(--gold); }
.jm-opt {
  color:rgba(207, 201, 220, 0.6);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}
.jm-field input,
.jm-field select,
.jm-field textarea {
  width: 100%;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  color:#FBFBF8;
  background:rgba(255, 255, 255, 0.05);
  border:1px solid rgba(212,144,78,0.30);
  border-radius: 6px;
  padding: 11px 13px;
  transition: border-color var(--motion) var(--motion-ease), box-shadow var(--motion) var(--motion-ease);
}
.jm-field textarea { resize: vertical; min-height: 96px; }
.jm-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23D49A4E' stroke-width='1.6' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 34px;
  cursor: pointer;
}
/* an optgroup inside the country list has to be told the panel's colours too,
   or the browser paints it in its own light-mode default */
.jm-field select optgroup {
  background:#11141F;
  color: var(--gold-soft);
  font-style: normal;
  font-weight: 600;
}
.jm-field select option { background:#11141F; color:#FBFBF8; font-weight: 400; }

/* date + number: keep the native picker (calendar / steppers) but tint the
   control glyphs so they don't sit as dark smudges on the navy field */
.jm-field input[type="date"] { cursor: pointer; }
.jm-field input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(72%) sepia(38%) saturate(560%) hue-rotate(348deg) brightness(94%);
  cursor: pointer;
  opacity: 0.9;
}
.jm-field input[type="date"]::-webkit-calendar-picker-indicator:hover { opacity: 1; }
.jm-field input[type="number"] { appearance: textfield; -moz-appearance: textfield; }
.jm-field input[type="number"]::-webkit-outer-spin-button,
.jm-field input[type="number"]::-webkit-inner-spin-button { opacity: 1; height: 22px; }

.jm-field input::placeholder,
.jm-field textarea::placeholder { color:rgba(207, 201, 220, 0.5); }
.jm-field input:focus,
.jm-field select:focus,
.jm-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow:0 0 0 2px rgba(234,147,66,0.18);
}

/* honeypot — visually hidden but not display:none (so bots still see it) */
.jm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- consent ---- */
.jm-consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 18px;
  font-family: "Montserrat", sans-serif;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-muted);
  cursor: pointer;
}
.jm-consent input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  accent-color:#C9813F;
  cursor: pointer;
}
.jm-consent a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.jm-consent a:hover { color: var(--gold-soft); }

.jm-form__status {
  margin: 14px 0 0;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  color:#E08A6B;
}

/* ---- submit ---- */
.jm-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  margin-top: 22px;
  padding: 15px 28px;
  background: linear-gradient(180deg, var(--gold-btn-1) 0%, var(--gold-btn-2) 100%);
  color:#FBFAF8;
  border: none;
  border-radius: 6px;
  box-shadow:0 4px 16px rgba(0, 0, 0, 0.3);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter var(--motion) var(--motion-ease), transform var(--motion) var(--motion-ease);
}
.jm-submit:hover { filter: brightness(1.08); transform: translateY(-1px); }
.jm-submit:disabled { opacity: 0.6; cursor: default; transform: none; }
.jm-submit__arrow { font-size: 15px; line-height: 1; }
.jm-submit--ghost {
  width: auto;
  min-width: 160px;
  margin: 4px auto 0;
  background: transparent;
  border:1px solid #C9813F;
  color:#E8B07D;
  box-shadow: none;
}
.jm-submit--ghost:hover { background:#DD8C42; color:#131825; filter: none; }

/* ---- thank-you view ----
   the × in the corner closes this, same as every other pop-up on the site, so
   the padding closes the gap the old second Close button used to occupy */
.jm-modal__view--thanks { text-align: center; padding: 26px 8px 20px; }
.jm-thanks__mark {
  display: block;
  font-size: 34px;
  color: var(--gold);
  margin-bottom: 14px;
}
.jm-modal__view--thanks .jm-modal__title { font-size: 30px; }
.jm-modal__view--thanks .jm-modal__intro { max-width: 460px; margin: 12px auto 0; }

/* ============ MOBILE — modal (max-width: 768px) ============ */
@media (max-width: 768px) {
  .jm-modal { padding: 20px 14px; align-items: flex-start; }
  .jm-modal__dialog { padding: 34px 22px 30px; border-radius: 12px; }
  .jm-modal__title { font-size: 27px; }
  .jm-modal__eyebrow { font-size: 12px; letter-spacing: 0.22em; }
  .jm-form__grid { grid-template-columns: 1fr; gap: 14px; }
  .jm-modal__close { top: 10px; right: 12px; }
}

/* ---- footer contact link row ---- */
.footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
  margin-bottom: 12px;
}
.footer__legal-links a {
  font-family: "Montserrat", sans-serif;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: var(--ft-muted);
  text-decoration: none;
  transition: color var(--motion) var(--motion-ease);
}
.footer__legal-links a:hover { color: var(--ft-gold); }
.footer__bottom { flex-direction: column; gap: 10px; }

/* ===================================================================
   SHARED POP-UP — one overlay, reused by every .js-modal trigger
   Surface language is inherited wholesale from the Join the Movement
   modal above: the same navy constellation panel, the same gold
   hairline border and radius, the same Cormorant title / Montserrat
   body pairing, the same var(--motion) var(--motion-ease) hovers used across the site.
   =================================================================== */
.sn-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
}
.sn-modal[hidden] { display: none; }

body.sn-modal-lock { overflow: hidden; }

.sn-modal__backdrop {
  position: fixed;
  inset: 0;
  /* translucent --purple-base, the site's darkest ground */
  background:rgba(13,15,24,0.74);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.28s ease;
}
.sn-modal.is-open .sn-modal__backdrop { opacity: 1; }

/* Softer shades of the same pop-up palette — every hue is the one the client
   approved, eased back a step in saturation and up a step in lightness so the
   panel reads warm rather than hard-edged. Scoped to the pop-up so the rest of
   the site keeps the tones already signed off. */
.sn-modal {
  --pop-gold:#E0A673;  /* was --s3-gold  #D4904E — title / accents   */
  --pop-gold-bright:#EFB177;  /* was --gold     #EA9D42 — emph, open header */
  --pop-gold-soft:#DCB693;  /* was --gold-soft#D09D6B — eyebrow, ornament */
  --pop-cream:#DFE0E9;  /* was --s3-cream #D9D3E4 — beats, headers    */
  --pop-body:#D6D1E1;  /* was --text-muted       — paragraph text    */
  --pop-line:rgba(216,163,110,0.34); /* hairlines / borders       */
  --pop-line-strong:rgba(216,163,110,0.44); /* panel edge                */
}

.sn-modal__panel {
  position: relative;
  z-index: 1;
  /* 20% narrower than the original 720px measure */
  width: min(576px, 100%);
  margin: auto;
  background-color:#11141F;
  background-image:linear-gradient(180deg, rgba(15,19,29,0.90), rgba(14,17,28,0.95)),
    url("assets/img/events-bg.jpg?v=ng1");
  background-size: cover;
  background-position: center;
  border: 1px solid var(--pop-line-strong);
  border-radius: 14px;
  box-shadow:0 30px 90px rgba(0, 0, 0, 0.6);
  /* ~15% off the vertical rhythm, matched horizontally to the narrower measure */
  padding: 34px 34px 27px;
  color: var(--pop-body);
  color-scheme: dark;
  opacity: 0;
  transform: translateY(16px) scale(0.985);
  transition:
    opacity 0.28s cubic-bezier(0.2, 0.8, 0.3, 1),
    transform 0.28s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.sn-modal.is-open .sn-modal__panel { opacity: 1; transform: none; }

.sn-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  border:1px solid rgba(212,144,78,0.4);
  border-radius: 50%;
  background:rgba(255, 255, 255, 0.04);
  color: var(--gold);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background var(--motion) var(--motion-ease), color var(--motion) var(--motion-ease);
}
.sn-modal__close:hover { background: var(--pop-gold); color:#131825; }

/* ---- head : category label, heading, gold diamond rule ---- */
.sn-modal__head { text-align: center; max-width: 100%; margin: 0 auto 21px; }

.sn-modal__eyebrow {
  display: inline-block;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--pop-gold-soft);
  margin-bottom: 7px;
}

.sn-modal__title {
  /* a newline inside data-modal-title becomes a real break, so a heading the
     client set on two lines stays on two lines; single-line titles are
     unaffected and still wrap normally */
  white-space: pre-line;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  /* sized so the longest title in the set still sets on one line inside the
     narrowed panel — the measure shrank, so the heading shrinks with it */
  font-size: 26px;
  line-height: 1.14;
  letter-spacing: 0.002em;
  color: var(--pop-gold);
  margin: 0;
}

/* same flanked-diamond ornament used by the Pillars / Get Involved heads */
.sn-modal__rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 13px;
}
.sn-modal__rule-line {
  height: 1px;
  width: 52px;
  background:linear-gradient(90deg, rgba(220,182,147,0) 0%, var(--pop-gold-soft) 100%);
}
.sn-modal__rule .sn-modal__rule-line:last-child {
  background:linear-gradient(90deg, var(--pop-gold-soft) 0%, rgba(220,182,147,0) 100%);
}
.sn-modal__rule-gem {
  width: 5px;
  height: 5px;
  transform: rotate(45deg);
  background: var(--pop-gold-soft);
}

/* ---- body : generous spacing, short paragraphs, no walls of text ---- */
.sn-modal__body {
  max-width: 100%;
  margin: 0 auto;
}

/* The accordion pop-ups cap their own height from the inside. The handful of
   shorter pop-ups that run as plain prose have no such cap, and a couple of
   them ran half again as tall as the rest — so they get the same ceiling here
   and scroll within it. :not(:has()) keeps the two cases from ever nesting a
   scroll region inside another one. */
.sn-modal__body:not(:has(.sn-accordion)) {
  max-height: 480px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 8px;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--pop-line-strong) transparent;
  -webkit-mask-image:linear-gradient(to bottom, #000 calc(100% - 26px), transparent 100%);
          mask-image:linear-gradient(to bottom, #000 calc(100% - 26px), transparent 100%);
}
.sn-modal__body:not(:has(.sn-accordion))::-webkit-scrollbar { width: 5px; }
.sn-modal__body:not(:has(.sn-accordion))::-webkit-scrollbar-track { background: transparent; }
.sn-modal__body:not(:has(.sn-accordion))::-webkit-scrollbar-thumb {
  background: var(--pop-line-strong);
  border-radius: 3px;
}
.sn-modal__body p {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--pop-body);
  margin: 0 0 13px;
}
.sn-modal__body p:last-child { margin-bottom: 0; }

/* a rhetorical question or single-line beat — set a touch quieter and tighter */
.sn-modal__body .sn-beat {
  color: var(--pop-cream);
  margin-bottom: 10px;
}

/* the highlighted closing statement every pop-up ends on */
.sn-modal__body .sn-emph {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.42;
  color: var(--pop-gold-bright);
  text-align: center;
  margin: 21px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--pop-line);
  max-width: 440px;
}

/* ---- accordion : keeps every long pop-up to one consistent footprint,
   one section open at a time, regardless of how much prose it holds ---- */
.sn-accordion {
  margin: 0 0 18px;
  border-top: 1px solid var(--pop-line);
}
.sn-accordion__item {
  border-bottom: 1px solid var(--pop-line);
}
.sn-accordion__head { margin: 0; }
.sn-accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 13px 2px;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.28;
  color: var(--pop-cream);
  transition: color var(--motion) var(--motion-ease);
}
.sn-accordion__trigger:hover,
.sn-accordion__item.is-open > .sn-accordion__head .sn-accordion__trigger { color: var(--pop-gold-bright); }
.sn-accordion__trigger:focus-visible {
  outline: 2px solid var(--pop-gold);
  outline-offset: 3px;
  border-radius: 2px;
}
.sn-accordion__icon {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
}
.sn-accordion__icon::before,
.sn-accordion__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background-color: currentColor;
  transition: transform var(--motion) var(--motion-ease), opacity var(--motion) var(--motion-ease);
}
.sn-accordion__icon::before { width: 11px; height: 1.5px; }
.sn-accordion__icon::after { width: 1.5px; height: 11px; }
.sn-accordion__item.is-open .sn-accordion__icon::after { transform: rotate(90deg); opacity: 0; }

/* grid-rows 0fr → 1fr animates height without ever measuring it in JS, and
   caps every open panel at the same scroll height below, so a pop-up with
   three short answers and one with three long ones still read as one size.
   The copy fades and rises a few pixels on the same clock, so the panel reads
   as content arriving rather than a box being stretched. */
.sn-accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 360ms var(--motion-ease);
}
.sn-accordion__item.is-open .sn-accordion__panel { grid-template-rows: 1fr; }
.sn-accordion__panel-inner { overflow: hidden; min-height: 0; }
.sn-accordion__panel-scroll {
  max-height: 255px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 2px 2px 17px;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    opacity 260ms var(--motion-ease),
    transform 300ms var(--motion-ease);
}
.sn-accordion__item.is-open .sn-accordion__panel-scroll {
  opacity: 1;
  transform: none;
  /* the copy waits for the panel to be most of the way open before fading in */
  transition-delay: 90ms;
}
.sn-accordion__panel-scroll p:last-child { margin-bottom: 0; }

/* keep the inner scrollbar in the panel's own palette rather than the OS default,
   and soften the bottom edge so a capped answer reads as continuing rather than
   as a line that got chopped. The fade sits over the panel's own bottom padding
   when the copy is short enough not to overflow, so it costs nothing there. */
.sn-accordion__panel-scroll {
  scrollbar-width: thin;
  scrollbar-color: var(--pop-line-strong) transparent;
  -webkit-mask-image:linear-gradient(to bottom, #000 calc(100% - 26px), transparent 100%);
          mask-image:linear-gradient(to bottom, #000 calc(100% - 26px), transparent 100%);
}
.sn-accordion__panel-scroll::-webkit-scrollbar { width: 5px; }
.sn-accordion__panel-scroll::-webkit-scrollbar-track { background: transparent; }
.sn-accordion__panel-scroll::-webkit-scrollbar-thumb {
  background: var(--pop-line-strong);
  border-radius: 3px;
}

@media (max-width: 768px) {
  .sn-accordion__trigger { font-size: 15px; padding: 12px 2px; }
  .sn-accordion__panel-scroll { max-height: 190px; }
}

@media (prefers-reduced-motion: reduce) {
  .sn-accordion__panel,
  .sn-accordion__panel-scroll { transition: none; }
  .sn-accordion__panel-scroll { transform: none; }
  .sn-accordion__icon::before,
  .sn-accordion__icon::after { transition: none; }
}

/* ---- footer action row : lifted CTA, then Close ---- */
.sn-modal__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--pop-line);
}
/* a pop-up whose copy carries no CTA gets no empty rule above the fold */
.sn-modal__actions[hidden] { display: none; }

.sn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  background:linear-gradient(180deg, #BC8350 0%, #9C6531 100%);
  color:#FBF7EC;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  transition: filter var(--motion) var(--motion-ease), transform var(--motion) var(--motion-ease);
}
.sn-cta:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* the second button in a two-button row: same shape, no fill, and smaller —
   so a pop-up that offers both a founder's own site and the join link leads
   with the one the reader came for */
.sn-cta--quiet {
  padding: 8px 16px;
  font-size: 10.5px;
  background: none;
  border:1px solid rgba(208,153,104,0.6);
  color:#E6AF7F;
}
.sn-cta--quiet:hover { filter: none; background:rgba(208,153,104,0.12); }

.sn-modal__dismiss {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: transparent;
  border:1px solid #D09968;
  border-radius: 2px;
  color:#E6AF7F;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--motion) var(--motion-ease), color var(--motion) var(--motion-ease);
}
.sn-modal__dismiss:hover { background:#E3A771; color:#131825; }

/* ---- responsive : near-full-screen on phones, per content brief ---- */
@media (max-width: 900px) {
  .sn-modal__panel { padding: 31px 27px 24px; }
  .sn-modal__title { font-size: 24px; }
}
@media (max-width: 768px) {
  .sn-modal { padding: 16px 12px; }
  .sn-modal__panel {
    width: 100%;
    padding: 28px 18px 21px;
    border-radius: 12px;
  }
  /* fluid below 768 so even the longest title in the set still sets on one
     line at 400px, 360px and 320px rather than breaking across two */
  .sn-modal__title { font-size: clamp(12px, 4.2vw, 21px); }
  .sn-modal__body:not(:has(.sn-accordion)) { max-height: 62vh; }
  .sn-modal__eyebrow { font-size: 11px; letter-spacing: 0.2em; }
  .sn-modal__rule-line { width: 34px; }
  .sn-modal__close { top: 10px; right: 12px; }
  .sn-modal__body p { font-size: 13px; line-height: 1.74; }
  .sn-modal__body .sn-emph { font-size: 17.5px; }
  /* stack in DOM order so the CTA stays the primary action above Close,
     matching the left-to-right order used on wider screens */
  .sn-modal__actions { flex-direction: column; gap: 10px; }
  .sn-cta, .sn-modal__dismiss { width: 100%; justify-content: center; }
}
@media (max-width: 380px) {
  .sn-modal__panel { padding: 25px 13px 18px; }
  .sn-accordion__trigger { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .sn-modal__backdrop,
  .sn-modal__panel { transition: none; }
  .sn-modal__panel { transform: none; }
}

/* ===================================================================
   POP-UP TRIGGERS
   Cards (why columns, pillars, get-involved items) hand their whole
   footprint to a transparent .card__trigger — see the POP-UP CARDS
   block below. What remains here is the small circular icon button,
   used where a pop-up hangs off a passage of running copy rather than
   a card. Its resting ring / hover fill are each section's own
   established button-colour pair, so it reads as that section's own
   "more" control rather than a foreign element.
   =================================================================== */
.js-modal { cursor: pointer; }

.sn-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid currentColor;
  background: none;
  cursor: pointer;
  transition: background var(--motion) var(--motion-ease), color var(--motion) var(--motion-ease), border-color var(--motion) var(--motion-ease), transform var(--motion) var(--motion-ease);
}
/* the same lift every solid button on this site uses on hover */
.sn-more:hover { transform: translateY(-1px); }
.sn-more__arrow { font-size: 14px; line-height: 1; }

.sn-more:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* -- A Shared Future banner : same ghost-outline-on-navy hover -- */
.future__more {
  margin-top: 26px;
  border-color:rgba(251,250,249,0.45);
  color: var(--s5-heading);
}
.future__more:hover { background:#DD8C42; border-color:#DD8C42; color:#131825; }

@media (prefers-reduced-motion: reduce) {
  .sn-more { transition: none; }
  .sn-more:hover { transform: none; }
}

/* ---- touch: grow the circle itself to a real 44px target, rather than an
   invisible hit-zone — a visibly bigger tap target, not just a technically
   compliant one. ---- */
@media (max-width: 1024px), (pointer: coarse) {
  .sn-more { width: 44px; height: 44px; }
  .sn-more__arrow { font-size: 17px; }
}

/* ===================================================================
   POP-UP CARDS — the whole card is the click target
   Three layers per card:
     host   (.card--lift)  stays in the grid and keeps the column
                           divider, so the divider never rides along
                           with the hover animation
     mover  (.card__lift)  carries the lift, nothing else
     trigger(.card__trigger) a transparent full-bleed <button> that
                           takes the click and draws the arrow hint
   =================================================================== */
.card--lift { position: relative; }

/* the arrow needs empty space of its own below the last line of copy —
   one rule per card type, unaffected by breakpoint (the doubled class
   keeps it from being reset by the responsive padding shorthands) */
.why__col.card--lift,
.founders__item.card--lift,
.pillars__item.card--lift,
.involve__item.card--lift { padding-bottom: 30px; }

.card__lift { transition: transform var(--motion) var(--motion-ease); }

.card--lift:hover > .card__lift,
.card--lift:focus-within > .card__lift { transform: translateY(var(--lift)); }
.card--lift:active > .card__lift { transform: translateY(var(--lift-press)); }

.card__trigger {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
/* the button renders nothing of its own, so keyboard users need to be
   told plainly where focus has landed */
.card__trigger:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -4px;
}

/* The hint arrow: one inline SVG tinted by background-color, so it renders
   identically on every platform (a Unicode arrow glyph would fall back to
   whatever font the visitor's OS substitutes). Centred across the full card
   width, so it tracks the same axis the copy does at every breakpoint
   instead of drifting as the columns rewrap. */
.card__trigger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  height: 8px;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 8'%3E%3Cpath d='M0.5 4h17M13.6 0.9L17.5 4l-3.9 3.1' fill='none' stroke='%23000' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 8'%3E%3Cpath d='M0.5 4h17M13.6 0.9L17.5 4l-3.9 3.1' fill='none' stroke='%23000' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: 20px 8px;
          mask-size: 20px 8px;
  opacity: 0.75;
  transition:
    opacity var(--motion) var(--motion-ease),
    transform var(--motion) var(--motion-ease),
    background-color var(--motion) var(--motion-ease);
}

.card--lift:hover > .card__trigger::after,
.card--lift:focus-within > .card__trigger::after {
  opacity: 1;
  transform: translateX(4px);
}

/* Each section tints the arrow with the colour pair that section's real
   buttons already use: gold at rest, the section's dark button fill on hover.
   The trigger's own `color` is only the focus ring, so it takes the dark end. */
.why__col > .card__trigger { color: var(--s2-btn); }
.why__col > .card__trigger::after { background-color: var(--s2-line); }
.why__col.card--lift:hover > .card__trigger::after,
.why__col.card--lift:focus-within > .card__trigger::after { background-color: var(--s2-btn); }

.pillars__item > .card__trigger { color: var(--pl-badge); }
.pillars__item > .card__trigger::after { background-color: var(--pl-line); }
.pillars__item.card--lift:hover > .card__trigger::after,
.pillars__item.card--lift:focus-within > .card__trigger::after { background-color: var(--pl-badge); }

.involve__item > .card__trigger { color: var(--s4-btn); }
.involve__item > .card__trigger::after { background-color: var(--s4-line); }
.involve__item.card--lift:hover > .card__trigger::after,
.involve__item.card--lift:focus-within > .card__trigger::after { background-color: var(--s4-btn); }

/* the founders sit on navy, where the section's own button is the gold outline
   rather than a dark fill — so the pair runs soft gold at rest, bright gold up */
.founders__item > .card__trigger { color: var(--fn-gold); }
.founders__item > .card__trigger::after { background-color: var(--fn-icon); }
.founders__item.card--lift:hover > .card__trigger::after,
.founders__item.card--lift:focus-within > .card__trigger::after { background-color: var(--fn-gold); }

/* heading warms toward the section's own gold on hover */
.why__title,
.founders__name,
.pillars__name,
.involve__label { transition: color var(--motion) var(--motion-ease); }

.why__col.card--lift:hover .why__title,
.why__col.card--lift:focus-within .why__title { color: var(--s2-gold-icon); }
.founders__item:hover .founders__name,
.founders__item:focus-within .founders__name { color: var(--fn-gold); }
.pillars__item:hover .pillars__name,
.pillars__item:focus-within .pillars__name { color: var(--pl-icon); }
.involve__item:hover .involve__label,
.involve__item:focus-within .involve__label { color: var(--s4-gold); }

/* the card's own photo eases in a beat slower than the UI around it */
.why__col .why__icon img {
  transition:
    opacity var(--motion-photo) var(--motion-ease),
    transform var(--motion-photo) var(--motion-ease);
}
.why__col.card--lift:hover .why__icon img,
.why__col.card--lift:focus-within .why__icon img {
  opacity: 0.9;
  transform: scale(1.02);
}

/* the founder's portrait ring brightens on the same slower photo beat */
.founders__photo {
  transition:
    border-color var(--motion-photo) var(--motion-ease),
    box-shadow var(--motion-photo) var(--motion-ease);
}
.founders__item.card--lift:hover .founders__photo,
.founders__item.card--lift:focus-within .founders__photo {
  border-color:#F6D3B1;
  box-shadow:0 0 0 1px rgba(242,187,134,0.45);
}

/* touch: nothing hovers, so the resting arrow has to carry the whole hint */
@media (max-width: 1024px), (pointer: coarse) {
  .card__trigger::after { opacity: 0.85; }
}

/* at one column the pillar copy is narrower than its grid cell — cap the card
   to match, or a tap on the empty margin beside it still opens the pop-up */
@media (max-width: 768px) {
  .pillars__item.card--lift { max-width: 360px; margin: 0 auto; }
}

/* motion off: the hover state must still be plainly visible, it just must
   not move — colour and opacity stay, transforms go */
@media (prefers-reduced-motion: reduce) {
  .card__lift,
  .card__trigger::after,
  .founders__photo,
  .why__col .why__icon img { transition: none; }
  .card--lift:hover > .card__lift,
  .card--lift:focus-within > .card__lift,
  .card--lift:active > .card__lift,
  .card--lift:hover > .card__trigger::after,
  .card--lift:focus-within > .card__trigger::after,
  .why__col.card--lift:hover .why__icon img,
  .why__col.card--lift:focus-within .why__icon img { transform: none; }
}

/* ==== Night Gate fields, like the Center (thejerusalemunitycenter.com/seventy-nations), 22 Nov 2026 ====
   Dark navy stays for the hero, the Jerusalem Unity Center picture, "A Shared Future" and the
   footer. The founders, "Founded by" and the events become ivory fields with navy text, as on the
   Center's About Us page; the event cards stay navy. Appended to style.css by recolor_landing.py. */
:root{--ng-ivory:#FBF8F1;--ng-white:#FFFFFF;--ng-ink:#161A33;--ng-body:#3F4358;--ng-label:#7A4E1F;--ng-line:rgba(196,146,63,.4);--ng-card:#14182F}

/* the people behind the vision */
.founders{background:var(--ng-ivory)!important;border-top:1px solid var(--ng-line)!important;--fn-desc:var(--ng-body);--fn-role:var(--ng-label);--fn-gold-soft:var(--ng-label);--fn-gold:#8C5A26;--fn-icon:#8C5A26;--fn-line:var(--ng-line);--fn-divider:rgba(196,146,63,.25);--fn-well:var(--ng-white);--fn-ring:#C99B5C}
.founders::before{display:none!important}
.founders .founders__title,.founders .founders__name{color:var(--ng-ink)!important}
.founders .founders__hand{color:#8C5A26!important}
.founders .founders__more:hover{color:#fff!important}
.founders .founders__item:hover .founders__name{color:#8C5A26!important}

/* founded by Meirah */
.founder{background:var(--ng-white)!important;border-top:1px solid var(--ng-line);border-bottom:1px solid var(--ng-line)}
.founder::before{display:none!important}
.founder .founder__title{color:var(--ng-ink)!important}
.founder .founder__desc{color:var(--ng-body)!important}
.founder .founder__btn{color:var(--ng-ink)!important;border-color:#C99B5C!important}
.founder .founder__btn:hover{color:#fff!important;background-color:#B9772F!important}

/* upcoming events: ivory field, navy cards */
.events{background:var(--ng-ivory)!important;--ev-line:var(--ng-line)}
.events::before{display:none!important}
.events .events__title{color:var(--ng-ink)!important}
.events .events__card{--ev-card:var(--ng-card);background:var(--ng-card)!important;box-shadow:0 14px 30px rgba(20,24,47,.16)}
.events .events__notify{color:var(--ng-body)!important}
.events .events__notify a{color:#8C5A26!important}
.events .events__none{background:var(--ng-card)!important}
