:root {
  --bg: #eff3f6;
  --hero: #f7fafc;
  --surface: #ffffff;
  --surface-soft: #dce4ea;
  --dark: #22364a;
  --dark-soft: rgba(255, 255, 255, 0.08);
  --ink: #020617;
  --ink-soft: #334155;
  --line: #e2e8f0;
  --line-dark: rgba(255, 255, 255, 0.12);
  --white: #ffffff;
  --max: 1280px;
  --radius: 28px;
  --radius-large: 30px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.4), 0 8px 28px rgba(15, 23, 42, 0.05);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", sans-serif;
}

img {
  display: block;
  width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(239, 243, 246, 0.92);
  backdrop-filter: blur(18px);
}

.site-header-inner,
.section,
.hero-grid,
.site-footer {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand-title,
.brand-footer {
  font-family: "Instrument Serif", serif;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #020617;
}

.brand-subtitle,
.section-label,
.card-label,
.feature-label,
.team-title,
.form-note,
.mandate-company {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.brand-subtitle,
.section-label,
.card-label,
.feature-label,
.team-title,
.form-note,
.mandate-company {
  color: #64748b;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a,
.footer-nav a {
  font-size: 14px;
  color: #334155;
  transition: color 160ms ease;
}

.site-nav a:hover,
.footer-nav a:hover {
  color: #020617;
}

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

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

.button-outline {
  border-color: #cbd5e1;
  background: #ffffff;
  color: #1e293b;
}

.button-dark {
  background: #020617;
  color: #ffffff;
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #ffffff;
}

.button-light {
  background: #ffffff;
  color: #020617;
}

.menu-button {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.1rem;
  color: #020617;
}

.hero-section {
  border-bottom: 1px solid var(--line);
  background: var(--hero);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  padding: 3.5rem 0;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.section-label.light-label {
  color: #cbd5e1;
}

h1,
h2,
h3,
.stat-value,
.card-title,
.team-name,
.mandate-role {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #020617;
}

h1 {
  margin: 1.25rem 0 0;
  max-width: 12ch;
  font-size: clamp(42px, 5vw, 48px);
  line-height: 1.05;
}

h2 {
  margin: 0.75rem 0 0;
  max-width: 18ch;
  font-size: clamp(30px, 3.4vw, 34px);
  line-height: 1.08;
}

h3 {
  font-size: 28px;
  line-height: 1.1;
}

.hero-text,
.section-note,
.content-card-body p,
.feature-body p,
.about-copy,
.contact-list div,
.contact-form label span,
.contact-form textarea,
.contact-form input,
.site-footer p {
  color: #334155;
}

.hero-text {
  max-width: 40rem;
  margin-top: 1.25rem;
  font-size: 17px;
  line-height: 1.9;
}

.stats-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat {
  border-left: 1px solid #cbd5e1;
  padding-left: 1rem;
}

.stat-value {
  font-size: 24px;
}

.stat-label {
  margin-top: 0.35rem;
  font-size: 14px;
  color: #475569;
}

.hero-media {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1.1fr 0.9fr;
}

.hero-image-card,
.hero-info-card,
.content-card,
.feature-card,
.sector-item,
.mandate-card,
.insight-card,
.team-card,
.contact-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-image-main {
  grid-row: span 2;
}

.hero-image-main img {
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.hero-info-card {
  padding: 1.5rem;
}

.hero-info-soft {
  background: var(--surface-soft);
}

.card-title {
  margin-top: 0.7rem;
  font-size: 24px;
}

.hero-info-card p {
  margin: 0.8rem 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: #334155;
}

.dark-label {
  color: #475569;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag-row span {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.4rem 0.8rem;
  font-size: 13px;
  color: #1e293b;
}

.section,
.split-section,
.about-section,
.contact-section {
  padding: 3.5rem 0;
}

.section-head,
.sectors-grid,
.contact-grid,
.about-grid,
.site-footer {
  display: grid;
  gap: 1.5rem;
}

.section-head {
  align-items: end;
  grid-template-columns: minmax(0, 1fr) auto;
}

.section-note,
.about-copy {
  max-width: 38rem;
  margin: 1rem 0 0;
  font-size: 15px;
  line-height: 1.9;
}

.card-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

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

.card-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid-2,
.split-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-card img,
.insight-card img {
  height: 208px;
  object-fit: cover;
}

.content-card-body,
.insight-body {
  padding: 1.5rem;
}

.content-card-body p {
  margin: 0.9rem 0 0;
  font-size: 15px;
  line-height: 1.8;
}

.content-link {
  margin-top: 1rem;
  font-size: 14px;
  color: #334155;
}

.feature-card img {
  height: 320px;
  object-fit: cover;
}

.feature-body {
  padding: 1.75rem;
}

.feature-body h3 {
  margin-top: 0.8rem;
}

.feature-body p {
  margin: 1rem 0 0;
  font-size: 15px;
  line-height: 1.9;
}

.sectors-grid {
  grid-template-columns: 0.82fr 1.18fr;
}

.sector-list {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sector-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  font-size: 15px;
  color: #1e293b;
}

.mandates-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--dark);
}

.mandates-wrap {
  color: #ffffff;
}

.section-head-light h2,
.contact-copy h2 {
  color: #ffffff;
}

.mandate-card {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  backdrop-filter: blur(8px);
  padding: 1.5rem;
}

.mandate-role {
  margin-top: 0.8rem;
  font-size: 24px;
  color: #ffffff;
}

.mandate-card p {
  margin: 0.9rem 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: #cbd5e1;
}

.archive-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
  color: #334155;
}

.about-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 250, 252, 0.85);
}

