:root {
  --bg: #ffffff;
  --bg-strong: #f4f6f8;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --ink: #101828;
  --ink-soft: #273444;
  --muted: #667085;
  --muted-strong: #475467;
  --line: #e4e7ec;
  --line-strong: #cfd5df;
  --accent: #173b57;
  --accent-dark: #0b1f32;
  --accent-soft: #e8f0f6;
  --copper: #7f5a36;
  --success: #127a45;
  --danger: #bd3b2f;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.08);
  --container: 1180px;
  --font-body: Manrope, Inter, Arial, sans-serif;
  --font-heading: Manrope, Inter, Arial, sans-serif;
  --hero-bg: linear-gradient(90deg, #ffffff 0%, #ffffff 62%, #f4f6f8 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(14, 66, 104, 0.045), transparent 420px),
    var(--bg);
  font-family: var(--font-body);
  line-height: 1.62;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(138, 91, 47, 0.32);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 50;
  padding: 10px 14px;
  color: var(--accent-dark);
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
}

.skip-link:focus {
  left: 12px;
}

.container,
.header-inner {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 248, 246, 0.92);
  border-bottom: 1px solid rgba(199, 208, 202, 0.76);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 220px;
}

.brand img {
  display: block;
  width: 220px;
  height: auto;
}

.brand-fallback {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.main-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  padding: 10px 11px;
  color: var(--ink-soft);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: color 160ms ease, background 160ms ease;
}

.main-nav a:hover {
  color: var(--accent-dark);
  background: rgba(14, 66, 104, 0.075);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.045);
}

.lang-button {
  min-width: 42px;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
  font-weight: 800;
}

.lang-button.is-active {
  color: #fff;
  background: var(--accent-dark);
}

.menu-button {
  display: none;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--ink);
  background: var(--surface);
  font-weight: 700;
}

.section {
  padding: 88px 0;
}

.section.muted {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0)),
    var(--bg-strong);
  border-block: 1px solid rgba(199, 208, 202, 0.52);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  padding: 92px 0 76px;
  background:
    var(--hero-bg);
}

.hero::before {
  content: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: max(24px, calc((100vw - var(--container)) / 2));
  bottom: 72px;
  width: min(34vw, 430px);
  height: min(34vw, 430px);
  border: 1px solid rgba(14, 66, 104, 0.16);
  transform: rotate(10deg);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 376px;
  gap: 76px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  max-width: 980px;
  margin-bottom: 22px;
  color: var(--accent-dark);
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1.05;
  letter-spacing: 0;
  font-weight: 800;
  font-family: var(--font-heading);
}

h2 {
  margin-bottom: 18px;
  color: var(--accent-dark);
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
  font-weight: 800;
  font-family: var(--font-heading);
}

h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
  font-family: var(--font-heading);
}

.hero-subtitle {
  max-width: 760px;
  margin-bottom: 20px;
  color: var(--ink-soft);
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.26;
  font-weight: 500;
}

.hero-copy p:not(.eyebrow):not(.hero-subtitle) {
  max-width: 760px;
  color: var(--muted-strong);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #fff;
  background: var(--accent-dark);
  box-shadow: 0 16px 32px rgba(10, 34, 56, 0.18);
}

.button.primary:hover {
  color: #fff;
  background: #123451;
}

.button.secondary {
  color: var(--accent-dark);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.8);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(199, 208, 202, 0.82);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.hero-panel::before {
  content: "Public oversight";
  display: block;
  margin-bottom: 18px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.panel-line span {
  color: var(--muted);
  font-size: 14px;
}

.panel-line strong {
  color: var(--accent-dark);
  text-align: right;
  font-size: 18px;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 28px;
}

.signal-grid span {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: linear-gradient(135deg, #f9fbfa, var(--accent-soft));
}

.signal-grid span:nth-child(3n) {
  background: var(--accent-dark);
}

.section-heading {
  max-width: 890px;
  margin-bottom: 38px;
}

.section-heading p {
  color: var(--muted-strong);
  font-size: 17px;
}

.section-content {
  min-width: 0;
}

.section-intro {
  max-width: 890px;
  margin: 0 0 38px;
  color: var(--muted-strong);
  font-size: 17px;
}

.section-intro p {
  margin: 0 0 18px;
}

.section-intro p:last-child {
  margin-bottom: 0;
}

.cards {
  display: grid;
  gap: 18px;
}

.cards.four {
  grid-template-columns: repeat(4, 1fr);
}

.cards.five {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card,
.project-card,
.metric-card,
.result-block,
.methodology-regulation {
  border: 1px solid rgba(199, 208, 202, 0.86);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.92) inset;
}

.card {
  min-height: 224px;
  padding: 24px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.card h3 {
  overflow-wrap: anywhere;
  hyphens: auto;
}

.card:hover,
.project-card:hover,
.metric-card:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 66, 104, 0.24);
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.08);
}

.card-number {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--copper);
  font-size: 13px;
  font-weight: 800;
}

.card p,
.prose p {
  color: var(--muted-strong);
}

.split {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 84px;
}

.section-kicker {
  position: sticky;
  top: 112px;
  align-self: start;
}

