.about-page {
  --about-blue: #075fba;
  --about-blue-deep: #062b63;
  --about-orange: #f28a2e;
  --about-ink: #061832;
  --about-muted: #4f5f74;
  --about-border: #dbe7f5;
  --about-soft: #f4f8fd;
  background: #ffffff;
}

.about-page main {
  padding-top: 72px;
  color: var(--about-ink);
}

.about-hero {
  position: relative;
  min-height: min(700px, calc(100vh - 72px));
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(4, 39, 88, 0.24) 42%, rgba(2, 19, 44, 0.78) 100%),
    linear-gradient(90deg, rgba(4, 39, 88, 0.82), rgba(4, 39, 88, 0.34) 58%, rgba(255, 255, 255, 0.02));
}

.about-hero-copy {
  width: min(1180px, calc(100% - 88px));
  margin: 0 auto;
  padding: 0 0 72px;
  color: #ffffff;
}

.about-hero-copy h1 {
  margin: 0;
  font-size: clamp(58px, 8.6vw, 116px);
  line-height: 1;
  font-weight: 740;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-lead {
  margin: 20px 0 0;
  max-width: 860px;
  font-size: clamp(28px, 3.45vw, 46px);
  line-height: 1.18;
  font-weight: 680;
  letter-spacing: 0;
  text-wrap: balance;
}

.about-hero-copy p:last-child {
  max-width: 820px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.86;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--about-blue);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.about-hero .eyebrow {
  color: #cfe8ff;
}

.about-stat-panel {
  width: min(1180px, calc(100% - 88px));
  margin: -38px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(219, 231, 245, 0.96);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 60px rgba(7, 36, 82, 0.14);
  backdrop-filter: blur(16px);
}

.about-stat-panel div {
  min-height: 124px;
  padding: 28px 26px;
  border-right: 1px solid var(--about-border);
}

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

.about-stat-panel strong {
  display: block;
  color: var(--about-ink);
  font-size: 32px;
  line-height: 1;
  font-weight: 740;
}

.about-stat-panel span {
  display: block;
  margin-top: 16px;
  color: var(--about-muted);
  font-size: 15px;
}

.about-section {
  width: min(1180px, calc(100% - 88px));
  margin: 0 auto;
  padding: 90px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-heading h2,
.intro-copy h2,
.feature-copy h2 {
  margin: 0;
  color: var(--about-ink);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.16;
  font-weight: 720;
  letter-spacing: 0;
  text-wrap: balance;
}

.group-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
  padding-top: 78px;
}

.intro-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(420px, 0.76fr);
  column-gap: 80px;
  row-gap: 18px;
  align-items: start;
}

.intro-copy .eyebrow,
.intro-copy h2 {
  grid-column: 1;
}

.intro-copy p:not(.eyebrow) {
  grid-column: 2;
}

.intro-copy h2 {
  max-width: 760px;
  font-size: clamp(32px, 3.15vw, 46px);
  line-height: 1.2;
}

.intro-copy p:not(.eyebrow),
.section-heading p:not(.eyebrow),
.feature-copy p {
  color: var(--about-muted);
  font-size: 17px;
  line-height: 1.9;
}

.intro-copy p:not(.eyebrow) {
  margin: 0;
}

.intro-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: 18px;
}

.intro-gallery img {
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--about-border);
  box-shadow: 0 18px 50px rgba(7, 36, 82, 0.1);
}

.intro-gallery .gallery-large {
  grid-row: span 2;
  height: 100%;
  aspect-ratio: auto;
  object-position: center;
}

