/* About page: editorial layouts within the shared Russia Ready visual system. */
.about-container {
  max-width: 1160px;
}

.about-page {
  color: var(--ink);
}

.about-page h1,
.about-page h2,
.about-page h3 {
  color: var(--navy);
}

.about-hero {
  position: relative;
  isolation: isolate;
  background: #e7f3ff;
  border-bottom: 1px solid #dceaf4;
}

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

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgb(247 251 255 / .9), rgb(247 251 255 / .65) 35%, transparent 68%);
}

.about-hero-inner {
  position: relative;
  z-index: 2;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 44px;
}

.about-hero .eyebrow {
  margin-bottom: 20px;
}

.about-hero h1 {
  font-size: clamp(34px, 3.65vw, 54px);
  line-height: 1.12;
  letter-spacing: -.04em;
  margin: 0;
}

.about-hero h1 span {
  display: block;
}

.about-hero h1 span + span {
  color: var(--blue);
  margin-top: 7px;
}

.about-image-credit {
  padding-top: 10px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
  text-align: right;
}

.about-image-credit a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.about-intro {
  padding-block: 32px 44px;
  border-bottom: 1px solid #dceaf4;
}

.about-intro .about-prose {
  max-width: 86ch;
}

.about-editorial {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.35fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: start;
}

.about-prose {
  font-size: 17px;
  line-height: 1.65;
}

.about-prose > p + p {
  margin-top: 15px;
}

.about-prose strong {
  color: var(--navy);
  font-weight: 800;
}

.about-section {
  padding-block: 58px;
}

.about-editorial > h2 {
  max-width: 14ch;
  font-size: clamp(29px, 2.65vw, 38px);
  line-height: 1.15;
}

.about-technology {
  background: var(--sky);
  border-block: 1px solid #dceaf4;
}

.about-manifesto {
  border-left: 3px solid var(--red);
  padding-left: 20px;
  font-size: 22px;
  line-height: 1.35;
}

.team-title {
  max-width: 22ch;
  margin-bottom: 46px;
  font-size: clamp(30px, 3vw, 43px);
}

.team-profile {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
  padding-block: 0 48px;
}

.team-profile + .team-profile {
  border-top: 1px solid #dce5ef;
  padding-top: 48px;
}

.team-profile:last-child {
  padding-bottom: 0;
}

.team-profile-reverse {
  grid-template-columns: minmax(0, 1fr) 340px;
}

.team-profile-reverse .team-portrait {
  grid-column: 2;
  grid-row: 1;
}

.team-profile-reverse .team-biography {
  grid-column: 1;
  grid-row: 1;
}

.team-portrait {
  width: 340px;
  height: auto;
  aspect-ratio: 1;
  border: 1px solid #d3dfeb;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.team-heading {
  margin-bottom: 20px;
}

.team-heading h3 {
  font-size: 34px;
  margin-bottom: 10px;
}

.team-role {
  color: var(--red-dark);
  font-size: 17px;
  font-weight: 800;
}

.team-specialty {
  color: var(--muted);
  font-size: 15px;
}

.award-note {
  padding: 16px 20px;
  background: var(--sky);
  border-left: 3px solid var(--blue);
  border-radius: 0 8px 8px 0;
}

.about-vision {
  background: #f5faff;
  border-block: 1px solid #dceaf4;
}

.about-vision h2 {
  margin-bottom: 18px;
}

.vision-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  margin-block: 30px;
  font-size: 17px;
  line-height: 1.5;
}

.vision-pillars p {
  padding-top: 14px;
  border-top: 3px solid var(--blue);
}

.vision-pillars p:first-child {
  border-color: var(--red);
}

.vision-pillars p:last-child {
  border-color: var(--green);
}

.vision-pillars strong {
  display: block;
  font-size: 23px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 6px;
}

.about-reading-width {
  max-width: 78ch;
}

.about-closing {
  background: var(--sky);
  border-top: 1px solid #dceaf4;
  padding-block: 42px 46px;
  text-align: center;
}

.about-closing p {
  margin-block: 17px 23px;
  line-height: 1.6;
}

@media (max-width: 950px) {
  .about-hero-inner {
    min-height: 420px;
    justify-content: flex-start;
    padding-top: 35px;
  }
  .about-hero-image {
    top: auto;
    height: 285px;
    object-position: right center;
  }
  .about-hero::before {
    background: linear-gradient(180deg, #e7f3ff 34%, transparent 61%);
  }
  .about-editorial {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .about-editorial > h2 {
    max-width: 24ch;
  }
  .team-profile {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 30px;
  }
  .team-profile-reverse {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
  .team-heading h3 {
    font-size: 29px;
  }
  .team-biography {
    font-size: 16px;
  }
}

@media (max-width: 680px) {
  .about-hero-inner {
    min-height: 465px;
    padding-block: 30px;
  }
  .about-hero h1 {
    font-size: clamp(29px, 7.5vw, 40px);
    max-width: 18ch;
    line-height: 1.12;
  }
  .about-hero .eyebrow {
    margin-bottom: 15px;
  }
  .about-hero-image {
    height: 240px;
    object-position: 92% center;
  }
  .about-hero::before {
    background: linear-gradient(180deg, #e7f3ff 50%, transparent 72%);
  }
  .about-image-credit {
    text-align: left;
  }
  .about-intro {
    padding-block: 26px 36px;
  }
  .about-section {
    padding-block: 36px;
  }
  .about-prose {
    font-size: 16px;
  }
  .team-title {
    margin-bottom: 28px;
  }
  .team-profile,
  .team-profile-reverse {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
  }
  .team-profile-reverse .team-portrait,
  .team-profile-reverse .team-biography {
    grid-column: auto;
    grid-row: auto;
  }
  .team-portrait {
    width: min(100%, 340px);
    justify-self: center;
  }
  .team-profile {
    padding-bottom: 36px;
  }
  .team-profile + .team-profile {
    padding-top: 36px;
  }
  .vision-pillars {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .about-manifesto {
    font-size: 20px;
  }
  .about-closing {
    padding-block: 34px;
  }
}
