/* ═══════════════════════════════════════════
   ROOT
═══════════════════════════════════════════ */
:root {
  --primary: #3f0030;
  --primary-mid: #8b0064;
  --primary-dark: #3e0030;
  --accent: #ff8cfa;
  --accent-light: #ffe4fd;
  --accent-soft: #fff0fe;
  --black: #0d0d0d;
  --gray: #b2b2b2;
  --gray-dark: #555;
  --white: #fff;
  --border: #ece8f2;
  --on-primary: #ffffff;
  --secondary-container: #ff8cfa;
  --heading: 'League Spartan', sans-serif;
  --body: 'IBM Plex Serif', serif;
  --quote: 'Shrikhand', cursive;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body);
  background: var(--white);
  color: var(--black);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ═══ CONTAINER ═══ */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
}

@media(max-width:1024px) {}

@media(max-width:768px) {}

/* ───────────────────────────────────────────
   RESET
─────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'IBM Plex Serif', serif;
  background: #fbf9f8;
}

/* ───────────────────────────────────────────
   MATERIAL SYMBOLS
─────────────────────────────────────────── */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-size: 24px;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
  user-select: none;
}

/* ───────────────────────────────────────────
   TOP NAV
─────────────────────────────────────────── */
.infosys-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: transparent;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.3s ease,
    box-shadow 0.3s ease,
    backdrop-filter 0.3s ease;
}
.infosys-nav-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  min-height: 92px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
.infosys-nav.scrolled {
  background: rgba(255, 255, 255, 0.80);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.infosys-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-logo {
  display: block;
  width: 168px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}
.infosys-nav.scrolled .site-logo {
  filter: none;
}
.nav-menu-button {
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: #151841;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-menu-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.20);
}
.hbg-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 22px;
  height: 16px;
}
.hbg-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-menu-button.is-open .hbg-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-menu-button.is-open .hbg-bar:nth-child(2) {
  opacity: 0;
}
.nav-menu-button.is-open .hbg-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.nav-pill {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: background 0.3s ease;
}
.infosys-nav.scrolled .nav-pill {
  background: rgba(0, 0, 0, 0.06);
}
.nav-pill a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  font-family: 'Sora', sans-serif;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-pill a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}
.infosys-nav.scrolled .nav-pill a {
  color: #121644;
}
.infosys-nav.scrolled .nav-pill a:hover {
  color: #64004e;
  background: rgba(100, 0, 78, 0.06);
}
.nav-action {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: 'Sora', sans-serif;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.nav-action:hover {
  background: rgba(255, 255, 255, 0.20);
  color: #ffffff;
}
.infosys-nav.scrolled .nav-action {
  background: rgba(0, 0, 0, 0.06);
  color: #121644;
  border-color: rgba(0, 0, 0, 0.12);
}
.infosys-nav.scrolled .nav-action:hover {
  color: #64004e;
}

@media (max-width: 980px) {
  .infosys-nav-inner {
    min-height: 82px;
    padding: 0 20px;
    grid-template-columns: auto 1fr;
    gap: 16px;
  }
  .nav-pill,
  .nav-action {
    display: none;
  }
  .site-logo {
    width: 154px;
  }
}

/* ───────────────────────────────────────────
   HAMBURGER OVERLAY MENU
─────────────────────────────────────────── */
.hanvix-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: 320px 1fr;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.hanvix-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}
.hanvix-menu-sidebar {
  position: relative;
  background: #f1f2f7;
  padding: 100px 32px 32px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.hanvix-menu-close {
  position: absolute;
  top: 28px;
  left: 18px;
  cursor: pointer;
  background: #ffffff;
  border-radius: 50%;
  border: none;
  z-index: 20;
  width: 56px;
  height: 56px;
  overflow: hidden;
  transition-duration: 500ms;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}
.hanvix-menu-close .close-text {
  font-size: 1.875rem;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  line-height: 1;
  padding-bottom: 7px;
  transition-duration: 500ms;
  position: relative;
  z-index: 10;
}
.hanvix-menu-close:hover .close-text {
  transform: scale(0);
}
.hanvix-menu-close .close-span {
  position: absolute;
  width: 100%;
  height: 100%;
  transform: rotate(45deg);
  background-color: #64004e;
  transition-duration: 500ms;
}
.hanvix-menu-close .cs-t {
  top: 5rem;
  left: 0;
}
.hanvix-menu-close:hover .cs-t {
  top: 2.25rem;
}
.hanvix-menu-close .cs-l {
  top: 0;
  left: 5rem;
}
.hanvix-menu-close:hover .cs-l {
  left: 2.25rem;
}
.hanvix-menu-close .cs-r {
  top: 0;
  right: 5rem;
}
.hanvix-menu-close:hover .cs-r {
  right: 2.25rem;
}
.hanvix-menu-close .cs-b {
  bottom: 5rem;
  right: 0;
}
.hanvix-menu-close:hover .cs-b {
  bottom: 2.25rem;
}
.hanvix-menu-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hanvix-menu-links a {
  font-family: 'Sora', sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: #4a4a68;
  padding: 14px 16px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.hanvix-menu-links a:hover {
  background: rgba(0, 0, 0, 0.04);
  color: #121644;
}
.hanvix-menu-link.active {
  background: #ffffff;
  color: #64004e;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.hanvix-menu-link.active::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 18px;
  background: #64004e;
  border-radius: 4px;
  margin-right: 12px;
  vertical-align: -3px;
}
.hanvix-menu-links-simple {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  gap: 2px;
}
.hanvix-menu-links-simple a {
  font-size: 15px;
  font-weight: 400;
  color: #6a6a88;
  padding: 10px 16px;
}
.hanvix-menu-social {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  gap: 14px;
}
.hanvix-menu-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  color: #4a4a68;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.hanvix-menu-social a:hover {
  background: #64004e;
  color: #ffffff;
}
.hanvix-menu-panel {
  background: #ffffff;
  padding: 100px 56px 56px;
  overflow-y: auto;
}
.hanvix-card-section {
  display: none;
}
.hanvix-card-section.active {
  display: block;
  animation: scaleIn 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.hanvix-scale-out {
  display: block;
  position: absolute;
  inset: 0;
  animation: scaleOut 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes scaleOut {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.96);
  }
}
.hanvix-menu-heading {
  font-family: 'League Spartan', sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: #121644;
  margin-bottom: 36px;
}
.hanvix-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.hanvix-card {
  position: relative;
  display: block;
  height: 280px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  background-color: #1a1a2e;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease;
}
.hanvix-card-tall {
  grid-row: span 2;
  height: 584px;
}
.hanvix-card:hover {
  transform: translateY(-4px);
}
.hanvix-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.75) 100%);
}
.hanvix-card-title {
  position: absolute;
  left: 24px;
  bottom: 56px;
  right: 24px;
  z-index: 2;
  color: #ffffff;
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}
.hanvix-card-link {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 2;
  color: #ffffff;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 980px) {
  .hanvix-menu-overlay {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
  .hanvix-menu-sidebar {
    padding: 88px 24px 24px;
  }
  .hanvix-menu-panel {
    padding: 24px;
  }
  .hanvix-card-grid {
    grid-template-columns: 1fr;
  }
  .hanvix-card-tall {
    grid-row: span 1;
    height: 280px;
  }
}

/* ───────────────────────────────────────────
   HERO
─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .80), rgba(0, 0, 0, .55), rgba(0, 0, 0, .25));
  z-index: 2;
}

/* Fallback gradient when no video */


.hero-inner {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 120px 24px 64px;
}

.hero-content {
  width: 96%;
  max-width: 1400px;
  text-align: center;
  color: #ffffff;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 28px 80px;
  animation: fadeUp 1.6s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-tag {
  display: block;
  margin-bottom: 10px;
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}

.hero h1 {
  font-family: 'League Spartan', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 12px;
}

.hero p {
  font-family: 'IBM Plex Serif', serif;
  font-size: 16px;
  line-height: 1.55;
  max-width: 820px;
  margin: 0 auto;
  opacity: .95;
}

/* Buttons */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.hero-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 26px;
  border-radius: 8px;
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.25s, transform 0.25s;
}

.hero-buttons a:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #64004e;
  color: #ffffff;
}

