:root {
  --color-purple: #6a189a;
  --color-blue: #1f7bb6;
  --color-white: #ffffff;
  --color-neutral-dark: #333333;
  --color-neutral-light: #f2f2f2;
  --color-neutral-sky: #99d9ff;
  --color-accent-blue: #56a0ff;
  --color-sar-gray: #2f2f2f;
  --gradient-brand: linear-gradient(
    120deg,
    #6a189a 0%,
    #1f7bb6 55%,
    #56a0ff 100%
  );
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--color-neutral-light);
}

.site-shell {
  background-image:
    radial-gradient(
      circle at 12% 12%,
      rgba(106, 24, 154, 0.12),
      transparent 38%
    ),
    radial-gradient(
      circle at 88% 16%,
      rgba(31, 123, 182, 0.12),
      transparent 40%
    ),
    radial-gradient(
      circle at 82% 85%,
      rgba(86, 160, 255, 0.12),
      transparent 38%
    ),
    linear-gradient(
      140deg,
      rgba(248, 248, 252, 0.95) 0%,
      rgba(255, 255, 255, 0.95) 55%,
      rgba(233, 244, 255, 0.55) 100%
    );
}

section.rounded-3xl {
  border: 1px solid rgba(31, 123, 182, 0.08);
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: "Open Sans", sans-serif;
}

::selection {
  background: rgba(31, 123, 182, 0.25);
}

.section-card {
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(31, 123, 182, 0.1);
  border-radius: 26px;
  padding: 32px;
  box-shadow: 0 18px 40px rgba(31, 123, 182, 0.1);
  overflow: hidden;
}

.section-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top left,
    rgba(106, 24, 154, 0.08),
    transparent 45%
  );
  pointer-events: none;
}

.section-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(106, 24, 154, 0.4),
    rgba(31, 123, 182, 0.4),
    transparent
  );
  opacity: 0.6;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title .eyebrow {
  margin: 0;
}

.section-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.2);
  animation: iconFloat 5s ease-in-out infinite;
}

.section-icon i {
  font-size: 1.1rem;
}

.section-icon--blue {
  background: linear-gradient(135deg, #1f7bb6, #6a189a);
}

.section-icon--purple {
  background: linear-gradient(135deg, #6a189a, #1f7bb6);
}

.section-icon--gold {
  background: linear-gradient(135deg, #f4b942, #e96a4b);
}

.section-icon--teal {
  background: linear-gradient(135deg, #15b5a0, #1f7bb6);
}

.section-icon--rose {
  background: linear-gradient(135deg, #e15b8f, #6a189a);
}

.why-gather-panel {
  position: relative;
  align-self: start;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(31, 123, 182, 0.18);
  background: linear-gradient(
    140deg,
    rgba(106, 24, 154, 0.08),
    rgba(31, 123, 182, 0.08)
  );
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.why-gather-panel .eyebrow {
  margin: 0;
  color: var(--color-purple);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  font-weight: 700;
}

.why-gather-title {
  margin: 10px 0 16px;
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  color: var(--color-neutral-dark);
}

.why-gather-list {
  display: grid;
  gap: 14px;
}

.why-gather-item {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(31, 123, 182, 0.12);
}

.why-gather-tag {
  display: inline-block;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-blue);
}

.why-gather-copy {
  margin: 6px 0 0;
  font-size: 0.85rem;
  color: rgba(51, 51, 51, 0.75);
  line-height: 1.6;
}

.why-gather-foot {
  margin: 16px 0 0;
  font-size: 0.8rem;
  color: rgba(51, 51, 51, 0.65);
}

.why-gather-panel--cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.why-gather-panel--cta .why-gather-title {
  margin-bottom: 0;
}

.why-gather-panel--cta .why-gather-copy {
  margin: 0;
}

.why-gather-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.why-gather-actions .btn-secondary {
  border-radius: 999px;
  padding: 10px 22px;
  border: 1px solid rgba(31, 123, 182, 0.3);
  color: var(--color-blue);
  background: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-weight: 600;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.why-gather-actions .btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 18px rgba(31, 123, 182, 0.18);
}

.section-card--compact {
  padding: 24px;
}

.section-card--tinted {
  background: rgba(242, 242, 242, 0.9);
}

.site-main {
  display: grid;
  gap: 32px;
}

.site-main > section.section-card:nth-of-type(even) {
  background: rgba(242, 242, 242, 0.9);
  border-color: rgba(31, 123, 182, 0.08);
}

.eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--color-blue);
}

.lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(51, 51, 51, 0.74);
}

.pull-quote {
  border-left: 3px solid rgba(106, 24, 154, 0.45);
  padding-left: 18px;
  font-size: 1.05rem;
  color: rgba(51, 51, 51, 0.82);
}

.hero-title {
  letter-spacing: -0.02em;
}

.hero-actions .btn-primary,
.hero-actions .btn-ghost {
  font-weight: 600;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 14px 28px rgba(31, 123, 182, 0.2);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(31, 123, 182, 0.25);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid rgba(31, 123, 182, 0.25);
  color: var(--color-blue);
  background: rgba(255, 255, 255, 0.8);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border 0.2s ease;
}

.btn-ghost:hover {
  transform: translateY(-1px);
  border-color: rgba(31, 123, 182, 0.45);
  box-shadow: 0 14px 26px rgba(31, 123, 182, 0.12);
}

.hero-metrics {
  border-top: 1px solid rgba(31, 123, 182, 0.12);
  padding-top: 18px;
}

.hero-media {
  min-height: 360px;
}

.page-hero h1 {
  letter-spacing: -0.02em;
}

.page-hero p.lead {
  max-width: 56ch;
}

.minimal-hero {
  position: relative;
  border-radius: 28px;
  padding: 32px;
  min-height: 240px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.2);
}

.minimal-hero-media {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(31, 123, 182, 0.25),
    rgba(106, 24, 154, 0.2)
  );
}

.minimal-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.minimal-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(10, 15, 28, 0.8),
    rgba(10, 15, 28, 0.35)
  );
}

.minimal-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

@media (max-width: 640px) {
  .minimal-hero {
    padding: 28px;
    min-height: 60vh;
    border-radius: 22px;
    box-shadow: 0 20px 40px rgba(10, 18, 36, 0.22);
    display: flex;
    align-items: flex-end;
  }

  .minimal-hero-overlay {
    background: linear-gradient(
      150deg,
      rgba(8, 12, 24, 0.9),
      rgba(8, 12, 24, 0.5)
    );
  }

  .minimal-hero-inner {
    max-width: 100%;
  }

  .minimal-hero .eyebrow {
    letter-spacing: 0.28em;
  }

  .minimal-hero h1 {
    font-size: 1.9rem;
    line-height: 1.2;
  }

  .minimal-hero p {
    font-size: 0.95rem;
  }

  .minimal-hero-lead {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .minimal-hero.is-expanded .minimal-hero-lead {
    -webkit-line-clamp: unset;
  }

  .minimal-hero-toggle {
    margin-top: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
  }
}

.community-glance {
  display: grid;
  gap: 20px;
  padding: 26px;
  border-radius: 24px;
  border: 1px solid rgba(31, 123, 182, 0.1);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 32px rgba(31, 123, 182, 0.12);
}

.community-glance-collage {
  margin-top: 18px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.community-glance-collage img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 12px 20px rgba(31, 123, 182, 0.18);
}

@media (min-width: 900px) {
  .community-glance {
    grid-template-columns: 0.4fr 0.6fr;
    align-items: center;
  }
}

.community-glance-panels {
  display: grid;
  gap: 12px;
}

@media (min-width: 720px) {
  .community-glance-panels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.glance-card {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(31, 123, 182, 0.12);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 22px rgba(31, 123, 182, 0.08);
  min-height: 140px;
  display: flex;
  flex-direction: column;
}

.glance-card .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  color: rgba(31, 123, 182, 0.75);
  background: rgba(31, 123, 182, 0.08);
  padding: 6px 12px;
  border-radius: 999px;
}

.glance-card p {
  margin-top: 10px;
  line-height: 1.6;
  color: rgba(23, 38, 64, 0.7);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.community-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.community-video {
  background: linear-gradient(
    150deg,
    rgba(255, 255, 255, 0.95),
    rgba(233, 242, 255, 0.9)
  );
  border: 1px solid rgba(31, 123, 182, 0.12);
}

.community-video-header {
  align-items: center;
}

.community-video-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(31, 123, 182, 0.2);
  background: rgba(31, 123, 182, 0.08);
  color: var(--color-blue);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.community-video-chip-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(31, 123, 182, 0.18);
  color: var(--color-blue);
}

.community-video-surface {
  display: grid;
  gap: 22px;
}

.community-video-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #0b1220;
  box-shadow: 0 24px 48px rgba(9, 16, 32, 0.25);
  aspect-ratio: 16 / 9;
}

