@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #142033;
  --ink-soft: #3d4d60;
  --navy: #12324d;
  --navy-deep: #0c2236;
  --green: #0f6e56;
  --green-deep: #0b4d3c;
  --mint: #e7f3ec;
  --gold: #c58a2a;
  --sand: #f4efe6;
  --paper: #fffcf8;
  --line: #e3d9c8;
  --card: #fffdf9;
  --shadow: 0 18px 40px rgba(18, 50, 77, 0.08);
  --wrap: 1120px;
  --serif: "Source Serif 4", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--sand);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green-deep); }

a:hover { color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--navy);
  color: #fff;
  padding: 0.6rem 0.9rem;
  z-index: 100;
}

.skip:focus { top: 0.6rem; color: #fff; }

.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cookie {
  background: var(--navy-deep);
  color: #f4efe6;
  font-size: 0.95rem;
}

.cookie[hidden] { display: none; }

.cookie-inner {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
}

.cookie p { margin: 0; min-width: 0; }

.cookie a { color: #f2d48a; }

.topbar {
  background: var(--navy);
  color: #e7eef3;
  font-size: 0.92rem;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  min-height: 2.4rem;
}

.topbar p { margin: 0; }

.topbar a { color: #f2d48a; text-decoration: none; }

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--navy);
  min-width: 0;
}

.brand img { width: 46px; height: 46px; }

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  font-family: var(--serif);
  font-size: 1.35rem;
}

.brand-name small {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  border: 1px solid var(--navy);
  background: var(--paper);
  color: var(--navy);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font: inherit;
  font-weight: 700;
}

.nav-panel { display: flex; flex-direction: column; align-items: flex-end; gap: 0.35rem; }

.nav-sub,
.nav-main {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
}

.nav-sub a,
.nav-main a {
  display: inline-block;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}

.nav-sub a {
  font-size: 0.92rem;
  padding: 0.25rem 0.55rem;
  color: var(--ink-soft);
}

.nav-main a {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
}

.nav-main a:hover,
.nav-sub a:hover,
.nav-main a[aria-current="page"],
.nav-sub a[aria-current="page"] {
  background: var(--mint);
  color: var(--green-deep);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  padding: 3.2rem 0 2.4rem;
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.15; font-weight: 600; }

h1 { font-size: clamp(2.3rem, 5vw, 4.15rem); margin: 0 0 1rem; color: var(--navy-deep); }

.lede { font-size: 1.2rem; color: var(--ink-soft); margin: 0 0 1.4rem; }

.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 2px solid transparent;
}

.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-deep); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); color: #fff; }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }

.hero-frame {
  position: relative;
}

.hero-frame img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 14px -12px -12px 14px;
  border: 1px solid var(--gold);
  border-radius: 18px;
  pointer-events: none;
}

.hero-caption {
  margin: 0.8rem 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.slogans {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.7rem;
  padding-bottom: 2.4rem;
}

.slogans a {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
  border-radius: 12px;
  padding: 0.9rem;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  min-height: 100%;
}

.slogans a:hover { border-top-color: var(--gold); }

.slogans small {
  display: block;
  margin-top: 0.45rem;
  color: var(--green);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stats {
  background: var(--navy-deep);
  color: #f7f3ea;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.6rem 0;
}

.stats strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #f2d48a;
}

.stats span { display: block; color: #d5e0e8; font-size: 0.95rem; }

.section { padding: 3.4rem 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.4rem;
}

.section-head h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.section-head p { margin: 0.4rem 0 0; color: var(--ink-soft); max-width: 62ch; }

.pillars, .sectors, .areas, .news-grid, .opp-grid, .card-grid {
  display: grid;
  gap: 1rem;
}

.pillars { grid-template-columns: repeat(4, 1fr); }
.sectors { grid-template-columns: repeat(3, 1fr); }
.areas { grid-template-columns: repeat(5, 1fr); }
.news-grid, .card-grid { grid-template-columns: repeat(3, 1fr); }
.opp-grid { grid-template-columns: repeat(2, 1fr); }

.pillar, .sector, .area, .news-card, .opp, .info-card, .event-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.pillar a, .area a, .news-card a.title-link { display: block; text-decoration: none; color: inherit; }
.pillar img, .split img, .article-figure img, .gallery img { width: 100%; object-fit: cover; }
.pillar img { height: 150px; }
.pillar div, .sector, .area, .news-card, .opp, .info-card, .event-card { padding: 1rem 1.05rem 1.15rem; }
.pillar h3, .sector h3, .area h3, .news-card h3, .opp h3, .info-card h3, .event-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
}
.pillar p, .sector p, .area p, .news-card p, .opp p, .info-card p, .event-card p { margin: 0; color: var(--ink-soft); }
.more { display: inline-block; margin-top: 0.7rem; font-weight: 700; }

.panel { background: var(--mint); }
.panel-sand { background: #efe6d4; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.2rem;
  align-items: stretch;
}

.split article, .split aside {
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.split .copy { padding: 1.3rem 1.3rem 1.5rem; }
.split img { height: 220px; }

.steps { margin: 0; padding-left: 1.2rem; }
.steps li { margin: 0.35rem 0; }

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.6rem;
}

.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.faq p { margin: 0.6rem 0 0; }

.partners ul { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0.8rem 0 0; list-style: none; }
.partners li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-weight: 700;
  color: var(--navy);
}

