/* ROHNSS public site — design system. Loaded after app.css on public pages only (admin/desk keep app.css).
   Fonts are self-hosted (CSP font-src 'self'). */
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/hanken-grotesk.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

/* ============================================================ tokens */
.site {
  /* colour */
  --night: #0a1230;      /* deep night navy — primary dark surface */
  --night-2: #121c45;
  --brand: #2b3d7d;      /* ROHNSS logo blue */
  --brand-2: #3f57b0;
  --sky: #a9bcf5;        /* light accent on dark */
  --amber: #f2b441;      /* CTA — Kigali sunlight */
  --amber-hi: #ffc75c;
  --clay: #c4593e;       /* Imigongo terracotta, used sparingly */
  --paper: #f5f3ee;      /* warm neutral background */
  --sand: #ebe6db;
  --white: #fff;
  --ink: #111a33;
  --ink-2: #39425f;
  --mute: #5c647e;
  --hair: rgba(17, 26, 51, .12);
  --hair-d: rgba(255, 255, 255, .14);
  --ok: #157347;
  --focus: #3f57b0;
  /* type */
  --f-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --f-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  /* shape & motion */
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 72px;
  --wrap: 1240px;
  --pad-sec: clamp(72px, 10vw, 136px);
  --shadow-1: 0 1px 2px rgba(10, 18, 48, .05), 0 8px 28px rgba(10, 18, 48, .07);
  --shadow-2: 0 2px 6px rgba(10, 18, 48, .06), 0 30px 70px rgba(10, 18, 48, .16);
  /* bridge legacy tokens used by shared components in app.css */
  --navy-900: var(--ink); --navy-800: var(--night-2); --navy-700: var(--brand); --navy-600: var(--brand-2);
  --bg: var(--paper); --line: #e2dfd7; --line-2: #d3d0c7; --muted: var(--mute); --sans: var(--f-sans); --serif: var(--f-sans);

  margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--f-sans);
  font-feature-settings: "ss01", "cv11"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.site .wrap { max-width: var(--wrap); padding: 0 clamp(16px, 4vw, 40px); }
.site .wrap-narrow { max-width: 820px; }
.site h1, .site h2, .site h3, .site h4 { font-family: var(--f-sans); color: inherit; font-weight: 650; letter-spacing: -.028em; line-height: 1.08; }
.site h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); }
.site h3 { font-size: 1.25rem; letter-spacing: -.015em; line-height: 1.25; }
.site h1 em, .site h2 em, .site .cta-final em, .site .theme-big em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.site a { color: var(--brand); }
.site a:hover { color: var(--ink); }
.site .muted { color: var(--mute); }
.site :focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.site .eyebrow { color: var(--brand-2); }
.site ::selection { background: var(--amber); color: var(--night); }

/* dark surfaces flip text + focus colour */
.home-hero, .page-hero, .confirm-band, .info-band:not(.info-band-light), .cta-final, .foot, .nav { --focus: var(--amber); }

.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; font-size: .78rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); }
.kicker::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow-line { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-2); }
.eyebrow-line::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(242, 180, 65, .22); }

/* ============================================================ buttons */
.btn-cta, .site .btn-cta-solid { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 50px; padding: 0 24px; border-radius: 999px;
  background: var(--amber); color: var(--night); border: 0; font: 650 1rem/1 var(--f-sans); letter-spacing: -.005em; text-decoration: none; cursor: pointer;
  transition: background .2s, transform .2s var(--ease), box-shadow .2s; box-shadow: 0 6px 22px rgba(242, 180, 65, .28); white-space: nowrap; }
.btn-cta svg, .btn-line svg, .btn-ghost-ink svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.site .btn-cta:hover, .site .btn-cta-solid:hover { background: var(--amber-hi); color: var(--night); transform: translateY(-1px); box-shadow: 0 10px 30px rgba(242, 180, 65, .38); }
.btn-cta:hover svg:last-child { transform: translateX(3px); }
.btn-cta[aria-disabled="true"] { background: #c9ccd6; color: #444b60; box-shadow: none; cursor: not-allowed; }
.btn-cta.btn-lg { min-height: 60px; padding: 0 32px; font-size: 1.08rem; }
.site .btn-cta.btn-sm { min-height: 42px; padding: 0 18px; font-size: .94rem; box-shadow: none; }
.btn-line { display: inline-flex; align-items: center; gap: .6em; min-height: 50px; padding: 0 22px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .32);
  color: #fff !important; text-decoration: none; font-weight: 600; transition: background .2s, border-color .2s; }
.btn-line:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .6); }
.btn-ghost-ink { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 50px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line-2);
  color: var(--ink) !important; background: var(--white); text-decoration: none; font-weight: 600; transition: border-color .2s, background .2s; }
.btn-ghost-ink:hover { border-color: var(--ink); }
/* restyle shared .btn (forms) within the site */
.site .btn { border-radius: 999px; background: var(--night-2); font-weight: 650; letter-spacing: 0; min-height: 50px; }
.site .btn:hover { background: var(--night); }
.site .btn-outline { background: var(--white); color: var(--ink); border: 1px solid var(--line-2); }
.site .btn-outline:hover { background: var(--white); border-color: var(--ink); color: var(--ink); }
.site .btn-cta-solid { min-height: 52px; }
.hide-xs { display: none; }
@media (min-width: 420px) { .hide-xs { display: inline; } }

