/* Layout: light, airy sections in a 1180px column; sun-ray mark from the logo as the recurring motif; one deep-navy band for the call to action. */
:root {
  color-scheme: light;
  --bg: #FBFCFD;          /* page: near-white with a cool hint */
  --surface: #FFFFFF;
  --tint: #F1F6F8;        /* alternate sections, lighter than before */
  --ink: #0E2A3F;         /* navy from the logo: headings and body */
  --ink-2: #4E6272;
  --line: #DFE8ED;
  --accent: #23809A;      /* second text colour: highlighted words, links */
  --accent-soft: #E1F1F5;
  --ochre: #93682A;       /* eyebrows and small labels, a deeper take on the logo gold */
  --sand: #CDA96F;        /* logo mark */
  --sand-soft: #F6EEDF;
  --sea: #23809A;
  --deep: #1F4A66;        /* CTA band, softer than the logo navy */
  --deep-ink: #F4F8FA;
  --ph-a: #EAF1F4;
  --ph-b: #E0EAEF;

  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.2rem;
  --step-2: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  --step-3: clamp(1.7rem, 1.2rem + 2vw, 2.5rem);
  --step-4: clamp(1.9rem, 1.2rem + 2.8vw, 3.1rem);

  --radius: 18px;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: var(--step-0); line-height: 1.6;
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--surface); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sea); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--sea); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: var(--step-4); font-weight: 700; }
h2 { font-size: var(--step-3); font-weight: 700; }
h3 { font-size: var(--step-1); font-weight: 500; line-height: 1.3; }
p { margin: 0; }
.hl { font-style: normal; color: var(--accent); }
.cta .hl { color: #9FD6E6; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: 100%; max-width: calc(var(--max) + 64px); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 700px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }

.eyebrow { font-size: var(--step--1); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ochre); display: flex; align-items: center; gap: .6em; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--sand); }


