:root {
  --bg: #05070b;
  --bg-2: #081119;
  --panel: rgba(9, 18, 28, 0.76);
  --panel-strong: rgba(13, 26, 40, 0.94);
  --line: rgba(118, 248, 255, 0.22);
  --line-hot: rgba(119, 255, 166, 0.54);
  --text: #f1fbff;
  --muted: #9fb4c1;
  --cyan: #56f4ff;
  --green: #75ffa8;
  --violet: #b982ff;
  --magenta: #ff4bd8;
  --amber: #ffd166;
  --shadow: 0 0 38px rgba(86, 244, 255, 0.18);
  --mx: 72%;
  --my: 18%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 10%, rgba(86, 244, 255, 0.2), transparent 28rem),
    radial-gradient(circle at 88% 12%, rgba(255, 75, 216, 0.14), transparent 24rem),
    linear-gradient(180deg, var(--bg), #06121a 42%, var(--bg));
  color: var(--text);
  font-family: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(86, 244, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(86, 244, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  animation: gridDrift 18s linear infinite;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(117, 255, 168, 0.13), transparent 18rem),
    radial-gradient(circle at calc(var(--mx) - 22%) calc(var(--my) + 18%), rgba(86, 244, 255, 0.1), transparent 20rem);
  opacity: 0.86;
  pointer-events: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 11, 0.72);
  backdrop-filter: blur(20px);
  animation: headerDrop 520ms ease both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line-hot);
  background: linear-gradient(135deg, rgba(86, 244, 255, 0.18), rgba(117, 255, 168, 0.08));
  box-shadow: 0 0 28px rgba(117, 255, 168, 0.18);
  color: var(--green);
  font-size: 13px;
  letter-spacing: 0.08em;
  animation: markPulse 3.8s ease-in-out infinite;
}

.brand-text {
  font-size: 18px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
}

.site-nav a:hover,
.nav-dropdown button:hover,
.nav-dropdown:focus-within button,
.header-action:hover {
  color: var(--cyan);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.nav-dropdown button::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  z-index: 40;
  display: grid;
  min-width: 260px;
  padding: 10px;
  border: 1px solid var(--line);
  background: rgba(5, 10, 16, 0.96);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.46), var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.dropdown-menu::before {
  position: absolute;
  top: -18px;
  right: 0;
  left: 0;
  height: 18px;
  content: "";
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  padding: 12px 13px;
  border: 1px solid transparent;
  color: var(--muted);
  white-space: nowrap;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
  border-color: rgba(117, 255, 168, 0.28);
  background: rgba(117, 255, 168, 0.07);
  color: var(--green);
}

.header-action {
  padding: 12px 16px;
  border: 1px solid var(--line-hot);
  color: var(--green);
  transition: border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.header-action:hover {
  box-shadow: 0 0 24px rgba(117, 255, 168, 0.18);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(54px, 7vw, 100px) clamp(18px, 5vw, 72px);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.kling-layer {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.98) 0%, rgba(5, 7, 11, 0.72) 42%, rgba(5, 7, 11, 0.92) 100%),
    url("./assets/brand/og-image.png");
  background-position: center;
  background-size: cover;
  animation: imageBreathe 11s ease-in-out infinite alternate;
}

.scan-grid {
  position: absolute;
  inset: -20%;
  background:
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(86, 244, 255, 0.055) 19px),
    linear-gradient(120deg, transparent 0 50%, rgba(117, 255, 168, 0.08) 50.4%, transparent 51%);
  transform: perspective(800px) rotateX(58deg) translateY(23%);
  transform-origin: bottom;
  animation: scanMove 9s linear infinite;
}

