/* ===== about style 1 ===== */
/* Prevent FOUC: Elements start invisible until GSAP initializes */
.section-about-hero .about-hero-text h1,
.section-about-hero .about-hero-text .heading,
.section-about-hero [data-about-hero-heading],
.section-about-hero h1 {
  opacity: 0;
}

.section-about-hero .work-hero-pill,
.section-about-hero .hero-pill {
  opacity: 0;
  will-change: transform, opacity;
}

/* Pill text mask: clips inner text for clean slide-up reveal */
.section-about-hero .hero-pill-text,
.section-about-hero [class*="pill-text"],
.section-about-hero [class*="pill-label"] {
  display: block;
  will-change: transform, opacity;
}

.section-about-hero .about-hero-pill-text-mask {
  overflow: hidden;
  display: block;
}

.section-about-hero .about-hero-path svg {
  overflow: visible;
}

/* Line-by-line heading mask: matching projects-end look */
.about-hero-line-mask {
  overflow: hidden !important;
  display: block !important;
}

.about-hero-line {
  display: block !important;
  will-change: transform, opacity;
}

.about-hero-para-line {
  display: block !important;
  will-change: transform, opacity;
}

.section-about-hero .about-hero-svg-wrapper,
.section-about-hero .about-hero-img {
  will-change: transform, opacity;
}

/* ===== about style 2 ===== */
/* Safari Anti-Clipping Overrides (Zero layout / max-width changes) */
.about-story-scroll-path,
.about-story-svg,
.about-story-scroll-path svg,
.about-story-svg svg,
.about-story-scroll-path path,
.about-story-svg path {
  overflow: visible !important;
  contain: none !important;
  -webkit-clip-path: none !important;
  clip-path: none !important;
  -webkit-mask: none !important;
  mask: none !important;
}
.about-story-line-mask {
  display: block;
  overflow: hidden;
}
.about-story-line {
  display: block;
  will-change: transform, opacity;
}
.about-story-heading,
.about-story-para {
  text-wrap: balance;
}
.about-story-svg-wrap,
.about-story-svg-wrapper {
  will-change: transform, opacity;
}

/* ===== about style 3 ===== */
/* Fixed Modal Wrapper - Invisible until open, zero dark overlay */
.team-popup-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  width: 100svw !important;
  height: 100vh !important;
  height: 100svh !important;
  z-index: 99999 !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: none;
  background: transparent !important;
  padding: calc(24 / 16 * 1em) !important;
  box-sizing: border-box !important;
}

.team-popup-overlay.is-active {
  display: flex !important;
  pointer-events: auto !important;
}

/* Floating Popup Card */
.team-popup-card {
  position: relative !important;
  width: 100% !important;
  max-width: 960px !important;
  background-color: #FBF3F3 !important;
  border: 1.5px solid rgba(0, 0, 0, 0.12) !important;
  border-radius: calc(24 / 16 * 1em) !important;
  box-shadow:
    0 24px 60px -15px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.4) inset !important;
  display: grid !important;
  grid-template-columns: minmax(280px, 42%) 1fr !important;
  gap: calc(32 / 16 * 1em) !important;
  padding: calc(24 / 16 * 1em) !important;
  box-sizing: border-box !important;
  transform-origin: center center;
  will-change: transform, opacity;
  user-select: text;
}

/* Image Column */
.team-popup-img-wrap {
  width: 100% !important;
  height: 100% !important;
  min-height: calc(600 / 16 * 1em) !important;
  border-radius: calc(16 / 16 * 1em) !important;
  overflow: hidden !important;
  background-color: #e5d7cc !important;
  position: relative !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.team-popup-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block !important;
}

/* Content Column */
.team-popup-content {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: calc(24 / 16 * 1em) !important;
  padding-right: calc(8 / 16 * 1em) !important;
}

.team-popup-header {
  display: flex !important;
  flex-direction: column !important;
  gap: calc(6 / 16 * 1em) !important;
}

.team-popup-name {
  font-family: var(
    --font-primary,
    "font-primary",
    "MDNichromeTest",
    "MD Nichrome",
    Impact,
    sans-serif
  ) !important;
  font-size: calc(48 / 16 * 1em) !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  letter-spacing: -0.02em !important;
  text-transform: uppercase !important;
  color: #111111 !important;
  margin: 0 !important;
}

.team-popup-role {
  font-family: var(
    --font-secondary,
    "font-secondary",
    "NeueMontreal",
    "Neue Montreal",
    sans-serif
  ) !important;
  font-size: 1.125em !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: #111111 !important;
  margin: 0 !important;
}

