:root {
  color-scheme: light;
  --blue: #2f7cf6;
  --blue-strong: #1768e8;
  --blue-soft: #eaf3ff;
  --ink: #142033;
  --muted: #5d697c;
  --line: rgba(22, 37, 58, 0.1);
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(32, 62, 112, 0.12);
  --shadow-soft: 0 16px 42px rgba(28, 57, 102, 0.1);
  --glow: 0 0 0 1px rgba(47, 124, 246, 0.12), 0 18px 46px rgba(47, 124, 246, 0.25);
  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:
    radial-gradient(circle at 50% 36%, rgba(47, 124, 246, 0.07), transparent 32rem),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 62%, #ffffff 100%);
  overflow-x: hidden;
}

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

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

.section-shell {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

section[id] {
  scroll-margin-top: 116px;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 24px;
  left: 50%;
  width: min(1150px, calc(100% - 36px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 10px 12px 10px 4px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 56px rgba(87, 112, 153, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(104px, 10vw, 136px);
  height: 62px;
  overflow: visible;
  padding-left: 6px;
}

.brand img {
  width: auto;
  height: clamp(58px, 5.8vw, 72px);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
  font-size: 14px;
  font-weight: 650;
  color: #142033;
}

.main-nav a {
  transition: color 180ms ease, transform 180ms ease, text-shadow 180ms ease;
}

.main-nav a:hover {
  color: var(--blue);
  transform: translateY(-1px);
  text-shadow: 0 0 20px rgba(47, 124, 246, 0.28);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.nav-cta::before,
.button::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.55), transparent 34%), linear-gradient(135deg, rgba(47, 124, 246, 0.34), rgba(255, 255, 255, 0));
  transition: opacity 220ms ease;
}

.nav-cta {
  padding: 0 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  box-shadow: 0 14px 28px rgba(47, 124, 246, 0.25);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow), 0 18px 34px rgba(47, 124, 246, 0.22);
}

.nav-cta:hover::before,
.button:hover::before {
  opacity: 1;
}

.button.secondary:hover {
  border-color: rgba(47, 124, 246, 0.22);
  background: rgba(255, 255, 255, 0.94);
}

.hero {
  position: relative;
  --people-scroll: 42vh;
  --people-x: 0px;
  --people-parallax-x: 0px;
  --people-parallax-y: 0px;
  --people-scale: 0.9;
  --people-rotate: -2deg;
  --people-opacity: 0;
  min-height: 100vh;
  height: 100svh;
  overflow: visible;
  background: #fff;
  z-index: 1;
}

.hero-bg,
.hero-people {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.hero-bg {
  z-index: 0;
  filter: saturate(1.02) brightness(1.02);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 44%, rgba(0, 0, 0, 0.92) 57%, rgba(0, 0, 0, 0.68) 70%, rgba(0, 0, 0, 0.3) 86%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 44%, rgba(0, 0, 0, 0.92) 57%, rgba(0, 0, 0, 0.68) 70%, rgba(0, 0, 0, 0.3) 86%, transparent 100%);
}

.hero-people {
  z-index: 3;
  opacity: var(--people-opacity);
  filter: drop-shadow(0 20px 36px rgba(20, 40, 90, 0.20));
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, rgba(0, 0, 0, 0.72) 82%, rgba(0, 0, 0, 0.18) 93%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 72%, rgba(0, 0, 0, 0.72) 82%, rgba(0, 0, 0, 0.18) 93%, transparent 100%);
  transform: translate3d(
      calc(var(--people-x, -65vw) + var(--people-parallax-x, 0px)),
      calc(var(--people-scroll, 32vh) + var(--people-parallax-y, 0px)),
      0
    )
    scale(var(--people-scale, 0.44))
    rotate(var(--people-rotate, -14deg));
  transform-origin: 50% 55%;
  transition: transform 80ms linear;
  object-fit: contain;
  object-position: center center;
}