.prose {
  max-width: 850px;
}

.prose p {
  font-size: 16.5px;
}

.prose h3 {
  margin-top: 36px;
  color: var(--accent-dark);
}

.project-list {
  display: grid;
  gap: 18px;
}

.project-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 24px;
  padding: 30px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.project-card p {
  color: var(--muted-strong);
}

.link-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.link-cards.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.link-cards a,
.media-grid a {
  display: grid;
  gap: 4px;
  min-height: 76px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--accent-dark);
  background: var(--surface-raised);
  font-weight: 800;
  transition: border-color 160ms ease, background 160ms ease;
}

.link-cards a::after,
.media-grid a::after {
  content: "↗";
  justify-self: end;
  align-self: end;
  color: var(--copper);
  font-weight: 900;
}

.link-cards a:hover,
.media-grid a:hover {
  border-color: rgba(14, 66, 104, 0.36);
  background: #fff;
}

.project-card .link-cards a,
.link-cards.compact a {
  min-height: 60px;
  border-color: rgba(10, 34, 56, 0.2);
  background: var(--accent-dark);
  color: #fff;
}

.project-card .link-cards a:hover,
.link-cards.compact a:hover {
  border-color: rgba(132, 96, 64, 0.42);
  background: #18304b;
}

.link-cards small {
  color: var(--muted);
  font-weight: 600;
}

.project-card .link-cards small,
.link-cards.compact small {
  color: rgba(255, 255, 255, 0.68);
}

.project-card .link-cards a::after,
.link-cards.compact a::after {
  color: var(--copper-light);
}

.subheading {
  margin: 0 0 18px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.metric-card {
  min-height: 148px;
  padding: 24px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.metric-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  font-weight: 900;
}

.metric-card span {
  color: var(--muted-strong);
  font-weight: 600;
}

.note {
  margin: 16px 0 40px;
  color: var(--muted);
  font-size: 14px;
}

.results-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.result-block {
  max-width: none;
  padding: 28px;
}

.result-block:nth-child(1),
.result-block:nth-child(2) {
  grid-column: span 2;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.media-grid a {
  min-height: 62px;
  align-items: center;
}

.methodology-regulation {
  max-width: none;
  margin-top: 28px;
  padding: 30px;
  background: var(--surface);
}

.regulation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.regulation-grid section {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-raised);
}

.regulation-grid h4 {
  margin: 0 0 8px;
  color: var(--accent-dark);
  font-size: 16px;
}

.regulation-grid p {
  margin-bottom: 0;
  font-size: 15px;
}

.regulation-text {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.regulation-text h4 {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 18px;
}

.regulation-text p {
  max-width: 980px;
  font-size: 15px;
}

.contact-section {
  background:
    linear-gradient(135deg, rgba(14, 66, 104, 0.18), transparent 48%),
    var(--accent-dark);
  color: #fff;
}

.contact-section .eyebrow,
.contact-section a {
  color: #c8ddeb;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.75fr);
  gap: 70px;
}

.contact-details {
  color: #dce8f2;
  font-size: 16.5px;
}

.contact-details p {
  margin-bottom: 16px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #e8f0f7;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  padding: 12px 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transition: border-color 160ms ease, background 160ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  min-height: 48px;
  border: 0;
  border-radius: var(--radius);
  color: var(--accent-dark);
  background: #fff;
  font-weight: 800;
  transition: transform 160ms ease, opacity 160ms ease;
}

.contact-form button:hover {
  transform: translateY(-1px);
}

.contact-form button:disabled {
  cursor: progress;
  opacity: 0.7;
}

.form-status {
  min-height: 24px;
  margin: -4px 0 0;
  color: #dce8f2;
  font-size: 14px;
}

.form-status.is-success {
  color: #bdf1d1;
}

.form-status.is-error {
  color: #ffd3ce;
}

.site-footer {
  padding: 34px 0;
  color: #dbe5ef;
  background: #071521;
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.site-footer strong {
  display: block;
  color: #fff;
}

.site-footer p {
  margin: 6px 0 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer a {
  color: #dbe5ef;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1100px) {
  .header-inner {
    grid-template-columns: auto auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-self: stretch;
    display: none;
    padding: 0 0 16px;
  }

  .main-nav.is-open {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .header-actions {
    justify-self: end;
  }

  .menu-button {
    display: inline-flex;
  }

  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    max-width: 520px;
  }

  .section-kicker {
    position: static;
  }

  .cards.four,
  .cards.five,
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .media-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .container,
  .header-inner {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 64px 0;
  }

  .header-inner {
    min-height: 70px;
    gap: 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 156px;
  }

  .main-nav.is-open,
  .cards.four,
  .cards.five,
  .metrics-grid,
  .results-blocks,
  .media-grid,
  .link-cards,
  .link-cards.compact,
  .regulation-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 66px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-panel {
    padding: 20px;
  }

  .project-card {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 22px;
  }

  .result-block:nth-child(1),
  .result-block:nth-child(2) {
    grid-column: auto;
  }

  .contact-form {
    padding: 20px;
  }

  .footer-grid {
    display: grid;
  }
}

