:root {
  --vu-team-night: #040a1f;
  --vu-team-space: #0f1834;
  --vu-team-slate: #1d2a52;
  --vu-team-paper2: #f4f5f9;
  --vu-team-mist: #f7f9ff;
  --vu-team-paper: #ffffff;
  --vu-team-gold: #ffd900;
  --vu-team-gold-soft: #fff6a5;
  --vu-team-shadow-soft: 0 20px 40px rgba(5, 7, 19, 0.18);
  --vu-team-shadow-card: 0 30px 60px rgba(5, 7, 19, 0.18);
  --vu-team-glass-front: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 255, 0.92));
  --vu-team-glass-mid: linear-gradient(135deg, rgba(246, 244, 255, 0.9), rgba(232, 238, 255, 0.82));
  --vu-team-glass-rear: linear-gradient(135deg, rgba(230, 240, 255, 0.75), rgba(214, 228, 250, 0.68));
  --vu-team-glass-shadow: 0 20px 45px rgba(5, 7, 19, 0.12);
  --vu-team-glass-border: 1px solid rgba(255, 255, 255, 0.45);
  --vu-team-layer-offset: clamp(10px, 1.5vw, 18px);
  --vu-team-layer-radius: 44px;
  --vu-team-chip-slate: linear-gradient(135deg, rgba(224, 234, 255, 0.92), rgba(198, 214, 245, 0.88));
  /* New lighter token for featured card */
  --vu-team-chip-light: linear-gradient(135deg, #eef5ff, #e6f0fa);
  --vu-team-max: min(88%, 1050px);
  --vu-team-narrow: min(100%, 900px);
  --vu-team-stripe-w: 300px;
  --vu-team-stripe: linear-gradient(180deg, rgba(144, 180, 205, 0.35), rgba(180, 210, 230, 0.45), rgba(144, 180, 205, 0.35));
  --vu-section-radius: 18px;
  --vu-section-pad: clamp(20px, 3vw, 36px);
  --vu-section-bg: var(--vu-team-paper);
  --vu-section-border: 1px solid rgba(15, 24, 52, 0.12);
  --vu-section-shadow: var(--vu-team-shadow-soft);
  --vu-section-layer-bg: var(--vu-team-glass-mid);
  --vu-section-layer-border: var(--vu-team-glass-border);
  --vu-section-layer-shadow: var(--vu-team-glass-shadow);
  --vu-section-layer-offset: var(--vu-team-layer-offset);
  --vu-section-layer-radius: 22px;
  --vu-section-gap: clamp(24px, 3vw, 36px);
  --vu-section-scroll-margin: calc(var(--hdr-h, 7rem) + 80px);
}

/* Replicating .vu-about-layer structure */
.vu-team-primary {
  position: relative;
  padding: clamp(4px, 2vw, 12px) 0 clamp(32px, 5vw, 60px);
  display: grid;
  max-width: 100%;
  /* Reset max-width as it's handled by the pseudo now */
  margin-inline: auto;
}

.vu-team-primary::before {
  content: "";
  position: absolute;
  inset: clamp(-12px, 1vw, 6px) clamp(10px, 4vw, 18px) clamp(10px, 2vw, 20px);
  width: var(--vu-team-max);
  margin: 200px auto;
  border-radius: var(--vu-team-layer-radius);
  background: var(--vu-team-glass-rear);
  box-shadow: 0 40px 100px rgba(225, 227, 219, 0.55);
  z-index: 0;
  border: var(--vu-team-glass-border);
}

@media (max-width: 768px) {
  .vu-team-primary::before {
    content: none;
  }
}

.vu-team-primary>* {
  position: relative;
  z-index: 1;
}

.vu-team-main {
  position: relative;
  z-index: 1;
  max-width: var(--vu-team-max);
  margin-inline: auto;
  background: transparent;
  border-radius: 30px;
  padding: 0;
}

.vu-team-grid #title-header {
  text-align: center;
  position: relative;
}

