/* About page */

@keyframes about-kb-drift {
  0% {
    transform: scale(1) translate3d(0, 0.4%, 0);
  }
  100% {
    transform: scale(1.06) translate3d(0, -0.6%, 0);
  }
}

@keyframes about-particle-float {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.14;
  }
  50% {
    transform: translateY(-1.75rem);
    opacity: 0.32;
  }
}

.about-hero {
  position: relative;
  height: 100svh;
  min-height: 100svh;
  max-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  overflow-x: clip;
  max-width: 100%;
  isolation: isolate;
}

.about-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.about-hero__media-motion {
  position: absolute;
  inset: -3%;
  width: 106%;
  height: 106%;
  transform-origin: center center;
  backface-visibility: hidden;
  animation: about-kb-drift var(--ken-burns-duration, 28s) cubic-bezier(0.19, 1, 0.22, 1) infinite alternate;
  will-change: transform;
}

.about-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.about-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.about-hero__overlay-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    168deg,
    rgba(50, 153, 90, 0.08) 0%,
    rgba(38, 136, 72, 0.14) 42%,
    rgba(26, 92, 52, 0.2) 100%
  );
}

.about-hero__overlay-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 90% 86% at 50% 44%,
    transparent 8%,
    rgba(38, 136, 72, 0.12) 52%,
    rgba(15, 61, 34, 0.38) 100%
  );
}

.about-hero__overlay-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(15, 61, 34, 0.42) 0%,
      rgba(26, 92, 52, 0.18) 28%,
      transparent 68%
    ),
    linear-gradient(
      to bottom,
      rgba(15, 61, 34, 0.26) 0%,
      transparent 38%
    );
}

.about-hero__overlay-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 50% 38% at 50% 38%,
      rgba(50, 153, 90, 0.1) 0%,
      transparent 76%
    ),
    radial-gradient(
      ellipse 38% 30% at 50% 42%,
      rgba(201, 169, 98, 0.08) 0%,
      transparent 72%
    );
}

.about-hero__film {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.about-hero__film-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(38, 136, 72, 0.38) 0%,
    rgba(30, 109, 58, 0.28) 25%,
    rgba(15, 61, 34, 0.22) 50%,
    rgba(15, 61, 34, 0.34) 75%,
    rgba(201, 169, 98, 0.24) 100%
  );
}

.about-hero__particles {
  position: absolute;
  inset: 0;
}

.about-hero__particle {
  position: absolute;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--color-gold-light);
  box-shadow: 0 0 10px rgba(201, 169, 98, 0.45);
  animation: about-particle-float calc(6s + var(--i, 0) * 1.5s) ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.5s);
}

.about-hero__particle:nth-child(1) { top: 18%; left: 14%; }
.about-hero__particle:nth-child(2) { top: 34%; left: 76%; }
.about-hero__particle:nth-child(3) { top: 62%; left: 22%; }
.about-hero__particle:nth-child(4) { top: 72%; left: 64%; }
.about-hero__particle:nth-child(5) { top: 44%; left: 46%; }

.about-hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--color-white);
  width: min(100% - 2rem, 42rem);
  padding: clamp(4.75rem, 11vh, 6.5rem) 1rem clamp(1.5rem, 4vh, 2.5rem);
}

.about-hero__signature {
  margin: 0 0 0.25rem;
  font-family: var(--font-signature);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--color-gold-light);
}

.about-hero__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
}

.about-hero__lead {
  margin: 0 auto;
  max-width: 36rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.about-story__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.about-story__media img {
  width: 100%;
  border-radius: var(--radius-card);
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.about-story__text {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-muted);
}

.about-moments__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.about-moments__item {
  margin: 0;
  min-width: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.about-moments__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.5s var(--ease-out);
}

.about-moments__item:hover img {
  transform: scale(1.03);
}

/* ── Iconic sticky viewport collage ─────────────────────────── */

.about-iconic {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: 100%;
}

.about-iconic__stage {
  position: relative;
  height: 100svh;
  min-height: 100svh;
  max-height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  max-width: 100%;
}

.about-iconic__sticky {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.about-iconic__sticky-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.04);
}

.about-iconic__sticky-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(155deg, rgba(15, 61, 34, 0.55) 0%, rgba(10, 10, 10, 0.2) 42%, rgba(15, 61, 34, 0.62) 100%),
    radial-gradient(ellipse 70% 55% at 50% 45%, transparent 0%, rgba(10, 10, 10, 0.35) 100%);
}

