:root {
  --navy: #002060;
  --navy-2: #001845;
  --ink: #10203a;
  --blue: #0070c0;
  --cyan: #1cade4;
  --gold: #ffcc00;
  --gold-deep: #e0b000;
  --paper: #f4f7fb;
  --white: #ffffff;
  --muted: #5c6b82;
  --line: rgba(0, 32, 96, 0.12);
  --shadow: 0 18px 50px rgba(0, 24, 69, 0.12);
  --radius: 16px;
  --header-h: 4.6rem;
  --font-display: "Outfit", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

a {
  color: var(--blue);
}

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

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--gold);
  color: var(--navy);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 700;
}

.skip-link:focus {
  top: 0.75rem;
}

.container {
  width: min(1180px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.section {
  padding: clamp(2.15rem, 4vw, 3.2rem) 0;
}

.section-head {
  max-width: 42rem;
  margin-bottom: clamp(1rem, 2.2vw, 1.6rem);
}

.eyebrow {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}

.section-head h2,
.panel-title {
  font-size: clamp(2rem, 4vw, 3.15rem);
  color: var(--navy);
}

.section-lead {
  color: var(--muted);
  font-size: 1.12rem;
  margin: 0.8rem 0 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  color: var(--white);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
}

.site-header.is-scrolled,
.site-header.nav-open {
  background: rgba(0, 24, 69, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

.nav-bar {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(1240px, calc(100% - 2rem));
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  text-decoration: none;
  min-width: 0;
}

.logo img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--white);
}

.logo-text {
  display: grid;
  line-height: 1.05;
}

.logo-text strong {
  font-family: var(--font-display);
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

.logo-text span {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: auto;
}

.site-nav a {
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a[aria-current="true"] {
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold);
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
}

.nav-cta:hover {
  background: var(--white) !important;
  color: var(--navy) !important;
}

.header-social {
  display: flex;
  gap: 0.4rem;
}

.header-social a,
.icon-btn {
  width: 2.3rem;
  height: 2.3rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  background: transparent;
}

.header-social a:hover,
.icon-btn:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  background: transparent;
  padding: 0;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 4px;
  background: var(--white);
  transition: transform 0.25s var(--ease);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--white);
  background: var(--navy-2);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1.15s ease;
}

.hero-slide.is-active {
  opacity: 1;
  animation: hero-ken 8s linear forwards;
}

.hero.is-paused .hero-slide,
.hero.is-paused .hero-spot {
  animation-play-state: paused;
}

@keyframes hero-ken {
  from { transform: scale(1.02); }
  to { transform: scale(1.06) translate3d(-0.6%, -0.4%, 0); }
}

.hero-spot {
  position: absolute;
  inset: -12%;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 28% 42%, rgba(255, 204, 0, 0.34), transparent 36%),
    radial-gradient(ellipse at 78% 18%, rgba(28, 173, 228, 0.22), transparent 32%);
  mix-blend-mode: screen;
  animation: hero-spot 10s ease-in-out infinite alternate;
}

@keyframes hero-spot {
  from { transform: translate3d(-4%, -2%, 0) scale(1); }
  to { transform: translate3d(8%, 5%, 0) scale(1.12); }
}

.hero-sheen {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 36%, rgba(255, 204, 0, 0.2) 48%, rgba(255, 255, 255, 0.28) 50%, transparent 62%);
  transform: translateX(-130%);
}

.hero-sheen.is-on {
  animation: hero-sheen 1.35s var(--ease);
}

@keyframes hero-sheen {
  from { transform: translateX(-130%); }
  to { transform: translateX(130%); }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 24, 69, 0.58) 0%, rgba(0, 24, 69, 0.28) 36%, rgba(0, 16, 48, 0.86) 100%),
    linear-gradient(90deg, rgba(0, 32, 96, 0.74), transparent 58%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  column-gap: 2.4rem;
  align-items: end;
  width: min(1180px, calc(100% - 2.4rem));
  margin: 0 auto 4.2rem;
  padding-top: calc(var(--header-h) + 2rem);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
}

.hero h1 {
  font-size: clamp(3.4rem, 8vw, 7rem);
  font-weight: 700;
  max-width: 12ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
  text-shadow: 0 0 16px rgba(255, 204, 0, 0.35);
  animation: legacy-glow 3.4s ease-in-out infinite;
}

@keyframes legacy-glow {
  0%, 100% { text-shadow: 0 0 10px rgba(255, 204, 0, 0.25); }
  50% { text-shadow: 0 0 26px rgba(255, 204, 0, 0.85), 0 0 6px rgba(255, 255, 255, 0.7); }
}

.hero-kicker,
.hero h1,
.hero-lead,
.hero-actions,
.hero-social {
  grid-column: 1;
}

.hero-stage {
  grid-column: 2;
  grid-row: 1 / span 5;
  align-self: end;
}

