/* =========================================================
   BKRTC — National Art & Culture Examination Board
   Brand: Navy / Gold / Teal / Cream · Cinzel / Cormorant / DM Sans
   ========================================================= */

:root {
  --navy: #1B2456; --navy-900: #111839; --navy-700: #2A3570;
  --gold: #C9920A; --gold-300: #E8B94F; --gold-50: #FBF3DE;
  --teal: #145C4B; --teal-500: #1E8A6E;
  --cream: #FDFAF5; --cream-200: #F6EFE2;
  --ink: #1A1F36; --muted: #545A73; --line: #E7E0D2;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --night: #0B0F22;
  --radius: 14px; --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(var(--dark-rgb),.06), 0 2px 8px rgba(var(--dark-rgb),.05);
  --shadow: 0 10px 30px -12px rgba(var(--dark-rgb),.22);
  --shadow-lg: 0 30px 60px -24px rgba(var(--dark-rgb),.35);
  --ease: cubic-bezier(.2,.7,.2,1);
  --container: 1240px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 140px; }
body { margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.65; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--teal); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; color: var(--navy); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--gold-300); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }
.center { text-align: center; }
.mt-lg { margin-top: 40px; }

/* ---------- Type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); border-radius: 2px; }
.eyebrow--light { color: var(--gold-300); }
.h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 1.15rem + 2vw, 2.75rem); letter-spacing: -.01em; line-height: 1.15; text-wrap: balance; }
.h2--light { color: #fff; }
.h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; }
.lead { font-size: 1.12rem; }
.section__sub { color: var(--muted); font-size: 1.05rem; max-width: 680px; margin-inline: auto; }
.section__sub--left { margin-inline: 0; margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; font: 600 .95rem/1.2 var(--font-body); border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .2s var(--ease), color .2s, border-color .2s, transform .2s var(--ease), filter .2s; }
.btn:hover { transform: translateY(-1px); }
.btn--lg { min-height: 52px; padding: 13px 26px; font-size: 1rem; }
.btn--gold { background: var(--gold-300); color: var(--navy-900); box-shadow: 0 8px 20px -10px rgba(var(--accent-rgb),.8); }
.btn--gold:hover { background: var(--cta-hover); color: var(--navy-900); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-700); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--outline-light { background: rgba(10,14,34,.25); color: #fff; border-color: rgba(255,255,255,.5); }
.btn--outline-light:hover { border-color: var(--gold-300); color: var(--gold-300); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Gov bar ---------- */
.govbar { background: var(--navy-900); color: var(--on-dark-1); font-size: .82rem; }
.govbar__inner { display: flex; align-items: center; gap: 20px; min-height: 38px; flex-wrap: wrap; }
.govbar__item { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; }
a.govbar__item:hover { color: var(--gold-300); }
.govbar__item svg { color: var(--gold-300); }
.govbar__spacer { flex: 1; }
.fontsize { display: inline-flex; border: 1px solid rgba(255,255,255,.2); border-radius: 6px; overflow: hidden; }
.fontsize button { background: transparent; border: 0; color: var(--on-dark-1); font: 600 .78rem var(--font-body); min-width: 34px; min-height: 28px; cursor: pointer; }
.fontsize button + button { border-left: 1px solid rgba(255,255,255,.2); }
.fontsize button:hover { background: rgba(255,255,255,.1); color: #fff; }

/* ---------- Header + nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: var(--shadow); }
.header__inner { display: flex; align-items: center; gap: 20px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--navy); min-width: 0; }
.brand img { width: 60px; height: 60px; object-fit: contain; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(1rem, .8rem + .8vw, 1.35rem); letter-spacing: 0; }
.brand__role { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-top: 4px; }
.header__cta { display: flex; gap: 10px; margin-left: auto; }
.nav { background: var(--navy); border-bottom: 3px solid var(--gold); }
.nav__list { display: flex; list-style: none; flex-wrap: wrap; }
.nav__list a { display: block; padding: 13px 18px; color: var(--on-dark-1); text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; }
.nav__list a:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav__list a[aria-current="page"] { background: rgba(var(--accent-rgb),.16); color: var(--gold-300); font-weight: 600; }
.nav__mobile-cta { display: none; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy); cursor: pointer; align-items: center; justify-content: center; flex-shrink: 0; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline-flex; }

/* ---------- Ticker ---------- */
.ticker { background: var(--gold-50); border-bottom: 1px solid var(--c-accent-line); font-size: .9rem; }
.ticker__inner { display: flex; align-items: center; gap: 14px; min-height: 42px; }
.ticker__label { display: inline-flex; align-items: center; gap: 6px; background: #B42318; color: #fff; font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; flex-shrink: 0; }
.ticker__track { overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.ticker__list { display: flex; gap: 48px; list-style: none; width: max-content; animation: ticker 50s linear infinite; }
.ticker__track:hover .ticker__list, .ticker__track:focus-within .ticker__list { animation-play-state: paused; }
.ticker__list li { white-space: nowrap; }
.ticker__list li::before { content: "◆"; color: var(--gold); margin-right: 10px; font-size: .7em; }
.ticker__list a { color: var(--navy); text-decoration: none; font-weight: 500; }
.ticker__list a:hover { text-decoration: underline; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Hero slider ---------- */
.hero { position: relative; isolation: isolate; min-height: clamp(580px, 90vh, 860px); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; background: var(--night); }
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; transform: scale(1.06); transition: transform 8s linear; }
.hero__slide.is-active img { transform: scale(1); }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(var(--dark-rgb),.9) 0%, rgba(var(--dark-rgb),.62) 42%, rgba(var(--dark-rgb),.05) 75%), linear-gradient(0deg, rgba(var(--dark-rgb),.95) 0%, rgba(var(--dark-rgb),.35) 28%, transparent 55%); }
.hero__content { padding-top: 80px; padding-bottom: 24px; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: .82rem; font-weight: 500; background: rgba(var(--accent-rgb),.12); color: var(--gold-300); border: 1px solid rgba(var(--accent-rgb),.4); margin-bottom: 22px; backdrop-filter: blur(6px); }
.hero__kicker { font-family: var(--font-accent); font-style: italic; font-weight: 500; font-size: clamp(1.2rem, 1rem + .9vw, 1.7rem); color: var(--gold-300); margin: 0 0 6px; }
.hero__title { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: clamp(2.3rem, 1.2rem + 4.2vw, 4.6rem); line-height: 1.04; letter-spacing: -.015em; max-width: 880px; margin-bottom: 20px; text-shadow: 0 2px 30px rgba(0,0,0,.45); text-wrap: balance; }
.hero__lead { font-size: clamp(1rem, .95rem + .3vw, 1.15rem); max-width: 620px; color: var(--on-dark-1); margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__bar { display: flex; align-items: center; gap: 20px; padding-bottom: 108px; padding-top: 8px; }
.hero__caption { margin: 0; font-size: .9rem; color: var(--on-dark-1); display: flex; align-items: center; gap: 12px; min-width: 0; }
.hero__caption [data-slide-cap] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero__count { font-family: var(--font-display); color: #fff; letter-spacing: .04em; flex-shrink: 0; }
.hero__count b { color: var(--gold-300); font-weight: 600; }
.hero__progress { display: flex; gap: 6px; flex: 1; max-width: 260px; margin-left: auto; }
.hero__progress i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.25); overflow: hidden; position: relative; }
.hero__progress i.is-active::after { content: ""; position: absolute; inset: 0; background: var(--gold-300); transform-origin: left; animation: heroprog 6s linear forwards; }
.hero.is-paused .hero__progress i.is-active::after { animation: none; transform: scaleX(1); }
@keyframes heroprog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__controls { display: flex; gap: 8px; }
.hero__ctrl { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(var(--dark-rgb),.45); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); transition: background-color .2s; }
.hero__ctrl:hover { background: rgba(255,255,255,.18); }
.hero__ctrl .i-play { display: none; }
.hero__ctrl[aria-pressed="true"] .i-play { display: inline-flex; }
.hero__ctrl[aria-pressed="true"] .i-pause { display: none; }

