/* ============================================================
   FAILOA FAMILI — Custom Design System
   Brand: #F37C21 (Vivid Orange) · #2D3748 (Dark Charcoal)
          #718096 (Cool Slate Gray) · #E2E8F0 (Soft Ash White)
   Type: Rockwell / Rockwell Nova (with serif fallbacks)
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  --ff-brand: 'Rockwell', 'Rockwell Nova', 'Rockwell MT Bold', 'Courier New',
    Georgia, 'Times New Roman', serif;
  --ff-body: 'Rockwell', 'Rockwell Nova', Georgia, 'Times New Roman', serif;

  --clr-orange: #F37C21;
  --clr-orange-light: #F59E4B;
  --clr-orange-dark: #D46918;
  --clr-charcoal: #2D3748;
  --clr-charcoal-light: #3D4A60;
  --clr-slate: #718096;
  --clr-slate-light: #A0AEC0;
  --clr-ash: #E2E8F0;
  --clr-ash-light: #EDF2F7;
  --clr-white: #FFFFFF;
  --clr-black: #1A202C;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.16);
  --shadow-orange: 0 4px 20px rgba(243, 124, 33, 0.35);
  --shadow-glow: 0 0 40px rgba(243, 124, 33, 0.25);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-spring: cubic-bezier(0.22, 1.2, 0.36, 1);

  --nav-h: 72px;

  --z-nav: 1000;
  --z-modal: 2000;
  --z-canvas: 0;
  --z-overlay: 500;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--ff-body);
  color: var(--clr-charcoal);
  background: var(--clr-white);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --- Utility: visually-hidden --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   NAVIGATION — Glass-morphism sticky nav
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  transition: background 0.35s var(--ease-out-expo),
    box-shadow 0.35s var(--ease-out-expo);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--ff-brand);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--clr-charcoal);
  letter-spacing: -0.01em;
}

.nav__logo img {
  height: 40px;
  width: auto;
}

.nav__logo span {
  color: var(--clr-orange);
}

.nav__links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav__links a {
  font-family: var(--ff-brand);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--clr-charcoal);
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.2s;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clr-orange);
  border-radius: 2px;
  transition: width 0.3s var(--ease-out-expo);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--clr-orange);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

.nav__cta {
  background: var(--clr-orange);
  color: var(--clr-white) !important;
  padding: 0.55rem 1.4rem !important;
  border-radius: 999px;
  font-weight: 600 !important;
  transition: background 0.25s, box-shadow 0.25s, transform 0.25s !important;
}

.nav__cta:hover {
  background: var(--clr-orange-dark) !important;
  box-shadow: var(--shadow-orange);
  transform: translateY(-1px);
}

.nav__cta::after {
  display: none !important;
}

/* Mobile hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: calc(var(--z-nav) + 1);
}

.nav__toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--clr-charcoal);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out-expo),
    opacity 0.3s var(--ease-out-expo);
}

@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out-expo);
  }

  .nav__links.open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav__links a {
    font-size: 1.5rem;
  }

  .nav__toggle {
    display: flex;
  }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--clr-charcoal);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: var(--z-canvas);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse at 30% 50%,
      rgba(243, 124, 33, 0.18) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 70% 20%,
      rgba(113, 128, 150, 0.12) 0%,
      transparent 55%
    );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 2rem;
}

.hero__icon-anim {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  opacity: 0;
}

.hero__title {
  font-family: var(--ff-brand);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--clr-white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  opacity: 0;
}

.hero__title span {
  color: var(--clr-orange);
  display: inline-block;
}

.hero__subtitle {
  font-family: var(--ff-brand);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--clr-ash);
  margin-top: 1.2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
}

.hero__cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
  opacity: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-brand);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.8rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
  white-space: nowrap;
}

.btn--primary {
  background: var(--clr-orange);
  color: var(--clr-white);
}

.btn--primary:hover {
  background: var(--clr-orange-dark);
  box-shadow: var(--shadow-orange);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--clr-white);
  border: 2px solid var(--clr-ash);
}

.btn--outline:hover {
  border-color: var(--clr-orange);
  color: var(--clr-orange);
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--clr-charcoal);
  color: var(--clr-white);
}

.btn--dark:hover {
  background: var(--clr-charcoal-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* ============================================================
   SCROLL INDICATOR
   ============================================================ */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--clr-ash);
  font-family: var(--ff-brand);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

