/* "Who we are" page (pages/about). Markup: tools/about_main.html, applied by tools/build_about.py */
.ab-about {
  --ab-ink: #0b0b0b;
  --ab-muted: #6b6b6b;
  --ab-line: #e6e6e6;
  --ab-space: clamp(64px, 9vw, 140px);
  color: var(--ab-ink);
  overflow: hidden;
}

.ab-about img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ab-about figure {
  margin: 0;
}

.ab-eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ab-muted);
}

.ab-h2 {
  margin: 0 0 22px;
  font-family: "Hemi", var(--typeHeaderPrimary), sans-serif;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.ab-h2 em {
  font-style: normal;
  color: #b5121b;
}

.ab-about p {
  font-size: 16px;
  line-height: 1.7;
}

/* hero */
.ab-hero {
  position: relative;
  height: min(88vh, 820px);
  min-height: 480px;
  color: #fff;
  background: #111;
}

.ab-hero__img {
  position: absolute;
  inset: 0;
  object-position: 50% 30%;
}

.ab-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 30%, rgba(0, 0, 0, 0.72) 100%);
}

.ab-hero__text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(40px, 7vw, 96px);
}

.ab-hero .ab-eyebrow {
  color: rgba(255, 255, 255, 0.75);
}

.ab-hero__title {
  margin: 0;
  color: #fff;
  font-family: "Hemi", var(--typeHeaderPrimary), sans-serif;
  font-size: clamp(44px, 8vw, 120px);
  line-height: 0.92;
  text-transform: uppercase;
}

.ab-hero__sub {
  margin: 20px 0 0;
  max-width: 460px;
  color: rgba(255, 255, 255, 0.85);
}

/* intro + timeline */
.ab-intro {
  padding-top: var(--ab-space);
  padding-bottom: var(--ab-space);
}

.ab-lead {
  max-width: 980px;
  margin: 0 0 56px;
  font-size: clamp(24px, 3vw, 40px) !important;
  line-height: 1.25 !important;
  letter-spacing: -0.01em;
}

.ab-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ab-ink);
}

.ab-timeline li {
  margin: 0;
  padding: 22px 24px 0 0;
}

.ab-timeline__year {
  display: block;
  font-family: "Hemi", var(--typeHeaderPrimary), sans-serif;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1;
}

.ab-timeline__label {
  display: block;
  margin-top: 10px;
  color: var(--ab-muted);
  font-size: 14px;
  letter-spacing: 0.04em;
}

/* split image / text */
.ab-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding-bottom: var(--ab-space);
}

.ab-split__media {
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  background: #ececec;
}

.ab-split__text {
  max-width: 520px;
}

.ab-split--reverse .ab-split__media {
  order: 2;
}

/* product gallery */
.ab-gallery {
  padding: var(--ab-space) 0;
  background: #f4f4f2;
}

.ab-gallery__head {
  max-width: 640px;
  margin-bottom: 48px;
}

.ab-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.ab-tile {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  background: #ddd;
}

.ab-tile--tall {
  transform: translateY(32px);
}

.ab-tile img {
  transition: transform 0.6s ease;
}

.ab-tile:hover img {
  transform: scale(1.04);
}

.ab-tile figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* full-bleed photo with quote */
.ab-wide {
  position: relative;
  height: min(80vh, 760px);
  min-height: 420px;
  margin-top: 32px;
  margin-bottom: var(--ab-space);
  background: #111;
}

.ab-wide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 60%);
}

.ab-wide img {
  position: absolute;
  inset: 0;
  object-position: 30% 45%;
}

.ab-wide__quote {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  z-index: 1;
  transform: translateY(-50%);
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  border: 0;
  color: #fff;
  font-family: "Hemi", var(--typeHeaderPrimary), sans-serif;
  font-size: clamp(26px, 3.6vw, 52px);
  font-style: normal;
  line-height: 1.08;
  text-transform: uppercase;
  text-align: left;
}

.ab-wide__quote::before {
  content: none;
}

/* values */
.ab-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding-bottom: var(--ab-space);
}

.ab-value {
  padding: 28px 28px 0 0;
  border-top: 1px solid var(--ab-line);
}

.ab-value + .ab-value {
  padding-left: 28px;
  border-left: 1px solid var(--ab-line);
}

.ab-value__num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--ab-muted);
}

.ab-value h3 {
  margin: 14px 0 10px;
  font-family: "Hemi", var(--typeHeaderPrimary), sans-serif;
  font-size: 24px;
  text-transform: uppercase;
}

.ab-value p {
  margin: 0;
  color: var(--ab-muted);
}

/* closing CTA */
.ab-cta {
  position: relative;
  height: min(70vh, 640px);
  min-height: 420px;
  color: #fff;
  background: #111;
}

.ab-cta img {
  position: absolute;
  inset: 0;
}

.ab-cta__shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.ab-cta__text {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
}

.ab-cta__title {
  margin: 0 0 28px;
  color: #fff;
  font-family: "Hemi", var(--typeHeaderPrimary), sans-serif;
  font-size: clamp(36px, 6vw, 88px);
  line-height: 0.95;
  text-transform: uppercase;
}

.ab-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.ab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ab-btn--light {
  background: #fff;
  color: #000 !important;
}

.ab-btn--light:hover {
  background: #e8e8e8;
}

.ab-btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff !important;
}

.ab-btn--ghost:hover {
  background: #fff;
  color: #000 !important;
}

@media only screen and (max-width: 768px) {
  .ab-hero {
    height: 78vh;
  }

  .ab-hero__img {
    object-position: 50% 20%;
  }

  .ab-lead {
    margin-bottom: 36px;
  }

  .ab-timeline {
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .ab-timeline li {
    display: flex;
    align-items: baseline;
    gap: 18px;
    padding: 16px 0;
    border-top: 1px solid var(--ab-line);
  }

  .ab-timeline li:first-child {
    border-top-color: var(--ab-ink);
  }

  .ab-timeline__year {
    min-width: 92px;
    font-size: 30px;
  }

  .ab-timeline__label {
    margin: 0;
  }

  .ab-split {
    grid-template-columns: 1fr;
  }

  .ab-split--reverse .ab-split__media {
    order: 0;
  }

  .ab-gallery__head {
    margin-bottom: 28px;
  }

  .ab-gallery__grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .ab-tile--tall {
    transform: none;
  }

  .ab-tile figcaption {
    left: 8px;
    bottom: 8px;
    padding: 6px 10px;
    font-size: 10px;
  }

  .ab-wide {
    margin-top: 0;
    height: 64vh;
  }

  .ab-wide img {
    object-position: 38% 50%;
  }

  .ab-wide::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 0.75) 100%);
  }

  .ab-wide__quote {
    top: auto;
    bottom: 36px;
    transform: none;
  }

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

  .ab-value,
  .ab-value + .ab-value {
    padding: 22px 0 26px;
    border-left: 0;
  }
}
