/* ==========================================================
   CSS START — CLICKIN OUR TEAM PAGE HERO SECTION
   ========================================================== */

.team-hero {
  --th-brand: #2c3480;
  --th-ink: var(--color-heading, currentColor);
  --th-line: var(--color-border, rgba(128, 128, 128, 0.26));
  --th-text: var(--color-text, inherit);
  --th-sub: var(--color-text, inherit);
  --th-faint: var(--color-text, inherit);
  --th-brand-text: var(--th-ink);
  --th-card: #fff;
  --th-tint: transparent;
  --th-font: var(--font-primary, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);

  position: relative;
  width: 100%;
  margin: 0;
  padding: calc(var(--header-height, 56px) + 44px) 0 56px;
  background: #fff;
  color: var(--color-body, inherit);
  font-family: var(--th-font);
  overflow: hidden;
  box-sizing: border-box;
}

/* site dark theme: keep the site's own background */
html[data-theme="dark"] .team-hero {
  --th-card: transparent;
  --th-tint: rgba(255, 255, 255, 0.035);
  background: transparent;
}

/* readable greys + brand text colour that works on both themes */
@supports (color: color-mix(in srgb, red 50%, blue)) {
  .team-hero {
    --th-text: color-mix(in srgb, var(--th-ink) 78%, transparent);
    --th-sub: color-mix(in srgb, var(--th-ink) 62%, transparent);
    --th-faint: color-mix(in srgb, var(--th-ink) 50%, transparent);
    --th-brand-text: color-mix(in srgb, var(--th-brand) 58%, var(--th-ink));
  }
}

.team-hero,
.team-hero * {
  box-sizing: border-box;
}

.team-hero a,
.team-hero a:link,
.team-hero a:visited,
.team-hero a:hover,
.team-hero a:focus,
.team-hero a:active {
  text-decoration: none;
}

.team-hero a:focus-visible {
  outline: 2px solid var(--th-brand-text);
  outline-offset: 3px;
}

/* faint grid + brand glow in the background */
.team-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--th-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--th-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 85% at 70% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 85% at 70% 0%, #000 0%, transparent 72%);
  opacity: 0.4;
  pointer-events: none;
}

html[data-theme="dark"] .team-hero::before {
  opacity: 0.5;
}

.team-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(520px circle at var(--mx, 72%) var(--my, 4%), var(--th-brand), transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

html[data-theme="dark"] .team-hero::after {
  opacity: 0.3;
}

.team-hero-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-width, 1180px);
  margin: 0 auto;
  padding: 0 var(--container-padding-x, 22px);
}

.team-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 48px;
}

/* ---------- Copy ---------- */

.team-hero-copy {
  min-width: 0;
}

.team-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  padding: 6px 14px 6px 11px;
  border: 1px solid var(--th-line);
  border-radius: 999px;
  background: linear-gradient(var(--th-tint), var(--th-tint)), var(--th-card);
  color: var(--th-brand-text);
  font-family: var(--th-font);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.team-hero-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--th-brand-text);
}

.team-hero-title {
  max-width: 560px;
  margin: 0;
  padding: 0;
  color: var(--th-ink);
  font-family: var(--th-font);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.04em;
  text-align: left;
  text-wrap: balance;
}

.team-hero-description {
  max-width: 560px;
  margin: 16px 0 0;
  padding: 0;
  color: var(--th-text);
  font-family: var(--th-font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  text-align: left;
}

.team-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.team-hero-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--th-line);
  border-radius: 9px;
  overflow: hidden;
  font-family: var(--th-font);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  transition: transform 0.2s ease, border-color 0.25s ease;
}

.team-hero-btn svg {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
}

.team-hero a.team-hero-btn--primary,
.team-hero a.team-hero-btn--primary:link,
.team-hero a.team-hero-btn--primary:visited,
.team-hero a.team-hero-btn--primary:hover,
.team-hero a.team-hero-btn--primary:focus,
.team-hero a.team-hero-btn--primary:active {
  border-color: var(--th-brand);
  background: var(--th-brand);
  color: #fff;
}

.team-hero a.team-hero-btn--ghost,
.team-hero a.team-hero-btn--ghost:link,
.team-hero a.team-hero-btn--ghost:visited,
.team-hero a.team-hero-btn--ghost:hover,
.team-hero a.team-hero-btn--ghost:focus,
.team-hero a.team-hero-btn--ghost:active {
  background: linear-gradient(var(--th-tint), var(--th-tint)), var(--th-card);
  color: var(--th-ink);
}

/* shine sweep on the main button */

.team-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 28px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--th-line);
  list-style: none;
}

.team-hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--th-sub);
  font-family: var(--th-font);
  font-size: 12px;
  line-height: 1.4;
}

.team-hero-facts li::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--th-brand-text);
}

.team-hero-facts strong {
  color: var(--th-ink);
  font-weight: 600;
}

/* ---------- Visual: three disciplines connected to one team ---------- */

.team-hero-visual {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 480 / 360;
  margin-left: auto;
}

.team-hero-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: var(--th-brand-text);
  stroke-width: 1.4;
  stroke-linecap: round;
  opacity: 0.7;
}