.scroll-indicator__line {
  width: 1px;
  height: 40px;
  background: var(--clr-ash);
  position: relative;
  overflow: hidden;
}

.scroll-indicator__line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--clr-orange);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0% {
    transform: translateY(-100%);
  }
  50% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(100%);
  }
}

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.section {
  padding: 6rem 2rem;
}

.section--ash {
  background: var(--clr-ash);
}

.section--dark {
  background: var(--clr-charcoal);
  color: var(--clr-white);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section__tag {
  display: inline-block;
  font-family: var(--ff-brand);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-orange);
  margin-bottom: 0.75rem;
}

.section__title {
  font-family: var(--ff-brand);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.section__desc {
  font-size: 1.05rem;
  color: var(--clr-slate);
  margin-top: 0.8rem;
  line-height: 1.7;
}

.section--dark .section__desc {
  color: #C4CDD5;
}

/* ============================================================
   SERVICE CARDS GRID
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

/* Wrapper link — fills the grid cell so card can stretch */
.service-card-link {
  display: flex;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  cursor: pointer;
  border: 1px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-out-expo),
    box-shadow 0.4s var(--ease-out-expo),
    border-color 0.4s var(--ease-out-expo);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--clr-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out-expo);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--clr-ash);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(243, 124, 33, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  transition: background 0.35s, transform 0.35s var(--ease-out-back);
}

.service-card:hover .service-card__icon {
  background: var(--clr-orange);
  transform: scale(1.08) rotate(5deg);
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--clr-orange);
  transition: stroke 0.35s;
}

.service-card:hover .service-card__icon svg {
  stroke: var(--clr-white);
}

.service-card__title {
  font-family: var(--ff-brand);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--clr-charcoal);
}

.service-card__summary {
  font-size: 0.9rem;
  color: var(--clr-slate);
  line-height: 1.6;
}

.service-card__category {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-orange);
  margin-top: auto;
  padding: 0.25rem 0.7rem;
  background: rgba(243, 124, 33, 0.08);
  border-radius: 999px;
}

/* ============================================================
   SERVICE DETAIL PANEL / MODAL
   ============================================================ */
.service-detail-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out-expo);
}

.service-detail-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.service-detail-panel {
  background: var(--clr-white);
  border-radius: var(--radius-xl);
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(30px) scale(0.96);
  transition: transform 0.45s var(--ease-out-expo);
}

.service-detail-overlay.open .service-detail-panel {
  transform: translateY(0) scale(1);
}

.service-detail-panel__close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--clr-ash);
  background: var(--clr-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--clr-slate);
  transition: all 0.25s;
}

.service-detail-panel__close:hover {
  background: var(--clr-orange);
  color: var(--clr-white);
  border-color: var(--clr-orange);
}

.service-detail-panel__category {
  font-family: var(--ff-brand);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-orange);
}

.service-detail-panel__title {
  font-family: var(--ff-brand);
  font-weight: 700;
  font-size: 1.8rem;
  margin: 0.4rem 0 0.8rem;
  color: var(--clr-charcoal);
}

.service-detail-panel__desc {
  font-size: 1rem;
  color: var(--clr-slate);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-detail-panel__fields {
  display: grid;
  gap: 1rem;
}

.detail-field {
  background: var(--clr-ash-light);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
}

.detail-field__label {
  font-family: var(--ff-brand);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clr-orange);
  margin-bottom: 0.3rem;
}

.detail-field__value {
  font-size: 0.95rem;
  color: var(--clr-charcoal);
  line-height: 1.6;
}

/* ============================================================
   IMPACT COUNTERS
   ============================================================ */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.impact-item__number {
  font-family: var(--ff-brand);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  color: var(--clr-orange);
  line-height: 1;
}

.impact-item__label {
  font-family: var(--ff-brand);
  font-size: 0.9rem;
  color: var(--clr-slate);
  margin-top: 0.4rem;
}

.section--dark .impact-item__label {
  color: var(--clr-slate-light);
}

/* ============================================================
   PARTNERS CAROUSEL
   ============================================================ */
.partners-track {
  display: flex;
  gap: 3rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  opacity: 0.6;
}

.partners-track img {
  height: 44px;
  width: auto;
  filter: grayscale(100%);
  transition: filter 0.35s, opacity 0.35s;
}

