/* ===== about/index.html: placeholder shell =====
   Owner asked for an empty page (black background, white text) as a
   starting point — no sections yet. min-height keeps a short/empty page
   from collapsing to nothing between the sticky nav and the footer. */
.about-page {
  min-height: 60vh;
  background: #000;
  color: #fff;
}
/* Empty placeholder section, per owner request — no content yet. */
.about-white-section {
  position: relative;
  isolation: isolate; /* keeps the flag's negative z-index inside this section */
  overflow: hidden;   /* clips the flag at the section's top/right edges — a corner peek */
  background: #fff;
  padding: 96px 0;
  --about-flag-w: clamp(230px, calc((100vw - 1240px) / 2 + 230px), 440px);
}
/* Two looping flag videos — Sri Lanka in front, the UK tucked in behind and
   below — reading as one pair of silk pennants hanging off the section's
   top-right corner rather than two photo boxes. Each wrapper carries
   position, tilt and a soft drop-shadow (a filter on the wrapper follows the
   video's faded alpha, so the shadow feathers with it); the video itself
   carries the radial mask that melts its edges into the white. The pair is
   scaled from --about-flag-w, which grows with the free space beside the
   1240px content column, so it's biggest on wide screens where it can't
   touch the heading, and is kept behind the text (negative z-index) where
   the two meet on narrower ones. Muted + playsinline let them autoplay on
   mobile; hidden for reduced-motion users and on small screens. */
.about-white-section__flag {
  position: absolute;
  top: -16px;
  right: -30px;
  z-index: -1;
  width: calc(var(--about-flag-w) * .95);
  transform: rotate(8deg);
  transform-origin: 75% 30%;
  filter: drop-shadow(0 16px 22px rgba(122, 23, 52, .2));
  pointer-events: none;
}
.about-white-section__flag video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  -webkit-mask-image: radial-gradient(ellipse 118% 132% at 100% 0%, #000 48%, rgba(0, 0, 0, .68) 68%, transparent 90%);
  mask-image: radial-gradient(ellipse 118% 132% at 100% 0%, #000 48%, rgba(0, 0, 0, .68) 68%, transparent 90%);
  filter: saturate(1.2) contrast(1.04) brightness(1.03);
}
/* The UK flag sits a step behind: smaller, overlapped by the Sri Lankan flag
   above it, softened and slightly faded so it recedes instead of competing.
   Its mask is anchored to the middle of its right edge, so top, bottom and
   left all melt away — no straight edge anywhere, and it blends into the
   flag above where the two meet. */
.about-white-section__flag--uk {
  top: calc(var(--about-flag-w) * .38);
  right: -58px;
  width: calc(var(--about-flag-w) * .58);
  transform: rotate(5deg);
  transform-origin: 80% 40%;
  filter: drop-shadow(0 14px 20px rgba(24, 36, 92, .12));
  opacity: .72;
}
.about-white-section__flag--uk video {
  -webkit-mask-image: radial-gradient(ellipse 112% 74% at 100% 50%, #000 26%, rgba(0, 0, 0, .45) 56%, transparent 88%);
  mask-image: radial-gradient(ellipse 112% 74% at 100% 50%, #000 26%, rgba(0, 0, 0, .45) 56%, transparent 88%);
  filter: saturate(.8) contrast(.98) brightness(1.08);
}
@media (prefers-reduced-motion: reduce), (max-width: 600px) {
  .about-white-section__flag { display: none; }
}

/* ===== about/index.html: Our Story ===== */
/* Logo and heading form one rectangle: the logo is exactly two line-heights
   tall, and the heading is two balanced lines (hard-broken after "Hosting",
   the two halves measure 982px/985px so they come out near-identical), so
   both columns start and end on the same two lines. The 48px type size is
   what makes those proportions land — the logo's 4.1:1 lockup can't be made
   taller without eating the width the heading needs. */
.about-story__head {
  margin-bottom: 76px;
}
.about-story__head-row {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}
.about-story__logo {
  flex: 0 0 auto;
  display: block;
  width: auto;
  height: 96px;
}
.about-story__title {
  flex: 1 1 0;
  margin: 0;
  font-family: "Cairo", "Cairo Fallback", var(--font-heading);
  font-size: 48px;
  font-weight: 600;
  line-height: 48px;
  color: #171a1c;
}
/* Two explicit columns (not CSS multi-column) so both always share the
   same top and bottom: the grid row is as tall as the right column (which
   ends with the CTA card), and the left column stretches to match, spacing
   its blocks apart so its last line lands level with the card's bottom.
   The divider is the right column's own left border. */
.about-story__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.about-story__col {
  display: flex;
  flex-direction: column;
}
.about-story__col:first-child {
  justify-content: space-between;
  padding-right: 32px;
}
.about-story__col:last-child {
  padding-left: 32px;
  border-left: 1px solid #e5e7eb;
}
.about-story__block {
  margin: 0 0 40px;
}
.about-story__block:last-of-type { margin-bottom: 0; }
/* Hairline between consecutive blocks so the gaps read as deliberate breaks
   rather than stray white space; same colour as the rule between the columns.
   It's a real element, not a border on the next block, because the first
   column is spaced with space-between: as a flex item of its own it gets an
   equal share of that free space on each side and so sits centred in the gap,
   however tall the gap grows. */
.about-story__rule {
  width: 100%;
  height: 0;
  margin: 0 0 40px;
  border: 0;
  border-top: 1px solid #e5e7eb;
}
.about-story__block-title {
  margin: 0 0 16px;
  font-family: "Cairo", "Cairo Fallback", var(--font-heading);
  font-size: 25px;
  font-weight: 600;
  line-height: 25px;
  color: #171a1c;
}
.about-story__text {
  margin: 0 0 18px;
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: rgb(122, 122, 122);
}
.about-story__text:last-child { margin-bottom: 0; }
.about-story__text strong { color: inherit; font-weight: 400; }
.about-story__link { color: inherit; font-weight: 400; text-decoration: none; }
.about-story__link:hover { text-decoration: underline; }

.about-story__list { margin: 0 0 18px; padding: 0; list-style: none; break-inside: avoid; }
.about-story__list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-family: "Manrope", "Manrope Fallback", var(--font-body);
  font-size: 16px;
  line-height: 24px;
  color: rgb(122, 122, 122);
}
.about-story__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-orange);
}
.about-story__list li:last-child { margin-bottom: 0; }

