/* =====================================================================
   National Cadet Corps, Ghana — public site styles
   Every sector & region shares this sheet; --accent is set per site
   (Southern = red, Central = gold, Northern = green: the three bands of
   the national flag).
   ===================================================================== */

/* Self-hosted fonts (SIL Open Font License) */
@font-face { font-family: "Big Shoulders Display"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/big-shoulders-display-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-weight: 900; font-style: normal; font-display: swap; src: url("../fonts/big-shoulders-display-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/source-sans-3-latin-400-italic.woff2") format("woff2"); }

/* Theme colour: one setting (Admin → Settings → Theme colour) produces the whole
   --color-brand-50 … 950 scale, printed inline by the page header. These defaults match it. */
:root {
  --color-brand-50: #F5F5F5;  --color-brand-100: #E9E9EA; --color-brand-200: #CECFD0;
  --color-brand-300: #A9ABAE; --color-brand-400: #818287; --color-brand-500: #54565C;
  --color-brand-600: #33363D; --color-brand-700: #2B2E34; --color-brand-800: #23252B;
  --color-brand-900: #1C1E22; --color-brand-950: #141619;

  --ink: var(--color-brand-600);      /* main theme colour: bars, footer, dark bands, buttons */
  --ink-2: var(--color-brand-700);
  --ink-3: var(--color-brand-500);
  --on-brand: #FFFFFF;
  --on-brand-2: rgba(255, 255, 255, .88);
  --on-brand-3: rgba(255, 255, 255, .74);
  --on-brand-4: rgba(255, 255, 255, .6);
  --paper: #FFFFFF;
  --mist: var(--color-brand-50);
  --line: color-mix(in srgb, var(--color-brand-200) 65%, #FFFFFF);
  --text: color-mix(in srgb, var(--color-brand-950) 75%, #111111);
  --muted: color-mix(in srgb, var(--color-brand-600) 55%, #5F6368);
  --flag-red: #CE1126;
  --flag-gold: #FCD116;
  --flag-green: #006B3F;
  --star: #0B0B0B;
  --accent: #B8860B;
  --accent-fg: #1C1E22;
  --surface: var(--paper);
  --surface-2: var(--mist);
  --radius-s: 8px;
  --radius: 16px;
  --shadow: 0 1px 2px color-mix(in srgb, var(--color-brand-900) 6%, transparent), 0 12px 32px -16px color-mix(in srgb, var(--color-brand-900) 28%, transparent);
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --f-display: "Big Shoulders Display", "Oswald", "Arial Narrow", sans-serif;
  --f-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --surface: var(--color-brand-950);
  --surface-2: color-mix(in srgb, var(--color-brand-900) 80%, var(--color-brand-800));
  --paper: var(--color-brand-950);
  --mist: var(--color-brand-900);
  --line: color-mix(in srgb, var(--color-brand-700) 70%, #FFFFFF 8%);
  --text: #ECEDEF;
  --muted: color-mix(in srgb, var(--color-brand-300) 80%, #FFFFFF);
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 28px -14px rgba(0, 0, 0, .7);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface: var(--color-brand-950); --surface-2: color-mix(in srgb, var(--color-brand-900) 80%, var(--color-brand-800));
    --paper: var(--color-brand-950); --mist: var(--color-brand-900);
    --line: color-mix(in srgb, var(--color-brand-700) 70%, #FFFFFF 8%); --text: #ECEDEF;
    --muted: color-mix(in srgb, var(--color-brand-300) 80%, #FFFFFF);
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 28px -14px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 1.0625rem/1.6 var(--f-body); color: var(--text); background: var(--surface); overflow-x: hidden; }
img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--flag-gold); outline-offset: 2px; border-radius: 2px; }
[hidden] { display: none !important; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--flag-gold); color: var(--ink); padding: 10px 16px; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: 780px; }
.wrap--mid { max-width: 1000px; }
.muted { color: var(--muted); }
.icon { width: 1.2em; height: 1.2em; flex: none; }
.icon--sm { width: .9em; height: .9em; }

/* ---------- type ---------- */
.h-section { font: 800 clamp(2rem, 1.4rem + 2.4vw, 3.25rem)/1 var(--f-display); letter-spacing: .005em; color: var(--text); margin-bottom: .4em; text-wrap: balance; }
.h-sub { font: 800 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.05 var(--f-display); margin: 2rem 0 1rem; }
.h-sub a { text-decoration: none; }
.prose { max-width: 70ch; }
.prose p, .prose li { font-size: 1.125rem; }
.prose h2, .prose h3 { font-family: var(--f-display); font-weight: 800; margin: 1.6em 0 .5em; }
.prose h2 { font-size: 2rem; } .prose h3 { font-size: 1.5rem; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose blockquote { margin: 1.5em 0; padding: .2em 0 .2em 1.2em; border-left: 4px solid var(--accent); font-size: 1.25rem; }
.prose a { color: var(--flag-green); }
:root[data-theme="dark"] .prose a { color: var(--flag-gold); }
.prose--lead p:first-child { font-size: 1.3rem; line-height: 1.5; }

/* ---------- buttons ---------- */
.btn { --b: var(--ink); --f: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px; padding: .6em 1.2em; border: 2px solid var(--b); border-radius: var(--radius-s); background: var(--b); color: var(--f); font-weight: 700; font-size: 1rem; text-decoration: none; line-height: 1.1; transition: transform .15s var(--ease), background .15s, color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn--accent { --b: var(--accent); --f: var(--accent-fg); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--text); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost-light:hover { border-color: #fff; }
.btn--lg { min-height: 52px; padding: .8em 1.6em; font-size: 1.0625rem; }
.btn--sm { min-height: 36px; padding: .4em .9em; font-size: .9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.25rem; }
.btn-col { display: grid; gap: 10px; }
.iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; }
.iconbtn:hover { background: var(--surface-2); }
.link-more { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.link-more .icon { transition: transform .2s var(--ease); }
.link-more:hover .icon { transform: translateX(4px); }

/* ---------- flag band & utility bar ---------- */
.flagband { display: grid; grid-template-columns: 1fr 1fr 1fr; height: 5px; }
.flagband span:nth-child(1) { background: var(--flag-red); }
.flagband span:nth-child(2) { background: var(--flag-gold); }
.flagband span:nth-child(3) { background: var(--flag-green); }
.utility { background: var(--ink); color: var(--on-brand-2); font-size: .875rem; }
.utility__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.crumbs { display: flex; align-items: center; gap: 6px; min-width: 0; white-space: nowrap; overflow: hidden; }
.crumbs a { text-decoration: none; opacity: .8; }
.crumbs a[aria-current] { opacity: 1; font-weight: 700; color: #fff; }
.crumbs__sep { opacity: .4; }
.utility__right { display: flex; align-items: center; gap: 14px; }
.utility__link { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; opacity: .85; }
.utility__link:hover { opacity: 1; }
.utility__social { display: inline-flex; gap: 2px; }
.utility__social a { display: grid; place-items: center; width: 30px; height: 30px; opacity: .8; }
.utility__social a:hover { opacity: 1; color: var(--flag-gold); }
.switcher-btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; border-radius: 999px; padding: 4px 12px; font-size: .875rem; }
.switcher-btn:hover { border-color: var(--flag-gold); }

/* live indicator */
.live-pill { display: inline-flex; align-items: center; gap: 7px; background: var(--flag-red); color: #fff; font-weight: 700; font-size: .8125rem; padding: 3px 10px 3px 8px; border-radius: 999px; text-decoration: none; margin: 0; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.8); } 70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }

/* ---------- masthead & nav ---------- */
.masthead { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.masthead.is-scrolled { box-shadow: var(--shadow); }
.masthead__inner { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; margin-right: auto; }
.brand__logo { width: 52px; height: 52px; object-fit: contain; transition: width .2s, height .2s; }
.masthead.is-scrolled .brand__logo { width: 42px; height: 42px; }
.brand__text { display: grid; line-height: 1.05; min-width: 0; }
.brand__name { font: 800 1.5rem/1 var(--f-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand__sub { font-size: .8125rem; color: var(--muted); white-space: nowrap; margin-top: 3px; }
.brand__name::after { content: ""; display: block; width: 28px; height: 3px; background: var(--accent); margin-top: 4px; }

.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__link { display: inline-flex; align-items: center; gap: 3px; padding: 10px 9px; white-space: nowrap; border: 0; background: none; font-weight: 600; font-size: 1rem; text-decoration: none; border-radius: var(--radius-s); position: relative; }
.nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__link:hover::after, .nav__link.is-active::after, .has-menu.is-open > .nav__link::after { transform: scaleX(1); }
.has-menu { position: relative; }
.has-menu .icon--sm { transition: transform .2s; }
.has-menu.is-open .icon--sm { transform: rotate(180deg); }
.menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px; list-style: none; margin: 0; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s var(--ease), visibility .18s; }
.has-menu.is-open > .menu { opacity: 1; visibility: visible; transform: none; }
.menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 6px; text-decoration: none; }
.menu a:hover { background: var(--surface-2); }
.mega { display: grid; grid-template-columns: repeat(3, minmax(170px, 1fr)); gap: 8px 20px; width: min(680px, 90vw); left: 50%; transform: translate(-50%, -6px); padding: 18px; }
.has-menu.is-open > .mega { transform: translate(-50%, 0); }
.mega__col { border-top: 4px solid var(--c); padding-top: 10px; }
.mega__head { font: 800 1.25rem var(--f-display) !important; padding: 4px 8px !important; }
.mega__col ul { list-style: none; margin: 0; padding: 0; }
.mega__col a { padding: 6px 8px; }
.mega__col a[aria-current] { font-weight: 700; color: var(--c); }
.mega__all { grid-column: 1 / -1; border-top: 1px solid var(--line); border-radius: 0 !important; margin-top: 6px; padding-top: 12px !important; font-weight: 700; }
.masthead__tools { display: flex; align-items: center; gap: 2px; }
.nav-toggle { display: none; }
.nav-toggle .i-close, .nav-open .nav-toggle .i-open { display: none; }
.nav-open .nav-toggle .i-close { display: block; }
.theme-sun { display: none; }
:root[data-theme="dark"] .theme-sun { display: block; }
:root[data-theme="dark"] .theme-moon { display: none; }

@media (max-width: 1320px) {
  .masthead { backdrop-filter: none; background: var(--surface); }
  .nav-toggle { display: inline-grid; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(380px, 88vw); background: var(--surface); padding: 124px 20px 30px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s .3s; box-shadow: -20px 0 60px rgba(0,0,0,.25); z-index: -1; }
  .nav-open .nav { transform: none; visibility: visible; transition: transform .3s var(--ease); }
  .nav-open::before { content: ""; position: fixed; inset: 0; background: color-mix(in srgb, var(--color-brand-950) 50%, transparent); z-index: 39; }
  .nav-open .masthead { z-index: 50; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__link { width: 100%; justify-content: space-between; padding: 14px 10px; font-size: 1.125rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__link::after { display: none; }
  .menu, .mega { position: static; transform: none !important; opacity: 1; visibility: visible; box-shadow: none; border: 0; display: none; width: auto; padding: 6px 0 12px 10px; }
  .has-menu.is-open > .menu { display: block; }
  .has-menu.is-open > .mega { display: grid; grid-template-columns: 1fr; }
}
@media (max-width: 760px) { .hide-sm { display: none !important; } }
@media (max-width: 520px) {
  .hide-xs { display: none !important; }
  .switcher-btn span { display: none; }
  .brand__sub { display: none; }
  .brand__name { font-size: 1.25rem; white-space: normal; line-height: .95; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .brand__name::after { margin-top: 3px; }
  .brand__logo { width: 44px; height: 44px; }
  .masthead__inner { min-height: 64px; gap: 8px; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: clamp(520px, 82vh, 860px); display: flex; align-items: flex-end; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; transition: opacity 1.2s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hero__slide.is-active .hero__img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.12) translate3d(1%, 1%, 0); } to { transform: scale(1) translate3d(0, 0, 0); } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--color-brand-900) 94%, transparent) 0%, color-mix(in srgb, var(--color-brand-900) 70%, transparent) 42%, color-mix(in srgb, var(--color-brand-900) 15%, transparent) 80%), linear-gradient(0deg, color-mix(in srgb, var(--color-brand-900) 85%, transparent), transparent 55%); }
.hero__content { position: relative; z-index: 2; padding-top: 80px; padding-bottom: clamp(48px, 9vh, 96px); }
.hero__content::before { /* the rank stripe: flag bands with the black star */ content: ""; position: absolute; left: calc(var(--gut) - 22px); top: 86px; bottom: clamp(52px, 9vh, 100px); width: 6px; background: linear-gradient(var(--flag-red) 0 33.3%, var(--flag-gold) 0 66.6%, var(--flag-green) 0); transform-origin: top; animation: stripe 1s .1s var(--ease) both; }
@keyframes stripe { from { transform: scaleY(0); } }
.hero__kicker { font-weight: 700; color: var(--flag-gold); margin-bottom: 14px; letter-spacing: .02em; }
.hero__copy { display: none; max-width: 820px; }
.hero__copy.is-active { display: block; }
.hero__title { font: 900 clamp(3rem, 1.6rem + 6.4vw, 7.25rem)/.9 var(--f-display); letter-spacing: -.005em; margin-bottom: 20px; text-wrap: balance; }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.hero__title .w > span { display: inline-block; transform: translateY(105%); animation: march .7s var(--ease) forwards; animation-delay: calc(var(--i) * 90ms + 250ms); }
@keyframes march { to { transform: none; } }
.hero__sub { font-size: clamp(1.0625rem, 1rem + .4vw, 1.375rem); max-width: 58ch; color: var(--on-brand-2); margin-bottom: 28px; opacity: 0; animation: fade .8s .7s forwards; }
.hero__copy .btn { opacity: 0; animation: fade .8s .9s forwards; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hero__dots { display: flex; gap: 10px; margin-top: 40px; }
.hero__dots button { width: 54px; height: 24px; border: 0; background: none; padding: 10px 0; }
.hero__dots span { display: block; height: 4px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.hero__dots span::after { content: ""; position: absolute; inset: 0; background: var(--flag-gold); transform: scaleX(0); transform-origin: left; }
.hero__dots .is-active span::after { animation: progress var(--dur, 7s) linear forwards; }
.hero.is-paused .hero__dots .is-active span::after { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }
.hero__live { position: absolute; z-index: 3; right: var(--gut); bottom: clamp(48px, 9vh, 96px); display: grid; gap: 6px; max-width: 300px; padding: 16px 18px; background: color-mix(in srgb, var(--color-brand-900) 82%, transparent); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); text-decoration: none; backdrop-filter: blur(6px); }
.hero__live .live-pill { justify-self: start; }
.hero__live span:last-child { color: var(--flag-gold); font-weight: 600; }
@media (max-width: 760px) {
  .hero__shade { background: linear-gradient(0deg, color-mix(in srgb, var(--color-brand-900) 96%, transparent) 10%, color-mix(in srgb, var(--color-brand-900) 55%, transparent) 60%, color-mix(in srgb, var(--color-brand-900) 30%, transparent)); }
  .hero__content::before { left: 6px; width: 4px; }
  .hero__live { position: relative; right: auto; bottom: auto; margin: 0 var(--gut) 24px; }
  .hero { flex-direction: column; justify-content: flex-end; align-items: stretch; }
}

/* ---------- quick actions ---------- */
.quick { position: relative; z-index: 5; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: -36px; padding-inline: var(--gut); }
.quick__item { display: flex; align-items: center; gap: 14px; padding: 20px; background: var(--surface); border: 1px solid var(--line); margin-left: -1px; text-decoration: none; text-align: left; box-shadow: var(--shadow); transition: background .2s; }
.quick__item:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.quick__item:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.quick__item > .icon { width: 30px; height: 30px; color: var(--accent); }
.quick__item strong { display: block; font-size: 1.0625rem; }
.quick__item small { color: var(--muted); font-size: .875rem; }
.quick__item:hover { background: var(--surface-2); }
@media (max-width: 900px) {
  .quick { grid-template-columns: 1fr 1fr; margin-top: 0; padding-top: 16px; }
  .quick__item { border-radius: 0 !important; margin: 0 0 -1px -1px; box-shadow: none; padding: 16px; }
}
@media (max-width: 420px) { .quick__item { flex-direction: column; align-items: flex-start; gap: 8px; } }

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tint { background: var(--surface-2); }
.section--dark, .section--ink { background: var(--ink); color: var(--on-brand-2); }
.section--dark .h-section, .section--ink .h-section { color: #fff; }
.section__head { margin-bottom: 32px; max-width: 760px; }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; max-width: none; flex-wrap: wrap; }
.section__head--row .h-section { margin: 0; }
.section__lead { font-size: 1.125rem; color: var(--muted); margin: 0; }
.section--dark .section__lead { color: var(--on-brand-3); }

/* intro + stats */
.intro__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.intro__text .prose { margin-bottom: 18px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 4px solid var(--accent); }
.stat { padding: 22px 6px 20px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.stat dd { order: -1; }
.stat:nth-child(odd) { padding-right: 20px; border-right: 1px solid var(--line); }
.stat:nth-child(even) { padding-left: 20px; }
.stat dd { margin: 0; font: 900 clamp(2.5rem, 2rem + 2vw, 3.75rem)/1 var(--f-display); font-variant-numeric: tabular-nums; }
.stat dt { color: var(--muted); font-size: .9375rem; }
.coord { display: flex; gap: 16px; align-items: center; margin-top: 24px; padding: 16px; background: var(--surface-2); border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; }
.coord img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.coord__role { margin: 0; color: var(--muted); font-size: .875rem; }
.coord__name { margin: 0 0 2px; font: 800 1.375rem var(--f-display); }
.coord a { font-size: .9375rem; }
@media (max-width: 860px) { .intro__grid { grid-template-columns: 1fr; } }

/* units */
.units { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.unit { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 230px; padding: 18px; overflow: hidden; text-decoration: none; color: #fff; background: var(--ink-2); isolation: isolate; }
.unit__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; filter: grayscale(.4); transition: transform .6s var(--ease), opacity .3s, filter .3s; }
.unit::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, color-mix(in srgb, var(--color-brand-900) 95%, transparent), color-mix(in srgb, var(--color-brand-900) 15%, transparent)); }
.unit:hover .unit__img { transform: scale(1.06); opacity: .8; filter: none; }
.unit__icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; margin-bottom: auto; color: var(--flag-gold); }
.unit__name { font: 900 2rem/1 var(--f-display); }
.unit__count { color: var(--on-brand-3); font-size: .9375rem; }
@media (max-width: 900px) { .units { grid-template-columns: repeat(2, 1fr); } .unit { min-height: 180px; } }

/* regions (sector) */
.regions { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.region-card { position: relative; display: grid; gap: 6px; padding: 22px; padding-right: 54px; border: 1px solid rgba(255,255,255,.14); border-top: 4px solid var(--accent); text-decoration: none; background: var(--ink-2); border-radius: 0 0 var(--radius) var(--radius); transition: background .2s, transform .2s var(--ease); }
.region-card:hover { background: var(--ink-3); transform: translateY(-3px); }
.region-card__name { font: 800 1.75rem/1 var(--f-display); color: #fff; }
.region-card__cap { display: inline-flex; gap: 6px; align-items: center; color: var(--flag-gold); font-weight: 600; }
.region-card__coord { color: var(--on-brand-3); font-size: .9375rem; }
.region-card__go { position: absolute; right: 18px; top: 24px; color: var(--accent); }
.region-card:hover .region-card__go { transform: translateX(3px); }

/* ---------- cards / posts ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.cards--rows { grid-template-columns: 1fr; gap: 12px; }
.post { display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s; }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post:hover .post__media img { transform: scale(1.05); }
.post__noimg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); background: repeating-linear-gradient(-45deg, var(--surface-2) 0 12px, transparent 12px 24px); }
.post__noimg .icon { width: 48px; height: 48px; opacity: .5; }
.post__play { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--flag-red); color: #fff; }
.post__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: .875rem; color: var(--muted); margin: 0; }
.post__title { font: 800 1.5rem/1.1 var(--f-display); }
.post__title a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .3s; }
.post__title a:hover { background-size: 100% 2px; }
.post__excerpt { color: var(--muted); margin: 0; }
.tag { display: inline-block; padding: 2px 9px; border-radius: 3px; background: var(--accent); color: var(--accent-fg); font-weight: 700; font-size: .8125rem; text-decoration: none; }
.tag--sm { font-size: .75rem; padding: 1px 7px; margin: 1px 4px 1px 0; background: var(--surface-2); color: var(--text); }
.origin { display: inline-flex; align-items: center; gap: 5px; font-size: .8125rem; font-weight: 600; text-decoration: none; color: var(--text); }
.origin::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.section--ink .origin, .section--dark .origin { color: #fff; }

.newsgrid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; }
.post--feature .post__media { aspect-ratio: 16 / 11; }
.post--feature .post__title { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); }
.newsgrid__list { display: grid; gap: 12px; align-content: start; }
.post--row { flex-direction: row; }
.post--row .post__media { width: 38%; flex: none; aspect-ratio: auto; min-height: 120px; }
.post--row .post__body { padding: 14px 16px; }
.post--row .post__title { font-size: 1.25rem; }
@media (max-width: 900px) { .newsgrid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .post--row .post__media { width: 34%; } .post--row .post__title { font-size: 1.125rem; } }

/* ---------- broadcast ---------- */
.broadcast__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.broadcast__player .live-pill { margin-bottom: 12px; }
.broadcast__title { font: 800 1.5rem var(--f-display); color: #fff; margin-top: 14px; }
.broadcast__side p { color: var(--on-brand-3); font-size: 1.125rem; }
.broadcast__h { font: 800 1.25rem var(--f-display); color: var(--flag-gold); margin: 24px 0 8px; }
@media (max-width: 900px) { .broadcast__grid { grid-template-columns: 1fr; } }
.player { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); }
.player iframe, .player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player--fb { aspect-ratio: auto; height: 500px; background: #fff; }
.schedule { list-style: none; margin: 0; padding: 0; }
.schedule li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.schedule time { font-size: .875rem; color: var(--on-brand-4); }
.schedule a { font-weight: 700; color: #fff; text-decoration: none; }
.schedule--light li { border-color: var(--line); }
.schedule--light time { color: var(--muted); }
.schedule--light a { color: var(--text); }

/* ---------- events ---------- */
.events { display: grid; gap: 12px; }
.event { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); }
.event--past { border-left-color: var(--line); }
.event__date { display: grid; place-items: center; width: 78px; padding: 8px 0; background: var(--ink); color: #fff; border-radius: 6px; text-align: center; }
.event__day { font: 900 2.25rem/1 var(--f-display); }
.event__mon { font-size: .8125rem; color: var(--flag-gold); }
.event__title { font: 800 1.375rem/1.15 var(--f-display); }
.event__title a { text-decoration: none; }
.event__title a:hover { text-decoration: underline; }
.event__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: .9375rem; margin: 6px 0 0; }
.event__meta span { display: inline-flex; align-items: center; gap: 5px; }
.countdown { display: flex; gap: 10px; margin: 8px 0 0; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text); }
.countdown span { display: inline-flex; align-items: baseline; gap: 2px; }
.countdown small { font-weight: 400; color: var(--muted); }
.countdown--big { gap: 14px; margin: 16px 0; }
.countdown--big span { flex-direction: column; align-items: center; min-width: 64px; padding: 10px 6px; background: var(--surface-2); border-radius: 6px; font: 900 2rem/1 var(--f-display); }
.countdown--big small { font: 400 .8125rem var(--f-body); margin-top: 4px; }
@media (max-width: 620px) { .event { grid-template-columns: auto 1fr; } .event__cta { grid-column: 1 / -1; } .event__date { width: 64px; } }
.events-page { display: grid; grid-template-columns: 1fr 340px; gap: clamp(28px, 5vw, 56px); align-items: start; }
.events-page > div > .h-sub:first-child { margin-top: 0; }
@media (max-width: 960px) { .events-page { grid-template-columns: 1fr; } }
.aside-card { position: sticky; top: 100px; padding: 24px; background: var(--surface-2); border-radius: var(--radius); border-top: 4px solid var(--accent); }
.aside-card h2 { font: 800 1.5rem var(--f-display); margin-bottom: 8px; }
.aside-card hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
.aside-card__icon { width: 48px; height: 48px; color: var(--accent); margin-bottom: 12px; }
.facts { margin: 0 0 12px; display: grid; gap: 14px; }
.facts dt { display: flex; align-items: center; gap: 6px; font-size: .875rem; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 700; }
.event-img { width: 100%; border-radius: var(--radius); margin-bottom: 24px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { padding-left: 24px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* ---------- gallery ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 8px; }
.mosaic .tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaic .tile:nth-child(6) { grid-column: span 2; }
@media (max-width: 760px) { .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } .mosaic .tile:nth-child(6) { grid-column: auto; } }
.masonry { columns: 4 240px; column-gap: 10px; }
.masonry .tile { margin-bottom: 10px; break-inside: avoid; }
.masonry .tile img { height: auto; }
.tile { position: relative; display: block; overflow: hidden; border-radius: 6px; background: var(--surface-2); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .3s; }
.tile:hover img { transform: scale(1.06); }
.tile__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font-size: .875rem; font-weight: 600; color: #fff; background: linear-gradient(0deg, rgba(0,0,0,.7), transparent); opacity: 0; transform: translateY(8px); transition: .25s var(--ease); }
.tile:hover .tile__cap, .tile:focus-visible .tile__cap { opacity: 1; transform: none; }
.tile__play { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: rgba(206, 17, 38, .92); color: #fff; transition: transform .25s var(--ease); }
.tile:hover .tile__play, .vcard:hover .tile__play { transform: scale(1.12); }
.albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 28px 24px; }
.album { text-decoration: none; display: grid; gap: 14px; }
.album__stack { position: relative; display: block; aspect-ratio: 4 / 3; }
.album__stack::before, .album__stack::after { content: ""; position: absolute; inset: 0; border-radius: 8px; background: var(--line); transition: transform .3s var(--ease); }
.album__stack::before { transform: rotate(-3deg) translate(-4px, 4px); }
.album__stack::after { transform: rotate(2deg) translate(4px, 2px); background: var(--surface-2); border: 1px solid var(--line); }
.album:hover .album__stack::before { transform: rotate(-6deg) translate(-10px, 6px); }
.album:hover .album__stack::after { transform: rotate(5deg) translate(10px, 2px); }
.album__stack img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow); }
.album__body { display: grid; gap: 2px; }
.album__title { font: 800 1.375rem/1.1 var(--f-display); }
.album__meta { color: var(--muted); font-size: .9375rem; }
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.vgrid--compact { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.vcard { display: grid; gap: 6px; text-decoration: none; }
.vcard__thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--ink); }
.vcard__thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.vcard__title { font-weight: 700; font-size: 1.0625rem; line-height: 1.3; }
.vcard__meta { color: var(--muted); font-size: .875rem; }

/* tabs & chips & filters */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.tabs button, .tabs__link { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border: 0; background: none; font-weight: 700; text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; color: var(--muted); }
.tabs [aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); }
.tabs small { font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .9375rem; background: var(--surface); transition: border-color .15s, background .15s; }
.chip:hover { border-color: var(--text); }
.chip.is-on, .chip--strong { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip small { opacity: .6; }
.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.filters--form { align-items: flex-end; justify-content: flex-start; padding: 18px; background: var(--surface-2); border-radius: var(--radius); }
.select select, .field input, .field select, .field textarea, .dialog__filter { min-height: 44px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); width: 100%; }
.field { display: grid; gap: 6px; min-width: 180px; }
.field--grow { flex: 1 1 240px; }
.field > span { font-weight: 600; font-size: .9375rem; }
.field em { color: var(--flag-red); font-style: normal; font-size: .875rem; font-weight: 600; }
.field.has-error input, .field.has-error textarea { border-color: var(--flag-red); }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }

/* pager */
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 40px; }
.pager__item { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; font-weight: 700; }
.pager__item.is-current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- leaders ---------- */
.leaders { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 28px 24px; }
.leaders--compact { grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); }
.leader { text-align: left; }
.leader__photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); margin-bottom: 14px; }
.leader__photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--c, var(--accent)); }
.leader__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s var(--ease); }
.leader:hover .leader__photo img { transform: scale(1.04); }
.leader__initials { position: absolute; inset: 0; display: grid; place-items: center; font: 900 3.5rem var(--f-display); color: var(--muted); }
.leader__name { font: 800 1.375rem/1.1 var(--f-display); }
.leader__role { color: var(--muted); margin: 4px 0 0; font-size: .9375rem; }
.leader__site { display: inline-block; margin-top: 6px; font-weight: 700; font-size: .875rem; color: var(--c, inherit); text-decoration: none; }
.lead-sector { margin-top: 48px; padding-top: 4px; border-top: 4px solid var(--c); }
.vacant { margin-top: 18px; }