.team-popup-body {
  display: flex !important;
  flex-direction: column !important;
  gap: calc(18 / 16 * 1em) !important;
}

.team-popup-body p {
  font-family: var(
    --font-secondary,
    "font-secondary",
    "NeueMontreal",
    "Neue Montreal",
    sans-serif
  ) !important;
  color: #2b2b2b !important;
  font-size: 1.125em !important;
  font-weight: 500 !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}

/* Social Pills */
.team-popup-socials {
  display: flex !important;
  align-items: center !important;
  gap: calc(14 / 16 * 1em) !important;
  flex-wrap: wrap !important;
  margin-top: calc(8 / 16 * 1em) !important;
}

.team-popup-pill {
  font-family: var(
    --font-secondary,
    "font-secondary",
    "NeueMontreal",
    "Neue Montreal",
    sans-serif
  ) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: calc(10 / 16 * 1em) !important;
  padding: calc(8 / 16 * 1em) calc(12 / 16 * 1em) !important;
  border: 1.5px solid #B84D4C !important;
  border-radius: 999px !important;
  color: #111111 !important;
  font-size: calc(22 / 16 * 1em) !important;
  font-weight: 400 !important;
  text-decoration: none !important;
  background: transparent !important;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease !important;
  cursor: pointer !important;
}

.team-popup-pill:hover {
  transform: scale(1.04) !important;
}

.team-popup-pill svg {
  width: 22px !important;
  height: 22px !important;
  flex-shrink: 0 !important;
  display: block !important;
}

/* Circular Close Button */
.team-popup-close-btn {
  position: absolute !important;
  top: -16px !important;
  right: -16px !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background-color: #B84D4C !important;
  border: none !important;
  box-shadow: 2.5px 2.5px 0px #000000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  color: #ffffff !important;
  padding: 0 !important;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease !important;
  z-index: 10 !important;
}

.team-popup-close-btn:hover {
  transform: scale(1.1) rotate(90deg) !important;
  background-color: #e04a00 !important;
}

.team-popup-close-btn svg {
  width: 18px !important;
  height: 18px !important;
  stroke: #ffffff !important;
  stroke-width: 3 !important;
  stroke-linecap: round !important;
}

/* Mobile & Tablet Responsive Layout */
@media (max-width: 768px) {
  .team-popup-overlay {
    padding: calc(16 / 16 * 1em) !important;
  }

  .team-popup-card {
    grid-template-columns: 1fr !important;
    gap: calc(20 / 16 * 1em) !important;
    padding: calc(20 / 16 * 1em) !important;
    max-height: 90vh !important;
    max-height: 90svh !important;
    overflow-y: auto !important;
  }

  .team-popup-img-wrap {
    width: 50% !important;
    min-height: auto !important;
    height: auto !important;
    aspect-ratio: 1 / 1.1 !important;
    margin: 0 !important;
    border-radius: 16px !important;
  }

  .team-popup-name {
    font-size: calc(34 / 16 * 1em) !important;
  }

  .team-popup-body p {
    font-size: calc(12 / 16 * 1em) !important;
    line-height: 1.5 !important;
  }

  .team-popup-pill {
    font-size: calc(18 / 16 * 1em) !important;
    padding: calc(6 / 16 * 1em) calc(14 / 16 * 1em) !important;
  }

  .team-popup-close-btn {
    top: 10px !important;
    right: 10px !important;
  }
}

.team-card,
.about-team-btm .team-card {
  cursor: pointer !important;
  user-select: none !important;
}

/* ===== about style 4 ===== */
.moodboard-slider-wrapper {
  overflow: hidden !important;
  position: relative;
  width: 100%;
}

.moodboard-slider {
  display: flex !important;
  flex-direction: row !important;
  width: max-content !important;
  will-change: transform;
}

.moodboard-slide {
  flex-shrink: 0 !important;
  will-change: transform;
}

/* ===== about style 5 ===== */
/* Sticky requires NO overflow:hidden on any ancestor up to the scroll container */
.section-values,
.section-values-wrapper {
  overflow: visible !important;
}

.value-card {
  position: sticky !important;
  will-change: transform;
}

.value-progress {
  transform-origin: left center;
  will-change: transform;
}

/* SplitText Line & Character Masks */
.value-char-mask {
  overflow: hidden !important;
  display: inline-block !important;
  vertical-align: top !important;
}

