:root {
  --royal: #0a2a8a;
  --royal-mid: #1339ab;
  --royal-deep: #061b57;
  --ivory: #f6f2e8;
  --ivory-deep: #ece3cf;
  --ink: #132650;
  --ink-soft: #2a3f78;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  overflow-x: hidden;
}

.wrap {
  width: min(1300px, calc(100% - 2.8rem));
  margin-inline: auto;
}

.topbar {
  border-bottom: 1px solid rgba(10, 42, 138, 0.18);
  background: var(--ivory);
}

.topbar .wrap {
  min-height: 66px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  color: var(--royal);
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
}

nav {
  display: flex;
  gap: 1rem;
}

nav a {
  text-decoration: none;
  color: var(--royal-deep);
  font-size: 0.84rem;
  font-weight: 600;
  transition: color 160ms ease;
}

nav a:hover {
  color: var(--royal-mid);
}

.section {
  min-height: 76vh;
  display: grid;
  align-items: center;
  padding: 4.1rem 0;
  border-top: 1px solid rgba(10, 42, 138, 0.12);
}

.royal {
  background: linear-gradient(156deg, var(--royal) 0%, var(--royal-deep) 74%);
  color: var(--ivory);
  border-top: none;
}

.kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  font-weight: 700;
}

.kicker.dark {
  color: var(--royal);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.08;
}

.mission-core h1 {
  margin-top: 0.8rem;
  font-size: clamp(2rem, 5.1vw, 4.9rem);
  max-width: 14ch;
}

.mission-hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 36%);
  gap: clamp(1.6rem, 4vw, 4.25rem);
  align-items: center;
}

.mission-hero-copy {
  min-width: 0;
}

.mission-inline-image {
  margin: 0;
  width: 100%;
  opacity: 1;
  overflow: hidden;
  align-self: center;
  box-shadow: 0 22px 54px rgba(2, 13, 44, 0.28);
}

.mission-inline-image img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 48%;
}

.mission-lead {
  margin-top: 1rem;
  max-width: 74ch;
  line-height: 1.75;
  color: rgba(246, 242, 232, 0.92);
  font-size: clamp(1rem, 1.3vw, 1.17rem);
  font-weight: 600;
}

.mission-body {
  margin-top: 0.55rem;
}

.mission-body p {
  margin-top: 1rem;
  max-width: 78ch;
  line-height: 1.78;
  color: rgba(246, 242, 232, 0.95);
}

.mission-meta {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid rgba(246, 242, 232, 0.26);
  padding-top: 1rem;
}

.meta-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.66rem;
  color: rgba(246, 242, 232, 0.78);
  font-weight: 700;
}

.mission-meta div p {
  margin: 0.45rem 0 0;
  color: rgba(246, 242, 232, 0.96);
  line-height: 1.6;
}

.image-strip {
  background: var(--ivory);
  border-top: 1px solid rgba(10, 42, 138, 0.12);
  padding: clamp(0.75rem, 2vw, 1.2rem) 0 clamp(1.05rem, 2.6vw, 1.8rem);
}

.image-strip-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1672 / 941;
  border: 1px solid rgba(10, 42, 138, 0.14);
  background: #f4f0e8;
  box-shadow: 0 10px 26px rgba(10, 32, 92, 0.14);
}

.image-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  transform: translate3d(0, 0, 0) scale(1.012);
  will-change: transform;
}

.ivory {
  background: var(--ivory);
}

.framework-head {
  margin-bottom: 1.6rem;
  max-width: 72ch;
}

.framework-head h2 {
  margin-top: 0.7rem;
  color: var(--royal-deep);
  font-size: clamp(1.7rem, 3.1vw, 3rem);
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.grid3 article {
  border-top: 2px solid var(--royal);
  padding-top: 1rem;
  padding-right: 0.25rem;
}

.grid3 h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.95rem);
  color: var(--royal-deep);
}

.grid3 p {
  margin-top: 0.65rem;
  line-height: 1.72;
  color: #1f3567;
}

.contact {
  background: var(--ivory-deep);
  min-height: 52vh;
}

.contact h2 {
  margin-top: 0.75rem;
  font-size: clamp(1.7rem, 3.8vw, 3rem);
  color: var(--royal-deep);
}

.contact-note {
  margin-top: 0.7rem;
  max-width: 64ch;
  line-height: 1.66;
  color: var(--ink-soft);
}

.contact a {
  display: inline-block;
  margin-top: 1rem;
  text-decoration: none;
  color: var(--royal);
  border-bottom: 1px solid var(--royal);
  font-weight: 700;
  transition: color 150ms ease, border-color 150ms ease;
}

.contact a:hover {
  color: var(--royal-deep);
  border-color: var(--royal-deep);
}

.footer {
  background: var(--royal-deep);
  color: var(--ivory);
  padding: 1rem 0 1.2rem;
}

.footrow {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 460ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 460ms cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .image-strip img {
    transform: none;
    will-change: auto;
  }
}

@media (max-width: 1080px) {
  .mission-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .wrap {
    width: min(1300px, calc(100% - 1.4rem));
  }

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

  .topbar .wrap {
    flex-wrap: wrap;
    padding: 0.6rem 0;
  }

  nav {
    flex-wrap: wrap;
  }

  .footrow {
    flex-direction: column;
  }

  .section {
    padding: 3.2rem 0;
  }

  .mission-inline-image {
    width: 100%;
    max-width: 520px;
    justify-self: start;
    margin-top: 0.25rem;
  }

  .mission-hero-row {
    grid-template-columns: 1fr;
    gap: 1.45rem;
  }

  .image-strip-wrap {
    aspect-ratio: 1.54 / 1;
    border-width: 0;
    box-shadow: none;
  }

  .image-strip img {
    transform: translate3d(0, 0, 0) scale(1.008);
  }
}