.hero-card {
  display: grid;
  gap: 0.2rem;
  width: 100%;
  text-align: left;
  color: var(--white);
  background: rgba(0, 16, 48, 0.62);
  border: 1px solid rgba(255, 204, 0, 0.72);
  border-radius: 18px;
  padding: 0.95rem 1.05rem 1rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.hero-card.is-lit {
  animation: hero-card-lit 0.85s var(--ease);
}

@keyframes hero-card-lit {
  0% { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.55), 0 16px 40px rgba(0, 0, 0, 0.28); }
  55% { box-shadow: 0 0 0 7px rgba(255, 204, 0, 0.18), 0 0 32px rgba(255, 204, 0, 0.45); }
  100% { box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
}

.hero-card-kicker {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold);
}

.hero-card strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.25;
}

.hero-card span:last-child {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.hero-controls {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.hero-nav {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 16, 48, 0.45);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.hero-nav:hover,
.hero-dot.is-active {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.hero-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
  flex: 1;
}

.hero-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.hero-progress {
  height: 3px;
  margin-top: 0.7rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.hero-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), #fff4a8 55%, var(--cyan));
}

.hero-progress span.is-run {
  animation: hero-fill 6.8s linear forwards;
}

@keyframes hero-fill {
  from { width: 0; }
  to { width: 100%; }
}

.hero-lead {
  max-width: 40rem;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.88);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

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

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

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

.btn-line {
  background: transparent;
  color: var(--navy);
  border-color: rgba(0, 32, 96, 0.25);
}

.hero-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--white);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 0.4rem 0.8rem 0.4rem 0.45rem;
  background: rgba(0, 0, 0, 0.2);
}

.social-pill span {
  width: 1.6rem;
  height: 1.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
}

.social-pill.yt span { color: #e11; }
.social-pill.fb span { color: #1877f2; }

.hero-scroll {
  position: absolute;
  left: max(1.2rem, calc((100% - 1180px) / 2));
  bottom: 1.4rem;
  z-index: 2;
  color: var(--gold);
  text-decoration: none;
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 2.2rem;
}

.stats-bar li {
  background: var(--white);
  padding: 1.15rem 1rem 1.2rem;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.stat-label {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.about-grid,
.split,
.contact-layout,
.connect-grid,
.cap-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.4rem, 3vw, 2.5rem);
  align-items: start;
}

.frame {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.about-visual {
  display: grid;
  gap: 0.8rem;
}

.about-visual .frame:first-child img {
  aspect-ratio: 16/10;
}

.about-visual .frame:last-child img {
  aspect-ratio: 16/9;
}

.caption {
  padding: 0.75rem 0.95rem 0.95rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.quote {
  margin: 1.2rem 0;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--gold);
  background: var(--white);
  border-radius: 0 12px 12px 0;
}

.quote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
}

.quote cite {
  display: block;
  margin-top: 0.45rem;
  font-style: normal;
  color: var(--muted);
  font-size: 0.95rem;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-top: 1rem;
}

.mission-card,
.info-card,
.partner-card,
.service-card,
.why-item,
.leader-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
}

.mission-card h3,
.info-card h3,
.service-card h3 {
  color: var(--navy);
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.timeline {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  margin: 1.6rem 0 1rem;
}

.timeline button,
.chip,
.seg button,
.video-list button,
.leader-card {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 600;
}

.timeline button.is-active,
.chip.is-active,
.seg button.is-active,
.video-list button.is-active,
.leader-card.is-active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.era {
  display: none;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--line);
}

.era.is-active { display: block; }

.era h3 { color: var(--navy); margin-bottom: 0.4rem; }

.service-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.8rem;
}

.service-card {
  text-align: left;
  cursor: pointer;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.service-card:hover,
.service-card.is-open {
  transform: translateY(-3px);
  border-color: var(--gold-deep);
}

.service-card .num {
  font-family: var(--font-display);
  color: var(--gold-deep);
  font-weight: 700;
}

.service-card p {
  display: none;
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.service-card.is-open p { display: block; }

.services { background: var(--white); }

.toolbar {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.search-row,
.tool-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.search-row input,
.tool-row select,
.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  outline: none;
}

.search-row input {
  flex: 1 1 240px;
  width: auto;
}

.search-row input:focus,
.tool-row select:focus,
.field input:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 112, 192, 0.15);
}

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

.tool-row label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  margin-left: auto;
}

.tool-row select { width: auto; }

.result-count {
  margin: 0;
  color: var(--muted);
}

.dash {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
  margin: 0.4rem 0 1.1rem;
}

.dash button {
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
}

.dash button strong {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
}

.dash button small {
  color: var(--muted);
}

.meter {
  height: 8px;
  border-radius: 99px;
  background: #e6edf5;
  overflow: hidden;
  margin: 0.45rem 0 0.25rem;
}

.meter span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: inherit;
}

.meter.is-ready span { width: var(--w); transition: width 0.9s var(--ease); }

.project-grid,
.partner-grid,
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.project-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.project-open {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 0;
  height: 100%;
  color: inherit;
}

