/* =========================================================
   Sabir Global Society — palette drawn from the SGS logo
   navy (G + wordmark) · bright blue (left stroke) · green (right stroke) · gold (people / ribbon)
   ========================================================= */
:root {
  --navy-deep: #061a40;
  --navy: #0b2a66;
  --blue: #0a6fd6;
  --sky: #1d9bf0;
  --green: #2f9e1c;
  --lime: #7cc417;
  --gold: #e3a312;
  --gold-deep: #b8800a;
  --teal: #0d7a68;

  /* EEEQI pillar colours (from the EEEQI wheel) */
  --p-equality: #0b2a66;
  --p-efficiency: #0a6fd6;
  --p-effective: #0d7a68;
  --p-quality: #c98c0b;
  --p-inclusive: #2f9e1c;

  --ink: #0e1a33;
  --text: #3b4863;
  --muted: #6b7690;
  --line: #e2e8f1;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --bg-green: #f3faf0;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 42, 102, .06), 0 2px 8px rgba(11, 42, 102, .05);
  --shadow: 0 10px 30px -10px rgba(11, 42, 102, .22);
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: #fff; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .5em; line-height: 1.25; }
p { margin: 0 0 1em; }
svg { width: 1.2em; height: 1.2em; flex-shrink: 0; }
button { font: inherit; cursor: pointer; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .85em 1.4em; border-radius: 999px;
  font-weight: 700; font-size: .95rem; text-decoration: none;
  border: 2px solid transparent; transition: transform .15s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .5em 1.1em; font-size: .88rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; box-shadow: 0 6px 18px -6px rgba(10, 111, 214, .6); }
.btn-gold { background: var(--gold); color: var(--navy-deep); box-shadow: 0 6px 20px -6px rgba(227, 163, 18, .7); }
.btn-gold:hover { background: #f0b52a; }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-outline { color: var(--navy); border-color: var(--line); background: #fff; }
.btn-outline:hover { border-color: var(--navy); }

/* ---------- Eyebrows & headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: .9em;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--green)); }
.eyebrow-light { color: #9ccaff; }
.eyebrow-light::before { background: linear-gradient(90deg, var(--gold), var(--lime)); }
.eyebrow-blue { color: var(--blue); }
.eyebrow-green { color: var(--green); }
.eyebrow-green::before { background: var(--green); }
.eyebrow-gold { color: var(--gold-deep); }
.eyebrow-gold::before { background: var(--gold); }
.h2 { font-family: var(--serif); font-size: clamp(1.7rem, 3.2vw, 2.45rem); font-weight: 700; letter-spacing: -.01em; }
.h2.light { color: #fff; }
.h3 { font-size: 1.2rem; font-weight: 800; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-tint { background: var(--bg-soft); }
.section-tint-green { background: linear-gradient(180deg, var(--bg-green), #fff 60%); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head .sub { font-size: 1.08rem; color: var(--muted); }
.block-title { margin: 52px 0 20px; }
.block-title:first-of-type { margin-top: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px -12px rgba(11,42,102,.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { border-radius: 8px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: 1.12rem; letter-spacing: .01em; }
.brand-tag { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .93rem;
  padding: .5em .8em; border-radius: 8px; position: relative;
}
.nav a:not(.btn):hover { color: var(--blue); }
.nav a.active:not(.btn) { color: var(--blue); }
.nav a.active:not(.btn)::after { content: ""; position: absolute; left: .8em; right: .8em; bottom: .15em; height: 2px; background: var(--blue); border-radius: 2px; }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #d6e4ff;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(29,155,240,.35), transparent 60%),
    radial-gradient(700px 500px at 10% 110%, rgba(47,158,28,.28), transparent 60%),
    linear-gradient(160deg, var(--navy-deep), var(--navy) 60%, #0d3a85);
  padding: clamp(56px, 8vw, 96px) 0 40px;
}
.hero-stripes {
  position: absolute; inset: 0; pointer-events: none; opacity: .12;
  background:
    repeating-linear-gradient(45deg, transparent 0 80px, rgba(255,255,255,.5) 80px 82px, transparent 82px 160px),
    repeating-linear-gradient(-45deg, transparent 0 120px, rgba(124,196,23,.6) 120px 122px, transparent 122px 240px);
  mask-image: linear-gradient(90deg, transparent, #000 60%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 {
  font-family: var(--serif); color: #fff; font-weight: 700;
  font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.12; letter-spacing: -.015em; margin-bottom: .45em;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); max-width: 600px; color: #c5d6f5; }
.hero .lead strong { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.hero-event {
  display: inline-flex; align-items: center; gap: 14px; max-width: 100%;
  padding: 10px 18px 10px 10px; border-radius: 16px; text-decoration: none;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #d6e4ff;
  transition: background .2s;
}
.hero-event:hover { background: rgba(255,255,255,.14); }
.hero-event-date { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 12px; background: var(--gold); color: var(--navy-deep); line-height: 1; flex-shrink: 0; }
.hero-event-date b { font-size: 1.35rem; }
.hero-event-date small { font-size: .65rem; font-weight: 800; letter-spacing: .1em; }
.hero-event-text { display: flex; flex-direction: column; font-size: .9rem; min-width: 0; }
.hero-event-text strong { color: #fff; font-size: .98rem; }
.hero-art { display: flex; justify-content: center; }
.logo-card {
  position: relative; background: #fff; border-radius: 28px; padding: 28px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.55), 0 0 0 8px rgba(255,255,255,.06);
  transform: rotate(-2deg); max-width: 440px; width: 100%;
  animation: float 7s ease-in-out infinite;
}
.logo-card::before {
  content: ""; position: absolute; inset: -14px; z-index: -1; border-radius: 34px;
  background: conic-gradient(from 200deg, var(--sky), var(--green), var(--gold), var(--sky));
  filter: blur(26px); opacity: .55;
}
@keyframes float { 0%,100% { transform: rotate(-2deg) translateY(0); } 50% { transform: rotate(-1deg) translateY(-10px); } }

.pillar-strip {
  position: relative; list-style: none; padding: 0; margin: 56px 0 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px;
}
.pillar-strip li {
  display: flex; align-items: center; justify-content: center; gap: .55em;
  padding: 14px 10px; border-radius: 12px; font-weight: 700; color: #fff; font-size: .95rem;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-top: 3px solid var(--c);
}
.pillar-strip li:nth-child(1) { border-top-color: #4d7fe0; }
.pillar-strip svg { color: var(--gold); }

/* ---------- Figures ---------- */
.figures { background: #fff; border-bottom: 1px solid var(--line); }
.figures-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.figure { padding: 34px 24px; border-left: 1px solid var(--line); }
.figure:first-child { border-left: 0; padding-left: 0; }
.figure .num {
  display: block; font-family: var(--serif); font-weight: 700; font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1.1;
  background: linear-gradient(135deg, var(--navy), var(--blue) 55%, var(--green));
  -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 6px;
}
.figure .lbl { font-size: .92rem; color: var(--muted); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.founder { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding: 16px 18px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.founder-avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--navy), var(--blue)); flex-shrink: 0; }
.founder strong { display: block; color: var(--ink); }
.founder span { font-size: .9rem; color: var(--muted); }
.what-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.what { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.what:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.what h3 { font-size: 1.04rem; margin: 14px 0 6px; }
.what p { font-size: .93rem; margin: 0; }
.ico {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  color: var(--c, var(--blue)); background: color-mix(in srgb, var(--c, var(--blue)) 12%, #fff);
}
.ico svg { width: 22px; height: 22px; }

/* ---------- EEEQI ---------- */
.eeeqi-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.wheel-wrap { position: relative; max-width: 480px; margin-inline: auto; }
.wheel-wrap img { border-radius: 50%; box-shadow: 0 30px 60px -25px rgba(11,42,102,.45); background: #fff; }
.lens { display: inline-flex; padding: 5px; border-radius: 999px; background: #fff; border: 1px solid var(--line); margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.lens-btn { display: inline-flex; align-items: center; gap: .5em; border: 0; background: transparent; padding: .6em 1.15em; border-radius: 999px; font-weight: 700; color: var(--muted); font-size: .92rem; transition: background .2s, color .2s; }
.lens-btn.is-active { background: var(--navy); color: #fff; }
.pillar-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pillar-tab {
  display: inline-flex; align-items: center; gap: .45em; padding: .5em .95em; border-radius: 10px;
  border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: .9rem; color: var(--ink);
  transition: all .2s;
}
.pillar-tab svg { color: var(--c); }
.pillar-tab:hover { border-color: var(--c); }
.pillar-tab.is-active { background: var(--c); border-color: var(--c); color: #fff; }
.pillar-tab.is-active svg { color: #fff; }
.pillar-card {
  position: relative; background: #fff; border-radius: var(--radius-lg); padding: 30px 30px 26px;
  border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; min-height: 240px;
}
.pillar-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--c, var(--navy)); }
.pillar-card .pc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.pillar-card .pc-head .ico { width: 54px; height: 54px; border-radius: 14px; }
.pillar-card .pc-head .ico svg { width: 26px; height: 26px; }
.pillar-card h3 { font-family: var(--serif); font-size: 1.55rem; margin: 0; }
.pillar-card .pc-sub { display: block; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--c); }
.pillar-card p { font-size: 1.04rem; margin-bottom: 16px; }
.pc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pc-tag { font-size: .8rem; font-weight: 700; padding: .3em .75em; border-radius: 999px; color: var(--c); background: color-mix(in srgb, var(--c) 10%, #fff); border: 1px solid color-mix(in srgb, var(--c) 25%, #fff); }
.pillar-card.swap { animation: swap .35s ease; }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 18px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  --c: var(--blue);
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
  border-top: 4px solid var(--c);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-blue { --c: var(--blue); }
.card-green { --c: var(--green); }
.card .tag { font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--c); margin: 14px 0 4px; }
.card h3 { font-size: 1.1rem; margin-bottom: .4em; }
.card p:last-child { margin: 0; font-size: .94rem; }
.quote-card {
  margin: 0; padding: 26px; border-radius: var(--radius); color: #fff;
  background: linear-gradient(140deg, var(--navy), var(--blue));
  display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden;
}
.quote-card::after { content: "\201C"; position: absolute; right: 18px; top: 4px; font-family: Georgia, serif; font-size: 7rem; color: rgba(255,255,255,.14); line-height: 1; }
.quote-card .tag { color: var(--gold); font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.quote-card p:last-child { font-family: var(--serif); font-style: italic; font-size: 1.08rem; line-height: 1.55; margin: 0; }

/* ---------- SDG alignment ---------- */
.align-block { display: grid; grid-template-columns: 340px 1fr; gap: 28px; margin-top: 56px; align-items: stretch; }
.sdg-badge { border-radius: var(--radius-lg); padding: 34px 28px; color: #e2ecff; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.sdg16 { background: linear-gradient(160deg, #0b4f8f, var(--navy)); }
.sdg-num { font-family: var(--serif); font-size: 3.1rem; font-weight: 700; color: #fff; line-height: 1; }
.sdg-title { display: block; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: .05em; margin: 10px 0 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.25); }
.sdg-badge p { margin: 0; font-size: .95rem; }
.align-list { display: flex; flex-direction: column; gap: 12px; }
.align-list .h3 { margin-bottom: 4px; }
.align-row { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); background: var(--bg-soft); border-left: 4px solid var(--blue); }
.align-row h4 { font-size: 1rem; margin: 0 0 2px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.align-row h4 em { font-style: normal; font-size: .76rem; font-weight: 800; color: var(--blue); background: #e3f0ff; padding: .15em .6em; border-radius: 999px; }
.align-row p { margin: 0; font-size: .93rem; }

/* ---------- SDG 16 targets ---------- */
.targets { margin-top: 48px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; }
.targets summary { list-style: none; cursor: pointer; padding: 20px 26px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; background: var(--bg-soft); position: relative; padding-right: 56px; }
.targets summary::-webkit-details-marker { display: none; }
.targets summary::after { content: ""; position: absolute; right: 26px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--navy); border-bottom: 2.5px solid var(--navy); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.targets[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.targets summary span { font-weight: 800; color: var(--ink); font-size: 1.12rem; }
.targets summary small { color: var(--muted); }
.target-list { list-style: none; margin: 0; padding: 22px 26px 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px; }
.target-list li { display: flex; gap: 14px; font-size: .94rem; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.target-list b { flex-shrink: 0; min-width: 48px; color: var(--blue); font-weight: 800; }
.indicators { margin: 14px 26px 26px; padding: 18px 22px; border-radius: var(--radius); background: #f0f6ff; }
.indicators h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--navy); margin-bottom: 8px; }
.indicators ul { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 6px; font-size: .92rem; }
.indicators b { color: var(--navy); margin-right: 6px; }

/* ---------- SDG 4 ---------- */
.sdg4-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.sdg4 {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left;
  padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  transition: all .2s;
}
.sdg4 b { font-family: var(--serif); font-size: 1.3rem; color: var(--green); }
.sdg4 span { font-size: .86rem; font-weight: 600; line-height: 1.3; }
.sdg4:hover { border-color: var(--green); }
.sdg4.is-active { background: var(--green); border-color: var(--green); color: #fff; box-shadow: 0 10px 22px -10px rgba(47,158,28,.7); }
.sdg4.is-active b { color: #fff; }
.sdg4-detail {
  margin-top: 14px; padding: 24px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; box-shadow: var(--shadow-sm);
}
.sdg4-detail h4 { font-size: 1.15rem; margin-bottom: 6px; }
.sdg4-detail .kicker { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--green); margin-bottom: 4px; }
.sdg4-detail p { margin: 0; }
.sdg4-detail .ind { padding: 16px 18px; border-radius: 12px; background: var(--bg-green); border: 1px solid #d5ecc9; }
.sdg4-detail .ind .kicker { color: var(--muted); }
.sdg4-detail .ind p { font-weight: 700; color: var(--ink); font-size: .96rem; }

.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.road { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.road::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--green), var(--lime)); }
.road-num { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 6px; }
.road h4 { font-size: 1.08rem; margin-bottom: 14px; }
.road ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.road li { font-size: .92rem; padding-left: 18px; position: relative; }
.road li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 2px; background: var(--green); transform: rotate(45deg); }
.road li b { color: var(--ink); }
.road li em { font-style: normal; color: var(--green); font-weight: 700; font-size: .85rem; }

.funding { margin-top: 24px; padding: 24px 26px; border-radius: var(--radius); background: var(--bg-green); border: 1px solid #d5ecc9; display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: center; }
.funding-text { display: flex; gap: 14px; }
.funding-text .ico { --c: var(--green); background: #fff; }
.funding h4 { margin-bottom: 2px; }
.funding p { margin: 0; font-size: .94rem; }
.fb-track { position: relative; height: 42px; border-radius: 10px; background: #fff; border: 1px solid #d5ecc9; overflow: hidden; }
.fb-now, .fb-goal { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; padding: 0 10px; font-size: .78rem; font-weight: 800; white-space: nowrap; }
.fb-now { left: 0; background: linear-gradient(90deg, #c7d3e6, #9fb2d1); color: var(--navy); }
.fb-goal { background: repeating-linear-gradient(-45deg, var(--green) 0 8px, #3fae2a 8px 16px); color: #fff; justify-content: center; }
.fb-scale { display: flex; justify-content: space-between; font-size: .74rem; color: var(--muted); margin-top: 6px; padding: 0 2px; }

/* ---------- Events ---------- */
.event-feature { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.event-main { padding: 36px; background: #fff; }
.event-main h3 { font-family: var(--serif); font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin: 14px 0 12px; }
.pill { display: inline-block; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .35em .85em; border-radius: 999px; }
.pill-gold { background: #fdf3da; color: var(--gold-deep); }
.meta { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; }
.meta li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.meta svg { color: var(--blue); }
.event-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.agenda { padding: 36px; background: linear-gradient(160deg, var(--navy-deep), var(--navy)); color: #c5d6f5; }
.agenda h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.agenda ol { list-style: none; margin: 0; padding: 0; counter-reset: a; }
.agenda li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .94rem; counter-increment: a; }
.agenda li span::before { content: counter(a, decimal-leading-zero); font-weight: 800; color: var(--gold); margin-right: 12px; font-size: .8rem; }
.agenda li.break { counter-increment: none; color: var(--lime); font-style: italic; }
.agenda li.break span::before { content: "☕"; font-style: normal; }
.agenda li b { color: #fff; white-space: nowrap; }

.timeline { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 9px; left: 10px; right: 10px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--green), var(--blue)); }
.tl { position: relative; padding-top: 34px; }
.tl-dot { position: absolute; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); }
.tl.is-next .tl-dot { border-color: var(--gold); box-shadow: 0 0 0 6px rgba(227,163,18,.2); }
.tl-date { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 4px; }
.tl h4 { font-size: 1.12rem; margin-bottom: 6px; }
.tl p:last-child { font-size: .93rem; margin: 0; }

/* ---------- Partners ---------- */
.section-navy { background: linear-gradient(160deg, var(--navy-deep), var(--navy) 70%, #0d3a85); color: #c5d6f5; position: relative; overflow: hidden; }
.partner-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.light-p { color: #c5d6f5; }
.signatories { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.signatories div { padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); }
.signatories strong { display: block; color: #fff; }
.signatories span { font-size: .86rem; }
.resp { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.resp-col { background: #fff; color: var(--text); border-radius: var(--radius); padding: 24px; }
.resp-col h4 { display: flex; align-items: center; gap: 10px; font-size: 1rem; margin-bottom: 14px; }
.resp-col h4 img { border-radius: 6px; }
.qlc-badge { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; background: var(--gold); color: var(--navy-deep); font-size: .6rem; font-weight: 800; }
.resp-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.resp-col li { display: flex; gap: 10px; font-size: .92rem; }
.resp-col li svg { color: var(--green); width: 18px; height: 18px; margin-top: 3px; }

/* ---------- Resources ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { border: 1.5px solid var(--line); background: #fff; color: var(--ink); padding: .45em 1.05em; border-radius: 999px; font-weight: 700; font-size: .88rem; transition: all .2s; }
.chip:hover { border-color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.res-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.res {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.res:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow); }
.res.is-hidden { display: none; }
.res-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); flex-shrink: 0; }
.res-ico svg { width: 22px; height: 22px; }
.res-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.res-body strong { color: var(--ink); font-size: .98rem; line-height: 1.35; }
.res-body small { color: var(--muted); font-size: .84rem; }
.res-dl { color: var(--blue); width: 20px; height: 20px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list strong { display: block; color: var(--ink); }
.contact-list strong a { color: inherit; text-decoration: none; }
.contact-list span:not(.ico) { font-size: .88rem; color: var(--muted); }
.form { background: #fff; padding: 30px; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: .86rem; font-weight: 700; color: var(--ink); }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; font-size: .95rem; color: var(--ink); width: 100%;
  padding: .75em .9em; border-radius: 10px; border: 1.5px solid var(--line); background: var(--bg-soft);
  transition: border-color .2s, background .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.form textarea { resize: vertical; }
.form-error { margin: 0; color: #c0322b; font-size: .88rem; font-weight: 600; }
.form .btn svg { width: 18px; height: 18px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: #9fb0d0; padding: 48px 0 26px; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo { background: #fff; border-radius: 12px; padding: 4px; display: inline-block; }
.footer-brand strong { color: #fff; font-family: var(--serif); font-size: 1.1rem; }
.footer-brand p { margin: 0; font-size: .82rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-nav a { color: #c5d6f5; text-decoration: none; font-size: .9rem; font-weight: 600; }
.footer-nav a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding-top: 20px; font-size: .82rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav a:not(.btn) { padding: .5em .55em; font-size: .9rem; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .sdg4-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; padding: 12px 20px 22px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(11,42,102,.35);
    transform: translateY(-110%); visibility: hidden; transition: transform .25s ease, visibility .25s;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: .8em .4em; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1rem; }
  .nav a.active:not(.btn)::after { display: none; }
  .nav-cta { margin: 14px 0 0; justify-content: center; }
  .hero-inner, .about-grid, .eeeqi-grid, .partner-grid, .contact-grid, .event-feature, .align-block, .funding { grid-template-columns: 1fr; }
  .hero-inner { gap: 40px; }
  .hero-art { order: -1; }
  .logo-card { max-width: 300px; padding: 18px; }
  .figures-grid { grid-template-columns: repeat(2, 1fr); }
  .figure:nth-child(3) { border-left: 0; padding-left: 0; }
  .figure { border-top: 1px solid var(--line); }
  .figure:nth-child(-n+2) { border-top: 0; }
  .cards-3, .roadmap { grid-template-columns: 1fr 1fr; }
  .wheel-wrap { max-width: 360px; }
  .sdg4-grid { grid-template-columns: repeat(4, 1fr); }
  .about-grid { gap: 40px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .brand-tag { display: none; }
  .brand-name { font-size: 1rem; }
  .pillar-strip { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
  .pillar-strip li:last-child { grid-column: 1 / -1; }
  .figure { padding: 22px 12px 22px 0; }
  .figure:nth-child(even) { padding-left: 14px; }
  .what-grid, .cards-3, .cards-4, .roadmap, .resp, .signatories, .res-grid, .form-row, .target-list, .sdg4-detail { grid-template-columns: 1fr; }
  .sdg4-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; gap: 28px; }
  .timeline::before { top: 10px; bottom: 10px; left: 9px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--gold), var(--green), var(--blue)); }
  .tl { padding: 0 0 0 38px; }
  .event-main, .agenda, .form { padding: 24px; }
  .targets summary, .target-list { padding-left: 18px; padding-right: 18px; }
  .targets summary { padding-right: 50px; }
  .indicators { margin: 10px 18px 18px; }
  .pillar-card { padding: 24px 22px 22px 26px; }
  .hero-event { padding-right: 12px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .nav-toggle, .hero-stripes, .form, .filter { display: none; }
  .reveal { opacity: 1; transform: none; }
}