@keyframes people-float {
  from {
    filter: saturate(1.03) contrast(1.03) drop-shadow(0 22px 28px rgba(38, 55, 77, 0.1));
  }
  to {
    filter: saturate(1.08) contrast(1.05) drop-shadow(0 32px 42px rgba(38, 55, 77, 0.16));
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 18%),
    radial-gradient(circle at 78% 19%, rgba(255, 255, 255, 0.2), transparent 22rem);
}

.hero-fade {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 58vh;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.04) 18%, rgba(255, 255, 255, 0.38) 43%, rgba(255, 255, 255, 0.82) 68%, #fff 100%);
}

.hero-fade::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 68%;
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.96) 42%, rgba(255, 255, 255, 0) 76%);
}

.intro {
  position: relative;
  overflow: visible;
  z-index: 4;
  margin-top: clamp(-100px, -8vw, -56px);
  padding: 0 0 clamp(70px, 8vw, 106px);
  text-align: center;
}

.intro > *:not(.cloud-cursor) {
  position: relative;
  z-index: 2;
}

.cloud-cursor {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 210px;
  height: 150px;
  pointer-events: none;
  opacity: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 54%, rgba(255, 255, 255, 0.98) 0 26%, rgba(255, 255, 255, 0) 58%),
    radial-gradient(circle at 58% 42%, rgba(255, 255, 255, 0.92) 0 24%, rgba(255, 255, 255, 0) 62%),
    radial-gradient(circle at 70% 66%, rgba(236, 246, 255, 0.84) 0 20%, rgba(236, 246, 255, 0) 58%),
    radial-gradient(circle at 43% 72%, rgba(222, 238, 255, 0.56), rgba(222, 238, 255, 0) 66%);
  filter: blur(16px);
  mix-blend-mode: screen;
  transition: opacity 220ms ease;
}

.cloud-cursor.is-active {
  opacity: 0.72;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
}

.intro-title {
  position: relative;
  isolation: isolate;
  max-width: 650px;
  margin: 0 auto;
  color: var(--ink);
  font-family: "SF Pro Display", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(48px, 7vw, 82px);
  font-weight: 900;
  line-height: 0.97;
  letter-spacing: 0;
  text-wrap: balance;
}

.intro-title::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 14% 2% 2%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 55% 62%, rgba(47, 124, 246, 0.22), transparent 34%),
    radial-gradient(circle at 46% 48%, rgba(255, 255, 255, 0.92), transparent 50%);
  opacity: 0;
  filter: blur(34px);
  transform: scale(0.9);
  transition: opacity 780ms ease, transform 780ms ease;
}

.intro.title-visible .intro-title::before {
  opacity: 0.66;
  transform: scale(1);
}

.title-line {
  display: block;
  overflow: visible;
  padding: 0.06em 0 0.1em;
}

.title-line + .title-line {
  margin-top: 0.02em;
}

.title-line > span {
  display: inline-block;
}

.title-char {
  display: inline-block;
  will-change: transform, opacity, filter;
  /* Initial state set by JS — scroll-driven animation */
}

.intro-title strong {
  position: relative;
  display: inline-block;
  color: transparent;
  font-weight: inherit;
  background:
    linear-gradient(110deg, #1768e8 0%, #2f7cf6 38%, #68a6ff 50%, #1768e8 64%, #2f7cf6 100%);
  background-size: 230% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 16px 18px rgba(47, 124, 246, 0.2));
  animation: title-shimmer 5.4s ease-in-out infinite;
}

.intro-title strong .title-char {
  color: transparent;
  background:
    linear-gradient(110deg, #1768e8 0%, #2f7cf6 38%, #68a6ff 50%, #1768e8 64%, #2f7cf6 100%);
  background-size: 230% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: title-shimmer 5.4s ease-in-out infinite;
}

.intro-title strong::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 2%;
  bottom: -0.08em;
  height: 0.12em;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(47, 124, 246, 0), rgba(47, 124, 246, 0.34), rgba(47, 124, 246, 0));
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: opacity 540ms ease 780ms, transform 640ms ease 780ms;
}