.partners-track img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ============================================================
   ABOUT PAGE — Mission / Team
   ============================================================ */
.about-hero {
  padding-top: calc(var(--nav-h) + 4rem);
  padding-bottom: 4rem;
  text-align: center;
  background: var(--clr-charcoal);
  color: var(--clr-white);
}

.about-hero__title {
  font-family: var(--ff-brand);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  letter-spacing: -0.01em;
}

.mission-block {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--clr-slate);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

#senior-leadership .team-grid {
  max-width: 1080px;
  gap: 1.5rem;
}

/* ── Team Card (Base: Senior Leadership) ──────────────── */
.team-card {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: var(--radius-lg);
  background: var(--clr-white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out-expo),
    box-shadow 0.35s var(--ease-out-expo);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.team-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--clr-ash);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--clr-orange);
  overflow: hidden;
}

.team-card__avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.team-card__photo {
  background: transparent;
  border: 2px solid var(--clr-ash);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.team-card__name {
  font-family: var(--ff-brand);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--clr-charcoal);
}

.team-card__role {
  font-size: 0.85rem;
  color: var(--clr-slate);
  margin-top: 0.2rem;
}

/* ── Senior Leadership Card: Photo-Dominant ─────────────── */
.team-card--leader {
  padding: 0;
  height: 100%;
  background: transparent;
  box-shadow: none;
  border-radius: var(--radius-lg);
  overflow: visible;
  transform-style: preserve-3d;
  perspective: 800px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.team-card--leader:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(243,124,33,0.2), 0 4px 16px rgba(0,0,0,0.1);
}

/* Leader media: photo on top, fixed 3:4 portrait ratio matching staff */
.team-card--leader .team-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--clr-charcoal);
}

/* Info area below the photo — hidden on leader cards (now photo-only) */
.team-card__info {
  display: none;
}

.team-card__info p {
  font-size: 0.8rem;
  color: var(--clr-slate);
  line-height: 1.55;
  margin: 0;
}

/* Role inside overlay — lighter text for dark bg */
.team-card--leader .team-card__name {
  font-family: var(--ff-brand);
  font-weight: 700;
  font-size: 1.1rem;
  color: #FFFFFF;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
  letter-spacing: 0.02em;
}

.team-card--leader .team-card__role {
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
  margin-top: 0.15rem;
}

/* ── Click indicator: subtle "tap to learn more" hint ── */
.team-card--leader .team-card__overlay::after {
  content: '';
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s var(--ease-out-expo), transform 0.35s var(--ease-out-expo);
}

.team-card--leader:hover .team-card__overlay::after {
  opacity: 1;
  transform: translateY(0);
}

.team-card--leader .team-card__overlay::before {
  content: '+';
  position: absolute;
  bottom: 1.2rem;
  right: 1.25rem;
  z-index: 1;
  font-family: var(--ff-brand);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--clr-white);
  line-height: 1;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s var(--ease-out-expo), transform 0.35s var(--ease-out-expo);
}

.team-card--leader:hover .team-card__overlay::before {
  opacity: 1;
  transform: translateY(0);
}

/* Placeholder media for members without photos */
.team-card__media--placeholder {
  background: linear-gradient(135deg, var(--clr-charcoal) 0%, var(--clr-charcoal-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card__media--placeholder .team-card__avatar {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  background: rgba(255,255,255,0.1);
}

.team-card__media--placeholder .team-card__overlay {
  background: linear-gradient(
    to top,
    rgba(45,55,72,0.92) 0%,
    rgba(45,55,72,0.55) 30%,
    transparent 100%
  );
}

/* Large avatar (placeholder members) */
.team-card__avatar--lg {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: var(--clr-orange);
  overflow: hidden;
}

.team-card__avatar--lg img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* ── Staff Card: Photo-Dominant Premium ───────────────── */
.team-card--staff {
  height: 100%;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: var(--radius-lg);
  overflow: visible;
  transform-style: preserve-3d;
  perspective: 800px;
}

.team-card--staff:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(243,124,33,0.2), 0 4px 16px rgba(0,0,0,0.1);
}

/* Photo wrapper — covers the full card, edge-to-edge */
.team-card__media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--clr-charcoal);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  transition: transform 0.5s var(--ease-out-expo),
    box-shadow 0.5s var(--ease-out-expo);
}