/* Glassmorphism: a frosted sheen over two soft brand-colour glows, baked
   into the card's own background (rather than blurring real content behind
   it — the page here is flat white, so a literal backdrop-filter blur would
   have nothing to show through). Same recipe family as .hero-card/.eco__content
   elsewhere, just self-contained since this card has no colourful backdrop
   of its own to borrow. Applies at every width (not a tablet-only change). */
.about-story__cta {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .75), rgba(255, 255, 255, .35)),
    radial-gradient(circle at 10% 10%, rgba(245, 126, 32, .28), transparent 50%),
    radial-gradient(circle at 90% 95%, rgba(229, 72, 77, .22), transparent 50%),
    radial-gradient(circle at 85% 15%, rgba(47, 158, 220, .14), transparent 45%),
    #fff;
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  text-align: center;
  max-width: 760px;
  margin: 40px auto 0;
  padding: 44px 40px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 20px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .8),
    0 8px 20px rgba(245, 126, 32, .1),
    0 24px 48px rgba(0, 0, 0, .12);
}
/* The visitor asked for less transparency: solid, same as every other glass
   panel on the site. */
@media (prefers-reduced-transparency: reduce) {
  .about-story__cta {
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-color: #e5e7eb;
    box-shadow: none;
  }
}
.about-story__cta-title {
  margin: 0 0 32px;
  font-family: "Cairo", "Cairo Fallback", var(--font-heading);
  font-size: 33px;
  font-weight: 900;
  line-height: 33px;
  color: rgb(40, 39, 39);
}
.about-story__cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}
/* Button hierarchy (owner request: make this CTA's pull clearer than a pair
   of look-alike outlines): the primary action is now solid-filled with the
   brand gradient, so it reads as THE thing to click; the secondary stays the
   site's standard outline. Both lift + gain a shadow on hover/focus for the
   same tactile feel — see .about-story__cta-btn--secondary below for why
   that one needed its own hover rule instead of reusing .btn--outline's. */
