/* ==========================================================================
   RESET & ROOT
========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --gl:    rgba(255,255,255, 0.5);
    --olive: #B5D22F;
    --green: #193111;
    --navy:  #0c1c35;
    --dk:    #000000;
    --lg:    #ffffff;
    --lgOp9:    rgba(255,255,255, 0.9);
    --lgray: #F6F6F6;
    --org:   #E08D42;
    --g:     80px;
    --hh:    70px; /* 70px */
    --fh:    70px; /* 70px */
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background: var(--dk);
    color: #fff;
    scrollbar-width: none;
    overflow: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
body {
    font-family: 'Roboto', Helvetica, Arial, sans-serif;
    font-weight: 400; 
    font-size: 16px; /* Base: 1rem = 16px */
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
body::-webkit-scrollbar { display: none; }

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    line-height: 1.1;
}

h1, h2{
    line-height: 1;
}

h1, h2, h3, h4 {
    font-weight: 900; 
}

h5, h6 {
    font-weight: 800; 
}

/* Desktop Sizes */
h1 { font-size: 3.125rem; }  /* 50px */
h2 { font-size: 2.1875rem; } /* 35px */
h3 { font-size: 1.5625rem; } /* 25px */
h4 { font-size: 1.375rem; }  /* 22px */
h5 { font-size: 1.25rem; }   /* 20px */
h6 { font-size: 1rem; }      /* 16px */

p {
    font-size: 1rem;
    /* margin-bottom: 1.5rem; */
    font-weight: 400; /* Uses your roboto-regular.woff2 */
}

/* Paragraph Variations */
.p-large { font-size: 1rem; }      /* 16px */
.p-standard { font-size: 0.875rem; } /* 14px */
.p-small { font-size: 0.75rem; }    /* 12px */
.p-xsmall { font-size: 0.625rem; }    /* 10px */

/* Specialized UI Elements */
.nav-menu {
    font-size: 0.8125rem; /* 13px */
    font-weight: 700;
}

.btn-text {
    font-size: 0.75rem; /* 12px */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.title-small {
    font-size: 0.875rem; /* 14px (for titles/labels) */
    font-weight: 700;
}

/* ==========================================================================
   RESPONSIVE (MOBILE) - ROOT REMAINS 16px FOR LEGIBILITY
   ========================================================================== */
@media screen and (max-width: 768px) {
    /* Scale down the 'Giant' titles so they don't overflow */
    h1 { 
        font-size: 2.25rem; /* ~36px */
        line-height: 1.1;
    }
    
    h2 { 
        font-size: 1.75rem; /* ~28px */
    }

    h3 {
        font-size: 1.375rem; /* ~22px */
    }

    /* Keep body text (P) at 14px for accessibility compliance */
    body, .p-standard {
        font-size: 0.875rem; 
        line-height: 1.5;
    }

    /* Ensure images like ppl-img or chairman-img don't break layout */
    img {
        max-width: 100%;
        height: auto;
    }
}

/* ==========================================================================
   UTILITIES / HELPERS
   ========================================================================== */
.font-thin{
    font-weight: 300;
}

.font-medium{
    font-weight: 500;
}

.text-italic {
    font-style: italic; /* TODO:Triggers roboto-italic.woff2 */
}

.text-uppercase{
    text-transform: uppercase;
}

.text-center{
    text-align: center;
}

.hide-on-scroll,
.show-on-scroll {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* default state */
.show-on-scroll {
    opacity: 0;
}

.hide-on-scroll {
    opacity: 1;
}

/* active state */
.scrolled .show-on-scroll {
    opacity: 1;
}

.scrolled .hide-on-scroll {
    opacity: 0;
}

ul {
    margin-left: 2px;
    list-style-position: inside;
}

.mb-0{
    margin-bottom: 0 !important;
}

.mt-0{
    margin-top: 0 !important;
}

/* animation-name: fadeInUp; */
@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translate3d(0, -32px, 0)
	}
	to {
		opacity: 1;
        filter: blur(0px);
		transform: none;
	}
}

@keyframes fadeInLeft {
	from {
		opacity: 0;
		transform: translate3d(-32px, 0, 0)
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes fadeInRight {
	from {
		opacity: 0;
		transform: translate3d(32px, 0, 0)
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translate3d(0, 32px, 0)
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}


.desktop-hidden{
    display: none;
}

/* ==========================================================================
   FIXED BG LAYER
========================================================================== */
#l-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    display: grid;
    grid-template-columns: var(--g) repeat(4, 1fr) var(--g);
    grid-template-rows: var(--hh) repeat(3, 1fr) var(--fh);
}
#l-bg:after {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(0deg, black, transparent); */
    opacity: 1;
}
.grid-box {
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    backface-visibility: hidden;
}
.bg-part {
    position: absolute;
    inset: -2px;
    background-size: cover;
    background-repeat: no-repeat;
    transform-origin: center center;
    will-change: transform, opacity;
    backface-visibility: hidden;
}
.grid-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: var(--g) repeat(4, 1fr) var(--g);
    grid-template-rows: var(--hh) repeat(3, 1fr) var(--fh);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.55s ease;
}
body.show-grid .grid-overlay {
    opacity: 1;
}

.grid-line {
    border-right: none;
    border-bottom: none;
}

/* Border-left on every cell in col 2 (positions 2, 8, 14, 20, 26) */
.grid-line:nth-child(6n+2) {
    border-left: 1px solid var(--gl);
}

/* Border-right on every cell in col 4 (positions 4, 10, 16, 22, 28) */
.grid-line:nth-child(6n+4) {
    border-right: 1px solid var(--gl);
}

/* Border-right on every cell in col 5 */
.grid-line:nth-child(6n+5) {
    border-right: 1px solid var(--gl);
}

/* Inner cols only: cols 2-5 = positions 2,3,4,5 in each row */
/* Each row has 6 cells. Col positions within row: n%6 === 2,3,4,5 (1-indexed) */
/* Right border on cols 2,3,4 (not col 5 = last inner, not col 6 = gutter) */
.grid-line:nth-child(6n+2),
.grid-line:nth-child(6n+3),
.grid-line:nth-child(6n+4),
.grid-line:nth-child(6n+5) {
    border-right: 1px solid var(--gl);
}

/* Bottom border on rows 2,3,4 inner cols only — rows 1,5 get none */
/* Row 2 = cells 7-12, Row 3 = 13-18, Row 4 = 19-24 */
.grid-line:nth-child(n+7):nth-child(-n+24):nth-child(6n+2),
.grid-line:nth-child(n+7):nth-child(-n+24):nth-child(6n+3),
.grid-line:nth-child(n+7):nth-child(-n+24):nth-child(6n+4),
.grid-line:nth-child(n+7):nth-child(-n+24):nth-child(6n+5) {
    border-bottom: 1px solid var(--gl);
}

/* Last inner row (row 4, cells 19-24) — no bottom border */
.grid-line:nth-child(n+19):nth-child(-n+24) {
    border-bottom: none;
}

