/* ==========================================================================
   BFERC theme — main stylesheet
   Palette from the BFERC logo: navy, flame orange, sky blue.
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/archivo-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/archivo-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/archivo-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/archivo-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans Bengali"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/noto-sans-bengali-bengali-400-normal.woff2") format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1; }
@font-face { font-family: "Noto Sans Bengali"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/noto-sans-bengali-bengali-600-normal.woff2") format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1; }
@font-face { font-family: "Noto Sans Bengali"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/noto-sans-bengali-bengali-700-normal.woff2") format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1; }

/* ---------- Tokens ---------- */
:root {
	--navy: #0B2E4A;
	--navy-deep: #071F33;
	--navy-line: #1E4566;
	--navy-soft: #12385A;
	--blue: #1A7BC4;
	--blue-ink: #145F99;
	--blue-soft: #8FB6D9;
	--sky: #E8F2FB;
	--flame: #F26A21;
	--flame-ink: #C24F0C;
	--flame-deep: #B2480B;
	--flame-soft: #FDECE1;
	--warm: #FFF3EA;
	--amber: #F7A823;
	--amber-ink: #8A5A00;
	--green-ink: #2F6B47;
	--ground: #F5F7FA;
	--white: #FFFFFF;
	--line: #DCE3EB;
	--line-strong: #B9C6D3;
	--line-soft: #EEF2F6;
	--ink: #0B2E4A;
	--ink-2: #2E4153;
	--muted: #4A5B6C;
	--on-dark: #C9D6E3;
	--on-dark-2: #9FB4C8;

	--font-display: "Archivo", "Noto Sans Bengali", system-ui, sans-serif;
	--font-body: "IBM Plex Sans", "Noto Sans Bengali", system-ui, sans-serif;
	--font-mono: "IBM Plex Mono", ui-monospace, monospace;

	--radius: 10px;
	--radius-sm: 6px;
	--wrap: 1240px;
	--gutter: 24px;
	--section: clamp(56px, 8vw, 96px);
}

.is-bangla {
	--font-display: "Noto Sans Bengali", "Archivo", system-ui, sans-serif;
	--font-body: "Noto Sans Bengali", "IBM Plex Sans", system-ui, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--blue-ink); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: inherit; margin: 0; line-height: 1.2; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

