/* ============================================================
   Hike Nature Safaris — ABOUT page
   Loaded only by about.php. Uses the tokens defined in main.css
   (--olive, --cream, --gold, --ink, --font-display, --font-ui).
   ============================================================ */

.ab-wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

.ab-eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  color: var(--gold);
}
.ab-eyebrow--light { color: #d9b071; }

.ab-h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.8vw, 3.3rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--olive);
}
.ab-h2--light { color: var(--cream); }

/* ============================================================
   HERO — full-bleed Bwindi photograph, copy anchored bottom-left
   ============================================================ */
.ab-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(86svh, 820px);
  padding: calc(var(--header-h) + 40px) 0 clamp(48px, 8vh, 96px);
  background: var(--olive-2);
  overflow: hidden;
}
.ab-hero__media {
  position: absolute;
  inset: 0;
  background: url("../assets/img/places/large/bwindi.jpg") center 42% / cover no-repeat;
  transform: scale(1.04);
}
.ab-hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(20, 19, 14, 0.88) 0%, rgba(20, 19, 14, 0.45) 42%, rgba(20, 19, 14, 0.12) 78%),
    linear-gradient(to right, rgba(20, 19, 14, 0.55) 0%, rgba(20, 19, 14, 0) 62%);
}
.ab-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}
.ab-hero__eyebrow {
  margin: 0 0 18px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.86;
}
.ab-hero__title {
  margin: 0 0 26px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.3rem, 5.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--white);
  text-wrap: balance;
}
.ab-hero__lede {
  margin: 0;
  max-width: 54ch;
  font-size: clamp(1.02rem, 1.25vw, 1.22rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

/* ============================================================
   OUR STORY — sticky heading column + prose column
   ============================================================ */
.ab-story {
  background: #ffffff;
  color: var(--ink);
  padding: clamp(72px, 11vh, 140px) 0;
}
.ab-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.ab-story__aside { position: sticky; top: calc(var(--header-h) + 32px); }
.ab-story__body p {
  margin: 0 0 1.35em;
  max-width: 66ch;
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  line-height: 1.75;
  color: rgba(26, 24, 19, 0.8);
}
.ab-story__body p:last-child { margin-bottom: 0; }
.ab-lead {
  font-size: clamp(1.1rem, 1.4vw, 1.32rem) !important;
  line-height: 1.62 !important;
  color: var(--ink) !important;
}

.ab-quote {
  margin: clamp(32px, 4.5vh, 52px) 0;
  padding: 4px 0 4px clamp(20px, 2.4vw, 34px);
  border-left: 2px solid var(--gold);
}
.ab-quote p {
  margin: 0 0 12px !important;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 1.9vw, 1.65rem) !important;
  line-height: 1.45 !important;
  color: var(--olive) !important;
}
.ab-quote cite {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(26, 24, 19, 0.5);
}

/* ============================================================
   HOW WE TRAVEL — dark olive band, 4 numbered principles
   ============================================================ */
.ab-values {
  background: var(--olive);
  color: var(--cream);
  padding: clamp(72px, 11vh, 140px) 0;
}
.ab-values__head { max-width: 62ch; margin: 0 0 clamp(44px, 7vh, 78px); }
.ab-values__lede {
  margin: 22px 0 0;
  max-width: 58ch;
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.7;
  color: rgba(246, 246, 210, 0.72);
}

.ab-values__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(34px, 4.5vw, 68px) clamp(28px, 4vw, 72px);
}
.ab-value { padding-top: 22px; border-top: 1px solid rgba(246, 246, 210, 0.22); }
.ab-value__n {
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--gold);
}
.ab-value__t {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.2;
  color: var(--cream);
}
.ab-value__p {
  margin: 0;
  max-width: 48ch;
  font-size: clamp(0.96rem, 1.05vw, 1.04rem);
  line-height: 1.72;
  color: rgba(246, 246, 210, 0.74);
}

/* ============================================================
   TEAM — portraits desaturated, colour on hover / focus
   ============================================================ */
.ab-team {
  background: #faf9f2;
  color: var(--ink);
  padding: clamp(72px, 11vh, 140px) 0;
}
/* no max-width here: the h2 must be free to sit on a single line.
   The paragraph below carries its own measure instead. */
.ab-team__head { margin: 0 0 clamp(44px, 7vh, 76px); }
.ab-team__lede {
  margin: 22px 0 0;
  max-width: 60ch;
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.72;
  color: rgba(26, 24, 19, 0.75);
}

.ab-team__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 34px);
}
.ab-member { min-width: 0; }
.ab-member__fig {
  margin: 0 0 18px;
  overflow: hidden;
  border-radius: 3px;
  background: #e6e4d8;
}
.ab-member__fig img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 28%;
  filter: grayscale(1) contrast(1.04);
  transform: scale(1);
  transition: filter 0.55s var(--ease), transform 0.7s var(--ease);
}
/* colour + slow push-in on hover; :focus-within keeps it keyboard-reachable */
.ab-member:hover .ab-member__fig img,
.ab-member:focus-within .ab-member__fig img {
  filter: grayscale(0) contrast(1);
  transform: scale(1.045);
}
.ab-member__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.02rem, 1.25vw, 1.22rem);
  line-height: 1.25;
  color: var(--olive);
}
.ab-member__role {
  margin: 6px 0 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(26, 24, 19, 0.5);
}

/* touch devices have no hover: show the portraits in colour from the start */
@media (hover: none) {
  .ab-member__fig img { filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ab-member__fig img { transition: filter 0.2s linear; }
  .ab-member:hover .ab-member__fig img,
  .ab-member:focus-within .ab-member__fig img { transform: none; }
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.ab-trust {
  background: #ffffff;
  color: var(--ink);
  padding: clamp(44px, 6vh, 74px) 0;
  border-top: 1px solid rgba(26, 24, 19, 0.1);
}
.ab-trust__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: clamp(18px, 3vw, 46px);
}
.ab-trust__h {
  margin: 0;
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  color: var(--olive);
}
.ab-trust__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}
.ab-trust__list li {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26, 24, 19, 0.55);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .ab-team__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .ab-story__grid { grid-template-columns: 1fr; }
  .ab-story__aside { position: static; }
  .ab-values__grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .ab-hero { min-height: 78svh; }
  .ab-team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