.btn-primary:hover {
  background: #8b0064;
}

.btn-secondary {
  border: 1px solid #ffffff;
  color: #ffffff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, .12);
}

/* Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.hero-stats h3 {
  font-family: 'League Spartan', sans-serif;
  font-size: 26px;
  font-weight: 700;
  text-align: center;
}

.hero-stats span {
  display: block;
  text-align: center;
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .76);
}

/* Mobile tweaks */
@media(max-width: 768px) {
  .hero-content {
    padding: 32px 20px;
    border-radius: 18px;
  }

  .hero-buttons a {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ═══════════════════════════════════════════
   HERO BRAND (grid + glow removed)
═══════════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-in {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--heading);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.3rem;
}

.eyebrow::before {
  content: '//';
  opacity: .45;
}

.hero h1 {
  font-family: var(--heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.06;
  margin-bottom: 1rem;
  letter-spacing: -.02em;
}

.hero h1 em {
  font-family: var(--quote);
  font-style: normal;
}

.hero-sub {
  font-size: .98rem;
  color: rgba(255, 255, 255, .86);
  max-width: 480px;
  line-height: 1.8;
}

/* hero-content paragraph inside video hero */
.hero-content p:not(.hero-tag) {
  font-family: var(--body);
  font-size: .98rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, .86);
  max-width: 580px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════
   SHARED
═══════════════════════════════════════════ */
.sec-eye {
  font-family: var(--heading);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--primary-mid);
  margin-bottom: .7rem;
  display: block;
}

.sec-title {
  font-family: var(--heading);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: var(--black);
  line-height: 1.1;
  letter-spacing: -.02em;
}

.sec-title em {
  font-family: var(--quote);
  font-style: normal;
  color: var(--primary);
}

/* ═══════════════════════════════════════════
   MISSION / VISION / VALUES
═══════════════════════════════════════════ */
.life {
  background: var(--white);
  padding: 5.5rem 3rem;
}

.life-in {
  max-width: 1080px;
  margin: 0 auto;
}

.life-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2.8rem;
  border: 1px solid var(--accent-light);
  border-radius: 12px;
  overflow: hidden;
}