.community-video-frame .media-embed {
  width: 100%;
  height: 100%;
}

.community-video-frame .media-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.community-video-side {
  border-radius: 20px;
  border: 1px solid rgba(31, 123, 182, 0.12);
  background: rgba(255, 255, 255, 0.9);
  padding: 18px;
  box-shadow: 0 12px 24px rgba(31, 123, 182, 0.12);
}

.community-video-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: rgba(31, 41, 51, 0.75);
  font-size: 0.9rem;
  line-height: 1.7;
}

@media (min-width: 900px) {
  .community-video-surface {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
}

.section-chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(31, 123, 182, 0.2);
  background: rgba(255, 255, 255, 0.85);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(23, 38, 64, 0.8);
}

.wins-layout {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

@media (min-width: 900px) {
  .wins-layout {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }
}

.wins-feature {
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(31, 123, 182, 0.18);
  background: linear-gradient(
    140deg,
    rgba(255, 255, 255, 0.95),
    rgba(230, 240, 255, 0.85)
  );
  box-shadow: 0 18px 32px rgba(31, 123, 182, 0.12);
}

.wins-list {
  display: grid;
  gap: 12px;
}

.community-wins .wins-card {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(31, 123, 182, 0.14);
  background: linear-gradient(
    140deg,
    rgba(255, 255, 255, 0.98),
    rgba(238, 244, 255, 0.9)
  );
  box-shadow: 0 14px 24px rgba(31, 123, 182, 0.12);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border 0.2s ease;
}

.community-wins .wins-card:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 123, 182, 0.28);
  box-shadow: 0 20px 32px rgba(31, 123, 182, 0.18);
}

.community-wins .wins-card .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(31, 123, 182, 0.2);
  background: rgba(31, 123, 182, 0.08);
  color: rgba(31, 123, 182, 0.85);
}

.wins-empty {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px dashed rgba(31, 123, 182, 0.3);
  background: rgba(31, 123, 182, 0.06);
  color: rgba(31, 41, 51, 0.7);
  font-size: 0.85rem;
}

.wins-media {
  margin-bottom: 14px;
}

.wins-media .media-placeholder {
  min-height: 220px;
}

.wins-thumb {
  margin-bottom: 12px;
  border-radius: 16px;
}

.wins-thumb .media-placeholder {
  min-height: 140px;
}

.community-wins .wins-avatar {
  width: 140px;
  height: 140px;
  margin: 0 auto 16px;
  border-radius: 999px;
  border: 2px solid rgba(31, 123, 182, 0.25);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 24px rgba(31, 123, 182, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}

.community-wins .wins-media.wins-avatar {
  width: 180px;
  height: 180px;
  margin-bottom: 18px;
}

.community-wins .wins-avatar-image {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
}

.community-wins .wins-avatar .media-placeholder {
  min-height: auto;
  padding: 0 12px;
  text-align: center;
  color: rgba(31, 41, 51, 0.65);
  font-size: 0.75rem;
}

.birthday-month-card {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(31, 123, 182, 0.12);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 28px rgba(31, 123, 182, 0.1);
}

.birthday-month-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.month-chip {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(31, 123, 182, 0.2);
  background: rgba(234, 244, 255, 0.9);
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(23, 38, 64, 0.75);
}

.newsletter-timeline {
  position: relative;
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding-left: 18px;
}

.newsletter-timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(31, 123, 182, 0.5),
    rgba(106, 24, 154, 0.2)
  );
}

.newsletter-item {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 16px 18px 16px 30px;
  border-radius: 18px;
  border: 1px solid rgba(31, 123, 182, 0.12);
  background: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.newsletter-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(7, 38, 66, 0.12);
}

.newsletter-dot {
  position: absolute;
  left: -2px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gradient-brand);
  box-shadow: 0 8px 16px rgba(31, 123, 182, 0.3);
}

.community-record {
  position: relative;
  border-radius: 26px;
  padding: 28px;
  background: linear-gradient(
    140deg,
    rgba(31, 123, 182, 0.95),
    rgba(106, 24, 154, 0.9)
  );
  color: #fff;
  box-shadow: 0 22px 40px rgba(31, 123, 182, 0.25);
}

.community-record::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(255, 255, 255, 0.2),
    transparent 50%
  );
  pointer-events: none;
}

.community-record-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
}

.culture-tabs {
  display: grid;
  gap: 16px;
}

.culture-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.culture-tab {
  border: 1px solid rgba(31, 123, 182, 0.2);
  background: rgba(255, 255, 255, 0.9);
  color: rgba(23, 38, 64, 0.75);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
}

.culture-tab[aria-selected="true"] {
  border-color: transparent;
  background: linear-gradient(
    135deg,
    rgba(31, 123, 182, 0.95),
    rgba(106, 24, 154, 0.9)
  );
  color: #fff;
  box-shadow: 0 16px 26px rgba(31, 123, 182, 0.2);
  transform: translateY(-1px);
}

.culture-tabpanel {
  border-radius: 22px;
  border: 1px solid rgba(31, 123, 182, 0.12);
  background: rgba(255, 255, 255, 0.9);
  padding: 22px;
  box-shadow: 0 14px 26px rgba(31, 123, 182, 0.08);
}

.culture-tabpanel[hidden] {
  display: none;
}

.culture-panel-grid {
  display: grid;
  gap: 14px;
}

@media (min-width: 900px) {
  .culture-panel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.audience-entry {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.96),
    rgba(234, 244, 255, 0.75)
  );
}

.audience-entry::before,
.audience-entry::after {
  opacity: 0.35;
}

.audience-entry-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .audience-entry-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

.audience-entry-panel {
  border-radius: 22px;
  background: linear-gradient(
    140deg,
    rgba(31, 123, 182, 0.95),
    rgba(106, 24, 154, 0.92)
  );
  padding: 24px;
  color: #fff;
  box-shadow: 0 20px 36px rgba(31, 123, 182, 0.25);
}

.audience-entry-panel .section-icon {
  box-shadow: 0 16px 28px rgba(8, 14, 26, 0.35);
}

.highlight-card,
.wins-card,
.program-card,
.learning-card,
.formation-step,
.mandate-card,
.newsletter-card,
.story-card,
.audience-entry-panel {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.highlight-card:hover,
.wins-card:hover,
.program-card:hover,
.learning-card:hover,
.formation-step:hover,
.mandate-card:hover,
.newsletter-card:hover,
.story-card:hover,
.audience-entry-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 30px rgba(7, 20, 38, 0.18);
}

.about-mandate--contrast {
  background: linear-gradient(
    145deg,
    rgba(31, 123, 182, 0.12),
    rgba(106, 24, 154, 0.12)
  );
  border-color: rgba(31, 123, 182, 0.25);
}

.about-mandate--contrast .mandate-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  padding: 18px;
  border: 1px solid rgba(31, 123, 182, 0.12);
}

.about-mandate--contrast .mandate-card p {
  color: rgba(23, 38, 64, 0.8);
}

body:not([data-page-slug="home"]) .section-card h2,
body:not([data-page-slug="home"]) .section-card h3,
body:not([data-page-slug="home"]) .community-glance h2,
body:not([data-page-slug="home"]) .community-record h2,
body:not([data-page-slug="home"]) .join-card h2,
body:not([data-page-slug="home"]) .join-card h3 {
  position: relative;
  padding-left: 32px;
}

body:not([data-page-slug="home"]) .section-card h2::before,
body:not([data-page-slug="home"]) .section-card h3::before,
body:not([data-page-slug="home"]) .community-glance h2::before,
body:not([data-page-slug="home"]) .community-record h2::before,
body:not([data-page-slug="home"]) .join-card h2::before,
body:not([data-page-slug="home"]) .join-card h3::before {
  content: "\f005";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.1em;
  color: rgba(31, 123, 182, 0.9);
  font-size: 0.9em;
}

.icon-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 10px;
}

.icon-list li {
  position: relative;
  padding-left: 26px;
}

.icon-list li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.1em;
  color: rgba(31, 123, 182, 0.85);
}

