/* BSP Hoshiarpur — public site styles. Mobile-first. */

:root {
  --blue-950: #050f38;
  --blue-900: #0a1d63;
  --blue-800: #0f2a8c;
  --blue-700: #1636b3;
  --blue-600: #1f47d6;
  --blue-500: #3866f2;
  --blue-200: #c9d6ff;
  --blue-100: #e7edff;
  --blue-50: #f3f6ff;
  --gold: #ffcc1f;
  --gold-600: #f0b400;
  --gold-100: #fff5d1;
  --red: #d61f2c;
  --red-700: #a8131d;
  --ink: #0c1431;
  --ink-2: #39436a;
  --muted: #646e90;
  --line: #e1e7f5;
  --bg: #ffffff;
  --bg-tint: #f4f7fd;
  --card: #ffffff;
  --ok: #157a3c;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(10, 29, 99, .06), 0 2px 8px rgba(10, 29, 99, .05);
  --shadow: 0 6px 24px rgba(10, 29, 99, .09), 0 2px 6px rgba(10, 29, 99, .05);
  --shadow-lg: 0 24px 60px rgba(5, 15, 56, .22);
  --font-display: "Baloo Paaji 2", "Baloo 2", "Noto Sans Gurmukhi", system-ui, sans-serif;
  --font-body: "Mukta Mahee", "Mukta", "Noto Sans Gurmukhi", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: 16px;
  --hdr-h: 68px;
}
.lang-hi {
  --font-display: "Baloo 2", "Noto Sans Devanagari", system-ui, sans-serif;
  --font-body: "Mukta", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7;
  overflow-x: hidden; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-600); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.3; margin: 0 0 .5em; color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }
p { margin: 0 0 1em; overflow-wrap: break-word; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.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; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--blue-950); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
main:focus { outline: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; --hdr-h: 78px; } }