.vu-team-grid #title-header h1 {
  --title-chip-bg: var(--bg-team-gold-textured-image);
  --title-chip-color: var(--vu-team-space);
  --title-chip-radius: 20px;
  --title-chip-pad-inline: clamp(2.4rem, 5vw, 5rem);
  --title-chip-pad-block: clamp(.8rem, 2vw, 1rem);
  --title-chip-size: clamp(1.5rem, 3vw, 2.4rem);
  --title-chip-letter: 0.18em;
  --title-chip-weight: 800;
  --title-chip-shadow: 0 18px 35px rgba(255, 217, 0, 0.35);
  --title-chip-border: 1px solid rgba(255, 255, 255, 0.35);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  z-index: 4;
  margin: 0;
}

/* Removed title header glass effects as requested */
.vu-team-grid #title-header::before,
.vu-team-grid #title-header::after {
  display: none;
}

.vu-activities-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 36px);
  margin-top: 8px;
  padding: clamp(20px, 3vw, 36px);
  /* Match about section padding */
  background: var(--vu-team-paper);
  border-radius: 18px;
  box-shadow: var(--vu-team-shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
}

/* Inner glass layer for the stack */
.vu-activities-stack::before {
  content: "";
  position: absolute;
  inset: calc(var(--vu-team-layer-offset) * -1);
  border-radius: 22px;
  background: var(--vu-team-glass-mid);
  box-shadow: var(--vu-team-glass-shadow);
  border: var(--vu-team-glass-border);
  z-index: -1;
}

.vu-activity-video {
  border-radius: 26px;
  overflow: hidden;
  background: #000;
  box-shadow: var(--vu-team-shadow-card);
}

.vu-activity-video iframe,
.vu-activity-video video {
  display: block;
  width: 100%;
  height: auto;
  min-height: clamp(180px, 40vw, 360px);
}

.vu-activity-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 3vw, 32px);
}

.vu-activity-media {
  flex: 0 0 auto;
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(15, 24, 52, 0.12);
}

.vu-activity-img {
  display: block;
  width: 100%;
  height: auto;
}

.vu-activity-copy {
  color: var(--vu-team-slate);
  font-size: 1.05rem;
  line-height: 1.8;
}

.vu-activity-copy h1,
.vu-activity-copy h2,
.vu-activity-copy h3,
.vu-activity-copy strong {
  color: var(--vu-team-space);
}

.vu-activity-copy a {
  color: var(--vu-team-space);
  text-decoration-color: rgba(255, 217, 0, 0.45);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.2em;
}

.vu-activity-copy ul,
.vu-activity-copy ol {
  padding-left: 1.4em;
}

.vu-activity-copy li {
  margin-bottom: .35em;
}

.vu-activity-pages {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(20, 31, 79, 0.15);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vu-activity-section-head {
  text-align: center;
  margin: 0 auto clamp(16px, 3vw, 28px);
}

.vu-activity-eyebrow {
  text-transform: uppercase;
  font-size: 0;
  letter-spacing: 0.25em;
  font-weight: 600;
  color: rgba(15, 24, 52, 0.6);
  margin: 0 0 0.35rem;
}

.vu-activity-section-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 1.5vw, 2.4rem);
  color: var(--vu-team-space);
  opacity: 60%;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Featured Programs Section - Premium Glass & Gold Overhaul */
.vu-activity-featured {
  margin-top: clamp(16px, 1.5vw, 24px);
  position: relative;
  padding: clamp(20px, 3vw, 36px);
  /* Glass container base */
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 24px;
  box-shadow: var(--vu-team-shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.4);
  max-width: var(--vu-team-max);
  margin-inline: auto;
  overflow: hidden;
}

.vu-activity-featured::before {
  content: "";
  position: absolute;
  inset-inline: clamp(-6px, -1vw, -2px);
  inset-block: calc(var(--vu-team-layer-offset) * -1);
  border-radius: 28px;
  background: var(--vu-team-glass-mid);
  box-shadow: var(--vu-team-glass-shadow);
  border: var(--vu-team-glass-border);
  z-index: -1;
  opacity: 0.6;
}

