.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 2000;
  padding: .75rem 1rem;
  background: var(--primary);
  color: #030712;
  border-radius: 6px;
  font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  background: #0f172a;
  border: 1px solid var(--bg-card-border);
  border-radius: 8px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
}
.demo-warning,
.form-note {
  color: var(--text-muted);
  font-size: .82rem;
  line-height: 1.6;
}
.demo-warning {
  margin: 0 0 1rem;
  padding: .85rem 1rem;
  border: 1px solid rgba(245, 158, 11, .35);
  background: rgba(245, 158, 11, .06);
  border-radius: 8px;
}
.form-note { margin-top: .85rem; }
.redactor-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: .5rem;
}
.redactor-metrics {
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
}
.redactor-output {
  overflow-wrap: anywhere;
}
.modal-box:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  nav { position: sticky; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1rem 1.25rem 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
    background: rgba(3, 7, 18, .98);
    border-bottom: 1px solid var(--bg-card-border);
    z-index: 110;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a {
    display: block;
    padding: .75rem .5rem;
  }
  .nav-links .nav-cta {
    text-align: center;
    margin-top: .35rem;
  }
  .redactor-box,
  .contact-info-card,
  .form-box,
  .showcase-grid {
    padding: 1.35rem;
  }
}

@media (max-width: 520px) {
  .container { padding: 0 1rem; }
  .hero-section { padding: 4rem 0 2.5rem; }
  .hero-title { font-size: 2rem; }
  .hero-description { font-size: 1rem; }
  .hero-actions {
    width: 100%;
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .section-title { font-size: 1.75rem; }
  .telemetry-strip { gap: .75rem; }
  .telemetry-card { padding: .9rem; }
  .telemetry-num {
    font-size: 1rem;
    overflow-wrap: anywhere;
  }
  .redactor-metrics {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Network, endpoint, and engagement presentation */
#approach {
  scroll-margin-top: 7rem;
}
#approach .section-header {
  margin-top: 3.5rem;
  margin-bottom: 1.5rem;
}
#approach .approach-intro {
  max-width: 78ch;
  margin: 0 auto 2rem;
  color: var(--text-muted);
  line-height: 1.75;
  text-align: center;
}
#approach .process-grid {
  margin-bottom: 2rem;
}
#approach .process-step {
  min-width: 0;
}
#approach .process-step .stag {
  display: inline-block;
  margin-bottom: .9rem;
}
#approach .deliverables-panel {
  margin: 0 0 2rem;
}
#approach .deliverables-panel .showcase-content h3 {
  font-size: 1.5rem;
}
#approach .deliverables-list {
  margin: .25rem 0;
}
#approach .reference-strip {
  margin: 0 0 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--bg-card-border);
  border-radius: 12px;
  background: rgba(15, 23, 42, .62);
}
#approach .reference-heading {
  margin-bottom: .35rem;
  color: var(--text-main);
  font-weight: 700;
}
#approach .reference-strip p {
  margin: 0;
  color: var(--text-muted);
  font-size: .85rem;
  line-height: 1.65;
}
#approach .reference-links {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1rem;
}
#approach .reference-links a {
  display: inline-flex;
  align-items: center;
  padding: .48rem .72rem;
  border: 1px solid rgba(56, 189, 248, .3);
  border-radius: 6px;
  color: var(--primary);
  font-size: .82rem;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease;
}
#approach .reference-links a:hover {
  border-color: var(--primary);
  background: rgba(56, 189, 248, .1);
}
#approach .reference-links a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
#approach .scope-note {
  margin: 1rem 0 3rem;
  padding: .2rem 0 .2rem 1rem;
  border-left: 3px solid var(--secondary);
  color: var(--text-muted);
  font-size: .84rem;
  line-height: 1.7;
}
#approach .scope-note strong {
  color: var(--text-main);
}
@media (max-width: 680px) {
  #approach .reference-strip {
    padding: 1rem;
  }
  #approach .reference-links a {
    width: 100%;
    justify-content: center;
  }
}
