@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap");

:root {
  --navy-950: #071e2d;
  --navy-900: #0b293c;
  --navy-800: #123d55;
  --teal-600: #17786f;
  --teal-100: #dff2ee;
  --saffron-500: #e98b2a;
  --saffron-100: #fff0dc;
  --slate-700: #405360;
  --slate-500: #687985;
  --slate-200: #dce4e8;
  --slate-100: #eef3f5;
  --paper: #f8faf9;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(7, 30, 45, 0.1);
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  margin: 0;
  color: var(--navy-950);
  background: var(--paper);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

main {
  padding-top: 68px;
}

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

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(233, 139, 42, 0.65);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-150%);
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--navy-950);
}

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

.container {
  width: var(--container);
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--teal-600);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1.16;
}

h1 {
  max-width: 850px;
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.65rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

.lead {
  max-width: 740px;
  color: var(--slate-700);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.section {
  padding: 104px 0;
}

.section-compact {
  padding: 72px 0;
}

.section-dark {
  color: var(--white);
  background: var(--navy-950);
}

.section-tint {
  background: var(--slate-100);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}

.section-heading > div:first-child {
  max-width: 720px;
}

.section-heading .lead {
  max-width: 470px;
}

.topbar {
  color: #d5e2e8;
  background: var(--navy-950);
  font-size: 0.84rem;
}

.topbar-inner {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 38px;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgba(7, 30, 45, 0.08);
  background: rgba(248, 250, 249, 0.98);
  transition:
    top 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.site-header.scrolled {
  top: 0;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(248, 250, 249, 0.72);
  box-shadow: 0 12px 38px rgba(7, 30, 45, 0.12);
  -webkit-backdrop-filter: blur(20px) saturate(165%);
  backdrop-filter: blur(20px) saturate(165%);
}

.nav-shell {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}

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

.brand-copy {
  display: grid;
}

.brand-copy strong {
  font-family: "Manrope", Arial, sans-serif;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.brand-copy span {
  color: var(--slate-500);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.main-nav,
.nav-list {
  display: flex;
  align-items: center;
}

.nav-list {
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link,
.dropdown-toggle {
  display: flex;
  min-height: 38px;
  align-items: center;
  gap: 6px;
  padding: 0 11px;
  border: 0;
  border-radius: 9px;
  color: #263d4a;
  background: none;
  font-size: 0.91rem;
  font-weight: 700;
  cursor: pointer;
}

.nav-link:hover,
.dropdown-toggle:hover,
.nav-link[aria-current="page"],
.dropdown-toggle.active {
  color: var(--teal-600);
  background: var(--teal-100);
}

.dropdown {
  position: relative;
}

.dropdown-toggle::after {
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  display: grid;
  visibility: hidden;
  width: 260px;
  padding: 10px;
  transform: translateY(8px);
  border: 1px solid rgba(7, 30, 45, 0.08);
  border-radius: 14px;
  opacity: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: 160ms ease;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown.open .dropdown-menu {
  visibility: visible;
  transform: translateY(0);
  opacity: 1;
}

.dropdown-menu a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--slate-700);
  font-size: 0.9rem;
  font-weight: 600;
}

.dropdown-menu a:hover {
  color: var(--teal-600);
  background: var(--teal-100);
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 800;
  transition: 180ms ease;
}

.nav-cta,
.button-primary {
  color: var(--white);
  background: var(--teal-600);
  box-shadow: 0 10px 24px rgba(23, 120, 111, 0.2);
}

.nav-cta:hover,
.button-primary:hover {
  transform: translateY(-2px);
  background: #11685f;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.36);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

.button-outline {
  border-color: var(--slate-200);
  color: var(--navy-950);
  background: transparent;
}

.button-outline:hover {
  border-color: var(--teal-600);
  color: var(--teal-600);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  content: "";
  background: var(--navy-950);
  transition: 180ms ease;
}

.menu-toggle span {
  position: relative;
}

.menu-toggle span::before {
  position: absolute;
  top: -6px;
}

.menu-toggle span::after {
  position: absolute;
  top: 6px;
}

.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  overflow: hidden;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 30, 45, 0.4) 0%, rgba(7, 30, 45, 0.1) 52%, rgba(7, 30, 45, 0) 72%),
    url("../images/home-banner-clean.jpg") center / cover;
}

.hero::after {
  position: absolute;
  right: -140px;
  bottom: -240px;
  width: 540px;
  height: 540px;
  border: 80px solid rgba(233, 139, 42, 0.08);
  border-radius: 50%;
  content: "";
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 790px;
  padding: 100px 0 150px;
}

.hero .eyebrow {
  color: #86d6cc;
}

.hero p {
  max-width: 670px;
  margin-top: 26px;
  color: #d8e5e9;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

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

.hero-proof {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 30, 45, 0.74);
  backdrop-filter: blur(14px);
}

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

.proof-item {
  min-height: 96px;
  padding: 24px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.proof-item:first-child {
  padding-left: 0;
}

.proof-item:last-child {
  border: 0;
}

.proof-item strong {
  display: block;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 1.05rem;
}

.proof-item span {
  color: #b9cbd2;
  font-size: 0.82rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 92px;
  color: var(--white);
  background: var(--navy-950);
}

.page-hero::before {
  position: absolute;
  top: -210px;
  right: -130px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(23, 120, 111, 0.6), transparent 66%);
}

.page-hero::after {
  position: absolute;
  right: 16%;
  bottom: -120px;
  width: 240px;
  height: 240px;
  border: 42px solid rgba(233, 139, 42, 0.15);
  border-radius: 50%;
  content: "";
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 850px;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
}

.page-hero p {
  max-width: 690px;
  margin-top: 24px;
  color: #c6d7dd;
  font-size: 1.16rem;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  margin-bottom: 26px;
  color: #9fb5bf;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
}

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

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 24px;
}

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

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

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

.card {
  padding: 30px;
  border: 1px solid rgba(7, 30, 45, 0.08);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 12px 40px rgba(7, 30, 45, 0.05);
}

.card p {
  margin-top: 12px;
  color: var(--slate-500);
}

.icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 13px;
  color: var(--teal-600);
  background: var(--teal-100);
}

.icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--teal-600);
  font-weight: 800;
}

