:root {
  --green: #0b5c3e;
  --green-mid: #147a54;
  --green-dark: #062c1e;
  --gold: #d4a017;
  --gold-soft: #f3d27a;
  --navy: #0c2340;
  --primary: #0c2340;
  --primary-light: #3b8fd0;
  --sky: #3aa7dc;
  --sky-dark: #1d7eb3;
  --red: #c8102e;
  --water: #1a6b8a;
  --ink: #14201b;
  --muted: #5c675f;
  --line: #d9e2dc;
  --paper: #f7f4ec;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(6, 44, 30, 0.12);
  --radius: 18px;
  --max: 1180px;
  --header-h: 84px;
  --font: "Source Sans 3", "Segoe UI", sans-serif;
  --serif: "Source Sans 3", "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }
h1, h2, h3, h4 { font-family: var(--font); line-height: 1.2; color: var(--navy); margin: 0 0 0.6em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 14px;
  z-index: 1000;
}
.skip:focus { left: 8px; }

.topbar {
  background: var(--navy);
  color: #d5dde6;
  font-size: 13.5px;
  letter-spacing: 0.02em;
}
.topbar-inner, .header-inner, .nav-inner, .wrap, .footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  padding: 8px 0;
}
.topbar a { color: #fff; }
.topbar-meta {
  display: flex;
  align-items: center;
  min-width: 0;
  flex-wrap: wrap;
}
.topbar-meta > * {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  color: #d5dde6;
  font-weight: 600;
}
.topbar-meta a,
.topbar-meta a:hover,
.topbar-meta a:focus {
  color: #d5dde6;
  text-decoration: none;
}
.topbar-meta > * + *::before {
  content: "·";
  margin: 0 10px 0 2px;
  color: #8a9bb0;
  font-weight: 400;
}
.topbar-ico {
  width: 14px;
  height: 14px;
  flex: none;
}
.topbar-email {
  min-width: 0;
}
.topbar-weather {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  transition: opacity 0.18s ease;
}
.topbar-weather svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.topbar-weather.is-swap { opacity: 0; }

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(12, 35, 64, 0.28);
}
body.nav-open {
  overflow: hidden;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
  min-width: 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  min-width: 0;
  flex: none;
  max-width: 100%;
}
.brand img {
  width: 60px;
  height: 60px;
  max-width: 60px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
  flex: none;
}
.brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  min-width: 0;
}
.brand-text small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.2;
}
.brand-text strong {
  display: block;
  font-family: var(--font);
  font-size: 12px;
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  cursor: pointer;
  flex: none;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  margin: 0 auto;
  position: relative;
  transition: transform 0.2s ease, top 0.2s ease, background-color 0.2s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}
