/** About page overlay, Template 08.

    Thin overlay on main.css + rev2-4.css + rev2-6.css + category.css.
    Bands, breadcrumb, masthead, prose and help strip are reused. This
    file only covers the blocks those pages do not have. */

.about-page main {
  background: var(--page-bg);
}

/* Screen-reader only. Option B has a pair of cards that need a heading
   for the section, but putting one on screen would be a third title
   above two titles. */
.about-page .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------------------------------------------------------------
   Why Us
--------------------------------------------------------------- */

.about-why {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp6) var(--sp5);
  margin: 0;
  padding: 0;
  list-style: none;
}

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

@media (max-width: 560px) {
  .about-why { grid-template-columns: minmax(0, 1fr); }
}

.about-why__item {
  margin: 0;
  padding: var(--sp5);
  background: var(--white);
  border: 1px solid var(--nav-border);
}

.about-why__icon {
  display: block;
  width: 28px;
  height: 28px;
  margin-bottom: var(--sp3);
  color: var(--orange);
}

.about-why__name {
  margin: 0 0 var(--sp2);
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: 1.3;
}

.about-why__text {
  margin: 0;
  max-width: 36ch;
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--text-muted);
}

/* ---------------------------------------------------------------
   Team photograph

   A wide group shot. Forced into a 4:3 well it would crop people off
   both ends, so it keeps its own ratio and sits above the copy.
--------------------------------------------------------------- */

.about-team {
  margin: 0 0 var(--sp6);
}

.about-team img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 565;
  object-fit: cover;
  object-position: center 42%;
  background: var(--nav-border);
}

/* ---------------------------------------------------------------
   Tenure list
--------------------------------------------------------------- */

.about-people {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: var(--sp5) var(--sp8);
  align-items: start;
}

.about-people__title {
  grid-column: 1 / -1;
  margin: 0;
  text-wrap: balance;
}

@media (max-width: 900px) {
  .about-people { grid-template-columns: minmax(0, 1fr); }
}

.about-tenure {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--nav-border);
}

.about-tenure li {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: var(--sp4);
  padding: var(--sp5) 0;
  border-bottom: 1px solid var(--nav-border);
}

.about-tenure__year {
  font-weight: 700;
}

.about-tenure__text {
  color: var(--text-muted);
}

@media (max-width: 560px) {
  .about-tenure li { grid-template-columns: minmax(0, 1fr); gap: var(--sp1); }
}

/* ---------------------------------------------------------------
   Solve / supply pair and sister-brand cards
--------------------------------------------------------------- */

.about-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp5);
  align-items: stretch;
}

@media (max-width: 900px) {
  .about-pair { grid-template-columns: minmax(0, 1fr); }
}

.about-card {
  display: flex;
  flex-direction: column;
  padding: var(--sp6);
  background: var(--page-bg);
}

.about-card--mark {
  position: relative;
  overflow: hidden;
}

.about-card__num {
  position: absolute;
  top: var(--sp4);
  right: var(--sp5);
  font-size: 4.25rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--orange);
  opacity: .1;
  pointer-events: none;
}

.about-card--mark .about-card__kicker,
.about-card--mark .about-card__title {
  padding-right: 4.5rem;
}

.about-page .cat-band--white .about-card {
  background: var(--page-bg);
}

.about-card__kicker {
  margin: 0 0 var(--sp2);
  font-size: var(--fs-xs);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.about-card__title {
  margin: 0 0 var(--sp4);
  font-size: var(--fs-cta-title);
  font-weight: 700;
  line-height: 1.2;
}

.about-card p {
  margin: 0 0 var(--sp4);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text-muted);
}

.about-card p:last-child {
  margin-bottom: 0;
}

.about-card .btn {
  margin-top: var(--sp2);
}

/* ---------------------------------------------------------------
   Fitting location
--------------------------------------------------------------- */

.about-loc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: var(--sp8);
  align-items: start;
}

@media (max-width: 900px) {
  .about-loc { grid-template-columns: minmax(0, 1fr); }
}

.about-loc__media { margin: 0; }

.about-loc__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 692;
  object-fit: cover;
  background: var(--nav-border);
}

.about-beyond .cat-head__title {
  margin: 0 0 var(--sp4);
}

.about-beyond__lede {
  max-width: 68ch;
  margin: 0 0 var(--sp6);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text-muted);
}

.about-brand {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.about-brand figure {
  margin: 0;
}

.about-brand img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--nav-border);
}

.about-brand__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--sp6);
}

.about-brand__name {
  margin: 0 0 var(--sp3);
  font-size: var(--fs-cta-title);
  font-weight: 700;
  line-height: 1;
}

.about-brand__name span {
  color: var(--orange);
}

.about-brand__body p {
  margin: 0 0 var(--sp4);
}

.about-brand .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ---------------------------------------------------------------
   CTAs and the close
--------------------------------------------------------------- */

.about-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp3);
}

.about-ctas--stack {
  flex-direction: column;
  align-items: stretch;
}

.about-ctas--stack .btn {
  text-align: center;
}

.about-close {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--sp6);
  align-items: center;
}

@media (max-width: 900px) {
  .about-close { grid-template-columns: minmax(0, 1fr); }
}

/* White button on a light band needs a border or it disappears.
   On the dark band it already has one from .btn-white. */
.about-page .cat-band:not(.cat-band--dark) .btn-white {
  border: 1px solid var(--nav-border);
  color: var(--text);
  background: var(--white);
}

.about-page .cat-band:not(.cat-band--dark) .btn-white:hover,
.about-page .cat-band:not(.cat-band--dark) .btn-white:focus-visible {
  border-color: var(--text);
}

/* Intro: looping sound-wave video, faded on the left so the type
   stays on white. The shared banner overlay is for dark category
   photos; it would kill this graphic. */
.about-intro.cat-band--banner {
  background: var(--white);
}

.about-intro.cat-band--banner::after {
  display: none;
}

.about-intro .cat-band__banner {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .about-intro__video { display: none; }
}

.about-intro .cat-mast__title {
  margin-bottom: var(--sp5);
}

.about-intro__lede {
  max-width: 58ch;
}