.intro.title-visible .intro-title strong::after {
  opacity: 0.75;
  transform: scaleX(1);
}

.intro-subtitle {
  max-width: 680px;
  margin: 24px auto 0;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: 0;
  text-wrap: balance;
}

@keyframes title-shimmer {
  0%,
  62% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

.intro-copy {
  max-width: 690px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.8;
}

.button-row {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.button {
  padding: 0 28px;
  border: 1px solid transparent;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  box-shadow: 0 16px 32px rgba(47, 124, 246, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(25, 42, 70, 0.06);
}

.section-heading {
  text-align: center;
  margin-bottom: 30px;
}

.section-heading h2,
.cta h2,
.process h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 4.2vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p:last-child,
.process p {
  max-width: 680px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.services {
  padding-bottom: 58px;
}

.references-showcase {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 8vw, 112px) 0 clamp(70px, 8vw, 104px);
  background:
    radial-gradient(circle at 18% 20%, rgba(47, 124, 246, 0.12), transparent 28rem),
    radial-gradient(circle at 86% 32%, rgba(255, 255, 255, 0.98), transparent 28rem),
    linear-gradient(180deg, rgba(248, 251, 255, 0.32), #eef6ff 48%, #ffffff 100%);
}

.references-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 52%, rgba(47, 124, 246, 0.06) 52% 53%, transparent 53% 100%),
    repeating-linear-gradient(165deg, rgba(47, 124, 246, 0.035) 0 1px, transparent 1px 30px);
  opacity: 0.74;
}

.references-showcase .section-shell {
  position: relative;
  z-index: 1;
}

.reference-bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.reference-card {
  grid-column: span 2;
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(18, 39, 67, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 60px rgba(27, 56, 103, 0.1);
  transform: translateY(0);
  transition: transform 320ms ease, box-shadow 320ms ease, border-color 320ms ease;
}

.reference-card.is-featured {
  grid-column: span 4;
  min-height: 620px;
}

.reference-card:nth-child(6),
.reference-card:nth-child(9) {
  grid-column: span 3;
}

.reference-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  opacity: 0;
  background:
    radial-gradient(circle at 20% 10%, color-mix(in srgb, var(--case-color), transparent 74%), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), color-mix(in srgb, var(--case-color), #ffffff 88%));
  transition: opacity 320ms ease;
}

.reference-card a {
  position: relative;
  z-index: 1;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  padding: 16px;
}

.reference-card:hover {
  transform: translateY(-12px);
  border-color: color-mix(in srgb, var(--case-color), #2f7cf6 35%);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--case-color), transparent 78%),
    0 34px 86px color-mix(in srgb, var(--case-color), transparent 74%);
}

.reference-card:hover::before {
  opacity: 1;
}

.reference-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.35;
  border-radius: 14px;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.7), transparent 36%),
    #edf4ff;
}

.reference-visual::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(48px, 5.2vw, 72px);
  pointer-events: none;
  background: linear-gradient(180deg, #f7fbff 0%, rgba(247, 251, 255, 0.96) 52%, rgba(247, 251, 255, 0) 100%);
}

.reference-card.is-featured .reference-visual {
  aspect-ratio: 1.7;
}

.reference-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(180deg, transparent 42%, color-mix(in srgb, var(--case-color), transparent 74%) 100%);
  transition: opacity 320ms ease;
}

.reference-card:hover .reference-visual::after {
  opacity: 1;
}

.reference-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  transform: translateY(-11%) scale(1.22);
  transition: transform 700ms ease, filter 320ms ease;
}

.reference-card:hover .reference-visual img {
  transform: translateY(-12%) scale(1.26);
  filter: saturate(1.08) contrast(1.03);
}

.reference-status {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  color: #fff;
  background: rgba(20, 32, 51, 0.46);
  backdrop-filter: blur(14px);
  font-size: 11px;
  font-weight: 850;
}