.card-visual {
  position: relative;
  aspect-ratio: 16/10;
  background:
    radial-gradient(circle at 20% 20%, rgba(28, 173, 228, 0.45), transparent 40%),
    linear-gradient(145deg, var(--navy), #0a4f9e);
  color: var(--white);
}

.card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-visual .tag,
.badge {
  position: absolute;
  left: 0.7rem;
  top: 0.7rem;
  background: var(--gold);
  color: var(--navy);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge.takeover {
  left: auto;
  right: 0.7rem;
  background: var(--white);
}

.card-body {
  padding: 0.95rem 1rem 1.05rem;
  display: grid;
  gap: 0.25rem;
}

.card-body h3 {
  font-size: 1.15rem;
  color: var(--navy);
}

.card-body p,
.muted { color: var(--muted); margin: 0; }

.empty {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--muted);
  background: var(--white);
  border-radius: var(--radius);
}

.why-list { display: grid; gap: 0.6rem; }

.why-item {
  width: 100%;
  text-align: left;
  padding: 0;
  overflow: hidden;
}

.why-item summary,
.why-item button.why-toggle {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 1rem 1.1rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.why-item .why-body {
  display: none;
  padding: 0 1.1rem 1rem;
  color: var(--muted);
}

.why-item.is-open .why-body { display: block; }

.why-item.is-open { border-color: var(--gold-deep); }

.cap-tabs { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1rem; }

.cap-panel { display: none; }
.cap-panel.is-active { display: block; }

.cap-copy h3 { color: var(--navy); font-size: 1.7rem; margin-bottom: 0.5rem; }

.cap-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.cap-photos button {
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--navy);
}

.cap-photos img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.license-btn {
  margin-top: 0.8rem;
}

.org-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1rem;
  align-items: start;
}

.leader-list { display: grid; gap: 0.45rem; }

.leader-card {
  border-radius: 14px;
  text-align: left;
  width: 100%;
}

.leader-card small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  opacity: 0.8;
}

.leader-detail h3 { color: var(--navy); margin-bottom: 0.35rem; }

.dept-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.8rem;
}

.dept-list li {
  background: #e8f4fc;
  color: var(--navy);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.92rem;
}

.org-figure {
  margin-top: 1rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
}

.org-figure button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--white);
  cursor: zoom-in;
}

.org-figure img { width: 100%; }

.org-figure figcaption {
  padding: 0.8rem 1rem 1rem;
  color: var(--muted);
}

.partner-grid { grid-template-columns: 1fr 1fr; }

.partner-card h3 { color: var(--navy); font-size: 1.2rem; }
.partner-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.8rem;
}

.connect { background: var(--navy); color: var(--white); }
.connect .eyebrow, .connect h2 { color: var(--gold); }
.connect .section-lead { color: rgba(255,255,255,.8); }

.connect-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 1.1rem;
}

.connect-card h3 { margin-bottom: 0.4rem; }

.url-line {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  background: rgba(0,0,0,.25);
  border-radius: 12px;
  padding: 0.45rem 0.45rem 0.45rem 0.8rem;
  margin: 0.8rem 0;
}

.url-line a {
  color: var(--gold);
  word-break: break-all;
  font-size: 0.92rem;
}

.copy-btn, .video-list button {
  border-radius: 10px;
}

.copy-btn {
  border: 0;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 0.45rem 0.7rem;
  white-space: nowrap;
}

.video-shell {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.7rem;
}

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

.video-list { display: grid; gap: 0.4rem; }
.video-list button { text-align: left; border-radius: 12px; }

.fb-frame {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  min-height: 420px;
}

.fb-frame iframe { width: 100%; height: 480px; border: 0; }

.contact { background: var(--white); }

.contact-details { display: grid; gap: 0.7rem; }

.field { display: grid; gap: 0.3rem; margin-bottom: 0.75rem; }
.field label { font-weight: 600; color: var(--navy); }
.field .error { color: #9f1239; font-size: 0.9rem; min-height: 1.1em; }
.field.is-invalid input,
.field.is-invalid textarea { border-color: #be123c; }

.form-note {
  margin-top: 0.7rem;
  color: var(--navy);
  background: #e8f8ef;
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
}

.map-frame {
  margin-top: 1.4rem;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  border: 1px solid var(--line);
}

.map-frame iframe { width: 100%; height: 360px; border: 0; }

.map-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-top: 1.5rem;
}

.site-footer {
  background: var(--navy-2);
  color: rgba(255,255,255,.82);
  padding: 2.2rem 0 1.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.4rem;
}

.site-footer a { color: var(--gold); text-decoration: none; }
.site-footer h3 { color: var(--white); font-size: 1rem; margin-bottom: 0.45rem; }
.footer-brand { display: flex; gap: 0.7rem; align-items: center; color: var(--white); margin-bottom: 0.6rem; }
.footer-brand img { width: 48px; height: 48px; border-radius: 8px; background: var(--white); }
.legal { margin-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.12); padding-top: 0.8rem; font-size: 0.92rem; }

