/* ═══════════════════════════════════════════════════════════════
   Ganeshjal Cooperative — Application stylesheet
   Clean fintech direction: white-first, a single accent, hairline
   borders, 10px radii. No gradients, no shadows, no pattern fills.

   This file replaces the legacy style.css entirely. It sits on top of
   the Bootstrap grid (container/row/col) and Font Awesome, and owns
   everything else: base, typography, chrome, and all components.
═══════════════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  /* Surfaces — neutrals warmed very slightly toward green so white sits
     comfortably beside the cooperative palette rather than reading cold. */
  --bg:          #FFFFFF;
  --bg-sub:      #F6FAF7;
  --bg-inset:    #EDF3EF;
  --line:        #DFE9E3;
  --line-strong: #C6D5CC;

  /* Ink — near-black with a green cast */
  --ink:         #0E1F17;
  --ink-mid:     #45564D;
  --ink-soft:    #5E7168;   /* darkened to clear 4.5:1 on both --bg and --bg-sub */

  /* Primary: cooperative green, taken from the logo family */
  --accent:      #1A7A4C;
  --accent-ink:  #12603A;
  --accent-wash: #E7F3EC;
  --accent-deep: #0B4A2C;
  --accent-soft: #A8CFB9;   /* lighter green, for the second series in a split bar */

  /* Secondary: harvest gold — green's complement and the traditional
     cooperative pairing. Used sparingly for emphasis, never for body text. */
  --gold:        #B07A12;
  --gold-ink:    #8A5F0E;
  --gold-wash:   #FBF2DF;
  --gold-soft:   #E3C88A;   /* lighter gold, paired with --gold in charts */

  /* Tertiary: the logo's blue, for the occasional third data series */
  --blue:        #1B5E8C;
  --blue-wash:   #E6EFF6;

  /* Deep navy band — currently the homepage About section */
  --navy:        #044087;

  /* Status colours — used by the contact-form alerts */
  --pos:         #1A7A4C;
  --pos-wash:    #E7F3EC;
  --neg:         #A6402C;
  --neg-wash:    #FAEEEB;

  /* Type */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-np: 'Noto Sans Devanagari', 'Inter', sans-serif;

  /* Shape & motion */
  --r:     10px;
  --r-sm:  8px;
  --r-pill: 999px;
  --ease:  cubic-bezier(.4, 0, .2, 1);

  /* Rhythm */
  --section-y: 88px;
}

/* ── Base ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

:where(h1, h2, h3, h4, h5, h6) {
  margin: 0 0 .5em;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(30px, 4vw, 46px); }
h2 { font-size: clamp(24px, 2.8vw, 34px); }
h3 { font-size: 20px; letter-spacing: -.01em; }
h4 { font-size: 17px; letter-spacing: -.01em; }

p { margin: 0 0 1em; color: var(--ink-mid); }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
li { color: var(--ink-mid); margin-bottom: .35em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.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: -9999px; top: 0; z-index: 1000;
  background: var(--ink); color: #fff !important;
  padding: 12px 20px; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* Devanagari runs need their own face — Inter has no coverage. */
.gj-np, [lang="ne"] { font-family: var(--font-np); }

/* Tabular figures: essential for aligned money columns. */
.gj-num, .gj-kpi-value, .is-num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.container { max-width: 1180px; }

/* Bootstrap columns are flex items, which default to min-width:auto — so a
   wide child (a financial table) stretches the column instead of scrolling
   inside it, and the whole page gains a horizontal scrollbar on mobile. */
.row > [class*="col-"] { min-width: 0; }

