/* ==========================================================================
   ICGS.BD — "Scholarly Editorial" design system
   Deep pine green + antique gold on warm paper.
   Fraunces (display serif) + Archivo (body grotesque).
   Loaded LAST so it governs the public-facing pages and tames the
   legacy Bootstrap/LayerSlider theme on inner pages.
   ========================================================================== */

:root {
    --brand:        #103e31;
    --brand-light:  #1c5b48;
    --brand-dark:   #0a2c22;
    --brand-ink:    #d8e6dd;
    --gold:         #bb9333;
    --gold-soft:    #d8b25a;
    --gold-tint:    #f3ead2;

    --paper:        #f4f1e9;
    --paper-2:      #efeadd;
    --surface:      #ffffff;
    --ink:          #18211c;
    --muted:        #5d685f;
    --line:         #e4ddcd;
    --line-strong:  #d3cbb6;

    --ring:         rgba(187, 147, 51, .55);

    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body:    "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

    --maxw: 1200px;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(16,62,49,.06), 0 4px 14px rgba(16,62,49,.05);
    --shadow-md: 0 10px 30px -12px rgba(16,62,49,.28);
    --shadow-lg: 0 26px 60px -22px rgba(10,44,34,.45);
    --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Base ---------- */
body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

.icgs *,
.icgs *::before,
.icgs *::after { box-sizing: border-box; }

h1, h2, h3, h4, .display {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.01em;
    color: var(--ink);
    margin: 0 0 .4em;
}

a { color: var(--brand-light); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; }

::selection { background: var(--gold-soft); color: var(--brand-dark); }

:focus-visible {
    outline: 3px solid var(--ring);
    outline-offset: 2px;
    border-radius: 4px;
}

.icgs-wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }

/* skip link */
.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 2000;
    background: var(--brand); color: #fff; padding: 10px 18px;
    border-radius: 0 0 10px 10px; transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- Buttons ---------- */