.about-story__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 13px 28px;
  background: transparent;
  font-family: "Cairo", "Cairo Fallback", var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  line-height: 15px;
  transition: transform .15s, box-shadow .15s, background .15s, color .15s, border-color .15s;
}
.about-story__cta-btn--primary {
  color: #fff;
  border: 1.5px solid transparent;
  background: linear-gradient(135deg, var(--brand-orange), var(--accent));
  box-shadow: 0 8px 20px rgba(245, 126, 32, .32);
}
.about-story__cta-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(245, 126, 32, .4);
}
.about-story__cta-btn--secondary {
  color: #171a1c;
  border: 1.5px solid #171a1c;
}
.about-story__cta-btn--secondary:hover {
  background: #171a1c;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .18);
}

/* Tablet only: above 900px the logo/title stay side by side (the stacked,
   centred treatment below is mobile-only), but the title wraps to more
   lines at this width than the row's flex-start alignment was built for,
   so the logo sits pinned to the top instead of the middle. */
@media (min-width: 901px) and (max-width: 1210px) {
  .about-story__head-row { align-items: center; }
}

@media (max-width: 900px) {
  .about-story__head { text-align: center; }
  .about-story__head-row { flex-direction: column; align-items: center; gap: 24px; }
  .about-story__logo { width: 220px; height: auto; }
  .about-story__title { font-size: 34px; line-height: 44px; }
  .about-story__body { grid-template-columns: 1fr; }
  .about-story__col:first-child { padding-right: 0; }
  .about-story__col:last-child { padding-left: 0; border-left: 0; }
  .about-story__col:first-child .about-story__block:last-child { margin-bottom: 40px; }
  .about-story__block { max-width: 760px; margin: 0 auto 40px; }
  .about-story__rule { max-width: 760px; margin: 0 auto 40px; }
}

@media (max-width: 600px) {
  .about-white-section { padding: 64px 0; }
  .about-story__title { font-size: 26px; line-height: 34px; }
  /* Centre the story text (mobile only). The bullet dots are absolutely placed
     at the left edge, which looks stranded once the lines are centred, so they
     become inline dots in front of each item. */
  .about-story__body { text-align: center; }
  .about-story__list li { padding-left: 0; }
  .about-story__list li::before { position: static; display: inline-block; vertical-align: middle; margin: -2px 10px 0 0; }
}

/* ===== about/index.html: trust stats =====
   Built from the same pieces as the other dark bands (.cph-features,
   .cph-security, .cph-email): the shared dark gradient with the two soft
   orange glows, 88px section padding, the centred Cairo 600 / 40px title +
   Manrope subtitle + red->orange rule header, and the translucent bordered
   card with the same hover (orange border, lift). It follows the white
   "Our Story" band, keeping the page's light/dark alternation. Icons are
   single-colour SVGs painted brand-orange via mask, like every other icon
   on the site; the figure is white Cairo 600 like the card titles, with
   the "+" picked out in brand orange. */
.about-stats {
  position: relative;
  overflow: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 12%, rgba(245, 126, 32, .12) 0, transparent 45%),
    radial-gradient(circle at 85% 90%, rgba(245, 126, 32, .08) 0, transparent 45%),
    linear-gradient(135deg, #1b2427 0%, #2b383c 52%, #141b1d 100%);
}
.about-stats__inner { padding-block: 88px; }
.about-stats__head { text-align: center; margin-bottom: 64px; }
/* Type spec supplied by the owner (font inspector): Cairo 600, 40px / 46px,
   rgb(255, 255, 255). */
