:root {
  --bg: #030508;
  --surface: rgba(12, 16, 24, 0.72);
  --surface-strong: rgba(18, 24, 37, 0.92);
  --line: rgba(255, 255, 255, 0.09);
  --text: #f5f7fb;
  --muted: #b7becc;
  --accent: #ef2c2c;
  --accent-soft: rgba(239, 44, 44, 0.28);
  --blue-glow: rgba(47, 121, 255, 0.28);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius-xl: 30px;
  --radius-lg: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top center, rgba(19, 53, 119, 0.3), transparent 26%),
    linear-gradient(180deg, #020306 0%, #04070c 35%, #05070a 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button,
input,
textarea {
  font: inherit;
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.site-shell {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.noise,
.grid-overlay,
.aurora {
  pointer-events: none;
  position: fixed;
  inset: 0;
}

.noise {
  display: none;
}

.grid-overlay {
  background:
    linear-gradient(rgba(59, 85, 132, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 85, 132, 0.06) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: 0.08;
  transform: none;
  transform-origin: center;
  top: 0;
}

.aurora {
  filter: none;
  opacity: 0.12;
  will-change: auto;
}

.aurora-one {
  background: radial-gradient(circle at center, rgba(233, 39, 39, 0.16), rgba(233, 39, 39, 0.07) 44%, transparent 72%);
  width: 34rem;
  height: 34rem;
  top: 3rem;
  right: -8rem;
  animation: none;
}

.aurora-two {
  background: radial-gradient(circle at center, rgba(47, 121, 255, 0.12), rgba(47, 121, 255, 0.05) 46%, transparent 74%);
  width: 30rem;
  height: 30rem;
  top: 14rem;
  left: -8rem;
  animation: none;
}

.topbar {
  --topbar-side-width: clamp(240px, 24vw, 360px);
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: var(--topbar-side-width) minmax(0, 1fr) var(--topbar-side-width);
  align-items: center;
  gap: 1rem;
  padding: 0.72rem clamp(1rem, 2.4vw, 2rem);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: linear-gradient(180deg, rgba(1, 4, 10, 0.88), rgba(1, 4, 10, 0.56));
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.topbar::after {
  content: "";
  display: block;
  width: var(--topbar-side-width);
  height: 1px;
  justify-self: end;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  grid-column: 1;
  justify-self: start;
  width: clamp(170px, 14vw, 250px);
  overflow: visible;
  position: relative;
  z-index: 2;
  padding: 0.15rem 0;
}

.brand::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 82%;
  height: 76%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.34), rgba(255, 208, 95, 0.2) 42%, rgba(82, 138, 255, 0.12) 72%, transparent 84%);
  filter: none;
  opacity: 0.9;
  pointer-events: none;
}

.brand-image {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  filter:
    drop-shadow(0 0 1px rgba(255, 255, 255, 0.78))
    drop-shadow(0 0 6px rgba(255, 255, 255, 0.76))
    drop-shadow(0 0 16px rgba(255, 255, 255, 0.42));
}

.nav-links {
  position: static;
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 2vw, 2.6rem);
  max-width: 100%;
  color: rgba(245, 247, 251, 0.72);
  font-size: 0.96rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0;
  transition: color 0.28s ease, text-shadow 0.28s ease, transform 0.28s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 209, 122, 0.2), rgba(255, 209, 122, 0.95), rgba(255, 209, 122, 0.2), transparent);
  box-shadow: 0 0 12px rgba(255, 209, 122, 0.55);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #fff5d8;
  text-shadow:
    0 0 10px rgba(255, 214, 140, 0.88),
    0 0 24px rgba(255, 214, 140, 0.45),
    0 0 36px rgba(255, 214, 140, 0.2);
  transform: translateY(-1px);
  outline: none;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-anchor {
  position: relative;
  top: -5.75rem;
  visibility: hidden;
}


.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease;
  cursor: pointer;
}

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

.button:disabled {
  cursor: wait;
  opacity: 0.8;
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, #ef2c2c, #ff6b59 60%, #4a8dff 140%);
  box-shadow: 0 14px 30px rgba(239, 44, 44, 0.28);
}

