/* About EN/DE: a single column, with two timed reveals below the first photo. */
/* About EN/DE: compact photo block. Phone: building wide, two photos below.
   Computer: three photos in a row (30.11, her request). */
.about-page .about-photos[data-photo-sequence] {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(.75rem, 1.5vw, 1rem);
  --photo-interval: 500ms;
}

.about-photos[data-photo-sequence] > figure { margin: 0; min-height: 0; }

.about-page .about-photos[data-photo-sequence] > figure img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
}

.about-page .about-photos[data-photo-sequence] > figure:first-child { grid-column: 1 / -1; }
.about-page .about-photos[data-photo-sequence] > figure:first-child img { aspect-ratio: 4 / 3; object-position: center 45%; }

.about-photos[data-photo-sequence] > figure:nth-child(3) img {
  object-position: center 22%;
}

@media (min-width: 768px) {
  .about-page .about-photos[data-photo-sequence] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-page .about-photos[data-photo-sequence] > figure:first-child { grid-column: auto; }
  .about-page .about-photos[data-photo-sequence] > figure img,
  .about-page .about-photos[data-photo-sequence] > figure:first-child img { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: no-preference) {
  .about-photos.is-pending > figure + figure { opacity: 0; }

  .about-photos.is-revealing > figure + figure {
    animation: about-photo-reveal 320ms ease-out var(--photo-interval) backwards;
  }

  .about-photos.is-revealing > figure:nth-child(3) {
    animation-delay: calc(2 * var(--photo-interval));
  }
}

@keyframes about-photo-reveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.about-page .about-quality {
  max-width: 72ch;
}

.about-page .about-quality p {
  margin-top: 1rem;
  color: var(--muted);
  text-wrap: pretty;
}

.about-page .about-quality ul {
  display: grid;
  gap: .6rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.about-page .about-quality li {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  color: var(--text);
}

.about-page .about-quality li .icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: .25rem;
  color: var(--accent-text);
}

.about-page .about-quality .actions {
  margin-top: 1.75rem;
}

/* Laptop layout: each section stays compact without fixed heights or clipping. */
@media (min-width: 1024px) {
  .about-page #main > section {
    scroll-margin-top: calc(var(--header-h) + 1rem);
  }

  .about-page .page-head {
    padding-block: 1.5rem 1rem;
  }

  .about-page .page-head .eyebrow {
    margin-bottom: .5rem;
  }

  .about-page .page-head h1 {
    max-width: none;
    font-size: var(--section-heading-size);
    line-height: 1.08;
  }

  .about-page .page-head .lead {
    max-width: 88ch;
    margin-top: .75rem;
    font-size: 1.125rem;
    line-height: 1.5;
  }

  .about-page .section,
  .about-page .section-tight {
    padding-block: clamp(1.5rem, 4vh, 2rem);
  }

  .about-page .page-head + .section-tight {
    padding-block: .5rem 1.75rem;
  }

  .about-page .section h2,
  .about-page .band h2 {
    font-size: var(--section-heading-size);
    line-height: 1.12;
  }

  .about-page .section-head {
    max-width: 54rem;
    margin-bottom: 1.25rem;
  }

  .about-page .section-head p {
    max-width: 72ch;
    margin-top: .75rem;
  }

  .about-page .pillars {
    gap: 1rem;
  }

  .about-page .pillar {
    gap: 1rem;
    padding: 1.25rem;
  }

  .about-page .about-quality {
    max-width: 76ch;
  }

  .about-page .about-quality p {
    margin-top: .75rem;
  }

  .about-page .about-quality ul {
    margin-top: 1rem;
  }

  .about-page .about-quality .actions {
    margin-top: 1.25rem;
  }

  .about-page .band {
    padding-bottom: 1.75rem;
  }

  .about-page .band-inner {
    gap: 1.5rem;
    padding: 2rem;
  }
}
