:root {
  color-scheme: light;
  --navy: #04326d;
  --navy-950: #061b3d;
  --blue: #0a67c7;
  --blue-700: #0754a7;
  --cyan: #00d4ff;
  --cyan-soft: #dff8ff;
  --ink: #102033;
  --muted: #607086;
  --line: #d9e5f0;
  --paper: #f5f8fb;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(4, 50, 109, 0.14);
  --section-pad: clamp(72px, 9vw, 128px) clamp(18px, 5vw, 72px);
  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;
  background: var(--paper);
  color: var(--ink);
  letter-spacing: 0;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: minmax(240px, auto) minmax(360px, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  box-shadow: 0 18px 50px rgba(4, 50, 109, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 300px;
}

.brand-logo {
  display: block;
  width: clamp(206px, 20vw, 300px);
  height: auto;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.22));
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.6vw, 32px);
  font-size: 0.91rem;
  font-weight: 800;
}

.site-nav a {
  opacity: 0.84;
}

.site-nav a:hover {
  color: var(--cyan);
  opacity: 1;
}

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

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

.button.small {
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.84rem;
}

.button.solid {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 16px 42px rgba(10, 103, 199, 0.24);
}

.button.solid:hover {
  background: var(--blue-700);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.34);
  color: currentColor;
}

.site-header.is-scrolled .button.ghost,
.site-header.is-open .button.ghost {
  border-color: rgba(4, 50, 109, 0.2);
}

.button.outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.button.outline:hover,
.button.ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.button.cyan {
  background: var(--cyan);
  color: var(--navy-950);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 110px clamp(18px, 5vw, 72px) 56px;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 25%, rgba(0, 212, 255, 0.24), transparent 30%),
    linear-gradient(135deg, #061b3d 0%, #04326d 48%, #0b4f9c 100%);
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  background: linear-gradient(0deg, rgba(6, 27, 61, 0.86), transparent);
  pointer-events: none;
}

.tech-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.72;
  pointer-events: none;
}

.tech-backdrop::before {
  content: "";
  position: absolute;
  inset: auto -8% -18% 38%;
  height: 52%;
  background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.22), transparent 68%);
  filter: blur(20px);
}

.tech-backdrop svg {
  width: 100%;
  height: 100%;
}

.backdrop-grid path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 1;
}

.trace path,
.trace circle,
.data-rings circle,
.data-rings path {
  fill: none;
  stroke: url("#traceFade");
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trace path {
  stroke-width: 3;
  stroke-dasharray: 10 16;
  animation: traceDrift 12s linear infinite;
}

.trace circle {
  fill: rgba(0, 212, 255, 0.2);
  stroke-width: 2;
  animation: nodePulse 4.5s ease-in-out infinite;
}

.trace-two path,
.trace-two circle {
  animation-delay: 1.2s;
}

.trace-three path,
.trace-three circle {
  animation-delay: 2.1s;
}

.data-rings {
  opacity: 0.72;
  animation: ringFloat 9s ease-in-out infinite;
}

.data-rings circle,
.data-rings path {
  stroke-width: 2;
  stroke-dasharray: 5 12;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.9fr);
  gap: clamp(38px, 7vw, 96px);
  align-items: center;
  width: min(1440px, 100%);
  margin: 0 auto;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Montserrat", var(--font-fallback, sans-serif);
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 6.9vw, 6.8rem);
  line-height: 0.95;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.8vw, 4.8rem);
  line-height: 1;
}

h3 {
  margin-bottom: 11px;
  font-size: 1.08rem;
}

p {
  color: var(--muted);
  line-height: 1.68;
}

.hero-copy p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.hero-copy {
  max-width: 780px;
}

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

.engineering-diagram {
  position: relative;
  min-height: 620px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
  background-size: 42px 42px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.engineering-diagram::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: var(--radius);
  pointer-events: none;
}

.engineering-diagram::after {
  content: "";
  position: absolute;
  top: -18%;
  right: -18%;
  width: 52%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.28), transparent 64%);
  filter: blur(8px);
}

.diagram-matrix {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: min(260px, calc(100% - 56px));
  opacity: 0.72;
}

.diagram-matrix span {
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(6, 27, 61, 0.34);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.diagram-orbit {
  position: absolute;
  inset: 58px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 50%;
  animation: pulseGlow 5s ease-in-out infinite;
}

.flow-node {
  position: absolute;
  z-index: 2;
  width: min(242px, 42%);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  animation: floatNode 5.5s ease-in-out infinite;
}

.flow-node span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--cyan-soft);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
}

.flow-node strong,
.flow-node small {
  display: block;
}

.flow-node strong {
  font-size: 1rem;
}

.flow-node small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.82rem;
}

.node-a {
  top: 42px;
  left: 42px;
}

