:root {
  --navy-950: #021d49;
  --navy-900: #002868;
  --navy-800: #002d74;
  --red-700: #bf0a30;
  --red-600: #d8232a;
  --gold-500: #ffd700;
  --green-600: #007a5e;
  --ink-900: #0f1a2e;
  --ink-700: #3a4a68;
  --line: rgba(2, 40, 104, 0.13);
  --surface: #f8fbff;
  --surface-soft: #edf3ff;
  --white: #ffffff;
  --shadow-soft: 0 18px 42px rgba(2, 29, 73, 0.11);
  --shadow-strong: 0 26px 64px rgba(2, 29, 73, 0.2);
  --container: min(1150px, calc(100% - 2.5rem));
  --container-wide: calc(100% - 2.5rem);
  --font-heading: "Baloo 2", "Manrope", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  color: var(--ink-900);
  font-family: var(--font-body);
  line-height: 1.55;
  background: linear-gradient(180deg, #f7fbff 0%, #eff5ff 100%);
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(2, 45, 116, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(2, 45, 116, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 40%, black 38%, transparent 100%);
  pointer-events: none;
  z-index: -3;
}

.bg-radial {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 88% 10%, rgba(255, 215, 0, 0.18), transparent 28%),
    radial-gradient(circle at 8% 20%, rgba(0, 122, 94, 0.11), transparent 30%),
    radial-gradient(circle at 54% 88%, rgba(191, 10, 48, 0.08), transparent 30%);
  pointer-events: none;
  z-index: -2;
}

.balloon-stage {
  position: fixed;
  left: -7vw;
  bottom: -12vh;
  width: min(32vw, 260px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.78;
}

.balloon {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 36px rgba(2, 29, 73, 0.24));
}

.balloon-haze {
  position: absolute;
  inset: auto -35% -25% -35%;
  height: 120px;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.75), transparent 72%);
  filter: blur(10px);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(248, 251, 255, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(2, 40, 104, 0.08);
}

.nav-shell {
  min-height: 84px;
  padding-block: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-lockup {
  display: inline-flex;
}

.brand-lockup img {
  width: clamp(165px, 24vw, 238px);
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a {
  text-decoration: none;
  color: var(--ink-900);
  font-size: 0.93rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--red-700);
}

.nav-cta {
  background: linear-gradient(130deg, var(--navy-900), var(--navy-800));
  color: var(--white) !important;
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  box-shadow: 0 10px 24px rgba(2, 40, 104, 0.2);
}

.brand-icons {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.main-nav a[aria-current="page"] {
  color: var(--red-700);
  pointer-events: none;
}

.brand-icons a {
  display: inline-flex;
  text-decoration: none;
  border-radius: 4px;
}

.brand-icons a:focus-visible {
  outline: 2px solid var(--navy-900);
  outline-offset: 2px;
}

.brand-icons img {
  max-height: 36px;
  width: auto;
  object-fit: contain;
  transition: opacity 200ms ease, transform 200ms ease;
}

.brand-icons a:hover img,
.brand-icons a:focus-visible img {
  opacity: 0.72;
  transform: scale(1.08);
}

.panel {
  position: relative;
  z-index: 1;
  padding: clamp(3.5rem, 8vw, 6.4rem) 0;
}

.panel-light {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(238, 244, 255, 0.94));
  border-top: 1px solid rgba(2, 40, 104, 0.05);
  border-bottom: 1px solid rgba(2, 40, 104, 0.05);
}

.page-programs .panel-light {
  padding-block: 1.5rem;
}

.page-programs .map-hero {
  padding-block: clamp(1.5rem, 4vw, 2.5rem);
}

.panel-dark {
  background: linear-gradient(145deg, #041b45, #082f72 56%, #12438f);
  color: var(--white);
}

.ribbon-panel {
  padding: 1.1rem 0;
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--green-600);
}

.panel-dark .eyebrow {
  color: var(--gold-500);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.03;
}

h1 {
  font-size: clamp(2.3rem, 6vw, 4.35rem);
}

h1 span {
  color: var(--red-600);
}

h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
}

h3 {
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
}

p {
  margin: 0;
}

.lede {
  margin-top: 1rem;
  max-width: 68ch;
  font-size: clamp(1rem, 1.8vw, 1.14rem);
  color: var(--ink-700);
}

.panel-dark .lede {
  color: rgba(255, 255, 255, 0.88);
}