.team-hero-lines path {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.team-hero-core {
  position: absolute;
  top: 40.6%;
  left: 42.9%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14.2%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: var(--th-brand);
  color: #fff;
  font-family: var(--th-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.team-hero-core::before {
  content: "";
  position: absolute;
  inset: -9px;
  border: 1px solid var(--th-brand-text);
  border-radius: 50%;
  opacity: 0.35;
}

.team-hero-chip {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 37.5%;
  padding: 12px;
  border: 1px solid var(--th-line);
  border-radius: var(--radius-lg, 14px);
  background: linear-gradient(var(--th-tint), var(--th-tint)), var(--th-card);
}

.team-hero-chip--1 { top: 2.8%; left: 0; }
.team-hero-chip--2 { top: 40.3%; left: 62.5%; }
.team-hero-chip--3 { top: 77.2%; left: 0; }

.team-hero-chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: var(--th-brand);
  color: #fff;
}

.team-hero-chip-icon svg {
  display: block;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.team-hero-chip-text {
  min-width: 0;
}

.team-hero-chip-title {
  display: block;
  color: var(--th-ink);
  font-family: var(--th-font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.team-hero-chip-sub {
  display: block;
  margin-top: 3px;
  color: var(--th-sub);
  font-family: var(--th-font);
  font-size: 11.5px;
  line-height: 1.4;
}

/* ---------- Hover ---------- */

@media (hover: hover) {
  .team-hero-btn--primary:hover {
    opacity: 0.9;
  }



  .team-hero-btn--ghost:hover {
    border-color: var(--th-faint);
  }

  .team-hero-btn:hover svg {
    transform: translateX(3px);
  }
}

/* ---------- Entry animation (classes are added by team-hero.js) ---------- */

.team-hero .th-pre {
  opacity: 0;
  transform: translateY(16px);
}

.team-hero .th-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease var(--th-d, 0ms),
              transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) var(--th-d, 0ms);
}

.team-hero .team-hero-chip.th-pre,
.team-hero .team-hero-core.th-pre {
  transform: translateY(14px) scale(0.96);
}

/* lines draw themselves once the page is ready */
.team-hero-lines path {
  transition: stroke-dashoffset 1.4s cubic-bezier(0.65, 0, 0.25, 1) 0.6s;
}

.team-hero.th-lines-pre .team-hero-lines path {
  stroke-dashoffset: 1;
}

/* ---------- Tablet: visual becomes a 3-column row ---------- */

@media (max-width: 1023px) {
  .team-hero {
    padding: calc(var(--header-height, 56px) + 32px) 0 44px;
  }

  .team-hero-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .team-hero-title,
  .team-hero-description {
    max-width: 640px;
  }

  .team-hero-visual {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: none;
    aspect-ratio: auto;
    margin-left: 0;
  }

  .team-hero-lines,
  .team-hero-core {
    display: none;
  }

  .team-hero-chip,
  .team-hero-chip--1,
  .team-hero-chip--2,
  .team-hero-chip--3 {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
  }
}

/* ---------- Mobile: compact, heading 30px / 600 ---------- */

@media (max-width: 767px) {
  .team-hero {
    padding: calc(var(--header-height, 56px) + 24px) 0 30px;
  }

  .team-hero-container {
    padding: 0 var(--container-padding-x, 16px);
  }

  .team-hero-layout {
    gap: 26px;
  }

  .team-hero-eyebrow {
    margin-bottom: 14px;
    font-size: 11px;
  }

  .team-hero-title {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -0.035em;
  }

  .team-hero-description {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.7;
  }

  .team-hero-actions {
    flex-direction: column;
    gap: 8px;
    margin-top: 22px;
  }

  .team-hero-btn {
    width: 100%;
    min-height: 40px;
    font-size: 13.5px;
  }

  .team-hero-facts {
    flex-direction: column;
    gap: 8px;
    margin-top: 22px;
    padding-top: 16px;
  }

  .team-hero-facts li {
    font-size: 13px;
  }

  .team-hero-visual {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .team-hero-chip {
    padding: 12px 14px;
    align-items: center;
  }

  .team-hero-chip-title {
    font-size: 14.5px;
  }

  .team-hero-chip-sub {
    font-size: 12.5px;
  }
}

/* ---------- Light theme: premium finish (white background stays) ---------- */

/* heading: gradient with #2c3480 */
html:not([data-theme="dark"]) .team-hero-title {
  background: linear-gradient(115deg, var(--th-ink) 0%, #2c3480 52%, #4a56b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #2c3480;
}

/* faint brand-tinted grid */
html:not([data-theme="dark"]) .team-hero::before {
  background-image:
    linear-gradient(rgba(44, 52, 128, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 52, 128, 0.07) 1px, transparent 1px);
  opacity: 1;
}

/* eyebrow: gradient hairline border */
html:not([data-theme="dark"]) .team-hero-eyebrow {
  border: 1px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(120deg, rgba(44, 52, 128, 0.55), rgba(44, 52, 128, 0.12)) border-box;
  color: #2c3480;
}

html:not([data-theme="dark"]) .team-hero-eyebrow::before {
  background: #2c3480;
}

/* buttons */
html:not([data-theme="dark"]) .team-hero a.team-hero-btn--primary {
  border-color: #2c3480;
  background: #2c3480;
}

html:not([data-theme="dark"]) .team-hero a.team-hero-btn--ghost {
  background: #fff;
  border-color: rgba(44, 52, 128, 0.2);
}

/* facts row */
html:not([data-theme="dark"]) .team-hero-facts {
  border-top-color: rgba(44, 52, 128, 0.14);
}

html:not([data-theme="dark"]) .team-hero-facts li::before {
  background: #2c3480;
}

/* visual: soft depth on white */
html:not([data-theme="dark"]) .team-hero-visual::before {
  content: "";
  position: absolute;
  inset: -6%;
  background: radial-gradient(55% 55% at 50% 50%, rgba(44, 52, 128, 0.07), transparent 72%);
  pointer-events: none;
}

html:not([data-theme="dark"]) .team-hero-lines {
  stroke: #2c3480;
  opacity: 0.5;
}

html:not([data-theme="dark"]) .team-hero-chip {
  border-color: rgba(44, 52, 128, 0.14);
  background: linear-gradient(180deg, #fff 0%, #f8f9fe 100%);
}

html:not([data-theme="dark"]) .team-hero-chip-icon {
  border-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, #3a45a6 0%, #2c3480 100%);
}

html:not([data-theme="dark"]) .team-hero-core {
  background: linear-gradient(180deg, #3a45a6 0%, #2c3480 100%);
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .team-hero .th-pre,
  .team-hero .th-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .team-hero-lines path,
  .team-hero-btn,
  .team-hero-btn svg,
  .team-hero-btn--primary::after,
  .team-hero::after {
    transition: none;
  }
}

/* ==========================================================
   CSS END — CLICKIN OUR TEAM PAGE HERO SECTION
   ========================================================== */


/* ==========================================================
   CSS START — CLICKIN OUR TEAM PAGE: VISION / FOUNDER SECTION
   Theme-aware, #2c3480 only, no shadows, slim buttons.
   ========================================================== */

.team-vision {
  --tv-brand: #2c3480;
  --tv-ink: var(--color-heading, currentColor);
  --tv-line: var(--color-border, rgba(128, 128, 128, 0.26));
  --tv-text: var(--color-text, inherit);
  --tv-sub: var(--color-text, inherit);
  --tv-faint: var(--color-text, inherit);
  --tv-brand-text: var(--tv-ink);
  --tv-card: #fff;
  --tv-tint: transparent;
  --tv-font: var(--font-primary, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);

  position: relative;
  width: 100%;
  margin: 0;
  padding: 8px 0 64px;
  background: #fff;
  color: var(--color-body, inherit);
  font-family: var(--tv-font);
  overflow: hidden;
  box-sizing: border-box;
}

html[data-theme="dark"] .team-vision {
  --tv-card: transparent;
  --tv-tint: rgba(255, 255, 255, 0.035);
  background: transparent;
}

@supports (color: color-mix(in srgb, red 50%, blue)) {
  .team-vision {
    --tv-text: color-mix(in srgb, var(--tv-ink) 78%, transparent);
    --tv-sub: color-mix(in srgb, var(--tv-ink) 62%, transparent);
    --tv-faint: color-mix(in srgb, var(--tv-ink) 50%, transparent);
    --tv-brand-text: color-mix(in srgb, var(--tv-brand) 58%, var(--tv-ink));
  }
}

.team-vision,
.team-vision * {
  box-sizing: border-box;
}

.team-vision a,
.team-vision a:link,
.team-vision a:visited,
.team-vision a:hover,
.team-vision a:focus,
.team-vision a:active {
  text-decoration: none;
}

.team-vision a:focus-visible {
  outline: 2px solid var(--tv-brand-text);
  outline-offset: 3px;
}

.team-vision-container {
  width: 100%;
  max-width: var(--container-width, 1180px);
  margin: 0 auto;
  padding: 0 var(--container-padding-x, 22px);
}

/* ---------- One large split card ---------- */

.team-vision-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  border: 1px solid var(--tv-line);
  border-radius: 16px;
  background: linear-gradient(var(--tv-tint), var(--tv-tint)), var(--tv-card);
  overflow: hidden;
}

/* ---------- Content side ---------- */

.team-vision-content {
  position: relative;
  min-width: 0;
  padding: 48px 48px 44px;
}

/* faint grid in the top-left corner */
.team-vision-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 320px;
  height: 240px;
  background-image:
    linear-gradient(var(--tv-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--tv-line) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse at 0% 0%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 0% 0%, #000 0%, transparent 70%);
  opacity: 0.55;
  pointer-events: none;
}

.team-vision-content > * {
  position: relative;
}

.team-vision-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--tv-brand-text);
  font-family: var(--tv-font);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.team-vision-eyebrow::after {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--tv-line);
}

/* heading size = same as the site's other H2 sections */
.team-vision-title {
  max-width: 520px;
  margin: 0;
  padding: 0;
  color: var(--tv-ink);
  font-family: var(--tv-font);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.04em;
  text-align: left;
  text-wrap: balance;
}

html:not([data-theme="dark"]) .team-vision-title {
  background: linear-gradient(115deg, var(--tv-ink) 0%, #2c3480 55%, #4a56b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #2c3480;
}

.team-vision-description {
  max-width: 560px;
  margin: 16px 0 0;
  padding: 0;
  color: var(--tv-text);
  font-family: var(--tv-font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  text-align: left;
}

/* ---------- Quote ---------- */

.team-vision-quote {
  position: relative;
  max-width: 560px;
  margin: 28px 0 0;
  padding: 4px 0 4px 22px;
  border-left: 2px solid var(--tv-brand);
}

.team-vision-quote-mark {
  display: block;
  width: 22px;
  height: 22px;
  margin: 0 0 10px;
  fill: none;
  stroke: var(--tv-brand-text);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.team-vision-quote blockquote {
  margin: 0;
  padding: 0;
}

.team-vision-quote p {
  margin: 0;
  color: var(--tv-ink);
  font-family: var(--tv-font);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.015em;
}

.team-vision-quote figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 14px;
  color: var(--tv-ink);
  font-family: var(--tv-font);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.team-vision-quote figcaption span {
  color: var(--tv-sub);
  font-weight: 400;
}

.team-vision-quote figcaption span::before {
  content: "/";
  margin-right: 10px;
  color: var(--tv-faint);
}

/* ---------- Button (slim, no shadow) ---------- */

.team-vision-actions {
  margin-top: 28px;
}

.team-vision-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--tv-brand);
  border-radius: 9px;
  background: var(--tv-brand);
  overflow: hidden;
  font-family: var(--tv-font);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  transition: transform 0.2s ease;
}

.team-vision a.team-vision-btn,
.team-vision a.team-vision-btn:link,
.team-vision a.team-vision-btn:visited,
.team-vision a.team-vision-btn:hover,
.team-vision a.team-vision-btn:focus,
.team-vision a.team-vision-btn:active {
  color: #fff;
}

html:not([data-theme="dark"]) .team-vision a.team-vision-btn {
  border-color: #2c3480;
  background: #2c3480;
}

.team-vision-btn svg {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
}

/* shine sweep */

@media (hover: hover) {
  .team-vision-btn:hover {
    opacity: 0.9;
  }


  .team-vision-btn:hover .team-vision-btn-arrow {
    transform: translateX(3px);
  }
}

/* ---------- Founder photo panel ---------- */

.team-vision-panel {
  position: relative;
  min-width: 0;
  min-height: 520px;
  border-left: 1px solid var(--tv-line);
  background: var(--tv-brand);
  overflow: hidden;
}

.team-vision-panel img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* dark fade at the bottom so the caption is always readable */
.team-vision-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 10, 24, 0) 48%, rgba(8, 10, 24, 0.86) 100%);
  pointer-events: none;
}

.team-vision-caption {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.team-vision-caption strong {
  color: #fff;
  font-family: var(--tv-font);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.team-vision-caption span {
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--tv-font);
  font-size: 13px;
  line-height: 1.4;
}

/* ---------- Scroll reveal (classes added by our-team.js) ---------- */

.team-vision .tv-pre {
  opacity: 0;
  transform: translateY(16px);
}

.team-vision .tv-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease var(--tv-d, 0ms),
              transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) var(--tv-d, 0ms);
}

/* photo panel unveils from the bottom, photo settles from a slight zoom */
.team-vision .team-vision-panel.tv-pre {
  opacity: 1;
  transform: none;
  clip-path: inset(100% 0 0 0);
}

.team-vision .team-vision-panel.tv-in {
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.1s cubic-bezier(0.65, 0, 0.25, 1) var(--tv-d, 0ms);
}

.team-vision .team-vision-panel.tv-pre img {
  transform: scale(1.08);
}

.team-vision .team-vision-panel.tv-in img {
  transform: none;
  transition: transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) var(--tv-d, 0ms);
}