/* ── Section rhythm ─────────────────────────────────────────── */
.gj-section { padding: var(--section-y) 0; }
.gj-section--tint { background: var(--bg-sub); }
.gj-section--dark { background: var(--accent-deep); }
.gj-section--dark,
.gj-section--dark p,
.gj-section--dark li,
.gj-section--dark h1, .gj-section--dark h2, .gj-section--dark h3 { color: #fff; }
.gj-section--dark p, .gj-section--dark li { color: rgba(255,255,255,.72); }

/* Adjacent same-tone sections would read as one block — collapse the seam.
   Sections with their own background keep their padding, or the content
   would sit flush against the top edge of the colour band. */
.gj-section + .gj-section:not(.gj-section--tint):not(.gj-section--dark):not(.gj-about) { padding-top: 0; }

/* ── Section heading ────────────────────────────────────────── */
.gj-shead { max-width: 660px; margin: 0 auto 52px; text-align: center; }
.gj-shead--left { text-align: left; margin-left: 0; }
.gj-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.gj-shead h2 { margin: 0 0 12px; }
.gj-shead p { font-size: 16.5px; color: var(--ink-soft); margin: 0; }
.gj-shead-line { display: none; } /* legacy decorative rule — flat design drops it */
.gj-section--dark .gj-eyebrow { color: var(--gold); }

/* ── Buttons ────────────────────────────────────────────────── */
.gj-cta, .gj-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font);
  font-size: 15px; font-weight: 600; line-height: 1;
  padding: 13px 22px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  text-decoration: none !important;
  cursor: pointer;
  white-space: nowrap;
  transition: background .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease);
}
.gj-cta--primary, .gj-btn-solid { background: var(--accent); color: #fff !important; }
.gj-cta--primary:hover, .gj-btn-solid:hover { background: var(--accent-ink); }

.gj-cta--outline, .gj-btn-outline {
  background: transparent; color: var(--ink) !important; border-color: var(--line-strong);
}
.gj-cta--outline:hover, .gj-btn-outline:hover { border-color: var(--ink); background: var(--bg-sub); }

.gj-cta--ghost { background: transparent; color: var(--ink) !important; border-color: var(--line-strong); }
.gj-cta--ghost:hover { background: var(--bg-sub); border-color: var(--ink); }

.gj-btn { padding: 11px 18px; font-size: 14px; }

/* ── Top utility bar ────────────────────────────────────────── */
.gj-topbar {
  background: var(--bg-sub);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.gj-topbar-inner {
  max-width: 1180px; margin: 0 auto; padding: 9px 20px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.gj-topbar-left, .gj-topbar-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.gj-topbar-date, .gj-topbar-contact {
  color: var(--ink-soft) !important; text-decoration: none !important;
  display: inline-flex; align-items: center; gap: 7px;
}
.gj-topbar-contact:hover { color: var(--ink) !important; }
.gj-topbar-date i, .gj-topbar-contact i { color: var(--accent); font-size: 12px; }

.gj-topbar-social { display: flex; gap: 14px; }
.gj-topbar-social a {
  color: var(--ink-soft) !important; font-size: 13px;
  display: inline-flex; align-items: center;
}
.gj-topbar-social a:hover { color: var(--accent) !important; }

.gj-lang { display: flex; gap: 2px; padding-left: 16px; border-left: 1px solid var(--line-strong); }
.gj-lang a {
  color: var(--ink-soft) !important; font-size: 12px; font-weight: 600;
  padding: 3px 9px; border-radius: var(--r-sm); text-decoration: none !important;
}
.gj-lang a.active, .gj-lang a:hover { background: var(--accent-wash); color: var(--accent-ink) !important; }

/* ── Main header ────────────────────────────────────────────── */
.gj-mainheader { background: var(--bg); border-bottom: 1px solid var(--line); }
.gj-mainheader-inner {
  max-width: 1180px; margin: 0 auto; padding: 18px 20px;
  display: flex; align-items: center; gap: 18px;
}
.gj-logo-link { flex-shrink: 0; }
.gj-logo-img { height: 54px; width: auto; object-fit: contain; }
.gj-logo-placeholder {
  width: 48px; height: 48px; border-radius: var(--r-sm);
  background: var(--accent-wash); color: var(--accent);
  display: grid; place-items: center; font-size: 20px;
}
.gj-org-identity { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.gj-org-name {
  font-size: 19px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25;
  color: var(--ink) !important; text-decoration: none !important;
}
.gj-org-location, .gj-org-tagline { font-size: 13px; color: var(--ink-soft); }
.gj-org-location i { color: var(--accent); font-size: 11px; margin-right: 5px; }
.gj-org-tagline { display: none; } /* tagline lives in the hero now, not the chrome */

.gj-header-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* ── Primary navigation ─────────────────────────────────────── */
.ngo-navbar-wrap { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 90; }
.ngo-navbar-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 20px;
}
.ngo-nav-brand { display: none; }

.ngo-nav-menu-wrap ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.ngo-nav-menu-wrap li { position: relative; margin: 0; }
.ngo-nav-menu-wrap a {
  display: block; padding: 15px 14px;
  font-size: 14.5px; font-weight: 500; color: var(--ink-mid) !important;
  text-decoration: none !important;
  border-bottom: 2px solid transparent;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}
.ngo-nav-menu-wrap a:hover { color: var(--ink) !important; }
.ngo-nav-menu-wrap .current-menu-item > a,
.ngo-nav-menu-wrap .current_page_item > a,
.ngo-nav-menu-wrap .current-menu-parent > a {
  color: var(--accent-ink) !important; border-bottom-color: var(--accent);
}

/* Dropdowns.
   The navwalker emits Bootstrap 4 markup — a <div class="dropdown-menu"> with
   data-toggle (not data-bs-toggle) — so Bootstrap 5's JS never binds it. The
   menu is therefore opened by CSS on hover/focus, which also keeps it keyboard
   reachable. .sub-menu is matched too, for menus rendered by the WP default walker. */
.ngo-nav-menu-wrap .dropdown-menu,
.ngo-nav-menu-wrap .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 230px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
  padding: 6px; margin: 0; list-style: none;
  display: none; z-index: 100;
}
.ngo-nav-menu-wrap li:hover > .dropdown-menu,
.ngo-nav-menu-wrap li:focus-within > .dropdown-menu,
.ngo-nav-menu-wrap li.open > .dropdown-menu,
.ngo-nav-menu-wrap li:hover > .sub-menu,
.ngo-nav-menu-wrap li:focus-within > .sub-menu,
.ngo-nav-menu-wrap li.open > .sub-menu { display: block; }

.ngo-nav-menu-wrap .dropdown-menu a,
.ngo-nav-menu-wrap .dropdown-item,
.ngo-nav-menu-wrap .sub-menu a {
  display: block; padding: 10px 12px; border-radius: var(--r-sm);
  border-bottom: 0; font-size: 14px; color: var(--ink-mid) !important; white-space: nowrap;
}
.ngo-nav-menu-wrap .dropdown-menu a:hover,
.ngo-nav-menu-wrap .dropdown-item:hover,
.ngo-nav-menu-wrap .sub-menu a:hover { background: var(--bg-sub); color: var(--ink) !important; }

/* Caret on parent items. */
.ngo-nav-menu-wrap .dropdown-toggle::after {
  content: ""; display: inline-block; margin-left: 7px; vertical-align: middle;
  border: solid currentColor; border-width: 0 1.5px 1.5px 0;
  padding: 2.5px; transform: rotate(45deg) translateY(-2px);
}

.ngo-nav-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.ngo-search-btn, .ngo-hamburger {
  width: 38px; height: 38px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--bg); color: var(--ink-mid);
  display: grid; place-items: center; font-size: 15px; cursor: pointer;
  transition: border-color .16s var(--ease), background .16s var(--ease);
}
.ngo-search-btn:hover, .ngo-hamburger:hover { border-color: var(--ink); background: var(--bg-sub); }

/* The hamburger is three spans, not an icon font. */
.ngo-hamburger { display: none; flex-direction: column; gap: 4px; padding: 0; }
.ngo-hamburger span {
  display: block; width: 16px; height: 2px; border-radius: 2px;
  background: var(--ink);
  transition: transform .18s var(--ease), opacity .18s var(--ease);
}
.ngo-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.ngo-hamburger.open span:nth-child(2) { opacity: 0; }
.ngo-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── Search overlay ─────────────────────────────────────────── */
.gj-search {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: flex-start; justify-content: center;
  padding: clamp(16px, 10vh, 120px) 20px 20px;
}
.gj-search[hidden] { display: none; }

/* Both children are visible in their base state, and the entrance animation is
   purely additive. Gating visibility on a transition means a dropped frame
   leaves the overlay invisible while it still covers the page. */
.gj-search-scrim {
  position: absolute; inset: 0;
  background: rgba(14, 31, 23, .45);
}
.gj-search-panel {
  position: relative; width: 100%; max-width: 620px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden;
}

/* Transform only — never opacity. A paused animation pins its from-state, and
   an opacity keyframe would hold the panel invisible; a pinned 8px offset is
   harmless by comparison. */
@media (prefers-reduced-motion: no-preference) {
  .gj-search.is-open .gj-search-panel { animation: gjSearchPanelIn .18s var(--ease); }
}
@keyframes gjSearchPanelIn { from { transform: translateY(-8px); } }

/* Field row */
.gj-search-form { display: flex; align-items: center; gap: 12px; padding: 6px 14px 6px 18px; }
.gj-search-icon { color: var(--ink-soft); font-size: 16px; flex: 0 0 auto; }
.gj-search-input {
  flex: 1 1 auto; min-width: 0;
  border: 0; outline: none; background: transparent;
  font-family: var(--font); font-size: 18px; color: var(--ink);
  padding: 16px 0;
}
.gj-search-input::placeholder { color: var(--ink-soft); }
/* Hide the browser's native clear button so the field reads as one control. */
.gj-search-input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }

.gj-search-dismiss {
  flex: 0 0 auto; border: 0; background: none; padding: 0; cursor: pointer;
  line-height: 1;
}
.gj-search-dismiss kbd {
  font-family: var(--font); font-size: 11px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--ink-soft);
  background: var(--bg-inset); border: 1px solid var(--line);
  border-radius: 5px; padding: 4px 7px;
}
.gj-search-dismiss:hover kbd { color: var(--ink); border-color: var(--line-strong); }

/* Shortcut list */
.gj-search-quick { border-top: 1px solid var(--line); padding: 14px 18px 16px; background: var(--bg-sub); }
.gj-search-quick-label {
  display: block; font-size: 11px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 10px;
}
.gj-search-quick ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gj-search-quick li { margin: 0; }
.gj-search-quick a {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; color: var(--ink-mid) !important;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 7px 13px;
  text-decoration: none !important;
  transition: border-color .16s var(--ease), color .16s var(--ease);
}
.gj-search-quick a:hover { border-color: var(--ink); color: var(--ink) !important; }
.gj-search-quick a i { color: var(--accent); font-size: 12px; }

@media (max-width: 575px) {
  .gj-search { padding-top: 12px; }
  .gj-search-form { padding-left: 14px; }
  .gj-search-input { font-size: 16px; padding: 14px 0; }
}

/* ── Page hero (inner pages) — flat, no gradient or curve ───── */
.gj-hero-banner {
  background: var(--bg-sub);
  border-bottom: 1px solid var(--line);
  padding: 56px 0;
}
.gj-hero-banner-img, .gj-hero-banner-pattern { display: none; }
.gj-hero-banner-inner { max-width: 1180px; }

.gj-hero-banner .gj-breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  list-style: none; margin: 0 0 18px; padding: 0;
  font-size: 13px; color: var(--ink-soft);
}
.gj-hero-banner .gj-breadcrumb a { color: var(--ink-soft); }
.gj-hero-banner .gj-breadcrumb a:hover { color: var(--accent-ink); }
.gj-hero-banner .gj-breadcrumb .sep { color: var(--line-strong); }

