:root {
  --bg: #05080d;
  --surface: rgba(10, 17, 27, 0.78);
  --surface-strong: rgba(13, 23, 36, 0.94);
  --line: rgba(150, 190, 220, 0.2);
  --line-strong: rgba(137, 198, 246, 0.42);
  --text: #f7fbff;
  --muted: #a9b8c8;
  --blue: #86c6f6;
  --cyan: #35d0ff;
  --shadow: 0 28px 90px rgba(0, 8, 20, 0.52);
  --radius: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(53, 208, 255, 0.16), transparent 32rem),
    radial-gradient(circle at 92% 26%, rgba(134, 198, 246, 0.12), transparent 30rem),
    linear-gradient(135deg, #030509 0%, #07111c 50%, #05080d 100%);
  background-color: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body.is-scrolled .site-header {
  padding-block: 0.55rem;
}

body.is-scrolled .nav {
  background: rgba(5, 9, 15, 0.82);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  pointer-events: none;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  color: #03101a;
  background: var(--blue);
  font-weight: 850;
  text-decoration: none;
  transform: translateY(-140%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.ambient span {
  position: absolute;
  border-radius: 50%;
  background: rgba(53, 208, 255, 0.12);
  filter: blur(28px);
  animation: floatSoft 14s ease-in-out infinite;
}

.ambient span:nth-child(1) {
  left: 8%;
  top: 18%;
  width: 220px;
  height: 220px;
}

.ambient span:nth-child(2) {
  right: 8%;
  top: 8%;
  width: 280px;
  height: 280px;
  animation-delay: -5s;
}

.ambient span:nth-child(3) {
  right: 24%;
  bottom: 12%;
  width: 180px;
  height: 180px;
  animation-delay: -9s;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0;
  transition: padding 180ms ease;
}

.brand {
  width: clamp(150px, 18vw, 230px);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 9, 15, 0.62);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
  background: rgba(134, 198, 246, 0.12);
}

.nav a[href="#kontakt"] {
  color: #03101a;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

main {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

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

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: calc(100vh - 92px);
  padding: clamp(2rem, 6vw, 6rem) 0 4rem;
}

.hero::before,
.hero::after {
  position: absolute;
  inset: auto 0 8% auto;
  z-index: -1;
  width: min(720px, 62vw);
  height: min(720px, 62vw);
  content: "";
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  background: radial-gradient(circle, rgba(53, 208, 255, 0.17), transparent 68%);
  opacity: calc(0.78 - var(--hero-progress, 0) * 0.46);
  transform: translate3d(calc(var(--hero-progress, 0) * 28px), calc(var(--hero-progress, 0) * 52px), 0) scale(calc(1 + var(--hero-progress, 0) * 0.12));
}

.hero::after {
  right: 18%;
  bottom: 16%;
  width: min(380px, 42vw);
  height: min(380px, 42vw);
  border: 1px solid rgba(134, 198, 246, 0.18);
  box-shadow: 0 0 90px rgba(53, 208, 255, 0.12), inset 0 0 70px rgba(53, 208, 255, 0.06);
  opacity: calc(0.42 - var(--hero-progress, 0) * 0.22);
  transform: translate3d(0, calc(var(--hero-progress, 0) * -42px), 0) scale(calc(0.92 + var(--hero-progress, 0) * 0.18));
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 1.15rem;
  font-size: clamp(3.2rem, 7vw, 6.9rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.25rem, 5vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 0.6rem;
  font-size: 1.45rem;
  line-height: 1.1;
}

.lead,
.section-head p,
.statement-copy p,
.contact-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.hero-copy {
  transform: translate3d(0, calc(var(--hero-progress, 0) * -22px), 0);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.86rem 1.08rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: #03101a;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 18px 46px rgba(53, 208, 255, 0.24);
}

.button-secondary {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.045);
}

.button:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.hero-stage {
  position: relative;
  min-height: 610px;
  transform:
    perspective(1400px)
    rotateX(calc(var(--hero-progress, 0) * 3deg))
    rotateY(calc(var(--hero-progress, 0) * -5deg))
    translate3d(0, calc(var(--hero-progress, 0) * -18px), 0)
    scale(calc(1 - var(--hero-progress, 0) * 0.035));
  transform-origin: 50% 42%;
}

.stage-screen {
  position: absolute;
  inset: 7% 0 0 5%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: translate3d(0, calc(var(--hero-progress, 0) * -28px), 0);
}

.stage-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  filter: saturate(1.05) contrast(1.05);
}

.stage-screen::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(5, 8, 13, 0.05), rgba(5, 8, 13, 0.72)),
    radial-gradient(circle at 20% 12%, rgba(53, 208, 255, 0.22), transparent 24rem);
}