.icgs-btn {
    display: inline-flex; align-items: center; gap: .55em;
    font-family: var(--font-body); font-weight: 600; font-size: .95rem;
    letter-spacing: .01em; line-height: 1;
    padding: .95em 1.6em; border-radius: 999px; border: 1.5px solid transparent;
    cursor: pointer; transition: all .25s var(--ease); white-space: nowrap;
}
.icgs-btn svg { width: 1.05em; height: 1.05em; }
.icgs-btn--gold { background: var(--gold); color: #1c1402; box-shadow: 0 8px 22px -10px rgba(187,147,51,.8); }
.icgs-btn--gold:hover { background: var(--gold-soft); color: #1c1402; transform: translateY(-2px); }
.icgs-btn--solid { background: var(--brand); color: #fff; }
.icgs-btn--solid:hover { background: var(--brand-light); color: #fff; transform: translateY(-2px); }
.icgs-btn--ghost { background: transparent; color: var(--brand); border-color: var(--line-strong); }
.icgs-btn--ghost:hover { border-color: var(--brand); background: var(--brand); color: #fff; }
.icgs-btn--light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.icgs-btn--light:hover { background: #fff; color: var(--brand-dark); }

/* ---------- Section scaffolding ---------- */
.icgs-section { padding: clamp(56px, 8vw, 110px) 0; position: relative; }
.icgs-section--paper { background: var(--paper); }
.icgs-section--surface { background: var(--surface); }
.icgs-section--tint { background:
        radial-gradient(1200px 400px at 80% -10%, var(--gold-tint), transparent 60%),
        var(--paper-2); }
.icgs-section--brand { background: var(--brand); color: var(--brand-ink); }
.icgs-section--brand h2, .icgs-section--brand h3 { color: #fff; }

.icgs-eyebrow {
    display: inline-flex; align-items: center; gap: .6em;
    font-family: var(--font-body); font-weight: 600;
    font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 1rem;
}
.icgs-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); display: inline-block; }
.icgs-section--brand .icgs-eyebrow { color: var(--gold-soft); }

.icgs-head { max-width: 720px; margin-bottom: clamp(34px, 5vw, 58px); }
.icgs-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.icgs-head--center .icgs-eyebrow::before { display: none; }
.icgs-head h2 { font-size: clamp(2rem, 4.6vw, 3.25rem); }
.icgs-head p { color: var(--muted); font-size: 1.08rem; margin: .6rem 0 0; }
.icgs-section--brand .icgs-head p { color: var(--brand-ink); }

.icgs-grid { display: grid; gap: clamp(20px, 2.4vw, 30px); }
.icgs-grid--2 { grid-template-columns: repeat(2, 1fr); }
.icgs-grid--3 { grid-template-columns: repeat(3, 1fr); }
.icgs-grid--4 { grid-template-columns: repeat(4, 1fr); }
.icgs-section-cta { margin-top: clamp(34px, 5vw, 54px); display: flex; justify-content: center; }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(244,241,233,.85);
    backdrop-filter: saturate(140%) blur(12px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-md); background: rgba(244,241,233,.96); }

.site-header__bar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; height: 74px;
}
.site-header__brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.site-header__brand img { height: 46px; width: auto; display: block; }
.site-header__brand:hover { color: inherit; }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav li { position: relative; }
.site-nav a {
    display: inline-flex; align-items: center; gap: .35em;
    font-weight: 500; font-size: .95rem; color: var(--ink);
    padding: .65em .9em; border-radius: 8px; line-height: 1;
}
.site-nav > ul > li > a { letter-spacing: .005em; }
.site-nav a:hover,
.site-nav a[aria-expanded="true"] { color: var(--brand); background: rgba(16,62,49,.07); }
.site-nav .chev { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.site-nav a[aria-expanded="true"] .chev { transform: rotate(180deg); }

/* dropdowns */
.has-dropdown > .dropdown {
    position: absolute; top: calc(100% + 8px); left: 0;
    min-width: 230px; background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg); padding: 8px;
    list-style: none; margin: 0;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.has-dropdown > .dropdown::before {
    content: ""; position: absolute; top: -6px; left: 22px; width: 12px; height: 12px;
    background: var(--surface); border-left: 1px solid var(--line); border-top: 1px solid var(--line);
    transform: rotate(45deg);
}
.has-dropdown:hover > .dropdown,
.has-dropdown.is-open > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
    display: block; padding: .6em .8em; border-radius: 7px;
    font-size: .92rem; color: var(--ink);
}
.dropdown a:hover { background: var(--gold-tint); color: var(--brand-dark); }

.site-nav__cta { margin-left: 10px; }

/* hamburger */
.nav-toggle {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 46px; border: 1px solid var(--line-strong);
    border-radius: 10px; background: var(--surface); cursor: pointer; padding: 0 12px;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--brand); border-radius: 2px;
    transition: transform .3s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
    position: fixed; inset: 0; background: rgba(10,44,34,.45); backdrop-filter: blur(2px);
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; z-index: 999;
}
.nav-backdrop.is-active { opacity: 1; visibility: visible; }

@media (max-width: 992px) {
    .nav-toggle { display: flex; }
    .site-nav {
        position: fixed; top: 0; right: 0; z-index: 1001;
        width: min(86vw, 360px); height: 100dvh; height: 100vh;
        background: var(--surface); border-left: 1px solid var(--line);
        box-shadow: var(--shadow-lg);
        flex-direction: column; align-items: stretch; gap: 0;
        padding: 84px 22px 32px; overflow-y: auto;
        transform: translateX(100%); transition: transform .35s var(--ease);
    }
    .site-nav.is-open { transform: translateX(0); }
    .site-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }
    .site-nav > ul > li > a { justify-content: space-between; font-size: 1.05rem; padding: .85em .6em; border-radius: 10px; }
    .site-nav > ul > li { border-bottom: 1px solid var(--line); }
    .site-nav > ul > li:last-of-type { border-bottom: none; }

    /* accordion dropdowns on mobile */
    .has-dropdown > .dropdown {
        position: static; opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: none; background: transparent; padding: 0 0 8px 12px;
        max-height: 0; overflow: hidden; transition: max-height .3s var(--ease);
    }
    .has-dropdown > .dropdown::before { display: none; }
    .has-dropdown.is-open > .dropdown { max-height: 420px; }
    .dropdown a { padding: .55em .8em; color: var(--muted); }
    .site-nav__cta { margin: 16px 0 0; }
    .site-nav__cta .icgs-btn { width: 100%; justify-content: center; }
}
body.nav-locked { overflow: hidden; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; min-height: clamp(520px, 78vh, 760px); display: flex; align-items: center;
    overflow: hidden; background: var(--brand-dark); isolation: isolate; }
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease), transform 7s linear;
    background-size: cover; background-position: center; transform: scale(1.06); }
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(105deg, rgba(10,44,34,.92) 0%, rgba(10,44,34,.74) 42%, rgba(10,44,34,.30) 100%),
        linear-gradient(0deg, rgba(10,44,34,.55), transparent 55%);
}
.hero__inner { width: 100%; }
.hero__content { max-width: 680px; color: #fff; }
.hero__eyebrow { color: var(--gold-soft); }
.hero__content h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 600; letter-spacing: -.02em; }
.hero__content h1 em { font-style: italic; color: var(--gold-soft); }
.hero__content p { color: rgba(255,255,255,.86); font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 560px; margin: 1.2rem 0 0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }

.hero__dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 10px; z-index: 3; }
.hero__dots button { width: 10px; height: 10px; border-radius: 999px; border: none; padding: 0;
    background: rgba(255,255,255,.45); cursor: pointer; transition: all .25s var(--ease); }
.hero__dots button.is-active { background: var(--gold-soft); width: 28px; }
.hero__meta { position: absolute; right: clamp(20px,4vw,48px); bottom: 26px; z-index: 3;
    color: rgba(255,255,255,.7); font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; }
@media (max-width: 992px) { .hero__meta { display: none; } }

/* ==========================================================================
   UNIFIED CARD
   ========================================================================== */
.card-icgs {
    position: relative; cursor: pointer;
    display: flex; flex-direction: column; height: 100%;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
    text-align: left;
}
.card-icgs:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card-icgs__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--paper-2); }
.card-icgs__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card-icgs:hover .card-icgs__media img { transform: scale(1.06); }
.card-icgs__tag {
    position: absolute; top: 12px; left: 12px; z-index: 2;
    background: rgba(255,255,255,.92); color: var(--brand-dark);
    font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    padding: .4em .8em; border-radius: 999px;
}
.card-icgs__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-icgs__title { font-size: 1.28rem; margin: 0 0 .5rem; }
.card-icgs__title a { color: var(--ink); }
.card-icgs__title a:hover { color: var(--brand); }
.card-icgs__text { color: var(--muted); font-size: .97rem; margin: 0; flex: 1; }
.card-icgs__more {
    display: inline-flex; align-items: center; gap: .5em; margin-top: 18px;
    font-weight: 600; font-size: .9rem; color: var(--brand);
    background: none; border: none; padding: 0; cursor: pointer; align-self: flex-start;
}
.card-icgs__more svg { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.card-icgs__more:hover { color: var(--gold); }
.card-icgs__more:hover svg { transform: translateX(4px); }
/* Make the whole card clickable: stretch the trigger across the card.
   Scoped to .card-icgs so it never affects the CEO/feature blocks. */
.card-icgs .card-icgs__more::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.card-icgs:focus-within { outline: 3px solid var(--ring); outline-offset: 2px; }

/* People card (advisors / consultants / ceo) */
.person-card {
    text-align: center; background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 26px 20px; height: 100%;
    box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
    cursor: pointer; display: flex; flex-direction: column; align-items: center;
}
.person-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.person-card__photo {
    width: 132px; height: 132px; border-radius: 50%; object-fit: cover;
    border: 3px solid var(--surface); box-shadow: 0 0 0 2px var(--gold-soft); margin-bottom: 16px;
}
.person-card__name { font-size: 1.18rem; margin: 0 0 .25rem; }
.person-card__role { color: var(--gold); font-weight: 600; font-size: .85rem; letter-spacing: .04em;
    text-transform: uppercase; }
.person-card__role *, .person-card__role p { margin: 0; display: inline; }
.person-card__hint { margin-top: 14px; font-size: .82rem; color: var(--muted); }

/* Org logos */
.org-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.org-grid__item {
    display: flex; align-items: center; justify-content: center;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
    padding: 22px 18px; aspect-ratio: 3/2; transition: all .3s var(--ease);
}
.org-grid__item img { max-height: 70px; width: auto; object-fit: contain; opacity: 1;
    transition: transform .3s var(--ease); mix-blend-mode: multiply; }
.org-grid__item:hover { border-color: var(--gold-soft); box-shadow: var(--shadow-sm); }
.org-grid__item:hover img { transform: scale(1.08); }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-grid__item {
    position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3;
    border: none; padding: 0; cursor: pointer; background: var(--paper-2); display: block; width: 100%;
}
.gallery-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-grid__item::after { content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,44,34,.5), transparent 55%);
    opacity: 0; transition: opacity .3s var(--ease); }