.gj-hero-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); background: none; border: 0; padding: 0;
  margin-bottom: 10px;
}
.gj-hero-banner h1 { margin: 0 0 14px; font-size: clamp(28px, 3.6vw, 42px); }
.gj-hero-banner-sub { font-size: 17px; color: var(--ink-soft); max-width: 640px; margin: 0; }
.gj-hero-banner-sub .gj-np { display: block; font-size: 15.5px; color: var(--ink-soft); margin-bottom: 4px; }

/* ── Homepage hero ──────────────────────────────────────────── */
.gj-hero { position: relative; background: var(--bg); border-bottom: 1px solid var(--line); overflow: hidden; }
.gj-hero::after, .gj-hero-pattern { display: none; }
.gj-hero-inner { position: relative; z-index: 2; padding: 96px 0 84px; }
.gj-hero .gj-eyebrow { color: var(--accent); }
.gj-hero h1 { margin: 0 0 20px; color: var(--ink); max-width: 20ch; }
.gj-hero p { font-size: 18px; line-height: 1.6; color: var(--ink-soft); max-width: 56ch; margin: 0 0 32px; }
.gj-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Background photography, when supplied, sits behind a white scrim so the
   type keeps its contrast without a gradient. */
.gj-hero-bgslider { position: absolute; inset: 0; z-index: 0; opacity: .16; }
.gj-hero-bgslider, .gj-hero-bgslider .carousel-inner, .gj-hero-bgslider .carousel-item { height: 100%; }
.gj-hero-slide { position: relative; height: 100%; }
.gj-hero-slide::before { display: none; }
.gj-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.gj-hero .carousel-control-prev, .gj-hero .carousel-control-next { display: none; }

.gj-hero-trust {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  list-style: none; margin: 40px 0 0; padding: 24px 0 0;
  border-top: 1px solid var(--line);
}
.gj-hero-trust li {
  display: flex; align-items: center; gap: 9px;
  font-size: 14px; color: var(--ink-mid); margin: 0;
}
.gj-hero-trust i { color: var(--accent); font-size: 14px; }

/* ── Cards ──────────────────────────────────────────────────── */
.gj-card, .gj-vm-card, .gj-service-card, .gj-news-card, .gj-contact-card, .gj-panel {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
  height: 100%;
  transition: border-color .16s var(--ease);
}
.gj-vm-card { border-top: 1px solid var(--line); }
.gj-vm-card h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.gj-vm-card h3 i { color: var(--accent) !important; font-size: 17px; }
.gj-vm-card.is-mission h3 i, .gj-vm-card.is-values h3 i { color: var(--accent) !important; }

.gj-service-card { display: block; text-decoration: none !important; padding: 0; overflow: hidden; }
.gj-service-card:hover { border-color: var(--ink); text-decoration: none !important; }
.gj-service-brand-media, .gj-service-media {
  background: var(--bg-inset); aspect-ratio: 16/9;
  display: grid; place-items: center; overflow: hidden;
}
.gj-service-brand-media img, .gj-service-media img { width: 100%; height: 100%; object-fit: cover; }
.gj-service-brand-ico, .gj-service-media-ico { font-size: 26px; color: var(--accent); }
.gj-service-brand-peaks, .gj-service-top-bar { display: none; }
.gj-service-brand-bar, .gj-service-body { padding: 22px; }
.gj-service-card h3 { font-size: 17px; margin: 0 0 8px; color: var(--ink) !important; }
.gj-service-card p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }
.gj-service-more {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 16px;
  font-size: 14px; font-weight: 600; color: var(--accent-ink);
}

.gj-news-card { padding: 0; overflow: hidden; }
.gj-news-card:hover { border-color: var(--ink); }
.gj-news-thumb { display: block; aspect-ratio: 16/10; background: var(--bg-inset) center/cover no-repeat; }
.gj-news-body { padding: 20px; }
.gj-news-card h3 { font-size: 16px; margin: 8px 0 0; }
.gj-news-card h3 a { color: var(--ink) !important; }
.gj-news-date { font-size: 12.5px; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 6px; }

/* Simple list rows */
.gj-why-item, .gj-chip, .gj-dl {
  display: flex; align-items: center; gap: 11px;
  padding: 15px 18px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--bg); font-size: 14.5px; color: var(--ink-mid);
  text-decoration: none !important; height: 100%;
}
.gj-why-item i, .gj-dl .gj-dl-ico { color: var(--accent); font-size: 15px; }
.gj-dl:hover { border-color: var(--ink); }
.gj-chip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.gj-chip { background: transparent; border-color: rgba(255,255,255,.16); color: rgba(255,255,255,.86); }
.gj-chip i { color: var(--gold); }

.gj-list { list-style: none; padding: 0; margin: 0; }
.gj-list li { position: relative; padding: 7px 0 7px 26px; color: var(--ink-mid); margin: 0; }
.gj-list li::before {
  content: ""; position: absolute; left: 4px; top: 16px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

/* ── Mobile banking ─────────────────────────────────────────── */
.gj-mb-main { margin-top: 4px; }

/* Phone — a hairline device outline, never a drop-shadowed render. */
.gj-mb-phone {
  position: relative;
  width: 100%; max-width: 292px; margin: 0 auto;
  padding: 12px; background: var(--bg);
  border: 1px solid var(--line-strong); border-radius: 30px;
}
.gj-mb-phone-notch {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 74px; height: 5px; border-radius: var(--r-pill);
  background: var(--line-strong); z-index: 2;
}
.gj-mb-screen {
  border-radius: 20px; overflow: hidden; background: var(--bg-inset);
  aspect-ratio: 9 / 17;
}
.gj-mb-screen img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Built-in preview, used until a screenshot is uploaded. */
.gj-mb-mock { display: flex; flex-direction: column; height: 100%; background: var(--bg); }
.gj-mb-mock-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 26px 16px 14px; background: var(--accent-deep); color: #fff;
  font-size: 12.5px; font-weight: 600;
}
.gj-mb-mock-bar span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gj-mb-mock-bar i { font-size: 12px; opacity: .85; }
.gj-mb-mock-balance {
  margin: 12px 12px 6px; padding: 13px 14px;
  background: var(--accent-wash); border-radius: var(--r-sm);
}
.gj-mb-mock-balance small { display: block; font-size: 10.5px; color: var(--accent-ink); letter-spacing: .04em; text-transform: uppercase; }
.gj-mb-mock-balance strong { font-size: 17px; color: var(--ink); letter-spacing: -.02em; }
.gj-mb-mock-label {
  display: block; padding: 6px 14px 0;
  font-size: 8.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft);
}
.gj-mb-mock-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); align-content: start;
  gap: 6px; padding: 8px 12px 14px;
}
.gj-mb-mock-tile {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 9px 3px; border: 1px solid var(--line); border-radius: 7px;
  background: var(--bg);
}
.gj-mb-mock-tile i { font-size: 13px; color: var(--accent); }
.gj-mb-mock-tile em {
  font-style: normal; font-size: 7.5px; line-height: 1.25; text-align: center;
  color: var(--ink-soft);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.gj-mb-mock-nav {
  margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr);
  align-items: center; padding: 9px 10px 13px; border-top: 1px solid var(--line);
}
.gj-mb-mock-nav span { display: grid; place-items: center; font-size: 11px; color: var(--ink-soft); }
.gj-mb-mock-nav .is-on { color: var(--accent); }
.gj-mb-mock-scan i {
  display: grid; place-items: center; width: 26px; height: 26px;
  border-radius: 50%; background: var(--accent); color: #fff; font-size: 11px;
}