.node-b {
  top: 156px;
  right: 52px;
  animation-delay: 0.25s;
}

.node-c {
  top: 282px;
  left: 94px;
  animation-delay: 0.5s;
}

.node-d {
  right: 66px;
  bottom: 106px;
  animation-delay: 0.75s;
}

.node-e {
  bottom: 34px;
  left: 42px;
  animation-delay: 1s;
}

.flow-line {
  position: absolute;
  z-index: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  transform-origin: left center;
  opacity: 0.7;
  animation: traceLine 2.8s ease-in-out infinite;
}

.line-a {
  top: 157px;
  left: 250px;
  width: 210px;
  transform: rotate(18deg);
}

.line-b {
  top: 283px;
  left: 286px;
  width: 190px;
  transform: rotate(151deg);
}

.line-c {
  bottom: 214px;
  left: 292px;
  width: 198px;
  transform: rotate(20deg);
}

.line-d {
  bottom: 116px;
  left: 270px;
  width: 220px;
  transform: rotate(159deg);
}

.section,
.process-section,
.architecture-section,
.why-section,
.portal-section,
.assessment-section,
.final-cta {
  padding: var(--section-pad);
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.75fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: end;
  background: var(--white);
}

.section-lead {
  max-width: 720px;
  margin-bottom: 0;
  font-size: 1.08rem;
}

.section-heading {
  max-width: 970px;
  margin-bottom: 40px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.challenge-grid,
.capability-grid,
.pillar-grid,
.project-grid {
  display: grid;
  gap: 18px;
}

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

.feature-card,
.capability-grid article,
.pillar-grid article,
.project-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 52px rgba(4, 50, 109, 0.06);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.feature-card:hover,
.capability-grid article:hover,
.pillar-grid article:hover,
.project-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(10, 103, 199, 0.28);
  box-shadow: 0 24px 64px rgba(4, 50, 109, 0.11);
}

.feature-card {
  min-height: 282px;
  padding: 28px;
}

.card-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 30px;
  color: var(--blue);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.feature-card:nth-child(3n) .card-icon {
  color: var(--cyan);
}

.feature-card p,
.capability-grid p,
.pillar-grid p,
.project-grid p {
  margin-bottom: 0;
}

.process-section {
  background: var(--navy-950);
  color: var(--white);
}

.process-section p {
  color: rgba(255, 255, 255, 0.68);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 1220px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
}

.timeline::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 44px;
  left: 8%;
  width: 84%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), rgba(0, 212, 255, 0.12));
  animation: progressSweep 4.5s ease-in-out infinite;
}

.timeline article {
  position: relative;
  z-index: 2;
  min-height: 260px;
  padding: 72px 24px 28px;
  background: rgba(255, 255, 255, 0.06);
}

.timeline span {
  position: absolute;
  top: 28px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--navy-950);
  font-size: 0.72rem;
  font-weight: 900;
}

.architecture-section {
  background: linear-gradient(180deg, var(--white), #eef5fb);
}

.architecture-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.architecture-tabs {
  display: grid;
  gap: 10px;
  align-content: start;
}

.arch-tab {
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  font-weight: 900;
  cursor: pointer;
  text-align: left;
  padding: 0 18px;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.arch-tab:hover {
  transform: translateX(3px);
  border-color: rgba(10, 103, 199, 0.36);
  box-shadow: 0 12px 28px rgba(4, 50, 109, 0.08);
}

.arch-tab.is-active {
  border-color: var(--blue);
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 18px 44px rgba(4, 50, 109, 0.16);
}

.architecture-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) minmax(360px, 0.8fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  min-height: 510px;
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.architecture-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(4, 50, 109, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(4, 50, 109, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
}

.arch-copy,
.arch-svg {
  position: relative;
  z-index: 1;
}

.arch-copy span {
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
}

.arch-copy h3 {
  margin-top: 18px;
  font-family: "Montserrat", var(--font-fallback, sans-serif);
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  line-height: 1.05;
}

.arch-svg {
  width: 100%;
  min-height: 330px;
}

.arch-svg rect {
  fill: #f7fbff;
  stroke: #bdd2e8;
  stroke-width: 2;
}

.arch-lines path {
  fill: none;
  stroke: url("#archGradient");
  stroke-dasharray: 8 8;
  stroke-linecap: round;
  stroke-width: 4;
  animation: dashMove 8s linear infinite;
}

.arch-core rect {
  fill: url("#archGradient");
  stroke: rgba(255, 255, 255, 0.7);
}

.arch-badges circle {
  fill: var(--cyan);
  stroke: var(--white);
  stroke-width: 3;
  filter: drop-shadow(0 8px 18px rgba(0, 212, 255, 0.35));
  animation: nodePulse 3.8s ease-in-out infinite;
}

.architecture-card[data-arch-mode="hybrid"] .arch-core rect {
  fill: #04326d;
}

.architecture-card[data-arch-mode="onprem"] .arch-core rect {
  fill: #102033;
}

.architecture-card[data-arch-mode="integrated"] .arch-core rect {
  fill: #0a67c7;
}

.arch-svg text {
  fill: var(--navy);
  font-size: 18px;
  font-weight: 800;
  text-anchor: middle;
}

.arch-core text {
  fill: var(--white);
}

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

.capability-grid article {
  min-height: 280px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(0, 212, 255, 0.09), transparent 40%),
    var(--white);
}

.capability-grid span,
.project-grid span {
  display: inline-flex;
  margin-bottom: 52px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.why-section {
  background: var(--white);
}

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

.pillar-grid article {
  min-height: 220px;
  padding: 26px;
  border-top: 4px solid var(--cyan);
}

.pillar-grid strong {
  display: block;
  margin-bottom: 16px;
  color: var(--navy);
  font-size: 1.12rem;
}

.portal-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(430px, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  background: #edf4fa;
}

.portal-copy {
  max-width: 680px;
}

.portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button.portal-secondary {
  border-color: rgba(4, 50, 109, 0.18);
  background: var(--white);
  color: var(--navy);
}

.button.portal-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.dashboard-preview {
  overflow: hidden;
  border: 1px solid rgba(4, 50, 109, 0.16);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
  transform-origin: center;
}

.dash-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.dash-top span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow:
    18px 0 0 #ffc857,
    36px 0 0 #ff5f57;
}

.dash-top strong {
  color: var(--navy);
}

.dash-top small {
  color: var(--muted);
  font-weight: 800;
}

.dash-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 360px;
}

.dash-sidebar {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 22px;
  border-right: 1px solid var(--line);
  background: #f7fbff;
}

.dash-sidebar span {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--navy);
  font-weight: 800;
}