.main-nav > ul {
  display: flex;
  gap: 0;
  list-style: none;
  padding: 0;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
}
.main-nav > ul > li + li {
  position: relative;
  border-left: 0;
}
.main-nav > ul > li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 8px;
  background: rgba(12, 35, 64, 0.2);
}
.main-nav a {
  display: block;
  padding: 8px 12px;
  color: var(--navy);
  font-weight: 600;
  font-size: 17px;
  border-radius: 0;
  white-space: nowrap;
  transition: color 0.15s ease, box-shadow 0.15s ease;
}
.main-nav a:hover {
  background: none;
  color: var(--primary-light);
}
.main-nav a.active,
.main-nav .has-sub.is-current .nav-row > a,
.main-nav a.active:hover,
.main-nav .has-sub.is-current .nav-row > a:hover {
  background: none;
  color: var(--red);
  box-shadow: none;
}
.main-nav .has-sub {
  position: relative;
}
.nav-row { display: contents; }
.main-nav .has-sub .nav-row > a {
  display: inline-flex;
  align-items: center;
}
.main-nav .has-sub .nav-row > a::after {
  content: "";
  width: 5px;
  height: 5px;
  margin-left: 6px;
  margin-top: -2px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.main-nav .has-sub:hover .nav-row > a::after,
.main-nav .has-sub:focus-within .nav-row > a::after {
  transform: rotate(225deg);
  margin-top: 2px;
}
.main-nav .sub-nav {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 180px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 60;
}
.main-nav .has-sub:hover > .sub-nav,
.main-nav .has-sub:focus-within > .sub-nav {
  display: block;
}
.main-nav .sub-nav a {
  border-radius: 0;
  padding: 8px 16px;
}
.nav-panel-top,
.sub-toggle {
  display: none;
}

.hero {
  position: relative;
  width: 100%;
  height: 78vh;
  color: #fff;
  background: #0c2340;
  overflow: hidden;
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  background-color: #0c2340;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(36rem + max(20px, calc((100% - var(--max)) / 2))), 100%);
  margin: 0 0 22px 0;
  padding: 18px 48px 20px max(20px, calc((100% - var(--max)) / 2));
  background: linear-gradient(90deg, rgba(12, 35, 64, 0.78) 0%, rgba(12, 35, 64, 0.52) 55%, rgba(12, 35, 64, 0) 100%);
}
.hero h1 {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
  max-width: 58ch;
  margin-bottom: 10px;
}
.hero p {
  max-width: 58ch;
  font-size: 1.12rem;
  color: #e8efe9;
  margin-bottom: 16px;
}
.hero-copy {
  display: block;
  color: inherit;
  text-decoration: none;
}
.hero-copy:hover,
.hero-copy:focus-visible {
  color: inherit;
  text-decoration: none;
}
.hero-copy h1:hover,
.hero-copy:focus-visible h1 {
  color: #d0d5db;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.hero-actions .btn {
  padding: 8px 16px;
  font-size: 14px;
  line-height: 1.2;
}

.hero-controls {
  position: absolute;
  right: max(20px, calc((100% - var(--max)) / 2));
  bottom: 22px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.85);
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
}
.hero-btn:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.hero-btn:active {
  background: var(--primary-light);
  color: #fff;
  border-color: var(--primary-light);
}
.hero-dots {
  display: flex;
  gap: 8px;
  margin-left: 6px;
}
.hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.8);
  cursor: pointer;
}
.hero-dots button.is-active { background: var(--gold); width: 22px; border-radius: 999px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-soft); color: var(--navy); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); }
.btn-ghost:hover { background: #fff; color: var(--green-dark); }
.btn-green { background: #e7ecf2; color: var(--primary); border-radius: 8px; }
.btn-green:hover { background: var(--primary-light); color: #fff; }
.btn-outline { background: #fff; color: var(--green-dark); border: 1px solid var(--line); }
.btn-outline:hover { border-color: var(--green); color: var(--green); }

.section { padding: 84px 0; }
.section-paper { background: var(--paper); }
.section-green { background: var(--green-dark); color: #e7eee9; }
.section-green h2, .section-green h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.eyebrow {
  color: var(--primary-light);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 8px;
}
.section-green .eyebrow { color: var(--primary-light); }

.grid-3, .grid-2, .grid-4, .news-grid, .dir-grid, .lead-grid {
  display: grid;
  gap: 22px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.news-grid { grid-template-columns: repeat(3, 1fr); }
.dir-grid { grid-template-columns: repeat(3, 1fr); }
.lead-grid { grid-template-columns: repeat(2, 1fr); }

.card, .news-card, .dir-card, .lead-card, .policy-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(11, 92, 62, 0.06);
}
.news-card { border-radius: 8px; }
.card { padding: 26px; }
.card h3 { font-size: 22px; }
.icon-dot {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #e7ecf2;
  color: var(--primary);
  font-size: 22px;
  margin-bottom: 14px;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}
.split h2 { font-size: 26px; }
.split > div > p { text-align: justify; }
.section-paper:has(.news-grid) { padding-bottom: 32px; }
.section:has(.minister-message) { padding-top: 32px; }
.split img, .media-frame img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.split img {
  border-radius: 24px;
}
.split .media-frame img {
  border-radius: 0;
}
@media (min-width: 981px) {
  .hero + .section .split { align-items: stretch; }
  .hero + .section .media-frame {
    position: relative;
    min-height: 0;
  }
  .hero + .section .media-frame img {
    position: absolute;
    inset: 0;
    height: 100%;
  }
}
.quote {
  border-left: 4px solid var(--gold);
  padding: 4px 0 4px 18px;
  font-family: var(--font);
  font-size: 1.2rem;
  color: var(--navy);
}

.minister-message {
  display: grid;
  grid-template-columns: minmax(240px, 0.88fr) 1.12fr;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--primary);
  box-shadow: none;
  overflow: hidden;
}
.minister-portrait {
  display: flex;
  padding: 36px 0 36px 24px;
}
.minister-portrait img {
  flex: 1;
  width: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 12%;
  display: block;
}
.minister-copy {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.minister-copy .eyebrow {
  margin-bottom: 10px;
  color: var(--primary-light);
}
.minister-copy h2 {
  margin: 0 0 4px;
  font-size: 26px;
  font-weight: 700;
}
.minister-copy .role {
  margin: 0 0 16px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 15px;
}
.minister-copy p {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
}
.minister-copy p:not(.role) {
  text-align: justify;
}

.news-card img, .dir-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}
.news-card .body, .dir-card .body { padding: 18px 18px 22px; }
.meta { color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.news-card .meta { color: var(--red); }
.news-card h3 { font-size: 17px; margin: 8px 0 10px; }
.news-card h3 a { color: var(--navy); }
.news-card h3 a:hover { color: var(--primary-light); }

.lead-grid {
  grid-template-columns: 1fr;
  gap: 24px;
}
.org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.org-chart .lead-card {
  position: relative;
  width: min(320px, 100%);
  display: flex;
  flex-direction: column;
  text-align: center;
  overflow: visible;
  border-radius: 8px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--primary);
  border-left: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(12, 35, 64, 0.08);
}
.org-chart .org-minister {
  width: min(300px, 100%);
  margin-bottom: 44px;
}
.org-chart .org-minister img {
  height: auto;
  aspect-ratio: 1 / 1;
}
.org-chart .org-minister h2 {
  font-size: 22px;
}
.org-chart .org-minister::after,
.org-chart .org-undersec::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -44px;
  width: 2px;
  height: 44px;
  background: var(--primary);
  transform: translateX(-50%);
}
.org-chart .org-undersec {
  width: min(220px, 100%);
  margin-bottom: 44px;
}
.org-chart .lead-card img {
  width: 100%;
  height: 180px;
  min-height: 0;
  object-fit: cover;
  object-position: center 10%;
  border-radius: 4px 4px 0 0;
}
.org-chart .org-undersec img {
  height: auto;
  aspect-ratio: 1 / 1;
}
.org-chart .lead-card .body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.org-chart .lead-card h2 {
  font-size: 17px;
  margin: 0 0 6px;
}
.org-chart .role {
  color: var(--primary-light);
  letter-spacing: 0.12em;
  font-size: 11px;
}
.org-branch {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px 8px;
  width: 100%;
  position: relative;
  padding-top: 28px;
}
.org-branch::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(100% / 12);
  right: calc(100% / 12);
  height: 1px;
  background: var(--primary);
}
.org-dir {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  padding: 26px 8px 14px;
  background: #fff;
  border: 1px solid #d8dee6;
  border-radius: 2px;
  box-shadow: 0 8px 24px rgba(12, 35, 64, 0.12);
  color: var(--primary);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}
.org-dir span {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.org-dir::before {
  content: "";
  position: absolute;
  top: -28px;
  left: 50%;
  width: 1px;
  height: 28px;
  background: var(--primary);
  transform: translateX(-50%);
}
.org-dir:hover {
  color: var(--primary-light);
  border-color: var(--primary-light);
}
.role { color: var(--gold); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; }

.partners {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: center;
}
.partners a {
  background: #fff;
  border-radius: 16px;
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(12, 35, 64, 0.12);
}
.partners img { max-height: 42px; width: auto; filter: grayscale(0.2); }

.page-hero {
  background-color: #0c2340;
  background-image:
    linear-gradient(100deg, rgba(12, 35, 64, 0.72), rgba(12, 35, 64, 0.48)),
    url("../assets/images/page-hero-bg.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  padding: 36px 0 28px;
  min-height: 0;
}
.page-hero h1 { color: #fff; font-size: 19px; margin: 0; }
.crumbs { color: #dce7e0; font-size: 14px; margin-bottom: 10px; }
.crumbs a { color: var(--gold-soft); }

.prose { max-width: 760px; }
.prose p:not(.meta) { text-align: justify; }
.prose h1 { font-size: 19px; margin: 0 0 8px; }
.prose > .meta { margin: 0 0 18px; color: var(--red); }
.page-hero + .section { padding-top: 36px; }
.prose h2 { font-size: 19px; margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}
.section:has(.article-layout) {
  padding-top: 28px;
}
.article-hero img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 0;
  margin: 0 0 20px;
}
.aside-card { padding: 22px; position: sticky; top: 110px; }
.aside-card h3 { font-size: 18px; margin-bottom: 4px; }
.aside-card p { margin: 0; padding: 12px 0; }
.aside-card p + p {
  border-top: 1px solid var(--line);
}
.aside-card a { color: #111; }
.aside-card a:hover { color: var(--primary-light); }

.faq details {
  background: #fff;
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  font-size: 18px;
}
.faq details p { margin: 12px 0 4px; color: var(--muted); }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}
.info-block {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}
.info-block b { display: block; color: var(--navy); }
.info-block a { color: var(--primary); }
.info-block a:hover { color: var(--primary-light); }
form {
  display: grid;
  gap: 12px;
}
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}
textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); }
.map-wrap {
  border-radius: 18px;
  overflow: hidden;
  min-height: 280px;
  border: 1px solid var(--line);
}
.map-wrap iframe { width: 100%; height: 320px; border: 0; }

.policy-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.policy-card {
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
}
a.policy-card:hover {
  border-color: var(--primary-light);
}
.policy-card h3 {
  font-size: 16px;
  margin: 0;
}
.policy-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.policy-card span {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #e7ecf2;
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  display: grid;
  place-items: center;
  flex: none;
}
.policy-card .policy-open {
  margin-left: auto;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  background: none;
  width: auto;
  height: auto;
  letter-spacing: 0;
}

.project-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.project-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(12, 35, 64, 0.1);
  color: inherit;
  text-decoration: none;
}
.project-card:hover,
.project-card:hover h3,
.project-related-card:hover,
.project-related-card:hover strong {
  color: inherit;
}
.project-card:hover h3,
.project-related-card:hover strong {
  color: var(--primary-light);
}
.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.project-card .body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px 22px;
  flex: 1;
}
.project-card h3 {
  font-size: 19px;
  margin: 0;
}
.project-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.project-card-lead {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: stretch;
}
.project-card-lead img {
  height: 100%;
  min-height: 280px;
}
.project-card-lead .body {
  justify-content: center;
  padding: 32px 36px;
}
.project-card-lead h3 { font-size: 26px; }
.project-status {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  background: #e7ecf2;
  padding: 4px 10px;
  border-radius: 4px;
}
.project-meta-line {
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
}
.project-open {
  margin-top: auto;
  padding-top: 10px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
}
.project-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--primary);
}
.project-facts > div {
  padding: 16px 20px;
}
.project-facts > div + div {
  border-left: 1px solid var(--line);
}
.project-facts dt {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.project-facts dd {
  margin: 6px 0 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}
.project-story {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 40px;
  align-items: start;
}
.project-photo img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 8px;
}
.project-copy .eyebrow {
  color: var(--primary-light);
  margin-bottom: 12px;
}
.project-copy p {
  text-align: justify;
}
.project-copy h2 { font-size: 19px; }
.project-doc { margin-top: 8px; }
.project-related {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.project-related h2 {
  font-size: 19px;
  margin-bottom: 16px;
}
.project-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.project-related-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}
.project-related-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}
.project-related-card div { padding: 12px 14px 16px; }
.project-related-card strong {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  color: var(--navy);
}

