:root {
  --bg: #05080d;
  --bg-soft: #0b1220;
  --panel: rgba(10, 18, 31, 0.82);
  --panel-strong: rgba(7, 12, 20, 0.92);
  --line: rgba(160, 174, 192, 0.2);
  --line-strong: rgba(160, 174, 192, 0.4);
  --text: #e8edf5;
  --muted: #a8b3c5;
  --accent: #b9c5d6;
  --accent-dark: #7e8ea5;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  --radius: 22px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(88, 28, 135, 0.08), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(148, 163, 184, 0.08), transparent 25%),
    linear-gradient(180deg, #020406 0%, #05080d 40%, #08111c 100%);
  color: var(--text);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-shell { overflow: hidden; }
.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  background: rgba(3, 7, 12, 0.72);
  border-bottom: 1px solid rgba(160, 174, 192, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}
.brand-logo {
  width: 62px;
  height: auto;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
}
.brand-tag {
  font-size: 0.73rem;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.22em;
}

.nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.nav a {
  font-size: 0.93rem;
  color: var(--muted);
  transition: color .2s ease;
}
.nav a:hover { color: var(--text); }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  padding: 0;
  place-items: center;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 4px auto;
}

.hero {
  padding: 5.5rem 0 4rem;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(160, 174, 192, 0.04) 50%, transparent 100%),
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent 35%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}
.eyebrow,
.section-kicker {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  margin: 0 0 1rem;
}
.hero h1,
.section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: 0.95;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}
.section h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}
.hero-subhead {
  font-size: 1.18rem;
  color: var(--text);
  max-width: 42rem;
  margin-bottom: 1rem;
}
.hero-detail,
.section-intro,
.section p,
.card p,
.contact-form span,
.footer p {
  color: var(--muted);
  line-height: 1.75;
}
.lead {
  font-size: 1.1rem;
  color: var(--text);
}
.hero-actions,
.briefs-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, #bcc6d5 0%, #8b99ad 100%);
  color: #050505;
  box-shadow: 0 15px 40px rgba(185, 197, 214, 0.18);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}

.hero-panel {
  position: relative;
}
.hero-panel-inner,
.card,
.briefs-panel,
.contact-card,
.map-frame {
  background: linear-gradient(180deg, rgba(12, 20, 33, 0.82) 0%, rgba(5, 10, 18, 0.96) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-panel-inner {
  padding: 2rem;
  min-height: 490px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.hero-panel-inner::before,
.map-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(160, 174, 192, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 174, 192, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.85), transparent);
  pointer-events: none;
}
.hero-logo {
  width: min(280px, 70%);
  margin-inline: auto;
  filter: drop-shadow(0 14px 28px rgba(0,0,0,.5));
}
.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  position: relative;
  z-index: 1;
}
.signal-grid span {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  padding: 0.9rem 1rem;
  border-radius: 14px;
  color: var(--accent);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section {
  padding: 5rem 0;
}
.section-alt {
  background: linear-gradient(180deg, rgba(8, 14, 24, 0.65), rgba(4, 7, 12, 0.35));
  border-top: 1px solid rgba(160, 174, 192, 0.06);
  border-bottom: 1px solid rgba(160, 174, 192, 0.06);
}
.two-col,
.focus-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: start;
}
.section-head {
  margin-bottom: 2rem;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.card {
  padding: 1.6rem;
}
.card-index {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.14em;
}
.card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  margin: 0 0 0.8rem;
}

.focus-map .map-frame {
  min-height: 440px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 30%, rgba(65, 105, 225, 0.18), transparent 25%),
    radial-gradient(circle at 60% 60%, rgba(148, 163, 184, 0.1), transparent 22%),
    linear-gradient(180deg, #08111c 0%, #05080d 100%);
}
.map-overlay {
  position: absolute;
  border: 1px solid rgba(185, 197, 214, 0.18);
  border-radius: 999px;
}
.map-overlay-1 {
  width: 280px;
  height: 280px;
  left: 18%;
  top: 10%;
}
.map-overlay-2 {
  width: 360px;
  height: 360px;
  right: -5%;
  bottom: -8%;
}
.map-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d6dee9;
  box-shadow: 0 0 0 10px rgba(214, 222, 233, 0.08);
}
.dot-1 { top: 21%; left: 30%; }
.dot-2 { top: 38%; left: 42%; }
.dot-3 { top: 57%; left: 54%; }
.dot-4 { top: 72%; left: 48%; }
.map-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(185, 197, 214, 0.1) 45%, transparent 100%);
  transform: translateY(-100%);
  animation: scan 6s linear infinite;
}
@keyframes scan {
  to { transform: translateY(100%); }
}
.map-label {
  position: absolute;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.map-label-1 { top: 12%; left: 8%; }
.map-label-2 { top: 46%; left: 10%; }
.map-label-3 { bottom: 12%; right: 8%; }

.briefs-panel,
.contact-card {
  padding: 1.8rem;
  gap: 1.5rem;
  justify-content: space-between;
}
.briefs-state {
  font-size: 1rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-top: 0;
}
.contact-form {
  display: grid;
  gap: 1rem;
}
.contact-form label {
  display: block;
}
.contact-form span {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(160, 174, 192, 0.3);
  color: var(--text);
  padding: 0.95rem 1rem;
  border-radius: 16px;
  outline: none;
  font: inherit;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(185, 197, 214, 0.8);
  box-shadow: 0 0 0 4px rgba(185, 197, 214, 0.08);
}
.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}
.btn-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.footer {
  border-top: 1px solid rgba(160, 174, 192, 0.08);
  background: rgba(4, 8, 12, 0.8);
}
.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 0;
}
.footer a { color: var(--accent); }

@media (max-width: 960px) {
  .hero-grid,
  .two-col,
  .focus-grid,
  .contact-grid,
  .cards {
    grid-template-columns: 1fr;
  }

  .hero-panel-inner,
  .focus-map .map-frame {
    min-height: 360px;
  }
}

@media (max-width: 760px) {
  .menu-toggle { display: grid; }
  .nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(5, 10, 18, 0.96);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(160, 174, 192, 0.08);
  }
  .nav a:last-child { border-bottom: 0; }
  .brand-name { font-size: 1.25rem; }
  .brand-tag { font-size: 0.66rem; }
  .footer-wrap,
  .briefs-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}
