:root {
  --navy-950: #04152b;
  --navy-900: #071e3d;
  --navy-800: #0c2f57;
  --blue-700: #0b5fa5;
  --blue-600: #1478c8;
  --blue-100: #e7f2fb;
  --blue-050: #f3f8fc;
  --green-800: #06402f;
  --green-700: #075a42;
  --green-600: #0b7354;
  --green-100: #e8f3ef;
  --ink: #10243d;
  --slate: #5f7186;
  --line: #d9e3ec;
  --surface: #ffffff;
  --surface-alt: #f6f9fc;
  --white: #ffffff;
  --success: #16875c;
  --danger: #b63a3a;
  --shadow-sm: 0 8px 24px rgba(4, 21, 43, 0.08);
  --shadow-md: 0 18px 48px rgba(4, 21, 43, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --container: 1440px;
  --transition: 220ms ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 128px;
}

body {
  min-height: 100vh;
  margin: 0;
  padding-top: 112px;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--surface);
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

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

h1,
h2,
h3,
h4 {
  color: var(--navy-900);
  line-height: 1.16;
  letter-spacing: -0.035em;
}

p {
  color: var(--slate);
}

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

/* .section {
  padding: 84px 0;
} */
 .section {
  padding: 84px 28px;
}

.section--soft {
  background: var(--surface-alt);
}

.section--blue {
  background: var(--blue-050);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  content: "";
  background: currentColor;
}

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

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading--center .eyebrow {
  justify-content: center;
}

.section-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.section-heading p {
  margin-bottom: 0;
  font-size: 16px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

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

.button--primary {
  color: var(--white);
  background: var(--green-700);
  box-shadow: 0 10px 22px rgba(7, 90, 66, 0.22);
}

.button--primary:hover {
  background: var(--green-600);
}

.button--light {
  color: var(--white);
  background: var(--green-700);
  border-color: var(--green-700);
}

.button--light:hover {
  background: var(--green-600);
  border-color: var(--green-600);
}

.button--outline {
  color: var(--green-700);
  background: transparent;
  border-color: var(--green-700);
}

.button--outline:hover {
  color: var(--white);
  background: var(--green-700);
}

/* Compact inner-page hero */

.page-hero {
  position: relative;
  min-height: 270px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background-position: center;
  background-size: cover;
}

.page-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(4, 21, 43, 0.96), rgba(7, 30, 61, 0.74));
}

.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 54px 0;
}

.page-hero__content .eyebrow {
  margin-bottom: 8px;
  color: #9ed2f6;
}

.page-hero h1 {
  margin-bottom: 10px;
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

.page-hero p {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

.breadcrumbs {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  font-weight: 700;
}

.breadcrumbs a:hover {
  color: var(--white);
}

/* Cards and aligned media */

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

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

.card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  border-color: #b7cde0;
  box-shadow: var(--shadow-md);
}

.card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #dbe5ee;
}

.card__media--portrait {
  aspect-ratio: 4 / 5;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 550ms ease, filter 550ms ease;
}

.card:hover .card__media img {
  filter: saturate(1.08) contrast(1.02);
  transform: scale(1.08) rotate(0.35deg);
}

.card__body {
  padding: 24px;
}

.card__body h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.card__body p {
  margin-bottom: 0;
  font-size: 14px;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--green-700);
  font-size: 13px;
  font-weight: 800;
}

.icon-box {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 9px;
  color: var(--white);
  background: var(--green-700);
  font-size: 18px;
  font-weight: 800;
}

/* Home sections */

.intro-grid,
.split-grid,
.contact-grid,
.career-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 64px;
}

.intro-media,
.split-media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.intro-media img,
.split-media img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center;
  transition: transform 650ms ease, filter 650ms ease;
}

.intro-media:hover img,
.split-media:hover img {
  filter: saturate(1.06) contrast(1.02);
  transform: scale(1.045);
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "✓";
  color: var(--green-700);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--navy-900);
}

.stat {
  padding: 34px 24px;
  color: var(--white);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  margin-bottom: 6px;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.stat span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta {
  padding: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-radius: var(--radius-lg);
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  box-shadow: var(--shadow-md);
}

.cta h2 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.cta p {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

/* Process */

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

.process-step {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.process-step__number {
  display: block;
  margin-bottom: 24px;
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.process-step h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.process-step ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--slate);
  font-size: 14px;
}

/* Reveals */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@media (max-width: 1020px) {
  .card-grid,
  .card-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .section {
    padding: 64px 0;
  }

  .page-hero {
    min-height: 230px;
  }

  .intro-grid,
  .split-grid,
  .contact-grid,
  .career-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .intro-media img,
  .split-media img {
    height: 340px;
  }

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

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

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .cta {
    padding: 38px;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  html {
    scroll-padding-top: 86px;
  }

  body {
    padding-top: 106px;
  }

  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .card-grid,
  .card-grid--four,
  .check-list {
    grid-template-columns: 1fr;
  }

  .card__body {
    padding: 22px;
  }

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

  .stat,
  .stat:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .cta {
    padding: 30px 24px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