.site-footer {
  background: var(--navy-deep);
  color: #d5e2ea;
  padding: 2.4rem 0 1.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.site-footer h2 { color: #fff; font-size: 1.05rem; margin: 0 0 0.6rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.28rem 0; }
.site-footer a { color: #f2d48a; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.legal {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.92rem;
}

.page-hero { padding: 2.4rem 0 1rem; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.3rem); }
.crumbs { margin: 0 0 0.8rem; color: var(--ink-soft); font-size: 0.92rem; }
.crumbs a { color: var(--green-deep); }
.prose > p,
.prose > ul,
.prose > ol,
.prose > h2,
.prose > .note,
.prose > figure { max-width: 74ch; }
.prose h2 { margin-top: 1.8rem; }
.prose .card-grid,
.prose .news-grid,
.prose .opp-grid,
.prose .gallery,
.prose .form { margin-top: 1rem; }
.note {
  background: #fff8e8;
  border-left: 4px solid var(--gold);
  padding: 0.8rem 1rem;
  border-radius: 8px;
}

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1rem; }
.filters button, .form button {
  font: inherit;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }

.form {
  display: grid;
  gap: 0.8rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem;
}

.form label { display: grid; gap: 0.3rem; font-weight: 700; }
.form input, .form select, .form textarea {
  font: inherit;
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  border: 1px solid #cfc3ae;
  background: #fff;
}
.form .error { color: #8c2f2f; font-weight: 700; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }

.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
}
.gallery figure {
  margin: 0;
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.gallery img { height: 320px; width: 100%; object-fit: cover; }
.gallery figcaption { padding: 0.8rem 1rem 1rem; color: var(--ink-soft); }

.meta { color: var(--ink-soft); font-size: 0.95rem; }

@media (max-width: 980px) {
  .header-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
  .nav-toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
  }
  .brand { grid-column: 1; grid-row: 1; }
  .brand-name small { display: none; }
  .nav-panel {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem 1rem 1rem;
    align-items: stretch;
    grid-column: 1 / -1;
  }
  .nav-panel.is-open { display: flex; }
  .nav-sub, .nav-main { flex-direction: column; align-items: stretch; }
  .hero, .split, .stats-grid, .pillars, .sectors, .areas, .news-grid, .card-grid, .footer-grid, .slogans, .gallery, .form-row {
    grid-template-columns: 1fr 1fr;
  }
  .areas, .slogans { grid-template-columns: 1fr 1fr; }
  .hero-frame img, .gallery img { height: 240px; }
}

@media (max-width: 680px) {
  .hero, .split, .stats-grid, .pillars, .sectors, .areas, .news-grid, .card-grid, .opp-grid, .footer-grid, .slogans, .gallery, .form-row, .topbar-inner, .cookie-inner, .section-head {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }
  .header-main { align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