.birthday-slider {
  display: grid;
  gap: 16px;
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 1fr);
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.birthday-slide {
  scroll-snap-align: start;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(31, 123, 182, 0.12);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.95),
    rgba(234, 242, 255, 0.9)
  );
  box-shadow: 0 16px 30px rgba(31, 123, 182, 0.12);
  padding: 18px 16px 16px;
  display: grid;
  gap: 12px;
}

.birthday-slide-frame {
  position: relative;
  display: grid;
  place-items: center;
}

.birthday-slide-photo {
  width: 150px;
  height: 150px;
  border-radius: 999px;
  border: 3px solid rgba(31, 123, 182, 0.2);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 26px rgba(31, 123, 182, 0.18);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.birthday-slide-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 999px;
}

.birthday-slide-name {
  padding: 0 6px;
  font-weight: 600;
  color: #172640;
  text-align: center;
  font-size: 1rem;
}

.birthday-slide-meta {
  display: grid;
  gap: 6px;
  padding: 0 6px 6px;
  font-size: 0.8rem;
  color: rgba(23, 38, 64, 0.7);
  text-align: center;
}

.birthday-slide-date {
  position: absolute;
  bottom: -10px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(31, 123, 182, 0.25);
  background: rgba(255, 255, 255, 0.95);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(23, 38, 64, 0.75);
}

.birthday-slide-wish {
  font-style: italic;
  color: rgba(23, 38, 64, 0.6);
}

.birthday-empty {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px dashed rgba(31, 123, 182, 0.3);
  background: rgba(31, 123, 182, 0.06);
  color: rgba(31, 41, 51, 0.7);
  font-size: 0.85rem;
}

.newsletter-layout {
  display: grid;
  gap: 18px;
}

.newsletter-featured {
  display: grid;
}

.newsletter-collage {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 16px;
}

.newsletter-collage img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 10px 18px rgba(31, 123, 182, 0.18);
}

.newsletter-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 900px) {
  .newsletter-layout {
    grid-template-columns: 1.2fr 1.8fr;
    align-items: start;
  }

  .newsletter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.newsletter-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(31, 123, 182, 0.12);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.95),
    rgba(234, 242, 255, 0.9)
  );
  box-shadow: 0 18px 32px rgba(31, 123, 182, 0.12);
  display: grid;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border 0.2s ease;
}

.newsletter-card--featured {
  min-height: 100%;
}

.newsletter-card--featured img {
  height: 280px;
}

.newsletter-card--featured .newsletter-card-body {
  padding: 20px 22px 22px;
  gap: 10px;
}

.newsletter-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(
    circle at top right,
    rgba(106, 24, 154, 0.14),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.newsletter-card:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 123, 182, 0.25);
  box-shadow: 0 24px 40px rgba(31, 123, 182, 0.18);
}

.newsletter-card:hover::after {
  opacity: 1;
}

.newsletter-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}

.newsletter-cover {
  min-height: 190px;
  padding: 18px;
  display: grid;
  align-content: end;
  gap: 8px;
  color: #f8fbff;
  background: linear-gradient(
    140deg,
    rgba(31, 123, 182, 0.85),
    rgba(106, 24, 154, 0.85)
  );
  background-size: cover;
  background-position: center;
  position: relative;
}

.newsletter-card[data-cover-variant="1"] .newsletter-cover {
  background: linear-gradient(
    140deg,
    rgba(31, 123, 182, 0.9),
    rgba(14, 50, 92, 0.9)
  );
}

.newsletter-card[data-cover-variant="2"] .newsletter-cover {
  background: linear-gradient(
    140deg,
    rgba(106, 24, 154, 0.9),
    rgba(35, 12, 64, 0.9)
  );
}

.newsletter-card[data-cover-variant="3"] .newsletter-cover {
  background: linear-gradient(
    140deg,
    rgba(21, 181, 160, 0.9),
    rgba(6, 82, 74, 0.9)
  );
}

.newsletter-card[data-cover-variant="4"] .newsletter-cover {
  background: linear-gradient(
    140deg,
    rgba(244, 185, 66, 0.9),
    rgba(178, 91, 38, 0.9)
  );
}

.newsletter-cover-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.newsletter-cover-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.newsletter-cover-date {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.newsletter-card--featured .newsletter-cover {
  min-height: 260px;
  padding: 22px;
}

.community-intelligence {
  position: relative;
  overflow: hidden;
}

.newsletter-parallax-layer {
  position: absolute;
  inset: -20% 0;
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(31, 123, 182, 0.18),
      transparent 45%
    ),
    radial-gradient(
      circle at 85% 30%,
      rgba(106, 24, 154, 0.18),
      transparent 40%
    ),
    radial-gradient(
      circle at 50% 80%,
      rgba(21, 181, 160, 0.16),
      transparent 45%
    );
  transform: translateY(0);
  transition: transform 0.1s linear;
  pointer-events: none;
  z-index: 0;
}

.community-intelligence > *:not(.newsletter-parallax-layer) {
  position: relative;
  z-index: 1;
}

.newsletter-card-body {
  padding: 16px 18px 18px;
  display: grid;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.newsletter-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--gradient-brand);
  box-shadow: 0 10px 18px rgba(31, 123, 182, 0.18);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.newsletter-card-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 22px rgba(31, 123, 182, 0.22);
}

.newsletter-card-link[data-newsletter-link] {
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-blue);
  border: 1px solid rgba(31, 123, 182, 0.25);
  box-shadow: none;
}

.hero-band {
  position: relative;
  padding: 56px 0 72px;
}

.hero-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(31, 123, 182, 0.08),
    rgba(106, 24, 154, 0.06)
  );
  opacity: 0.7;
  pointer-events: none;
}

.hero-band-inner {
  position: relative;
  z-index: 1;
}

.hero-media-full {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: var(--gradient-brand);
  padding: 2px;
  box-shadow: 0 30px 60px rgba(31, 123, 182, 0.18);
}

.hero-media-full > * {
  border-radius: 24px;
}

.hero-media-full .media-placeholder {
  min-height: 420px;
}

.hero-immersive {
  position: relative;
  padding: 160px 0 112px;
  color: #f6f3f0;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-immersive-media {
  position: absolute;
  inset: 0;
  background: #050505;
  transform: translateZ(0);
  will-change: transform;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroSlide 18s infinite;
  animation-fill-mode: both;
  will-change: opacity;
}

.hero-slide:nth-child(1) {
  animation-delay: 0s;
}

.hero-slide:nth-child(2) {
  animation-delay: 6s;
}

.hero-slide:nth-child(3) {
  animation-delay: 12s;
}

.hero-video-layer {
  position: absolute;
  inset: 0;
  display: none;
  z-index: 1;
}

.hero-video-layer.media-placeholder {
  min-height: 0;
  padding: 0;
  background: transparent;
}

.hero-video-layer video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-immersive.hero-has-video .hero-slide {
  animation: none;
  opacity: 0;
}

.hero-immersive.hero-has-video .hero-video-layer {
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(4, 12, 24, 0.9),
    rgba(10, 18, 36, 0.78) 55%,
    rgba(31, 123, 182, 0.5)
  );
  z-index: 2;
  will-change: transform;
}

.hero-immersive-inner {
  position: relative;
  z-index: 3;
}

.hero-immersive-copy {
  max-width: 720px;
}

.hero-immersive .eyebrow {
  color: rgba(255, 255, 255, 0.75);
}

.hero-immersive .lead {
  color: rgba(255, 255, 255, 0.82);
}

.hero-secondary {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-immersive .pull-quote {
  color: rgba(255, 255, 255, 0.85);
  border-left-color: rgba(255, 255, 255, 0.6);
}

.hero-immersive [data-wp-slug] {
  color: rgba(255, 255, 255, 0.72);
}

.hero-immersive .hero-pillars .text-neutralDark\/70 {
  color: rgba(255, 255, 255, 0.72);
}

.hero-immersive .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
}

.hero-immersive .btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow: 0 18px 34px rgba(10, 18, 36, 0.3);
}

.hero-pillars {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
}

.hero-pillar {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 16, 30, 0.45);
  backdrop-filter: blur(10px);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border 0.25s ease;
}

.hero-pillar:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 20px 40px rgba(7, 16, 30, 0.35);
}

.hero-pillar-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: 0 10px 18px rgba(8, 18, 32, 0.35);
  animation: iconFloat 4.8s ease-in-out infinite;
}

.hero-pillar-icon i {
  font-size: 1.1rem;
}

.hero-pillar:nth-child(2) .hero-pillar-icon {
  animation-delay: 0.3s;
}

.hero-pillar:nth-child(3) .hero-pillar-icon {
  animation-delay: 0.6s;
}