/* ============================================================ navigation */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
html:not(.js) .nav, .nav.scrolled, .nav:has(.nav-sheet.open) { background: rgba(10, 18, 48, .9); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); box-shadow: 0 1px 0 var(--hair-d); }
.nav.nav.nav:has(.nav-sheet.open) { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--night); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--nav-h); }
.nav-brand { display: flex; align-items: center; gap: 12px; color: #fff !important; text-decoration: none; min-width: 0; }
.nav-brand img { width: 40px; height: 40px; border-radius: 50%; background: #fff; flex: none; }
.nav-brand > span { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.nav-brand strong { font-size: 1.02rem; letter-spacing: .14em; font-weight: 750; }
.nav-brand > span > span { font-size: .72rem; color: rgba(255, 255, 255, .62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-links { display: none; gap: 2px; }
.nav-links a { position: relative; color: rgba(255, 255, 255, .78); text-decoration: none; font-size: .95rem; font-weight: 550; padding: 9px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-links a[aria-current="page"] { color: #fff; }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--amber); }
.nav-end { display: flex; align-items: center; gap: 10px; }
.nav-soon { display: none; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); white-space: nowrap; }
@media (min-width: 720px) { .nav-soon { display: inline; } }
.nav-toggle { position: relative; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); background: transparent; cursor: pointer; }
.nav-toggle span[aria-hidden], .nav-toggle span[aria-hidden]::before { position: absolute; left: 13px; width: 18px; height: 1.6px; background: #fff; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span[aria-hidden] { top: 18px; }
.nav-toggle span[aria-hidden]::before { content: ""; left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] span[aria-hidden] { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span[aria-hidden]::before { top: 0; transform: rotate(-90deg); }
.nav-sheet { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; background: var(--night); overflow-y: auto; padding: 12px 0 40px; }
.nav-sheet.open { display: block; animation: sheet .35s var(--ease); }
.nav-sheet a:not(.btn-cta) { display: block; padding: 18px 0; font-size: 1.7rem; font-weight: 600; letter-spacing: -.02em; color: #fff; text-decoration: none; border-bottom: 1px solid var(--hair-d); }
.nav-sheet a[aria-current="page"] { color: var(--amber); }
.nav-sheet .btn-cta { margin-top: 28px; min-height: 58px; }
.nav-sheet-meta { margin-top: 22px; color: rgba(255, 255, 255, .55); font-size: .9rem; }
@keyframes sheet { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (min-width: 980px) { .nav-links { display: flex; } .nav-toggle, .nav-sheet, .nav-sheet.open { display: none; } }

/* ============================================================ hero (home) */
.home-hero { position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background: radial-gradient(120% 90% at 85% 20%, #1c2d6e 0%, rgba(28, 45, 110, 0) 55%), radial-gradient(80% 70% at 0% 100%, #141f4d 0%, rgba(20, 31, 77, 0) 60%), var(--night);
  display: flex; flex-direction: column; padding: calc(var(--nav-h) + clamp(40px, 6vw, 88px)) 0 0; }
.hero-art { position: absolute; z-index: -1; color: var(--sky); width: min(1180px, 150vw); aspect-ratio: 1; right: -58vw; top: -6%; opacity: .42; pointer-events: none; }
.art-cochlea { width: 100%; height: 100%; display: block; }
.art-cochlea text { font: 500 13px var(--f-mono); fill: currentColor; opacity: .85; letter-spacing: .04em; }
.hero-glow { position: absolute; z-index: -1; width: 640px; height: 640px; left: -220px; bottom: -320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(242, 180, 65, .22), rgba(242, 180, 65, 0)); pointer-events: none; }
.hero-inner { padding-bottom: clamp(40px, 6vw, 72px); }
.hero-kicker { color: rgba(255, 255, 255, .82); letter-spacing: .14em; }
.hero-kicker::before { display: none; }
.hero-kicker img { width: 28px; height: 28px; border-radius: 50%; background: #fff; }
.hero-kicker span { color: var(--amber); }
.hero-title { margin: 0; font-size: clamp(2.5rem, 11.4vw, 8.6rem); line-height: .9; letter-spacing: -.05em; font-weight: 700; color: #fff; }
.hero-title .ht-a { display: block; font-weight: 300; color: rgba(255, 255, 255, .78); letter-spacing: -.04em; font-size: .62em; margin-bottom: .08em; }
.hero-title .ht-b { display: block; background: linear-gradient(92deg, #fff 30%, #c9d5fb 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.hero-theme { margin: 6px 0 0; max-width: 31ch; font: 400 clamp(1.4rem, 2.8vw, 2.2rem)/1.22 var(--f-serif); color: #d7def5; }
.hero-theme em { color: var(--amber); }
.hero-theme span { display: inline; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 36px; }
.hero-note { font-size: .82rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.hero-note b { color: var(--amber); }
.hero-note i { font-style: normal; margin: 0 6px; opacity: .6; }
.hero-strip { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid var(--hair-d); }
.hero-strip > div { padding: 20px 0 26px; padding-right: 16px; }
.hero-strip > div:nth-child(n+3) { border-top: 1px solid var(--hair-d); }
.hero-strip dt { display: flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin-bottom: 6px; }
.hero-strip dt svg { width: 15px; height: 15px; color: var(--amber); }
.hero-strip dd { margin: 0; font-size: 1.06rem; font-weight: 600; color: #fff; }
.hero-strip dd span { color: rgba(255, 255, 255, .6); font-weight: 500; }
.hero-strip b { color: var(--amber); font-size: 1.3em; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.hero-strip .cd { white-space: nowrap; }
.hero-strip .cd span { margin-right: 6px; font-size: .82em; }
.hero-strip .cd span:last-child { margin-right: 0; }
@media (min-width: 760px) {
  .hero-art { right: -26vw; top: 50%; transform: translateY(-50%); width: min(1180px, 92vw); opacity: .5; }
  .hero-strip { grid-template-columns: repeat(4, auto); justify-content: space-between; }
  .hero-strip > div { padding: 26px 24px 34px 0; }
  .hero-strip > div:nth-child(n+3) { border-top: 0; }
  .hero-strip > div + div { padding-left: 28px; border-left: 1px solid var(--hair-d); }
}
@media (min-width: 1200px) { .hero-art { right: -12vw; } }

/* spiral draw-in + marker pulse */
.art-cochlea .spiral path { stroke-dasharray: 1; stroke-dashoffset: 0; }
html.js .art-cochlea .spiral path { animation: draw 3.2s var(--ease) both; }
html.js .art-cochlea .spiral path:nth-child(2) { animation-delay: .15s; } html.js .art-cochlea .spiral path:nth-child(3) { animation-delay: .3s; }
html.js .art-cochlea .spiral path:nth-child(4) { animation-delay: .45s; } html.js .art-cochlea .spiral path:nth-child(5) { animation-delay: .6s; }
html.js .art-cochlea .marks { animation: fade 1.2s 1.6s both; }
.art-cochlea .mk circle + circle { transform-box: fill-box; transform-origin: center; animation: ping 4s ease-out infinite; }
.art-cochlea .mk:nth-child(2) circle + circle { animation-delay: .7s; } .art-cochlea .mk:nth-child(3) circle + circle { animation-delay: 1.4s; }
.art-cochlea .mk:nth-child(4) circle + circle { animation-delay: 2.1s; } .art-cochlea .mk:nth-child(5) circle + circle { animation-delay: 2.8s; }
.art-cochlea .mk:nth-child(6) circle + circle { animation-delay: 3.5s; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 70%, 100% { transform: scale(2.2); opacity: 0; } }
html.js .hero-inner > * { animation: rise .9s var(--ease) both; }
html.js .hero-inner > :nth-child(2) { animation-delay: .08s; } html.js .hero-inner > :nth-child(3) { animation-delay: .18s; } html.js .hero-inner > :nth-child(4) { animation-delay: .28s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ============================================================ why / pillars */
.why { padding: var(--pad-sec) 0; background: var(--paper); }
.why-grid { display: grid; gap: 48px; }
.why-intro h2 { max-width: 15ch; margin: 0 0 22px; }
.why-intro h2 em { color: var(--brand); }
.why-lead { font-size: 1.12rem; color: var(--ink-2); max-width: 38ch; margin: 0; }
.pillars { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.pillar { display: grid; grid-template-columns: 44px 1fr; gap: 4px 12px; padding: 24px 0 26px; border-bottom: 1px solid var(--hair); align-items: baseline; }
.pillar-n { font: 500 .8rem var(--f-mono); color: var(--clay); }
.pillar-w { font-size: clamp(2.6rem, 8vw, 5.4rem); font-weight: 700; letter-spacing: -.055em; line-height: .95; color: var(--ink); transition: color .35s, transform .45s var(--ease); }
.pillar-d { grid-column: 2; color: var(--mute); max-width: 36ch; font-size: 1rem; }
.pillar:hover .pillar-w { color: var(--brand); transform: translateX(6px); }
@media (min-width: 980px) {
  .why-grid { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
  .why-intro { position: sticky; top: calc(var(--nav-h) + 40px); }
  .pillar { grid-template-columns: 56px minmax(0, 1fr) minmax(0, 15rem); align-items: center; }
  .pillar-d { grid-column: 3; }
}

/* ============================================================ key information band */
.info-band { position: relative; padding: var(--pad-sec) 0 calc(var(--pad-sec) + 18px); background: var(--night); color: #fff; overflow: hidden; }
.info-band .eyebrow-line { color: var(--sky); }
.band-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 32px; margin-bottom: 44px; }
.band-head h2 { margin: 0; }
.band-head .eyebrow-line { flex-basis: 100%; margin-bottom: 14px; }
.band-head > p.muted { flex-basis: 100%; margin: 14px 0 0; max-width: 52ch; }
.facts { display: grid; gap: 0; border-top: 1px solid var(--hair-d); }
.fact { display: flex; flex-direction: column; padding: 28px 0 32px; border-bottom: 1px solid var(--hair-d); }
.fact-k { display: flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); margin-bottom: 18px; }
.fact-k svg { width: 16px; height: 16px; color: var(--amber); }
.fact-day { font-size: clamp(6rem, 16vw, 11rem); font-weight: 700; letter-spacing: -.07em; line-height: .78; color: var(--amber); margin: 6px 0 14px -.04em; font-variant-numeric: tabular-nums; }
.fact-day.span { font-size: clamp(3rem, 8vw, 5.5rem); letter-spacing: -.04em; }
.fact-v { font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.fact-big { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 650; letter-spacing: -.035em; line-height: 1.02; }
.fact-big i { font-family: var(--f-serif); font-weight: 400; color: var(--sky); }
.fact-s { margin-top: 10px; color: rgba(255, 255, 255, .62); font-size: .98rem; }
.fact-cta { margin-top: 28px; }
.info-imigongo { position: absolute; left: 0; right: 0; bottom: 0; color: var(--amber); opacity: .28; line-height: 0; }
.art-imigongo { display: block; }
@media (min-width: 900px) {
  .facts { grid-template-columns: 1.1fr 1fr 1fr; border-top: 0; }
  .fact { padding: 8px 40px 8px; border-bottom: 0; border-left: 1px solid var(--hair-d); }
  .fact:first-child { padding-left: 0; border-left: 0; }
  .fact-cta { margin-top: auto; padding-top: 28px; }
}
/* light variant (conference page) */
.info-band-light { background: var(--white); color: var(--ink); padding: 72px 0; border-bottom: 1px solid var(--hair); }
.info-band-light .facts, .info-band-light .fact { border-color: var(--hair); }
.info-band-light .fact-k { color: var(--brand-2); }
.info-band-light .fact-day { color: var(--brand); }
.info-band-light .fact-s { color: var(--mute); }
.info-band-light .fact-big i { color: var(--brand-2); }

/* ============================================================ what to expect */
.expect { position: relative; padding: var(--pad-sec) 0; background: var(--white); overflow: hidden; }
.expect-wave { position: absolute; left: 0; right: 0; top: 0; height: 120px; color: var(--brand-2); opacity: .5; }
.art-wave { width: 100%; height: 100%; display: block; }
.expect-grid { display: grid; gap: 40px; position: relative; padding-top: 40px; }
.expect-head h2 { max-width: 12ch; margin: 0 0 30px; }
.expect-head h2 em { color: var(--brand); }
.expect-time { display: flex; align-items: center; gap: 14px; margin: 0; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 300; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--ink); }
.expect-time i { flex: 0 1 120px; height: 1px; background: linear-gradient(90deg, var(--amber), var(--brand-2)); }
.expect-list { list-style: none; margin: 0; padding: 0; counter-reset: ex; }
.expect-list li { display: grid; grid-template-columns: 52px 1fr; gap: 8px; padding: 28px 0; border-top: 1px solid var(--hair); }
.expect-list li:last-child { border-bottom: 1px solid var(--hair); }
.ex-n { font: 500 .85rem var(--f-mono); color: var(--clay); padding-top: 6px; }
.expect-list h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin: 0 0 6px; letter-spacing: -.025em; }
.expect-list p { margin: 0; color: var(--mute); max-width: 46ch; }
@media (min-width: 980px) { .expect-grid { grid-template-columns: 5fr 7fr; gap: 72px; } .expect-head { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; } }

/* ============================================================ audience */
.audience { padding: var(--pad-sec) 0; background: var(--sand); }
.aud-grid { display: grid; gap: 40px; }
.aud-head h2 { margin: 0 0 18px; max-width: 13ch; }
.aud-head h2 em { color: var(--brand); }
.aud-head p { color: var(--ink-2); max-width: 34ch; margin: 0; }
.aud-list { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid rgba(17, 26, 51, .16); }
.aud-list li { display: flex; align-items: center; gap: 18px; padding: 20px 0; border-bottom: 1px solid rgba(17, 26, 51, .16); font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.1;
  transition: transform .4s var(--ease), color .3s; }
.aud-list svg { width: 30px; height: 30px; flex: none; color: var(--brand-2); transition: color .3s; }
.aud-list li:hover { transform: translateX(6px); color: var(--brand); }
.aud-list li:hover svg { color: var(--clay); }
@media (min-width: 980px) { .aud-grid { grid-template-columns: 4fr 8fr; gap: 72px; } .aud-list { grid-template-columns: 1fr 1fr; column-gap: 40px; } }

/* ============================================================ organisers */
.orgs { padding: 72px 0; background: var(--white); border-bottom: 1px solid var(--hair); }
.orgs-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 56px; }
.org { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
.org-k { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.org-id { display: flex; align-items: center; gap: 16px; text-align: left; }
.org-id img { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--hair); flex: none; }
.org-id span { font-size: 1.12rem; font-weight: 600; letter-spacing: -.015em; max-width: 22ch; line-height: 1.25; }
.org-word span { font: 400 clamp(1.6rem, 3vw, 2.2rem)/1.1 var(--f-serif); font-style: italic; color: var(--brand); max-width: none; }
.org-x { color: var(--clay); line-height: 0; }
.org-x svg { width: 22px; height: 22px; }

/* ============================================================ final CTA */
.cta-final { position: relative; overflow: hidden; color: #fff; padding: var(--pad-sec) 0; isolation: isolate;
  background: radial-gradient(90% 120% at 100% 0%, #3249a0 0%, rgba(50, 73, 160, 0) 60%), linear-gradient(160deg, var(--brand) 0%, var(--night) 100%); }
.cta-art { position: absolute; z-index: -1; width: 760px; right: -220px; top: 50%; transform: translateY(-50%); color: #fff; opacity: .5; }
.art-rings { width: 100%; height: auto; display: block; }
.cta-final .kicker { color: rgba(255, 255, 255, .78); }
.cta-final h2 { font-size: clamp(3rem, 9vw, 7.4rem); letter-spacing: -.055em; line-height: .92; margin: 0 0 26px; }
.cta-final h2 em { color: var(--amber); }
.cta-sub { font-size: 1.15rem; color: rgba(255, 255, 255, .78); max-width: 42ch; margin: 0 0 36px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ============================================================ inner page header */
.page-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: calc(var(--nav-h) + clamp(56px, 8vw, 104px)) 0 clamp(56px, 7vw, 96px);
  background: radial-gradient(90% 120% at 100% 0%, #1c2d6e 0%, rgba(28, 45, 110, 0) 60%), var(--night); }
.page-hero-art { position: absolute; z-index: -1; width: 720px; right: -260px; top: 50%; transform: translateY(-50%); color: var(--sky); opacity: .35; pointer-events: none; }
.page-hero h1 { margin: 0; font-size: clamp(2.3rem, 5.6vw, 4.6rem); letter-spacing: -.045em; line-height: 1; max-width: 20ch; color: #fff; }
.page-hero h1 em { color: var(--amber); }
.page-lead { margin: 22px 0 0; max-width: 58ch; font-size: 1.12rem; color: rgba(255, 255, 255, .74); }
.page-lead strong { color: #fff; }
.page-hero-sm { padding-bottom: clamp(44px, 5vw, 64px); }
.page-hero-sm h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; }
.hero-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--hair-d); background: rgba(255, 255, 255, .04); font-size: .92rem; color: rgba(255, 255, 255, .88); }
.hero-chips svg { width: 16px; height: 16px; color: var(--amber); }

/* ============================================================ about */
.about { padding: var(--pad-sec) 0; }
.about-cols { display: grid; gap: 48px; }
.about-text p { color: var(--ink-2); max-width: 60ch; }
.about-lead { font: 400 clamp(1.45rem, 2.4vw, 1.9rem)/1.32 var(--f-serif); color: var(--ink) !important; margin-bottom: 1.1em; }
.site .partner-line { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--hair); font-size: .95rem; color: var(--mute); }
.site .partner-line strong { color: var(--ink); }
.focus { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.focus li { display: grid; grid-template-columns: 48px 1fr; gap: 8px; padding: 20px 0; border-bottom: 1px solid var(--hair); }
.focus .n { font: 500 .8rem var(--f-mono); color: var(--clay); padding-top: 5px; }
.focus b { display: block; font-size: 1.2rem; letter-spacing: -.02em; font-weight: 650; }
.focus .d { color: var(--mute); font-size: .97rem; }
@media (min-width: 980px) { .about-cols { grid-template-columns: 7fr 5fr; gap: 80px; } }
.theme-feature { padding: var(--pad-sec) 0; background: var(--sand); }
.theme-big { margin: 0; letter-spacing: -.045em; line-height: 1.02; }
.tb-lead { display: block; font-size: clamp(2.4rem, 6.4vw, 5.6rem); font-weight: 700; margin-bottom: .18em; }
.tb-line { display: block; font-size: clamp(1.8rem, 4.6vw, 4rem); font-weight: 300; color: var(--ink-2); }
.theme-big em { color: var(--brand); }

/* ============================================================ conference: how + on the day */
.how { padding: var(--pad-sec) 0; }
.how .band-head h2 em { color: var(--brand); }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.how-steps li { position: relative; padding: 0 0 40px 76px; }
.how-steps li::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 1px; background: linear-gradient(var(--brand-2), rgba(63, 87, 176, .1)); }
.how-steps li:last-child::before { display: none; }
.how-n { position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line-2); font-size: 1.3rem; font-weight: 700; color: var(--brand); }
.how-steps h3 { font-size: 1.45rem; margin: 12px 0 8px; }
.how-steps p { margin: 0; color: var(--mute); max-width: 34ch; }
@media (min-width: 900px) {
  .how-steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .how-steps li { padding: 84px 0 0; }
  .how-steps li::before { left: 64px; right: -40px; top: 27px; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, var(--brand-2), rgba(63, 87, 176, .1)); }
}
.onday { padding: 0 0 var(--pad-sec); }
.onday-grid { display: grid; gap: 36px; }
.onday h2 em { color: var(--brand); }
.onday-card { background: var(--white); border: 1px solid var(--hair); border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 40px); box-shadow: var(--shadow-1); }
.onday-card h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; }
.onday-card h3 svg { width: 20px; height: 20px; color: var(--brand-2); }
.onday-card p { color: var(--ink-2); margin: 0 0 24px; }
.onday-card .btn-row { gap: 12px; }
@media (min-width: 980px) { .onday-grid { grid-template-columns: 5fr 7fr; gap: 72px; } }

/* ============================================================ help */
.help { padding: var(--pad-sec) 0; }
.help-grid { display: grid; gap: 56px; }
.help-grid h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.site .contact-list { display: grid; gap: 12px; margin-top: 24px; }
.site .contact-item { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--white); border: 1px solid var(--hair); border-radius: var(--r-md); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .3s var(--ease); }
.site .contact-item:hover { border-color: var(--brand-2); transform: translateY(-2px); }
.site .contact-item > span { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.site .contact-item .k { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); font-weight: 700; }
.site .contact-item .v { font-weight: 650; color: var(--ink); word-break: break-word; }
.site .contact-item svg { width: 22px; height: 22px; color: var(--brand-2); }
.site .contact-item .ci-go { width: 18px; height: 18px; color: var(--mute); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq details:first-child { border-top: 1px solid var(--hair); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; cursor: pointer; font-size: 1.15rem; font-weight: 600; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; color: var(--brand-2); transition: transform .3s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details > div { padding: 0 40px 22px 0; color: var(--ink-2); }
@media (min-width: 980px) { .help-grid { grid-template-columns: 5fr 7fr; gap: 80px; } }

.prose-sec { padding: 64px 0 var(--pad-sec); }
.site .prose { max-width: 760px; }
.site .prose p { color: var(--ink-2); }
.site .prose h2 { font-size: 1.8rem; margin-top: 2em !important; }

/* ============================================================ forms (shared inside site) */
.form-page { padding: 48px clamp(16px, 4vw, 40px) var(--pad-sec); }
.site .card { background: var(--white); border: 1px solid var(--hair); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-1); }
.site .card-flat { box-shadow: none; }
.site .card h2 { font-size: 1.35rem; letter-spacing: -.02em; }
@media (min-width: 760px) { .site .card { padding: 36px; } }
.site .field > label, .site .field > .label, .site legend.label { font-weight: 650; font-size: .95rem; color: var(--ink); margin-bottom: 8px; }
.site input[type=text], .site input[type=email], .site input[type=tel], .site input[type=password], .site input[type=number], .site select, .site textarea {
  min-height: 54px; padding: 14px 16px; border-radius: var(--r-sm); border: 1.5px solid #d6d4cc; background: #fff; font-family: var(--f-sans); font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.site input:hover, .site select:hover, .site textarea:hover { border-color: #b9b6ad; }
.site input:focus, .site select:focus, .site textarea:focus { border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(63, 87, 176, .16); }
.site .hint { font-size: .86rem; color: var(--mute); margin-top: 7px; }
.site .choice { min-height: 56px; border-radius: var(--r-sm); border: 1.5px solid #d6d4cc; font-weight: 550; transition: border-color .2s, background .2s; }
.site .choice:hover { border-color: var(--brand-2); }
.site .choice:has(input:checked) { border-color: var(--brand); background: #eef1fb; box-shadow: inset 0 0 0 1px var(--brand); }
.site .choice input, .site .check input { accent-color: var(--brand); }
.site .alert { border-radius: var(--r-md); }
.site .notice-free { background: #fff8e8; border: 1px solid #f1d697; border-radius: var(--r-md); color: #4a3a12; }
.site .notice-free svg { color: #b07a0b; }
.site .declaration { background: var(--paper); border-left: 3px solid var(--amber); border-radius: 0 var(--r-sm) var(--r-sm) 0; font: italic 400 1.2rem/1.4 var(--f-serif); color: var(--ink); padding: 18px 20px; }
.site .review { border-color: var(--hair); border-radius: var(--r-md); background: var(--paper); }
.site .review h3 { font-family: var(--f-sans); }
.site .kv dt { color: var(--mute); }
.site .otp-input { letter-spacing: .5em !important; }
.form-page .card + .card { margin-top: 18px; }

/* ============================================================ registration */
.reg-shell { padding: 40px 0 var(--pad-sec); }
.reg-layout { display: grid; gap: 28px; }
.reg-main { min-width: 0; }
.reg-aside { order: 2; }
.reg-aside-card { background: var(--white); border: 1px solid var(--hair); border-radius: var(--r-lg); padding: 26px; }
.reg-aside-card > p:not(.eyebrow-line):not(.small) { color: var(--ink-2); font-size: .98rem; }
.reg-next { list-style: none; counter-reset: rn; margin: 22px 0; padding: 0; display: grid; gap: 0; }
.reg-next li { counter-increment: rn; position: relative; padding: 0 0 20px 44px; }
.reg-next li::before { content: counter(rn); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--night); color: var(--amber); font-size: .85rem; font-weight: 700; }
.reg-next li::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: 4px; width: 1px; background: var(--hair); }
.reg-next li:last-child { padding-bottom: 0; } .reg-next li:last-child::after { display: none; }
.reg-next b { display: block; font-weight: 650; }
.reg-next span { color: var(--mute); font-size: .92rem; }
.site .progress { gap: 8px; margin-bottom: 18px; }
.site .progress li { font-size: .78rem; letter-spacing: .02em; color: var(--mute); }
.site .progress li::before { height: 3px; background: #dcd9d0; margin-bottom: 10px; transition: background .3s; }
.site .progress li.done::before { background: var(--brand-2); }
.site .progress li.current::before { background: var(--amber); }
.site .progress li.current { color: var(--ink); }
.site .step-title { padding-bottom: 16px; margin-bottom: 22px; border-bottom: 1px solid var(--hair); }
.site .step-title h2 { font-size: 1.6rem; letter-spacing: -.03em; }
.site .step-title .count { font: 500 .78rem var(--f-mono); color: var(--clay); }
.site .form-nav { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--hair); }
.site .form-nav .btn { min-height: 54px; }
.js .site .reg-step.active, html.js .reg-step.active { animation: stepin .45s var(--ease); }
@keyframes stepin { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
@media (min-width: 1000px) {
  .reg-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
  .reg-aside { order: 2; position: sticky; top: calc(var(--nav-h) + 24px); }
}

/* ============================================================ confirmation & pass */
.confirm-band { position: relative; overflow: hidden; isolation: isolate; text-align: center; color: #fff;
  padding: calc(var(--nav-h) + 64px) 0 150px; background: radial-gradient(70% 90% at 50% 0%, #22357a 0%, rgba(34, 53, 122, 0) 70%), var(--night); }
.confirm-band .page-hero-art { right: 50%; transform: translate(50%, -50%); width: 1000px; opacity: .25; }
.confirm-inner { display: flex; flex-direction: column; align-items: center; }
.confirm-band .kicker { margin-bottom: 14px; color: #8fe3b6; }
.confirm-band h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); letter-spacing: -.045em; margin: 0; color: #fff; }
.confirm-band h1 em { color: var(--amber); }
.confirm-band .page-lead { margin-left: auto; margin-right: auto; }
.confirm-band .hero-chips { justify-content: center; }
.site .tick { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 0 22px; background: rgba(143, 227, 182, .12); border: 1px solid rgba(143, 227, 182, .5); color: #8fe3b6; animation: pop .6s var(--ease) both; }
.site .tick svg { width: 34px; height: 34px; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.confirm-body { position: relative; margin-top: -110px; padding-bottom: var(--pad-sec); max-width: 760px; }
.confirm-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 30px 0 14px; }
.next-card { display: grid; gap: 22px; margin-top: 36px; background: var(--white); border: 1px solid var(--hair); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); }
.next-card p { color: var(--ink-2); }
.next-links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.next-links a { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; text-decoration: none; color: var(--brand); }
.next-links svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.next-links a:hover svg { transform: translateX(3px); }
.pass-page { padding: 40px clamp(16px, 4vw, 40px) var(--pad-sec); }
.pass-page .card { margin-top: 20px; }

.site .pass { max-width: 460px; border-radius: var(--r-lg); border: 0; box-shadow: var(--shadow-2); background: var(--white); }
.site .pass-top { background: linear-gradient(120deg, var(--night) 0%, var(--brand) 100%); padding: 20px 22px; border-bottom: 3px solid var(--amber); }
.site .pass-top strong { font-family: var(--f-sans); font-weight: 650; letter-spacing: -.01em; }
.site .pass-top span { color: rgba(255, 255, 255, .72); }
.site .pass-body { padding: 24px; }
.site .pass-label { letter-spacing: .16em; color: var(--mute); }
.site .pass-name { font-family: var(--f-sans); font-weight: 700; letter-spacing: -.035em; color: var(--ink); font-size: 1.9rem; }
.site .pass-qr::before, .site .pass-qr::after { background: var(--paper); border: 0; }
.site .pass-rid { color: var(--ink); }
.site .pass-status { background: var(--paper); border-top-color: var(--hair); }
.confirm-body .pass-qr::before, .confirm-body .pass-qr::after { background: var(--paper); }

/* ============================================================ footer */
.foot { background: var(--night); color: rgba(255, 255, 255, .7); padding: 64px 0 28px; font-size: .95rem; }
.foot a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot a.btn-cta { color: var(--night); text-decoration: none; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 40px; border-bottom: 1px solid var(--hair-d); }
.foot-brand { display: flex; align-items: center; gap: 16px; }
.foot-brand img { width: 56px; height: 56px; border-radius: 50%; background: #fff; flex: none; }
.foot-brand strong { display: block; color: #fff; font-size: 1.15rem; font-weight: 650; letter-spacing: -.015em; }
.foot-brand span { font-size: .9rem; }
.foot-grid { display: grid; gap: 32px; padding: 40px 0; }
.foot-h { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); margin-bottom: 12px; }
.foot-org p { color: #fff; margin: 0 0 22px; max-width: 30ch; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-top: 22px; border-top: 1px solid var(--hair-d); font-size: .82rem; color: rgba(255, 255, 255, .5); }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr; } }

/* ============================================================ scroll reveal */
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html.js .hero-inner > *, html.js .art-cochlea .spiral path, html.js .art-cochlea .marks, .art-cochlea .mk circle + circle, .site .tick, .nav-sheet.open, html.js .reg-step.active { animation: none !important; }
  .pillar-w, .aud-list li, .site .contact-item, .btn-cta { transition: none; }
}

@media print {
  .nav, .foot, .page-hero, .confirm-band, .cta-final, .next-card, .confirm-actions { display: none !important; }
  .confirm-body { margin-top: 0; }
  .site { background: #fff; }
}

/* small refinements */
.nav-cta[aria-current="page"] { display: none; }
@media (max-width: 759px) {
  .page-hero { padding-top: calc(var(--nav-h) + 40px); }
  .hero-chips { gap: 8px; }
  .hero-chips li { padding: 7px 13px; font-size: .86rem; }
}
.site .invalid input, .site .invalid select, .site .invalid textarea, .site input.invalid { border-color: #b42323; background: #fffafa; }
.site .err { color: #9f1d1d; }
.site .review h3 { font-size: .74rem; letter-spacing: .14em; line-height: 1.4; }
.site .wrap.form-page, .site .wrap.pass-page { padding-top: clamp(32px, 5vw, 56px); padding-bottom: var(--pad-sec); }

/* Rwanda Paediatric Association — green and gold, full logo, no ROHNSS spiral. */
.site.brand-rpa {
  --night: #0f6b32;
  --night-2: #0c5528;
  --brand: #1a8f3c;
  --brand-2: #157a32;
  --sky: #d7f5e3;
  --amber: #e6b000;
  --amber-hi: #f0c400;
  --ink: #143024;
  --ink-2: #245038;
  --paper: #f4f7f1;
  --sand: #e7f0e4;
  background: var(--paper);
  color: var(--ink);
}
.brand-rpa .nav { background: #0f6b32; }
html:not(.js) .brand-rpa .nav, .brand-rpa .nav.scrolled, .brand-rpa .nav:has(.nav-sheet.open) { background: rgba(15, 107, 50, .94); }
.brand-rpa .nav-brand img, .brand-rpa .foot-brand img, .brand-rpa .org-id img, .brand-rpa .pass-top img {
  width: auto; height: 52px; max-width: 84px; border-radius: 0; background: transparent; object-fit: contain; border: 0;
}
.brand-rpa .foot-brand img { height: 72px; max-width: 110px; }
.brand-rpa .home-hero, .brand-rpa .page-hero, .brand-rpa .confirm-band, .brand-rpa .cta-final, .brand-rpa .info-band:not(.info-band-light) {
  background:
    radial-gradient(80% 70% at 100% 0%, rgba(240, 196, 0, .35), transparent 55%),
    radial-gradient(60% 80% at 0% 100%, rgba(31, 111, 208, .22), transparent 50%),
    #127a38;
}
.brand-rpa .hero-art, .brand-rpa .page-hero-art, .brand-rpa .cta-art { display: none; }
.brand-rpa .hero-mark { position: absolute; z-index: 0; right: max(24px, 6vw); top: calc(var(--nav-h) + 28px); width: min(220px, 34vw); pointer-events: none; }
.brand-rpa .hero-mark img { width: 100%; height: auto; display: block; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .18)); }
.brand-rpa .hero-title { font-size: clamp(2rem, 4.6vw, 4.2rem); max-width: 16ch; }
.brand-rpa .hero-title .ht-a { color: rgba(255, 255, 255, .82); }
.brand-rpa .hero-title .ht-b { background: none; color: #fff; -webkit-text-fill-color: #fff; }
.brand-rpa .hero-theme { color: #e7f6ec; max-width: 36ch; }
.brand-rpa .foot { background: #0c5528; }
.brand-rpa .choice-list .choice { align-items: flex-start; }
.brand-rpa .choice-list .choice span { line-height: 1.35; }
@media (max-width: 720px) {
  .brand-rpa .hero-mark { position: static; width: 96px; margin: 0 0 18px; }
}

/* RPA conference homepage — poster, photographs, continuum. ROHNSS is unchanged. */
.brand-rpa.rpa-home .nav { background: linear-gradient(180deg, rgba(6, 32, 18, .62), rgba(6, 32, 18, 0)); box-shadow: none; }
.brand-rpa.rpa-home .nav.scrolled,
.brand-rpa.rpa-home .nav:has(.nav-sheet.open) { background: rgba(10, 58, 30, .92); -webkit-backdrop-filter: saturate(140%) blur(16px); backdrop-filter: saturate(140%) blur(16px); }
html:not(.js) .brand-rpa.rpa-home .nav { background: rgba(10, 58, 30, .94); }

.rpa-hero, .rpa-close { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100svh; min-height: 640px; color: #fff; overflow: hidden; isolation: isolate; }
.rpa-close { height: auto; min-height: 72svh; justify-content: center; }
.rpa-hero-photo, .rpa-close-photo { position: absolute; inset: 0; z-index: -2; }
.rpa-hero-photo img, .rpa-close-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; transform-origin: center 40%; animation: rpa-ken 22s ease-out both; }
.rpa-hero-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(6, 24, 14, .78) 0%, rgba(6, 24, 14, .42) 38%, rgba(6, 24, 14, .12) 68%),
  linear-gradient(180deg, rgba(6, 24, 14, .5) 0%, rgba(6, 24, 14, 0) 24%, rgba(6, 24, 14, .62) 100%); }
.rpa-hero-copy, .rpa-close-copy { position: relative; width: 100%; padding-bottom: clamp(28px, 5vw, 56px); }
.rpa-kicker { margin: 0 0 14px; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #f0c400; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.rpa-hero h1, .rpa-close h2 { margin: 0; max-width: 11ch; font-family: var(--f-serif); font-weight: 400; font-size: clamp(3.5rem, 6.6vw, 6.4rem); line-height: .88; letter-spacing: -.03em; color: #fff; text-shadow: 0 8px 40px rgba(0, 0, 0, .28); }
.rpa-hero h1 span { display: block; font-weight: 400; }
.rpa-hero h1 em, .rpa-close h2 em { font-style: italic; color: #f0c400; }
.rpa-hero-line { margin: 18px 0 0; font-family: var(--f-serif); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.3rem); color: rgba(255, 255, 255, .88); }
.rpa-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 32px; }
.rpa-hero-actions > span { font-size: .92rem; font-weight: 600; letter-spacing: .01em; color: rgba(255, 255, 255, .82); }
.rpa-hero-copy > * { animation: rise 1s var(--ease) both; }
.rpa-hero-copy > :nth-child(2) { animation-delay: .08s; }
.rpa-hero-copy > :nth-child(3) { animation-delay: .18s; }
.rpa-hero-copy > :nth-child(4) { animation-delay: .28s; }
@keyframes rpa-ken { from { transform: scale(1.08); } to { transform: scale(1); } }

.rpa-marquee { overflow: hidden; background: #0c3d22; color: #f7f3e6; border-block: 1px solid rgba(230, 176, 0, .35); }
.rpa-marquee-track { display: flex; width: max-content; animation: rpa-slide 42s linear infinite; }
.rpa-marquee span { display: inline-flex; align-items: center; gap: 22px; padding: 15px 0 15px 22px; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.rpa-marquee span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #e6b000; flex: none; }
@keyframes rpa-slide { to { transform: translateX(-50%); } }
.rpa-marquee:hover .rpa-marquee-track { animation-play-state: paused; }

.rpa-story, .rpa-fees, .rpa-steps { padding: var(--pad-sec) 0; }
.rpa-story { background: var(--paper); }
.rpa-story-grid { display: grid; gap: 36px; align-items: center; }
.rpa-frame { margin: 0; position: relative; }
.rpa-frame img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; object-position: center 42%; border-radius: 28px; display: block; }
.rpa-frame figcaption { position: absolute; left: 18px; bottom: 18px; margin: 0; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #143024; font-family: var(--f-serif); font-style: italic; font-size: 1.15rem; }
.rpa-story h2, .rpa-figures h2, .rpa-fees h2, .rpa-venue-copy h2 { font-family: var(--f-serif); font-weight: 400; letter-spacing: -.03em; }
.rpa-lead { max-width: 28ch; margin: 18px 0 28px; font-size: 1.2rem; color: var(--ink-2); }
.rpa-path { list-style: none; margin: 0; padding: 8px 0 0; display: grid; gap: 0; position: relative; }
.rpa-path::before { content: ""; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 2px; background: linear-gradient(#1a8f3c, #e6b000, #1f6fd0); }
.rpa-path li { display: grid; grid-template-columns: 32px 1fr; grid-template-rows: auto auto; column-gap: 16px; padding: 12px 0; }
.rpa-path i { grid-row: 1 / span 2; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 2px solid #1a8f3c; position: relative; z-index: 1; }
.rpa-path li:nth-child(2) i { border-color: #e6b000; }
.rpa-path li:nth-child(3) i { border-color: #1f6fd0; }
.rpa-path i::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #1a8f3c; }
.rpa-path li:nth-child(2) i::after { background: #e6b000; }
.rpa-path li:nth-child(3) i::after { background: #1f6fd0; }
.rpa-path strong { font-size: 1.35rem; letter-spacing: -.02em; }
.rpa-path span { color: var(--mute); font-size: .95rem; }

.rpa-figures { background: #0f6b32; color: #fff; padding: clamp(64px, 9vw, 112px) 0; }
.rpa-figures .eyebrow-line, .rpa-fees .eyebrow-line { color: #f0c400; }
.rpa-figures h2 { color: #fff; font-size: clamp(2.6rem, 5vw, 4.4rem); }
.rpa-meters { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rpa-meters li { padding: 8px 0 18px; border-top: 1px solid rgba(255, 255, 255, .22); }
.rpa-meters b { display: block; font-family: var(--f-serif); font-weight: 400; font-size: clamp(3.2rem, 7vw, 5.4rem); line-height: .9; letter-spacing: -.04em; }
.rpa-meters span { display: block; margin-top: 8px; color: rgba(255, 255, 255, .78); font-size: .95rem; }
.rpa-note { margin: 28px 0 0; max-width: 46ch; color: var(--mute); font-size: .92rem; }
.rpa-figures .rpa-note { color: rgba(255, 255, 255, .7); }

.rpa-venue { padding: 0 0 var(--pad-sec); background: var(--paper); }
.rpa-venue-card { position: relative; border-radius: 28px; overflow: hidden; min-height: 520px; display: flex; align-items: flex-end; color: #fff; }
.rpa-venue-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rpa-venue-copy { position: relative; width: min(460px, 100%); margin: 18px; padding: 28px; border-radius: 22px; background: rgba(12, 48, 28, .78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.rpa-venue-copy p { margin: 0; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; font-weight: 700; color: #f0c400; }
.rpa-venue-copy h2 { margin: 8px 0 0; color: #fff; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; }
.rpa-count { margin-top: 22px; }
.rpa-count > span, .rpa-count-done { display: block; margin: 0 0 6px; letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; font-weight: 700; color: rgba(255, 255, 255, .7); }
.rpa-count .cd { margin: 0; font-variant-numeric: tabular-nums; }
.rpa-count .cd b { font-family: var(--f-serif); font-weight: 400; font-size: 2rem; color: #fff; }
.rpa-count .cd span { margin-right: 10px; color: rgba(255, 255, 255, .65); font-size: .85rem; letter-spacing: 0; text-transform: none; font-weight: 500; }

.rpa-fees { background: #eef4ea; }
.rpa-fees h2 { font-size: clamp(2.6rem, 5vw, 4.4rem); }
.rpa-rail { list-style: none; margin: 28px 0 0; padding: 4px 0 12px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 78%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rpa-rail::-webkit-scrollbar { display: none; }
.rpa-rail li { scroll-snap-align: start; background: #fff; border-radius: 22px; padding: 22px 22px 20px; box-shadow: var(--shadow-1); display: flex; flex-direction: column; gap: 6px; min-height: 180px; }
.rpa-rail b { font-family: var(--f-serif); font-weight: 400; font-size: 2.15rem; letter-spacing: -.03em; line-height: 1; color: #0f6b32; }
.rpa-rail strong { font-size: 1.05rem; }
.rpa-rail span { color: var(--mute); font-size: .9rem; }
.rpa-rail li:first-child { background: #0f6b32; color: #fff; }
.rpa-rail li:first-child b, .rpa-rail li:first-child span { color: #f0c400; }
.rpa-rail li:first-child span { color: rgba(255, 255, 255, .75); }

.rpa-steps { background: var(--paper); padding-top: 0; }
.rpa-steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.rpa-steps li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--hair); }
.rpa-steps span { grid-row: 1 / span 2; font-family: var(--f-serif); font-style: italic; font-size: 2rem; color: #1a8f3c; }
.rpa-steps strong { font-size: 1.45rem; }
.rpa-steps p { margin: 0; color: var(--mute); }

.rpa-close-copy { padding-top: clamp(72px, 12vw, 120px); padding-bottom: clamp(48px, 8vw, 88px); }
.rpa-close h2 { max-width: 12ch; font-size: clamp(3.6rem, 9vw, 7rem); }
.rpa-credit { margin: 28px 0 0; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.rpa-credit a { color: #f0c400; text-decoration: none; }
.rpa-credit a:hover { color: #fff; }

@media (min-width: 800px) {
  .rpa-story-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; }
  .rpa-frame img { aspect-ratio: 4/3; max-height: 560px; }
  .rpa-meters { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .rpa-steps ol { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .rpa-steps li { display: block; padding-right: 20px; }
  .rpa-steps span { display: block; margin-bottom: 10px; }
  .rpa-venue-card { min-height: 620px; }
  .rpa-venue-copy { margin: 32px; padding: 36px; }
}
@media (min-width: 980px) {
  .rpa-rail { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; }
}
@media (prefers-reduced-motion: reduce) {
  .rpa-hero-photo img, .rpa-close-photo img, .rpa-marquee-track, .rpa-hero-copy > * { animation: none; }
  .rpa-marquee-track { flex-wrap: wrap; width: auto; justify-content: center; }
}

/* Cardiac Society of Rwanda — the society's red (#c62b1a) and black, heart and ECG. Every CSR event. */
.site.brand-csr {
  --night: #161012;
  --night-2: #241619;
  --brand: #c62b1a;
  --brand-2: #a0230f;
  --sky: #f6c3ba;
  --amber: #c62b1a;
  --amber-hi: #dd3a26;
  --clay: #c62b1a;
  --ink: #1a1a1a;
  --ink-2: #3f3536;
  --mute: #6d6264;
  --paper: #fbf8f7;
  --sand: #f6e8e5;
  --hair: rgba(26, 26, 26, .12);
  --focus: #a0230f;
  --line: #ecdedb;
  background: var(--paper);
  color: var(--ink);
}
.brand-csr .home-hero, .brand-csr .page-hero, .brand-csr .confirm-band, .brand-csr .info-band:not(.info-band-light), .brand-csr .cta-final, .brand-csr .foot, .brand-csr .nav, .brand-csr .csr-hero, .brand-csr .csr-close { --focus: #fff; }
.brand-csr .btn-cta, .brand-csr .btn-cta-solid { color: #fff; box-shadow: 0 8px 26px rgba(198, 43, 26, .32); }
.site.brand-csr .btn-cta:hover, .site.brand-csr .btn-cta-solid:hover { color: #fff; box-shadow: 0 12px 32px rgba(198, 43, 26, .42); }
.site.brand-csr .btn-cta[aria-disabled="true"], .site.brand-csr .csr-close .btn-cta[aria-disabled="true"] { background: #d9d2d3; color: #4a4042; box-shadow: none; }
.brand-csr .eyebrow-line { color: var(--brand); }
.brand-csr .eyebrow-line::before { box-shadow: 0 0 0 4px rgba(198, 43, 26, .18); }
.brand-csr ::selection { background: #c62b1a; color: #fff; }
.brand-csr .nav { background: #161012; }
html:not(.js) .brand-csr .nav, .brand-csr .nav.scrolled, .brand-csr .nav:has(.nav-sheet.open) { background: rgba(22, 16, 18, .94); }
.brand-csr .nav-brand img, .brand-csr .foot-brand img, .brand-csr .org-id img, .brand-csr .pass-top img {
  width: auto; height: 44px; max-width: 48px; border-radius: 0; background: transparent; object-fit: contain; border: 0;
}
.brand-csr .foot-brand img { height: 60px; max-width: 64px; }
.brand-csr .home-hero, .brand-csr .page-hero, .brand-csr .confirm-band, .brand-csr .cta-final, .brand-csr .info-band:not(.info-band-light) {
  background:
    url("/img/csr-ecg.svg") 50% calc(100% + 18px) / 160% 34% no-repeat,
    radial-gradient(70% 90% at 100% 0%, rgba(198, 43, 26, .55), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(160, 35, 15, .35), transparent 55%),
    #161012;
}
.brand-csr .hero-art, .brand-csr .page-hero-art, .brand-csr .cta-art, .brand-csr .info-imigongo { display: none; }
.brand-csr .page-hero h1 em, .brand-csr .cta-final em { color: #ff7a66; }
.brand-csr .foot { background: #0f0b0c; }

/* CSR CME homepage */
.brand-csr.csr-home .nav { background: linear-gradient(180deg, rgba(14, 9, 10, .7), rgba(14, 9, 10, 0)); box-shadow: none; }
.brand-csr.csr-home .nav.scrolled, .brand-csr.csr-home .nav:has(.nav-sheet.open) { background: rgba(22, 16, 18, .94); -webkit-backdrop-filter: saturate(140%) blur(16px); backdrop-filter: saturate(140%) blur(16px); }
html:not(.js) .brand-csr.csr-home .nav { background: rgba(22, 16, 18, .94); }

.csr-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; min-height: min(100svh, 860px); display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 48px) 0 150px;
  background: radial-gradient(60% 80% at 82% 38%, #7e1710 0%, rgba(126, 23, 16, 0) 70%), linear-gradient(160deg, #1d1113 0%, #120c0d 60%, #1a0b0b 100%); }
.csr-hero-glow { position: absolute; inset: auto -20% -40% auto; width: 70vw; height: 70vw; border-radius: 50%; background: radial-gradient(circle, rgba(198, 43, 26, .28), transparent 65%); z-index: -1; }
.csr-heart { position: absolute; z-index: -1; right: max(4vw, 24px); top: 50%; width: min(440px, 42vw); aspect-ratio: 1; transform: translateY(-58%); display: grid; place-items: center; }
.csr-heart img { width: 46%; height: auto; filter: drop-shadow(0 18px 40px rgba(198, 43, 26, .55)); animation: csr-beat 1.25s ease-in-out infinite; }
.csr-heart span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255, 122, 102, .35); animation: csr-pulse 3.75s ease-out infinite; }
.csr-heart span:nth-child(2) { animation-delay: 1.25s; }
.csr-heart span:nth-child(3) { animation-delay: 2.5s; }
@keyframes csr-beat { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.08); } 28% { transform: scale(.98); } 42% { transform: scale(1.05); } 60% { transform: scale(1); } }
@keyframes csr-pulse { from { transform: scale(.42); opacity: .9; } to { transform: scale(1.1); opacity: 0; } }
.csr-hero-copy { position: relative; }
.csr-hero-copy > * { animation: rise 1s var(--ease) both; }
.csr-hero-copy > :nth-child(2) { animation-delay: .08s; }
.csr-hero-copy > :nth-child(3) { animation-delay: .16s; }
.csr-hero-copy > :nth-child(4) { animation-delay: .24s; }
.csr-hero-copy > :nth-child(5) { animation-delay: .32s; }
.csr-kicker { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #ff8d7b; }
.csr-kicker::before { content: ""; width: 28px; height: 2px; background: #c62b1a; }
.csr-hero h1 { margin: 0; font-size: clamp(3.6rem, 9vw, 8rem); line-height: .86; letter-spacing: -.05em; font-weight: 700; color: #fff; }
.csr-hero h1 em { color: #ff5a43; font-size: 1.04em; }
.csr-edition { margin: 16px 0 0; font-family: var(--f-serif); font-style: italic; font-size: clamp(1.7rem, 3.4vw, 2.7rem); color: rgba(255, 255, 255, .9); }
.csr-topic { margin: 10px 0 0; max-width: 34ch; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .74); }
.csr-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }
.csr-actions > span { font-size: .92rem; font-weight: 600; color: rgba(255, 255, 255, .8); }
.csr-sweep { position: absolute; left: 0; right: 0; bottom: 34px; height: 110px; color: #ff5a43; pointer-events: none; }
.art-ecg { display: block; width: 100%; height: 100%; }
.art-ecg .trace { stroke-dasharray: .18 .82; animation: csr-sweep 5.5s linear infinite; filter: drop-shadow(0 0 6px rgba(255, 90, 67, .8)); }
@keyframes csr-sweep { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.csr-ribbon { overflow: hidden; background: #c62b1a; color: #fff; }
.csr-ribbon-track { display: flex; width: max-content; animation: rpa-slide 46s linear infinite; }
.csr-ribbon span { display: inline-flex; align-items: center; gap: 22px; padding: 14px 0 14px 22px; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.csr-ribbon span::after { content: ""; width: 18px; height: 2px; background: #161012; flex: none; }

.csr-session, .csr-about, .csr-who, .csr-steps { padding: var(--pad-sec) 0; }
.csr-session-grid, .csr-about-grid { display: grid; gap: 40px; align-items: center; }
.csr-session h2, .csr-year h2, .csr-about h2, .csr-who h2, .csr-steps h2, .csr-close h2 { letter-spacing: -.035em; }
.csr-session h2 em, .csr-year h2 em, .csr-about h2 em, .csr-who h2 em, .csr-steps h2 em { color: var(--brand); }
.csr-session-copy > p:not(.eyebrow-line) { max-width: 52ch; color: var(--ink-2); }
.csr-datebar { display: flex; align-items: stretch; margin: 26px 0 16px; border-radius: 14px; overflow: hidden; background: #1a1a1a; color: #fff; max-width: 560px; }
.csr-day { display: flex; align-items: center; padding: 0 0 0 20px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #ff8d7b; }
.csr-datebar b { flex: 1; padding: 18px 16px; font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 650; letter-spacing: -.01em; }
.csr-time { display: flex; align-items: center; padding: 0 22px; background: #c62b1a; font-weight: 700; font-size: 1.1rem; white-space: nowrap; }
.csr-venue { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink) !important; }
.csr-venue svg { width: 18px; height: 18px; color: var(--brand); }
.csr-photo { margin: 0; position: relative; }
.csr-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; max-height: 640px; object-fit: cover; object-position: center 35%; border-radius: 24px; }
.csr-photo::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 2px solid #c62b1a; border-radius: 24px; z-index: -1; }
.csr-photo figcaption { position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px; background: rgba(22, 16, 18, .78); color: #fff; font-size: .82rem; font-weight: 600; }

.csr-year { background: #161012; color: #fff; padding: clamp(64px, 9vw, 112px) 0; }
.csr-year h2 { color: #fff; }
.csr-year h2 em { color: #ff5a43; }
.csr-year .eyebrow-line { color: #ff8d7b; }
.csr-year-head p:not(.eyebrow-line) { max-width: 48ch; color: rgba(255, 255, 255, .72); }
.csr-year-strip { margin: 36px -4px 0; overflow-x: auto; scrollbar-width: none; }
.csr-year-strip::-webkit-scrollbar { display: none; }
.art-year { display: block; min-width: 760px; width: 100%; height: auto; }
.art-year path { stroke-width: 2.4; stroke-linejoin: round; }
.art-year .yr-past { stroke: rgba(255, 255, 255, .55); }
.art-year .yr-now { stroke: #ff5a43; stroke-width: 4; filter: drop-shadow(0 0 8px rgba(255, 90, 67, .85)); }
.art-year .yr-next { stroke: rgba(255, 255, 255, .28); stroke-dasharray: 5 7; }
.art-year .yr-axis { stroke: rgba(255, 255, 255, .14); }
.art-year .yr-ring { stroke: #ff5a43; stroke-opacity: .5; animation: csr-ring 2.5s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.art-year .yr-dot { fill: #ff5a43; }
.art-year text { fill: rgba(255, 255, 255, .55); font: 600 15px var(--f-sans); text-anchor: middle; letter-spacing: .06em; text-transform: uppercase; }
.art-year .yr-now-l { fill: #fff; font-weight: 800; }
@keyframes csr-ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.csr-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 18px 0 0; font-size: .85rem; color: rgba(255, 255, 255, .7); }
.csr-legend span { width: 22px; height: 0; border-top: 3px solid rgba(255, 255, 255, .55); margin-left: 10px; }
.csr-legend span:first-child { margin-left: 0; }
.csr-legend .lg-now { border-color: #ff5a43; }
.csr-legend .lg-next { border-top-style: dashed; border-color: rgba(255, 255, 255, .35); }

.csr-lead { max-width: 46ch; font-size: 1.12rem; color: var(--ink-2); }
.csr-pillars { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; gap: 4px; }
.csr-pillars li { display: grid; grid-template-columns: 44px 120px 1fr; align-items: baseline; gap: 12px; padding: 12px 0; border-top: 1px solid var(--hair); }
.csr-pillars i { color: var(--brand); align-self: center; }
.csr-pillars i svg { width: 40px; height: 20px; display: block; }
.csr-pillars strong { font-size: 1.05rem; }
.csr-pillars span { color: var(--mute); font-size: .95rem; }
.csr-about .btn-line { color: var(--ink); border-color: var(--hair); }
.csr-about .btn-line:hover { color: var(--brand); border-color: var(--brand); }

.csr-who { background: var(--sand); }
.csr-chips { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.csr-chips li { padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid #ecd2cd; font-weight: 600; font-size: .95rem; }
.csr-chips li:first-child { background: #c62b1a; border-color: #c62b1a; color: #fff; }

.csr-steps ol { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: step; position: relative; }
.csr-steps li { position: relative; padding: 26px 24px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-1); }
.csr-steps i { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #fbe9e6; color: var(--brand); margin-bottom: 14px; }
.csr-steps i svg { width: 24px; height: 24px; }
.csr-steps strong { display: block; font-size: 1.25rem; letter-spacing: -.015em; }
.csr-steps p { margin: 6px 0 0; color: var(--mute); }

.csr-close { position: relative; isolation: isolate; overflow: hidden; background: #c62b1a; color: #fff; padding: clamp(80px, 12vw, 140px) 0 clamp(56px, 8vw, 88px); }
.csr-close-art { position: absolute; inset: auto 0 34% 0; height: 140px; color: rgba(255, 255, 255, .9); z-index: -1; opacity: .5; }
.csr-close h2 { margin: 0; color: #fff; font-size: clamp(3.4rem, 9vw, 7rem); line-height: .9; }
.csr-close h2 em { color: #161012; }
.csr-close > .wrap > p { margin: 18px 0 0; font-size: 1.1rem; color: rgba(255, 255, 255, .88); }
.site.brand-csr .csr-close .btn-cta { background: #fff; color: #a0230f; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.site.brand-csr .csr-close .btn-cta:hover { background: #161012; color: #fff; }
.csr-count { margin: 28px 0 0; }
.csr-count dt { margin: 0 0 6px; letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; font-weight: 700; color: rgba(255, 255, 255, .75); }
.csr-count .cd { margin: 0; font-variant-numeric: tabular-nums; }
.csr-count .cd b { font-family: var(--f-serif); font-weight: 400; font-size: 2rem; color: #fff; }
.csr-count .cd span { margin-right: 10px; color: rgba(255, 255, 255, .75); font-size: .85rem; }
.csr-credit { margin: 28px 0 0; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.csr-credit a { color: #fff; }

@media (min-width: 860px) {
  .csr-session-grid { grid-template-columns: 1.1fr .9fr; gap: 72px; }
  .csr-about-grid { grid-template-columns: .85fr 1.15fr; gap: 72px; }
  .csr-steps ol { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .csr-steps ol::before { content: ""; position: absolute; left: 8%; right: 8%; top: 50px; height: 2px; background: linear-gradient(90deg, #c62b1a, rgba(198, 43, 26, .2)); z-index: 0; }
}
@media (max-width: 720px) {
  .csr-hero { min-height: 0; padding: calc(var(--nav-h) + 12px) 0 140px; justify-content: flex-start; }
  .csr-heart { position: relative; inset: auto; width: 210px; transform: none; margin: 0 auto 8px; }
  .csr-pillars li { grid-template-columns: 44px 1fr; }
  .csr-pillars span { grid-column: 2; }
  .csr-photo::before { inset: 10px -8px -10px 10px; }
  .csr-day { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .csr-heart img, .csr-heart span, .art-ecg .trace, .csr-ribbon-track, .csr-hero-copy > *, .art-year .yr-ring { animation: none; }
  .art-ecg .trace { stroke-dasharray: none; }
  .csr-ribbon-track { flex-wrap: wrap; width: auto; justify-content: center; }
}

/* ---------------------------------------------------------------- The Grace Note Podcast: Grace Gathering */
.site.brand-grace {
  --night: #01193e;
  --night-2: #0a2a5e;
  --brand: #01193e;
  --brand-2: #0a2a5e;
  --sky: #d7dff0;
  --amber: #da9e18;
  --amber-hi: #ffd34b;
  --clay: #a8770f;
  --ink: #01193e;
  --ink-2: #33405f;
  --mute: #5c6885;
  --paper: #fdfcf8;
  --sand: #fdf6e0;
  --hair: rgba(16, 26, 56, .12);
  --focus: #01193e;
  --line: #ece6d4;
  background: var(--paper);
  color: var(--ink);
}
.brand-grace .home-hero, .brand-grace .page-hero, .brand-grace .confirm-band, .brand-grace .info-band:not(.info-band-light), .brand-grace .cta-final, .brand-grace .foot, .brand-grace .nav, .brand-grace .grace-hero, .brand-grace .grace-close { --focus: #fff; }
.brand-grace .btn-cta, .brand-grace .btn-cta-solid { background: linear-gradient(90deg, #da9e18, #ffd34b); color: #01193e; box-shadow: 0 8px 26px rgba(218, 158, 24, .3); }
.site.brand-grace .btn-cta:hover, .site.brand-grace .btn-cta-solid:hover { background: linear-gradient(90deg, #ffd34b, #fff68a); color: #01193e; }
.site.brand-grace .btn-cta[aria-disabled="true"] { background: #dcdfe6; color: #3f4966; box-shadow: none; }
.brand-grace .eyebrow-line { color: var(--brand); }
.brand-grace .nav { background: #01193e; }
.brand-grace .nav-brand img, .brand-grace .foot-brand img, .brand-grace .org-id img, .brand-grace .pass-top img { background: #fff; }
.brand-grace .home-hero, .brand-grace .page-hero, .brand-grace .confirm-band, .brand-grace .cta-final, .brand-grace .info-band:not(.info-band-light) { background: linear-gradient(135deg, #01193e, #0a2a5e); }
.brand-grace .hero-art, .brand-grace .page-hero-art, .brand-grace .cta-art, .brand-grace .info-imigongo { display: none; }
.brand-grace .page-hero h1 em, .brand-grace .cta-final em { color: #ffd34b; }
.brand-grace .foot { background: #000f2a; }

.grace-hero { border-bottom: 4px solid #da9e18; color: #fff; padding: calc(clamp(32px, 5vw, 72px) + 76px) 0 clamp(32px, 5vw, 72px); background: radial-gradient(90% 80% at 85% 10%, #14396f 0%, transparent 60%), linear-gradient(150deg, #01193e, #0a2a5e 70%, #01193e); }
.grace-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.grace-kicker { color: #ffd34b; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; margin: 0 0 14px; }
.grace-hero h1 { font-size: clamp(2.9rem, 7vw, 5.4rem); line-height: .98; letter-spacing: -.035em; margin: 0 0 18px; color: #fff; }
.grace-hero h1 em { color: #ffd34b; font-style: italic; }
.grace-hero h1 b { display: block; font-weight: inherit; }
.grace-theme { font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.4; color: #e6ebf5; margin: 0 0 26px; max-width: 30em; }
.grace-when { display: grid; gap: 12px; margin: 0 0 28px; }
.grace-when dt { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: #d7dff0; }
.grace-when dt svg { width: 16px; height: 16px; }
.grace-when dd { margin: 2px 0 0; font-weight: 700; font-size: 1.08rem; color: #fff; }
.grace-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.grace-actions > span { color: #e6ebf5; font-size: .95rem; }
.grace-poster { margin: 0; }
.grace-lineup, .grace-about, .grace-steps { padding: var(--pad-sec) 0; }
.grace-lineup h2 em, .grace-about h2 em, .grace-steps h2 em { color: var(--clay); }
.grace-leads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 26px 0 16px; }
.grace-about { background: var(--sand); }
.grace-lead { font-size: 1.15rem; line-height: 1.55; max-width: 44em; color: var(--ink-2); }
.grace-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.grace-pair article { background: #fff; border-radius: 14px; padding: 24px; border-top: 4px solid #da9e18; }
.grace-pair h3 { margin: 0 0 8px; color: var(--brand); }
.grace-pair p { margin: 0; line-height: 1.55; color: var(--ink-2); }
.grace-steps ol { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grace-steps li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.grace-steps li i { display: inline-flex; color: var(--brand); margin-bottom: 10px; }
.grace-steps li i svg { width: 26px; height: 26px; }
.grace-steps li strong { display: block; margin-bottom: 4px; }
.grace-steps li p { margin: 0; color: var(--ink-2); }
.grace-note { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0 0; padding: 16px 18px; border-radius: 12px; background: #fff6d8; color: var(--ink); }
.grace-note svg { flex: none; width: 20px; height: 20px; color: #a8770f; margin-top: 2px; }
.grace-close { color: #fff; text-align: center; padding: var(--pad-sec) 0; background: linear-gradient(150deg, #01193e, #0a2a5e); }
.grace-close h2 { color: #fff; margin: 0 0 12px; }
.grace-close h2 em { color: #ffd34b; }
.grace-close > .wrap > p { color: #e6ebf5; }
.grace-close .grace-actions { justify-content: center; margin: 22px 0; }
.grace-close .btn-line { color: #fff; }
.grace-count { margin: 18px 0; color: #e6ebf5; }
.grace-count dt { font-size: .85rem; margin-bottom: 4px; }
.grace-count dd { margin: 0; color: #fff; }
.grace-social a, .grace-credit a { color: #ffd34b; }
.grace-credit { font-size: .85rem; margin-bottom: 0; }
@media (max-width: 800px) {
  .grace-hero-grid, .grace-pair, .grace-steps ol { grid-template-columns: 1fr; }
  .grace-poster { max-width: 440px; }
}

/* Grace Gathering: motion. Everything below stops under prefers-reduced-motion. */
.grace-hero, .grace-close { position: relative; overflow: hidden; isolation: isolate; }
.grace-hero > .wrap, .grace-close > .wrap { position: relative; z-index: 2; }
.grace-hero { padding-bottom: calc(clamp(32px, 5vw, 72px) + 70px); }
.grace-close { padding-bottom: calc(var(--pad-sec) + 60px); }

.grace-progress { display: none; }
@supports (animation-timeline: scroll()) {
  .grace-progress { display: block; position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; transform-origin: 0 50%; background: linear-gradient(90deg, #da9e18, #ffd34b, #fff68a); animation: grace-grow linear both; animation-timeline: scroll(root); }
}
@keyframes grace-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.grace-aurora { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.grace-aurora span { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; will-change: transform; }
.grace-aurora span:nth-child(1) { top: -36vmax; right: -20vmax; background: radial-gradient(closest-side, rgba(38, 94, 190, .62), rgba(38, 94, 190, 0)); animation: grace-drift 17s ease-in-out infinite alternate; }
.grace-aurora span:nth-child(2) { bottom: -44vmax; left: -26vmax; background: radial-gradient(closest-side, rgba(38, 94, 190, .4), rgba(38, 94, 190, 0)); animation: grace-drift 23s ease-in-out infinite alternate-reverse; }
@keyframes grace-drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-7vmax, 5vmax, 0) scale(1.14); } }

.grace-notes { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.grace-notes span { position: absolute; bottom: -2rem; left: var(--x); font-size: var(--s); color: #ffd34b; opacity: 0; animation: grace-float var(--t) linear infinite; animation-delay: var(--w); }
@keyframes grace-float {
  0% { transform: translate(0, 0) rotate(-8deg); opacity: 0; }
  12% { opacity: .5; }
  50% { transform: translate(26px, -50vh) rotate(10deg); }
  85% { opacity: .22; }
  100% { transform: translate(-18px, -100vh) rotate(-6deg); opacity: 0; }
}

.grace-brandline { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.grace-brandline .grace-kicker { margin: 0; }
.grace-badge { position: relative; flex: none; width: 56px; height: 56px; }
.grace-when { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px 20px; }
.grace-badge img { position: relative; width: 100%; height: 100%; border-radius: 50%; background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.grace-badge span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid #ffd34b; animation: grace-ring 2.8s ease-out infinite; }
.grace-badge span + span { animation-delay: 1.4s; }
@keyframes grace-ring { from { transform: scale(1); opacity: .85; } to { transform: scale(1.75); opacity: 0; } }

/* Movement only, no fade: the hero's words must show even if a device never runs the animation. */
.grace-hero-copy > * { animation: grace-lift .85s var(--ease) both; }
@keyframes grace-lift { from { transform: translateY(20px); } to { transform: none; } }
.grace-hero-copy > :nth-child(2) { animation-delay: .08s; }
.grace-hero-copy > :nth-child(3) { animation-delay: .16s; }
.grace-hero-copy > :nth-child(4) { animation-delay: .26s; }
.grace-hero-copy > :nth-child(5) { animation-delay: .36s; }
.grace-hero-copy > :nth-child(6) { animation-delay: .46s; }
.grace-hero-copy > :nth-child(7) { animation-delay: .56s; }

.grace-hero h1 em, .grace-close h2 em {
  padding-right: .08em;
  background: linear-gradient(100deg, #da9e18 0%, #ffd34b 30%, #fff68a 50%, #ffd34b 70%, #da9e18 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: grace-shimmer 5.5s linear infinite;
}
@keyframes grace-shimmer { from { background-position: 110% 0; } to { background-position: -110% 0; } }

.grace-count-hero { margin: 22px 0 0; padding: 12px 18px; width: fit-content; max-width: 100%; border: 1px solid rgba(255, 211, 75, .35); border-radius: 14px; background: rgba(255, 255, 255, .06); }
.grace-count-hero dt { color: #ffd34b; }
.grace-count .cd b { color: #ffd34b; font-size: 1.25rem; }
.grace-close .grace-count { display: inline-block; }

.grace-poster { animation: grace-lift 1s .2s var(--ease) both; perspective: 1100px; }
.grace-poster-card { position: relative; overflow: hidden; border-radius: 14px; box-shadow: 0 24px 60px rgba(0, 6, 24, .6), 0 0 0 1px rgba(255, 211, 75, .3); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s var(--ease); animation: grace-levitate 6s ease-in-out infinite alternate; }
.grace-poster-card img { display: block; width: 100%; height: auto; }
.grace-poster-card::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent); transform: skewX(-18deg); animation: grace-sheen 6.5s ease-in-out infinite; pointer-events: none; }
@keyframes grace-levitate { from { translate: 0 -6px; } to { translate: 0 8px; } }
@keyframes grace-sheen { 0%, 62% { left: -60%; } 100% { left: 130%; } }

.grace-wave { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; z-index: 1; display: flex; align-items: flex-end; gap: 4px; padding: 0 4px; pointer-events: none; opacity: .75; }
.grace-wave i { flex: 1 1 0; min-width: 0; height: var(--h); border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #ffd34b, rgba(218, 158, 24, .15)); transform-origin: 50% 100%; animation: grace-eq var(--t) ease-in-out infinite alternate; animation-delay: var(--w); }
@keyframes grace-eq { from { transform: scaleY(.22); } to { transform: scaleY(1); } }

.grace-ribbon { overflow: hidden; background: linear-gradient(90deg, #da9e18, #ffd34b 50%, #da9e18); color: #01193e; }
.grace-ribbon-track { display: flex; width: max-content; animation: rpa-slide 48s linear infinite; }
.grace-ribbon:hover .grace-ribbon-track { animation-play-state: paused; }
.grace-ribbon span { display: inline-flex; align-items: center; gap: 24px; padding: 14px 0 14px 24px; font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.grace-ribbon span::after { content: "♪"; font-size: 1rem; letter-spacing: 0; }

.grace-leads article { display: flex; align-items: center; gap: 20px; padding: 20px 24px; border-radius: 16px; background: linear-gradient(120deg, #01193e, #0a2a5e); color: #fff; transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .8s var(--ease); }
.grace-leads article:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(1, 25, 62, .32); }
.grace-ring { position: relative; flex: none; width: 104px; height: 104px; padding: 4px; border-radius: 50%; overflow: hidden; }
.grace-ring::before { content: ""; position: absolute; inset: -30%; background: conic-gradient(#da9e18, #fff68a, #ffd34b, #01193e, #da9e18); animation: grace-spin 6s linear infinite; }
.grace-ring img { position: relative; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; border-radius: 50%; border: 3px solid #01193e; }
@keyframes grace-spin { to { transform: rotate(360deg); } }
.grace-leads span { display: block; color: #ffd34b; font-size: .85rem; font-weight: 700; margin-bottom: 6px; }
.grace-leads strong { font-size: clamp(1.15rem, 2vw, 1.5rem); }

.grace-names { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.grace-names li { position: relative; overflow: hidden; aspect-ratio: 3 / 4; border-radius: 14px; background: #01193e; }
.grace-names img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; scale: 1.07; transition: scale .6s var(--ease); }
.grace-names li::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, transparent 50%, rgba(1, 25, 62, .94) 100%); box-shadow: inset 0 0 0 0 #ffd34b; transition: box-shadow .3s var(--ease); pointer-events: none; }
.grace-names li:hover img { scale: 1.16; }
.grace-names li:hover::after { box-shadow: inset 0 0 0 3px #ffd34b; }
.grace-names span { position: absolute; z-index: 1; left: 12px; right: 10px; bottom: 11px; color: #fff; font-weight: 700; font-size: .92rem; line-height: 1.2; }

.grace-pair article { position: relative; overflow: hidden; border-top: 0; transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .8s var(--ease); }
.grace-pair article::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, #da9e18, #ffd34b, #fff68a); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1s .3s var(--ease); }
.grace-pair article.in::before, html:not(.js) .grace-pair article::before { transform: scaleX(1); }
.grace-pair article:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(1, 25, 62, .14); }

.grace-steps ol { position: relative; }
.grace-steps li { position: relative; transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .8s var(--ease); }
.grace-steps li:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(1, 25, 62, .12); }
.grace-steps li i { width: 50px; height: 50px; align-items: center; justify-content: center; border-radius: 50%; background: #01193e; color: #ffd34b; animation: grace-glow 3s ease-in-out infinite; }
.grace-steps li:nth-child(2) i { animation-delay: 1s; }
.grace-steps li:nth-child(3) i { animation-delay: 2s; }
@keyframes grace-glow { 0%, 60%, 100% { box-shadow: 0 0 0 0 rgba(218, 158, 24, 0); } 25% { box-shadow: 0 0 0 7px rgba(218, 158, 24, .28); } }

.grace-actions .btn-cta { position: relative; overflow: hidden; }
.grace-actions .btn-cta::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .7), transparent); transform: skewX(-18deg); animation: grace-sheen 4.5s ease-in-out infinite; }
.grace-close .wrap { z-index: 2; }

@media (max-width: 980px) { .grace-names { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .grace-leads { grid-template-columns: 1fr; } .grace-wave { height: 44px; gap: 2px; } .grace-wave i:nth-child(even) { display: none; } }
@media (max-width: 480px) { .grace-names { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grace-ring { width: 84px; height: 84px; } }

@media (prefers-reduced-motion: reduce) {
  .grace-aurora span, .grace-badge span, .grace-hero-copy > *, .grace-hero h1 em, .grace-close h2 em, .grace-poster, .grace-poster-card, .grace-poster-card::after, .grace-wave i, .grace-ribbon-track, .grace-ring::before, .grace-steps li i, .grace-actions .btn-cta::after { animation: none; }
  .grace-notes, .grace-progress, .grace-poster-card::after, .grace-actions .btn-cta::after, .grace-badge span { display: none; }
  .grace-wave i { transform: scaleY(.6); }
  .grace-ribbon-track { flex-wrap: wrap; width: auto; justify-content: center; }
  .grace-ribbon-track > span:nth-child(n+9) { display: none; }
  .grace-pair article::before { transform: scaleX(1); transition: none; }
  .grace-leads article, .grace-names img, .grace-pair article, .grace-steps li { transition: none; }
}

/* Waiting for a mobile money payment */
.pay-card { text-align: left; }
.pay-amount { font-size: clamp(2rem, 6vw, 2.8rem); font-weight: 700; letter-spacing: -.02em; margin: 0 0 14px; color: var(--brand); }
.pay-now { display: flex; align-items: center; gap: 10px; font-weight: 600; margin: 0 0 16px; }
.pay-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--amber); animation: ping 1.8s ease-out infinite; }
.pay-how { margin: 0; padding-left: 20px; line-height: 1.7; color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .pay-dot { animation: none; } }

.pay-summary { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; padding: 16px 18px; margin: 0 0 18px; border-radius: 12px; background: var(--sand); }
.pay-summary strong { font-size: 1.5rem; color: var(--brand); }

.confirm-name { font-size: 1.5rem; font-weight: 700; margin: 0 0 4px; color: var(--brand); }
.pay-card .pay-summary { margin-top: 14px; }

/* Extra seats counter */
.seat-meter { margin: 0 0 18px; padding: 14px 16px; border: 1px solid #d9dfeb; border-radius: 14px; background: #f6f8fc; color: #0b2447; }
.seat-meter-count { margin: 0 0 8px; font-size: 1rem; line-height: 1.3; }
.seat-meter-count strong { font-size: 1.9rem; font-weight: 800; font-variant-numeric: tabular-nums; margin-right: 2px; }
.seat-meter-bar { height: 10px; border-radius: 999px; background: #dfe5f0; overflow: hidden; }
.seat-meter-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #f2b705, #ffd34b); transition: width .5s ease; }
.seat-meter-note { margin: 8px 0 0; font-size: .85rem; line-height: 1.4; color: #4d5a75; }
.grace-hero .seat-meter { margin: 22px 0 0; max-width: 460px; border-color: rgba(255, 211, 75, .35); background: rgba(255, 255, 255, .06); color: #fff; }
.grace-hero .seat-meter-count strong { color: #ffd34b; }
.grace-hero .seat-meter-bar { background: rgba(255, 255, 255, .16); }
.grace-hero .seat-meter-note { color: #d7dff0; }
@media (prefers-reduced-motion: reduce) { .seat-meter-bar i { transition: none; } }

/* Agakiza IG: Young Professional's Breakfast, in the navy, red and gold of its banner */
.site.brand-agakiza {
  --night: #0a2c6b;
  --night-2: #123b86;
  --brand: #0a2c6b;
  --brand-2: #123b86;
  --sky: #d9e6f7;
  --amber: #f2b705;
  --amber-hi: #ffd34b;
  --clay: #a8201f;
  --ink: #0a2c6b;
  --ink-2: #33405f;
  --mute: #5c6885;
  --paper: #fbfcff;
  --sand: #eef4fc;
  --hair: rgba(10, 44, 107, .12);
  --focus: #0a2c6b;
  --line: #dfe7f3;
  background: var(--paper);
  color: var(--ink);
}
.brand-agakiza .home-hero, .brand-agakiza .page-hero, .brand-agakiza .confirm-band, .brand-agakiza .info-band:not(.info-band-light), .brand-agakiza .cta-final, .brand-agakiza .foot, .brand-agakiza .nav, .brand-agakiza .ag-hero, .brand-agakiza .ag-close { --focus: #fff; }
.brand-agakiza .btn-cta, .brand-agakiza .btn-cta-solid { background: #f2b705; color: #0a2c6b; box-shadow: 0 8px 26px rgba(242, 183, 5, .28); }
.site.brand-agakiza .btn-cta:hover, .site.brand-agakiza .btn-cta-solid:hover { background: #ffd34b; color: #0a2c6b; }
.site.brand-agakiza .btn-cta[aria-disabled="true"] { background: #dcdfe6; color: #3f4966; box-shadow: none; }
.brand-agakiza .eyebrow-line { color: var(--brand); }
.brand-agakiza .nav { background: #0a2c6b; }
.brand-agakiza .nav-brand img, .brand-agakiza .foot-brand img, .brand-agakiza .org-id img, .brand-agakiza .pass-top img { background: #fff; border-radius: 50%; }
.ag-hero { background: linear-gradient(160deg, #0a2c6b, #123b86 70%, #1d56b5); color: #fff; padding: calc(clamp(32px, 6vw, 72px) + 72px) 0 clamp(72px, 10vw, 120px); }
.ag-brand { display: flex; align-items: center; gap: 14px; }
.ag-brand img { width: 72px; height: 72px; border-radius: 50%; background: #fff; padding: 3px; }
.ag-brand p { margin: 0; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; color: #ffd34b; font-weight: 700; }
.ag-hero h1 { margin: 22px 0 14px; font-size: clamp(2.5rem, 7.4vw, 5rem); line-height: 1.04; color: #fff; }
.ag-hero h1 em { color: #ffd34b; font-style: italic; }
.ag-theme { margin: 0 0 30px; max-width: 42rem; font-size: clamp(1.1rem, 2.4vw, 1.4rem); line-height: 1.4; }
.ag-theme b { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #ffd34b; margin-bottom: 4px; }
.ag-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0 0 30px; }
.ag-facts div { padding: 16px; border-radius: 12px; background: rgba(255, 255, 255, .1); }
.ag-facts dt { display: flex; align-items: center; gap: 7px; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: #cfe0ff; margin-bottom: 6px; }
.ag-facts dt svg { width: 15px; height: 15px; }
.ag-facts dd { margin: 0; font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.ag-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.ag-actions span:not(.btn-cta) { color: #ffd34b; font-weight: 600; }
.ag-banner { margin-top: clamp(-84px, -7vw, -44px); margin-bottom: 0; position: relative; }
.ag-banner img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 18px 44px rgba(10, 44, 107, .22); }
.ag-steps { padding: clamp(52px, 8vw, 88px) 0; }
.ag-steps h2, .ag-close h2 { margin: 0 0 28px; font-size: clamp(1.9rem, 4.6vw, 3rem); }
.ag-steps h2 em { color: var(--clay); }
.ag-steps ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; }
.ag-steps li { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.ag-steps li i { display: inline-flex; color: var(--clay); margin-bottom: 10px; }
.ag-steps li i svg { width: 26px; height: 26px; }
.ag-steps li strong { display: block; font-size: 1.1rem; margin-bottom: 6px; }
.ag-steps li p { margin: 0; color: var(--ink-2); }
.ag-note { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0 0; padding: 16px 18px; border-radius: 12px; background: #fff6d8; color: var(--ink); }
.ag-note svg { flex: none; width: 20px; height: 20px; color: #a8770f; margin-top: 2px; }
.ag-close { background: #0a2c6b; color: #fff; padding: clamp(52px, 8vw, 88px) 0; text-align: center; }
.ag-close h2 { margin-bottom: 10px; color: #fff; }
.ag-close h2 em { color: #ffd34b; }
.ag-close p { margin: 0 0 24px; }
.ag-close .ag-actions { justify-content: center; margin-bottom: 26px; }
.ag-close a:not(.btn-cta) { color: #ffd34b; }
.ag-social, .ag-close .ag-credit { font-size: .92rem; margin-bottom: 6px; }
@media (max-width: 760px) {
  .ag-facts { grid-template-columns: 1fr 1fr; }
  .ag-steps ol { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .ag-facts { grid-template-columns: 1fr; } }

/* Cornerstone Development Africa: Family of Friends Professionals Dinner, in the plum and gold of its flyer */
.site.brand-cornerstone {
  --night: #1c0b20;
  --night-2: #2b1130;
  --brand: #7a1456;
  --brand-2: #9c1c6e;
  --sky: #f3dff0;
  --amber: #e8b84b;
  --amber-hi: #f6d27a;
  --clay: #a8146a;
  --ink: #24102a;
  --ink-2: #4a3450;
  --mute: #6f5c75;
  --paper: #fdfbfc;
  --sand: #f7eff4;
  --hair: rgba(36, 16, 42, .12);
  --focus: #7a1456;
  --line: #eadfe8;
  background: var(--paper);
  color: var(--ink);
}
.brand-cornerstone .home-hero, .brand-cornerstone .page-hero, .brand-cornerstone .confirm-band, .brand-cornerstone .info-band:not(.info-band-light), .brand-cornerstone .cta-final, .brand-cornerstone .foot, .brand-cornerstone .nav, .brand-cornerstone .fd-hero { --focus: #fff; }
.brand-cornerstone .btn-cta, .brand-cornerstone .btn-cta-solid { background: #e8b84b; color: #24102a; box-shadow: 0 8px 26px rgba(232, 184, 75, .26); }
.site.brand-cornerstone .btn-cta:hover, .site.brand-cornerstone .btn-cta-solid:hover { background: #f6d27a; color: #24102a; }
.site.brand-cornerstone .btn-cta[aria-disabled="true"] { background: #e2dce3; color: #4a3450; box-shadow: none; }
.brand-cornerstone .eyebrow-line { color: var(--brand); }
.brand-cornerstone .nav { background: #1c0b20; }
.brand-cornerstone .nav-brand img, .brand-cornerstone .foot-brand img, .brand-cornerstone .org-id img, .brand-cornerstone .pass-top img { background: #fff; border-radius: 50%; }
.fd-hero { background: radial-gradient(90% 70% at 85% 0, #4b1148, transparent 70%), #1c0b20; color: #fff; padding: calc(clamp(32px, 5vw, 64px) + 72px) 0 clamp(52px, 8vw, 88px); }
.fd-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.fd-brand { margin: 0; font-size: .92rem; letter-spacing: .12em; text-transform: uppercase; color: #f6d27a; font-weight: 700; }
.fd-hero h1 { margin: 18px 0 28px; font-size: clamp(2.7rem, 6.6vw, 5.2rem); line-height: 1.02; color: #fff; }
.fd-hero h1 small { display: block; font-size: .46em; line-height: 1.2; margin-bottom: 8px; }
.fd-hero h1 em { display: block; color: #e8b84b; font-style: normal; }
.fd-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 28px; }
.fd-facts div { padding: 15px 16px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(232, 184, 75, .22); }
.fd-facts dt { display: flex; align-items: center; gap: 7px; font-size: .76rem; letter-spacing: .07em; text-transform: uppercase; color: #e9d3e6; margin-bottom: 6px; }
.fd-facts dt svg { width: 15px; height: 15px; }
.fd-facts dd { margin: 0; font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.fd-facts dd small { display: block; margin-top: 3px; font-size: .84rem; font-weight: 500; color: #f6d27a; }
.fd-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.site .fd-link, .site .fd-link:hover { color: #f6d27a; font-weight: 600; }
.fd-closes { margin: 14px 0 0; color: #e9d3e6; font-size: .95rem; }
.fd-flyer { margin: 0; }
.fd-flyer img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 22px 54px rgba(0, 0, 0, .45); }
.fd-steps { padding: clamp(52px, 8vw, 88px) 0; }
.fd-steps h2 { margin: 0 0 28px; font-size: clamp(1.9rem, 4.6vw, 3rem); }
.fd-steps h2 em { color: var(--clay); }
.fd-steps ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; }
.fd-steps li { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.fd-steps li i { display: inline-flex; color: var(--clay); margin-bottom: 10px; }
.fd-steps li i svg { width: 26px; height: 26px; }
.fd-steps li strong { display: block; font-size: 1.1rem; margin-bottom: 6px; }
.fd-steps li p { margin: 0; color: var(--ink-2); }
.fd-note { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0 0; padding: 16px 18px; border-radius: 12px; background: #fbf1d8; color: var(--ink); }
.fd-note svg { flex: none; width: 20px; height: 20px; color: #96700f; margin-top: 2px; }
.fd-credit { margin: 22px 0 0; font-size: .92rem; color: var(--mute); }
@media (max-width: 820px) {
  .fd-hero-grid, .fd-steps ol { grid-template-columns: 1fr; }
  .fd-flyer { max-width: 420px; }
}
@media (max-width: 420px) { .fd-facts { grid-template-columns: 1fr; } }
.brand-cornerstone .home-hero, .brand-cornerstone .page-hero, .brand-cornerstone .confirm-band, .brand-cornerstone .cta-final, .brand-cornerstone .info-band:not(.info-band-light) { background: linear-gradient(135deg, #1c0b20, #4b1148); }
.brand-cornerstone .hero-art, .brand-cornerstone .page-hero-art, .brand-cornerstone .cta-art, .brand-cornerstone .info-imigongo { display: none; }