.to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  width: 2.8rem;
  height: 2.8rem;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-size: 1.2rem;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}

.to-top.is-on { opacity: 1; pointer-events: auto; }

.modal {
  width: min(860px, calc(100% - 1.4rem));
  border: 0;
  border-radius: 18px;
  padding: 0;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.modal::backdrop { background: rgba(0, 16, 48, 0.72); }

.modal-hero { position: relative; background: var(--navy); }
.modal-hero img { width: 100%; max-height: 360px; object-fit: cover; }
.modal-body { padding: 1.2rem 1.3rem 1.4rem; }
.modal-body h3 { font-size: 1.7rem; color: var(--navy); margin-bottom: 0.35rem; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1rem; margin: 1rem 0; }
.facts div { background: var(--paper); border-radius: 12px; padding: 0.7rem 0.8rem; }
.facts dt { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0.15rem 0 0; color: var(--navy); font-weight: 700; }

.modal-close, .lb-bar button {
  border: 0;
  background: var(--white);
  color: var(--navy);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-weight: 700;
}

.modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
}

.lightbox {
  width: min(1100px, calc(100% - 1rem));
  height: min(92vh, 900px);
  max-height: 92vh;
  border: 0;
  padding: 0;
  background: var(--navy-2);
  color: var(--white);
  border-radius: 16px;
}

.lightbox::backdrop { background: rgba(0,0,0,.78); }

.lb-bar {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: center;
  padding: 0.6rem 0.7rem;
}

.lb-bar div { display: flex; gap: 0.35rem; }

.lb-stage {
  height: calc(100% - 52px);
  overflow: hidden;
  display: grid;
  place-items: center;
  cursor: grab;
  touch-action: none;
}

.lb-stage img {
  max-width: 100%;
  max-height: 100%;
  transform-origin: center center;
  user-select: none;
}

.lightbox.is-doc {
  width: min(760px, calc(100vw - 1.25rem));
  height: min(94vh, 1100px);
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  color: var(--navy);
}

.lightbox.is-doc .lb-bar { flex: 0 0 auto; }

.lightbox.is-doc .lb-stage {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  display: block;
  cursor: auto;
  touch-action: pan-y;
  background: var(--white);
}

.lightbox.is-doc .lb-stage img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  transform: none;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

