:root {
  --bg: #eef0eb;
  --bg-strong: #111613;
  --surface: #ffffff;
  --surface-muted: #f5f7f2;
  --ink: #121614;
  --muted: #5a625d;
  --line: #d7ddd3;
  --line-strong: #b8c3b8;
  --accent: #0b7a68;
  --accent-strong: #075245;
  --accent-soft: #d8f0ea;
  --shadow: 0 20px 50px rgba(18, 22, 20, 0.08);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1360px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Archivo", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(11, 122, 104, 0.08), transparent 28%),
    linear-gradient(180deg, #f4f6f1 0%, var(--bg) 100%);
  line-height: 1.5;
}

a {
  color: inherit;
}

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

.page-top-anchor {
  position: absolute;
  inset: 0 auto auto 0;
  width: 1px;
  height: 1px;
}

.page-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(18, 22, 20, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 22, 20, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 85%);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 1rem 1rem 0;
}

.topbar-inner,
.section,
.footer {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(18, 22, 20, 0.08);
  border-radius: 18px;
  background: rgba(244, 246, 241, 0.88);
  backdrop-filter: blur(14px);
}

.scroll-progress {
  width: min(var(--max-width), calc(100% - 2rem));
  height: 4px;
  margin: 0.45rem auto 0;
  border-radius: 999px;
  background: rgba(18, 22, 20, 0.08);
  overflow: hidden;
}

.scroll-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0b7a68 0%, #23b69d 100%);
  transform: scaleX(0);
  transform-origin: left center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  min-width: 0;
}

.brand-word {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-word-labs {
  color: var(--muted);
}

.brand-glyph {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.6rem;
  height: 2.45rem;
  padding: 0 0.82rem;
  font-family: "Archivo", sans-serif;
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--ink);
}

.brand-glyph::before,
.brand-glyph::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0.72rem;
  height: 1.62rem;
  border: 3px solid var(--accent);
  transform: translateY(-50%);
}

.brand-glyph::before {
  left: 0;
  border-right: 0;
  border-radius: 15px 0 0 15px;
}

.brand-glyph::after {
  right: 0;
  border-left: 0;
  border-radius: 0 15px 15px 0;
}

.brand-glyph-letter {
  transform: translateY(-0.01em);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav a {
  position: relative;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.nav a:not(:last-child) {
  margin-right: 1.7rem;
}

.nav a:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1.45rem;
  width: 0.92rem;
  height: 0.92rem;
  transform: translateY(-50%);
  opacity: 0.78;
  background:
    radial-gradient(circle at 50% 12%, currentColor 1.2px, transparent 1.45px),
    radial-gradient(circle at 16% 42%, currentColor 1.2px, transparent 1.45px),
    radial-gradient(circle at 84% 42%, currentColor 1.2px, transparent 1.45px),
    radial-gradient(circle at 32% 82%, currentColor 1.2px, transparent 1.45px),
    radial-gradient(circle at 68% 82%, currentColor 1.2px, transparent 1.45px);
}

.nav a:hover,
.nav a:focus-visible {
  background: rgba(18, 22, 20, 0.05);
  color: var(--ink);
  outline: none;
}

.nav a.is-active {
  background: rgba(18, 22, 20, 0.06);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(18, 22, 20, 0.07);
}

.nav-toggle {
  display: none;
  border: 0;
  border-radius: 999px;
  padding: 0.52rem 0.9rem;
  background: var(--bg-strong);
  color: #f4f6f1;
  font: inherit;
  font-weight: 700;
}

.section {
  margin: 1.5rem auto 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(360px, 0.92fr);
  gap: 1.5rem;
  align-items: stretch;
  padding-top: 1.4rem;
}

.hero-copy,
.hero-panel,
.proof-strip,
.capability-card,
.process-card,
.engagement-card,
.contact-panel {
  border: 1px solid rgba(18, 22, 20, 0.08);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-panel,
.proof-strip,
.capability-card,
.process-card,
.engagement-card,
.contact-panel {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
}

:is(.hero-copy, .hero-panel, .proof-strip, .capability-card, .process-card, .engagement-card, .contact-panel) {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

:is(.hero-copy, .hero-panel, .proof-strip, .capability-card, .process-card, .engagement-card, .contact-panel)::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(
    280px circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%),
    rgba(11, 122, 104, 0.16),
    rgba(11, 122, 104, 0.08) 28%,
    transparent 62%
  );
  transition: opacity 0.24s ease;
}

:is(.hero-copy, .hero-panel, .proof-strip, .capability-card, .process-card, .engagement-card, .contact-panel) > * {
  position: relative;
  z-index: 1;
}

:is(.hero-copy, .hero-panel, .proof-strip, .capability-card, .process-card, .engagement-card, .contact-panel).is-spotlight-active::before {
  opacity: 1;
}

:is(.hero-copy, .hero-panel, .proof-strip, .capability-card, .process-card, .engagement-card, .contact-panel):hover {
  border-color: rgba(11, 122, 104, 0.16);
  box-shadow: 0 26px 60px rgba(18, 22, 20, 0.1);
}

.hero-copy {
  border-radius: var(--radius-xl);
  padding: clamp(1.7rem, 3vw, 3.4rem);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: #91d6c7;
}

.hero h1,
.section-heading h2,
.process-intro h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero h1 {
  max-width: 13ch;
  font-size: clamp(2.7rem, 6vw, 5.3rem);
}

.lede,
.section-heading p,
.process-intro p,
.contact-copy p {
  color: var(--muted);
}

.lede {
  max-width: 58ch;
  margin: 1.15rem 0 0;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.78rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.btn-primary {
  background: var(--bg-strong);
  color: #f5f7f2;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #1b211d;
}

.btn-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--line-strong);
  background: #ffffff;
}