.about-stats__title {
  margin: 0;
  font-family: "Cairo", "Cairo Fallback", var(--font-heading);
  font-size: 40px;
  font-weight: 600;
  line-height: 46px;
  color: rgb(255, 255, 255);
}
/* Type spec supplied by the owner (font inspector): Manrope 300, 15px / 25px,
   rgba(255, 255, 255, .82). */
.about-stats__subtitle {
  margin: 14px auto 0;
  max-width: 760px;
  font-family: "Manrope", "Manrope Fallback", sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 25px;
  color: rgba(255, 255, 255, .82);
}
.about-stats__underline {
  width: 64px;
  height: 2px;
  margin: 36px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--brand-orange));
}
/* One translucent panel split into four columns by hairlines, rather than
   four separate boxes floating in the band — the same "one surface, divided"
   idea as the Our Story columns, and it stops the figures reading as four
   small islands in a wide dark space. */
.about-stats__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  overflow: hidden;
}
.about-stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 34px 28px 32px;
  border-left: 1px solid rgba(255, 255, 255, .1);
  transition: background .18s;
}
.about-stats__item:first-child { border-left: 0; }
.about-stats__item:hover { background: rgba(255, 255, 255, .05); }
/* Icon chip: the same rounded, bordered, orange-icon tile the Contact page
   uses for its cards, so the two pages' figures and details match. */
.about-stats__chip {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .05);
  transition: border-color .18s, background .18s;
}
.about-stats__item:hover .about-stats__chip {
  border-color: rgba(245, 126, 32, .5);
  background: rgba(245, 126, 32, .12);
}
.about-stats__icon {
  display: block;
  width: 30px;
  height: 30px;
  background-color: var(--brand-orange);
  -webkit-mask: var(--stat-icon) center / contain no-repeat;
  mask: var(--stat-icon) center / contain no-repeat;
}
/* Type spec supplied by the owner (font inspector): Cairo 500, 28px / 34px.
   Colour deliberately not taken from the spec (it was a blue) — stays white.
   The size is the one departure: the figure is this band's headline, and at
   28px it was smaller than the section title it sits under. Set 28px/34px
   here to go back to the spec exactly. */
.about-stats__value {
  font-family: "Cairo", "Cairo Fallback", sans-serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 42px;
  color: rgb(255, 255, 255);
}
.about-stats__plus { color: var(--brand-orange); }
/* Type spec supplied by the owner (font inspector): Manrope 300, 13px / 20px,
   rgba(255, 255, 255, .76). */
.about-stats__label {
  margin-top: 10px;
  font-family: "Manrope", "Manrope Fallback", sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 20px;
  color: rgba(255, 255, 255, .76);
}
@media (max-width: 900px) {
  .about-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-stats__item:nth-child(odd) { border-left: 0; }
  .about-stats__item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
}
@media (max-width: 560px) {
  .about-stats__inner { padding-block: 64px; }
  .about-stats__title { font-size: 30px; line-height: 34px; }
  .about-stats__grid { grid-template-columns: 1fr; }
  .about-stats__item { border-left: 0; padding: 30px 24px 28px; }
  .about-stats__item + .about-stats__item { border-top: 1px solid rgba(255, 255, 255, .1); }
  .about-stats__chip { width: 52px; height: 52px; margin-bottom: 18px; }
  .about-stats__icon { width: 26px; height: 26px; }
}

/* ===== about/index.html: Our Team =====
   Plain white band after the dark stats band (keeps the page alternating).
   Header follows the site's other light sections (.cph-workflow): Cairo
   title, Manrope subtitle, red -> orange rule. The five members are tall
   photo panels set flush side by side in one strip (see below); tablet and
   phone widths fall back to separate cards in rows of 3 / 2 / 1. */