@media (max-width: 1020px) {
  .stats-bar, .service-list, .dash, .project-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .split, .contact-layout, .cap-layout, .org-layout, .footer-grid {
    grid-template-columns: 1fr;
  }
  .connect-grid { grid-template-columns: minmax(0, 1fr); }
  .nav-toggle { display: block; }
  .header-social { display: none; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--navy-2);
    display: grid;
    padding: 0.8rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  }
  .site-header.nav-open .site-nav {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav a { padding: 0.8rem 0.9rem; }
  .logo-text strong { font-size: 0.88rem; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-stage { grid-column: 1; grid-row: auto; margin-top: 1.2rem; }
}

@media (max-width: 680px) {
  .stats-bar, .service-list, .dash, .project-grid, .mission-grid, .facts, .cap-photos, .partner-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 { font-size: 3.2rem; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-stage { grid-column: 1; grid-row: auto; margin-top: 1.4rem; }
  .hero-scroll { display: none; }
  .tool-row label { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

.gold-bar {
  display: block;
  width: 64px;
  height: 6px;
  border-radius: 99px;
  background: #f5c518;
  margin-bottom: 0.75rem;
}

.service-list { align-items: stretch; }

.service-card {
  height: 210px;
  padding: 0;
  border: 0;
  background: transparent;
  perspective: 1000px;
  transform: none;
}

.service-card:hover,
.service-card.is-open {
  transform: none;
  border-color: transparent;
}

.flip-inner {
  position: relative;
  display: block;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.55s var(--ease);
}

.service-card.is-open .flip-inner { transform: rotateY(180deg); }

.flip-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  backface-visibility: hidden;
}

.flip-back {
  transform: rotateY(180deg);
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.flip-back p,
.service-card.is-open p {
  display: block;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

.flip-hint {
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
}

.cap-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
}

.cap-tabs button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 5.1rem;
  padding: 0.7rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 600;
  text-align: center;
}

.cap-tabs svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cap-tabs button.is-active {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}

.cap-photos-portrait {
  grid-template-columns: 240px;
  justify-content: end;
}

.cap-photos-portrait button { background: var(--white); }

.cap-photos-portrait img {
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: var(--white);
}

.project-carousel {
  position: relative;
  min-width: 0;
  max-width: 100%;
  padding: 0 3.1rem;
}

.project-grid {
  display: flex;
  grid-template-columns: none;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: none;
  align-items: center;
  padding: 1.8rem 0 2rem;
  scrollbar-width: none;
}

.project-grid::-webkit-scrollbar { display: none; }

.project-grid::before,
.project-grid::after {
  content: "";
  flex: 0 0 calc(50% - 140px);
}

.project-card {
  position: relative;
  z-index: 1;
  flex: 0 0 280px;
  width: 280px;
  height: 368px;
  min-height: 368px;
  scroll-snap-align: none;
  transform: scale(0.92);
  opacity: 0.8;
  content-visibility: auto;
  contain-intrinsic-size: auto 280px auto 368px;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-card.is-center {
  z-index: 2;
  opacity: 1;
  transform: scale(1.08) translateY(-10px);
  box-shadow: 0 22px 44px rgba(13, 31, 74, 0.18);
}

.project-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.15rem;
}

.project-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: #c5d0e4;
}

.project-dots button.is-on {
  width: 22px;
  background: var(--gold);
}

@media (max-width: 680px) {
  .project-carousel { padding: 0 2.5rem; }
  .project-card {
    flex-basis: 230px;
    width: 230px;
  }
  .project-grid::before,
  .project-grid::after { flex-basis: calc(50% - 115px); }
}

.card-visual {
  height: 168px;
  aspect-ratio: auto;
  flex: 0 0 auto;
}

.card-body h3 {
  min-height: 2.5em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-body > p:first-of-type {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.carousel-btn {
  position: absolute;
  top: 40%;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
}

.project-carousel .carousel-btn:first-child { left: 0.15rem; }
#project-next { right: 0.15rem; }

.org-scroll { overflow-x: auto; min-width: 0; max-width: 100%; padding: 1.7rem 0 0.4rem; }

.org-board {
  min-width: 1100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.org-stem {
  width: 2px;
  height: 28px;
  background: #b9c3dc;
  flex: 0 0 auto;
}

.org-row {
  --org-gap: 0.75rem;
  --org-cols: 5;
  --org-line: 52px;
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(var(--org-cols), minmax(0, 1fr));
  gap: var(--org-gap);
  padding-top: var(--org-line);
}

/* Continuous bar from first report (Paulo) through last (Cynthia), meeting the CEO stem */
.org-row::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc((100% - (var(--org-cols) - 1) * var(--org-gap)) / (var(--org-cols) * 2));
  right: calc((100% - (var(--org-cols) - 1) * var(--org-gap)) / (var(--org-cols) * 2));
  height: 2px;
  background: #b9c3dc;
}

.org-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  gap: 0.15rem;
  text-align: center;
  background: var(--white);
  border: 1px solid rgba(13, 27, 69, 0.08);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(13, 27, 69, 0.08);
  padding: 2.6rem 0.7rem 0.9rem;
}

.org-row .org-card::before {
  content: "";
  position: absolute;
  top: calc(var(--org-line) * -1);
  left: calc(50% - 1px);
  width: 2px;
  height: var(--org-line);
  background: #b9c3dc;
  z-index: 0;
}

.org-card img {
  position: relative;
  z-index: 1;
  width: 84px;
  height: 84px;
  flex: 0 0 auto;
  margin-top: -4.3rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
  border: 4px solid #f5c518;
  background: var(--white);
}

.org-card.is-ceo { width: min(280px, 100%); }
.org-card.is-ceo img { width: 112px; height: 112px; }

.org-card strong {
  color: #0d1b45;
  font-size: 0.95rem;
  line-height: 1.25;
  min-height: 2.5em;
}
.org-card > span {
  color: #5c6b82;
  font-size: 0.8rem;
  line-height: 1.35;
  min-height: 4.05em;
}

.org-pill {
  margin-top: auto;
  background: #e8eefc;
  color: #0d1b45;
  border-radius: 999px;
  padding: 0.18rem 0.65rem;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
}

.org-card.is-open { background: #0d1b45; border-color: #0d1b45; }
.org-card.is-open strong,
.org-card.is-open > span { color: var(--white); }
.org-card.is-open .org-pill { background: #f5c518; color: #0d1b45; }

.org-panel {
  margin-top: 1rem;
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(13, 27, 69, 0.1);
}

.org-panel-head {
  display: flex;
  gap: 1rem;
  align-items: center;
  color: var(--white);
  padding: 1.1rem 1.1rem 1rem;
  border-bottom: 6px solid #f5c518;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    #0d1b45;
  background-size: 28px 28px, 28px 28px, auto;
}

.org-panel-head img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #f5c518;
}

.org-panel-head h3 { color: var(--white); }
.org-panel-head p { margin: 0.15rem 0 0; color: #f5c518; }

.org-close {
  margin-left: auto;
  align-self: flex-start;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 1.7rem;
  line-height: 1;
}

.org-summary { margin: 0; padding: 1rem 1.15rem 0.2rem; }

.org-panel h4 { margin: 0.8rem 1.15rem 0.45rem; color: #0d1b45; }

.dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.65rem;
  padding: 0 1.15rem 1.15rem;
}

.dept-card {
  border: 1px solid var(--line);
  border-left: 4px solid #f5c518;
  border-radius: 12px;
  padding: 0.7rem 0.75rem;
  background: var(--white);
}

.dept-card strong { display: block; color: #0d1b45; }
.dept-card span { color: #8b95a8; font-size: 0.82rem; }
.org-empty { margin: 0; padding: 0.4rem 1.15rem 1.15rem; color: var(--muted); }

.connect {
  background: #0a1743;
  position: relative;
}

.connect::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
}

.connect .container { position: relative; }
.connect h2 { color: var(--white); }
.connect .section-lead { color: #b3c0ea; }

.connect-grid { align-items: stretch; }
.connect-grid > * { min-width: 0; }

.connect-card {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
  min-width: 0;
  max-width: 100%;
  background: #12235f;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 4px solid #f5c518;
  border-radius: 18px;
  padding: 1.6rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.connect-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }

.social-head { display: flex; gap: 0.75rem; align-items: center; }
.social-head h3 { margin: 0; }
.social-head p { margin: 0; color: #b3c0ea; }

.social-mark {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--white);
  font-weight: 700;
}

.social-mark.yt { background: #e11; }
.social-mark.fb { background: #1877f2; font-family: Georgia, serif; }

.url-line a {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: normal;
  color: #b3c0ea;
}

.url-line { background: #0d1b4d; }

.thumb-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.thumb-link img { width: 100%; height: 100%; object-fit: cover; }

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 3.2rem;
  height: 3.2rem;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #e11;
  color: var(--white);
  font-size: 1.2rem;
}

.video-list { display: grid; gap: 0.45rem; }

.video-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  background: #0d1b4d;
  color: var(--white);
  text-decoration: none;
  border: 1px solid transparent;
}

.video-row span { color: #f5c518; }
.video-row:hover { border-color: #f5c518; }
.video-row.is-featured { border-left: 4px solid #f5c518; }
.video-row em { margin-left: 0; color: #f5c518; font-style: normal; font-size: 0.8rem; font-weight: 700; }

.connect-open {
  align-self: flex-start;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
}

.fb-preview {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  background: var(--white);
  color: var(--ink);
  border-radius: 14px;
  padding: 1rem;
}

.fb-preview-top { display: flex; gap: 0.7rem; align-items: center; min-width: 0; }
.fb-preview-top div { min-width: 0; }
.fb-preview-top img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; }
.fb-preview-top strong { display: block; color: #0d1b45; overflow-wrap: anywhere; }
.fb-preview-top span { color: var(--muted); font-size: 0.88rem; }
.fb-count { margin: 0; font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: #0d1b45; }
.fb-count small { display: block; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.fb-preview > p:last-of-type { margin: 0; }
.fb-follow {
  margin-top: auto;
  display: block;
  text-align: center;
  background: #1877f2;
  color: var(--white);
  text-decoration: none;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  font-weight: 700;
}

.contact { padding: 2rem 0 1.6rem; background: #f3f5fa; }
.contact .section-head { margin-bottom: 0.85rem; }
.contact .info-card { padding: 0.75rem 0.9rem; }
.contact .field { margin-bottom: 0.35rem; }
.contact-layout { gap: 0.8rem; }

.map-wrap {
  position: relative;
  margin-top: 0.85rem;
  border-radius: 16px;
  overflow: hidden;
  min-height: 360px;
}

.map-frame { margin: 0; border: 0; min-height: 360px; }
.map-frame iframe { height: 380px; }

.map-card {
  position: absolute;
  z-index: 2;
  left: 1rem;
  top: 1rem;
  width: min(300px, calc(100% - 2rem));
  background: #0d1b45;
  color: var(--white);
  border-radius: 16px;
  padding: 1rem;
}

.map-card h3,
.map-card .eyebrow { color: #f5c518; }
.map-card p { margin: 0 0 0.55rem; }
.map-card a { color: var(--white); }

.site-footer {
  background: #0d1b45;
  border-top: 4px solid #f5c518;
  padding: 2.3rem 0 0;
  padding-bottom: env(safe-area-inset-bottom);
}

.footer-grid {
  grid-template-columns: 1.4fr 1.2fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-brand img { width: 52px; height: 52px; border-radius: 10px; }
.footer-brand strong { font-size: 1.25rem; }
.site-footer p,
.site-footer a { color: #b9c6ee; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #f5c518; }
.site-footer h3 { font-size: 1.05rem; }

.footer-links { display: grid; gap: 0.35rem; }

.legal {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .connect-grid { grid-template-columns: minmax(0, 1fr); }
  .cap-tabs { grid-template-columns: 1fr 1fr; }
  .service-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .map-card { position: static; width: auto; margin-bottom: 0.6rem; }
  .map-wrap { overflow: visible; }
  .org-panel-head { flex-direction: column; text-align: center; }
  .org-close { margin-left: 0; }
  .cap-photos-portrait { grid-template-columns: 1fr; justify-content: stretch; }
}

@media (max-width: 520px) {
  .footer-grid,
  .service-list,
  .cap-tabs { grid-template-columns: 1fr; }
  .connect-grid { grid-template-columns: minmax(0, 1fr); }
  .section { padding: 1.7rem 0; }
  .section-head { margin-bottom: 0.85rem; }
  .container { width: min(1180px, calc(100% - 1.4rem)); }
  .connect-card { padding: 1.05rem; gap: 0.8rem; }
}

@media (prefers-color-scheme: dark) {
  .site-footer,
  .connect,
  .org-panel-head,
  .org-card.is-open { background-color: #08102b; }
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 80;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, #f7c92f, #4aa3e0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.why-section,
.partners-section {
  --navy: #0d1f4a;
  --blue: #2f6fbf;
  --gold: #f7c92f;
  --ink: #17304a;
  --muted: #4c5d78;
  --line: #e3e8f2;
  --white: #ffffff;
  font-family: "Nunito Sans", var(--font-body);
  background: #f4f6fb;
  color: var(--ink);
}

.why-section .panel-title,
.partners-section .section-head h2,
.why-title,
.partner-copy h3 {
  font-family: "Nunito Sans", var(--font-display);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.why-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(1.2rem, 3vw, 2.6rem);
  align-items: start;
}

.why-sticky {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.why-sticky .section-lead { max-width: 34rem; }

.why-stage {
  margin-top: 1.25rem;
  min-height: 320px;
  border-radius: 28px;
  padding: 1.35rem 1.35rem 1.05rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(247, 201, 47, 0.42), transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    #0d1f4a;
  background-size: auto, 26px 26px, 26px 26px, auto;
  box-shadow: 0 28px 60px rgba(13, 31, 74, 0.32);
}

.why-stage-ico {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  color: #f7c92f;
}

.why-stage-ico svg,
.why-ico svg { width: 28px; height: 28px; }

.why-stat {
  margin: 0.75rem 0 0;
  font-family: "Nunito Sans", var(--font-display);
  font-weight: 800;
  font-size: clamp(3.1rem, 5.4vw, 4.8rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: #fff;
  transition: opacity 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.why-caption {
  margin: 0.4rem 0 1rem;
  max-width: 18rem;
  color: rgba(255, 255, 255, 0.78);
  transition: opacity 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.why-stat.is-out,
.why-caption.is-out {
  opacity: 0;
  transform: translateY(12px);
}

.why-ticks {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.45rem;
  margin-top: auto;
}

.why-tick {
  height: 28px;
  border: 0;
  padding: 0;
  background: transparent;
  position: relative;
}

.why-tick::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 11px;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.22);
}

.why-tick.is-on::before { background: #f7c92f; }

.why-cards { display: grid; gap: 0.75rem; }

.why-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--ink);
  transition: opacity 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.35s, box-shadow 0.35s;
}

.why-card h3 { margin: 0; font-size: 1rem; line-height: 1.2; }

.why-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  border: 0;
  background: transparent;
  text-align: left;
  color: var(--navy);
  border-radius: 20px;
}

.why-title {
  flex: 1;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.15;
  color: var(--navy);
}

.why-ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex: none;
  background: #eef3fb;
  color: #0d1f4a;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.35s, color 0.35s;
}

.why-ico svg { width: 26px; height: 26px; }

.why-plus {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  position: relative;
  flex: none;
  color: var(--navy);
  transition: background 0.35s, border-color 0.35s;
}

.why-plus span {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 50%;
  height: 2px;
  background: currentColor;
  transform: translateY(-50%);
}

.why-plus span:last-child {
  transform: translateY(-50%) rotate(90deg);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.why-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.why-panel-inner { overflow: hidden; min-height: 0; }

.why-panel-inner p {
  margin: 0;
  padding: 0 1.15rem 1.15rem 4.7rem;
  max-width: 40rem;
  color: var(--muted);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.why-card.is-open {
  border-color: #f7c92f;
  box-shadow: 0 18px 40px rgba(13, 31, 74, 0.16);
}

.why-card.is-open::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: #f7c92f;
}

.why-card.is-open .why-ico {
  background: #0d1f4a;
  color: #f7c92f;
  transform: rotate(-8deg);
}

.why-card.is-open .why-plus {
  background: #f7c92f;
  border-color: #f7c92f;
  color: #0d1f4a;
}

.why-card.is-open .why-plus span:last-child { transform: translateY(-50%) rotate(0deg); }
.why-card.is-open .why-panel { grid-template-rows: 1fr; }
.why-card.is-open .why-panel-inner p { opacity: 1; transform: none; }

html.js .why-card:not(.is-in),
html.js .partner-tile:not(.is-in) {
  opacity: 0;
  transform: translateY(18px);
}

html.js .why-card.is-in,
html.js .partner-tile.is-in {
  opacity: 1;
  transform: none;
}

html.js .why-card.is-in:not(.is-settled) { transition-delay: calc(var(--d) * 90ms); }
html.js .partner-tile.is-in:not(.is-settled) { transition-delay: calc(var(--d) * 140ms); }

html.js .why-cards.is-engaged .why-card.is-in:not(.is-open) { opacity: 0.7; }

html.js .why-card.is-in.is-open {
  opacity: 1;
  transform: translateX(-8px);
}

.partner-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  align-items: stretch;
}

.partner-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  transition: opacity 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.45s, border-color 0.45s;
}

.partner-tile.is-hot {
  border-color: #f7c92f;
  box-shadow: 0 22px 50px rgba(13, 31, 74, 0.2);
  z-index: 1;
}

html.js .partner-board.is-engaged .partner-tile.is-in:not(.is-hot) {
  opacity: 0.7;
  transform: scale(0.975);
  filter: saturate(0.6);
}

html.js .partner-tile.is-in.is-hot {
  opacity: 1;
  transform: translateY(-10px);
  filter: none;
}

.partner-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0d1f4a;
}

.partner-media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(8, 16, 36, 0.72));
}

.pg-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pg-slide.is-on { opacity: 1; }

.pg-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partner-badge {
  position: absolute;
  z-index: 2;
  top: 0.85rem;
  left: 0.85rem;
  background: #f7c92f;
  color: #0d1f4a;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.32rem 0.7rem;
}

.pg-caption {
  position: absolute;
  z-index: 2;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 3.6rem;
  margin: 0;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.35;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
  transition: opacity 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.pg-caption.is-out { opacity: 0; transform: translateY(8px); }

.pg-thumbs {
  position: absolute;
  z-index: 2;
  right: 0.7rem;
  bottom: 0.7rem;
  display: flex;
  gap: 0.35rem;
}

.pg-thumbs button {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 8px;
  overflow: hidden;
  background: #0d1f4a;
}

.pg-thumbs button.is-on { border-color: #f7c92f; }
.pg-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pg-progress {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.28);
}

.pg-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: #f7c92f;
}

.partner-tile.is-playing .pg-progress i { animation: pg-fill 3.2s linear forwards; }
.partner-tile.is-playing .pg-slide.is-on img { animation: ken 3.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }

@keyframes pg-fill { from { width: 0; } to { width: 100%; } }
@keyframes ken { from { transform: scale(1); } to { transform: scale(1.08); } }

.partner-logo {
  width: 92px;
  height: 92px;
  object-fit: contain;
  background: #fff;
  border-radius: 22px;
  padding: 8px;
  margin: -46px 0 0 1.15rem;
  box-shadow: 0 12px 28px rgba(13, 31, 74, 0.18);
  transform: rotate(-8deg);
  position: relative;
  z-index: 3;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.partner-tile.is-hot .partner-logo { transform: rotate(0deg) scale(1.08); }

.partner-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0.15rem 1.2rem 1.25rem;
}

.partner-copy h3 {
  margin: 0.35rem 0 0.45rem;
  font-size: 1.35rem;
  color: var(--navy);
}

.partner-meta {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.partner-meta a { color: var(--blue); font-weight: 700; text-decoration: none; }
.partner-meta a:hover { text-decoration: underline; }
.meta-ico { color: var(--blue); display: inline-flex; flex: none; margin-top: 0.15rem; }

.partner-desc {
  margin: 0.45rem 0 0;
  max-width: 38rem;
  color: var(--muted);
}

.partner-kicker {
  margin: 0.95rem 0 0.45rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

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

.partner-chips li {
  border: 1px solid var(--line);
  background: #f3f6fb;
  color: var(--navy);
  border-radius: 999px;
  padding: 0.22rem 0.7rem;
  font-size: 0.84rem;
  font-weight: 700;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.partner-tile.is-hot .partner-chips li {
  background: #0d1f4a;
  border-color: #0d1f4a;
  color: #fff;
}

.partner-points { margin-top: auto; padding-top: 0.85rem; }

.partner-points li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin: 0 0 0.45rem;
}

.partner-points svg { flex: none; margin-top: 0.12rem; }

@media (max-width: 900px) {
  .why-layout { grid-template-columns: 1fr; }
  .why-sticky { position: static; }
  html.js .why-card.is-in.is-open { transform: none; }
}

@media (max-width: 800px) {
  .partner-board { grid-template-columns: 1fr; }
}

@media (prefers-color-scheme: dark) {
  .why-section,
  .partners-section {
    --white: #152238;
    --ink: #e7eef8;
    --muted: #b7c4da;
    --line: #2c4066;
    --navy: #f4f7fb;
    background: #0b1220;
    color: var(--ink);
  }

  .why-section .eyebrow,
  .partners-section .eyebrow { color: #8ec0f0; }

  .why-ico { background: #243656; color: #f7c92f; }
  .partner-chips li { background: #1c2c48; color: #e7eef8; }

  .partner-tile.is-hot .partner-chips li {
    background: #f7c92f;
    border-color: #f7c92f;
    color: #0d1f4a;
  }
}
