:root {
  --ink: #12203A;
  --ink-deep: #0B1526;
  --ink-soft: #1A2D4D;
  --muted: #6B7385;
  --muted-light: #AEB6C2;
  --line: #E4E7EE;
  --surface: #F4F5F7;
  --white: #FFFFFF;
  --font: "Outfit", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.wrap {
  width: min(1100px, calc(100% - 2rem));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.55);
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(11, 21, 38, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--white);
}

.brand img {
  filter: brightness(0) invert(1);
}

.brand span {
  font-size: 0.88rem;
  letter-spacing: 0.38em;
  font-weight: 500;
  padding-left: 0.12em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.15s ease;
}

.nav a:hover {
  color: var(--white);
}

.nav-cta {
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white) !important;
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* Hero */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 7rem 0 5rem;
  background:
    radial-gradient(ellipse 90% 70% at 50% -10%, rgba(255, 255, 255, 0.06), transparent 55%),
    linear-gradient(165deg, var(--ink-deep) 0%, var(--ink) 48%, var(--ink-soft) 100%);
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orbit {
  position: absolute;
  color: rgba(255, 255, 255, 0.06);
}

.hero-orbit--a {
  width: min(520px, 80vw);
  right: -12%;
  top: 10%;
  animation: orbit-drift 22s ease-in-out infinite;
}

.hero-orbit--b {
  width: min(380px, 60vw);
  left: -8%;
  bottom: 8%;
  animation: orbit-drift 28s ease-in-out infinite reverse;
}

@keyframes orbit-drift {
  0%,
  100% {
    transform: rotate(0deg) translateY(0);
  }
  50% {
    transform: rotate(10deg) translateY(16px);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
}

.hero-mark {
  width: 80px;
  margin: 0 auto 1.5rem;
  color: var(--white);
  animation: fade-up 0.8s ease both;
}

.hero-mark svg {
  width: 100%;
  height: auto;
  display: block;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 10vw, 4.8rem);
  font-weight: 500;
  letter-spacing: 0.32em;
  padding-left: 0.32em;
  line-height: 1;
  animation: fade-up 0.8s ease 0.08s both;
}

.hero-rule {
  width: 2.5rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
  margin: 1.35rem auto 1.25rem;
  animation: draw 0.9s ease 0.16s both;
}

.hero-loc {
  margin: 0 0 1.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-light);
  animation: fade-up 0.8s ease 0.2s both;
}

@keyframes draw {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-lead {
  margin: 0 auto;
  max-width: 32rem;
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.72);
  animation: fade-up 0.8s ease 0.22s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2.25rem;
  animation: fade-up 0.8s ease 0.3s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.35rem;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 400;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-light {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.btn-light:hover {
  background: var(--surface);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
}

/* Intro */

.intro {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
  align-items: end;
}

.intro-grid h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.intro-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.intro-text {
  margin: 0;
  font-size: 1.02rem;
  color: var(--muted);
}

.intro-text--secondary {
  font-size: 0.96rem;
  color: var(--muted-light);
}

/* Sections */

.section {
  padding: 5rem 0;
}

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

.section-head--center {
  text-align: center;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.section-head .lead {
  margin: 0.85rem auto 0;
  max-width: 36rem;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
}

.mission {
  background: var(--surface);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.mission-grid--four {
  grid-template-columns: repeat(2, 1fr);
}

.mission-item {
  padding: 1.75rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.mission-num {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--muted-light);
}

.mission-item h3 {
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
  font-weight: 500;
}

.mission-item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
  font-weight: 300;
}

/* Contact */

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

.contact-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: center;
}

.contact-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 500;
}

.contact-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.98rem;
  line-height: 1.7;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: min(100%, 280px);
}

/* Footer */

.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.footer-brand span {
  letter-spacing: 0.32em;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  padding-left: 0.1em;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
}

.site-footer p {
  margin: 0;
}

/* Responsive */

@media (max-width: 900px) {
  .mission-grid,
  .mission-grid--four {
    grid-template-columns: 1fr;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: 72px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    background: rgba(11, 21, 38, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.9rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav a:last-child {
    border-bottom: none;
    margin-top: 0.5rem;
    text-align: center;
  }

  body.nav-open {
    overflow: hidden;
  }

  .hero {
    min-height: auto;
    padding: 6.5rem 0 4rem;
  }

  .section {
    padding: 3.5rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-orbit,
  .hero-mark,
  .hero h1,
  .hero-rule,
  .hero-lead,
  .hero-actions {
    animation: none;
  }

}
