/* Page-specific additions. The tools section and shared site styles stay intact. */
.about-page .about-profile {
  margin-top: 0;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  column-gap: clamp(40px, 6vw, 88px);
  row-gap: 40px;
}

.about-page .about-hero {
  min-height: calc(100svh - var(--header-offset));
  padding: clamp(20px, 4svh, 40px) 0;
  display: flex;
  align-items: center;
}

.about-page .about-profile > img {
  grid-area: 1 / 1;
  max-width: min(390px, calc((100svh - var(--header-offset) - 80px) * 3376 / 3716));
  height: auto;
  /* Crop the white bands included in the original photo. */
  aspect-ratio: 3376 / 3716;
  object-fit: cover;
  object-position: center 50.8%;
  justify-self: center;
  padding: 0;
  background: transparent;
  border-image: linear-gradient(var(--nav-active-gold), var(--nav-active-gold)) 1;
  border-image-outset: 40px 0 0;
}

.about-page .about-copy {
  grid-area: 1 / 2;
}

:root body.about-page main .about-copy .section-kicker,
:root body.about-page main .about-editorial .section-kicker {
  margin: 0 0 24px;
  color: var(--nav-active-gold);
  font-size: var(--text-meta-size);
  letter-spacing: 0.1em;
}

.about-page .about-copy h1 {
  margin: 0;
}

:root body.about-page main .about-subtitle {
  margin: 20px 0 24px;
  color: var(--white);
  font-size: clamp(20px, 2.1vw, 28px);
  line-height: 1.4;
}

.about-page .about-copy > p:not(.section-kicker):not(.about-subtitle),
.about-page .about-editorial p,
.about-page .approach-block p {
  color: var(--muted);
}

.about-page .about-editorial {
  padding: 0 0 112px;
}

.about-page .about-journey {
  padding-top: clamp(48px, 6vw, 96px);
}

.about-page .about-editorial .about-container {
  width: min(calc(100% - 80px), 1294px);
}

.about-page .about-section-heading {
  max-width: 720px;
  margin-bottom: 44px;
}

.about-page .about-editorial h2 {
  margin: 0;
}

.about-page .about-journey-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.8fr);
  gap: clamp(40px, 7vw, 100px);
}

.about-page .about-editorial-copy p {
  margin: 0;
}

.about-page .about-editorial-copy p + p {
  margin-top: 22px;
}

.about-page .about-timeline {
  margin: 0;
  padding: 0 0 0 28px;
  list-style: none;
  border-left: 1px solid var(--line);
}

.about-page .about-timeline li {
  position: relative;
  padding: 0 0 32px;
}

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

.about-page .about-timeline li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: -33px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--nav-active-gold);
}

.about-page .about-timeline h3,
.about-page .about-services-list h3 {
  margin: 0;
}

.about-page .about-timeline p {
  margin: 8px 0 0;
}

.about-page .about-services-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 88px);
  margin-top: 44px;
}

.about-page .about-services-list article {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-page .about-services-list p {
  margin: 18px 0 24px;
  max-width: 520px;
}

.about-page .about-text-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  color: var(--nav-active-gold);
  font-size: var(--text-action-size);
  font-weight: 500;
  line-height: 1.5;
  text-underline-offset: 5px;
}

.about-page .about-text-link:hover,
.about-page .about-text-link:focus-visible {
  text-decoration: underline;
}

.about-page .about-services-list a {
  margin-top: auto;
}

.about-page .about-approach {
  padding: 0 0 112px;
}

.about-page .about-approach h2 {
  margin-bottom: 44px;
}

.about-page .approach-grid {
  gap: 24px;
}

.about-page .approach-block {
  min-height: 0;
  padding: 32px;
}

.about-page .approach-block .card-number {
  display: block;
  margin-bottom: 24px;
}

.about-page .approach-block h3 {
  margin-bottom: 16px;
}

.about-page .about-contact-inner > p {
  max-width: 690px;
  margin-left: auto;
  margin-right: auto;
}

.about-page .about-contact .button {
  margin-top: 32px;
}

@media (max-width: 980px) {
  .about-page .about-editorial .about-container {
    width: min(calc(100% - 48px), 1096px);
  }

  .about-page .about-profile {
    max-width: none;
  }

  .about-page .about-editorial,
  .about-page .about-approach {
    padding-bottom: 88px;
  }

  .about-page .about-journey-layout {
    gap: 40px;
  }
}

@media (max-width: 767px) {
  .about-page .about-profile,
  .about-page .about-journey-layout,
  .about-page .about-services-list {
    grid-template-columns: 1fr;
  }

  .about-page .about-copy,
  .about-page .about-profile > img {
    grid-area: auto;
  }

  .about-page .about-profile > img {
    width: auto;
    max-width: 100%;
    height: clamp(100px, 23svh, 200px);
    margin: 0 auto;
  }

  .about-page .about-profile {
    row-gap: 20px;
  }

  .about-page .about-hero {
    padding: 20px 0;
  }

  .about-page .about-copy {
    --heading-h1-size: clamp(30px, 7vw, 44px);
  }

  :root body.about-page main .about-subtitle {
    margin: 12px 0 16px;
    font-size: 18px;
  }

  :root body.about-page main .about-copy > p:not(.about-subtitle) {
    font-size: 14px;
    line-height: 1.5;
  }

  .about-page .about-copy p + p:not(.about-subtitle) {
    margin-top: 12px;
  }
}

@media (max-width: 640px) {
  .about-page .about-editorial .about-container {
    width: min(calc(100% - 44px), 1096px);
  }

  .about-page .about-editorial,
  .about-page .about-approach {
    padding-bottom: 72px;
  }

  .about-page .about-section-heading,
  .about-page .about-approach h2 {
    margin-bottom: 32px;
  }

  .about-page .approach-block {
    padding: 28px;
  }
}