@keyframes heroSlide {
  0% {
    opacity: 0;
  }
  6%,
  36% {
    opacity: 1;
  }
  46%,
  100% {
    opacity: 0;
  }
}

@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes iconPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

.site-nav {
  position: relative;
  z-index: 25;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(31, 123, 182, 0.12);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px rgba(31, 123, 182, 0.12);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease,
    opacity 0.35s ease;
}

body[data-page-slug="home"] header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding-top: 18px;
  padding-bottom: 0;
}

body[data-page-slug="home"] .site-shell {
  position: relative;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: var(--color-purple);
  letter-spacing: -0.02em;
}

.brand-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.site-nav .brand-logo,
.mobile-nav .brand-logo {
  width: 72px;
  height: 72px;
  transform: scale(1.8) translateX(16px);
  transform-origin: center;
}

.footer-brand .brand-logo {
  width: 120px;
  height: 120px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(31, 123, 182, 0.2);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(31, 123, 182, 0.25);
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(31, 123, 182, 0.2);
  background: rgba(255, 255, 255, 0.6);
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--color-purple);
  border-radius: 999px;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  background: rgba(15, 22, 45, 0.45);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.mobile-nav.is-open {
  display: block;
  opacity: 1;
}

.mobile-nav-inner {
  height: 100%;
  background: #fdfdff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  opacity: 0;
  transition:
    transform 0.45s ease,
    opacity 0.45s ease;
}

.mobile-nav.is-open .mobile-nav-inner {
  transform: translateX(0);
  opacity: 1;
}

.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-close {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-blue);
}

.mobile-nav-links {
  display: grid;
  gap: 18px;
  font-size: 1.4rem;
  font-weight: 600;
}

.mobile-nav-links a {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.mobile-nav.is-open .mobile-nav-links a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav.is-open .mobile-nav-links a:nth-child(1) {
  transition-delay: 0.05s;
}
.mobile-nav.is-open .mobile-nav-links a:nth-child(2) {
  transition-delay: 0.1s;
}
.mobile-nav.is-open .mobile-nav-links a:nth-child(3) {
  transition-delay: 0.15s;
}
.mobile-nav.is-open .mobile-nav-links a:nth-child(4) {
  transition-delay: 0.2s;
}
.mobile-nav.is-open .mobile-nav-links a:nth-child(5) {
  transition-delay: 0.25s;
}
.mobile-nav.is-open .mobile-nav-links a:nth-child(6) {
  transition-delay: 0.3s;
}

.mobile-nav-cta {
  display: grid;
  gap: 12px;
}

.site-nav .nav-link {
  position: relative;
  transition: color 0.2s ease;
}

.site-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 100%;
  background: linear-gradient(
    90deg,
    rgba(106, 24, 154, 0.9),
    rgba(31, 123, 182, 0.9)
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav .nav-link:hover {
  color: var(--color-purple);
}

.site-nav .nav-link:hover::after {
  transform: scaleX(1);
}

.site-nav .nav-link.is-active,
.mobile-nav .nav-link.is-active {
  color: var(--color-purple);
}

.site-nav .nav-link.is-active::after {
  transform: scaleX(1);
}

.site-footer .nav-link {
  color: rgba(51, 51, 51, 0.7);
  transition: color 0.2s ease;
}

.site-footer .nav-link:hover {
  color: var(--color-purple);
}

body.nav-open {
  overflow: hidden;
}

.nav-scrolled .site-nav {
  position: fixed;
  top: 14px;
  left: 50%;
  width: calc(100% - 48px);
  max-width: 72rem;
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 40px rgba(31, 123, 182, 0.18);
}

.glass-card {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px rgba(31, 123, 182, 0.14);
}

.parallax {
  will-change: transform;
  transition: transform 0.1s linear;
}

.contrast-band {
  background: rgba(15, 22, 45, 0.04);
  border: 1px solid rgba(31, 123, 182, 0.08);
}

.site-footer {
  margin-top: 64px;
  border-top: 1px solid rgba(31, 123, 182, 0.25);
  background: linear-gradient(135deg, #0f1424 0%, #111a30 60%, #0f182b 100%);
}

.site-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  gap: 32px;
}

@media (min-width: 900px) {
  .site-footer-inner {
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  }
}

.footer-brand {
  display: grid;
  gap: 12px;
}

.footer-tagline {
  font-size: 1.1rem;
  font-weight: 600;
  color: #f2f5ff;
}

.footer-description {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(240, 244, 255, 0.7);
}

.footer-column {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-link {
  font-size: 0.9rem;
  color: rgba(240, 244, 255, 0.78);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #ffffff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-blue);
  text-decoration: none;
}

.text-link:hover {
  color: var(--color-purple);
}

.footer-meta {
  font-size: 0.85rem;
  color: rgba(240, 244, 255, 0.6);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e7ecff;
  background: rgba(255, 255, 255, 0.06);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(31, 123, 182, 0.2);
}

.footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 24px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(196, 209, 255, 0.55);
}

.site-footer .eyebrow {
  color: rgba(164, 185, 255, 0.7);
}

.join-hero {
  position: relative;
}

.join-hero-inner {
  display: grid;
  gap: 28px;
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.join-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.join-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(31, 123, 182, 0.2);
  padding: 6px 14px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-blue);
  background: rgba(31, 123, 182, 0.08);
}

.join-shell {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.join-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.join-card,
.join-form-card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(31, 123, 182, 0.12);
  padding: 24px;
  box-shadow: 0 18px 40px rgba(31, 123, 182, 0.08);
}

.join-form-card {
  position: sticky;
  top: 24px;
  align-self: start;
}

.form-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(31, 41, 51, 0.55);
  margin-bottom: 6px;
}

.required-mark {
  color: #c2410c;
  font-weight: 700;
}

.form-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-step.hidden {
  display: none;
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.step-progress {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(31, 123, 182, 0.2);
  background: rgba(31, 123, 182, 0.08);
  color: var(--color-blue);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.step-progress .step-count::after {
  content: "/";
  margin-left: 6px;
}

.step-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.btn-next {
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  background: var(--color-purple);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 18px 35px rgba(31, 123, 182, 0.2);
}

.btn-next:hover {
  background: var(--color-blue);
}

.btn-ghost {
  border-radius: 999px;
  padding: 12px 20px;
  border: 1px solid rgba(31, 123, 182, 0.2);
  background: transparent;
  color: var(--color-blue);
  font-weight: 600;
  cursor: pointer;
}

.join-cta-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr);
}

.join-card-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.join-after-card,
.join-decision-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(31, 123, 182, 0.12);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98),
    rgba(236, 241, 248, 0.95)
  );
}

.join-after-card::after,
.join-decision-card::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(31, 123, 182, 0.08);
}

.join-after-steps {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.join-step {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(31, 123, 182, 0.12);
  box-shadow: 0 12px 26px rgba(31, 123, 182, 0.08);
}

.join-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(31, 123, 182, 0.12);
  color: var(--color-blue);
  font-weight: 700;
  font-size: 0.8rem;
}

.join-step-title {
  font-weight: 700;
  color: var(--color-purple);
  font-size: 0.85rem;
}

.join-step-text {
  margin-top: 4px;
  color: rgba(31, 41, 51, 0.7);
  font-size: 0.8rem;
}

.join-after-note {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(31, 123, 182, 0.08);
  color: rgba(31, 41, 51, 0.7);
  font-size: 0.8rem;
  border: 1px dashed rgba(31, 123, 182, 0.2);
}

.join-decision-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.join-decision-points span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(111, 76, 195, 0.12);
  color: var(--color-purple);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.join-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 12px 24px;
  background: var(--color-purple);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 18px 35px rgba(31, 123, 182, 0.2);
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.join-cta-button:hover {
  background: var(--color-blue);
  transform: translateY(-1px);
}

.join-cta-button::after {
  content: "→";
  font-size: 1rem;
}

.ssc-toast {
  position: fixed;
  left: 50%;
  top: 24px;
  z-index: 9999;
  transform: translateX(-50%) translateY(-20px);
  opacity: 0;
  pointer-events: none;
  padding: 14px 20px;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.ssc-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.ssc-toast--success {
  background: #0f172a;
  color: #f8fafc;
}

.ssc-toast--error {
  background: #b91c1c;
  color: #fff7ed;
}

.about-hero {
  position: relative;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(31, 123, 182, 0.12);
  background: linear-gradient(
    140deg,
    rgba(255, 255, 255, 0.98),
    rgba(231, 238, 248, 0.96)
  );
  box-shadow: 0 24px 60px rgba(31, 123, 182, 0.12);
}

.about-hero-grid {
  display: grid;
  gap: 28px;
  align-items: center;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.about-hero-copy .lead {
  color: rgba(31, 41, 51, 0.75);
}

.about-hero-media .media-frame {
  box-shadow: 0 20px 45px rgba(31, 123, 182, 0.2);
}

.about-intro-card {
  border-left: 4px solid rgba(111, 76, 195, 0.6);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98),
    rgba(245, 247, 252, 0.98)
  );
}