.dash-sidebar span:first-child {
  background: var(--cyan-soft);
}

.dash-main {
  padding: 22px;
}

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

.metric-row article,
.monitor-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.metric-row article {
  padding: 18px;
}

.metric-row strong {
  display: block;
  color: var(--navy);
  font-size: 1.5rem;
}

.metric-row span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.monitor-card {
  margin-top: 14px;
  padding: 22px;
}

.monitor-line,
.monitor-line.short {
  height: 10px;
  border-radius: 999px;
  background: #dce9f4;
}

.monitor-line.short {
  width: 52%;
  margin-top: 10px;
}

.monitor-bars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  align-items: end;
  min-height: 150px;
  margin-top: 28px;
}

.monitor-bars span {
  display: block;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  animation: barRise 3.2s ease-in-out infinite;
}

.monitor-bars span:nth-child(1) {
  height: 58px;
}

.monitor-bars span:nth-child(2) {
  height: 104px;
  animation-delay: 0.2s;
}

.monitor-bars span:nth-child(3) {
  height: 82px;
  animation-delay: 0.4s;
}

.monitor-bars span:nth-child(4) {
  height: 132px;
  animation-delay: 0.6s;
}

.monitor-bars span:nth-child(5) {
  height: 94px;
  animation-delay: 0.8s;
}

.activity-feed {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.activity-feed div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdff;
}

.activity-feed span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(0, 212, 255, 0.12);
}

.activity-feed strong {
  color: var(--navy);
  font-size: 0.88rem;
}

.activity-feed small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-align: right;
}

.assessment-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 0.92fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
  background:
    linear-gradient(rgba(4, 50, 109, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(4, 50, 109, 0.035) 1px, transparent 1px),
    var(--white);
  background-size: 36px 36px;
}

.assessment-copy {
  max-width: 680px;
}

.assessment-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.assessment-points span {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f7fbff;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 900;
}

.assessment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid rgba(4, 50, 109, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c9d9e8;
  border-radius: var(--radius);
  padding: 13px 14px;
  background: var(--white);
  color: var(--ink);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(0, 212, 255, 0.18);
}

.full-field {
  grid-column: 1 / -1;
}

.form-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.form-note.is-ready {
  color: var(--blue);
  font-weight: 800;
}

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

.project-grid article {
  min-height: 260px;
  padding: 26px;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background:
    radial-gradient(circle at 80% 18%, rgba(0, 212, 255, 0.2), transparent 30%),
    var(--navy-950);
  color: var(--white);
}

.final-cta-copy {
  display: grid;
  gap: 22px;
}

.final-cta h2 {
  max-width: 860px;
  margin-bottom: 0;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 12px;
  max-width: 820px;
}

