/* ==========================================================================
   About page (Figma: About – Desktop 1680 / 1440 / Mobile 390, Design v4)
   ========================================================================== */

/* ---------- 1. Hero: BLT Global Brands (Our team pattern) ---------- */
.about-hero { padding-top: 240px; }
.about-hero .team__img picture { display: block; width: 100%; height: 100%; }
.about-hero__body p + p { margin-top: 1.55em; }
/* Our team pattern: the photo keeps 760px down to 1440, the text column gives way (Figma 1440) */
@media (min-width: 1200px) {
  .page-about .team__text { flex: 1 1 424px; }
}

/* ---------- Mobile swipe rows: arrows + dots (uses the shared [data-slider] script) ---------- */
.row-slider { width: 100%; }

/* ---------- 2. Mission: red glow with a bucket cut-out on each side (desktop) ---------- */
.mission {
  height: 860px;
  background: radial-gradient(60% 90% at 50% 30%, #C8101C 0%, rgba(150, 14, 26, .85) 45%, rgba(26, 12, 15, 0) 100%), #1A0C0F;
}
.mission .hero__mobile-bg { display: none; }
.mission__art { position: absolute; inset: 0; pointer-events: none; }
/* 400×507 cut-outs at 1680, 343×435 at 1440 (Figma 1440 frame) */
.mission__cut {
  position: absolute; top: 330px;
  width: calc(23.75vw + 1px); height: auto; aspect-ratio: 400 / 507; object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .35));
}
.mission__cut--left { left: calc(50% - 57.92vw + 3px); }
.mission__cut--right { left: calc(50% + 27.5vw - 2px); }
.mission .hero__content { margin-top: 267px; }
.mission .hero__title { letter-spacing: -0.025em; }
.mission .stamp { left: calc(50% - 30.42vw - 148px); top: 632px; width: clamp(158px, calc(10.833vw + 2px), 184px); height: auto; aspect-ratio: 1; transform-origin: 0 0; transform: rotate(-10deg); }

/* ---------- 3. Values: bento grid ---------- */
.values {
  display: flex; flex-direction: column; align-items: center; gap: 64px;
  padding-top: 80px; padding-bottom: 100px;
  background: var(--cream);
}
.values .section-head { max-width: 820px; }
.values__lead { font-size: 18px; line-height: 1.55; letter-spacing: -0.001em; color: rgba(34, 30, 31, .75); }
.value-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: 320px 280px 320px;
  gap: 24px;
}
.value-tile--mobile { display: none; }

.value {
  position: relative; isolation: isolate; overflow: hidden;
  min-width: 0;
  padding: 28px;
  border-radius: var(--radius-card);
  display: flex; flex-direction: column; gap: 14px;
}
.value__icon {
  flex: none;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(34, 30, 31, .14);
}
.value__icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.value__title { font-size: 24px; font-weight: 800; line-height: 1.18; letter-spacing: -0.015em; }
.value__text { font-size: 16px; line-height: 1.55; letter-spacing: -0.001em; }
.value--yellow { background: var(--yellow); color: var(--char); }
.value--sand { background: var(--sand); color: var(--char); }
.value--yellow .value__text, .value--sand .value__text { color: rgba(34, 30, 31, .85); }
.value--red { background: var(--red); color: var(--white); }
.value--red .value__title { color: var(--cream); }
.value--dark { background: var(--char); color: var(--white); }
.value--red .value__icon, .value--dark .value__icon { background: rgba(245, 241, 232, .14); }
/* photo tiles: text sits at the bottom over a dark fade */
.value--photo { justify-content: flex-end; color: var(--white); background: var(--char); }
.value__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.value--photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20, 15, 18, .05) 0%, rgba(20, 15, 18, .55) 45%, rgba(20, 15, 18, .92) 100%);
}
.value--respect .value__photo { object-position: 50% 8%; }

/* grid placement (DOM order = mobile swipe order) */
.value--respect { grid-area: 1 / 1 / 2 / 3; }
.value-tile--chibboq { grid-area: 1 / 3 / 3 / 4; }
.value--customers { grid-area: 1 / 4; }
.value--act { grid-area: 2 / 1; }
.value--ethics { grid-area: 2 / 2; }
.value--give { grid-area: 2 / 4; }
.value--possible { grid-area: 3 / 1; }
.value--learning { grid-area: 3 / 2 / 4 / 4; }
.value-tile--product { grid-area: 3 / 4; }

.value-tile { position: relative; overflow: hidden; border-radius: var(--radius-card); }
.value-tile img { position: absolute; object-fit: contain; }
.value-tile--chibboq {
  background: radial-gradient(60% 70% at 50% 55%, rgba(227, 25, 55, .95) 0%, rgba(150, 16, 34, .6) 50%, rgba(34, 30, 31, 0) 100%), var(--char);
}
.value-tile--chibboq img { left: 6px; right: 6px; bottom: 20px; width: calc(100% - 12px); height: 419px; object-position: 50% 100%; }
.value-tile--product { background: var(--yellow); }
.value-tile--product img { left: 0; right: 0; top: 20px; width: 100%; height: clamp(279px, calc(545px - 15.83vw), 317px); } /* 279 at 1680, 317 at 1440 */

