:root {
  --bg: #070809;
  --panel: #101215;
  --panel-2: #15181d;
  --text: #f7f5ed;
  --muted: #a8a392;
  --line: rgba(255, 255, 255, 0.12);
  --yellow: #ffd84d;
  --yellow-soft: rgba(255, 216, 77, 0.16);
  --white-soft: rgba(255, 255, 255, 0.08);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 216, 77, 0.13), transparent 28rem),
    linear-gradient(135deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    var(--bg);
  background-size: auto, 42px 42px, auto;
}

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

.site-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}

.side-rail {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 34px 26px;
  border-right: 1px solid var(--line);
  background: rgba(7, 8, 9, 0.78);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 5;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid var(--yellow);
  background: var(--yellow-soft);
  color: var(--yellow);
  border-radius: 18px;
  font-family: 'IBM Plex Mono', monospace;
}

.side-nav {
  display: grid;
  gap: 10px;
  margin: 70px 0 auto;
}

.side-nav a {
  padding: 13px 16px;
  border: 1px solid transparent;
  color: var(--muted);
  border-radius: 999px;
  transition: 180ms ease;
}

.side-nav a:hover,
.side-nav a.active {
  color: var(--text);
  border-color: var(--line);
  background: var(--white-soft);
}

.rail-note {
  color: var(--muted);
  font-size: 13px;
  font-family: 'IBM Plex Mono', monospace;
  display: flex;
  gap: 10px;
  align-items: center;
}

.pulse {
  width: 10px;
  height: 10px;
  background: var(--yellow);
  border-radius: 50%;
  box-shadow: 0 0 0 8px var(--yellow-soft);
}

main { padding: 38px; overflow: hidden; }

.hero {
  min-height: calc(100vh - 76px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.015));
  box-shadow: var(--shadow);
  padding: clamp(30px, 5vw, 76px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 42px;
  position: relative;
}

.grid-orbit::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(circle at 70% 50%, black, transparent 72%);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--yellow);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 880px;
  font-size: clamp(46px, 7vw, 96px);
  line-height: 0.93;
  letter-spacing: -0.075em;
  margin-bottom: 28px;
}

h2 {
  font-size: clamp(30px, 4vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  margin-bottom: 20px;
}

h3 { font-size: 24px; letter-spacing: -0.035em; }

.hero-text,
.statement-card p,
.contact-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.contact-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  padding-left: 14px;
  border-left: 2px solid var(--yellow);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid var(--line);
}

.btn.primary {
  background: var(--yellow);
  color: #111;
  border-color: var(--yellow);
}

.btn.ghost { color: var(--text); background: var(--white-soft); }
.btn.full { width: 100%; margin-top: 18px; }

.network-card {
  min-height: 520px;
  position: relative;
  border-radius: 32px;
  background: radial-gradient(circle, rgba(255,216,77,0.08), transparent 64%), var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
}

.network-card svg {
  position: absolute;
  inset: 6%;
  width: 88%;
  height: 88%;
}

.network-card path {
  fill: none;
  stroke: rgba(255, 216, 77, 0.58);
  stroke-width: 1.4;
  stroke-dasharray: 9 10;
  animation: dash 10s linear infinite;
}

@keyframes dash { to { stroke-dashoffset: -190; } }

.node {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--yellow);
  border: 5px solid #383011;
  border-radius: 50%;
  box-shadow: 0 0 28px rgba(255,216,77,0.7);
  z-index: 2;
}

.n1 { top: 16%; left: 16%; }
.n2 { top: 10%; left: 49%; }
.n3 { top: 25%; right: 16%; }
.n4 { bottom: 29%; right: 27%; }
.n5 { bottom: 16%; left: 31%; }
.n6 { top: 50%; left: 50%; }

.metric {
  position: absolute;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(7,8,9,0.75);
  backdrop-filter: blur(10px);
}

.metric strong { display: block; font-size: 34px; color: var(--yellow); }
.metric span { color: var(--muted); font-family: 'IBM Plex Mono', monospace; font-size: 12px; }
.metric.one { left: 24px; bottom: 28px; }
.metric.two { right: 24px; top: 28px; }

.split-section,
.cta-band,
.page-header,
.quote-panel,
.map-abstract {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: clamp(28px, 4vw, 54px);
  background: rgba(255,255,255,0.045);
}

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 40px;
  align-items: end;
}

.statement-card {
  border-left: 3px solid var(--yellow);
  padding-left: 26px;
}

.capability-mosaic {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.capability-mosaic article {
  min-height: 240px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.capability-mosaic article:nth-child(1),
.capability-mosaic article:nth-child(4) { grid-column: span 3; }
.capability-mosaic article:nth-child(2),
.capability-mosaic article:nth-child(3),
.capability-mosaic article:nth-child(5) { grid-column: span 2; }

.capability-mosaic span,
.service-index {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--yellow);
}

.capability-mosaic p,
.service-card p,
.timeline-board p,
.contact-card dd { color: var(--muted); line-height: 1.6; }

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.page-header h1 { font-size: clamp(44px, 6vw, 82px); }
.page-header.diagonal { background: linear-gradient(118deg, rgba(255,216,77,0.12), rgba(255,255,255,0.04) 46%, rgba(255,255,255,0.015)); }
.page-header.narrow h1 { max-width: 760px; }

.service-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(280px, auto);
  gap: 18px;
}

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