/* ---------- Tablet ---------- */

@media (max-width: 900px) {
  .team-vision-title {
    font-size: 28px;
  }

  .team-vision-card {
    grid-template-columns: 1fr;
  }

  .team-vision-panel {
    order: -1;
    min-height: 0;
    aspect-ratio: 16 / 10;
    border-left: 0;
    border-bottom: 1px solid var(--tv-line);
  }

  .team-vision-panel img {
    object-position: center 20%;
  }

  .team-vision-content {
    padding: 36px 32px 34px;
  }
}

/* ---------- Mobile: compact ---------- */

@media (max-width: 767px) {
  .team-vision {
    padding: 4px 0 40px;
  }

  .team-vision-container {
    padding: 0 var(--container-padding-x, 16px);
  }

  .team-vision-card {
    border-radius: 14px;
  }

  .team-vision-panel {
    aspect-ratio: 4 / 3;
  }

  .team-vision-caption {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }

  .team-vision-caption strong {
    font-size: 18px;
  }

  .team-vision-caption span {
    font-size: 13px;
  }

  .team-vision-content {
    padding: 24px 18px 22px;
  }

  .team-vision-eyebrow {
    margin-bottom: 14px;
    font-size: 11px;
  }

  .team-vision-description {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.7;
  }

  .team-vision-quote {
    margin-top: 22px;
    padding-left: 16px;
  }

  .team-vision-quote p {
    font-size: 15.5px;
  }

  .team-vision-actions {
    margin-top: 22px;
  }

  .team-vision-btn {
    width: 100%;
    min-height: 36px;
    font-size: 13px;
  }

  .team-vision .tv-pre {
    transform: translateY(14px);
  }
}