.eyebrow {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 18px;
  color: var(--green);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.eyebrow span {
  color: var(--cyan);
}

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

h1 {
  max-width: 980px;
  margin-bottom: 24px;
  font-size: clamp(48px, 7.4vw, 104px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.8vw, 68px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 22px;
  line-height: 1.16;
}

.hero-lead,
.section-heading p {
  max-width: 770px;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.55;
}

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

.hero-routes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -16px 0 34px;
}

.hero-routes a {
  padding: 9px 11px;
  border: 1px solid rgba(86, 244, 255, 0.18);
  background: rgba(5, 7, 11, 0.52);
  color: var(--cyan);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.hero-routes a:hover {
  border-color: var(--line-hot);
  color: var(--green);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-links a {
  padding: 10px 12px;
  border: 1px solid rgba(86, 244, 255, 0.2);
  background: rgba(5, 7, 11, 0.5);
  color: var(--cyan);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.contact-links a:hover {
  border-color: var(--line-hot);
  color: var(--green);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--line);
  font-weight: 750;
  position: relative;
  overflow: hidden;
  transition: border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.button::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(110deg, transparent 0 36%, rgba(255, 255, 255, 0.18) 50%, transparent 64%);
  opacity: 0;
  transform: translateX(-80%);
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover::after {
  animation: buttonSweep 720ms ease;
}

.button.is-pulsing {
  border-color: rgba(117, 255, 168, 0.95);
  box-shadow: 0 0 36px rgba(117, 255, 168, 0.24);
}

.button-primary {
  border-color: rgba(117, 255, 168, 0.8);
  background: linear-gradient(135deg, rgba(117, 255, 168, 0.24), rgba(86, 244, 255, 0.14));
  box-shadow: 0 0 34px rgba(117, 255, 168, 0.18);
  color: var(--text);
}

.button-ghost {
  background: rgba(8, 17, 25, 0.44);
  color: var(--cyan);
}

.hero-metrics {
  display: grid;
  max-width: 720px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--line);
}

.hero-metrics div {
  padding: 20px;
  background: rgba(7, 15, 23, 0.78);
}

.hero-metrics dt {
  color: var(--cyan);
  font-size: 34px;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.mission-console,
.service-card,
.agent-stack article,
.case-grid article,
.package-grid article,
.brief,
.brief-form {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.mission-console {
  position: relative;
  padding: 22px;
}

.mission-console::before,
.service-card::before {
  position: absolute;
  top: -1px;
  left: 18px;
  width: 72px;
  height: 2px;
  content: "";
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
}

.console-topline,
.route-output {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.console-topline strong {
  color: var(--green);
}

.route-map {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 28px 0;
}

.route-map span {
  padding: 12px 8px;
  border: 1px solid rgba(86, 244, 255, 0.18);
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}

.route-map .active {
  border-color: var(--line-hot);
  color: var(--green);
  box-shadow: inset 0 0 20px rgba(117, 255, 168, 0.1);
  animation: activeCell 2.4s ease-in-out infinite;
}

fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}

legend {
  grid-column: 1 / -1;
  margin-bottom: 10px;
  color: var(--text);
  font-weight: 800;
}

label {
  display: flex;
  align-items: center;
  min-height: 42px;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(86, 244, 255, 0.14);
  color: var(--muted);
  cursor: pointer;
}

input,
textarea {
  accent-color: var(--green);
}

.route-output {
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.route-output p {
  margin: 0;
  color: var(--cyan);
}

.route-output a {
  color: var(--green);
  white-space: nowrap;
}

.section {
  padding: clamp(54px, 7vw, 110px) clamp(18px, 5vw, 72px);
}

.strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.strip p {
  margin: 0;
  padding: 24px 18px;
  background: rgba(4, 9, 14, 0.94);
  color: var(--green);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.section-heading {
  margin-bottom: 34px;
}

.service-grid,
.case-grid,
.package-grid,
.deep-link-grid,
.faq-grid,
.page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  position: relative;
  min-height: 244px;
  padding: 28px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-card.hot {
  border-color: rgba(117, 255, 168, 0.48);
  background: linear-gradient(135deg, rgba(117, 255, 168, 0.13), rgba(9, 18, 28, 0.84));
}

.service-card:hover,
.agent-stack article:hover,
.case-grid article:hover,
.package-grid article:hover,
.portfolio-grid article:hover,
.page-grid article:hover,
.deep-link-grid a:hover,
.faq-grid article:hover {
  border-color: rgba(117, 255, 168, 0.52);
  box-shadow: 0 0 46px rgba(86, 244, 255, 0.16), 0 0 32px rgba(117, 255, 168, 0.1);
  transform: translateY(-4px);
}

.service-card span {
  color: var(--cyan);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

.service-card p,
.agent-stack p,
.case-grid span,
.package-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}

.sticky-heading {
  position: sticky;
  top: 112px;
}

.agent-stack {
  display: grid;
  gap: 16px;
}

.agent-stack article {
  padding: 28px;
  border-left-color: rgba(185, 130, 255, 0.58);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  background: var(--line);
  list-style: none;
}

.timeline li {
  min-height: 210px;
  padding: 28px;
  background: var(--panel-strong);
}

.timeline strong {
  display: block;
  margin-bottom: 20px;
  color: var(--green);
  font-size: 22px;
}

.timeline span {
  color: var(--muted);
  line-height: 1.55;
}

.case-grid article,
.package-grid article,
.faq-grid article,
.page-grid article,
.deep-link-grid a {
  min-height: 196px;
  padding: 28px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.case-grid p {
  color: var(--magenta);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.case-grid strong,
.portfolio-grid strong {
  display: block;
  margin-top: 18px;
  color: var(--green);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  text-transform: uppercase;
}

.packages {
  padding-top: 0;
}

.seo-services {
  padding-top: 0;
}

.lead-services {
  padding-top: clamp(54px, 7vw, 88px);
}

.deep-link-grid a,
.faq-grid article,
.page-grid article,
.content-band {
  border: 1px solid var(--line);
  background: rgba(9, 18, 28, 0.72);
  box-shadow: var(--shadow);
}

.deep-link-grid a {
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.deep-link-grid a:hover {
  border-color: var(--line-hot);
  box-shadow: 0 0 42px rgba(117, 255, 168, 0.2);
  transform: translateY(-3px);
}

.deep-link-grid span,
.page-grid span {
  color: var(--magenta);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.deep-link-grid strong {
  color: var(--text);
  font-size: 24px;
  line-height: 1.14;
}

.deep-link-grid em {
  color: var(--muted);
  font-style: normal;
  line-height: 1.55;
}

.deep-link-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.faq-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.faq-grid p,
.page-grid p,
.content-band p,
.page-cta p {
  color: var(--muted);
  line-height: 1.6;
}

.page-hero {
  position: relative;
  min-height: 74vh;
  padding: clamp(70px, 9vw, 130px) clamp(18px, 5vw, 72px) clamp(46px, 7vw, 96px);
  overflow: hidden;
}

.page-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 75, 216, 0.16), transparent 28rem),
    radial-gradient(circle at 12% 68%, rgba(117, 255, 168, 0.13), transparent 24rem),
    linear-gradient(110deg, rgba(5, 7, 11, 0.98), rgba(7, 19, 28, 0.9));
}

.page-hero h1 {
  max-width: 1120px;
}

.page-grid article {
  min-height: 260px;
  overflow: hidden;
}

.page-grid h2,
.page-grid h3,
.portfolio-grid h2,
.portfolio-grid h3 {
  max-width: 100%;
  margin: 12px 0 16px;
  font-size: clamp(26px, 2.4vw, 40px);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.page-grid p {
  font-size: clamp(16px, 1.25vw, 20px);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.portfolio-grid article {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(86, 244, 255, 0.08), transparent 38%),
    rgba(9, 18, 28, 0.76);
  box-shadow: var(--shadow);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.portfolio-grid span {
  color: var(--magenta);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.portfolio-grid p {
  color: var(--muted);
  line-height: 1.58;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.portfolio-tags b {
  padding: 7px 9px;
  border: 1px solid rgba(117, 255, 168, 0.25);
  color: var(--green);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 500;
}

.content-band {
  margin: 0 clamp(18px, 5vw, 72px) clamp(36px, 5vw, 72px);
}

.content-band .timeline {
  margin-top: 28px;
}

.page-cta {
  margin-top: 0;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.brief {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  margin: clamp(18px, 5vw, 72px);
}

.launch-material {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(117, 255, 168, 0.09), transparent 38%),
    rgba(4, 9, 14, 0.44);
}

.material-preview {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(8, 17, 25, 0.76);
  box-shadow: var(--shadow);
}

.material-preview span {
  color: var(--magenta);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.material-preview strong {
  color: var(--text);
  font-size: clamp(24px, 3vw, 44px);
  line-height: 1.02;
}

.material-preview p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.lead-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(1, 4, 8, 0.78);
  backdrop-filter: blur(18px);
}

.lead-gate.is-open {
  display: grid;
}

.lead-gate-panel {
  width: min(620px, 100%);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(86, 244, 255, 0.1), transparent 38%),
    rgba(6, 13, 20, 0.98);
  box-shadow: 0 0 54px rgba(86, 244, 255, 0.22);
}

.lead-gate-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 22px 0;
}

.lead-gate-head h2 {
  margin: 8px 0 10px;
  font-size: clamp(28px, 4vw, 48px);
}

.lead-gate-close {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--cyan);
  cursor: pointer;
  font-size: 24px;
}

.lead-gate-form {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.lead-gate-form input,
.lead-gate-form select {
  min-height: 52px;
  border: 1px solid rgba(86, 244, 255, 0.2);
  background: rgba(5, 7, 11, 0.72);
  color: var(--text);
  font: inherit;
  padding: 0 14px;
}

.lead-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.lead-gate-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.brief h2 {
  margin-bottom: 0;
}

.brief-form {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: rgba(4, 9, 14, 0.36);
}

.brief-form input,
.brief-form textarea {
  width: 100%;
  border: 1px solid rgba(86, 244, 255, 0.2);
  background: rgba(5, 7, 11, 0.7);
  color: var(--text);
  font: inherit;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.brief-form input:focus,
.brief-form textarea:focus {
  outline: 0;
  border-color: rgba(117, 255, 168, 0.7);
  background: rgba(5, 12, 18, 0.9);
  box-shadow: 0 0 0 3px rgba(117, 255, 168, 0.08);
}

.brief-form input {
  min-height: 50px;
  padding: 0 14px;
}

.brief-form textarea {
  min-height: 130px;
  padding: 14px;
  resize: vertical;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer a {
  color: var(--cyan);
}

.site-footer a:hover {
  color: var(--green);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 620ms ease, transform 620ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
}

@keyframes gridDrift {
  to {
    background-position: 56px 56px, 56px 56px;
  }
}

@keyframes markPulse {
  0%,
  100% {
    box-shadow: 0 0 24px rgba(117, 255, 168, 0.16);
  }
  50% {
    box-shadow: 0 0 36px rgba(117, 255, 168, 0.32), 0 0 22px rgba(86, 244, 255, 0.18);
  }
}

@keyframes imageBreathe {
  to {
    transform: scale(1.035);
  }
}

@keyframes scanMove {
  to {
    background-position: 0 38px, 80px 0;
  }
}

@keyframes buttonSweep {
  0% {
    opacity: 0;
    transform: translateX(-80%);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(80%);
  }
}

@keyframes activeCell {
  50% {
    box-shadow: inset 0 0 28px rgba(117, 255, 168, 0.22), 0 0 18px rgba(117, 255, 168, 0.14);
  }
}

@media (max-width: 980px) {
  .site-nav {
    order: 3;
    display: flex;
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    padding: 8px 0 2px;
    scrollbar-width: none;
    white-space: nowrap;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-header {
    flex-wrap: wrap;
  }

  .dropdown-menu {
    left: 0;
    transform: translateY(-8px);
  }

  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu,
  .nav-dropdown.is-open .dropdown-menu {
    transform: translateY(0);
  }

  .hero,
  .split,
  .brief,
  .launch-material {
    grid-template-columns: 1fr;
  }

  .mission-console {
    max-width: 680px;
  }

  .service-grid,
  .case-grid,
  .package-grid,
  .portfolio-grid,
  .deep-link-grid,
  .deep-link-grid.compact,
  .faq-grid,
  .page-grid,
  .timeline,
  .strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sticky-heading {
    position: static;
  }

}

@media (max-width: 620px) {
  .site-header {
    min-height: 64px;
  }

  .brand-text,
  .header-action {
    font-size: 13px;
  }

  .hero {
    padding-top: 48px;
  }

  h1 {
    font-size: 46px;
  }

  .hero-metrics,
  .service-grid,
  .case-grid,
  .package-grid,
  .portfolio-grid,
  .deep-link-grid,
  .deep-link-grid.compact,
  .faq-grid,
  .page-grid,
  .timeline,
  .strip,
  fieldset {
    grid-template-columns: 1fr;
  }

  .route-map {
    grid-template-columns: 1fr;
  }

  .brief {
    margin: 18px;
    padding: 24px;
  }

  .content-band {
    margin: 0 18px 28px;
  }

  .site-footer {
    flex-direction: column;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
