/* ASRTI · asrti.org.ng — content comes from the ASRTI group on the Membership app. */
:root {
  --ink: #0B0C0E; --ink-2: #3A3A3F; --muted: #6B6A66; --line: #E4E2DD; --paper: #F6F5F2; --surface: #FFFFFF;
  --night: #0B0C0E; --night-2: #16171A; --night-line: #2A2B2F; --night-muted: #A3A29C;
  --gold: #B8913F; --gold-soft: rgba(184,145,63,.16);
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 14px; --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 10px; background: var(--ink); color: #fff; font: 500 15px/1 var(--sans); text-decoration: none; border: 1px solid var(--ink); cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn.sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 9px; }
.btn.lg { height: 50px; padding: 0 22px; font-size: 15.5px; border-radius: 12px; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.btn.outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.btn.outline-light:hover { border-color: #fff; }
.btn.block { width: 100%; }
.link { color: inherit; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(246,245,242,.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.bar { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.logo { width: 44px; height: 44px; flex: none; border-radius: 10px; background: #fff center/contain no-repeat; box-shadow: 0 0 0 1px var(--line); }
.logo:empty:not([style]) { background: var(--ink); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-text b { font-weight: 600; font-size: 15.5px; letter-spacing: -.01em; white-space: nowrap; }
.brand-text small { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 8px; text-decoration: none; font-size: 14.5px; color: var(--ink-2); }
.nav a:hover { color: var(--ink); background: rgba(11,12,14,.05); }
.actions { display: flex; align-items: center; gap: 8px; }
.menu { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; padding: 0; position: relative; }
.menu span { position: absolute; left: 11px; right: 11px; height: 1.6px; background: var(--ink); transition: transform .2s; }
.menu span:first-child { top: 15px; } .menu span:last-child { top: 23px; }
.menu[aria-expanded=true] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu[aria-expanded=true] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.drawer { border-top: 1px solid var(--line); background: var(--paper); padding: 8px 20px 18px; display: grid; }
.drawer a { padding: 13px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 17px; }
.drawer a:last-child { border-bottom: 0; color: var(--muted); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--night); color: #fff; }
.runway { position: absolute; inset: 0; background:
  radial-gradient(1200px 520px at 78% -10%, rgba(184,145,63,.22), transparent 60%),
  repeating-linear-gradient(90deg, transparent 0 118px, rgba(255,255,255,.035) 118px 119px),
  linear-gradient(180deg, transparent 55%, rgba(0,0,0,.35)); }
.runway::after { content: ""; position: absolute; right: 9%; top: 0; width: 1px; height: 62%; background: repeating-linear-gradient(180deg, rgba(184,145,63,.55) 0 18px, transparent 18px 44px); opacity: .55; }
.hero-in { position: relative; padding: 120px 28px 56px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--night-muted); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(184,145,63,.2); }
.hero h1 { font: 400 clamp(3.2rem, 8.4vw, 7.4rem)/.96 var(--serif); letter-spacing: -.02em; margin: 0 0 26px; max-width: 13ch; }
.hero h1 em { color: var(--gold); }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: #D6D5D0; max-width: 600px; margin: 0; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-foot { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 96px; border-top: 1px solid var(--night-line); }
.hero-foot div { padding: 22px 24px 0 0; }
.hero-foot div + div { padding-left: 24px; border-left: 1px solid var(--night-line); }
.hero-foot b { display: block; font-weight: 500; font-size: 15px; }
.hero-foot span { color: var(--night-muted); font-size: 14px; }

/* Latest statement */
.statement { background: var(--night-2); color: #fff; border-top: 1px solid var(--night-line); }
.statement-in { padding: 44px 28px; display: grid; grid-template-columns: 220px 1fr; column-gap: 40px; }
.statement-meta { grid-row: span 3; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.statement-meta time { color: var(--night-muted); font-size: 14px; }
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 500; letter-spacing: .04em; background: var(--gold-soft); color: #E2C88E; }
.statement h2 { font: 400 clamp(1.6rem, 2.6vw, 2.25rem)/1.15 var(--serif); margin: 0 0 12px; letter-spacing: -.01em; }
.statement p { margin: 0 0 18px; color: #C9C8C2; max-width: 780px; }

/* Sections */
.sec { padding: 112px 0; }
.sec.tint { background: #EFEDE8; }
.kicker { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; font-weight: 500; }
.kicker.light { color: var(--night-muted); }
.h2 { font: 400 clamp(2.3rem, 4.4vw, 3.6rem)/1.02 var(--serif); letter-spacing: -.02em; margin: 0; }
.h2 em { color: var(--gold); }
.h3 { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin: 0 0 16px; }
.two { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.prose { font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.prose p { margin: 0 0 18px; }
.prose ul { margin: 0 0 18px; padding-left: 20px; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 48px; }
.head-note { max-width: 440px; margin: 0; color: var(--muted); }
.muted-light { color: var(--night-muted); }

/* What we do */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; min-height: 240px; transition: transform .2s ease, box-shadow .2s ease; text-decoration: none; }
a.card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -24px rgba(11,12,14,.35); }
.card .num { font: 400 15px/1 var(--serif); color: var(--gold); margin-bottom: 40px; }
.card h3 { font-size: 20px; letter-spacing: -.015em; margin: 0 0 10px; font-weight: 600; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .img { margin: -28px -28px 22px; height: 160px; background: var(--paper) center/cover; border-radius: var(--r) var(--r) 0 0; }

/* Safety concerns */
.concerns { background: var(--night); color: #fff; }
.concern-list { list-style: none; margin: 0; padding: 0; counter-reset: c; }
.concern-list li { counter-increment: c; display: grid; grid-template-columns: 56px 1fr; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--night-line); font-size: clamp(18px, 2vw, 22px); letter-spacing: -.01em; }
.concern-list li:last-child { border-bottom: 1px solid var(--night-line); }
.concern-list li::before { content: counter(c, decimal-leading-zero); font: 400 16px var(--serif); color: var(--gold); }

/* Meetings */
.bbm { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; }
.event { display: grid; grid-template-columns: 84px 1fr; gap: 22px; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 14px; }
.cal { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-align: center; align-self: start; }
.cal span { display: block; background: var(--ink); color: #fff; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 4px 0; }
.cal b { display: block; font: 400 34px/1.2 var(--serif); padding: 6px 0 2px; }
.cal i { display: block; font-style: normal; font-size: 12px; color: var(--muted); padding-bottom: 6px; }
.event h4 { margin: 0 0 6px; font-size: 20px; letter-spacing: -.015em; }
.event .theme { font: italic 400 19px/1.35 var(--serif); color: var(--ink-2); margin: 0 0 12px; }
.event .meta { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.event .speakers { font-size: 14.5px; color: var(--ink-2); margin: 0 0 16px; }
.comm { display: block; padding: 20px 0; border-top: 1px solid var(--line); text-decoration: none; }
.comm:last-child { border-bottom: 1px solid var(--line); }
.comm small { color: var(--muted); font-size: 13px; }
.comm b { display: block; font-weight: 500; margin: 4px 0; letter-spacing: -.01em; }
.comm span { color: var(--muted); font-size: 14.5px; }
.comm:hover b { text-decoration: underline; text-underline-offset: 3px; }
.empty { color: var(--muted); padding: 22px 0; border-top: 1px solid var(--line); margin: 0; }

/* Leadership */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
.person .ph { aspect-ratio: 4/5; border-radius: var(--r); background: #E2DFD8 center 20%/cover; display: grid; place-items: center; font: 400 40px var(--serif); color: var(--muted); margin-bottom: 14px; filter: grayscale(.15) contrast(1.02); transition: filter .3s; }
.person:hover .ph { filter: none; }
.person b { display: block; font-weight: 600; letter-spacing: -.01em; }
.person span { color: var(--muted); font-size: 14.5px; }

/* News */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.story { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.story:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -24px rgba(11,12,14,.35); }
.story .img { aspect-ratio: 16/10; background: #E9E6E0 center/cover; }
.story .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.story small { font-size: 12.5px; color: var(--muted); letter-spacing: .02em; }
.story small b { color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 11px; margin-right: 6px; }
.story h3 { margin: 0; font-size: 19px; line-height: 1.3; letter-spacing: -.015em; }
.story p { margin: 0; color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Join */
.join { background: var(--night); color: #fff; }
.join-in { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; }
.join .h2 { margin-bottom: 18px; }
.join-box { display: grid; gap: 10px; background: var(--night-2); border: 1px solid var(--night-line); padding: 28px; border-radius: 18px; }
.verify { margin-top: 14px; padding-top: 18px; border-top: 1px solid var(--night-line); }
.verify label { display: block; font-size: 13px; color: var(--night-muted); margin-bottom: 8px; }
.verify-row { display: flex; gap: 8px; }
.verify input { flex: 1; min-width: 0; height: 40px; border-radius: 9px; border: 1px solid var(--night-line); background: var(--night); color: #fff; padding: 0 12px; font: inherit; font-size: 15px; }
.verify-out { margin: 10px 0 0; font-size: 14px; min-height: 1em; }
.verify-out.ok { color: #8FD3A8; } .verify-out.bad { color: #F0A49D; }

/* Contact */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; }
.contact-list { margin: 0; display: grid; }
.contact-list div { display: grid; grid-template-columns: 140px 1fr; padding: 20px 0; border-top: 1px solid var(--line); }
.contact-list div:last-child { border-bottom: 1px solid var(--line); }
.contact-list dt { color: var(--muted); font-size: 14px; }
.contact-list dd { margin: 0; font-size: 18px; }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-list a:hover { border-color: var(--ink); }
.social { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* Footer */
.foot { background: var(--night); color: #fff; padding: 44px 0; border-top: 1px solid var(--night-line); }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-brand .brand-text small { color: var(--night-muted); }
.foot .logo { box-shadow: none; }
.foot-small { margin: 0; color: var(--night-muted); font-size: 13.5px; }
.foot-small a { color: #fff; }

/* Article pages */
.article { padding: 72px 0 112px; }
.article .wrap { max-width: 780px; }
.back { display: inline-flex; gap: 6px; color: var(--muted); text-decoration: none; font-size: 14px; margin-bottom: 36px; }
.back:hover { color: var(--ink); }
.article h1 { font: 400 clamp(2.2rem, 5vw, 3.6rem)/1.05 var(--serif); letter-spacing: -.02em; margin: 14px 0 18px; }
.article .summary { font-size: 20px; color: var(--ink-2); margin: 0 0 32px; }
.article .hero-img { border-radius: var(--r); margin: 0 0 36px; width: 100%; }
.article .prose { font-size: 18px; }
.article ol.res { padding-left: 22px; } .article ol.res li { margin-bottom: 14px; }
.article .speakers { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; margin: 0 0 32px; white-space: pre-line; color: var(--ink-2); }

/* Loading */
.skel { background: linear-gradient(90deg, #ECEAE5 0%, #F4F2EE 40%, #ECEAE5 80%); background-size: 200% 100%; animation: sh 1.4s infinite; border-radius: var(--r); min-height: 200px; }
.skel.tall { min-height: 300px; } .skel.person { aspect-ratio: 4/5; min-height: 0; }
@keyframes sh { to { background-position: -200% 0; } }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .skel { animation: none; } html { scroll-behavior: auto; } }

/* Tablet */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu { display: inline-block; }
  .actions { margin-left: auto; }
  .cards, .news { grid-template-columns: repeat(2, 1fr); }
  .people { grid-template-columns: repeat(3, 1fr); }
  .bbm, .two, .contact, .join-in { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}
/* Phone */
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .bar { height: 64px; gap: 12px; }
  .logo { width: 38px; height: 38px; }
  .brand-text b { font-size: 14.5px; }
  .actions .btn.ghost { display: none; }
  .hero-in { padding: 72px 18px 40px; }
  .hero h1 { font-size: 3.1rem; }
  .eyebrow { letter-spacing: .08em; font-size: 11.5px; gap: 8px; }
  .cta .btn { flex: 1 1 100%; }
  .hero-foot { grid-template-columns: 1fr; margin-top: 56px; }
  .hero-foot div, .hero-foot div + div { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--night-line); }
  .statement-in { grid-template-columns: 1fr; padding: 36px 18px; }
  .statement-meta { flex-direction: row; align-items: center; margin-bottom: 14px; grid-row: auto; }
  .sec { padding: 72px 0; }
  .head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
  .cards, .news { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .card .num { margin-bottom: 22px; }
  .people { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .event { grid-template-columns: 64px 1fr; padding: 20px; gap: 16px; }
  .cal b { font-size: 26px; }
  .contact-list div { grid-template-columns: 1fr; gap: 4px; }
  .join-box { padding: 20px; }
  .prose { font-size: 17px; }
}