@media (max-width: 480px) {
  .team-vision-title {
    font-size: 22px;
    line-height: 1.28;
    letter-spacing: -0.035em;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .team-vision .tv-pre,
  .team-vision .tv-in,
  .team-vision .team-vision-panel.tv-pre,
  .team-vision .team-vision-panel.tv-in {
    opacity: 1;
    transform: none;
    clip-path: none;
    transition: none;
  }

  .team-vision .team-vision-panel.tv-pre img,
  .team-vision .team-vision-panel.tv-in img {
    transform: none;
    transition: none;
  }

  .team-vision-btn,
  .team-vision-btn svg {
    transition: none;
  }
}

/* ==========================================================
   CSS END — CLICKIN OUR TEAM PAGE: VISION / FOUNDER SECTION
   ========================================================== */
   
/* ============== VISION & FOUNDER SECTION CSS START ============== */

.cl-vision {
  --vs-ink: var(--color-heading, currentColor);
  --vs-accent: #2c3480;
  --vs-line: rgba(128, 128, 128, 0.24);
  --vs-line-strong: rgba(128, 128, 128, 0.38);
  --vs-text: rgba(128, 128, 128, 0.95);
  --vs-sub: rgba(128, 128, 128, 0.9);
  --vs-faint: rgba(128, 128, 128, 0.6);
  --vs-surface: rgba(128, 128, 128, 0.04);
  --vs-white: transparent;
  --vs-radius: var(--radius-lg, 14px);

  width: 100%;
  margin: 0;
  padding: 10px 0 30px;
  color: var(--color-body, inherit);
  font-family: var(--font-primary, inherit);
  background: transparent;
  overflow: hidden;
}

/* theme-aware tones: follow light / dark through the heading colour */
@supports (color: color-mix(in srgb, red 50%, blue)) {
  .cl-vision {
    --vs-line: color-mix(in srgb, var(--vs-ink) 12%, transparent);
    --vs-line-strong: color-mix(in srgb, var(--vs-ink) 22%, transparent);
    --vs-text: color-mix(in srgb, var(--vs-ink) 74%, transparent);
    --vs-sub: color-mix(in srgb, var(--vs-ink) 58%, transparent);
    --vs-faint: color-mix(in srgb, var(--vs-ink) 36%, transparent);
    --vs-surface: color-mix(in srgb, var(--vs-ink) 2.5%, transparent);
  }
}

/* light theme: panel full white */
@media (prefers-color-scheme: light) {
  .cl-vision {
    --vs-white: #fff;
  }
}

@supports (color: oklch(from red calc(l) c h)) {
  .cl-vision {
    --vs-white: oklch(from var(--vs-ink) round(nearest, calc(1 - l), 1) 0 0 / round(nearest, calc(1 - l), 1));
  }
}

[data-theme="light"] .cl-vision {
  --vs-white: #fff;
}

[data-theme="dark"] .cl-vision {
  --vs-white: transparent;
}

.cl-vision,
.cl-vision *,
.cl-vision *::before,
.cl-vision *::after {
  box-sizing: border-box;
}

.cl-vision a {
  -webkit-tap-highlight-color: transparent;
}

.cl-vision__container {
  width: 100%;
  max-width: var(--container-width, 1180px);
  margin: 0 auto;
  padding: 0 var(--container-padding-x, 22px);
}

/* ---------- Panel (one surface, two halves) ---------- */

.cl-vision__panel {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  align-items: stretch;
  border: 1px solid var(--vs-line);
  border-radius: var(--vs-radius);
  background: linear-gradient(var(--vs-white), var(--vs-white)), var(--vs-surface);
  overflow: hidden;
}

/* dotted corner (brand colour only) */
.cl-vision__panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  width: 160px;
  height: 160px;
  background-image: radial-gradient(var(--vs-accent) 1px, transparent 1.4px);
  background-size: 11px 11px;
  opacity: 0.65;
  -webkit-mask-image: radial-gradient(circle at 100% 0, #000 0%, transparent 72%);
  mask-image: radial-gradient(circle at 100% 0, #000 0%, transparent 72%);
  pointer-events: none;
}

/* ---------- Content (left) ---------- */

.cl-vision__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 32px 36px;
}

.cl-vision__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--vs-line);
  border-radius: 999px;
  background: linear-gradient(var(--vs-white), var(--vs-white)), var(--vs-surface);
  color: var(--vs-sub);
  font-family: inherit;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cl-vision__dot {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--vs-accent);
}