.value-line-mask {
  overflow: hidden !important;
  display: block !important;
}

.value-heading-char {
  display: inline-block !important;
  will-change: transform, opacity;
}

.value-para-line {
  display: block !important;
  will-change: transform, opacity;
}

/* ===== about style 6 ===== */
.do-cms--pill,
.do-cms-pill {
  position: relative !important;
  overflow: hidden !important;
}

.do-pill-text {
  position: relative !important;
  z-index: 2 !important;
  transition: color 0.35s ease;
}

.do-pill-fill {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.do-pill-fill svg {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

/* ===== Capabilities marquee =====
   Rows of capability pills drifting in alternating directions. The list keeps
   its own class so the paintbrush-hover script still finds the pills. */
.do-cms-list.cap-marquee {
  flex-flow: column;
  align-items: stretch;
  justify-content: flex-start;
}

.cap-row {
  width: 100%;
  overflow: hidden;
  /* fade the pills out at both edges so they do not hard-clip */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.cap-track {
  display: flex;
  flex-flow: row;
  align-items: center;
  gap: 1em;
  width: max-content;
  will-change: transform;
}

.cap-track > .do-cms--pill {
  flex: 0 0 auto;
}

@media screen and (max-width: 767px) {
  .cap-track {
    gap: 0.5em;
  }
}

/* ===== About page: Mumbai to the world (minimal map) =====
   Dotted map, a line from Mumbai to each client city, labels on hover.
   Behaviour in about/about-map.js. */
.section-map { width: 100%; padding: 8em 1.25em 6em; box-sizing: border-box; }
.map-wrapper { display: flex; flex-direction: column; align-items: center; gap: 2em; width: 100%; max-width: var(--size-container, 90em); margin: 0 auto; }

.gmap { width: 100%; max-width: 70em; }
#gmap-svg { display: block; width: 100%; height: auto; overflow: visible; }

.gmap-land { fill: none; stroke: rgba(46, 51, 53, 0.24); stroke-width: 4.6; stroke-linecap: round; }

.gmap-arc {
  fill: none;
  stroke: var(--brand-primary, #B84D4C);
  stroke-width: var(--aw, 1.4);
  opacity: 0.5;
  transition: stroke-dashoffset 1.6s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.3s ease, stroke-width 0.3s ease;
}
.gmap-arc.is-on { opacity: 1; stroke-width: calc(var(--aw, 1.4) * 1.9); }

/* each client is a round logo on its city; --s (set by JS) keeps it readable on any width */
#gmap-svg { --s: 1; }
.gmap-pin { cursor: pointer; outline: none; }
.gmap-av { transform: scale(var(--s)); transform-origin: 0 0; transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.gmap-pin:hover .gmap-av, .gmap-pin:focus-visible .gmap-av, .gmap-pin.is-on .gmap-av { transform: scale(calc(var(--s) * 1.35)); }
.gmap-av-hit { fill: transparent; }
.gmap-av-ring { fill: #fff; stroke: var(--brand-black, #2E3335); stroke-width: 1.2; transition: stroke 0.25s ease, stroke-width 0.25s ease; }
.gmap-pin:hover .gmap-av-ring, .gmap-pin:focus-visible .gmap-av-ring, .gmap-pin.is-on .gmap-av-ring { stroke: var(--brand-primary, #B84D4C); stroke-width: 2.4; }
.gmap-pin:focus-visible .gmap-av-ring { stroke-width: 3; }

.gmap-label { font-size: 16px; fill: var(--brand-black, #2E3335); font-family: var(--font-secondary, sans-serif); font-weight: 500; letter-spacing: 0.03em; paint-order: stroke; stroke: var(--brand-white, #FBF3F3); stroke-width: 5px; stroke-linejoin: round; pointer-events: none; }

.gmap-hub-dot { fill: var(--brand-primary, #B84D4C); }
.gmap-hub-pulse { fill: none; stroke: var(--brand-primary, #B84D4C); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: gmap-pulse 2.4s ease-out infinite; }
@keyframes gmap-pulse { from { transform: scale(0.8); opacity: 0.8; } to { transform: scale(4); opacity: 0; } }
.gmap-hub-text { fill: var(--brand-primary, #B84D4C); font-family: var(--font-secondary, sans-serif); font-size: 13px; font-weight: 600; letter-spacing: 0.16em; paint-order: stroke; stroke: var(--brand-white, #FBF3F3); stroke-width: 5px; stroke-linejoin: round; }

.gmap-caption { margin: 0; font-family: var(--font-secondary); font-size: 1.15em; text-align: center; color: var(--brand-primary, #B84D4C); }
.gmap-hint { opacity: 0.6; }
.gmap-note { margin: 0; font-family: var(--font-secondary); font-size: 0.8em; opacity: 0.5; text-align: center; }

/* info line + client cards: phones only (the map labels are too small to read there) */
.gmap-info, .gmap-list { display: none; }

@media screen and (max-width: 767px) {
  .section-map { padding: 5em 0.75em 4em; }
  .map-wrapper { gap: 1.4em; }
  .gmap-label { display: none; }

  /* the map is about 2.3x the screen: swipe it sideways, it opens centred on Mumbai */
  .gmap-scroll {
    margin: 0 -0.75em; overflow-x: auto; overflow-y: hidden;
    -webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .gmap-scroll::-webkit-scrollbar { display: none; }
  .gmap-scroll #gmap-svg { width: 230%; max-width: none; }

  .gmap-info {
    display: flex; flex-direction: column; align-items: center; gap: 0.2em;
    margin-top: 0.4em; padding: 0 0.5em; text-align: center; min-height: 3.4em; justify-content: center;
    font-family: var(--font-secondary); color: var(--brand-black, #2E3335);
  }
  .gmap-info strong { font-family: var(--font-primary-dark); font-size: 2.1em; font-weight: 400; line-height: 1; text-transform: uppercase; }
  .gmap-info span { font-size: 1.05em; color: var(--brand-primary, #B84D4C); }

  .gmap-list {
    display: flex; gap: 0.7em; margin: 0.8em -0.75em 0; padding: 0.4em 0.75em 0.8em;
    overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .gmap-list::-webkit-scrollbar { display: none; }
  .gmap-card {
    flex: none; display: inline-flex; align-items: center; gap: 0.7em; scroll-snap-align: center;
    padding: 0.5em 1.1em 0.5em 0.5em; border-radius: 999px; cursor: pointer;
    border: 1px solid rgba(46, 51, 53, 0.25); background: #fff; color: var(--brand-black, #2E3335);
    font-family: var(--font-secondary); text-align: left;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
  }
  .gmap-card img { width: 2.6em; height: 2.6em; border-radius: 50%; object-fit: cover; flex: none; }
  .gmap-card span { display: flex; flex-direction: column; gap: 0.1em; line-height: 1.1; }
  .gmap-card strong { font-size: 0.98em; font-weight: 500; white-space: nowrap; }
  .gmap-card em { font-style: normal; font-size: 0.82em; opacity: 0.65; white-space: nowrap; }
  .gmap-card.is-on { background: var(--brand-primary, #B84D4C); color: #FBF3F3; border-color: var(--brand-primary, #B84D4C); }
  .gmap-card:focus-visible { outline: 2px solid var(--brand-primary, #B84D4C); outline-offset: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .gmap-hub-pulse { animation: none; opacity: 0.4; }
  .gmap-arc { transition: none; }
}

/* ===== team ID cards ===== */
.about-team-btm { padding-top: 1em; justify-content: space-evenly; }
.team-card.has-id { width: 27%; align-items: center; perspective: 1100px; overflow: visible; gap: 0 !important; outline-offset: 6px; }
.id-hang { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center;
  transform-origin: 50% 0; will-change: transform; }
.id-strap { position: relative; width: 1.9em; height: 7em; margin-top: -1em; overflow: hidden; z-index: 1;
  background: var(--brand-black);
  box-shadow: inset .35em 0 0 rgba(255,255,255,.07), inset -.35em 0 0 rgba(0,0,0,.35); }
.id-strap span { position: absolute; left: 50%; top: 0; writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg);
  font: 700 .62em/1.9 var(--font-secondary); letter-spacing: .12em; color: var(--brand-primary); white-space: nowrap; }
.id-clip { position: relative; z-index: 3; width: 2.6em; height: 2.4em; margin-top: -.6em; margin-bottom: -1.3em;
  border-radius: .5em .5em .9em .9em; background: linear-gradient(135deg,#f3f4f5,#9aa0a4 55%,#e6e8ea);
  box-shadow: 0 .25em .6em rgba(0,0,0,.35); display: flex; align-items: flex-end; justify-content: center; }
.id-clip i { display: block; width: 1.1em; height: .5em; margin-bottom: .45em; border-radius: .3em; background: #5d6367; }

.id-card { position: relative; z-index: 2; width: 100%; transform-style: preserve-3d; will-change: transform; }
.id-face { padding: 1.9em 1.1em 1em; border-radius: 1.3em; background: var(--brand-secondary); color: var(--brand-black);
  overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 .15em 0 var(--brand-black), 0 1.6em 2.6em rgba(0,0,0,.32); }
.id-front { position: relative; }
.id-back { position: absolute; inset: 0; transform: rotateY(180deg); display: flex; flex-direction: column; background: var(--brand-black); color: var(--brand-secondary); }
.id-back .id-slot { background: var(--brand-primary); }

.id-slot { position: absolute; top: .7em; left: 50%; width: 3.4em; height: .7em; transform: translateX(-50%);
  border-radius: 1em; background: var(--brand-primary); box-shadow: inset 0 .12em .25em rgba(0,0,0,.45); }
.id-head { display: flex; justify-content: space-between; align-items: baseline; margin-top: .6em; padding: 0 .1em .6em;
  font-family: var(--font-secondary); text-transform: uppercase; }
.id-head b { font-size: 1.1em; letter-spacing: .06em; color: var(--brand-primary); }
.id-head em { font-style: normal; font-size: .75em; letter-spacing: .18em; opacity: .7; }

.id-photo { position: relative; }
.id-photo .team-img-wrapper { height: 22em; border: 0; box-shadow: none; border-radius: .8em; }
.id-photo .team-img { will-change: transform; }
.id-hint { position: absolute; right: .7em; bottom: .7em; padding: .35em .8em; border-radius: 2em; font: 700 .7em var(--font-secondary);
  letter-spacing: .14em; background: var(--brand-black); color: var(--brand-secondary); opacity: 0; transform: translateY(.4em);
  transition: opacity .25s, transform .25s; pointer-events: none; }
.team-card:hover .id-hint, .team-card:focus-visible .id-hint { opacity: 1; transform: none; }

.id-info { padding: .7em .1em .2em; }
.id-info .team-name { color: var(--brand-black) !important; margin-top: 0; font-size: 2.1em; }
.id-info .team-sub { color: var(--brand-primary) !important; margin-top: .35em; font-weight: 700; letter-spacing: .06em; }

.id-foot { display: flex; align-items: center; justify-content: space-between; gap: .8em; margin-top: auto; padding-top: .7em;
  border-top: .12em dashed rgba(46,51,53,.35); }
.id-front .id-foot { margin-top: .9em; }
.id-back .id-foot { border-top-color: rgba(251,243,243,.3); }
.id-no { font: 700 .72em var(--font-secondary); letter-spacing: .14em; opacity: .65; white-space: nowrap; }
.id-bars { flex: 1; height: 1.7em; max-width: 7.5em; opacity: .85;
  background: repeating-linear-gradient(90deg, var(--brand-black) 0 .1em, transparent .1em .22em, var(--brand-black) .22em .42em, transparent .42em .5em, var(--brand-black) .5em .58em, transparent .58em .8em); }
.id-back .id-bars { background: repeating-linear-gradient(90deg, var(--brand-secondary) 0 .1em, transparent .1em .22em, var(--brand-secondary) .22em .42em, transparent .42em .5em, var(--brand-secondary) .5em .58em, transparent .58em .8em); }
.id-sheen { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.95) 48%, transparent 66%) 50% 50% / 260% 100% no-repeat; opacity: .55; }

.id-back-name { font-family: var(--font-primary-dark); font-size: 2.1em; line-height: 1; margin-top: .3em; }
.id-back-role { font: 700 .95em var(--font-secondary); letter-spacing: .06em; text-transform: uppercase; color: var(--brand-primary); margin: .5em 0 1em; }
.id-back-body { font-family: var(--font-secondary); font-size: 1.05em; line-height: 1.45; flex: 1; overflow: auto; }
.id-back-body p { margin: 0 0 .8em; }
.id-back-socials { display: flex; gap: .7em; flex-wrap: wrap; margin: .6em 0 1em; }
.id-back-socials a { display: inline-flex; align-items: center; gap: .5em; padding: .55em 1em; border-radius: 2em;
  background: var(--brand-primary); color: var(--brand-secondary); font: 700 .85em var(--font-secondary); text-decoration: none;
  transition: transform .2s; }
.id-back-socials a:hover { transform: translateY(-2px); }

@media (max-width: 767px) {
  .team-card.has-id { width: 78%; }
  .id-photo .team-img-wrapper { height: 19em; }
}

/* ===== principles stack ===== */
.value-card { overflow: hidden !important; border-radius: 1.6em 1.6em 0 0; border: 0 !important; padding: 1.6em 2em 0 !important;
  box-shadow: 0 -.6em 1.6em rgba(46,51,53,.10); }
.value-card:nth-child(1) { background: var(--brand-secondary); }
.value-card:nth-child(2) { background: #F3DEDC; }
.value-card:nth-child(3) { background: var(--brand-primary); --vc-ink: var(--brand-secondary); }
.value-card:nth-child(4) { background: var(--brand-black); --vc-ink: var(--brand-secondary); }
.value-card:nth-child(n+3) .value-text,
.value-card:nth-child(n+3) .value-heading,
.value-card:nth-child(n+3) .value-para { color: var(--brand-secondary) !important; }
.value-card:nth-child(4) .value-heading { color: var(--brand-primary) !important; }
.value-card:nth-child(n+3) .value-progress { background-color: var(--brand-secondary); }
.value-text { display: flex !important; justify-content: space-between; align-items: center; width: 100%; }
.value-tag { padding: .45em 1em; border-radius: 2em; border: 1px solid currentColor; font-size: .7em; letter-spacing: .12em; text-transform: uppercase; }
.value-num { position: absolute; right: 1.2em; bottom: -.18em; font-family: var(--font-primary-dark); font-size: 15em; line-height: 1;
  color: transparent; -webkit-text-stroke: 2px rgba(184,77,76,.28); pointer-events: none; user-select: none; }
.value-card:nth-child(n+3) .value-num { -webkit-text-stroke-color: rgba(251,243,243,.28); }
.value-content { position: relative; z-index: 1; }
@media (max-width: 767px) {
  .value-card { padding: 1.2em 1.1em 0 !important; border-radius: 1.2em 1.2em 0 0; }
  .value-num { font-size: 8em; right: .4em; }
}

/* principles: alignment pass */
.value-card { gap: 1.6em !important; }
.value-content { gap: 2em; align-items: flex-start !important; }
.value-heading { max-width: 7.5em !important; }
.value-para { max-width: 33% !important; padding-top: .35em; }
.value-progress { position: absolute !important; left: 0; right: 0; bottom: 0; top: auto; width: 100% !important; height: 2px !important; }
/* number sits in the paragraph column, left edge aligned with the paragraph text */
.value-num { left: auto !important; right: 2em !important; bottom: -.2em !important; width: calc((100% - 4em) * .33);
  text-align: left; white-space: nowrap; letter-spacing: -.02em; }
@media (max-width: 767px) {
  .value-content { flex-direction: column; gap: 1em; }
  .value-para { max-width: 100% !important; padding-top: 0; }
  .value-num { width: auto; right: .6em !important; }
}
.value-num { font-size: 1em !important; line-height: 1; height: 0; }
.value-num span { position: absolute; left: 0; bottom: 0; transform: translateY(15%); font-size: 15em; line-height: .8; display: block;
  font-family: var(--font-primary-dark); color: transparent; -webkit-text-stroke: inherit; }
.value-num { -webkit-text-stroke: 2px rgba(184,77,76,.28); bottom: 0 !important; }
.value-card:nth-child(n+3) .value-num { -webkit-text-stroke-color: rgba(251,243,243,.28); }
@media (max-width: 767px) { .value-num span { font-size: 8em; right: 0; left: auto; } }

/* space between the principles stack and the capabilities heading */
.section-what-we-do { padding-top: 6em !important; }
@media (max-width: 767px) { .section-what-we-do { padding-top: 3.5em !important; } }

/* about hero heading: centred lines, pills flank line one instead of covering letters */
.about-hero-text { padding-left: 1.25em !important; padding-right: 1.25em !important; }
.about-hero-text .heading { text-align: center !important; width: 100%; max-width: 100% !important; margin-left: auto; margin-right: auto; }
.about-hero-text .work-hero-pill.two { top: 10% !important; right: 2% !important; bottom: auto !important; left: auto !important; }
.about-hero-text .work-hero-pill.one { top: 10% !important; left: 2% !important; bottom: auto !important; right: auto !important; }
@media (max-width: 991px) {
  .about-hero-text .work-hero-pill { position: static !important; transform: none !important; margin: .6em auto; display: flex; width: max-content; }
}

/* about hero heading: always exactly two lines, scale down on narrower screens */
.about-hero-text .heading { font-size: min(10em, calc((100vw - 40px) / 7.3)) !important; white-space: nowrap; }