/* ---------- 4. Leadership ---------- */
.leaders {
  display: flex; flex-direction: column; align-items: center; gap: 48px;
  padding-top: 100px; padding-bottom: 128px;
  background: var(--cream);
}
.leaders__head { gap: 20px; }
.leaders__list { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 32px; }
.person { display: flex; flex-direction: column; gap: 20px; }
.person__photo { height: 420px; border-radius: var(--radius-img); overflow: hidden; background: var(--sand); } /* stays 420 tall at 1440 */
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__meta { display: grid; gap: 10px; }
.person__role { color: var(--red-text); font-size: 13px; font-weight: 700; line-height: 1.2; letter-spacing: .12em; }
.person__name { font-size: 22px; font-weight: 700; line-height: 1.25; letter-spacing: -0.005em; }

/* ---------- Tablet ---------- */
@media (max-width: 1199px) {
  .about-hero { padding-top: 170px; }

  .mission { height: 760px; }
  .mission__cut { top: 420px; width: 300px; height: 380px; }
  .mission__cut--left { left: -120px; }
  .mission__cut--right { left: auto; right: -120px; }
  .mission .hero__content { margin-top: 200px; padding-inline: var(--gutter); }
  .mission .stamp { left: 40px; top: auto; bottom: 40px; width: 130px; height: 130px; transform-origin: 50% 50%; }

  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: minmax(280px, auto); }
  .value-grid > * { grid-area: auto; }
  .value--respect, .value--learning { grid-column: span 2; }
  .value-tile--chibboq { grid-row: span 2; }
  .value-tile--product { display: none; }

  .leaders__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .relation .team__img { order: -1; }
}

/* ---------- Mobile (390 reference) ---------- */
@media (max-width: 767px) {
  .about-hero { padding-top: 152px; }
  .about-hero__body, .relation .lead { line-height: 1.52; }
  .about-hero__body p + p { margin-top: 1.52em; }

  /* mission falls back to the shared mobile hero (photo + fade) */
  .mission { height: 760px; background: var(--char); }
  .mission__art { display: none; }
  .mission .hero__content { margin: 355px 20px 0; padding-inline: 0; }
  .mission .hero__title { letter-spacing: -0.02em; }
  .mission .stamp { width: 114px; height: 114px; left: auto; right: 16px; top: 229px; bottom: auto; transform-origin: 50% 50%; transform: rotate(12deg); }

  /* swipe rows run to the right edge; the row bleeds to the left edge so the
     shared slider script can align cards on the 20px gutter */
  .row-slider { display: flex; flex-direction: column; gap: 20px; }
  .value-grid, .leaders__list {
    display: flex; align-items: flex-start; gap: 12px;
    width: auto; margin-left: -20px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    padding: 0 20px; scroll-padding-inline: 20px;
  }
  .value-grid::-webkit-scrollbar, .leaders__list::-webkit-scrollbar { display: none; }
  .value-grid > *, .leaders__list > * { scroll-snap-align: start; }


  .values { align-items: stretch; gap: 20px; padding: 40px 0 56px 20px; }
  .values .section-head { gap: 14px; padding-right: 20px; }
  .values .h2 { font-size: 32px; line-height: 1.06; }
  .values__lead { font-size: 16px; }
  .value-tile--desktop { display: none; }
  .value-tile--mobile { display: block; flex: none; height: 280px; margin-right: 20px; border-radius: var(--radius-card); }
  .value-tile--mobile img { left: 0; right: 0; top: 16px; bottom: auto; width: 100%; height: 250px; object-position: 50% 0; }
  .value { flex: 0 0 250px; height: 354px; padding: 22px 22px 26px; border-radius: var(--radius-img); }
  .value__icon { width: 72px; height: 72px; margin-bottom: 54px; } /* 40px spacer between two 14px gaps */
  .value__icon svg { width: 40px; height: 40px; }
  .value__title { font-size: 22px; line-height: 1.2; }
  .value--give { background: var(--red); }
  .value--give .value__title { color: var(--cream); }

  .leaders { align-items: stretch; gap: 20px; padding: 56px 0 56px 20px; }
  .leaders__head { gap: 12px; padding-right: 20px; }
  .leaders .h2 { line-height: 1.2; }
  .person { flex: 0 0 280px; gap: 12px; }
  .person__photo { height: 350px; border-radius: 8px; }
  .person__meta { gap: 12px; }
  .person__role { font-size: 12px; letter-spacing: .1em; }
  .person__name { font-size: 19px; font-weight: 800; line-height: 1.18; letter-spacing: -0.01em; }

  .page-about .cta-card .btn-row { gap: 16px; }
}