.cl-vision .cl-vision__title {
  max-width: 640px;
  margin: 0;
  padding: 0;
  color: var(--vs-ink);
  font-family: inherit;
  font-size: 30px;
  font-weight: var(--heading-weight, 600);
  line-height: 1.22;
  letter-spacing: -0.04em;
  text-align: left;
  text-wrap: balance;
}

.cl-vision__description {
  max-width: 640px;
  margin: 12px 0 0;
  padding: 0;
  color: var(--vs-text);
  font-family: inherit;
  font-size: var(--body-size, 15px);
  font-weight: var(--body-weight, 400);
  line-height: 1.7;
  text-align: left;
}

.cl-vision__quote {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 22px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--vs-line);
}

.cl-vision__quote::before {
  content: "“";
  display: block;
  height: 16px;
  margin-bottom: 6px;
  color: var(--vs-faint);
  font-family: Georgia, serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
}

.cl-vision__quote p {
  margin: 0;
  color: var(--vs-ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: -0.01em;
}

/* ---------- Founder (right) ---------- */

.cl-vision__founder {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: 32px 36px;
  border-left: 1px solid var(--vs-line);
}

.cl-vision__photo {
  position: relative;
  width: 100%;
  max-width: 190px;
  margin: 0;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--vs-line);
  border-radius: 12px;
  background: var(--vs-surface);
  overflow: hidden;
}

.cl-vision__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.cl-vision__meta {
  margin-top: 14px;
  min-width: 0;
}