/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand__mark { width: 52px; height: 32px; fill: var(--sand); flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: .04em; text-transform: uppercase; }
.brand__sub { font-size: .7rem; font-weight: 600; color: var(--ink-2); margin-top: 3px; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { background: var(--tint); }
.nav a[aria-current="page"] { background: var(--tint); box-shadow: inset 0 -2px 0 var(--sand); }
.header-tools { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button { font: inherit; font-size: .8rem; font-weight: 700; border: 0; background: transparent; color: var(--ink-2); padding: 5px 10px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; place-items: center; }
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.menu-btn__bars::before { top: -6px; } .menu-btn__bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .menu-btn { display: grid; }
  .header-tools { margin-left: auto; }
  .nav { position: absolute; inset: 100% 0 auto; margin: 0; background: var(--surface); border-bottom: 1px solid var(--line); display: none; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; }
  .nav a { padding: 12px 14px; font-size: 1.05rem; }
}
@media (max-width: 420px) { .brand__sub { display: none; } .brand__mark { width: 44px; height: 27px; } }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--ghost { color: var(--ink); border: 1.5px solid var(--line); background: var(--surface); }
.btn--light { background: var(--deep-ink); color: var(--ink); }
.link-arrow { font-weight: 700; text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: " →"; transition: margin .15s; }
.link-arrow:hover::after { margin-left: 4px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: 48px 40px; }
.hero__rays { position: absolute; width: 520px; height: 312px; right: -200px; bottom: 120px; fill: var(--sand); opacity: .1; pointer-events: none; }
@media (min-width: 900px) { .hero__rays { width: 900px; height: 540px; right: -220px; top: 40px; bottom: auto; opacity: .09; } }
.hero__grid { position: relative; display: grid; gap: 40px; align-items: center; }
.hero__text { display: grid; gap: 22px; min-width: 0; }
.lead { font-size: var(--step-1); color: var(--ink-2); max-width: 58ch; }
.hero__media { position: relative; min-width: 0; padding-bottom: 56px; }
.ph { margin: 0; overflow: hidden; background: var(--ph-a); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph--a { border-radius: 200px 200px var(--radius) var(--radius); aspect-ratio: 5 / 4; max-width: 100%; }
.ph--b { position: absolute; left: -12px; bottom: 0; width: 52%; aspect-ratio: 4 / 3; border-radius: var(--radius); border: 6px solid var(--bg); }
@media (min-width: 900px) {
  .hero { padding-block: 72px 56px; }
  .hero__grid { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .ph--b { left: -48px; }
}

.facts { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts li { background: var(--surface); padding: 18px 20px; display: grid; gap: 4px; font-size: var(--step--1); color: var(--ink-2); line-height: 1.4; }
.facts__n { font-family: var(--display); font-weight: 700; font-size: 1.4rem; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (min-width: 800px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Sections */
.section { padding-block: 72px; }
.section--tint { background: var(--tint); }
.section__head { display: grid; gap: 14px; margin-bottom: 36px; max-width: 760px; }
.section__head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; }
.section__head--row > div { display: grid; gap: 14px; }
.section__intro { color: var(--ink-2); font-size: var(--step-1); }
.note { color: var(--ink-2); margin: -16px 0 28px; max-width: 70ch; }

.areas { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.area { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; display: grid; gap: 12px; align-content: start; }
.area p { color: var(--ink-2); }
.area__icon { width: 44px; height: 44px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; background: var(--sand-soft); border-radius: 12px; padding: 4px; }

/* Placeholders */
.placeholder { display: grid; place-items: center; text-align: center; padding: 16px; font-size: var(--step--1); font-weight: 600; color: var(--ink-2);
  background: repeating-linear-gradient(-45deg, var(--ph-a) 0 14px, var(--ph-b) 14px 28px); }
.placeholder span::before { content: "▢ "; }

/* Project cards */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.pcard { background: var(--surface); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); }
.pcard__img { aspect-ratio: 16 / 9; }
.pcard__body { padding: 22px; display: grid; gap: 10px; }
.pcard__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; gap: 6px; align-items: center; font-size: .8rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--tint); color: var(--ink-2); }
.pcard__countries, .pcard__body p:last-child { color: var(--ink-2); font-size: .95rem; }

/* News */
.news { display: grid; gap: 20px; }
.ncard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.ncard__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--ph-a); }
.ncard__img--poster { object-position: center 18%; }
.ncard__img--group { object-position: center 62%; }
.ncard__body { padding: 22px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.ncard__body p { color: var(--ink-2); }
.ncard__date { font-size: var(--step--1); font-weight: 600; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-variant-numeric: tabular-nums; }
.tag { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 3px 10px; border-radius: 999px; }
.ncard--lead h3 { font-size: var(--step-2); }
.ncard--side h3 { font-size: 1.05rem; }
.ncard--side .ncard__body p:not(.ncard__date) { font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 600px) {
  .ncard--side { display: grid; grid-template-columns: 38% 1fr; }
  .ncard--side .ncard__img { height: 100%; aspect-ratio: auto; min-height: 200px; }
}
@media (min-width: 960px) {
  .news { grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; }
  .ncard--lead { grid-row: span 2; }
}

/* Projects: coming soon */
.soon { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.soon__mark { width: 96px; height: 58px; fill: var(--sand); flex: none; }
.soon > div { display: grid; gap: 6px; flex: 1 1 280px; min-width: 0; }
.soon__t { font-family: var(--display); font-weight: 700; font-size: var(--step-2); line-height: 1.2; }
.soon p:not(.soon__t) { color: var(--ink-2); max-width: 62ch; }
section[id] { scroll-margin-top: 80px; }

/* Upcoming event */
.event { display: grid; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; }
.event__poster { width: calc(100% - 24px); height: auto; margin: 12px 12px 0; border-radius: 14px; }
.event__body { padding: 24px; display: grid; gap: 16px; align-content: start; min-width: 0; }
.event h3 { font-size: var(--step-3); font-weight: 700; }
.event__lead { font-size: var(--step-1); color: var(--ink-2); max-width: 60ch; }
.event__facts { margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.event__facts > div { background: var(--tint); border-radius: 12px; padding: 12px 14px; display: grid; gap: 2px; }
.event__facts dt { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ochre); }
.event__facts dd { margin: 0; font-weight: 600; }
.event__list { display: grid; gap: 8px; color: var(--ink-2); }
.event__list li { position: relative; padding-left: 22px; }
.event__list li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 9px; height: 9px; border-radius: 50%; background: var(--sand); }
.event .btn { justify-self: start; }
.tag--soon { color: #7A5418; background: var(--sand-soft); }
@media (min-width: 820px) {
  .event { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .event__poster { width: calc(100% - 32px); margin: 16px 0 16px 16px; align-self: center; }
  .event__body { padding: 36px; }
}

/* Partner logos */
.logos { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.logos li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 760px) { .logos { grid-template-columns: repeat(5, minmax(0, 1fr)); } .logos li:last-child:nth-child(odd) { grid-column: auto; } }
.logos a { display: grid; place-items: center; height: 120px; padding: 18px; background: #FFFFFF; border-radius: var(--radius); border: 1px solid var(--line); transition: transform .15s, box-shadow .15s; }
.logos a:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(14, 42, 63, .35); }
.logos img { max-height: 76px; width: auto; object-fit: contain; }

/* CTA band */
.cta { background: var(--deep); color: var(--deep-ink); position: relative; overflow: hidden; }
.cta__grid { padding-block: 64px; display: grid; gap: 36px; align-items: center; }
.cta__grid > div { display: grid; gap: 16px; justify-items: start; }
.cta h2 { color: var(--deep-ink); }
.cta p { color: color-mix(in srgb, var(--deep-ink) 80%, transparent); max-width: 52ch; font-size: var(--step-1); }
.contact-list { margin: 0; display: grid; gap: 14px; }
.contact-list > div { display: grid; gap: 2px; padding: 14px 18px; border-radius: 14px; background: color-mix(in srgb, var(--deep-ink) 8%, transparent); min-width: 0; }
.contact-list dt { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #D9BC8A; }
.contact-list dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.contact-list a { color: var(--deep-ink); }
@media (min-width: 900px) { .cta__grid { grid-template-columns: 1.2fr 1fr; padding-block: 80px; } }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); font-size: .95rem; }
.footer__grid { padding-block: 56px 32px; display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.footer__brand { display: grid; gap: 16px; align-content: start; grid-column: 1 / -1; max-width: 420px; }
.footer__brand p { color: var(--ink-2); }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .footer__brand { grid-column: auto; } }
.footer__h { font-family: var(--body); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 12px; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer ul a { color: var(--ink); text-decoration: none; }
.site-footer ul a:hover { text-decoration: underline; }
.footer__ids { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.footer__bottom { padding-block: 18px 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--ink-2); font-size: .85rem; }
.footer__bottom a { color: var(--ink-2); }