/* ---------- Portal roles ---------- */
.portal { position: relative; z-index: 3; margin-top: -84px; padding-bottom: 24px; }
.portal__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #fff; border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: 18px 24px; border: 1px solid var(--line); border-bottom: 0; flex-wrap: wrap; }
.portal__h { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.portal__all { font-weight: 600; color: var(--teal); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.portal__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 0 0 var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.role { --c: #D9480F; --c-bg: #FDEEE6; padding: 24px 22px 22px; display: flex; flex-direction: column; border-top: 4px solid var(--c); }
.role + .role { border-left: 1px solid var(--line); }
.role--1 { --c: #147A60; --c-bg: #E3F4EE; }
.role--2 { --c: #3B3A8F; --c-bg: #ECECF8; }
.role--3 { --c: #946C08; --c-bg: #FBF3DE; }
.role__icon { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: var(--c); background: var(--c-bg); margin-bottom: 12px; }
.role__title { font-family: var(--font-body); font-weight: 700; font-size: 1.08rem; margin-bottom: 4px; }
.role__text { color: var(--muted); font-size: .9rem; flex: 1; }
.role__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn--role { background: var(--c); color: #fff; min-height: 42px; padding: 8px 18px; font-size: .9rem; }
.btn--role:hover { filter: brightness(.9); color: #fff; }
.btn--role-ghost { background: transparent; color: var(--c); border-color: var(--c); min-height: 42px; padding: 8px 18px; font-size: .9rem; }
.btn--role-ghost:hover { background: var(--c-bg); color: var(--c); }

/* ---------- Stats ---------- */
.stats { padding: 24px 0 8px; }
.stats__list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stats__list li { text-align: center; padding: 22px 12px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
.stats__list strong { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); color: var(--navy); line-height: 1.1; }
.stats__list span { font-size: .9rem; color: var(--muted); font-weight: 500; }
.stats__goal { text-align: center; margin: 16px 0 0; color: var(--teal); font-weight: 500; display: flex; align-items: center; justify-content: center; gap: 8px; }

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 7.5vw, 100px) 0; }
.section--cream { background: var(--cream); }
.section--navy { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%); color: var(--on-dark-1); }
.section__head { text-align: center; margin-bottom: 44px; }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; text-align: left; flex-wrap: wrap; }
.section__head--row .h2 { margin-bottom: 6px; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--top { align-items: start; }
.split__media { position: relative; }
.frame { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5 / 4; background: var(--cream-200); }
.frame--tall { aspect-ratio: 4 / 3; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame__note { position: absolute; right: -14px; bottom: -22px; display: flex; align-items: center; gap: 12px; background: var(--teal); color: #fff; padding: 14px 18px; border-radius: 16px; box-shadow: var(--shadow); font-weight: 600; font-size: .9rem; line-height: 1.3; }
.frame__note svg { color: var(--gold-300); flex-shrink: 0; }
.ticks { list-style: none; margin: 20px 0 28px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.ticks svg { color: var(--teal-500); flex-shrink: 0; margin-top: 3px; }
.ticks--2 { grid-template-columns: 1fr 1fr; margin: 16px 0 24px; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 20px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 26px; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--c-accent-line); }
.card__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--navy); color: var(--gold-300); margin-bottom: 16px; }
.card__title { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.card p { color: var(--muted); margin: 0; }
.card--sm { padding: 22px 20px; }
.card--sm .card__icon { width: 46px; height: 46px; border-radius: 12px; margin-bottom: 12px; }
.card--sm .card__title { font-family: var(--font-body); font-weight: 700; font-size: 1.02rem; }
.card--sm p { font-size: .92rem; }

/* ---------- Services ---------- */
.svc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc__card { display: flex; flex-direction: column; gap: 6px; padding: 22px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.svc__card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold-300); color: var(--ink); }
.svc__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--gold-300); margin-bottom: 8px; }
.svc__title { font-weight: 700; color: var(--navy); font-size: 1.02rem; }
.svc__text { font-size: .9rem; color: var(--muted); }

/* ---------- Ladder ---------- */
.ladder { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.ladder__step { padding: 14px 12px 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; gap: 2px; position: relative; overflow: hidden; }
.ladder__step::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); }
.ladder__step--a { --c: #E8B94F; } .ladder__step--b { --c: #1E8A6E; } .ladder__step--c { --c: #2A3570; } .ladder__step--d { --c: #B42318; }
.ladder__num { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.ladder__name { font-size: .84rem; color: var(--muted); font-weight: 500; }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; margin-top: 14px; font-size: .86rem; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 14px; border-radius: 4px; background: var(--c); display: inline-block; }

/* ---------- Checklist / chips ---------- */
.checklist { list-style: none; display: grid; gap: 12px; margin: 8px 0 28px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 1.04rem; }
.checklist svg { flex-shrink: 0; margin-top: 3px; color: var(--teal-500); }
.checklist--light li { color: var(--on-dark-1); }
.checklist--light svg { color: var(--gold-300); }
.countries { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 28px; }
.countries__h { display: flex; align-items: center; gap: 8px; color: #fff; font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin: 0 0 12px; }
.countries__h svg { color: var(--gold-300); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chips li { padding: 7px 14px; border-radius: 999px; background: rgba(var(--accent-rgb),.12); border: 1px solid rgba(var(--accent-rgb),.35); color: var(--c-accent-300); font-size: .88rem; font-weight: 500; }
.chips--light li { background: var(--gold-50); border-color: var(--c-accent-line); color: var(--navy); }
.countries__note { font-size: .86rem; color: var(--on-dark-2); margin: 0; }

/* ---------- Banner ---------- */
.banner { display: grid; grid-template-columns: 1.1fr .9fr; border-radius: 28px; overflow: hidden; background: var(--gold-50); border: 1px solid var(--c-accent-line); }
.banner__copy { padding: clamp(28px, 5vw, 56px); }
.banner__copy > p { color: var(--muted); font-size: 1.04rem; }
.banner__media img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; max-height: 520px; object-position: center 30%; }

/* ---------- Mosaic / gallery ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; }
.mosaic__item { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--cream-200); }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mosaic__item:hover img { transform: scale(1.05); }
.mosaic__item--0 { grid-column: span 2; grid-row: span 2; }
.mosaic__item--1, .mosaic__item--2 { grid-row: span 2; }
.mosaic__item--3 { grid-column: span 2; }
.gallery { columns: 4 240px; column-gap: 14px; }
.gallery__item { break-inside: avoid; margin: 0 0 14px; border-radius: var(--radius); overflow: hidden; position: relative; background: var(--cream-200); }
.gallery__item button { all: unset; display: block; cursor: zoom-in; width: 100%; }
.gallery__item button:focus-visible { outline: 3px solid var(--gold-300); outline-offset: -3px; }
.gallery__item img { width: 100%; transition: transform .6s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item figcaption { position: absolute; inset: auto 0 0 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(var(--dark-rgb),.8)); color: #fff; font-size: .86rem; opacity: 0; transition: opacity .25s; }
.gallery__item:hover figcaption, .gallery__item:focus-within figcaption { opacity: 1; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1100px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(10,14,34,.9); }
.lightbox img { max-height: 84vh; width: auto; margin: 0 auto; border-radius: 12px; }
.lightbox p { color: #fff; text-align: center; margin: 12px 0 0; }
.lightbox__close { position: fixed; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); cursor: pointer; display: grid; place-items: center; }

/* ---------- Event strip ---------- */
.event-strip { margin-top: 28px; display: flex; align-items: center; gap: 20px; padding: 24px 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.event-strip > div { flex: 1; }
.event-strip h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.08rem; margin-bottom: 2px; }
.event-strip p { margin: 0; color: var(--muted); }
.event-strip__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--navy); color: var(--gold-300); flex-shrink: 0; }

/* ---------- Board ---------- */
.board { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.board__item { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.board__avatar { grid-row: span 2; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--navy-700)); color: var(--gold-300); font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; border: 2px solid var(--gold-300); }
.board__name { font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.board__role { font-size: .88rem; color: var(--teal); font-weight: 600; }
.board__desc { grid-column: 1 / -1; margin: 12px 0 0; color: var(--muted); font-size: .92rem; }

/* ---------- Desks ---------- */
.desks { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.desks a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 22px 12px; border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; height: 100%; }
.desks a:hover { border-color: var(--teal-500); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.desks__icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #E3F2EC; color: var(--teal); margin-bottom: 6px; }
.desks__label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.desks__num { font-weight: 700; color: var(--navy); font-size: 1.02rem; white-space: nowrap; }

/* ---------- Paper table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.paper { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 880px; }
.paper caption { text-align: left; padding: 14px 18px; font-weight: 700; color: var(--navy); background: var(--gold-50); border-bottom: 1px solid var(--c-accent-line); }
.paper th, .paper td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.paper thead th { background: var(--navy); color: #fff; font-weight: 600; }
.paper tbody th { color: var(--navy); white-space: nowrap; }
.paper tbody th small { display: block; color: var(--muted); font-weight: 500; }
.paper tbody tr:nth-child(even) { background: var(--cream); }
.paper tfoot td { font-size: .86rem; color: var(--muted); background: var(--cream-200); }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--gold-300) 0 8px, transparent 8px 16px); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step__num { position: relative; z-index: 1; width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--gold); color: var(--navy); font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; box-shadow: 0 0 0 6px #fff; }
.section--cream .step__num { box-shadow: 0 0 0 6px var(--cream); }
.step h3 { font-family: var(--font-display); font-size: 1.12rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; color: var(--on-dark-1); padding: clamp(48px, 7vw, 92px) 0; background: var(--navy-900); }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,14,34,.94) 0%, rgba(10,14,34,.75) 55%, rgba(10,14,34,.45) 100%); }
.page-hero h1 { font-family: var(--font-display); color: #fff; font-weight: 600; font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.6rem); letter-spacing: -.01em; margin-bottom: 12px; }
.page-hero p { max-width: 700px; font-size: 1.1rem; margin: 0; }
.crumbs { list-style: none; display: flex; gap: 8px; font-size: .86rem; margin-bottom: 16px; color: var(--on-dark-2); }
.crumbs a { color: var(--gold-300); text-decoration: none; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }

/* ---------- Registrations ---------- */
.reg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.reg-item { padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.reg-item dt { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.reg-item dd { margin: 4px 0 0; font-weight: 700; color: var(--navy); word-break: break-word; }

/* ---------- Info list ---------- */
.info-list { list-style: none; display: grid; gap: 16px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list li > span { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--navy); color: var(--gold-300); flex-shrink: 0; }
.info-list h3 { font-size: 1.02rem; margin: 0 0 2px; font-family: var(--font-body); font-weight: 700; }
.info-list p { margin: 0; color: var(--muted); }
.quote { font-family: var(--font-accent); font-style: italic; font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.9rem); color: var(--navy); line-height: 1.35; border-left: 4px solid var(--gold); padding-left: 24px; margin: 0; }

/* ---------- Forms ---------- */
.panel { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--cream); border: 1px solid var(--line); }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--c-line-strong); font: 400 1rem/1.4 var(--font-body); color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(var(--dark-rgb),.12); }
.field__hint { font-size: .84rem; color: var(--muted); margin-top: 4px; }

/* ---------- Donate ---------- */
.donate-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.donate-opt { text-align: center; padding: 30px 22px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.donate-opt .card__icon { margin-inline: auto; }
.donate-opt h3 { font-family: var(--font-display); font-size: 1.15rem; }
.donate-opt p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--teal) 0%, var(--c-dark-900) 100%); color: var(--on-dark-1); padding: 52px 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band__title { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: clamp(1.5rem, 1.05rem + 1.6vw, 2.3rem); margin: 0; max-width: 680px; text-wrap: balance; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--on-dark-2); padding-top: 60px; font-size: .94rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 44px; }
.brand--footer { color: #fff; margin-bottom: 18px; }
.brand--footer .brand__name { font-size: 1.05rem; }
.brand--footer .brand__role { color: var(--gold-300); }
.footer__about p { max-width: 380px; }
.footer__reg { font-size: .8rem; color: var(--on-dark-2); }
.footer__h { color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: .06em; margin-bottom: 16px; }
.footer__links { list-style: none; display: grid; gap: 8px; }
.footer__links a, .footer__contact a { color: var(--on-dark-2); text-decoration: none; }
.footer__links a:hover, .footer__contact a:hover { color: var(--gold-300); }
.footer__contact { list-style: none; display: grid; gap: 10px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { color: var(--gold-300); flex-shrink: 0; margin-top: 4px; }
.social { list-style: none; display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); transition: background-color .2s, color .2s; }
.social a:hover { background: var(--gold-300); color: var(--navy-900); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; font-size: .85rem; }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__bottom p { margin: 0; }
.footer__legal { list-style: none; display: flex; gap: 18px; flex-wrap: wrap; }
.footer__legal a { color: var(--on-dark-2); }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 12px 28px -8px rgba(0,0,0,.35); transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.06); color: #fff; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible, .no-js .reveal { opacity: 1; transform: none; }