.cl-vision__name {
  margin: 0;
  padding: 0;
  color: var(--vs-ink);
  font-family: inherit;
  font-size: 18px;
  font-weight: var(--heading-weight, 600);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.cl-vision__role {
  margin: 3px 0 0;
  color: var(--vs-sub);
  font-family: inherit;
  font-size: 13px;
  line-height: 1.5;
}

.cl-vision a.cl-vision__cta,
.cl-vision a.cl-vision__cta:link,
.cl-vision a.cl-vision__cta:visited,
.cl-vision a.cl-vision__cta:hover,
.cl-vision a.cl-vision__cta:focus,
.cl-vision a.cl-vision__cta:active {
  color: #fff;
  text-decoration: none;
}

.cl-vision__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 40px;
  margin-top: 16px;
  padding: 0 18px;
  border: 1px solid var(--vs-accent);
  border-radius: 10px;
  background: var(--vs-accent);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.cl-vision__cta span {
  font-size: 15px;
  line-height: 1;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.cl-vision__cta:focus-visible {
  outline: 2px solid var(--vs-ink);
  outline-offset: 3px;
}

/* ---------- Hover / tap (desktop + mobile) ---------- */

.cl-vision__photo:hover img,
.cl-vision__photo:active img {
  transform: scale(1.04);
}

.cl-vision__cta:hover,
.cl-vision__cta:active {
  opacity: 0.9;
}

.cl-vision__cta:hover span,
.cl-vision__cta:active span {
  transform: translate(3px, -3px);
}

/* ---------- Section reveal (classes added by the reveal JS) ---------- */

@keyframes cl-vision-rise {
  from {
    opacity: 0;
    translate: 0 18px;
  }
}

@keyframes cl-vision-panel {
  from {
    opacity: 0;
    translate: 0 24px;
    scale: 0.985;
  }
}

.cl-vision .cl-rv:not(.cl-rv-in) {
  opacity: 0;
}

.cl-vision .cl-rv-in {
  animation: cl-vision-rise 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) var(--cl-d, 0ms) backwards;
}

.cl-vision .cl-vision__panel.cl-rv-in {
  animation-name: cl-vision-panel;
}

.cl-vision__title {
  --cl-d: 90ms;
}

.cl-vision__description {
  --cl-d: 180ms;
}

.cl-vision__quote {
  --cl-d: 260ms;
}

.cl-vision__founder {
  --cl-d: 140ms;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .cl-vision .cl-vision__title {
    font-size: 28px;
  }

  .cl-vision__panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .cl-vision__content {
    padding: 32px 28px;
  }

  .cl-vision__founder {
    padding: 28px;
    border-left: 0;
    border-top: 1px solid var(--vs-line);
  }

  .cl-vision__photo {
    max-width: 220px;
  }

  .cl-vision__meta {
    margin-top: 18px;
  }

  .cl-vision__cta {
    margin-top: 22px;
    min-height: 42px;
  }
}

@media (max-width: 767px) {
  .cl-vision__eyebrow {
    margin-bottom: 15px;
  }

  .cl-vision__description {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.65;
  }

  .cl-vision__quote {
    margin-top: 26px;
    padding-top: 20px;
  }

  .cl-vision__quote p {
    font-size: 14.5px;
  }
}

/* mobile: compact founder row (photo + name side by side) */
@media (max-width: 640px) {
  .cl-vision__panel::before {
    width: 120px;
    height: 120px;
  }

  .cl-vision__content {
    padding: 24px 20px;
  }

  .cl-vision__founder {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    align-items: center;
    gap: 0 16px;
    padding: 20px;
  }

  .cl-vision__photo {
    max-width: none;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
  }

  .cl-vision__meta {
    margin-top: 0;
  }

  .cl-vision__name {
    font-size: 18px;
  }

  .cl-vision__cta {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 40px;
    margin-top: 18px;
  }
}

@media (max-width: 480px) {
  .cl-vision .cl-vision__title {
    font-size: 22px;
    line-height: 1.28;
    letter-spacing: -0.035em;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .cl-vision .cl-rv:not(.cl-rv-in) {
    opacity: 1;
  }

  .cl-vision .cl-rv-in {
    animation: none !important;
  }

  .cl-vision *,
  .cl-vision *::before,
  .cl-vision *::after {
    transition: none !important;
  }
}

/* ============== VISION & FOUNDER SECTION CSS END ============== */

/* ============== TEAM SECTION CSS START ============== */

.cl-team {
  --tm-ink: var(--color-heading, currentColor);
  --tm-accent: #2c3480;
  --tm-link: #2c3480;
  --tm-line: rgba(128, 128, 128, 0.24);
  --tm-line-strong: rgba(128, 128, 128, 0.38);
  --tm-text: rgba(128, 128, 128, 0.95);
  --tm-sub: rgba(128, 128, 128, 0.9);
  --tm-surface: rgba(128, 128, 128, 0.04);
  --tm-white: transparent;
  --tm-radius: var(--radius-lg, 14px);

  width: 100%;
  margin: 0;
  padding: 10px 0 30px;
  color: var(--color-body, inherit);
  font-family: var(--font-primary, inherit);
  background: transparent;
  /* NOTE: no overflow:hidden here, it would break the sticky left side */
  overflow: clip;
}

/* theme-aware tones: follow light / dark through the heading colour */
@supports (color: color-mix(in srgb, red 50%, blue)) {
  .cl-team {
    --tm-line: color-mix(in srgb, var(--tm-ink) 12%, transparent);
    --tm-line-strong: color-mix(in srgb, var(--tm-ink) 22%, transparent);
    --tm-text: color-mix(in srgb, var(--tm-ink) 74%, transparent);
    --tm-sub: color-mix(in srgb, var(--tm-ink) 58%, transparent);
    --tm-surface: color-mix(in srgb, var(--tm-ink) 2.5%, transparent);
    /* readable brand tone on both themes (lighter on dark, deeper on light) */
    --tm-link: color-mix(in srgb, var(--tm-accent) 55%, var(--tm-ink));
  }
}

/* light theme: cards full white */
@media (prefers-color-scheme: light) {
  .cl-team {
    --tm-white: #fff;
  }
}

@supports (color: oklch(from red calc(l) c h)) {
  .cl-team {
    --tm-white: oklch(from var(--tm-ink) round(nearest, calc(1 - l), 1) 0 0 / round(nearest, calc(1 - l), 1));
  }
}

[data-theme="light"] .cl-team {
  --tm-white: #fff;
}

[data-theme="dark"] .cl-team {
  --tm-white: transparent;
}

.cl-team,
.cl-team *,
.cl-team *::before,
.cl-team *::after {
  box-sizing: border-box;
}

.cl-team a {
  -webkit-tap-highlight-color: transparent;
}

.cl-team__container {
  width: 100%;
  max-width: var(--container-width, 1180px);
  margin: 0 auto;
  padding: 0 var(--container-padding-x, 22px);
}

/* ---------- Layout: sticky text side (left) + cards (right) ----------
   The left side is ONE block that sticks to the top while the cards scroll,
   so adding more cards never creates a gap between the text and the button. */

.cl-team__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  column-gap: 56px;
}

.cl-team__side {
  position: sticky;
  top: calc(var(--header-height, 56px) + 24px);
  min-width: 0;
}

/* ---------- Intro ---------- */

.cl-team__intro {
  width: 100%;
  max-width: 470px;
  margin: 0;
  text-align: left;
}

.cl-team__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--tm-line);
  border-radius: 999px;
  background: linear-gradient(var(--tm-white), var(--tm-white)), var(--tm-surface);
  color: var(--tm-sub);
  font-family: inherit;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cl-team__dot {
  position: relative;
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--tm-accent);
}

/* slow ring around the dot */
.cl-team__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid var(--tm-link);
  border-radius: 50%;
  opacity: 0;
  animation: cl-team-ring 2.8s ease-out infinite;
}

.cl-team .cl-team__title {
  max-width: 470px;
  margin: 0;
  padding: 0;
  color: var(--tm-ink);
  font-family: inherit;
  font-size: 30px;
  font-weight: var(--heading-weight, 600);
  line-height: 1.22;
  letter-spacing: -0.04em;
  text-align: left;
  text-wrap: balance;
}

