:root {
  --bg: #07090f;
  --bg-soft: #0d1120;
  --surface: rgba(15, 22, 38, 0.72);
  --surface-strong: rgba(15, 22, 38, 0.92);
  --text: #ecf2ff;
  --text-muted: #b2bdd6;
  --border: rgba(173, 190, 231, 0.2);
  --accent: #7b8dff;
  --accent-2: #46d7ff;
  --success: #6ee7b7;
  --error: #fca5a5;
  --container: min(1120px, 92vw);
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-soft: 0 24px 70px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: -3;
  background-image: linear-gradient(rgba(173, 190, 231, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(173, 190, 231, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.48));
}

body::after {
  z-index: -2;
  opacity: 0.22;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 0.7px, transparent 0.7px);
  background-size: 3px 3px;
}

.site-bg-gradient {
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background: radial-gradient(1100px circle at 8% -6%, rgba(123, 141, 255, 0.28), transparent 55%),
    radial-gradient(900px circle at 92% 10%, rgba(70, 215, 255, 0.22), transparent 50%),
    linear-gradient(160deg, #05060d 0%, #060911 45%, #080d18 100%);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.narrow {
  max-width: 760px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--surface-strong);
  color: var(--text);
  padding: 0.6rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  z-index: 120;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: transparent;
  backdrop-filter: none;
  transition: background-color 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(173, 190, 231, 0.16);
  background: rgba(7, 9, 15, 0.75);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.6rem;
  text-decoration: none;
  font-family: "Josefin Sans", "Space Grotesk", Inter, sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  font-size: 1.04rem;
}

.brand-logo {
  display: block;
  width: clamp(73px, 9.5vw, 92px);
  height: auto;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  margin: 0;
  border-radius: 999px;
  background: currentColor;
  transform: translateX(-50%);
  transform-origin: center;
  transition: transform 200ms ease, opacity 160ms ease, top 200ms ease;
}

.nav-toggle span:nth-child(1) {
  top: 14px;
}

.nav-toggle span:nth-child(2) {
  top: 20px;
}

.nav-toggle span:nth-child(3) {
  top: 26px;
}

.nav.is-open .nav-toggle span:nth-child(1) {
  top: 20px;
  transform: translateX(-50%) rotate(45deg);
}

.nav.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav.is-open .nav-toggle span:nth-child(3) {
  top: 20px;
  transform: translateX(-50%) rotate(-45deg);
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.4rem);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

html.nav-open,
body.nav-open {
  overflow: hidden;
}

.section {
  padding: clamp(4.5rem, 7vw, 6.5rem) 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(13, 19, 34, 0.22), rgba(12, 18, 31, 0.14));
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-family: "Space Grotesk", Inter, sans-serif;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

p {
  margin: 0;
}

.section-intro {
  color: var(--text-muted);
  max-width: 70ch;
  margin-top: 1rem;
}

.hero {
  position: relative;
  min-height: min(96svh, 980px);
  display: grid;
  align-items: center;
  overflow: clip;
}

.hero-media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#hero-neural-canvas,
.hero-fallback-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

#hero-neural-canvas {
  opacity: 0;
  transition: opacity 400ms ease;
}

.hero.is-animated #hero-neural-canvas {
  opacity: 1;
}

.hero-fallback-bg {
  background: radial-gradient(900px circle at 15% 18%, rgba(123, 141, 255, 0.28), transparent 46%),
    radial-gradient(700px circle at 84% 18%, rgba(70, 215, 255, 0.22), transparent 49%),
    linear-gradient(155deg, rgba(7, 10, 18, 0.95) 0%, rgba(5, 8, 14, 0.82) 55%, rgba(5, 8, 15, 0.94) 100%);
  opacity: 0.9;
  animation: float-gradient 18s ease-in-out infinite alternate;
}

.hero.is-animated .hero-fallback-bg {
  opacity: 0.32;
}

#ripple-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  pointer-events: none;
  z-index: 40;
  mix-blend-mode: screen;
  opacity: 0.62;
  filter: saturate(1.04);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: clamp(5.5rem, 10vw, 9rem) 0 clamp(4rem, 8vw, 6.5rem);
}

