/*
 * Credible (CREDIBLE-INVEST-001) — premium corporate-finance design in the CHFL logo palette.
 * Every colour, font, radius and width comes from Theme & Branding (SiteView::themeCss → --c-*),
 * mapped below to the design tokens of the brief (--primary, --secondary, --accent, …).
 * Mobile-first; light and dark theme (html[data-theme="dark"]); motion only when html.motion is set.
 */

/* ───────────── tokens ───────────── */
:root {
  --primary: var(--c-primary, #005050);
  --primary-dark: color-mix(in srgb, var(--primary) 72%, #000);
  --secondary: var(--c-secondary, #409840);
  --accent: var(--c-accent, #70B840);
  --primary-soft: color-mix(in srgb, var(--primary) 8%, #fff);
  --text: var(--c-text, #1F2A2A);
  --muted: var(--c-muted, #5F6F6F);
  --heading: var(--c-heading, #005050);
  --bg: var(--c-bg, #fff);
  --surface: var(--c-surface, #F6FAF8);
  --card: var(--c-card, #fff);
  --border: var(--c-border, #DDE9E5);
  --link: var(--c-link, #005050);
  --on-primary: var(--c-on-primary, #fff);
  /* Buttons: the logo green darkened until white text passes WCAG AA (≈5:1 for #409840). */
  --btn: color-mix(in srgb, var(--secondary) 80%, #000);
  --btn-hover: color-mix(in srgb, var(--secondary) 66%, #000);
  --hl: color-mix(in srgb, var(--secondary) 88%, #000);
  --grad: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 70%, var(--accent) 100%);
  --grad-deep: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, color-mix(in srgb, var(--secondary) 80%, var(--primary)) 100%);
  --r: var(--radius, 16px);
  --r-sm: 10px;
  --shadow-sm: 0 2px 10px -4px color-mix(in srgb, var(--primary) 22%, transparent);
  --shadow-md: 0 14px 34px -18px color-mix(in srgb, var(--primary) 38%, transparent);
  --shadow-lg: 0 30px 60px -28px color-mix(in srgb, var(--primary) 45%, transparent);
  --wrap: var(--container, 1240px);
  --pad: clamp(56px, 8vw, var(--section-pad, 88px));
  --gutter: clamp(16px, 4vw, 32px);
  --font: var(--font-body, Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
  --font-h: var(--font-heading, "Plus Jakarta Sans", var(--font));
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
html[data-theme="dark"] {
  --bg: var(--d-bg, #0B1717);
  --surface: var(--d-surface, #102020);
  --card: var(--d-card, #142727);
  --text: var(--d-text, #E3EEEB);
  --muted: var(--d-muted, #9DB3AE);
  --border: var(--d-border, #244140);
  --heading: #E9F5F1;
  --link: color-mix(in srgb, var(--accent) 80%, #fff);
  --primary-soft: color-mix(in srgb, var(--primary) 30%, var(--bg));
  --hl: var(--accent);
  --shadow-sm: 0 2px 12px -4px rgba(0, 0, 0, .5);
  --shadow-md: 0 14px 34px -18px rgba(0, 0, 0, .7);
  --shadow-lg: 0 30px 60px -28px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

/* ───────────── base ───────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 clamp(15px, .2vw + 14.4px, 16.5px)/1.7 var(--font); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.lang-ne { font-family: var(--font), "Noto Sans Devanagari", "Kalimati Nepali", sans-serif; }
[lang="ne"] { font-family: "Noto Sans Devanagari", "Kalimati Nepali", var(--font); }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--hl); }
h1, h2, h3, h4 { font-family: var(--font-h); color: var(--heading); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.015em; font-weight: 700; }
h1 { font-size: clamp(2rem, 3.6vw + .6rem, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.2vw + .6rem, 2.5rem); }
h3 { font-size: clamp(1.1rem, .5vw + 1rem, 1.3rem); }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 80%, #fff); outline-offset: 2px; border-radius: 6px; }
::selection { background: color-mix(in srgb, var(--accent) 40%, transparent); }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 1000; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }
.container { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(860px + 2 * var(--gutter)); }
.sec { padding: var(--pad) 0; position: relative; }
.sec + .sec:not(.has-bg):not(.tone-soft):not(.tone-gradient):not(.sec-cta):not(.sec-stats) { padding-top: 0; }
.tone-soft, .sec.tone-soft { background: var(--surface); }
.tone-soft + .sec { padding-top: var(--pad) !important; }
.icon { flex: none; vertical-align: middle; }
.muted, .meta { color: var(--muted); }
.meta { font-size: .875rem; }
.lede { font-size: clamp(1.05rem, .4vw + 1rem, 1.2rem); color: var(--muted); }
.empty { padding: 32px; text-align: center; color: var(--muted); background: var(--surface); border-radius: var(--r); border: 1px dashed var(--border); }
main { display: block; min-height: 40vh; }
main:focus { outline: none; }

/* ───────────── buttons, badges, chips ───────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 24px; border-radius: var(--btn-radius, 999px); border: 2px solid transparent; font: 600 .95rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--btn); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { color: #fff; background: var(--grad-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { border-color: color-mix(in srgb, var(--primary) 30%, transparent); color: var(--heading); background: transparent; }
.btn-ghost:hover { border-color: var(--primary); background: var(--primary-soft); color: var(--heading); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: color-mix(in srgb, var(--accent) 22%, #fff); color: var(--primary-dark); transform: translateY(-2px); }
.btn-outline-light { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .14); color: #fff; border-color: #fff; }
.btn-lg { min-height: 54px; padding: 14px 30px; font-size: 1rem; }
.btn-sm { min-height: 38px; padding: 7px 16px; font-size: .875rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--link); }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font: 600 .72rem/1.5 var(--font); letter-spacing: .02em; background: var(--primary-soft); color: var(--heading); white-space: nowrap; }
.badge-new { background: color-mix(in srgb, var(--accent) 25%, #fff); color: #24561f; }
.badge-urgent { background: #FDE8E6; color: #9B2C1F; }
.badge-sample { background: #FFF4D6; color: #6B4F00; }
.badge-status-ongoing { background: #E3F2FD; color: #0B4F8A; }
.badge-status-completed { background: color-mix(in srgb, var(--accent) 25%, #fff); color: #24561f; }
.badge-status-planned { background: #FFF1E0; color: #8A4B00; }
html[data-theme="dark"] .badge { background: color-mix(in srgb, var(--primary) 45%, var(--card)); color: #E3F3EE; }
html[data-theme="dark"] .badge-new, html[data-theme="dark"] .badge-status-completed { background: #24561f; color: #DDF5CF; }
html[data-theme="dark"] .badge-urgent { background: #5B1E17; color: #FFD9D3; }
html[data-theme="dark"] .badge-sample { background: #4A3B10; color: #FFEBB0; }
html[data-theme="dark"] .badge-status-ongoing { background: #123A5C; color: #D4E9FB; }
html[data-theme="dark"] .badge-status-planned { background: #5A3A10; color: #FFE3C2; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 6px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--card); color: var(--text); font-size: .875rem; font-weight: 500; cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--secondary); color: var(--heading); }
.chip[aria-pressed="true"], .chip.is-on { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ───────────── section heads ───────────── */
.sechead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(28px, 4vw, 48px); }
.sechead.center { flex-direction: column; align-items: center; text-align: center; }
.sechead-text { max-width: var(--heading-width, 760px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px; font: 700 .78rem/1.3 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--hl); }
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--grad); }
.sechead-title { margin: 0; }
.sechead-title::after, .bar::after { content: ""; display: block; width: 64px; height: 4px; margin-top: 16px; border-radius: 4px; background: var(--grad); }
.sechead.center .sechead-title::after { margin-left: auto; margin-right: auto; }
.hl { color: var(--hl); }
.sec-intro { max-width: 760px; margin: -16px 0 36px; color: var(--muted); font-size: 1.05rem; }
.sechead.center + .sec-intro { margin-left: auto; margin-right: auto; text-align: center; }

/* ───────────── rising-bar motif (logo) ───────────── */
.motif-bars { position: absolute; pointer-events: none; display: flex; align-items: flex-end; gap: 10px; opacity: .14; }
.motif-bars i { display: block; width: 14px; border-radius: 4px 4px 0 0; background: currentColor; }
.motif-bars i:nth-child(1) { height: 30%; } .motif-bars i:nth-child(2) { height: 48%; } .motif-bars i:nth-child(3) { height: 64%; } .motif-bars i:nth-child(4) { height: 82%; } .motif-bars i:nth-child(5) { height: 100%; }
.motif-line { position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: repeating-linear-gradient(115deg, transparent 0 46px, rgba(255, 255, 255, .06) 46px 47px); }

/* ───────────── top bar ───────────── */
.topbar { background: var(--primary-dark); color: rgba(255, 255, 255, .86); font-size: .82rem; }
.topbar-in { display: flex; align-items: center; gap: 8px 22px; min-height: 40px; flex-wrap: wrap; padding-top: 4px; padding-bottom: 4px; }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar-sp { flex: 1; }
.topbar-social { display: flex; gap: 4px; }
.topbar-social a { width: 28px; height: 28px; justify-content: center; border-radius: 50%; }
.topbar-social a:hover { background: rgba(255, 255, 255, .12); }
.lang-switch { display: inline-flex; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; padding: 2px; }
.lang-switch a { padding: 2px 10px; border-radius: 999px; font-weight: 600; }
.lang-switch a[aria-current="true"] { background: #fff; color: var(--primary); }
@media (max-width: 760px) { .topbar .hide-sm { display: none; } .topbar-in { justify-content: center; } .topbar-sp { display: none; } }

/* ───────────── header ───────────── */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--c-header-bg, var(--bg)); border-bottom: 1px solid transparent; transition: background .3s, box-shadow .3s, border-color .3s; }
html[data-theme="dark"] .site-header { background: var(--d-header, #0E1D1D); }
.site-header.is-scrolled { background: color-mix(in srgb, var(--c-header-bg, #fff) 82%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-color: color-mix(in srgb, var(--border) 70%, transparent); box-shadow: var(--shadow-sm); }
html[data-theme="dark"] .site-header.is-scrolled { background: color-mix(in srgb, var(--d-header, #0E1D1D) 84%, transparent); }
.header-static .site-header { position: relative; }
.header-in { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; max-width: min(340px, 60vw); }
.brand img { height: var(--logo-h, 46px); width: auto; max-width: 100%; object-fit: contain; }
.brand-text { font: 800 1.15rem/1.2 var(--font-h); color: var(--heading); }
html[data-theme="dark"] .brand img.logo-light { filter: brightness(0) invert(1); }
.nav { margin-left: auto; display: none; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border: 0; background: none; font: 600 .92rem/1.2 var(--font); color: var(--c-nav, var(--text)); text-decoration: none; border-radius: 10px; cursor: pointer; position: relative; }
html[data-theme="dark"] .nav-link { color: var(--text); }
.nav-link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-link:hover, .nav-item.is-current > .nav-link { color: var(--c-nav-hover, var(--hl)); }
.nav-item.is-current > .nav-link::after, .nav-link:hover::after { transform: scaleX(1); }
.nav-link .icon { transition: transform .25s; }
.nav-link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, 8px); min-width: 250px; padding: 10px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s; z-index: 70; }
.dropdown.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .2s, transform .25s var(--ease); }
.dropdown ul { list-style: none; margin: 0; padding: 0; }
.dropdown a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--text); text-decoration: none; font-size: .92rem; font-weight: 500; }
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--primary-soft); color: var(--heading); }
.dropdown a .icon { opacity: 0; transform: translateX(-4px); transition: all .2s; }
.dropdown a:hover .icon { opacity: 1; transform: none; }
.mega { width: min(780px, 92vw); padding: 18px; }
.mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.mega a { justify-content: flex-start; align-items: flex-start; gap: 14px; padding: 12px; }
.mega-ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); transition: all .25s; }
html[data-theme="dark"] .mega-ico { color: var(--accent); }
.mega a:hover .mega-ico { background: var(--grad); color: #fff; }
.mega-t { display: block; font-weight: 700; color: var(--heading); font-family: var(--font-h); }
.mega-d { display: block; font-size: .8rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.mega-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 14px 16px; border-radius: 12px; background: var(--grad); color: #fff; }
.mega-foot p { margin: 0; font-weight: 600; font-size: .9rem; }
.mega-foot a { color: #fff; padding: 0; display: inline-flex; gap: 6px; font-weight: 700; }
.mega-foot a:hover { background: none; color: #fff; }
.header-tools { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 50%; background: var(--card); color: var(--heading); cursor: pointer; transition: all .2s; }
.icon-btn:hover { border-color: var(--secondary); color: var(--hl); }
.theme-toggle .i-moon { display: none; }
html[data-theme="dark"] .theme-toggle .i-sun { display: none; }
html[data-theme="dark"] .theme-toggle .i-moon { display: block; }
.header-cta { display: none; }
@media (min-width: 1180px) {
  .nav { display: block; }
  .header-tools { margin-left: 8px; }
  .header-cta { display: inline-flex; }
  .burger { display: none; }
}
@media (max-width: 420px) { .header-tools .theme-toggle { display: none; } .brand { max-width: 56vw; } }

/* ───────────── drawer (off-canvas) ───────────── */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(0, 20, 20, .55); opacity: 0; transition: opacity .3s; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: var(--bg); display: flex; flex-direction: column; gap: 18px; padding: 18px 20px 28px; overflow-y: auto; transform: translateX(100%); transition: transform .35s var(--ease); box-shadow: var(--shadow-lg); }
.drawer.is-open .drawer-scrim { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.drawer-head .brand img { height: 36px; }
.drawer-nav ul { list-style: none; margin: 0; padding: 0; }
.dnav-item { border-bottom: 1px solid var(--border); }
.dnav-row { display: flex; align-items: center; }
.dnav-row a { flex: 1; padding: 14px 4px; font-weight: 600; color: var(--heading); text-decoration: none; }
.dnav-toggle { width: 44px; height: 44px; border: 0; background: none; color: var(--heading); cursor: pointer; display: grid; place-items: center; }
.dnav-toggle .icon { transition: transform .25s; }
.dnav-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.dnav-sub { padding: 0 0 10px 12px !important; }
.dnav-sub a { display: block; padding: 9px 4px; color: var(--muted); text-decoration: none; font-size: .95rem; }
.dnav-sub a[aria-current="page"], .dnav-row a[aria-current="page"] { color: var(--hl); }
.drawer-contact { font-style: normal; display: grid; gap: 10px; font-size: .9rem; }
.drawer-contact a, .drawer-contact span { display: flex; gap: 10px; align-items: center; color: var(--text); text-decoration: none; }
.drawer-tools { display: flex; gap: 10px; align-items: center; }
.drawer-tools .lang-switch { border-color: var(--border); }
.drawer-tools .lang-switch a { color: var(--text); text-decoration: none; }
.drawer-tools .lang-switch a[aria-current="true"] { background: var(--primary); color: #fff; }

/* ───────────── modal / dialogs ───────────── */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; }
.modal-scrim { position: absolute; inset: 0; background: rgba(0, 25, 25, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal-box { position: relative; width: min(640px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--bg); border-radius: 20px; box-shadow: var(--shadow-lg); padding: clamp(22px, 4vw, 36px); animation: pop .3s var(--ease); }
.modal-box.wide { width: min(860px, 100%); }
.modal-close { position: absolute; top: 12px; right: 12px; }
.modal-title { margin-right: 44px; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) { .modal { align-items: end; padding: 0; } .modal-box { border-radius: 20px 20px 0 0; max-height: 92vh; } }

/* search dialog */
.search-box { width: min(720px, 100%); align-self: start; margin-top: 8vh; }
@media (max-width: 600px) { .search-box { align-self: end; margin-top: 0; } }
.search-field { display: flex; align-items: center; gap: 10px; padding: 0 16px; border: 2px solid var(--border); border-radius: 14px; background: var(--card); }
.search-field:focus-within { border-color: var(--secondary); }
.search-field input { flex: 1; min-height: 54px; border: 0; background: none; outline: none; font-size: 1.05rem; }
.search-results { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 4px; max-height: 56vh; overflow: auto; }
.search-results a { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; text-decoration: none; color: var(--text); }
.search-results a:hover, .search-results a:focus { background: var(--primary-soft); }
.search-results strong { display: block; color: var(--heading); }
.search-results small { color: var(--muted); }
.search-kind { flex: none; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 3px 8px; border-radius: 6px; background: var(--primary-soft); color: var(--heading); min-width: 72px; text-align: center; }
.search-empty { color: var(--muted); padding: 12px 4px; margin: 0; }
mark { background: color-mix(in srgb, var(--accent) 35%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }

/* ───────────── floating elements ───────────── */
.float-social { position: fixed; left: 0; top: 50%; transform: translateY(-50%); z-index: 50; display: none; flex-direction: column; gap: 2px; padding: 6px; background: var(--card); border: 1px solid var(--border); border-left: 0; border-radius: 0 14px 14px 0; box-shadow: var(--shadow-md); }
.float-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: var(--primary); transition: all .2s; }
html[data-theme="dark"] .float-social a { color: var(--accent); }
.float-social a:hover { background: var(--grad); color: #fff; transform: translateX(3px); }
@media (min-width: 900px) { .float-social { display: flex; } }
.feedback-tab { position: fixed; right: 0; top: 50%; z-index: 50; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; display: inline-flex; align-items: center; gap: 8px; padding: 16px 10px; border: 0; border-radius: 0 12px 12px 0; background: var(--grad); color: #fff; font: 700 .85rem/1 var(--font); letter-spacing: .06em; cursor: pointer; box-shadow: var(--shadow-md); transition: padding .2s; }
.feedback-tab:hover { padding-right: 14px; }
.feedback-tab .icon { transform: rotate(90deg); }
.fab-stack { position: fixed; right: 16px; bottom: 16px; z-index: 55; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.fab { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; color: #fff; box-shadow: var(--shadow-md); cursor: pointer; transition: transform .25s var(--ease), opacity .25s; text-decoration: none; }
.fab:hover { transform: translateY(-3px); color: #fff; }
.fab-wa { background: #1F9D55; }
.fab-viber { background: #6F4CA5; }
.fab-top { background: var(--primary); width: 46px; height: 46px; opacity: 0; pointer-events: none; transform: translateY(10px); }
.fab-top.is-on { opacity: 1; pointer-events: auto; transform: none; }
@media (max-width: 600px) { .feedback-tab { padding: 12px 8px; font-size: .75rem; } }

/* ───────────── hero slider ───────────── */
.hero { position: relative; padding: 0; color: #fff; background: var(--primary-dark); overflow: hidden; isolation: isolate; }
.hero-track { position: relative; min-height: clamp(520px, 78vh, 760px); }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s .9s; }
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease-out; }
.hero-slide.is-active .hero-media img { transform: scale(1); }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, color-mix(in srgb, var(--primary-dark) 92%, transparent) 0%, color-mix(in srgb, var(--primary) 78%, transparent) 42%, color-mix(in srgb, var(--secondary) 30%, transparent) 75%, transparent 100%); }
.hero-shade::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(0deg, rgba(0, 30, 30, .55), transparent); }
.hero-content { position: relative; max-width: 700px; padding: clamp(72px, 10vh, 110px) 0 clamp(120px, 14vh, 150px); }
.hero .eyebrow { color: color-mix(in srgb, var(--accent) 70%, #fff); }
.hero-title { color: #fff; font-size: clamp(2.1rem, 4.2vw + .6rem, 4rem); line-height: 1.08; margin-bottom: 18px; text-wrap: balance; }
.hero-text { font-size: clamp(1rem, .5vw + .95rem, 1.2rem); color: rgba(255, 255, 255, .9); max-width: 600px; margin-bottom: 30px; }
.hero-slide .hero-content > * { opacity: 0; transform: translateY(22px); }
.hero-slide.is-active .hero-content > * { opacity: 1; transform: none; transition: opacity .7s ease, transform .8s var(--ease); }
.hero-slide.is-active .hero-content > :nth-child(2) { transition-delay: .12s; }
.hero-slide.is-active .hero-content > :nth-child(3) { transition-delay: .24s; }
.hero-slide.is-active .hero-content > :nth-child(4) { transition-delay: .36s; }
.hero-bars { right: clamp(16px, 6vw, 90px); bottom: 0; height: min(46%, 300px); color: var(--accent); opacity: .3; gap: clamp(8px, 1.4vw, 18px); }
.hero-bars i { width: clamp(14px, 2vw, 30px); transform-origin: bottom; }
.motion .hero-bars i { animation: rise 1.6s var(--ease) both; }
.motion .hero-bars i:nth-child(2) { animation-delay: .1s; } .motion .hero-bars i:nth-child(3) { animation-delay: .2s; } .motion .hero-bars i:nth-child(4) { animation-delay: .3s; } .motion .hero-bars i:nth-child(5) { animation-delay: .4s; }
@keyframes rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.hero-arrow { position: absolute; right: clamp(20px, 6vw, 90px); bottom: min(46%, 300px); width: clamp(120px, 18vw, 260px); color: var(--accent); opacity: .55; pointer-events: none; }
.hero-ui { position: absolute; left: 0; right: 0; bottom: clamp(24px, 5vh, 44px); z-index: 3; }
.hero-ui .container { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-dots { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-dot { position: relative; width: 44px; height: 24px; border: 0; padding: 0; background: none; cursor: pointer; }
.hero-dot::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; background: rgba(255, 255, 255, .35); }
.hero-dot span { position: absolute; left: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; background: var(--accent); width: 0; }
.hero-dot[aria-current="true"] span { width: 100%; }
.hero.is-playing .hero-dot[aria-current="true"] span { width: 0; animation: progress var(--hero-interval, 6500ms) linear forwards; }
@keyframes progress { to { width: 100%; } }
.hero-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; transition: all .2s; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero-btn:hover { background: #fff; color: var(--primary); }
.hero-count { margin-left: auto; font: 600 .85rem/1 var(--font); color: rgba(255, 255, 255, .85); letter-spacing: .08em; }
.hero-count b { font-size: 1.4rem; color: #fff; }
@media (max-width: 640px) { .hero-arrow, .hero-count { display: none; } .hero-bars { opacity: .16; } .hero-content { padding-bottom: 130px; } }

/* ───────────── notice ticker ───────────── */
.ticker { background: var(--card); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm); padding: 0; position: relative; z-index: 2; }
.ticker-in { display: flex; align-items: center; gap: 14px; min-height: 58px; }
.ticker-label { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 700; font-size: .85rem; }
.ticker-label .pulse { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); }
.motion .ticker-label .pulse { animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.ticker-window { flex: 1; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-list { display: flex; gap: 48px; width: max-content; list-style: none; margin: 0; padding: 0; }
.motion .ticker-list { animation: marquee var(--ticker-dur, 40s) linear infinite; }
.ticker:hover .ticker-list, .ticker:focus-within .ticker-list { animation-play-state: paused; }
.ticker-list li { white-space: nowrap; display: inline-flex; gap: 10px; align-items: center; }
.ticker-list a { color: var(--text); text-decoration: none; font-weight: 500; }
.ticker-list a:hover { color: var(--hl); }
.ticker-date { color: var(--muted); font-size: .82rem; }
.ticker-all { flex: none; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 640px) { .ticker-all { display: none; } .ticker-label .t { display: none; } }

/* ───────────── stats ───────────── */
.sec-stats.tone-gradient { background: var(--grad-deep); color: #fff; overflow: hidden; padding: clamp(48px, 6vw, 72px) 0; }
.sec-stats .motif-bars { right: 4%; bottom: 0; height: 80%; color: #fff; opacity: .08; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; margin: 0; }
.stat { padding: 18px 22px; display: flex; flex-direction: column; gap: 6px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: rgba(255, 255, 255, .22); }
.stat-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .12); color: color-mix(in srgb, var(--accent) 70%, #fff); margin-bottom: 6px; }
.stat-value { margin: 0; font: 800 clamp(2rem, 2.6vw + 1rem, 2.9rem)/1 var(--font-h); letter-spacing: -.02em; color: #fff; }
.stat-label { color: rgba(255, 255, 255, .82); font-size: .92rem; }
.sec-stats:not(.tone-gradient) .stat-value { color: var(--heading); }
.sec-stats:not(.tone-gradient) .stat-label { color: var(--muted); }
.sec-stats:not(.tone-gradient) .stat-ico { background: var(--primary-soft); color: var(--primary); }
.sec-stats:not(.tone-gradient) .stat + .stat::before { background: var(--border); }
@media (max-width: 600px) { .stats { grid-template-columns: 1fr 1fr; } .stat + .stat::before { display: none; } .stat { padding: 14px 10px; } }

/* ───────────── cards (shared) ───────────── */
.grid { display: grid; gap: clamp(16px, 2vw, 26px); }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.card-hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--secondary) 40%, var(--border)); }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--primary-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card-hover:hover .card-media img { transform: scale(1.06); }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 22px; flex: 1; }
.card-title { margin: 0; font-size: 1.12rem; }
.card-title a { color: inherit; text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-title a:hover { color: var(--hl); }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; }
.card .meta { margin: 0; }
.ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--primary-soft); color: var(--primary); transition: all .35s var(--ease); flex: none; }
html[data-theme="dark"] .ico { color: var(--accent); }
.card-hover:hover .ico { background: var(--grad); color: #fff; transform: rotate(-6deg); }

/* values / icon cards */
.value-card { padding: clamp(22px, 2.5vw, 30px); gap: 14px; }
.value-card h3 { margin: 4px 0 0; }
.value-card p { margin: 0; color: var(--muted); }
.value-card .card-link { margin-top: auto; }
.feature-card { padding: clamp(26px, 3vw, 36px); gap: 14px; background: linear-gradient(180deg, var(--card), color-mix(in srgb, var(--primary-soft) 60%, var(--card))); }
.feature-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); }
.feature-card .ico { width: 64px; height: 64px; border-radius: 20px; background: var(--grad); color: #fff; }
.feature-card p { margin: 0; color: var(--muted); }
.list-cards { display: grid; gap: 14px; }
.list-card { flex-direction: row; gap: 18px; padding: 20px 22px; align-items: flex-start; }
.list-card h3 { margin: 0 0 4px; font-size: 1.05rem; }
.list-card p { margin: 0; color: var(--muted); }
.list-num { font: 800 1.6rem/1 var(--font-h); color: color-mix(in srgb, var(--secondary) 60%, var(--border)); }

/* ───────────── about ───────────── */
.about-grid { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.02fr 1fr; } .about-grid.flip > :first-child { order: 2; } }
.collage { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: auto auto; gap: 14px; padding: 0 0 26px 0; }
.collage-main { grid-row: span 2; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4 / 5; }
.collage-side { border-radius: 18px; overflow: hidden; aspect-ratio: 1 / 1; box-shadow: var(--shadow-sm); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage-badge { position: absolute; left: clamp(-8px, -1vw, 0px); bottom: 0; display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 18px; background: var(--grad); color: #fff; box-shadow: var(--shadow-lg); }
.collage-badge b { font: 800 2rem/1 var(--font-h); }
.collage-badge span { font-size: .8rem; line-height: 1.3; max-width: 110px; opacity: .92; }
.collage .motif-bars { right: -6px; top: -10px; height: 90px; color: var(--secondary); opacity: .35; gap: 6px; }
.collage .motif-bars i { width: 8px; }
.checklist { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.checklist .icon { color: var(--secondary); margin-top: 3px; }
.split-photo { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-md); }
.split-photo img { width: 100%; height: auto; }

/* chairperson quote */
.quote-band { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(26px, 4vw, 52px); border-radius: 26px; background: var(--grad-deep); color: #fff; position: relative; overflow: hidden; }
@media (min-width: 860px) { .quote-band { grid-template-columns: 280px 1fr; } }
.quote-band .motif-bars { right: 4%; bottom: 0; height: 70%; color: #fff; opacity: .07; }
.quote-photo { aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: rgba(255, 255, 255, .1); border: 4px solid rgba(255, 255, 255, .18); display: grid; place-items: center; max-width: 280px; }
.quote-photo img { width: 100%; height: 100%; object-fit: cover; }
.quote-band .eyebrow { color: color-mix(in srgb, var(--accent) 70%, #fff); }
.quote-band .eyebrow::before { background: #fff; }
.quote-band h2 { color: #fff; }
.quote-text { font: 500 clamp(1.15rem, 1vw + .9rem, 1.55rem)/1.5 var(--font-h); margin: 0 0 22px; position: relative; padding-left: 0; }
.quote-mark { color: var(--accent); margin-bottom: 6px; }
.sig { font-family: var(--font-h); }
.sig b { display: block; font-size: 1.1rem; color: #fff; }
.sig span { color: rgba(255, 255, 255, .75); font-size: .9rem; }
.initials-lg { font: 800 3.4rem/1 var(--font-h); color: rgba(255, 255, 255, .85); }

/* chairperson page */
.chair { display: grid; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (min-width: 900px) { .chair { grid-template-columns: 360px 1fr; } .chair-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.chair-photo { aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: var(--grad); display: grid; place-items: center; box-shadow: var(--shadow-lg); }
.chair-photo img { width: 100%; height: 100%; object-fit: cover; }
.chair-sign { margin-top: 18px; }
.chair-sign b { display: block; font: italic 700 1.6rem/1.2 var(--font-h); color: var(--heading); }
.chair-sign span { color: var(--muted); }
.chair .prose p:first-of-type::first-letter { float: left; font: 800 3.6rem/.8 var(--font-h); color: var(--primary); margin: 8px 10px 0 0; }

/* ───────────── services / sectors ───────────── */
.sector-card { padding: 26px; gap: 14px; }
.sector-card h3 { margin: 6px 0 0; }
.sector-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.sector-card .link-arrow { margin-top: auto; position: relative; z-index: 2; }
.sector-card::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--grad); opacity: 0; transition: opacity .35s, transform .5s var(--ease); transform: scale(.4); }
.sector-card:hover::after { opacity: .08; transform: scale(1); }
.sector-photo { aspect-ratio: 4 / 3; }
.sector-photo .ico { position: absolute; left: 18px; bottom: -26px; z-index: 2; background: var(--card); box-shadow: var(--shadow-md); }
.sector-feature .card-body { padding-top: 38px; }

/* ───────────── timeline / process ───────────── */
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: step; position: relative; }
.process-step { position: relative; padding: 24px 22px 22px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r); counter-increment: step; transition: transform .35s var(--ease), box-shadow .35s; }
.process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.process-step::before { content: counter(step, decimal-leading-zero); position: absolute; right: 18px; top: 14px; font: 800 2.2rem/1 var(--font-h); color: color-mix(in srgb, var(--secondary) 22%, transparent); }
.process-step h3 { margin: 14px 0 6px; font-size: 1.08rem; }
.process-step p { margin: 0; color: var(--muted); font-size: .93rem; }
@media (min-width: 980px) {
  .process { grid-template-columns: repeat(var(--steps, 5), 1fr); gap: 16px; }
  .process::before { content: ""; position: absolute; left: 6%; right: 6%; top: 52px; height: 3px; border-radius: 3px; background: var(--grad); opacity: .35; }
  .process-step .ico { position: relative; z-index: 1; }
}
@media (max-width: 979px) {
  .process { padding-left: 26px; }
  .process::before { content: ""; position: absolute; left: 8px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--grad); opacity: .45; }
  .process-step::after { content: ""; position: absolute; left: -24px; top: 34px; width: 13px; height: 13px; border-radius: 50%; background: var(--card); border: 3px solid var(--secondary); }
}

/* ───────────── projects ───────────── */
.project-card .card-media { aspect-ratio: 16 / 11; }
.project-tags { position: absolute; left: 14px; top: 14px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.project-tags .badge { background: rgba(255, 255, 255, .94); color: var(--primary-dark); box-shadow: var(--shadow-sm); }
.project-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .85rem; color: var(--muted); margin: 0; }
.project-meta span { display: inline-flex; align-items: center; gap: 5px; }
.progress { display: grid; gap: 6px; margin-top: 4px; }
.progress-top { display: flex; justify-content: space-between; font-size: .8rem; font-weight: 600; color: var(--muted); }
.progress-bar { height: 8px; border-radius: 8px; background: var(--primary-soft); overflow: hidden; }
.progress-bar span { display: block; height: 100%; border-radius: inherit; background: var(--grad); width: var(--p, 0%); transform-origin: left; }
.motion .is-visible .progress-bar span, .motion .progress-bar.is-visible span { animation: grow 1.4s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } }
.carousel { position: relative; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(100%, 360px); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 4px 22px; margin: -6px -4px 0; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
@media (min-width: 1100px) { .carousel-track { grid-auto-columns: calc((100% - 44px) / 3); } }
@media (max-width: 480px) { .carousel-track { grid-auto-columns: 86%; } }
.carousel-nav { display: flex; gap: 8px; }
.carousel-nav button:disabled { opacity: .4; cursor: default; }

/* toolbar: search, filters, pagination */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 28px; padding: 14px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--border); }
.toolbar .chips { flex: 1 1 100%; }
.tool-search { position: relative; flex: 1 1 240px; }
.tool-search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.tool-search input { width: 100%; min-height: 46px; padding: 10px 14px 10px 42px; border: 1px solid var(--border); border-radius: 12px; background: var(--card); }
.tool-select { min-height: 46px; padding: 8px 36px 8px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%235F6F6F' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center; -webkit-appearance: none; appearance: none; flex: 0 1 200px; }
.tool-search input:focus, .tool-select:focus { border-color: var(--secondary); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--secondary) 20%, transparent); }
.tool-count { margin: 0 0 14px; color: var(--muted); font-size: .88rem; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 32px; flex-wrap: wrap; }
.pager button { min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--card); cursor: pointer; font-weight: 600; }
.pager button[aria-current="page"] { background: var(--primary); color: #fff; border-color: var(--primary); }
.pager button:disabled { opacity: .4; cursor: default; }

/* ───────────── news & notices ───────────── */
.datebadge { flex: none; display: grid; justify-items: center; align-content: center; width: 72px; min-height: 78px; padding: 8px 4px; border-radius: 14px; background: var(--grad); color: #fff; text-align: center; line-height: 1.1; box-shadow: var(--shadow-sm); }
.datebadge b { font: 800 1.6rem/1 var(--font-h); }
.datebadge span { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-top: 3px; }
.datebadge small { font-size: .68rem; opacity: .85; }
.dual { display: inline-flex; flex-wrap: wrap; gap: 2px 10px; font-size: .84rem; color: var(--muted); }
.dual .icon { color: var(--secondary); }
.dual-sec::before { content: "·"; margin-right: 8px; opacity: .6; }
.notice-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.notice-row { position: relative; display: flex; gap: 18px; align-items: flex-start; padding: 18px; border-radius: var(--r); background: var(--card); border: 1px solid var(--border); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.notice-row:hover { transform: translateX(4px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--secondary) 40%, var(--border)); }
.notice-main { flex: 1; min-width: 0; display: grid; gap: 6px; }
.notice-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.notice-title { margin: 0; font-size: 1.05rem; line-height: 1.35; }
.notice-title a { color: var(--heading); text-decoration: none; }
.notice-title a::after { content: ""; position: absolute; inset: 0; }
.notice-title a:hover { color: var(--hl); }
.notice-row .pdf-link { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; }
.notice-go { flex: none; align-self: center; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); transition: all .25s; }
.notice-row:hover .notice-go { background: var(--grad); color: #fff; }
.compact .notice-row { padding: 14px; gap: 14px; }
.compact .datebadge { width: 62px; min-height: 66px; }
.compact .datebadge b { font-size: 1.35rem; }
.compact .notice-go { display: none; }
.news-card .card-media { aspect-ratio: 16 / 9; }
.news-card .datebadge { position: absolute; right: 14px; bottom: -28px; z-index: 2; width: 64px; min-height: 68px; }
.news-card .card-body { padding-top: 26px; }

/* paired sections (notices + news side by side; tabs on phones) */
.pair { padding: var(--pad) 0; }
.pair-tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.pair-grid { display: grid; gap: clamp(28px, 4vw, 48px); }
.pair-grid > .sec { padding: 0 !important; }
.pair-grid > .sec > .container { padding: 0; }
@media (min-width: 980px) { .pair-tabs { display: none; } .pair-grid { grid-template-columns: 1fr 1fr; } .pair-grid > .sec[hidden] { display: block !important; } }
.pair .sechead { margin-bottom: 22px; }

/* ───────────── team ───────────── */
.person { text-align: center; padding: 26px 20px 22px; align-items: center; gap: 4px; }
.person-photo { position: relative; width: 132px; height: 132px; margin-bottom: 14px; border-radius: 50%; padding: 4px; background: var(--grad); }
.person-photo img, .person-photo .initials { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid var(--card); background: var(--primary-soft); }
.initials { display: grid; place-items: center; font: 800 2rem/1 var(--font-h); color: var(--primary); }
html[data-theme="dark"] .initials { color: var(--accent); }
.person-name { margin: 0; font-size: 1.08rem; }
.person-name button { all: unset; cursor: pointer; }
.person-name button::after { content: ""; position: absolute; inset: 0; }
.person-name button:focus-visible { outline: 3px solid var(--accent); }
.person-role { margin: 0; color: var(--hl); font-weight: 600; font-size: .9rem; }
.person .badge-sample { margin-top: 8px; }
.profile-head { display: flex; gap: 20px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.profile-head .person-photo { margin: 0; width: 112px; height: 112px; }
.profile-links { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }

/* ───────────── testimonials ───────────── */
.quotes { position: relative; max-width: 920px; margin: 0 auto; }
.quote-slide { display: none; text-align: center; padding: clamp(28px, 4vw, 48px); background: var(--card); border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow-md); }
.quote-slide.is-active { display: block; animation: fadeup .6s var(--ease); }
@keyframes fadeup { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.quote-slide blockquote { margin: 0 0 22px; font: 500 clamp(1.05rem, .8vw + .9rem, 1.35rem)/1.6 var(--font-h); color: var(--heading); }
.quote-slide .quote-mark { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--grad); color: #fff; margin-bottom: 18px; }
.stars { color: #F2B01E; letter-spacing: 2px; margin-bottom: 10px; }
.quote-who b { display: block; color: var(--heading); }
.quote-who span { color: var(--muted); font-size: .9rem; }
.quote-nav { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 22px; }
.dots { display: flex; gap: 6px; }
.dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: var(--border); cursor: pointer; transition: all .3s; }
.dots button[aria-current="true"] { width: 28px; border-radius: 6px; background: var(--grad); }

/* ───────────── logos ───────────── */
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; list-style: none; margin: 0; padding: 6px 0; }
.motion .marquee-track { animation: marquee var(--marquee-dur, 60s) linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-track.reverse { animation-direction: reverse; margin-top: 18px; }
.logo-tile { display: grid; place-items: center; width: 190px; height: 96px; padding: 14px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--border); transition: all .3s; text-decoration: none; }
.logo-tile img { max-height: 62px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: all .3s; }
.logo-tile:hover { border-color: var(--secondary); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.logo-tile:hover img { filter: none; opacity: 1; }
.logo-tile .logo-name { font: 700 .85rem/1.3 var(--font-h); color: var(--primary); text-align: center; }
.directory { display: grid; gap: 34px; }
.dir-group h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.dir-group h3 .badge { font-size: .75rem; }
.dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.investee { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--border); text-decoration: none; color: var(--text); transition: all .3s var(--ease); }
.investee:hover { border-color: var(--secondary); box-shadow: var(--shadow-md); transform: translateY(-3px); color: var(--heading); }
.investee-logo { flex: none; display: grid; place-items: center; width: 76px; height: 56px; padding: 6px; border-radius: 10px; background: #fff; border: 1px solid var(--border); }
.investee-logo img { max-height: 44px; width: auto; max-width: 100%; object-fit: contain; }
.investee b { display: block; font-size: .92rem; line-height: 1.3; }
.investee small { color: var(--muted); display: inline-flex; gap: 4px; align-items: center; }

/* ───────────── gallery ───────────── */
.masonry { columns: 3 260px; column-gap: 16px; }
.masonry a { position: relative; display: block; margin-bottom: 16px; border-radius: 16px; overflow: hidden; break-inside: avoid; }
.masonry img { width: 100%; transition: transform .7s var(--ease); }
.masonry a::after, .photo-grid a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, color-mix(in srgb, var(--primary) 60%, transparent), transparent 60%); opacity: 0; transition: opacity .3s; }
.masonry a:hover img, .photo-grid a:hover img { transform: scale(1.06); }
.masonry a:hover::after, .photo-grid a:hover::after { opacity: 1; }
.masonry figcaption { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; color: #fff; font-weight: 600; font-size: .9rem; opacity: 0; transform: translateY(8px); transition: all .3s; }
.masonry a:hover figcaption { opacity: 1; transform: none; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.photo-grid a { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.album-card .card-media { aspect-ratio: 4 / 3; }
.album-count { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: inline-flex; gap: 6px; align-items: center; padding: 5px 12px; border-radius: 999px; background: rgba(0, 40, 40, .72); color: #fff; font-size: .8rem; font-weight: 600; }
.video-card { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--primary-dark); }
.video-card button { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; cursor: pointer; background: none; color: #fff; }
.video-card img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: opacity .3s, transform .6s var(--ease); }
.video-card button:hover img { opacity: 1; transform: scale(1.04); }
.video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 10px rgba(255, 255, 255, .18); }
.video-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-title { margin: 12px 0 0; font-weight: 600; color: var(--heading); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 130; background: rgba(4, 18, 18, .94); display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; touch-action: pan-y; }
.lb-figure { margin: 0; display: grid; justify-items: center; gap: 12px; max-height: 100vh; padding: 56px 0 24px; grid-column: 2; }
.lb-figure img { max-height: calc(100vh - 140px); max-width: 100%; width: auto; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lb-figure figcaption { color: #fff; text-align: center; font-size: .95rem; }
.lb-counter { color: rgba(255, 255, 255, .7); font-size: .8rem; display: block; margin-top: 4px; }
.lb-close, .lb-nav { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; }
.lb-close { position: absolute; top: 14px; right: 14px; }
.lb-prev { grid-column: 1; justify-self: center; }
.lb-next { grid-column: 3; justify-self: center; }
@media (max-width: 600px) { .lightbox { grid-template-columns: 0 1fr 0; } .lb-nav { position: absolute; bottom: 18px; } .lb-prev { left: 30%; } .lb-next { right: 30%; } }

/* ───────────── FAQ ───────────── */
.faq-wrap { display: grid; gap: 28px; }
@media (min-width: 980px) { .faq-wrap { grid-template-columns: 300px 1fr; align-items: start; } .faq-side { position: sticky; top: calc(var(--header-h) + 24px); } }
.faq-side .chips { flex-direction: column; align-items: stretch; }
.faq-side .chip { justify-content: space-between; border-radius: 12px; }
.faq-help { margin-top: 18px; padding: 22px; border-radius: var(--r); background: var(--grad); color: #fff; }
.faq-help h3 { color: #fff; }
.faq-help p { color: rgba(255, 255, 255, .85); font-size: .92rem; }
.accordion { display: grid; gap: 12px; }
.acc { border: 1px solid var(--border); border-radius: var(--r); background: var(--card); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.acc[open] { border-color: color-mix(in srgb, var(--secondary) 45%, var(--border)); box-shadow: var(--shadow-md); }
.acc summary { list-style: none; display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 18px 22px; cursor: pointer; font: 700 1rem/1.4 var(--font-h); color: var(--heading); }
.acc summary::-webkit-details-marker { display: none; }
.acc-ico { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); transition: transform .3s var(--ease), background .3s; }
.acc[open] .acc-ico { transform: rotate(45deg); background: var(--grad); color: #fff; }
.acc-body { padding: 0 22px 20px; color: var(--muted); }
.acc-body p:last-child { margin: 0; }
.acc-cat { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--hl); display: block; margin-bottom: 4px; font-family: var(--font); }

/* ───────────── CTA ───────────── */
.sec-cta { padding: clamp(40px, 6vw, 72px) 0; }
.cta-box { position: relative; overflow: hidden; display: grid; gap: 24px; align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: 28px; background: var(--grad); color: #fff; box-shadow: var(--shadow-lg); isolation: isolate; }
@media (min-width: 900px) { .cta-box { grid-template-columns: 1.4fr auto; } }
.cta-box::before { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .07); z-index: -1; }
.cta-box .motif-bars { left: 46%; bottom: 0; height: 70%; color: #fff; opacity: .08; z-index: -1; }
.cta-box h2 { color: #fff; margin-bottom: 10px; }
.cta-box .hl { color: color-mix(in srgb, var(--accent) 45%, #fff); }
.cta-box p { color: rgba(255, 255, 255, .88); margin: 0; max-width: 620px; }
.cta-box .eyebrow { color: #fff; }
.cta-box .eyebrow::before { background: #fff; }

/* ───────────── contact & forms ───────────── */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; margin-bottom: clamp(32px, 4vw, 48px); }
.contact-card { padding: 24px; gap: 10px; }
.contact-card h3 { margin: 6px 0 0; font-size: 1.05rem; }
.contact-card p, .contact-card a { margin: 0; color: var(--muted); font-size: .95rem; word-break: break-word; }
.contact-card a { color: var(--link); text-decoration: none; font-weight: 600; }
.open-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; width: max-content; }
.open-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.open-pill.is-open { background: color-mix(in srgb, var(--accent) 25%, #fff); color: #24561f; }
.open-pill.is-closed { background: #FDE8E6; color: #9B2C1F; }
.contact-grid { display: grid; gap: clamp(28px, 4vw, 48px); }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 1fr 1.4fr; } }
.contact-aside { padding: clamp(26px, 3vw, 36px); border-radius: 24px; background: var(--grad-deep); color: #fff; position: relative; overflow: hidden; }
.contact-aside h2, .contact-aside h3 { color: #fff; }
.contact-aside p { color: rgba(255, 255, 255, .85); }
.contact-aside .motif-bars { right: 18px; bottom: 0; height: 40%; color: #fff; opacity: .1; }
.hours-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.hours-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .15); font-size: .92rem; }
.form-card { padding: clamp(22px, 3vw, 36px); border-radius: 24px; background: var(--c-form-bg, var(--card)); border: 1px solid var(--border); box-shadow: var(--shadow-md); }
html[data-theme="dark"] .form-card { background: var(--card); }
.form-title { margin-bottom: 18px; }
.form { display: grid; gap: 16px; }
@media (min-width: 640px) { .form.two { grid-template-columns: 1fr 1fr; } .form.two .span-2 { grid-column: span 2; } }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 600; font-size: .88rem; color: var(--heading); }
.req { color: #C0392B; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--secondary); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--secondary) 20%, transparent); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #C0392B; }
.field-error { color: #B03A2E; font-size: .8rem; margin: 0; }
html[data-theme="dark"] .field-error, html[data-theme="dark"] .req { color: #FF9C8F; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.chip-check { position: relative; }
.chip-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-check span { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg); cursor: pointer; font-size: .88rem; font-weight: 500; transition: all .2s; }
.chip-check input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; }
.chip-check input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 0; font-size: .8rem; color: var(--muted); }
.form-off { padding: 18px; border-radius: 12px; background: var(--surface); color: var(--muted); }
/* toasts */
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 140; display: grid; gap: 10px; width: min(480px, calc(100% - 32px)); }
.toast { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 14px; background: var(--primary-dark); color: #fff; box-shadow: var(--shadow-lg); animation: fadeup .35s var(--ease); font-size: .93rem; }
.toast.is-error { background: #8E2A1E; }
.toast .icon { margin-top: 2px; }

/* map */
.map-frame { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 21 / 8; min-height: 300px; background: var(--grad-deep); display: grid; place-items: center; text-align: center; color: #fff; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-frame .motif-line { opacity: 1; }
.map-cta { position: relative; display: grid; gap: 12px; justify-items: center; padding: 24px; }
.map-cta p { margin: 0; color: rgba(255, 255, 255, .85); font-size: .9rem; }

/* documents */
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.doc { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--r); background: var(--card); border: 1px solid var(--border); transition: all .3s var(--ease); flex-wrap: wrap; }
.doc:hover { box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--secondary) 40%, var(--border)); }
.doc-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #FDECEA; color: #B03A2E; flex: none; }
html[data-theme="dark"] .doc-ico { background: #4A1F1A; color: #FFB4A8; }
.doc-main { flex: 1; min-width: 200px; }
.doc-main b { display: block; color: var(--heading); }
.doc-actions { display: flex; gap: 8px; }

/* ───────────── page banner & breadcrumbs ───────────── */
.page-banner { position: relative; overflow: hidden; background: var(--grad-deep); color: #fff; padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 7vw, 88px); isolation: isolate; }
.page-banner .banner-img { position: absolute; inset: 0; z-index: -2; }
.page-banner .banner-img img { width: 100%; height: 100%; object-fit: cover; opacity: .28; mix-blend-mode: luminosity; }
.page-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, color-mix(in srgb, var(--primary-dark) 90%, transparent), color-mix(in srgb, var(--primary) 55%, transparent) 60%, color-mix(in srgb, var(--secondary) 40%, transparent)); }
.page-banner .motif-bars { right: clamp(16px, 6vw, 90px); bottom: 0; height: 75%; color: var(--accent); opacity: .22; gap: clamp(8px, 1vw, 14px); }
.page-banner .motif-bars i { width: clamp(12px, 1.6vw, 24px); }
.page-banner h1 { color: #fff; margin: 0 0 12px; max-width: 900px; text-wrap: balance; }
.page-banner .lede { color: rgba(255, 255, 255, .86); max-width: 720px; margin: 0; }
.page-banner .eyebrow { color: color-mix(in srgb, var(--accent) 65%, #fff); }
.page-banner .eyebrow::before { background: #fff; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; font-size: .85rem; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .75); }
.crumbs li + li::before { content: "/"; opacity: .5; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ───────────── content + sidebar ───────────── */
.with-sidebar { padding: var(--pad) 0; }
.with-sidebar-in { display: grid; gap: clamp(28px, 4vw, 48px); }
@media (min-width: 1024px) { .with-sidebar-in { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } .sidebar { position: sticky; top: calc(var(--header-h) + 24px); } }
.with-sidebar .sec { padding: 0 0 clamp(32px, 4vw, 48px) !important; }
.with-sidebar .sec > .container { padding: 0; max-width: none; }
.sidebar { display: grid; gap: 20px; }
.widget { padding: 22px; border-radius: 20px; background: var(--card); border: 1px solid var(--border); }
.widget-title { font-size: 1.05rem; margin-bottom: 14px; }
.side-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.side-links a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 500; font-size: .93rem; }
.side-links a:hover, .side-links a[aria-current="page"] { background: var(--primary-soft); color: var(--heading); }
.side-links a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--secondary); }
.widget-contact { background: var(--grad-deep); color: #fff; border: 0; }
.widget-contact .widget-title { color: #fff; }
.widget-contact a, .widget-contact p { display: flex; gap: 10px; align-items: center; color: rgba(255, 255, 255, .9); text-decoration: none; margin: 0 0 10px; font-size: .92rem; }
.widget .form { gap: 12px; }
.widget .field input, .widget .field textarea { min-height: 44px; }
.widget .field textarea { min-height: 90px; }

/* ───────────── prose (rich text) ───────────── */
.prose { font-size: 1.02rem; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.4rem, 1.4vw + .8rem, 1.9rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose ul li::marker { color: var(--secondary); }
.prose img { border-radius: 16px; margin: 1.4em 0; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.prose blockquote { margin: 1.4em 0; padding: 18px 22px; border-left: 4px solid var(--secondary); background: var(--surface); border-radius: 0 14px 14px 0; font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--border); text-align: left; }
.prose th { background: var(--surface); }
.html-figure { float: right; width: min(42%, 340px); margin: 4px 0 18px 28px; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-md); }
@media (max-width: 700px) { .html-figure { float: none; width: 100%; margin: 0 0 20px; } }

/* ───────────── record pages ───────────── */
.article { display: grid; gap: clamp(28px, 4vw, 48px); }
@media (min-width: 1024px) { .article { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } .article-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.article-figure { margin: 0 0 28px; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 16 / 9; background: var(--primary-soft); }
.article-figure img { width: 100%; height: 100%; object-fit: cover; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-bottom: 18px; }
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--border); }
.share-label { font-weight: 700; color: var(--heading); margin-right: 6px; font-size: .9rem; }
.share a, .share button { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border); background: var(--card); color: var(--heading); cursor: pointer; transition: all .2s; }
.share a:hover, .share button:hover { background: var(--grad); color: #fff; border-color: transparent; }
.attach { display: grid; gap: 12px; margin-top: 28px; }
.attach-title { font-size: 1.05rem; }
.pdf-preview { width: 100%; aspect-ratio: 3 / 4; max-height: 80vh; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.facts { width: 100%; border-collapse: collapse; }
.facts th, .facts td { padding: 12px 0; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; font-size: .93rem; }
.facts th { color: var(--muted); font-weight: 500; width: 46%; padding-right: 12px; }
.facts td { color: var(--heading); font-weight: 600; }
.related { margin-top: clamp(40px, 5vw, 64px); }
.highlights { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.highlights li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); font-weight: 500; }
.highlights .icon { color: var(--secondary); margin-top: 2px; }
.sector-hero { position: relative; }
.sector-hero .ico { width: 72px; height: 72px; border-radius: 22px; background: rgba(255, 255, 255, .14); color: #fff; margin-bottom: 18px; }
.career-list { display: grid; gap: 14px; }
.career { display: grid; gap: 10px; padding: 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--border); position: relative; transition: all .3s var(--ease); }
@media (min-width: 760px) { .career { grid-template-columns: 1fr auto; align-items: center; } }
.career:hover { box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--secondary) 40%, var(--border)); }
.career h3 { margin: 0; }
.career h3 a { color: var(--heading); text-decoration: none; }
.career h3 a::after { content: ""; position: absolute; inset: 0; }
.not-found { text-align: center; padding: clamp(80px, 12vw, 140px) 0; }
.nf-code { font: 800 clamp(6rem, 18vw, 12rem)/1 var(--font-h); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0; }

/* ───────────── footer ───────────── */
.site-footer { position: relative; background: var(--c-footer-bg, var(--primary)); color: var(--c-footer-text, #D3E6E1); overflow: hidden; margin-top: 0; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); }
.site-footer .motif-bars { right: 3%; bottom: 60px; height: 220px; color: #fff; opacity: .05; gap: 16px; }
.site-footer .motif-bars i { width: 32px; }
.footer-news { position: relative; padding: clamp(32px, 4vw, 44px) 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-news-in { display: grid; gap: 18px; align-items: center; }
@media (min-width: 900px) { .footer-news-in { grid-template-columns: 1fr 1.1fr; } }
.footer-news h2 { color: #fff; font-size: clamp(1.3rem, 1vw + 1rem, 1.7rem); margin: 0 0 4px; }
.footer-news p { margin: 0; color: rgba(255, 255, 255, .75); }
.news-form { display: flex; gap: 8px; flex-wrap: wrap; }
.news-form input[type="email"] { flex: 1 1 220px; min-height: 52px; padding: 12px 20px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; }
.news-form input::placeholder { color: rgba(255, 255, 255, .6); }
.news-form input:focus { outline: none; border-color: var(--accent); background: rgba(255, 255, 255, .12); }
.footer-grid { position: relative; display: grid; gap: 34px; padding: clamp(44px, 6vw, 72px) 0 clamp(32px, 4vw, 48px); grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; } }
.footer-logo { display: inline-block; padding: 12px 16px; border-radius: 14px; background: #fff; margin-bottom: 18px; max-width: 300px; }
.footer-logo img { height: 40px; width: auto; }
.footer-name { font: 800 1.2rem/1.3 var(--font-h); color: #fff; }
.footer-text { font-size: .93rem; color: inherit; opacity: .9; }
.footer-h { color: #fff; font-size: 1.05rem; margin: 0 0 18px; }
.footer-h::after { content: ""; display: block; width: 36px; height: 3px; margin-top: 10px; border-radius: 3px; background: var(--grad); }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-list a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; font-size: .93rem; transition: color .2s, transform .2s; }
.footer-list a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: .7; }
.footer-list a:hover { color: #fff; transform: translateX(3px); }
.footer-contact { font-style: normal; display: grid; gap: 12px; font-size: .93rem; }
.footer-contact p { margin: 0; display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { margin-top: 3px; color: var(--accent); }
.footer-contact a { color: inherit; text-decoration: none; }
.footer-contact a:hover { color: #fff; }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; transition: all .25s; }
.footer-social a:hover { background: var(--grad); transform: translateY(-3px); }
.footer-bottom { position: relative; background: var(--primary-dark); font-size: .85rem; }
.footer-bottom-in { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: #fff; }
.footer-legal { list-style: none; display: flex; gap: 16px; margin: 0; padding: 0; }
.site-footer .btn-primary { background: #fff; color: var(--primary); }
.site-footer .btn-primary:hover { background: var(--accent); color: var(--primary-dark); }

/* ───────────── popups (Banners) ───────────── */
.promo-img { width: 100%; border-radius: 14px; margin: 14px 0; }

/* ───────────── motion ───────────── */
/* Scroll rise-in as Xelwel Corporate: site.js tags every block, reveals it a moment after it enters
   the viewport, then removes data-reveal so hover lifts and transitions work again. */
.motion [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform 1s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--d, 0s); will-change: opacity, transform; }
.motion [data-reveal="zoom"] { transform: translateY(24px) scale(.97); }
.motion [data-reveal="left"] { transform: translateX(-40px); }
.motion [data-reveal="right"] { transform: translateX(40px); }
.motion [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.respect-motion *, html.respect-motion *::before, html.respect-motion *::after { animation: none !important; transition: none !important; }
  html.respect-motion [data-reveal] { opacity: 1 !important; transform: none !important; }
}
.capture [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ───────────── responsive niceties ───────────── */
.hide-mobile { } @media (max-width: 640px) { .hide-mobile { display: none !important; } }
@media (min-width: 641px) and (max-width: 1023px) { .hide-tablet { display: none !important; } }
@media (min-width: 1024px) { .hide-desktop { display: none !important; } }
.sec-unsupported { padding: 24px 0; }
.sec-unsupported p { padding: 16px; border: 2px dashed #E0A800; border-radius: 12px; background: #FFF8E1; color: #6B4F00; }

/* ───────────── print ───────────── */
@media print {
  .topbar, .site-header, .drawer, .float-social, .feedback-tab, .fab-stack, .site-footer, .share, .sidebar, .article-aside, .toolbar, .pager, .ticker, .hero-ui, .modal, .lightbox { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .page-banner { background: none !important; color: #000; padding: 0 0 12pt; }
  .page-banner h1, .page-banner .lede, .crumbs li { color: #000 !important; }
  .page-banner::after, .page-banner .banner-img, .motif-bars { display: none; }
  .sec { padding: 12pt 0; }
  a { color: #000; }
  .article, .with-sidebar-in { display: block; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
.pair-panel > .sec { padding: 0 !important; }
.pair-panel > .sec > .container { padding: 0; max-width: none; }
.anchor-target { display: block; position: relative; top: calc(-1 * var(--header-h)); }
.quote-band .quote-mark { display: block; }
.quote-band .badge-sample { margin-left: 6px; }
/* refinements after visual review */
.nav-link { white-space: nowrap; padding: 10px 9px; font-size: .9rem; }
@media (min-width: 1180px) and (max-width: 1360px) { .brand { max-width: 250px; } .header-in { gap: 12px; } .nav-link { padding: 10px 7px; font-size: .86rem; } }
.stat-value { font-size: clamp(1.8rem, 1.4vw + 1.1rem, 2.6rem); white-space: nowrap; }
.cols-grid { display: grid; gap: clamp(16px, 2vw, 26px); grid-template-columns: repeat(auto-fill, minmax(max(var(--min, 260px), calc((100% - (var(--cols, 3) - 1) * 26px) / var(--cols, 3))), 1fr)); }
@media (max-width: 700px) { .cols-grid { grid-template-columns: 1fr; } }
@media (min-width: 1180px) and (max-width: 1520px) {
  .header-in { gap: 10px; }
  .brand { max-width: 262px; }
  .nav-link { padding: 10px 7px; font-size: .86rem; }
  .header-cta { padding: 9px 16px; min-height: 42px; font-size: .88rem; }
  .header-tools .icon-btn { width: 40px; height: 40px; }
}
.nav { min-width: 0; }
.page-banner + .sec, .hero + .sec, .ticker + .sec, .sec-stats + .sec, .sec-cta + .sec, .page-banner + .anchor-target + .sec { padding-top: var(--pad) !important; }
.widget-contact .btn-light { color: var(--primary); justify-content: center; margin: 0; display: inline-flex; }
.widget-contact .btn-light:hover { color: var(--primary-dark); }
.hero + .ticker, .sec.ticker { padding: 0 !important; }
@media (max-width: 640px) {
  .hero-ui [data-hero-prev], .hero-ui [data-hero-next] { display: none; }
  .hero-ui .container { flex-wrap: nowrap; }
  .hero-dots { gap: 4px; flex-wrap: nowrap; }
  .hero-dot { width: 22px; }
  .ticker-label { padding: 8px 12px; }
}
.brand .logo-dark { display: none; }
html[data-theme="dark"] .brand .logo-dark { display: block; }
html[data-theme="dark"] .brand .has-dark { display: none; }
html[data-theme="dark"] .brand img.logo-plain { filter: brightness(0) invert(1); opacity: .95; }
html[data-theme="dark"] .drawer-head .brand img { filter: brightness(0) invert(1); }

/* ───────────── v1.1.0 — Change Guide components ───────────── */
/* KPI cards (homepage snapshot, capital structure, financial highlights) */
.stats.kpi { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.stats.kpi .stat { padding: 22px; border-radius: var(--r); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); gap: 4px; }
.stats.kpi .stat + .stat::before { display: none; }
.sec-stats:not(.tone-gradient) .stats.kpi .stat { background: var(--card); border-color: var(--border); box-shadow: var(--shadow-sm); }
.stat-label-top { font-weight: 600; font-size: .9rem; margin: 0 0 2px; color: rgba(255, 255, 255, .85); }
.sec-stats:not(.tone-gradient) .stat-label-top { color: var(--muted); }
.stat-pending { font-size: clamp(1.3rem, 1vw + 1rem, 1.7rem) !important; opacity: .75; letter-spacing: 0; }
.stat-caption { margin: 0; font-size: .8rem; opacity: .75; }
.sec-stats:not(.tone-gradient) .stat-caption { color: var(--muted); }
.stats-foot { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: center; margin: 20px 0 0; font-size: .85rem; opacity: .9; }
.stats-foot span { display: inline-flex; align-items: center; gap: 6px; }
.sec-stats:not(.tone-gradient) .stats-foot { color: var(--muted); justify-content: flex-start; }
.kpi-sec .sechead-title::after { background: var(--accent); }
.tone-gradient .sechead-title, .tone-gradient .eyebrow { color: #fff; }
.tone-gradient .eyebrow::before { background: #fff; }
@media (max-width: 600px) { .stats.kpi { grid-template-columns: 1fr 1fr; gap: 10px; } .stats.kpi .stat { padding: 14px; } }

/* Sector allocation donut */
.alloc { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (min-width: 860px) { .alloc { grid-template-columns: minmax(240px, 360px) 1fr; } }
.alloc-chart { position: relative; margin: 0 auto; width: min(100%, 340px); }
.alloc-chart svg { width: 100%; height: auto; transform: rotate(0deg); }
.motion .alloc-chart svg circle + circle { animation: dash 1.4s var(--ease) both; }
@keyframes dash { from { stroke-dasharray: 0 100; } }
.alloc-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.alloc-center b { font: 800 clamp(2.2rem, 3vw + 1rem, 3rem)/1 var(--font-h); color: var(--heading); }
.alloc-center span { color: var(--muted); font-size: .85rem; }
.alloc-legend { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 4px; }
.alloc-legend li { display: grid; grid-template-columns: 14px 1fr auto 52px; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--card); }
.alloc-dot { width: 14px; height: 14px; border-radius: 4px; }
.alloc-name a { color: var(--heading); text-decoration: none; font-weight: 600; }
.alloc-name a:hover { color: var(--hl); }
.alloc-count { font-weight: 700; color: var(--heading); }
.alloc-pct { color: var(--muted); text-align: right; font-size: .9rem; }
.alloc-basis { font-size: .85rem; color: var(--muted); margin: 0 0 18px; }

/* Portfolio company cards */
.company-grid { display: grid; gap: clamp(14px, 1.6vw, 22px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.company-card { padding: 0; }
.company-logo { display: grid; place-items: center; height: 120px; padding: 18px 24px; background: #fff; border-bottom: 1px solid var(--border); }
.company-logo img { max-height: 76px; max-width: 100%; width: auto; object-fit: contain; transition: transform .5s var(--ease); }
.company-card:hover .company-logo img { transform: scale(1.05); }
.company-card .card-body { padding: 18px 20px 20px; gap: 6px; }
.company-card .card-title { font-size: 1.02rem; }
.company-desc { font-size: .88rem; }
.company-tags { margin-top: auto; padding-top: 6px; }
.badge-stage-under-construction, .badge-stage-under-development { background: #FFF1E0; color: #8A4B00; }
.badge-stage-operating, .badge-stage-cod { background: color-mix(in srgb, var(--accent) 25%, #fff); color: #24561f; }
.badge-stage-expansion { background: #E3F2FD; color: #0B4F8A; }
.badge-plain { background: transparent; border: 1px solid var(--border); color: var(--muted); }
.toolbar .tool-select { flex: 1 1 170px; }
.banner-logo { display: inline-grid; place-items: center; padding: 14px 22px; margin-bottom: 18px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-md); }
.banner-logo img { max-height: 64px; max-width: 220px; width: auto; }

/* Vertical timeline */
.vtimeline { list-style: none; margin: 0; padding: 0 0 0 30px; position: relative; display: grid; gap: 18px; }
.vtimeline::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--grad); opacity: .5; }
.vt-item { position: relative; padding: 20px 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--border); }
.vt-dot { position: absolute; left: -29px; top: 26px; width: 17px; height: 17px; border-radius: 50%; background: var(--card); border: 4px solid var(--secondary); }
.vt-item.is-pending .vt-dot { border-color: var(--border); border-style: dashed; }
.vt-date { margin: 0 0 4px; font: 700 .82rem/1.3 var(--font); color: var(--hl); text-transform: uppercase; letter-spacing: .06em; display: inline-flex; gap: 6px; align-items: center; }
.vt-item.is-pending .vt-date { color: var(--muted); }
.vt-item h3 { margin: 0 0 6px; font-size: 1.08rem; }
.vt-item .meta { margin: 0 0 8px; }

/* Document library table */
.doc-table { border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; background: var(--card); }
.doc-head, .doc-row { display: grid; grid-template-columns: minmax(0, 2.6fr) .8fr 1.1fr 1.3fr auto; gap: 14px; align-items: center; padding: 14px 18px; }
.doc-head { background: var(--surface); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.doc-row { border-top: 1px solid var(--border); font-size: .92rem; transition: background .2s; }
.doc-row:hover { background: var(--primary-soft); }
.doc-title { display: flex; gap: 12px; align-items: center; min-width: 0; }
.doc-title b { color: var(--heading); }
.doc-row .doc-ico { width: 40px; height: 40px; }
@media (max-width: 860px) {
  .doc-head { display: none; }
  .doc-row { grid-template-columns: 1fr; gap: 6px; }
  .doc-row [data-label]::before { content: attr(data-label) ": "; color: var(--muted); font-size: .8rem; }
}

/* Editorial callout, consent, board tags */
.callout { margin: 0 0 22px; padding: 16px 18px; border-radius: 14px; border: 1px solid #F0D48A; background: #FFF8E1; color: #5C4300; font-size: .95rem; }
.callout p { margin: 0; }
html[data-theme="dark"] .callout { background: #3B300F; border-color: #6B5820; color: #FFE9A8; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; cursor: pointer; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--secondary); flex: none; }
.consent.has-error, .field.has-error .consent { color: #B03A2E; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 8px 0 0; }
.person-exp { margin: 6px 0 0; font-size: .85rem; }
.person-more { margin-top: 12px; border: 0; background: none; cursor: pointer; font: 600 .88rem/1 var(--font); position: relative; z-index: 2; }
.person-name { position: static; }
@media (min-width: 900px) { .stats.kpi { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1480px) { .header-cta { display: none !important; } }
@media (min-width: 1180px) and (max-width: 1280px) { .nav-link { font-size: .82rem; padding: 10px 6px; } .brand { max-width: 220px; } }
/* 7 top-level menus (Annex #65): full nav from 1280px, drawer below */
@media (max-width: 1279px) { .nav { display: none !important; } .burger { display: inline-grid !important; } }
@media (min-width: 1280px) {
  .header-in { gap: 8px; }
  .brand { max-width: 236px; }
  .nav-link { font-size: .84rem; padding: 10px 6px; gap: 2px; }
  .header-tools { gap: 4px; margin-left: 4px; }
  .header-tools .icon-btn { width: 38px; height: 38px; }
}
/* Header fit (js/site.js fitHeader): the nav never shrinks under its labels; JS drops the CTA,
   then switches to the drawer, when the row would overflow at the current width / language. */
.nav-list { flex-wrap: nowrap; }
.site-header.fit-no-cta .header-cta { display: none !important; }
.site-header.fit-burger .nav { display: none !important; }
.site-header.fit-burger .burger { display: inline-grid !important; }
.site-header.fit-burger .header-tools { margin-left: auto; }
/* The header row is wider than the 1240px content column: 7 top-level menus + tools + CTA. */
.site-header > .container { max-width: calc(var(--header-wrap, 1480px) + 2 * var(--gutter)); }
/* Team · settings.lead_first: chair alone on the first row, the others centred below */
.team-lead, .team-rows { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(16px, 2vw, 26px); }
.team-lead { margin-bottom: clamp(18px, 2.4vw, 30px); }
.team-lead > .person { flex: 0 1 340px; }
.team-lead .person-photo { width: 156px; height: 156px; }
.team-rows > .person { flex: 0 1 270px; }
@media (max-width: 600px) { .team-lead > .person, .team-rows > .person { flex-basis: 100%; } }