.life-panel {
  padding: 2.4rem 1.9rem;
  border-left: 1px solid var(--accent-light);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: background .2s;
  position: relative;
  background: var(--white);
}

.life-panel:first-child {
  border-left: none;
}

.life-panel:hover {
  background: var(--accent-soft);
}

.life-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--primary);
  transition: height .3s;
}

.life-panel:hover::before {
  height: 100%;
}

.life-tag {
  font-family: var(--heading);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--primary-mid);
  margin-bottom: .9rem;
  display: block;
}

.life-panel h3 {
  font-family: var(--heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: .7rem;
  line-height: 1.2;
}

.life-panel p {
  font-size: .88rem;
  color: var(--gray-dark);
  line-height: 1.82;
}

.life-panel p strong {
  color: var(--primary);
  font-weight: 600;
}

/* ═══════════════════════════════════════════
   BAND
═══════════════════════════════════════════ */
.band {
  background: var(--primary-dark);
  padding: 2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.band span {
  font-family: var(--heading);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .15em;
  color: #fff;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: .55rem;
}

.band span::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ═══════════════════════════════════════════
   WHO WE ARE
═══════════════════════════════════════════ */
.who {
  background: var(--accent-soft);
  padding: 5.5rem 3rem;
}

.who-in {
  max-width: 1080px;
  margin: 0 auto;
}

.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 2.8rem;
  border: 1px solid var(--accent-light);
  border-radius: 12px;
  overflow: hidden;
}

.who-panel {
  padding: 2.4rem 1.9rem;
  border-left: 1px solid var(--accent-light);
  border-top: 1px solid var(--accent-light);
  color: inherit;
  transition: background .2s;
  position: relative;
  background: var(--white);
}

.who-panel:nth-child(-n+2) {
  border-top: none;
}

.who-panel:nth-child(odd) {
  border-left: none;
}

.who-panel:hover {
  background: var(--accent-light);
}

.who-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--primary);
  transition: height .3s;
}

.who-panel:hover::before {
  height: 100%;
}

.who-tag {
  font-family: var(--heading);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--primary-mid);
  margin-bottom: .9rem;
  display: block;
}

.who-panel h3 {
  font-family: var(--heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: .7rem;
  line-height: 1.2;
}

.who-panel p {
  font-size: .88rem;
  color: var(--gray-dark);
  line-height: 1.82;
}

/* ═══════════════════════════════════════════
   OUR TEAM
═══════════════════════════════════════════ */
.team {
  background: var(--white);
  padding: 5.5rem 3rem;
}

.team-in {
  max-width: 1080px;
  margin: 0 auto;
}

.team-hdr {
  margin-bottom: 3rem;
}

.team-intro {
  font-size: .94rem;
  color: var(--gray-dark);
  margin-top: .9rem;
  max-width: 520px;
  line-height: 1.8;
}

.trow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: 0;
  margin-bottom: -1px;
  overflow: hidden;
}