.hero-signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 2rem 0 0;
}

.hero-signals div {
  padding-top: 0.95rem;
  border-top: 1px solid var(--line);
}

.hero-signals dt {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.hero-signals dd {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.hero-panel {
  display: grid;
  align-content: start;
  gap: 1rem;
  border-radius: var(--radius-xl);
  padding: 1.3rem;
}

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "status status"
    "signal engine"
    "launch launch";
  gap: 0.9rem;
  align-content: start;
  min-height: 340px;
  padding: 1rem 1rem 4.9rem;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(35, 182, 157, 0.2), transparent 34%),
    radial-gradient(circle at bottom right, rgba(148, 235, 209, 0.12), transparent 30%),
    linear-gradient(180deg, #13201c 0%, #0e1512 100%);
  border: 1px solid rgba(148, 235, 209, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 20px 40px rgba(8, 13, 11, 0.22);
  color: #eef7f3;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.14;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 92%);
}

.hero-visual-status {
  grid-area: status;
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.44rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 235, 209, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #d8efe8;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-status-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #94ebd1;
  box-shadow: 0 0 0 0 rgba(148, 235, 209, 0.6);
  animation: statusPulse 2.6s ease-out infinite;
}

.hero-visual-network {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0.92;
}

.network-path {
  fill: none;
  stroke: url(#network-line);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 12 12;
  animation: flowLine 10s linear infinite;
}

.network-path-secondary {
  animation-delay: -2.4s;
}

.network-path-tertiary {
  animation-delay: -4.8s;
  opacity: 0.65;
}

.network-orb {
  fill: #94ebd1;
  filter: drop-shadow(0 0 10px rgba(148, 235, 209, 0.55));
  animation: orbPulse 3s ease-in-out infinite;
}

.hero-visual-node {
  position: relative;
  z-index: 2;
  width: auto;
  min-height: 112px;
  padding: 0.95rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.06));
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.node-signal {
  grid-area: signal;
  margin-top: 0.9rem;
}

.node-engine {
  grid-area: engine;
  margin-top: 1.8rem;
}

.node-launch {
  grid-area: launch;
  width: min(228px, calc(100% - 2rem));
  min-height: auto;
  justify-self: center;
  margin-top: -0.15rem;
}

.visual-node-kicker {
  display: block;
  margin-bottom: 0.35rem;
  color: #9fe3d1;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-visual-node strong {
  display: block;
  font-size: 1rem;
  line-height: 1.15;
}

.hero-visual-node p {
  margin: 0.45rem 0 0;
  color: rgba(229, 244, 239, 0.8);
  font-size: 0.86rem;
  line-height: 1.45;
}

.hero-visual-rail {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: inline-flex;
  gap: 0.4rem;
  padding: 0.42rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 235, 209, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.hero-visual-rail span {
  padding: 0.36rem 0.58rem;
  border-radius: 999px;
  color: #dcefe9;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.05);
}

.panel-label {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel-stack {
  display: grid;
  gap: 0.8rem;
}

.stack-card {
  padding: 1rem;
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(245, 247, 242, 0.92));
  border: 1px solid var(--line);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.stack-card h2 {
  margin: 0;
  font-size: 1.08rem;
}

.stack-card p {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.stack-card:hover {
  transform: translateY(-2px);
  border-color: rgba(11, 122, 104, 0.18);
  box-shadow: 0 18px 36px rgba(18, 22, 20, 0.08);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
}

.proof-strip p {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.section-intro {
  padding-top: 4.75rem;
}

.section-heading {
  max-width: 780px;
}

.section-heading h2,
.process-intro h2,
.contact-copy h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
}

.section-heading p,
.process-intro p,
.contact-copy p {
  margin: 0.95rem 0 0;
  max-width: 62ch;
  font-size: 1.02rem;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 1.4rem;
}

.engagement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 1.4rem;
}

.capability-card {
  min-height: 230px;
  padding: 1.35rem;
  border-radius: var(--radius-lg);
}

.card-kicker {
  margin: 0;
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.capability-card h3,
.engagement-card h3,
.process-card h3 {
  margin: 0.9rem 0 0;
  font-size: 1.25rem;
}

.capability-card p:last-child,
.engagement-card p,
.process-card p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.process {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
  padding-top: 4.75rem;
}

.process-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.process-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.2rem;
  border-radius: var(--radius-lg);
}

.process-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.engagements {
  padding-top: 4.75rem;
}

.engagement-shell {
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.3rem);
  background:
    radial-gradient(circle at top right, rgba(145, 214, 199, 0.12), transparent 30%),
    linear-gradient(180deg, #141a17 0%, #0f1412 100%);
  color: #f4f7f1;
}

.engagement-shell .section-heading p {
  color: #b6c0ba;
}

.engagement-card {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.engagement-card p {
  color: #c5cdc8;
}

.contact {
  padding-top: 4.75rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 1.4rem;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border-radius: var(--radius-xl);
}

.contact-copy {
  max-width: 56ch;
}

.contact-direct {
  font-weight: 700;
}

.contact-direct a {
  color: var(--accent-strong);
  text-underline-offset: 0.18em;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  background: var(--surface-muted);
  border: 1px solid var(--line);
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.94rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.82rem 0.9rem;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  outline: 2px solid rgba(11, 122, 104, 0.18);
}

.contact-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.contact-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0 2rem;
  margin-top: 2.5rem;
  color: var(--muted);
  font-size: 0.94rem;
}

@media (hover: hover) and (pointer: fine) {
  .footer {
    padding-bottom: 5rem;
  }
}

.to-top-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.72rem 1rem;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.to-top-btn:hover,
.to-top-btn:focus-visible {
  border-color: var(--line-strong);
  background: #ffffff;
  outline: none;
}

.cursor-console {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 50;
  color: #e8f1ff;
}

.cursor-dock-shell {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.26rem;
  border-radius: 999px;
  background: rgba(11, 18, 30, 0.74);
  border: 1px solid rgba(152, 192, 255, 0.28);
  box-shadow: 0 12px 24px rgba(4, 12, 25, 0.28);
  backdrop-filter: blur(12px);
}

.cursor-dock-toggle {
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #e7f1ff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  width: 1.84rem;
  height: 1.84rem;
  padding: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease;
}

.cursor-dock-toggle:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.cursor-dock-toggle:focus-visible,
.cursor-mode-btn:focus-visible {
  outline: 2px solid rgba(153, 197, 255, 0.95);
  outline-offset: 2px;
}

.cursor-dock-options {
  display: grid;
  grid-auto-flow: column;
  gap: 0.3rem;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width 0.26s ease, opacity 0.18s ease;
}

.cursor-console.is-open .cursor-dock-options {
  max-width: 370px;
  opacity: 1;
}

.cursor-mode-btn {
  width: 1.74rem;
  height: 1.74rem;
  border-radius: 999px;
  border: 1px solid rgba(149, 187, 247, 0.45);
  background: rgba(9, 16, 28, 0.92);
  color: #d6e5ff;
  font: inherit;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.cursor-mode-btn::before {
  content: "";
  width: 0.74rem;
  height: 0.74rem;
  border-radius: 999px;
}

.cursor-mode-btn[data-cursor-mode="worm"]::before {
  background: linear-gradient(135deg, #4ca4ff 0%, #57c6ff 55%, #92f8ff 100%);
}

.cursor-mode-btn[data-cursor-mode="comet"]::before {
  background: radial-gradient(circle at 28% 28%, #e4f6ff 0%, #89d2ff 45%, #2f78ff 100%);
}

.cursor-mode-btn[data-cursor-mode="pulse"]::before {
  background: radial-gradient(circle, transparent 34%, #93ccff 37%, #4d8eff 62%, transparent 66%);
}

.cursor-mode-btn[data-cursor-mode="orbit"]::before {
  background: conic-gradient(from 0deg, #a4c8ff, #5eb0ff, #79f0ff, #6a9cff, #a4c8ff);
}

.system-mode-btn::before,
.random-mode-btn::before {
  display: none;
}

.system-mode-btn {
  font-size: 1.15rem;
}

.random-mode-btn {
  font-size: 0.92rem;
}

.cursor-mode-btn:hover {
  border-color: rgba(163, 204, 255, 0.9);
}

.cursor-mode-btn.is-active {
  border-color: rgba(176, 215, 255, 1);
  box-shadow: 0 0 0 2px rgba(148, 193, 255, 0.34);
  transform: translateY(-1px);
}

.cursor-console.is-open .cursor-dock-shell {
  border-color: rgba(164, 206, 255, 0.58);
  box-shadow: 0 14px 28px rgba(4, 12, 25, 0.34);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

#cursor-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.2s ease;
}

body.custom-cursor-active #cursor-canvas {
  opacity: 1;
}

body.custom-cursor-active,
body.custom-cursor-active * {
  cursor: none !important;
}

body.cursor-unavailable .cursor-dock-toggle,
body.cursor-unavailable .cursor-mode-btn {
  opacity: 0.46;
  pointer-events: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes statusPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(148, 235, 209, 0.6);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(148, 235, 209, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(148, 235, 209, 0);
  }
}

@keyframes flowLine {
  from {
    stroke-dashoffset: 0;
  }

  to {
    stroke-dashoffset: -72;
  }
}

@keyframes orbPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.22);
  }
}

@media (max-width: 1080px) {
  .hero,
  .process,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-signals,
  .proof-strip,
  .capability-grid,
  .engagement-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual {
    min-height: 320px;
  }
}

@media (max-width: 760px) {
  .topbar {
    padding-top: 0.7rem;
  }

  .topbar-inner {
    flex-wrap: wrap;
    border-radius: 16px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    width: 100%;
    flex-wrap: wrap;
    padding-top: 0.45rem;
    border-top: 1px solid rgba(18, 22, 20, 0.08);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a:not(:last-child) {
    margin-right: 0;
  }

  .nav a:not(:last-child)::after {
    display: none;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-signals,
  .proof-strip,
  .capability-grid,
  .engagement-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 1fr;
    grid-template-areas:
      "status"
      "signal"
      "engine"
      "launch";
    padding-bottom: 1rem;
  }

  .hero-visual-network {
    display: none;
  }

  .hero-visual-node,
  .hero-visual-rail {
    position: relative;
    inset: auto;
    right: auto;
    left: auto;
    bottom: auto;
    top: auto;
    width: auto;
  }

  .hero-visual-rail {
    justify-self: start;
    flex-wrap: wrap;
  }

  .node-signal,
  .node-engine,
  .node-launch {
    margin-top: 0;
    width: auto;
    justify-self: stretch;
  }

  .section-intro,
  .process,
  .engagements,
  .contact {
    padding-top: 3.6rem;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 2rem;
  }

  .cursor-console {
    left: 50%;
    bottom: 0.8rem;
    transform: translateX(-50%);
  }

  .cursor-console.is-open .cursor-dock-options {
    max-width: 270px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal.visible,
  .btn,
  .nav a {
    transition: none;
    transform: none;
    opacity: 1;
  }

  :is(.hero-copy, .hero-panel, .proof-strip, .capability-card, .process-card, .engagement-card, .contact-panel)::before {
    display: none;
  }

  .hero-status-dot,
  .network-path,
  .network-orb {
    animation: none;
  }

  .cursor-console {
    display: none;
  }
}

@media (hover: none), (pointer: coarse) {
  .cursor-console {
    display: none;
  }
}