.site-footer {
  background: var(--navy);
  color: #c9d4dc;
  padding: 56px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 28px;
  margin-bottom: 36px;
}
.site-footer h3 { color: #fff; font-size: 18px; }
.site-footer a { color: #dce6ec; }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin: 8px 0; }
.news-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}
.news-pager button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--primary);
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
}
.news-pager button:hover:not(:disabled) {
  color: var(--primary-light);
  border-color: var(--primary-light);
}
.news-pager button:disabled {
  opacity: 0.4;
  cursor: default;
}
.news-pager span {
  font-size: 14px;
  color: var(--muted);
}
.legal {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 16px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .topbar-place,
  .topbar-phone { display: none; }
  .topbar-email::before { content: none; }
  .header-inner > .brand,
  .nav-panel-top { gap: 10px; }
  .header-inner > .brand img,
  .nav-panel-top img {
    width: 50px;
    height: 50px;
    max-width: 50px;
    border-radius: 10px;
  }
  .header-inner > .brand .brand-text small,
  .nav-panel-top .brand-text small { font-size: 8.5px; }
  .header-inner > .brand .brand-text strong,
  .nav-panel-top .brand-text strong { font-size: 10px; }
  .nav-toggle {
    display: block;
    position: relative;
    z-index: 60;
  }
  .nav-toggle[aria-expanded="true"] {
    position: fixed;
    top: 14px;
    left: calc(min(20rem, 86vw) + (100vw - min(20rem, 86vw)) / 2);
    transform: translateX(-50%);
    background: #fff;
    box-shadow: 0 10px 28px rgba(12, 35, 64, 0.28);
  }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(12, 35, 64, 0.45);
    z-index: 40;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
  }
  .nav-backdrop.is-on {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .main-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: auto;
    width: min(20rem, 86vw);
    height: 100svh;
    padding: 0;
    background: #fff;
    border: 0;
    border-right: 1px solid rgba(12, 35, 64, 0.08);
    box-shadow: 18px 0 50px rgba(12, 35, 64, 0.22);
    overflow: hidden;
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform 0.28s ease, visibility 0.28s ease;
    z-index: 55;
  }
  .main-nav.open {
    transform: translateX(0);
    visibility: visible;
  }
  .nav-panel-top {
    display: flex;
    align-items: center;
    flex: none;
    background: #fff;
    color: inherit;
    padding: 10px 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav-panel-top img {
    object-fit: cover;
    background: #fff;
    flex: none;
    box-shadow: 0 6px 16px rgba(0,0,0,.12);
  }
  .nav-panel-top .brand-text { min-width: 0; }
  .nav-panel-top .brand-text strong {
    color: var(--navy);
  }
  .main-nav > ul {
    flex: 1 1 auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 8px 0 16px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    text-align: left;
  }
  .main-nav > ul > li {
    width: 100%;
    margin: 0;
  }
  .main-nav > ul > li + li {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .main-nav > ul > li + li::before { content: none; }
  .main-nav a {
    display: block;
    width: 100%;
    border-radius: 0;
    padding: 13px 20px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--navy);
    text-align: left;
  }
  .main-nav .has-sub { position: static; }
  .main-nav .nav-row {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0;
  }
  .main-nav .nav-row > a {
    flex: 1;
    min-width: 0;
    display: block;
    font-weight: 600;
  }
  .main-nav .has-sub .nav-row > a::after { display: none; }
  .sub-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-right: 8px;
    flex: none;
    border: 0;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
  }
  .sub-toggle::before {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--navy);
    border-bottom: 2px solid var(--navy);
    transform: rotate(45deg);
    margin-top: -4px;
    transition: transform 0.2s ease;
  }
  .has-sub.is-open .sub-toggle::before {
    transform: rotate(225deg);
    margin-top: 3px;
  }
  .main-nav .has-sub:hover > .sub-nav,
  .main-nav .has-sub:focus-within > .sub-nav {
    display: none;
  }
  .main-nav .sub-nav {
    display: none;
    position: static;
    min-width: 0;
    margin: 0;
    padding: 0 0 6px;
    border: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
  .main-nav .has-sub.is-open > .sub-nav {
    display: block;
  }
  .main-nav .sub-nav a {
    padding: 10px 20px 10px 36px;
    font-size: 15px;
    font-weight: 600;
    color: #3d4d63;
  }
  .main-nav .sub-nav li {
    border-top: 0;
  }
  .main-nav a:hover,
  .main-nav a.active,
  .main-nav .has-sub.is-current .nav-row > a {
    background: #eef3f8;
    color: var(--navy);
    box-shadow: none;
  }
  .main-nav a.active {
    box-shadow: inset 3px 0 0 var(--gold);
  }
  .grid-3, .grid-4, .news-grid, .dir-grid, .lead-grid, .grid-2, .split, .partners, .article-layout, .contact-grid, .footer-grid, .policy-list, .project-list, .project-story {
    grid-template-columns: 1fr;
  }
  .footer-grid > div:first-child > p { text-align: justify; }
  .legal {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
  }
  .project-card-lead {
    grid-template-columns: 1fr;
  }
  .project-card-lead img { min-height: 220px; height: 220px; }
  .project-card-lead h3 { font-size: 19px; }
  .project-facts { grid-template-columns: 1fr 1fr; }
  .project-facts > div:nth-child(2n) { border-left: 1px solid var(--line); }
  .project-facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .project-related-grid { grid-template-columns: 1fr 1fr; }
  .project-photo img { min-height: 240px; }
  .partners { grid-template-columns: 1fr 1fr; }
  .hero { aspect-ratio: auto; height: 68vh; }
  .hero-slides { min-height: 0; }
  .split img, .media-frame img, .lead-card img { height: 320px; }
  .lead-card { grid-template-columns: 1fr; }
  .lead-card img { min-height: 0; }
  .lead-card .body { padding: 20px; }
  .minister-message { grid-template-columns: 1fr; }
  .minister-portrait { padding: 0; }
  .minister-portrait img { flex: none; min-height: 0; height: 280px; }
  .minister-copy { padding: 24px 20px 28px; }
  .org-branch { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .org-branch::before { left: 16.66%; right: 16.66%; }
  .org-dir:nth-child(n+4)::before { display: none; }
  .org-dir:nth-child(n+4) { padding-top: 14px; }
  .split h2,
  .section-head h2,
  .card h3 {
    font-size: 19px;
  }
  .section:has(.split):not(.section-paper) { padding-bottom: 32px; }
  .section:has(.split) + .section-paper { padding-top: 32px; }
}

@media (max-width: 640px) {
  .topbar { font-size: 12px; }
  .topbar-inner { width: min(var(--max), calc(100% - 24px)); padding: 7px 0; }
  .header-inner > .brand,
  .nav-panel-top { gap: 9px; }
  .header-inner > .brand img,
  .nav-panel-top img {
    width: 44px;
    height: 44px;
    max-width: 44px;
    border-radius: 9px;
  }
  .header-inner > .brand .brand-text,
  .nav-panel-top .brand-text { gap: 1px; }
  .header-inner > .brand .brand-text small,
  .nav-panel-top .brand-text small { font-size: 7.5px; }
  .header-inner > .brand .brand-text strong,
  .nav-panel-top .brand-text strong { font-size: 9px; }
  .hero { aspect-ratio: auto; height: 48vh; }
  .hero-inner {
    width: 100%;
    margin: 0 0 72px 0;
    padding: 12px 16px 12px 20px;
  }
  .hero h1 {
    font-size: 1.05rem;
    line-height: 1.25;
    margin-bottom: 6px;
  }
  .hero p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0;
  }
  .hero-actions {
    display: none;
  }
  .hero-controls {
    left: 16px;
    right: auto;
  }
  .project-facts { grid-template-columns: 1fr 1fr; }
  .project-facts > div { border-left: 0; }
  .project-facts > div:nth-child(2n) { border-left: 1px solid var(--line); }
  .project-facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .project-facts > div + div { border-top: 0; }
  .project-card-lead .body { padding: 20px; }
}

