:root {
  --ink-900: #102b43;
  --ink-700: #284661;
  --teal-500: #0f4f83;
  --teal-300: #6d91ad;
  --sand-200: #dce7f0;
  --cream-100: #f6f9fc;
  --sunset-400: #0f4f83;
  --sunset-600: #123e63;
  --white: #ffffff;
  --shadow: 0 14px 40px rgba(16, 33, 43, 0.16);
  --radius: 18px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink-900);
  background:
    radial-gradient(circle at 78% -12%, rgba(109, 145, 173, 0.18) 0%, rgba(109, 145, 173, 0) 38%),
    radial-gradient(circle at -10% 26%, rgba(15, 79, 131, 0.17) 0%, rgba(15, 79, 131, 0) 42%),
    linear-gradient(180deg, var(--cream-100), #f8fbfd 35%, #f3f8fc 100%);
  line-height: 1.55;
}

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

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

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: none;
  background: transparent;
  border-bottom: none;
  transition: background 0.28s ease, border-color 0.28s ease;
}

.site-header.scrolled {
  backdrop-filter: none;
  background: transparent;
  border-bottom: none;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.brand-logo {
  width: clamp(135px, 15vw, 178px);
  height: clamp(36px, 4.2vw, 50px);
  object-fit: contain;
  object-position: center;
}

.brand-logo.is-hidden {
  display: none;
}

.brand-fallback {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #0d2f4e;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-700);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links a {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(16, 33, 43, 0.12);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a.active,
.nav-links a:hover {
  background: #dbe8f4;
  border-color: #c3d6e8;
  color: #0b3457;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.btn-primary {
  background: linear-gradient(120deg, var(--sunset-400), var(--sunset-600));
  color: var(--white);
  box-shadow: 0 10px 18px rgba(18, 62, 99, 0.28);
}

.btn-secondary {
  background: rgba(16, 33, 43, 0.08);
  color: var(--ink-700);
}

.hero {
  padding: 4.2rem 0 2.2rem;
  position: relative;
  overflow: clip;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-slide,
.hero-media-tint {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  object-fit: cover;
  opacity: 0;
  animation: hero-slides 28s linear infinite;
}

.slide-1 {
  animation-delay: 0s;
}

.slide-2 {
  animation-delay: 7s;
}

.slide-3 {
  animation-delay: 14s;
}

.slide-4 {
  animation-delay: 21s;
}

.hero-media-tint {
  background:
    linear-gradient(105deg, rgba(246, 249, 252, 0.87) 6%, rgba(246, 249, 252, 0.78) 40%, rgba(246, 249, 252, 0.44) 62%, rgba(246, 249, 252, 0.76) 100%),
    linear-gradient(180deg, rgba(16, 43, 67, 0.1), rgba(16, 43, 67, 0.15));
}

@keyframes hero-slides {
  0% {
    opacity: 0;
  }

  4% {
    opacity: 1;
  }

  22% {
    opacity: 1;
  }

  30% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 15% -12% auto auto;
  width: min(36vw, 430px);
  height: min(36vw, 430px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 79, 131, 0.15) 0%, rgba(15, 79, 131, 0) 70%);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.24rem 0.66rem;
  margin: 0 0 0.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0d3f67;
  background: rgba(15, 79, 131, 0.12);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.15rem;
  border-top: 4px solid rgba(15, 79, 131, 0.34);
  box-shadow: var(--shadow);
}

.hero h1 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  margin: 0 0 1rem;
  line-height: 1.1;
}

.hero p {
  margin: 0 0 1.4rem;
  color: var(--ink-700);
}

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

.kpi {
  background: linear-gradient(180deg, #fff, #f1f6fb);
  border: 1px solid rgba(16, 33, 43, 0.08);
  border-radius: 12px;
  padding: 0.8rem;
}

.kpi strong {
  display: block;
  font-size: 1.3rem;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.section {
  padding: 2.5rem 0;
}

.section h2 {
  font-size: clamp(1.5rem, 2.3vw, 2.2rem);
  margin: 0 0 1rem;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

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

.card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(16, 33, 43, 0.08);
  border-radius: var(--radius);
  padding: 1rem;
}

.card h3 {
  margin-top: 0.4rem;
}

.panel {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(16, 33, 43, 0.08);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

label {
  display: grid;
  gap: 0.3rem;
  font-weight: 600;
  font-size: 0.95rem;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 11px;
  border: 1px solid rgba(16, 33, 43, 0.2);
  padding: 0.65rem 0.7rem;
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.jobs-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.job-item {
  border-radius: 14px;
  border: 1px solid rgba(16, 33, 43, 0.12);
  background: linear-gradient(180deg, #fff, #fff9f0);
  padding: 0.9rem;
}

.job-item h3 {
  margin: 0 0 0.2rem;
}

.site-footer {
  margin-top: 2rem;
  padding: 1.6rem 0 2.4rem;
  border-top: 1px solid rgba(16, 33, 43, 0.12);
  color: var(--ink-700);
}

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

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

@media (max-width: 900px) {
  .hero-grid,
  .cards,
  .form-row {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 70px;
    background: var(--white);
    border-radius: 14px;
    border: 1px solid rgba(16, 33, 43, 0.08);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

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

  .hero-slide {
    animation: none;
    opacity: 0;
  }

  .slide-1 {
    opacity: 1;
  }
}

@media (max-width: 620px) {
  .kpi-grid {
    grid-template-columns: 1fr;
  }
}