/* ==========================================================================
   FIXED HEADER
========================================================================== */
.hdr-row {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: var(--hh);
    display: grid;
    grid-template-columns: var(--g) repeat(4, 1fr) var(--g);
    z-index: 53;
}
.hdr-gl {
    grid-column: 1;
}
.hdr-logo {
    grid-column: 2;
    background: var(--olive);
    display: flex; 
    align-items: center;
    padding: 0 20px; 
    gap: 12px;
}
.hdr-logo-mark{
    display: flex;
    align-items: center;
}
.hdr-logo-mark a {
    pointer-events: auto;
    cursor: pointer;
    display: flex;
    align-items: center;
}
.hdr-logo-mark img{
    width: 150px;
    max-width: 150px;
    height: auto;
    object-fit: contain;
}
.hdr-olive {
    grid-column: 3 / 4;
    background: var(--olive);
}
.hdr-olive-1 {
    grid-column: 4 / 5;
    background: var(--olive);
}

/* ── Header Report item with dropdown ── */
.hdr-report {
    grid-column: 5;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 20px;
    font-weight: 400;
    color: var(--dk);
    background: var(--olive);
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    user-select: none;
}

.report-label{
    display: flex;
    align-items: center;
    justify-content: center;
}

.report-dropdown {
    position: absolute;
    top: var(--hh); /* drops down from header bottom 70px */
    right: 0;
    left: 0;
    background: #F6F6F6;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 100;
}
.report-dropdown a {
    display: block;
    padding: 1.25rem 1.25rem;
    letter-spacing: 0em;
    text-align: right;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--navy);
    text-decoration: none;
    border-bottom: 1px solid #f0f2f5;
    transition: background 0.15s, color 0.15s;
}
.report-dropdown a:last-child { border-bottom: none; }
.report-dropdown a:hover { background: var(--org); color: #fff; }
.report-dropdown a.active-link { background: var(--org); color: #fff; }

.hdr-report:hover .report-dropdown,
.hdr-report.open .report-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.hdr-gr {
    grid-column: 6;
}

/* ==========================================================================
   FIXED FOOTER
========================================================================== */
.ftr-row {
    position: fixed;
    bottom: 0; left: 0;
    width: 100%;
    height: var(--fh);
    display: grid;
    grid-template-columns: var(--g) repeat(4, 1fr) var(--g);
    z-index: 50;
}
.ftr-gl {
    grid-column: 1;
}
.ftr-item {
    position: relative;
    height: var(--fh);
    display: flex; align-items: center;
    padding: 0 18px;
    font-weight: 700;
    color: var(--dk);
    background: var(--lgray);
    cursor: pointer; 
    pointer-events: auto;
    line-height: 1.35;
    transition: color 0.3s, background 0.3s;
    user-select: none;
}
.ftr-item:hover { color: var(--lg); background: var(--org);}
.ftr-item.active { color: var(--lg); background: var(--org); }
.ftr-item:nth-of-type(1) { grid-column: 1; }
.ftr-item:nth-of-type(2) { grid-column: 2; }
.ftr-item:nth-of-type(3) { grid-column: 3; }
.ftr-item:nth-of-type(4) { grid-column: 4; }
.ftr-item:nth-of-type(5) { grid-column: 5; }
.ftr-gr {
    grid-column: 5;
    display: flex; 
    align-items: center; 
    justify-content: center;
}
.scroll-ring {
    width: 26px; 
    height: 26px; 
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.3);
    display: flex; 
    align-items: flex-start;
    justify-content: center; 
    padding-top: 5px; 
    overflow: hidden;
}
.scroll-ring::after {
    content: ''; 
    width: 3px; 
    height: 3px; 
    border-radius: 50%;
    background: #fff;
    animation: sDot 1.8s ease-in-out infinite;
}
@keyframes sDot {
    0%   { transform: translateY(0);    opacity: 1; }
    100% { transform: translateY(14px); opacity: 0; }
}

/* ── About IBF dropdown ── */
.about-dropdown {
    position: absolute;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    bottom: var(--fh); /* 70px */
    padding: 10px 0;
    width: 100%;
    left: 0;
    background-color: var(--lg);
    opacity: 0;
    visibility: hidden;
}
.about-dropdown a {
    text-transform: uppercase;
    display: block;
    padding: 0.5rem 1.25rem;
    color: var(--navy);
    text-decoration: none;
    /* border-bottom: 1px solid #f0f2f5; */
    transition: background 0.15s, color 0.15s;
}
.about-dropdown a:last-child { border-bottom: none; }
.about-dropdown a:hover { color: var(--olive); }
.about-dropdown a.active { color: var(--olive); font-weight: 600; }
.ftr-item.about-ibf-item:hover .about-dropdown,
.ftr-item.about-ibf-item.open .about-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.scroll-icon {
    right: calc(var(--g) - 15px);
    position: fixed;
    bottom: calc(var(--fh) - 15px);
    width: 40px;
    height: 40px;
    z-index: 51;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(3px); }
}

/* ==========================================================================
   CONTENT LAYER
========================================================================== */
#l-content {
    position: fixed;
    top: var(--hh);
    left: 0; right: 0;
    bottom: var(--fh);
    z-index: 10;
    display: grid;
    grid-template-columns: var(--g) repeat(4, 1fr) var(--g);
    grid-template-rows: 1fr;
    pointer-events: none;
}

/* section pass-through — children still join the parent grid */
#l-content > section {
    display: contents;
}

/* Shared fade defaults */
.c-hero,
.c-left, .c-body, .c-right {
    position: relative;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.55s ease;
}
/* Content appears after BG has settled — staggered left → body → right */
.c-left  { transition-delay: 0s; }
.c-body  { transition-delay: 0.10s; }
.c-right { transition-delay: 0.18s; }
.c-hero.active,
.c-left.active,
.c-body.active,
.c-right.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 9;
}

/* Hero — col 2-6, full height, bottom-aligned */
.c-hero {
    grid-column: 2 / 6;
    grid-row: 1;
    display: flex; 
    align-items: flex-end;
    padding: 0 0 1.75rem 1.5rem;
    font-weight: 900; 
    line-height: 1.05; 
    width: 100%;
    /* text-transform: uppercase; */
}

/* Left label — col 2 */
.c-left {
    grid-column: 2;
    grid-row: 1;
    /* border-right: 1px solid var(--gl); */
    pointer-events: auto;
    padding: 0;
    overflow: hidden;
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
}
.c-tag {
    font-size: 9px; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: rgba(255,255,255,0.40); margin-bottom: 16px;
}
/* .c-h1, h1{
    font-weight: 900; 
    line-height: 1.1;
}
.c-h2, h2 {
    font-weight: 700; 
    line-height: 1.35;
    margin-top: 8px; 
    text-transform: uppercase;
} */

/* Body — col 3-4 */
.c-body {
    grid-column: 3 / 5;
    grid-row: 1;
    /* border-right: 1px solid var(--gl); */
    display: flex; flex-direction: column;
    justify-content: center;
    padding: 2rem 2.25rem;
    pointer-events: auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-behavior: smooth;
    height: 100%;
    background-color: var(--lg);
    color: var(--dk);
}
/* .c-body.scroll { background-color: var(--lg); } */
/* .c-body.scroll p { color: var(--navy); } */
.c-body::-webkit-scrollbar { width: 6px; }
.c-body::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.25);
    border-radius: 4px;
}
.c-body p {
    /* line-height: 1.82; */
    /* color: rgba(255,255,255,0.78); */
    color: var(--dk);
    margin-bottom: 1.4em;
}
.c-body p:last-child { margin-bottom: 0; }

.c-body-desc{
    padding: 1.25rem 1.25rem;
}

