:root {
  --ink: #0D1B2A;
  --muted: #5a6472;
  --line: #dfe4ea;
  --paper: #F2F4F7;
  --white: #ffffff;
  --steel: #243241;
  --blue: #0D1B2A;
  --teal: #00B2C3;
  --gold: #00B2C3;
  --dark: #0D1B2A;
  --dark-2: #14273a;
  --radius: 8px;
  --shadow: 0 22px 60px rgba(16, 19, 26, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

a {
  color: inherit;
}

.skip-link {
  left: 1rem;
  position: absolute;
  top: -4rem;
  z-index: 20;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(248, 247, 243, 0.9);
  border-bottom: 1px solid rgba(16, 19, 26, 0.08);
  display: flex;
  gap: 1.25rem;
  justify-content: space-between;
  left: 0;
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand-mark,
.nav-links,
.hero-actions,
.proof-strip,
.form-row {
  align-items: center;
  display: flex;
}

.brand-mark {
  font-weight: 800;
  gap: 0.65rem;
  text-decoration: none;
}

.brand-mark img {
  display: block;
  height: 48px;
  max-width: min(42vw, 390px);
  object-fit: contain;
  width: auto;
}

.brand-symbol {
  background: var(--ink);
  border-radius: 6px;
  color: var(--white);
  display: grid;
  font-size: 0.75rem;
  height: 2rem;
  letter-spacing: 0;
  place-items: center;
  width: 2rem;
}

.nav-links {
  color: var(--muted);
  gap: 1rem;
  font-size: 0.92rem;
}

.nav-links a,
.nav-cta,
.button {
  text-decoration: none;
}

.nav-cta,
.button {
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  display: inline-flex;
  font-weight: 750;
  justify-content: center;
  line-height: 1;
  padding: 0.85rem 1rem;
}

.nav-cta,
.button.primary {
  background: var(--ink);
  color: var(--white);
}

.button.secondary {
  background: transparent;
}

.section-shell {
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem);
}

.hero {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  min-height: calc(100vh - 72px);
  padding-top: clamp(5rem, 9vw, 8rem);
}

.eyebrow {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

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

h1,
h2 {
  letter-spacing: 0;
  line-height: 0.96;
}

h1 {
  font-size: clamp(4.1rem, 12vw, 9rem);
  margin-bottom: 1.4rem;
  max-width: 8ch;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2.35rem, 6vw, 5.3rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.05rem;
  margin-bottom: 0.65rem;
}

.hero-lede {
  font-size: clamp(1.35rem, 2.7vw, 2.15rem);
  font-weight: 720;
  line-height: 1.13;
  max-width: 780px;
}

.hero-support,
.section-heading p,
.prose,
.large-quote {
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 2rem 0 1.25rem;
}

.capability-line,
.local-line,
.form-note {
  color: var(--muted);
  font-size: 0.93rem;
}

.hero-visual {
  align-self: stretch;
  min-height: 520px;
  position: relative;
}

.signal-grid {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(4, 1fr);
  inset: 0;
  position: absolute;
}

.signal-grid span {
  background:
    linear-gradient(135deg, rgba(36, 87, 167, 0.2), rgba(17, 107, 115, 0.08)),
    var(--white);
  border: 1px solid rgba(16, 19, 26, 0.08);
  border-radius: var(--radius);
  min-height: 7rem;
}

.signal-grid span:nth-child(3n) {
  background:
    linear-gradient(135deg, rgba(184, 138, 55, 0.2), rgba(17, 107, 115, 0.08)),
    var(--white);
}

.diagnostic-panel {
  background: rgba(18, 24, 33, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  bottom: 2rem;
  box-shadow: var(--shadow);
  color: var(--white);
  max-width: 360px;
  padding: 1.35rem;
  position: absolute;
  right: 1.2rem;
}

.diagnostic-panel p {
  color: #aab7c4;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}

.diagnostic-panel strong {
  display: block;
  font-size: 1.05rem;
}

.flow-line {
  background: linear-gradient(90deg, var(--gold), var(--teal));
  height: 1px;
  margin: 1rem 0;
}

.proof-strip {
  background: var(--white);
  border-block: 1px solid var(--line);
  color: var(--steel);
  flex-wrap: wrap;
  font-size: 0.84rem;
  font-weight: 800;
  gap: 0.3rem 1.25rem;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  text-transform: uppercase;
}

.statement {
  padding-bottom: 2rem;
  padding-top: 2rem;
}

.statement p {
  font-size: clamp(1.7rem, 4vw, 3.7rem);
  font-weight: 820;
  line-height: 1.05;
  margin: 0;
}

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

.section-heading.narrow {
  max-width: 720px;
}

.problem-grid,
.engagement-grid,
.case-grid,
.steps,
.tech-columns {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

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

.problem-card,
.engagement-card,
.case-card,
.steps article,
.tech-columns div,
.accordion details,
.intake-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.problem-card,
.engagement-card,
.steps article,
.tech-columns div {
  padding: 1.15rem;
}

.problem-card p,
.engagement-card p,
.steps p,
.tech-columns p,
.case-card p,
.accordion li {
  color: var(--muted);
}

.dark-band {
  background: var(--dark);
  color: var(--white);
}

.dark-band .eyebrow {
  color: #7fd0d8;
}

.dark-band p {
  color: #c5ced7;
}

.split,
.turnaround-layout,
.contact-layout {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.model-compare {
  display: grid;
  gap: 1rem;
}

.model-compare div {
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.large-quote {
  color: var(--ink);
  font-size: clamp(1.45rem, 3vw, 2.6rem);
  font-weight: 780;
  line-height: 1.08;
}

.check-list {
  columns: 2;
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  border-top: 1px solid var(--line);
  break-inside: avoid;
  padding: 0.8rem 0;
}

.check-list li::before {
  color: var(--teal);
  content: "+ ";
  font-weight: 900;
}

.accordion {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

.accordion details {
  overflow: hidden;
}

.accordion summary {
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 850;
  list-style: none;
  padding: 1.15rem;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "+";
  float: right;
}

.accordion details[open] summary::after {
  content: "-";
}

.accordion ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0 1.15rem 1.15rem;
}

.accordion li {
  background: #f0f3f5;
  border-radius: 999px;
  font-size: 0.9rem;
  padding: 0.45rem 0.65rem;
}

.editorial-band {
  background: #ece8df;
}

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

.steps span {
  color: var(--gold);
  display: block;
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.technology {
  border-top: 1px solid var(--line);
}

.tech-columns,
.engagement-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.case-card {
  padding: 0;
  overflow: hidden;
}

.case-card header {
  background: var(--ink);
  color: var(--white);
  padding: 1.2rem;
}

.case-card dl {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 1.2rem;
}

.case-card dt {
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.case-card dd {
  color: var(--muted);
  margin: 0;
}

.contact-section {
  background: var(--ink);
  color: var(--white);
}

.contact-section .eyebrow {
  color: #7fd0d8;
}

.contact-section p {
  color: #c5ced7;
}

.intake-form {
  color: var(--ink);
  padding: 1.2rem;
}

.intake-form label {
  display: grid;
  font-size: 0.88rem;
  font-weight: 800;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.form-row {
  align-items: start;
  gap: 0.85rem;
}

.form-row label {
  flex: 1;
}

input,
select,
textarea {
  background: #f8fafb;
  border: 1px solid #cbd3dc;
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  min-height: 2.75rem;
  padding: 0.7rem;
  width: 100%;
}

textarea {
  min-height: 6rem;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus,
a:focus {
  outline: 3px solid rgba(36, 87, 167, 0.35);
  outline-offset: 2px;
}

.hp-field {
  display: none;
}

.form-status {
  color: var(--teal) !important;
  font-weight: 800;
  margin: 1rem 0 0;
}

.site-footer {
  align-items: center;
  background: var(--white);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.5rem clamp(1rem, 4vw, 3rem);
}

.site-footer p {
  margin: 0;
}

.site-footer img {
  display: block;
  height: 54px;
  max-width: min(72vw, 430px);
  object-fit: contain;
  width: auto;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero,
  .split,
  .turnaround-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .problem-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: stretch;
  }

  .brand-mark span:last-child {
    display: none;
  }

  .nav-cta {
    padding-inline: 0.75rem;
  }

  h1 {
    font-size: clamp(3.7rem, 21vw, 5.4rem);
  }

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

  .signal-grid {
    gap: 0.45rem;
  }

  .diagnostic-panel {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
  }

  .problem-grid,
  .steps,
  .tech-columns,
  .engagement-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .check-list {
    columns: 1;
  }

  .form-row {
    display: block;
  }
}

/* Premium 2026 enhancement layer */
:root {
  --glow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 90px rgba(36, 87, 167, 0.22);
  --electric: #00B2C3;
  --acid: #F2F4F7;
  --violet: #00B2C3;
}

body {
  background:
    radial-gradient(circle at 12% 0%, rgba(100, 215, 255, 0.14), transparent 28rem),
    radial-gradient(circle at 86% 12%, rgba(182, 243, 107, 0.11), transparent 26rem),
    var(--paper);
}

.site-header {
  background: rgba(242, 244, 247, 0.92);
  border-bottom-color: rgba(13, 27, 42, 0.1);
  color: var(--ink);
}

.site-header .nav-links,
.site-header .login-link {
  color: rgba(13, 27, 42, 0.72);
}

.site-header .nav-cta {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 0.75rem;
}

.login-link {
  color: var(--steel);
  font-size: 0.92rem;
  font-weight: 780;
  text-decoration: none;
}

.button,
.nav-cta {
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.nav-cta:hover {
  box-shadow: 0 12px 32px rgba(16, 19, 26, 0.14);
  transform: translateY(-2px);
}

.hero {
  background:
    linear-gradient(135deg, rgba(8, 12, 18, 0.96), rgba(14, 22, 34, 0.94)),
    #10131a;
  color: #fff;
  margin: 0;
  max-width: none;
  min-height: calc(100vh - 60px);
  overflow: hidden;
  padding-left: max(clamp(1rem, 4vw, 3rem), calc((100vw - 1180px) / 2 + 3rem));
  padding-right: max(clamp(1rem, 4vw, 3rem), calc((100vw - 1180px) / 2 + 3rem));
  position: relative;
}

.ambient-field {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  inset: 0;
  mask-image: linear-gradient(90deg, transparent, black 15%, black 80%, transparent);
  opacity: 0.9;
  pointer-events: none;
  position: absolute;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero .eyebrow {
  color: var(--electric);
}

h1 {
  font-size: clamp(3.3rem, 8vw, 7.7rem);
  max-width: 12ch;
  text-wrap: balance;
}

.hero-lede {
  color: rgba(255, 255, 255, 0.92);
}

.hero-support {
  color: rgba(220, 230, 238, 0.72);
}

.hero .button.primary {
  background: linear-gradient(135deg, #fff, #d7f8ff);
  border-color: transparent;
  color: #10131a;
}

.hero .button.secondary {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.hero-metrics {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.7rem;
  max-width: 720px;
}

.hero-metrics span {
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.74);
  padding: 0.75rem;
}

.hero-metrics b {
  color: var(--acid);
  display: block;
  font-size: 0.78rem;
}

.command-card {
  background: rgba(5, 9, 14, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.46), 0 0 60px rgba(100, 215, 255, 0.12);
  color: #dce6ee;
  left: 1rem;
  max-width: 420px;
  padding: 1.1rem;
  position: absolute;
  top: 2.2rem;
  z-index: 4;
}

.terminal-bar {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}

.terminal-bar span {
  background: #778391;
  border-radius: 999px;
  height: 0.55rem;
  width: 0.55rem;
}

.terminal-line {
  color: #b8c8d6;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.82rem;
  margin-bottom: 0.45rem;
}

.terminal-line::before {
  color: #7fd0d8;
  content: "> ";
}

.terminal-line.success {
  color: var(--acid);
}

.signal-grid span {
  background:
    linear-gradient(135deg, rgba(100, 215, 255, 0.18), rgba(123, 109, 255, 0.08)),
    rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.08);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.hero-visual:hover .signal-grid span:nth-child(odd) {
  border-color: rgba(100, 215, 255, 0.38);
  transform: translateY(-5px);
}

.system-orbit {
  aspect-ratio: 1;
  border: 1px solid rgba(100, 215, 255, 0.18);
  border-radius: 50%;
  inset: 7rem 2rem auto auto;
  position: absolute;
  width: min(78%, 460px);
  z-index: 1;
}

.system-orbit::before,
.system-orbit::after {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
  inset: 12%;
  position: absolute;
}

.system-orbit::after {
  inset: 28%;
}

.system-orbit i {
  background: var(--electric);
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(100, 215, 255, 0.8);
  height: 0.7rem;
  position: absolute;
  width: 0.7rem;
}

.system-orbit i:nth-child(1) {
  right: 16%;
  top: 8%;
}

.system-orbit i:nth-child(2) {
  background: var(--acid);
  bottom: 18%;
  left: 12%;
}

.system-orbit i:nth-child(3) {
  background: var(--violet);
  right: 32%;
  bottom: 4%;
}

.stack-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.34);
  color: #fff;
  padding: 1rem;
  position: absolute;
  z-index: 3;
}

.stack-card span {
  color: var(--electric);
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}

.stack-card strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.15;
}

.stack-card-one {
  right: 0.5rem;
  top: 10.5rem;
  width: 230px;
}

.stack-card-two {
  left: 2rem;
  top: 19.5rem;
  width: 250px;
}

.stack-card-three {
  right: 2rem;
  bottom: 9.5rem;
  width: 240px;
}

.mini-progress {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  height: 0.45rem;
  margin-top: 1rem;
  overflow: hidden;
}

.mini-progress i {
  background: linear-gradient(90deg, var(--electric), var(--acid));
  display: block;
  height: 100%;
}

.node-row {
  display: flex;
  gap: 0.4rem;
  margin-top: 1rem;
}

.node-row i {
  background: rgba(182, 243, 107, 0.86);
  border-radius: 3px;
  height: 1.1rem;
  width: 1.1rem;
}

.pulse-line {
  background: linear-gradient(90deg, transparent, var(--electric), transparent);
  height: 1px;
  margin-top: 1rem;
}

.diagnostic-panel {
  background: rgba(255, 255, 255, 0.92);
  color: #10131a;
  right: 3.5rem;
  z-index: 5;
}

.diagnostic-panel p {
  color: #476070;
}

.diagnostic-panel strong {
  color: #10131a;
}

.proof-strip {
  background: #060a10;
  border-block-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  justify-content: space-around;
  padding: 1.1rem clamp(1rem, 4vw, 3rem);
}

.proof-strip span {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
}

.brand-slider {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 244, 247, 0.98)),
    var(--white);
  border-bottom: 1px solid rgba(13, 27, 42, 0.1);
  overflow: hidden;
  padding: clamp(2.6rem, 5vw, 4.5rem) 0;
}

.brand-slider-head {
  margin: 0 auto 1.4rem;
  max-width: 1180px;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

.brand-slider-head h2 {
  font-size: clamp(1.9rem, 4vw, 3.8rem);
  max-width: 760px;
}

.logo-marquee {
  display: flex;
  gap: 1rem;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  overflow: hidden;
  user-select: none;
}

.logo-track {
  animation: logo-slide 48s linear infinite;
  display: flex;
  flex: 0 0 auto;
  gap: 1rem;
  min-width: max-content;
}

.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}

.logo-track figure {
  align-items: center;
  background: var(--white);
  border: 1px solid rgba(13, 27, 42, 0.09);
  border-radius: var(--radius);
  box-shadow: 0 14px 35px rgba(13, 27, 42, 0.07);
  display: flex;
  height: 104px;
  justify-content: center;
  margin: 0;
  padding: 1rem;
  width: 180px;
}

.logo-track img {
  display: block;
  filter: none;
  height: auto;
  max-height: 64px;
  max-width: 150px;
  object-fit: contain;
  opacity: 1;
  transition: opacity 180ms ease, transform 180ms ease;
  width: auto;
}

.logo-track figure:hover img {
  opacity: 1;
  transform: scale(1.04);
}

.statement {
  background: #10131a;
  color: #fff;
  margin: 0;
  max-width: none;
  padding-left: max(clamp(1rem, 4vw, 3rem), calc((100vw - 1180px) / 2 + 3rem));
  padding-right: max(clamp(1rem, 4vw, 3rem), calc((100vw - 1180px) / 2 + 3rem));
}

.service-console,
.portal-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.service-console {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-tile {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 250, 0.96)),
    #fff;
  border: 1px solid rgba(16, 19, 26, 0.09);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(16, 19, 26, 0.08);
  overflow: hidden;
  padding: 1.35rem;
  position: relative;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-tile::before {
  background: linear-gradient(90deg, var(--blue), var(--teal), var(--gold));
  content: "";
  height: 3px;
  inset: 0 0 auto;
  position: absolute;
}

.service-tile:hover,
.problem-card:hover,
.engagement-card:hover {
  border-color: rgba(100, 215, 255, 0.45);
  box-shadow: 0 24px 70px rgba(16, 19, 26, 0.16);
  transform: translateY(-6px);
}

.service-tile span {
  color: var(--teal);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.service-tile div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.service-tile em {
  background: #e8eef2;
  border-radius: 999px;
  color: var(--steel);
  font-size: 0.78rem;
  font-style: normal;
  padding: 0.35rem 0.5rem;
}

.project-start {
  padding-top: 2rem;
}

.intake-lab {
  background:
    radial-gradient(circle at 10% 20%, rgba(100, 215, 255, 0.22), transparent 20rem),
    linear-gradient(135deg, #070b12, #121821);
  border-radius: var(--radius);
  box-shadow: var(--glow);
  color: var(--white);
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  margin-top: 2rem;
  padding: 1rem;
}

.prompt-panel,
.assessment-panel,
.login-card,
.dashboard-preview,
.admin-preview {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: var(--ink);
  padding: 1.2rem;
}

.prompt-panel label {
  display: grid;
  font-size: 1rem;
  font-weight: 850;
  gap: 0.65rem;
}

.prompt-panel textarea {
  background: #0f1620;
  border-color: rgba(255, 255, 255, 0.14);
  color: #edf4f7;
  min-height: 10rem;
}

.example-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.85rem 0 1rem;
}

.example-row button,
.tech-map button {
  background: #edf2f5;
  border: 1px solid #cbd3dc;
  border-radius: 999px;
  color: var(--steel);
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 750;
  padding: 0.5rem 0.7rem;
}

.assessment-panel {
  background: linear-gradient(180deg, #ffffff, #eef5f5);
}

.assessment-panel dl {
  display: grid;
  gap: 0.75rem;
}

.assessment-panel dt {
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.assessment-panel dd {
  margin: 0;
}

.assessment-panel .button {
  margin: 0.35rem 0.35rem 0 0;
}

.portal-band {
  background:
    radial-gradient(circle at 80% 20%, rgba(100, 215, 255, 0.14), transparent 24rem),
    linear-gradient(135deg, rgba(7, 11, 18, 0.98), rgba(18, 24, 33, 0.98)),
    var(--dark);
  color: var(--white);
}

.portal-band p {
  color: #c5ced7;
}

.portal-top,
.portal-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.52fr);
}

.login-card label {
  display: grid;
  font-size: 0.86rem;
  font-weight: 800;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.login-card p {
  color: var(--muted);
  font-size: 0.86rem;
  margin: 0.8rem 0 0;
}

.portal-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.dashboard-header {
  align-items: start;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.dashboard-header span {
  background: #e7f3f3;
  border-radius: 999px;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 900;
  padding: 0.35rem 0.55rem;
}

.project-row {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.8rem;
  grid-template-columns: minmax(0, 1fr) 160px 3rem;
  padding: 0.85rem 0;
}

.project-row span,
.admin-preview span {
  color: var(--muted);
  display: block;
  font-size: 0.88rem;
}

.progress-track {
  background: #e4eaf0;
  border-radius: 999px;
  height: 0.55rem;
  overflow: hidden;
}

.progress-track span {
  background: linear-gradient(90deg, var(--blue), var(--teal));
  display: block;
  height: 100%;
}

.admin-preview article {
  border-top: 1px solid var(--line);
  padding: 0.75rem 0;
}

.technology-map {
  padding-top: 2rem;
}

.tech-map {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.tech-map button.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.tech-stage {
  background:
    linear-gradient(135deg, rgba(36, 87, 167, 0.09), rgba(17, 107, 115, 0.08)),
    var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-top: 1rem;
  min-height: 150px;
  padding: 1.4rem;
}

@media (max-width: 980px) {
  .hero {
    padding-left: clamp(1rem, 4vw, 3rem);
    padding-right: clamp(1rem, 4vw, 3rem);
  }

  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .command-card,
  .stack-card,
  .diagnostic-panel {
    position: relative;
  }

  .command-card,
  .stack-card-one,
  .stack-card-two,
  .stack-card-three,
  .diagnostic-panel {
    inset: auto;
    margin-bottom: 0.75rem;
    width: auto;
  }

  .system-orbit {
    opacity: 0.35;
    right: 0;
    top: 3rem;
  }

  .service-console,
  .intake-lab,
  .portal-top,
  .portal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .header-actions {
    gap: 0.45rem;
  }

  .hero {
    padding-top: 4rem;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    justify-content: flex-start;
  }

  .login-link {
    display: none;
  }

  .service-console {
    grid-template-columns: 1fr;
  }

  .brand-slider {
    padding-block: 2.4rem;
  }

  .logo-track {
    animation-duration: 36s;
  }

  .logo-track figure {
    height: 88px;
    width: 142px;
  }

  .logo-track img {
    height: auto;
    max-height: 50px;
    max-width: 112px;
    width: auto;
  }

  .project-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .system-orbit {
    animation: slow-spin 26s linear infinite;
  }

  .stack-card {
    animation: float-card 5s ease-in-out infinite;
  }

  .stack-card-two {
    animation-delay: -1.5s;
  }

  .stack-card-three {
    animation-delay: -3s;
  }

  .pulse-line {
    animation: pulse-scan 2.2s ease-in-out infinite;
  }

  .service-tile,
  .problem-card,
  .engagement-card,
  .steps article,
  .case-card {
    animation: rise-in 600ms ease both;
    animation-timeline: view();
    animation-range: entry 0% cover 26%;
  }

  @keyframes rise-in {
    from {
      opacity: 0;
      transform: translateY(20px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes slow-spin {
    to {
      transform: rotate(360deg);
    }
  }

  @keyframes float-card {
    0%,
    100% {
      transform: translateY(0);
    }

    50% {
      transform: translateY(-9px);
    }
  }

  @keyframes pulse-scan {
    0%,
    100% {
      opacity: 0.35;
      transform: scaleX(0.55);
    }

    50% {
      opacity: 1;
      transform: scaleX(1);
    }
  }

  @keyframes logo-slide {
    to {
      transform: translateX(calc(-100% - 1rem));
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-marquee {
    flex-wrap: wrap;
    mask-image: none;
    padding-inline: clamp(1rem, 4vw, 3rem);
  }

  .logo-track {
    animation: none;
    flex-wrap: wrap;
  }

  .logo-track[aria-hidden="true"] {
    display: none;
  }
}