.gallery-grid__item:hover img { transform: scale(1.07); }
.gallery-grid__item:hover::after { opacity: 1; }
.gallery-grid__item .gallery-grid__zoom {
    position: absolute; right: 12px; bottom: 12px; z-index: 2; width: 40px; height: 40px;
    display: grid; place-items: center; border-radius: 999px; background: rgba(255,255,255,.92);
    color: var(--brand-dark); opacity: 0; transform: translateY(8px); transition: all .3s var(--ease); }
.gallery-grid__item:hover .gallery-grid__zoom { opacity: 1; transform: translateY(0); }

/* Feature split (About) */
.feature-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.feature-split__media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md);
    aspect-ratio: 16/10; background: #000; }
.feature-split__media iframe,
.feature-split__media img { width: 100%; height: 100%; border: 0; display: block; object-fit: cover; }
.feature-split__media::before { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius); z-index: 2; pointer-events: none; }
.prose { color: var(--ink); line-height: 1.8; }
.prose p { margin: 0 0 1rem; color: var(--muted); }
.prose :is(h2,h3,h4) { color: var(--ink); }
.prose-clamp { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.updated-note { font-size: .82rem; color: var(--muted); font-style: italic; margin-top: 1rem; }

/* CEO feature */
.ceo-feature {
    display: grid; grid-template-columns: 220px 1fr; gap: clamp(24px,4vw,48px); align-items: center;
    background: var(--brand-light); border-radius: var(--radius); padding: clamp(28px,4vw,48px);
    color: #fff; box-shadow: var(--shadow-lg);
}
.ceo-feature img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm);
    border: 3px solid rgba(255,255,255,.25); }
.ceo-feature h3 { color: #fff; font-size: 1.7rem; margin-bottom: .2rem; }
.ceo-feature .ceo-role { color: var(--gold-soft); font-weight: 600; }
.ceo-feature .prose-clamp { color: rgba(255,255,255,.85); margin-top: 1rem; }
.ceo-feature .card-icgs__more { color: #fff; }
.ceo-feature .card-icgs__more:hover { color: var(--gold-soft); }
@media (max-width: 720px){ .ceo-feature { grid-template-columns: 1fr; text-align: center; } .ceo-feature img{ max-width:200px; margin:0 auto;} }

/* ==========================================================================
   MODAL (accessible, JS-driven)
   ========================================================================== */
.icgs-modal {
    position: fixed; inset: 0; z-index: 2000; display: none;
    align-items: center; justify-content: center; padding: 24px;
}
.icgs-modal.is-open { display: flex; }
.icgs-modal__backdrop { position: absolute; inset: 0; background: rgba(10,44,34,.55); backdrop-filter: blur(4px);
    animation: icgsFade .25s var(--ease); }
.icgs-modal__dialog {
    position: relative; z-index: 1; width: min(720px, 100%); max-height: 88vh; overflow: auto;
    background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg);
    animation: icgsPop .3s var(--ease);
}
.icgs-modal__media { width: 100%; max-height: 320px; object-fit: cover; display: block;
    border-radius: var(--radius) var(--radius) 0 0; }
.icgs-modal__body { padding: clamp(24px, 4vw, 40px); }
.icgs-modal__body h3 { font-size: 1.6rem; }
.icgs-modal__role { color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
    font-size: .82rem; margin-bottom: 1rem; }
.icgs-modal__body .prose { line-height: 1.8; }
.icgs-modal__close {
    position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px;
    display: grid; place-items: center; border-radius: 999px; border: none; cursor: pointer;
    background: rgba(255,255,255,.9); color: var(--brand-dark); box-shadow: var(--shadow-sm);
    transition: all .2s var(--ease);
}
.icgs-modal__close:hover { background: var(--brand); color: #fff; transform: rotate(90deg); }
@keyframes icgsFade { from { opacity: 0; } }
@keyframes icgsPop { from { opacity: 0; transform: translateY(16px) scale(.98); } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--brand-dark); color: var(--brand-ink); padding: clamp(56px,7vw,84px) 0 0; }
.site-footer a { color: var(--brand-ink); }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(28px,4vw,56px);
    padding-bottom: 48px; }