/* Full-team: ultra-tight mosaic, no gap breathing room */
#full-team .team-grid {
  gap: 0.5rem;
  max-width: 1080px;
}

#full-team.section {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background: var(--clr-charcoal);
}

#full-team .section__header .section__tag { color: var(--clr-orange-light); }
#full-team .section__header .section__title { color: var(--clr-white); }
#full-team .section__header .section__desc { color: var(--clr-slate-light); }

.team-card--staff:hover .team-card__media {
  box-shadow: 0 8px 32px rgba(243,124,33,0.25);
}

.team-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out-expo);
}

.team-card--staff:hover .team-card__media img {
  transform: scale(1.06);
}

/* Gradient overlay — fades from transparent to dark */
.team-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 0 1rem 1.4rem;
  background: linear-gradient(
    to top,
    rgba(45,55,72,0.88) 0%,
    rgba(45,55,72,0.50) 35%,
    rgba(45,55,72,0.08) 65%,
    transparent 100%
  );
  transition: background 0.5s var(--ease-out-expo);
}

.team-card--staff:hover .team-card__overlay {
  background: linear-gradient(
    to top,
    rgba(45,55,72,0.94) 0%,
    rgba(45,55,72,0.55) 35%,
    rgba(45,55,72,0.12) 65%,
    transparent 100%
  );
}

/* Orange accent bar */
.team-card__overlay-bar {
  width: 40px;
  height: 3px;
  background: var(--clr-orange);
  border-radius: 3px;
  margin-bottom: 0.6rem;
  transition: width 0.4s var(--ease-out-expo);
}

.team-card--staff:hover .team-card__overlay-bar {
  width: 56px;
}

/* Name on overlay */
.team-card--staff .team-card__name {
  font-family: var(--ff-brand);
  font-weight: 700;
  font-size: 1.1rem;
  color: #FFFFFF;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
  letter-spacing: 0.02em;
  transition: transform 0.4s var(--ease-out-expo);
}

.team-card--staff:hover .team-card__name {
  transform: translateY(-2px);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero {
  padding-top: calc(var(--nav-h) + 4rem);
  padding-bottom: 3rem;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-family: var(--ff-brand);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--clr-charcoal);
}

.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--ff-body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border: 2px solid var(--clr-ash);
  border-radius: var(--radius-md);
  background: var(--clr-white);
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--clr-orange);
  box-shadow: 0 0 0 3px rgba(243, 124, 33, 0.15);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-info-card {
  background: var(--clr-ash-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.contact-info-card h3 {
  font-family: var(--ff-brand);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--clr-charcoal);
  margin-bottom: 1.2rem;
}

.contact-info-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--clr-slate);
}

.contact-info-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--clr-orange);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--clr-charcoal);
  color: var(--clr-ash);
  padding: 3rem 2rem 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.footer__brand {
  display: inline-block;
}

.footer__brand img {
  display: block;
  height: 45px;
  width: auto;
}

.footer__desc {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: var(--clr-slate-light);
  line-height: 1.6;
  max-width: 320px;
}

.footer__col-title {
  font-family: var(--ff-brand);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clr-white);
  margin-bottom: 1rem;
}

.footer__col a {
  display: block;
  font-size: 0.9rem;
  color: var(--clr-slate-light);
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.footer__col a:hover {
  color: var(--clr-orange);
}

.footer__bottom {
  text-align: center;
  font-size: 0.8rem;
  color: var(--clr-slate);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(226, 232, 240, 0.1);
}

/* ============================================================
   ANIMATION UTILITIES
   ============================================================ */
[data-anim] {
  opacity: 0;
}

[data-anim].animated {
  opacity: 1;
}

/* Floating icon animation for Three.js canvas overlay */
.floating-icon {
  position: absolute;
  pointer-events: none;
  opacity: 0.08;
  animation: floatIcon 20s linear infinite;
}

@keyframes floatIcon {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-30px) rotate(5deg);
  }
  50% {
    transform: translateY(-10px) rotate(0deg);
  }
  75% {
    transform: translateY(-40px) rotate(-5deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

/* ── Skip to content link ────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: calc(var(--z-nav) + 10);
  background: var(--clr-orange);
  color: var(--clr-white);
  padding: 0.6rem 1.2rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-family: var(--ff-brand);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: top 0.3s var(--ease-out-expo);
}

.skip-link:focus {
  top: 0;
}

/* ── Focus visible ring ──────────────────────────────── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--clr-orange);
  outline-offset: 2px;
}

.filter-pill:focus-visible {
  outline: 2px solid var(--clr-orange);
  outline-offset: 3px;
}

.service-card:focus-within {
  outline: 2px solid var(--clr-orange);
  outline-offset: 4px;
  border-radius: var(--radius-lg);
}

.nav__toggle:focus-visible {
  outline: 2px solid var(--clr-orange);
  outline-offset: 3px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ============================================================
   PAGE HERO (non-home)
   ============================================================ */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + 5rem);
  padding-bottom: 4rem;
  text-align: center;
  background: linear-gradient(
    180deg,
    var(--clr-charcoal) 0%,
    var(--clr-charcoal) 60%,
    var(--clr-white) 100%
  );
  color: var(--clr-white);
}