.trow:first-of-type {
  border-radius: 14px 14px 0 0;
}

.trow:last-of-type {
  border-radius: 0 0 14px 14px;
  margin-bottom: 0;
}

.tcard {
  background: var(--white);
  padding: 1.9rem 1.7rem 1.7rem;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background .2s;
  cursor: pointer;
}

.tcard:first-child {
  border-left: none;
}

.tcard:hover {
  background: var(--accent-soft);
}

.tcard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--accent), var(--primary));
  transition: height .32s ease;
}

.tcard:hover::before {
  height: 100%;
}

.tcard-av {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-mid));
  color: #fff;
  font-family: var(--heading);
  font-size: .92rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: .04em;
  margin-bottom: .95rem;
  box-shadow: 0 4px 14px rgba(100, 0, 78, .22);
  transition: background .22s;
  flex-shrink: 0;
}

.tcard:hover .tcard-av {
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.tcard-name {
  font-family: var(--heading);
  font-size: .98rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -.01em;
  margin-bottom: 1px;
  line-height: 1.15;
}

.tcard-role {
  font-family: var(--body);
  font-style: italic;
  font-size: .75rem;
  color: var(--primary-mid);
  margin-bottom: .8rem;
}

.tcard-bio {
  font-size: .8rem;
  color: var(--gray-dark);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 1.3rem;
}

.tcard-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--heading);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
  border: 1px solid var(--accent-light);
  border-radius: 99px;
  padding: 6px 14px;
  background: transparent;
  cursor: pointer;
  transition: background .18s, border-color .18s, color .18s;
  align-self: flex-start;
}

.tcard-btn::after {
  content: '→';
  transition: transform .18s;
}

.tcard-btn:hover,
.tcard:hover .tcard-btn {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.tcard:hover .tcard-btn::after {
  transform: translateX(3px);
}

/* ═══════════════════════════════════════════
   MEMBER DETAIL PANEL
═══════════════════════════════════════════ */
.panel-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 0, 8, .55);
  backdrop-filter: blur(6px);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.panel-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(600px, 100vw);
  background: var(--white);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: -20px 0 60px rgba(0, 0, 0, .18);
}

.panel.open {
  transform: translateX(0);
}

.panel-head {
  background: var(--primary-dark);
  padding: 2rem 2rem 1.8rem;
  flex-shrink: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 28px 28px;
  position: relative;
  overflow: hidden;
}

.panel-head::after {
  content: '';
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 140, 250, .14) 0%, transparent 65%);
  pointer-events: none;
}

.panel-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  transition: background .18s, transform .18s;
  z-index: 1;
}

.panel-close:hover {
  background: rgba(255, 255, 255, .22);
  transform: scale(1.08);
}

.panel-av {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-mid));
  color: #fff;
  font-family: var(--heading);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: .04em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25), 0 0 0 2px rgba(255, 140, 250, .22);
  margin-bottom: 1rem;
}

.panel-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 140, 250, .14);
  border: 1px solid rgba(255, 140, 250, .25);
  border-radius: 99px;
  padding: 3px 12px;
  font-family: var(--heading);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .7rem;
}

.panel-name {
  font-family: var(--heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.06;
  letter-spacing: -.02em;
  margin-bottom: .2rem;
}

.panel-role {
  font-family: var(--body);
  font-style: italic;
  font-size: .88rem;
  color: rgba(255, 255, 255, .65);
}

.panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 2rem;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-light) transparent;
}

.panel-body::-webkit-scrollbar {
  width: 5px;
}

.panel-body::-webkit-scrollbar-thumb {
  background: var(--accent-light);
  border-radius: 99px;
}

.p-quote {
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 10px 10px 0;
  padding: 1rem 1.2rem;
  margin-bottom: 1.8rem;
}

.p-quote p {
  font-family: var(--body);
  font-style: italic;
  font-size: .92rem;
  color: var(--primary-dark);
  line-height: 1.7;
  margin: 0;
}

.p-quote cite {
  font-family: var(--heading);
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary-mid);
  display: block;
  margin-top: .5rem;
}

.p-label {
  font-family: var(--heading);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--primary-mid);
  margin-bottom: .7rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.p-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.p-bio {
  margin-bottom: 1.8rem;
}

.p-bio p {
  font-size: .88rem;
  color: var(--gray-dark);
  line-height: 1.85;
  margin-bottom: .7rem;
}