.nav-cta {
  padding: 0.82rem 1.22rem;
  font-size: 0.96rem;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.section-grid,
.content-section,
.metrics-row {
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 3rem;
  min-height: calc(100vh - 82px);
  align-items: center;
  padding: 3.5rem 0 5rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #d9e1ef;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-size: 0.94rem;
  letter-spacing: 0.02em;
}

.eyebrow-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ef2c2c, #7caeff);
  box-shadow: 0 0 16px rgba(239, 44, 44, 0.8);
}

.hero h1,
.section-heading h2,
.split-copy h2,
.quote-panel h2 {
  margin: 1.2rem 0 1rem;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero h1 {
  font-size: clamp(3.6rem, 7vw, 7.6rem);
  max-width: 13ch;
}

.hero h1 span {
  color: rgba(255, 255, 255, 0.7);
}

.hero p,
.section-heading p,
.split-copy p,
.quote-panel p,
.capability-card p,
.timeline-item p,
.metric-card span,
.form-status {
  color: var(--muted);
  line-height: 1.7;
}

.hero p {
  max-width: 44rem;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.7rem 0.95rem;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-visual {
  position: relative;
  height: 720px;
  display: grid;
  place-items: center;
  perspective: 1400px;
}

.visual-halo {
  position: absolute;
  inset: auto;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(47, 121, 255, 0.26), rgba(239, 44, 44, 0.18), transparent 68%);
  filter: none;
}

.device-frame {
  position: relative;
  width: min(28rem, 100%);
  height: 35rem;
  border-radius: 2.6rem;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(14, 16, 25, 0.95), rgba(5, 7, 13, 0.98));
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform-style: preserve-3d;
}

.device-topbar {
  display: flex;
  gap: 0.4rem;
  padding: 0.1rem 0.1rem 0.85rem;
}

.device-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.device-screen {
  height: calc(100% - 1.4rem);
  border-radius: 2rem;
  background:
    radial-gradient(circle at top center, rgba(0, 88, 255, 0.15), transparent 32%),
    linear-gradient(180deg, rgba(8, 10, 17, 0.94), rgba(7, 9, 14, 1));
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.25rem;
  overflow: hidden;
}

.device-brand {
  opacity: 0.95;
  margin-bottom: 1rem;
}

.dashboard-panel,
.dashboard-card,
.floating-card,
.metric-card,
.glass-card,
.contact-form,
.quote-panel {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: var(--shadow);
}

.spotlight-panel {
  position: relative;
  overflow: hidden;
  border-radius: 1.8rem;
  padding: 1.2rem;
}

.spotlight-panel::before {
  content: "";
  position: absolute;
  inset: -20% auto auto -10%;
  width: 60%;
  height: 160%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: rotate(18deg);
  animation: sweep 6s linear infinite;
}