/* Pitch column */
.gj-mb-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px; border-radius: var(--r-pill);
  background: var(--accent-wash); color: var(--accent-ink);
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.gj-mb-badge i { font-size: 12px; }
.gj-mb-appname { margin: 16px 0 6px; font-size: clamp(22px, 2.4vw, 28px); }
.gj-mb-tagline { font-size: 15.5px; color: var(--ink-soft); margin: 0 0 26px; }

.gj-mb-feats {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px;
}
.gj-mb-feats li { display: flex; align-items: flex-start; gap: 12px; margin: 0; }
.gj-mb-feats i {
  flex: 0 0 34px; height: 34px; display: grid; place-items: center;
  border-radius: var(--r-sm); background: var(--accent-wash);
  color: var(--accent-ink); font-size: 14px;
}
.gj-mb-feats strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.gj-mb-feats em { display: block; font-style: normal; font-size: 13px; color: var(--ink-soft); margin-top: 2px; }

.gj-mb-stores { display: flex; flex-wrap: wrap; gap: 12px; }
.gj-mb-store {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 18px; border: 1px solid var(--ink);
  border-radius: var(--r); background: var(--ink); color: #fff !important;
  text-decoration: none !important; transition: background .2s var(--ease), border-color .2s var(--ease);
}
.gj-mb-store:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.gj-mb-store > i:first-child { font-size: 22px; }
.gj-mb-store span { display: flex; flex-direction: column; font-size: 15px; font-weight: 600; line-height: 1.2; }
.gj-mb-store small { font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; opacity: .72; }
.gj-mb-store-dl { font-size: 13px; opacity: .6; }

.gj-mb-note {
  display: flex; align-items: flex-start; gap: 9px;
  margin: 18px 0 0; font-size: 13px; line-height: 1.55; color: var(--ink-soft);
}
.gj-mb-note i { color: var(--accent); font-size: 13px; margin-top: 2px; }

/* Other channels */
.gj-mb-channels { margin-top: 44px; }
.gj-mb-channel {
  display: block; height: 100%; padding: 24px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
  text-decoration: none !important;
}
a.gj-mb-channel:hover { border-color: var(--ink); }
.gj-mb-channel-ico {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: var(--r-sm); background: var(--accent-wash);
  color: var(--accent-ink); font-size: 16px; margin-bottom: 14px;
}
.gj-mb-channel h3 { font-size: 17px; margin: 0 0 8px; }
.gj-mb-channel p { font-size: 14.5px; color: var(--ink-soft); margin: 0 0 14px; }
.gj-mb-channel-tag {
  display: inline-block; padding: 4px 11px; border-radius: var(--r-pill);
  background: var(--bg-inset); color: var(--ink-mid);
  font-size: 12.5px; font-weight: 600;
}

@media (max-width: 991.98px) {
  .gj-mb-phone { margin-bottom: 8px; }
}
@media (max-width: 575.98px) {
  .gj-mb-feats { grid-template-columns: 1fr; gap: 12px; }
  .gj-mb-stores .gj-mb-store { width: 100%; }
}

/* ── CTA banner ─────────────────────────────────────────────── */
.gj-ctabanner {
  background: var(--accent-deep); border-radius: var(--r);
  padding: 56px 32px; text-align: center;
}
.gj-ctabanner h2 { color: #fff !important; margin: 0 0 10px; }
.gj-ctabanner p { color: rgba(255,255,255,.68) !important; margin: 0 0 26px; }
.gj-ctabanner .gj-cta--primary { background: var(--accent); }
.gj-ctabanner .gj-cta--outline, .gj-ctabanner .gj-cta--ghost {
  color: #fff !important; border-color: rgba(255,255,255,.32);
}
.gj-ctabanner .gj-cta--outline:hover, .gj-ctabanner .gj-cta--ghost:hover {
  background: rgba(255,255,255,.08); border-color: #fff;
}

/* ── Financial: KPI cards ───────────────────────────────────── */
/* Fixed three-up on desktop: auto-fit gave five columns and left the sixth
   indicator orphaned on its own row. */
.gj-kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 991px) { .gj-kpi-grid { grid-template-columns: repeat(2, 1fr); } }
.gj-kpi {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px; transition: border-color .16s var(--ease);
}
.gj-kpi::before { display: none; } /* accent bar belongs to the old language */
.gj-kpi:hover { border-color: var(--line-strong); }
.gj-kpi-head { margin-bottom: 16px; }
.gj-kpi-ico { display: none; }
.gj-kpi-label { font-size: 13.5px; font-weight: 500; color: var(--ink-soft); line-height: 1.4; }
.gj-kpi-label-np { display: block; font-family: var(--font-np); font-size: 12.5px; color: var(--ink-soft); opacity: .8; }
.gj-kpi-value { font-size: 32px; font-weight: 700; letter-spacing: -.035em; line-height: 1; color: var(--ink); }
.gj-kpi-unit { font-size: 14px; font-weight: 600; color: var(--ink-soft); margin-left: 5px; letter-spacing: 0; }
.gj-kpi-foot {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line);
}
.gj-kpi-prev { font-size: 12.5px; color: var(--ink-soft); }

  display: inline-flex; align-items: center;
  font-variant-numeric: tabular-nums;
  font-size: 12.5px; font-weight: 600; line-height: 1;
  padding: 5px 9px; border-radius: var(--r-sm); white-space: nowrap;
}

/* ── Financial: data tables ─────────────────────────────────── */
.gj-dtable-wrap {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
}
.gj-dtable-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; min-width: 0; }
/* The caption sits outside the scrolling table box, so it must wrap rather
   than inherit the table's min-width. */
.gj-dtable-wrap { max-width: 100%; }
.gj-dtable { width: 100%; min-width: 640px; border-collapse: collapse; margin: 0; }
.gj-dtable caption {
  caption-side: top; text-align: left; padding: 22px 22px 16px;
  font-size: 16px; font-weight: 600; letter-spacing: -.01em; color: var(--ink);
}
.gj-dtable caption small {
  display: block; font-family: var(--font-np); font-size: 13px;
  font-weight: 400; color: var(--ink-soft); margin-top: 3px;
}
.gj-dtable thead th {
  background: var(--bg-sub); color: var(--ink-soft);
  font-size: 11.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  text-align: left; padding: 11px 22px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.gj-dtable td, .gj-dtable tbody th {
  padding: 13px 22px; font-size: 14.5px; color: var(--ink-mid);
  border-bottom: 1px solid var(--line); vertical-align: middle;
  text-align: left; font-weight: 400;
}
.gj-dtable tbody th[scope="row"] { min-width: 240px; color: var(--ink); }
.gj-dtable tbody tr:last-child td, .gj-dtable tbody tr:last-child th { border-bottom: 0; }
.gj-dtable .is-num { text-align: right; white-space: nowrap; color: var(--ink); }
.gj-dtable tr.is-emphasis td, .gj-dtable tr.is-emphasis th { font-weight: 600; color: var(--ink); }
.gj-dtable tr.is-total td, .gj-dtable tr.is-total th { background: var(--bg-sub); }
.gj-dtable tfoot td {
  background: var(--bg-inset); color: var(--ink); font-weight: 700;
  font-size: 15px; padding: 15px 22px; border-top: 1px solid var(--line-strong); border-bottom: 0;
}
.gj-dtable-note {
  padding: 15px 22px; margin: 0; font-size: 12.5px; line-height: 1.6;
  color: var(--ink-soft); background: var(--bg-sub); border-top: 1px solid var(--line);
}
.gj-row-label-np {
  display: block; font-family: var(--font-np); font-size: 12.5px;
  font-weight: 400; color: var(--ink-soft); margin-top: 2px;
}

/* ── Panels, legends, split bars ────────────────────────────── */
.gj-panel-title { font-size: 16px; font-weight: 600; color: var(--ink); margin: 0 0 3px; }
.gj-panel-sub { font-family: var(--font-np); font-size: 13px; color: var(--ink-soft); margin: 0 0 20px; }
.gj-splitbar { display: flex; height: 6px; border-radius: var(--r-pill); overflow: hidden; background: var(--bg-inset); margin-bottom: 18px; }
.gj-splitbar span { display: block; height: 100%; }
.gj-legend { list-style: none; margin: 0; padding: 0; }
.gj-legend li {
  display: flex; align-items: baseline; gap: 10px;
  padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; margin: 0;
}
.gj-legend li:last-child { border-bottom: 0; }
.gj-legend .gj-dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 8px; transform: translateY(-1px); }
.gj-legend .gj-legend-label { display: block; flex: 1 1 auto; color: var(--ink-mid); }
.gj-legend .gj-legend-value { font-weight: 600; color: var(--ink); }

