/* About page: Who We Are (white) -> Registered With (light) -> Team (purple) -> Key Management (white) */
.about { position: relative; padding: clamp(56px, 7vw, 104px) 0 clamp(48px, 6vw, 88px); background: #fff; }
.about__title { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; line-height: 1.04; font-size: clamp(32px, 4vw, 54px); color: var(--purple); }
.about__grid { margin-top: clamp(28px, 3.4vw, 48px); display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.about__grid p { margin: 0 0 16px; font-size: 16px; line-height: 1.75; color: var(--plum); font-weight: 400; }
.about__grid p:last-child { margin-bottom: 0; }
.about__grid strong { color: var(--ink); font-weight: 700; }
.about__quote { padding: clamp(26px, 3vw, 38px); border-radius: 22px; background: var(--purple); color: #fff; }
.about__quote blockquote { margin: 0 0 16px; font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; font-size: clamp(19px, 1.9vw, 24px); line-height: 1.35; }
.about__quote p { color: rgba(255, 255, 255, 0.8); }
.about__quote strong { color: #fff; }

/* Registered With */
.reg { padding: clamp(44px, 5.5vw, 76px) 0; background: #f6f5fa; border-block: 1px solid var(--line); }
.logo-grid { margin-top: clamp(24px, 3vw, 36px); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.logo-tile {
  height: 92px; display: grid; place-items: center; padding: 14px 16px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; transition: border-color 0.25s, transform 0.3s var(--ease);
}
.logo-tile:hover { border-color: rgba(55, 48, 92, 0.35); transform: translateY(-2px); }
.logo-tile img { width: auto; height: auto; max-width: 100%; max-height: 38px; object-fit: contain; }
.logo-tile--ph span { font-family: var(--display); font-weight: 800; letter-spacing: 0.04em; font-size: 16px; color: var(--purple); opacity: 0.85; text-align: center; }

/* Team on purple */
.team { padding: clamp(56px, 7vw, 100px) 0; background: linear-gradient(170deg, var(--purple), var(--purple-deep)); color: #fff; }
.team__head { max-width: 640px; margin-inline: auto; text-align: center; }
.team__head p { margin: 14px auto 0; max-width: 56ch; color: rgba(255, 255, 255, 0.72); font-size: 15.5px; line-height: 1.6; }
.team__groups { margin-top: clamp(28px, 4vw, 48px); display: grid; gap: clamp(28px, 3.4vw, 44px); }
.team__grid { --cols: 5; margin-top: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.team__grid > .team__card { box-sizing: border-box; flex: 0 0 calc((100% - (var(--cols) - 1) * 14px) / var(--cols)); }
.team__card {
  position: relative; display: block; padding: 24px 16px 22px; text-align: center; background: #fff; color: var(--ink);
  border: 1px solid transparent; border-radius: 18px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.team__card.is-link { cursor: pointer; }
.team__card.is-link:hover, .team__card.is-link:focus-visible { transform: translateY(-4px); border-color: var(--o); box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.5); }
.team__avatar {
  margin: 0 auto 14px; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%;
  font-family: var(--display); font-weight: 700; font-size: 16px; color: #fff; background: var(--purple); transition: transform 0.3s var(--ease);
}
.team__card.is-link:hover .team__avatar { transform: scale(1.06); }
.team__card h3 { margin: 0 0 4px; font-size: 14.5px; font-weight: 700; letter-spacing: -0.01em; }
.team__card p { margin: 0; font-size: 12.5px; color: var(--plum); line-height: 1.4; }
.team__in { position: absolute; top: 12px; right: 12px; font-size: 18px; color: var(--purple); opacity: 0; transform: translateY(3px); transition: opacity 0.25s, transform 0.25s; }
.team__card.is-link:hover .team__in, .team__card.is-link:focus-visible .team__in { opacity: 1; transform: none; }

/* Key Management Persons */
.kmp { padding: clamp(56px, 7vw, 100px) 0; background: #fff; }

@media (max-width: 1100px) { .logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 980px) { .about__grid { grid-template-columns: 1fr; } .team__grid { --cols: 3; } }
@media (max-width: 700px) { .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .team__grid { --cols: 2; } }

/* Registered With: round logos (FIU, CERSAI) grouped on the left, square logos grouped on the right */
.logo-split { margin-top: clamp(24px, 3vw, 36px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; }
.logo-split .logo-grid { margin-top: 0; }
.logo-round { display: flex; gap: 14px; margin: 0; padding: 0 clamp(20px, 3vw, 40px) 0 0; list-style: none; border-right: 1px dashed rgba(55, 48, 92, 0.25); }
.logo-tile--round { width: clamp(96px, 9vw, 124px); aspect-ratio: 1; height: auto; border-radius: 50%; padding: 16px; display: grid; place-items: center; }
.logo-tile--round img { max-width: 100%; max-height: 100%; }
@media (max-width: 900px) {
  .logo-split { grid-template-columns: 1fr; }
  .logo-round { justify-content: flex-start; padding: 0 0 20px; border-right: 0; border-bottom: 1px dashed rgba(55, 48, 92, 0.25); }
}
.logo-split .logo-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .logo-split .logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 700px) { .logo-split .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .logo-split .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* round logos (FIU, CERSAI) on the right, square logos on the left */
.logo-split { grid-template-columns: minmax(0, 1fr) auto; }
.logo-split .logo-round { order: 2; padding: 0 0 0 clamp(20px, 3vw, 40px); border-right: 0; border-left: 1px dashed rgba(55, 48, 92, 0.25); }
@media (max-width: 900px) {
  .logo-split { grid-template-columns: 1fr; }
  .logo-split .logo-round { justify-content: flex-end; padding: 20px 0 0; border-left: 0; border-top: 1px dashed rgba(55, 48, 92, 0.25); }
}

/* every square logo is shown in the same fixed-size box (image is scaled to fit, never stretched) */
.logo-grid .logo-tile { height: 92px; padding: 14px 18px; }
.logo-grid .logo-tile img { width: 100%; height: 44px; max-width: none; max-height: none; object-fit: contain; }
/* optical balance: some source files carry extra white space, so nudge them up to match the rest */
.logo-grid img[alt="BSE"] { transform: scale(1.35); }
.logo-grid img[alt="CVL"] { transform: scale(1.55); }
.logo-grid img[alt="NMDL"] { transform: scale(1.12); }
.logo-grid img[alt="MCX"] { transform: scale(1.12); }
.logo-grid img[alt="MCX CCL"] { transform: scale(0.95); }

/* ================= About page: the landing page's light, architectural look =================
   Same tokens as the landing page: ivory / pale lavender surfaces, Playfair Display headlines (navy + orange),
   white cards with a hairline border and a soft shadow, orange as the single accent. */
:root { --navy: #10114a; --ink2: #3b3760; --soft: #6d6a85; --lav: #ece6ff; --peach: #ffe6d0; --card-line: rgba(55, 48, 92, 0.08); --card-shadow: 0 14px 34px rgba(40, 32, 80, 0.07); }

/* every headline on the page: the landing page's serif */
.about__title, .sec-title { font-family: "Playfair Display", Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: -0.03em; color: var(--navy); }
.sec-title { font-size: clamp(32px, 3.6vw, 54px); line-height: 1.08; }
.sec-title--light { color: var(--navy); }

/* ---- Who We Are ---- */
.about--dark { position: relative; overflow: hidden; background: #f7f0f6; color: var(--ink2); padding: clamp(64px, 8vw, 116px) 0 clamp(64px, 7vw, 104px); }
.about__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(249, 243, 248, 0.35) 0%, rgba(249, 243, 248, 0.2) 45%, rgba(251, 249, 252, 0.92) 88%, #fbf9fc 100%),
    url("../assets/about/about-bg.webp?v=1") center top / auto 100% repeat-x;
}
.about--dark .wrap { position: relative; z-index: 1; }
.about--dark .about__title { margin-top: 0; color: var(--navy); font-size: clamp(46px, 5.6vw, 88px); line-height: 1.02; }
.about--dark .about__title span { color: var(--o); }
.about--dark .about__grid { margin-top: clamp(32px, 4vw, 56px); grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 4vw, 72px); align-items: stretch; }
.about--dark .about__copy p { margin: 0 0 20px; font-size: 16.5px; line-height: 1.75; color: var(--soft); font-weight: 400; }
.about--dark .about__copy .about__lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--ink2); }
.about--dark .about__copy strong { color: var(--navy); font-weight: 700; }
.about--dark .about__copy em { color: var(--o); font-style: normal; font-weight: 600; }
.about--dark .about__quote {
  position: relative; padding: clamp(28px, 3vw, 44px); border-radius: 24px; background: rgba(255, 255, 255, 0.94); color: var(--ink2);
  border: 1px solid var(--card-line); border-left: 3px solid var(--o); box-shadow: var(--card-shadow); -webkit-backdrop-filter: none; backdrop-filter: none;
}

.about--dark .about__quote blockquote { margin: 0 0 20px; font-family: "Playfair Display", Georgia, serif; font-weight: 700; letter-spacing: -0.02em; font-size: clamp(21px, 2vw, 28px); line-height: 1.3; color: var(--navy); }
.about--dark .about__quote p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--soft); }
.about--dark .about__quote blockquote + p { padding-top: 20px; border-top: 1px solid var(--card-line); }
.about--dark .about__quote p + p { margin-top: 12px; }
.about--dark .about__quote strong { color: var(--navy); }

.about--dark .about__sum p { margin: 0 0 20px; font-size: 16.5px; line-height: 1.75; color: var(--soft); font-weight: 400; }
.about--dark .about__sum p:last-child { margin-bottom: 0; }

/* ---- Registered With ---- */
.reg { background: linear-gradient(180deg, #fbf9fc 0%, #f6f1f8 100%); border-block: 0; }
.logo-tile { background: #fff; border: 1px solid var(--card-line); border-radius: 18px; box-shadow: var(--card-shadow); }
.logo-tile:hover { border-color: rgba(241, 135, 23, 0.32); transform: translateY(-2px); }
.logo-round, .logo-split .logo-round { border-color: rgba(55, 48, 92, 0.16); }

/* ---- Team ---- */
.team { position: relative; color: var(--ink2); background: linear-gradient(180deg, #f6f1f8 0%, #f3eef9 100%); }
.team__head p { color: var(--soft); }
.team__card {
  color: var(--ink2); background: rgba(255, 255, 255, 0.94); border: 1px solid var(--card-line); border-radius: 20px; box-shadow: var(--card-shadow);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.team__card.is-link:hover, .team__card.is-link:focus-visible { transform: translateY(-3px); border-color: rgba(241, 135, 23, 0.4); background: #fff; box-shadow: 0 18px 38px rgba(40, 32, 80, 0.1); }
.team__avatar { background: var(--lav); color: var(--navy); font-weight: 700; box-shadow: 0 0 0 4px rgba(241, 135, 23, 0.14); }
.team__card h3 { color: var(--navy); }
.team__card p { color: var(--soft); }
.team__in { color: var(--o); }

/* ---- Key Management Persons ---- */
.kmp { position: relative; color: var(--ink2); padding-top: clamp(40px, 5vw, 72px); background: linear-gradient(180deg, #f3eef9 0%, #fbf9fc 100%); }
.kmp .sec-title { color: var(--navy); }
.kmp .rtable { background: #fff; border-color: var(--card-line); border-radius: 20px; box-shadow: var(--card-shadow); -webkit-backdrop-filter: none; backdrop-filter: none; }
.kmp .rtable th, .kmp .rtable td { border-bottom-color: var(--card-line); color: var(--soft); }
.kmp .rtable thead th { background: #f4effb; color: var(--navy); border-bottom: 1px solid var(--card-line); }
.kmp .rtable tbody th { color: var(--navy); }
.kmp .rtable tbody tr:nth-child(even) > * { background: #fbf9fe; }
.kmp .rtable tbody tr:hover > * { background: #fff6ec; }
.kmp .rtable a { color: var(--o); font-weight: 600; }
.kmp .rtable a:hover { color: var(--navy); }
@media (max-width: 720px) {
  .kmp .rtable { background: none; border: 0; box-shadow: none; }
  .kmp .rtable tbody tr { background: #fff; border-color: var(--card-line); box-shadow: var(--card-shadow); }
  .kmp .rtable td::before, .kmp .rtable tbody th::before { color: var(--soft); }
}
@media (max-width: 980px) { .about--dark .about__grid { grid-template-columns: 1fr; } }

/* ---- Team: three tiers, each with a quiet label; leaders larger on top, then 3 across, then the wider team ---- */
.team__groups { gap: clamp(36px, 4.4vw, 60px); }

.team__group--1 .team__grid { --cols: 2; max-width: 600px; margin-inline: auto; }
.team__group--2 .team__grid { --cols: 3; max-width: 900px; margin-inline: auto; }
.team__group--1 .team__avatar { width: 76px; height: 76px; font-size: 20px; }
.team__group--1 .team__card { padding-block: 30px 28px; }
.team__group--1 .team__card h3 { font-size: 17px; }
.team__group--1 .team__card p { font-size: 13.5px; }
@media (max-width: 980px) { .team__group--2 .team__grid { --cols: 3; } }
@media (max-width: 600px) { .team__group--2 .team__grid { --cols: 2; } .team__group--1 .team__grid { --cols: 1; max-width: 260px; } }

/* ================= visual pass: one rhythm for the whole page =================
   Centered serif headlines with a short orange rule, the landing page's deep-purple band for "Registered With",
   one centered logo wall, refined team cards and a cleaner table. Content is unchanged. */
.about--dark .about__title, .reg .sec-title, .kmp .sec-title, .team .sec-title { text-align: center; }
.about--dark .about__title::after, .sec-title::after { content: ""; display: block; width: 56px; height: 3px; margin: 18px auto 0; border-radius: 3px; background: linear-gradient(90deg, var(--o), #ffb25c); }
.about--dark .about__title::after { margin-top: 22px; }
.team__head p { max-width: 62ch; }
.team__head { margin-bottom: 0; }

/* Who We Are: a calmer pair of columns, both the same height */
.about--dark .about__copy { padding: clamp(6px, 1vw, 12px) 0; }
.about--dark .about__lead { position: relative; padding-left: 22px; }
.about--dark .about__lead::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: var(--o); }

/* Registered With: deep purple band (same as the landing page ribbon), logos on white tiles, one centered wall */
.reg {
  position: relative; overflow: hidden; border: 0;
  background: radial-gradient(circle at 15% 0%, rgba(124, 98, 220, 0.28), transparent 45%), radial-gradient(circle at 90% 100%, rgba(241, 135, 23, 0.16), transparent 40%), linear-gradient(170deg, #37305c 0%, #2a2450 100%);
}
.reg .sec-title { color: #fff; }
.logo-split, .logo-split .logo-grid, .logo-split .logo-round { display: contents; }
.reg .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.reg .sec-title { flex: 0 0 100%; margin-bottom: clamp(14px, 2vw, 26px); }
.reg .logo-tile { box-sizing: border-box; list-style: none; width: clamp(128px, 13vw, 168px); height: 92px; border: 0; border-radius: 16px; box-shadow: 0 16px 30px -14px rgba(8, 5, 30, 0.55); }
.reg .logo-tile--round { width: 92px; height: 92px; aspect-ratio: auto; padding: 12px; border-radius: 50%; }
.reg .logo-tile:hover { transform: translateY(-3px); border: 0; box-shadow: 0 20px 34px -14px rgba(8, 5, 30, 0.65), 0 0 0 2px rgba(241, 135, 23, 0.7); }

/* Team: top accent, bigger avatars, calmer type */
.team { background: linear-gradient(180deg, #fbf9fc 0%, #f3eef9 100%); }
.team__card { overflow: hidden; border-radius: 20px; }
.team__card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--o), #ffb25c); opacity: 0.85; }
.team__avatar { width: 64px; height: 64px; background: linear-gradient(145deg, #f4efff, #e4dbff); color: var(--navy); box-shadow: 0 0 0 4px rgba(241, 135, 23, 0.16); }
.team__group--1 .team__avatar { background: linear-gradient(145deg, var(--navy), #4b3b8f); color: #fff; box-shadow: 0 0 0 5px rgba(241, 135, 23, 0.25); }
.team__card h3 { font-size: 15px; }
.team__card p { font-size: 12.5px; }

/* Key management: tidy, centered table card */
.kmp { background: linear-gradient(180deg, #f3eef9 0%, #fff 100%); padding-bottom: clamp(56px, 7vw, 100px); }
.kmp .rtable-wrap { margin-top: clamp(20px, 2.6vw, 32px); }
.kmp .rtable thead th { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.reg .logo-tile--round { order: 2; }
.about--dark .about__sum p { padding-left: 22px; }

/* ================= senior polish pass: spacing scale, hierarchy, depth, org-chart structure ================= */
:root { --ab-pad: clamp(64px, 7.5vw, 112px); --ab-ease: cubic-bezier(0.22, 1, 0.36, 1); }
.about--dark, .reg, .team, .kmp { padding-block: var(--ab-pad); }
.kmp { padding-top: clamp(24px, 3vw, 40px); }

/* --- hero: left-aligned editorial layout, dark quote card for contrast --- */
.about--dark { padding-bottom: calc(var(--ab-pad) * 0.9); }
.about--dark .about__bg { background: linear-gradient(180deg, rgba(251, 247, 252, 0.55) 0%, rgba(251, 247, 252, 0.7) 55%, #fbf9fc 100%), url("../assets/about/about-bg.webp?v=1") center top / auto 100% repeat-x; }
.about--dark .about__bg::after { content: ""; position: absolute; right: -12%; top: -18%; width: 54vw; height: 54vw; max-width: 760px; max-height: 760px; border-radius: 50%; border: 1px solid rgba(241, 135, 23, 0.22); box-shadow: inset 0 0 0 clamp(40px, 5vw, 80px) rgba(124, 98, 220, 0.035), inset 0 0 0 clamp(41px, 5.05vw, 81px) rgba(124, 98, 220, 0.08); }
.about--dark .about__title { text-align: left; font-size: clamp(48px, 6.2vw, 96px); }
.about--dark .about__title::after { margin: 22px 0 0; width: 72px; height: 4px; }
.about--dark .about__grid { margin-top: clamp(36px, 4.4vw, 64px); gap: clamp(32px, 5vw, 88px); align-items: center; }
.about--dark .about__copy { padding: 0; }
.about--dark .about__lead { font-family: "Playfair Display", Georgia, serif; font-weight: 600; font-size: clamp(21px, 1.9vw, 28px); line-height: 1.5; letter-spacing: -0.01em; color: var(--navy); padding-left: 0; }
.about--dark .about__lead::before { display: none; }
.about--dark .about__sum p { padding-left: 0; }
.about--dark .about__sum p:not(.about__lead) { margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(55, 48, 92, 0.12); font-size: clamp(16px, 1.15vw, 18px); line-height: 1.8; color: #55526f; }
.about--dark .about__quote {
  position: relative; overflow: hidden; padding: clamp(32px, 3.4vw, 52px); border-radius: 28px; border: 0; color: rgba(255, 255, 255, 0.82);
  background: radial-gradient(circle at 100% 0%, rgba(241, 135, 23, 0.28), transparent 46%), linear-gradient(155deg, #4b3b8f 0%, #37305c 55%, #2a2450 100%);
  box-shadow: 0 40px 70px -34px rgba(42, 36, 80, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}
.about--dark .about__quote::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 0 0 28px rgba(255, 255, 255, 0.025); pointer-events: none; }

.about--dark .about__quote blockquote { color: #fff; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.32; margin-bottom: 24px; }
.about--dark .about__quote p { color: rgba(255, 255, 255, 0.78); font-size: 15.5px; line-height: 1.75; }
.about--dark .about__quote blockquote + p { border-top-color: rgba(255, 255, 255, 0.16); }
.about--dark .about__quote strong { color: #ffb25c; }

/* --- section headings: consistent block --- */
.reg .sec-title, .team .sec-title, .kmp .sec-title { font-size: clamp(34px, 3.8vw, 56px); }

/* --- registered with: quieter band, evenly sized tiles, subtle grid texture --- */
.reg::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5; background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); }
.reg .wrap { position: relative; gap: 16px; max-width: 1040px; }
.reg .logo-tile { width: clamp(132px, 14vw, 180px); height: 96px; transition: transform 0.35s var(--ab-ease), box-shadow 0.35s var(--ab-ease); }
.reg .logo-tile--round { width: 96px; height: 96px; }

/* --- team: org-chart spine, dark leadership cards, calm white cards below --- */
.team { background: linear-gradient(180deg, #fbf9fc 0%, #f1ebf8 100%); }
.team__groups { position: relative; }
.team__groups::before { content: ""; position: absolute; left: 50%; top: 24px; bottom: 24px; width: 1px; background: linear-gradient(180deg, transparent, rgba(241, 135, 23, 0.5) 12%, rgba(241, 135, 23, 0.5) 88%, transparent); }
.team__group { position: relative; z-index: 1; }

.team__card { z-index: 1; transition: transform 0.35s var(--ab-ease), box-shadow 0.35s var(--ab-ease), border-color 0.35s; border: 1px solid var(--card-line); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 14px 30px -18px rgba(40, 32, 80, 0.28); }
.team__card:hover { transform: translateY(-4px); border-color: rgba(241, 135, 23, 0.4); box-shadow: 0 24px 40px -22px rgba(40, 32, 80, 0.38); }
.team__card::before { height: 0; transition: height 0.35s var(--ab-ease); }
.team__card:hover::before { height: 3px; }
.team__group--1 .team__card { background: linear-gradient(160deg, #4b3b8f 0%, #37305c 60%, #2a2450 100%); border-color: rgba(255, 255, 255, 0.08); box-shadow: 0 30px 50px -28px rgba(42, 36, 80, 0.75); }
.team__group--1 .team__card::before { height: 3px; }
.team__group--1 .team__card h3 { color: #fff; }
.team__group--1 .team__card p { color: #ffb25c; font-weight: 600; letter-spacing: 0.04em; }
.team__group--1 .team__avatar { background: linear-gradient(145deg, #ffb25c, #f18717); color: #2a1205; box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.1); }
.team__group--2 .team__avatar, .team__group--3 .team__avatar { background: linear-gradient(145deg, #f6f1ff, #e2d8ff); }
.team__card p { color: #6d6a85; }

/* --- key management: dark header row, clean body --- */
.kmp .rtable { overflow: hidden; border-radius: 22px; box-shadow: 0 30px 50px -30px rgba(40, 32, 80, 0.32); }
.kmp .rtable thead th { background: linear-gradient(90deg, #37305c, #4b3b8f); color: #fff; border-bottom: 0; padding-block: 18px; }
.kmp .rtable tbody th, .kmp .rtable tbody td { padding-block: 18px; }

@media (max-width: 980px) { .about--dark .about__title { text-align: left; } .team__groups::before { display: none; } }
@media (max-width: 600px) { .about--dark .about__bg::after { display: none; } }
.reg .wrap { max-width: 1060px; }
.reg .logo-tile { width: clamp(128px, 14vw, 158px); }
.about--dark .about__grid { align-items: start; }
.about--dark .about__copy { padding-top: clamp(8px, 2vw, 28px); }
@media (max-width: 980px) { .about--dark .about__copy { padding-top: 0; } }
.reg .wrap { max-width: 1140px; }
.reg .logo-tile.logo-tile--round { width: 96px; height: 96px; padding: 10px; overflow: hidden; }
.reg .logo-tile--round img { width: 100%; height: 100%; max-height: none; border-radius: 50%; object-fit: contain; }

/* no orange rule under headings */
.about--dark .about__title::after, .sec-title::after { content: none; display: none; }

/* LinkedIn icon: always visible, large, beside the member name */
.team__card h3 { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.team__in { position: static; flex-shrink: 0; font-size: 26px; line-height: 1; color: #0a66c2; opacity: 1; transform: none; transition: transform 0.25s; }
.team__group--1 .team__in { font-size: 30px; color: #fff; }
.team__card.is-link:hover .team__in, .team__card.is-link:focus-visible .team__in { transform: scale(1.12); }
/* Leadership cards stay dark on hover so white name + icon remain visible */
.team__group--1 .team__card.is-link:hover, .team__group--1 .team__card.is-link:focus-visible { background: linear-gradient(160deg, #4b3b8f 0%, #37305c 60%, #2a2450 100%); border-color: rgba(241, 135, 23, 0.5); }

/* tighter Who We Are: less gap under the title and below the card */
.about--dark .about__title::after { margin-top: 14px; }
.about--dark .about__grid { margin-top: clamp(14px, 1.6vw, 24px); }
.about--dark { padding-bottom: clamp(28px, 3vw, 48px); }

/* Registered With: logos are tight-cropped (assets/registered/fit) and each sized for equal visual area, capped to the tile */
.reg .logo-tile:not(.logo-tile--round) { box-sizing: border-box; padding: 14px 18px; display: grid; place-items: center; }
.reg .logo-grid .logo-tile:not(.logo-tile--round) img { max-width: 100%; max-height: none; height: auto; object-fit: contain; transform: none; }
.reg .logo-grid .logo-tile img[alt="NSE"] { width: 119px; }
.reg .logo-grid .logo-tile img[alt="BSE"] { width: 106px; }
.reg .logo-grid .logo-tile img[alt="MCX"] { width: 110px; }
.reg .logo-grid .logo-tile img[alt="NSDL"] { width: 120px; }
.reg .logo-grid .logo-tile img[alt="CDSL"] { width: 116px; }
.reg .logo-grid .logo-tile img[alt="NMDL"] { width: 120px; }
.reg .logo-grid .logo-tile img[alt="CVL"] { width: 94px; }
.reg .logo-grid .logo-tile img[alt="MCX CCL"] { width: 120px; }
.reg .logo-grid .logo-tile img[alt="NCL"] { width: 119px; }

/* Who We Are: the quote card starts level with the title (card spans the title row + the copy row) */
@media (min-width: 981px) {
  .about--dark .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); column-gap: clamp(28px, 4vw, 72px); grid-template-rows: auto 1fr; align-items: start; }
  .about--dark .about__title { grid-column: 1; grid-row: 1; margin-bottom: clamp(14px, 1.6vw, 24px); }
  .about--dark .about__grid { display: contents; }
  .about--dark .about__copy { grid-column: 1; grid-row: 2; }
  .about--dark .about__quote { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
}

/* Who We Are quote card: no quote-mark icon, smaller footprint */
.about--dark .about__quote { padding: clamp(20px, 2.2vw, 30px); border-radius: 22px; }
.about--dark .about__quote blockquote { font-size: clamp(18px, 1.55vw, 23px); line-height: 1.3; margin-bottom: 16px; }
.about--dark .about__quote p { font-size: 14px; line-height: 1.6; }
.about--dark .about__quote blockquote + p { padding-top: 14px; }
.about--dark .about__quote p + p { margin-top: 8px; }

/* Leadership cards use the same white card + LinkedIn treatment as the rest of the team */
.team__group--1 .team__card, .team__group--1 .team__card.is-link:hover, .team__group--1 .team__card.is-link:focus-visible { background: #fff; border-color: var(--card-line); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 14px 30px -18px rgba(40, 32, 80, 0.28); }
.team__group--1 .team__card.is-link:hover, .team__group--1 .team__card.is-link:focus-visible { border-color: rgba(241, 135, 23, 0.4); box-shadow: 0 24px 40px -22px rgba(40, 32, 80, 0.38); }
.team__group--1 .team__card::before { height: 0; }
.team__group--1 .team__card:hover::before { height: 3px; }
.team__group--1 .team__card::after { content: none; }
.team__group--1 .team__card h3 { color: var(--navy); }
.team__group--1 .team__card p { color: #6d6a85; font-weight: 400; letter-spacing: 0; }
.team__group--1 .team__avatar { background: linear-gradient(145deg, #f3efff, #e4dcff); color: var(--navy); box-shadow: 0 0 0 4px rgba(241, 135, 23, 0.18); }
.team__group--1 .team__in { font-size: 26px; color: #0a66c2; }

/* Who We Are: trim the empty band under the text */
.about--dark { padding-bottom: calc(44px + 1cm); }
/* the quote card now reaches down to the bottom of the left text, so both columns end on the same line */
@media (min-width: 981px) {
  .about--dark .about__quote { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
}

/* "Who We Are" heading about 25% smaller */
.about--dark .about__title { font-size: clamp(36px, 4.6vw, 72px); }

/* Key Management table (desktop): Address column 1cm narrower, Email ID column 0.1cm wider than the auto layout gave (459px / 233px of the 1256px table: now 33.55% / 21.88% after Email was widened a further 1cm; calc() with % is ignored by table cells) */
@media (min-width: 721px) {
  .kmp .rtable { table-layout: fixed; }
  .kmp .rtable thead th:nth-child(3) { width: 33.55%; }
  .kmp .rtable thead th:nth-child(5) { width: 21.88%; }
}

/* leadership cards (Ashish Thard, Bijay Kumar Thard): same box size as the other team cards (290 x 173px, 64px avatar) */
.team__group--1 .team__grid { --cols: 3; max-width: 900px; }
.team__group--1 .team__card { padding-block: 24px 22px; }
.team__group--1 .team__avatar { width: 64px; height: 64px; font-size: inherit; }
.team__group--1 .team__card h3 { font-size: 15px; }
.team__group--1 .team__card p { font-size: 12.5px; }
.team__group--1 .team__in { font-size: 26px; }
@media (max-width: 980px) { .team__group--1 .team__grid { --cols: 3; } }
@media (max-width: 600px) { .team__group--1 .team__grid { --cols: 2; max-width: none; } }

/* Meet the Team: no orange vertical spine behind the cards */
.team__groups::before { display: none; }

/* team names stay on one line */
.team__name { white-space: nowrap; }

/* contact names stay on one line in the tables */
@media (min-width: 721px) { .rtable td[data-label="Contact Person"], .rtable td[data-label="Contact person"] { white-space: nowrap; } }

/* escalation table: address line 2, email and hours time stay unbroken */
@media (min-width: 721px) { .rtable td[data-label="Address"], .rtable td[data-label="Email ID"], .rtable td[data-label="Working hours"] { white-space: nowrap; } }

/* Team photos uploaded in the admin portal replace the initials inside the same round avatar */
.team__avatar { overflow: hidden; }
.team__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
