:root {
  --navy-950: #071225;
  --navy-900: #0b1b37;
  --navy-800: #12305f;
  --blue-700: #1f4f99;
  --gold-500: #c9a227;
  --gold-100: #f7edc8;
  --red-700: #b51f31;
  --ink: #101828;
  --muted: #667085;
  --line: #dde4ef;
  --wash: #f5f7fb;
  --surface: #ffffff;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(7, 18, 37, 0.14);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 18, 37, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(7, 18, 37, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(201, 162, 39, 0.9);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 12px 14px;
  background: var(--gold-500);
  color: var(--navy-950);
  border-radius: var(--radius);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.topbar {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
}

.topbar__inner,
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar__inner {
  min-height: 38px;
}

.topbar strong {
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(221, 228, 239, 0.92);
  backdrop-filter: blur(16px);
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 30px rgba(7, 18, 37, 0.08);
}

.header__inner {
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  font-weight: 900;
  color: var(--navy-950);
  text-transform: uppercase;
  line-height: 1.08;
}

.brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

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

.main-nav a,
.language {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: var(--radius);
  color: #26344d;
  font-weight: 760;
  font-size: 0.94rem;
}

.main-nav a:hover,
.main-nav a.is-active,
.language:hover {
  background: #edf2f9;
  color: var(--navy-900);
}

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

.language {
  border: 1px solid var(--line);
  background: #fff;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button--gold {
  color: #1a1300;
  background: var(--gold-500);
  box-shadow: 0 14px 26px rgba(201, 162, 39, 0.26);
}

.button--light {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.38);
}

.button--navy {
  color: #fff;
  background: var(--navy-900);
}

.button--outline {
  color: var(--navy-900);
  background: #fff;
  border-color: var(--line);
}

.menu-button {
  display: none;
}

.hero {
  min-height: calc(100dvh - 122px);
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--navy-950);
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 700ms ease, transform 900ms ease;
}

.hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay,
.detail-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 18, 37, 0.96) 0%, rgba(11, 27, 55, 0.8) 44%, rgba(7, 18, 37, 0.22) 100%),
    linear-gradient(0deg, rgba(7, 18, 37, 0.82) 0%, rgba(7, 18, 37, 0.08) 58%);
}

.hero__content {
  position: absolute;
  left: 50%;
  bottom: 90px;
  transform: translateX(-50%);
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--gold-500);
}

.eyebrow--blue {
  color: var(--blue-700);
}

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

h1,
h2 {
  color: var(--navy-950);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1,
.detail-hero h1 {
  max-width: 920px;
  margin-bottom: 18px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.55rem, 6vw, 5.7rem);
}

.hero p:not(.eyebrow),
.detail-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.02rem, 2vw, 1.22rem);
}

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

.hero__controls {
  position: absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero__controls button {
  width: 44px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.hero__controls button.is-active {
  background: var(--gold-500);
}

.metrics {
  position: relative;
  z-index: 5;
  margin-top: -42px;
}

.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.metrics__grid div {
  padding: 26px;
  border-right: 1px solid var(--line);
}

.metrics__grid div:last-child {
  border-right: 0;
}

.metrics strong {
  display: block;
  color: var(--navy-950);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}

.metrics span {
  color: var(--muted);
  font-weight: 760;
}

.section {
  padding: 86px 0;
}

.section--wash {
  background: var(--wash);
}

.section--dark {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.74);
}

.section--dark h2,
.section--dark h3 {
  color: #fff;
}

.section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section__head h2,
.split h2 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: 44px;
}

.split p {
  max-width: 680px;
  color: var(--muted);
}

.split__image {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.mission-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

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

.mission-grid article,
.empty-state,
.office-card {
  min-height: 100%;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(7, 18, 37, 0.05);
}

.mission-grid span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  color: var(--navy-900);
  background: #edf2f9;
  border-radius: 50%;
  font-weight: 900;
}

.mission-grid h3,
.card h3,
.document-row h3,
.office-card h2 {
  color: var(--navy-950);
  line-height: 1.25;
}

.mission-grid p,
.card p,
.document-row p,
.prose p,
.office-card p {
  color: var(--muted);
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover,
.document-row:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 79, 153, 0.38);
  box-shadow: var(--shadow);
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card__body {
  padding: 24px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.badges span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  color: var(--navy-900);
  background: #edf2f9;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.badges span:first-child {
  color: #4b3900;
  background: var(--gold-100);
}

