/* ===========================================================================
   IGNITE Tanzania
   ---------------------------------------------------------------------------
   The page is built on one idea: L.I.F.E. is not a slogan, it is an index.
   Leadership, Influence, Finances, Expertise are the four things a marketplace
   leader already carries, they are the four pillars of the movement, and they
   are — word for word — the four headings of Dr. Sebastian Marondo's own
   biography. So the four letters are the structural spine of the site. They
   appear at three scales: enormous in the hero, panel-sized in the pillars,
   and again on a leader's profile, where they organise a life.

   The second idea is the time of day. An IGNITE gathering is a breakfast that
   starts at 7am, so the page runs from night to morning and back: coffee-black
   grounds for the dark before the fire, warm ivory for the table in daylight.
   Nothing is neutral grey — the blacks are warm because the room is.

   Colour comes from the logo and nowhere else: the flame (#ED3B25 at the tip,
   #CE2D23 dominant, #BA2523 at the base) and the charcoal of the lettering,
   warmed. There is no second accent hue on purpose — the only saturated thing
   on the page should be the fire.
   ======================================================================== */

:root{
  /* night */
  --coffee:    #14100E;   /* the ground before dawn — warm black, never neutral */
  --coffee-2:  #1E1815;   /* a raised panel on the dark */
  --coffee-3:  #2B231E;   /* borders and rules on the dark */

  /* morning */
  --ivory:     #F8F3EA;   /* the table in daylight */
  --ivory-2:   #F0E7D8;   /* a second light ground, one step warmer */
  --ivory-3:   #E3D7C4;   /* light borders */

  /* fire — sampled from the logo */
  --flame:      #ED3B25;  /* the tip, for large marks on dark */
  --flame-deep: #CE2D23;  /* the dominant pixel, for fills on light */
  --flame-base: #BA2523;  /* the base, for hover */
  --flame-ink:  #BA2523;  /* small red TYPE on the ivory grounds.
                             #CE2D23 is only 4.26:1 on --ivory-2 and fails AA;
                             this is 5.07:1 there and 5.63:1 on --ivory. */
  --flame-lift: #FF8468;  /* small red type on coffee, kept above 4.5:1 */
  --flame-wash: rgba(237,59,37,.10);

  /* type colours */
  --ink:    #211B18;      /* body text on ivory */
  --ink-2:  #473C35;
  --mute:   #6B5E55;      /* quiet text on ivory */
  --ash:    #B5AAA0;      /* quiet text on coffee */

  --radius: 4px;          /* nearly square: this movement is not soft-edged */
  --radius-lg: 8px;

  --max: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --sec-y: clamp(72px, 9vw, 132px);

  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font:    'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --shadow:    0 24px 60px rgba(16,11,9,.16);
  --shadow-sm: 0 6px 20px rgba(16,11,9,.10);
}

*,*::before,*::after{ box-sizing:border-box; }

html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; scroll-padding-top:92px; }

body{
  margin:0;
  background:var(--ivory);
  color:var(--ink);
  font-family:var(--font);
  font-size:1.0625rem;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}

img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; }

h1,h2,h3,h4{
  font-family:var(--display);
  font-weight:700;
  line-height:1.08;
  letter-spacing:-.015em;
  margin:0 0 .5em;
  /* Fraunces is an optical-size variable face: big headings want the display
     cut (high opsz), small ones the text cut. Set per level, not globally. */
  font-variation-settings:'opsz' 48,'SOFT' 0,'WONK' 0;
}
h1{ font-size:clamp(2.6rem,6.5vw,4.6rem); font-variation-settings:'opsz' 144,'SOFT' 0,'WONK' 1; }
h2{ font-size:clamp(2rem,4.6vw,3.3rem); font-variation-settings:'opsz' 96,'SOFT' 0,'WONK' 1; }
h3{ font-size:clamp(1.18rem,1.9vw,1.42rem); font-variation-settings:'opsz' 24; letter-spacing:-.005em; }
p{ margin:0 0 1.1em; }
p:last-child{ margin-bottom:0; }