/* light theme: heading gradient with #2c3480 */
html:not([data-theme="dark"]) .cl-team .cl-team__title {
  background: linear-gradient(115deg, var(--tm-ink) 0%, #2c3480 55%, #4a56b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #2c3480;
}

.cl-team__description {
  max-width: 470px;
  margin: 14px 0 0;
  padding: 0;
  color: var(--tm-text);
  font-family: inherit;
  font-size: var(--body-size, 15px);
  font-weight: var(--body-weight, 400);
  line-height: 1.7;
  text-align: left;
}

/* ---------- CTA (slim) ---------- */

.cl-team__action {
  margin: 24px 0 0;
}

.cl-team a.cl-team__cta,
.cl-team a.cl-team__cta:link,
.cl-team a.cl-team__cta:visited,
.cl-team a.cl-team__cta:hover,
.cl-team a.cl-team__cta:focus,
.cl-team a.cl-team__cta:active {
  color: #fff;
  text-decoration: none;
}

.cl-team__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 34px;
  padding: 0 15px;
  border: 1px solid var(--tm-accent);
  border-radius: 9px;
  background: var(--tm-accent);
  overflow: hidden;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

html:not([data-theme="dark"]) .cl-team a.cl-team__cta {
  background: #2c3480;
}

.cl-team__cta span {
  font-size: 15px;
  line-height: 1;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* shine sweep */

.cl-team__cta:focus-visible,
.cl-team__link:focus-visible {
  outline: 2px solid var(--tm-ink);
  outline-offset: 3px;
}

/* ---------- Location map card ---------- */

.cl-team__map {
  max-width: 470px;
  margin: 32px 0 0;
  padding: 16px;
  border: 1px solid var(--tm-line);
  border-radius: var(--tm-radius);
  background: linear-gradient(var(--tm-white), var(--tm-white)), var(--tm-surface);
}

.cl-team__map-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 12px;
}

.cl-team__map-title {
  color: var(--tm-ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.cl-team__map-sub {
  color: var(--tm-sub);
  font-family: inherit;
  font-size: 12px;
  line-height: 1.45;
}

.cl-team__map-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  border: 1px solid var(--tm-line);
  border-radius: 10px;
  background-color: var(--tm-surface);
  background-image: radial-gradient(var(--tm-line-strong) 1px, transparent 1.3px);
  background-size: 12px 12px;
  overflow: hidden;
}

/* soft fade at the edges so it feels like a map window */
.cl-team__map-canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 55%, var(--tm-white) 100%);
  pointer-events: none;
}

.cl-team__map-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--tm-link);
  stroke-width: 1.2;
  stroke-linecap: round;
  opacity: 0.7;
}

/* dashed line (pathLength is 1, so dashes are fractions of the line) */
.cl-team__arc {
  stroke-dasharray: 0.035 0.03;
}

.cl-team__pin {
  position: absolute;
  z-index: 1;
  width: 0;
  height: 0;
}

.cl-team__pin i {
  position: absolute;
  top: -5px;
  left: -5px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--tm-link);
  border-radius: 50%;
  background: var(--tm-accent);
}

.cl-team__pin i::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid var(--tm-link);
  border-radius: 50%;
  opacity: 0;
  animation: cl-team-ring 2.8s ease-out infinite;
}

.cl-team__pin b {
  position: absolute;
  top: 50%;
  left: 14px;
  padding: 3px 8px;
  border: 1px solid var(--tm-line);
  border-radius: 999px;
  background: linear-gradient(var(--tm-white), var(--tm-white)), var(--tm-surface);
  color: var(--tm-ink);
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  transform: translateY(-50%);
}

.cl-team__pin--mumbai { top: 54.7%; left: 38.3%; }
.cl-team__pin--thane { top: 28%; left: 58.3%; }
.cl-team__pin--navi { top: 64%; left: 62%; }

/* Mumbai label sits on the sea side (left) */
.cl-team__pin--mumbai b {
  right: 14px;
  left: auto;
}

.cl-team__pin--thane i::after { animation-delay: 0.9s; }
.cl-team__pin--navi i::after { animation-delay: 1.8s; }

.cl-team__map-note {
  margin: 12px 0 0;
  color: var(--tm-sub);
  font-family: inherit;
  font-size: 11.5px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

/* ---------- Story cards (horizontal: photo left, details right) ---------- */

.cl-team__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
  counter-reset: cl-team-no;
}

.cl-team__card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--tm-line);
  border-radius: var(--tm-radius);
  background: linear-gradient(var(--tm-white), var(--tm-white)), var(--tm-surface);
  transition: border-color 0.25s ease;
  counter-increment: cl-team-no;
}

/* dotted corner peeking out of the card (brand colour only) */
.cl-team__card::before {
  content: "";
  position: absolute;
  top: -12px;
  right: -12px;
  z-index: -1;
  width: 96px;
  height: 96px;
  background-image: radial-gradient(var(--tm-accent) 1.2px, transparent 1.6px);
  background-size: 10px 10px;
  opacity: 0.7;
  pointer-events: none;
}

/* small index number (01, 02, 03 ...) */
.cl-team__card::after {
  content: "0" counter(cl-team-no);
  position: absolute;
  top: 18px;
  right: 20px;
  color: var(--tm-sub);
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}

.cl-team__photo {
  position: relative;
  width: 100%;
  margin: 0;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--tm-line);
  border-radius: 12px;
  background: var(--tm-surface);
  overflow: hidden;
}

.cl-team__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(0.3);
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.5s ease;
}