.vu-activity-featured::after {
  display: none;
}

.vu-activity-featured>* {
  position: relative;
  z-index: 1;
}

/* Subhead Style */
.vu-activity-featured-subhead {
  text-align: center;
  font-size: clamp(1.2rem, 1.5vw, 1.5rem);
  color: var(--vu-team-slate);
  margin: 0 0 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

.vu-featured-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding-block: clamp(4px, 1vw, 10px);
  cursor: grab;
  /* Add padding to avoid cutting off shadows */
  padding-inline: 4px;
  margin-inline: -4px;
  /* Hide scrollbar for Firefox */
  scrollbar-width: none;
  /* Hide scrollbar for IE/Edge */
  -ms-overflow-style: none;
}

.vu-featured-scroll::-webkit-scrollbar {
  display: none;
}

.vu-activity-featured-band {
  position: relative;
  margin: 8px auto;
  padding: clamp(12px, 2.5vw, 22px) clamp(10px, 3vw, 18px);
  max-width: 100%;
  isolation: isolate;
}

.vu-activity-featured-band::before {
  content: none;
}

.vu-activity-featured-band > .vu-activity-featured {
  margin-top: 0;
  position: relative;
  z-index: 1;
}

/* Align gallery and featured band to the main stack width */
.vu-team-primary > .vu-gallery {
  max-width: var(--vu-team-max);
  margin: clamp(20px, 3vw, 32px) auto;
}

.vu-team-primary > .vu-gallery .gal-stage,
.vu-team-primary > .vu-gallery .gal-thumbs {
  margin-inline: auto;
}

.vu-activity-featured-band,
.vu-activity-featured-band > .vu-activity-featured {
  max-width: min(100%, var(--vu-team-max));
  margin-inline: auto;
}

/* Contact band divider */
.vu-activity-contact-band {
  position: relative;
  max-width: var(--vu-team-max);
  margin: 8px auto;
  padding: clamp(16px, 2.5vw, 22px) clamp(18px, 3vw, 28px);
  border-radius: 24px;
  background: transparent;
  box-shadow: none;
  border: none;
  isolation: isolate;
  z-index: 0;
}

.vu-activity-contact-band::before {
  content: none;
}

.vu-activity-contact-band > * {
  position: relative;
  z-index: 1;
}

.vu-activity-contact-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 2vw, 16px);
  text-align: center;
  color: #111;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.vu-activity-contact-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(12px, 2vw, 16px);
  align-items: center;
}

.vu-activity-contact-block {
  padding: clamp(10px, 1.8vw, 14px) clamp(12px, 2vw, 16px);
  border-radius: 12px;
  background: #ffd900;
  color: #111;
  box-shadow: none;
  border: 2px solid rgba(0, 0, 0, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.vu-activity-contact-block a {
  font-family: inherit;
  color: #111;
  text-decoration: none;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.vu-activity-contact-block a:hover,
.vu-activity-contact-block a:focus-visible {
  text-decoration: none;
}

.vu-activity-contact-block:hover,
.vu-activity-contact-block:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  border-color: rgba(0, 0, 0, 0.24);
}

.vu-activities-stack {
  margin-top: 8px;
  margin-bottom: 8px;
}

.vu-activity-featured-band {
  margin: 8px auto;
  max-width: var(--vu-team-max);
  z-index: 1;
}

.vu-activity-featured-grid {
  display: flex;
  gap: clamp(12px, 2vw, 20px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.vu-activity-featured-link {
  position: relative;
  display: grid;
  place-items: end start;
  min-height: 160px;
  padding: 1.25rem;
  border-radius: 16px;
  overflow: hidden;
  color: #ffffff;
  /* Force white text for contrast */
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.2;
  box-shadow: var(--vu-team-shadow-card);
  background: var(--vu-team-chip-light);
  border: none;
  cursor: pointer;
  flex: 0 0 clamp(160px, 22vw, 260px);
  scroll-snap-align: start;
  -webkit-user-select: none;
  user-select: none;
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
  /* Default border (transparent) */
  border: 3px solid transparent;
}

/* Glass backing for the card itself */
.vu-activity-featured-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #0f1834;
  /* Fallback dark bg */
  z-index: 0;
}

/* Stronger gradient overlay for text readability */
.vu-activity-featured-link::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Much stronger gradient at the bottom for text contrast */
  background: linear-gradient(to top,
      rgba(4, 10, 31, 0.95) 0%,
      rgba(4, 10, 31, 0.7) 35%,
      rgba(4, 10, 31, 0.1) 60%,
      rgba(4, 10, 31, 0) 100%);
  pointer-events: none;
  transition: opacity 300ms ease;
  z-index: 1;
  opacity: 1;
}

.vu-activity-featured-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.1);
  transition: transform 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 250ms ease;
  pointer-events: none;
  z-index: 0;
}