.gj-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 500; padding: 6px 12px;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--bg); color: var(--ink-soft);
}
.gj-badge i { color: var(--accent); }

/* ── Prose & forms ──────────────────────────────────────────── */
.gj-prose p { font-size: 16.5px; line-height: 1.75; color: var(--ink-mid); margin: 0 0 18px; }
.gj-prose h2, .gj-prose h3 { color: var(--ink); margin: 32px 0 14px; }
.gj-prose ul { list-style: none; padding: 0; }
.gj-prose ul li { position: relative; padding: 7px 0 7px 26px; color: var(--ink-mid); }
.gj-prose ul li::before {
  content: ""; position: absolute; left: 4px; top: 17px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

.gj-form label { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 7px; }
.gj-form .form-control, .gj-form input, .gj-form textarea, .gj-form select {
  width: 100%; font-family: var(--font); font-size: 15px;
  padding: 12px 14px; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  transition: border-color .16s var(--ease);
}
.gj-form .form-control:focus, .gj-form input:focus, .gj-form textarea:focus {
  border-color: var(--accent); outline: none; box-shadow: none;
}
.gj-alert { border-radius: var(--r-sm); padding: 14px 18px; font-size: 14.5px; margin-bottom: 20px; border: 1px solid; }
.gj-alert-success { background: var(--pos-wash); color: var(--pos); border-color: color-mix(in srgb, var(--pos) 28%, #fff); }
.gj-alert-error { background: var(--neg-wash); color: var(--neg); border-color: color-mix(in srgb, var(--neg) 28%, #fff); }

/* width must stay definite: the contact template adds Bootstrap's .h-100, and
   with only an aspect-ratio the browser derives width from height and overflows
   the column. */
.gj-map {
  width: 100%; max-width: 100%;
  min-height: 320px;
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
}
.gj-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.gj-map-placeholder { display: grid; place-items: center; height: 100%; background: var(--bg-sub); color: var(--ink-soft); font-size: 14px; text-align: center; padding: 20px; }

.gj-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.gj-gallery-item {
  position: relative; display: block; aspect-ratio: 4/3; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-inset);
}
.gj-gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gj-gallery-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 12px 14px; font-size: 13px; color: #fff;
  background: rgba(11,15,13,.72);
}

.gj-notice-list { list-style: none; padding: 0; margin: 0; }
.gj-notice-list li {
  display: flex; gap: 12px; padding: 15px 0;
  border-bottom: 1px solid var(--line); margin: 0;
}
.gj-notice-list li:last-child { border-bottom: 0; }
.gj-notice-ico { color: var(--accent); font-size: 13px; padding-top: 4px; }
.gj-notice-list a { color: var(--ink) !important; font-size: 14.5px; font-weight: 500; display: block; }
.gj-notice-list a:hover { color: var(--accent-ink) !important; }

.gj-ci { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.gj-ci:last-of-type { border-bottom: 0; }
.gj-ci i { color: var(--accent); font-size: 15px; padding-top: 4px; }
.gj-ci strong { display: block; font-size: 14px; color: var(--ink); font-weight: 600; }
.gj-ci span, .gj-ci a { font-size: 14.5px; color: var(--ink-soft); }

/* Inverted surfaces (kept for any dark panel) */
.gj-invert, .gj-invert p, .gj-invert li, .gj-invert h1, .gj-invert h2, .gj-invert h3 { color: #fff !important; }
.gj-invert p, .gj-invert li { color: rgba(255,255,255,.72) !important; }

/* ── Services carousel ──────────────────────────────────────── */
.gj-svc-carousel { position: relative; }
.gj-svc-track {
  display: flex; gap: 20px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: 4px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.gj-svc-track::-webkit-scrollbar { display: none; }
.gj-svc-slide { flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start; }

.gj-service-card--brand {
  display: flex; flex-direction: column; height: 100%;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; text-decoration: none !important;
  transition: border-color .16s var(--ease);
}
.gj-service-card--brand:hover { border-color: var(--ink); }
.gj-service-card--brand .gj-service-brand-media {
  position: relative; aspect-ratio: 16/9; background: var(--bg-inset);
  display: grid; place-items: center;
}
.gj-service-card--brand .gj-service-brand-media img { width: 100%; height: 100%; object-fit: cover; }
.gj-service-brand-bar { padding: 20px; }
.gj-service-brand-bar h3 { font-size: 16.5px; margin: 0 0 6px; color: var(--ink) !important; }
.gj-service-brand-bar p { font-size: 14px; color: var(--ink-soft); margin: 0; }

.gj-svc-nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 20px; }
.gj-svc-arrow {
  width: 38px; height: 38px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--bg); color: var(--ink-mid);
  display: grid; place-items: center; cursor: pointer; font-size: 13px;
  transition: border-color .16s var(--ease), background .16s var(--ease);
}
.gj-svc-arrow:hover { border-color: var(--ink); background: var(--bg-sub); color: var(--ink); }

/* ── Leadership messages ────────────────────────────────────── */
.gj-chair-grid { align-items: stretch; }
.gj-chair {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; height: 100%;
}
.gj-chair .row { height: 100%; margin: 0; }
.gj-chair .row > [class*="col-"] { padding: 0; }
.gj-chair-photo {
  position: relative; min-height: 260px; height: 100%;
  background: var(--bg-inset) center/cover no-repeat;
  display: flex; align-items: flex-end;
}
.gj-chair-id {
  width: 100%; padding: 16px;
  background: linear-gradient(transparent, rgba(11,15,13,.72));
  color: #fff;
}
.gj-chair-id strong { display: block; font-size: 15.5px; font-weight: 600; }
.gj-chair-id span { font-size: 12.5px; opacity: .82; }
.gj-chair-body { padding: 28px; }
.gj-chair-title { font-size: 17px; margin: 0 0 12px; color: var(--ink) !important; }
.gj-quote { display: block; font-size: 20px; color: var(--accent); line-height: 1; margin-bottom: 10px; }
.gj-chair-body p { font-size: 15px; line-height: 1.72; color: var(--ink-mid); }
.gj-chair-preview p {
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.gj-chair-more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  padding: 0; background: none; border: 0; cursor: pointer;
  color: var(--accent-ink); font-family: var(--font); font-weight: 600; font-size: 14.5px;
}
.gj-chair-more i { transition: transform .16s var(--ease); }
.gj-chair-more:hover i { transform: translateX(3px); }

.gj-chair-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(11,15,13,.55);
}
.gj-chair-modal[hidden] { display: none; }
.gj-chair-modal-dialog {
  position: relative; background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--r);
  width: 100%; max-width: 640px; max-height: 88vh; overflow-y: auto; padding: 32px;
}
.gj-chair-modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--bg); color: var(--ink-mid); cursor: pointer;
  display: grid; place-items: center;
}
.gj-chair-modal-close:hover { border-color: var(--ink); background: var(--bg-sub); }
.gj-chair-modal-head { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; padding-right: 34px; }
.gj-chair-modal-photo {
  width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0;
  background: var(--bg-inset) center/cover no-repeat;
}
.gj-chair-modal-head h3 { margin: 4px 0 2px; font-size: 19px; }
.gj-chair-modal-role { font-size: 13px; color: var(--ink-soft); }
.gj-chair-modal-body p { font-size: 15.5px; line-height: 1.78; color: var(--ink-mid); margin: 0 0 14px; }
body.gj-modal-open { overflow: hidden; }


