/* Ebenezer About hero.
   A centered heading over a full-bleed five-photo collage whose arched center
   tile opens the full video in the shared popup player. Loaded on top of
   hero.css, which keeps providing the shared heading, button, play, and
   dialog styles; everything here scopes under the --about modifier. */

.acu-ebenezer-hero--about {
  background-color: var(--acu-casual-cream);
  color: var(--acu-midnight-purple);
}

.acu-ebenezer-hero__about-container {
  padding-block: clamp(var(--space-2xl), 6.5vw, 5.625rem) clamp(var(--space-3xl), 8vw, 7rem);
  position: relative;
}

.acu-ebenezer-hero--about .acu-ebenezer-hero__content,
.acu-ebenezer-hero__about-outro {
  margin-inline: auto;
  max-width: var(--container-lg);
  padding-inline: var(--space-xl);
  text-align: center;
  width: 100%;
}

/* The About eyebrow trades the general hero's pill for the page sections'
   coral icon treatment. */
.acu-ebenezer-hero--about .acu-ebenezer-hero__eyebrow {
  align-items: center;
  background-color: transparent;
  border-radius: 0;
  color: inherit;
  display: flex;
  font-family: var(--font-serif);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  gap: var(--space-sm);
  justify-content: center;
  letter-spacing: var(--tracking-widest);
  line-height: var(--leading-snug);
  margin: 0 0 2.5rem;
  padding: 0;
  text-transform: uppercase;
}

.acu-ebenezer-hero__eyebrow-icon {
  display: block;
  flex: 0 0 auto;
  height: 0.75rem;
  width: 1rem;
}

.acu-ebenezer-hero--about .acu-ebenezer-hero__content h1 {
  color: var(--acu-wildcat-purple);
  font-size: clamp(var(--text-4xl), 5vw, var(--text-7xl));
  margin-inline: auto;
  max-width: 24ch;
  text-wrap: balance;
}

/* Photo collage. The strip spans the full viewport and overhangs it so the
   outer photos bleed off the page edges; the wrapper clips the overhang
   instead of widening the page. */
.acu-ebenezer-hero__collage-viewport {
  margin-inline: auto;
  margin-top: clamp(var(--space-xl), 5.5vw, 5rem);
  max-width: 120rem;
  overflow: hidden;
  width: 100%;
}

.acu-ebenezer-hero__collage {
  --acu-ebenezer-hero-collage-gap: clamp(var(--space-xs), 1.05vw, var(--space-md));
  --acu-ebenezer-hero-collage-overhang: 5.35%;
  --acu-ebenezer-hero-collage-tile: calc(
    (100% - 4 * var(--acu-ebenezer-hero-collage-gap)) / 5
  );
  align-items: center;
  display: flex;
  gap: var(--acu-ebenezer-hero-collage-gap);
  justify-content: center;
  margin-inline: calc(-1 * var(--acu-ebenezer-hero-collage-overhang));
  width: calc(100% + 2 * var(--acu-ebenezer-hero-collage-overhang));
}

.acu-ebenezer-hero__collage-photo {
  aspect-ratio: 1;
  flex: 0 0 var(--acu-ebenezer-hero-collage-tile);
  min-width: 0;
  overflow: hidden;
}

.acu-ebenezer-hero__collage-photo-image {
  display: block;
  height: 100%;
  margin: 0;
  max-width: none;
  object-fit: cover;
  width: 100%;
}

/* The center tile keeps the natural proportions of the ACU badge frame, so
   it stands taller than the square photos beside it. */
.acu-ebenezer-hero__collage-arch {
  aspect-ratio: 575.58 / 787.34;
  flex: 0 0 var(--acu-ebenezer-hero-collage-tile);
  min-width: 0;
  position: relative;
}

.acu-ebenezer-hero__collage-arch-frame {
  background-color: #0d0925;
  -webkit-clip-path: url("#acu-ebenezer-hero-about-arch-frame");
  clip-path: url("#acu-ebenezer-hero-about-arch-frame");
  inset: 0;
  overflow: hidden;
  position: absolute;
}

.acu-ebenezer-hero__collage-arch-frame picture {
  display: block;
  height: 100%;
  width: 100%;
}

.acu-ebenezer-hero__collage-arch-image {
  display: block;
  height: 100%;
  margin: 0;
  max-width: none;
  object-fit: cover;
  width: 100%;
}

/* Supporting text and buttons below the collage. */
.acu-ebenezer-hero__about-outro {
  margin-top: clamp(var(--space-2xl), 6vw, 5.5rem);
}

.acu-ebenezer-hero--about .acu-ebenezer-hero__description {
  color: inherit;
  font-size: var(--text-xl);
  margin-inline: auto;
  margin-top: 0;
  max-width: 54rem;
}

.acu-ebenezer-hero--about .acu-ebenezer-hero__actions {
  justify-content: center;
}

@media (max-width: 1023px) {
  .acu-ebenezer-hero--about .acu-ebenezer-hero__content,
  .acu-ebenezer-hero__about-outro {
    padding-inline: var(--space-lg);
  }
}

/* On small screens the outer photos drop away and the arched tile leads a
   three-photo strip. */
@media (max-width: 767px) {
  .acu-ebenezer-hero__collage {
    --acu-ebenezer-hero-collage-gap: var(--space-xs);
    --acu-ebenezer-hero-collage-overhang: 6%;
    --acu-ebenezer-hero-collage-tile: calc(
      (100% - 2 * var(--acu-ebenezer-hero-collage-gap)) / 3.5
    );
  }

  .acu-ebenezer-hero__collage-photo--outer {
    display: none;
  }

  .acu-ebenezer-hero__collage-arch {
    flex-basis: calc(1.5 * var(--acu-ebenezer-hero-collage-tile));
  }
}