.c-body.no-c-right{
    grid-column: 3 / 6;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
    display: block;
    justify-content: unset;
}

/* Right image — col 5 */
.c-right {
    grid-column: 5;
    grid-row: 1;
    position: relative; 
    overflow: hidden;
    /* border-right: 1px solid var(--gl); */
    pointer-events: auto;
}
.c-right img {
    position: absolute; 
    inset: 0;
    width: 100%; 
    height: calc(100% - 76px);
    object-fit: cover; 
    display: block;
    transition: transform 7s ease;
}
.c-right.active img { transform: scale(1.05); }

.c-full{
    grid-column: 2 / 6;
    grid-row: 1;
    overflow: hidden;
    pointer-events: auto;
    opacity: 0;
    z-index: 0;
}

.c-full.active {
    opacity: 1;
    z-index: 9;
}

.quote-p{
    line-height: 1.25;
    left: 1.25rem;
    right: 1.25rem;
}

.quote-p span img {
    min-width: 10px;
    width: 10px;
    height: auto;
    vertical-align: super;
}

.c-full.active .gt-cell.gt-title{
    animation: fadeIn 0.3s ease-in-out;
}

:is(.council-left,.committee-left).active h2{
    animation: fadeIn 0.3s ease-in-out;
}

.council-left.active .council-desc p{
    animation: fadeInUp 0.5s ease-in-out;
}

.committee-left.active .committee-desc p{
    animation: fadeInUp 0.5s ease-in-out;
}

.c-body.active .committee-ctn{
    animation: fadeInUp 0.8s ease-in-out;
}

.c-body :is(ol, ul) {
    list-style-position: outside;
    padding-left: 1.25rem;
}

.c-body a{
    text-decoration: none;
    color: var(--dk);
}

.c-body a:hover{
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ==========================================================================
   SCROLL DRIVER
========================================================================== */
#scroll-driver {
    position: fixed;
    top: 0; left: 0;
    width: 1px; height: 1px;
    visibility: hidden;
    pointer-events: none;
    z-index: -1;
}
.snap-section {
    height: 100vh;
    scroll-snap-align: start;
}

/* ==========================================================================
   LAYOUT B — 2-COLUMN WIDE
   Add  data-layout="wide"  to any <section>
   Result: col 2 = c-left (navy) | col 3-5 = c-body (white)
           c-right is hidden entirely
========================================================================== */

/* Stretch body across cols 3–5, give it a clean white bg */
section[data-layout="wide"] .c-body {
    grid-column: 3 / 6;
    /* padding: 0; */
    /* background-color: var(--lg); */
    justify-content: flex-start;
}

/* Kill the right panel */
section[data-layout="wide"] .c-right {
    display: none;
}

/* Left panel gets navy treatment in wide mode */
section[data-layout="wide"] .c-left {
    /* background: var(--navy); */
    border-right: none;
    /* justify-content: flex-start; */
    /* padding-top: 40px; */
}

section[data-layout="wide"] .c-left .c-tag {
    color: rgba(255, 255, 255, 0.45);
}
section[data-layout="wide"] .c-left .c-h1 {
    color: #fff;
}
section[data-layout="wide"] .c-left .c-h2 {
    color: rgba(255, 255, 255, 0.5);
}

/* ── Portrait block (optional, inside c-left in wide mode) ── */
.wide-portrait {
    /* margin-top: 28px; */
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.wide-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    /* border-radius: 2px; */
    display: block;
    /* border: 2px solid rgba(255, 255, 255, 0.15); */
}

/* ── Inner wrapper for the wide body ── */
.c-body-wide {
    /* display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden; */
}

/* ── Media strip (image + caption, fixed to bottom of panel) ── */
.wide-media {
    display: grid;
    grid-template-columns: 1fr 380px;
}
.wide-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.wide-media-cap {
    padding: 1.25rem 1.375rem;
    display: flex;
    align-items: flex-start;
}
.wide-media-cap p {
    font-style: italic;
    margin: 0;
}

/* ==========================================================================
   S1 — Chairman Message
========================================================================== */
#sec1 .c-left .cl-r1{
    padding: 1.25rem 1.15rem;   
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

#sec1 .c-body.active .wide-media.animate{
    opacity: 0;
}

#sec1 .c-body.active .wide-media.initial,
#sec1 .c-body.active .wide-media.animated{
    animation: fadeInUp 1s ease-in-out;
}

#sec1 .cl-r2{
    padding: 0px 1.15rem;   
    position: relative;
    /* overflow: hidden; */
    overflow: visible;
    min-height: 174px;
    /* opacity: 0; */
}

#sec1 .cl-r3{
    overflow: hidden;
}

#sec1 .c-left.active .cl-r3 img{
    animation: fadeInUp .7s ease-in-out;
}

#sec1 .quote-p {
    position: absolute;
    text-align: center;
    /* newly added */
    height: 100%;
    display: flex;
    align-items: center;
    left: 1.15rem;
    right: 1.15rem;
}

#sec1 .quote-p span:first-child{
    position: absolute;
    left: -1rem;
    top: 0;
}

#sec1 .quote-p span:last-child {
    position: absolute;
    /* bottom: -1rem; */
    bottom: 0;
    right: -0.5rem;
}

#sec1 .hide-on-scroll{
    display: flex;
    height: 100%;
}

#sec1 .image-box {
    height: 100%;
    position: relative;
    background: var(--lgray);
}

#sec1 .image-box img {
    width: 200px;
    max-width: 200px;
    height: 100%;
    bottom: 0;
    position: relative;
    object-fit: contain;
    object-position: bottom left;
}

#sec1 .text-box {
    position: absolute;
    z-index: 99;
    color: var(--dk);
    bottom: 1.5rem;
    left: 200px;
}

#sec1 .c-left.active .text-box{
    animation: fadeInUp 1s ease-in-out;
}

/* ==========================================================================
   S2 — Growing Together
========================================================================== */
#sec2 .cl-r1{
    padding: 1.25rem 1.25rem;
}

#sec2 .cl-r1 h2{
    font-weight: 900;
    margin-bottom: 5px;
}

#sec2 .cl-r1 :is(h4, h5){
    font-weight: 700;
}

#sec2 .c-left{
    color: var(--dk);
}

#sec2 .c-body{
    justify-content: flex-start;
}

/* ══════════════════════════════════════════
   S2 / S2b — GROWING TOGETHER FULL GRID
══════════════════════════════════════════ */
.gt-full {
    transition: opacity 0.55s ease 0.05s;
    background-color: #DFDFDF;
}

.gt-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    height: 100%;
}

.gt-cell {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.9375rem 0.9375rem; /* 16px 16px */
    position: relative;
    overflow: hidden;
    border-left: 1px solid var(--gl);
    border-right: 1px solid var(--gl);
}

.gt-cell.gt-title {
    color: var(--dk);
    padding: 1.25rem 1.25rem;
}

.gt-title h2{
    font-weight: 900;
    margin-bottom: 5px;
}

.gt-title :is(h4, h5){
    font-weight: 700;
}

