/* ---------- Tokens ---------- */
:root {
  --ink: #0e1526;
  --navy-900: #0b1120;
  --navy-800: #131c30;
  --navy-700: #1c2740;
  --navy-600: #2b3958;
  --paper: #f6f7fa;
  --paper-dim: #eceef3;
  --white: #ffffff;
  --line: #dde1ea;
  --muted: #5b6472;
  --accent: #b8933f;
  --accent-light: #d9b874;
  --focus: #3f6fd6;

  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --container: 1140px;
  --radius: 10px;
  --shadow: 0 20px 45px -25px rgba(11, 17, 32, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-900);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--muted); }

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

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

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy-900);
  color: var(--white);
  padding: 12px 18px;
  z-index: 100;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: var(--navy-900);
}
.btn-primary:hover { background: var(--accent-light); }

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

.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 17, 32, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-mark { color: var(--white); }
.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  color: var(--white);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.primary-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.primary-nav a:hover {
  color: var(--white);
  border-color: var(--accent);
}
.primary-nav a.nav-cta {
  color: var(--navy-900);
  background: var(--accent);
  padding: 9px 18px;
  border-radius: 999px;
  border-bottom: none;
}
.primary-nav a.nav-cta:hover { background: var(--accent-light); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--white);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 140% at 15% 0%, var(--navy-700) 0%, var(--navy-900) 55%, var(--navy-900) 100%);
  padding: 120px 0 100px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  opacity: 0.18;
  pointer-events: none;
}
.hero-orbit {
  width: 720px;
  height: 720px;
  color: var(--accent-light);
  transform: translateX(22%);
}
.hero-inner { position: relative; max-width: 720px; }

.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 14px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin-bottom: 22px;
}

.hero-lede {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  max-width: 620px;
  margin-bottom: 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--navy-800);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px 24px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-align: center;
}
.trust-inner .dot { color: var(--accent); }

/* ---------- Section shared ---------- */
section { padding: 96px 0; }

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-lede { color: var(--muted); font-size: 1.02rem; }

/* ---------- Services ---------- */
.services { background: var(--paper); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--navy-900);
  color: var(--accent-light);
  margin-bottom: 22px;
}
.service-icon svg { width: 28px; height: 28px; }

.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { margin-bottom: 16px; }

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.92rem;
  color: var(--navy-700);
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- About ---------- */
.about { background: var(--navy-900); }
.about-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
}
.about h2 { color: var(--white); }
.about-copy p { color: rgba(255, 255, 255, 0.75); }

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.about-pillars h4 {
  color: var(--accent-light);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}
.about-pillars p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0;
}

.about-visual { display: flex; justify-content: center; }
.orbit-frame {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.orbit-frame::before {
  content: "";
  position: absolute;
  inset: -34px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
}
.orbit-frame img {
  width: 60px;
  filter: invert(1) brightness(1.4);
}

/* ---------- Sectors ---------- */
.sectors { background: var(--paper-dim); }
.sector-grid { grid-template-columns: repeat(3, 1fr); }
.sector-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
}
.sector-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.sector-card p { margin-bottom: 0; font-size: 0.94rem; }

/* ---------- Contact ---------- */
.contact { background: var(--paper); }
.contact-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}
.contact-copy p { max-width: 420px; }

.contact-details {
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-details dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-details dd {
  margin: 0;
  color: var(--navy-800);
  font-weight: 500;
}
.contact-details a { text-decoration: underline; text-decoration-color: var(--line); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 6px;
}
.form-row .optional { font-weight: 400; color: var(--muted); }

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--focus);
  background: var(--white);
}

.form-status {
  margin: 14px 0 0;
  font-size: 0.9rem;
  color: var(--navy-800);
  min-height: 1.2em;
}
.form-status.is-success { color: #1f7a4c; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-nav { display: flex; gap: 24px; }
.footer-nav a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
}
.footer-nav a:hover { color: var(--white); }
.footer-note {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  width: 100%;
  text-align: center;
  order: 3;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .primary-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--navy-900);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .primary-nav.is-open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }
  .primary-nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .primary-nav a.nav-cta { margin-top: 10px; text-align: center; }
  .nav-toggle { display: flex; }

  .card-grid { grid-template-columns: 1fr; }
  .sector-grid { grid-template-columns: 1fr; }
  .about-pillars { grid-template-columns: 1fr; }
  section { padding: 72px 0; }
  .hero { padding: 100px 0 72px; }
}