.about-band {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98),
    rgba(241, 245, 252, 0.96)
  );
}

.about-mandate .mandate-card {
  border-radius: 18px;
  padding: 18px;
  border: 1px solid rgba(31, 123, 182, 0.12);
  background: #fff;
  box-shadow: 0 16px 35px rgba(31, 123, 182, 0.08);
}

.about-impact p {
  padding-left: 16px;
  border-left: 2px solid rgba(31, 123, 182, 0.25);
}

.about-culture .highlight-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98),
    rgba(241, 245, 252, 0.96)
  );
  border: 1px solid rgba(31, 123, 182, 0.16);
}

.about-who ul {
  list-style: none;
  padding-left: 0;
}

.about-who ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}

.about-who ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-purple);
}

.media-hero {
  position: relative;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(31, 123, 182, 0.12);
  background: linear-gradient(
    140deg,
    rgba(255, 255, 255, 0.98),
    rgba(231, 238, 248, 0.96)
  );
  box-shadow: 0 24px 60px rgba(31, 123, 182, 0.12);
}

.media-hero-grid {
  display: grid;
  gap: 28px;
  align-items: center;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.media-hero-panel {
  display: grid;
  gap: 12px;
}

.media-hero-card {
  border-radius: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(31, 123, 182, 0.12);
  background: #fff;
  box-shadow: 0 16px 35px rgba(31, 123, 182, 0.08);
}

.media-intro {
  border-left: 4px solid rgba(31, 123, 182, 0.35);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98),
    rgba(245, 247, 252, 0.98)
  );
}

.media-guidance-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.media-guidance {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98),
    rgba(241, 245, 252, 0.96)
  );
}

.media-filter-bar {
  margin-top: 8px;
}

.media-filter-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.media-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  border-radius: 999px;
  padding: 8px 16px;
  border: 1px solid rgba(31, 123, 182, 0.25);
  background: #fff;
  color: var(--color-blue);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.filter-chip.is-active,
.filter-chip:hover {
  background: var(--color-blue);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 25px rgba(31, 123, 182, 0.25);
  transform: translateY(-1px);
}

.media-closing {
  border: 1px dashed rgba(31, 123, 182, 0.28);
  background: rgba(31, 123, 182, 0.06);
}

.media-events .event-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98),
    rgba(236, 241, 248, 0.95)
  );
}

.event-media {
  margin-top: 20px;
}

.media-masonry {
  column-count: 3;
  column-gap: 16px;
}

.media-masonry .media-frame {
  break-inside: avoid;
  margin-bottom: 16px;
  min-height: 200px;
}

.media-frame {
  position: relative;
  overflow: hidden;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-videos {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

body[data-page-slug="media"] .media-videos {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 900px) {
  body[data-page-slug="media"] .media-videos {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.media-video-card {
  position: relative;
  background: #0c1324;
  border: 1px solid rgba(31, 123, 182, 0.18);
  border-radius: 18px;
  overflow: hidden;
  min-height: 0;
}

body[data-page-slug="media"] .media-video-card {
  border-radius: 20px;
  box-shadow: 0 18px 34px rgba(12, 18, 32, 0.18);
}

.media-video-card--inline {
  aspect-ratio: 16 / 9;
}

.media-video-card--modal {
  aspect-ratio: 16 / 9;
}
.media-video-card img,
.media-video-card .media-video-fallback,
.media-video-card iframe,
.media-video-card video,
.media-video-card blockquote {
  width: 100%;
  height: 100%;
  display: block;
}

.media-video-card img {
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 900px) {
  .media-videos {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

@media (max-width: 600px) {
  .media-videos {
    grid-template-columns: 1fr;
  }
}

.media-video-fallback {
  display: grid;
  place-items: center;
  padding: 24px;
  color: #d7e2f4;
  text-align: center;
  font-size: 0.9rem;
  background: linear-gradient(
    160deg,
    rgba(31, 123, 182, 0.25),
    rgba(106, 24, 154, 0.25)
  );
}

.media-video-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 8px;
  background: linear-gradient(
    180deg,
    rgba(8, 12, 24, 0.2),
    rgba(8, 12, 24, 0.6)
  );
  color: #fff;
  text-align: center;
  pointer-events: none;
}

.media-video-play {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.9);
  color: #172640;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.35);
}

.media-video-play svg {
  width: 22px;
  height: 22px;
  margin-left: 2px;
}

.media-video-label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.media-video-open {
  position: absolute;
  inset: 0;
  z-index: 2;
  border: none;
  background: transparent;
  cursor: pointer;
}

.media-video-open:disabled {
  cursor: not-allowed;
}

.media-frame.is-empty {
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.12),
    rgba(15, 23, 42, 0.2)
  );
  min-height: 220px;
}

.media-frame.is-empty::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.04) 12px,
    rgba(255, 255, 255, 0.08) 12px,
    rgba(255, 255, 255, 0.08) 24px
  );
  opacity: 0.5;
}

.media-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 16px;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.05),
    rgba(15, 23, 42, 0.7)
  );
  opacity: 0.9;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  z-index: 2;
}

.media-label {
  color: #fff;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.media-frame:hover .media-overlay {
  opacity: 1;
  transform: translateY(-6px);
}

.media-frame:hover img {
  transform: scale(1.05);
  transition: transform 0.6s ease;
}

@media (max-width: 1024px) {
  .join-hero-inner,
  .join-shell {
    grid-template-columns: 1fr;
  }

  .join-form-card {
    position: static;
  }

  .join-cta-grid {
    grid-template-columns: 1fr;
  }

  .about-hero {
    padding: 22px;
  }

  .about-hero-grid {
    grid-template-columns: 1fr;
  }

  .media-hero {
    padding: 22px;
  }

  .media-hero-grid {
    grid-template-columns: 1fr;
  }

  .media-masonry {
    column-count: 1;
  }
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.about-band .media-frame {
  min-height: 320px;
}

.media-frame > * {
  border-radius: 22px;
}

.media-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  z-index: 0;
}

.media-placeholder {
  min-height: 320px;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.2), transparent 50%),
    rgba(0, 0, 0, 0.12);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.media-frame.is-empty .media-placeholder {
  display: flex;
}

.media-frame.is-empty .media-fallback {
  opacity: 0;
}

.media-embed {
  width: 100%;
  height: 100%;
  min-height: 320px;
}

.media-caption {
  padding: 12px 16px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.8);
}

.media-frame img,
.media-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.media-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.media-video {
  aspect-ratio: 16 / 9;
}