.gt-cell.gt-stat {
    background: var(--green);
    justify-content: flex-end;
    border: 1px solid rgba(255,255,255,0.07);
}
.gt-cell h4 {
    font-size: 1.25rem; /* h5 font size */
    line-height: 1;
    margin-bottom: 5px;
}
.gt-pre {
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.04em;
    margin-bottom: 1px;
}
.gt-num {
    font-weight: 900;
    color: #fff;
}
.gt-num-sub {
    font-size: 1.25rem; /* h5 font size */
    line-height: 1;
    font-weight: 700;
    color: #fff;
}
.gt-desc {
    color: var(--lg);
    margin-bottom: 0.3125rem;
    line-height: 1.25;
    flex: 1;
    font-weight: 300;
}
.gt-desc strong { 
    color: #fff; 
    font-weight: 600;
}
.gt-cell strong{
    font-weight: 700;
}
.gt-btn {
    background: var(--olive);
    color: var(--dk);
    font-weight: 600;
    padding: 0.5rem 1.125rem;
    border-radius: 999px;
    text-decoration: none;
    flex-shrink: 0;
    transition: background 0.2s;
    text-align: center;
    line-height: 1;
    width: fit-content;
    height: fit-content;
}
.gt-btn:hover {
    background: var(--lg);
}
.gt-cell.gt-icon {
    align-items: center;
    justify-content: center;
}
.gt-cell.gt-icon img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.c-full.active .gt-cell.gt-icon div{
    opacity: 0;
    animation: shakeRotateFadeIn 0.8s ease forwards;
}

/* stagger effect */
.c-full.active .gt-cell:nth-of-type(3) div { animation-delay: 0.3s; }
.c-full.active .gt-cell:nth-of-type(6) div { animation-delay: 0.5s; }
.c-full.active .gt-cell:nth-of-type(8) div { animation-delay: 0.7s; }
.c-full.active .gt-cell:nth-of-type(9) div { animation-delay: 0.9s; }
.c-full.active .gt-cell:nth-of-type(11) div { animation-delay: 1.1s; }

@keyframes shakeRotate {
    0%   { transform: rotate(0); }
    25%  { transform: rotate(-3deg); }
    50%  { transform: rotate(3deg); }
    75%  { transform: rotate(-2deg); }
    100% { transform: rotate(0); }
}

@keyframes shakeRotateFadeIn {
    0% {
        transform: rotate(0);
        opacity: 0;
    }
    25% {
        transform: rotate(-3deg);
        opacity: 0.4;
    }
    50% {
        transform: rotate(3deg);
        opacity: 0.7;
    }
    75% {
        transform: rotate(-2deg);
        opacity: 0.9;
    }
    100% {
        transform: rotate(0);
        opacity: 1;
    }
}

.c-full.active .gt-icon img:hover {
    animation: shakeRotate 0.4s ease-in-out;
}

/* ══════════════════════════════════════════
   S2b — Growing Together (Workforce Development)
══════════════════════════════════════════ */
#sec2b .c-h1{
    padding: 1.25rem 1.25rem;
}

#sec2b .c-h1 :is(h1, h2){
    color: var(--dk);
}

#sec2b .c-body{
    justify-content: flex-start;
}

/* ==========================================================================
   S3 — Stories of Career
========================================================================== */
#sec3 .cl-1{
    padding: 1.25rem 1.25rem;
    overflow: hidden;
}

#sec3 .council-grid-wrap, #sec3 .council-card{
    background: transparent;
}

.str-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    height: 100%;
}

.str-cell {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.9375rem 0.9375rem; /* 16px 16px */
    position: relative;
    overflow: hidden;
}

h6.str-title.p-standard{
    width: 80%;
    margin: 0 auto;
}

.str-img{
    padding: 0;
}

.str-img {
    position: relative;
    overflow: hidden;
    cursor: default;
    border: 1px solid var(--gl);
    border-left: none;
}

.str-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.str-img:hover img {
    /* transform: scale(1.06); */
}

.str-hover {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1.25rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    gap: 0.9375rem;
    cursor: pointer;
}

.str-img:hover .str-hover { opacity: 1; }

.str-title {
    font-weight: 700;
    color: var(--lg);
    gap: 0.5rem;
}

.str-hover p{
    color: var(--lg);
    text-decoration: none;
}

.c-full.active .str-title{
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.c-full.active .str-img{
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

/* stagger effect */
.c-full.active .str-cell:nth-of-type(2) { animation-delay: 0.25s; }
.c-full.active .str-cell:nth-of-type(4) { animation-delay: 0.4s; }
.c-full.active .str-cell:nth-of-type(7) { animation-delay: 0.55s; }
.c-full.active .str-cell:nth-of-type(10) { animation-delay: 0.7s; }
.c-full.active .str-cell:nth-of-type(12) { animation-delay: 0.85s; }


.c-full.active .str-cell:nth-of-type(1) { animation-delay: 1.45s; }
.c-full.active .str-cell:nth-of-type(3) { animation-delay: 1.5s; }
.c-full.active .str-cell:nth-of-type(6) { animation-delay: 1.55s; }
.c-full.active .str-cell:nth-of-type(8) { animation-delay: 1.65s; }
.c-full.active .str-cell:nth-of-type(9) { animation-delay: 1.35s; }
.c-full.active .str-cell:nth-of-type(11) { animation-delay: 1.5s; }

.c-full.active .str-cell:nth-of-type(5) { animation-delay: 1s; }

/* When the popup is open, make the grid ignore all mouse/touch interactions */
#sec3[data-popup-open="true"] {
    pointer-events: none; /* Mouse wheel won't hit the grid */
    overflow: hidden !important; /* Locks the scrollbar in place */
}

/* Ensure the popup itself CAN still be interacted with */
#sec3[data-popup-open="true"] #cb-popup {
    pointer-events: auto;
    /* overflow-y: auto !important; */
}

#sec3 .quote-p {
    flex: 1;
    line-height: 1.25;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 1.25rem 0.5rem;
    left: 0;
    right: 0;
}

#sec3 .quote-p span:first-child {
    position: absolute;
    top: 0;
    left: 0;
}

#sec3 .quote-p span:last-child {
    position: absolute;
    bottom: 0;
    right: 0;
}

#sec3 .quote-p span img {
    min-width: 12px;
    width: 12px;
}

#sec3 .quote-p:before {
    content: '';
    width: 16px;
    height: 16px;
    position: absolute;
    top: 0;
    right: 0;
    background-image: url(../images/icons/indicator-icon.png);
    background-size: contain;
    background-repeat: no-repeat;
}

/* ==========================================================================
   S4 — About IBF
========================================================================== */
#sec4 .cl-r1{
    padding: 1.25rem 1.25rem;
}

.council-left .cl-r1{
    background-color: #2D4226;
    justify-content: flex-start;
    padding: 1.25rem 1.25rem;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--gl);
}

/* Left panel — flex column, clips Swiper inside */
.council-left{
    grid-template-rows: 2fr 1fr;
}

.council-left > div.swiper-container{
    background-color: #2D4226;
    justify-content: flex-start;
    padding: 36px 24px;
    /* height: fit-content; */
    overflow: hidden;   /* hard clip — nothing escapes this column */
    position: relative;
    border: 1px solid var(--gl);
    border-right: none;
}

/* Swiper: scoped, takes remaining height, never overflows column */
.council-swiper {
    /* flex: 1 1 0; */
    /* min-height: 0; */
    width: 100%;
    overflow: hidden;
    position: relative;
}
.council-swiper,
.council-swiper .swiper-wrapper,
.council-swiper .swiper-slide {
    box-sizing: border-box;
}
.council-swiper .swiper-slide {
    display: flex;
    flex-direction: column;
    width: 100% !important;
    height: auto !important;
    flex-shrink: 0;
    padding: 0;
}