.reference-content {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-top: 20px;
}

.reference-content p {
  margin: 0 0 9px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.reference-content h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(20px, 2.1vw, 30px);
  line-height: 1.08;
}

.reference-arrow {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  box-shadow: 0 16px 34px rgba(47, 124, 246, 0.22);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.reference-card:hover .reference-arrow {
  transform: translate(4px, -4px);
  box-shadow: 0 20px 44px rgba(47, 124, 246, 0.3);
}

.reference-text {
  margin: 16px 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.reference-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.reference-tags span {
  padding: 7px 10px;
  border: 1px solid rgba(47, 124, 246, 0.12);
  border-radius: 999px;
  color: #244269;
  background: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 750;
}

.reference-card small {
  display: block;
  margin-top: 16px;
  color: color-mix(in srgb, var(--case-color), var(--blue) 48%);
  font-size: 12px;
  font-weight: 850;
}

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

.service-card {
  grid-column: span 2;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 280px;
  padding: 30px 24px 24px;
  border: 1px solid rgba(18, 39, 67, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateY(0);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease, background 260ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  opacity: 0;
  background:
    radial-gradient(circle at 18% 8%, rgba(47, 124, 246, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(235, 244, 255, 0.88));
  transition: opacity 260ms ease;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(47, 124, 246, 0.22);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0 0 1px rgba(47, 124, 246, 0.08), 0 28px 64px rgba(47, 124, 246, 0.18);
}

.service-card:hover::before {
  opacity: 1;
}

.icon-wrap {
  color: var(--blue);
  margin-bottom: 22px;
  transition: transform 260ms ease, filter 260ms ease;
}

.service-card:hover .icon-wrap {
  transform: translateY(-3px) scale(1.08);
  filter: drop-shadow(0 10px 16px rgba(47, 124, 246, 0.28));
}

.service-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.service-card p {
  margin: 16px 0 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.service-card a {
  margin-top: auto;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  transition: transform 220ms ease, color 220ms ease;
}

.service-card:hover a {
  transform: translateX(3px);
  color: var(--blue-strong);
}

.stats {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  margin-bottom: 62px;
  padding: 34px 24px;
  border: 1px solid rgba(18, 39, 67, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.78;
  background:
    radial-gradient(circle at 18% 18%, rgba(47, 124, 246, 0.12), transparent 28%),
    radial-gradient(circle at 82% 22%, rgba(87, 167, 255, 0.12), transparent 30%);
}

.stat {
  position: relative;
  min-height: 130px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--blue);
  border-right: 1px solid var(--line);
  border-radius: 12px;
  transition: transform 240ms ease, background 240ms ease, box-shadow 240ms ease;
}

.stat:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 42px rgba(47, 124, 246, 0.14);
}

.stat svg {
  transition: transform 240ms ease, filter 240ms ease;
}

.stat:hover svg {
  transform: scale(1.1);
  filter: drop-shadow(0 10px 18px rgba(47, 124, 246, 0.3));
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  color: var(--ink);
  display: block;
  margin-top: 8px;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1;
}

.stat span {
  color: var(--muted);
  margin-top: 6px;
  font-size: 14px;
}

.cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
  min-height: 385px;
  margin-bottom: 70px;
  padding: clamp(34px, 6vw, 66px);
  border: 1px solid rgba(47, 124, 246, 0.12);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(232, 243, 255, 0.84)),
    radial-gradient(circle at 92% 20%, rgba(47, 124, 246, 0.18), transparent 26rem);
  box-shadow: var(--shadow);
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 50%, rgba(47, 124, 246, 0.08) 50% 52%, transparent 52% 100%),
    repeating-linear-gradient(165deg, rgba(47, 124, 246, 0.05) 0 1px, transparent 1px 22px);
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
  pointer-events: none;
}

.cta-copy {
  position: relative;
  z-index: 1;
}

.cta-copy h2 {
  max-width: 470px;
}

.cta-copy h2::first-line {
  color: var(--ink);
}

.cta-copy h2 {
  color: var(--blue);
}

.cta-copy p {
  max-width: 430px;
  margin: 24px 0 32px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.button.light {
  min-height: 54px;
}

.device-scene {
  position: relative;
  z-index: 1;
  min-height: 260px;
}

.laptop {
  position: absolute;
  right: 86px;
  bottom: 10px;
  width: min(430px, 72%);
}

.laptop-screen {
  min-height: 245px;
  padding: 34px 34px;
  border: 10px solid #111722;
  border-radius: 14px 14px 8px 8px;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(11, 20, 35, 0.96) 0%, rgba(11, 26, 48, 0.92) 48%, rgba(255, 255, 255, 0.16) 49%, rgba(255, 255, 255, 0.32) 100%),
    url('../images/assets/heaven-hero.webp') center / cover;
  box-shadow: 0 28px 44px rgba(17, 35, 67, 0.24);
}

.mini-logo {
  display: block;
  margin-bottom: 34px;
  color: #93bcff;
  font-size: 11px;
  font-weight: 850;
}

.laptop-screen strong {
  display: block;
  max-width: 280px;
  font-size: 24px;
  line-height: 1.03;
}

.laptop-screen em {
  color: #61a0ff;
  font-style: normal;
}

.laptop-screen p {
  max-width: 250px;
  margin: 16px 0 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.5;
}

.mini-actions {
  display: flex;
  gap: 9px;
}

.mini-actions span {
  width: 74px;
  height: 20px;
  border-radius: 999px;
  background: #2f7cf6;
}

.mini-actions span:last-child {
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.laptop-base {
  width: 112%;
  height: 16px;
  margin-left: -6%;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(180deg, #d8dde6, #9aa4b6);
  box-shadow: 0 18px 28px rgba(35, 57, 91, 0.18);
}

.phone {
  position: absolute;
  right: 18px;
  bottom: 4px;
  width: 138px;
  padding: 8px;
  border-radius: 26px;
  background: #121722;
  box-shadow: 0 24px 38px rgba(17, 35, 67, 0.28);
}

.phone-screen {
  min-height: 236px;
  padding: 28px 16px 18px;
  border-radius: 20px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(12, 22, 38, 0.96), rgba(15, 36, 66, 0.92)),
    url('../images/assets/heaven-hero.webp') center / cover;
}

.phone-screen span {
  display: block;
  width: 32px;
  height: 4px;
  margin: -16px auto 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.phone-screen strong {
  display: block;
  font-size: 16px;
  line-height: 1.18;
}

.phone-screen p {
  margin: 14px 0 24px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  line-height: 1.5;
}

.phone-screen i {
  display: block;
  width: 62px;
  height: 18px;
  border-radius: 999px;
  background: var(--blue);
}

.process {
  max-width: 800px;
  padding: 0 0 74px;
  text-align: center;
}

.footer {
  background:
    radial-gradient(circle at 50% 100%, rgba(47, 124, 246, 0.1), transparent 34rem),
    #f5f8fd;
  border-top: 1px solid rgba(18, 39, 67, 0.08);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.7fr repeat(5, 1fr);
  gap: 28px;
  padding: 56px 0 50px;
}

.footer-brand img {
  width: 150px;
  height: auto;
  margin-bottom: 20px;
}

.footer-brand p,
.footer-col a {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.footer-col h3 {
  margin: 0 0 18px;
  font-size: 15px;
}

.footer-col a {
  display: block;
  margin-bottom: 12px;
}

.footer-signature {
  border-top: 1px solid rgba(18, 39, 67, 0.08);
  padding: 18px 0 24px;
  text-align: center;
}

.footer-signature p {
  margin: 0;
  color: color-mix(in srgb, var(--ink), transparent 28%);
  font-size: clamp(12px, 1.15vw, 15px);
  font-weight: 750;
  line-height: 1.55;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.footer-signature p + p {
  margin-top: 4px;
  color: color-mix(in srgb, var(--muted), transparent 10%);
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 650;
}

.footer-signature a {
  position: relative;
  display: inline-block;
  color: var(--blue);
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-signature a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 180ms ease, transform 180ms ease;
}

.footer-signature a:hover {
  color: var(--blue-strong);
  transform: translateY(-1px);
}

.footer-signature a:hover::after {
  opacity: 0.55;
  transform: scaleX(1);
}

.footer-heart {
  color: var(--blue-strong);
  filter: none;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal.is-visible .service-card,
.reveal.is-visible .stat {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal,
  .main-nav a,
  .button,
  .nav-cta {
    transition: none;
  }

  .hero-people {
    animation: none;
    transform: none;
  }

  .title-char {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  .intro-title strong {
    animation: none;
  }
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .main-nav {
    display: none;
  }

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

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

  .reference-card,
  .reference-card.is-featured,
  .reference-card:nth-child(6),
  .reference-card:nth-child(9) {
    grid-column: span 1;
    min-height: 430px;
  }

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

@media (max-width: 760px) {
  .site-header {
    top: 14px;
    width: calc(100% - 24px);
    padding: 8px;
  }

  .brand img {
    width: 76px;
  }

  .nav-cta {
    min-height: 42px;
    padding: 0 14px;
    font-size: 12px;
  }

  .hero-bg {
    object-position: 52% 50%;
  }

  .hero-people {
    object-position: 50% 46%;
  }

  .intro {
    margin-top: -70px;
    padding-bottom: 62px;
  }

  .intro-title {
    font-size: clamp(42px, 13vw, 58px);
  }

  .intro-copy {
    line-height: 1.7;
  }

  .button-row {
    gap: 14px;
  }

  .button {
    width: min(100%, 320px);
  }

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

  .references-showcase {
    padding-top: 62px;
  }

  .reference-bento {
    grid-template-columns: 1fr;
  }

  .reference-card,
  .reference-card.is-featured,
  .reference-card:nth-child(6),
  .reference-card:nth-child(9) {
    min-height: auto;
  }

  .reference-card a {
    padding: 12px;
  }

  .reference-visual,
  .reference-card.is-featured .reference-visual {
    aspect-ratio: 1.22;
  }

  .service-card {
    min-height: auto;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 18px;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    min-height: 142px;
  }

  .stat:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .cta {
    grid-template-columns: 1fr;
    padding: 30px 22px 28px;
  }

  .device-scene {
    min-height: 300px;
  }

  .laptop {
    right: 48px;
    width: 86%;
  }

  .laptop-screen {
    min-height: 210px;
    padding: 28px 22px;
  }

  .phone {
    right: 0;
    width: 120px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .section-shell {
    width: min(100% - 24px, 1140px);
  }

  .nav-cta {
    width: 44px;
    padding: 0;
    overflow: hidden;
    color: transparent;
    position: relative;
  }

  .nav-cta span {
    color: #fff;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .hero {
    min-height: 100svh;
  }

  .intro {
    margin-top: -50px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .stat {
    border-bottom: 1px solid var(--line);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .device-scene {
    min-height: 260px;
  }

  .laptop {
    right: 20px;
    width: 94%;
  }

  .laptop-screen {
    min-height: 190px;
    border-width: 8px;
  }

  .laptop-screen strong {
    font-size: 19px;
  }

  .phone {
    width: 100px;
  }

  .phone-screen {
    min-height: 190px;
    padding: 26px 12px 14px;
  }
}

/* ─────────────────────────────────────────────
   REFERENCE STORIES
───────────────────────────────────────────── */

.reference-stories {
  display: flex;
  flex-direction: column;
  gap: clamp(80px, 10vw, 130px);
  margin-top: 20px;
}

.reference-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.reference-story.is-reversed .story-copy { order: 2; }
.reference-story.is-reversed .story-visual { order: 1; }

/* ── Copy column ── */
.story-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.story-copy h3 {
  margin: 0 0 18px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.08;
  color: var(--ink);
}

.story-lead {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
}

.google-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(47, 124, 246, 0.14);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 4px 12px rgba(47, 124, 246, 0.08);
  font-size: 13px;
}

.google-word {
  font-weight: 750;
  color: var(--ink);
}

.stars {
  color: #f4a91d;
  font-size: 14px;
  letter-spacing: 1px;
}

.story-copy blockquote {
  margin: 0 0 10px;
  padding: 18px 22px;
  border-left: 3px solid var(--blue);
  border-radius: 0 10px 10px 0;
  background: rgba(47, 124, 246, 0.04);
  font-size: 15px;
  line-height: 1.72;
  color: var(--ink);
  font-style: italic;
}

.story-person {
  display: block;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.story-projects {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.story-projects a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  color: var(--blue);
  font-size: 13px;
  font-weight: 750;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.story-projects a::after {
  content: "→";
  font-size: 11px;
}

.story-projects a:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 124, 246, 0.3);
  box-shadow: 0 8px 20px rgba(47, 124, 246, 0.12);
}

/* ── Visual column (stacked screenshots) ── */
.story-visual {
  position: relative;
  height: 520px;
}

/* Colored glow behind the visual column */
.story-visual::before {
  content: "";
  position: absolute;
  inset: 10% -8% -6% -8%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 60%,
    color-mix(in srgb, var(--glow-color, #2f7cf6), transparent 62%) 0%,
    transparent 72%);
  filter: blur(38px);
  pointer-events: none;
  z-index: 0;
}

.story-screen {
  position: absolute;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(18, 39, 67, 0.09);
  background: #fff;
  text-decoration: none;
  transition: transform 380ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 380ms ease,
              opacity 380ms ease;
}

.story-screen:hover {
  z-index: 10 !important;
  transform: translateY(-14px) scale(1.04) !important;
  box-shadow: 0 52px 96px rgba(20, 40, 80, 0.34) !important;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 300ms ease;
}

.screen-bar {
  flex: 0 0 auto;
  display: block;
  height: 28px;
  background: linear-gradient(180deg, #f8fafd, #eef2f8);
  border-bottom: 1px solid rgba(18, 39, 67, 0.07);
  position: relative;
}

.screen-bar::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(205, 65, 65, 0.55);
  box-shadow: 13px 0 0 rgba(225, 165, 35, 0.55), 26px 0 0 rgba(55, 170, 65, 0.5);
}

/* URL bar decoration */
.screen-bar::after {
  content: "";
  position: absolute;
  left: 56px;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  height: 14px;
  border-radius: 7px;
  background: rgba(18, 39, 67, 0.06);
}

.story-screen img {
  flex: 1;
  min-height: 0;
  width: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 500ms ease;
}

.story-screen:hover img {
  transform: scale(1.02) translateY(-1%);
}

.screen-label {
  display: none;
}

/* Screen positions — normal layout (visual on right) */
.screen-1 {
  width: 70%;
  height: 74%;
  bottom: 0;
  right: 0;
  z-index: 3;
  box-shadow: 0 36px 72px rgba(20, 40, 80, 0.26),
              0 0 0 1px rgba(18, 39, 67, 0.08);
}

.screen-2 {
  width: 62%;
  height: 65%;
  top: 10px;
  right: 14%;
  z-index: 2;
  opacity: 0.9;
  box-shadow: 0 22px 50px rgba(20, 40, 80, 0.18),
              0 0 0 1px rgba(18, 39, 67, 0.06);
}

.screen-3 {
  width: 52%;
  height: 54%;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0.78;
  box-shadow: 0 16px 36px rgba(20, 40, 80, 0.13),
              0 0 0 1px rgba(18, 39, 67, 0.05);
}

/* Reversed layout (visual on left) */
.reference-story.is-reversed .screen-1 { right: auto; left: 0; }
.reference-story.is-reversed .screen-2 { right: auto; left: 14%; }
.reference-story.is-reversed .screen-3 { left: auto; right: 0; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .reference-story,
  .reference-story.is-reversed {
    grid-template-columns: 1fr;
  }

  .reference-story.is-reversed .story-copy,
  .reference-story.is-reversed .story-visual {
    order: unset;
  }

  .story-visual {
    height: 340px;
  }
}

@media (max-width: 600px) {
  .story-visual {
    height: 280px;
  }

  .screen-1 { width: 72%; height: 76%; }
  .screen-2 { width: 62%; right: 12%; height: 68%; }
  .screen-3 { width: 52%; height: 56%; }
}

/* ─────────────────────────────────────────────
   MOBILE MENU
───────────────────────────────────────────── */

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-right: 6px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), opacity 200ms ease;
}

.menu-toggle.is-open span:first-child {
  transform: translateY(9px) rotate(45deg);
}

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

.menu-toggle.is-open span:last-child {
  transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 80px;
  left: 50%;
  width: min(420px, calc(100% - 32px));
  transform: translateX(-50%) translateY(-8px);
  z-index: 200;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow: 0 24px 64px rgba(87, 112, 153, 0.18);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.mobile-menu a {
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  transition: background 180ms ease, color 180ms ease;
}

.mobile-menu a:hover {
  background: var(--blue-soft);
  color: var(--blue);
}

.mobile-menu-cta {
  margin-top: 8px;
  padding: 16px 18px !important;
  background: linear-gradient(135deg, var(--blue), var(--blue-strong)) !important;
  color: #fff !important;
  border-radius: 14px !important;
  text-align: center;
  font-weight: 800 !important;
}

.mobile-menu-cta:hover {
  background: linear-gradient(135deg, var(--blue-strong), var(--blue)) !important;
  color: #fff !important;
}

@media (max-width: 1060px) {
  .menu-toggle { display: flex; }
}

@media (max-width: 760px) {
  .mobile-menu {
    top: 72px;
  }
}

/* ─────────────────────────────────────────────
   HEADER SCROLL EFFECT
───────────────────────────────────────────── */

.site-header {
  transition: background 300ms ease, box-shadow 300ms ease, border-color 300ms ease,
              opacity 500ms ease, transform 500ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 32px rgba(87, 112, 153, 0.14);
  border-color: rgba(255, 255, 255, 0.44);
}

/* Startseite: Nav erst einblenden wenn Intro-Section sichtbar */
.site-header.nav-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-12px);
}

.site-header.nav-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* ─────────────────────────────────────────────
   SCROLL HINT
───────────────────────────────────────────── */

.hero-scroll-hint {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.6s ease;
}

.hero-scroll-hint.is-hidden {
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Maus-Icon */
.scroll-hint-mouse {
  width: 26px;
  height: 40px;
  border: 2.5px solid rgba(30, 60, 120, 0.45);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 12px rgba(30, 60, 120, 0.12);
}

.scroll-hint-dot {
  width: 4px;
  height: 8px;
  background: rgba(30, 80, 200, 0.7);
  border-radius: 2px;
  animation: scroll-dot-fall 1.8s ease-in-out infinite;
}

/* Doppel-Chevron darunter */
.scroll-hint-chevrons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
  animation: scroll-chevron-pulse 1.8s ease-in-out infinite;
}

.scroll-hint-chevrons svg {
  display: block;
  color: rgba(30, 80, 200, 0.55);
}

.scroll-hint-chevrons svg:last-child {
  margin-top: -6px;
  opacity: 0.45;
}

@keyframes scroll-dot-fall {
  0%   { transform: translateY(0);   opacity: 1; }
  60%  { transform: translateY(10px); opacity: 0; }
  61%  { transform: translateY(0);   opacity: 0; }
  100% { transform: translateY(0);   opacity: 1; }
}

@keyframes scroll-chevron-pulse {
  0%, 100% { transform: translateY(0);   opacity: 0.7; }
  50%       { transform: translateY(4px); opacity: 1;   }
}