.screen-reader-text { 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-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 1000px; }
.container--form { max-width: 960px; }
.container--prose { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.mono { font-family: var(--font-mono); }
.nowrap { white-space: nowrap; }
.on-dark-muted { color: var(--on-dark); }

.stack > * + * { margin-top: 16px; }
.stack-lg > * + * { margin-top: 24px; }
.stack-xl > * + * { margin-top: 48px; }

/* ---------- Type ---------- */
.h2 { font-size: clamp(30px, 3.4vw, 40px); font-weight: 700; letter-spacing: -0.015em; line-height: 1.15; margin: 14px 0 20px; }
.h2--sm { font-size: clamp(24px, 2.6vw, 32px); }
.h3 { font-size: 24px; font-weight: 700; margin: 0 0 16px; }
.h4 { font-size: 21px; font-weight: 700; margin: 0 0 16px; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--flame-ink); }
.eyebrow__bar { width: 28px; height: 2px; background: var(--flame); flex: 0 0 auto; }
.eyebrow--light { color: var(--amber); }
.eyebrow--center { justify-content: center; }
.label-mono { display: block; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.label-mono--amber { color: var(--amber); }
.label-mono--blue { color: var(--blue-ink); }
.label-strong { font-weight: 600; margin-bottom: 10px; }
.lead-statement { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.38; margin: 16px 0 0; }
.lead-statement--wide { max-width: 900px; margin: 0 0 48px; font-size: clamp(20px, 2vw, 24px); color: var(--ink-2); }

.prose { color: var(--ink-2); }
.prose--lg { font-size: 17px; line-height: 1.78; }
.prose h2 { font-size: 26px; margin: 1.6em 0 .5em; color: var(--ink); }
.prose h3 { font-size: 21px; margin: 1.4em 0 .5em; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li + li { margin-top: .35em; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--flame); font-family: var(--font-display); font-size: 1.15em; color: var(--ink); }
.prose img { border-radius: var(--radius); }
.prose a { color: var(--blue-ink); }

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--radius-sm); border: 1.5px solid transparent; font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; text-align: center; }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--flame-ink); color: #fff; }
.btn--accent:hover { background: #A84308; color: #fff; }
.btn--flame { background: var(--flame); color: var(--navy-deep); }
.btn--flame:hover { background: #F7853F; color: var(--navy-deep); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-deep); color: #fff; }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--outline-light { border-color: #5E7D99; color: #fff; background: transparent; }
.btn--outline-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }
.btn--ghost { border: 1px solid var(--line-strong); background: var(--white); color: var(--navy); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { color: var(--blue-ink); font-weight: 600; text-decoration: none; display: inline-block; padding: 6px 0; }
.link-arrow:hover { color: var(--navy); text-decoration: underline; }
.link-amber { color: var(--amber); font-weight: 600; text-decoration: none; padding: 6px 0; display: inline-block; }
.link-amber:hover { color: #FFD27F; }

/* ---------- Header ---------- */
.topbar { background: var(--navy-deep); color: var(--on-dark); font-size: 13px; }
.topbar__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 24px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: var(--on-dark); text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar__news { display: flex; align-items: center; gap: 10px; color: #fff !important; }
.topbar__tag { background: var(--flame); color: var(--navy-deep); font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 3px; }
.topbar__meta { display: flex; align-items: center; gap: 18px; }
.lang-switch { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.lang-switch .current-lang a { color: #fff; font-weight: 600; }

.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 14px; padding-bottom: 14px; }
.site-logo { display: block; flex: 0 0 auto; }
.site-logo img { height: 48px; width: auto; }
.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 24px; }
.primary-nav .menu > li { position: relative; }
.primary-nav .menu a { display: block; color: var(--navy); text-decoration: none; font-size: 15px; font-weight: 500; padding: 10px 0; border-bottom: 2px solid transparent; }
.primary-nav .menu a:hover { color: var(--flame-ink); }
.primary-nav .menu .current-menu-item > a,
.primary-nav .menu .current-menu-ancestor > a,
.primary-nav .menu .current_page_item > a,
.primary-nav .menu .current-page-ancestor > a { border-bottom-color: var(--flame); }
.primary-nav .sub-menu { list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: -16px; min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 30px rgba(11,46,74,.12); opacity: 0; visibility: hidden; transform: translateY(4px); transition: .15s; }
.primary-nav .menu > li:hover > .sub-menu, .primary-nav .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a { padding: 8px 16px; border: 0; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--navy); align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }

@media (max-width: 1100px) {
	.nav-toggle { display: inline-flex; }
	.primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(11,46,74,.12); flex-direction: column; align-items: stretch; gap: 16px; padding: 12px var(--gutter) 24px; }
	.primary-nav.is-open { display: flex; }
	.primary-nav .menu { flex-direction: column; gap: 0; }
	.primary-nav .menu a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
	.primary-nav .menu .current-menu-item > a { border-bottom-color: var(--line-soft); color: var(--flame-ink); }
	.primary-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; }
	.site-logo img { height: 40px; }
}

/* ---------- Heroes ---------- */
.hero, .page-hero, .profile-hero { background: var(--navy-deep); color: #fff; position: relative; overflow: hidden; }
.hero__rings { position: absolute; right: -160px; top: -120px; width: 680px; height: 680px; opacity: .18; pointer-events: none; }
.hero__rings circle, .vision__rings circle { fill: none; stroke: var(--blue); stroke-width: 2; }
.hero__rings .is-accent, .vision__rings .is-accent { stroke: var(--flame); }
.hero__inner { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: clamp(56px, 8vw, 88px); padding-bottom: clamp(64px, 8vw, 96px); position: relative; }
.hero__copy { flex: 1 1 520px; min-width: 0; }
.hero__title { font-size: clamp(38px, 5.2vw, 60px); font-weight: 700; line-height: 1.04; letter-spacing: -0.02em; margin: 20px 0 24px; max-width: 680px; }
.hero__text { font-size: clamp(17px, 1.6vw, 19px); color: var(--on-dark); max-width: 580px; margin: 0 0 36px; }

.page-hero .container { padding-top: 48px; padding-bottom: 56px; }
.page-hero__title { font-size: clamp(34px, 4.4vw, 52px); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; margin: 18px 0 16px; max-width: 900px; }
.page-hero__lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--on-dark); margin: 0 0 8px; max-width: 760px; }
.page-hero .btn-row { margin-top: 28px; }
.page-hero .eyebrow { margin-top: 24px; }
.page-hero__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.page-hero__row .page-hero__title { margin-top: 18px; }

.crumbs { font-size: 14px; color: var(--on-dark-2); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--on-dark-2); }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: var(--on-dark); }