.about-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

.team-card img {
  height: 210px;
  object-fit: cover;
}

.team-body {
  padding: 1.5rem;
}

.team-name {
  font-size: 22px;
}

.contact-section {
  background: var(--dark);
}

.contact-grid {
  grid-template-columns: 0.85fr 1.15fr;
}

.contact-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.contact-list div {
  font-size: 15px;
  line-height: 1.8;
  color: #e2e8f0;
}

.contact-card {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.contact-form {
  padding: 1.75rem 2rem;
}

.field-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
}

.textarea-field {
  margin-top: 1rem;
}

.contact-form label span {
  color: #e2e8f0;
  font-size: 14px;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  background: #ffffff;
  padding: 0.95rem 1rem;
  font: inherit;
  color: #0f172a;
  outline: none;
}

textarea {
  resize: vertical;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
}

.site-footer {
  padding: 2rem 0;
  grid-template-columns: 1fr auto;
}

.site-footer p {
  max-width: 40rem;
  margin: 0.75rem 0 0;
  font-size: 14px;
  line-height: 1.9;
}

.footer-nav {
  display: grid;
  gap: 0.75rem 2rem;
  grid-template-columns: repeat(3, auto);
  align-content: start;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .reveal {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .sectors-grid,
  .about-grid,
  .contact-grid,
  .section-head,
  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .hero-media,
  .card-grid-3,
  .card-grid-4,
  .card-grid-2,
  .split-grid,
  .sector-list,
  .field-grid,
  .footer-nav {
    grid-template-columns: 1fr;
  }

  .hero-image-main {
    grid-row: auto;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav,
  .header-actions {
    flex-wrap: wrap;
  }

  .header-login {
    display: none;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .section,
  .split-section,
  .about-section,
  .contact-section,
  .hero-grid {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .contact-form {
    padding: 1.25rem;
  }
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  background:
    linear-gradient(135deg, rgba(220, 228, 234, 0.55), rgba(255, 255, 255, 0)),
    var(--bg);
}

.login-layout {
  width: min(100%, 58rem);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1rem;
}

.login-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 2rem;
}

.login-panel-copy {
  background:
    linear-gradient(180deg, rgba(220, 228, 234, 0.8), rgba(255, 255, 255, 0.88)),
    var(--surface);
}

.login-panel-form {
  display: flex;
  align-items: center;
}

.login-back {
  display: inline-flex;
  margin-bottom: 1.25rem;
  font-size: 14px;
  color: #334155;
}

.login-title {
  margin-top: 0.7rem;
  font-size: clamp(32px, 4vw, 40px);
}

.login-copy {
  margin: 1rem 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.login-note {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.75;
  color: #475569;
}

.login-form {
  display: grid;
  gap: 1rem;
  width: 100%;
}

.login-form label {
  display: grid;
  gap: 0.45rem;
}

.login-form label span {
  font-size: 14px;
  color: #334155;
}

.login-submit {
  margin-top: 0.5rem;
}

.login-error {
  min-height: 1.25rem;
  margin: 0;
  font-size: 14px;
  color: #b42318;
}

@media (max-width: 760px) {
  .login-layout {
    grid-template-columns: 1fr;
  }
}