.dashboard-panel small,
.floating-card small {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.dashboard-panel strong,
.dashboard-card strong,
.floating-card strong,
.metric-card strong,
.quote-panel h2 {
  display: block;
}

.panel-line {
  width: 100%;
  height: 0.35rem;
  border-radius: 999px;
  margin: 1rem 0;
  background: linear-gradient(90deg, var(--accent), #7caeff);
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.stats-row span {
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.dashboard-card {
  border-radius: 1.6rem;
  padding: 1rem;
}

.dashboard-card p {
  margin: 0 0 0.45rem;
  color: rgba(255, 255, 255, 0.67);
}

.accent-card {
  box-shadow: 0 16px 40px rgba(239, 44, 44, 0.16);
}

.floating-card {
  position: absolute;
  z-index: 2;
  width: min(17rem, 50vw);
  border-radius: 1.6rem;
  padding: 1rem 1.05rem;
}

.floating-card-left {
  top: 14%;
  left: -3%;
}

.floating-card-right {
  right: -2%;
  bottom: 10%;
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: -2rem;
  padding-bottom: 2.5rem;
}

.metric-card {
  border-radius: 1.6rem;
  padding: 1.35rem;
}

.metric-card strong {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.content-section {
  padding: 4.5rem 0;
}

.section-heading {
  max-width: 50rem;
  margin-bottom: 2rem;
}

.heading-minimal {
  max-width: none;
  margin-bottom: 1.35rem;
}


.section-support {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.18rem, 2.15vw, 1.7rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.12),
    0 0 24px rgba(239, 44, 44, 0.08);
}

.section-heading h2,
.split-copy h2,
.quote-panel h2,
.compact-heading h2 {
  font-size: clamp(2.3rem, 4.5vw, 4.2rem);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.capability-card {
  border-radius: 1.8rem;
  padding: 1.4rem;
  min-height: 16rem;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.capability-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.18);
}

.icon-wrap {
  display: inline-grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(239, 44, 44, 0.25), rgba(74, 141, 255, 0.18));
  color: white;
}

.capability-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}

.split-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: start;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.2rem 1.3rem;
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.timeline-item span {
  color: rgba(255, 255, 255, 0.48);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.timeline-item p {
  margin: 0;
}

.showcase-panel {
  padding-top: 1rem;
}

.quote-panel {
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 3rem);
  background:
    radial-gradient(circle at top right, rgba(74, 141, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.contact-section {
  padding-bottom: 6rem;
}

.company-story,
.contact-form,
.site-map-bubble {
  content-visibility: auto;
}

.company-story {
  contain-intrinsic-size: 1px 420px;
}

.contact-form {
  contain-intrinsic-size: 1px 620px;
}

.site-map-bubble {
  contain-intrinsic-size: 1px 320px;
}

.company-story {
  margin-bottom: 2.6rem;
}

.story-shell {
  position: relative;
  overflow: visible;
  border-radius: 0;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.story-shell::before {
  display: none;
}

.story-copy {
  position: relative;
  z-index: 1;
  max-width: 100%;
}

.story-paragraph {
  margin: 0;
  font-size: clamp(1.28rem, 1.9vw, 1.72rem);
  line-height: 1.72;
  letter-spacing: 0.01em;
  font-weight: 800;
}

.story-paragraph + .story-paragraph {
  margin-top: 1.6rem;
}

.story-fragment {
  --glow-progress: 0;
  font-weight: 800;
  color: rgba(245, 247, 251, calc(0.34 + (var(--glow-progress) * 0.66)));
  text-shadow:
    0 0 calc(0.5px + (var(--glow-progress) * 0.9px)) rgba(255, 255, 255, calc(0.04 + (var(--glow-progress) * 0.12))),
    0 0 calc(4px + (var(--glow-progress) * 10px)) rgba(255, 255, 255, calc(var(--glow-progress) * 0.12)),
    0 0 calc(8px + (var(--glow-progress) * 14px)) rgba(74, 141, 255, calc(var(--glow-progress) * 0.1));
  transition: color 0.12s linear, text-shadow 0.12s linear;
}

@media (max-width: 720px) {
  .story-paragraph {
    font-size: clamp(1.05rem, 4.4vw, 1.28rem);
    line-height: 1.66;
  }
}

.contact-form {
  border-radius: var(--radius-xl);
  padding: clamp(1.4rem, 3vw, 2rem);
}


.site-map-bubble {
  margin-top: 2rem;
  border-radius: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.8rem, 4vw, 3rem);
  background:
    radial-gradient(circle at top center, rgba(74, 141, 255, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(8, 10, 16, 0.9), rgba(4, 6, 10, 0.92));
}

.site-map-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.site-map-brand-image {
  display: block;
  width: clamp(165px, 18vw, 235px);
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 0 1px rgba(255, 255, 255, 0.8))
    drop-shadow(0 0 8px rgba(255, 255, 255, 0.78))
    drop-shadow(0 0 18px rgba(255, 255, 255, 0.4));
}

.site-map-nav,
.site-map-policy-links,
.site-map-meta {
  display: flex;
  align-items: center;
}

.site-map-nav {
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  text-align: center;
}

.site-map-nav a,
.site-map-nav span,
.site-map-policy-links span,
.site-map-meta > span {
  transition: color 0.25s ease;
}

.site-map-nav a,
.site-map-nav span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-map-nav a:hover {
  color: white;
}

.site-map-divider {
  width: 1px;
  height: 1.2rem;
  background: linear-gradient(180deg, rgba(74, 255, 160, 0.16), rgba(74, 255, 160, 0.95), rgba(74, 255, 160, 0.16));
  box-shadow: 0 0 16px rgba(74, 255, 160, 0.34);
}

.site-map-rule {
  width: 100%;
  height: 1px;
  margin: 2.2rem 0 1.6rem;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
}

.site-map-meta {
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  color: var(--muted);
}

.site-map-policy-links {
  gap: 0.8rem 1.4rem;
  flex-wrap: wrap;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.form-grid label {
  display: grid;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.82);
}

.form-grid label.has-error {
  color: #ffb4b4;
}

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

.form-grid input,
.form-grid textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 1rem;
  padding: 0.95rem 1rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-grid input::placeholder,
.form-grid textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.form-grid input:focus,
.form-grid textarea:focus {
  border-color: rgba(124, 174, 255, 0.8);
  box-shadow: 0 0 0 4px rgba(124, 174, 255, 0.14);
}

.form-grid label.has-error input,
.form-grid label.has-error textarea,
.form-grid input[aria-invalid="true"],
.form-grid textarea[aria-invalid="true"] {
  border-color: rgba(255, 111, 111, 0.85);
  box-shadow: 0 0 0 4px rgba(255, 111, 111, 0.12);
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  margin-top: 1.25rem;
}

.form-status {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
}

.form-status.is-success {
  border-color: rgba(113, 232, 179, 0.45);
  background: rgba(40, 120, 92, 0.18);
}

.form-status.is-error {
  border-color: rgba(255, 111, 111, 0.55);
  background: rgba(140, 37, 37, 0.18);
}


.form-success-box {
  margin-top: 1rem;
  padding: 1.2rem 1.25rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(113, 232, 179, 0.45);
  background: linear-gradient(180deg, rgba(38, 115, 88, 0.24), rgba(18, 45, 37, 0.2));
  color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 40px rgba(16, 44, 34, 0.2);
}

.form-success-box strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.form-success-box p {
  margin: 0;
  color: rgba(224, 245, 236, 0.88);
  line-height: 1.6;
}

.intro-reveal,
.intro-scale,
.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
}

.intro-reveal {
  animation: enterFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--delay, 0s);
}

.intro-scale {
  transform: translateY(28px) scale(0.9);
  animation: enterScaleUp 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--delay, 0s);
}

.scroll-reveal {
  transition: opacity 0.75s ease, transform 0.75s ease;
}

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

@keyframes enterFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes enterScaleUp {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-12px) scale(1.01);
  }
}