/* Detail page: a definition list, not the badge row used on cards. */
/* Sits over the cover image, so it needs a solid chip rather than a wash. */

/* -- Reports ------------------------------------------------- */
.gj-report-card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; text-decoration: none !important;
  transition: border-color .16s var(--ease);
}
.gj-report-card:hover { border-color: var(--ink); }
.gj-report-cover {
  position: relative; aspect-ratio: 3/2;
  background: var(--bg-inset) center/cover no-repeat;
  display: grid; place-items: center; color: var(--accent); font-size: 34px;
  text-decoration: none !important;
}
.gj-report-detail-cover {
  aspect-ratio: 3/4; background: var(--bg-inset) center/cover no-repeat;
  border: 1px solid var(--line); border-radius: var(--r);
  display: grid; place-items: center; color: var(--accent); font-size: 48px;
}
.gj-report-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.gj-report-body h3 { font-size: 16px; margin: 6px 0 14px; line-height: 1.4; }
.gj-report-body h3 a { color: var(--ink) !important; }
.gj-report-body h3 a:hover { color: var(--accent-ink) !important; }
.gj-report-type {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .04em;
  padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--accent-wash); color: var(--accent-ink);
}
.gj-report-year {
  position: absolute; bottom: 10px; left: 10px;
  display: inline-flex; align-items: center;
  font-size: 11.5px; font-weight: 600; padding: 4px 10px;
  border-radius: var(--r-pill); background: var(--accent); color: #fff;
}
.gj-report-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.gj-report-viewer { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; min-height: 70vh; }
.gj-report-viewer iframe, .gj-report-viewer embed, .gj-report-viewer object { width: 100%; height: 70vh; border: 0; display: block; }
ul.gj-report-meta {
  list-style: none; margin: 22px 0 0; padding: 0;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; display: block;
}
ul.gj-report-meta li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 12px 18px; border-top: 1px solid var(--line);
  font-size: 14px; margin: 0;
}
ul.gj-report-meta li:first-child { border-top: 0; }
ul.gj-report-meta li span { color: var(--ink-soft); }
ul.gj-report-meta li strong { color: var(--ink); text-align: right; font-weight: 600; }

/* ── Notices ────────────────────────────────────────────────── */
.gj-notice-head { margin-bottom: 18px; }
.gj-notice-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--ink-soft); margin-bottom: 12px; }
.gj-notice-figure { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-bottom: 24px; }
.gj-notice-body p { font-size: 16.5px; line-height: 1.75; color: var(--ink-mid); }
.gj-notice-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.gj-notice-more { margin-top: 40px; }
/* Card in a grid of related notices, not a list row. */
.gj-notice-mini {
  display: flex; flex-direction: column; gap: 6px; height: 100%;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px 18px; text-decoration: none !important;
  transition: border-color .16s var(--ease);
}
.gj-notice-mini:hover { border-color: var(--ink); }
.gj-notice-mini-title { display: block; font-size: 14.5px; font-weight: 500; color: var(--ink) !important; }
.gj-notice-mini-date { display: block; font-size: 12.5px; color: var(--ink-soft); margin-top: 3px; }

/* ── Gallery tabs, pagination, misc ─────────────────────────── */
.gj-gallery-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 32px; }
.gj-gtab {
  padding: 9px 18px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--bg);
  color: var(--ink-mid); font-size: 14px; font-weight: 500; cursor: pointer;
  transition: border-color .16s var(--ease), background .16s var(--ease);
}
.gj-gtab:hover { border-color: var(--ink); }
/* Templates mark the current tab with .active; .is-active kept for parity. */
.gj-gtab.active, .gj-gtab.is-active, .gj-gtab[aria-selected="true"] {
  background: var(--accent); border-color: var(--accent); color: #fff !important;
}

.gj-pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 44px; }
.gj-pagination .page-numbers {
  display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  color: var(--ink-mid) !important; font-size: 14px; text-decoration: none !important;
}
.gj-pagination .page-numbers:hover { border-color: var(--ink); background: var(--bg-sub); }
.gj-pagination .page-numbers.current {
  background: var(--accent); border-color: var(--accent); color: #fff !important;
}

.gj-empty-state {
  text-align: center; padding: 60px 20px; color: var(--ink-soft);
  border: 1px dashed var(--line-strong); border-radius: var(--r);
}
.gj-empty-state i { font-size: 32px; color: var(--line-strong); display: block; margin-bottom: 14px; }
.gj-empty-state h3 { font-size: 18px; color: var(--ink-mid); margin-bottom: 8px; }

/* Single notice "paper" sheet */
.gj-notice-paper {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r); padding: 0 32px 30px;
}
.gj-notice-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px; padding: 22px 0 16px; border-bottom: 1px solid var(--line);
}
.gj-notice-meta i { margin-right: 6px; color: var(--accent); }
.gj-notice-figure img { width: 100%; height: auto; display: block; }
.gj-notice-actions { padding-top: 22px; border-top: 1px solid var(--line); }
.gj-notice-more h2 { font-size: 20px; margin-bottom: 16px; }
.gj-notice-mini-date i { margin-right: 5px; color: var(--accent); }

/* ── About section (homepage) ───────────────────────────────── */
/* Runs on the deep navy band. Every foreground in here is inverted: the
   default ink, green eyebrow and hairline rules would all be illegible
   on #044087 (dark ink ≈ 1.3:1, green accent ≈ 1.9:1). */
