/* ==========================================================================
   JCI South Africa — site styles
   Based on JCI Brand Guidelines v1.2 (Nov 2025)
   Colours: JCI Blue, Black, White (primary) · Navy, Teal, Yellow (secondary)
   Type: Plus Jakarta Sans (all text) · Arvo (large quotes & callouts only)
   ========================================================================== */

:root {
  /* Primary */
  --jci-blue: #0097d7;
  --jci-black: #130f2d;
  --jci-white: #ffffff;
  /* Secondary — use sparingly */
  --jci-navy: #1f4789;
  --jci-teal: #57bcbc;
  --jci-yellow: #efc40f;

  /* Tints (brand 25/50/75% steps, mixed with white) */
  --blue-10: #e6f5fb;
  --blue-25: #bfe5f5;
  --black-75: #4e4b62;
  --black-50: #898796;
  --black-10: #e8e7ea;
  --paper: #f6f8fb;

  /* UI */
  --text: var(--jci-black);
  --text-muted: #57546b;
  --line: #e3e4ea;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(19, 15, 45, .06), 0 8px 24px rgba(19, 15, 45, .06);
  --shadow-lg: 0 2px 4px rgba(19, 15, 45, .06), 0 20px 48px rgba(19, 15, 45, .12);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 80px;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-quote: "Arvo", Georgia, serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--jci-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, iframe { max-width: 100%; display: block; }
a { color: var(--jci-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--jci-blue); outline-offset: 3px; border-radius: 4px; }

/* ---------- Typography (lighter weights, per guidelines) ---------- */
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -0.02em; font-weight: 500; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-weight: 400; line-height: 1.08; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 400; }
h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1em; }
strong { font-weight: 600; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; font-weight: 300; color: var(--text-muted); }
.muted { color: var(--text-muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--jci-blue); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.hl { color: var(--jci-blue); font-weight: 600; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tint { background: var(--paper); }
.section--blue { background: var(--jci-blue); color: #fff; }
.section--dark { background: var(--jci-black); color: #fff; }
.section--dark .lead, .section--blue .lead { color: rgba(255,255,255,.82); }
.section--dark .eyebrow { color: var(--jci-teal); }
.section--blue .eyebrow { color: var(--jci-black); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--row { max-width: none; display: flex; gap: 24px; align-items: end; justify-content: space-between; flex-wrap: wrap; }
.section-head--row > div { max-width: 700px; }

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--wide-left { grid-template-columns: 1.2fr 1fr; }
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split--wide-left { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: .95rem; line-height: 1; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--jci-blue); color: #fff; }
.btn--primary:hover { background: #0084bd; }
.btn--dark { background: var(--jci-black); color: #fff; }
.btn--dark:hover { background: #231e4a; }
.btn--white { background: #fff; color: var(--jci-black); }
.btn--white:hover { background: var(--blue-10); }
.btn--outline { border-color: currentColor; color: var(--jci-black); background: transparent; }
.btn--outline-light { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Top bar + Header ---------- */
.topbar { background: var(--jci-black); color: rgba(255,255,255,.78); font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: #fff; }
.topbar__info, .topbar__links { display: flex; gap: 20px; align-items: center; }
.topbar__social { display: flex; gap: 12px; }
.topbar__social svg { width: 15px; height: 15px; fill: currentColor; }
@media (max-width: 760px) { .topbar__info span.hide-sm { display: none; } }
@media (max-width: 520px) { .topbar { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 50; background: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(19,15,45,.06); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand img { height: 52px; width: auto; }   /* min 32px per guidelines */
.brand:hover { text-decoration: none; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
  display: flex; align-items: center; gap: 4px; padding: .6rem .8rem; border-radius: 8px;
  color: var(--jci-black); font-weight: 500; font-size: .94rem; background: none; border: 0;
}
.nav__link:hover { color: var(--jci-blue); text-decoration: none; background: var(--blue-10); }
.nav__link[aria-current="page"], .nav__item.is-current > .nav__link { color: var(--jci-blue); }
.nav__link .chev { width: 14px; height: 14px; transition: transform .2s; }
.nav__sub {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px; list-style: none; margin: 0; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s;
}
.nav__item:hover > .nav__sub, .nav__item.is-open > .nav__sub, .nav__item:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__item:hover .chev, .nav__item.is-open .chev { transform: rotate(180deg); }
.nav__sub a { display: block; padding: .6rem .8rem; border-radius: 8px; color: var(--jci-black); font-size: .93rem; }
.nav__sub a small { display: block; color: var(--text-muted); font-size: .8rem; }
.nav__sub a:hover { background: var(--blue-10); text-decoration: none; }
.nav__sub a[aria-current="page"] { color: var(--jci-blue); font-weight: 600; }
.nav__cta { margin-left: 10px; }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; color: var(--jci-black); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 1100px) {
  .brand img { height: 44px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--nav-top, 80px) 0 0 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 16px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; }
  .nav__link { width: 100%; justify-content: space-between; padding: .95rem .5rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; padding: 4px 0 8px 12px; }
  .nav__item.is-open > .nav__sub { display: block; }
  .nav__item:hover > .nav__sub { display: none; }
  .nav__item.is-open:hover > .nav__sub { display: block; }
  .nav__cta { margin: 20px 0 0; }
  .nav__cta .btn { width: 100%; padding: 1rem; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Ripple (brand motif) ---------- */
.ripple { position: absolute; pointer-events: none; }
.ripple svg { width: 100%; height: 100%; overflow: visible; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; background: var(--jci-black); color: #fff; overflow: hidden; }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; min-height: min(760px, calc(100vh - 118px)); padding-top: 72px; padding-bottom: 72px; }
.hero h1 { margin-bottom: .4em; }
.hero h1 em { font-style: normal; color: var(--jci-blue); }
.hero .lead { color: rgba(255,255,255,.8); max-width: 34em; margin-bottom: 2rem; }
.hero__tag { display: inline-flex; gap: .5rem; align-items: center; font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--jci-teal); margin-bottom: 1.4rem; }
.hero__tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--jci-yellow); }
.hero__visual { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: end; }
.hero__visual .ripple { inset: -10%; }
.hero__photo { position: absolute; inset: 15%; border-radius: 50%; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.hero__photo .ph { height: 100%; }
.hero__badge {
  position: absolute; z-index: 3; background: #fff; color: var(--jci-black); border-radius: 14px; padding: 12px 16px;
  box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center; font-size: .85rem; line-height: 1.3;
}
.hero__badge b { font-size: 1.4rem; color: var(--jci-blue); font-weight: 700; }
.hero__badge--a { left: 0; bottom: 14%; }
.hero__badge--b { right: 0; top: 10%; }
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; min-height: 0; padding-top: 56px; }
  .hero__visual { justify-self: center; max-width: 440px; }
}
@media (max-width: 520px) { .hero__badge { font-size: .75rem; padding: 8px 12px; } .hero__badge b { font-size: 1.1rem; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--jci-black); color: #fff; overflow: hidden; padding: clamp(64px, 9vw, 112px) 0 clamp(56px, 7vw, 88px); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 16em; }
.page-hero .lead { color: rgba(255,255,255,.8); max-width: 40em; margin: 0; }
.page-hero .ripple { width: min(640px, 80vw); aspect-ratio: 1; right: -12%; top: 50%; transform: translateY(-50%); opacity: .9; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 1.4rem; list-style: none; padding: 0; }
.crumbs a { color: rgba(255,255,255,.8); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }

/* Sub navigation (About section) */
.subnav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: var(--header-h); z-index: 40; }
.subnav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.subnav a { display: block; padding: 1rem 1.1rem; color: var(--text-muted); font-weight: 500; font-size: .93rem; white-space: nowrap; border-bottom: 2px solid transparent; }
.subnav a:hover { color: var(--jci-black); text-decoration: none; }
.subnav a[aria-current="page"] { color: var(--jci-blue); border-color: var(--jci-blue); }

/* ---------- Image placeholders ---------- */
.ph {
  position: relative; width: 100%; height: 100%; min-height: 180px; overflow: hidden;
  background: linear-gradient(135deg, var(--jci-navy), var(--jci-blue) 70%, var(--jci-teal));
  display: flex; align-items: flex-end; color: rgba(255,255,255,.92);
}
.ph--dark { background: linear-gradient(135deg, var(--jci-black), var(--jci-navy)); }
.ph--teal { background: linear-gradient(135deg, var(--jci-navy), var(--jci-teal)); }
.ph::before {
  content: ""; position: absolute; inset: 0; opacity: .22;
  background: repeating-radial-gradient(circle at 85% 15%, transparent 0 14px, #fff 14px 16px, transparent 16px 30px);
}
.ph span {
  position: relative; margin: 14px; padding: 6px 10px; border-radius: 8px; font-size: .75rem; font-weight: 600;
  background: rgba(19,15,45,.45); backdrop-filter: blur(4px); display: inline-flex; gap: 6px; align-items: center;
}
.ph span::before { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: var(--cam) center/contain no-repeat; mask: var(--cam) center/contain no-repeat; }
:root { --cam: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 3 7.2 5H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-3.2L15 3H9zm3 5a5 5 0 1 1 0 10 5 5 0 0 1 0-10zm0 2a3 3 0 1 0 0 6 3 3 0 0 0 0-6z'/%3E%3C/svg%3E"); }
.media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.media--tall { aspect-ratio: 4/5; }
.media--wide { aspect-ratio: 16/9; }
.media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 32px); transition: box-shadow .2s, transform .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }

/* Four areas of opportunity */
.area { position: relative; overflow: hidden; display: flex; flex-direction: column; }
.area__icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.2rem; background: var(--blue-10); color: var(--jci-blue); }
.area__icon svg { width: 28px; height: 28px; }
.area__num { position: absolute; right: 22px; top: 18px; font-size: .8rem; font-weight: 700; color: var(--black-50); letter-spacing: .08em; }
.area p { color: var(--text-muted); font-size: .96rem; }
.area:nth-child(2) .area__icon { background: #e7f6f6; color: #2c8f8f; }
.area:nth-child(3) .area__icon { background: #e8edf6; color: var(--jci-navy); }
.area:nth-child(4) .area__icon { background: #fdf6d9; color: #a3850a; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 8px 28px; border-left: 1px solid rgba(255,255,255,.28); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { font-size: clamp(2.4rem, 4.6vw, 3.6rem); font-weight: 300; line-height: 1; letter-spacing: -0.03em; margin-bottom: .5rem; }
.stat__label { font-size: .95rem; opacity: .88; line-height: 1.4; }
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* Pillars (Mission / Vision / Values) */
.pillar { padding: 32px; border-radius: var(--radius); background: #fff; border-top: 4px solid var(--jci-blue); box-shadow: var(--shadow); }
.pillar:nth-child(2) { border-color: var(--jci-teal); }
.pillar:nth-child(3) { border-color: var(--jci-navy); }
.pillar h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--jci-blue); margin-bottom: 1rem; }
.pillar p { font-size: 1.2rem; font-weight: 400; line-height: 1.45; margin: 0; }

/* President message */
.message { display: grid; grid-template-columns: 380px 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.message__photo { position: relative; }
.message__photo .media { border-radius: 50%; aspect-ratio: 1; position: relative; z-index: 1; }
.message__photo .ripple { inset: -16%; z-index: 0; }
.message blockquote { margin: 0 0 1.4rem; font-family: var(--font-quote); font-size: clamp(1.35rem, 2.3vw, 1.8rem); line-height: 1.4; color: var(--jci-black); }
.message blockquote::before { content: "“"; display: block; font-size: 4rem; line-height: .6; color: var(--jci-blue); margin-bottom: .3rem; }
.sig b { display: block; font-weight: 600; font-size: 1.05rem; }
.sig span { color: var(--text-muted); font-size: .92rem; }
@media (max-width: 860px) { .message { grid-template-columns: 1fr; } .message__photo { max-width: 300px; margin: 0 auto 24px; } }

/* Programme feature */
.programme { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.programme .media { border-radius: 0; aspect-ratio: auto; min-height: 280px; }
.programme__body { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; }
.programme__kicker { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--jci-teal); margin-bottom: .6rem; }
@media (max-width: 760px) { .programme { grid-template-columns: 1fr; } .programme .media { min-height: 200px; } }

/* News cards */
.news-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .2s, transform .2s; color: inherit; height: 100%; }
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); text-decoration: none; }
.news-card .media { border-radius: 0; aspect-ratio: 16/10; }
.news-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.news-card__meta { display: flex; gap: 10px; align-items: center; font-size: .8rem; color: var(--text-muted); margin-bottom: .7rem; flex-wrap: wrap; }
.news-card h3 { font-size: 1.15rem; line-height: 1.35; margin-bottom: .6rem; }
.news-card p { color: var(--text-muted); font-size: .95rem; }
.news-card .link-arrow { margin-top: auto; font-size: .92rem; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--blue-10); color: #00739f; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.tag--teal { background: #e3f4f4; color: #257a7a; }
.tag--navy { background: #e6ebf4; color: var(--jci-navy); }
.tag--yellow { background: #fcf3cc; color: #7d6606; }
.tag--sample { background: #fff; border: 1px dashed var(--black-50); color: var(--text-muted); }

.news-featured { display: grid; grid-template-columns: 1.3fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; }
.news-featured:hover { text-decoration: none; box-shadow: var(--shadow-lg); }
.news-featured .media { border-radius: 0; aspect-ratio: auto; min-height: 320px; }
.news-featured .news-card__body { padding: clamp(24px, 3vw, 44px); justify-content: center; }
.news-featured h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 500; }
@media (max-width: 860px) { .news-featured { grid-template-columns: 1fr; } .news-featured .media { min-height: 220px; } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { border: 1px solid var(--line); background: #fff; color: var(--jci-black); padding: .5rem 1rem; border-radius: 999px; font-size: .88rem; font-weight: 500; }
.chip:hover { border-color: var(--jci-blue); color: var(--jci-blue); }
.chip.is-active { background: var(--jci-black); color: #fff; border-color: var(--jci-black); }

/* Facebook feed */
.fb-wrap { display: grid; grid-template-columns: 1fr 520px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.fb-frame { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 10px; box-shadow: var(--shadow); display: flex; justify-content: center; }
.fb-frame iframe { border: 0; width: 500px; max-width: 100%; height: 760px; }
.fb-fallback { font-size: .85rem; color: var(--text-muted); margin-top: 12px; }
@media (max-width: 1060px) { .fb-wrap { grid-template-columns: 1fr; } }

/* Social tiles */
.socials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.social-tile { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 14px; border: 1px solid var(--line); color: var(--jci-black); background: #fff; }
.social-tile:hover { border-color: var(--jci-blue); text-decoration: none; }
.social-tile svg { width: 26px; height: 26px; fill: var(--jci-blue); flex: none; }
.social-tile b { display: block; font-weight: 600; }
.social-tile small { color: var(--text-muted); }
@media (max-width: 480px) { .socials { grid-template-columns: 1fr; } }

/* Testimonials */
.quote-card { margin: 0; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; }
.quote-card blockquote { margin: 0 0 1.6rem; font-family: var(--font-quote); font-size: 1.08rem; line-height: 1.6; }
.quote-card footer { margin-top: auto; display: flex; gap: 14px; align-items: center; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--jci-blue), var(--jci-teal)); display: grid; place-items: center; font-weight: 700; color: #fff; flex: none; font-size: .95rem; }
.quote-card footer b { display: block; font-weight: 600; }
.quote-card footer span { font-size: .85rem; opacity: .7; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--jci-blue); color: #fff; border-radius: calc(var(--radius) + 8px); padding: clamp(40px, 6vw, 80px); }
.cta-band h2 { max-width: 14em; }
.cta-band p { max-width: 36em; color: rgba(255,255,255,.9); font-size: 1.1rem; }
.cta-band .ripple { width: 560px; aspect-ratio: 1; right: -160px; top: 50%; transform: translateY(-50%); }
.cta-band > *:not(.ripple) { position: relative; z-index: 1; }

/* Partners */
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: 1100px; margin: 0 auto; }
.logos .logo-slot { flex: 0 1 140px; aspect-ratio: 3/2; }
.logo-slot { aspect-ratio: 3/2; border: 1px solid var(--line); padding: 18px; border-radius: 12px; display: grid; place-items: center; color: var(--black-50); font-size: .8rem; font-weight: 600; background: #fff; }
@media (max-width: 480px) { .logos .logo-slot { flex-basis: calc(50% - 7px); } }

/* ---------- Timeline (Milestones) ---------- */
.timeline { position: relative; max-width: 1000px; margin: 0 auto; padding: 8px 0; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--jci-blue), var(--jci-teal)); transform: translateX(-50%); }
.tl-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; margin-bottom: 40px; }
.tl-item__dot { position: absolute; left: 50%; top: 26px; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--jci-blue); transform: translateX(-50%); z-index: 1; }
.tl-item--major .tl-item__dot { width: 26px; height: 26px; top: 22px; background: var(--jci-blue); box-shadow: 0 0 0 6px var(--blue-25); }
.tl-item__card { grid-column: 1; text-align: right; }
.tl-item:nth-child(even) .tl-item__card { grid-column: 2; text-align: left; }
.tl-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--shadow); }
.tl-card__year { font-size: 2.2rem; font-weight: 300; color: var(--jci-blue); line-height: 1; letter-spacing: -.03em; margin-bottom: .5rem; }
.tl-card h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.tl-card p { color: var(--text-muted); font-size: .96rem; margin: 0; }
.tl-card .tag { margin-bottom: .8rem; }
.tl-era { position: relative; text-align: center; margin: 56px 0 40px; }
.tl-era span { position: relative; z-index: 1; background: var(--jci-black); color: #fff; padding: .5rem 1.2rem; border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 760px) {
  .timeline::before { left: 11px; }
  .tl-item { grid-template-columns: 1fr; gap: 0; padding-left: 40px; margin-bottom: 24px; }
  .tl-item__dot { left: 11px; }
  .tl-item__card, .tl-item:nth-child(even) .tl-item__card { grid-column: 1; text-align: left; }
  .tl-era { text-align: left; margin: 40px 0 28px; }
}

/* ---------- Past presidents ---------- */
.president-feature { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.president-feature .media { aspect-ratio: 1; border-radius: 50%; }
@media (max-width: 760px) { .president-feature { grid-template-columns: 1fr; } .president-feature .media { max-width: 240px; } }
.decade { margin-bottom: 56px; }
.decade__title { display: flex; align-items: center; gap: 16px; font-size: 1.5rem; font-weight: 300; margin-bottom: 24px; }
.decade__title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.person { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 18px; transition: box-shadow .2s; }
.person:hover { box-shadow: var(--shadow-lg); }
.person__photo { width: 112px; height: 112px; margin: 0 auto 14px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--blue-25); }
.person__photo .ph { min-height: 0; }
.person__photo .ph span { display: none; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__year { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--jci-blue); background: var(--blue-10); border-radius: 999px; padding: 2px 10px; margin-bottom: .6rem; }
.person h3 { font-size: 1.02rem; margin-bottom: .15rem; }
.person p { font-size: .85rem; color: var(--text-muted); margin: 0; }
.person .initials { width: 100%; height: 100%; display: grid; place-items: center; font-size: 1.8rem; font-weight: 300; color: #fff; }

.search { position: relative; max-width: 360px; width: 100%; }
.search input { width: 100%; padding: .8rem 1rem .8rem 2.8rem; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: .95rem; background: #fff; }
.search input:focus { outline: none; border-color: var(--jci-blue); box-shadow: 0 0 0 4px var(--blue-10); }
.search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--black-50); }

/* International officers table */
.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: auto; max-height: 560px; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th { position: sticky; top: 0; background: var(--jci-black); color: #fff; text-align: left; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; padding: 14px 20px; font-weight: 700; }
.table td { padding: 12px 20px; border-top: 1px solid var(--line); vertical-align: top; color: var(--text-muted); }
.table td b { color: var(--jci-black); font-weight: 600; }
.table tr:hover td { background: var(--paper); }
.t-year { font-weight: 700; color: var(--jci-blue) !important; width: 90px; }

/* National conventions */
.convs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.conv { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.conv__year { font-size: .8rem; font-weight: 700; color: var(--jci-blue); }
.conv b { font-weight: 600; font-size: .98rem; }
.conv small { color: var(--text-muted); font-size: .8rem; line-height: 1.35; }

/* Local organisations / University chapters tabs */
.pane-tabs { display: inline-flex; gap: 4px; padding: 5px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 36px; max-width: 100%; overflow-x: auto; }
.pane-tab { border: 0; background: transparent; color: var(--text-muted); font-weight: 600; font-size: .95rem; padding: .75rem 1.3rem; border-radius: 999px; white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; }
.pane-tab:hover { color: var(--jci-black); }
.pane-tab[aria-selected="true"] { background: var(--jci-black); color: #fff; }
.pane-tab span { font-size: .75rem; min-width: 22px; padding: 2px 7px; border-radius: 999px; background: rgba(19,15,45,.08); }
.pane-tab[aria-selected="true"] span { background: var(--jci-blue); color: #fff; }
@media (max-width: 480px) { .pane-tab { padding: .7rem 1rem; font-size: .88rem; } }

/* ---------- Local organisations ---------- */
.lo-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s; }
.lo-card:hover { box-shadow: var(--shadow-lg); }
.lo-card__head { position: relative; padding: 28px 28px 22px; background: var(--jci-black); color: #fff; overflow: hidden; }
.lo-card__head .ripple { width: 240px; aspect-ratio: 1; right: -70px; top: -60px; opacity: .8; }
.lo-card__region { position: relative; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--jci-teal); margin-bottom: .4rem; }
.lo-card__head h3 { position: relative; font-size: 1.5rem; font-weight: 500; margin: 0; }
.lo-card__head h3 span { color: var(--jci-blue); }
.lo-card__body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.lo-line { display: flex; gap: 12px; align-items: flex-start; font-size: .94rem; color: var(--text-muted); }
.lo-line svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--jci-blue); }
.lo-line a { color: var(--jci-black); word-break: break-word; }
.lo-line a:hover { color: var(--jci-blue); }
.lo-card__foot { margin-top: auto; padding-top: 10px; display: flex; gap: 10px; flex-wrap: wrap; }
.lo-card__foot .btn { padding: .7rem 1.1rem; font-size: .88rem; }
.btn--disabled { background: var(--paper); color: var(--black-50); pointer-events: none; }

.sa-map { position: relative; }
.sa-map svg { width: 100%; height: auto; }
.sa-map .pin circle { fill: var(--jci-blue); }
.sa-map .pin .pulse { fill: var(--jci-blue); opacity: .25; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
.sa-map text { font: 600 13px var(--font); fill: var(--jci-black); }
@keyframes pulse { from { transform: scale(.6); opacity: .45; } to { transform: scale(2.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sa-map .pin .pulse { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Creed ---------- */
.creed { position: relative; background: var(--jci-black); color: #fff; border-radius: calc(var(--radius) + 8px); padding: clamp(36px, 6vw, 80px); overflow: hidden; }
.creed .ripple { width: 620px; aspect-ratio: 1; left: -240px; bottom: -260px; opacity: .6; }
.creed__text { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; text-align: center; }
.creed__text p { font-family: var(--font-quote); font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.6; margin: 0 0 .7em; color: rgba(255,255,255,.92); }
.creed__text p:first-of-type::first-line { color: var(--jci-teal); }

/* Board */
.board-member { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 16px; }
.board-member .media { aspect-ratio: 1; width: min(160px, 70%); margin: 0 auto 14px; border-radius: 50%; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--blue-25); }
.board-member .media .ph span { display: none; }
.board-member h3 { font-size: 1.05rem; margin: 0 0 .1rem; }
.board-member p { font-size: .88rem; color: var(--text-muted); margin: 0; }

.board-note { grid-column: 1 / -1; margin: 0; font-size: .88rem; color: var(--text-muted); }

/* Feature list */
.checks { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--blue-10) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230097d7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 8'/%3E%3C/svg%3E") center/14px no-repeat; }

/* Global levels (Local → National → Area → World) */
.levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.level { position: relative; padding: 0 20px 0 0; }
.level__ring { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; margin-bottom: 18px; position: relative; z-index: 1; }
.level:nth-child(1) .level__ring { background: var(--jci-blue); color: #fff; box-shadow: 0 0 0 8px var(--blue-10); }
.level:nth-child(2) .level__ring { background: var(--jci-teal); color: var(--jci-black); box-shadow: 0 0 0 8px #e3f4f4; }
.level:nth-child(3) .level__ring { background: var(--jci-navy); color: #fff; box-shadow: 0 0 0 8px #e6ebf4; }
.level:nth-child(4) .level__ring { background: var(--jci-black); color: #fff; box-shadow: 0 0 0 8px var(--black-10); }
.levels::before { content: ""; position: absolute; top: 32px; left: 32px; right: 12%; height: 2px; background: var(--line); }
.level h3 { font-size: 1.1rem; }
.level p { color: var(--text-muted); font-size: .94rem; }
@media (max-width: 860px) { .levels { grid-template-columns: 1fr 1fr; gap: 32px 0; } .levels::before { display: none; } }
@media (max-width: 480px) { .levels { grid-template-columns: 1fr; } }

/* Contact */
.contact-list { display: grid; gap: 18px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-10); color: var(--jci-blue); display: grid; place-items: center; flex: none; }
.contact-item__icon svg { width: 22px; height: 22px; }
.contact-item b { display: block; font-weight: 600; }
.contact-item a, .contact-item span { color: var(--text-muted); }
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: .98rem; color: var(--jci-black); background: #fff;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--jci-blue); box-shadow: 0 0 0 4px var(--blue-10); }
.form-note { font-size: .85rem; color: var(--text-muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--jci-black); color: rgba(255,255,255,.72); position: relative; overflow: hidden; padding-top: clamp(56px, 7vw, 88px); font-size: .95rem; }
.site-footer .ripple { width: 520px; aspect-ratio: 1; right: -180px; top: -180px; opacity: .5; }
.footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 28em; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.footer-social a:hover { background: var(--jci-blue); border-color: var(--jci-blue); }
.footer-social svg { width: 17px; height: 17px; fill: #fff; }
.footer-bottom { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .84rem; color: rgba(255,255,255,.55); }
.footer-bottom a { color: rgba(255,255,255,.7); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--jci-black); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
.note { border-left: 4px solid var(--jci-yellow); background: #fffbea; padding: 14px 18px; border-radius: 0 10px 10px 0; font-size: .92rem; color: var(--black-75); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Circular photo placeholders: centre the label so it isn't clipped */
.hero__photo .ph, .message__photo .ph, .president-feature .ph { align-items: center; justify-content: center; }
/* Keep hero text above the ripple */
.hero .container > div:first-child { position: relative; z-index: 3; }

/* Real photos */
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.message__photo img, .president-feature img, .board-member img, .person__photo img { object-position: center 22%; }
.lo-card__head--photo { background-size: cover; background-position: center 18%; min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end; }
.lo-card__head--photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,15,45,.15) 0%, rgba(19,15,45,.88) 85%); }
.tl-card__img { max-width: none; width: calc(100% + 56px); margin: -24px -28px 18px; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }

/* Gallery */
.gallery { columns: 3 260px; column-gap: 14px; }
.gallery button { display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--paper); break-inside: avoid; cursor: zoom-in; }
.gallery img { width: 100%; height: auto; transition: transform .35s ease; }
.gallery button:hover img { transform: scale(1.03); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(19,15,45,.92); }
.lightbox img { max-width: min(1200px, 94vw); max-height: 84vh; width: auto; height: auto; border-radius: 10px; margin: 0 auto; }
.lightbox p { color: rgba(255,255,255,.85); text-align: center; margin: 12px 0 0; font-size: .92rem; }
.lightbox__btn { position: fixed; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 1.4rem; display: grid; place-items: center; }
.lightbox__btn:hover { background: var(--jci-blue); }
.lightbox__prev { left: 16px; } .lightbox__next { right: 16px; }
.lightbox__close { top: 24px; right: 16px; transform: none; }

.logo-slot { min-width: 0; overflow: hidden; }
.logo-slot img { width: 100%; height: 100%; object-fit: contain; }
.logo-slot--text { font-size: 1.15rem; font-weight: 700; color: var(--jci-navy); letter-spacing: .01em; text-align: center; }
.partners-label { text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 16px; }
.logos + .partners-label { margin-top: 40px; }

/* Contact form status + captcha */
.h-captcha { min-height: 78px; }
.form-status { margin: 0; padding: 12px 16px; border-radius: 10px; font-size: .95rem; background: var(--blue-10); color: var(--jci-black); }
.form-status--ok { background: #e3f4ec; color: #14532d; }
.form-status--error { background: #fdecec; color: #8a1c1c; }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }

/* Local Presidents */
.lp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.lp-card { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.lp-card__photo { width: 72px; height: 72px; flex: none; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--blue-25); }
.lp-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.lp-card__photo .ph { min-height: 0; height: 100%; }
.lp-card__photo .ph span { display: none; }
.lp-card__photo .initials { width: 100%; height: 100%; display: grid; place-items: center; color: #fff; font-weight: 300; font-size: 1.3rem; }
.lp-card__lo { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--jci-blue); margin-bottom: 2px; }
.lp-card h3 { font-size: 1.02rem; margin: 0 0 2px; }
.lp-card p { margin: 0; font-size: .85rem; color: var(--text-muted); }
.lp-group + .lp-group { margin-top: 40px; }
.lp-group__title { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.lp-group__title span { font-size: .75rem; font-weight: 600; color: var(--text-muted); background: var(--blue-25, #eef6fb); border-radius: 999px; padding: 2px 9px; }
/* University chapters: smaller, lighter cards so they read as campus chapters, not full local organisations */
.lp-group--uni { background: #f4f9f9; border-radius: var(--radius); padding: 20px; }
.lp-group--uni .lp-group__title { font-size: 1rem; border-bottom-color: #d6ecec; }
.lp-group--uni .lp-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.lp-card--uni { padding: 12px 14px; gap: 12px; border-color: #d6ecec; }
.lp-card--uni .lp-card__photo { width: 52px; height: 52px; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #bfe3e3; }
.lp-card--uni .lp-card__photo .initials { font-size: 1rem; }
.lp-card--uni .lp-card__lo { color: #257a7a; font-size: .68rem; }
.lp-card--uni h3 { font-size: .95rem; }
.lp-card--uni p { font-size: .8rem; }
.stats--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) {
  .stats--3 { grid-template-columns: 1fr; gap: 24px; }
  .stats--3 .stat { border-left: 0; padding-left: 0; }
}

/* About → Leadership quick links */
.lead-link { display: flex; flex-direction: column; color: inherit; }
.lead-link:hover { text-decoration: none; }
.lead-link__k { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--jci-blue); margin-bottom: .5rem; }
.lead-link .link-arrow { margin-top: auto; padding-top: .6rem; color: var(--jci-blue); }

/* ---------- Article (article.html?id=…) ---------- */
.article-hero h1 { max-width: 20em; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; color: rgba(255,255,255,.75); font-size: .9rem; margin-top: 1.4rem; }
.article-cover .media { aspect-ratio: 16/10; box-shadow: var(--shadow-lg); max-width: 1000px; margin: 0 auto; }
.prose { max-width: 740px; margin: 0 auto; font-size: 1.06rem; line-height: 1.75; }
.prose p { margin-bottom: 1.25em; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 500; margin: 1.8em 0 .6em; }
.prose blockquote { margin: 2em 0; padding: 0 0 0 24px; border-left: 4px solid var(--jci-blue); font-family: var(--font-quote); font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.5; color: var(--jci-black); }
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: var(--radius); width: 100%; }
.article-author { max-width: 740px; margin: 0 auto 2rem; padding: 16px 20px; border-radius: 12px; background: var(--paper); font-size: .92rem; color: var(--text-muted); }
.article-author b { color: var(--jci-black); font-weight: 600; }
.article-foot { max-width: 740px; margin: 2.5rem auto 0; padding-top: 1.6rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq-filters { justify-content: center; }
.faq__group { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--jci-blue); margin: 28px 0 10px; }
.faq__group:first-child { margin-top: 0; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; transition: box-shadow .2s; }
.faq__item[open] { box-shadow: var(--shadow); }
.faq__item summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 600; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--blue-10); color: var(--jci-blue); display: grid; place-items: center; font-size: 1.1rem; line-height: 1; }
.faq__item[open] summary::after { content: "\2013"; background: var(--jci-blue); color: #fff; }
.faq__a { padding: 0 22px 20px; color: var(--text-muted); }
.faq__a p { margin: 0 0 .6rem; }
.faq__a .link-arrow { font-size: .92rem; }
#faq-join { max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; align-items: start; }
@media (max-width: 760px) { #faq-join { grid-template-columns: 1fr; } }

/* ---------- "Ask us" helper ---------- */
.ask { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.ask__toggle { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 18px 12px 14px; background: var(--jci-blue); color: #fff; font-weight: 600; box-shadow: 0 8px 24px rgba(19,15,45,.3); }
.ask__toggle svg { width: 22px; height: 22px; }
.ask.is-open .ask__toggle { background: var(--jci-black); }
.ask__panel { width: min(380px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 120px)); display: flex; flex-direction: column; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); overflow: hidden; }
.ask__panel[hidden] { display: none; }
.ask__head { position: relative; padding: 16px 52px 14px 18px; background: linear-gradient(120deg, var(--jci-black), var(--jci-navy)); color: #fff; }
.ask__head b { display: block; font-size: 1.05rem; }
.ask__head span { font-size: .82rem; opacity: .85; }
.ask__close { position: absolute; right: 10px; top: 10px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; display: grid; place-items: center; }
.ask__close svg { width: 18px; height: 18px; }
.ask__body { padding: 16px 18px; overflow-y: auto; flex: 1; font-size: .92rem; }
.ask__hint { color: var(--text-muted); font-size: .84rem; margin: 0 0 8px; }
.ask__chips { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 8px; }
.ask__chips .chip { text-align: left; font-size: .84rem; padding: .45rem .85rem; }
.ask__you { margin: 0 0 10px auto; max-width: 85%; width: fit-content; background: var(--jci-blue); color: #fff; padding: 8px 12px; border-radius: 14px 14px 4px 14px; }
.ask__answer { background: var(--paper); padding: 12px 14px; border-radius: 14px 14px 14px 4px; margin-bottom: 10px; }
.ask__answer b { display: block; margin-bottom: 4px; }
.ask__answer p { margin: 0 0 6px; color: var(--black-75); }
.ask__answer .link-arrow { font-size: .86rem; }
.ask__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.ask__form input { flex: 1; min-width: 0; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: .92rem; }
.ask__form input:focus { outline: none; border-color: var(--jci-blue); box-shadow: 0 0 0 3px var(--blue-10); }
.ask__form .btn { padding: .65rem 1.1rem; }
@media (max-width: 520px) { .ask { right: 12px; bottom: 12px; } .ask__toggle span { display: none; } .ask__toggle { padding: 14px; } }
@media print { .ask { display: none; } }