.about-team { background: #fff; }
.about-team__inner { padding-block: 88px; }
.about-team__head { text-align: center; margin-bottom: 56px; }
/* Type spec supplied by the owner (font inspector): Cairo 600, 40px / 46px.
   Its white colour is deliberately not applied — this band is white, so the
   title keeps the dark text colour used by the site's other light sections. */
.about-team__title {
  margin: 0;
  font-family: "Cairo", "Cairo Fallback", var(--font-heading);
  font-size: 40px;
  font-weight: 600;
  line-height: 46px;
  color: rgb(45, 42, 53);
}
/* Type spec supplied by the owner (font inspector): Manrope 300, 15px / 25px.
   Its white colour is deliberately not applied (white band) — keeps the site's
   light-section subtitle grey. */
.about-team__subtitle {
  margin: 14px auto 0;
  max-width: 600px;
  font-family: "Manrope", "Manrope Fallback", sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 25px;
  color: rgb(92, 88, 104);
}
.about-team__underline {
  width: 64px;
  height: 3px;
  margin: 20px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.about-team__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  background: #fff;
}
/* Panel: the photo fills it, a warm brand tint fades in from the top and a
   dark one from the bottom (::after), and the name sits in a frosted band
   over the bottom (.about-team__info). Base rules are the standalone-card
   version used on tablet/phone and touch screens, where there is no hover,
   so name AND position are always visible. Photos are greyscale, colour on
   hover. Focusable (tabindex in the markup) so keyboard users get the same
   reveal via :focus-within. */
.about-team__member {
  position: relative;
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #e9eaed;
  box-shadow: 0 8px 24px rgba(23, 26, 28, .1);
}
.about-team__member:focus-visible { outline: 2px solid var(--brand-orange); outline-offset: -3px; }
.about-team__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 16%;
  filter: grayscale(1);
  transition: filter .4s ease, transform .6s ease;
}
.about-team__member:hover .about-team__photo,
.about-team__member:focus-within .about-team__photo {
  filter: grayscale(0);
  transform: scale(1.04);
}
.about-team__member::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(245, 126, 32, .18) 0%, rgba(50, 61, 65, 0) 42%, rgba(27, 36, 39, .9) 100%);
}
.about-team__info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 34px 16px 20px;
  text-align: center;
  color: #fff;
  transition: opacity .3s ease;
}
/* The frosted-glass layer sits on its own pseudo-element so its feathered
   top edge (mask) never fades the text itself. */