/* Pager row — pinned below the swiper */
.council-pager {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    flex-shrink: 0;
}
.council-pager-count {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.55);
}
.council-pager-arrows {
    display: flex;
    gap: 6px;
}
.council-arrow {
    width: 28px; height: 28px;
    border: 1.5px solid rgba(255,255,255,0.35);
    background: transparent;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: border-color 0.2s, background 0.2s;
    border-radius: 2px;
}
.council-arrow:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}
.council-arrow:disabled {
    opacity: 0.25;
    cursor: default;
    pointer-events: none;
}

.council-desc {
    margin-top: 0.5rem;
}
.council-desc p {
    line-height: 1.25;
}
.council-link {
    color: var(--lg);
    font-weight: 700;
    font-style: italic;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.council-link:hover{
    text-decoration: none;
}

/* Grid wrap — spans cols 3–5, scrollable, no padding */
.council-grid-wrap {
    background: var(--lg);
}
.council-grid-wrap::-webkit-scrollbar { width: 0; }

/* Flat 3-col grid — each row is 1/3 of the panel height */
.council-grid {
    background: #F0F4F4;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: calc((100vh - var(--hh) - var(--fh)) / 3);
}

/* Card fills its cell */
.council-card {
    position: relative;
    overflow: hidden;
    background: #F0F4F4;
    cursor: default;    
    border: 1px solid rgb(255 255 255 / 50%);
    border-left: none;
    border-bottom: none;
}
.council-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}
.council-card:hover img {
    /* transform: scale(1.06); */
}

.council-hover {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1.25rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.council-card:hover .council-hover { opacity: 1; }

.council-grid-wrap .council-name {
    color: var(--lg);
    margin-bottom: 0.625rem;
}

.council-grid-wrap .council-title {
    font-weight: 700;
    color: var(--lg);
    margin-bottom: 0.5rem;
}

.council-grid-wrap .council-desg {
    font-weight: 400;
    color: var(--lg);
    line-height: 1.2;
}

/* Right gutter — empty */
.council-right {
    pointer-events: none !important;
    border-right: none !important;
}

#sec4 .c-body.active .c-body-desc.animate :is(p, ul){
    opacity: 0;
}

#sec4 .c-body.active .c-body-desc.animated :is(p, ul){
    animation: fadeInUp 1s ease-in-out;
}

/* ==========================================================================
   S5 — Committee
========================================================================== */
.committee-left .cl-r1{
    background-color: #2D4226;
    justify-content: flex-start;
    padding: 1.25rem 1.25rem;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--gl);
}

/* Left panel — flex column, clips Swiper inside */
.committee-left{
    grid-template-rows: 2fr 1fr;
}

.committee-desc {
    margin-top: 1.125rem;
}
.committee-desc p {
    line-height: 1.25;
}

.committee-ctn .title{
    color: var(--olive);
    margin-bottom: 1rem;
}

.committee-ctn p strong{
    display: block;
}

.col-2 {
    display: flex;
    gap: 30px;
}

.col-2 > div,
.col-2 > p {
    flex: 1;
    width: 100%;
    margin-bottom: 0;
}

.committee-ctn hr {
    border-width: 0.1px;
    border-color: var(--olive);
    margin: 1.5rem 0;
}

/* ==========================================================================
   S5 — IBF Management
========================================================================== */
:is(#sec7, #sec8) .committee-left {
    grid-template-rows: 1fr 1fr 1fr;
}

/* ==========================================================================
   SExtra
========================================================================== */
.ibf-col-middle {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 30px;
}

.ibf-col-middle .icon{
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.ibf-col-middle .gt-btn{
    padding: 0.75rem 1.5rem;
    text-decoration: none;
}

.ibf-col-middle .gt-btn:hover{
    text-decoration: none;
}

:is(#cb-7, #cb-8, #cb-10){
    background: #f0f4f4;
}

:is(#cb-7, #cb-8, #cb-10) .c-body-desc{
    display: flex;
    height: 100%;
    justify-content: center;
}

/* ==========================================================================
   Pop Up
========================================================================== */
#cl-popup .cl-r1{
    padding: 0.9375rem 0.9375rem;  
    display: flex;
    align-items: center;
    overflow: hidden;
}

#cl-popup .cl-r2{
    position: relative;
    overflow: hidden;
}

#cl-popup .cl-r2{
    overflow: hidden;
}

#cl-popup.active .cl-r2 img{
    animation: fadeIn .7s ease-in-out;
}

#cl-popup .cl-r2 img{
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
}

#cl-popup .cl-r2 img{
    opacity: 0;
}

#cl-popup .cl-r2 img.active,
#cb-popup .c-body-wide.active{
    opacity: 1;
    visibility: visible;
    display: block;  
}

#cb-popup .c-body-wide{
    opacity: 0;
    position: absolute;
    top: 2.25rem;
    left: 2.25rem;
    width: calc(100% - 2.25rem - 2.25rem);
    visibility: hidden;
    display: none;  
}

#cb-popup p a{
    font-style: italic;
    color: var(--dk);
    text-decoration: underline;
    text-underline-offset: 1px;
}

#cb-popup p a:hover{
    text-decoration: none;
}

.pop-up-quote {
    display: flex;
    align-items: flex-start;
    margin: 0 auto;
    position: relative;
    height: fit-content;
}

.pop-up-quote h5 {
    line-height: 1.5;
    font-weight: 800;
    color: #A6C22D;
    padding: 2rem 0rem;
    width: 80%;
    margin: 0 auto;
    font-size: 1.125rem;
}

.pop-up-quote p{
    margin-top: 0.5rem;
}

.pop-up-quote:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 26px;
    height: 26px;
    background-image: url(../images/icons/green-open-quote.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
}

.pop-up-quote:after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 26px;
    height: 26px;
    background-image: url(../images/icons/green-close-quote.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
}

#cb-popup .wide-media-cap p {
    color: #2D4226;
    font-size: 0.875rem;
}

#cb-popup .pop-up-quote:before{
    left: 0.5rem;
}

#cb-popup .pop-up-quote:after{
    right: 0.5rem;
}

/* Hide the grid when popup is open */
#cb-3.hidden {
    display: none;
}

#cb-popup  .col-2.clearfix::after{
    content: "";
    display: block;
    clear: both;
}

#cb-popup .col-2{
    display: block;
}

#cb-popup .pop-up-quote{
    float: right;
    width: 26rem;
    /* shape-outside: polygon(
        60px 0%,
        70% 0%, 80% 2%, 88% 6%, 94% 12%, 98% 20%, 100% 30%,
        100% 70%, 98% 80%, 94% 88%, 88% 94%, 80% 98%, 70% 100%,
        30% 100%, 20% 98%, 12% 94%, 6% 88%, 2% 80%, 0% 70%,
        0% 60px
    ); */
    shape-outside: inset(0 round 30% 0% 0% 50%);
    -webkit-shape-outside: inset(0 round 30% 0% 0% 50%);
    margin: 0 0 10px 30px;
}

#cb-popup .pop-up-quote.custom-quote{
    shape-outside: inset(25px 0 0 0 round 30% 0% 0% 50%);
    -webkit-shape-outside: inset(25px 0 0 0 round 30% 0% 0% 50%);
    margin: 40px 0 10px 40px;
}