.hero-kicker {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--accent-2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
}

#hero-title {
  font-size: clamp(2.15rem, 6.5vw, 5rem);
  margin-bottom: 1.1rem;
}

.hero-title-screen {
  --hero-title-shift-duration: 500ms;
  --hero-title-final-duration: 920ms;
  --hero-title-cut-duration: 190ms;
  --hero-title-cut-stagger: 170ms;
  --hero-title-cut-sequence-duration: 390ms;
  --hero-title-post-cut-hold: 180ms;
  --hero-title-cut-handoff-delay: calc(
    var(--hero-title-cut-sequence-duration) + var(--hero-title-post-cut-hold)
  );
  --hero-title-final-fade-duration: 350ms;
  position: relative;
  display: grid;
  width: 100%;
  align-items: baseline;
  min-height: 1.2em;
  max-width: 100%;
  overflow: hidden;
  padding: 0;
  transition: none;
}

.hero-title-primary,
.hero-title-final {
  grid-area: 1 / 1;
  max-width: 100%;
}

.hero-title-primary {
  display: inline-grid;
  grid-template-rows: auto auto;
  justify-items: start;
  align-content: start;
  row-gap: 0.01em;
}

.hero-title-final {
  display: inline-flex;
  align-items: baseline;
}

.hero-title-prefix {
  position: relative;
  display: block;
  line-height: 1.08;
  white-space: nowrap;
}

.hero-title-prefix::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 0.085em;
  border-radius: 999px;
  transform: translateY(-50%);
  transform-origin: left center;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.hero-title-rotor {
  position: relative;
  display: inline-grid;
  align-items: start;
  box-sizing: border-box;
  overflow: hidden;
  max-width: 100%;
  min-width: 1ch;
  min-height: 1.08em;
  padding-right: 0.12em;
}

.hero-title-rotor::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 0.085em;
  border-radius: 999px;
  transform: translateY(-50%);
  transform-origin: left center;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.hero-title-line {
  grid-area: 1 / 1;
  display: block;
  white-space: nowrap;
  line-height: 1.08;
  will-change: transform, opacity, filter;
}

.hero-title-next {
  opacity: 0;
  transform: translateY(-118%);
}

.hero-title-final {
  opacity: 0;
  transform: translateY(0%);
}

.hero-title-screen.is-final .hero-title-primary {
  opacity: 0;
}

.hero-title-screen.is-final .hero-title-final {
  opacity: 1;
  transform: translateY(0%);
}

.hero-title-screen.is-transitioning-suffix .hero-title-current {
  animation: hero-title-out-down var(--hero-title-shift-duration) cubic-bezier(0.18, 0.7, 0.3, 1) forwards;
}

.hero-title-screen.is-transitioning-suffix .hero-title-next {
  animation: hero-title-in-down var(--hero-title-shift-duration) cubic-bezier(0.18, 0.7, 0.3, 1) forwards;
}

.hero-title-screen.is-transitioning-final .hero-title-primary {
  animation: hero-title-fade-out var(--hero-title-final-fade-duration) cubic-bezier(0.2, 0.68, 0.3, 1) forwards;
  animation-delay: var(--hero-title-cut-handoff-delay);
}

.hero-title-screen.is-transitioning-final {
  transition: height var(--hero-title-final-fade-duration) cubic-bezier(0.2, 0.68, 0.3, 1);
  transition-delay: var(--hero-title-cut-handoff-delay);
}

.hero-title-screen.is-transitioning-final .hero-title-final {
  animation: hero-title-fade-in var(--hero-title-final-fade-duration) cubic-bezier(0.2, 0.68, 0.3, 1) forwards;
  animation-delay: var(--hero-title-cut-handoff-delay);
}

.hero-title-screen.is-transitioning-final .hero-title-prefix::after {
  animation: hero-title-cut-through var(--hero-title-cut-duration) cubic-bezier(0.2, 0.68, 0.3, 1) forwards;
}

