:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #111111;
  --text-soft: #444444;
  --line: #e7e7e7;
  --brand: #1a73e8;
  --brand-hover: #125dc0;
  --radius-xl: 14px;
  --radius-md: 10px;
  --shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid #ededed;
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand img {
  width: 120px;
  height: auto;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

nav a {
  text-decoration: none;
  color: #333333;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  transition: all 0.18s ease;
}

nav a:hover {
  background: #f2f2f2;
  color: #111111;
}

nav a[aria-current="page"] {
  background: #f2f6ff;
  color: var(--brand);
}

.hero {
  color: #fff;
  margin-top: 0.9rem;
  border-radius: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #0b4fa3, #083a78);
}

.hero-content {
  max-width: 840px;
  padding: 6.2rem 3rem;
}

.hero-home {
  margin-top: 0;
}

.hero-shell {
  padding: 1.8rem 0 2.3rem;
}

.hero-top {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.hero-mini-logo {
  width: 200px;
  height: 200px;
}

.hero-menu {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: #ffffff;
  font-size: 2.05rem;
  line-height: 1;
}

.site-header .hero-menu {
  color: #1b1b1b;
  font-size: 1.7rem;
}

.hero-menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 60;
  width: min(320px, 86vw);
  height: 100vh;
  background: rgba(9, 27, 46, 0.98);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding: 5rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transform: translateX(100%);
  transition: transform 220ms ease;
  pointer-events: none;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
}

.hero-menu-panel.is-open {
  transform: translateX(0);
  pointer-events: auto;
}

body.menu-open {
  overflow: hidden;
}

.hero-menu-panel a {
  color: #ffffff;
  text-decoration: none;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  font-weight: 600;
}

.hero-menu-panel a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.menu-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.hero-main {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy h1,
.hero-copy p,
.hero-copy .btn {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 700ms ease forwards;
}

.hero-copy p {
  animation-delay: 120ms;
}

.hero-copy .btn {
  animation-delay: 220ms;
}

.hero-copy h1 {
  max-width: 13ch;
  font-size: clamp(2rem, 4.3vw, 4rem);
}

.hero-brand {
  justify-self: end;
  width: min(100%, 560px);
  background: rgba(29, 35, 61, 0.92);
  padding: 1.8rem;
  border-radius: 2px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.25);
  animation: softZoom 700ms ease 120ms both;
}

.hero-brand img {
  width: 100%;
  filter: brightness(1.05);
}

.page-hero .hero-content {
  padding: 4.6rem 2.6rem;
}

.eyebrow {
  display: inline-block;
  border-radius: 999px;
  padding: 0.32rem 0.78rem;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

h1 {
  margin: 1rem 0;
  line-height: 1.1;
  font-size: clamp(2rem, 4vw, 3.8rem);
  letter-spacing: -0.02em;
}

.hero p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 62ch;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  text-decoration: none;
  background: var(--brand);
  color: #ffffff;
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
  font-size: 0.94rem;
  font-weight: 600;
  transition: background 0.18s ease, transform 0.18s ease;
}

.btn:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
}

.section {
  padding: 4.2rem 0;
}

.section-tight {
  padding-top: 0;
  padding-bottom: 1.2rem;
}

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

h2 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  letter-spacing: -0.02em;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  text-transform: uppercase;
}

.section p {
  color: var(--text-soft);
  line-height: 1.7;
}

.partner-card,
.quick-card,
.split > div:first-child,
.cta .container {
  background: var(--surface);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.split > div:first-child {
  padding: 1.8rem;
}

.partner-card {
  padding: 1.2rem;
}

.support-card-gray {
  background: #f1f1f1;
}

.partner-card img {
  width: min(100%, 280px);
  margin: 0 auto;
  border-radius: 0;
  transition: transform 280ms ease;
}

.partner-card:hover img {
  transform: scale(1.03);
}

.card-caption {
  text-align: center;
  margin: 0.8rem 0 0;
  color: #6d6d72;
  font-weight: 500;
}

.top-banner {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.second-photo {
  margin-top: 0.9rem;
  border-radius: var(--radius-md);
}

.alt {
  background: #f1f1f1;
}

.section-intro {
  max-width: 70ch;
}

.quick-links {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.quick-card {
  display: block;
  text-decoration: none;
  padding: 1.2rem;
  transition: transform 0.18s ease;
}

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

.quick-card h3 {
  margin: 0 0 0.45rem;
  color: var(--text);
}

.quick-card p {
  margin: 0;
  color: var(--text-soft);
}

.team-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem 1rem;
}

.member {
  overflow: visible;
  background: transparent;
  box-shadow: none;
  border: 0;
}

.member img {
  width: 100%;
  height: 310px;
  object-fit: contain;
  transition: transform 260ms ease;
}

.member:hover img {
  transform: translateY(-4px);
}

.member h3 {
  margin: 0.8rem 0 0.3rem;
  color: #102840;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.member p {
  margin: 0;
  color: #555;
  font-size: 1.2rem;
}

.section-actions {
  margin-top: 1.5rem;
}

.cta {
  text-align: center;
}

.cta-home {
  text-align: left;
  background: linear-gradient(rgba(10, 33, 56, 0.72), rgba(10, 33, 56, 0.72)), url("assets/images/hero-bg.jpeg") center / cover no-repeat;
}

.cta-home-inner {
  padding: 3rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.cta-home-inner img {
  width: 100%;
  max-width: 560px;
}

.cta-copy {
  color: #ffffff;
  background: rgba(18, 72, 145, 0.9);
  padding: 1.5rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.cta-home .cta-copy h2,
.cta-home .cta-copy p {
  color: #ffffff;
}

.cta p {
  max-width: 56ch;
  margin: 0;
  color: #fff;
}

.btn-light {
  background: #1f6ed8;
  color: #fff;
  border: 0;
}

.btn-light:hover {
  background: #185ab3;
}

.site-footer {
  padding: 2.6rem 0 2.6rem;
  text-align: center;
  color: var(--text-soft);
  background: #efefef;
}

.site-footer p {
  margin: 0.34rem 0;
}

.site-footer a {
  color: var(--brand);
  text-decoration: none;
}

.footer-socials {
  display: inline-flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  font-weight: 700;
}

.footer-title a {
  font-size: clamp(2rem, 3.3vw, 3.4rem);
  color: #0f2a44;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.copyright {
  font-size: 0.9rem;
  margin-top: 0.8rem;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

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

@keyframes softZoom {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

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

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

  .hero-main,
  .cta-home-inner {
    grid-template-columns: 1fr;
  }

  .hero-brand {
    justify-self: start;
  }

  .quick-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .hero-content {
    padding: 0;
  }

  .page-hero .hero-content {
    padding: 3.6rem 1.5rem;
  }

  nav a {
    font-size: 0.84rem;
    padding: 0.38rem 0.68rem;
  }

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

  .member img {
    height: 260px;
  }
}