.media-frame:hover img,
.media-frame:hover video {
  transform: scale(1.03);
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 16, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.lightbox-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: min(960px, 92vw);
  max-height: min(80vh, 760px);
  width: 100%;
  background: #0b1220;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.lightbox-content iframe,
.lightbox-content video {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center center;
}

.lightbox-frame {
  width: 92vw;
  max-width: 960px;
  max-height: 80vh;
  background: #0b1220;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-frame--portrait {
  height: 80vh;
  width: auto;
  max-width: 92vw;
}

.lightbox-frame--landscape {
  width: 92vw;
  height: auto;
  max-height: 80vh;
}

.lightbox-frame--video {
  width: min(90vw, 980px);
  max-height: 80vh;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-frame iframe,
.lightbox-frame video,
.lightbox-frame blockquote {
  width: 100%;
  height: 100%;
  display: block;
}

.lightbox-frame--video video {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-controls {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 50%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.lightbox-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 30px rgba(4, 10, 24, 0.4);
  cursor: pointer;
  pointer-events: auto;
}

/* Bento Grid Layout Variations */
.media-grid--bento {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px; /* Base row height for alignment */
}

/* Feature first item in bento grid */
.media-grid--bento .media-frame:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

@media (max-width: 900px) {
  .media-grid--bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto; /* Revert to auto on mobile */
  }

  .media-grid--bento .media-frame:first-child {
    grid-column: span 2;
    grid-row: auto;
    aspect-ratio: 16 / 9;
  }

  .media-grid--bento .media-frame:not(:first-child) {
    aspect-ratio: 1 / 1; /* Keep secondary mobile images square for a clean grid */
  }
}

@media (max-width: 480px) {
  .media-grid--bento {
    gap: 8px;
  }
}

/* Helper to ensure images fill their bento cells */
.media-grid--bento .media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body[data-page-slug="media"] .media-grid .media-frame {
  border-radius: 20px;
  background: #f3f5f8;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 34px rgba(12, 18, 32, 0.1);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  width: 100%;
  box-sizing: border-box;
}

body[data-page-slug="media"] .media-grid .media-frame > * {
  border-radius: 0;
}

body[data-page-slug="media"] .media-grid .media-frame img {
  transform: none;
  object-fit: cover;
  object-position: center center;
}

body[data-page-slug="media"] .media-grid .media-frame:hover img {
  transform: scale(1.03);
}

body[data-page-slug="media"] .media-group {
  gap: 0;
  padding: 0;
}

body[data-page-slug="media"] .media-group-title {
  display: none;
}

body[data-page-slug="media"] [data-media-gallery] {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

body[data-page-slug="media"] [data-media-gallery] .media-group {
  flex: 1 1 calc(50% - 18px);
  max-width: calc(50% - 18px);
}

body[data-page-slug="media"] .media-group .media-grid {
  display: block;
  width: 100%;
}

@media (max-width: 900px) {
  body[data-page-slug="media"] [data-media-gallery] {
    gap: 14px;
  }
  body[data-page-slug="media"] [data-media-gallery] .media-group {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  body[data-page-slug="media"] [data-media-gallery] {
    gap: 12px;
  }
}

@media (max-width: 420px) {
  body[data-page-slug="media"] [data-media-gallery] {
    gap: 10px;
  }
}

body[data-page-slug="media"] .media-overlay {
  display: none;
}

body[data-page-slug="media"] .media-label {
  display: none;
}

body[data-page-slug="media"] .media-grid .media-frame::after {
  content: attr(data-group-label);
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(11, 18, 32, 0.82);
  color: #fff;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 2;
}

body[data-page-slug="media"] .media-grid .media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 18, 32, 0) 50%,
    rgba(11, 18, 32, 0.7) 100%
  );
  z-index: 1;
}

body[data-page-slug="media"] .media-grid .media-frame img {
  position: relative;
  z-index: 0;
}

.media-group {
  display: grid;
  gap: 10px;
}

.media-group + .media-group {
  margin-top: 18px;
}

.media-group-title {
  margin: 0;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(15, 23, 42, 0.7);
}

.media-group .media-grid .media-frame {
  display: none;
}

.media-group .media-grid .media-frame:first-child {
  display: block;
  position: relative;
}

.media-group-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(8, 12, 24, 0.75);
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

#learning-series .media-grid .media-frame {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(31, 123, 182, 0.16);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 24px rgba(31, 123, 182, 0.12);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border 0.2s ease;
}

#learning-series .media-grid .media-frame:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 123, 182, 0.3);
  box-shadow: 0 20px 32px rgba(31, 123, 182, 0.18);
}

#learning-series .media-grid .media-frame img {
  object-fit: cover;
  object-position: center center;
}

.reels-section {
  overflow: hidden;
}

.reels-header {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.reels-meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.reels-chip {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(31, 123, 182, 0.12);
  color: var(--color-blue);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.reels-feed {
  margin-top: 24px;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.reels-empty,
.media-empty {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px dashed rgba(31, 123, 182, 0.3);
  background: rgba(31, 123, 182, 0.06);
  color: rgba(31, 41, 51, 0.7);
  font-size: 0.85rem;
}

.media-text {
  margin-top: 12px;
  font-size: 0.85rem;
  color: rgba(31, 41, 51, 0.7);
}

.reel-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #0c1324;
  border: 1px solid rgba(31, 123, 182, 0.18);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.16);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border 0.2s ease;
  isolation: isolate;
}

.reel-card--inline {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.96),
    rgba(234, 242, 255, 0.92)
  );
}

.reel-card--inline:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 34px rgba(15, 23, 42, 0.2);
  border-color: rgba(31, 123, 182, 0.3);
}

.reel-media {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #0c1324;
}

.reel-video-frame {
  aspect-ratio: 16 / 9;
}

.reel-media video,
.reel-media img,
.reel-media iframe,
.reel-media .instagram-media,
.reel-media .reel-fallback {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.reel-media video,
.reel-media img {
  object-fit: cover;
}

.reel-media video {
  pointer-events: none;
}

.reel-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  color: #e5ecff;
  background: linear-gradient(
    160deg,
    rgba(31, 123, 182, 0.25),
    rgba(106, 24, 154, 0.25)
  );
}

.reel-fallback-icon {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.9);
  color: #172640;
  font-size: 1rem;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.35);
}

.reel-fallback-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.reel-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 4px 4px;
}

.reel-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1c2a44;
}

.reel-tag {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  background: rgba(31, 123, 182, 0.12);
  color: var(--color-blue);
  border: 1px solid rgba(31, 123, 182, 0.25);
}

.reel-embed {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 26px;
  overflow: hidden;
  background: #0c1324;
}

.reel-embed iframe,
.reel-embed .instagram-media {
  width: 100% !important;
  height: 100% !important;
  min-height: 220px;
  border: 0 !important;
  margin: 0 !important;
}

.reel-embed .instagram-media {
  min-width: 0 !important;
  max-width: none !important;
  background: #0c1324;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.reel-card.has-embed video,
.reel-card.has-embed img,
.reel-card.has-embed .reel-ig-url,
.reel-card.has-embed .reel-embed-url,
.reel-card.has-embed .reel-embed-platform {
  display: none;
}

.reel-card.has-embed .reel-control {
  display: none;
}

.reel-card.has-embed .reel-overlay {
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(4, 8, 20, 0.1),
    rgba(4, 8, 20, 0.55)
  );
}

.feature-video {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(15, 20, 36, 0.94),
    rgba(20, 30, 54, 0.9)
  );
  color: #f5f7ff;
}

.feature-video.section-card,
.site-main > section.feature-video.section-card:nth-of-type(even) {
  background: linear-gradient(
    135deg,
    rgba(15, 20, 36, 0.94),
    rgba(20, 30, 54, 0.9)
  );
  border-color: rgba(31, 123, 182, 0.25);
}

.feature-video.section-card::before,
.feature-video.section-card::after {
  content: none;
}

body[data-page-slug="home"] .feature-video {
  margin-top: 18px;
}

body[data-page-slug="home"] .site-main {
  gap: 40px;
  margin-top: 32px;
}

.hero-details {
  margin-top: 32px;
}

.feature-video::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 20%,
    rgba(31, 123, 182, 0.3),
    transparent 55%
  );
  opacity: 0.7;
  pointer-events: none;
}

.feature-video-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 28px;
  align-items: center;
}

@media (min-width: 900px) {
  .feature-video-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.feature-video .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.feature-video h2 {
  color: #fff;
}

.feature-video p {
  color: rgba(245, 247, 255, 0.8);
}

.feature-video-actions {
  margin-top: 18px;
}

.feature-video-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 600;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.feature-video-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25);
}

.feature-video-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  animation: iconPulse 3.4s ease-in-out infinite;
}

.feature-video-icon i {
  font-size: 0.9rem;
}

.feature-video-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  aspect-ratio: 16 / 9;
}

.feature-video-embed {
  position: absolute;
  inset: 0;
  background: #0c1324;
}

.feature-video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.feature-video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 18px;
  background: linear-gradient(
    180deg,
    rgba(4, 10, 24, 0.05),
    rgba(4, 10, 24, 0.55)
  );
  pointer-events: none;
}

.feature-video-pulse {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ff4b4b;
  box-shadow: 0 0 0 rgba(255, 75, 75, 0.7);
  animation: pulse 2.2s infinite;
}

.feature-video-badge {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 75, 75, 0.7);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(255, 75, 75, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 75, 75, 0);
  }
}

.reel-card[data-reel-type="photo"] video {
  display: none;
}

.reel-card[data-reel-type="video"] img {
  display: none;
}

.reel-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  background: linear-gradient(180deg, rgba(4, 8, 20, 0.2), rgba(4, 8, 20, 0.7));
  color: #fff;
  z-index: 2;
  backdrop-filter: blur(2px);
}