.hero-title-screen.is-transitioning-final .hero-title-rotor::after {
  animation: hero-title-cut-through var(--hero-title-cut-duration) cubic-bezier(0.2, 0.68, 0.3, 1) forwards;
  animation-delay: var(--hero-title-cut-stagger);
}

.hero-subheadline {
  color: var(--text-muted);
  max-width: 62ch;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
}

.hero-headline-zone {
  position: relative;
}

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

.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(1rem, 2.8vh, 1.9rem);
  transform: translate(-50%, 0);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  text-decoration: none;
  color: rgba(236, 242, 255, 0.9);
  border: 1px solid rgba(173, 190, 231, 0.28);
  background: rgba(8, 12, 22, 0.28);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 380ms ease;
  z-index: 3;
}

.hero-scroll-cue span {
  font-size: 1.2rem;
  line-height: 1;
}

.hero-scroll-cue.is-visible {
  opacity: 1;
  pointer-events: auto;
  animation: hero-scroll-cue-bob 1.7s ease-in-out infinite;
}

.hero-scroll-cue:hover,
.hero-scroll-cue:focus-visible {
  border-color: rgba(173, 190, 231, 0.45);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  min-height: 46px;
  padding: 0.78rem 1.3rem;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease,
    color 180ms ease, box-shadow 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--accent), #6e9bff 56%, var(--accent-2));
  color: #071020;
  box-shadow: 0 14px 32px rgba(81, 126, 255, 0.32);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 16px 36px rgba(81, 126, 255, 0.4);
}

.button-secondary {
  background: rgba(13, 18, 31, 0.55);
  border-color: var(--border);
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(173, 190, 231, 0.4);
  background: rgba(15, 21, 37, 0.78);
}

.help-grid,
.services-grid,
.cases-grid,
.metrics-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

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

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

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

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

.info-card,
.service-card,
.case-card,
.metric-card,
.process-step {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.info-card,
.service-card,
.case-card,
.metric-card {
  padding: 1.2rem;
}

.info-card-head,
.service-card-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.info-card-icon,
.service-card-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  color: var(--text);
}

.info-card p,
.service-card p,
.case-card li,
.metric-label {
  margin-top: 0.75rem;
  color: var(--text-muted);
}

.info-card {
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.info-card:hover,
.info-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(123, 141, 255, 0.54);
  background: rgba(17, 24, 42, 0.92);
}

.service-card {
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(123, 141, 255, 0.54);
  background: rgba(17, 24, 42, 0.92);
}

.process {
  margin-top: 2rem;
}

.process-progress {
  position: relative;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(173, 190, 231, 0.2);
  overflow: hidden;
}

.process-progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 25%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 999px;
  transition: width 320ms ease;
}

.process-steps {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.95rem;
}

.process-step {
  padding: 1.2rem;
  opacity: 0.72;
  transition: opacity 220ms ease, transform 220ms ease, border-color 220ms ease;
  cursor: pointer;
}

.process-step.is-active {
  opacity: 1;
  transform: translateY(-2px);
  border-color: rgba(123, 141, 255, 0.58);
}

.process-step:hover,
.process-step:focus-within {
  opacity: 1;
  transform: translateY(-2px);
  border-color: rgba(123, 141, 255, 0.58);
}

.process-step-head {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  margin-bottom: 0.55rem;
}

.process-step-icon {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
  color: var(--text);
}

.case-card ul {
  margin: 0.9rem 0 0;
  padding-left: 1.1rem;
}

.case-card strong {
  color: #d7e2ff;
}

.metric-card {
  text-align: center;
}

