:root {
  --navy-900: #0b1524;
  --navy-800: #0f1c2e;
  --navy-700: #16273d;
  --line: rgba(255, 255, 255, 0.1);
  --text: #e8eef7;
  --muted: #93a4bb;
  --accent: #2f6bf6;
  --accent-2: #58c8ff;
  --radius: 14px;
  --maxw: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--navy-900);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1rem; }

.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }

.muted { color: var(--muted); }
.small { font-size: 0.875rem; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 0.75rem;
}

.grad {
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #041019;
  padding: 0.6rem 1rem;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 21, 36, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(11, 21, 36, 0.92);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.brand { display: inline-flex; align-items: center; gap: 0.7rem; font-size: 1.02rem; }
.brand-logo { height: 34px; width: auto; }
.brand-lg .brand-logo { height: 42px; }
.brand-divider { width: 1px; height: 22px; background: var(--line); }
.brand-region { font-weight: 600; letter-spacing: -0.01em; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { font-size: 0.94rem; color: var(--muted); transition: color 0.2s; }
.nav a:hover { color: var(--text); }
.nav a.btn { color: #041019; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.btn-sm { padding: 0.5rem 1.05rem; font-size: 0.88rem; }
.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #041019;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(47, 107, 246, 0.34); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); transform: translateY(-2px); }

/* Hero */
.hero { position: relative; padding: clamp(4rem, 10vw, 7.5rem) 0 clamp(3rem, 7vw, 5rem); overflow: hidden; }
.hero-glow {
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 620px;
  background:
    radial-gradient(50% 55% at 22% 35%, rgba(47, 107, 246, 0.32), transparent 70%),
    radial-gradient(45% 50% at 78% 25%, rgba(88, 200, 255, 0.2), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-inner { position: relative; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.hero-media { margin: 0; }
.lede { font-size: clamp(1rem, 1.6vw, 1.18rem); color: var(--muted); max-width: 62ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 2rem 0 0; }

.framed {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 24px 60px rgba(2, 8, 20, 0.55);
}
.framed img { width: 100%; height: 100%; object-fit: cover; }
.hero-media img { aspect-ratio: 4 / 3; }
.framed figcaption {
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem;
  margin-top: 1.1rem;
}
.gallery img { aspect-ratio: 3 / 2; }

.awards { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.7rem; }
.awards li { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; font-weight: 500; }
.award-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  color: #f3d27a;
  background: rgba(214, 173, 90, 0.14);
  border: 1px solid rgba(214, 173, 90, 0.4);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin: 0;
  padding-top: 2rem;
  margin-top: clamp(2.5rem, 6vw, 3.5rem);
  border-top: 1px solid var(--line);
}
.stat dt { font-size: 0.82rem; color: var(--muted); margin-bottom: 0.25rem; }
.stat dd { margin: 0; font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 800; letter-spacing: -0.03em; }
.stat .sep { color: var(--accent-2); }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--navy-800); border-block: 1px solid var(--line); }
.section-head { max-width: 60ch; margin-bottom: 2.6rem; }
.section-sub { color: var(--muted); margin: 0; }

.grid { display: grid; gap: 1.1rem; }
.cards, .teams { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.locations { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 560px; }

.card, .tile, .location {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.card:hover, .tile:hover, .location:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 107, 246, 0.55);
}
.card p, .tile p, .location p:last-child { color: var(--muted); margin: 0; }
.card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--accent-2);
  background: rgba(47, 107, 246, 0.14);
  border: 1px solid rgba(88, 200, 255, 0.24);
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split-copy p { color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: 0.7rem; }
.checklist li { position: relative; padding-left: 1.9rem; color: var(--muted); }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.split-visual { display: grid; place-items: center; }
.orbit {
  position: relative;
  width: min(320px, 80vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 50%, rgba(47, 107, 246, 0.18), transparent 65%);
  animation: spin 26s linear infinite;
}
.orbit::before, .orbit::after {
  content: "";
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.orbit::before { inset: 14%; }
.orbit::after { inset: 30%; }
.orbit-core {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: #041019;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  animation: spin 26s linear infinite reverse;
}
.orbit-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 14px rgba(88, 200, 255, 0.7);
}
.d1 { top: -6px; left: 50%; }
.d2 { bottom: 12%; left: 4%; background: var(--accent); box-shadow: 0 0 14px rgba(47, 107, 246, 0.75); }
.d3 { bottom: 18%; right: 6%; }

@keyframes spin { to { transform: rotate(360deg); } }

/* Contact */
.cta-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  padding: clamp(1.8rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(140deg, rgba(47, 107, 246, 0.16), rgba(88, 200, 255, 0.07));
}
.cta-copy p { color: var(--muted); margin: 0; }

.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit;
  color: var(--text);
  background: rgba(4, 16, 25, 0.55);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(47, 107, 246, 0.22);
  outline: none;
}
.field option { color: #0b1524; }
.error { color: #ff8a8a; font-size: 0.8rem; margin: 0; min-height: 1em; }
.form-actions { flex-direction: row; align-items: center; gap: 1rem; flex-wrap: wrap; }
.form-status { margin: 0; font-size: 0.88rem; color: var(--accent-2); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--navy-800); padding: 2.5rem 0 1.5rem; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.3rem; }
.footer-nav a { color: var(--muted); font-size: 0.92rem; }
.footer-nav a:hover { color: var(--text); }
.footer-bottom { margin-top: 1.8rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.footer-bottom p { margin: 0; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .split, .cta-inner, .hero-inner { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .brand-logo { height: 28px; }
  .nav {
    position: absolute;
    inset: 68px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1.25rem;
    background: rgba(11, 21, 36, 0.98);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .nav a.btn { margin-top: 0.9rem; border-bottom: 0; align-self: flex-start; }
  .contact-form { grid-template-columns: 1fr; }
}

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