.service-card.tall { grid-row: span 2; }
.service-card.wide { grid-column: span 2; }
.service-card.accent { background: var(--yellow); color: #101010; }
.service-card.accent p,
.service-card.accent .service-index { color: rgba(0,0,0,0.68); }

.service-card ul {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  font-family: 'IBM Plex Mono', monospace;
  color: var(--muted);
  font-size: 13px;
}

.service-card.accent ul { color: rgba(0,0,0,0.72); }
.service-card li::before { content: '↳ '; color: var(--yellow); }
.service-card.accent li::before { color: #101010; }

.timeline-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.timeline-board::before {
  content: '';
  position: absolute;
  top: 38px;
  left: 4%;
  right: 4%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
}

.timeline-board article {
  min-height: 300px;
  padding: 26px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: rgba(16,18,21,0.9);
  position: relative;
}

.line-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--yellow);
  display: block;
  margin-bottom: 45px;
  box-shadow: 0 0 0 9px var(--yellow-soft);
}

.timeline-board small {
  color: var(--yellow);
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
}

.quote-panel p {
  font-size: clamp(26px, 4vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.05em;
  margin: 0;
}

.contact-layout {
  min-height: 560px;
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  gap: 38px;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 32px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.contact-card dt {
  color: var(--yellow);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 22px;
}

.contact-card dd { margin: 8px 0 0; }

.map-abstract {
  min-height: 280px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 48% 52%, var(--yellow-soft), transparent 10rem),
    var(--panel);
}

.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 38px 38px;
  transform: rotate(-4deg) scale(1.15);
}

.pin-card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 16px 20px;
  border-radius: 999px;
  background: #070809;
  border: 1px solid var(--yellow);
  font-family: 'IBM Plex Mono', monospace;
}

.pin-card span {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  background: var(--yellow);
  border-radius: 50%;
}

@media (max-width: 1680px) {
  .timeline-board { grid-template-columns: repeat(2, 1fr); }
  .timeline-board::before { display: none; }
}

@media (max-width: 980px) {
  .site-shell { grid-template-columns: 1fr; }
  .side-rail {
    position: relative;
    height: auto;
    padding: 20px;
    flex-direction: row;
    align-items: center;
    gap: 18px;
  }
  .side-nav { display: flex; flex-wrap: wrap; margin: 0; }
  .rail-note { display: none; }
  main { padding: 20px; }
  .hero,
  .split-section,
  .contact-layout { grid-template-columns: 1fr; }
  .network-card { min-height: 420px; }
  .capability-mosaic,
  .service-grid,
  .timeline-board { grid-template-columns: 1fr; }
  .capability-mosaic article,
  .service-card.tall,
  .service-card.wide { grid-column: auto; grid-row: auto; }
  .timeline-board::before { display: none; }
  .cta-band { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  h1 { font-size: 44px; }
  .hero { padding: 26px; border-radius: 24px; }
  .side-rail { align-items: flex-start; flex-direction: column; }
  .side-nav a { padding: 10px 12px; }
  .network-card { min-height: 330px; }
  .metric { transform: scale(0.85); transform-origin: center; }
}

.contact-form {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 32px;
  background:
    linear-gradient(140deg, rgba(246, 201, 79, 0.08), transparent 34%),
    var(--panel);
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}

.form-head {
  display: grid;
  gap: 8px;
  margin-bottom: 4px;
}

.form-kicker {
  color: var(--yellow);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-form h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.04em;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label span {
  color: var(--muted);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  background: rgba(255,255,255,0.045);
  color: var(--white);
  padding: 14px 16px;
  font: inherit;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-form select option {
  color: #070809;
}

.contact-form textarea {
  resize: vertical;
  min-height: 132px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--yellow);
  background: rgba(255,255,255,0.07);
  box-shadow: 0 0 0 4px rgba(246, 201, 79, 0.12);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.36);
}

footer.footer {
  padding: 22px 38px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
}

@media (max-width: 980px) {
  footer.footer { padding: 20px; }
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 32px;
  gap: 14px;
  min-height: 320px;
}

.form-success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 216, 77, 0.1);
  border: 1px solid rgba(255, 216, 77, 0.28);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 14px rgba(255, 216, 77, 0.04);
  margin-bottom: 8px;
}

.form-success h3 {
  font-size: 1.6rem;
  letter-spacing: -0.04em;
  margin: 0;
}

.form-success p {
  color: var(--muted);
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.policy-body {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: clamp(28px, 4vw, 54px);
  background: rgba(255,255,255,0.045);
}

.policy-body h2 {
  font-size: 20px;
  margin-top: 32px;
  margin-bottom: 10px;
}

.policy-body h2:first-child { margin-top: 0; }

.policy-body p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 8px;
}
