:root {
  --ink: #071b2e;
  --ink-2: #0c2a40;
  --blue: #129bea;
  --cyan: #52c7ff;
  --text: #132738;
  --muted: #617484;
  --line: #dce5ea;
  --ice: #f2f7fa;
  --white: #fff;
  --max: 1500px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Manrope, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.65;
}

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

img {
  max-width: 100%;
}

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

/* =========================================================
   HEADER
========================================================= */

.site-header {
  height: 88px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-bottom: 1px solid #e5ebef;
  box-shadow: 0 2px 10px rgba(7, 27, 46, 0.05);
  position: relative;
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
}

.header-logo {
  display: block;
  width: 240px;
  height: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 600;
}

.nav a {
  transition: 0.2s ease;
}

.nav a:not(.nav-cta):hover,
.nav a.active {
  color: var(--blue);
}

.nav-cta {
  padding: 12px 22px;
  color: #fff;
  background: #0a304d;
  border-radius: 8px;
}

.nav-cta:hover {
  background: var(--blue);
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px;
  background: var(--ink);
}

/* =========================================================
   COMMON
========================================================= */

.section-kicker,
.cta-kicker {
  margin: 0 0 8px;
  color: #2175b6;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  font-weight: 800;
}

.section-accent {
  display: block;
  width: 38px;
  height: 3px;
  margin: 0 0 22px;
  background: var(--blue);
}

.button {
  min-height: 50px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 800;
  transition: 0.2s ease;
}

.button-primary {
  color: #fff;
  background: var(--blue);
}

.button-primary:hover {
  background: #087fc3;
  transform: translateY(-1px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.text-link span {
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateX(3px);
}

/* =========================================================
   HERO
========================================================= */

.about-hero {
  overflow: hidden;
  background: linear-gradient(100deg, #ffffff 0%, #f7fbfe 46%, #eef7fc 100%);
  border-bottom: 1px solid #dce7ed;
}

.about-hero-grid {
  min-height: 550px;
  display: grid;
  grid-template-columns: 40% 60%;
  align-items: stretch;
}

.about-hero-copy {
  padding: 58px 52px 58px 0;
  align-self: center;
}

.about-hero-copy h1 {
  margin: 0 0 26px;
  color: var(--ink);
  font-size: clamp(54px, 5.1vw, 78px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.hero-description {
  max-width: 510px;
  margin: 0 0 30px;
  color: #334b63;
  font-size: 18px;
  line-height: 1.55;
}

.about-hero-image {
  position: relative;
  min-width: 0;
  overflow: hidden;

  clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%);
}

.about-hero-image::after,
.about-story-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.about-hero-image::after {
  background: linear-gradient(
    180deg,
    rgba(5, 28, 48, 0) 50%,
    rgba(5, 28, 48, 0.14) 100%
  );
}

.about-hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* =========================================================
   IMAGE WORDING
========================================================= */

.image-message {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;

  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 800;
  line-height: 1.52;
}

.image-message span {
  display: block;
}

.image-message i {
  display: block;
  width: 30px;
  height: 2px;
  margin-top: 11px;
  background: var(--blue);
}

.image-message-hero {
  top: 38px;
  right: 42px;
  color: #fff;
  font-size: 13px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.image-message-story {
  right: 36px;
  bottom: 38px;
  color: #fff;
  font-size: 13px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

/* =========================================================
   MISSION / VISION
========================================================= */

.mission-vision {
  background: #fff;
  border-bottom: 1px solid #e3ebf0;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.mission-card,
.vision-card {
  padding: 54px 54px 50px 0;
}

.vision-card {
  padding-left: 58px;
  border-left: 1px solid #cfdde6;
}

.mission-card h2,
.vision-card h2,
.about-story-copy h2,
.values-heading h2,
.about-cta h2 {
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.045em;
}

.mission-card h2,
.vision-card h2 {
  max-width: 600px;
  margin-bottom: 15px;
  font-size: clamp(34px, 3.1vw, 46px);
  line-height: 1.03;
}

.mission-card > p:last-child,
.vision-card > p:last-child {
  max-width: 650px;
  margin: 0;
  color: #536a7b;
  font-size: 16px;
  line-height: 1.55;
}

/* =========================================================
   STORY
========================================================= */

.about-story {
  overflow: hidden;

  background: linear-gradient(
    90deg,
    #bfe4ff 0%,
    #d8efff 14%,
    #eef9ff 28%,
    #ffffff 46%,
    #ffffff 100%
  );

  border-bottom: 1px solid #d8e8f2;
}

.about-story-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(18, 155, 234, 0.08) 0%,
    rgba(18, 155, 234, 0) 35%
  );
  pointer-events: none;
  z-index: 1;
}

.about-story-grid {
  min-height: 390px;
  display: grid;
  grid-template-columns: 44% 56%;
  align-items: stretch;
}

.about-story-copy {
  padding: 52px 58px 52px 0;
  align-self: center;
}

.about-story-copy h2 {
  max-width: 520px;
  margin-bottom: 16px;
  font-size: clamp(34px, 3.2vw, 48px);
  line-height: 1.03;
}

.about-story-copy > p:not(.section-kicker) {
  max-width: 570px;
  margin: 0 0 20px;
  color: #506679;
  font-size: 16px;
  line-height: 1.55;
}

.about-story-image {
  position: relative;
  min-width: 0;
  overflow: hidden;

  clip-path: polygon(11% 0, 100% 0, 100% 100%, 0 100%);
}

.about-story-image::after {
  background: linear-gradient(
    180deg,
    rgba(5, 28, 48, 0) 46%,
    rgba(5, 28, 48, 0.26) 100%
  );
}

.about-story-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* =========================================================
   VALUES
========================================================= */

.values-section {
  padding: 48px 0 54px;
  background: #fff;
}

.values-heading {
  margin-bottom: 30px;
}

.values-heading h2 {
  margin-bottom: 4px;
  font-size: 38px;
  line-height: 1.08;
}

.values-heading > p:last-child {
  margin: 0;
  color: #586f81;
  font-size: 15px;
}

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

.value-card {
  padding: 12px 42px 6px;
  text-align: center;
  border-right: 1px solid #c9dbe6;
}

.value-card:first-child {
  padding-left: 0;
}

.value-card:last-child {
  padding-right: 0;
  border-right: 0;
}

.value-icon {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 54px;
  font-variation-settings:
    "FILL" 0,
    "wght" 350,
    "GRAD" 0,
    "opsz" 48;
}

.value-card h3 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.25;
}

.value-card p {
  margin: 0;
  color: #667c8e;
  font-size: 14px;
  line-height: 1.45;
}

/* =========================================================
   CTA
========================================================= */

.about-cta {
  position: relative;
  overflow: hidden;
  min-height: 215px;
  display: flex;
  align-items: center;
  color: #fff;

  background: url("assets/about-cta-bn.png") center 85% / cover no-repeat;
}

.about-cta-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(4, 27, 45, 0.96) 0%,
    rgba(4, 27, 45, 0.88) 35%,
    rgba(4, 27, 45, 0.45) 68%,
    rgba(4, 27, 45, 0.12) 100%
  );
}

.about-cta-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 48px));
  padding: 34px 0;
}