.stage-overlay {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  padding: 0.7rem 0.86rem;
  border: 1px solid rgba(134, 198, 246, 0.24);
  border-radius: 999px;
  color: var(--text);
  background: rgba(5, 9, 15, 0.68);
  font-weight: 850;
  backdrop-filter: blur(18px);
}

.status-dot {
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 50%;
  background: #7df5c2;
  box-shadow: 0 0 18px rgba(125, 245, 194, 0.82);
}

.signal-card {
  position: absolute;
  z-index: 3;
  width: min(230px, 46vw);
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(7, 13, 21, 0.76);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.signal-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 24px 78px rgba(53, 208, 255, 0.18);
}

.signal-card span {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.signal-card strong {
  display: block;
  font-size: 1rem;
}

.signal-it {
  left: 0;
  top: 18%;
  transform: translate3d(0, calc(var(--hero-progress, 0) * -44px), 0);
}

.signal-web {
  right: 0;
  top: 6%;
  transform: translate3d(0, calc(var(--hero-progress, 0) * -72px), 0);
}

.signal-design {
  right: 8%;
  bottom: 2%;
  transform: translate3d(0, calc(var(--hero-progress, 0) * -28px), 0);
}

.services,
.statement,
.contact-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.service-card {
  position: relative;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.service-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(115deg, transparent 18%, rgba(134, 198, 246, 0.16), transparent 44%);
  opacity: 0;
  transform: translateX(-60%);
  transition: opacity 220ms ease, transform 520ms ease;
  pointer-events: none;
}

.service-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 28px 90px rgba(0, 8, 20, 0.44);
  transform: translateY(-6px);
}

.service-card:hover::after {
  opacity: 1;
  transform: translateX(72%);
}

.section-head {
  display: grid;
  gap: 0.4rem;
  max-width: 850px;
  margin-bottom: 1.5rem;
}

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

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.service-card img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
  opacity: 0.74;
  transition: opacity 260ms ease, transform 700ms ease;
}

.service-card:hover img {
  opacity: 0.86;
  transform: scale(1.055);
}

.service-card div {
  padding: 1.1rem;
}

.service-card span {
  display: inline-flex;
  margin-bottom: 0.75rem;
  color: var(--blue);
  font-weight: 950;
}

.service-card p {
  color: var(--muted);
  font-size: 0.98rem;
}

.immersive {
  position: relative;
  height: 320vh;
  margin-inline: calc((100vw - min(var(--max), calc(100vw - 2rem))) / -2);
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 68% 30%, rgba(53, 208, 255, 0.18), transparent 32rem),
    linear-gradient(135deg, rgba(5, 8, 13, 0.98), rgba(7, 17, 28, 0.95));
}

.immersive::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(rgba(134, 198, 246, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(134, 198, 246, 0.032) 1px, transparent 1px),
    linear-gradient(110deg, transparent 0 34%, rgba(53, 208, 255, 0.09) 50%, transparent 66% 100%);
  background-size: 56px 56px, 56px 56px, 220% 100%;
  opacity: 0.62;
  transform: translate3d(calc(var(--immersive-progress, 0) * -60px), 0, 0);
  pointer-events: none;
}

.immersive-sticky {
  position: relative;
  top: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  width: min(var(--max), calc(100% - 2rem));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(2.2rem, 5vh, 3.5rem) 0;
  overflow: hidden;
}

.immersive.is-pinned .immersive-sticky {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 8;
  width: min(var(--max), calc(100% - 2rem));
  transform: translateX(-50%);
}

.immersive.is-after .immersive-sticky {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
}

.immersive-copy {
  position: relative;
  z-index: 2;
  transform: translate3d(0, calc((var(--immersive-progress, 0) - 0.5) * -26px), 0);
}

.immersive-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.04rem;
}

.immersive-copy h2 {
  font-size: clamp(2.35rem, 4.2vw, 4.35rem);
}