@media (max-width: 980px) and (max-height: 500px) {
  .header-inner { min-height: 60px; }
  .org-branch { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .org-branch::before { left: 25%; right: 25%; }
  .org-dir:nth-child(n+3)::before { display: none; }
  .org-dir:nth-child(n+3) { padding-top: 14px; }
}

/* ── Entrance motion (respects reduced motion) ── */
@media (prefers-reduced-motion: no-preference) {
  .topbar {
    animation: mwri-enter-down 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .site-header {
    animation: mwri-enter-down 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
  }
  @keyframes mwri-enter-down {
    from {
      opacity: 0;
      transform: translateY(-18px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  .hero-slide.is-active .hero-inner {
    animation: mwri-hero-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
  }
  @keyframes mwri-hero-in {
    from {
      opacity: 0;
      transform: translateY(28px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  .hero-slide.is-active .hero-inner.motion-slide-in {
    animation: mwri-hero-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .motion-reveal {
    opacity: 0;
    transition:
      opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--motion-delay, 0ms),
      transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--motion-delay, 0ms);
    will-change: opacity, transform;
  }
  .motion-up { transform: translate3d(0, 36px, 0); }
  .motion-left { transform: translate3d(-36px, 0, 0); }
  .motion-right { transform: translate3d(36px, 0, 0); }
  .motion-scale { transform: scale(0.96); }
  .motion-fade { transform: none; }

  .motion-reveal.is-inview {
    opacity: 1;
    transform: none;
  }

  .page-hero .wrap {
    animation: mwri-hero-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
  }

  .partners a {
    transition: transform 0.35s ease, opacity 0.35s ease;
  }
  .partners a.is-inview:hover {
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