.hero {
  min-height: calc(95vh - 80px);
  display: grid;
  align-items: center;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: start;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-stat-grid {
  margin-top: 1.7rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.hero-stat-grid article {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem;
  box-shadow: 0 14px 24px rgba(2, 40, 104, 0.08);
}

.hero-stat-grid h3 {
  color: var(--navy-900);
  font-size: 1.44rem;
}

.hero-stat-grid p {
  margin-top: 0.22rem;
  font-size: 0.82rem;
}

.hero-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-strong);
  padding: 1.2rem;
}

.card-kicker {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--navy-800);
  font-weight: 800;
}

.hero-card h2 {
  margin-top: 0.2rem;
}

.hero-card p {
  margin-top: 0.4rem;
}

.lead-form {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.lead-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.84rem;
  font-weight: 700;
}

.lead-form input,
.lead-form select {
  min-height: 42px;
  border: 1px solid rgba(2, 29, 73, 0.2);
  border-radius: 10px;
  font: inherit;
  padding: 0.58rem 0.72rem;
  background: rgba(255, 255, 255, 0.95);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.2rem;
  font-size: 0.83rem;
}

.btn {
  min-height: 47px;
  border: 0;
  border-radius: 14px;
  padding: 0.7rem 1rem;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(140deg, var(--red-700), var(--red-600));
  color: var(--white);
  box-shadow: 0 14px 32px rgba(191, 10, 48, 0.26);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.82);
  color: var(--navy-900);
  border: 1px solid rgba(2, 40, 104, 0.22);
}

.ticker {
  display: flex;
  gap: 0.8rem;
  overflow: auto;
  scrollbar-width: none;
}

.ticker::-webkit-scrollbar {
  display: none;
}

.ticker span {
  flex: 0 0 auto;
  background: linear-gradient(130deg, rgba(2, 40, 104, 0.08), rgba(2, 40, 104, 0.14));
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.56rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.section-head {
  margin-bottom: 1.55rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

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

.step-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  padding: 1rem;
  display: grid;
  gap: 0.45rem;
}

.step-card span {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--red-700);
  background: rgba(191, 10, 48, 0.1);
  border-radius: 50%;
}

.step-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.step-card p {
  margin: 0;
  font-size: 0.89rem;
}



.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.brand-logo-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.logo-spot {
  text-decoration: none;
  color: var(--ink-900);
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.98), rgba(236, 243, 255, 0.94));
  box-shadow: var(--shadow-soft);
  min-height: 220px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.logo-spot:hover,
.logo-spot:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(191, 10, 48, 0.32);
  box-shadow: 0 20px 40px rgba(2, 29, 73, 0.16);
}

.logo-spot img {
  max-width: min(260px, 86%);
  max-height: 100px;
  object-fit: contain;
}

.logo-spot p {
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.brand-card {
  color: inherit;
  text-decoration: none;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.21);
  background: rgba(255, 255, 255, 0.08);
  padding: 1rem;
  display: grid;
  gap: 0.55rem;
  transition: transform 270ms ease, box-shadow 270ms ease, border-color 270ms ease;
}

.brand-card:hover,
.brand-card:focus-visible {
  transform: translateY(-6px) rotate(-0.3deg);
  border-color: rgba(255, 215, 0, 0.45);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

.brand-card-logo {
  max-height: 44px;
  max-width: 160px;
  object-fit: contain;
  opacity: 0.9;
}

.brand-card h3 {
  margin: 0;
}

.brand-card span {
  width: fit-content;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 800;
  color: var(--gold-500);
}

.panel-map {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(241, 247, 255, 0.92));
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1rem;
  align-items: center;
}

.feature-list {
  margin: 0.9rem 0 1.25rem;
  padding-left: 1.15rem;
}

.feature-list li {
  margin: 0.38rem 0;
}

.map-preview-shell {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-strong);
}

.map-preview,
.program-map {
  min-height: 390px;
}

#map-preview .leaflet-tile-pane,
#program-map .leaflet-tile-pane {
  filter: saturate(0.7) contrast(1.05) hue-rotate(6deg) brightness(1.03);
}

#map-preview .leaflet-popup-content-wrapper,
#program-map .leaflet-popup-content-wrapper {
  border-radius: 12px;
  border: 1px solid rgba(2, 40, 104, 0.14);
  box-shadow: 0 14px 30px rgba(2, 29, 73, 0.24);
}

#map-preview .leaflet-popup-content a,
#program-map .leaflet-popup-content a {
  color: var(--red-700);
  text-decoration: none;
  font-weight: 700;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.quote-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
}

.quote-card p {
  font-size: 0.95rem;
}