.page-hero__title {
  font-family: var(--ff-brand);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  letter-spacing: -0.01em;
}

.page-hero__subtitle {
  font-size: 1.1rem;
  color: var(--clr-ash);
  margin-top: 0.8rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero--services {
  background: linear-gradient(
    180deg,
    var(--clr-charcoal) 0%,
    var(--clr-charcoal) 50%,
    var(--clr-ash) 100%
  );
}

/* Service category filter pills */
.filter-bar {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto 2.5rem;
}

.filter-pill {
  font-family: var(--ff-brand);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  border: 2px solid var(--clr-ash);
  background: var(--clr-white);
  color: var(--clr-slate);
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
}

.filter-pill:hover,
.filter-pill.active {
  border-color: var(--clr-orange);
  background: var(--clr-orange);
  color: var(--clr-white);
}

/* ============================================================
   COMMUNITY FEED CAROUSEL (Instagram-style)
   ============================================================ */
.community-feed { overflow: hidden; }

.feed-carousel { position: relative; max-width: 1280px; margin: 0 auto; }

.feed-carousel__track {
  display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; -webkit-overflow-scrolling: touch; padding: 0.5rem 2rem 1rem;
  scrollbar-width: none; -ms-overflow-style: none;
}
.feed-carousel__track::-webkit-scrollbar { display: none; }

.feed-post {
  flex: 0 0 calc(33.333% - 0.85rem); min-width: 280px; max-width: 400px;
  scroll-snap-align: start; background: var(--clr-white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--clr-ash);
  display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s var(--ease-out-expo);
}
.feed-post:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

@media (max-width: 900px) { .feed-post { flex: 0 0 calc(50% - 0.65rem); min-width: 240px; } }
@media (max-width: 600px) { .feed-post { flex: 0 0 85%; min-width: 0; } .feed-carousel__track { padding: 0.5rem 1rem 1rem; } }

.feed-post__media {
  position: relative; width: 100%; padding-top: 75%; overflow: hidden;
  background: var(--clr-charcoal); cursor: pointer;
}
.feed-post__media img, .feed-post__media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease-out-expo);
}
.feed-post:hover .feed-post__media img, .feed-post:hover .feed-post__media video { transform: scale(1.04); }

.feed-post__play-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.15); transition: background 0.3s;
}
.feed-post__play-overlay:hover { background: rgba(0,0,0,0.3); }

.feed-post__play-btn {
  width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,0.9);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s var(--ease-out-back), background 0.3s; box-shadow: var(--shadow-md);
}
.feed-post__play-overlay:hover .feed-post__play-btn { transform: scale(1.12); background: var(--clr-white); }
.feed-post__play-btn svg { width: 22px; height: 22px; margin-left: 3px; color: var(--clr-orange); }

.feed-post__youtube-wrap { position: absolute; inset: 0; }
.feed-post__youtube-wrap iframe { width: 100%; height: 100%; border: none; }

.feed-post__body { padding: 0.9rem 1rem; flex: 1; }
.feed-post__caption { font-size: 0.85rem; color: var(--clr-charcoal); line-height: 1.5; margin-bottom: 0.65rem; }
.feed-post__date { font-size: 0.7rem; color: var(--clr-slate); text-transform: uppercase; letter-spacing: 0.06em; }

.feed-post__actions { display: flex; align-items: center; gap: 1rem; padding: 0 1rem 0.9rem; }