.gj-about { background: var(--navy); }
.gj-about h2,
.gj-about h3 { color: #fff !important; }
/* The .gj-pillar rules below are equal specificity and defined later, so the
   inverted colours have to be scoped through .gj-about to win. */
.gj-about p,
.gj-about li,
.gj-about .gj-about-lead,
.gj-about .gj-pillar p,
.gj-about .gj-pillar-list li { color: rgba(255, 255, 255, .80); }
.gj-about .gj-eyebrow { color: var(--gold-soft); }

/* Light gold clears 6.1:1 on the navy; the base gold only reaches 2.7:1. */
.gj-about .gj-pillar-num { color: var(--gold-soft); }
.gj-about .gj-pillar-list li::before { background: rgba(255, 255, 255, .55); }

.gj-about .gj-about-intro,
.gj-about .gj-pillar,
.gj-about .gj-pillar-list li { border-color: rgba(255, 255, 255, .18); }

.gj-about .gj-cta--outline {
  color: #fff !important;
  border-color: rgba(255, 255, 255, .40);
  background: transparent;
}
.gj-about .gj-cta--outline:hover {
  background: rgba(255, 255, 255, .10);
  border-color: #fff;
}

.gj-about-lead { font-size: 16.5px; line-height: 1.75; color: var(--ink-mid); margin-bottom: 18px; }

/* Editorial split — heading holds the left rail, prose runs wider on the right. */
.gj-about-intro {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: 48px;
  row-gap: 28px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.gj-about-intro-head { grid-column: 1; grid-row: 1; }
.gj-about-intro-body { grid-column: 2; grid-row: 1 / span 2; }
/* Under the heading on desktop; after the prose once the grid collapses. */
.gj-about-cta { grid-column: 1; grid-row: 2; justify-self: start; align-self: start; }

.gj-about-intro-head .gj-eyebrow { margin-bottom: 14px; }
.gj-about-intro-head h2 { margin: 0; max-width: 14ch; }
.gj-about-intro-body .gj-about-lead:last-of-type { margin-bottom: 0; }
.gj-about-intro .gj-cta i { font-size: 12px; transition: transform .16s var(--ease); }
.gj-about-intro .gj-cta:hover i { transform: translateX(3px); }

/* Numbered pillars, divided by rules instead of boxed in cards. */
.gj-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 56px;
}
.gj-pillar { padding: 0 36px; border-left: 1px solid var(--line); }
.gj-pillar:first-child { padding-left: 0; border-left: 0; }
.gj-pillar:last-child { padding-right: 0; }

.gj-pillar-num {
  display: block;
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  color: var(--gold); margin-bottom: 14px;
}
.gj-pillar h3 { font-size: 19px; margin: 0 0 12px; }
.gj-pillar p { font-size: 15.5px; line-height: 1.7; color: var(--ink-mid); margin: 0; }

.gj-pillar-list { list-style: none; margin: 0; padding: 0; }
.gj-pillar-list li {
  position: relative;
  padding: 9px 0 9px 20px;
  font-size: 15px; color: var(--ink-mid); margin: 0;
  border-top: 1px solid var(--line);
}
.gj-pillar-list li:first-child { border-top: 0; padding-top: 0; }
.gj-pillar-list li:first-child::before { top: 8px; }
.gj-pillar-list li::before {
  content: ""; position: absolute; left: 0; top: 17px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}
.gj-sep { height: 1px; background: var(--line); border: 0; margin: 28px 0; }
.gj-logo-wrap { flex-shrink: 0; }

.gj-social-btn {
  width: 38px; height: 38px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--bg); color: var(--ink-mid) !important;
  display: grid; place-items: center; font-size: 14px; text-decoration: none !important;
}
.gj-social-btn:hover { border-color: var(--ink); color: var(--ink) !important; }

/* Footer extras */
.gj-footer-top, .gj-footer-main { max-width: 1180px; margin: 0 auto; }
.gj-footer-logo { height: 46px; width: auto; }
.gj-footer-social { display: flex; gap: 8px; margin-top: 14px; }
.gj-footer-map { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; min-height: 200px; }
.gj-footer-map iframe { width: 100%; height: 200px; border: 0; display: block; }

/* Nav brand (shown only when the main header is absent) */
.ngo-nav-logo-img { height: 34px; width: auto; }
.ngo-nav-brand-text { font-size: 15px; font-weight: 700; color: var(--ink); }

/* ── Scroll reveal ──────────────────────────────────────────── */
.gj-reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.gj-reveal.is-visible { opacity: 1; transform: none; }

/* ── Footer ─────────────────────────────────────────────────── */
.gj-footer { background: var(--bg-sub); border-top: 1px solid var(--line); color: var(--ink-mid); }
.gj-footer-accent { display: none; }
.gj-footer-container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.gj-footer-top-inner { padding: 48px 20px 32px; display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.gj-footer-brand { display: flex; gap: 14px; align-items: center; }
.gj-footer-brand img { height: 46px; width: auto; }
.gj-footer-brand-text strong, .gj-footer-brand-text b, .gj-footer-org {
  display: block; font-size: 16px; color: var(--ink); font-weight: 700; letter-spacing: -.01em;
}
.gj-footer-about { font-size: 14.5px; color: var(--ink-soft); max-width: 520px; margin-top: 8px; }
.gj-footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 32px; padding: 8px 20px 44px;
}
/* Every footer column list is unbulleted, whatever its class. */
.gj-footer-col ul { list-style: none; padding: 0; margin: 0; }
.gj-footer-col ul li { margin-bottom: 11px; }
.gj-footer-notices a { display: block; font-size: 14.5px; color: var(--ink-soft) !important; }
.gj-footer-notices a:hover { color: var(--accent-ink) !important; }
.gj-footer-notices .gj-footer-date { display: block; font-size: 12.5px; margin-top: 2px; }
.gj-footer-heading {
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); margin: 0 0 16px; padding: 0; border: 0;
}
.gj-footer-links, .gj-footer-contact { list-style: none; padding: 0; margin: 0; }
.gj-footer-links li, .gj-footer-contact li { margin-bottom: 11px; }
.gj-footer-links a, .gj-footer-contact a, .gj-footer-contact li {
  font-size: 14.5px; color: var(--ink-soft) !important; text-decoration: none !important;
}
.gj-footer-links a:hover, .gj-footer-contact a:hover { color: var(--accent-ink) !important; }
.gj-footer-contact i { color: var(--accent); width: 16px; margin-right: 9px; }
.gj-footer-bottom { border-top: 1px solid var(--line); }
.gj-footer-bottom-inner {
  padding: 20px; display: flex; justify-content: space-between;
  gap: 14px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-soft);
}
.gj-footer-bottom-links { display: flex; gap: 18px; flex-wrap: wrap; }
.gj-footer-bottom-links a { color: var(--ink-soft) !important; }
.gj-footer-bottom-links a:hover { color: var(--accent-ink) !important; }
.gj-footer-date { color: var(--ink-soft); }

/* ═══════════════════════════════════════════════════════════════
   LEGACY COMPONENT FLATTENING
   Four templates still ship self-contained component systems in an
   inline <style> block: .scp-* (service categories), .dl-* (downloads),
   .tm-* (board / management) and .pub- / .sp- (publications, single
   report). Their layout is fine and worth keeping; their visual
   language — gradients, drop shadows, mixed radii, the old two-colour
   palette — is not.

   Those blocks sit in <body>, so they win on document order against
   this file. !important is therefore load-bearing here, not laziness:
   it is the only way an external sheet can override them.
═══════════════════════════════════════════════════════════════ */

/* Old token names still appear in template markup and inline styles.
   Alias them onto the new scale rather than editing ~180 call sites. */
:root {
  --gj-primary:     var(--accent);
  --gj-primary-dk:  var(--accent-ink);
  --gj-primary-dker:var(--ink);
  --gj-primary-lt:  var(--accent-wash);
  --gj-secondary:   var(--gold);      /* old "secondary" slots become the gold complement */
  --gj-accent:      var(--accent);
  --gj-highlight:   var(--gold);
  --gj-bg:          var(--bg-sub);
  --gj-card:        var(--bg);
  --gj-heading:     var(--ink);
  --gj-text:        var(--ink-mid);
  --gj-muted:       var(--ink-soft);
  --gj-faint:       var(--ink-soft);
  --gj-border:      var(--line);
  --gj-border-soft: var(--line);
}

[class^="scp-"], [class*=" scp-"],
[class^="dl-"],  [class*=" dl-"],
[class^="tm-"],  [class*=" tm-"],
[class^="pub-"], [class*=" pub-"],
[class^="sp-"],  [class*=" sp-"] {
  box-shadow: none !important;
  font-family: var(--font) !important;
  letter-spacing: normal !important;
}

/* Section canvases → the new white / off-white pair. */
.scp-section, .dl-section, .tm-section, .tm-page-wrap, .sp-body, .sp-article {
  background: var(--bg) !important;
}
.scp-back-wrap { background: var(--bg) !important; }

/* Card-like surfaces → flat, hairline, 10px. */
.scp-cat-card, .scp-svc-card, .scp-modal-wrap,
.dl-row, .dl-filter-bar, .dl-search-wrap,
.tm-card, .tm-modal,
.pub-pdf-download-card, .pub-pdf-viewer-wrap, .pub-sidebar-pdf-card,
.sp-sidebar-card, .sp-related-card, .sp-author-card, .sp-recent-item {
  background: var(--bg) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--r) !important;
}
.scp-cat-card:hover, .scp-svc-card:hover, .dl-row:hover,
.tm-card:hover, .sp-related-card:hover {
  border-color: var(--line-strong) !important;
  transform: none !important;
}