.quote-card span {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--ink-700);
}

.microblog-preview,
.microblog-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.post-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
  display: grid;
  gap: 0.55rem;
}

.post-meta {
  margin: 0;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 800;
  color: var(--ink-700);
}

.post-card h3 {
  font-size: 1.2rem;
}

.post-card p {
  margin: 0;
  font-size: 0.9rem;
}

.stack-actions {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.faq-panel summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.17rem;
  font-weight: 700;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.faq-grid details {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.8rem;
}

.faq-grid details p {
  margin-top: 0.6rem;
  color: rgba(255, 255, 255, 0.9);
}

.about-hero {
  text-align: center;
}

.story-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 1rem;
  align-items: stretch;
}

.story-copy {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
  display: grid;
  gap: 0.7rem;
}

.story-facts {
  display: grid;
  gap: 0.7rem;
}

.story-fact {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
  padding: 0.9rem;
}

.story-fact h3 {
  margin-bottom: 0.35rem;
}

.people-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.person-placeholder {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.09);
  padding: 0.9rem;
  display: grid;
  gap: 0.45rem;
}

.photo-placeholder {
  min-height: 150px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.42);
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.12));
}

.bio-placeholder {
  color: rgba(255, 255, 255, 0.87);
}

/* Team section — founders row */
.team-founders {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 740px;
  margin-inline: auto;
  margin-bottom: 1.25rem;
}

/* Team section — leads row */
.team-leads {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

/* Individual team card */
.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(2, 29, 73, 0.06);
  padding: 1.5rem;
  text-align: center;
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(2, 29, 73, 0.1);
}

/* Photo wrapper */
.team-card-photo-wrap {
  margin-bottom: 1rem;
}

.team-card-photo-wrap img {
  width: 140px;
  height: 140px;
  border-radius: 14px;
  object-fit: cover;
  display: block;
  margin-inline: auto;
}

.team-card-founder .team-card-photo-wrap img {
  width: 170px;
  height: 170px;
}

/* Placeholder initials until real headshots arrive */
.team-card-photo-placeholder {
  width: 140px;
  height: 140px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-inline: auto;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  color: #fff;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.team-card-founder .team-card-photo-placeholder {
  width: 170px;
  height: 170px;
  font-size: 2.8rem;
}

/* Card info */
.team-card-role {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red-700);
}

.team-card h3 {
  margin: 0.25rem 0 0;
  font-size: 1.15rem;
  color: var(--ink-900);
}

.team-card-founder h3 {
  font-size: 1.3rem;
}

.team-card-bio {
  margin: 0.6rem 0 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink-700);
}

/* Legacy compat — keep for other pages if used */
.leaders-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.leaders-grid-2 {
  max-width: 680px;
  margin-inline: auto;
}

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

.leader-card {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
}

.leader-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.6rem;
  border: 2px solid rgba(255, 215, 0, 0.5);
}

.leader-bio {
  margin-top: 0.45rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.avatar-shell {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 800;
  background: linear-gradient(130deg, rgba(255, 215, 0, 0.9), rgba(255, 215, 0, 0.44));
  color: #2f2f2f;
  margin-bottom: 0.6rem;
}

.role {
  margin-top: 0.35rem;
  color: var(--gold-500);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline-shell .timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.timeline article {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.timeline span {
  font-size: 0.74rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--red-700);
}

.timeline h3 {
  margin-top: 0.4rem;
  font-size: 1.1rem;
}

.timeline p {
  margin-top: 0.4rem;
  font-size: 0.89rem;
}

.final-callout {
  text-align: center;
}

.final-callout p {
  margin: 0.8rem auto 1.2rem;
  max-width: 58ch;
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(280px, 340px) 1fr;
  gap: 1rem;
}

.container.map-layout {
  width: var(--container-wide);
  max-width: none;
}

.map-sidebar {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
  max-height: 70vh;
  overflow: auto;
}

.filter-group {
  display: grid;
  gap: 0.32rem;
  margin-bottom: 0.68rem;
}

.filter-group label {
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.filter-group select,
.filter-group input {
  min-height: 42px;
  border: 1px solid rgba(2, 29, 73, 0.22);
  border-radius: 10px;
  padding: 0.55rem 0.66rem;
  font: inherit;
  background: var(--white);
}

.filter-actions {
  margin: 0.85rem 0;
}

.filter-actions .btn {
  width: 100%;
}

.results-count {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--ink-700);
}

.program-list {
  display: grid;
  gap: 0.62rem;
}

.program-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.78rem;
  background: var(--white);
  display: grid;
  gap: 0.35rem;
}

.program-item h3 {
  font-size: 1.03rem;
}

.program-item p {
  font-size: 0.83rem;
  margin: 0;
}

.status-badge {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.15rem 0.42rem;
  border-radius: 999px;
  line-height: 1.3;
}

.status-badge.active {
  background: rgba(0, 122, 94, 0.12);
  color: var(--green-600);
}

.status-badge.planned {
  background: rgba(255, 215, 0, 0.18);
  color: #8a7000;
}

.program-item .register-link {
  color: var(--red-700);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 800;
}

.program-item .register-link:hover,
.program-item .register-link:focus-visible {
  text-decoration: underline;
}

.map-shell {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  min-height: 70vh;
  box-shadow: var(--shadow-strong);
}

.program-map {
  height: 100%;
  min-height: 70vh;
}

.map-fallback-message {
  margin: 0;
  min-height: 220px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-900);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(238, 244, 255, 0.95));
}