.about-iconic__collage {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.about-iconic__frame {
  position: absolute;
  margin: 0;
  padding: 0.35rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(201, 169, 98, 0.35);
  box-shadow:
    0 18px 40px rgba(10, 10, 10, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  overflow: hidden;
  max-width: calc(100% - 1rem);
}

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

.about-iconic__frame--a {
  top: 10%;
  left: 5%;
  width: min(34vw, 11.5rem);
  aspect-ratio: 4 / 5;
  transform: rotate(-5deg);
}

.about-iconic__frame--b {
  top: 14%;
  right: 6%;
  width: min(38vw, 13rem);
  aspect-ratio: 3 / 4;
  transform: rotate(4deg);
}

.about-iconic__frame--c {
  bottom: 12%;
  left: 10%;
  width: min(42vw, 14.5rem);
  aspect-ratio: 5 / 4;
  transform: rotate(2deg);
}

.about-iconic__frame--d {
  bottom: 16%;
  right: 8%;
  width: min(36vw, 12rem);
  aspect-ratio: 1;
  transform: rotate(-3deg);
  border-radius: 50%;
  padding: 0.28rem;
}

.about-iconic__frame--d img {
  border-radius: 50%;
}

.about-iconic__content {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, 36rem);
  padding: 1.5rem 1.25rem;
  text-align: center;
  color: var(--color-white);
}

.about-iconic__label {
  color: var(--color-gold-light);
}

.about-iconic__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 500;
  line-height: 1.15;
  text-shadow: 0 3px 24px rgba(10, 10, 10, 0.45);
}

.about-iconic__lead {
  margin: 0;
  font-size: clamp(0.875rem, 1.8vw, 1rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 14px rgba(10, 10, 10, 0.35);
}

/* ── Park galleries (Ruaha / Mikumi) ────────────────────────── */

.about-park-gallery {
  scroll-margin-top: 5.5rem;
}

.about-park-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.about-park-gallery__item {
  margin: 0;
  min-width: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.about-park-gallery__item--hero {
  grid-column: span 2;
  grid-row: span 2;
}

.about-park-gallery__item img {
  width: 100%;
  height: 100%;
  min-height: 10rem;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.45s var(--ease-out);
}

.about-park-gallery__item--hero img {
  min-height: 18rem;
  aspect-ratio: 16 / 10;
}

.about-park-gallery__item:hover img {
  transform: scale(1.04);
}

.about-gallery {
  scroll-margin-top: 5.5rem;
}

.about-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.about-gallery__item {
  margin: 0;
  min-width: 0;
  border-radius: var(--radius-soft);
  overflow: hidden;
}

.about-gallery__item--wide {
  grid-column: span 2;
}

.about-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.45s var(--ease-out);
}

.about-gallery__item:hover img {
  transform: scale(1.04);
}

.about-team__inner {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}

.about-team__text {
  margin: 0 0 1rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.about-team__contact {
  display: grid;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  text-align: left;
}

.about-team__contact div {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.about-team__contact dt {
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
}

.about-team__contact dd {
  margin: 0;
}

.about-team__contact a {
  color: var(--color-brand-dark);
}

.about-social {
  padding: 2rem 0 3rem;
  background: var(--color-surface);
}

.about-social__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.about-social__label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
}

.about-social__links {
  display: flex;
  gap: 0.55rem;
}

.about-social__link {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(38, 136, 72, 0.22);
  color: var(--color-brand-dark);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.about-social__link:hover {
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: var(--color-white);
}

@media (min-width: 901px) {
  .about-hero__media img {
    object-position: center 28%;
  }
}

@media (max-width: 900px) {
  .about-hero__media img {
    object-position: center 34%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-hero__media-motion {
    animation: none;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .about-hero__particle {
    animation: none;
    opacity: 0.2;
  }
}

@media (max-width: 768px) {
  .about-story__grid {
    grid-template-columns: 1fr;
  }

  .about-moments__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-iconic__stage {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: clamp(5rem, 12vh, 6.5rem) 1rem 1.75rem;
  }

  .about-iconic__collage {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    width: min(100%, 19rem);
    flex-shrink: 0;
    z-index: 2;
    order: 1;
  }

  .about-iconic__frame,
  .about-iconic__frame--a,
  .about-iconic__frame--b,
  .about-iconic__frame--c,
  .about-iconic__frame--d {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    transform: none;
    aspect-ratio: 1;
    border-radius: var(--radius-soft);
  }

  .about-iconic__frame--d img {
    border-radius: 0;
  }

  .about-iconic__content {
    position: relative;
    z-index: 2;
    width: min(100%, 24rem);
    padding: 0;
    order: 2;
  }

  .about-park-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-park-gallery__item--hero {
    grid-column: span 2;
    grid-row: span 1;
  }

  .about-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-gallery__item--wide {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .about-moments__grid,
  .about-gallery__grid,
  .about-park-gallery__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-gallery__item--wide,
  .about-park-gallery__item--hero {
    grid-column: span 1;
  }

  .about-iconic__collage {
    width: min(100%, 16.5rem);
    gap: 0.45rem;
  }
}