.card strong,
.news-card strong {
  color: var(--navy-800);
}

.document-list {
  display: grid;
  gap: 14px;
}

.document-row {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.document-row img {
  width: 92px;
  height: 122px;
  object-fit: cover;
  border-radius: 6px;
}

.section--dark .document-row p {
  color: rgba(255, 255, 255, 0.7);
}

.news-layout {
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  gap: 22px;
}

.news-layout > div {
  display: grid;
  gap: 22px;
}

.news-card--featured img {
  aspect-ratio: 16 / 8;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.partner-grid a {
  min-height: 116px;
  display: grid;
  place-items: center;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.partner-grid img {
  max-height: 74px;
  object-fit: contain;
  filter: saturate(0.82);
}

.page-hero,
.detail-hero {
  position: relative;
  color: #fff;
  background: var(--navy-950);
}

.page-hero {
  padding: 110px 0 96px;
  background:
    linear-gradient(135deg, rgba(7, 18, 37, 0.98), rgba(18, 48, 95, 0.94)),
    url("https://fs-api.updev.cloud/api/media/file/media/hero-images/hero-1758928314906.jpg") center / cover;
}

.page-hero h1,
.detail-hero h1 {
  color: #fff;
}

.page-hero h1 {
  max-width: 900px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5vw, 5rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.16rem;
}

.listing-tools {
  padding: 22px 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.listing-tools__inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.listing-tools label {
  width: min(520px, 100%);
  display: grid;
  gap: 8px;
  color: var(--navy-900);
  font-weight: 850;
}

.listing-tools input {
  min-height: 48px;
  width: 100%;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--wash);
  color: var(--ink);
}

.listing-tools p {
  margin: 0 0 10px;
  color: var(--muted);
  font-weight: 800;
}

.detail-hero {
  min-height: 620px;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.detail-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero .container {
  position: relative;
  z-index: 2;
  padding-bottom: 74px;
}

.prose {
  max-width: 860px;
}

.prose h2 {
  margin-top: 36px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.prose li {
  margin-bottom: 10px;
}

.lead {
  color: var(--ink) !important;
  font-size: 1.18rem;
  font-weight: 650;
}

.footer {
  padding: 54px 0 26px;
  color: rgba(255, 255, 255, 0.74);
  background: #061020;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, 1fr);
  gap: 34px;
}

.footer__logo {
  max-width: 170px;
  margin-bottom: 18px;
}

.footer h2 {
  color: #fff;
  font-size: 1rem;
}

.footer a {
  display: block;
  min-height: 32px;
  color: rgba(255, 255, 255, 0.72);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.socials a {
  min-height: 34px;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 0.9rem;
}

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

@media (max-width: 1060px) {
  .main-nav,
  .header-actions .button {
    display: none;
  }

  .menu-button {
    min-width: 52px;
    min-height: 48px;
    display: inline-grid;
    gap: 4px;
    place-content: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
  }

  .menu-button span {
    width: 22px;
    height: 2px;
    background: var(--navy-900);
  }

  .menu-button b {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .main-nav.is-open {
    position: fixed;
    top: 84px;
    left: 20px;
    right: 20px;
    display: grid;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .metrics__grid,
  .mission-grid,
  .card-grid,
  .split,
  .news-layout,
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .topbar {
    display: none;
  }

  .header__inner {
    min-height: 74px;
  }

  .brand {
    min-width: 0;
    font-size: 0.8rem;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .hero {
    min-height: 720px;
  }

  .hero__content {
    bottom: 90px;
  }

  .hero h1,
  .detail-hero h1 {
    font-size: clamp(2.35rem, 13vw, 3.8rem);
  }

  .metrics {
    margin-top: 0;
  }

  .metrics__grid,
  .mission-grid,
  .card-grid,
  .split,
  .news-layout,
  .footer__grid,
  .footer__bottom,
  .document-row {
    grid-template-columns: 1fr;
  }

  .metrics__grid div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 62px 0;
  }

  .section__head {
    display: block;
  }

  .split__image {
    min-height: 360px;
  }

  .document-row .button {
    width: 100%;
  }

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