/* ---------- Icons ---------- */
.ic { width: 22px; height: 22px; flex: none; }
.ic--sm { width: 18px; height: 18px; }
.ic--xs { width: 15px; height: 15px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .72em 1.35em; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: .55em 1.05em; font-size: .94rem; }
.btn--block { display: flex; width: 100%; }
.btn--gold { background: linear-gradient(180deg, #ffd84a, var(--gold)); color: var(--blue-950); box-shadow: 0 6px 18px rgba(255, 204, 31, .35), inset 0 -2px 0 rgba(0,0,0,.08); }
.btn--gold:hover { color: var(--blue-950); box-shadow: 0 10px 26px rgba(255, 204, 31, .45); }
.btn--blue { background: var(--blue-700); color: #fff; box-shadow: 0 6px 16px rgba(22, 54, 179, .25); }
.btn--blue:hover { background: var(--blue-600); color: #fff; }
.btn--glass { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255,255,255,.18); color: #fff; }
.btn--ghost-dark { background: #fff; color: var(--blue-800); border-color: var(--line); }
.btn--ghost-dark:hover { border-color: var(--blue-200); color: var(--blue-700); background: var(--blue-50); }

/* ---------- Top bar ---------- */
.topbar { background: var(--blue-950); color: #dfe6ff; font-size: .9rem; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; }
.topbar__msg { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; font-weight: 500; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar__msg:hover { color: var(--gold); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(255,204,31,.6); animation: pulse 2.4s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,204,31,.55); } 70% { box-shadow: 0 0 0 9px rgba(255,204,31,0); } 100% { box-shadow: 0 0 0 0 rgba(255,204,31,0); } }

.langs { display: flex; align-items: center; }
.langs a { text-decoration: none; }
.langs--full { display: none; gap: 2px; }
.langs--full a { color: #c7d2ff; padding: 4px 10px; border-radius: 999px; font-size: .88rem; line-height: 1.5; }
.langs--full a:hover { color: #fff; background: rgba(255,255,255,.08); }
.langs--full a.is-on { color: var(--blue-950); background: var(--gold); font-weight: 700; }
.langs--full a + a::before { content: none; }
@media (min-width: 720px) { .langs--full { display: flex; } }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.hdr.is-scrolled { box-shadow: 0 6px 24px rgba(10,29,99,.08); border-bottom-color: var(--line); }
.hdr__in { display: flex; align-items: center; gap: 12px; min-height: var(--hdr-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; margin-right: auto; }
.brand__mark { width: 50px; height: 50px; border-radius: 14px; background: radial-gradient(120% 120% at 30% 20%, var(--blue-600), var(--blue-900)); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(15,42,140,.3), inset 0 0 0 2px rgba(255,204,31,.55); flex: none; overflow: hidden; }
.brand__mark img { width: 42px; height: auto; border-radius: 4px; }
.brand__txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.brand__txt strong { font-family: var(--font-display); font-size: 1.22rem; font-weight: 800; color: var(--blue-900); white-space: nowrap; }
.brand__txt small { font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand--light .brand__txt strong { color: #fff; }
.brand--light .brand__txt small { color: #b9c6f5; }
@media (max-width: 400px) { .brand__txt small { display: none; } .brand__txt strong { font-size: 1.12rem; } .brand__mark { width: 44px; height: 44px; } .brand__mark img { width: 36px; } }

.nav { display: none; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.nav__a { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 10px; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--ink-2); text-decoration: none; background: none; border: 0; cursor: pointer; line-height: 1.4; }
.nav__a:hover, .nav__dd.open > .nav__a { color: var(--blue-700); background: var(--blue-50); }
.nav__a.is-active { color: var(--blue-800); }
.nav__a.is-active { box-shadow: inset 0 -3px 0 var(--gold); border-radius: 10px 10px 4px 4px; }
.nav__dd { position: relative; }
.nav__dd .ic { transition: transform .2s; }
.nav__dd.open .ic { transform: rotate(180deg); }
.dd { position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease; z-index: 60; }
.dd::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.nav__dd.open .dd, .nav__dd:focus-within .dd { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) { .nav__dd:hover .dd { opacity: 1; visibility: visible; transform: none; } }
.dd a { display: block; padding: 9px 12px; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-weight: 500; }
.dd a:hover, .dd a[aria-current] { background: var(--blue-50); color: var(--blue-700); }

.hdr__tools { display: flex; align-items: center; gap: 8px; flex: none; }
.langs--mini { background: var(--blue-50); border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 1px; }
.langs--mini a { min-width: 34px; height: 30px; display: grid; place-items: center; border-radius: 999px; font-size: .82rem; font-weight: 700; color: var(--ink-2); padding: 0 6px; line-height: 1; }
.langs--mini a.is-on { background: var(--blue-800); color: #fff; }
.hdr__cta { display: none; }
@media (min-width: 720px) { .langs--mini { display: none; } .hdr__cta { display: inline-flex; } }

.burger { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: grid; place-content: center; gap: 5px; cursor: pointer; padding: 0; }
.burger span { display: block; width: 20px; height: 2px; background: var(--blue-900); border-radius: 2px; transition: .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1100px) {
  .nav { display: block; }
  .burger { display: none; }
  .brand { margin-right: 12px; }
  .nav { margin-right: auto; }
}

.drawer { position: fixed; inset: 0; z-index: 70; background: rgba(5,15,56,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.drawer[hidden] { display: none; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: #fff; padding: 84px 20px 24px; overflow-y: auto; display: flex; flex-direction: column; gap: 18px; animation: slide-in .25s ease; box-shadow: var(--shadow-lg); }
@keyframes slide-in { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer__list { list-style: none; margin: 0; padding: 0; }
.drawer__list a { display: flex; align-items: center; justify-content: space-between; padding: 12px 6px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; }
.drawer__list a[aria-current] { color: var(--blue-700); }
.drawer__list a .ic { color: var(--muted); }
.drawer__langs > span { display: flex; align-items: center; gap: 6px; font-size: .9rem; color: var(--muted); margin-bottom: 8px; }
.langs--block { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.langs--block a { text-align: center; padding: 10px 6px; border-radius: 12px; border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; }
.langs--block a.is-on { background: var(--blue-800); color: #fff; border-color: var(--blue-800); }
body.drawer-open { overflow: hidden; }
body.drawer-open .hdr { z-index: 80; }

/* ---------- Shared typography ---------- */
.kicker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: .92rem; letter-spacing: .02em; color: var(--blue-700); margin: 0 0 .4em; text-transform: none; }
.kicker::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--gold); }
.kicker--light { color: var(--gold); }
.kicker--light::before { background: var(--gold); }
.kicker .pulse + * { margin-left: 0; }
.kicker:has(.pulse)::before { content: none; }
.sec-title { font-size: clamp(1.65rem, 1.2rem + 2vw, 2.4rem); font-weight: 800; color: var(--blue-950); margin: 0; }
.sec-title--light { color: #fff; }
.lead { font-size: 1.14rem; color: var(--ink-2); }
.meta { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: .9rem; }
.is-ph { color: var(--muted); font-style: italic; }
.is-ph--light { color: #c9d4ff; }
.hl-gold { color: var(--gold); }

/* ---------- Sections ---------- */
.sec { padding: 56px 0; }
.sec--tight { padding: 36px 0 56px; }
.sec--tint { background: var(--bg-tint); }
@media (min-width: 1024px) { .sec { padding: 84px 0; } .sec--tight { padding: 48px 0 84px; } }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-note { display: flex; align-items: center; gap: 8px; color: var(--muted); margin: 18px 0 0; font-size: .95rem; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 700; color: var(--blue-700); text-decoration: none; }
.link-more .ic { transition: transform .2s; }
.link-more:hover .ic { transform: translateX(3px); }

.grid { display: grid; gap: 18px; }
.grid--3 { grid-template-columns: 1fr; }
.grid--2 { grid-template-columns: 1fr; }
.grid--members { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.grid--albums { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--members { gap: 18px; } .grid--albums { gap: 18px; } }
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } .grid--members { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid--albums { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid--members { grid-template-columns: repeat(4, minmax(0, 1fr)); } .grid--albums { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: radial-gradient(1200px 600px at 85% 10%, rgba(56,102,242,.55), transparent 60%), linear-gradient(160deg, var(--blue-800) 0%, var(--blue-900) 45%, var(--blue-950) 100%); padding: 40px 0 120px; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.hero__glow--a { width: 420px; height: 420px; background: rgba(255,204,31,.22); left: -120px; top: 40%; }
.hero__glow--b { width: 520px; height: 520px; background: rgba(31,71,214,.6); right: -160px; top: -120px; }
.hero__word { position: absolute; right: -2%; bottom: 70px; font-family: "Baloo Paaji 2", sans-serif; font-weight: 800; font-size: clamp(5rem, 18vw, 15rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.07); white-space: nowrap; user-select: none; }
.hero__grid { display: grid; gap: 36px; align-items: center; }
.hero__copy { max-width: 640px; }
.hero__title { font-size: clamp(2.5rem, 1.6rem + 4.6vw, 4.6rem); font-weight: 800; color: #fff; margin: .1em 0 .35em; line-height: 1.15; letter-spacing: -.01em; }
.announce { position: relative; background: linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.05)); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); padding: 18px 20px 18px 22px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0,0,0,.18); margin-bottom: 18px; }
.announce::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 4px; border-radius: 0 4px 4px 0; background: linear-gradient(var(--gold), var(--red)); }
.announce__tag { display: inline-flex; align-items: center; gap: 6px; background: var(--red); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .85rem; padding: 3px 12px 3px 10px; border-radius: 999px; margin-bottom: 8px; box-shadow: 0 4px 12px rgba(214,31,44,.35); }
.announce__text { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 1rem + 1.25vw, 1.75rem); line-height: 1.45; margin: 0; color: #fff; }
.hero__text { color: #d5ddff; font-size: 1.05rem; max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 18px; }
.hero__source { display: flex; align-items: flex-start; gap: 6px; color: #a9b8ef; font-size: .86rem; margin: 0; }
.hero__source .ic { margin-top: 4px; }

.hero__visual { position: relative; justify-self: center; width: min(400px, 78vw); margin-bottom: 26px; }
.portrait { position: relative; aspect-ratio: 4 / 5; border-radius: 200px 200px 28px 28px; overflow: hidden; background: var(--blue-700); box-shadow: var(--shadow-lg), 0 0 0 6px rgba(255,255,255,.06); }
.portrait__img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.portrait__ring { position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 3px rgba(255,204,31,.85); z-index: 2; pointer-events: none; }
.portrait::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(transparent, rgba(5,15,56,.65)); z-index: 1; }
.nameplate { position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%); width: calc(100% - 24px); display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; background: rgba(255,255,255,.96); color: var(--ink); border-radius: 18px; box-shadow: var(--shadow-lg); z-index: 3; }
.nameplate__logo { width: 52px; height: 52px; border-radius: 12px; flex: none; object-fit: cover; }
.nameplate__name { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--blue-900); line-height: 1.3; }
.nameplate__role { display: block; font-size: .9rem; color: var(--ink-2); line-height: 1.45; }

.hero__ridges, .phead__ridges, .ftr__ridges { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; display: block; }
.hero__ridges .r1, .phead__ridges .r1 { fill: rgba(255,255,255,.05); }
.hero__ridges .r2, .phead__ridges .r2 { fill: rgba(255,255,255,.08); }
.hero__ridges .r3, .phead__ridges .r3 { fill: var(--bg); }

@media (min-width: 900px) {
  .hero { padding: 64px 0 150px; }
  .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 48px; }
  .hero__visual { justify-self: end; }
  .hero__ridges { height: 110px; }
}

/* ---------- Quick links ---------- */
.quick { position: relative; z-index: 5; margin-top: -64px; }
.quick__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.qcard { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; min-width: 0; }
.qcard:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(10,29,99,.14); border-color: var(--blue-200); color: var(--ink); }
.qcard__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-700), var(--blue-900)); color: var(--gold); flex: none; }
.qcard__txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.qcard__txt strong { font-family: var(--font-display); font-size: 1.04rem; color: var(--blue-950); }
.qcard__txt small { font-size: .82rem; color: var(--muted); display: none; }
.qcard__arrow { margin-left: auto; color: var(--blue-500); opacity: 0; transform: translateX(-4px); transition: .2s; display: none; }
.qcard:hover .qcard__arrow { opacity: 1; transform: none; }
@media (min-width: 640px) { .qcard__txt small { display: block; } .qcard__arrow { display: block; } .qcard { padding: 18px; } }
@media (min-width: 900px) { .quick__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .quick__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } .qcard { flex-direction: column; align-items: flex-start; } .qcard__arrow { position: absolute; top: 18px; right: 16px; } }

/* ---------- About / distinction ---------- */
.about-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; } }
.distinct { background: var(--bg-tint); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: 20px; }
.distinct__title { display: flex; align-items: center; gap: 8px; font-size: 1.08rem; color: var(--blue-900); margin-bottom: 14px; }
.distinct__card { display: flex; gap: 14px; padding: 16px; background: #fff; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.distinct__card + .distinct__card { margin-top: 10px; }
.distinct__card strong { font-family: var(--font-display); display: block; line-height: 1.4; margin-bottom: 2px; }
.distinct__card p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.distinct__card--local { border-color: var(--gold); box-shadow: inset 4px 0 0 var(--gold); }
.distinct__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-100); color: var(--blue-700); flex: none; }
.distinct__card--local .distinct__icon { background: var(--gold-100); color: #8a6400; }

/* ---------- Member cards ---------- */
.mcard { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .22s, box-shadow .22s; min-width: 0; }
.mcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mcard__media { position: relative; display: block; aspect-ratio: 4 / 4.4; background: linear-gradient(160deg, var(--blue-600), var(--blue-900)); overflow: hidden; }
.mcard__img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .5s ease; }
.mcard:hover .mcard__img { transform: scale(1.04); }
.mcard__type { position: absolute; left: 10px; top: 10px; font-family: var(--font-display); font-size: .78rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--blue-900); line-height: 1.6; }
.mcard__type.type--leadership { background: var(--gold); color: var(--blue-950); }
.mcard__type.type--office_bearer { background: var(--red); color: #fff; }
.mcard__body { display: flex; flex-direction: column; flex: 1; padding: 14px; }
.mcard__name { font-size: 1.12rem; margin: 0 0 2px; line-height: 1.35; }
.mcard__name a { color: var(--blue-950); text-decoration: none; }
.mcard__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.mcard__role { font-size: .9rem; color: var(--ink-2); margin: 0 0 6px; line-height: 1.5; }
.mcard__area { display: flex; align-items: flex-start; gap: 4px; font-size: .84rem; color: var(--muted); margin: 0 0 6px; line-height: 1.45; }
.mcard__area .ic { margin-top: 3px; }
.mcard__foot { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.mcard__social { display: flex; gap: 4px; position: relative; z-index: 2; }
.mcard__social a { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-700); }
.mcard__social a:hover { background: var(--blue-700); color: #fff; }
.mcard__more { display: inline-flex; align-items: center; gap: 4px; font-size: .86rem; font-weight: 700; font-family: var(--font-display); text-decoration: none; color: var(--blue-700); }
@media (max-width: 479px) { .mcard__body { padding: 11px; } .mcard__name { font-size: 1rem; } .mcard__role { font-size: .84rem; } .mcard__more { font-size: .8rem; } }

.avatar-ph { display: grid !important; place-items: center; color: rgba(255,255,255,.55); background: radial-gradient(80% 70% at 50% 30%, var(--blue-600), var(--blue-900)); }
.avatar-ph .ic { width: 42%; height: 42%; stroke-width: 1.4; }

/* ---------- Ghost (placeholder) cards ---------- */
.ghost { position: relative; border: 2px dashed var(--blue-200) !important; background: repeating-linear-gradient(-45deg, #fff 0 12px, var(--blue-50) 12px 24px) !important; box-shadow: none !important; }
.ghost:hover { transform: none !important; }
.ghost .mcard__media, .ghost .ncard__media { opacity: .55; }
.ph-badge { position: absolute; top: 10px; right: 10px; z-index: 3; display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; background: #fff; border: 1px solid var(--blue-200); color: var(--blue-700); font-size: .74rem; font-weight: 700; line-height: 1.6; }
.ghost__fields { margin: 6px 0; display: grid; gap: 2px; font-size: .84rem; }
.ghost__fields div { display: flex; gap: 6px; }
.ghost__fields dt { color: var(--muted); }
.ghost__fields dd { margin: 0; }
.ghost__note { font-size: .82rem; color: var(--muted); margin: 6px 0 0; font-style: italic; line-height: 1.5; }
.mcard--ghost .mcard__name { font-size: .96rem; color: var(--ink-2); }
/* On phones a couple of placeholder cards are enough to show the structure. */
@media (max-width: 639px) {
  .grid--3 > .ghost ~ .ghost { display: none; }
  .grid--members > .ghost ~ .ghost ~ .ghost, .grid--albums > .ghost ~ .ghost ~ .ghost { display: none; }
}

/* ---------- Feature (profile) band ---------- */
.feature { position: relative; color: #fff; padding: 64px 0; overflow: hidden; isolation: isolate; background: linear-gradient(135deg, var(--blue-900), var(--blue-950)); }
.feature__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 400px at 0% 100%, rgba(255,204,31,.14), transparent 70%), radial-gradient(700px 500px at 100% 0%, rgba(56,102,242,.45), transparent 60%); }
.feature__grid { display: grid; gap: 36px; align-items: center; }
.feature__media { position: relative; width: min(360px, 82vw); justify-self: center; }
.feature__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 26px; box-shadow: var(--shadow-lg); border: 3px solid rgba(255,204,31,.8); }
.feature__badge { position: absolute; right: -14px; bottom: -14px; width: 84px; height: 84px; border-radius: 22px; border: 4px solid #fff; box-shadow: var(--shadow-lg); object-fit: cover; }
.feature__name { font-size: clamp(2rem, 1.5rem + 2.4vw, 3.1rem); color: #fff; font-weight: 800; margin: 0; }
.feature__role { color: var(--gold); font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin: 0 0 18px; }
.feature__quote { position: relative; margin: 0 0 20px; padding: 18px 20px 18px 54px; border-radius: var(--radius); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.feature__q { position: absolute; left: 16px; top: 18px; color: var(--gold); opacity: .9; }
.feature__quote p { margin: 0; font-family: "Baloo Paaji 2", var(--font-display); font-size: 1.15rem; line-height: 1.55; font-weight: 600; }
.feature__tr { margin-top: 8px !important; font-family: var(--font-body) !important; font-weight: 400 !important; font-size: 1rem !important; color: #c9d4ff; }
.feature__facts { margin: 0 0 16px; display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.12); }
.feature__facts .drow { border-bottom-color: rgba(255,255,255,.12); }
.feature__facts dt { color: #a9b8ef; }
.feature__facts dd { color: #fff; }
.feature__facts dd.is-ph { color: #a9b8ef; }
.feature__source { display: flex; gap: 6px; color: #a9b8ef; font-size: .86rem; align-items: flex-start; }
.feature__source .ic { margin-top: 4px; }
@media (min-width: 900px) { .feature { padding: 96px 0; } .feature__grid { grid-template-columns: .8fr 1.2fr; gap: 64px; } }

/* detail rows (profile facts) */
.drow { display: grid; grid-template-columns: minmax(110px, 38%) 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.drow dt { color: var(--muted); font-size: .92rem; }
.drow dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.drow dd.is-ph { font-weight: 400; }

/* ---------- News cards ---------- */
.ncard { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .22s, box-shadow .22s; min-width: 0; }
.ncard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ncard__media { display: block; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--blue-700), var(--blue-950)); overflow: hidden; }
.ncard__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .5s; }
.ncard:hover .ncard__media img { transform: scale(1.04); }
.ncard__ph { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(255,255,255,.45); }
.ncard__ph .ic { width: 52px; height: 52px; stroke-width: 1.4; }
.ncard__body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.ncard__meta { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-bottom: 8px; }
.ncard__title { font-size: 1.18rem; line-height: 1.45; margin-bottom: 8px; }
.ncard__title a { color: var(--blue-950); text-decoration: none; }
.ncard__title a::after { content: ""; position: absolute; inset: 0; }
.ncard__text { color: var(--ink-2); font-size: .96rem; margin-bottom: 14px; }
.ncard .link-more { margin-top: auto; position: relative; z-index: 2; }
.ncard--lg { display: grid; }
@media (min-width: 800px) {
  .ncard--lg { grid-template-columns: 1fr 1.2fr; }
  .ncard--lg .ncard__media { aspect-ratio: auto; min-height: 100%; }
  .ncard--lg .ncard__body { padding: 32px; justify-content: center; }
  .ncard--lg .ncard__title { font-size: 1.6rem; }
}
.chip { display: inline-flex; align-items: center; padding: 1px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; font-family: var(--font-display); background: var(--blue-100); color: var(--blue-800); line-height: 1.7; }
.chip--announcement { background: #ffe3e5; color: var(--red-700); }
.chip--press { background: var(--gold-100); color: #7a5800; }
.featured { position: relative; margin-bottom: 32px; }
.featured__label { position: absolute; z-index: 3; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 4px; background: var(--gold); color: var(--blue-950); font-weight: 700; font-family: var(--font-display); font-size: .82rem; padding: 2px 12px; border-radius: 999px; }
.featured .ncard--lg .ncard__media img { object-fit: contain; background: var(--blue-900); }

/* ---------- Event cards ---------- */
.ecard { position: relative; display: flex; gap: 16px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .22s, box-shadow .22s; min-width: 0; }
.ecard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.dblock { flex: none; width: 70px; border-radius: 14px; background: linear-gradient(160deg, var(--blue-700), var(--blue-900)); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 4px; line-height: 1.15; text-align: center; align-self: flex-start; }
.dblock b { font-family: var(--font-display); font-size: 1.7rem; color: var(--gold); }
.dblock span { font-size: .8rem; font-weight: 600; }
.dblock small { font-size: .72rem; opacity: .75; }
.dblock--na { height: 76px; color: rgba(255,255,255,.6); }
.ecard__body { min-width: 0; display: flex; flex-direction: column; }
.ecard__title { font-size: 1.12rem; line-height: 1.45; margin: 6px 0; }
.ecard__title a { color: var(--blue-950); text-decoration: none; }
.ecard__title a::after { content: ""; position: absolute; inset: 0; }
.ecard__meta { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 2px; color: var(--muted); font-size: .88rem; }
.ecard__meta li { display: flex; align-items: center; gap: 6px; }
.ecard__text { font-size: .94rem; color: var(--ink-2); }
.ecard .link-more { margin-top: auto; position: relative; z-index: 2; }
.status { display: inline-flex; align-self: flex-start; padding: 0 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; line-height: 1.8; background: #e3f5ea; color: var(--ok); }
.status--postponed { background: var(--gold-100); color: #7a5800; }
.status--cancelled { background: #ffe3e5; color: var(--red-700); }
.status--completed { background: var(--blue-100); color: var(--blue-800); }
.ghost.ecard { padding-top: 36px; }

/* ---------- Albums ---------- */
.acard { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, var(--blue-700), var(--blue-950)); color: #fff; text-decoration: none; box-shadow: var(--shadow-sm); isolation: isolate; }
.acard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.acard:hover img { transform: scale(1.06); }
.acard__shade { position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(5,15,56,.85)); }
.acard__ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.3); }
.acard__ph .ic { width: 56px; height: 56px; stroke-width: 1.3; }
.acard__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px; display: flex; flex-direction: column; gap: 2px; z-index: 2; }
.acard__cat { align-self: flex-start; font-size: .74rem; font-weight: 700; background: var(--gold); color: var(--blue-950); border-radius: 999px; padding: 0 9px; line-height: 1.7; }
.acard__title { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.35; color: #fff; }
.acard__meta { display: flex; align-items: center; gap: 5px; font-size: .8rem; color: #d3dcff; }
.acard--ghost { background: repeating-linear-gradient(-45deg, var(--blue-800) 0 14px, var(--blue-900) 14px 28px) !important; border-color: rgba(255,255,255,.25) !important; }

/* ---------- Videos ---------- */
.vcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); position: relative; }
.vcard__frame { position: relative; aspect-ratio: 16 / 9; background: var(--blue-950); }
.vcard__frame img, .vcard__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.vcard__frame--ph { background: repeating-linear-gradient(-45deg, var(--blue-800) 0 14px, var(--blue-900) 14px 28px); }
.vcard__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 68px; height: 68px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--red); color: #fff; cursor: pointer; box-shadow: 0 10px 30px rgba(214,31,44,.45); transition: transform .2s; }
.vcard__play:hover { transform: translate(-50%, -50%) scale(1.07); }
.vcard__play .ic { width: 26px; height: 26px; margin-left: 3px; }
.vcard__body { padding: 14px 16px; }
.vcard__title { font-size: 1.04rem; line-height: 1.45; margin: 0 0 4px; }

/* ---------- How-to / CTA band ---------- */
.howto { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 28px; padding: 18px 20px; border-radius: var(--radius); background: linear-gradient(135deg, var(--blue-50), #fff); border: 1px solid var(--line); }
.howto > div { flex: 1 1 260px; }
.howto strong { font-family: var(--font-display); color: var(--blue-900); }
.howto p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.howto__icon { width: 46px; height: 46px; border-radius: 14px; background: var(--blue-700); color: var(--gold); display: grid; place-items: center; flex: none; }

.cta-band { position: relative; overflow: hidden; display: grid; gap: 24px; padding: 32px 22px; border-radius: 28px; color: #fff; background: radial-gradient(500px 300px at 100% 0%, rgba(56,102,242,.6), transparent 70%), linear-gradient(135deg, var(--blue-800), var(--blue-950)); box-shadow: var(--shadow-lg); isolation: isolate; }
.cta-band__list { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 8px; }
.cta-band__list li { display: flex; gap: 8px; align-items: flex-start; }
.cta-band__list a { color: #fff; }
.cta-band__ph { display: flex; align-items: center; gap: 8px; color: #c9d4ff; margin: 14px 0 8px; }
.cta-band__ph--sm { font-size: .9rem; margin-top: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; align-content: center; position: relative; z-index: 2; }
.cta-band__mark { position: absolute; right: -30px; bottom: -40px; width: 260px; opacity: .1; z-index: -1; border-radius: 20px; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.3fr 1fr; padding: 48px 52px; } .cta-band__actions { justify-content: flex-end; } }

/* ---------- Page head (inner pages) ---------- */
.phead { position: relative; overflow: hidden; color: #fff; padding: 34px 0 72px; background: radial-gradient(700px 400px at 90% 0%, rgba(56,102,242,.5), transparent 60%), linear-gradient(160deg, var(--blue-800), var(--blue-950)); isolation: isolate; }
.phead__bg { position: absolute; inset: 0; z-index: -1; background: url("../img/bsp-elephant.webp") no-repeat right -40px bottom 10px / 300px auto; opacity: .06; }
.phead__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: var(--gold); margin-bottom: 12px; }
.phead__title { color: #fff; font-size: clamp(1.9rem, 1.4rem + 2.6vw, 3.2rem); font-weight: 800; margin: 0 0 .25em; max-width: 900px; }
.phead__intro { color: #d0d9ff; max-width: 680px; font-size: 1.08rem; margin: 0; }
.phead__ridges { height: 54px; }
@media (min-width: 1024px) { .phead { padding: 48px 0 96px; } .phead__ridges { height: 80px; } }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 16px; padding: 0; font-size: .88rem; }
.crumbs li { display: inline-flex; align-items: center; color: #c3cff9; min-width: 0; }
.crumbs li + li::before { content: "›"; margin: 0 8px; opacity: .6; }
.crumbs a { color: #e4eaff; text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs [aria-current] { color: var(--gold); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }

/* ---------- Layout helpers ---------- */
.layout-side { display: grid; gap: 28px; }
@media (min-width: 960px) { .layout-side { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; } .side { position: sticky; top: calc(var(--hdr-h) + 20px); } .layout-side--form { grid-template-columns: minmax(0, 1fr) 380px; } }
.side { display: grid; gap: 16px; }

.prose { max-width: 760px; color: var(--ink-2); }
.prose h2 { font-size: 1.45rem; color: var(--blue-950); margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--gold-600); }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); min-width: 0; }
.panel + .panel { margin-top: 0; }
.panel__title { display: flex; align-items: center; gap: 8px; font-size: 1.18rem; color: var(--blue-950); margin-bottom: 12px; }
.panel__title .ic { color: var(--blue-600); }
.panel__title--plain { margin: 28px 0 14px; }
.panel__sub { font-size: 1rem; margin: 16px 0 8px; }
.panel--blue { background: linear-gradient(150deg, var(--blue-800), var(--blue-950)); color: #fff; border: 0; }
.panel--blue .panel__title, .panel--blue .panel__sub { color: #fff; }
.panel--blue .panel__title .ic { color: var(--gold); }
.panel--blue a { color: #fff; }
.panel--gold { background: var(--gold-100); border-color: #f5df8c; }
.panel--gold p { margin: 0; color: #4d3b00; }
.profile-main { display: grid; gap: 18px; min-width: 0; }

.note { display: flex; align-items: flex-start; gap: 8px; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--blue-900); font-size: .95rem; margin-bottom: 24px; }
.note .ic { margin-top: 4px; }
.note--lang { background: var(--gold-100); border-color: #f5df8c; color: #5c4600; }

.details { margin: 0; }
.details--compact .drow { grid-template-columns: minmax(90px, 40%) 1fr; padding: 8px 0; font-size: .95rem; }
.details--light .drow { border-bottom-color: rgba(255,255,255,.14); }
.details--light dt { color: #a9b8ef; }
.details--light dd { color: #fff; }
.details--light dd.is-ph { color: #a9b8ef; }
.details__note { display: flex; gap: 6px; align-items: flex-start; font-size: .86rem; color: var(--muted); margin: 14px 0 0; }
.details__note .ic { margin-top: 4px; color: var(--ok); }

.side-links { display: grid; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.side-links a { display: flex; align-items: center; gap: 10px; padding: 13px 16px; text-decoration: none; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line); }
.side-links a:last-child { border-bottom: 0; }
.side-links a:hover, .side-links a[aria-current] { background: var(--blue-50); color: var(--blue-700); }
.side-links a .ic:first-child { color: var(--blue-600); }
.side-links a .ic:last-child { margin-left: auto; color: var(--muted); }

/* ---------- Profile page ---------- */
.profile-hero { position: relative; color: #fff; padding: 30px 0 90px; overflow: hidden; background: radial-gradient(800px 500px at 100% 0%, rgba(56,102,242,.55), transparent 60%), linear-gradient(160deg, var(--blue-800), var(--blue-950)); isolation: isolate; }
.profile-hero__bg { position: absolute; inset: 0; z-index: -1; background: url("../img/bsp-elephant.webp") no-repeat right 4% bottom 40px / 340px auto; opacity: .07; }
.profile-hero__grid { display: grid; gap: 26px; align-items: center; }
.profile-hero__photo { position: relative; width: min(280px, 70vw); aspect-ratio: 4 / 5; border-radius: 160px 160px 24px 24px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--blue-700); }
.profile-hero__img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.profile-hero__name { color: #fff; font-size: clamp(2.2rem, 1.6rem + 3vw, 3.6rem); font-weight: 800; margin: 10px 0 0; }
.profile-hero__alt { color: #c9d4ff; font-family: "Baloo Paaji 2", sans-serif; font-size: 1.3rem; margin: 0; }
.profile-hero__role { color: var(--gold); font-family: var(--font-display); font-size: clamp(1.1rem, 1rem + .6vw, 1.45rem); font-weight: 700; margin: 6px 0 16px; }
.profile-hero__party { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); font-weight: 600; }
.profile-hero__mark { width: 38px; height: 38px; border-radius: 50%; background: var(--blue-600); display: grid; place-items: center; overflow: hidden; box-shadow: inset 0 0 0 2px rgba(255,204,31,.7); }
.profile-hero__mark img { width: 30px; height: auto; }
.profile-hero .mcard__type { position: static; display: inline-block; }
.crumbs--light { margin-bottom: 8px; }
@media (min-width: 800px) { .profile-hero { padding: 40px 0 120px; } .profile-hero__grid { grid-template-columns: auto 1fr; gap: 48px; } }

.appoint { position: relative; padding: 22px 22px 18px; border-radius: var(--radius); background: linear-gradient(135deg, #fff, var(--gold-100)); border: 1px solid #f3dc8a; box-shadow: var(--shadow-sm); overflow: hidden; }
.appoint::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(var(--gold), var(--red)); }
.appoint__text { font-family: "Baloo Paaji 2", var(--font-display); font-size: clamp(1.25rem, 1.05rem + 1vw, 1.65rem); font-weight: 700; line-height: 1.5; color: var(--blue-950); margin: 6px 0 6px; }
.appoint__tr { font-size: 1.05rem; color: var(--ink-2); margin: 0 0 4px; }
.appoint__note { font-size: .82rem; color: var(--muted); font-style: italic; margin: 0 0 6px; }
.appoint__src { display: flex; align-items: flex-start; gap: 6px; font-size: .86rem; color: #6a5300; margin: 8px 0 0; }
.appoint__src .ic { margin-top: 4px; }

.contact-list { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 8px; }
.contact-list li { display: flex; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.contact-list--dark a { color: var(--blue-800); font-weight: 600; }
.mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mini-list a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.mini-list a:hover { background: var(--blue-50); }
.mini-list__img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; object-position: center 20%; flex: none; }
.mini-list span { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.mini-list small { color: var(--muted); font-size: .82rem; }

.person-card { display: flex; gap: 12px; align-items: center; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); }
.person-card:hover { border-color: var(--blue-200); }
.person-card__img { width: 64px; height: 76px; border-radius: 12px; object-fit: cover; object-position: center 20%; flex: none; }
.person-card span { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.person-card strong { font-family: var(--font-display); color: var(--blue-950); }
.person-card small { color: var(--ink-2); font-size: .86rem; }
.person-card em { font-style: normal; display: inline-flex; align-items: center; gap: 4px; color: var(--blue-700); font-weight: 700; font-size: .85rem; margin-top: 4px; }

/* ---------- Organisation tree ---------- */
.tree { list-style: none; margin: 0; padding: 0; position: relative; }
.tree::before { content: ""; position: absolute; left: 30px; top: 40px; bottom: 40px; width: 3px; background: linear-gradient(var(--gold), var(--blue-200)); border-radius: 3px; }
.tier { position: relative; padding-left: 0; margin-bottom: 18px; }
.tier__card { position: relative; display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); margin-left: 0; }
.tier:not(.tier--root) .tier__card { margin-left: 18px; }
.tier__card--root { background: linear-gradient(135deg, var(--blue-800), var(--blue-950)); color: #fff; border: 0; align-items: center; box-shadow: var(--shadow); }
.tier__card--root img { width: 64px; height: 64px; border-radius: 16px; border: 3px solid var(--gold); object-fit: cover; flex: none; }
.tier__card--root .tier__title { color: #fff; margin: 0; font-size: 1.6rem; }
.tier__card--root .tier__lvl { color: var(--gold); }
.tier__icon { width: 46px; height: 46px; border-radius: 14px; background: var(--blue-700); color: var(--gold); display: grid; place-items: center; flex: none; position: relative; z-index: 1; box-shadow: 0 0 0 5px #fff; }
.tier__main { min-width: 0; flex: 1; }
.tier__lvl { display: block; font-family: var(--font-display); font-weight: 800; font-size: .85rem; color: var(--blue-500); letter-spacing: .06em; }
.tier__title { font-size: 1.25rem; margin: 0 0 8px; color: var(--blue-950); }
.tier__count { display: inline-block; font-size: .8rem; font-weight: 700; background: var(--blue-50); color: var(--blue-700); border-radius: 999px; padding: 0 10px; vertical-align: middle; line-height: 1.8; }
.tier__pending { display: flex; align-items: center; gap: 6px; color: var(--muted); font-style: italic; margin: 0; font-size: .94rem; }
.tier__text { color: var(--ink-2); margin: 0 0 12px; }
.tier__people { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.tier__people a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 14px; background: var(--bg-tint); text-decoration: none; color: var(--ink); border: 1px solid transparent; }
.tier__people a:hover { border-color: var(--blue-200); background: #fff; }
.tier__avatar { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; object-position: center 20%; flex: none; }
.tier__people span { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.tier__people small { color: var(--muted); font-size: .82rem; }
@media (min-width: 700px) { .tier:not(.tier--root) .tier__card { margin-left: 46px; } .tree::before { left: 56px; } }

.area-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; }
.area-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--blue-800); text-decoration: none; font-weight: 600; }
.area-chip b { background: var(--blue-700); color: #fff; border-radius: 999px; font-size: .75rem; padding: 0 7px; }
.area-chip:hover { background: var(--blue-700); color: #fff; }

/* ---------- Filters ---------- */
.filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 20px; }
.filters__search { position: relative; display: flex; align-items: center; grid-column: 1 / -1; }
.filters__actions { grid-column: 1 / -1; }
.filters--news .filters__sel:last-of-type { min-width: 0; }
.filters__search .ic { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.filters__search input { width: 100%; height: 50px; padding: 0 16px 0 42px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-tint); font-size: 1rem; }
.filters__search input:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(56,102,242,.15); }
.filters__sel { display: flex; flex-direction: column; gap: 4px; font-size: .84rem; color: var(--muted); font-weight: 600; min-width: 0; }
.filters__sel select { height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; padding: 0 12px; font-size: .98rem; color: var(--ink); width: 100%; min-width: 0; }
.filters__sel select:disabled { background: var(--bg-tint); color: var(--muted); }
.filters__actions { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
@media (min-width: 1000px) { .filters { grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)) auto; align-items: end; } .filters__search, .filters__actions { grid-column: auto; } .filters--news { grid-template-columns: 2fr 1fr 1fr auto; } }

.result-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.result-bar p { margin: 0; color: var(--ink-2); }
.type-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; max-width: 100%; padding-bottom: 2px; }
.type-tabs::-webkit-scrollbar { display: none; }
.type-tabs a { flex: none; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .9rem; }
.type-tabs a.is-on { background: var(--blue-800); border-color: var(--blue-800); color: #fff; }
.type-tabs--center { justify-content: flex-start; margin-bottom: 24px; }
@media (min-width: 700px) { .type-tabs--center { justify-content: center; } }

.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg-tint); border: 1px solid var(--line); margin-bottom: 24px; }
.tabs a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-family: var(--font-display); }
.tabs a b { font-size: .78rem; background: var(--blue-100); color: var(--blue-800); border-radius: 999px; padding: 0 8px; }
.tabs a.is-on { background: #fff; color: var(--blue-800); box-shadow: var(--shadow-sm); }

.pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.pager__info { color: var(--muted); font-size: .92rem; }

.empty { text-align: center; padding: 40px 20px; border: 2px dashed var(--blue-200); border-radius: var(--radius); background: var(--blue-50); margin-bottom: 24px; }
.empty__icon { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 20px; display: grid; place-items: center; background: #fff; color: var(--blue-600); box-shadow: var(--shadow-sm); }
.empty__text { font-family: var(--font-display); font-size: 1.15rem; color: var(--blue-900); margin: 0; }
.empty__sub { color: var(--muted); margin: 6px 0 0; }

/* ---------- Gallery ---------- */
.album-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-bottom: 18px; }
.masonry { columns: 2 160px; column-gap: 12px; margin-bottom: 28px; }
.masonry__item { position: relative; display: block; margin-bottom: 12px; break-inside: avoid; border-radius: 14px; overflow: hidden; background: var(--blue-100); }
.masonry__item img { width: 100%; transition: transform .5s; }
.masonry__item:hover img { transform: scale(1.04); }
.masonry__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; background: linear-gradient(transparent, rgba(5,15,56,.8)); color: #fff; font-size: .82rem; line-height: 1.4; }
@media (min-width: 900px) { .masonry { columns: 4 200px; column-gap: 16px; } .masonry__item { margin-bottom: 16px; } }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-bottom: 14px; }
.photo-grid a { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; }

.lb { position: fixed; inset: 0; z-index: 100; background: rgba(3,8,30,.94); display: grid; place-items: center; padding: 56px 12px; }
.lb[hidden] { display: none; }
.lb__fig { margin: 0; max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.lb__fig img { max-height: calc(100vh - 150px); width: auto; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lb__fig figcaption { color: #dbe3ff; text-align: center; font-size: .95rem; }
.lb__btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb__btn:hover { background: rgba(255,255,255,.18); }
.lb__close { top: 12px; right: 12px; }
.lb__prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 10px; top: 50%; transform: translateY(-50%); }

/* ---------- Documents ---------- */
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.doc { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.doc__icon { position: relative; width: 52px; height: 60px; border-radius: 10px; background: #ffe3e5; color: var(--red); display: grid; place-items: center; flex: none; }
.doc__icon b { position: absolute; bottom: 4px; font-size: .62rem; font-weight: 800; }
.doc__body { flex: 1 1 240px; min-width: 0; }
.doc__title { font-size: 1.12rem; margin: 0 0 4px; }
.doc__text { color: var(--ink-2); font-size: .94rem; margin: 0 0 6px; }
.doc__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 0; align-items: center; }

/* ---------- Article ---------- */
.article { min-width: 0; }
.article__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-bottom: 18px; }
.article__figure { margin: 0 0 24px; border-radius: var(--radius); overflow: hidden; background: var(--blue-900); box-shadow: var(--shadow); }
.article__figure img { margin: 0 auto; max-height: 720px; width: auto; }
.article__figure figcaption { display: flex; gap: 6px; align-items: flex-start; padding: 10px 14px; background: var(--blue-950); color: #c9d4ff; font-size: .86rem; }
.article__figure figcaption .ic { margin-top: 4px; }

/* ---------- Forms ---------- */
.contact-grid { display: grid; gap: 24px; }
.contact-cards { display: grid; gap: 16px; align-content: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 380px minmax(0, 1fr); gap: 32px; align-items: start; } }
.contact-hours { display: flex; align-items: center; gap: 8px; color: #c9d4ff; margin: 8px 0 0; }
.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; }
.form { display: grid; gap: 14px; }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } .field--wide { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: .95rem; color: var(--ink); }
.field label small { font-weight: 400; color: var(--muted); }
.req { color: var(--red); }
.field input, .field textarea, .field select { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1px solid #cfd8ee; background: #fff; font-size: 1rem; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(56,102,242,.15); }
.field.has-err input, .field.has-err textarea, .field.has-err select { border-color: var(--red); }
.field__err { display: flex; align-items: center; gap: 4px; color: var(--red-700); font-size: .86rem; margin: 0; }
.field--check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink-2); }
.field--check input { width: 20px; height: 20px; min-height: 0; margin-top: 4px; flex: none; accent-color: var(--blue-700); }
.form__note { display: flex; align-items: center; gap: 6px; font-size: .86rem; margin: 0; }
.form__note a { color: var(--muted); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 12px; margin-bottom: 16px; font-weight: 600; }
.alert--ok { background: #e3f5ea; color: var(--ok); border: 1px solid #b8e3c8; }
.alert--err { background: #ffe9eb; color: var(--red-700); border: 1px solid #f8c3c8; }

/* ---------- Social ---------- */
.social { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-700); transition: .2s; }
.social a:hover { background: var(--blue-700); color: #fff; }
.social--light a { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.18); }
.social--light a:hover { background: var(--gold); color: var(--blue-950); }

/* ---------- Footer ---------- */
.ftr { position: relative; background: linear-gradient(180deg, var(--blue-900), var(--blue-950)); color: #c9d4ff; padding: 80px 0 0; margin-top: 0; overflow: hidden; }
.ftr__ridges { top: -1px; bottom: auto; height: 56px; transform: scaleY(-1); }
.ftr__ridges .r1 { fill: rgba(255,255,255,0); }
.ftr__ridges .r2 { fill: rgba(255,255,255,0); }
.ftr__ridges .r3 { fill: var(--bg); }
.ftr__grid { display: grid; gap: 32px; padding-bottom: 36px; }
@media (min-width: 700px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .ftr__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; } }
.ftr__about { margin: 16px 0 18px; font-size: .95rem; max-width: 360px; }
.ftr__h { color: #fff; font-size: 1.05rem; margin: 0 0 12px; }
.ftr__h + .social, .ftr__h + .ftr__ph { margin-top: 0; }
.ftr__links { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 6px; }
.ftr__links a { color: #c9d4ff; text-decoration: none; }
.ftr__links a:hover { color: var(--gold); }
.ftr__links--inline { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.ftr__contact { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.ftr__contact li { display: flex; gap: 8px; align-items: flex-start; overflow-wrap: anywhere; }
.ftr__contact .ic { margin-top: 5px; color: var(--gold); }
.ftr__contact a { color: #fff; }
.ftr__ph { font-size: .92rem; font-style: italic; color: #9fb0ea; margin: 0 0 18px; }
.ftr__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px var(--gutter) 24px; display: grid; gap: 8px; font-size: .86rem; }
.ftr__note { display: flex; gap: 8px; align-items: flex-start; margin: 0; color: #9fb0ea; }
.ftr__note .ic { margin-top: 3px; flex: none; }
.ftr__copy { margin: 0; color: #fff; }

/* ---------- 404 ---------- */
.nf { padding: 80px 0; text-align: center; background: var(--bg-tint); }
.nf__in { display: flex; flex-direction: column; align-items: center; }
.nf__in img { border-radius: 16px; opacity: .9; margin-bottom: 8px; }
.nf__code { font-family: var(--font-display); font-weight: 800; font-size: 5rem; color: var(--blue-700); line-height: 1; margin: 0; }
.nf__title { font-size: 1.8rem; }
.nf__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .hdr, .ftr, .drawer, .lb, .hero__cta, .filters { display: none !important; }
  .hero, .phead, .profile-hero, .feature { background: #fff !important; color: #000 !important; }
}