/* thin brand line along the bottom of the photo */
.cl-team__photo::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--tm-accent);
  transform: scaleX(0.28);
  transform-origin: left center;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.cl-team__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.cl-team__name {
  margin: 0;
  padding: 0 32px 0 0;
  color: var(--tm-ink);
  font-family: inherit;
  font-size: 19px;
  font-weight: var(--heading-weight, 600);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.cl-team__role {
  margin: 3px 0 0;
  color: var(--tm-sub);
  font-family: inherit;
  font-size: 13px;
  line-height: 1.5;
}

.cl-team__label {
  margin: 16px 0 0;
  color: var(--tm-sub);
  font-family: inherit;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cl-team__story {
  margin: 8px 0 0;
  padding: 0 0 0 12px;
  border-left: 2px solid var(--tm-link);
  color: var(--tm-text);
  font-family: inherit;
  font-size: 13px;
  font-weight: var(--body-weight, 400);
  line-height: 1.7;
}

/* LinkedIn button: brand-tone text + arrow so it reads as a button */
.cl-team a.cl-team__link,
.cl-team a.cl-team__link:link,
.cl-team a.cl-team__link:visited {
  color: var(--tm-link);
}

.cl-team a.cl-team__link,
.cl-team a.cl-team__link:link,
.cl-team a.cl-team__link:visited,
.cl-team a.cl-team__link:hover,
.cl-team a.cl-team__link:focus,
.cl-team a.cl-team__link:active {
  text-decoration: none;
}

.cl-team__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  margin-top: 16px;
  padding: 0 12px;
  border: 1px solid var(--tm-link);
  border-radius: 8px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.cl-team__link span {
  font-size: 13px;
  line-height: 1;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Hover / tap (desktop + mobile) ---------- */

.cl-team__card:hover,
.cl-team__card:active {
  border-color: var(--tm-line-strong);
}

.cl-team__card:hover .cl-team__photo img,
.cl-team__card:active .cl-team__photo img {
  transform: scale(1.04);
  filter: grayscale(0);
}

.cl-team__card:hover .cl-team__photo::after,
.cl-team__card:active .cl-team__photo::after {
  transform: scaleX(1);
}

.cl-team a.cl-team__link:hover,
.cl-team a.cl-team__link:active {
  border-color: var(--tm-accent);
  background: var(--tm-accent);
  color: #fff;
}

.cl-team__link:hover span,
.cl-team__link:active span {
  transform: translate(2px, -2px);
}

.cl-team__cta:hover,
.cl-team__cta:active {
  opacity: 0.9;
}


.cl-team__cta:hover span,
.cl-team__cta:active span {
  transform: translateX(3px);
}

/* ---------- Animations ---------- */

@keyframes cl-team-rise {
  from {
    opacity: 0;
    translate: 0 18px;
  }
}

@keyframes cl-team-ring {
  0% {
    opacity: 0.55;
    transform: scale(0.6);
  }
  100% {
    opacity: 0;
    transform: scale(1.8);
  }
}

/* reveal (classes are added by team-section.js, nothing is hidden without JS) */
.cl-team .cl-rv:not(.cl-rv-in) {
  opacity: 0;
}

.cl-team .cl-rv-in {
  animation: cl-team-rise 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) var(--cl-d, 0ms) backwards;
}

/* map lines draw themselves when the map appears */
.cl-team .cl-team__map.cl-rv:not(.cl-rv-in) .cl-team__arc {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.cl-team .cl-team__map.cl-rv-in .cl-team__arc {
  animation: cl-team-draw 1.4s cubic-bezier(0.65, 0, 0.25, 1) calc(var(--cl-d, 0ms) + 400ms) backwards;
}

@keyframes cl-team-draw {
  from {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
  }
  to {
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .cl-team .cl-team__title {
    font-size: 28px;
  }

  /* stacked: intro, cards, button, map (side becomes transparent to the grid) */
  .cl-team__layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "intro"
      "grid"
      "action"
      "map";
    column-gap: 0;
  }

  .cl-team__side {
    display: contents;
    position: static;
  }

  .cl-team__intro {
    grid-area: intro;
    max-width: 100%;
    margin-bottom: 30px;
  }

  .cl-team__grid {
    grid-area: grid;
  }

  .cl-team__action {
    grid-area: action;
    margin-top: 22px;
  }

  .cl-team__map {
    grid-area: map;
    max-width: 100%;
    margin-top: 26px;
  }

  .cl-team .cl-team__title,
  .cl-team__description {
    max-width: 680px;
  }
}

@media (max-width: 767px) {
  .cl-team__intro {
    margin-bottom: 26px;
  }

  .cl-team__eyebrow {
    margin-bottom: 15px;
  }

  .cl-team__description {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.65;
  }

  .cl-team__story {
    font-size: 13.5px;
  }
}

/* mobile: photo + name side by side, story and button below in full width */
@media (max-width: 640px) {
  .cl-team__grid {
    gap: 14px;
  }

  .cl-team__card {
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: center;
    column-gap: 14px;
    row-gap: 0;
    padding: 16px;
  }

  .cl-team__card::before {
    top: -8px;
    right: -8px;
    width: 72px;
    height: 72px;
  }

  .cl-team__card::after {
    top: 16px;
    right: 16px;
  }

  .cl-team__info {
    display: contents;
  }

  .cl-team__photo {
    grid-column: 1;
    grid-row: 1 / span 2;
    border-radius: 10px;
  }

  .cl-team__name {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    font-size: 18px;
  }

  .cl-team__role {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
  }

  .cl-team__label {
    grid-column: 1 / -1;
    margin-top: 18px;
  }

  .cl-team__story {
    grid-column: 1 / -1;
  }

  .cl-team__link {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 14px;
  }

  .cl-team__cta {
    width: 100%;
    min-height: 36px;
  }

  .cl-team__map {
    padding: 14px;
  }

  .cl-team__map-note {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .cl-team .cl-team__title {
    font-size: 22px;
    line-height: 1.28;
    letter-spacing: -0.035em;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .cl-team .cl-rv:not(.cl-rv-in) {
    opacity: 1;
  }

  .cl-team .cl-team__map.cl-rv:not(.cl-rv-in) .cl-team__arc {
    stroke-dasharray: 0.035 0.03;
    stroke-dashoffset: 0;
  }

  .cl-team .cl-rv-in,
  .cl-team .cl-team__map.cl-rv-in .cl-team__arc,
  .cl-team__dot::after,
  .cl-team__pin i::after {
    animation: none !important;
  }

  .cl-team *,
  .cl-team *::before,
  .cl-team *::after {
    transition: none !important;
  }
}

/* ============== TEAM SECTION CSS END ============== */