@keyframes driftOne {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-3rem, 2rem, 0); }
}

@keyframes driftTwo {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(4rem, -2rem, 0); }
}

@keyframes sweep {
  0% { transform: translateX(-140%) rotate(18deg); }
  100% { transform: translateX(240%) rotate(18deg); }
}

@media (max-width: 1120px) {
  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    height: auto;
    min-height: 700px;
  }

  .capability-grid,
  .metrics-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .topbar {
    --topbar-side-width: clamp(220px, 52vw, 300px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
  }

  .topbar::after {
    display: none;
  }

  .brand {
    width: clamp(160px, 32vw, 220px);
    margin: 0 auto;
    justify-self: center;
  }

  .nav-links {
    grid-column: auto;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.9rem 1.25rem;
    font-size: 0.84rem;
    letter-spacing: 0.14em;
    white-space: normal;
  }


  .hero {
    padding-top: 2rem;
  }

  .hero h1 {
    max-width: 10ch;
  }

  .floating-card-left,
  .floating-card-right {
    position: static;
    width: 100%;
  }

  .hero-visual {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .section-grid,
  .content-section,
  .metrics-row {
    width: min(100% - 1.2rem, 1240px);
  }

  .site-map-bubble {
    text-align: center;
  }

  .topbar {
    --topbar-side-width: clamp(200px, 58vw, 260px);
    padding: 0.72rem 0.9rem 0.95rem;
  }

  .brand {
    width: clamp(150px, 42vw, 210px);
    padding: 0.1rem 0;
  }

  .nav-links {
    gap: 0.75rem 0.9rem;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
  }


  .metrics-row,
  .capability-grid,
  .form-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .device-frame {
    width: 100%;
    height: 32rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 4.5rem);
  }

  .hero-actions,
  .form-footer,
  .site-map-meta,
  .site-map-policy-links {
    flex-direction: column;
    align-items: stretch;
  }

  .site-map-brand {
    justify-content: center;
  }

  .site-map-nav {
    justify-content: center;
    gap: 0.8rem 1.2rem;
    width: 100%;
    margin-inline: auto;
  }

  .site-map-divider {
    display: none;
  }

  .site-map-meta > span,
  .site-map-policy-links span {
    text-align: center;
  }
}