.reel-control {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.reel-control svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.reel-card.is-playing .reel-control {
  opacity: 0.2;
  transform: scale(0.95);
}

.reel-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  background: rgba(8, 12, 24, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.reel-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(8, 12, 24, 0.55);
}

.reel-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.reel-meta {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 900px) {
  .reels-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .reels-meta {
    margin-top: 10px;
  }

  .reels-feed {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 20px; /* Space for scrollbar if needed */
    margin-right: -24px; /* Bleed to edge */
    padding-right: 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Hide scrollbar Firefox */
  }

  .reels-feed::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
  }

  .reel-card {
    flex: 0 0 300px; /* Slightly wider cards for horizontal content */
    min-height: 200px; /* Shorter cards since videos are 16:9 */
    scroll-snap-align: center;
  }
}

/* Loading Skeletons */
.skeleton {
  background-color: #e2e8f0;
  position: relative;
  overflow: hidden;
  border-radius: inherit;
}

.skeleton::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-100%);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0.2) 20%,
    rgba(255, 255, 255, 0.5) 60%,
    rgba(255, 255, 255, 0)
  );
  animation: skeleton-shimmer 2s infinite;
}

@keyframes skeleton-shimmer {
  100% {
    transform: translateX(100%);
  }
}

.skeleton-reel {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
}

.skeleton-media {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 20px;
}

.skeleton-text {
  height: 14px;
  width: 60%;
  margin-top: 12px;
  border-radius: 4px;
}

@media (max-width: 900px) {
  .reels-feed:has(.skeleton-reel) {
    overflow-x: hidden;
  }
}
.reel-card {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border 0.2s ease;
}

.reel-card--inline {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.96),
    rgba(234, 242, 255, 0.92)
  );
}

.reel-card--inline:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 34px rgba(15, 23, 42, 0.2);
  border-color: rgba(31, 123, 182, 0.3);
}

.reel-media {
  position: relative;
  inset: auto;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #0c1324;
}

.reel-video-frame {
  aspect-ratio: 16 / 9;
}

.reel-media video,
.reel-media img,
.reel-media iframe,
.reel-media .instagram-media,
.reel-media .reel-fallback {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.reel-media video,
.reel-media img {
  object-fit: cover;
}

.reel-overlay,
.reel-control,
.reel-embed,
.reel-pill,
.reel-caption,
.reel-meta {
  display: none !important;
}

.reel-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 4px 4px;
}

.reel-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1c2a44;
}

.reel-tag {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  background: rgba(31, 123, 182, 0.12);
  color: var(--color-blue);
  border: 1px solid rgba(31, 123, 182, 0.25);
}

.testimonial-carousel {
  position: relative;
  display: grid;
  gap: 14px;
}

.testimonial-section--modern {
  background: linear-gradient(140deg, #05070d 0%, #0a1628 55%, #0d1f3a 100%);
  color: #f4f6fb;
  border-color: rgba(255, 255, 255, 0.12);
}

.testimonial-section--modern.section-card {
  background: linear-gradient(140deg, #05070d 0%, #0a1628 55%, #0d1f3a 100%);
}

.testimonial-section--modern::before,
.testimonial-section--modern::after {
  content: none;
}

.testimonial-section--modern .eyebrow,
.testimonial-section--modern h2,
.testimonial-section--modern p,
.testimonial-section--modern .section-title,
.testimonial-section--modern .testimonial-slide,
.testimonial-section--modern .testimonial-slider {
  color: #f4f6fb;
}

.testimonial-section--modern .section-title {
  align-items: flex-start;
}

.testimonial-section--modern .section-icon {
  box-shadow: 0 18px 34px rgba(7, 12, 22, 0.4);
}

.testimonial-section--modern .testimonial-carousel {
  margin-top: 8px;
}

.testimonial-carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 340px);
  gap: 18px;
  overflow-x: auto;
  padding: 14px 4px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.testimonial-carousel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.testimonial-carousel-controls {
  display: inline-flex;
  gap: 8px;
}

.testimonial-carousel-track::-webkit-scrollbar {
  height: 8px;
}

.testimonial-carousel-track::-webkit-scrollbar-thumb {
  background: rgba(31, 123, 182, 0.25);
  border-radius: 999px;
}

.testimonial-card {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 18, 36, 0.75);
  scroll-snap-align: center;
  box-shadow: 0 26px 50px rgba(4, 10, 24, 0.45);
  padding: 20px 22px;
  font-size: 0.98rem;
  line-height: 1.7;
  color: #f4f6fb;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border 0.25s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 30px 60px rgba(4, 10, 24, 0.6);
}

.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 30px rgba(4, 10, 24, 0.4);
  cursor: pointer;
  pointer-events: auto;
}

.carousel-arrow:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 38px rgba(4, 10, 24, 0.55);
}

@media (max-width: 768px) {
  .carousel-arrow {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .testimonial-carousel-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .community-glance-collage,
  .newsletter-collage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .community-glance-collage img,
  .newsletter-collage img {
    height: 100px;
  }
}

@media (min-width: 768px) {
  .media-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 180px;
  }

  .media-grid .media-frame {
    height: 100%;
  }

  .media-grid .media-feature {
    grid-column: span 2;
    grid-row: span 2;
  }
}

.band {
  display: grid;
  gap: 24px;
}

@media (min-width: 1024px) {
  .band--split {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .band--reverse .band-media {
    order: -1;
  }
}

.band-content > *:not(:first-child) {
  margin-top: 12px;
}

.band-media .media-grid {
  grid-auto-rows: 160px;
}

.story-feed {
  display: grid;
  gap: 18px;
}

@media (min-width: 900px) {
  .story-feed {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.story-card {
  display: grid;
  gap: 12px;
}

.story-media .media-placeholder {
  min-height: 180px;
}

.wins-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 900px) {
  .wins-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.wins-card {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(31, 123, 182, 0.12);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 28px rgba(7, 38, 66, 0.06);
}

.birthday-months {
  display: grid;
  gap: 20px;
}

.birthday-grid {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

@media (min-width: 720px) {
  .birthday-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ecard {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(31, 123, 182, 0.14);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9),
    rgba(232, 242, 251, 0.9)
  );
  font-weight: 600;
  color: #172640;
}

.newsletter-list {
  display: grid;
  gap: 12px;
}

.newsletter-row {
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(31, 123, 182, 0.12);
  background: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.newsletter-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(7, 38, 66, 0.12);
}

@media (min-width: 900px) {
  .newsletter-row {
    grid-template-columns: 1.2fr 0.4fr 1.4fr;
    align-items: center;
  }
}

.newsletter-meta {
  font-size: 0.85rem;
  color: rgba(23, 38, 64, 0.7);
  font-weight: 600;
}

.newsletter-summary {
  font-size: 0.9rem;
  color: rgba(23, 38, 64, 0.75);
}

.newsletter-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.newsletter-card-meta {
  margin: 6px 0 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(31, 123, 182, 0.6);
}

.newsletter-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
}

.newsletter-modal.is-open {
  display: flex;
}

.newsletter-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 12, 0.72);
}

.newsletter-modal-panel {
  position: relative;
  width: min(980px, 94vw);
  height: min(85vh, 900px);
  max-height: 85vh;
  background: #fff;
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 30px 70px rgba(5, 10, 20, 0.35);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1;
}

.newsletter-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.newsletter-modal-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(31, 123, 182, 0.2);
  background: rgba(31, 123, 182, 0.1);
  color: #1f3a8a;
}

.newsletter-modal-body {
  flex: 1;
  min-height: 60vh;
}

.newsletter-modal-body iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.newsletter-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(15, 23, 42, 0.08);
  color: #1f3a8a;
  cursor: pointer;
}

@media (max-width: 640px) {
  .newsletter-modal-panel {
    padding: 12px;
    height: 88vh;
    max-height: 88vh;
  }

  .newsletter-modal-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .newsletter-modal-body {
    min-height: 65vh;
  }
}

.highlight-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 900px) {
  .highlight-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.highlight-card {
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(31, 123, 182, 0.12);
  background: rgba(255, 255, 255, 0.8);
}

.event-section .event-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.event-section .event-media {
  margin-top: 20px;
}

.program-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 900px) {
  .program-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.program-card {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(31, 123, 182, 0.1);
  background: rgba(255, 255, 255, 0.9);
}

.learning-series-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 900px) {
  .learning-series-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.learning-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid rgba(51, 51, 51, 0.12);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 30px rgba(31, 123, 182, 0.08);
}

.learning-card-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-neutral-dark);
}

.learning-card-desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(51, 51, 51, 0.75);
}

.learning-card-outcome {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(51, 51, 51, 0.85);
}