.metric-value {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.metric-label {
  margin-top: 0.65rem;
  font-size: 0.95rem;
}

.contact-form {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.95rem;
}

.field-row {
  display: grid;
  gap: 0.42rem;
}

label {
  font-weight: 600;
  font-size: 0.95rem;
}

input,
textarea,
button {
  font: inherit;
}

input,
textarea {
  width: 100%;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(10, 14, 24, 0.7);
  padding: 0.78rem 0.9rem;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

textarea {
  resize: vertical;
  min-height: 140px;
}

input:focus-visible,
textarea:focus-visible,
.button:focus-visible,
.nav-links a:focus-visible,
.nav-toggle:focus-visible,
.brand:focus-visible {
  outline: none;
  border-color: rgba(70, 215, 255, 0.68);
  box-shadow: 0 0 0 3px rgba(70, 215, 255, 0.22);
}

input.is-invalid,
textarea.is-invalid {
  border-color: rgba(252, 165, 165, 0.9);
}

.field-error {
  min-height: 1.1em;
  font-size: 0.86rem;
  color: var(--error);
}

.form-status {
  min-height: 1.2em;
  font-size: 0.94rem;
}

.form-status.is-success {
  color: var(--success);
}

.form-status.is-error {
  color: var(--error);
}

.form-status.is-pending {
  color: var(--accent-2);
}

.site-footer {
  border-top: 1px solid rgba(173, 190, 231, 0.16);
  padding: 1.4rem 0 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  color: var(--text-muted);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
}

.footer-logo {
  display: block;
  width: auto;
  height: clamp(28px, 3.1vw, 40px);
}

.footer-rotator-zone {
  flex: 1 1 320px;
  min-width: 280px;
  display: flex;
  justify-content: center;
}

.footer-title-screen {
  --footer-title-shift-duration: 480ms;
  --footer-title-final-duration: 740ms;
  --footer-title-cut-duration: 190ms;
  --footer-title-post-cut-hold: 170ms;
  --footer-title-cut-handoff-delay: calc(var(--footer-title-cut-duration) + var(--footer-title-post-cut-hold));
  --footer-title-final-fade-duration: 380ms;
  position: relative;
  display: grid;
  align-items: baseline;
  max-width: 100%;
  min-height: 1.28em;
  overflow: hidden;
  white-space: nowrap;
  font-size: clamp(0.82rem, 1.25vw, 0.98rem);
  line-height: 1.22;
  color: var(--text-muted);
  transition: none;
}

.footer-title-primary,
.footer-title-final {
  grid-area: 1 / 1;
  max-width: 100%;
}

.footer-title-primary {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0.26em;
  white-space: nowrap;
}

.footer-title-primary::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 0.08em;
  border-radius: 999px;
  transform: translateY(-50%);
  transform-origin: left center;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.footer-title-prefix {
  white-space: nowrap;
}

.footer-title-rotor {
  position: relative;
  display: inline-grid;
  align-items: start;
  overflow: hidden;
  min-width: 1ch;
}

.footer-title-line {
  grid-area: 1 / 1;
  display: block;
  white-space: nowrap;
  will-change: transform, opacity, filter;
}

.footer-title-next {
  opacity: 0;
  transform: translateY(-118%);
}

.footer-title-final {
  opacity: 0;
  transform: translateY(0%);
  white-space: nowrap;
}

.footer-title-screen.is-final .footer-title-primary {
  opacity: 0;
}

.footer-title-screen.is-final .footer-title-final {
  opacity: 1;
  transform: translateY(0%);
}

.footer-title-screen.is-transitioning-suffix .footer-title-current {
  animation: hero-title-out-down var(--footer-title-shift-duration) cubic-bezier(0.18, 0.7, 0.3, 1) forwards;
}

.footer-title-screen.is-transitioning-suffix .footer-title-next {
  animation: hero-title-in-down var(--footer-title-shift-duration) cubic-bezier(0.18, 0.7, 0.3, 1) forwards;
}

.footer-title-screen.is-transitioning-final .footer-title-primary {
  animation: hero-title-fade-out var(--footer-title-final-fade-duration) cubic-bezier(0.2, 0.68, 0.3, 1) forwards;
  animation-delay: var(--footer-title-cut-handoff-delay);
}

.footer-title-screen.is-transitioning-final {
  transition: height var(--footer-title-final-fade-duration) cubic-bezier(0.2, 0.68, 0.3, 1);
  transition-delay: var(--footer-title-cut-handoff-delay);
}

.footer-title-screen.is-transitioning-final .footer-title-primary::after {
  animation: hero-title-cut-through var(--footer-title-cut-duration) cubic-bezier(0.2, 0.68, 0.3, 1) forwards;
}

.footer-title-screen.is-transitioning-final .footer-title-final {
  animation: hero-title-fade-in var(--footer-title-final-fade-duration) cubic-bezier(0.2, 0.68, 0.3, 1) forwards;
  animation-delay: var(--footer-title-cut-handoff-delay);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes float-gradient {
  0% {
    transform: scale(1) translate3d(0, 0, 0);
  }

  100% {
    transform: scale(1.07) translate3d(-1.5%, -1.2%, 0);
  }
}

@keyframes hero-title-out-down {
  0% {
    opacity: 1;
    transform: translateY(0%);
    filter: blur(0);
  }

  100% {
    opacity: 0;
    transform: translateY(115%);
    filter: blur(0.9px);
  }
}

@keyframes hero-title-in-down {
  0% {
    opacity: 0;
    transform: translateY(-115%);
    filter: blur(0.9px);
  }

  100% {
    opacity: 1;
    transform: translateY(0%);
    filter: blur(0);
  }
}

@keyframes hero-title-cut-through {
  0% {
    width: 0;
    opacity: 0;
  }

  18% {
    opacity: 0.95;
  }

  100% {
    width: 100%;
    opacity: 0.95;
  }
}

@keyframes hero-title-fade-out {
  0% {
    opacity: 1;
    filter: blur(0);
  }

  100% {
    opacity: 0;
    filter: blur(1.2px);
  }
}

@keyframes hero-title-fade-in {
  0% {
    opacity: 0;
    filter: blur(1.2px);
    transform: translateY(-14%);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0%);
  }
}

@keyframes hero-scroll-cue-bob {
  0%,
  100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, -8px);
  }
}