#cb-popup .col-2 p:not(:last-child){
    margin-bottom: 1.4em;
}

/* Close button in popup header */
#popup-close {
    position: fixed;
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 700;
    color: inherit;
    line-height: 1;
    z-index: 9999;
    right: var(--g);
    top: var(--hh);
    padding: 0.625rem 0.875rem;
    background: #D9D9D9;
}

#cl-popup .cl-r1 {
    position: relative; /* needed for absolute close button */
}

.social-icons-list{
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-icons-list img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    object-position: center;
}

.social-icons-list a {
    display: flex;
    align-items: center;
}

/* ==========================================================================
   Media Queries
========================================================================== */
@media only screen and (max-width: 1366px){
    :root {
        --g:     60px;
        --hh:    60px; /* 70px */
        --fh:    60px; /* 70px */
    }

    html, body {
        font-size: 14px;
    }

    .quote-p span img {
        min-width: 6px;
        width: 6px;
    }

    #sec1 .text-box {
        left: 60%;
    }

    #sec1 .image-box img {
        width: 60%;
        max-width: 60%;
    }

    .gt-cell.gt-icon img {
        width: 80px;
        height: 80px;
    }

    .gt-btn{
        max-width: 240px;
    }
}

/* ==========================================================================
   MOBILE HEADER & NAV OVERLAY
========================================================================== */

/* Hide burger + nav by default (desktop) */
.hdr-menu-btn { 
    display: none; 
}
nav#nav-overlay {
    display: none;
}

@media only screen and (max-width: 1366px) {
    #sec1 .c-left .cl-r1 {
        padding: 1.25rem 1rem;
    }

    #sec1 .cl-r2 {
        padding: 0px 1rem;
        min-height: 145px;
    }

    .quote-p {
        left: 1rem;
        right: 1rem;
    }

    #sec1 .quote-p span:first-child {
        left: -0.5rem;
        top: 0;
    }

    #sec1 .quote-p span:last-child {
        bottom: 0;
        right: 0;
    }
}

@media only screen and (max-width: 1200px) {
    :root {
        --g: 0px;
        --hh: 65px;
        --fh: 0;
    }

    html, body {
        font-size: 14px;
    }

    .gt-num, .gt-num-sub,
    h1, h2, h3, h4 {
        font-weight: 800;
    }

    h5, h6 {
        font-weight: 700;
    }

    .gt-cell h4,
    .gt-num-sub{
        font-size: 1.2rem;
        font-weight: 700;
    }

    .gt-cell.gt-icon img {
        width: 75px;
        height: 75px;
    }
    
    .gt-cell strong {
        font-weight: 600;
    }

    nav#nav-overlay {
        display: block;
    }   

    /* ── Rewrite header grid for mobile ── */
    .hdr-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-left: 1.5rem;
        padding-right: 0;
        background: var(--olive);
    }

    /* Hide desktop-only grid cells */
    .hdr-gl,
    .hdr-olive,
    .hdr-olive-1,
    .hdr-gr { display: none; }

    /* Logo cell — just the mark, no grid column */
    .hdr-logo {
        background: transparent;
        padding: 0;
        flex-shrink: 0;
    }

    .hdr-logo-mark img {
        width: auto;
        height: 28px;
    }

    /* ── Re-enable report dropdown on mobile ── */
    .hdr-report {        
        margin-right: 20px;
        padding-right: 0;
        pointer-events: auto;
        margin-left: auto;
    }

    .report-label {
        font-size: 0;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .report-dropdown {
        display: block !important; /* override the display:none */
        position: fixed;
        top: var(--hh);
        left: 0;
        right: 0;
        background: #F6F6F6;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease, visibility 0.2s ease;
        z-index: 48; /* just below nav overlay (49) */
    }

    .report-label img {
        max-width: 18px;
        width: 18px;
        height: 18px;
        object-fit: contain;
    }

    .report-dropdown a{
        text-align: left;
        font-size: 1rem;
    }

    .hdr-report:hover .report-dropdown,
    .hdr-report.open .report-dropdown {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }

    /* ── Hamburger button ── */
    .hdr-menu-btn {
        width: var(--hh);
        height: var(--hh);
        background: var(--navy);
        border: none;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        flex-shrink: 0;
    }

    .hdr-menu-btn span {
        display: block;
        width: 18px;
        height: 1px;
        background: var(--lg);
        transition: transform 0.3s ease, opacity 0.3s ease;
        transform-origin: center;
    }

    .hdr-menu-btn.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .hdr-menu-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .hdr-menu-btn.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

    /* ── Slide-down nav overlay ── */
    .nav-overlay {
        touch-action: pan-y;              
        overscroll-behavior: contain;    
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        max-height: calc(100vh - var(--hh));
        position: fixed;
        top: var(--hh);
        left: 0; 
        right: 0;
        background: var(--lg);
        z-index: 52;
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.4s cubic-bezier(0.77,0,0.18,1), opacity 0.3s ease;
    }
    .nav-overlay.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .nav-item {
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.125rem 1.5rem;
        text-transform: uppercase;
        color: var(--navy);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        cursor: pointer;
        transition: color 0.2s, background 0.2s;
    }
    .nav-item:hover, .nav-item.active {
        color: var(--lg);
        background: var(--org);
    }
    .nav-item .nav-arrow { 
        display: flex;
        align-items: center;
        opacity: 1;
        transition: transform 0.3s ease-in-out;
    }
    .nav-sub { 
        background: var(--lg);
    }
    .nav-sub a {
        text-transform: uppercase;
        font-weight: 700;
        color: var(--navy);
        display: block;
        padding: 1.125rem 1.5rem 1.125rem 1.875rem;
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        transition: color 0.2s;
    }
    .nav-sub a.active {
        color: var(--org);
        background: var(--lgray);
    }
    .nav-sub-wrap { 
        max-height: 0; 
        overflow: hidden; 
        transition: max-height 0.35s ease; 
    }
    .nav-sub-wrap.open { 
        max-height: 470px; 
    }
    .nav-item .nav-arrow{
        filter: brightness(0) saturate(100%) invert(6%) sepia(21%) saturate(7491%) hue-rotate(207deg) brightness(92%) contrast(93%);
    }
    .nav-item:hover .nav-arrow,
    .nav-item.active .nav-arrow{
        filter: none;
    }

    /* ── Layout adjustments ── */
    #l-content { 
        top: var(--hh); 
        bottom: 0;
    }
    .ftr-row   { 
        display: none; 
    }

    .scroll-icon{
        bottom: 15px;
        right: 15px;
    }

    .council-grid{
        /* grid-auto-rows: calc((100vh - var(--hh)) / 4); */
        grid-auto-rows: auto;
    }

    .quote-p span img {
        min-width: 8px;
        width: 8px;
    }

    #sec3 .quote-p {
        padding: 1.25rem 1.25rem;
    }

    #sec3 .quote-p:before {
        width: 15px;
        height: 15px;
    }

    #sec1 .quote-p span:first-child {
        left: 0;
        top: 0;
    }

    .ibf-col-middle .icon {
        width: 70px;
        height: 70px;
    }   

    .ibf-col-middle{
        gap: 20px;
    }
}