.immersive-steps {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.immersive-steps article {
  padding: 0.78rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  opacity: 0.44;
  transform: translateX(-12px);
  transition: opacity 360ms ease, transform 360ms ease, border-color 360ms ease, background 360ms ease;
}

.immersive[data-active="0"] [data-step="0"],
.immersive[data-active="1"] [data-step="1"],
.immersive[data-active="2"] [data-step="2"] {
  border-color: var(--line-strong);
  background: rgba(134, 198, 246, 0.1);
  opacity: 1;
  transform: translateX(0);
}

.immersive-steps span {
  display: inline-flex;
  margin-bottom: 0.42rem;
  color: var(--blue);
  font-weight: 950;
}

.immersive-steps strong {
  display: block;
  margin-bottom: 0.22rem;
  font-size: 1.02rem;
}

.immersive-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.immersive-stage {
  position: relative;
  min-height: min(610px, 66vh);
  border: 1px solid var(--line);
  border-radius: 32px;
  overflow: hidden;
  background: #05080d;
  box-shadow: var(--shadow);
  transform:
    perspective(1200px)
    rotateX(calc((var(--immersive-progress, 0) - 0.5) * 5deg))
    rotateY(calc((0.5 - var(--immersive-progress, 0)) * 7deg))
    translate3d(0, calc((0.5 - var(--immersive-progress, 0)) * 34px), 0);
}

.immersive-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: saturate(1.08) contrast(1.06);
  transform: scale(1.12) translate3d(calc((var(--immersive-progress, 0) - 0.5) * -36px), 0, 0);
  transition: opacity 520ms ease, transform 900ms ease, filter 520ms ease;
}

.immersive[data-active="0"] [data-panel="0"],
.immersive[data-active="1"] [data-panel="1"],
.immersive[data-active="2"] [data-panel="2"] {
  opacity: 0.84;
  transform: scale(1.015) translate3d(calc((var(--immersive-progress, 0) - 0.5) * -18px), 0, 0);
}

.immersive-stage::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(5, 8, 13, 0.08), rgba(5, 8, 13, 0.78)),
    linear-gradient(90deg, rgba(5, 8, 13, 0.74), transparent 52%);
  pointer-events: none;
}

.immersive-frame {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.immersive-frame span {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.immersive-frame span::before {
  display: block;
  width: 0;
  height: 100%;
  content: "";
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transition: width 280ms ease;
}

.immersive-frame span:nth-child(1)::before {
  width: min(100%, calc(var(--immersive-progress, 0) * 300%));
}

.immersive-frame span:nth-child(2)::before {
  width: min(100%, max(0%, calc((var(--immersive-progress, 0) - 0.3333) * 300%)));
}

.immersive-frame span:nth-child(3)::before {
  width: min(100%, max(0%, calc((var(--immersive-progress, 0) - 0.6666) * 300%)));
}

.immersive[data-active="0"] .immersive-frame span:nth-child(1)::before,
.immersive[data-active="1"] .immersive-frame span:nth-child(2)::before,
.immersive[data-active="2"] .immersive-frame span:nth-child(3)::before {
  min-width: 18%;
}

.statement {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: center;
}

.statement-media {
  overflow: hidden;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: translate3d(0, calc(var(--statement-progress, 0) * -18px), 0);
}

.statement-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  opacity: 0.78;
}

.statement-copy {
  padding: clamp(1rem, 3vw, 2rem);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
  position: relative;
}

.contact-section::before {
  position: absolute;
  inset: 3rem -2rem auto auto;
  width: min(460px, 48vw);
  height: min(460px, 48vw);
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 208, 255, 0.18), transparent 68%);
  opacity: calc(0.35 + var(--contact-progress, 0) * 0.5);
  transform: translate3d(0, calc((1 - var(--contact-progress, 0)) * 32px), 0);
  pointer-events: none;
}

.contact-section::after {
  position: absolute;
  inset: auto 0 3rem auto;
  width: min(520px, 54vw);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(134, 198, 246, 0.7), transparent);
  opacity: var(--contact-progress, 0);
  transform: translate3d(calc((1 - var(--contact-progress, 0)) * 80px), 0, 0);
  pointer-events: none;
}

.contact-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.35rem;
}