.cta-kicker {
  color: #52c7ff;
}

.about-cta h2 {
  margin-bottom: 4px;
  color: #fff;
  font-size: 44px;
  line-height: 1.08;
}

.about-cta-inner p:not(.cta-kicker) {
  margin: 0 0 18px;
  color: #d6e3eb;
  font-size: 16px;
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  padding: 38px 0;
  margin: 0;
  background: #061725;
}

.site-footer .footer-inner {
  width: calc(100% - 48px);
  max-width: var(--max);
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
}

.site-footer .footer-logo {
  justify-self: start;
}

.site-footer .footer-logo img {
  display: block;
  width: 165px;
  height: auto;
  filter: brightness(0) invert(1);
}

.site-footer .footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.site-footer .footer-links a {
  color: #b8d1e0;
  font-size: 14px;
}

.site-footer .footer-links a:hover {
  color: #22aaf4;
}

.site-footer .footer-copyright {
  justify-self: end;
  margin: 0;
  color: #b8d1e0;
  font-size: 13px;
  white-space: nowrap;
  text-align: right;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {
  .about-hero-grid,
  .about-story-grid {
    grid-template-columns: 1fr;
  }

  .about-hero-copy,
  .about-story-copy {
    padding: 64px 0 46px;
  }

  .about-hero-image,
  .about-story-image {
    min-height: 420px;
    clip-path: none;
    width: 100%;
    margin-right: 0;
  }

  .mission-vision-grid {
    grid-template-columns: 1fr;
  }

  .mission-card,
  .vision-card {
    padding: 48px 0;
  }

  .vision-card {
    border-left: 0;
    border-top: 1px solid #cfdde6;
  }

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

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

  .value-card:nth-child(-n + 2) {
    padding-bottom: 34px;
  }

  .value-card:nth-child(n + 3) {
    padding-top: 34px;
    border-top: 1px solid #c9dbe6;
  }
}

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

  .site-header {
    height: 76px;
    padding: 0 20px;
  }

  .header-logo {
    width: 200px;
    height: 54px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    padding: 24px;
    background: #fff;
    box-shadow: 0 12px 25px rgba(7, 27, 46, 0.12);
    flex-direction: column;
    align-items: stretch;
  }

  .nav.open {
    display: flex;
  }

  .nav-cta {
    text-align: center;
  }
}

@media (max-width: 650px) {
  .about-hero-copy h1 {
    font-size: 50px;
  }

  .hero-description {
    font-size: 16px;
  }

  .image-message-hero {
    top: 24px;
    right: 20px;
    font-size: 11px;
  }

  .image-message-story {
    right: 20px;
    bottom: 24px;
    font-size: 11px;
  }

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

  .value-card,
  .value-card:first-child,
  .value-card:last-child {
    padding: 28px 0;
    border-right: 0;
    border-top: 1px solid #c9dbe6;
  }

  .value-card:first-child {
    border-top: 0;
  }

  .about-cta h2 {
    font-size: 36px;
  }

  .site-footer .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 22px;
  }

  .site-footer .footer-logo,
  .site-footer .footer-copyright {
    justify-self: center;
    text-align: center;
  }

  .site-footer .footer-links {
    flex-wrap: wrap;
    gap: 14px 24px;
  }
}

/* Make right-side About images extend to the edge of the screen */
.about-hero-image,
.about-story-image {
  width: calc(
    100% + max(24px, calc((100vw - var(--max)) / 2))
  );

  margin-right: calc(
    -1 * max(24px, calc((100vw - var(--max)) / 2))
  );
}