.hero.hero-logo-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 82px);
  padding: 2rem 0 4rem;
  grid-template-columns: 1fr;
}

.hero-logo-wrap {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-logo-center {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
}

.hero-logo-center::before {
  display: none;
}

.hero-logo-shell {
  position: relative;
  z-index: 2;
  width: min(460px, 32vw);
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: auto;
  filter: none;
  animation: none;
}

.hero-logo-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter:
    drop-shadow(0 0 1px rgba(255, 255, 255, 0.8))
    drop-shadow(0 0 8px rgba(255, 255, 255, 0.78))
    drop-shadow(0 0 18px rgba(255, 255, 255, 0.4));
}

.hero-logo-glow {
  display: none;
}

.hero-logo-tagline {
  position: relative;
  z-index: 2;
  margin-top: 1.1rem;
  padding: 0 1rem;
  text-align: center;
  font-size: clamp(0.78rem, 1vw, 1.18rem);
  font-weight: 800;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(6, 8, 12, 0.98);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.34);
  text-shadow:
    0 0 1px rgba(255, 255, 255, 0.9),
    0 0 8px rgba(255, 255, 255, 0.44),
    0 0 18px rgba(255, 255, 255, 0.22),
    0 0 28px rgba(239, 44, 44, 0.16),
    0 0 42px rgba(47, 121, 255, 0.14);
}

@keyframes heroPulse {
  0%,
  100% {
    opacity: 0.28;
    transform: translate(-50%, -50%) scale(0.99);
  }
  50% {
    opacity: 0.44;
    transform: translate(-50%, -50%) scale(1.015);
  }
}

@keyframes heroHaloBreathe {
  0%,
  100% {
    opacity: 0.22;
    transform: translate(-50%, -52%) scale(0.99);
  }
  50% {
    opacity: 0.34;
    transform: translate(-50%, -52%) scale(1.015);
  }
}

@media (max-width: 860px) {
  .hero.hero-logo-section {
    min-height: calc(100vh - 126px);
    padding: 1rem 0 3rem;
  }

  .hero-logo-shell {
    position: relative;
    z-index: 2;
    width: min(560px, 72vw);
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: auto;
    filter: none;
    animation: none;
  }
}

@media (max-width: 640px) {
  .hero-logo-center {
    position: relative;
    left: -1.15rem;
  }

  .hero-logo-shell {
    position: relative;
    z-index: 2;
    width: min(420px, 92vw);
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: auto;
    filter: none;
    animation: none;
  }
}



body.modal-open {
  overflow: hidden;
}

.form-success-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.form-success-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 5, 10, 0.72);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.form-success-box {
  position: relative;
  z-index: 1;
  width: min(100%, 38rem);
  margin: 0;
  padding: 1.5rem 1.4rem 1.3rem;
  border-radius: 1.4rem;
  border: 1px solid rgba(113, 232, 179, 0.45);
  background: linear-gradient(180deg, rgba(20, 45, 37, 0.96), rgba(9, 25, 20, 0.96));
  color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  text-align: left;
}

.form-success-close {
  position: absolute;
  top: 0.9rem;
  right: 0.95rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.form-success-close:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  transform: scale(1.04);
}

.form-success-action {
  margin-top: 1.2rem;
  min-width: 8rem;
}

@media (max-width: 640px) {
  .form-success-box {
    padding: 1.35rem 1rem 1.1rem;
  }
}

/* --- desktop scaling consistency patch --- */
.topbar {
  --topbar-side-width: 220px;
  grid-template-columns: var(--topbar-side-width) minmax(0, 1fr) var(--topbar-side-width);
  gap: 1.25rem;
  padding: 0.72rem 1.25rem;
}

.topbar::after {
  width: var(--topbar-side-width);
}

.brand {
  width: min(220px, 100%);
}

.nav-links {
  gap: 2rem;
  font-size: 0.94rem;
  letter-spacing: 0.15em;
}

.hero.hero-logo-section {
  min-height: calc(100svh - 82px);
  padding: 2rem 0 3.5rem;
}

.hero-logo-shell {
  width: min(480px, 88vw);
}

.hero-logo-tagline {
  font-size: 0.95rem;
}