::selection{ background:var(--flame); color:#fff; }

/* ── skip link ───────────────────────────────────────────────────────── */
.skip{
  position:absolute; left:-9999px; top:0; z-index:200;
  background:var(--flame-deep); color:#fff; padding:14px 20px;
  font-weight:700; text-decoration:none;
}
.skip:focus{ left:0; }

/* ── shared shells ───────────────────────────────────────────────────── */
.container{ width:100%; max-width:var(--max); margin-inline:auto; padding-inline:var(--gutter); }

.sec{ padding-block:var(--sec-y); background:var(--ivory); color:var(--ink); }
.sec--alt { background:var(--ivory-2); }
.sec--dark{ background:var(--coffee); color:var(--ivory); }
.sec--dark h1,.sec--dark h2,.sec--dark h3{ color:var(--ivory); }
.sec--dark p{ color:#D9CFC6; }

.eyebrow{
  display:block;
  font-size:.7rem; font-weight:800; letter-spacing:.2em; text-transform:uppercase;
  color:var(--flame-ink); margin-bottom:16px;
}
.sec--dark .eyebrow{ color:var(--flame-lift); }

.sec-head{ max-width:760px; margin-bottom:clamp(40px,5vw,64px); }
.sec-head--center{ margin-inline:auto; text-align:center; }
.sec-head p{ font-size:1.125rem; color:var(--mute); }
.sec--dark .sec-head p{ color:var(--ash); }

.center{ text-align:center; }

/* ── buttons ─────────────────────────────────────────────────────────── */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.5em;
  font-family:var(--font); font-weight:700; font-size:.95rem;
  padding:14px 26px; border-radius:var(--radius); border:1.5px solid transparent;
  text-decoration:none; cursor:pointer; transition:background .18s, color .18s, border-color .18s, transform .18s;
}
.btn:hover{ transform:translateY(-1px); }
.btn--primary{ background:var(--flame-deep); color:#fff; }
.btn--primary:hover{ background:var(--flame-base); color:#fff; }
.btn--outline{ border-color:var(--ink); color:var(--ink); }
.btn--outline:hover{ background:var(--ink); color:var(--ivory); }
.btn--ghost{ border-color:rgba(248,243,234,.42); color:var(--ivory); }
.btn--ghost:hover{ background:var(--ivory); color:var(--coffee); border-color:var(--ivory); }
.btn--lg{ padding:17px 32px; font-size:1rem; }
.btn--sm{ padding:10px 18px; font-size:.85rem; }
.btn--block{ width:100%; }

/* ── top bar ─────────────────────────────────────────────────────────── */
.topbar{
  background:var(--flame-deep); color:#fff;
  font-size:.85rem; font-weight:600; text-align:center;
  padding:9px var(--gutter);
}
.topbar a{ color:#fff; text-underline-offset:3px; }

/* ── navigation ──────────────────────────────────────────────────────── */
.nav{
  position:sticky; top:0; z-index:100;
  background:var(--coffee);
  border-bottom:1px solid var(--coffee-3);
  transition:box-shadow .2s;
}
.nav.scrolled{ box-shadow:0 10px 30px rgba(0,0,0,.35); }
.nav__inner{
  width:100%; max-width:var(--max); margin-inline:auto; padding:12px var(--gutter);
  display:flex; align-items:center; gap:24px;
}
.brand{ display:flex; align-items:center; flex:0 0 auto; }
.brand img{ height:46px; width:auto; }

.nav__links{ display:flex; align-items:center; gap:4px; margin-left:auto; }
.nav__links a{
  position:relative;
  padding:10px 13px; border-radius:var(--radius);
  font-size:.9rem; font-weight:600; color:#D9CFC6; text-decoration:none;
  transition:color .16s;
}
.nav__links a:hover{ color:var(--ivory); }
.nav__links a.active{ color:var(--ivory); }
.nav__links a.active::after{
  content:''; position:absolute; left:13px; right:13px; bottom:4px;
  height:2px; background:var(--flame);
}
.nav__actions{ display:flex; align-items:center; gap:10px; flex:0 0 auto; }

.burger{
  display:none; width:44px; height:44px; padding:0;
  background:transparent; border:1px solid var(--coffee-3); border-radius:var(--radius);
  cursor:pointer; flex-direction:column; align-items:center; justify-content:center; gap:5px;
}
.burger span{ display:block; width:20px; height:2px; background:var(--ivory); }

/* ═══════════════════════════ HERO ═══════════════════════════════════════
   No photograph and no gradient blob. The hero IS the acronym: four letters
   at the largest size the viewport allows, each standing over the word it
   stands for, so one glance teaches what L.I.F.E. means. Everything else on
   the page is a footnote to this row.
   ===================================================================== */
.hero{
  position:relative; overflow:hidden;
  background:var(--coffee); color:var(--ivory);
  padding-block:clamp(56px,8vw,104px) clamp(64px,8vw,112px);
}
/* a single ember behind the letters — the only atmospheric effect on the page */
.hero::before{
  content:''; position:absolute; z-index:0;
  left:50%; top:34%; width:min(1100px,130%); aspect-ratio:1;
  transform:translate(-50%,-50%);
  background:radial-gradient(circle, rgba(237,59,37,.26) 0%, rgba(237,59,37,.07) 42%, transparent 68%);
  pointer-events:none;
}
.hero .container{ position:relative; z-index:1; }

.hero__pill{
  display:inline-block;
  font-size:.72rem; font-weight:800; letter-spacing:.2em; text-transform:uppercase;
  color:var(--flame-lift); border:1px solid rgba(237,59,37,.42);
  padding:8px 16px; border-radius:100px; margin-bottom:clamp(28px,4vw,44px);
}

.lifeword{ margin:0 0 clamp(26px,3.5vw,40px); }
.lifeword__row{
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:clamp(6px,1.6vw,26px);
  border-bottom:2px solid var(--flame);
  padding-bottom:clamp(14px,2vw,22px);
}
.lifeletter{ display:flex; flex-direction:column; align-items:center; text-align:center; min-width:0; }
.lifeletter__l{
  font-family:var(--display); font-weight:900;
  font-variation-settings:'opsz' 144,'SOFT' 0,'WONK' 1;
  font-size:clamp(3.6rem,16vw,13rem);
  line-height:.82; letter-spacing:-.04em;
  color:var(--ivory);
}
.lifeletter:nth-child(odd) .lifeletter__l{ color:var(--flame); }
.lifeletter__w{
  margin:0;                       /* dd defaults to a 40px indent */
  font-size:clamp(.58rem,1.5vw,.88rem); font-weight:800;
  letter-spacing:.14em; text-transform:uppercase;
  color:var(--ash); margin-top:clamp(8px,1.2vw,14px);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%;
}
.lifeword__say{
  margin-top:14px; font-size:.78rem; font-weight:700;
  letter-spacing:.2em; text-transform:uppercase; color:var(--ash);
}

.hero__h1{
  font-size:clamp(1.65rem,3.3vw,2.6rem);
  font-variation-settings:'opsz' 48,'SOFT' 0,'WONK' 1;
  max-width:18ch; margin-bottom:.45em;
}
.hero__grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:clamp(28px,5vw,64px); align-items:start; }
.hero__lead{ max-width:52ch; font-size:clamp(1.05rem,1.5vw,1.2rem); color:#D9CFC6; }
.hero__cta{ display:flex; flex-wrap:wrap; gap:12px; margin-top:clamp(26px,3vw,36px); }

.hero__scripture{
  margin:6px 0 0; padding-left:20px;
  border-left:2px solid var(--flame);
  font-family:var(--display); font-style:italic; font-weight:400;
  font-variation-settings:'opsz' 36,'SOFT' 40,'WONK' 1;
  font-size:clamp(1.05rem,1.8vw,1.35rem); color:var(--ivory);
  max-width:46ch;
}
.hero__scripture cite{ display:block; margin-top:8px; font:700 .76rem/1 var(--font); letter-spacing:.16em; text-transform:uppercase; color:var(--ash); font-style:normal; }

/* ── the strip of facts under the hero ───────────────────────────────── */
.facts{
  background:var(--coffee-2); border-block:1px solid var(--coffee-3);
  display:grid; grid-template-columns:repeat(4,1fr);
}
.fact{ padding:clamp(22px,3vw,34px) clamp(14px,2.4vw,28px); text-align:center; border-right:1px solid var(--coffee-3); }
.fact:last-child{ border-right:0; }
.fact__n{
  font-family:var(--display); font-weight:800; font-variation-settings:'opsz' 72;
  font-size:clamp(1.6rem,3vw,2.5rem); line-height:1; color:var(--flame-lift);
}
.fact__l{ margin-top:8px; font-size:.78rem; font-weight:600; letter-spacing:.06em; color:var(--ash); }

/* ── split (text beside media) ───────────────────────────────────────── */
.split{ display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(32px,5vw,72px); align-items:center; }
.split__list{ list-style:none; padding:0; margin:0 0 28px; }
.split__list li{ position:relative; padding-left:28px; margin-bottom:12px; }
.split__list li::before{
  content:''; position:absolute; left:0; top:.62em;
  width:12px; height:2px; background:var(--flame-deep);
}
.split__media{ position:relative; }
.split__media img{ width:100%; border-radius:var(--radius-lg); box-shadow:var(--shadow); }
.badge-float{
  position:absolute; left:-18px; bottom:-18px;
  background:var(--coffee); color:var(--ivory);
  padding:18px 22px; border-radius:var(--radius-lg); box-shadow:var(--shadow);
  max-width:230px;
}
.badge-float strong{ display:block; font-family:var(--display); font-size:1.25rem; font-variation-settings:'opsz' 36; color:var(--flame-lift); }
.badge-float span{ font-size:.82rem; color:var(--ash); line-height:1.45; display:block; margin-top:4px; }

/* ═══════════════════ the four letters, at panel scale ══════════════════ */
.pillars{ display:grid; grid-template-columns:repeat(4,1fr); gap:0; border-top:1px solid var(--coffee-3); }
.pillar{
  padding:clamp(26px,3vw,40px) clamp(18px,2.2vw,30px);
  border-right:1px solid var(--coffee-3); border-bottom:1px solid var(--coffee-3);
  transition:background .2s;
}
.pillar:last-child{ border-right:0; }
.pillar:hover{ background:var(--coffee-2); }
.pillar__l{
  font-family:var(--display); font-weight:900;
  font-variation-settings:'opsz' 144,'SOFT' 0,'WONK' 1;
  font-size:clamp(3rem,5.5vw,4.6rem); line-height:.9; color:var(--flame);
  margin-bottom:10px;
}
.pillar h3{ color:var(--ivory); margin-bottom:.45em; }
.pillar p{ font-size:.96rem; color:#CDC2B9; }

/* ── plain statement cards (purpose / aim) ───────────────────────────── */
.statement{
  background:var(--ivory); border:1px solid var(--ivory-3);
  border-left:3px solid var(--flame-deep);
  padding:clamp(26px,3vw,36px); border-radius:var(--radius);
}
.sec--alt .statement{ background:#FBF7F0; }
.statement p{
  font-family:var(--display); font-weight:400; font-style:italic;
  font-variation-settings:'opsz' 36,'SOFT' 40,'WONK' 1;
  font-size:clamp(1.1rem,1.7vw,1.3rem); line-height:1.45; color:var(--ink);
}

/* ── outcomes: three things that happen at once, so they are not numbered ── */
.outcome h3{ margin-bottom:.4em; }
.outcome__rule{ width:38px; height:3px; background:var(--flame-deep); margin-bottom:18px; }
.outcome p{ color:var(--mute); }
.sec--dark .outcome__rule{ background:var(--flame); }

/* ═════════════════════════ LEADERS ═════════════════════════════════════
   The four portraits come from four different studios — one charcoal
   background, one flat grey, one cream, one bronze — so they do not sit
   together as neatly as a commissioned set would. They are shown in colour
   anyway: these are real people and their own photographs, and that matters
   more than the row matching.
   ===================================================================== */
/* Flex, not a fixed four-column grid. With five people a grid leaves one
   card stranded alone on a second row; flex-wrap with justify-content:center
   centres whatever is left over, and the cards grow a little wider as a
   result. */
.leaders{ display:flex; flex-wrap:wrap; justify-content:center; gap:clamp(18px,2.4vw,30px); }

.leader{ display:flex; flex-direction:column; flex:1 1 260px; max-width:320px; }
.leader__shot{
  position:relative; aspect-ratio:4/5; overflow:hidden;
  background:var(--ivory-3); border-radius:var(--radius);
  margin-bottom:18px;
}
.leader__shot img{
  width:100%; height:100%; object-fit:cover;
  transition:transform .5s ease;
}
.leader__shot::after{
  content:''; position:absolute; inset:auto 0 0 0; height:3px; background:var(--flame-deep);
  transform:scaleX(0); transform-origin:left; transition:transform .4s ease;
}
.leader:hover .leader__shot::after,
.leader:focus-within .leader__shot::after{ transform:scaleX(1); }
.leader:hover .leader__shot img{ transform:scale(1.02); }

.leader__name{ margin-bottom:.25em; min-height:2.16em; }  /* two lines: names differ in length */
/* The office IGNITE elected them to — Chairman, Secretary, Champion. This is
   what the section is actually asking ("who carries it"), so it leads. */
.leader__office{
  font-size:.7rem; font-weight:800; letter-spacing:.15em; text-transform:uppercase;
  color:var(--flame-ink); margin-bottom:7px;
}
/* The trade they bring, demoted to a quiet second line so the two labels do
   not compete. */
.leader__role{
  font-size:.84rem; font-weight:600; letter-spacing:0; text-transform:none;
  color:var(--mute); margin-bottom:12px;
}
.leader__bio{ font-size:.94rem; color:var(--mute); margin-bottom:14px; }
.leader__more{
  margin-top:auto; align-self:flex-start;
  font-size:.86rem; font-weight:700; color:var(--ink);
  text-decoration:none; border-bottom:2px solid var(--flame-deep); padding-bottom:2px;
}
.leader__more:hover{ color:var(--flame-deep); }

/* ── a single leader's profile page ──────────────────────────────────── */
.profile{
  display:grid; grid-template-columns:360px 1fr; gap:clamp(30px,5vw,64px);
  align-items:start;
  padding-block:clamp(48px,6vw,80px);
  border-top:1px solid var(--ivory-3);
}
.profile:first-of-type{ border-top:0; padding-top:0; }
.profile__shot{ position:sticky; top:104px; }
.profile__shot img{ width:100%; border-radius:var(--radius-lg); box-shadow:var(--shadow); }
.profile__cap{
  margin-top:14px; font-size:.76rem; font-weight:700; letter-spacing:.1em;
  text-transform:uppercase; color:var(--mute);
}
.profile__office{
  font-size:.74rem; font-weight:800; letter-spacing:.16em; text-transform:uppercase;
  color:var(--flame-ink); margin:0 0 .5em;
}
.profile__role{
  font-size:.95rem; font-weight:600; letter-spacing:0; text-transform:none;
  color:var(--mute); margin-bottom:18px;
}
.profile__lead{ font-size:1.14rem; color:var(--ink-2); }
.roles{ list-style:none; padding:0; margin:26px 0 0; border-top:1px solid var(--ivory-3); }
.roles li{
  padding:13px 0; border-bottom:1px solid var(--ivory-3);
  display:flex; gap:4px 16px; align-items:baseline;
  /* The label does not shrink, so on a 320px phone the value beside it was
     pushed past the right edge. Let it drop to its own line instead. */
  flex-wrap:wrap;
}
.roles strong{ flex:0 0 auto; }
.roles span{ color:var(--mute); font-size:.94rem; min-width:0; }

/* the same four letters, now organising one life */
.lifeblocks{ margin-top:34px; display:grid; gap:2px; background:var(--ivory-3); border:1px solid var(--ivory-3); }
.lifeblock{ background:var(--ivory); padding:clamp(22px,2.6vw,30px); display:grid; grid-template-columns:76px 1fr; gap:20px; }
.lifeblock__l{
  font-family:var(--display); font-weight:900;
  font-variation-settings:'opsz' 144,'SOFT' 0,'WONK' 1;
  font-size:3.4rem; line-height:.8; color:var(--flame-deep);
}
.lifeblock h3{ margin-bottom:.4em; }
.lifeblock p{ color:var(--mute); font-size:.97rem; }
.lifeblock p:last-child{ margin-bottom:0; }

.lifesig{
  margin-top:26px; padding-top:18px; border-top:1px solid var(--ivory-3);
  font-family:var(--display); font-style:italic; font-size:1.05rem;
  font-variation-settings:'opsz' 36,'SOFT' 40,'WONK' 1; color:var(--flame-ink);
}

/* A list of descriptors is not a biography, and should not be dressed as one. */
.tags{ list-style:none; padding:0; margin:22px 0 0; display:flex; flex-wrap:wrap; gap:9px; }
.tag{
  font-size:.82rem; font-weight:600; color:var(--ink-2);
  border:1px solid var(--ivory-3); background:#FBF7F0;
  padding:7px 14px; border-radius:100px;
}

/* ── events ──────────────────────────────────────────────────────────── */
/* Cards sit between 300 and 420px and the row centres itself. With `1fr` a
   single published event stretched across the whole page and its poster came
   out roughly 700px tall — one event should not look like a billboard. */
.ev-grid{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),420px));
  justify-content:center; gap:clamp(20px,2.6vw,30px); align-items:start;
}
.ev-card{
  background:var(--coffee-2); border:1px solid var(--coffee-3);
  border-radius:var(--radius-lg); overflow:hidden; display:flex; flex-direction:column;
}
.ev-wrap .ev-card,
.sec:not(.sec--dark) .ev-card{ background:#FBF7F0; border-color:var(--ivory-3); }
/* events.html wraps its grid in .ev-wrap, not .sec, so none of the light
   rules below matched and every card rendered dark-on-light. It went
   unnoticed because the feed was 404ing and there were never any cards. */
.ev-wrap .ev-card h2,
.ev-wrap .ev-card h3{ color:var(--ink); }
.ev-wrap .ev-card .ev-desc{ color:var(--mute); }
.ev-wrap .ev-price{ color:var(--ink); }
.ev-wrap .ev-was{ color:var(--mute); margin-left:6px; font-size:.9em; }
.ev-card__img{ width:100%; aspect-ratio:16/10; object-fit:cover; }
.ev-card__noimg{
  aspect-ratio:16/7; display:grid; place-items:center;
  background:var(--coffee-2); border-bottom:3px solid var(--flame-deep);
}
.ev-card__noimg img{ width:clamp(90px,32%,150px); height:auto; opacity:.9; }

/* The notice that stands in when no gathering has been published yet. */
.ev-note{
  grid-column:1/-1; max-width:780px; justify-self:center;
  background:var(--coffee-2); border:1px solid var(--coffee-3);
  border-left:3px solid var(--flame);
  border-radius:var(--radius-lg); padding:clamp(26px,3vw,40px);
}
.ev-note h3{ margin:.35em 0 .5em; }
.ev-note .ev-foot{ justify-content:flex-start; }
.ev-wrap .ev-note,
.sec:not(.sec--dark) .ev-note{ background:#FBF7F0; border-color:var(--ivory-3); border-left-color:var(--flame-deep); }
.ev-card__body{ padding:clamp(22px,2.6vw,30px); display:flex; flex-direction:column; gap:10px; flex:1; }
.ev-date{ font-size:.78rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--flame-lift); }
.ev-wrap .ev-date,
.sec:not(.sec--dark) .ev-date{ color:var(--flame-ink); }
.ev-venue{ font-size:.9rem; color:var(--ash); }
.ev-wrap .ev-venue,
.sec:not(.sec--dark) .ev-venue{ color:var(--mute); }
.ev-desc{ font-size:.96rem; }
.ev-card__body h3{ margin:0; }   /* the body is a flex column with a gap */
.ev-foot{ margin-top:auto; padding-top:16px; display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; }
.ev-price{ font-family:var(--display); font-weight:800; font-variation-settings:'opsz' 36; font-size:1.3rem; }
.ev-past{
  display:inline-block; font-size:.68rem; font-weight:800; letter-spacing:.14em;
  text-transform:uppercase; color:var(--ash); border:1px solid var(--coffee-3);
  padding:5px 10px; border-radius:100px;
}
.ev-wrap .ev-past,
.sec:not(.sec--dark) .ev-past{ color:var(--mute); border-color:var(--ivory-3); }

/* ── the trail: genuinely a sequence, so it is dated and ordered ─────── */
.trail{ list-style:none; padding:0; margin:0; display:grid; grid-template-columns:repeat(3,1fr); gap:0; }
.tier{ padding:clamp(24px,3vw,36px) clamp(18px,2.4vw,30px); border-left:1px solid var(--coffee-3); }
.tier:first-child{ border-left:0; padding-left:0; }
.tier__step{
  font-size:.76rem; font-weight:800; letter-spacing:.16em; text-transform:uppercase;
  color:var(--flame-lift); margin-bottom:12px;
}
.tier--now .tier__step{ color:var(--coffee); background:var(--flame); display:inline-block; padding:5px 12px; }

/* ── partnership ─────────────────────────────────────────────────────── */
.handful{
  background:var(--coffee); color:var(--ivory);
  padding:clamp(28px,3.4vw,44px); border-radius:var(--radius-lg);
}
.handful__label{
  display:block; font-size:.72rem; font-weight:800; letter-spacing:.2em;
  text-transform:uppercase; color:var(--flame-lift); margin-bottom:16px;
}
.handful p{ color:#D9CFC6; }
.handful__foot{
  margin-top:20px; padding-top:18px; border-top:1px solid var(--coffee-3);
  font-family:var(--display); font-style:italic; font-size:1.1rem;
  font-variation-settings:'opsz' 36,'SOFT' 40,'WONK' 1; color:var(--ivory)!important;
}
.big{ font-size:1.2rem; color:var(--ink-2); }

/* ── what membership opens ──────────────────────────────────────────────
   Two cards, deliberately large: these are the only outbound links on the
   page that leave the marketing site for the app, so they should not look
   like the rest of the furniture. */
.doors{ display:grid; grid-template-columns:repeat(2,1fr); gap:clamp(20px,2.6vw,30px); }
.door{
  background:#FBF7F0; border:1px solid var(--ivory-3); border-top:3px solid var(--flame-deep);
  border-radius:var(--radius); padding:clamp(28px,3.4vw,44px);
  display:flex; flex-direction:column; gap:12px;
}
.door h3{ font-size:clamp(1.4rem,2.4vw,1.9rem); font-variation-settings:'opsz' 48,'WONK' 1; margin:0; }
.door p{ color:var(--mute); margin:0; }
.door__go{
  margin-top:auto; align-self:flex-start; padding-top:12px;
  font-size:.92rem; font-weight:700; color:var(--ink); text-decoration:none;
  border-bottom:2px solid var(--flame-deep);
}
.door__go:hover{ color:var(--flame-ink); }
.doors__note{
  margin:clamp(24px,3vw,34px) 0 0; font-size:.95rem; color:var(--mute); max-width:70ch;
}

/* ── the path: four steps in order ───────────────────────────────────── */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(18px,2.4vw,28px); counter-reset:step; }
.step{ counter-increment:step; }
.step__n{
  font-family:var(--display); font-weight:900; font-variation-settings:'opsz' 96;
  font-size:2.6rem; line-height:1; color:var(--flame);
  padding-bottom:12px; margin-bottom:14px; border-bottom:1px solid var(--coffee-3);
}
.sec--dark .pullquote{ color:var(--ivory); }
.pullquote{
  font-family:var(--display); font-style:italic; font-weight:400;
  font-variation-settings:'opsz' 96,'SOFT' 40,'WONK' 1;
  font-size:clamp(1.4rem,3vw,2.1rem); line-height:1.3;
  text-align:center; max-width:22ch; margin:0 auto clamp(40px,5vw,60px);
  color:var(--ivory);
}

/* ── contact ─────────────────────────────────────────────────────────── */
.contact{ display:grid; grid-template-columns:.9fr 1.1fr; gap:clamp(30px,4vw,56px); align-items:start; }
.cdetail{ display:flex; gap:16px; padding:18px 0; border-bottom:1px solid var(--coffee-3); }
.cdetail__ic{ font-size:1.2rem; line-height:1.4; flex:0 0 auto; }
.cdetail strong{ display:block; font-size:.74rem; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:var(--flame-lift); margin-bottom:4px; }
.cdetail a,.cdetail span{ color:var(--ivory); text-decoration:none; font-size:1rem; }
.cdetail a:hover{ color:var(--flame-lift); }
.contact__socials{ display:flex; gap:10px; margin-top:22px; }
.contact__socials a,.footer__socials a{
  width:44px; height:44px; display:grid; place-items:center;
  border:1px solid var(--coffee-3); border-radius:var(--radius);
  font-size:.78rem; font-weight:800; letter-spacing:.06em; color:var(--ivory); text-decoration:none;
}
.contact__socials a:hover,.footer__socials a:hover{ background:var(--flame-deep); border-color:var(--flame-deep); }

.cform{ background:var(--coffee-2); border:1px solid var(--coffee-3); border-radius:var(--radius-lg); padding:clamp(24px,3vw,38px); }
.cform h3{ color:var(--ivory); margin-bottom:1em; }
.field{ margin-bottom:16px; }
.field label{ display:block; font-size:.78rem; font-weight:700; letter-spacing:.06em; color:var(--ash); margin-bottom:7px; }
.field input,.field select,.field textarea{
  width:100%; padding:13px 15px; font:inherit; font-size:.97rem;
  color:var(--ivory); background:var(--coffee);
  border:1px solid var(--coffee-3); border-radius:var(--radius);
}
.field input::placeholder,.field textarea::placeholder{ color:#7D7067; }
.field input:focus,.field select:focus,.field textarea:focus{ outline:2px solid var(--flame); outline-offset:1px; border-color:transparent; }
.field .invalid{ border-color:var(--flame); }
.cform__row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.cform .cform__fine{ margin-top:14px; font-size:.82rem; color:var(--ash); }
.cform__msg{ margin-top:14px; padding:12px 14px; background:var(--flame-wash); border-left:3px solid var(--flame); color:var(--ivory); font-size:.9rem; }

/* ── footer ──────────────────────────────────────────────────────────── */
.footer{ background:#0D0A09; color:var(--ivory); padding-top:clamp(52px,6vw,80px); }
.footer__top{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1.2fr; gap:clamp(28px,4vw,52px); padding-bottom:clamp(40px,5vw,60px); }
.footer__brand img{ height:52px; width:auto; margin-bottom:18px; }
.footer__tag{ font-family:var(--display); font-size:1.3rem; font-variation-settings:'opsz' 48,'WONK' 1; color:var(--flame-lift); margin-bottom:.5em; }
.footer p{ color:var(--ash); font-size:.93rem; }
.footer h2{ font-size:.76rem; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:var(--ivory); margin-bottom:16px; font-family:var(--font); }
.footer__top a{ display:block; color:var(--ash); text-decoration:none; font-size:.93rem; padding:5px 0; }
.footer__top a:hover{ color:var(--flame-lift); }
.footer__socials{ display:flex; gap:10px; margin-top:18px; }
.footer__ministry{ color:var(--ivory)!important; font-weight:700; }
.footer__bottom{ border-top:1px solid var(--coffee-3); padding-block:22px; }
.footer__bottom .container{ display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.footer__bottom p{ margin:0; font-size:.85rem; }


/* ── the table, photographed ─────────────────────────────────────────────
   IGNITE's one text-free photograph is a 2362x486 strip of a laid table.
   Its natural shape is a band, so it is used as a band — put in a square
   slot it has to be enlarged and goes soft, which is why the old page
   blurred it on purpose. The claim sits on the picture of the thing
   claimed. */
.tableband{ position:relative; overflow:hidden; height:clamp(190px,21vw,300px); }
.tableband img{ width:100%; height:100%; object-fit:cover; object-position:center 46%; }
.tableband::after{
  content:''; position:absolute; inset:0;
  background:linear-gradient(90deg, rgba(20,16,14,.93) 0%, rgba(20,16,14,.72) 44%, rgba(20,16,14,.12) 100%);
}
.tableband__cap{ position:absolute; left:0; right:0; bottom:clamp(18px,2.6vw,32px); z-index:1; }
.tableband__cap .eyebrow{ color:var(--flame-lift); margin-bottom:10px; }
.tableband__cap h2{ color:var(--ivory); margin-bottom:0; max-width:14ch; }
.tableband + .split{ margin-top:clamp(36px,4.5vw,62px); }

.handful__list{ list-style:none; padding:0; margin:0; }
.handful__list li{ position:relative; padding-left:26px; margin-bottom:12px; color:#D9CFC6; font-size:.97rem; }
.handful__list li:last-child{ margin-bottom:0; }
.handful__list li::before{
  content:''; position:absolute; left:0; top:.62em; width:12px; height:2px; background:var(--flame);
}

/* ── events.html ─────────────────────────────────────────────────────── */
.mp-hero{ background:var(--coffee); color:var(--ivory); padding-block:clamp(40px,6vw,72px); }
.mp-hero h1{ color:var(--ivory); margin-bottom:.3em; font-size:clamp(2.1rem,5vw,3.4rem);
             font-variation-settings:'opsz' 144,'SOFT' 0,'WONK' 1; }
.mp-hero p{ color:var(--ash); max-width:60ch; }
.crumbs{ font-size:.8rem; font-weight:600; color:var(--ash); margin-bottom:18px; }
.crumbs a{ color:var(--ash); text-decoration:none; }
.crumbs a:hover{ color:var(--flame-lift); }

.ev-wrap{ background:var(--ivory); padding-block:var(--sec-y); }
.ev-wrap > *{ width:100%; max-width:var(--max); margin-inline:auto; padding-inline:var(--gutter); }
.ev-grid--all{ grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),420px)); justify-content:center; }
.ev-empty{
  text-align:center; padding:clamp(40px,6vw,72px) var(--gutter);
  border:1px dashed var(--ivory-3); border-radius:var(--radius-lg);
  color:var(--mute); font-size:1.05rem; background:#FBF7F0;
}
.ev-tail{ text-align:center; margin-top:clamp(34px,4vw,52px); }
.ev-tail p{ max-width:56ch; margin:0 auto 22px; color:var(--mute); }
.ev-cta{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }

/* ── grid helpers ────────────────────────────────────────────────────── */
.grid{ display:grid; gap:clamp(20px,2.6vw,30px); }
.cols-2{ grid-template-columns:repeat(2,1fr); }
.cols-3{ grid-template-columns:repeat(3,1fr); }

/* ── reveals ─────────────────────────────────────────────────────────── */
.js .reveal{ opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease; }
.js .reveal.in{ opacity:1; transform:none; }

/* ── focus ───────────────────────────────────────────────────────────── */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:3px solid var(--flame); outline-offset:3px; border-radius:2px;
}

/* ═══════════════════════════ RESPONSIVE ═══════════════════════════════ */
@media (max-width:1040px){
  .split,.contact,.ev-grid{ grid-template-columns:1fr; }
  .profile{ grid-template-columns:260px 1fr; }
  .footer__top{ grid-template-columns:1fr 1fr; }
  .badge-float{ left:auto; right:14px; bottom:-14px; }
  .doors{ grid-template-columns:1fr; }
  .steps{ grid-template-columns:repeat(2,1fr); }
}

@media (max-width:980px){
  .hero__grid{ grid-template-columns:1fr; }
  .hero__scripture{ margin-top:clamp(28px,4vw,40px); }
}

@media (max-width:860px){
  .nav__links{
    display:none; position:absolute; left:0; right:0; top:100%;
    flex-direction:column; align-items:stretch; gap:0;
    /* One step lighter than --coffee ON PURPOSE. The panel used to be the
       same colour as the dark sections it opens over, so at #contact or
       #events it had no edge at all: the page content simply carried on
       underneath the last link and the whole thing looked broken. */
    background:var(--coffee-2);
    border-bottom:2px solid var(--flame);
    box-shadow:0 26px 44px rgba(0,0,0,.6);
    padding:8px var(--gutter) 16px;
    /* a short phone in landscape must still be able to reach Contact */
    max-height:calc(100vh - 72px); overflow-y:auto;
  }
  .nav__links.open{ display:flex; }
  /* Dim the whole page behind the panel. This cannot live on .nav__links:
     that element scrolls (overflow-y:auto), which clips its own ::after to
     its box, so the scrim stopped at the last link. A fixed layer at z-index
     90 sits under .nav (z-index 100), so the bar and its menu stay lit and
     everything else goes dark. */
  body.menu-open::before{
    content:''; position:fixed; inset:0; z-index:90;
    background:rgba(8,6,5,.82);
  }
  /* The page must not scroll behind an open menu. Scoped to the width where
     the menu exists, so resizing to desktop can never leave it stuck. */
  body.menu-open{ overflow:hidden; }
  .nav__links a{ padding:14px 0; border-bottom:1px solid var(--coffee-3); border-radius:0; font-size:1rem; }
  .nav__links a:last-child{ border-bottom:0; }
  .nav__links a.active::after{ left:0; right:auto; width:18px; bottom:8px; }
  .burger{ display:flex; }
  /* .nav__links carries the margin-left:auto that pushes everything right,
     and it is display:none here — so without this the burger sits against
     the logo instead of in the corner people reach for. */
  .nav__actions{ margin-left:auto; }
  .nav__actions .btn{ display:none; }
  .nav{ position:sticky; }
  .nav__inner{ position:relative; }

  .pillars{ grid-template-columns:repeat(2,1fr); }
  .pillar:nth-child(2n){ border-right:0; }
  .facts{ grid-template-columns:repeat(2,1fr); }
  .fact:nth-child(2n){ border-right:0; }
  .fact:nth-child(-n+2){ border-bottom:1px solid var(--coffee-3); }
  .trail{ grid-template-columns:1fr; }
  .tier{ border-left:0; border-top:1px solid var(--coffee-3); padding-left:0; }
  .tier:first-child{ border-top:0; padding-top:0; }
  .cols-3{ grid-template-columns:1fr; }
  .profile{ grid-template-columns:1fr; }
  .profile__shot{ position:static; max-width:320px; }
}

@media (max-width:620px){
  :root{ --radius-lg:6px; }
  .leaders{ gap:34px; }
  .leader__shot{ max-width:330px; }
  .cols-2,.cform__row,.steps{ grid-template-columns:1fr; }
  .footer__top{ grid-template-columns:1fr; }
  .lifeblock{ grid-template-columns:1fr; gap:6px; }
  .lifeblock__l{ font-size:2.6rem; }
  /* The four letters stay on one line to the smallest phone: breaking the
     acronym across two rows would stop it reading as a word. */
  .lifeword__row{ gap:4px; padding-bottom:10px; }
  .hero__scripture{ margin-top:30px; }
}

@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.001ms!important; transition-duration:.001ms!important; }
  .js .reveal{ opacity:1; transform:none; }
}