.p-bio p:last-child {
  margin-bottom: 0;
}

.p-resp {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1.8rem;
}

.p-resp li {
  font-size: .84rem;
  color: var(--gray-dark);
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: .75rem .95rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  transition: border-color .18s, background .18s;
}

.p-resp li:hover {
  border-color: var(--accent-light);
  background: var(--accent-soft);
}

.p-resp li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary-mid);
  flex-shrink: 0;
  margin-top: 6px;
}

.p-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: 1.8rem;
}

.p-chip {
  font-family: var(--heading);
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--accent-soft);
  border: 1px solid var(--accent-light);
  border-radius: 99px;
  padding: 4px 12px;
}

.p-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem;
  margin-bottom: 1.8rem;
}

.p-info-item {
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .8rem 1rem;
}

.p-info-key {
  font-family: var(--heading);
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 2px;
}

.p-info-val {
  font-family: var(--body);
  font-size: .84rem;
  color: var(--black);
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
/* ── CANONICAL FOOTER (redesigned, no insights column) ── */
/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
footer {
  position: relative;
  background: linear-gradient(160deg, #4a0040 0%, #3f0030 45%, #2a0021 100%);
  color: #ffffff;
  overflow: hidden;
  isolation: isolate;
}

footer::before {
  content: '';
  position: absolute;
  top: -260px;
  right: -180px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 140, 250, .20), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

footer::after {
  content: '';
  position: absolute;
  bottom: -240px;
  left: -200px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 0, 100, .30), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.footer-top-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 140, 250, .55) 50%, transparent);
}

/* CTA band */
.footer-cta {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 64px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  flex-wrap: wrap;
}

.footer-cta-text h3 {
  font-family: 'League Spartan', sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 2.3vw, 2.05rem);
  line-height: 1.2;
  margin-bottom: 10px;
}

.footer-cta-text p {
  font-family: 'IBM Plex Serif', serif;
  font-size: .95rem;
  color: rgba(255, 255, 255, .68);
  max-width: 480px;
  line-height: 1.6;
}

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  background: #ff8cfa;
  color: #3f0030;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: .92rem;
  padding: 17px 30px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 12px 30px rgba(255, 140, 250, .22);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.footer-cta-btn svg {
  transition: transform .25s ease;
}

.footer-cta-btn:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(255, 140, 250, .32);
}

.footer-cta-btn:hover svg {
  transform: translate(3px, -3px);
}

/* Columns */
.footer-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  gap: 48px;
  padding: 64px 0 48px;
}

.footer-brand-logo {
  display: block;
  width: 190px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
  /* mono white brand logo */
}

.footer-col>p {
  opacity: .68;
  font-family: 'IBM Plex Serif', serif;
  font-size: .9rem;
  line-height: 1.78;
  color: #ffffff;
  max-width: 260px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.footer-socials a:hover {
  background: #ff8cfa;
  border-color: #ff8cfa;
  color: #3f0030;
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(255, 140, 250, .35);
}

.footer-col h4 {
  font-family: 'Sora', sans-serif;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 14px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #ff8cfa, rgba(255, 140, 250, 0));
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, .66);
  font-family: 'IBM Plex Serif', serif;
  font-size: .92rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0;
  transition: color .2s ease, gap .2s ease, padding-left .2s ease;
}

.footer-col ul li a::before {
  content: '→';
  display: inline-block;
  opacity: 0;
  width: 0;
  overflow: hidden;
  color: #ff8cfa;
  transition: opacity .2s ease, width .2s ease, margin-right .2s ease;
}

.footer-col ul li a:hover {
  color: #ffffff;
}

.footer-col ul li a:hover::before {
  opacity: 1;
  width: 14px;
  margin-right: 4px;
}

/* Bottom bar */
.footer-bottom {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 22px 0;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.footer-bottom-inner p {
  font-family: 'Sora', sans-serif;
  font-size: .78rem;
  color: rgba(255, 255, 255, .42);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  font-family: 'Sora', sans-serif;
  font-size: .78rem;
  color: rgba(255, 255, 255, .42);
  text-decoration: none;
  transition: color .2s ease;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

@media(max-width:1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-cta {
    padding: 52px 0;
  }
}

@media(max-width:640px) {
  .footer-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 44px 0;
  }

  .footer-cta-btn {
    width: 100%;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 44px 0 36px;
  }

  .footer-col>p {
    max-width: 100%;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    transition-duration: .01ms !important
  }
}