.formation-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 900px) {
  .formation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.formation-step {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(31, 123, 182, 0.12);
  background: rgba(255, 255, 255, 0.96);
}

.formation-step-label {
  margin: 0;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(31, 123, 182, 0.7);
}

.formation-step-title {
  margin: 10px 0 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-neutral-dark);
}

.formation-step-desc {
  margin: 10px 0 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(51, 51, 51, 0.75);
}

.media-section {
  display: grid;
  gap: 16px;
}

.media-subsections {
  display: grid;
  gap: 28px;
}

@media (min-width: 900px) {
  .media-subsections {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.media-subsection {
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(31, 123, 182, 0.12);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96),
    rgba(243, 247, 255, 0.96)
  );
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}

.media-block-label {
  margin: 0 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(15, 23, 42, 0.72);
  background: rgba(31, 123, 182, 0.08);
  border: 1px solid rgba(31, 123, 182, 0.16);
}

.media-video .media-placeholder {
  min-height: 240px;
}

@media (max-width: 640px) {
  .media-section {
    gap: 12px;
  }

  .media-subsections {
    gap: 18px;
  }

  .media-subsection {
    padding: 16px;
    border-radius: 16px;
  }

  .media-grid {
    gap: 12px;
  }

  .media-grid .media-frame {
    aspect-ratio: 4 / 3;
    border-radius: 16px;
  }

  .media-block-label {
    letter-spacing: 0.18em;
  }

  .media-frame img,
  .media-frame video,
  .media-frame iframe {
    object-fit: contain;
    object-position: center;
    background: #0b1020;
  }

  .media-video {
    aspect-ratio: 16 / 9;
  }

  .media-frame {
    padding: 6px;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .media-frame img,
  .media-frame video {
    height: auto;
    max-height: 100%;
  }

  .media-frame iframe {
    height: 100%;
  }

  .contact-link {
    grid-template-columns: 32px 1fr;
    grid-auto-rows: minmax(0, auto);
    row-gap: 6px;
  }

  .contact-link span {
    min-width: 0;
  }

  .contact-meta {
    word-break: break-word;
  }
}

@media (max-width: 640px) {
  body[data-page-slug="media"] .media-frame {
    padding: 0;
  }

  body[data-page-slug="media"] .media-frame img,
  body[data-page-slug="media"] .media-frame video,
  body[data-page-slug="media"] .media-frame iframe {
    object-fit: cover;
    background: transparent;
  }
}

.testimonial-section {
  position: relative;
}

.testimonial-slider {
  position: relative;
  min-height: 140px;
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(51, 51, 51, 0.85);
}

.testimonial-slide.is-active {
  opacity: 1;
}

.testimonial-meta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: inherit;
}

.testimonial-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid currentColor;
  background: transparent;
  padding: 0;
  cursor: pointer;
  opacity: 0.55;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    background 0.2s ease;
}

.testimonial-dot.is-active {
  background: currentColor;
  opacity: 1;
  transform: scale(1.2);
}

.testimonial-dot:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.testimonial-count {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
  opacity: 0.85;
}

.testimonial-hint {
  font-size: 0.8rem;
  opacity: 0.65;
}

@media (max-width: 640px) {
  .testimonial-slider {
    min-height: 180px;
  }
}

.contact-hero {
  display: grid;
  gap: 16px;
}

@media (min-width: 900px) {
  .contact-hero {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
}

.contact-hero-card {
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(31, 123, 182, 0.12);
  background: rgba(255, 255, 255, 0.9);
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-link {
  display: grid;
  grid-template-columns: 40px 120px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(31, 123, 182, 0.1);
  background: rgba(255, 255, 255, 0.85);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(31, 123, 182, 0.12);
}

.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 123, 182, 0.1);
  color: var(--color-purple);
}

.contact-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.contact-icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.contact-meta {
  font-size: 0.85rem;
  color: rgba(51, 51, 51, 0.65);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-slide {
    animation: none;
    opacity: 1;
  }

  .hero-pillar-icon {
    animation: none;
  }

  .reel-card,
  .reel-control {
    transition: none;
  }

  .feature-video-pulse {
    animation: none;
  }

  .feature-video-icon {
    animation: none;
  }

  .section-icon {
    animation: none;
  }

  .media-frame img,
  .media-frame video {
    transition: none;
  }
}

/* Official Channels Redesign */
.official-channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.channel-icon-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(31, 123, 182, 0.12);
  box-shadow: 0 14px 28px rgba(31, 123, 182, 0.1);
  text-decoration: none;
  color: var(--color-neutral-dark);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.channel-icon-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px rgba(31, 123, 182, 0.15);
  color: var(--color-purple);
}

.channel-icon-link i {
  font-size: 2.5rem;
  line-height: 1;
}

.channel-icon-link .channel-handle {
  font-size: 0.8rem;
  color: rgba(51, 51, 51, 0.6);
  font-weight: 500;
}

.channel-icon-link:hover .channel-handle {
  color: var(--color-blue);
}

/* --- Unified Media Library Styles --- */
.filter-btn {
  padding: 8px 18px;
  border-radius: 99px;
  background: white;
  color: var(--color-neutral-dark);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.filter-btn:hover {
  background: var(--color-neutral-sky);
  transform: translateY(-1px);
}

.filter-btn.is-active {
  background: var(--color-purple);
  color: white;
  border-color: var(--color-purple);
  box-shadow: 0 4px 12px rgba(113, 54, 138, 0.25);
}

.media-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: white;
  aspect-ratio: 2 / 3;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.media-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.media-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.media-card:hover .media-card-img {
  transform: scale(1.05);
}

.media-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0) 50%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.media-card-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-purple);
  font-size: 1.4rem;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 2;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.media-card:hover .media-card-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.media-card-title {
  color: white;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  margin-bottom: 2px;
}

.media-card-meta {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

#media-lightbox.is-visible {
  display: flex;
  animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#lightbox-content {
  width: 100%;
  height: 100%;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: var(--color-blue);
}

/* --- Media Library Refined --- */
.filter-btn {
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-neutral-dark);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(31, 123, 182, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  white-space: nowrap;
}

.filter-btn:hover {
  background: #fff;
  border-color: var(--color-blue);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(31, 123, 182, 0.1);
}

.filter-btn.is-active {
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 14px 28px rgba(31, 123, 182, 0.2);
}

.media-card {
  cursor: pointer;
}

[data-media-grid] {
  transition: opacity 0.3s ease-in-out;
}

/* Lightbox Enhancements */
#media-lightbox.flex {
  display: flex;
}

#lightbox-content::-webkit-scrollbar {
  width: 6px;
}

#lightbox-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

#lightbox-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.custom-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) rgba(255, 255, 255, 0.05);
}

.media-lightbox-section {
  animation: slideUp 0.6s cubic-bezier(0.23, 1, 0.32, 1) both;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Skeleton Pulse */
.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Standardized Video Layout */
.video-stage {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
  .video-stage {
    height: 500px;
    aspect-ratio: auto; /* Override aspect-ratio for fixed height */
  }
}

.video-stage iframe,
.video-stage video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain; /* Contain to ensure the full video frame is visible at 500px */
}

.media-lightbox-section {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

/* --- Cinematic Media Cards --- */
.media-card-wrap {
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.3);
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.media-card:hover .media-card-wrap {
  box-shadow: 0 25px 50px -10px rgba(31, 123, 182, 0.3);
  transform: translateY(-8px) scale(1.02);
}

.cinematic-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.7) 25%,
    rgba(0, 0, 0, 0.2) 50%,
    transparent 100%
  );
  opacity: 0.9;
  transition: opacity 0.5s ease;
}

.media-card:hover .cinematic-overlay {
  opacity: 1;
}

.media-card-title {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  letter-spacing: -0.01em;
}

.media-card-meta {
  color: var(--color-accent-blue);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Fix for overlapping modular sections */
.modular-sections-area {
  margin-top: 4rem;
  border-top: 1px solid rgba(31, 123, 182, 0.1);
  padding-top: 4rem;
}

/* Utility Classes */
.hidden {
  display: none !important;
}

/* Toast Notification Styles */
.ssc-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 1000;
  padding: 1rem 2rem;
  border-radius: 1rem;
  background: var(--color-neutral-dark);
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}

.ssc-toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.ssc-toast--success {
  background: #059669;
  border: 1px solid rgba(255,255,255,0.1);
}

.ssc-toast--error {
  background: #dc2626;
  border: 1px solid rgba(255,255,255,0.1);
}