@media (max-width: 1040px) {
  .topbar {
    --topbar-side-width: 200px;
    gap: 1rem;
    padding-inline: 1rem;
  }

  .brand {
    width: min(200px, 100%);
  }

  .nav-links {
    gap: 1.2rem;
    font-size: 0.86rem;
    letter-spacing: 0.13em;
  }

  .hero-logo-shell {
    width: min(440px, 84vw);
  }
}

@media (max-width: 860px) {
  .topbar {
    --topbar-side-width: 220px;
  }

  .brand {
    width: min(190px, 100%);
  }

  .nav-links {
    gap: 0.9rem 1.25rem;
    font-size: 0.84rem;
    letter-spacing: 0.12em;
  }

  .hero.hero-logo-section {
    min-height: calc(100svh - 126px);
    padding: 1.5rem 0 3rem;
  }

  .hero-logo-shell {
    width: min(430px, 84vw);
  }
}

@media (max-width: 640px) {
  .topbar {
    --topbar-side-width: 200px;
    padding: 0.72rem 0.9rem 0.95rem;
  }

  .brand {
    width: min(180px, 100%);
  }

  .nav-links {
    gap: 0.72rem 0.9rem;
    font-size: 0.78rem;
    letter-spacing: 0.11em;
  }

  .hero-logo-center {
    left: 0;
  }

  .hero-logo-shell {
    width: min(360px, 90vw);
  }
}


/* --- navbar, hero logo, and story placement update --- */
.topbar {
  --topbar-side-width: 260px;
  grid-template-columns: var(--topbar-side-width) minmax(0, 1fr) var(--topbar-side-width);
  gap: 1.6rem;
  padding: 1rem clamp(1.4rem, 3vw, 2.4rem);
}

.topbar::after {
  width: var(--topbar-side-width);
}

.brand {
  width: min(260px, 100%);
  padding: 0.22rem 0;
}

.nav-links {
  gap: clamp(1.8rem, 2.6vw, 3.2rem);
  font-size: 1.08rem;
  letter-spacing: 0.18em;
}

.nav-links a {
  padding: 0.32rem 0;
}

.hero.hero-logo-section {
  min-height: calc(78svh - 96px);
  padding: 1.75rem 0 1.2rem;
}

.hero-logo-shell {
  width: min(640px, 92vw);
}

.contact-section {
  padding-top: clamp(1rem, 3.8vw, 2.2rem);
  padding-bottom: 6rem;
}

.company-story {
  margin-top: 0;
  margin-bottom: 3rem;
}

.story-shell,
.story-copy {
  max-width: 100%;
}

@media (max-width: 1040px) {
  .topbar {
    --topbar-side-width: 228px;
    gap: 1.1rem;
    padding: 0.9rem 1.15rem;
  }

  .brand {
    width: min(228px, 100%);
  }

  .nav-links {
    gap: 1.4rem;
    font-size: 0.96rem;
    letter-spacing: 0.15em;
  }

  .hero.hero-logo-section {
    min-height: calc(74svh - 92px);
    padding: 1.5rem 0 1rem;
  }

  .hero-logo-shell {
    width: min(560px, 88vw);
  }
}

@media (max-width: 860px) {
  .topbar {
    --topbar-side-width: 220px;
    padding: 0.82rem 1rem 0.95rem;
  }

  .brand {
    width: min(205px, 100%);
  }

  .nav-links {
    gap: 0.95rem 1.2rem;
    font-size: 0.88rem;
    letter-spacing: 0.12em;
  }

  .hero.hero-logo-section {
    min-height: calc(66svh - 112px);
    padding: 1.2rem 0 0.85rem;
  }

  .hero-logo-shell {
    width: min(500px, 86vw);
  }

  .contact-section {
    padding-top: 1rem;
  }
}

@media (max-width: 640px) {
  .topbar {
    --topbar-side-width: 188px;
    padding: 0.78rem 0.85rem 0.92rem;
  }

  .brand {
    width: min(176px, 100%);
  }

  .nav-links {
    gap: 0.72rem 0.9rem;
    font-size: 0.78rem;
    letter-spacing: 0.11em;
  }

  .hero.hero-logo-section {
    min-height: calc(58svh - 108px);
    padding: 0.95rem 0 0.7rem;
  }

  .hero-logo-shell {
    width: min(400px, 92vw);
  }

  .contact-section {
    padding-top: 0.85rem;
  }
}