.vu-activity-featured-name {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  /* Stronger text shadow */
  font-size: 1.1rem;
}

/* Hover State */
.vu-activity-featured-link:hover .vu-activity-featured-media,
.vu-activity-featured-link:focus-visible .vu-activity-featured-media {
  transform: scale(1.1);
  filter: saturate(1.25);
}

.vu-activity-featured-link:focus-visible {
  outline: none;
  border-color: var(--vu-team-gold);
}

/* Active State - The "Pop" */
.vu-activity-featured-link.is-active {
  border-color: var(--vu-team-gold);
  box-shadow: 0 12px 30px rgba(255, 217, 0, 0.25), var(--vu-team-shadow-card);
  transform: translateY(-2px);
}

/* Active state keeps the gradient for readability, unlike before */
.vu-activity-featured-link.is-active::after {
  opacity: 0.8;
  /* Keep some darkness even when active */
}

.vu-activity-tabs {
  margin-top: var(--vu-section-gap);
  max-width: var(--vu-team-max);
  margin-inline: auto;
}

.vu-activity-featured-panels {
  margin-top: clamp(20px, 2.5vw, 28px);
}

.vu-feature-panel {
  position: relative;
  display: grid;
  /* Simple 2-column grid */
  grid-template-columns: minmax(220px, 0.35fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 32px);
  padding: clamp(24px, 3vw, 32px);
  /* Premium Glass Panel */
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 25px 50px rgba(5, 7, 19, 0.12);
  z-index: 5;
  align-items: start;
  max-width: 100%;
  margin-inline: auto;
}

.vu-feature-panel::before {
  display: none;
}

.vu-feature-panel::after {
  display: none;
}

.vu-feature-panel[hidden] {
  display: none;
}

.vu-feature-panel.is-highlighting {
  animation: vuPanelFadeUp 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes vuPanelFadeUp {
  from {
    opacity: 0;
    transform: translateY(15px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Left Column Wrapper */
.vu-feature-panel__left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.vu-feature-panel__photo {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(5, 7, 19, 0.15);
  /* Portrait aspect ratio */
  aspect-ratio: 1 / 1.25;
}

.vu-feature-panel__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.vu-feature-panel:hover .vu-feature-panel__photo img {
  transform: scale(1.03);
}

/* Right Column Wrapper */
.vu-feature-panel__right {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.vu-feature-panel__head {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  color: var(--vu-team-space);
  border-bottom: 1px solid rgba(15, 24, 52, 0.08);
  padding-bottom: 1rem;
  margin-bottom: 0.5rem;
}

/* Removed eyebrow pseudo-element */
.vu-feature-panel__head::before {
  display: none;
}

.vu-feature-panel__head h3 {
  margin: 0;
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--vu-team-night);
  font-weight: 800;
}

.vu-feature-panel__body {
  color: var(--vu-team-slate);
  line-height: 1.7;
  font-size: 1.05rem;
}

.vu-activity-featured-actions {
  margin: 0;
  display: flex;
  justify-content: center;
  padding-top: 0;
}

.vu-activity-featured-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--grad-team-gold, linear-gradient(135deg, var(--vu-team-gold), var(--vu-team-gold-soft)));
  color: var(--vu-team-space);
  padding: .85rem 2rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(255, 217, 0, 0.3);
  transition: transform 200ms ease, box-shadow 200ms ease;
  width: 100%;
}

.vu-activity-featured-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(255, 217, 0, 0.45);
}

@media (max-width: 900px) {
  .vu-feature-panel {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .vu-feature-panel__photo {
    aspect-ratio: 16/9;
  }
}

@media (max-width: 900px) {
  .vu-feature-panel {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
  }

  .vu-feature-panel__photo {
    grid-row: 1;
    grid-column: 1;
  }

  .vu-feature-panel__head,
  .vu-feature-panel__body,
  .vu-activity-featured-actions {
    grid-column: 1;
  }
}

.vu-activity-tabset {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 3vw, 28px);
}

.vu-activity-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 2vw, 16px);
  justify-content: center;
}