.feed-post__action-btn {
  display: inline-flex; align-items: center; gap: 0.35rem; background: none; border: none;
  cursor: pointer; font-family: var(--ff-brand); font-size: 0.8rem; font-weight: 600;
  color: var(--clr-slate); padding: 0.35rem 0; transition: color 0.2s, transform 0.2s;
}
.feed-post__action-btn:hover { color: var(--clr-charcoal); }
.feed-post__action-btn svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease-out-back); }
.feed-post__action-btn:active svg { transform: scale(0.85); }

.feed-post__like-btn.liked { color: #E53E3E; }
.feed-post__like-btn.liked svg { fill: #E53E3E; }

@keyframes heartBurst {
  0% { transform: scale(1); } 15% { transform: scale(1.35); } 30% { transform: scale(0.9); }
  45% { transform: scale(1.2); } 60% { transform: scale(0.95); } 100% { transform: scale(1); }
}
.feed-post__like-btn.burst svg { animation: heartBurst 0.55s var(--ease-out-expo); }

.feed-carousel__arrow {
  position: absolute; top: 40%; transform: translateY(-50%); z-index: 5;
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--clr-ash);
  background: var(--clr-white); box-shadow: var(--shadow-sm); cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all 0.25s;
  color: var(--clr-charcoal);
}
.feed-carousel__arrow:hover { background: var(--clr-orange); color: var(--clr-white); border-color: var(--clr-orange); box-shadow: var(--shadow-orange); }
.feed-carousel__arrow--left { left: 0.25rem; }
.feed-carousel__arrow--right { right: 0.25rem; }
.feed-carousel__arrow svg { width: 18px; height: 18px; }
@media (max-width: 600px) { .feed-carousel__arrow { display: none; } }

.feed-carousel__dots { display: flex; justify-content: center; gap: 0.4rem; margin-top: 0.75rem; }
.feed-carousel__dot {
  width: 8px; height: 8px; border-radius: 50%; border: none; background: var(--clr-slate-light);
  cursor: pointer; transition: all 0.3s; padding: 0;
}
.feed-carousel__dot.active { background: var(--clr-orange); width: 22px; border-radius: 4px; }

/* ============================================================
   LIVING ICON MOTION SYSTEM
   ============================================================ */
.living-icon { position: fixed; z-index: 10; pointer-events: none; will-change: transform, opacity; transition: filter 0.6s; width: 72px; height: 72px; opacity: 0; }
.living-icon.glow { filter: drop-shadow(0 0 18px rgba(243,124,33,0.5)); }
@media (max-width: 768px) { .living-icon { width: 48px; height: 48px; } }

.icon-divider { position: relative; height: 60px; display: flex; align-items: center; justify-content: center; gap: 1.5rem; overflow: hidden; margin: -2rem 0 2rem; }
.icon-divider__icon { width: 28px; height: 28px; opacity: 0; transform: scale(0.3) translateX(60px); }
@media (max-width: 600px) { .icon-divider { gap: 0.8rem; height: 40px; } .icon-divider__icon { width: 20px; height: 20px; } }

.service-card__burst-canvas { position: absolute; inset: 0; pointer-events: none; z-index: 2; border-radius: var(--radius-lg); }

/* ============================================================
   REPORT VIEWER — PDF modal popup
   ============================================================ */
.btn--report {
  background: rgba(255,255,255,0.08);
  color: var(--clr-white);
  border: 2px solid rgba(255,255,255,0.25);
}

.btn--report:hover {
  background: var(--clr-orange);
  border-color: var(--clr-orange);
  box-shadow: var(--shadow-orange);
  transform: translateY(-2px);
}

.report-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out-expo);
}
.report-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.report-viewer {
  background: var(--clr-white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 960px;
  height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: translateY(30px) scale(0.96);
  transition: transform 0.45s var(--ease-out-expo);
}
.report-overlay.open .report-viewer {
  transform: translateY(0) scale(1);
}

.report-viewer__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  background: var(--clr-charcoal);
  color: var(--clr-white);
  flex-shrink: 0;
}

.report-viewer__title {
  font-family: var(--ff-brand);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.report-viewer__title svg {
  width: 18px;
  height: 18px;
  color: var(--clr-orange);
  flex-shrink: 0;
}

.report-viewer__actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.report-viewer__years {
  display: flex;
  gap: 0.3rem;
  align-items: center;
}

.report-viewer__year-pill {
  font-family: var(--ff-brand);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: rgba(255,255,255,0.65);
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
}
.report-viewer__year-pill:hover {
  background: rgba(255,255,255,0.1);
  color: var(--clr-white);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-1px);
}
.report-viewer__year-pill--active,
.report-viewer__year-pill--active:hover {
  background: var(--clr-orange);
  border-color: var(--clr-orange);
  color: var(--clr-white);
  box-shadow: 0 0 12px rgba(243,124,33,0.4);
  transform: translateY(-1px);
}