@media (max-width: 1080px) {
  .help-grid,
  .cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 1024px) {
  .nav {
    min-height: 62px;
    align-items: center;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .brand-logo {
    width: clamp(72px, 11vw, 96px);
    height: auto;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    margin-left: auto;
    z-index: 132;
  }

  html.nav-open .site-header {
    position: fixed;
    inset: 0;
    z-index: 160;
    border-bottom: 0;
    background: var(--bg);
    backdrop-filter: none;
  }

  html.nav-open .site-header .nav {
    width: 100%;
    max-width: none;
    min-height: 100dvh;
    margin: 0;
    padding: 0.75rem 1.5rem;
  }

  html.nav-open .site-header .brand {
    opacity: 0;
    pointer-events: none;
  }

  html.nav-open .site-header .nav-toggle {
    position: fixed;
    top: 0.8rem;
    right: 0.9rem;
    margin-left: 0;
    z-index: 163;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 162;
    display: none;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.18rem;
    margin: 0;
    padding: 4.85rem 1.5rem 2.4rem;
    min-height: 100dvh;
    background: var(--bg);
    backdrop-filter: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  html.nav-open .site-header .nav-links,
  .nav.is-open .nav-links {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 0.24rem 0;
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, system-ui, sans-serif;
    font-size: clamp(1.25rem, 5.2vw, 1.85rem);
    line-height: 1.2;
    text-align: left;
    letter-spacing: -0.01em;
    font-weight: 500;
    color: rgba(236, 242, 255, 0.88);
  }

  .nav-links a:focus-visible {
    border-color: transparent;
    box-shadow: none;
  }
}

@media (max-width: 860px) {
  .brand-logo {
    width: clamp(72px, 23vw, 98px);
  }

  .services-grid,
  .process-steps,
  .help-grid,
  .cases-grid,
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-subheadline {
    max-width: 48ch;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  #ripple-canvas {
    display: none;
  }

  .hero-fallback-bg {
    animation: none;
  }

  .hero-scroll-cue.is-visible {
    animation: none;
  }
}

html.reduced-motion #ripple-canvas {
  display: none;
}

html.reduced-motion .hero-fallback-bg {
  animation: none;
}