/* =========================================================
   ABOUT US — 5 sections
   ========================================================= */

.about-section {
  padding: var(--section-y) 0;
  position: relative;
}

.about-section .section-header {
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.about-section .section-eyebrow,
.s5-head .section-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ppl-lime);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.about-section .section-title,
.s5-head .section-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 2px;
  margin: 0;
  color: var(--ppl-white);
}

.about-section .section-sub,
.s5-head .section-sub {
  max-width: 620px;
  margin: 1rem auto 0;
  color: var(--ppl-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.about-lead {
  font-size: clamp(1.12rem, 2vw, 1.32rem);
  line-height: 1.75;
  color: var(--ppl-text);
  margin: 0;
}

.about-img-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #101510;
}

.about-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease-out);
}

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

.about-img-frame figcaption {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f7fbf6;
  background: rgba(9, 14, 32, 0.7);
  padding: 0.32rem 0.6rem;
  border-radius: 6px;
}

/* ---------- 01 Mission ---------- */
.about-s1 {
  position: relative;
  overflow: hidden;
  padding: clamp(7rem, 13vw, 10rem) 0 clamp(4rem, 8vw, 6rem);
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
}

.about-s1-bg {
  position: absolute;
  inset: 0;
}

.about-s1-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.about-s1-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 12, 10, 0.55) 0%, rgba(6, 12, 10, 0.35) 35%, rgba(6, 12, 10, 0.92) 100%),
    linear-gradient(90deg, rgba(6, 12, 10, 0.55), transparent 55%);
}

.about-s1 .container { z-index: 2; }

.about-s1-statement {
  max-width: 820px;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.55;
  color: var(--ppl-white);
  margin: 1.5rem 0 2.5rem;
  font-weight: 400;
}

.about-s1-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: stretch;
}

.about-s1-frame {
  aspect-ratio: 16 / 10;
  min-height: 240px;
}

.about-s1-aside {
  background: rgba(9, 14, 32, 0.72);
  padding: clamp(1.4rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.about-s1-aside p {
  margin: 0;
  color: var(--ppl-text);
  line-height: 1.7;
  font-size: 1.02rem;
}

/* ---------- 02 Nation ---------- */
.about-s2 {
  background: linear-gradient(180deg, var(--ppl-black) 0%, #0c1510 100%);
}

.nation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.75rem;
}

.nation-card {
  background: var(--ppl-surface);
  border: 1px solid var(--ppl-border-light);
  padding: 0.7rem 0.7rem 1.35rem;
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.nation-card:hover {
  border-color: rgba(183, 219, 120, 0.4);
  transform: translateY(-4px);
}

.nation-card-wide { grid-column: 2 / 3; }

.nation-photo {
  aspect-ratio: 16 / 11;
  margin-bottom: 1rem;
}

.nation-card h4 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  margin: 0 0.45rem 0.45rem;
  color: var(--ppl-white);
}

.nation-card p {
  margin: 0 0.45rem;
  color: var(--ppl-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.about-quote {
  border-left: 4px solid var(--ppl-lime);
  padding: 1.5rem 1.85rem;
  background: rgba(159, 190, 105, 0.07);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  max-width: 780px;
  margin: 0 auto;
}

.about-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.28rem, 2.6vw, 1.7rem);
  color: var(--ppl-white);
  margin: 0;
  line-height: 1.35;
}

/* ---------- 03 Global ---------- */
.about-s3 { background: var(--ppl-black); }

.about-s3-lead {
  max-width: 860px;
  margin-bottom: 2.6rem;
}

.s3-portraits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.s3-portraits .portrait { aspect-ratio: 3 / 4; }

.s3-portraits .portrait:nth-child(2) {
  transform: translateY(1.5rem);
}

/* ---------- 04 Carousel ---------- */
.about-s4 {
  background: linear-gradient(180deg, #0c1510 0%, var(--ppl-black) 100%);
  overflow: hidden;
}

.ppl-about-carousel {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 3.4rem;
}

.carousel-track {
  display: flex;
  transition: transform 0.55s var(--ease-out);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  padding: 0 0.5rem;
  box-sizing: border-box;
}

.carousel-frame {
  aspect-ratio: 16 / 9;
  min-height: 300px;
}

.carousel-btn {
  position: absolute;
  top: 46%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(9, 14, 32, 0.88);
  color: var(--ppl-lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 5;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.carousel-btn:hover {
  background: var(--ppl-green-800);
  border-color: var(--ppl-lime);
  transform: translateY(-50%) scale(1.06);
}

.carousel-btn.prev { left: 0.4rem; }
.carousel-btn.next { right: 0.4rem; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(183, 219, 120, 0.25);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}

.carousel-dots button.active {
  background: var(--ppl-lime);
  transform: scale(1.25);
}

/* =========================================================
   05 Experience — smooth "fan out" hover strip

   Changed from CSS Grid to Flexbox. grid-template-columns
   cannot be transitioned smoothly in browsers, but flex-grow
   can, which is what lets the hovered panel widen smoothly
   instead of snapping straight to full width. overflow:hidden
   stays on each panel (so shrinking neighbours don't show
   ragged edges) — the "reveal more of the photo" effect comes
   from the panel itself growing wider via flex, not from
   removing the clip. object-fit: cover keeps the image itself
   from distorting or flashing its uncropped shape mid-hover.
   ========================================================= */
.about-s5 {
  position: relative;
  background: var(--ppl-black);
  padding: 0 0 clamp(2rem, 4vw, 3rem);
}

.s5-head {
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) 1.25rem 2rem;
}

.s5-strip {
  display: flex;
  min-height: min(74vh, 660px);
}

.s5-panel {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  flex: 1 1 0%;
  transition: flex 0.55s var(--ease-out);
}

.s5-panel:hover {
  flex: 2.6 1 0%;
  cursor: pointer;
}

.s5-photo,
.s5-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 0;
}

.s5-photo { border-right: 1px solid rgba(183, 219, 120, 0.12); }

.s5-panel:hover .s5-photo img { transform: scale(1.06); }

.s5-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem 1rem 1.7rem;
  background: linear-gradient(180deg, transparent 28%, rgba(6, 12, 10, 0.9) 100%);
  pointer-events: none;
}

.s5-index {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--ppl-lime);
  margin-bottom: 0.35rem;
}

.s5-overlay strong {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.5vw, 1.28rem);
  letter-spacing: 0.08em;
  color: var(--ppl-white);
  line-height: 1.15;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .about-s1-split,
  .nation-grid,
  .s3-portraits { grid-template-columns: 1fr 1fr; }

  .nation-card-wide { grid-column: auto; }
  .s3-portraits .portrait:nth-child(2) { transform: none; }
  .s3-portraits .portrait:last-child {
    grid-column: 1 / -1;
    max-width: 420px;
    margin-inline: auto;
    width: 100%;
  }

  .s5-strip { flex-direction: column; min-height: 0; }
  .s5-panel { min-height: 240px; }
  .s5-panel:hover { flex: 1 1 0%; }
  .s5-photo { border-right: 0; border-bottom: 1px solid rgba(183, 219, 120, 0.12); }
}

@media (max-width: 575.98px) {
  .about-s1-split,
  .nation-grid,
  .s3-portraits { grid-template-columns: 1fr; }

  .s3-portraits .portrait:last-child { max-width: none; }
  .ppl-about-carousel { padding: 0 2.2rem; }
  .carousel-btn { width: 40px; height: 40px; }
  .about-s1 { min-height: 0; }
}