.card-link::after {
  content: "→";
  transition: 160ms ease;
}

.card-link:hover::after {
  transform: translateX(4px);
}

.feature-split {
  display: grid;
  align-items: center;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(48px, 8vw, 100px);
}

.feature-image {
  position: relative;
}

.feature-image img {
  width: 100%;
  height: 570px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  object-position: center top;
  box-shadow: var(--shadow);
}

.feature-image::before {
  position: absolute;
  z-index: -1;
  right: -24px;
  bottom: -24px;
  width: 70%;
  height: 70%;
  border-radius: var(--radius-lg);
  content: "";
  background: var(--saffron-100);
}

.feature-copy h2 {
  margin-bottom: 22px;
}

.feature-copy > p {
  margin-bottom: 18px;
  color: var(--slate-700);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--slate-700);
}

.check-list li::before {
  position: absolute;
  top: 3px;
  left: 0;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  color: var(--teal-600);
  content: "✓";
  background: var(--teal-100);
  font-size: 0.72rem;
  font-weight: 900;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius-lg);
  color: var(--white);
  background: var(--navy-900);
  box-shadow: var(--shadow);
}

.metric {
  padding: 38px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.metric:last-child {
  border: 0;
}

.metric strong {
  display: block;
  color: #8fddd4;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 2rem;
}

.metric span {
  color: #bdd0d8;
  font-size: 0.9rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  counter-reset: process;
}

.process-item {
  position: relative;
  padding: 0 28px 0 0;
  counter-increment: process;
}

.process-item:not(:last-child)::after {
  position: absolute;
  top: 22px;
  right: 12px;
  left: 62px;
  height: 1px;
  content: "";
  background: var(--slate-200);
}

.process-item::before {
  position: relative;
  z-index: 1;
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  content: "0" counter(process);
  background: var(--teal-600);
  font-size: 0.8rem;
  font-weight: 800;
}

.process-item p {
  margin-top: 10px;
  color: var(--slate-500);
}

.quote-card {
  position: relative;
  display: flex;
  min-height: 320px;
  flex-direction: column;
  justify-content: space-between;
  padding: 38px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.quote-mark {
  color: var(--saffron-500);
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 0.7;
}

.quote-card blockquote {
  margin: 28px 0;
  color: var(--navy-800);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.55;
}

.quote-author {
  display: grid;
}

.quote-author span {
  color: var(--slate-500);
  font-size: 0.88rem;
}

.logo-cloud {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.logo-tile {
  display: grid;
  min-height: 130px;
  padding: 24px;
  place-items: center;
  border-right: 1px solid var(--slate-200);
  color: var(--slate-500);
  text-align: center;
  font-family: "Manrope", Arial, sans-serif;
  font-weight: 800;
}

.logo-tile:last-child {
  border: 0;
}

.program-card {
  overflow: hidden;
  padding: 0;
}

.program-card .program-top {
  min-height: 190px;
  display: flex;
  align-items: end;
  padding: 28px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-900), var(--teal-600));
}

.program-card:nth-child(2) .program-top {
  background: linear-gradient(135deg, #5f301d, var(--saffron-500));
}

.program-card:nth-child(3) .program-top {
  background: linear-gradient(135deg, #263a68, #507dc2);
}

.program-card:nth-child(4) .program-top {
  background: linear-gradient(135deg, #3b255a, #8d5bb3);
}

.program-card .program-body {
  padding: 28px;
}

.program-number {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.team-card {
  overflow: hidden;
  padding: 0;
}

.team-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center top;
  background: var(--slate-100);
}

.team-card .team-copy {
  padding: 24px;
}

.team-copy span {
  display: block;
  margin-top: 5px;
  color: var(--teal-600);
  font-size: 0.87rem;
  font-weight: 800;
}

.value-card {
  border-top: 4px solid var(--saffron-500);
}

.timeline {
  display: grid;
  max-width: 920px;
  margin: 0 auto;
}

.timeline-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 30px;
  padding: 0 0 46px;
}

.timeline-year {
  color: var(--teal-600);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
}

.timeline-copy {
  position: relative;
  padding-left: 34px;
  border-left: 2px solid var(--slate-200);
}

.timeline-copy::before {
  position: absolute;
  top: 3px;
  left: -8px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  content: "";
  background: var(--saffron-500);
}

.timeline-copy p {
  margin-top: 10px;
  color: var(--slate-500);
}

.career-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.career-card + .career-card {
  margin-top: 16px;
}

.career-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag {
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--teal-600);
  background: var(--teal-100);
  font-size: 0.78rem;
  font-weight: 800;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
}

.contact-panel {
  padding: 40px;
  border-radius: var(--radius-lg);
  color: var(--white);
  background: var(--navy-900);
}

.contact-list {
  display: grid;
  gap: 24px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list span {
  display: block;
  color: #8fadb9;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-list a,
.contact-list strong {
  display: block;
  margin-top: 4px;
  font-size: 1.04rem;
}

.form-card {
  padding: 40px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.field {
  display: grid;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.88rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--slate-200);
  border-radius: 9px;
  color: var(--navy-950);
  background: var(--paper);
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal-600);
  outline: none;
  box-shadow: 0 0 0 3px rgba(23, 120, 111, 0.12);
}

.form-status {
  min-height: 24px;
  margin-top: 14px;
  color: var(--teal-600);
  font-weight: 700;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 64px;
  border-radius: var(--radius-lg);
  color: var(--white);
  background: linear-gradient(120deg, var(--teal-600), var(--navy-800));
}

.cta-band::after {
  position: absolute;
  right: -80px;
  bottom: -130px;
  width: 320px;
  height: 320px;
  border: 52px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  content: "";
}

.cta-band-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-band h2 {
  max-width: 700px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.cta-band p {
  max-width: 620px;
  margin-top: 14px;
  color: #d9efec;
}

.site-footer {
  margin-top: 104px;
  color: #b9cbd2;
  background: var(--navy-950);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.35fr 0.7fr 0.8fr 1fr;
  gap: 50px;
  padding: 76px 0 54px;
}

.footer-brand p {
  max-width: 390px;
  margin-top: 20px;
}

.footer-title {
  margin-bottom: 20px;
  color: var(--white);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.footer-contact {
  display: grid;
  gap: 12px;
}

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

.footer-bottom {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.84rem;
}

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

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

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

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

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

@media (max-width: 1100px) {
  .topbar {
    display: none;
  }

  main {
    padding-top: 66px;
  }

  .site-header,
  .site-header.scrolled {
    top: 0;
  }

  .menu-toggle {
    display: grid;
  }

  .nav-cta {
    display: none;
  }

  .main-nav {
    position: fixed;
    z-index: 90;
    top: 66px;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    visibility: hidden;
    padding: 24px 20px 60px;
    transform: translateX(100%);
    opacity: 0;
    background: var(--paper);
    transition: 220ms ease;
    overflow-y: auto;
  }

  .main-nav.open {
    visibility: visible;
    transform: none;
    opacity: 1;
  }

  .nav-list {
    display: grid;
    align-items: stretch;
    gap: 5px;
  }

  .nav-link,
  .dropdown-toggle {
    width: 100%;
    min-height: 50px;
    justify-content: space-between;
    padding-inline: 14px;
    font-size: 1rem;
  }

  .dropdown-menu {
    position: static;
    display: none;
    visibility: visible;
    width: 100%;
    padding: 2px 12px 8px 24px;
    transform: none;
    border: 0;
    opacity: 1;
    background: transparent;
    box-shadow: none;
  }

  .dropdown.open .dropdown-menu {
    display: grid;
  }

  .dropdown:hover .dropdown-menu:not(:focus-within) {
    display: none;
  }

  .dropdown.open:hover .dropdown-menu {
    display: grid;
  }

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

  .process-item {
    padding-bottom: 36px;
  }

  .process-item::after {
    display: none;
  }

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

  .logo-tile:nth-child(3) {
    border-right: 0;
  }

  .footer-main {
    grid-template-columns: 1.4fr 0.6fr 0.8fr;
  }

  .footer-main > :last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 780px) {
  :root {
    --container: min(100% - 28px, 1180px);
  }
.main-nav.open{
  height: 400px;
}

  .site-header,
  .main-nav {
    max-width: 100vw;
  }

  .feature-image::before {
    right: 0;
    bottom: -16px;
    width: 82%;
  }

  main {
    padding-top: 60px;
  }

  .section {
    padding: 76px 0;
  }

  .section-compact {
    padding: 54px 0;
  }

  .nav-shell {
    min-height: 60px;
  }

  .main-nav {
    top: 60px;
  }

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

  .brand-copy strong {
    font-size: 0.88rem;
  }

  .brand-copy span {
    font-size: 0.64rem;
  }

  .hero {
    min-height: 760px;
    background:
      linear-gradient(180deg, rgba(7, 30, 45, 0.5), rgba(7, 30, 45, 0.25)),
      url("../images/home-banner-clean.jpg") 62% center / cover;
  }

  .hero-content {
    padding: 76px 0 245px;
  }

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

  .proof-item {
    min-height: 80px;
    padding: 17px 16px;
  }

  .proof-item:first-child {
    padding-left: 16px;
  }

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

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

  .page-hero {
    padding: 82px 0 70px;
  }

  .section-heading,
  .cta-band-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .feature-split,
  .metrics,
  .process-grid,
  .contact-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .feature-image {
    order: -1;
  }

  .feature-image img {
    height: 420px;
  }

  .metric {
    padding: 28px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .logo-cloud {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo-tile {
    min-height: 108px;
    border-bottom: 1px solid var(--slate-200);
  }

  .logo-tile:nth-child(even) {
    border-right: 0;
  }

  .career-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-band {
    padding: 44px 30px;
  }

  .footer-main {
    gap: 34px;
    padding-top: 58px;
  }

  .footer-main > :last-child {
    grid-column: auto;
  }

  .footer-bottom {
    min-height: 94px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand-copy span {
    display: none;
  }

  .hero-actions .button {
    width: 100%;
  }

  .card,
  .quote-card,
  .form-card,
  .contact-panel {
    padding: 26px;
  }

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

  .field-full {
    grid-column: auto;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .timeline-copy {
    margin-left: 6px;
  }
}