@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .topbar,
  .dashboard-panel,
  .dashboard-card,
  .floating-card,
  .metric-card,
  .glass-card,
  .contact-form,
  .quote-panel,
  .form-success-backdrop {
    backdrop-filter: none;
  }
}

@media (max-width: 900px), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .noise,
  .grid-overlay,
  .aurora {
    display: none;
  }

  .topbar,
  .dashboard-panel,
  .dashboard-card,
  .floating-card,
  .metric-card,
  .glass-card,
  .contact-form,
  .quote-panel,
  .form-success-backdrop {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .topbar {
    background: rgba(3, 5, 8, 0.96);
  }

  .story-fragment {
    transition: none;
  }
}

html.light-glow .story-fragment {
  color: rgba(245, 247, 251, calc(0.42 + (var(--glow-progress) * 0.58)));
  text-shadow:
    0 0 calc(0.4px + (var(--glow-progress) * 0.6px)) rgba(255, 255, 255, calc(0.03 + (var(--glow-progress) * 0.08))),
    0 0 calc(3px + (var(--glow-progress) * 6px)) rgba(255, 255, 255, calc(var(--glow-progress) * 0.08));
}

html.reduced-effects .noise,
html.reduced-effects .grid-overlay,
html.reduced-effects .aurora {
  display: none;
}

html.reduced-effects .topbar,
html.reduced-effects .dashboard-panel,
html.reduced-effects .dashboard-card,
html.reduced-effects .floating-card,
html.reduced-effects .metric-card,
html.reduced-effects .glass-card,
html.reduced-effects .contact-form,
html.reduced-effects .quote-panel,
html.reduced-effects .form-success-backdrop {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html.reduced-effects .topbar {
  background: rgba(3, 5, 8, 0.96);
}

html.reduced-effects .intro-reveal,
html.reduced-effects .intro-scale,
html.reduced-effects .scroll-reveal {
  animation: none;
  transition: none;
  opacity: 1;
  transform: none;
}

html.reduced-effects .story-fragment {
  transition: none;
}


/* --- final navbar alignment patch --- */
.topbar {
  --topbar-side-width: 192px;
  grid-template-columns: var(--topbar-side-width) minmax(0, 1fr) var(--topbar-side-width);
  gap: 1.1rem;
  padding: 0.62rem clamp(0.95rem, 1.8vw, 1.4rem);
}

.topbar::after {
  width: var(--topbar-side-width);
}

.brand {
  width: min(188px, 100%);
  padding: 0;
}

.brand::before {
  display: none;
}

.brand-image {
  filter:
    drop-shadow(0 0 1px rgba(255, 255, 255, 0.8))
    drop-shadow(0 0 8px rgba(255, 255, 255, 0.78))
    drop-shadow(0 0 18px rgba(255, 255, 255, 0.4));
}

.nav-links {
  gap: clamp(1.35rem, 2vw, 2.35rem);
  font-size: 0.98rem;
  letter-spacing: 0.16em;
}

.nav-links a {
  padding: 0.2rem 0;
}

.nav-anchor {
  top: -4.7rem;
}

.hero.hero-logo-section {
  min-height: calc(78svh - 72px);
}

@media (max-width: 1040px) {
  .topbar {
    --topbar-side-width: 176px;
    gap: 0.95rem;
    padding: 0.58rem 0.95rem;
  }

  .brand {
    width: min(172px, 100%);
  }

  .nav-links {
    gap: 1.1rem;
    font-size: 0.9rem;
    letter-spacing: 0.14em;
  }
}

@media (max-width: 860px) {
  .topbar {
    --topbar-side-width: 168px;
    padding: 0.54rem 0.82rem 0.66rem;
  }

  .brand {
    width: min(164px, 100%);
  }

  .nav-links {
    gap: 0.82rem 1rem;
    font-size: 0.82rem;
    letter-spacing: 0.11em;
  }

  .nav-anchor {
    top: -5.7rem;
  }
}

@media (max-width: 640px) {
  .topbar {
    --topbar-side-width: 152px;
    padding: 0.5rem 0.72rem 0.62rem;
  }

  .brand {
    width: min(148px, 100%);
  }

  .nav-links {
    gap: 0.65rem 0.82rem;
    font-size: 0.74rem;
    letter-spacing: 0.1em;
  }
}