.contact-hints span {
  padding: 0.58rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 800;
}

.contact-form {
  position: relative;
  display: grid;
  gap: 0.95rem;
  padding: clamp(1rem, 3vw, 1.45rem);
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: linear-gradient(145deg, var(--surface-strong), rgba(8, 14, 23, 0.82));
  box-shadow: var(--shadow);
  transform: translate3d(0, calc((1 - var(--contact-progress, 0)) * 18px), 0);
}

.contact-form::before {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(53, 208, 255, 0.16), transparent 45%);
  opacity: var(--contact-progress, 0);
  pointer-events: none;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.contact-form label {
  display: grid;
  gap: 0.42rem;
}

.contact-form label > span {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 850;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(150, 190, 220, 0.25);
  border-radius: 14px;
  padding: 0.82rem 0.9rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  font: inherit;
  outline: none;
}

.contact-form select {
  color-scheme: dark;
  background-color: #111c2b;
}

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

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(53, 208, 255, 0.12);
}

.form-options {
  display: grid;
  gap: 0.65rem;
}

.checkbox-line {
  display: flex !important;
  align-items: center;
  min-height: 42px;
  gap: 0.6rem !important;
  color: var(--muted);
  font-size: 0.94rem;
}

.checkbox-line input {
  width: 21px;
  height: 21px;
  accent-color: var(--blue);
}

.checkbox-line a {
  color: var(--blue);
  font-weight: 850;
}

.bot-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}

.form-footer .button {
  border: 0;
  cursor: pointer;
}

.form-status {
  min-height: 1.4rem;
  margin: 0;
  color: var(--muted);
}

.form-status.is-success {
  color: #7df5c2;
}

.form-status.is-error {
  color: #ffb4b4;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 800;
}

.reveal {
  opacity: 1;
  transform: none;
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(8px);
}

.motion-ready .hero .reveal {
  opacity: 1;
  transform: none;
  filter: none;
}

.motion-ready .service-card:nth-child(2) { transition-delay: 80ms; }
.motion-ready .service-card:nth-child(3) { transition-delay: 140ms; }
.motion-ready .service-card:nth-child(4) { transition-delay: 200ms; }

.motion-ready .reveal.is-visible,
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition: opacity 700ms ease, transform 700ms ease, filter 700ms ease;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

@keyframes floatSoft {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(18px, -24px, 0) scale(1.08); }
}

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

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-stage {
    min-height: 520px;
    transform: none;
  }

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

  .immersive {
    height: auto;
    margin-inline: 0;
    width: 100%;
    border-radius: 28px;
  }

  .immersive-sticky {
    position: relative;
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 4rem 1rem;
  }

  .immersive.is-pinned .immersive-sticky,
  .immersive.is-after .immersive-sticky {
    position: relative;
    inset: auto;
    width: min(var(--max), calc(100% - 2rem));
    transform: none;
  }

  .immersive-stage {
    order: -1;
    min-height: 430px;
    transform: none;
  }

  .immersive-copy {
    transform: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand {
    width: 176px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .nav a {
    flex: 1;
    justify-content: center;
  }

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

  .hero-actions,
  .button,
  .form-footer,
  .form-footer .button {
    width: 100%;
  }

  .hero-stage {
    min-height: 440px;
  }

  .stage-screen {
    inset: 0;
    transform: none;
  }

  .signal-card {
    width: min(210px, 70vw);
  }

  .signal-it { left: 0.6rem; top: 1rem; }
  .signal-web { right: 0.6rem; top: auto; bottom: 6rem; }
  .signal-design { right: 1rem; bottom: 1rem; }

  .signal-it,
  .signal-web,
  .signal-design {
    transform: none;
  }

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

  .statement-media {
    min-height: 320px;
  }

  .immersive-stage {
    min-height: 340px;
    border-radius: 24px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .stage-screen,
  .signal-card,
  .hero-copy,
  .hero-stage,
  .statement-media,
  .immersive-stage,
  .immersive-copy,
  .contact-form,
  .contact-section::before,
  .contact-section::after,
  .service-card:hover {
    transform: none !important;
  }

  .immersive {
    height: auto;
  }

  .immersive-sticky {
    position: relative;
    min-height: auto;
  }

  .immersive-stage img,
  .immersive-steps article {
    transition: none !important;
  }
}