.blog-tools {
  display: grid;
  gap: 0.55rem;
}

.blog-tools label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--ink-700);
}

.blog-tools input {
  min-height: 44px;
  border: 1px solid rgba(2, 29, 73, 0.22);
  border-radius: 10px;
  font: inherit;
  padding: 0.6rem 0.74rem;
}

.brand-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.brand-chip {
  border: 1.5px solid var(--chip-color, rgba(2, 29, 73, 0.24));
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-900);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.32rem 0.58rem;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.brand-chip:hover {
  background: rgba(2, 29, 73, 0.06);
}

.brand-chip.active {
  background: var(--chip-color, var(--red-700));
  border-color: var(--chip-color, var(--red-700));
  color: var(--white);
}

.brand-chip[data-brand="all"].active {
  background: var(--navy-900);
  border-color: var(--navy-900);
}

.tag-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-chip {
  border: 1px solid rgba(2, 29, 73, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-900);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.32rem 0.58rem;
  cursor: pointer;
}

.tag-chip.active {
  background: rgba(191, 10, 48, 0.1);
  border-color: rgba(191, 10, 48, 0.45);
  color: var(--red-700);
}

.feature-post {
  margin-bottom: 0.9rem;
}

.feature-post .post-card {
  border-width: 1px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.97), rgba(238, 244, 255, 0.96));
}

.integration-callout p {
  margin-top: 0.65rem;
  max-width: 70ch;
}

.site-footer {
  position: relative;
  z-index: 1;
  background: rgba(247, 251, 255, 0.95);
  border-top: 1px solid rgba(2, 40, 104, 0.12);
}

.footer-shell {
  min-height: 114px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-shell img {
  width: clamp(180px, 26vw, 350px);
}

.footer-shell p {
  margin: 0;
  font-size: 0.82rem;
}

.build-stamp {
  margin-top: 0.2rem !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(2, 40, 104, 0.68);
  font-weight: 800;
}

.footer-links {
  margin-top: 0.33rem !important;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--navy-800);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 650ms cubic-bezier(0.2, 1, 0.3, 1), transform 650ms cubic-bezier(0.2, 1, 0.3, 1);
}

@media (max-width: 1080px) {
  .steps-grid-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .hero-layout,
  .split-grid,
  .steps-grid,
  .brand-grid,
  .brand-logo-wall,
  .story-layout,
  .people-placeholder-grid,
  .testimonial-grid,
  .timeline-shell .timeline,
  .leaders-grid-4,
  .microblog-preview,
  .microblog-list,
  .faq-grid,
  .map-layout {
    grid-template-columns: 1fr;
  }

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

  .container.map-layout {
    width: var(--container);
  }

  .map-shell,
  .program-map,
  .map-sidebar {
    min-height: 440px;
    max-height: none;
  }

  .balloon-stage {
    width: min(34vw, 210px);
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(1150px, calc(100% - 1.25rem));
  }

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

  .team-founders,
  .team-leads {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-inline: auto;
  }

  .site-header {
    position: relative;
  }

  .nav-shell {
    min-height: auto;
    padding: 0.7rem 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 0.72rem;
  }

  .brand-icons {
    gap: 0.4rem;
  }

  .hero {
    min-height: auto;
  }

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

  .footer-shell {
    flex-direction: column;
    text-align: center;
    padding: 1rem 0;
  }

  .footer-links {
    justify-content: center;
  }

  .balloon-stage {
    width: 150px;
    left: -12vw;
    opacity: 0.68;
  }
}