.about-team__info::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background: linear-gradient(to top, rgba(27, 36, 39, .55), rgba(27, 36, 39, 0));
  -webkit-mask-image: linear-gradient(to top, #000 55%, transparent);
  mask-image: linear-gradient(to top, #000 55%, transparent);
}
.about-team__name {
  margin: 0;
  font-family: "Cairo", "Cairo Fallback", var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  color: #fff;
}
.about-team__role {
  margin: 4px 0 0;
  font-family: "Manrope", "Manrope Fallback", sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 20px;
  color: rgba(255, 255, 255, .88);
}
/* Responsibility line. Hidden by default everywhere; revealed on the wide
   screen strip by the interactive script (see .is-interactive below), and on
   the card / touch layouts by tapping or focusing a card, when the frosted
   band also darkens so the longer text stays readable. */
.about-team__bio {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  /* Type spec supplied by the owner (font inspector): Manrope 300, 13px / 20px.
     Its dark colour is not used (unreadable on the dark scrim); text stays white. */
  font-family: "Manrope", "Manrope Fallback", sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 20px;
  color: rgba(255, 255, 255, .9);
  transition: max-height .4s ease, margin .4s ease, opacity .35s ease;
}
.about-team__member:focus-within .about-team__bio {
  max-height: 160px;
  margin-top: 8px;
  opacity: 1;
}
.about-team__member:focus-within .about-team__info::before {
  background: linear-gradient(to top, rgba(27, 36, 39, .94) 60%, rgba(27, 36, 39, .5));
}

/* Wide screens: one flush strip with sharp corners and thin white
   dividers, all five panels equal width. */
@media (min-width: 1101px) {
  .about-team__grid {
    flex-wrap: nowrap;
    gap: 0;
    overflow: hidden;
    box-shadow: 0 22px 50px rgba(23, 26, 28, .16);
  }
  .about-team__member {
    flex: 1 1 0;
    aspect-ratio: auto;
    height: 470px;
    box-shadow: none;
    transition: flex-grow .5s cubic-bezier(.22, .8, .24, 1), filter .4s ease, transform .4s ease;
  }
  .about-team__member + .about-team__member { border-left: 2px solid #fff; }
  /* Name label on the strip — type spec supplied by the owner (font
     inspector): Manrope 600, 12px / 18px, in capitals. The spec's cyan
     colour is deliberately not used; the label stays white. The featured
     person's larger name (.is-active, below) overrides this. */
  .about-team__name {
    font-family: "Manrope", "Manrope Fallback", sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    text-transform: uppercase;
  }
}

/* Interactive strip. On wide screens with a real pointer, js/main.js adds
   .is-interactive to the grid and drives everything through classes instead
   of :hover: the panels become absolutely positioned (left/width set by the
   script) so the featured person can slide to the far left while the other
   four slide right, blur, and drop their names. Only the featured person
   (.is-active) shows a full name and position. Hover is deliberately NOT used:
   the panel a visitor points at moves away, which would otherwise hand the
   hover to whoever slides under the cursor and make the strip flicker. The
   script picks the person from the cursor's x-position across five equal,
   unmoving slots. Without the script (or on touch/narrow screens) none of
   this applies and the strip/cards simply show every name and position. */
.about-team__grid.is-interactive {
  position: relative;
  height: 470px;
}
.about-team__grid.is-interactive .about-team__member {
  position: absolute;
  top: 0;
  flex: none;
  height: 100%;
  border-left: 0;
  pointer-events: none;
  transition:
    left .55s cubic-bezier(.22, .8, .24, 1),
    width .55s cubic-bezier(.22, .8, .24, 1),
    filter .4s ease,
    transform .4s ease;
}
/* At rest only the first name shows; the last name slides out beside it for
   the featured person. It stays in the DOM (and the heading carries an
   aria-label with the full name), so it is never lost to assistive tech. The
   leading space inside .about-team__last collapses at the start of an
   inline-block, hence the padding-left that stands in for it. */
.about-team__grid.is-interactive .about-team__name { white-space: nowrap; }
.about-team__grid.is-interactive .about-team__last {
  display: inline-block;
  max-width: 0;
  padding-left: 0;
  /* padding + equal negative margin: room for descenders (the tail of a "g")
     inside the clipped box without changing the line height */
  padding-bottom: .3em;
  margin-bottom: -.3em;
  overflow: hidden;
  vertical-align: top;
  opacity: 0;
  transition: max-width .45s ease, padding-left .45s ease, opacity .3s ease .08s;
}
.about-team__grid.is-interactive .about-team__role {
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition: max-height .4s ease, margin .4s ease, opacity .35s ease .08s, transform .4s ease;
}
.about-team__grid.is-interactive .about-team__member.is-active {
  z-index: 2;
  overflow: visible; /* lets the name/position sit over the blurred panels beside it */
}
/* No zoom here: with overflow visible a scaled photo would spill past its panel. */
.about-team__grid.is-interactive .about-team__member.is-active .about-team__photo {
  filter: grayscale(0);
}
/* The featured person's name and position sit over the blurred area to the
   RIGHT of his photo (left: 100% is the panel's right edge), bottom-aligned,
   left-aligned — not on his own photo. The
   frosted band used at rest gives way to a black scrim (below), and a
   text-shadow keeps the white text legible. */
.about-team__grid.is-interactive .about-team__member.is-active .about-team__info {
  left: 100%;
  right: auto;
  width: max-content;
  max-width: 470px;
  padding: 0 0 26px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  z-index: 3;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .7);
}
/* Soft black scrim right behind the text (the frosted band used at rest is
   replaced): darkest at the bottom-left where the text sits, fading out
   upward and to the right, so the copy reads clearly over the blurred faces
   without darkening the whole strip. */
.about-team__grid.is-interactive .about-team__member.is-active .about-team__info::before {
  inset: -150px -130px 0 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  -webkit-mask-image: none;
  mask-image: none;
  background: radial-gradient(ellipse 100% 100% at 0% 100%, rgba(0, 0, 0, .86) 0%, rgba(0, 0, 0, .66) 45%, rgba(0, 0, 0, .3) 75%, rgba(0, 0, 0, 0) 100%);
}
/* Featured name — type spec supplied by the owner (font inspector): Cairo
   400, 36px / 36px. The spec's dark colour is not used; the name stays white. */
.about-team__grid.is-interactive .about-team__member.is-active .about-team__name {
  font-family: "Cairo", "Cairo Fallback", var(--font-heading);
  font-size: 36px;
  font-weight: 400;
  line-height: 36px;
  text-transform: none;
}
/* Featured position — type spec supplied by the owner (font inspector):
   Manrope 400, 15px / 23px. The spec's dark colour is not used (it would vanish
   on the dark scrim); the text stays white. */
.about-team__grid.is-interactive .about-team__member.is-active .about-team__role {
  font-weight: 400;
  font-size: 15px;
  line-height: 23px;
}
.about-team__grid.is-interactive .about-team__member .about-team__bio {
  max-height: 0;
  margin-top: 0;
  opacity: 0;
}
.about-team__grid.is-interactive .about-team__member.is-active .about-team__bio {
  max-height: 140px;
  margin-top: 12px;
  opacity: 1;
  transition-delay: .12s;
}
.about-team__grid.is-interactive .about-team__member.is-active .about-team__last {
  max-width: 12em;
  padding-left: .28em;
  opacity: 1;
}
.about-team__grid.is-interactive .about-team__member.is-active .about-team__role {
  max-height: 40px;
  margin-top: 6px;
  opacity: 1;
  transform: none;
}
.about-team__grid.is-interactive.has-active .about-team__member:not(.is-active) {
  filter: blur(4px) brightness(.55);
  transform: scale(1.03);
}
.about-team__grid.is-interactive.has-active .about-team__member:not(.is-active) .about-team__info {
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  .about-team__member,
  .about-team__photo,
  .about-team__last,
  .about-team__info,
  .about-team__bio,
  .about-team__role { transition: none; }
}
@media (max-width: 700px) {
  .about-team__inner { padding-block: 64px; }
  .about-team__title { font-size: 30px; line-height: 36px; }
  .about-team__member { flex-basis: calc((100% - 24px) / 2); }
  /* The name/role/bio block is anchored to the card bottom; once a bio opens it
     can be taller than a fixed-ratio card, and the top of it (the first name)
     got clipped. Let the card size to its content instead: the text block flows
     at the bottom of a flex column with a minimum height, and the photo stays an
     absolutely positioned backdrop. */
  .about-team__member { display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: auto; min-height: 400px; }
  .about-team__info { position: relative; }
  .about-team__member:focus-within .about-team__bio { max-height: 220px; } /* narrow cards wrap the bio to more lines than the 160px desktop cap */
}
@media (max-width: 420px) {
  .about-team__member { flex-basis: 100%; max-width: 320px; min-height: 440px; } /* a little taller so the photo still shows above the opened bio */
  /* Opened bio was jammed edge to edge: more side padding, looser lines, more
     air between name / role / bio. */
  .about-team__info { padding: 40px 24px 26px; }
  .about-team__role { margin-top: 6px; }
  .about-team__bio { line-height: 22px; }
  .about-team__member:focus-within .about-team__bio { max-height: 200px; margin-top: 12px; }
}

/* Mobile only: rounded team cards (the card already clips its photo and text
   with overflow: hidden, so this rounds all of it). */
@media (max-width: 600px) {
  .about-team__member { border-radius: 14px; }
}