/* ==========================================================================
   TABLET RESTRUCTURE
========================================================================== */
@media only screen and (max-width: 1024px) {
    .desktop-hidden{
        display: block;
    }

    .grid-overlay { display: none; }
    .grid-line { border: none; }

    body.show-grid .grid-overlay{
        opacity: 0;
    }

    h6.str-title.p-standard {
        width: 100%;
    }

    .council-card{
        border: 1px solid rgb(255 255 255 / 100%);
    }

    .gt-grid {
        display: flex;
        flex-wrap: wrap;
    }

    .gt-cell {
        flex: 0 0 auto;
        width: 25%;
        min-height: 150px;
    }

    html, body {
        width: 100%;
        height: 100%;
        overflow: hidden;
        touch-action: pan-y;
        -webkit-font-smoothing: antialiased;
    }

    #l-content{
        position: fixed;
        overflow: hidden;
        touch-action: none; /* The sections don't move, only the text inside does */
        display: flex;
        position: fixed;
        top: var(--hh);
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10;
        pointer-events: none;
    }

    #l-content > section {
        display: flex;
        flex-wrap: wrap;
        position: absolute;
        inset: 0;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.5s ease;
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    /* Vertical layout */
    #l-content > section:not([data-layout="wide"]) {
        /* flex-direction: column; */
    }

    #l-content > section.active{
        opacity: 1;
        pointer-events: all;
        z-index: 5;
    }

    .c-body.no-c-right, .c-body{
        overflow-y: initial;
        height: fit-content;
        overscroll-behavior: initial;
        scroll-behavior: initial;
    }

    .c-left{
        display: flex;
    }

    .c-body {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    #sec1 .c-left .cl-r1 br {
        display: none;
    }

    #sec1 .c-left{
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        gap: 0 15px;
    }

    #sec1 .c-left .cl-r1{
        grid-column: 1;
        grid-row: 1;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    #sec1 .cl-r2 {
        grid-column: 1;
        grid-row: 2;
    }

    #sec1 .cl-r3{
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    #sec1 .quote-p {
        position: relative;
        padding: 0rem 1rem 0;
        left: 0;
        right: 0;
    }

    #sec1 .quote-p span:first-child{
        left: 0;
        top: 0;
    }
    
    #sec1 .c-body{
        background-color: white;
    }

    #sec1 .scrolled .hide-on-scroll {
        opacity: 0!important;
        display: none;
    }

    #sec1 .image-box {
        border-bottom: 1px solid var(--gl);
        background: var(--lgOp9);
    }

    #sec1 .hide-on-scroll{
        display: none;
    }

    #sec3 #cb-popup{
        position: absolute;
        display: flex;
        width: 100%;
        padding: 0;
        height: 100%;
        overflow-y: auto;
    }

    #sec3 #cl-popup{
        display: none;
        position: absolute;
    }

    #cb-popup .c-body-wide.active {
        padding: 3rem 1.5rem 0;
    }

    #cb-popup .c-body-wide {
        width: 100%;
        top: 0;
        left: 0;
        background: var(--lg);
    }

    #cb-popup .desktop-hidden h2{
        margin-bottom: 1.5rem;
    }

    #cb-popup .desktop-hidden img{
        max-width: 300px;
        height: auto;
    }

    :is(#sec4, #sec5, #sec6, #sec7, #sec8, #sec9, #sec10, #sec11) .c-left,
    :is(#sec4, #sec5, #sec6, #sec7, #sec8, #sec9, #sec10, #sec11) .cl-r1{
        width: 100%;
    }

    .c-full,
    :is(#sec4, #sec5, #sec6, #sec7, #sec8, #sec9, #sec10, #sec11) .c-body{
        width: 100%;
        min-height: calc(90vh - var(--hh));
    }

    .committee-left .cl-r1,
    :is(#sec4, #sec5) .cl-r1 {
        padding: 3rem 1.25rem;
    }

    .committee-left .cl-r1 h2 br{
        display: none;
    }

    .gt-cell.gt-stat{
        justify-content: center;
    }

    .gt-desc{
        flex: unset;
        margin-bottom: 1.5rem;
    }

    .council-left .cl-r1,
    .committee-left .cl-r1, :is(#sec4, #sec5) .cl-r1 {
        border: none;
        border-bottom: 1px solid var(--gl);
    }

    body.show-grid .grid-overlay {
        opacity: 0;
    }

    .c-full.active .str-title {
        animation-delay: 0.3s !important;
    }

    .str-grid {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }

    .str-title.str-cell {
        border: 1px solid var(--gl);
        border-left: none;
        border-bottom: none;
        width: 50%;
        padding: 1.25rem 1.25rem;
    }

    .str-img.str-cell {
        width: 50%;
        border: none;
        border-top: 1px solid var(--gl);
    }

    .str-grid > .str-cell:nth-child(5) {
        min-height: 120px;
        border: none;
        order: -1;
        width: 100%;
        background-color: #2D4226;
        padding: 2rem 1.25rem;
    }

    /* Empty placeholder cell hidden — no gap */
    .str-grid > .str-cell:nth-child(8) {
        display: none;
    }

    .c-full.active .str-cell:nth-of-type(4),
    .c-full.active .str-cell:nth-of-type(10),
    .c-full.active .str-cell:nth-of-type(11){
        border-right: 1px solid var(--gl);
    }

    .c-full.active .str-cell:nth-of-type(2) {order: 2;}
    .c-full.active .str-cell:nth-of-type(4) {order: 3;}
    .c-full.active .str-cell:nth-of-type(7) {order: 7;}
    .c-full.active .str-cell:nth-of-type(10) {order: 7;}
    .c-full.active .str-cell:nth-of-type(12) {order: 10;}
    .c-full.active .str-cell:nth-of-type(1) {order: 1;}
    .c-full.active .str-cell:nth-of-type(3) {order: 4; border-right: none;}
    .c-full.active .str-cell:nth-of-type(6) {order: 5;}
    .c-full.active .str-cell:nth-of-type(8) {order: 6;}
    .c-full.active .str-cell:nth-of-type(9) {order: 8; border-right: none;}
    .c-full.active .str-cell:nth-of-type(11) {order: 9; border-right: none;}

    #sec3 .str-cell:is(:nth-of-type(3),:nth-of-type(9)) .quote-p:before{
        transform: scale(-1);
    }

    .pop-up-quote:before, .pop-up-quote:after {
        width: 20px;
        height: 20px;
    }
}

@media only screen and (max-width: 1000px){
    html, body {
        font-size: 13px;
    }
}

