* {
  box-sizing: border-box;
  font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  padding: 0;
}

body {
  background-color: #242628;
  color: #ffffff;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: rgba(26, 28, 30, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(246, 130, 31, 0.15);
  animation: rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.nav-inner {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
}

.nav-brand:hover {
  color: #ff9e40;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: #c7ccd1;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #ff9e40;
}

.content section {
  scroll-margin-top: 76px;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 88vh;
  padding: 120px 24px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 55% 40% at 50% 30%,
    rgba(246, 130, 31, 0.12),
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(36, 38, 40, 0) 55%,
    #1d1f21 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-map {
  position: absolute;
  top: 56px;
  left: 0;
  width: 100%;
  aspect-ratio: 1050 / 350;
  background-image: url(assets/world.svg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.marker {
  position: absolute;
  width: 10px;
  height: 10px;
  transform: translate(-50%, -50%);
}

.marker::before,
.marker::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.marker::before {
  background: #ff9e40;
  box-shadow: 0 0 10px rgba(255, 158, 64, 0.9);
}

.marker::after {
  border: 2px solid #ff9e40;
  animation: ping 2.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.marker:nth-child(2)::after { animation-delay: 0.3s; }
.marker:nth-child(3)::after { animation-delay: 0.6s; }
.marker:nth-child(4)::after { animation-delay: 0.9s; }
.marker:nth-child(5)::after { animation-delay: 1.2s; }
.marker:nth-child(6)::after { animation-delay: 1.5s; }
.marker:nth-child(7)::after { animation-delay: 1.8s; }
.marker:nth-child(8)::after { animation-delay: 2.1s; }

@keyframes ping {
  from {
    transform: scale(0.6);
    opacity: 1;
  }
  to {
    transform: scale(4);
    opacity: 0;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-inner > * {
  animation: rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-inner > *:nth-child(1) { animation-delay: 0.05s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.15s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.25s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.35s; }

.platforms {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  animation: rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

.platforms img {
  width: 36px;
  height: 36px;
  filter: invert(1) opacity(0.85);
}

.wordmark {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ffffff;
  line-height: 1.1;
  text-transform: uppercase;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

.logo {
  display: none;
}

.tagline {
  margin-top: 24px;
  font-size: 24px;
  font-weight: 500;
  color: #ff9e40;
  line-height: 1.4;
}

.hero-sub {
  margin-top: 20px;
  font-size: 18px;
  color: #c7ccd1;
}

/* Sections */
.content section {
  padding: 72px 0;
}

.content section:nth-child(odd) {
  background-color: #1d1f21;
}

.content h2 {
  font-size: 28px;
  font-weight: 600;
  color: #ff9e40;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.content p {
  color: #c7ccd1;
  font-size: 17px;
}

/* About */
.about p {
  max-width: 1080px;
  margin-bottom: 16px;
}

.about h3 {
  font-size: 20px;
  color: #ffffff;
  margin: 28px 0 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Capabilities */
.caps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 12px;
}

.cap {
  background: #2b2e31;
  border-left: 4px solid #f6821f;
  border-radius: 6px;
  padding: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cap:hover {
  transform: translateY(-4px);
  border-left-color: #ff9e40;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(246, 130, 31, 0.15);
}

.cap h3 {
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cap p {
  font-size: 15px;
  color: #c7ccd1;
}

/* Offices */
.office-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 12px;
}

.office {
  background: #2b2e31;
  border-radius: 6px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.office:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(246, 130, 31, 0.15);
}

.office h3 {
  font-size: 16px;
  color: #ff9e40;
  margin-bottom: 6px;
}

.office .entity {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
}

.office .addr {
  font-size: 13px;
  color: #9aa0a6;
  flex-grow: 1;
}

.office .phone {
  margin-top: 12px;
}

.office .phone a {
  color: #f6821f;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.office .phone a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  padding: 32px 0;
  background-color: #1d1f21;
  text-align: center;
  font-size: 14px;
  color: #9aa0a6;
}

.footer-contact {
  margin-bottom: 8px;
}

.footer-contact a {
  color: #f6821f;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

/* Scroll reveal */
.reveal {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
}

html.js .reveal.visible {
  opacity: 1;
  transform: none;
}

.caps-grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.caps-grid .reveal:nth-child(2) { transition-delay: 0.15s; }
.caps-grid .reveal:nth-child(3) { transition-delay: 0.25s; }

.office-grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.office-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.office-grid .reveal:nth-child(3) { transition-delay: 0.15s; }
.office-grid .reveal:nth-child(4) { transition-delay: 0.2s; }
.office-grid .reveal:nth-child(5) { transition-delay: 0.25s; }
.office-grid .reveal:nth-child(6) { transition-delay: 0.3s; }
.office-grid .reveal:nth-child(7) { transition-delay: 0.35s; }
.office-grid .reveal:nth-child(8) { transition-delay: 0.4s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .nav,
  .hero-inner > *,
  .platforms {
    animation: none;
  }

  .marker::after {
    animation: none;
    opacity: 0.5;
  }

  .reveal,
  .cap,
  .office {
    transition: none;
  }

  html.js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Responsive */
@media screen and (max-width: 1024px) {
  .office-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .wordmark {
    font-size: 40px;
  }

  .tagline {
    font-size: 20px;
  }

  .hero-sub {
    font-size: 16px;
  }

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

@media screen and (max-width: 600px) {
  .hero-map {
    top: 50px;
  }

  .nav-inner {
    height: 50px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 12px;
    letter-spacing: 0;
  }

  .nav-brand {
    font-size: 13px;
    letter-spacing: 1px;
  }

  .wordmark {
    font-size: 32px;
  }

  .content section {
    padding: 48px 0;
  }

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