.contact-methods a {
  display: grid;
  gap: 5px;
  min-height: 86px;
  padding: 17px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.contact-methods a:hover {
  border-color: rgba(0, 212, 255, 0.48);
  background: rgba(0, 212, 255, 0.1);
}

.contact-methods span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-methods strong {
  color: var(--white);
  font-size: 1rem;
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.button.light {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.button.light:hover {
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.08);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 72px);
  background: #03142e;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

@keyframes floatNode {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes traceLine {
  0%,
  100% {
    opacity: 0.25;
  }
  50% {
    opacity: 0.9;
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.45;
  }
  50% {
    transform: scale(1.04);
    opacity: 0.82;
  }
}

@keyframes progressSweep {
  0% {
    clip-path: inset(0 100% 0 0);
  }
  60%,
  100% {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes dashMove {
  to {
    stroke-dashoffset: -160;
  }
}

@keyframes barRise {
  0%,
  100% {
    transform: scaleY(0.86);
  }
  50% {
    transform: scaleY(1);
  }
}

@keyframes traceDrift {
  to {
    stroke-dashoffset: -260;
  }
}

@keyframes nodePulse {
  0%,
  100% {
    opacity: 0.44;
  }
  50% {
    opacity: 1;
  }
}

@keyframes ringFloat {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.52;
  }
  50% {
    transform: translateY(18px);
    opacity: 0.82;
  }
}

@media (max-width: 1320px) {
  .site-header {
    grid-template-columns: minmax(220px, auto) 1fr;
  }

  .header-actions {
    display: none;
  }

  .site-nav {
    justify-content: end;
  }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .hero-grid,
  .architecture-card,
  .portal-section,
  .assessment-section {
    grid-template-columns: 1fr;
  }

  .engineering-diagram {
    min-height: 560px;
  }

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

@media (max-width: 900px) {
  .challenge-grid,
  .capability-grid,
  .timeline,
  .intro-band,
  .architecture-layout {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    display: none;
  }

  .timeline article {
    min-height: auto;
  }

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

  .arch-tab {
    text-align: center;
    padding: 0 10px;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 70px;
    padding: 12px 16px;
    background: rgba(6, 27, 61, 0.72);
    backdrop-filter: blur(14px);
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: clamp(158px, 48vw, 220px);
  }

  .nav-toggle {
    display: grid;
    justify-self: end;
    place-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: transparent;
    color: currentColor;
  }

  .nav-toggle span {
    display: block;
    width: 17px;
    height: 2px;
    background: currentColor;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--navy);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 14px;
  }

  .hero {
    min-height: auto;
    padding: 96px 16px 40px;
  }

  .tech-backdrop {
    opacity: 0.44;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-copy p {
    font-size: 1rem;
    line-height: 1.58;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(2.45rem, 12vw, 3.15rem);
    line-height: 1;
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .engineering-diagram {
    min-height: 540px;
    background:
      linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
      rgba(255, 255, 255, 0.09);
    background-size: 32px 32px;
  }

  .diagram-orbit,
  .engineering-diagram::after {
    display: none;
  }

  .flow-node {
    left: 20px;
    right: 20px;
    width: auto;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
    align-items: center;
    padding: 14px;
  }

  .flow-node span {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .flow-node strong {
    font-size: 0.94rem;
  }

  .flow-node small {
    margin-top: 2px;
    font-size: 0.78rem;
  }

  .diagram-matrix {
    display: none;
  }

  .node-a {
    top: 24px;
  }

  .node-b {
    top: 126px;
  }

  .node-c {
    top: 228px;
  }

  .node-d {
    bottom: 126px;
  }

  .node-e {
    bottom: 24px;
  }

  .flow-line {
    left: 50%;
    width: 82px;
    transform: rotate(90deg);
  }

  .line-a {
    top: 108px;
  }

  .line-b {
    top: 210px;
  }

  .line-c {
    top: 312px;
    bottom: auto;
  }

  .line-d {
    bottom: 106px;
  }

  .architecture-tabs,
  .metric-row,
  .dash-grid,
  .project-grid,
  .pillar-grid,
  .assessment-form {
    grid-template-columns: 1fr;
  }

  .dash-sidebar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .dash-sidebar span {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .architecture-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
  }

  .arch-tab {
    flex: 0 0 auto;
    min-width: 132px;
    min-height: 48px;
    text-align: center;
    scroll-snap-align: start;
  }

  .architecture-card {
    min-height: auto;
    padding: 20px;
  }

  .arch-svg {
    min-height: 250px;
  }

  .dashboard-preview {
    transform: none;
  }

  .final-cta,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-methods {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .final-cta-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 460px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  .brand-logo {
    width: min(190px, 58vw);
  }

  .dash-top {
    grid-template-columns: 1fr;
  }

  .activity-feed div {
    grid-template-columns: auto 1fr;
  }

  .activity-feed small {
    grid-column: 2;
    text-align: left;
  }
}

@media (max-width: 380px) {
  .brand-logo {
    width: 168px;
  }

  .engineering-diagram {
    min-height: 560px;
  }
}

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