/* ==========================================================================
   About page — light shell (no hero banner)
   ========================================================================== */

.about-page {
  padding: 1rem 0 3rem;
}

.page-shell--about {
  padding-top: 1rem;
}

.about-page .layout-page-content {
  margin-bottom: 0;
}

.about--page {
  position: relative;
  margin-bottom: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(225, 6, 0, 0.14);
  box-shadow:
    0 4px 24px rgba(225, 6, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  background: #fafafa;
  color: var(--ink);
}

.about--page__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 4px,
      rgba(225, 6, 0, 0.018) 4px,
      rgba(225, 6, 0, 0.018) 8px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 96px,
      rgba(225, 6, 0, 0.03) 96px,
      rgba(225, 6, 0, 0.03) 97px
    ),
    radial-gradient(
      ellipse 65% 45% at 10% 0%,
      rgba(225, 6, 0, 0.07) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 50% 40% at 95% 100%,
      rgba(225, 6, 0, 0.05) 0%,
      transparent 50%
    ),
    linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
}

.about--page__backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(225, 6, 0, 0.04) 0%,
    transparent 10%,
    transparent 90%,
    rgba(225, 6, 0, 0.04) 100%
  );
}

.about--page__inner {
  position: relative;
  z-index: 1;
}

.about--page__head {
  text-align: center;
  padding: 2.25rem 1.75rem 0;
  overflow: visible;
  position: relative;
  z-index: 1;
}

.about--page__title {
  margin: 0;
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.about--page__divider {
  display: block;
  width: 3.5rem;
  height: 2px;
  margin: 1.1rem auto 0;
  border-radius: 2px;
  background: var(--brand);
  box-shadow: 0 0 8px rgba(225, 6, 0, 0.25);
  transform-origin: center center;
  animation: light-backdrop-divider-breathe 3.8s ease-in-out infinite;
}

@keyframes light-backdrop-divider-breathe {
  0%,
  100% {
    opacity: 0.72;
    transform: scaleX(0.86);
    box-shadow: 0 0 4px rgba(225, 6, 0, 0.22);
  }

  50% {
    opacity: 1;
    transform: scaleX(1);
    box-shadow:
      0 0 10px rgba(225, 6, 0, 0.48),
      0 0 22px rgba(225, 6, 0, 0.22);
  }
}

.about--page__body {
  max-width: 820px;
  margin-inline: auto;
  padding: 1.75rem 1.75rem 2.25rem;
}

.about--page__figure {
  margin: 0 0 1.5rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(225, 6, 0, 0.12);
  box-shadow: var(--shadow-sm);
}

.about--page__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
}

.about--page__content {
  margin: 0;
}

.page-shell--full .about--page__body {
  max-width: 820px;
}

/* Legacy fallback panel (non-about routes using page content block) */
.about-page__panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
}

.about-page__head {
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 2px solid var(--brand);
}

.about-page__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.35;
}

.about-page__hero {
  margin: 0 0 1.5rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line-soft);
}

.about-page__hero img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
}

.about-page__content {
  max-width: 820px;
}

@media (prefers-reduced-motion: reduce) {
  .about--page__divider,
  .light-backdrop-divider {
    animation: none;
    opacity: 0.92;
    transform: none;
    box-shadow: 0 0 8px rgba(225, 6, 0, 0.28);
  }
}

@media (max-width: 767px) {
  .about-page {
    padding-top: 0.75rem;
  }

  .about--page__head {
    padding: 1.75rem 1rem 0;
  }

  .about--page__body {
    padding: 1.5rem 1rem 2rem;
  }

  .about-page__panel {
    padding: 1rem;
  }

  .about-page__title {
    font-size: 1.25rem;
  }
}