.vu-activity-tab {
  border: none;
  border-radius: 999px;
  padding: 0.65rem 1.75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(15, 24, 52, 0.08);
  color: var(--vu-team-space);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.vu-activity-tab.is-active {
  background: var(--grad-team-gold, linear-gradient(135deg, var(--vu-team-gold), var(--vu-team-gold-soft)));
  color: var(--vu-team-space);
  box-shadow: 0 12px 24px rgba(255, 217, 0, 0.35);
}

.vu-activity-tab:focus-visible {
  outline: 2px solid var(--vu-team-space);
  outline-offset: 4px;
}

.vu-activity-tabpanels {
  width: 100%;
}

.vu-activity-tabpanel {
  animation: vuTabFade 240ms ease;
}

@keyframes vuTabFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vu-activity-grid--panel .vu-activity-grid__link {
  background: rgba(15, 24, 52, 0.08);
  color: var(--vu-team-space);
  box-shadow: inset 0 0 0 1px rgba(15, 24, 52, 0.08);
}

.vu-activity-grid--panel .vu-activity-grid__link:hover,
.vu-activity-grid--panel .vu-activity-grid__link:focus-visible {
  background: var(--grad-team-gold, linear-gradient(135deg, var(--vu-team-gold), var(--vu-team-gold-soft)));
  color: var(--vu-team-space);
}

.vu-activity-directory {
  margin-top: var(--vu-section-gap);
  max-width: var(--vu-team-max);
  margin-inline: auto;
  overflow: visible;
}

.vu-activity-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(12px, 2vw, 20px);
}

.vu-activity-grid__item {
  margin: 0;
}

.vu-activity-grid__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: clamp(0.95rem, 2vw, 1.2rem) clamp(1.2rem, 2.5vw, 1.6rem);
  background: var(--grad-team-panel, linear-gradient(135deg, rgba(15, 24, 52, 0.95), rgba(31, 42, 90, 0.92)));
  color: #f8f9ff;
  border-radius: 18px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.vu-activity-grid__link:hover,
.vu-activity-grid__link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 35px rgba(4, 6, 18, 0.35);
  background: var(--grad-team-gold-strong, linear-gradient(135deg, var(--vu-team-gold), #fff4a3));
  color: var(--vu-team-space);
}

.vu-activity-grid__caret {
  font-size: 1.35rem;
}

@media (min-width: 960px) {
  .vu-activity-inner {
    flex-direction: row;
    align-items: flex-start;
  }

  .vu-activity-media {
    flex-basis: clamp(260px, 32%, 360px);
  }
}

@media (max-width: 768px) {
  .vu-activity-featured-link {
    min-height: 180px;
  }

  .vu-team-primary {
    border-radius: 24px;
    padding: clamp(12px, 6vw, 20px);
  }

  .vu-team-primary::before {
    width: 95%;
    border-radius: 28px;
  }

  .vu-team-grid #title-header h1 {
    --title-chip-pad-inline: clamp(1.5rem, 10vw, 3rem);
  }

  .vu-activity-card {
    border-radius: 22px;
  }
}