.report-viewer__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--ff-brand);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  color: var(--clr-white);
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}
.report-viewer__btn:hover {
  background: var(--clr-orange);
  border-color: var(--clr-orange);
}
.report-viewer__btn svg {
  width: 14px;
  height: 14px;
}

.report-viewer__close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: var(--clr-white);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}
.report-viewer__close:hover {
  background: var(--clr-orange);
  border-color: var(--clr-orange);
}

.report-viewer__frame {
  flex: 1;
  width: 100%;
  border: none;
  background: #f5f5f5;
}

@media (max-width: 768px) {
  .report-viewer {
    height: 95vh;
    max-width: 100%;
    border-radius: var(--radius-md);
  }
  .report-viewer__toolbar {
    padding: 0.7rem 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .report-viewer__title {
    font-size: 0.85rem;
  }
  .report-viewer__actions {
    flex-wrap: wrap;
    gap: 0.4rem;
  }
  .report-viewer__years {
    order: -1;
    width: 100%;
    justify-content: center;
  }
  .report-viewer__year-pill {
    font-size: 0.7rem;
    padding: 0.3rem 0.55rem;
  }
}

/* ============================================================
   ANNUAL REPORTS PAGE — Year card grid
   ============================================================ */
.reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.report-card {
  background: var(--clr-white);
  border: 2px solid var(--clr-ash);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.35s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.report-card:hover {
  border-color: var(--clr-orange);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.report-card__year {
  font-family: var(--ff-brand);
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  color: var(--clr-orange);
  line-height: 1;
}

.report-card__label {
  font-family: var(--ff-brand);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-white);
  background: var(--clr-orange);
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
}

.report-card__range {
  font-size: 0.85rem;
  color: var(--clr-slate);
  margin-bottom: 0.5rem;
}

.report-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--ff-brand);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  border: 2px solid var(--clr-charcoal);
  background: transparent;
  color: var(--clr-charcoal);
  cursor: pointer;
  transition: all 0.25s;
  margin-top: auto;
}
.report-card__btn:hover {
  background: var(--clr-orange);
  border-color: var(--clr-orange);
  color: var(--clr-white);
  box-shadow: var(--shadow-orange);
  transform: translateY(-2px);
}
.report-card__btn svg {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .reports-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
  }
  .report-card {
    padding: 1.5rem 1rem;
  }
}

/* ============================================================
   BIO POPUP — Leadership card detail modal
   ============================================================ */
.bio-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out-expo);
}
.bio-popup-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.bio-popup {
  background: var(--clr-white);
  border-radius: var(--radius-xl);
  max-width: 460px;
  width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.45s var(--ease-out-expo);
}
.bio-popup-overlay.open .bio-popup {
  transform: translateY(0) scale(1);
}

.bio-popup__header {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--clr-charcoal);
}
.bio-popup__header img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bio-popup__header--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--clr-charcoal) 0%, var(--clr-charcoal-light) 100%);
}
.bio-popup__header--placeholder .team-card__avatar--lg {
  width: 130px;
  height: 130px;
  font-size: 2.8rem;
}

.bio-popup__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  color: var(--clr-white);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s;
  z-index: 2;
}
.bio-popup__close:hover {
  background: rgba(243,124,33,0.85);
}

.bio-popup__body {
  padding: 1.8rem 2rem 2rem;
  text-align: center;
}
.bio-popup__name {
  font-family: var(--ff-brand);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--clr-charcoal);
  margin-bottom: 0.2rem;
}
.bio-popup__role {
  font-size: 0.9rem;
  color: var(--clr-orange);
  font-weight: 600;
  margin-bottom: 1rem;
}
.bio-popup__bio {
  font-size: 0.95rem;
  color: var(--clr-slate);
  line-height: 1.7;
}
.bio-popup__divider {
  width: 40px;
  height: 3px;
  background: var(--clr-orange);
  border-radius: 3px;
  margin: 0 auto 1rem;
}