.site-footer h4 { color: #fff; font-size: 1.05rem; letter-spacing: .02em; margin-bottom: 1.1rem; }
.site-footer__brand img { height: 110px; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: .95; }
.site-footer__brand p { color: rgba(216,230,221,.75); font-size: .95rem; max-width: 38ch; }
.site-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer__links a { display: inline-flex; align-items: center; gap: .5em; font-size: .94rem; }
.site-footer__links svg { width: 14px; height: 14px; color: var(--gold-soft); }
.site-footer__social { display: flex; gap: 10px; margin-top: 18px; }
.site-footer__social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px;
    border: 1px solid rgba(216,230,221,.25); transition: all .25s var(--ease); }
.site-footer__social a:hover { background: var(--gold); color: var(--brand-dark); border-color: var(--gold); transform: translateY(-3px); }
.site-footer__bottom { border-top: 1px solid rgba(216,230,221,.16); padding: 22px 0; margin-top: 8px;
    display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between;
    font-size: .85rem; color: rgba(216,230,221,.65); }
.contact-line { display: flex; align-items: flex-start; gap: .6em; margin-bottom: .5rem; font-size: .94rem;
    color: rgba(216,230,221,.85); }
.contact-line svg { width: 16px; height: 16px; color: var(--gold-soft); flex-shrink: 0; margin-top: .25em; }

/* ==========================================================================
   INNER-PAGE BANNER (heroheader)
   ========================================================================== */
.page-banner { position: relative; background:
        radial-gradient(900px 300px at 85% -20%, rgba(187,147,51,.22), transparent 60%), var(--brand);
    color: #fff; padding: clamp(54px,7vw,92px) 0; overflow: hidden; }
.page-banner::before { content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 22px 22px; opacity: .5; }
.page-banner__inner { position: relative; }
.page-banner .icgs-eyebrow { color: var(--gold-soft); }
.page-banner h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); }
.page-banner__crumbs { color: rgba(255,255,255,.7); font-size: .9rem; margin-top: .5rem; }
.page-banner__crumbs a { color: rgba(255,255,255,.85); }

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-reveal-delay="1"] { transition-delay: .08s; }
.reveal[data-reveal-delay="2"] { transition-delay: .16s; }
.reveal[data-reveal-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1 !important; transform: none !important; }
    .hero__slide { transition: opacity .4s linear; transform: none; }
    * { scroll-behavior: auto !important; }
}

/* ==========================================================================
   RESPONSIVE GRID COLLAPSES
   ========================================================================== */