/* ---------- page hero ---------- */
.pagehero { position: relative; color: #fff; background: var(--ink); padding: clamp(56px, 9vw, 110px) 0 clamp(40px, 6vw, 72px); overflow: hidden; isolation: isolate; }
.pagehero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--bg) center / cover no-repeat; opacity: .3; filter: grayscale(.3); }
.pagehero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--ink) 25%, color-mix(in srgb, var(--color-brand-900) 60%, transparent)); }
.pagehero__inner { position: relative; }
.pagehero__inner::before { content: ""; display: block; width: 64px; height: 6px; margin-bottom: 22px; background: linear-gradient(90deg, var(--flag-red) 0 33.3%, var(--flag-gold) 0 66.6%, var(--flag-green) 0); }
.pagehero__crumbs { display: flex; gap: 8px; font-size: .9375rem; margin-bottom: 12px; color: var(--on-brand-3); }
.pagehero__crumbs a { text-decoration: none; }
.pagehero__crumbs a:hover { color: #fff; }
.pagehero__crumbs--dark { color: var(--muted); }
.pagehero__title { font: 900 clamp(2.5rem, 1.6rem + 4vw, 5rem)/.95 var(--f-display); max-width: 18ch; text-wrap: balance; }
.pagehero__lead { font-size: clamp(1.0625rem, 1rem + .4vw, 1.3rem); color: var(--on-brand-3); max-width: 60ch; margin: 16px 0 0; }

/* ---------- article ---------- */
.article { padding-top: clamp(40px, 6vw, 72px); }
.article__head { margin-bottom: 32px; }
.article__title { font: 900 clamp(2.25rem, 1.5rem + 3.2vw, 4rem)/1 var(--f-display); margin: 16px 0; text-wrap: balance; }
.article__lead { font-size: 1.3rem; color: var(--muted); line-height: 1.5; }
.article__media { margin: 0 auto 40px; }
.article__media img { width: 100%; border-radius: var(--radius); cursor: zoom-in; }
.article__body { margin-bottom: 32px; }
.article__source { padding: 14px 16px; background: var(--surface-2); border-radius: 6px; font-size: .9375rem; color: var(--muted); }
.article__source a { font-weight: 700; color: var(--text); display: inline-flex; align-items: center; gap: 4px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 20px 0 40px; }
.share__label { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; margin-right: 6px; }
.social { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); text-decoration: none; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s; }
.social:hover { transform: translateY(-2px); color: #fff; border-color: transparent; }
.social--facebook:hover { background: #1877F2; }
.social--twitter:hover { background: #000; }
.social--instagram:hover { background: #C13584; }
.social--youtube:hover { background: #FF0000; --yt-play: #FF0000; }
.social--tiktok:hover { background: #000; }
.social--whatsapp:hover { background: #25D366; }
.social--linkedin:hover { background: #0A66C2; }
[data-copy]:hover { background: var(--ink); }
.social-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.about:has(> :only-child) { grid-template-columns: 1fr; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }
.factbox { padding: 24px; background: var(--surface-2); border-radius: var(--radius); border-top: 4px solid var(--accent); }
.factbox h2 { font: 800 1.5rem var(--f-display); margin-bottom: 12px; }
.factbox dl { display: grid; gap: 12px; margin: 0 0 20px; }
.factbox dt { font-size: .875rem; color: var(--muted); }
.factbox dd { margin: 0; font-weight: 600; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; max-width: 900px; }
.timeline::before { content: ""; position: absolute; left: 92px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline__item { display: grid; grid-template-columns: 76px 1fr; gap: 36px; padding: 0 0 32px; position: relative; }
.timeline__item::before { content: ""; position: absolute; left: 86px; top: 10px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface-2); border: 3px solid var(--accent); }
.timeline__year { font: 900 1.875rem/1 var(--f-display); text-align: right; }
.timeline__body h3 { font: 800 1.375rem var(--f-display); margin-bottom: 4px; }
.timeline__body p { margin: 0; color: var(--muted); max-width: 64ch; }
@media (max-width: 560px) {
  .timeline::before { left: 6px; }
  .timeline__item { grid-template-columns: 1fr; gap: 4px; padding-left: 32px; }
  .timeline__item::before { left: 0; }
  .timeline__year { text-align: left; }
}
.aims { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 72px); }
@media (max-width: 900px) { .aims { grid-template-columns: 1fr; } }
.aims__list { margin: 0; padding: 0; list-style: none; counter-reset: aim; }
.aims__list li { counter-increment: aim; display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.aims__list li::before { content: counter(aim); font: 900 1.5rem/1.2 var(--f-display); color: var(--accent); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.value { padding: 20px 20px 20px 0; border-bottom: 1px solid var(--line); }
.value:nth-child(odd) { border-right: 1px solid var(--line); }
.value:nth-child(even) { padding-left: 20px; }
.value .icon { width: 28px; height: 28px; color: var(--accent); }
.value h3 { font: 800 1.375rem var(--f-display); margin: 8px 0 4px; }
.value p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } .value:nth-child(n) { border-right: 0; padding-left: 0; } }
.flagsec__grid { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: center; }
.flagsec__flag { display: grid; grid-template-rows: 1fr 1fr 1fr; aspect-ratio: 3 / 2; position: relative; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); transform-origin: left; animation: wave 6s ease-in-out infinite; }
.flagsec__flag span:nth-child(1) { background: var(--flag-red); }
.flagsec__flag span:nth-child(2) { background: var(--flag-gold); }
.flagsec__flag span:nth-child(3) { background: var(--flag-green); }
.flagsec__flag::after { content: "★"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 4.5rem; color: var(--star); line-height: 1; }
@keyframes wave { 50% { transform: perspective(600px) rotateY(-8deg) skewY(-1deg); } }
.flagsec p { color: var(--on-brand-3); font-size: 1.125rem; max-width: 60ch; }
@media (max-width: 760px) { .flagsec__grid { grid-template-columns: 1fr; } .flagsec__flag { max-width: 220px; } }

/* ---------- structure / org chart ---------- */
.org { display: grid; justify-items: center; }
.org__hq { display: grid; text-align: center; padding: 20px 36px; background: var(--ink); color: #fff; border-radius: var(--radius); text-decoration: none; position: relative; border-bottom: 5px solid var(--flag-gold); }
.org__label { font: 900 1.75rem/1 var(--f-display); }
.org__sub { font-size: .9375rem; opacity: .8; margin-top: 4px; }
.org__url { font-size: .8125rem; color: var(--c); font-weight: 700; margin-top: 6px; word-break: break-all; }
.org__sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: 100%; margin-top: 56px; position: relative; }
.org__sectors::before { content: ""; position: absolute; top: -28px; left: 16.66%; right: 16.66%; height: 2px; background: var(--line); }
.org__hq::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 33px; background: var(--line); }
.org__sector { position: relative; transition: opacity .3s; }
.org__sector::before { content: ""; position: absolute; left: 50%; top: -28px; width: 2px; height: 28px; background: var(--line); }
.org__sector.is-dim { opacity: .45; }
.org__sector.is-dim:hover { opacity: 1; }
.org__secname { display: grid; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-top: 6px solid var(--c); border-radius: 0 0 var(--radius) var(--radius); text-decoration: none; }
.org__secname .org__label { font-size: 1.75rem; }
.org__secname .org__sub { opacity: 1; color: var(--muted); }
.org__regions { list-style: none; margin: 12px 0 0; padding: 0 0 0 18px; border-left: 2px solid color-mix(in srgb, var(--c) 45%, transparent); display: grid; gap: 8px; }
.org__regions a { display: grid; padding: 10px 14px; background: var(--surface-2); border-radius: 6px; text-decoration: none; position: relative; transition: transform .2s var(--ease), background .2s; }
.org__regions a::before { content: ""; position: absolute; left: -20px; top: 50%; width: 18px; height: 2px; background: color-mix(in srgb, var(--c) 45%, transparent); }
.org__regions a:hover { transform: translateX(4px); background: color-mix(in srgb, var(--c) 14%, var(--surface-2)); }
.org__regions a[aria-current] { background: var(--c); color: #fff; }
.org__regions strong { font-size: 1.0625rem; }
.org__regions span { font-size: .875rem; color: var(--muted); }
.org__regions a[aria-current] span { color: inherit; opacity: .85; }
@media (max-width: 900px) { .org__sectors { grid-template-columns: 1fr; } .org__sectors::before, .org__sector::before { display: none; } .org__hq::after { height: 56px; } }

/* units page */
.unitlist { display: grid; gap: 14px; }
.unitrow { display: grid; grid-template-columns: 180px 1fr auto; gap: 24px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: var(--surface); transition: border-color .2s, transform .2s var(--ease); }
.unitrow:hover { border-color: var(--accent); transform: translateX(4px); }
.unitrow__media { aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; background: var(--ink); display: grid; place-items: center; color: var(--flag-gold); }
.unitrow__media img { width: 100%; height: 100%; object-fit: cover; }
.unitrow__media .icon { width: 44px; height: 44px; }
.unitrow__body { display: grid; gap: 4px; }
.unitrow__name { font: 800 1.75rem/1 var(--f-display); }
.unitrow__sum { color: var(--muted); }
.unitrow__meta { font-size: .875rem; font-weight: 600; }
.unitrow__count { text-align: right; padding-right: 10px; color: var(--muted); }
.unitrow__count strong { display: block; font: 900 2.5rem/1 var(--f-display); color: var(--text); }
@media (max-width: 700px) { .unitrow { grid-template-columns: 110px 1fr; } .unitrow__count { grid-column: 2; text-align: left; } .unitrow__name { font-size: 1.375rem; } }

/* schools */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.table th { text-align: left; background: var(--surface-2); font-weight: 700; font-size: .875rem; color: var(--muted); }
.table th, .table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tbody tr:hover { background: var(--surface-2); }
@media (max-width: 680px) {
  .table thead { display: none; }
  .table tr { display: grid; padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .table td { border: 0; padding: 2px 0; display: grid; grid-template-columns: 80px 1fr; gap: 8px; }
  .table td::before { content: attr(data-label); color: var(--muted); font-size: .8125rem; }
}
.schoollist { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 24px; }
.schoollist li { display: grid; padding: 10px 0; border-bottom: 1px solid var(--line); }
.schoollist span { color: var(--muted); font-size: .9375rem; }

/* resources */
.steps { list-style: none; counter-reset: s; margin: 24px 0; padding: 0; display: grid; gap: 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; gap: 0 18px; padding-bottom: 22px; position: relative; }
.steps li::before { content: counter(s); grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--flag-gold); font: 900 1.375rem var(--f-display); position: relative; z-index: 1; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--line); }
.steps h3 { font: 800 1.375rem var(--f-display); padding-top: 8px; }
.steps p { margin: 4px 0 0; color: var(--muted); }
.downloads { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.downloads li { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.downloads__ext { display: grid; place-items: center; height: 56px; border-radius: 6px; background: var(--ink); color: var(--flag-gold); font: 900 1rem var(--f-display); }
.downloads__body { display: grid; }
.downloads__body span { color: var(--muted); font-size: .9375rem; }
@media (max-width: 560px) { .downloads li { grid-template-columns: 44px 1fr; } .downloads li .btn { grid-column: 2; justify-self: start; } .downloads__ext { height: 44px; } }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact .h-sub { margin-top: 0; }
.form { padding: clamp(20px, 4vw, 32px); display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.form .btn { justify-self: start; }
.alert { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 6px; font-weight: 600; margin: 0; }
.alert--ok { background: color-mix(in srgb, var(--flag-green) 14%, var(--surface)); color: var(--text); border-left: 4px solid var(--flag-green); }
.alert--err { background: color-mix(in srgb, var(--flag-red) 12%, var(--surface)); border-left: 4px solid var(--flag-red); }
.map { margin-top: 24px; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; }
.offices { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 10px; }
.office { display: grid; gap: 2px; padding: 14px 16px; background: var(--surface); border-left: 4px solid var(--c); border-radius: 0 6px 6px 0; font-size: .9375rem; word-break: break-word; }
.office__name { font-weight: 700; font-size: 1.0625rem; text-decoration: none; }

/* live page */
.live__grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.live__grid.has-chat { grid-template-columns: 1fr 360px; }
@media (max-width: 1000px) { .live__grid.has-chat { grid-template-columns: 1fr; } }
.live__main > .live-pill, .live__main > .tag { margin-bottom: 12px; }
.live__chat iframe { width: 100%; height: 100%; min-height: 480px; border: 1px solid var(--line); border-radius: var(--radius); }
.live__info { padding-top: 18px; }
.live__title { font: 900 clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem)/1 var(--f-display); margin-bottom: 8px; }
.live__meta { display: flex; gap: 12px; flex-wrap: wrap; color: var(--muted); }
.live__note { color: var(--muted); font-size: .9375rem; margin-top: 10px; }
.live__lists { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; margin-top: 24px; }
@media (max-width: 900px) { .live__lists { grid-template-columns: 1fr; } }
.standby { position: relative; display: grid; align-content: center; justify-items: start; gap: 8px; min-height: 360px; padding: clamp(24px, 5vw, 48px); background: var(--ink); color: #fff; border-radius: var(--radius); overflow: hidden; isolation: isolate; }
.standby::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bg, none) center / cover; opacity: .25; }
.standby__title { font: 900 clamp(2rem, 1.4rem + 2.4vw, 3.25rem)/1 var(--f-display); }
.standby__when { color: var(--flag-gold); font-weight: 700; font-size: 1.125rem; margin: 0; }
.standby .countdown span { background: rgba(255,255,255,.1); color: #fff; }
.standby .countdown small { color: var(--on-brand-3); }
.standby p { color: var(--on-brand-3); }
.streams { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.stream { display: grid; gap: 6px; justify-items: start; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }

/* social wall */
.social-wall__grid { display: grid; grid-template-columns: 1fr 500px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.social-wall p { font-size: 1.125rem; color: var(--muted); max-width: 46ch; }
@media (max-width: 960px) { .social-wall__grid { grid-template-columns: 1fr; } }
.follow { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-top: 20px; }
.follow--inline { margin-top: 12px; width: 100%; }
.follow__item { --c: var(--ink); display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius); background: var(--c); color: #fff; font-weight: 700; text-decoration: none; transition: transform .2s var(--ease), filter .2s; }
.follow__item:hover { transform: translateY(-3px); filter: brightness(1.1); }
.follow__item .icon { width: 24px; height: 24px; }
.follow__item--facebook { --c: #1877F2; }
.follow__item--twitter, .follow__item--tiktok { --c: #111; }
.follow__item--instagram { --c: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF); background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF); }
.follow__item--youtube { --c: #E00; --yt-play: #E00; }
.follow__item--whatsapp { --c: #128C4B; }
.fbwall { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; max-width: 500px; width: 100%; }
.fbwall iframe { width: 100%; height: 560px; border: 0; }

/* ---------- partners ---------- */
.partners { border-top: 1px solid var(--line); background: var(--surface); }
.partners__inner { display: flex; align-items: center; gap: 24px; padding-block: 22px; }
.partners__label { margin: 0; flex: none; font-weight: 700; color: var(--muted); }
.marquee { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 40px; width: max-content; animation: scroll 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.partner img { height: 56px; width: auto; filter: grayscale(1); opacity: .75; transition: .25s; }
.partner:hover img, .partner:focus-visible img { filter: none; opacity: 1; }
@media (max-width: 560px) { .partners__label { display: none; } }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--on-brand-3); padding: 56px 0 24px; font-size: .9375rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__brand { display: flex; align-items: center; gap: 16px; }
.footer__brand img { width: 64px; height: 64px; object-fit: contain; }
.footer__name { font: 800 1.625rem/1 var(--f-display); color: #fff; margin: 0 0 4px; }
.footer__motto { margin: 0; color: var(--flag-gold); font-weight: 600; }
.subscribe { flex: 0 1 460px; display: grid; gap: 8px; }
.subscribe label { font-weight: 700; color: #fff; }
.subscribe__row { display: flex; gap: 8px; }
.subscribe input { flex: 1; min-width: 0; min-height: 46px; padding: 10px 14px; border-radius: 6px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; }
.subscribe input::placeholder { color: var(--on-brand-4); }
.form-note { margin: 0; min-height: 1.2em; font-size: .875rem; color: var(--flag-gold); }
.footer__grid { display: grid; grid-template-columns: 1fr .7fr 1.6fr; gap: 40px; padding: 40px 0; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__dir { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__h { font: 800 1.25rem var(--f-display); color: #fff; margin-bottom: 14px; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .icon { margin-top: 3px; color: var(--flag-gold); }
.footer__contact--dark { font-size: 1.0625rem; }
.footer__contact--dark .icon { color: var(--accent); }
.footer .social { background: transparent; border-color: rgba(255,255,255,.2); color: #fff; }
.footer__dirgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 480px) { .footer__dirgrid { grid-template-columns: 1fr 1fr; } }
.footer__sector { display: block; font-weight: 700; color: #fff; padding-bottom: 6px; margin-bottom: 8px; border-bottom: 3px solid var(--c); }
.footer__dirgrid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .875rem; color: var(--on-brand-4); }
.footer__base p { margin: 0; }
.footer__base p:last-child { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- dialogs ---------- */
.dialog { width: min(720px, calc(100vw - 24px)); max-height: min(86vh, 760px); padding: 0; border: 0; border-radius: 14px; background: var(--surface); color: var(--text); box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.dialog::backdrop { background: color-mix(in srgb, var(--color-brand-950) 60%, transparent); backdrop-filter: blur(3px); }
.dialog[open] { animation: pop .25s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.dialog__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 8px; position: sticky; top: 0; background: var(--surface); z-index: 1; }
.dialog__head h2 { font: 800 1.75rem var(--f-display); }
.dialog__filter { display: block; width: calc(100% - 40px); margin: 0 20px 12px; }
.switcher { padding: 0 20px 20px; display: grid; gap: 14px; }
.switcher__group { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px; padding-top: 10px; border-top: 4px solid var(--c); }
.switcher__item { display: grid; padding: 9px 12px; border-radius: 6px; text-decoration: none; background: var(--surface-2); }
.switcher__item small { color: var(--muted); font-size: .8125rem; }
.switcher__item:hover { background: color-mix(in srgb, var(--c, var(--accent)) 18%, var(--surface-2)); }
.switcher__item--sector { grid-column: 1 / -1; background: none; font: 800 1.375rem var(--f-display); padding-left: 0; }
.switcher__item--nat { background: var(--ink); color: #fff; font-weight: 700; }
.dialog--search { margin-top: 12vh; }
.searchform { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 20px; }
.searchform input { flex: 1; border: 0; background: none; font-size: 1.375rem; padding: 12px 0; outline: none; min-width: 0; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: color-mix(in srgb, var(--color-brand-950) 95%, transparent); padding: 60px 70px; animation: fadein .2s; touch-action: pan-y; }
@keyframes fadein { from { opacity: 0; } }
.lightbox__stage { margin: 0; display: grid; gap: 12px; justify-items: center; max-width: 100%; max-height: 100%; }
.lightbox__media { display: grid; place-items: center; }
.lightbox__media img { max-width: min(1400px, 100%); max-height: calc(100vh - 160px); object-fit: contain; border-radius: 4px; animation: zoomin .3s var(--ease); }
.lightbox__media .player { width: min(1100px, calc(100vw - 140px)); }
@keyframes zoomin { from { opacity: 0; transform: scale(.96); } }
.lightbox figcaption { color: var(--on-brand-2); text-align: center; max-width: 70ch; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; }
.lightbox__btn:hover { background: rgba(255,255,255,.22); }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__prev { left: 12px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 12px; top: 50%; translate: 0 -50%; }
.lightbox__count { position: absolute; top: 22px; left: 22px; margin: 0; color: var(--on-brand-4); font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .lightbox { padding: 64px 10px; } .lightbox__prev, .lightbox__next { top: auto; bottom: 12px; translate: none; } .lightbox__media .player { width: calc(100vw - 20px); } }

/* ---------- misc ---------- */
.empty { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 48px 20px; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.empty__icon { width: 40px; height: 40px; }
.empty p { margin: 0; max-width: 46ch; font-size: 1.0625rem; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.toolbar p { margin: 0; color: var(--muted); }
.toolbar .share { padding: 0; }
.totop { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; transform: translateY(16px); pointer-events: none; transition: .3s var(--ease); }
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.notfound { text-align: center; }
.notfound .btn-row { justify-content: center; }
.notfound__code { font: 900 clamp(7rem, 20vw, 14rem)/.8 var(--f-display); margin: 0 0 20px; background: linear-gradient(var(--flag-red) 0 33.3%, var(--flag-gold) 0 66.6%, var(--flag-green) 0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.toast { position: fixed; left: 50%; bottom: 24px; translate: -50% 0; z-index: 120; padding: 12px 18px; background: var(--ink); color: #fff; border-radius: 8px; font-weight: 600; box-shadow: var(--shadow); animation: fade .25s; }

/* reveal on scroll (only used on a few, meaningful elements) */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero__title .w > span, .hero__sub, .hero__copy .btn { transform: none; opacity: 1; }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; }
}

@media print {
  .utility, .masthead, .partners, .footer, .totop, .share, .flagband { display: none !important; }
  .pagehero { background: none; color: #000; padding: 0 0 20px; }
}

/* ---------- leadership groups ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.lead-group { padding-top: 8px; scroll-margin-top: 110px; }
.lead-group + .lead-group { margin-top: 24px; border-top: 1px solid var(--line); }
.lead-empty { padding: 18px 20px; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); margin: 0; max-width: 640px; }
.lead-sector__name { font: 800 1.5rem var(--f-display); margin: 14px 0 14px; }
.lead-sector__name a { text-decoration: none; color: var(--c); }
.leader--vacant .leader__initials { font-size: 4rem; }

/* ---------- organogram ---------- */
.tiers { list-style: none; margin: 0; padding: 0; display: grid; justify-items: center; }
.tier { position: relative; width: 100%; display: grid; justify-items: center; gap: 10px; padding-top: 34px; }
.tier:first-child { padding-top: 0; }
.tier + .tier::before { content: ""; position: absolute; top: 0; left: 50%; width: 2px; height: 34px; background: var(--line); }
.tier__label { margin: 0; font-size: .875rem; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.node { position: relative; display: grid; gap: 4px; justify-items: center; text-align: center; padding: 18px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; min-width: min(100%, 300px); max-width: 520px; transition: transform .2s var(--ease), box-shadow .2s; }
a.node:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.node__title { font: 900 1.6rem/1.05 var(--f-display); }
.node__who { color: var(--text); font-weight: 600; }
.node__meta { color: var(--muted); font-size: .875rem; }
.node__list { display: grid; gap: 6px; margin-top: 6px; }
.node__list span { display: grid; font-size: .875rem; color: var(--muted); line-height: 1.3; }
.node__list strong { color: var(--text); font-size: 1rem; }
.node--gov { background: var(--ink); border-color: var(--ink); color: #fff; border-bottom: 5px solid var(--flag-gold); }
.node--gov .node__title, .node--gov .node__who { color: #fff; }
.node--gov .node__meta { color: var(--on-brand-3); }
.node--exec { border-top: 5px solid var(--flag-gold); }
.node--nc { background: var(--ink-2); border-color: var(--ink-2); color: #fff; align-self: center; }
.node--nc .node__title, .node--nc .node__who { color: #fff; }
.node--nc .node__meta { color: var(--on-brand-3); }
.hq { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: center; width: 100%; }
.hq::before { content: ""; position: absolute; left: 16%; right: 16%; top: 50%; height: 0; border-top: 2px dashed var(--line); z-index: 0; }
.hq .node { z-index: 1; }
.node--side { justify-self: stretch; max-width: none; background: var(--surface-2); }
.node--staff { border-left: 4px solid var(--accent); }
.node--units { border-right: 4px solid var(--flag-green); }
.unitchips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 8px; }
.unitchips a { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-size: .875rem; font-weight: 600; }
.unitchips a:hover { border-color: var(--text); }
.unitchips .icon { width: 15px; height: 15px; color: var(--flag-green); }
.organogram .org__sectors { margin-top: 30px; }
.node--base { width: 100%; max-width: 760px; background: var(--surface-2); border-style: dashed; }
.basefig { display: flex; gap: 28px; justify-content: center; margin-top: 6px; color: var(--muted); }
.basefig strong { display: block; font: 900 2.25rem/1 var(--f-display); color: var(--text); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
  .hq { grid-template-columns: 1fr; gap: 14px; }
  .hq::before { left: 50%; right: auto; top: 0; bottom: 0; height: auto; border-top: 0; border-left: 2px dashed var(--line); }
  .node--nc { order: -1; justify-self: center; }
  .node { padding: 16px 18px; }
  .node__title { font-size: 1.375rem; }
}

/* =====================================================================
   Preloader, flash ticker, popup update, scrollers, portal & registration
   ===================================================================== */

/* ---------- preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--ink); color: var(--on-brand); transition: opacity .5s var(--ease), visibility .5s; animation: pre-safety .4s 4.5s forwards; }
.pre-skip .preloader { display: none; }
.preloader.is-done { opacity: 0; visibility: hidden; }
@keyframes pre-safety { to { opacity: 0; visibility: hidden; } }
.preloader__inner { display: grid; justify-items: center; gap: 14px; text-align: center; padding: 24px; }
.preloader__crest { width: 120px; height: 120px; border-radius: 50%; animation: crest 1.6s var(--ease) both; box-shadow: 0 0 0 6px color-mix(in srgb, var(--on-brand) 12%, transparent); }
@keyframes crest { from { opacity: 0; transform: scale(.86) rotate(-8deg); } to { opacity: 1; transform: none; } }
.preloader__name { margin: 4px 0 0; font: 800 1.75rem/1 var(--f-display); letter-spacing: .01em; animation: fade .6s .25s both; }
.preloader__motto { margin: 0; color: var(--on-brand-3); font-size: .9375rem; animation: fade .6s .45s both; }
.preloader__bar { display: grid; grid-template-columns: repeat(3, 1fr); width: 180px; height: 4px; border-radius: 4px; overflow: hidden; background: color-mix(in srgb, var(--on-brand) 15%, transparent); }
.preloader__bar span { transform: scaleX(0); transform-origin: left; animation: barfill .45s var(--ease) forwards; }
.preloader__bar span:nth-child(1) { background: var(--flag-red); animation-delay: .2s; }
.preloader__bar span:nth-child(2) { background: var(--flag-gold); animation-delay: .5s; }
.preloader__bar span:nth-child(3) { background: var(--flag-green); animation-delay: .8s; }
@keyframes barfill { to { transform: scaleX(1); } }

/* ---------- flash-update ticker ---------- */
.ticker { background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: .9375rem; }
.ticker__inner { display: flex; align-items: center; gap: 14px; min-height: 44px; }
.ticker__label { display: inline-flex; align-items: center; gap: 8px; flex: none; margin: 0; padding: 4px 12px 4px 10px; border-radius: 999px; background: var(--flag-red); color: #fff; font-weight: 700; font-size: .8125rem; }
.ticker__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: blink 1.6s ease-in-out infinite; flex: none; }
@keyframes blink { 50% { opacity: .25; } }
.ticker__viewport { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 95%, transparent); }
.ticker__track { display: flex; width: max-content; list-style: none; margin: 0; padding: 0; animation: tick var(--ticker-dur, 40s) linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track, .ticker.is-paused .ticker__track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
.ticker__track li { display: flex; align-items: center; white-space: nowrap; padding-right: 40px; }
.ticker__track li::after { content: ""; width: 6px; height: 6px; margin-left: 40px; border-radius: 50%; background: var(--accent); }
.ticker__track li { padding-right: 0; }
.ticker__track a { text-decoration: none; font-weight: 600; }
.ticker__track a:hover { text-decoration: underline; }
.ticker__tag { display: inline-block; margin-right: 8px; padding: 1px 7px; border-radius: 4px; background: var(--ink); color: var(--on-brand); font-size: .75rem; font-weight: 700; }
.ticker__tag.is-urgent { background: var(--flag-red); }
.ticker__pause { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); }
.ticker__pause .i-play, .ticker.is-paused .ticker__pause .icon:not(.i-play) { display: none; }
.ticker.is-paused .ticker__pause .i-play { display: block; }
@media (max-width: 560px) { .ticker__label { padding: 4px 8px; font-size: 0; gap: 0; } .ticker__label .ticker__dot { width: 10px; height: 10px; } }

/* ---------- latest-update popup ---------- */
.notice { width: min(560px, calc(100vw - 24px)); padding: 0; overflow: hidden; }
.notice__img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.notice__body { display: grid; gap: 10px; padding: 24px 26px 22px; }
.notice__kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--flag-red); font-weight: 700; font-size: .875rem; }
.notice__title { font: 900 clamp(1.75rem, 1.4rem + 1.4vw, 2.4rem)/1 var(--f-display); text-wrap: balance; padding-right: 28px; }
.notice__text { margin: 0; color: var(--muted); font-size: 1.0625rem; }
.notice__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.notice__mute { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .875rem; cursor: pointer; }
.notice__x { position: absolute; top: 10px; right: 10px; background: color-mix(in srgb, var(--surface) 85%, transparent); }
.notice[open] { animation: rise .45s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.97); } }

/* ---------- scrollers ---------- */
.section--flush { padding-top: 0; }
.scroller__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.scroller__head .h-sub { margin: 0; }
.scroller__ctl { display: flex; gap: 8px; }
.iconbtn--ring { border: 1px solid var(--line); background: var(--surface); }
.iconbtn--ring:disabled { opacity: .35; cursor: default; }
.scroller__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 2px; padding: 4px 2px 18px; scrollbar-width: thin; overscroll-behavior-x: contain; }
.scroller__track:focus-visible { outline-offset: 4px; }
.scroller__track.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.scroller__track.is-dragging * { pointer-events: none; }
.scroller__item { flex: none; scroll-snap-align: start; }
.scroller__item--card { width: min(320px, 82vw); display: flex; }
.scroller__item--card .post { width: 100%; }
.scroller--photos .scroller__track { padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); scroll-padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); gap: 12px; }
.scroller__item--photo .tile { height: clamp(200px, 30vw, 320px); width: auto; aspect-ratio: auto; }
.scroller__item--photo .tile img { width: auto; height: 100%; max-width: none; }
.scroller__item--photo:nth-child(3n+1) .tile img { aspect-ratio: 4 / 3; object-fit: cover; }
.scroller__item--photo:nth-child(3n+2) .tile img { aspect-ratio: 3 / 4; object-fit: cover; }
.scroller__item--photo:nth-child(3n) .tile img { aspect-ratio: 16 / 10; object-fit: cover; }
.scroller__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* ---------- portal menu item & band ---------- */
.nav__link--portal { background: var(--ink); color: var(--on-brand); border-radius: 999px; padding: 8px 14px 8px 12px; margin-left: 6px; gap: 6px; }
.nav__link--portal:hover, .has-menu.is-open > .nav__link--portal { background: var(--ink-2); }
.nav__link--portal::after { display: none; }
.nav__link--portal .icon { width: 1.05em; height: 1.05em; }
.menu--portal { left: auto; right: 0; min-width: 300px; }
.menu--portal a { align-items: flex-start; }
.menu--portal a > .icon { margin-top: 3px; color: var(--accent); }
.menu--portal span { display: grid; }
.menu--portal small { color: var(--muted); font-size: .8125rem; }
@media (max-width: 1320px) {
  .nav__link--portal { margin: 10px 0 0; border-radius: var(--radius-s); padding: 14px 12px; border-bottom: 0; }
  .menu--portal { min-width: 0; }
}
.portalband { background: var(--ink); color: var(--on-brand); }
.portalband__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; padding-block: 28px; }
.portalband__text { display: flex; align-items: center; gap: 16px; min-width: 0; flex: 1 1 420px; }
.portalband__text img { width: 64px; height: 64px; border-radius: 50%; flex: none; }
.portalband h2 { font: 900 1.9rem/1 var(--f-display); margin-bottom: 4px; }
.portalband p { margin: 0; color: var(--on-brand-3); max-width: 56ch; }
.portalband__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn--light { --b: var(--on-brand); --f: var(--ink); }

/* ---------- portal page ---------- */
.portal-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); }
@media (max-width: 900px) { .portal-actions { grid-template-columns: 1fr; } }
.paction { display: grid; gap: 8px; align-content: start; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.paction:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent); }
.paction--primary { background: var(--ink); border-color: var(--ink); color: var(--on-brand); }
.paction--primary .paction__text { color: var(--on-brand-3); }
.paction__icon { width: 36px; height: 36px; color: var(--accent); }
.paction--primary .paction__icon { color: var(--flag-gold); }
.paction__title { font: 900 1.75rem/1.05 var(--f-display); }
.paction__text { color: var(--muted); }
.paction__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 700; }
.portal-how { display: grid; grid-template-columns: 1fr 360px; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 960px) { .portal-how { grid-template-columns: 1fr; } }
.openlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.openlist li { display: grid; gap: 2px; }
.openlist span { color: var(--muted); font-size: .9375rem; }
.openlist a { font-weight: 700; color: var(--text); }
.portal-frame { margin-top: clamp(40px, 6vw, 72px); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.portal-frame__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: .9375rem; }
.portal-frame__bar > span { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.portal-frame iframe { width: 100%; height: min(78vh, 760px); border: 0; background: #fff; }
.portal-frame__note { margin: 0; padding: 8px 14px; font-size: .875rem; color: var(--muted); border-top: 1px solid var(--line); }

/* ---------- registration ---------- */
.regchoice { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 800px) { .regchoice { grid-template-columns: 1fr; } }
.regcard { display: grid; gap: 12px; align-content: start; padding: clamp(22px, 4vw, 34px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.regcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent); }
.regcard__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--flag-gold); }
.regcard__icon .icon { width: 28px; height: 28px; }
.regcard__title { font: 900 2.2rem/1 var(--f-display); }
.regcard p { margin: 0; color: var(--muted); font-size: 1.0625rem; }
.regcard .btn { justify-self: start; margin-top: 6px; }
.regnote { margin-top: 22px; color: var(--muted); }
.regnote a { color: var(--text); font-weight: 700; }

.regwrap { display: grid; grid-template-columns: 1fr 320px; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 960px) { .regwrap { grid-template-columns: 1fr; } .regside { position: static; } }
.regform { display: grid; gap: 20px; min-width: 0; }
.stepnav { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; counter-reset: none; overflow-x: auto; }
.stepnav li { flex: 1 1 0; min-width: 120px; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--radius-s); background: var(--surface-2); color: var(--muted); font-weight: 600; font-size: .9375rem; cursor: default; }
.is-stepped .stepnav li { cursor: pointer; }
.stepnav__n { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; border: 2px solid currentColor; font-size: .8125rem; font-weight: 700; }
.stepnav li.is-current { background: var(--ink); color: var(--on-brand); }
.stepnav li.is-done { color: var(--text); }
.stepnav li.is-done .stepnav__n { background: var(--flag-green); border-color: var(--flag-green); color: #fff; }
.stepnav li.has-error .stepnav__n { border-color: var(--flag-red); color: var(--flag-red); }
@media (max-width: 640px) { .stepnav__t { display: none; } .stepnav li { min-width: 0; justify-content: center; } .stepnav li.is-current .stepnav__t { display: inline; } .stepnav li.is-current { flex: 3 1 0; } }
.rstep { margin: 0; padding: clamp(18px, 3vw, 28px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); min-width: 0; }
.is-stepped .rstep { animation: fade .35s var(--ease); }
.rstep__title { float: left; width: 100%; display: grid; gap: 2px; padding: 0; margin-bottom: 18px; font: 900 1.9rem/1 var(--f-display); }
.rstep__title + * { clear: both; }
.rstep__title span { font: 600 .875rem var(--f-body); color: var(--muted); }
.rstep__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
@media (max-width: 640px) { .rstep__grid { grid-template-columns: 1fr; } }
.rfield { display: grid; gap: 6px; align-content: start; min-width: 0; }
.rfield--wide { grid-column: 1 / -1; }
.rfield > label { font-weight: 700; }
.rfield input:not([type=checkbox]):not([type=radio]):not([type=file]), .rfield select, .rfield textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--surface); font-size: 1.0625rem; }
.rfield input:focus, .rfield select:focus, .rfield textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.rfield.has-error input, .rfield.has-error select, .rfield.has-error textarea { border-color: var(--flag-red); background: color-mix(in srgb, var(--flag-red) 4%, var(--surface)); }
.req { color: var(--flag-red); }
.rhelp { margin: 0; color: var(--muted); font-size: .9rem; }
.rerr { color: var(--flag-red); font-weight: 600; }
.rgroup { border: 0; margin: 0; padding: 0; min-width: 0; }
.rgroup legend { font-weight: 700; padding: 0; margin-bottom: 8px; }
.rgroup__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.rgroup__opts--tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.rcheck { display: inline-flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--surface); cursor: pointer; transition: border-color .15s, background .15s; }
.rcheck:hover { border-color: var(--muted); }
.rcheck input { width: 20px; height: 20px; flex: none; accent-color: var(--ink); margin: 0; }
.rcheck:has(input:checked) { border-color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, var(--surface)); }
.rcheck--consent { align-items: flex-start; width: 100%; }
.rcheck--consent span { line-height: 1.45; }
.rphoto { position: relative; display: flex; align-items: center; gap: 16px; padding: 14px; border: 2px dashed var(--line); border-radius: var(--radius); cursor: pointer; }
.rphoto input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.rphoto__preview { display: grid; place-items: center; flex: none; width: 72px; height: 90px; border-radius: 8px; background: var(--surface-2); color: var(--muted); overflow: hidden; }
.rphoto__preview .icon { width: 32px; height: 32px; }
.rphoto__preview img { width: 100%; height: 100%; object-fit: cover; }
.rphoto__text { display: grid; }
.rphoto__text small { color: var(--muted); }
.rstep__nav { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.rstep__nav .btn:only-child { margin-left: auto; }
.regside { top: 120px; }

.done__card { display: grid; gap: 12px; justify-items: start; padding: clamp(24px, 5vw, 48px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.done__tick { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--flag-green); color: #fff; animation: pop .5s var(--ease); }
.done__tick .icon { width: 34px; height: 34px; stroke-width: 2.6; }
.done__kicker { margin: 4px 0 0; color: var(--muted); font-weight: 700; }
.done__title { font: 900 clamp(2.4rem, 1.8rem + 2.6vw, 3.6rem)/1 var(--f-display); }
.done__lead { font-size: 1.125rem; color: var(--muted); max-width: 56ch; margin: 0; }
.refbox { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; width: 100%; padding: 16px 18px; border-radius: var(--radius-s); background: var(--surface-2); border: 1px dashed var(--muted); }
.refbox__label { color: var(--muted); font-size: .875rem; width: 100%; }
.refbox__ref { font: 700 clamp(1.25rem, 1rem + 1.2vw, 1.75rem) ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: .03em; user-select: all; }
.done__facts { display: grid; gap: 10px; margin: 6px 0 0; width: 100%; }
.done__facts div { display: grid; grid-template-columns: 160px 1fr; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.done__facts dt { color: var(--muted); }
.done__facts dd { margin: 0; font-weight: 600; }
@media (max-width: 560px) { .done__facts div { grid-template-columns: 1fr; gap: 2px; } }
.steps--compact h3 { font-size: 1.2rem; }

/* ---------- a softer, more natural feel ---------- */
body { line-height: 1.65; }
.section--tint { background: var(--surface-2); }
.hero { min-height: clamp(460px, 74vh, 780px); }
.hero__shade { background: linear-gradient(90deg, color-mix(in srgb, var(--color-brand-950) 82%, transparent) 0%, color-mix(in srgb, var(--color-brand-950) 50%, transparent) 45%, transparent 85%), linear-gradient(0deg, color-mix(in srgb, var(--color-brand-950) 70%, transparent), transparent 50%); }
.card, .event, .unitrow, .downloads li, .album__stack img, .leader__photo, .tile, .vcard__thumb { border-radius: var(--radius); }
.event__date { border-radius: 12px; }
.btn { border-radius: 999px; padding-inline: 1.35em; }
.quick__item:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.quick__item:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.units-band { background: var(--surface-2); color: var(--text); }
.units-band .h-section { color: var(--text); }
.units-band .section__lead { color: var(--muted); }
.unit { border-radius: var(--radius); }
.units { gap: 12px; }
.footer { background: var(--color-brand-700); }
.js .soft-in { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms); }
.js .soft-in.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .preloader { display: none; }
  .ticker__track { animation: none; overflow-x: auto; }
  .js .soft-in { opacity: 1; transform: none; }
}

/* header: wider row for the full menu; search and theme live in the top bar */
.masthead__inner { max-width: 1400px; }
.utility__icon { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--on-brand); opacity: .85; }
.utility__icon:hover { opacity: 1; background: color-mix(in srgb, var(--on-brand) 12%, transparent); }
.masthead__tools:empty { display: none; }
@media (min-width: 1321px) and (max-width: 1460px) { .brand__sub { display: none; } .brand__name::after { margin-top: 3px; } .nav__link { padding-inline: 7px; } }