.stat-card { flex: 1 1 380px; min-width: 0; max-width: 460px; background: var(--navy); border: 1px solid var(--navy-line); border-radius: 12px; padding: 28px; color: #fff; text-decoration: none; display: block; }
.stat-card:hover { color: #fff; border-color: #2D6A9C; }
.stat-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.stat-card__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-2); }
.stat-card__num { display: block; font-family: var(--font-display); font-weight: 700; font-size: 52px; line-height: 1.1; margin: 14px 0 2px; }
.stat-card__sub { display: block; color: var(--on-dark-2); font-size: 14px; }
.stat-card__src { display: block; font-size: 12px; color: #7F97AD; margin-top: 18px; }
.flag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--amber); border: 1px solid #5C4A1E; padding: 2px 8px; border-radius: 3px; white-space: nowrap; }
.flag--solid { background: var(--amber); color: #2A2312; border-color: var(--amber); font-weight: 600; }
.mini-bars { display: flex; align-items: flex-end; gap: 10px; height: 170px; margin-top: 26px; }
.mini-bars__col { flex: 1 1 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; }
.mini-bars__bar { width: 100%; background: #2D6A9C; border-radius: 3px 3px 0 0; min-height: 2px; }
.mini-bars__bar.is-current { background: var(--flame); }
.mini-bars__lbl { font-family: var(--font-mono); font-size: 11px; color: var(--on-dark-2); border-top: 1px solid var(--navy-line); width: 100%; text-align: center; padding-top: 6px; }

.warn-bar { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; background: #2A2312; border: 1px solid #5C4A1E; color: #F7D58A; border-radius: var(--radius-sm); padding: 10px 16px; font-size: 14px; }
.live-pill { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; background: #2A2312; border: 1px solid #5C4A1E; color: #F7D58A; border-radius: 999px; padding: 6px 14px; font-size: 14px; }
.live-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--navy { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; }
.section--top-sm { padding-top: 40px; }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }
.section + .section--white, .section--white + .section--white { border-top: 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 24px; margin-bottom: 32px; }
.section-head .h2 { margin-bottom: 0; }
.section-head--tight { align-items: baseline; margin-bottom: 16px; }
.section-head--tight .h3 { margin: 0; }
.section-head__aside { max-width: 440px; margin: 0; color: var(--muted); }

.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid--auto-160 { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.grid--auto-220 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid--auto-240 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.grid--auto-260 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--auto-300 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.grid--auto-320 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
@media (max-width: 980px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--3, .grid--auto-300, .grid--auto-320 { grid-template-columns: minmax(0, 1fr); } }

.split { display: flex; flex-wrap: wrap; gap: 40px 56px; }
.split--center { align-items: center; }
.split__side { flex: 1 1 340px; min-width: 0; max-width: 440px; }
.split__side--wide { max-width: 520px; }
.split__side .btn { margin-top: 24px; }
.split__main { flex: 999 1 540px; min-width: 0; }

.with-aside { display: flex; flex-wrap: wrap; gap: 40px 48px; align-items: flex-start; }
.with-aside__main { flex: 999 1 600px; min-width: 0; }
.with-aside__side { flex: 1 1 300px; min-width: 0; max-width: 380px; }
.with-aside--left { flex-direction: row; }
.with-aside--left .with-aside__side { max-width: 280px; flex-basis: 240px; }
@media (max-width: 900px) { .with-aside__side, .with-aside--left .with-aside__side { max-width: none; } }

.duo { display: flex; flex-wrap: wrap; gap: 24px; }
.duo > * { flex: 1 1 480px; min-width: 0; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }

/* ---------- Panels, tiles, cards ---------- */
.panel { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; color: var(--ink); text-decoration: none; }
.panel__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0 0 18px; }
.panel__title { display: block; font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.3; margin: 0 0 6px; }
.panel__head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.panel__foot { border-top: 1px solid var(--line-soft); padding-top: 14px; margin: 0; }
.panel--navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.panel--navy p { color: var(--on-dark); font-size: 15px; }
.panel--link:hover { background: var(--navy-deep); color: #fff; }
.panel--sky { background: var(--sky); border-color: var(--sky); }
.panel--sky p { color: var(--ink-2); font-size: 15px; }
.panel--sticky { position: sticky; top: 24px; }
.panel .link-arrow { margin-top: 18px; }

.pillar { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 14px; transition: border-color .15s, transform .15s; }
.pillar:hover { border-color: var(--flame); color: var(--ink); transform: translateY(-2px); }
.pillar .icon { color: var(--flame-ink); }
.pillar__title { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.25; }
.pillar__text { color: var(--muted); font-size: 15px; }
.pillar__link { margin-top: auto; color: var(--blue-ink); font-weight: 600; font-size: 14px; }

.focus-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); column-gap: 24px; border-top: 1px solid var(--line); }
.focus-item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.focus-item__num { font-family: var(--font-mono); font-size: 13px; color: var(--blue); }
.focus-item__title { font-size: 19px; font-weight: 700; margin: 6px 0; }
.focus-item__text { color: var(--muted); font-size: 15px; margin: 0; }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s; }
.card:hover { color: var(--ink); border-color: var(--line-strong); box-shadow: 0 10px 28px rgba(11,46,74,.08); }
.card__stripe { height: 8px; background: var(--tone, var(--blue)); flex: 0 0 auto; }
.card__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card__body { padding: 26px; display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; }
.card__title { font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 1.3; }
.card__text { color: var(--muted); font-size: 15px; }
.card__foot { margin-top: auto; padding-top: 10px; font-size: 14px; color: var(--muted); }

.tone-orange { --tone: var(--flame); --tone-ink: var(--flame-deep); --tone-soft: var(--flame-soft); }
.tone-blue { --tone: var(--blue); --tone-ink: var(--blue-ink); --tone-soft: var(--sky); }
.tone-navy { --tone: var(--navy); --tone-ink: var(--navy); --tone-soft: #E9EEF3; }
.tone-amber { --tone: var(--amber); --tone-ink: var(--amber-ink); --tone-soft: #FFF8E8; }
.tone-green { --tone: #4C9A6A; --tone-ink: var(--green-ink); --tone-soft: #E6F3EB; }

.meta-line { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.meta-line__type { color: var(--tone-ink, var(--flame-ink)); font-weight: 600; }
.meta-line--hero { margin-top: 28px; }

.tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.tile__num { font-family: var(--font-display); font-weight: 800; font-size: 40px; color: var(--flame); line-height: 1; }
.tile__title { font-size: 18px; font-weight: 700; margin: 18px 0 8px; }
.tile__title--lg { font-size: 22px; margin-top: 0; }
.tile__text { color: var(--muted); font-size: 15px; margin: 0; }

.mini-tile { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.mini-tile__num { font-family: var(--font-mono); font-size: 12px; color: var(--flame-ink); font-weight: 600; }
.mini-tile__text { font-weight: 600; }

.facts { margin: 56px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts__item { padding: 24px 28px; border-right: 1px solid var(--line); margin-right: -1px; }
.facts dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 6px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 20px; }

.vision__rings { position: absolute; left: -120px; bottom: -160px; width: 420px; height: 420px; opacity: .2; pointer-events: none; }
.vision__text { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 3vw, 34px); line-height: 1.35; letter-spacing: -0.01em; margin: 20px 0 0; position: relative; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; counter-reset: step; }
.steps__item { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--ground); display: flex; flex-direction: column; gap: 8px; position: relative; }
.steps__item:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); color: var(--flame); font-size: 20px; background: var(--white); line-height: 1; }
.steps__num { font-family: var(--font-mono); font-size: 12px; color: var(--blue); font-weight: 600; text-transform: uppercase; }
.steps__title { font-family: var(--font-display); font-weight: 700; font-size: 19px; }
.steps__text { color: var(--muted); font-size: 15px; }
.steps__item.is-outcome { background: var(--navy); border-color: var(--navy); color: #fff; }
.steps__item.is-outcome .steps__num { color: var(--amber); }
.steps__item.is-outcome .steps__text { color: var(--on-dark); }
@media (max-width: 700px) { .steps__item:not(:last-child)::after { display: none; } }

/* ---------- Chips & tags ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips--filter { margin-bottom: 40px; }
.chips--small { gap: 8px; margin-top: 12px; }
.chips--list { list-style: none; margin: 0; padding: 0; }
.chip { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--white); color: var(--navy); font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; }
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip__count { opacity: .7; font-weight: 500; }
.chips--small .chip { min-height: 0; padding: 3px 10px; font-size: 12px; font-weight: 500; border: 0; background: #F0F3F7; color: var(--ink-2); }
.chip--soft { background: var(--sky); border-color: var(--sky); color: var(--blue-ink); cursor: default; font-size: 14px; min-height: 0; padding: 8px 14px; }
.chip--soft:hover { border-color: var(--sky); color: var(--blue-ink); }
.chip--outline { cursor: default; font-weight: 500; font-size: 14px; min-height: 0; padding: 8px 14px; }
.chip--outline:hover { border-color: var(--line-strong); }
.tag { display: inline-block; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; padding: 3px 10px; border-radius: 3px; }
.tag--flame { background: var(--flame); color: var(--navy-deep); }
.tag--quiet { color: var(--on-dark-2); padding-left: 0; }
.tag--soft { background: var(--tone-soft, var(--flame-soft)); color: var(--tone-ink, var(--flame-deep)); }
.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--sky); color: var(--blue-ink); white-space: nowrap; }
.pill--orange { background: var(--flame-soft); color: var(--flame-deep); }
.pill--dark { background: var(--navy-soft); color: #E3EAF1; }

/* ---------- Team ---------- */
.team-group { margin-bottom: 64px; }
.team-group:last-child { margin-bottom: 0; }
.team-group[hidden] { display: none; }
.team-group__title { font-size: 28px; font-weight: 700; margin: 0 0 24px; }
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.people--wide { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 980px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .people { grid-template-columns: minmax(0, 1fr); } }

.person { display: flex; gap: 18px; align-items: center; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.person:hover { color: var(--ink); border-color: var(--flame); box-shadow: 0 10px 28px rgba(11,46,74,.08); }
.person__body { display: flex; flex-direction: column; min-width: 0; }
.person__name { font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.3; }
.person__role { font-size: 14px; color: var(--muted); margin-top: 6px; }
.person__aff { font-size: 14px; color: var(--muted); }
.person__role-tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--flame-ink); font-weight: 600; margin-bottom: 10px; }
.person__bio { font-size: 16px; color: var(--muted); margin-top: 12px; max-width: 620px; }
.person--wide { padding: 22px; gap: 20px 32px; flex-wrap: wrap; }
.person--wide .person__body { flex: 1 1 320px; }
.person--wide .person__name { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; }
.creds { font-weight: 500; color: var(--muted); font-size: .85em; }

/* Passport-size portrait (7:9), same size everywhere it is used as a card photo */
.portrait { width: 140px; height: 180px; flex: 0 0 auto; border-radius: var(--radius-sm); overflow: hidden; background: #E9EEF3; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.portrait__ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 32px; }
.tone-blue.portrait__ph { background: var(--sky); color: var(--blue-ink); }
.tone-orange.portrait__ph { background: var(--flame-soft); color: var(--flame-deep); }
.tone-grey.portrait__ph { background: #E9EEF3; color: var(--navy); }
.portrait--sm { width: 64px; height: 82px; }
.portrait--xs { width: 52px; height: 66px; }
.portrait--sm .portrait__ph, .portrait--xs .portrait__ph { font-size: 16px; }
.portrait--hero { width: 220px; height: 283px; border: 4px solid var(--navy); border-radius: 12px; }
.portrait--hero .portrait__ph { font-size: 60px; }

.placeholder-card { display: block; background: var(--white); border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 28px; text-decoration: none; color: var(--ink); max-width: 760px; }
.placeholder-card:hover { border-color: var(--flame); color: var(--ink); }
.placeholder-card__title { display: block; font-family: var(--font-display); font-weight: 700; font-size: 20px; margin-bottom: 6px; }

.leaders { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.leader { display: flex; gap: 14px; align-items: center; color: var(--ink); text-decoration: none; }
.leader:hover { color: var(--ink); }
.leader:hover .leader__name { color: var(--flame-ink); }
.leader__name { display: block; font-weight: 600; line-height: 1.35; }
.leader__role { display: block; font-size: 14px; color: var(--muted); }
.leader--box { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: var(--ground); }
.leader--box:hover { border-color: var(--flame); }

.partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.partners__item { height: 72px; border: 1px solid var(--line); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; padding: 10px; font-size: 13px; color: var(--muted); text-align: center; text-decoration: none; background: #fff; }
.partners__item img { max-height: 48px; width: auto; filter: grayscale(1); opacity: .8; transition: .15s; }
.partners__item:hover img { filter: none; opacity: 1; }
.partners + .muted { margin-top: 18px; }

/* Profile */
.profile-hero .container { padding-top: 40px; padding-bottom: 56px; position: relative; }
.profile-hero__inner { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; margin-top: 32px; }
.profile-hero__copy { flex: 1 1 420px; min-width: 0; }
.profile-hero__tags { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 24px; }
.profile-hero__copy .profile-hero__tags { margin-top: 0; }
.profile-hero__name { font-size: clamp(32px, 4vw, 48px); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; margin: 14px 0 10px; }
.profile-hero__name .creds { color: var(--on-dark-2); }
.profile-hero__aff { font-size: 18px; color: var(--on-dark); margin: 0 0 24px; }
.fact-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.fact-strip__inner { margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.fact-strip__inner > div { padding: 20px 24px 20px 0; }
.fact-strip dt { font-size: 13px; color: var(--muted); }
.fact-strip dd { margin: 0; font-weight: 600; }

.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 22px 22px; display: flex; flex-direction: column; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); }
.timeline li:first-child::before { background: var(--flame); }
.timeline__when { font-family: var(--font-mono); font-size: 13px; color: var(--blue-ink); font-weight: 600; }
.timeline li:first-child .timeline__when { color: var(--flame-deep); }
.timeline__what { font-weight: 600; }
.timeline__where { font-size: 14px; color: var(--muted); }

.list-link { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; text-decoration: none; color: var(--ink); }
.list-link:hover { border-color: var(--flame); color: var(--ink); }
.list-link__title { display: block; font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.35; margin-top: 6px; }
.dl { margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.dl dt { font-size: 13px; color: var(--muted); }
.dl dd { margin: 0; }
.dl--grid { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: 14px; }
.dl--grid dt { font-size: 14px; }
.bullets { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 15px; }
.bullets li + li { margin-top: 8px; }

/* ---------- Publications ---------- */
.search-bar { display: flex; flex-wrap: wrap; gap: 10px; max-width: 720px; margin-top: 32px; }
.search-bar input { flex: 1 1 320px; min-width: 0; min-height: 52px; padding: 0 18px; border-radius: var(--radius-sm); border: 1px solid var(--navy-line); background: var(--navy); color: #fff; font-size: 16px; }
.search-bar input::placeholder { color: var(--on-dark-2); }
.search-bar .btn { min-height: 52px; }
.search-bar--light { margin-top: 0; }
.search-bar--light input { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.search-bar--light input::placeholder { color: #6A7B8C; }

.result-count { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.pub-row { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; gap: 22px; flex-wrap: wrap; }
.pub-row__thumb { flex: 0 0 auto; width: 72px; display: block; }
.pub-row__thumb img { width: 72px; height: 92px; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); }
.pub-row__doc { width: 72px; height: 92px; border-radius: 4px; border: 1px solid var(--line); background: var(--ground); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; font-family: var(--font-mono); font-size: 10px; color: var(--muted); }
.pub-row__doc > span:last-child { padding: 8px; }
.pub-row__stripe { height: 6px; background: var(--tone); }
.pub-row__body { flex: 1 1 300px; min-width: 0; }
.pub-row__title { font-size: 20px; font-weight: 700; line-height: 1.35; margin: 8px 0 6px; }
.pub-row__title a { color: var(--ink); text-decoration: none; }
.pub-row__title a:hover { color: var(--flame-ink); }
.pub-row__authors { font-size: 14px; color: var(--muted); }
.pub-row__actions { flex: 0 0 auto; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.topic-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.topic-list a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-soft); }
.topic-list a span { color: var(--muted); font-size: 13px; }
.topic-list a:hover, .topic-list a.is-active { color: var(--flame-ink); }
.empty { background: var(--white); border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 32px; text-align: center; color: var(--muted); }

.pagination { margin-top: 32px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: #fff; color: var(--navy); text-decoration: none; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; }
.pagination .page-numbers.current { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination .page-numbers.dots { border: 0; background: none; }

.pub-hero { background: var(--white); border-bottom: 1px solid var(--line); }
.pub-hero .container { padding-top: 40px; padding-bottom: 48px; }
.pub-hero .crumbs, .pub-hero .crumbs a { color: var(--muted); }
.pub-hero .crumbs a { color: var(--blue-ink); }
.pub-hero .crumbs [aria-current] { color: var(--ink-2); }
.pub-hero__title { font-size: clamp(30px, 3.8vw, 46px); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; margin: 16px 0 20px; max-width: 900px; }
.pub-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; color: var(--muted); }
.pub-hero__meta strong { color: var(--ink); }
.pub-hero .btn-row { margin-top: 28px; }

.pdf-frame { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pdf-frame__bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.pdf-frame iframe { display: block; width: 100%; height: 640px; border: 0; background: #EEF2F6; }
.cite-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.cite-box__text { margin: 0; flex: 1 1 400px; min-width: 0; font-family: var(--font-mono); font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.related-link { display: block; text-decoration: none; color: var(--ink); }
.related-link .meta-line__type { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; display: block; }
.related-link__title { display: block; font-weight: 600; line-height: 1.4; margin-top: 2px; }
.related-link:hover .related-link__title { color: var(--flame-ink); }

/* ---------- Fire data dashboard ---------- */
.toolbar { background: var(--white); border-bottom: 1px solid var(--line); }
.toolbar__inner { padding-top: 14px; padding-bottom: 14px; }
.year-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.year-tabs .label-mono { margin: 0 8px 0 0; }
.year-tab { min-height: 44px; min-width: 64px; padding: 0 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line-strong); background: #fff; color: var(--navy); font-family: var(--font-mono); font-size: 14px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.year-tab:hover { border-color: var(--navy); color: var(--navy); }
.year-tab.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.kpi { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--kc, var(--flame)); border-radius: var(--radius); padding: 22px 24px; }
.kpi--orange { --kc: var(--flame); }
.kpi--navy { --kc: var(--navy); }
.kpi--blue { --kc: var(--blue); }
.kpi--amber { --kc: var(--amber); }
.kpi__label { font-size: 14px; color: var(--muted); }
.kpi__value { font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: 1.15; margin: 6px 0 4px; }
.kpi__delta { font-size: 13px; font-weight: 600; }
.kpi__delta span { color: var(--muted); font-weight: 400; }
.kpi__delta.is-up { color: var(--flame-deep); }
.kpi__delta.is-down { color: var(--blue-ink); }
.kpi__delta.is-flat { color: var(--muted); }

.dash-row { display: flex; flex-wrap: wrap; gap: 24px; }
.dash-row > * { flex: 2 1 360px; min-width: 0; }
.dash-row > .dash-row__wide { flex: 3 1 520px; }
.dash-row__col { display: flex; flex-direction: column; }

.vbars { display: flex; align-items: flex-end; gap: 14px; height: 300px; padding-top: 8px; }
.vbars__col { flex: 1 1 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; text-decoration: none; min-width: 0; }
.vbars__val { font-family: var(--font-mono); font-size: 12px; color: var(--muted); font-weight: 600; }
.vbars__bar { width: 100%; max-width: 64px; background: var(--blue-soft); border-radius: 4px 4px 0 0; min-height: 2px; transition: background .15s; }
.vbars__lbl { font-family: var(--font-mono); font-size: 12px; color: var(--muted); border-top: 1px solid var(--line-strong); width: 100%; text-align: center; padding-top: 8px; }
a.vbars__col:hover .vbars__bar { background: #6FA0CE; }
.vbars__col.is-current .vbars__bar { background: var(--flame); }
.vbars__col.is-current .vbars__val { color: var(--flame-deep); }
.vbars--mini { height: 150px; gap: 6px; }
.vbars--mini .vbars__lbl { font-size: 11px; }

.hbar + .hbar { margin-top: 16px; }
.panel .hbar:first-of-type { margin-top: 20px; }
.hbar__label { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; margin-bottom: 6px; }
.hbar__label .mono { color: var(--muted); }
.hbar__track { height: 10px; background: #EEF2F6; border-radius: 5px; overflow: hidden; }
.hbar__fill { display: block; height: 100%; border-radius: 5px; }
.hbar--dark .hbar__label span:first-child { color: #E3EAF1; }
.hbar--dark .hbar__label .mono { color: var(--on-dark-2); }
.hbar--dark .hbar__track { background: var(--navy-soft); }

.tilemap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(3, 104px); gap: 8px; margin-top: 20px; }
.tilemap__tile { border-radius: 8px; padding: 12px 14px; display: flex; flex-direction: column; justify-content: space-between; color: var(--navy-deep); }
.tilemap__name { font-weight: 600; font-size: 15px; }
.tilemap__val { font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.lvl-1 { background: var(--flame-soft); }
.lvl-2 { background: #F9B98F; }
.lvl-3 { background: var(--flame); }
.lvl-4 { background: #A8420A; color: #fff; }
.legend { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 12px; color: var(--muted); }
.legend i { width: 24px; height: 10px; border-radius: 2px; display: inline-block; }

.stackbar { display: flex; height: 28px; border-radius: 6px; overflow: hidden; gap: 2px; margin-top: 18px; }
.keylist { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px 16px; font-size: 14px; }
.keylist li { display: flex; gap: 10px; align-items: center; }
.keylist i { width: 12px; height: 12px; border-radius: 2px; flex: 0 0 auto; }
.keylist .mono { margin-left: auto; color: var(--muted); }

.table-wrap { overflow-x: auto; margin-top: 16px; }
.table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.table td { padding: 14px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }

/* ---------- Home: dark panels ---------- */
.kpi-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; margin: 0 0 8px; }
.kpi-strip__item { border-top: 2px solid var(--flame); padding-top: 12px; }
.kpi-strip__item.is-blue { border-color: var(--blue); }
.kpi-strip__item.is-amber { border-color: var(--amber); }
.kpi-strip__num { display: block; font-family: var(--font-display); font-weight: 700; font-size: 32px; }
.kpi-strip__lbl { display: block; font-size: 13px; color: var(--on-dark-2); }
.panel-dark { background: var(--navy-deep); border: 1px solid var(--navy-line); border-radius: 12px; padding: 32px; }
.panel-dark__head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.panel-dark__title { font-size: 18px; font-weight: 600; }
.panel-dark__src { font-size: 12px; color: #7F97AD; margin: 22px 0 0; }

.band { padding: 72px 0; }
.band--warm { background: var(--warm); border-top: 1px solid #F6D3BC; }
.band__inner { display: flex; flex-wrap: wrap; gap: 32px 40px; align-items: center; justify-content: space-between; }
.band__text { flex: 1 1 460px; min-width: 0; }
.band__title { font-size: clamp(26px, 3vw, 34px); font-weight: 700; margin: 0 0 12px; }
.band__text p { color: var(--muted); max-width: 560px; }

/* ---------- Training ---------- */
.tcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; transition: border-color .15s; }
.tcard:hover { border-color: var(--line-strong); }
.tcard[hidden] { display: none; }
.tcard__top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; }
.tcard__area { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--flame-deep); font-weight: 600; }
.tcard__title { font-size: 21px; font-weight: 700; line-height: 1.3; }
.tcard__title a { color: var(--ink); text-decoration: none; }
.tcard__title a:hover { color: var(--flame-ink); }
.tcard__text { margin: 0; color: var(--muted); font-size: 15px; }
.tcard__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--ink-2); }
.tcard__meta span { display: inline-flex; align-items: center; gap: 6px; }
.tcard__meta .icon { color: var(--blue-ink); }
.tcard__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.tcard__label { display: block; font-size: 12px; color: var(--muted); }
.tcard__value { display: block; font-weight: 600; }

.format { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; gap: 16px; align-items: flex-start; }
.format .icon { color: var(--flame-ink); flex: 0 0 auto; }
.format__title { font-size: 18px; font-weight: 700; }
.format__text { color: var(--muted); font-size: 15px; margin: 4px 0 0; }

.why-grid { margin-top: 12px; gap: 0; border-top: 1px solid var(--navy-line); }
.why { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--navy-line); }
.why__num { font-family: var(--font-mono); font-size: 13px; color: var(--amber); font-weight: 600; }
.why__title { font-size: 20px; font-weight: 700; margin: 8px 0; }
.why__text { color: var(--on-dark); font-size: 15px; margin: 0; }

.checklist { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checklist li { position: relative; padding-left: 28px; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 14px; height: 8px; border-left: 2.5px solid var(--flame-ink); border-bottom: 2.5px solid var(--flame-ink); transform: rotate(-45deg); }
.checklist--sm { margin-top: 4px; font-size: 15px; color: var(--ink-2); gap: 8px; }
.mtype--dark .checklist li::before { border-color: var(--amber); }

.meta-boxes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.meta-boxes > div { border: 1px solid var(--navy-line); border-radius: 8px; padding: 10px 16px; display: flex; flex-direction: column; }
.meta-boxes span { font-size: 12px; color: var(--on-dark-2); }
.meta-boxes strong { font-weight: 600; }

.topics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 24px; }
.topics li { display: flex; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); color: var(--ink-2); }
.topics .icon { color: var(--flame-ink); flex: 0 0 auto; margin-top: 3px; }

.outline { list-style: none; margin: 0; padding: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.outline li { display: flex; gap: 20px; flex-wrap: wrap; padding: 18px 22px; border-bottom: 1px solid var(--line-soft); }
.outline li:last-child { border-bottom: 0; }
.outline__when { font-family: var(--font-mono); font-size: 13px; color: var(--blue-ink); font-weight: 600; width: 110px; flex: 0 0 auto; }
.outline__title { display: block; font-weight: 600; }
.outline__text { display: block; font-size: 14px; color: var(--muted); }

.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 16px 20px; }
.faq summary { font-weight: 600; cursor: pointer; min-height: 28px; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

.price { font-family: var(--font-display); font-weight: 700; font-size: 28px; }
.batch-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.batch-list li { display: flex; justify-content: space-between; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.batch-list li > span:first-child { display: flex; flex-direction: column; }
.batch-list__seats { font-size: 12px; font-weight: 600; color: var(--green-ink); white-space: nowrap; }

/* ---------- Membership ---------- */
.mtype { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.mtype--dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.mtype--dark .checklist--sm { color: #E3EAF1; }
.mtype__title { font-size: 24px; font-weight: 700; line-height: 1.25; }
.mtype__text { margin: 0; color: var(--muted); font-size: 15px; }
.mtype--dark .mtype__text { color: var(--on-dark); }
.mtype__btn { margin-top: auto; }
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.process li { border-top: 3px solid var(--pc, var(--flame)); padding-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.process li span:last-child { font-size: 14px; color: var(--muted); }
.process .is-amber { --pc: var(--amber); }
.process .is-blue { --pc: var(--blue); }
.process .is-navy { --pc: var(--navy); }
.process__num { font-family: var(--font-mono); font-size: 13px; color: var(--flame-deep); font-weight: 600; }
.segmented { display: flex; flex-wrap: wrap; border: 1.5px solid var(--navy); border-radius: 8px; overflow: hidden; margin: 0 0 28px; padding: 0; max-width: 640px; }
.segmented label { flex: 1 1 160px; position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; }
.segmented span { display: flex; align-items: center; justify-content: center; min-height: 48px; font-weight: 600; cursor: pointer; background: #fff; color: var(--navy); }
.segmented input:checked + span { background: var(--navy); color: #fff; }
.segmented input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: -3px; }

/* ---------- Forms ---------- */
.form-card { background: var(--ground); border: 1px solid var(--line); border-radius: 12px; padding: clamp(20px, 3vw, 32px); }
.section--white .form-card { background: var(--ground); }
.section:not(.section--white) .form-card { background: var(--white); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px 20px; margin-bottom: 18px; }
.form-grid[hidden] { display: none; }
.form-grid__full { grid-column: 1 / -1; }
.field label, .choice-group legend, .checks legend { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; padding: 0; }
.field .label-mono { font-weight: 600; }
.req { color: var(--flame-ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 0 14px; font-size: 15px; background: #fff; color: var(--ink); }
.field textarea { padding: 12px 14px; resize: vertical; min-height: 110px; }
.field input[type="file"] { padding: 10px 12px; border-style: dashed; background: var(--ground); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 2px solid rgba(26,123,196,.25); }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 8px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin: 8px 0 16px; }
.consent input, .checks input { width: 20px; height: 20px; accent-color: var(--flame-ink); flex: 0 0 auto; margin-top: 2px; }
.checks { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.checks legend { width: 100%; }
.checks label { display: flex; gap: 8px; align-items: center; min-height: 36px; font-size: 15px; }
.choice-group { border: 0; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.choice-group legend { width: 100%; }
.choice { flex: 1 1 240px; display: flex; gap: 12px; align-items: center; min-height: 60px; padding: 12px 16px; border-radius: 8px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; }
.choice input { width: 18px; height: 18px; accent-color: var(--flame-ink); flex: 0 0 auto; }
.choice > span { display: flex; flex-direction: column; }
.choice:has(input:checked) { border-color: var(--flame-ink); background: var(--warm); }
.note { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; font-size: 14px; color: var(--ink-2); }
.notice { border-radius: 8px; padding: 14px 18px; margin-bottom: 20px; font-weight: 500; }
.notice--ok { background: #E6F3EB; color: var(--green-ink); border: 1px solid #BFE0CB; }
.notice--err { background: #FDECEC; color: #9B2222; border: 1px solid #F3C2C2; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.label-mono + select { margin-top: 0; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { color: var(--flame-ink); flex: 0 0 auto; margin-top: 2px; }
.contact-list li > span { display: flex; flex-direction: column; }
.contact-list .label-mono { margin-bottom: 2px; }

/* ---------- Posts ---------- */
.feature-img { margin: 0 0 32px; }
.feature-img img { border-radius: var(--radius); width: 100%; }
.share-row { margin: 32px 0; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 24px; font-weight: 600; }
.post-nav a { text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-dark); font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 64px; padding-bottom: 40px; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: minmax(0, 1fr); } }
.site-footer__logo { background: #fff; border-radius: 8px; padding: 12px 16px; display: inline-block; }
.site-footer__logo img { height: 38px; width: auto; }
.site-footer__brand p { margin: 18px 0 0; font-size: 14px; color: var(--on-dark-2); max-width: 300px; }
.site-footer__title { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: #fff; margin: 0 0 14px; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact .icon { color: var(--flame); flex: 0 0 auto; margin-top: 3px; }
.social { display: flex; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.social a { font-weight: 600; }
.site-footer__bottom { border-top: 1px solid var(--navy-line); }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; padding-bottom: 18px; font-size: 13px; color: #7F97AD; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Mobile tuning ---------- */
@media (max-width: 640px) {
	:root { --gutter: 16px; }
	.person--wide { flex-direction: column; align-items: flex-start; }
	.profile-hero__inner { align-items: flex-start; }
	.portrait--hero { width: 160px; height: 206px; }
	.tilemap { grid-template-rows: repeat(3, 88px); }
	.tilemap__val { font-size: 18px; }
	.vbars { gap: 6px; height: 240px; }
	.vbars__val { font-size: 10px; }
	.pub-row__actions { flex-direction: row; flex-wrap: wrap; width: 100%; }
	.stat-card__num { font-size: 42px; }
	.facts__item { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

@media print {
	.site-header, .site-footer, .btn, .chips--filter, .toolbar { display: none !important; }
	body { background: #fff; }
	.page-hero, .hero, .profile-hero { background: #fff; color: #000; }
}