@media (max-width: 992px) {
    .icgs-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .icgs-grid--3 { grid-template-columns: repeat(2, 1fr); }
    .org-grid { grid-template-columns: repeat(4, 1fr); }
    .feature-split { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .icgs-grid--2, .icgs-grid--3, .icgs-grid--4 { grid-template-columns: 1fr; }
    .org-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-grid { grid-template-columns: 1fr; }
    .hero__cta .icgs-btn { width: 100%; justify-content: center; }
    .site-footer__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   LEGACY OVERRIDES — unify the inner pages still using the old theme classes
   ========================================================================== */
.blog-area, .section.blog-area { background: var(--paper); padding: clamp(40px,6vw,72px) 0; }
.blog-area .container { max-width: var(--maxw); }
.section-title { text-align: center; margin: 0 auto clamp(28px,4vw,44px); }
.section-title h2, .section-title h3 { font-family: var(--font-display); font-size: clamp(1.8rem,3.6vw,2.6rem);
    color: var(--ink); position: relative; display: inline-block; }
.section-title h2::after { content: ""; display: block; width: 54px; height: 3px; background: var(--gold);
    border-radius: 2px; margin: .55rem auto 0; }
.section-title p { color: var(--muted); }

/* legacy cards / buttons */
.single-post { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 26px;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.single-post:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.single-post .image-wrapper { overflow: hidden; }
.single-post .image-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.single-post:hover .image-wrapper img { transform: scale(1.05); }
.category-btn, .caegory-btn { display: block; width: 100%; text-align: left; background: var(--surface);
    border: none; padding: 0 0 18px; cursor: pointer; color: var(--ink); }
.category-btn p, .caegory-btn p { padding: 0 18px; color: var(--muted); font-size: .96rem; }
.category-btn .icons, .caegory-btn .icons { padding: 16px 18px 6px; }
.category-btn .icons b, .caegory-btn .icons b { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink);
    font-weight: 600; }
.category-btn a, .caegory-btn a { color: var(--ink); }
.category-btn a:hover, .caegory-btn a:hover { color: var(--brand); }

.btn-bg, .btn.btn-bg { background: var(--brand) !important; color: #fff !important; border-radius: 999px !important;
    padding: .85em 1.8em !important; font-weight: 600; border: none !important; display: inline-block;
    transition: all .25s var(--ease); box-shadow: var(--shadow-sm); }
.btn-bg:hover, .btn.btn-bg:hover { background: var(--gold) !important; color: #1c1402 !important; transform: translateY(-2px); }

.bg-beige { background: var(--paper-2) !important; border-radius: var(--radius); padding: 24px !important; }
.clients { padding: clamp(36px,5vw,60px) 0; }

/* legacy bootstrap modal polish */
.modal-content { border: none; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.modal-body { padding: clamp(22px,4vw,38px); line-height: 1.8; color: var(--ink); }
.modal-body img { border-radius: var(--radius-sm); margin-bottom: 1rem; }

/* neutralise the legacy `.btn { background: blue !important }` rule from custom.css */
.icgs .btn:not(.icgs-btn):not(.btn-bg) {
    background: var(--brand) !important; border: 1.5px solid var(--brand) !important; color: #fff !important;
    border-radius: 999px !important; padding: .8em 1.6em !important; font-weight: 600;
    transition: all .25s var(--ease) !important;
}
.icgs .btn:not(.icgs-btn):not(.btn-bg):hover { background: var(--brand-light) !important; border-color: var(--brand-light) !important; }

/* ==========================================================================
   RECORD LIST (publications / research)
   ========================================================================== */
.record-list { display: grid; gap: 16px; }
.record {
    display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start;
    background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--gold);
    border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.record:hover { transform: translateX(5px); box-shadow: var(--shadow-md); }
.record__num { font-family: var(--font-display); font-size: 1.7rem; color: var(--gold); font-weight: 600;
    line-height: 1.1; min-width: 2ch; }
.record__title { font-size: 1.22rem; margin: 0 0 .5rem; }
.record__body { color: var(--muted); line-height: 1.8; }
.record__body p { margin: 0 0 .7rem; }
.record__body :last-child { margin-bottom: 0; }
@media (max-width: 600px) { .record { grid-template-columns: 1fr; gap: 6px; padding: 20px 22px; } }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px; box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.info-card h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.contact-map { width: 100%; height: 340px; border: 0; border-radius: var(--radius);
    box-shadow: var(--shadow-sm); display: block; }

.icgs-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: clamp(24px, 4vw, 36px); box-shadow: var(--shadow-sm); }
.icgs-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .icgs-form__row { grid-template-columns: 1fr; } }
.icgs-field { margin-bottom: 16px; }
.icgs-field label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: .45rem; }
.icgs-input { width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
    background: var(--paper); border: 1.5px solid var(--line-strong); border-radius: 10px;
    padding: .8em 1em; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); }
.icgs-input::placeholder { color: #9aa39b; }
.icgs-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--ring); background: #fff; }
textarea.icgs-input { resize: vertical; min-height: 140px; }

/* ==========================================================================
   MOBILE TYPOGRAPHY — stop wrapped display-serif titles from overlapping
   ========================================================================== */
@media (max-width: 768px) {
    h1, h2, h3, h4 { line-height: 1.16; }
    .hero__content h1 { line-height: 1.1; font-size: clamp(2rem, 8.5vw, 3rem); }
    .page-banner h1 { font-size: clamp(1.7rem, 7.5vw, 2.4rem); }
    .icgs-head h2 { font-size: clamp(1.65rem, 6.4vw, 2.3rem); }
    .icgs-head p, .page-banner__crumbs { font-size: .95rem; }
    .card-icgs__title { font-size: 1.18rem; }
    .record__title { font-size: 1.12rem; }
}
@media (max-width: 420px) {
    .page-banner h1 { font-size: clamp(1.55rem, 8.5vw, 2rem); }
    .icgs-head h2 { font-size: 1.55rem; }
}