/* Gradient heroes and banners → flat off-white with a rule. */
.scp-hero, .dl-hero, .tm-hero, .sp-hero, .sp-hero--pub, .tm-hero--mgmt {
  background: var(--bg-sub) !important;
  border-bottom: 1px solid var(--line) !important;
  color: var(--ink) !important;
}
.scp-hero::after, .dl-hero::after, .tm-hero::after, .sp-hero::after,
.scp-hero-overlay, .dl-hero-overlay, .tm-hero-overlay, .sp-hero-overlay { display: none !important; }
.tm-hero-title, .sp-hero-title, .dl-hero-title, .scp-hero-title { color: var(--ink) !important; }
.tm-hero-sub, .dl-hero-sub, .scp-hero-sub { color: var(--ink-soft) !important; }
.tm-breadcrumb, .sp-breadcrumb, .dl-breadcrumb, .scp-breadcrumb { color: var(--ink-soft) !important; }
.tm-breadcrumb a, .sp-breadcrumb a, .dl-breadcrumb a, .scp-breadcrumb a { color: var(--ink-soft) !important; }

/* Pills, badges and icon wells. */
.scp-cat-badge, .scp-modal-cat-label, .tm-section-pill,
.dl-ext-badge, .dl-meta-tag, .sp-cat-badge, .sp-tag {
  background: var(--accent-wash) !important;
  color: var(--accent-ink) !important;
  border: 0 !important;
  border-radius: var(--r-pill) !important;
}
.scp-cat-icon-wrap, .scp-svc-icon-placeholder, .dl-row-icon,
.pub-pdf-icon-wrap, .tm-card-placeholder, .tm-modal-logo-fallback {
  background: var(--bg-inset) !important;
  color: var(--accent) !important;
  border-radius: var(--r-sm) !important;
}
.scp-cat-img, .scp-svc-img-wrap, .tm-card-photo, .sp-rc-img-wrap, .sp-recent-thumb {
  background: var(--bg-inset) !important;
  border-radius: var(--r-sm) !important;
}
.tm-card-photo, .tm-modal-photo-wrap { border-radius: var(--r) !important; }

/* Buttons across the legacy families. */
.dl-btn, .scp-modal-btn-close, .pub-pdf-download-btn, .pub-sidebar-pdf-btn,
.pub-pdf-action-btn, .sp-related-all {
  background: var(--accent) !important;
  color: #fff !important;
  border: 1px solid var(--accent) !important;
  border-radius: var(--r-sm) !important;
}
.dl-btn-view, .pub-pdf-fullscreen-btn {
  background: var(--bg) !important;
  color: var(--ink) !important;
  border: 1px solid var(--line-strong) !important;
  border-radius: var(--r-sm) !important;
}
.dl-search-input, .scp-modal input, .dl-filter-inner input {
  border: 1px solid var(--line-strong) !important;
  border-radius: var(--r-sm) !important;
  background: var(--bg) !important;
  font-family: var(--font) !important;
}
.dl-tab {
  background: var(--bg) !important;
  color: var(--ink-mid) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--r-pill) !important;
}
.dl-tab.active, .dl-tab[aria-selected="true"] {
  background: var(--accent) !important;
  color: #fff !important;
  border-color: var(--accent) !important;
}

/* Headings and rules. */
.scp-section-heading h2, .tm-section-title, .sp-related-title, .sp-sidebar-heading {
  color: var(--ink) !important;
}
.scp-heading-line, .tm-section-line, .sp-meta-dot { background: var(--line) !important; }

/* Share buttons keep their platform colour but lose the shadow/radius. */
.sp-share-btn, .sp-ss-btn { border-radius: var(--r-sm) !important; }

/* Modal scrims. */
.scp-modal-overlay, .tm-modal-overlay { background: rgba(11, 15, 13, .55) !important; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 991px) {
  :root { --section-y: 60px; }
  .ngo-hamburger { display: flex; align-items: center; justify-content: center; }
  .ngo-nav-menu-wrap {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 16px;
  }
  .ngo-nav-menu-wrap.open { display: block; }
  .ngo-nav-menu-wrap ul { flex-direction: column; align-items: stretch; gap: 0; }
  .ngo-nav-menu-wrap a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .ngo-nav-menu-wrap .current-menu-item > a { border-bottom-color: var(--accent); }
  .ngo-nav-menu-wrap .sub-menu {
    position: static; display: flex; border: 0; padding: 0 0 0 14px; border-radius: 0;
  }
  .ngo-navbar-wrap { position: relative; }
  .gj-hero-inner { padding: 64px 0 56px; }
  .gj-svc-slide { flex-basis: calc((100% - 20px) / 2); }
  .gj-chair-photo { min-height: 220px; }

  /* Stack the editorial split; pillars drop to two-up with the rule
     resetting on each new row. */
  /* Stacked: let each child fall in document order — head, prose, then CTA. */
  .gj-about-intro { grid-template-columns: 1fr; row-gap: 26px; padding-bottom: 44px; }
  .gj-about-intro-head,
  .gj-about-intro-body,
  .gj-about-cta { grid-column: 1; grid-row: auto; }
  .gj-about-intro-head h2 { max-width: none; }
  .gj-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 44px; }
  .gj-pillar { padding: 0 26px; }
  .gj-pillar:nth-child(odd) { padding-left: 0; border-left: 0; }
  .gj-pillar:nth-child(3) { padding-top: 32px; margin-top: 32px; border-top: 1px solid var(--line); }
}

@media (max-width: 767px) {
  /* Bootstrap's .g-5 sets a 3rem gutter, so the row takes -24px side margins
     while .container only pads 12px — the row overhangs the viewport. Cap the
     gutter on small screens; 48px columns gaps are too wide on a phone anyway. */
  .row { --bs-gutter-x: 1.5rem; }

  body { font-size: 15.5px; }
  .gj-mainheader-inner { padding: 14px 20px; }
  .gj-logo-img { height: 42px; }
  .gj-org-name { font-size: 16px; }
  .gj-org-location { display: none; }
  .gj-header-right .gj-btn span { display: none; }
  .gj-topbar-contact { display: none; }
  .gj-hero-banner { padding: 40px 0; }
  .gj-shead { margin-bottom: 36px; }
  .gj-ctabanner { padding: 40px 22px; }
  .gj-kpi-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gj-dtable caption, .gj-dtable thead th, .gj-dtable td,
  .gj-dtable tbody th, .gj-dtable tfoot td, .gj-dtable-note { padding-left: 16px; padding-right: 16px; }
  .gj-card, .gj-vm-card, .gj-contact-card, .gj-panel { padding: 20px; }
  .gj-svc-slide { flex-basis: 84%; }
  .gj-chair-body { padding: 22px; }

  /* Single column: vertical rules become horizontal separators. */
  .gj-pillars { grid-template-columns: 1fr; margin-top: 36px; }
  .gj-pillar { padding: 28px 0 0; margin-top: 28px; border-left: 0; border-top: 1px solid var(--line); }
  .gj-pillar:first-child { padding-top: 0; margin-top: 0; border-top: 0; }
  .gj-pillar:nth-child(3) { padding-top: 28px; margin-top: 28px; }
  .gj-chair-modal-dialog { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .gj-reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

@media print {
  .gj-topbar, .ngo-navbar-wrap, .gj-footer, .gj-ctabanner, .gj-hero-banner { display: none !important; }
  .gj-dtable-wrap, .gj-kpi, .gj-panel { border-color: #ccc; break-inside: avoid; }
  .gj-dtable { min-width: 0; }
}