/* ---------- Showcase (dark, gallery-led) ---------- */
.showcase { background: var(--night); color: var(--on-dark-1); padding: clamp(64px, 8vw, 110px) 0; }
.showcase__sub { color: var(--on-dark-2); }
.showcase__grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 120px; gap: 12px; }
.showcase__item { position: relative; margin: 0; border-radius: 16px; overflow: hidden; background: var(--c-dark-700); }
.showcase__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; filter: saturate(.92); }
.showcase__item:hover img { transform: scale(1.05); filter: saturate(1.05); }
.showcase__item figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(var(--dark-rgb),.85)); color: #fff; font-size: .86rem; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.showcase__item:hover figcaption { opacity: 1; transform: none; }
.showcase__item--0 { grid-column: span 7; grid-row: span 4; }
.showcase__item--1 { grid-column: span 5; grid-row: span 2; }
.showcase__item--2 { grid-column: span 5; grid-row: span 2; }
.showcase__item--3 { grid-column: span 4; grid-row: span 2; }
.showcase__item--4 { grid-column: span 8; grid-row: span 2; }
.event-strip--dark { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.event-strip--dark h3 { color: #fff; }
.event-strip--dark p { color: var(--on-dark-2); }
.event-strip--dark .event-strip__icon { background: rgba(var(--accent-rgb),.14); }
.board__avatar--img { object-fit: cover; padding: 0; }
.section--tight { padding: 40px 0; }
.header__login-sm { display: none; }
.table-wrap:focus-visible { outline: 3px solid var(--gold-300); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .portal__grid { grid-template-columns: repeat(2, 1fr); }
  .role:nth-child(3) { border-left: 0; }
  .role:nth-child(n+3) { border-top-width: 4px; }
  .svc, .cards--4 { grid-template-columns: repeat(3, 1fr); }
  .ladder { grid-template-columns: repeat(4, 1fr); }
  .desks { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .govbar__reg { display: none; }
}

@media (max-width: 960px) {
  .header__cta { display: none; }
  .header__login-sm { display: inline-flex; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; background: var(--gold-300); color: var(--navy-900); }
  .header__login-sm + .nav-toggle { margin-left: 0; }
  .nav-toggle { display: inline-flex; }
  .nav { display: none; }
  .nav.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 120px); overflow-y: auto; box-shadow: var(--shadow-lg); }
  .nav__list { flex-direction: column; padding: 8px 0; }
  .nav__list a { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav__mobile-cta { display: grid; gap: 10px; padding: 16px 0 20px; }
  .nav__mobile-cta .btn { width: 100%; min-height: 50px; }
  .nav__mobile-cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
  .split, .banner { grid-template-columns: 1fr; }
  .banner__media { order: -1; }
  .banner__media img { max-height: 340px; }
  .cards--3, .donate-options, .board { grid-template-columns: repeat(2, 1fr); }
  .stats__list { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .steps::before { display: none; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .mosaic__item--3 { grid-column: span 2; }
  .hero__bar { padding-bottom: 100px; }
  .showcase__grid { grid-auto-rows: 100px; }
  .govbar__mail { display: none; }
}

@media (max-width: 640px) {
  .header__inner { min-height: 72px; gap: 12px; }
  .brand img { width: 48px; height: 48px; }
  .brand__name { font-size: .96rem; }
  .brand__role { font-size: .62rem; letter-spacing: .08em; }
  .govbar__inner { justify-content: space-between; gap: 10px; }
  .govbar__spacer { display: none; }
  .hero { min-height: 560px; }
  .hero__content { padding-top: 40px; }
  .hero__actions .btn { width: 100%; }
  .hero { min-height: 620px; }
  .hero__shade { background: linear-gradient(0deg, rgba(var(--dark-rgb),.96) 0%, rgba(var(--dark-rgb),.7) 45%, rgba(var(--dark-rgb),.25) 100%); }
  .hero__bar { padding-bottom: 96px; flex-wrap: wrap; gap: 12px; }
  .hero__caption { flex: 1 1 100%; font-size: .82rem; }
  .hero__progress { margin-left: 0; max-width: none; }
  .govbar__lbl, .fontsize { display: none; }
  .govbar__inner { justify-content: center; }
  .showcase__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 8px; }
  .showcase__item--0 { grid-column: span 2; grid-row: span 2; }
  .showcase__item--1, .showcase__item--2, .showcase__item--3 { grid-column: span 1; grid-row: span 1; }
  .showcase__item--4 { grid-column: span 2; grid-row: span 1; }
  .showcase__item figcaption { opacity: 1; transform: none; font-size: .78rem; padding: 26px 10px 8px; }
  .page-hero { padding: 44px 0; }
  .page-hero p { font-size: 1rem; }
  .section { padding: 56px 0; }
  .section__head { margin-bottom: 30px; }
  .section__head--row .btn { width: 100%; }
  .portal__head { padding: 14px 16px; }
  .portal__all { font-size: .9rem; }
  .desks a { flex-direction: row; text-align: left; justify-content: flex-start; padding: 14px 16px; gap: 12px; }
  .desks__icon { margin: 0; flex-shrink: 0; }
  .desks__label { flex: 1; }
  .banner__copy { padding: 24px 20px; }
  .split__media .frame__note { position: static; margin-top: 12px; display: inline-flex; }
  .portal { margin-top: -76px; }
  .svc, .cards--2, .cards--3, .cards--4, .donate-options, .board, .desks, .form__row, .ticks--2 { grid-template-columns: 1fr; }
  .portal__grid { grid-template-columns: 1fr 1fr; }
  .role { padding: 16px 14px; }
  .role + .role { border-left: 0; }
  .role:nth-child(even) { border-left: 1px solid var(--line); }
  .role__text { display: none; }
  .role__icon { width: 42px; height: 42px; margin-bottom: 8px; }
  .role__title { font-size: .95rem; flex: 1; }
  .role__actions { flex-direction: column; }
  .role__actions .btn { width: 100%; }
  .ladder { grid-template-columns: repeat(2, 1fr); }
  .svc { gap: 10px; }
  .svc__card { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; padding: 16px; }
  .svc__icon { margin: 0; width: 42px; height: 42px; }
  .svc__title { flex: 1; }
  .svc__text { flex-basis: 100%; }
  .stats__list li { padding: 16px 8px; }
  .steps { grid-template-columns: 1fr; }
  .frame__note { right: 10px; }
  .event-strip { flex-direction: column; text-align: center; }
  .event-strip .btn, .cta-band__actions, .cta-band__actions .btn, .banner .btn-row .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .wa-float { right: 14px; bottom: 14px; width: 54px; height: 54px; }
  .ticker__label span { display: none; }
}


/* ---------- Mobile polish (v4) ---------- */
@media (max-width: 640px) {
  /* bigger touch targets in the top bar */
  .govbar__inner { min-height: 44px; }
  .govbar__item { min-height: 44px; padding: 0 6px; }
  .portal__all { min-height: 44px; display: inline-flex; align-items: center; }
  .gallery__item button { min-height: 44px; }

  /* banner: let the photo breathe, keep the copy short */
  .hero { min-height: 0; justify-content: flex-start; }
  .hero__slides { position: relative; inset: auto; height: 46vw; min-height: 210px; max-height: 300px; }
  .hero__slide img { object-position: center 40%; }
  .hero__shade { top: 0; height: 100%; background: linear-gradient(180deg, rgba(var(--dark-rgb),0) 0%, rgba(var(--dark-rgb),0) 22%, rgba(var(--dark-rgb),.88) 34%, var(--night) 46%); }
  .hero__content { padding-top: 20px; padding-bottom: 8px; }
  .hero__badge { font-size: .74rem; padding: 6px 12px; margin-bottom: 14px; }
  .hero__kicker { font-size: .98rem; margin-bottom: 6px; }
  .hero__title { font-size: 1.9rem; margin-bottom: 12px; }
  .hero__lead { font-size: .98rem; margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .hero__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero__actions .btn { width: 100%; min-height: 48px; padding: 10px 12px; font-size: .9rem; }
  .hero__actions .btn:first-child { grid-column: 1 / -1; min-height: 54px; font-size: 1rem; }
  .hero__actions .btn { white-space: normal; text-align: center; line-height: 1.2; }
  .hero__bar { padding-top: 16px; padding-bottom: 96px; }

  /* 12 services: compact 2-column tiles */
  .svc { grid-template-columns: 1fr 1fr; gap: 10px; }
  .svc__card { flex-direction: column; align-items: flex-start; padding: 14px 12px; gap: 8px; min-height: 112px; }
  .svc__icon { width: 40px; height: 40px; }
  .svc__title { font-size: .92rem; line-height: 1.3; flex: 0 0 auto; }
  .svc__text { display: none; }

  /* why-choose cards: 2 columns, short */
  .cards--4 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cards--4 .card--sm { padding: 14px 12px; }
  .cards--4 .card--sm p { display: none; }
  .cards--4 .card--sm .card__title { font-size: .92rem; margin: 0; }

  .split__copy .btn-row .btn { flex: 1 1 auto; }
  .brand__name { font-size: .92rem; line-height: 1.2; }
}
@media (max-width: 380px) {
  .brand__role { display: none; }
  .hero__title { font-size: 1.7rem; }
}

/* ---------- Finder bar (v5) ---------- */
.finder { position: relative; z-index: 3; margin-top: -76px; }
.finder__box { background: #fff; border-radius: 28px; padding: 22px 24px 24px; box-shadow: 0 30px 60px -28px rgba(var(--dark-rgb),.45), 0 2px 6px rgba(var(--dark-rgb),.06); border: 1px solid var(--line); }
.finder__h { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; margin: 0 0 16px; color: var(--navy); }
.finder__h svg { color: var(--gold); }
.finder__list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.finder__chip { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 14px 8px 8px; border-radius: 16px; background: var(--cream); border: 1px solid var(--line); text-decoration: none; color: var(--navy); font-weight: 600; font-size: .94rem; line-height: 1.25; transition: background-color .2s, border-color .2s, transform .2s var(--ease); }
.finder__chip:hover { background: #fff; border-color: var(--gold-300); transform: translateY(-2px); color: var(--navy); }
.finder__ic { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--gold-300); }
.portal--flow { margin-top: 0; padding: clamp(48px, 6vw, 80px) 0 24px; }
.section--tight-top { padding-top: clamp(56px, 6vw, 84px); }

/* ---------- Paths ---------- */
.paths { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.path { --c: #1B2456; --bg: #EEF0F8; display: flex; flex-direction: column; padding: 26px 24px 22px; border-radius: 26px; background: var(--bg); border: 1px solid transparent; transition: transform .25s var(--ease), box-shadow .25s; }
.path:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.path--1 { --c: #9A5B00; --bg: #FBF1DD; } .path--2 { --c: #145C4B; --bg: #E4F2EC; } .path--3 { --c: #7A2E4D; --bg: #F7E8EE; }
.path__icon { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: #fff; color: var(--c); box-shadow: 0 6px 16px -10px rgba(0,0,0,.35); margin-bottom: 18px; }
.path__title { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: var(--navy); margin-bottom: 6px; }
.path__text { color: var(--muted); font-size: .94rem; flex: 1; }
.path__links { list-style: none; display: grid; gap: 2px; border-top: 1px solid rgba(var(--dark-rgb),.1); padding-top: 10px; margin-top: 6px; }
.path__links a { display: flex; justify-content: space-between; align-items: center; min-height: 40px; color: var(--c); font-weight: 600; font-size: .92rem; text-decoration: none; }
.path__links a svg { transition: transform .2s var(--ease); }
.path__links a:hover svg { transform: translateX(4px); }

/* ---------- Platform modules ---------- */
.mods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 320px; gap: 18px; }
.mod { position: relative; display: block; border-radius: 26px; overflow: hidden; text-decoration: none; color: #fff; background: var(--navy); isolation: isolate; }
.mod--0, .mod--5 { grid-column: span 2; }
.mod__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.mod:hover .mod__img { transform: scale(1.05); }
.mod__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(var(--dark-rgb),.05) 25%, rgba(var(--dark-rgb),.88) 100%); }
.mod__badge { position: absolute; top: 16px; left: 16px; padding: 6px 12px; border-radius: 999px; background: var(--gold-300); color: var(--navy-900); font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.mod__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 6px; }
.mod__body > * { margin: 0; }
.mod__title { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; line-height: 1.2; color: #fff; }
.mod--0 .mod__title { font-size: 1.9rem; }
.mod__text { font-size: .92rem; color: var(--on-dark-1); max-width: 420px; }
.mod__go { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--gold-300); margin-top: 4px; }
.mod:hover { color: #fff; }
.mod:focus-visible { outline: 3px solid var(--gold-300); outline-offset: 3px; }

@media (max-width: 1100px) {
  .finder__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mods { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 260px; }
}
@media (max-width: 640px) {
  .finder { margin-top: 0; padding-top: 4px; }
  .finder__box { border-radius: 22px; padding: 18px 14px; box-shadow: var(--shadow); }
  .finder__h { font-size: 1.1rem; }
  .finder__list { gap: 8px; }
  .finder__chip { gap: 10px; padding: 8px 10px 8px 8px; min-height: 58px; font-size: .84rem; border-radius: 14px; }
  .finder__ic { width: 36px; height: 36px; border-radius: 10px; }
  .hero__bar { padding-bottom: 22px !important; }
  .paths { grid-template-columns: 1fr; gap: 12px; }
  .path { padding: 20px 18px 14px; border-radius: 22px; }
  .path__icon { width: 46px; height: 46px; margin-bottom: 12px; }
  .mods { grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; gap: 10px; }
  .mod { border-radius: 20px; }
  .mod__body { padding: 14px 12px 12px; }
  .mod__title, .mod--0 .mod__title { font-size: 1.05rem; }
  .mod--0 .mod__title { font-size: 1.3rem; }
  .mod__text { display: none; }
  .mod--0 .mod__text { display: block; font-size: .85rem; }
  .mod__badge { top: 10px; left: 10px; font-size: .66rem; padding: 4px 9px; }
  .mod__go { font-size: .82rem; }
  .portal--flow { padding-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .ticker__list { animation: none; flex-wrap: wrap; width: auto; gap: 8px 32px; }
}

@media print { .govbar, .site-header, .ticker, .cta-band, .wa-float, .site-footer, .hero__controls { display: none; } }

/* =========================================================
   DESIGN LAYER v6 — UI/UX Pro Max "Trust & Authority", editorial
   One system for every page: ivory paper, navy ink, hairlines,
   gold reserved for CTAs + accents. 8px rhythm. 4.5:1 text contrast.
   ========================================================= */
:root {
  --navy: #10152F; --navy-900: #0B0F22; --navy-700: #1F2A5C;
  --gold: #B8892C; --gold-ink: #8A5F10; --gold-300: #E3BD62; --gold-50: #F8F0DC;
  --teal: #145C4B; --teal-500: #1E8A6E;
  --cream: #FBF8F2; --cream-200: #F3EEE3; --paper: #FFFFFF;
  --ink: #1C2033; --muted: #4E5368; --line: #E4DDCF; --line-strong: #10152F;
  --radius: 12px; --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(var(--dark-rgb),.05);
  --shadow: 0 14px 34px -20px rgba(var(--dark-rgb),.35);
  --shadow-lg: 0 30px 60px -30px rgba(var(--dark-rgb),.45);
}
body { background: var(--cream); color: var(--ink); font-size: 1rem; line-height: 1.7; }
a:hover { color: var(--gold-ink); }
::selection { background: var(--gold-300); color: var(--navy); }

/* Type scale */
.h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 1.3rem + 1.9vw, 2.75rem); line-height: 1.1; letter-spacing: -.012em; color: var(--navy); text-wrap: balance; }
.h2 em, .h2 i { font-style: italic; font-weight: 500; color: var(--gold-ink); }
.h2--light, .h2--light em { color: #fff; }
.h3 { font-family: var(--font-display); font-weight: 600; }
.lead { font-size: 1.125rem; line-height: 1.7; color: var(--ink); }
.eyebrow { font-family: var(--font-body); font-size: .72rem; font-weight: 600; letter-spacing: .22em; color: var(--gold-ink); margin-bottom: 14px; }
.eyebrow::before { width: 32px; height: 1px; background: var(--gold); }
.eyebrow--light { color: var(--gold-300); }
.section__sub { color: var(--muted); }
.section__head { margin-bottom: 48px; }
.section__head--row { padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }

/* Sections alternate paper / ivory with hairline seams */
.section { padding: clamp(64px, 8vw, 104px) 0; background: var(--paper); }
.section--cream { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--navy { background: var(--navy); }

/* Buttons — formal 10px radius, gold only for primary CTA */
.btn { border-radius: 10px; font-weight: 600; letter-spacing: .01em; min-height: 48px; padding: 12px 22px; border-width: 1px; }
.btn:hover { transform: none; }
.btn--lg { min-height: 54px; padding: 14px 28px; }
.btn--gold { background: var(--gold-300); color: var(--navy); box-shadow: none; border-color: var(--gold-300); }
.btn--gold:hover { background: var(--cta-hover); border-color: var(--cta-hover); color: var(--navy); }
.btn--navy { background: var(--navy); border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-700); border-color: var(--navy-700); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--c-line-strong); }
.btn--ghost:hover { border-color: var(--navy); background: rgba(var(--dark-rgb),.03); color: var(--navy); }
.btn--outline-light { background: rgba(var(--dark-rgb),.35); border-color: rgba(255,255,255,.55); }
.btn--outline-light:hover { background: rgba(255,255,255,.08); border-color: #fff; color: #fff; }

/* Header + nav */
.govbar { background: var(--navy-900); }
.site-header { border-bottom: 0; }
.nav { background: var(--navy); border-bottom: 2px solid var(--gold); }
.nav__list a { font-size: .92rem; letter-spacing: .01em; padding: 14px 18px; }
.nav__list a[aria-current="page"] { background: transparent; color: var(--gold-300); box-shadow: inset 0 -2px 0 var(--gold-300); }
.brand__role { color: var(--gold-ink); letter-spacing: .16em; }
.ticker { background: var(--cream-200); border-bottom: 1px solid var(--line); }
.ticker__label { background: var(--navy); color: var(--gold-300); }

/* Hero */
.hero__badge { background: rgba(var(--dark-rgb),.45); border-color: rgba(var(--accent-rgb),.5); color: var(--gold-300); }
.hero__title { letter-spacing: -.015em; }
.hero__kicker { font-family: var(--font-display); font-style: italic; color: var(--gold-300); }

/* Cards — paper, hairline, quiet hover */
.card, .svc__card, .contact-card, .reg-item, .donate-opt, .board__item, .desks a, .event-strip, .ladder__step {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: none;
}
.card:hover, .svc__card:hover, .desks a:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: var(--shadow); }
.card__icon, .svc__icon, .event-strip__icon, .info-list li > span { background: var(--cream); color: var(--gold-ink); border: 1px solid var(--line); }
.card__title { font-family: var(--font-display); font-weight: 600; color: var(--navy); }
.card--sm .card__title { font-family: var(--font-body); font-weight: 700; }
.svc__title { color: var(--navy); }
.section--cream .card, .section--cream .svc__card, .section--cream .board__item, .section--cream .reg-item { background: var(--paper); }

/* Finder */
.finder__box { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.finder__chip { border-radius: 12px; background: var(--cream); }
.finder__chip:hover { transform: none; border-color: var(--gold); background: #fff; }
.finder__ic { background: var(--navy); color: var(--gold-300); }

/* Paths — unified paper cards, accent only on icon + top rule */
.path, .path--1, .path--2, .path--3 { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); border-top: 3px solid var(--c); }
.path--0 { --c: #10152F; } .path--1 { --c: #B8892C; } .path--2 { --c: #145C4B; } .path--3 { --c: #7A2E4D; }
.path:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.path__icon { background: var(--cream); border: 1px solid var(--line); box-shadow: none; border-radius: 14px; }
.path__links { border-top-color: var(--line); }
.path__links a { color: var(--navy); border-bottom: 1px solid transparent; }
.path__links a svg { color: var(--c); }
.path__links a:hover { color: var(--gold-ink); }

/* Modules */
.mod { border-radius: var(--radius-lg); }
.mod__badge { border-radius: 6px; background: var(--gold-300); color: var(--navy); letter-spacing: .14em; font-size: .68rem; }

/* Portal roles — one brand voice */
.portal__grid { border-radius: 0 0 var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow); }
.portal__head { border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--paper); }
.portal__h { font-family: var(--font-display); font-weight: 600; }
.role, .role--1, .role--2, .role--3 { --c: var(--navy); --c-bg: var(--cream); border-top: 3px solid var(--gold); background: var(--paper); }
.role__icon { color: var(--gold-ink); background: var(--cream); border: 1px solid var(--line); }
.role__title { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--navy); }
.btn--role { background: var(--navy); color: #fff; border-color: var(--navy); min-height: 44px; }
.btn--role:hover { background: var(--navy-700); filter: none; color: #fff; }
.btn--role-ghost { color: var(--navy); border-color: var(--c-line-strong); min-height: 44px; }
.btn--role-ghost:hover { background: var(--cream); border-color: var(--navy); color: var(--navy); }

/* Stats — hairline row, no boxes */
.stats { background: var(--paper); padding: 40px 0 16px; }
.stats__list { gap: 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); }
.stats__list li { background: transparent; border: 0; border-radius: 0; padding: 26px 16px; text-align: left; }
.stats__list li + li { border-left: 1px solid var(--line); }
.stats__list strong { font-size: clamp(2rem, 1.4rem + 1.8vw, 2.9rem); font-weight: 600; letter-spacing: -.01em; }
.stats__list span { color: var(--muted); font-size: .86rem; }
.stats__goal { justify-content: flex-start; font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--gold-ink); }

/* Frames, banners */
.frame { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.frame__note { background: var(--navy); border-radius: 12px; }
.frame__note svg { color: var(--gold-300); }
.banner { border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); }
.section--cream .banner { background: var(--paper); }

/* Ladder / table */
.ladder__step { border-radius: 12px; }
.table-wrap { border-radius: var(--radius-lg); border-color: var(--line); background: var(--paper); }
.paper thead th { background: var(--navy); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.paper caption { background: var(--cream-200); border-bottom-color: var(--line); font-family: var(--font-display); font-size: 1.05rem; }
.paper tbody th { font-family: var(--font-display); font-weight: 600; }
.paper tbody tr:nth-child(even) { background: var(--cream); }

/* Navy sections */
.countries { border-radius: var(--radius-lg); }
.chips li { border-radius: 6px; }

/* Board */
.board__avatar { background: var(--navy); border: 1px solid var(--gold); font-family: var(--font-display); }
.board__name { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; }
.board__role { color: var(--gold-ink); }

/* Desks */
.desks__icon { background: var(--cream); color: var(--gold-ink); border: 1px solid var(--line); }
.desks__label { color: var(--muted); letter-spacing: .14em; }

/* Inner-page hero: consistent editorial banner */
.page-hero { padding: clamp(56px, 8vw, 112px) 0 clamp(48px, 6vw, 80px); border-bottom: 2px solid var(--gold); }
.page-hero h1 { font-weight: 600; letter-spacing: -.015em; }
.page-hero p { color: var(--on-dark-1); font-size: 1.12rem; }
.crumbs a { color: var(--gold-300); }

/* Forms */
.panel { background: var(--paper); border-radius: var(--radius-lg); }
.field input, .field select, .field textarea { border-radius: 10px; border-color: var(--c-line-strong); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.45); }

/* CTA band + footer */
.cta-band { background: var(--navy); border-top: 2px solid var(--gold); }
.cta-band__title { font-weight: 600; }
.site-footer { background: var(--navy-900); }
.footer__h { font-family: var(--font-body); font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-300); }

/* Mobile rhythm for the v6 layer */
@media (max-width: 960px) {
  .stats__list li:nth-child(3) { border-left: 0; }
  .stats__list li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .section__head { margin-bottom: 28px; }
  .h2 { font-size: 1.75rem; }
  .stats { padding: 24px 0 8px; }
  .stats__list li { padding: 18px 12px; }
  .stats__list strong { font-size: 1.85rem; }
  .btn { min-height: 48px; }
  .page-hero { padding: 44px 0 36px; }
}

/* v6 fix: dark event strip sits on the navy section; keep it translucent so light text keeps contrast */
.event-strip.event-strip--dark { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); box-shadow: none; }
.event-strip.event-strip--dark p { color: var(--on-dark-1); }
.event-strip.event-strip--dark .event-strip__icon { background: rgba(var(--accent-rgb),.14); color: var(--gold-300); border-color: rgba(var(--accent-rgb),.3); }


/* =====================================================================
   THEME LAYER v8 — UI/UX Pro Max design system for BKRTC
   Style: Minimalism & Swiss · Fonts: Outfit (display) + Work Sans (body)
   Colours come from includes/store.php palettes() → printed in <head>.
   Defaults below = 'promax_blue'; admin can switch palette & fonts.
   ===================================================================== */
:root{
  --c-dark:#161B2E;--c-dark-900:#0E1220;--c-dark-700:#252C47;--dark-rgb:14,18,32;
  --c-accent:#B4432B;--c-accent-ink:#93331F;--c-accent-300:#F2A68F;--c-accent-50:#FBEFEA;--accent-rgb:180,67,43;--c-accent-line:#F0D5CB;
  --cta:#A8321F;--cta-hover:#8E2817;--on-cta:#FFFFFF;
  --c-bg:#FAFAF9;--c-bg-2:#F4F2EE;--c-paper:#FFFFFF;--c-ink:#18181B;--c-heading:#111827;--c-muted:#52525B;
  --c-line:#E7E5E4;--c-line-strong:#C9C5C0;--on-dark-1:#E8EAF2;--on-dark-2:#B3B9CE;--c-secondary:#A07A2C;
}
:root{
  --navy:var(--c-dark);--navy-900:var(--c-dark-900);--navy-700:var(--c-dark-700);--night:var(--c-dark-900);
  --gold:var(--c-accent);--gold-ink:var(--c-accent-ink);--gold-300:var(--c-accent-300);--gold-50:var(--c-accent-50);
  --teal:var(--c-accent-ink);--teal-500:var(--c-secondary);
  --cream:var(--c-bg);--cream-200:var(--c-bg-2);--paper:var(--c-paper);
  --ink:var(--c-ink);--muted:var(--c-muted);--line:var(--c-line);--line-strong:var(--c-heading);
  --radius:10px;--radius-lg:16px;
  --shadow-sm:0 1px 2px rgba(var(--dark-rgb),.06);
  --shadow:0 12px 28px -18px rgba(var(--dark-rgb),.35);
  --shadow-lg:0 28px 56px -28px rgba(var(--dark-rgb),.45);
}

/* Typography — Swiss: sans-serif, tight headings, no decorative italics */
body{font-family:var(--font-body);color:var(--ink);background:var(--cream);font-size:16px;line-height:1.65;letter-spacing:0;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
h1,h2,h3,h4,.h1,.h2,.h3,.brand__name,.hero__title,.page-hero h1{font-family:var(--font-display);letter-spacing:-.015em;color:var(--c-heading)}
h1,.h1,.hero__title,.page-hero h1{font-weight:700;line-height:1.08}
h2,.h2{font-weight:700;line-height:1.15}
h3,.h3{font-weight:600;line-height:1.3}
.hero__title,.page-hero h1,.hero h1{color:#fff}
.brand__name{font-weight:700;letter-spacing:-.01em}
.brand__role{font-family:var(--font-body);color:var(--gold-ink);font-weight:600}
.hero__kicker,.quote,.stats__goal,.h2 em,.h2 i{font-style:normal}
.hero__kicker{font-family:var(--font-display);font-weight:600;letter-spacing:.01em;color:var(--gold-300)}
.h2 em,.h2 i{font-weight:700;color:var(--gold-ink)}
.quote{font-family:var(--font-display);font-weight:500;border-left-color:var(--gold)}
.stats__goal{font-family:var(--font-body);font-weight:600}
.eyebrow{font-family:var(--font-body);font-weight:700;letter-spacing:.14em;color:var(--gold-ink)}
.stat__num,.stats__num,.stats b{font-family:var(--font-display);font-weight:700;letter-spacing:-.02em}

/* Buttons — one clear CTA colour (AA contrast), secondary buttons quiet */
.btn{font-family:var(--font-body);font-weight:600;border-radius:var(--radius);transition:background-color .2s,border-color .2s,color .2s,box-shadow .2s;cursor:pointer}
.btn--gold{background:var(--cta);border-color:var(--cta);color:var(--on-cta);box-shadow:none}
.btn--gold:hover,.btn--gold:focus-visible{background:var(--cta-hover);border-color:var(--cta-hover);color:var(--on-cta)}
.btn--navy,.btn--dark{background:var(--navy);border-color:var(--navy);color:#fff}
.btn--navy:hover,.btn--dark:hover{background:var(--navy-700);border-color:var(--navy-700)}
.btn--line,.btn--outline{border-color:var(--line-strong);color:var(--navy)}
a:not(.btn){text-underline-offset:3px}
:focus-visible{outline:3px solid var(--gold-300);outline-offset:2px}

/* Surfaces */
.site-header{background:var(--paper);border-bottom:1px solid var(--line)}
.ticker{background:var(--c-accent-50);border-bottom:1px solid var(--c-accent-line)}
.ticker__label{background:var(--navy);color:#fff}
.card,.svc__card,.contact-card,.reg-item,.donate-opt,.board__item,.event-strip:not(.event-strip--dark),.ladder__step,.path,.desks a{background:var(--paper);border-color:var(--line)}
.card__icon,.svc__icon,.event-strip__icon,.info-list li > span,.path__icon{background:var(--c-accent-50);color:var(--gold-ink);border-color:var(--c-accent-line)}
.page-hero{border-bottom-color:var(--gold)}
.site-footer{background:var(--night)}
.site-footer h3,.site-footer h4{font-family:var(--font-body);color:#fff}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}


/* =====================================================================
   THEME LAYER v9 — final. UI/UX Pro Max "Museum/Gallery" × "Government"
   Palette: gallery neutrals + ink navy + ONE exhibition accent (sindoor).
   Fonts: Playfair Display (headings) + Inter (text) + Noto Bengali, self-hosted.
   Rule: colour carries meaning only — no per-card rainbow colours.
   ===================================================================== */
body{font-family:var(--font-body);font-size:16px;line-height:1.65;font-feature-settings:"cv11","ss01";color:var(--c-ink);background:var(--c-bg)}
h1,h2,h3,.h1,.h2,.hero__title,.page-hero h1,.brand__name{font-family:var(--font-display);letter-spacing:-.01em;font-optical-sizing:auto}
h1,.h1,.hero__title,.page-hero h1{font-weight:700;line-height:1.1}
h2,.h2{font-weight:600;line-height:1.18;font-size:clamp(1.75rem,1.25rem + 1.6vw,2.6rem)}
h3,.h3{font-family:var(--font-body);font-weight:600;letter-spacing:-.005em;line-height:1.35}
.h2 em,.h2 i,h2 em{font-style:italic;font-weight:500;color:var(--c-accent-ink)}
.hero__kicker{font-family:var(--font-display);font-style:italic;font-weight:500;color:var(--c-accent-300);letter-spacing:0}
.eyebrow{font-family:var(--font-body);font-size:.75rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--c-accent-ink)}
.brand__role{color:var(--c-muted);font-weight:500}
p,li{text-wrap:pretty}

/* One CTA colour; secondary actions stay neutral */
.btn{border-radius:8px;font-weight:600;letter-spacing:.005em;min-height:44px}
.btn--gold{background:var(--cta);border-color:var(--cta);color:var(--on-cta)}
.btn--gold:hover,.btn--gold:focus-visible{background:var(--cta-hover);border-color:var(--cta-hover);color:var(--on-cta)}
.btn--line,.btn--outline{background:var(--c-paper);border:1px solid var(--c-line-strong);color:var(--c-heading)}
.btn--line:hover,.btn--outline:hover{border-color:var(--c-heading)}
.btn--ghost{border-color:rgba(255,255,255,.4);color:#fff}
.btn--ghost:hover{background:rgba(255,255,255,.08);border-color:#fff}
:focus-visible{outline:3px solid var(--c-accent);outline-offset:2px}

/* Header / nav / ticker */
.govbar{background:var(--c-dark-900);color:var(--on-dark-2)}
.site-header{background:var(--c-paper);border-bottom:1px solid var(--c-line)}
.nav{background:var(--c-dark)}
.nav a[aria-current="page"],.nav .is-active{box-shadow:inset 0 -3px 0 var(--c-accent-300)}
.ticker{background:var(--c-paper);border-bottom:1px solid var(--c-line)}
.ticker__label{background:var(--cta);color:var(--on-cta)}

/* Unify every multi-colour card family to the one accent */
.path,.path--0,.path--1,.path--2,.path--3{--c:var(--c-accent);--bg:var(--c-paper)}
.path{background:var(--c-paper);border:1px solid var(--c-line);border-top:3px solid var(--c-accent);border-radius:12px}
.path:hover{border-color:var(--c-line-strong);border-top-color:var(--c-accent);box-shadow:var(--shadow)}
.role,.role--0,.role--1,.role--2,.role--3{--c:var(--c-accent-300);--c-bg:rgba(255,255,255,.06)}
.ladder__step--a,.ladder__step--b,.ladder__step--c,.ladder__step--d{--c:var(--c-accent)}
.ladder__step{border-left:3px solid var(--c-accent)}
.desks__icon{background:var(--c-accent-50);color:var(--c-accent-ink)}
.card__icon,.svc__icon,.event-strip__icon,.path__icon,.info-list li > span{background:var(--c-accent-50);color:var(--c-accent-ink);border-color:var(--c-accent-line)}
.badge,.chip{border-color:var(--c-line)}

/* Surfaces & rhythm: alternate white / warm stone, hairline dividers */
.section{padding-block:clamp(56px,4vw + 32px,96px)}
.section{background:var(--c-paper)}
.section--cream{background:var(--c-bg-2)}
.section--navy{background:var(--c-dark);color:var(--on-dark-1)}
.section--navy h2,.section--navy h3{color:#fff}
.section--navy p{color:var(--on-dark-2)}
.section--navy .h2 em,.section--navy h2 em{color:var(--c-accent-300)}
.card,.svc__card,.contact-card,.reg-item,.donate-opt,.board__item,.desks a,.mod{border-radius:12px;border:1px solid var(--c-line);background:var(--c-paper);box-shadow:none}
.card:hover,.svc__card:hover,.desks a:hover{border-color:var(--c-line-strong);box-shadow:var(--shadow)}
.page-hero{background:var(--c-dark);border-bottom:3px solid var(--c-accent)}
.site-footer{background:var(--c-dark-900);color:var(--on-dark-2)}
.site-footer a{color:var(--on-dark-1)}
.site-footer a:hover{color:var(--c-accent-300)}
table th{background:var(--c-bg-2);color:var(--c-heading)}

main p a:not(.btn){color:var(--c-accent-ink);text-decoration:underline;text-decoration-thickness:1px}

/* v9: headings and text on every dark surface must be light */
.showcase,.cta-band{background:var(--c-dark);color:var(--on-dark-1)}
.showcase h2,.showcase h3,.cta-band h2,.section--navy h2,.section--navy h3,.site-footer .brand__name,.site-footer h2,.site-footer h3,.site-footer h4,.page-hero h1{color:#fff}
.showcase p,.showcase .section__sub,.cta-band p{color:var(--on-dark-2)}
.showcase .h2 em,.cta-band .h2 em{color:var(--c-accent-300)}
.site-footer .brand__role,.site-footer .eyebrow{color:var(--c-accent-300)}
.showcase .eyebrow,.section--navy .eyebrow,.cta-band .eyebrow{color:var(--c-accent-300)}

@media (max-width:900px){.header__login-sm{background:var(--cta);color:var(--on-cta);border-radius:8px}}

/* =====================================================================
   TYPE LAYER v10 — Poppins + Hind Siliguri (one family, like form.bkrtc.org)
   Poppins is wide & geometric: slightly smaller sizes, tighter tracking on
   headings, roomier line-height on text, no italics.
   ===================================================================== */
body{font-size:15.5px;line-height:1.7;font-feature-settings:normal;letter-spacing:0}
h1,.h1,.hero__title,.page-hero h1{font-weight:700;letter-spacing:-.025em;line-height:1.12}
.hero__title{font-size:clamp(2rem,1.2rem + 3vw,3.4rem)}
.page-hero h1{font-size:clamp(1.8rem,1.2rem + 2.2vw,2.8rem)}
h2,.h2{font-weight:700;letter-spacing:-.02em;line-height:1.2;font-size:clamp(1.55rem,1.15rem + 1.4vw,2.25rem)}
h3,.h3{font-family:var(--font-display);font-weight:600;letter-spacing:-.01em;font-size:1.05rem;line-height:1.4}
.h2 em,.h2 i,h2 em{font-style:normal;font-weight:700;color:var(--c-accent-ink)}
.section--navy .h2 em,.showcase .h2 em,.cta-band .h2 em{color:var(--c-accent-300)}
.hero__kicker{font-family:var(--font-body);font-style:normal;font-weight:600;font-size:.82rem;letter-spacing:.14em;text-transform:uppercase}
.brand__name{font-weight:700;letter-spacing:-.015em}
.brand__role{font-size:.68rem;letter-spacing:.14em}
.eyebrow{font-size:.72rem;font-weight:600;letter-spacing:.16em}
.stat__num,.stats__num,.stats b,.num{font-weight:700;letter-spacing:-.03em}
.btn{font-weight:600;font-size:.9rem;letter-spacing:0}
.nav__list a{font-weight:500;font-size:.9rem}
p{font-weight:400}
.section__sub,.lead{font-size:1rem;color:var(--c-muted)}
small,.small{font-size:.82rem}
:lang(bn),[lang="bn"] body{line-height:1.8;letter-spacing:0}

/* =====================================================================
   v10 COMPONENTS — verify box · live portal data · events · language switch
   ===================================================================== */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.link-arrow{display:inline-flex;align-items:center;gap:6px;font-weight:600;font-size:.9rem;color:var(--c-accent-ink);text-decoration:none}
.link-arrow:hover{gap:9px}
.link-arrow svg{transition:transform .2s}

/* Instant verification */
.vbox{display:grid;grid-template-columns:1fr 1.15fr;gap:clamp(24px,4vw,56px);align-items:center;background:var(--c-paper);border:1px solid var(--c-line);border-radius:20px;padding:clamp(22px,3.5vw,44px);box-shadow:var(--shadow)}
.vbox .h2{margin:4px 0 10px}
.vbox__trust{display:flex;align-items:center;gap:8px;margin:14px 0 0;font-size:.86rem;font-weight:500;color:var(--c-muted)}
.vbox__trust svg{color:var(--c-accent)}
.vbox__form{margin:0}
.vbox__types{border:0;padding:0;margin:0 0 12px;display:grid;grid-template-columns:repeat(4,1fr);gap:6px;background:var(--c-bg-2);border-radius:12px;padding:5px}
.vbox__type{position:relative;cursor:pointer}
.vbox__type input{position:absolute;opacity:0;inset:0;cursor:pointer}
.vbox__type span{display:flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:6px 8px;border-radius:9px;font-size:.82rem;font-weight:600;color:var(--c-muted);text-align:center;transition:background .2s,color .2s,box-shadow .2s}
.vbox__type input:checked + span{background:var(--c-paper);color:var(--c-heading);box-shadow:0 1px 3px rgba(var(--dark-rgb),.12)}
.vbox__type input:focus-visible + span{outline:3px solid var(--c-accent);outline-offset:1px}
.vbox__row{display:flex;gap:8px}
.vbox__row input{flex:1;min-width:0;min-height:52px;padding:12px 16px;border:1.5px solid var(--c-line-strong);border-radius:10px;font:600 1rem var(--font-body);letter-spacing:.04em;text-transform:uppercase;color:var(--c-heading);background:var(--c-paper)}
.vbox__row input::placeholder{color:#9A9AA2;font-weight:500;letter-spacing:.02em}
.vbox__row input:focus{outline:none;border-color:var(--c-accent);box-shadow:0 0 0 4px rgba(var(--accent-rgb),.14)}
.vbox__row .btn{min-height:52px;padding-inline:22px}
.vbox__hint{font-size:.8rem;color:var(--c-muted);margin:8px 0 0}
.vbox__result{margin-top:16px;border-radius:14px;border:1px solid var(--c-line);overflow:hidden;animation:vb-in .25s ease-out}
@keyframes vb-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.vres__head{display:flex;align-items:center;gap:10px;padding:12px 16px;font-weight:700;font-size:.95rem}
.vres__head svg{flex-shrink:0}
.vres--ok .vres__head{background:#ECF7EF;color:#17663A}
.vres--warn .vres__head{background:#FFF6E0;color:#7A5300}
.vres--bad .vres__head{background:#FDEDEB;color:#9B2C22}
.vres--busy .vres__head{background:var(--c-bg-2);color:var(--c-muted)}
.vres dl{margin:0;padding:12px 16px;display:grid;grid-template-columns:auto 1fr;gap:6px 18px;font-size:.88rem}
.vres dt{color:var(--c-muted)}.vres dd{margin:0;font-weight:600;color:var(--c-heading);word-break:break-word}
.vres__foot{padding:10px 16px;border-top:1px solid var(--c-line);font-size:.84rem}
.vres__foot a{color:var(--c-accent-ink);font-weight:600}
.spin{width:18px;height:18px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;animation:spin .7s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

/* Live portal data */
.live-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#16A34A;margin-right:8px;vertical-align:middle;box-shadow:0 0 0 0 rgba(22,163,74,.5);animation:pulse 2s infinite}
@keyframes pulse{70%{box-shadow:0 0 0 8px rgba(22,163,74,0)}100%{box-shadow:0 0 0 0 rgba(22,163,74,0)}}
.live__counts{display:flex;gap:28px}
.live__counts div{display:flex;flex-direction:column}
.live__counts strong{font-family:var(--font-display);font-size:2rem;font-weight:700;letter-spacing:-.03em;color:var(--c-heading);line-height:1.1}
.live__counts span{font-size:.82rem;color:var(--c-muted)}
.live__bar{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:28px 0 14px;border-bottom:1px solid var(--c-line);padding-bottom:10px}
.live__bar h3{margin:0;font-size:1.05rem}
.artists{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.artist{display:flex;flex-direction:column;background:var(--c-paper);border:1px solid var(--c-line);border-radius:14px;overflow:hidden;text-decoration:none;color:inherit;transition:transform .2s,box-shadow .2s,border-color .2s}
.artist:hover,.artist:focus-visible{transform:translateY(-3px);box-shadow:var(--shadow);border-color:var(--c-line-strong)}
.artist__media{aspect-ratio:4/3;background:linear-gradient(135deg,var(--c-dark),var(--c-dark-700))}
.artist__media img{width:100%;height:100%;object-fit:cover}
.artist__body{display:flex;flex-direction:column;gap:2px;padding:0 16px 16px}
.artist__avatar{width:56px;height:56px;border-radius:50%;margin-top:-28px;border:3px solid var(--c-paper);background:var(--c-accent-50);color:var(--c-accent-ink);display:grid;place-items:center;font-weight:700;overflow:hidden;position:relative;box-shadow:0 4px 10px rgba(var(--dark-rgb),.15)}
.artist__avatar img{width:100%;height:100%;object-fit:cover}
.artist__name{font-family:var(--font-display);font-weight:600;font-size:1rem;color:var(--c-heading);margin-top:8px}
.artist__title{font-size:.84rem;color:var(--c-muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.6em}
.artist__meta{display:flex;align-items:center;gap:4px;font-size:.76rem;font-weight:600;color:#17663A;margin-top:6px}
.centres{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.centres a{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--c-line);border-radius:12px;background:var(--c-paper);text-decoration:none;color:inherit;transition:border-color .2s,box-shadow .2s}
.centres a:hover{border-color:var(--c-line-strong);box-shadow:var(--shadow-sm)}
.centre__logo{width:44px;height:44px;border-radius:10px;background:var(--c-accent-50);color:var(--c-accent-ink);display:grid;place-items:center;flex-shrink:0;overflow:hidden}
.centre__logo img{width:100%;height:100%;object-fit:cover}
.centres strong{display:block;font-size:.88rem;font-weight:600;color:var(--c-heading);line-height:1.3}
.centres small{display:block;font-size:.76rem;color:var(--c-muted)}

@media (max-width:1024px){.artists,.centres{grid-template-columns:repeat(2,1fr)}.vbox{grid-template-columns:1fr}}
@media (max-width:560px){.vbox__types{grid-template-columns:repeat(2,1fr)}.vbox__row{flex-direction:column}.vbox__row .btn{width:100%}.artists{grid-template-columns:1fr 1fr;gap:10px}.artist__body{padding:0 10px 12px}.artist__title{font-size:.78rem}.centres{grid-template-columns:1fr}.live__counts{gap:20px}.live__counts strong{font-size:1.6rem}.section__head--row{flex-direction:column;align-items:flex-start}}
.vbox{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr)}
.vbox__form,.vbox__intro{min-width:0}
@media (max-width:1024px){.vbox{grid-template-columns:minmax(0,1fr)}}
@media (max-width:560px){.vbox{padding:20px 16px;border-radius:16px}.vbox__type span{font-size:.78rem}}

/* Events */
.evtag{display:inline-flex;align-items:center;font-size:.7rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;padding:3px 9px;border-radius:999px;background:var(--c-accent-50);color:var(--c-accent-ink);border:1px solid var(--c-accent-line)}
.evtag--exam{background:#EEF1FB;color:#2A3A8F;border-color:#D6DCF3}
.evtag--deadline{background:#FDEDEB;color:#9B2C22;border-color:#F4CFCA}
.evtag--next{background:#ECF7EF;color:#17663A;border-color:#CFE8D7}
.evhome{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:20px;align-items:stretch}
.evnext{position:relative;border-radius:20px;overflow:hidden;color:#fff;background:var(--c-dark);min-height:340px;display:flex}
.evnext__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.5}
.evnext::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(var(--dark-rgb),.2) 0%,rgba(var(--dark-rgb),.92) 70%)}
.evnext__inner{position:relative;z-index:1;margin-top:auto;padding:clamp(20px,3vw,32px);width:100%}
.evnext .evtag{background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.25)}
.evnext__title{color:#fff;font-size:clamp(1.3rem,1rem + 1vw,1.75rem);font-weight:700;margin:12px 0 6px}
.evnext__when{display:flex;align-items:center;gap:6px;color:var(--on-dark-1);font-size:.9rem;margin:0 0 16px}
.countdown{display:flex;gap:10px;margin:0 0 18px}
.countdown div{min-width:68px;padding:10px 8px;border-radius:12px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);text-align:center;backdrop-filter:blur(6px)}
.countdown strong{display:block;font-size:1.7rem;font-weight:700;line-height:1.1;font-variant-numeric:tabular-nums;color:#fff}
.countdown span{font-size:.68rem;letter-spacing:.1em;text-transform:uppercase;color:var(--on-dark-2)}
.countdown--sm div{min-width:56px;padding:7px 6px;background:var(--c-bg-2);border-color:var(--c-line)}
.countdown--sm strong{font-size:1.2rem;color:var(--c-heading)}.countdown--sm span{color:var(--c-muted)}
.countdown__live{display:inline-flex;align-items:center;gap:8px;font-weight:700;color:#4ADE80;margin:0 0 16px}
.evnext .btn-row{display:flex;gap:10px;flex-wrap:wrap}
.evlist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.evlist--empty{justify-content:center;padding:24px;border:1px dashed var(--c-line-strong);border-radius:16px;background:var(--c-paper)}
.evitem{display:flex;gap:16px;align-items:center;padding:14px 16px;background:var(--c-paper);border:1px solid var(--c-line);border-radius:14px;transition:border-color .2s,box-shadow .2s}
.evitem:hover{border-color:var(--c-line-strong);box-shadow:var(--shadow-sm)}
.evitem h3{margin:6px 0 2px;font-size:.98rem}
.evitem h3 a{color:inherit;text-decoration:none}.evitem h3 a:hover{color:var(--c-accent-ink)}
.evitem p{margin:0;font-size:.82rem;color:var(--c-muted)}
.evdate{flex-shrink:0;width:60px;height:64px;border-radius:12px;background:var(--c-dark);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}
.evdate strong{font-size:1.5rem;font-weight:700}
.evdate span{font-size:.7rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--c-accent-300);margin-top:4px}
/* events page */
.evfilter{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px}
.evfilter button{min-height:40px;padding:6px 16px;border-radius:999px;border:1px solid var(--c-line-strong);background:var(--c-paper);font:500 .86rem var(--font-body);color:var(--c-heading);cursor:pointer}
.evfilter button.is-on{background:var(--c-dark);border-color:var(--c-dark);color:#fff}
.evmonth{margin-bottom:26px}
.evmonth__title{font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;color:var(--c-muted);margin:0 0 10px;padding-bottom:8px;border-bottom:1px solid var(--c-line)}
.evcal{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.evrow{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;gap:18px;align-items:center;padding:16px;background:var(--c-paper);border:1px solid var(--c-line);border-radius:16px}
.evrow__img{width:150px;height:104px;object-fit:cover;border-radius:10px}
.evrow__tags{display:flex;gap:6px;flex-wrap:wrap}
.evrow h4{font-family:var(--font-display);font-size:1.1rem;font-weight:600;color:var(--c-heading);margin:8px 0 4px}
.evrow__when{display:flex;align-items:center;flex-wrap:wrap;gap:4px;font-size:.85rem;color:var(--c-muted);margin:0}
.evrow__text{font-size:.88rem;color:var(--c-ink);margin:6px 0 0}
.evrow .countdown{margin:10px 0 0}
.evrow__acts{display:flex;flex-direction:column;gap:8px;min-width:190px}
.evrow--noimg{grid-template-columns:auto minmax(0,1fr) auto}
.evrow__acts .btn{justify-content:center}
.evempty{text-align:center;padding:48px 20px;border:1px dashed var(--c-line-strong);border-radius:18px;background:var(--c-paper)}
.evempty__icon{display:inline-grid;place-items:center;width:60px;height:60px;border-radius:50%;background:var(--c-accent-50);color:var(--c-accent-ink);margin-bottom:12px}
.evpast{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.evpast li{background:var(--c-paper);border:1px solid var(--c-line);border-radius:16px;overflow:hidden}
.evpast img{width:100%;aspect-ratio:5/3;object-fit:cover;filter:saturate(.85)}
.evpast div{padding:14px 16px 16px}
.evpast h3{margin:8px 0 2px;font-size:1rem}.evpast p{margin:0 0 8px;font-size:.84rem;color:var(--c-muted)}
@media (max-width:1024px){.evhome{grid-template-columns:minmax(0,1fr)}.evrow,.evrow--noimg{grid-template-columns:auto minmax(0,1fr)}.evrow__acts{min-width:0}.evrow__img{display:none}.evrow__acts{grid-column:1/-1;flex-direction:row;flex-wrap:wrap}.evpast{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.countdown div{min-width:0;flex:1}.countdown strong{font-size:1.35rem}.evnext{min-height:0}.evnext .btn-row .btn{flex:1}.evpast{grid-template-columns:1fr}.evrow{gap:12px;padding:14px}.evrow__acts .btn{flex:1}}

[hidden]{display:none!important}
.langsw{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:3px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.25);color:#fff;text-decoration:none;font-size:.8rem;font-weight:600;margin-right:6px}
.langsw:hover{background:rgba(255,255,255,.1);border-color:#fff}
.langsw span{font-family:'Hind Siliguri','Poppins',sans-serif}
.lang-bn body{line-height:1.8}
.lang-bn h1,.lang-bn h2,.lang-bn .h2,.lang-bn h3{letter-spacing:0;line-height:1.35}
.lang-bn .eyebrow,.lang-bn .hero__kicker,.lang-bn .evtag,.lang-bn .evdate span{letter-spacing:.02em;text-transform:none}

/* ===== Blog ===== */
.container--narrow{max-width:820px}
.blogbar{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:24px}
.blogcats{display:flex;gap:8px;flex-wrap:wrap}
.blogcats a{min-height:38px;display:inline-flex;align-items:center;padding:6px 14px;border-radius:999px;border:1px solid var(--c-line-strong);background:var(--c-paper);font-size:.84rem;font-weight:500;color:var(--c-heading);text-decoration:none}
.blogcats a.is-on,.blogcats a:hover{background:var(--c-dark);border-color:var(--c-dark);color:#fff}
.blogsearch{display:flex;gap:6px}
.blogsearch input{min-height:44px;width:240px;max-width:60vw;padding:8px 14px;border:1px solid var(--c-line-strong);border-radius:10px;font:inherit;font-size:.9rem}
.blogsearch .btn{min-height:44px;padding:8px 14px}
.postlead{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:0;border:1px solid var(--c-line);border-radius:20px;overflow:hidden;background:var(--c-paper);text-decoration:none;color:inherit;margin-bottom:24px;transition:box-shadow .2s}
.postlead:hover{box-shadow:var(--shadow)}
.postlead__img{background:var(--c-dark);aspect-ratio:1200/630}.postlead__img img{width:100%;height:100%;object-fit:cover}
.postlead__body{display:flex;flex-direction:column;justify-content:center;gap:12px;padding:clamp(20px,3vw,40px)}
.postlead__title{font-family:var(--font-display);font-size:clamp(1.35rem,1rem + 1.2vw,2rem);font-weight:700;line-height:1.25;color:var(--c-heading);letter-spacing:-.02em}
.postlead__ex{color:var(--c-muted)}
.posts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.postcard{display:flex;flex-direction:column;border:1px solid var(--c-line);border-radius:16px;overflow:hidden;background:var(--c-paper);text-decoration:none;color:inherit;transition:transform .2s,box-shadow .2s}
.postcard:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.postcard__img{aspect-ratio:1200/630;background:var(--c-dark)}.postcard__img img{width:100%;height:100%;object-fit:cover}
.postcard__body{display:flex;flex-direction:column;gap:8px;padding:16px 18px 18px;flex:1}
.postcard__title{font-family:var(--font-display);font-weight:600;font-size:1.04rem;line-height:1.4;color:var(--c-heading)}
.postcard__ex{font-size:.86rem;color:var(--c-muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.postcard .postmeta{margin-top:auto}
.postmeta{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:.8rem;color:var(--c-muted);margin:0}
.pager{display:flex;justify-content:center;gap:6px;margin-top:28px}
.pager a,.pager span{min-width:44px;min-height:44px;display:grid;place-items:center;border-radius:10px;border:1px solid var(--c-line);background:var(--c-paper);text-decoration:none;font-weight:600;color:var(--c-heading)}
.pager span{background:var(--c-dark);color:#fff;border-color:var(--c-dark)}
/* article */
.preview-bar{background:#FFF6E0;color:#7A5300;text-align:center;padding:10px;font-weight:600;font-size:.9rem}
.article__head{padding:clamp(28px,5vw,64px) 0 24px;background:var(--c-bg-2);border-bottom:1px solid var(--c-line)}
.article__head .crumbs{margin-bottom:16px}
.article__head .crumbs a,.article__head .crumbs li{color:var(--c-muted)}
.article__title{color:var(--c-heading)!important;font-size:clamp(1.8rem,1.2rem + 2.4vw,3rem);margin:14px 0 12px}
.article__lead{font-size:1.1rem;color:var(--c-muted);margin:0 0 14px}
.article__hero{margin:28px auto 0}
.article__hero img{width:100%;border-radius:18px;aspect-ratio:1200/630;object-fit:cover}
.article__grid{display:grid;grid-template-columns:240px minmax(0,1fr);gap:48px;padding-block:36px 56px;max-width:1060px}
.article__side{position:sticky;top:110px;align-self:start;display:flex;flex-direction:column;gap:22px}
.toc__title{font-size:.72rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--c-muted);margin:0 0 8px}
.toc ol{list-style:none;margin:0;padding:0;border-left:2px solid var(--c-line)}
.toc li a{display:block;padding:5px 0 5px 12px;margin-left:-2px;border-left:2px solid transparent;font-size:.86rem;color:var(--c-muted);text-decoration:none;line-height:1.4}
.toc li a:hover{color:var(--c-accent-ink);border-left-color:var(--c-accent)}
.toc .toc__h3 a{padding-left:24px;font-size:.8rem}
.share{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.share .toc__title{width:100%}
.share a,.share button{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--c-line);background:var(--c-paper);color:var(--c-heading);cursor:pointer}
.share a:hover,.share button:hover{border-color:var(--c-accent);color:var(--c-accent-ink)}
.prose{font-size:1.04rem;line-height:1.85;color:var(--c-ink);max-width:720px}
.prose h2{font-size:1.55rem;margin:2.2em 0 .6em;scroll-margin-top:110px}
.prose h3{font-size:1.2rem;margin:1.8em 0 .5em;scroll-margin-top:110px}
.prose p,.prose ul,.prose ol{margin:0 0 1.15em}
.prose li{margin:.35em 0}
.prose a{color:var(--c-accent-ink);text-decoration:underline;text-underline-offset:3px}
.prose img{border-radius:12px;margin:1em 0}
.prose blockquote{margin:1.5em 0;padding:14px 20px;border-left:4px solid var(--c-accent);background:var(--c-accent-50);border-radius:0 12px 12px 0;font-style:normal;color:var(--c-heading)}
.prose table{width:100%;border-collapse:collapse;margin:1.2em 0;font-size:.92rem}
.prose th,.prose td{border:1px solid var(--c-line);padding:8px 10px;text-align:left}
.prose th{background:var(--c-bg-2)}
.faq{margin-top:2.4em}
.faq details{border:1px solid var(--c-line);border-radius:12px;padding:0 16px;margin-bottom:10px;background:var(--c-paper)}
.faq summary{cursor:pointer;font-weight:600;padding:14px 0;color:var(--c-heading);list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";float:right;font-weight:700;color:var(--c-accent)}
.faq details[open] summary::after{content:"–"}
.faq details p{margin:0 0 14px;color:var(--c-muted)}
.sources{margin-top:2em;font-size:.86rem}.sources h2{font-size:1rem}.sources ol{padding-left:1.2em;color:var(--c-muted)}
.tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:1.6em}.tags .chip{text-decoration:none}
.article__cta{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-top:2.4em;padding:20px 22px;border-radius:16px;background:var(--c-dark);color:#fff}
.article__cta strong{display:block;font-size:1.05rem}.article__cta span{color:var(--on-dark-2);font-size:.9rem}
@media (max-width:1024px){.posts{grid-template-columns:repeat(2,minmax(0,1fr))}.article__grid{grid-template-columns:minmax(0,1fr);gap:20px}.article__side{position:static;order:2}}
@media (max-width:640px){.postlead{grid-template-columns:minmax(0,1fr)}.posts{grid-template-columns:minmax(0,1fr)}.blogsearch,.blogsearch input{width:100%;max-width:none}.blogsearch input{flex:1}.prose{font-size:1rem}}
.prose a.btn,.prose .btn{color:var(--on-cta);text-decoration:none}.prose .btn--line{color:var(--c-heading)}
