/* =========================================================
   Abubakar Issaka — personal site
   Light "folder panel" theme in brand green + gold
   ========================================================= */
:root {
  --bg: #F4F8F5;
  --bg-2: #E9F3EC;
  --panel: #FFFFFF;
  --panel-2: #F6FBF7;
  --line: #E0EAE3;
  --line-2: #CFDFD4;
  --accent: #1E8E3E;          /* core brand green */
  --accent-hover: #167232;
  --accent-bright: #3CCB6B;   /* decorative highlights */
  --accent-soft: #E3F4E8;
  --gold: #F2B705;
  --gold-text: #9A7000;
  --ink: #10241A;
  --text: #43554A;
  --muted: #6A7D72;
  --on-accent: #FFFFFF;
  --deep: #0E3520;            /* footer / dark accents */
  --shadow: 0 12px 34px rgba(16, 36, 26, .08);
  --radius: 18px;
  --notch: 42px;
  --head: 'Montserrat', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--text); background: var(--bg); line-height: 1.75; font-size: 16.5px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
strong { color: var(--ink); }
.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.hl { color: var(--accent); }
svg { flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .85em 1.7em; border-radius: 999px; font-family: var(--head); font-weight: 600; font-size: .95rem; border: 1.5px solid transparent; cursor: pointer; transition: .3s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s; }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { min-height: 42px; padding: .6em 1.3em; font-size: .85rem; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 10px 26px rgba(30, 142, 62, .28); }
.btn-outline { border-color: var(--line-2); color: var(--ink); background: var(--panel); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Section label with corner brackets ---------- */
.tag-label { position: relative; display: inline-block; padding: .35em .95em; font-family: var(--head); font-weight: 600; font-size: .85rem; color: var(--accent); background: var(--accent-soft); }
.tag-label::before, .tag-label::after { content: ''; position: absolute; width: 9px; height: 9px; border: 1.5px solid var(--accent); }
.tag-label::before { top: -3px; left: -3px; border-right: 0; border-bottom: 0; }
.tag-label::after { bottom: -3px; right: -3px; border-left: 0; border-top: 0; }

/* ---------- Shapes: notched corner + folder tab ---------- */
.notch { border-radius: var(--radius); clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, 0 100%); }
.folder { position: relative; border-radius: var(--radius); margin-top: 28px; }
.folder::before { content: ''; position: absolute; top: -26px; height: 27px; width: 34%; background: var(--panel); border-radius: 16px 16px 0 0; }
.folder-left::before { left: 0; clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 100%, 0 100%); }
.folder-right::before { right: 0; width: 22%; clip-path: polygon(26px 0, 100% 0, 100% 100%, 0 100%); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244, 248, 245, .7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(255, 255, 255, .92); box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(16, 36, 26, .05); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 80px; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--head); font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--accent); color: #fff; font-size: .9rem; }
.main-nav { display: flex; gap: 1.8rem; font-size: .95rem; font-weight: 500; }
.main-nav a { position: relative; color: var(--text); transition: color .2s; padding: 6px 0; }
.main-nav a::after { content: ''; position: absolute; left: 50%; bottom: -2px; width: 0; height: 2px; border-radius: 2px; background: var(--accent); transition: .3s; transform: translateX(-50%); }
.main-nav a:hover, .main-nav a.active { color: var(--accent); }
.main-nav a.active::after { width: 70%; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--accent); padding: 15px 13px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 4px 0; border-radius: 2px; transition: .3s; }
.nav-toggle span:nth-child(2) { width: 70%; margin-left: auto; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 24px 0 40px; }
.hero-panel { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; min-height: 600px; padding: 0 0 0 64px; background: radial-gradient(70% 80% at 76% 70%, #CDEBD7 0%, rgba(205, 235, 215, .4) 45%, transparent 75%), linear-gradient(180deg, #FFFFFF 0%, #F1F8F3 100%); border-radius: 24px; box-shadow: var(--shadow); }
.hero-panel::before { background: #FFFFFF; }
.hero-copy { padding: 70px 0 56px; align-self: center; }
.hero-top { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-bottom: 26px; }
.social-row, .footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.social-row a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; display: grid; place-items: center; transition: .3s; }
.social-row a:hover { background: var(--accent); border-color: var(--accent); }
.social-row svg { width: 16px; height: 16px; fill: var(--ink); transition: fill .3s; }
.social-row a:hover svg { fill: #fff; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-weight: 800; letter-spacing: -.01em; margin-bottom: .45em; }
.lead { font-size: 1.1rem; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 54px; }
.scroll-down { display: inline-flex; align-items: center; gap: 14px; font-size: .92rem; color: var(--text); }
.scroll-down span { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; display: grid; place-items: center; animation: bob 2s ease-in-out infinite; }
.scroll-down svg { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes bob { 50% { transform: translateY(5px); } }

.hero-visual { position: relative; align-self: end; display: flex; justify-content: center; height: 100%; }
.hero-visual img { position: relative; z-index: 2; width: auto; max-height: 620px; margin-top: -60px; align-self: flex-end; filter: drop-shadow(0 24px 40px rgba(16, 36, 26, .22)); -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, #000 82%, transparent 100%); }
.rings { position: absolute; left: 50%; top: 42%; width: 520px; aspect-ratio: 1; transform: translate(-50%, -50%); z-index: 1; }
.rings span { position: absolute; inset: 0; border: 1px solid rgba(30, 142, 62, .16); border-radius: 50%; }
.rings span:nth-child(2) { inset: 12%; }
.rings span:nth-child(3) { inset: 24%; background: radial-gradient(circle, rgba(60, 203, 107, .22), transparent 70%); }
.orb { --r: 260px; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 16px rgba(242, 183, 5, .8); top: 50%; left: 50%; margin: -7px; animation: orbit 14s linear infinite; }
@keyframes orbit { from { transform: rotate(0) translateX(var(--r)); } to { transform: rotate(360deg) translateX(var(--r)); } }
.chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); box-shadow: var(--shadow); color: var(--ink); font-size: .84rem; font-weight: 600; font-family: var(--head); animation: float 6s ease-in-out infinite; }
.chip strong { font-size: 1.5rem; color: var(--accent); }
.chip svg { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: var(--gold); fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip-1 { left: 0; bottom: 28%; }
.chip-2 { right: 18px; top: 22%; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Stats ---------- */
.stats { padding: 20px 0 30px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { --notch: 30px; padding: 26px 26px 24px; background: var(--panel); border: 1px solid var(--line); }
.stat .num, .stat .plus { font-family: var(--head); font-weight: 800; font-size: 2.4rem; color: var(--ink); line-height: 1; }
.stat .plus { color: var(--accent); }
.stat p { margin: .6rem 0 0; font-size: .92rem; line-height: 1.5; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.band { background: radial-gradient(60% 50% at 0% 100%, rgba(60, 203, 107, .12), transparent 70%), var(--bg-2); border-radius: 36px; margin: 30px 0; }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head .tag-label { margin-bottom: 18px; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service { padding: 46px 34px 40px; text-align: center; background: var(--panel); transition: transform .35s, background .35s, opacity .8s; }
.service:hover { background: linear-gradient(180deg, #FFFFFF, #EEF8F1); }
.service svg { width: 64px; height: 64px; margin: 0 auto 26px; fill: none; stroke: #5E7568; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s, transform .35s; }
.service:hover svg { stroke: var(--accent); transform: scale(1.08); }
.service h3 { font-size: 1.15rem; }
.service p { margin: 0; font-size: .95rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.about-media { background: var(--panel); padding: 14px; box-shadow: var(--shadow); }
.about-media img { width: 100%; height: auto; aspect-ratio: 4/4.6; object-fit: cover; object-position: center 10%; border-radius: 12px; }
.about-badge { position: absolute; right: -22px; bottom: 40px; display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 16px; background: var(--accent); color: #fff; font-family: var(--head); font-weight: 600; font-size: .82rem; line-height: 1.3; box-shadow: 0 18px 36px rgba(30, 142, 62, .3); }
.about-badge strong { color: #fff; font-size: 1.9rem; font-weight: 800; }
.about-copy .tag-label { margin-bottom: 18px; }
.facts { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.facts li { --notch: 22px; background: var(--panel); border: 1px solid var(--line); padding: 16px 18px; color: var(--ink); font-weight: 600; font-family: var(--head); font-size: .92rem; line-height: 1.4; }
.facts span { display: block; font-family: var(--body); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }

/* ---------- Engagements ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -20px 0 50px; }
.pill { min-height: 44px; padding: .6em 1.4em; border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel); color: var(--ink); font-family: var(--head); font-weight: 500; font-size: .9rem; cursor: pointer; transition: .25s; }
.pill:hover { border-color: var(--accent); color: var(--accent); }
.pill.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px 34px; }
.work-img { background: var(--panel); padding: 12px; margin-bottom: 22px; box-shadow: var(--shadow); }
.work-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 10px; transition: transform .6s; }
.work:hover .work-img img { transform: scale(1.03); }
.work-meta { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.work h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin-bottom: .4em; transition: color .25s; }
.work:hover h3 { color: var(--accent); }
.work p { margin: 0; font-size: .96rem; }
.works .hidden, .more-list .hidden { display: none; }
.more-list { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.more-list li { --notch: 28px; padding: 24px 26px; background: var(--panel); border: 1px solid var(--line); }
.more-list .work-meta { color: var(--accent); }
.more-list strong { display: block; font-family: var(--head); font-size: 1.02rem; margin-bottom: 6px; }
.more-list p { margin: 0; font-size: .93rem; }

/* ---------- Skills + experience ---------- */
.skills { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-bottom: 70px; }
.skill { --notch: 26px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 30px 12px 22px; background: var(--panel); }
.skill svg { width: 48px; height: 48px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.skill span { font-family: var(--head); font-weight: 600; color: var(--ink); font-size: .9rem; line-height: 1.35; }
.exp-panels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.exp-panel { background: var(--panel); padding: 44px 40px 20px; }
.exp-panel h3 { font-size: 1.55rem; margin-bottom: 18px; }
.exp-list { list-style: none; padding: 0; margin: 0; }
.exp-list li { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding: 20px 0; border-top: 1px solid var(--line); }
.exp-list .yr { font-size: .82rem; color: var(--muted); }
.exp-list strong { grid-column: 1 / -1; font-family: var(--head); font-size: 1.05rem; margin: 4px 0 2px; }
.exp-list em { grid-column: 1 / -1; font-style: normal; font-size: .93rem; }
.pill-tag { font-size: .75rem; font-weight: 600; color: var(--accent); }

/* ---------- Leadership ---------- */
.lead-wrap { display: grid; grid-template-columns: .75fr 1.25fr; gap: 26px; max-width: 1040px; margin: 0 auto 60px; }
.lead-side { position: relative; min-height: 440px; overflow: hidden; background: #111; display: flex; flex-direction: column; justify-content: flex-end; color: #DCE6E0; }
.lead-side .lead-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 38% center; }
.lead-side::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(8, 24, 15, .92) 85%); }
.lead-side-copy { position: relative; z-index: 1; padding: 28px; }
.lead-side-copy strong { color: #fff; font-family: var(--head); font-size: 3rem; font-weight: 800; line-height: 1; }
.lead-side-copy p { font-size: .92rem; margin: 8px 0 16px; color: #DCE6E0; }
.slider-nav { display: flex; gap: 10px; }
.round-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: transparent; display: grid; place-items: center; cursor: pointer; transition: .25s; }
.round-btn svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.round-btn:hover { background: var(--accent); border-color: var(--accent); }
.lead-main { position: relative; padding: 50px 48px 40px; background: var(--panel); display: flex; flex-direction: column; }
.quote-mark { position: absolute; top: 44px; right: 70px; width: 70px; fill: var(--accent-soft); }
.lead-slides { display: grid; flex: 1; }
.lead-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .5s, transform .5s, visibility .5s; }
.lead-slide.active { opacity: 1; visibility: visible; transform: none; }
.lead-when { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--gold-text); margin-bottom: 18px; }
.lead-slide h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); max-width: 85%; }
.lead-slide p { font-size: 1.02rem; line-height: 1.8; }
.lead-dots { display: flex; gap: 8px; margin-top: 16px; }
.lead-dots button { width: 10px; height: 10px; border-radius: 10px; border: 0; padding: 0; background: var(--line-2); cursor: pointer; transition: .3s; }
.lead-dots button.active { width: 28px; background: var(--accent); }
.orgs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.org-tile { display: grid; place-items: center; text-align: center; min-height: 96px; padding: 16px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); font-family: var(--head); font-weight: 700; font-size: 1.05rem; color: #7C9185; transition: color .3s, border-color .3s, opacity .8s, transform .8s; }
.org-tile:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Gallery ---------- */
.gallery { columns: 3; column-gap: 20px; }
.g-item { position: relative; margin: 0 0 20px; break-inside: avoid; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--panel); clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 0 100%); }
.g-item img { width: 100%; height: auto; transition: transform .6s; }
.g-item:hover img { transform: scale(1.05); }
.g-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(8, 24, 15, .85)); color: #fff; font-size: .86rem; font-weight: 500; opacity: 0; transform: translateY(8px); transition: .35s; }
.g-item:hover figcaption, .g-item:focus-visible figcaption { opacity: 1; transform: none; }
.g-item.is-extra { display: none; }
.gallery.show-all .g-item.is-extra { display: block; }
.load-more-wrap { text-align: center; margin-top: 30px; }
.load-more-wrap .btn:hover svg { transform: translateY(3px); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 26px; align-items: stretch; }
.contact-form { background: var(--panel); padding: 44px 40px; display: grid; gap: 18px; align-content: start; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 1.75rem; margin-bottom: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 10px; padding: 14px 16px; min-height: 50px; transition: .25s; }
.contact-form select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236A7D72' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.contact-form ::placeholder { color: #8A9B91; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); background-color: #fff; box-shadow: 0 0 0 4px var(--accent-soft); }
.contact-form textarea { resize: vertical; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.form-note { margin: 0; font-size: .86rem; color: var(--muted); }
.form-note.error { color: #C0392B; }
.contact-info { --notch: 50px; background: var(--accent-soft); padding: 40px 34px; display: grid; gap: 30px; align-content: start; margin-top: 28px; }
.ci-icon { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; margin-bottom: 14px; }
.ci-icon svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ci-block h4 { font-size: 1.1rem; margin-bottom: 6px; }
.ci-block p { font-size: .93rem; margin: 0 0 6px; }
.ci-line a { color: var(--ink); font-weight: 600; display: inline-block; padding: 2px 0; }
.ci-line a:hover { color: var(--accent); }
.ci-block .btn { margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 40px; padding: 60px 0 36px; color: #B9CEC1; background: radial-gradient(50% 80% at 10% 0%, rgba(60, 203, 107, .22), transparent 70%), var(--deep); border-radius: 36px 36px 0 0; }
.site-footer .brand { color: #fff; }
.site-footer .brand-mark { background: var(--accent-bright); color: var(--deep); }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 40px 50px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; background: rgba(255, 255, 255, .05); }
.cta-band h2 { color: #fff; font-weight: 500; font-size: clamp(1.35rem, 2.6vw, 2rem); margin: 0; max-width: 620px; }
.cta-band .btn-primary { background: var(--accent-bright); color: var(--deep); }
.footer-mid { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 44px 30px 30px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: .88rem; text-transform: uppercase; letter-spacing: .06em; }
.footer-links a { padding: 6px 0; }
.footer-links a:hover, .to-top:hover { color: var(--accent-bright); }
.footer-social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; transition: .3s; }
.footer-social svg { width: 16px; height: 16px; fill: #fff; }
.footer-social a:hover { background: var(--accent-bright); border-color: var(--accent-bright); }
.footer-social a:hover svg { fill: var(--deep); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 30px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; }
.footer-bottom p { margin: 0; }

/* ---------- Floating bits ---------- */
.side-tab { position: fixed; right: 0; top: 50%; z-index: 40; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; padding: 22px 12px; background: var(--deep); color: #fff; font-family: var(--head); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; border-radius: 10px 0 0 10px; transition: background .3s; }
.side-tab:hover { background: var(--accent); }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(30, 142, 62, .14), 0 10px 24px rgba(16, 36, 26, .2); transition: transform .25s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 26px; height: 26px; fill: #fff; }

/* Scroll progress ring (back to top) */
.progress-wrap { position: fixed; right: 26px; bottom: 96px; z-index: 60; width: 48px; height: 48px; border-radius: 50%; border: 0; padding: 0; background: #fff; box-shadow: 0 8px 22px rgba(16, 36, 26, .15); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, visibility .3s, transform .3s; }
.progress-wrap.visible { opacity: 1; visibility: visible; transform: none; }
.progress-wrap svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.progress-wrap .ring-track { fill: none; stroke: var(--line); stroke-width: 3; }
.progress-wrap .ring-bar { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; transition: stroke-dashoffset .1s linear; }
.progress-wrap .arrow { position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.progress-wrap:hover .arrow { transform: translateY(-3px); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8, 20, 13, .94); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; text-align: center; color: #DCE6E0; font-size: .95rem; }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: 12px; }
.lightbox figcaption { margin-top: 12px; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.4rem; cursor: pointer; }
.lb-btn:hover { background: var(--accent); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Reveal + hover lift ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.service.in:hover, .skill.in:hover, .more-list li.in:hover, .stat.in:hover { transform: translateY(-8px); transition: transform .35s, background .35s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .chip, .orb, .scroll-down span { animation: none; }
}
@media (hover: none) {
  .g-item figcaption { opacity: 1; transform: none; }
}

/* ---------- Responsive: small laptop ---------- */
@media (max-width: 1180px) {
  .main-nav { gap: 1.2rem; }
  .skills { grid-template-columns: repeat(3, 1fr); }
  .hero-panel { padding-left: 44px; }
}

/* ---------- Responsive: tablet ---------- */
@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .main-nav { position: fixed; top: 80px; left: 20px; right: 20px; flex-direction: column; gap: 0; padding: 10px 24px 16px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 48px rgba(16, 36, 26, .14); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .3s; max-height: calc(100vh - 100px); overflow-y: auto; }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { padding: 15px 0; font-size: 1.02rem; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: 0; }
  .main-nav a::after { display: none; }
  .section { padding: 90px 0; }
  .hero-panel { grid-template-columns: 1.05fr .95fr; min-height: 0; padding: 0 0 0 36px; }
  .hero-copy { padding: 50px 0 40px; }
  .hero h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
  .lead { font-size: 1rem; }
  .hero-actions { margin: 26px 0 36px; }
  .hero-visual img { max-height: 470px; margin-top: 0; }
  .rings { width: 380px; }
  .orb { --r: 190px; }
  .chip-1 { left: -10px; }
  .chip-2 { right: 8px; top: 12%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .about-grid { grid-template-columns: .9fr 1.1fr; gap: 44px; }
  .about-badge { right: 12px; bottom: 24px; }
  .facts { grid-template-columns: 1fr; }
  .exp-panels { grid-template-columns: 1fr; }
  .more-list { grid-template-columns: repeat(2, 1fr); }
  .lead-wrap { grid-template-columns: .8fr 1.2fr; }
  .lead-main { padding: 40px 32px 32px; }
  .orgs { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { margin-top: 0; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .side-tab { display: none; }
}

/* ---------- Responsive: small tablet / large phone ---------- */
@media (max-width: 820px) {
  .hero-panel { grid-template-columns: 1fr; padding: 0 32px; }
  .hero-copy { padding: 44px 0 0; }
  .hero-visual { min-height: 440px; }
  .hero-visual img { max-height: 460px; }
  .about-grid, .lead-wrap { grid-template-columns: 1fr; }
  .about-media { max-width: 460px; margin-inline: auto; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .lead-side { min-height: 360px; }
  .lead-side .lead-photo { object-position: 30% 30%; }
  .contact-info { grid-template-columns: 1fr 1fr; }
}

/* ---------- Responsive: phone ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .hide-sm { display: none; }
  .nav-wrap { height: 70px; }
  .main-nav { top: 70px; left: 16px; right: 16px; }
  .brand-name { font-size: 1rem; }
  .nav-actions .btn-primary { display: none; }
  .section { padding: 70px 0; }
  .section-head { margin-bottom: 40px; }
  .band { border-radius: 24px; margin: 16px 0; }
  .hero { padding-top: 12px; }
  .hero-panel { padding: 0 20px; border-radius: 20px; }
  .folder-right::before { width: 32%; }
  .hero-copy { padding-top: 34px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; align-items: stretch; margin: 24px 0 28px; }
  .hero-actions .btn { width: 100%; }
  .scroll-down { display: none; }
  .hero-visual { min-height: 360px; }
  .hero-visual img { max-height: 380px; }
  .rings { width: 300px; }
  .orb { --r: 150px; }
  .chip { padding: 9px 12px; font-size: .75rem; }
  .chip strong { font-size: 1.2rem; }
  .chip svg { width: 26px; height: 26px; }
  .chip-1 { left: -4px; bottom: 18%; }
  .chip-2 { right: -4px; top: 8%; }
  .stats-grid { gap: 12px; }
  .stat { --notch: 22px; padding: 20px 16px; }
  .stat .num, .stat .plus { font-size: 1.8rem; }
  .stat p { font-size: .85rem; }
  .services, .works, .more-list, .facts, .field-row, .contact-info { grid-template-columns: 1fr; }
  .service { padding: 36px 24px 32px; }
  .service svg { width: 54px; height: 54px; margin-bottom: 18px; }
  .skills { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 50px; }
  .works { gap: 40px; }
  .filters { margin: -12px 0 36px; gap: 8px; }
  .pill { padding: .55em 1.1em; font-size: .85rem; }
  .exp-panel { padding: 34px 22px 14px; }
  .exp-panel h3 { font-size: 1.35rem; }
  .contact-form { padding: 34px 20px 26px; }
  .contact-form h3 { font-size: 1.45rem; }
  .form-foot .btn { width: 100%; }
  .contact-info { padding: 32px 22px; }
  .lead-main { padding: 36px 22px 26px; }
  .lead-slide h3 { max-width: 100%; padding-right: 40px; }
  .quote-mark { right: 26px; top: 28px; width: 46px; }
  .orgs { gap: 10px; }
  .org-tile { min-height: 76px; font-size: .92rem; }
  .gallery { columns: 2; column-gap: 10px; }
  .g-item { margin-bottom: 10px; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); }
  .g-item figcaption { font-size: .72rem; padding: 24px 10px 8px; }
  .cta-band { padding: 28px 22px; flex-direction: column; align-items: flex-start; }
  .cta-band .btn { width: 100%; }
  .footer-mid, .footer-bottom { padding-left: 0; padding-right: 0; flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .progress-wrap { right: 18px; bottom: 82px; width: 46px; height: 46px; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; }
}

/* Hero cut-out: fine outline for crisp edges */
.hero-visual img { filter: drop-shadow(0 0 .6px rgba(16, 36, 26, .6)) drop-shadow(0 0 .5px rgba(16, 36, 26, .35)); }

/* Gallery masonry (flex columns filled by main.js) */
.gallery.masonry { columns: auto; display: flex; align-items: flex-start; gap: 20px; }
.g-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.gallery.masonry .g-item { margin: 0; }
@media (max-width: 640px) {
  .gallery.masonry, .g-col { gap: 10px; }
}

/* Lightbox: centred image with caption beneath */
.lightbox { background: rgba(6, 18, 11, .9); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 70px 80px; }
.lightbox figure { display: flex; flex-direction: column; align-items: center; justify-content: center; max-width: 100%; max-height: 100%; margin: 0 auto; }
.lightbox img { display: block; margin: 0 auto; width: auto; height: auto; max-width: min(1100px, 100%); max-height: calc(100vh - 190px); border-radius: 12px; box-shadow: 0 30px 70px rgba(0, 0, 0, .5); }
.lightbox figcaption { margin: 18px auto 0; max-width: 640px; text-align: center; font-size: 1rem; line-height: 1.55; color: #E6EFE9; }
@media (max-width: 640px) {
  .lightbox { padding: 70px 14px 90px; }
  .lightbox img { max-height: calc(100vh - 240px); }
  .lightbox figcaption { font-size: .92rem; }
}

/* Organisations marquee */
.orgs-marquee { position: relative; overflow: hidden; padding: 6px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.orgs-track { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; width: max-content; animation: marquee 38s linear infinite; }
.orgs-marquee:hover .orgs-track, .orgs-marquee:focus-within .orgs-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 9px)); } }
.orgs-track .org-tile { flex: 0 0 auto; width: 250px; min-height: 120px; display: flex; align-items: center; justify-content: center; padding: 18px 22px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.orgs-track .org-tile:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.org-tile img { max-width: 100%; max-height: 78px; width: auto; height: auto; object-fit: contain; filter: grayscale(1) opacity(.75); transition: filter .3s; }
.org-tile:hover img { filter: none; }
.org-tile .org-name { display: none; text-align: center; line-height: 1.25; }
.org-tile.no-logo img { display: none; }
.org-tile.no-logo .org-name { display: block; }
.org-name strong { display: block; font-family: var(--head); font-weight: 800; font-size: 1.35rem; color: #6F8578; letter-spacing: .02em; transition: color .3s; }
.org-name small { display: block; margin-top: 6px; font-size: .74rem; color: var(--muted); }
.org-tile:hover .org-name strong { color: var(--accent); }
@media (prefers-reduced-motion: reduce) {
  .orgs-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .orgs-track [aria-hidden="true"] { display: none; }
}
@media (max-width: 640px) {
  .orgs-track { gap: 12px; animation-duration: 30s; }
  @keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }
  .orgs-track .org-tile { width: 190px; min-height: 100px; padding: 14px; }
  .org-tile img { max-height: 60px; }
}
.orgs-head { margin: 90px 0 34px; }
.orgs-head h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-top: 4px; }
@media (max-width: 640px) { .orgs-head { margin: 64px 0 26px; } }

/* Marquee tiles: logo with the institution's name underneath */
.orgs-track .org-tile { flex-direction: column; gap: 12px; min-height: 150px; }
.org-tile img { max-height: 64px; }
.org-tile .org-name { display: block; }
.org-tile:not(.no-logo) .org-name strong { display: none; }
.org-tile:not(.no-logo) .org-name small { margin-top: 0; font-size: .78rem; font-weight: 600; color: var(--text); line-height: 1.35; }
@media (max-width: 640px) {
  .orgs-track .org-tile { min-height: 130px; }
  .org-tile img { max-height: 52px; }
}
/* Hide the caption when the logo itself already shows the name */
.org-tile.logo-has-name:not(.no-logo) .org-name { display: none; }
.org-tile.logo-has-name:not(.no-logo) img { max-height: 84px; }
@media (max-width: 640px) { .org-tile.logo-has-name:not(.no-logo) img { max-height: 68px; } }

/* Pillar cards (replacing the number stats) */
.pillar { display: flex; flex-direction: column; gap: 4px; }
.pillar-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); display: grid; place-items: center; margin-bottom: 14px; transition: background .3s; }
.pillar-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.pillar h3 { font-size: 1.25rem; margin: 0 0 4px; }
.pillar p { margin: 0; }
.pillar:hover .pillar-icon { background: var(--accent); }
.pillar:hover .pillar-icon svg { stroke: #fff; }
@media (max-width: 640px) {
  .pillar-icon { width: 42px; height: 42px; margin-bottom: 10px; }
  .pillar h3 { font-size: 1.08rem; }
}

/* Longer hero headline */
.hero-panel { grid-template-columns: 1.3fr .7fr; }
.hero h1 { font-size: clamp(2rem, 3.1vw, 2.85rem); line-height: 1.16; max-width: 680px; }
@media (max-width: 1024px) { .hero-panel { grid-template-columns: 1.1fr .9fr; } .hero h1 { font-size: clamp(1.8rem, 3.8vw, 2.3rem); } }
@media (max-width: 820px) { .hero-panel { grid-template-columns: 1fr; } .hero h1 { font-size: 2.2rem; } }
@media (max-width: 640px) { .hero h1 { font-size: 1.7rem; } }