.matrix-section {
  width: 100%;
  max-width: none;
  padding-left: max(44px, calc((100% - 1180px) / 2));
  padding-right: max(44px, calc((100% - 1180px) / 2));
  background:
    linear-gradient(180deg, #f4f8fd 0%, #ffffff 100%);
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.matrix-item {
  overflow: hidden;
  display: flex;
  min-height: 560px;
  flex-direction: column;
  border: 1px solid var(--about-border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 54px rgba(7, 36, 82, 0.07);
  color: inherit;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.matrix-item:hover {
  transform: translateY(-4px);
  border-color: rgba(7, 95, 186, 0.34);
  box-shadow: 0 24px 70px rgba(7, 36, 82, 0.12);
}

.matrix-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.matrix-item:nth-child(3) img {
  object-position: center right;
}

.matrix-item div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px 26px 30px;
}

.matrix-item span {
  display: block;
  color: var(--about-orange);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0;
}

.matrix-item h3 {
  margin: 14px 0 12px;
  color: var(--about-ink);
  font-size: 24px;
  line-height: 1.25;
  font-weight: 720;
}

.matrix-item p {
  margin: 0;
  color: var(--about-muted);
  font-size: 16px;
  line-height: 1.78;
}

.matrix-link {
  position: relative;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 28px;
  color: var(--about-blue);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 760;
  text-decoration: none;
}

.matrix-link::after {
  content: "";
  width: 18px;
  height: 18px;
  border: 1.8px solid currentColor;
  border-left: 0;
  border-bottom: 0;
  transform: rotate(45deg) translateY(1px);
  transition: transform 180ms ease;
}

.matrix-item:hover .matrix-link {
  color: var(--about-orange);
}

.matrix-item:hover .matrix-link::after {
  transform: rotate(45deg) translate(3px, -2px);
}

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

.service-grid article {
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--about-border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 48px rgba(7, 36, 82, 0.06);
}

.service-grid span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--about-blue);
  background: #e8f3ff;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 800;
}

.service-grid h3 {
  margin: 34px 0 12px;
  color: var(--about-ink);
  font-size: 24px;
  line-height: 1.28;
  font-weight: 720;
}

.service-grid p {
  margin: 0;
  color: var(--about-muted);
  font-size: 16px;
  line-height: 1.78;
}

.feature-band {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 56px;
  align-items: center;
  padding-left: max(44px, calc((100% - 1180px) / 2));
  padding-right: max(44px, calc((100% - 1180px) / 2));
  background:
    radial-gradient(circle at 86% 20%, rgba(242, 138, 46, 0.16), rgba(242, 138, 46, 0) 26%),
    linear-gradient(135deg, #eef6ff 0%, #ffffff 58%, #f7fbff 100%);
}

.feature-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--about-border);
  box-shadow: 0 24px 70px rgba(7, 36, 82, 0.14);
}

.feature-copy {
  max-width: 560px;
}

.feature-list {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.feature-list article {
  padding-left: 20px;
  border-left: 3px solid var(--about-orange);
}

.feature-list h3 {
  margin: 0;
  color: var(--about-ink);
  font-size: 21px;
  line-height: 1.3;
  font-weight: 720;
}

.feature-list p {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.76;
}

.timeline-section {
  padding-bottom: 112px;
}

.about-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--about-border);
  border-bottom: 1px solid var(--about-border);
}

.about-timeline li {
  min-height: 236px;
  padding: 32px 26px;
  border-right: 1px solid var(--about-border);
}

.about-timeline li:last-child {
  border-right: 0;
}

.about-timeline time {
  display: block;
  color: var(--about-blue);
  font-size: 25px;
  line-height: 1;
  font-weight: 800;
}

.about-timeline p {
  margin: 24px 0 0;
  color: var(--about-muted);
  font-size: 16px;
  line-height: 1.82;
}

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

  .group-intro,
  .feature-band {
    grid-template-columns: 1fr;
  }

  .intro-copy {
    display: block;
    max-width: 900px;
  }

  .intro-copy p:not(.eyebrow) {
    margin-top: 22px;
  }

  .feature-copy {
    max-width: 760px;
  }
}

@media (max-width: 960px) {
  .about-stat-panel,
  .service-grid,
  .about-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-stat-panel div:nth-child(2),
  .about-timeline li:nth-child(2) {
    border-right: 0;
  }

  .about-stat-panel div:nth-child(-n + 2),
  .about-timeline li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--about-border);
  }
}

@media (max-width: 760px) {
  .about-page main {
    padding-top: 64px;
  }

  .about-hero {
    min-height: 620px;
  }

  .about-hero-shade {
    background:
      linear-gradient(180deg, rgba(4, 39, 88, 0.3) 0%, rgba(4, 39, 88, 0.42) 38%, rgba(2, 19, 44, 0.82) 100%);
  }

  .about-hero-copy,
  .about-section,
  .about-stat-panel {
    width: min(100% - 36px, 1180px);
  }

  .about-hero-copy {
    padding-bottom: 48px;
  }

  .about-hero-copy h1 {
    font-size: 54px;
  }

  .hero-lead {
    font-size: 30px;
  }

  .about-hero-copy p:last-child,
  .intro-copy p:not(.eyebrow),
  .section-heading p:not(.eyebrow) {
    font-size: 17px;
  }

  .about-stat-panel {
    margin-top: -24px;
    grid-template-columns: 1fr;
  }

  .about-stat-panel div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--about-border);
  }

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

  .about-section {
    padding: 70px 0;
  }

  .section-heading h2,
  .intro-copy h2,
  .feature-copy h2 {
    font-size: 32px;
  }

  .intro-gallery,
  .matrix-grid,
  .service-grid,
  .about-timeline {
    grid-template-columns: 1fr;
  }

  .intro-gallery .gallery-large {
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .matrix-section,
  .feature-band {
    padding-left: 18px;
    padding-right: 18px;
  }

  .matrix-item {
    min-height: auto;
  }

  .matrix-item img {
    height: 230px;
  }

  .service-grid article {
    min-height: auto;
  }

  .about-timeline li,
  .about-timeline li:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--about-border);
  }

  .about-timeline li:last-child {
    border-bottom: 0;
  }
}