@media only screen and (max-width: 767px){
     #l-bg, .grid-overlay {
        grid-template-columns: var(--g) repeat(2, 1fr) var(--g);
        grid-template-rows: var(--hh) repeat(3, 1fr) var(--fh);
        height: 100vh;
        overflow: hidden;
    }

    /* --- Vertical Lines --- */
    /* Target Column 2 (4n+2) and Column 3 (4n+3) */
    .grid-line:nth-child(4n+2) {
        /* border-left: 1px solid var(--gl); */
        border-right: 1px solid var(--gl);
    }
    .grid-line:nth-child(4n+3) {
        border-right: 1px solid var(--gl);
    }

    /* --- Horizontal Lines --- */
    /* Row 2 (indices 6, 7) and Row 3 (indices 10, 11) get bottom borders */
    /* This creates the grid lines between the 3 content rows */
    .grid-line:nth-child(6), 
    .grid-line:nth-child(7),
    .grid-line:nth-child(10), 
    .grid-line:nth-child(11) {
        border-bottom: 1px solid var(--gl);
    }

    .gt-cell.gt-icon img {
        width: 65px;
        height: 65px;
    }

    .gt-title.gt-cell {
        width: 100%;
        border-bottom: 1px solid var(--lgray);
    }

    .gt-cell {
        flex: 0 0 auto;
        width: 50%;
        min-height: 150px;
    }

    .gt-cell:nth-child(1){
        order: 1;
    }

    .gt-cell:nth-child(2){
        order: 2;
    }

    .gt-cell:nth-child(3){
        order: 3;
    }

    .gt-cell:nth-child(4){
        order: 5;
    }

    .gt-cell:nth-child(5){
        order: 6;
    }

    .gt-cell:nth-child(6){
        order: 4;
    }

    .gt-cell:nth-child(7){
        order: 9;
    }

    .gt-cell:nth-child(8){
        order: 7;
    }

    .gt-cell:nth-child(9){
        order: 8;
    }

    .gt-cell:nth-child(10){
        order: 10;
    }

    .gt-cell:nth-child(11){
        order: 11;
    }

    .gt-cell:nth-child(12){
        order: 12;
    }

    #sec1 .c-left .cl-r1{
        padding-top: 3rem;
    } 

    #sec1 .quote-p span img {
        min-width: 10px;
        width: 10px;
    }

    #sec1 .cl-r2{
        padding-bottom: 1rem;
    }

    .wide-media {
        display: grid;
        grid-template-columns: auto;
    }

    .wide-media-cap {
        padding: 1rem 0 0;
    }

    .gt-cell:nth-child(12) {
        order: 12;
        margin-left: 50%;
    }

    .council-grid-wrap{
        background: transparent;
    }

    .council-grid {
        background: transparent;
        grid-auto-rows: auto;
        grid-template-columns: auto;
        /* grid-template-columns: repeat(2, 1fr); */
    }

    .council-card:nth-child(even) {
        flex-direction: row-reverse;
    }

    .council-card:last-child{
        border-bottom: none;
    }

    .council-card{
        background: transparent;
        display: flex;
        border-left: none;
        border-right: none;
        border-top: none;
    }

    .council-hover {
        width: 50%;
        position: relative;
        inset: unset;
        opacity: 1;
        padding: 1.25rem 0.8rem;
        background: #2d3249;
    }

    .council-card img {
        width: 50%;
        min-height: 150px;
        height: 100%;
    }

    .council-grid-wrap .c-body-desc {
        background: var(--lg);
    }

    .c-body, .c-body-desc{
        padding: 2rem 1.25rem 1.25rem;
    }

    .council-grid-wrap .council-title {
        font-weight: 600;
    }

    .str-grid {
        grid-template-columns: 1fr;
    }

    .quote-p span img {
        min-width: 6px;
        width: 6px;
    }

    .gt-cell:nth-child(12) {
        overflow: visible;
    }

    #sec2 .c-full .gt-cell.gt-stat:last-child:before {
        content: '';
        display: block;
        position: absolute;
        width: 100%;
        height: 100%;
        left: calc(-100% - 2px);
        bottom: 0;
        background-image: url(../images/icons/gt-icon-6.png);
        background-repeat: no-repeat;
        background-size: 65px 65px;
        background-position: center;
        opacity: 0;
    }

    #sec2b .c-full .gt-cell.gt-stat:last-child:before {
        content: '';
        display: block;
        position: absolute;
        width: 100%;
        height: 100%;
        left: calc(-100% - 2px);
        bottom: 0;
        background-image: url(../images/icons/gt2-icon-6.png);
        background-repeat: no-repeat;
        background-size: 65px 65px;
        background-position: center;
        opacity: 0;
    }

    :is(#sec2, #sec2b) .c-full.active .gt-cell.gt-stat:last-child:before {
        animation: shakeRotateFadeIn 0.4s ease-in-out;
        animation-delay: 1.5s;
        animation-fill-mode: forwards;
    }   

    #sec3 .quote-p span img {
        min-width: 8px;
        width: 8px;
    }

    #sec3 .quote-p {
        padding: 2rem 0.5rem;
    }

    #cb-popup .col-2 {
        display: flex;
        gap: 0px;
        flex-wrap: wrap;
        flex-direction: column;
    }

    #cb-popup .col-2 > div {
        float: none;
        width: 100%;
        shape-outside: none;
        margin: 0 !important;
        order: 1;
        margin-top: 1.4em !important;
    }

    .pop-up-quote:before, .pop-up-quote:after {
        width: 16px;
        height: 16px;
    }

    .pop-up-quote h5 {
        width: 85%;
        padding: 1rem 0;
    }

    #popup-close {
        font-size: 1.2rem;
        padding: 0.875rem 1.2rem;   
    }

    .social-icons-list img {
        width: 15px;
        height: 15px;
    }

    .ibf-col-middle .icon {
        width: 60px;
        height: 60px;
    }
}

@media only screen and (max-width: 600px){
    #sec1 .c-left {
        grid-template-columns: 1fr; 
        grid-template-rows: auto;
    }

    #sec1 .quote-p{
        padding: 0rem 1.5rem 0;
    }

    #sec1 .c-left .cl-r1,
    #sec1 .c-left .cl-r2,
    #sec1 .c-left .cl-r3 {
        grid-column: 1;     
        grid-row: auto;     
    }
}

@media only screen and (max-width: 375px){
    .col-2 {
        gap: 15px;
        flex-wrap: wrap;
    }

    .col-2 > :is(p, div) {
        flex: auto;
    }

    #sec8 .col-2{
        gap: 0;
    }
}

@media only screen and (min-width: 1500px){
    .gt-btn {
        max-width: 290px;
    }

    .gt-cell .p-small, .gt-desc {
        font-size: 0.85rem;
        line-height: 1.35;
    }
}

@media only screen and (min-width: 1800px){
    :root {
        --g:     100px;
        --hh:    75px; /* 70px */
        --fh:    75px; /* 70px */
    }

    html, body {
        font-size: 20px;
    }

    .hdr-logo-mark img {
        width: 180px;
        max-width: 180px;
    }

    :is(.council-desc,.committee-desc) p{
        line-height: 1.5;
    }

    .gt-cell.gt-icon img {
        width: 120px;
        height: 120px;
    }

    #sec1 .image-box img {
        width: 100%;
        max-width: 100%;
    }

    #sec1 .text-box {
        left: 65%;
    }

    .quote-p span img {
        min-width: 18px;
        width: 18px;
    }

    #sec3 .quote-p span img{
        min-width: 16px;
        width: 16px;
    }

    .wide-media {
        grid-template-columns: 1fr 1fr;
    }

    #cb-popup .pop-up-quote.custom-quote {
        shape-outside: inset(40px 0 0 0 round 30% 0% 0% 50%);
        -webkit-shape-outside: inset(40px 0 0 0 round 30% 0% 0% 50%);
        margin: 60px 0 10px 40px;
    }

    .gt-btn {
        max-width: 340px;
    }
}

@media only screen and (min-width: 2000px){
    :root {
        --g:     100px;
        --hh:    90px;
        --fh:    90px; 
    }

    html, body {
        font-size: 24px;
    }

    .hdr-logo-mark img {
        width: 200px;
        max-width: 200px;
    }

    .gt-btn {
        max-width: 385px;
    }
}