/* ae dev Solutions — Red / Black / White */
@font-face {
  font-family: "Inter";
  src: url("../fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #ff2d20;
  --red-soft: #ff4d42;
  --red-deep: #b01010;
  --black: #000000;
  --bg: #050505;
  --elev: #0d0d0d;
  --elev-2: #141414;
  --white: #ffffff;
  --text: #f5f5f7;
  --muted: #86868b;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --shadow: 0 40px 80px rgba(0, 0, 0, 0.55);
  --radius: 28px;
  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-d: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font: "Inter", ui-sans-serif, system-ui, sans-serif;
  --mx: 50%;
  --my: 30%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

html.lenis,
html.lenis body {
  height: auto;
}

body {
  font-family: var(--font);
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(255, 45, 32, 0.08), transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(255, 45, 32, 0.05), transparent 45%),
    #050505;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
}

button {
  cursor: pointer;
}

ul {
  list-style: none;
}

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  background: var(--red);
  color: var(--white);
  padding: 10px 16px;
  z-index: 10000;
  border-radius: 8px;
}

.skip:focus {
  top: 12px;
}

[hidden] {
  display: none !important;
}

.noise,
body::after {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.04;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Loader */
.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #000;
  display: grid;
  place-items: center;
  gap: 18px;
  transition: opacity 0.65s var(--ease), visibility 0.65s;
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-core {
  position: relative;
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
}

.loader-ring {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}

.loader-ring circle {
  fill: none;
  stroke: #1a1a1a;
  stroke-width: 2;
}

.loader-ring circle:last-child {
  stroke: var(--red);
  stroke-dasharray: 214;
  stroke-dashoffset: 214;
  animation: ringDraw 1.15s var(--ease) forwards;
}

.loader-mark {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: 42px;
  letter-spacing: -0.1em;
  color: var(--red);
  position: relative;
  z-index: 1;
}

.loader-tag {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #666;
}

@keyframes ringDraw {
  to {
    stroke-dashoffset: 0;
  }
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  overflow: visible;
  transition: opacity 0.55s var(--ease);
  border-bottom: 1px solid transparent;
}

/* Blur sits on a pseudo so it does not trap position:fixed menu overlays. */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: transparent;
  transition: background 0.4s var(--ease), border-color 0.4s, backdrop-filter 0.4s, -webkit-backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled::before {
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom-color: var(--line);
}

.nav.is-menu-open {
  z-index: 400;
}

.nav.is-menu-open::before {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}

body.is-menu-open {
  overflow: hidden;
}

body.is-menu-open .cookie,
body.is-menu-open .cookie-fab {
  visibility: hidden;
  pointer-events: none;
}

body.is-cookie-open .cookie-fab,
body.is-cookie-open .film-hint {
  display: none;
}

body.is-filming .nav,
body.is-filming .cookie-fab {
  opacity: 0;
  pointer-events: none;
}

.nav-inner {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.logo img {
  display: block;
  height: 52px;
  width: auto;
}

.logo-ae {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.08em;
  color: var(--red);
  line-height: 1;
}

.logo-name {
  font-size: 12px;
  letter-spacing: 0.32em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
  transition: color 0.25s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--white);
}

.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--red);
}

.nav-cta {
  display: inline-flex;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 5;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.menu-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.35s var(--ease), opacity 0.25s, top 0.35s;
}

.menu-toggle span:first-child {
  top: 17px;
}

.menu-toggle span:last-child {
  top: 26px;
}

.menu-toggle.is-open span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
  will-change: auto;
  position: relative;
  z-index: 6;
  transform: none;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(255, 45, 32, 0.28);
}

.btn-primary:hover {
  background: var(--red-soft);
  transform: translateY(-2px);
}

.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--white);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.btn-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}

.btn:hover .btn-arrow svg {
  transform: translateX(3px);
}

/* Layout */
main {
  position: relative;
  z-index: 1;
}

.wrap {
  width: min(1280px, calc(100% - 72px));
  margin: 0 auto;
}

.section {
  padding: 110px 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.page-hero .wrap {
  transform: none;
}

.section::before {
  content: "";
  position: absolute;
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  right: -18%;
  top: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 45, 32, 0.16), transparent 68%);
  pointer-events: none;
  transform: translate3d(0, calc(var(--py, 0) * 80px), 0);
}

.section:nth-of-type(even)::before {
  right: auto;
  left: -20%;
  top: auto;
  bottom: 0;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}

.kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--red);
  transform-origin: left center;
  animation: barIn 0.8s var(--ease) both;
}

.display {
  font-family: var(--font-d);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.08;
  overflow-wrap: break-word;
}

.display em,
.prose h2 em {
  font-style: normal;
  color: var(--red);
  text-shadow: 0 0 28px rgba(255, 45, 32, 0.35);
}

.display em {
  display: block;
  margin-top: 0.28em;
}

.display br {
  display: none;
}

.muted {
  color: var(--muted);
}

.red {
  color: var(--red);
}

/* Hero film */
.hero {
  --tx: 0;
  --ty: 0;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 28px) 0 72px;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #000;
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 80%;
  background:
    radial-gradient(ellipse 50% 50% at calc(50% + var(--tx) * 18%) calc(32% + var(--ty) * 12%), rgba(255, 45, 32, 0.38), transparent 55%),
    radial-gradient(ellipse 40% 40% at 80% 10%, rgba(255, 45, 32, 0.14), transparent 50%),
    radial-gradient(ellipse 30% 40% at 10% 80%, rgba(255, 255, 255, 0.05), transparent 50%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, #000 18%, transparent 78%);
  pointer-events: none;
  transform: translate3d(calc(var(--tx) * -12px), calc(var(--ty) * -8px), 0);
}

.film-dust {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 7;
  pointer-events: none;
  opacity: 0.55;
}

.film-bars {
  position: absolute;
  inset: 0;
  z-index: 30;
  pointer-events: none;
}

.film-bars span {
  position: absolute;
  left: 0;
  right: 0;
  height: 7.5vh;
  background: #000;
  transition: transform 1.1s var(--ease);
}

.film-bars span:first-child { top: 0; }
.film-bars span:last-child { bottom: 0; }

.film.is-live .film-bars span:first-child { transform: translateY(-110%); }
.film.is-live .film-bars span:last-child { transform: translateY(110%); }

.film-world {
  position: absolute;
  inset: 0;
  perspective: 1400px;
  pointer-events: none;
}

.film-flare {
  position: absolute;
  width: 55vw;
  height: 55vw;
  right: -12%;
  top: -8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 45, 32, 0.5), transparent 68%);
  filter: blur(28px);
  animation: flarePulse 7s ease-in-out infinite;
  transform: translate3d(calc(var(--tx) * -30px), calc(var(--ty) * -18px), 0);
}

@keyframes flarePulse {
  0%, 100% { opacity: 0.55; transform: translate3d(calc(var(--tx) * -30px), calc(var(--ty) * -18px), 0) scale(1); }
  50% { opacity: 1; transform: translate3d(calc(var(--tx) * -30px), calc(var(--ty) * -18px), 0) scale(1.12); }
}

.film-word {
  position: absolute;
  left: 6%;
  margin: 0;
  font-family: var(--font-d);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.85;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12);
  user-select: none;
}

.film-word--a {
  top: 12%;
  left: 2%;
  font-size: clamp(36px, 7.2vw, 108px);
  transform: translate3d(calc(var(--tx) * -18px), calc(var(--ty) * -10px), 0);
  animation: kenA 18s ease-in-out infinite alternate;
}

.film-word--b {
  top: 8%;
  bottom: auto;
  left: auto;
  right: 2%;
  font-size: clamp(40px, 8.4vw, 128px);
  -webkit-text-stroke-color: rgba(255, 45, 32, 0.28);
  transform: translate3d(calc(var(--tx) * 22px), calc(var(--ty) * 12px), 0);
  animation: kenB 22s ease-in-out infinite alternate;
}

@keyframes kenA {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-4%, -3%, 0) scale(1.08); }
}

@keyframes kenB {
  from { transform: translate3d(0, 0, 0) scale(1.05); }
  to { transform: translate3d(5%, 4%, 0) scale(1); }
}

.film-set {
  position: absolute;
  right: 4%;
  top: 18%;
  width: min(560px, 48vw);
  height: min(520px, 62vh);
  transform-style: preserve-3d;
  transform: rotateY(-18deg) rotateX(8deg) translate3d(calc(var(--tx) * 28px), calc(var(--ty) * 16px), 0);
  animation: camIn 2.8s var(--ease) both;
}

.film.is-live .film-set {
  animation: camIn 2.8s var(--ease) both, camIdle 9s 2.8s ease-in-out infinite;
}

@keyframes camIn {
  0% {
    transform: translate3d(40px, 60px, -520px) rotateX(22deg) rotateY(-28deg) scale(1.35);
    filter: blur(10px);
    opacity: 0;
  }
  35% { opacity: 1; }
  100% {
    transform: rotateY(-18deg) rotateX(8deg) translate3d(0, 0, 0);
    filter: none;
    opacity: 1;
  }
}

@keyframes camIdle {
  0%, 100% { transform: rotateY(-18deg) rotateX(8deg) translate3d(calc(var(--tx) * 28px), calc(var(--ty) * 16px), 0); }
  50% { transform: rotateY(-10deg) rotateX(4deg) translate3d(calc(var(--tx) * 28px), calc(var(--ty) * 16px - 10px), 24px); }
}

.film-card {
  position: absolute;
  border-radius: 18px;
  box-shadow: 0 50px 90px rgba(0, 0, 0, 0.6), 0 0 50px rgba(255, 45, 32, 0.16);
  overflow: hidden;
}

.film-card--main {
  width: min(340px, 78%);
  right: 6%;
  top: 6%;
  z-index: 4;
}

.film-card--back {
  width: min(220px, 52%);
  left: 0;
  top: 28%;
  z-index: 2;
  opacity: 0.9;
  transform: translateZ(-80px);
}

.film-tile {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  background: #0a0a0a;
  box-shadow: 0 36px 70px rgba(0, 0, 0, 0.55), 0 0 36px rgba(255, 45, 32, 0.12);
}

.film-tile svg {
  width: 100%;
  height: auto;
  display: block;
}

.film-tile--web {
  width: min(400px, 78%);
  right: 6%;
  top: 6%;
  z-index: 5;
  transform: translateZ(28px);
}

.film-tile--seo {
  width: min(250px, 52%);
  left: 0;
  top: 26%;
  z-index: 2;
  opacity: 0.94;
  transform: translateZ(-70px);
}

.film-tile--apps {
  width: min(230px, 46%);
  right: 0;
  bottom: 2%;
  z-index: 6;
  transform: translateZ(56px);
}

.film-sweep {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 45, 32, 0.28) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: sweep 4.8s 3s ease-in-out infinite;
}

@keyframes sweep {
  0%, 55% { transform: translateX(-120%); }
  80%, 100% { transform: translateX(120%); }
}

.film-phone {
  position: absolute;
  right: 2%;
  bottom: 4%;
  width: 118px;
  height: 210px;
  border-radius: 22px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, #1a0a0a, #050505);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.5);
  z-index: 5;
  transform: translateZ(60px) rotate(-8deg);
}

.film-phone i {
  display: block;
  width: 36px;
  height: 4px;
  border-radius: 99px;
  background: #333;
  margin: 10px auto 8px;
}

.film-phone-ui {
  margin: 12px;
  padding: 14px 10px;
  border-radius: 12px;
  background: #0d0d0d;
}

.film-phone-ui b {
  display: block;
  font-family: var(--font-d);
  font-size: 13px;
  letter-spacing: -0.04em;
}

.film-phone-ui span {
  display: block;
  margin-top: 8px;
  font-size: 9px;
  color: var(--red);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.film-intro {
  position: absolute;
  inset: 0;
  z-index: 25;
  display: grid;
  place-content: center;
  justify-items: center;
  background: #000;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}

.film.is-live .film-intro {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-lockup {
  width: min(340px, 68vw);
}

.intro-lockup-ae,
.intro-lockup-word {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.intro-lockup img {
  position: absolute;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
}

.intro-lockup-ae {
  padding-top: 46.2%;
  opacity: 0;
  transform-origin: 50% 60%;
  animation: introAe 0.9s 0.12s var(--ease) forwards;
}

.intro-lockup-ae img {
  top: 0;
}

.intro-lockup-word {
  padding-top: 16.85%;
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  animation: introWord 0.75s 1.05s var(--ease) forwards;
}

.intro-lockup-word img {
  bottom: 0;
}

@keyframes introWord {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes introAe {
  from {
    opacity: 0;
    transform: scale(0.72) translate3d(0, 18px, 0);
    filter: blur(12px);
  }
  60% {
    opacity: 1;
    transform: scale(1.06);
    filter: none;
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: none;
  }
}

@keyframes introCaret {
  50% { opacity: 0; }
}

.intro-line {
  width: min(160px, 40vw);
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: center;
  animation: introLine 0.7s 0.15s var(--ease) forwards;
}

.intro-mark {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: clamp(64px, 14vw, 140px);
  letter-spacing: -0.1em;
  color: var(--red);
  line-height: 0.85;
  margin: 18px 0 8px;
  opacity: 0;
  animation: introMark 0.9s 0.45s var(--ease) forwards;
}

.intro-sub {
  color: #888;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 11px;
  opacity: 0;
  animation: introMark 0.8s 0.9s var(--ease) forwards;
}

@keyframes introLine {
  to { transform: scaleX(1); }
}

@keyframes introMark {
  from { opacity: 0; transform: translate3d(0, 12px, 0); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: none; }
}

.film-copy {
  position: relative;
  z-index: 8;
  max-width: 640px;
  padding-bottom: 28px;
  opacity: 0;
  transform: translate3d(0, 28px, 0);
}

.film.is-live .film-copy {
  opacity: 1;
  transform: none;
}

.hero h1 {
  font-size: clamp(34px, 6.2vw, 84px);
  margin: 8px 0 22px;
  max-width: 18ch;
  line-height: 1.08;
}

.hero h1 .line {
  display: block;
  overflow: hidden;
  padding: 0.08em 0.06em 0.16em 0;
  margin: 0 0 0.1em;
}

.hero h1 .line > span {
  display: block;
}

.hero h1 .line:nth-child(3) {
  font-size: 0.42em;
  letter-spacing: -0.04em;
  max-width: 22ch;
}

.film.is-live h1 .line > span {
  transform: none;
}

.film-hint {
  position: absolute;
  bottom: 22px;
  left: 50%;
  z-index: 8;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #666;
  opacity: 0;
}

.film.is-live .film-hint {
  opacity: 1;
}

.film-hint::after {
  content: "";
  display: block;
  width: 1px;
  height: 28px;
  margin: 8px auto 0;
  background: linear-gradient(var(--red), transparent);
}

.hero-lead {
  max-width: 520px;
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  position: relative;
  z-index: 6;
  transform: none;
}

.hero-meta {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.hero-meta b {
  display: block;
  font-family: var(--font-d);
  font-size: 28px;
  letter-spacing: -0.04em;
}

.hero-meta span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  height: min(560px, 68vh);
  perspective: 1400px;
  overflow: hidden;
  isolation: isolate;
}

.float-card {
  position: absolute;
  width: min(250px, 78%);
  border-radius: 18px;
  background: #111;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform-style: preserve-3d;
  animation: floatY 7s ease-in-out infinite;
  will-change: transform;
}

.float-card:nth-child(1) {
  top: 6%;
  right: 4%;
  left: auto;
  z-index: 3;
  animation-delay: 0s;
}

.float-card:nth-child(2) {
  top: 32%;
  right: 18%;
  left: auto;
  z-index: 2;
  width: min(220px, 70%);
  animation-delay: -2.2s;
}

.float-card:nth-child(3) {
  bottom: 4%;
  right: 0;
  left: auto;
  z-index: 1;
  width: min(210px, 66%);
  animation-delay: -4s;
}

@keyframes floatY {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotateX(8deg) rotateY(-12deg);
  }
  50% {
    transform: translate3d(0, -18px, 0) rotateX(4deg) rotateY(-8deg);
  }
}

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 3;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(var(--red), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.7);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* Browser chrome */
.browser {
  background: #0a0a0a;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #161616;
  border-bottom: 1px solid var(--line);
}

.dots {
  display: flex;
  gap: 5px;
}

.dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #333;
}

.dots i:nth-child(1) {
  background: #ff5f57;
}
.dots i:nth-child(2) {
  background: #febc2e;
}
.dots i:nth-child(3) {
  background: #28c840;
}

.browser-url {
  flex: 1;
  height: 22px;
  border-radius: 6px;
  background: #0d0d0d;
  color: #666;
  font-size: 10px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  letter-spacing: 0.02em;
}

.screen {
  min-height: 160px;
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.screen--noir {
  background: linear-gradient(160deg, #1a1a1a, #0b0b0b);
}

.screen--lumina {
  background: linear-gradient(160deg, #2a0a0a, #120404 50%, #1a1a1a);
}

.screen--apex {
  background: linear-gradient(180deg, #111, #000);
}

.mini-nav {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #777;
  margin-bottom: 22px;
}

.mini-h {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.05em;
  line-height: 1;
}

.mini-h em {
  font-style: normal;
  color: var(--red);
}

.mini-bar {
  margin-top: 16px;
  height: 6px;
  width: 42%;
  background: var(--red);
  border-radius: 99px;
}

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 18px;
}

.mini-tile {
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

/* Marquee */
.marquee {
  border-block: 1px solid var(--line);
  background: #050505;
  overflow: hidden;
  padding: 18px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
  gap: 0;
}

.marquee-track span {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: clamp(18px, 3vw, 32px);
  letter-spacing: -0.04em;
  padding: 0 28px;
  white-space: nowrap;
  color: var(--white);
}

.marquee-track span i {
  font-style: normal;
  color: var(--red);
  padding: 0 12px;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

/* Intro */
.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.intro-grid h2 {
  font-size: clamp(36px, 5vw, 68px);
}

.intro-copy p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 18px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.stat {
  padding: 22px;
  border-radius: 18px;
  background: var(--elev);
  border: 1px solid var(--line);
}

.stat b {
  font-family: var(--font-d);
  font-size: 36px;
  letter-spacing: -0.05em;
  display: block;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
}

/* Cards / services */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(36px, 5vw, 64px);
  max-width: 720px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.92), rgba(8, 8, 8, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  min-height: 280px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.4s;
}

.card::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 45, 32, 0.22), transparent 70%);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-10px) rotateX(4deg);
  border-color: rgba(255, 45, 32, 0.45);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 45, 32, 0.08);
}

.card-num {
  font-family: var(--font-d);
  color: var(--red);
  font-size: 14px;
  letter-spacing: 0.16em;
  margin-bottom: 40px;
}

.card h3 {
  font-family: var(--font-d);
  font-size: 28px;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
  font-size: 15px;
}

/* Sticky showcase */
.sticky-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.sticky-copy {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
}

.sticky-copy h2 {
  font-size: clamp(36px, 5vw, 64px);
  margin-bottom: 18px;
}

.sticky-copy p {
  color: var(--muted);
  font-size: 17px;
  max-width: 460px;
}

.showcase-stack {
  display: grid;
  gap: 28px;
}

.showcase {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #0a0a0a;
  transform-origin: center;
}

.showcase .screen {
  min-height: 280px;
}

.screen-hero-title {
  font-family: var(--font-d);
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.06em;
  line-height: 0.95;
  margin-top: 20px;
}

.pill {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 99px;
  border: 1px solid var(--line-strong);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Process */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}

.process-item {
  background: #0a0a0a;
  padding: 36px 28px 40px;
  min-height: 260px;
}

.process-item strong {
  display: block;
  color: var(--red);
  font-family: var(--font-d);
  font-size: 13px;
  letter-spacing: 0.18em;
  margin-bottom: 28px;
}

.process-item h3 {
  font-family: var(--font-d);
  font-size: 26px;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.process-item p {
  color: var(--muted);
  font-size: 14px;
}

/* Quotes */
.quote {
  max-width: 920px;
}

.quote p {
  font-family: var(--font-d);
  font-size: clamp(28px, 4.2vw, 48px);
  letter-spacing: -0.045em;
  line-height: 1.15;
  margin: 12px 0 28px;
}

.quote cite {
  color: var(--muted);
  font-style: normal;
  font-size: 14px;
}

/* CTA band */
.cta-band {
  margin: 40px auto 100px;
  width: min(1360px, calc(100% - 48px));
  border-radius: 36px;
  padding: clamp(48px, 8vw, 96px);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255, 45, 32, 0.35), transparent 50%),
    linear-gradient(180deg, #160808, #0a0a0a);
  border: 1px solid rgba(255, 45, 32, 0.28);
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.cta-band h2 {
  font-size: clamp(36px, 6vw, 72px);
  margin: 10px 0 18px;
}

.cta-band--mid {
  margin: 28px auto;
  text-align: left;
  background:
    radial-gradient(ellipse at 80% 120%, rgba(255, 45, 32, 0.28), transparent 50%),
    linear-gradient(180deg, #101010, #070707);
}

.cta-band--mid .hero-actions,
.cta-band--foot .hero-actions {
  justify-content: flex-start;
}

.cta-band--foot {
  margin: 48px auto 88px;
}

.cta-band--mid .kicker,
.cta-band--foot .kicker {
  margin-bottom: 8px;
}

.cta-band p {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 32px;
}

.cta-band--mid p,
.cta-band--foot p {
  margin-left: 0;
  margin-right: 0;
}

.cta-band--foot {
  text-align: left;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 28px;
  background: linear-gradient(180deg, transparent, #000 40%);
  position: relative;
  z-index: 3;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.15fr 0.9fr;
  gap: 32px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer-logo {
  display: block;
  height: 72px;
  width: auto;
}

.footer-brand .muted {
  margin-top: 0;
}

.footer h2 {
  font-family: var(--font-d);
  font-size: 42px;
  letter-spacing: -0.06em;
}

.footer h3 {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.footer a {
  display: block;
  color: var(--text);
  font-size: 14px;
  padding: 5px 0;
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--red);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.footer-legal {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-legal a {
  display: inline;
  padding: 0;
  font-size: 12px;
  color: var(--muted);
}

.footer-cookie-btn {
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.footer-legal a:hover,
.footer-cookie-btn:hover {
  color: var(--red);
}

/* Page hero */
.page-hero {
  min-height: 78svh;
  padding: calc(var(--nav-h) + 80px) 0 72px;
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: end;
  z-index: 1;
}

.page-hero .wrap {
  position: relative;
  z-index: 3;
}

.page-hero .hero-glow,
.page-hero .hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-hero .hero-glow {
  height: 100%;
}

.page-hero h1 {
  font-size: clamp(40px, 7vw, 92px);
  max-width: 18ch;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.page-hero h1 .line {
  display: block;
  overflow: hidden;
  padding: 0.04em 0.04em 0.1em 0;
  margin: 0 0 0.08em;
}

.page-hero h1 .line > span {
  display: block;
  animation: lineUp 0.95s var(--ease) both;
}

.page-hero h1 .line:nth-child(2) > span {
  animation-delay: 0.12s;
}

.page-hero h1 .line:nth-child(3) > span {
  animation-delay: 0.22s;
}

.page-hero h1 .line:nth-child(4) > span {
  animation-delay: 0.32s;
}

@keyframes lineUp {
  from {
    transform: translate3d(0, 108%, 0);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

.page-hero p {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
  margin-top: 22px;
  margin-bottom: 0;
  line-height: 1.65;
}

.scene-word {
  position: absolute;
  left: 4%;
  top: 14%;
  margin: 0;
  font-family: var(--font-d);
  font-weight: 800;
  font-size: clamp(40px, 8vw, 112px);
  letter-spacing: -0.06em;
  line-height: 0.85;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12);
  pointer-events: none;
  z-index: 1;
  user-select: none;
  max-width: 70%;
  overflow: hidden;
}

.page-stage {
  position: absolute;
  right: 6%;
  top: 22%;
  width: min(340px, 38vw);
  z-index: 2;
  perspective: 1200px;
  pointer-events: none;
}

.page-stage .browser {
  border-radius: 18px;
  transform: rotateY(-18deg) rotateX(8deg);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 45, 32, 0.12);
  animation: floatY 7s ease-in-out infinite;
}

.site-fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.site-fx-glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 42% 36% at calc(50% + var(--mx, 50%) * 0.2) calc(30% + var(--my, 30%) * 0.15), rgba(255, 45, 32, 0.22), transparent 55%),
    radial-gradient(ellipse 30% 30% at 85% 80%, rgba(255, 45, 32, 0.08), transparent 50%);
}

.site-fx-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 15%, transparent 75%);
  transform: translate3d(calc(var(--mx, 50%) * -0.08), calc(var(--my, 30%) * -0.05), 0);
}

.rail {
  overflow: hidden;
  border-block: 1px solid rgba(255, 45, 32, 0.22);
  padding: 20px 0;
  position: relative;
  z-index: 1;
  background:
    linear-gradient(90deg, #000 0%, transparent 12%, transparent 88%, #000 100%),
    #070707;
}

.rail-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 32s linear infinite;
}

.rail b {
  display: inline-flex;
  align-items: center;
  padding: 0 28px;
  font-family: var(--font-d);
  font-weight: 800;
  letter-spacing: -0.06em;
  font-size: clamp(22px, 4.2vw, 42px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.rail b:nth-child(3n) {
  -webkit-text-stroke-color: rgba(255, 45, 32, 0.9);
}

.rail b::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 28px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px rgba(255, 45, 32, 0.7);
}

.px-band {
  position: relative;
  z-index: 1;
  height: 420px;
  overflow: hidden;
  pointer-events: none;
  margin: 10px 0 20px;
}

.px-band-inner {
  position: relative;
  height: 100%;
  width: min(1280px, calc(100% - 72px));
  margin: 0 auto;
}

.px-band .browser {
  position: absolute;
  width: min(320px, 72vw);
  border-radius: 18px;
  box-shadow: var(--shadow);
  will-change: transform;
}

.px-band .browser:nth-child(1) { left: 2%; top: 28%; }
.px-band .browser:nth-child(2) { left: 36%; top: 6%; }
.px-band .browser:nth-child(3) { right: 4%; top: 34%; }

.crumbs {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 22px;
}

.crumbs a:hover {
  color: var(--white);
}

/* Services long */
.service-block {
  display: grid;
  grid-template-columns: 0.4fr 1.6fr;
  gap: 32px;
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.service-block h2 {
  font-family: var(--font-d);
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.04em;
}

.service-block p,
.service-block li {
  color: var(--muted);
  font-size: 16px;
}

.service-block ul {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.service-block li {
  padding-left: 18px;
  position: relative;
}

.service-block li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  position: absolute;
  left: 0;
  top: 8px;
}

/* Portfolio grid */
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.folio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 36px 0 8px;
}

.folio-card {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a0a0a;
  display: flex;
  flex-direction: column;
}

.folio-card figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #080808;
}

.folio-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 38%;
}

.folio-meta {
  padding: 20px 22px 24px;
}

.folio-tag {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.folio-meta h3 {
  font-family: var(--font-d);
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: -0.04em;
  margin: 0 0 10px;
}

.folio-meta p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 1100px) {
  .folio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .folio-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .folio-card figure {
    aspect-ratio: 16 / 10;
  }

  .folio-meta {
    padding: 18px 18px 22px;
  }
}

.work-card {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a0a0a;
  transition: transform 0.5s var(--ease);
}

.work-card:hover {
  transform: translateY(-6px);
}

.work-card .screen {
  min-height: 240px;
}

.work-meta {
  padding: 22px 24px 26px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.work-meta h3 {
  font-family: var(--font-d);
  font-size: 24px;
  letter-spacing: -0.04em;
}

.work-meta p {
  color: var(--muted);
  font-size: 13px;
}

.tag {
  color: var(--red);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Form */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.section.contact-block {
  padding-top: 104px;
}

@media (max-width: 899px) {
  .section.contact-block {
    padding-top: 72px;
  }
}

.form {
  background: rgba(10, 10, 10, 0.72);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  backdrop-filter: blur(16px);
  position: relative;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: #0a0a0a;
  border-radius: 14px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.25s;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--red);
}

.form-success {
  display: none;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 45, 32, 0.4);
  background: rgba(255, 45, 32, 0.08);
  margin-bottom: 16px;
}

.form-success.is-on {
  display: block;
}

.field-check {
  margin: 18px 0 8px;
}

.check-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13.5px;
  line-height: 1.5;
  color: #c8c8cc;
  text-transform: none;
  letter-spacing: 0;
}

.field-check label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 13.5px;
  margin-bottom: 0;
}

.check-line input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: var(--red);
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.botshield {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 16px 0 18px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #0a0a0a;
}

.botshield.is-on {
  border-color: rgba(255, 45, 32, 0.5);
}

.botshield-check {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
  margin: 0;
}

.botshield-check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.botshield-box {
  width: 22px;
  height: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #111;
  position: relative;
  flex: 0 0 auto;
}

.botshield-check input:checked + .botshield-box {
  border-color: var(--red);
  background: var(--red);
}

.botshield-check input:checked + .botshield-box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.botshield-check input:focus-visible + .botshield-box {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.botshield-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  margin: 0;
}

.botshield-brand img {
  display: block;
  height: 32px;
  width: auto;
}

.botshield-brand small {
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 640px) {
  .botshield {
    flex-direction: column;
    align-items: flex-start;
  }

  .botshield-brand {
    align-items: flex-start;
  }
}

.legal {
  max-width: 800px;
}

.legal-page {
  padding-top: calc(var(--nav-h) + 28px);
  overflow: visible;
}

.prose {
  max-width: 740px;
  font-size: 17px;
  line-height: 1.7;
  color: #c8c8cc;
}

.prose p {
  margin-bottom: 16px;
}

.prose h2 {
  font-family: var(--font-d);
  font-size: clamp(24px, 5.4vw, 36px);
  letter-spacing: -0.04em;
  color: var(--white);
  margin: 36px 0 12px;
  line-height: 1.15;
  position: relative;
}

.prose h2::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 12px;
  background: var(--red);
  transform-origin: left center;
  animation: barIn 0.7s var(--ease) both;
  animation-timeline: view();
  animation-range: entry 0% entry 35%;
}

.prose h2 em {
  font-style: normal;
  color: var(--red);
  text-shadow: 0 0 28px rgba(255, 45, 32, 0.35);
}

.prose h3 {
  font-family: var(--font-d);
  font-size: clamp(18px, 4.2vw, 26px);
  letter-spacing: -0.03em;
  color: var(--white);
  margin: 28px 0 10px;
  padding-left: 12px;
  border-left: 2px solid var(--red);
}

.prose h4 {
  font-size: clamp(16px, 3.4vw, 18px);
  color: var(--white);
  margin: 22px 0 8px;
}

.prose h5 {
  font-size: 15px;
  color: #ddd;
  margin: 18px 0 6px;
}

.prose h6 {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin: 16px 0 6px;
}

@keyframes barIn {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
  margin: 18px 0 28px;
}

.city-grid a,
.city-grid span {
  display: block;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 13px;
  color: var(--muted);
  background: rgba(10, 10, 10, 0.5);
}

.city-grid a:hover {
  border-color: var(--red);
  color: var(--white);
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.faq summary {
  cursor: pointer;
  color: var(--white);
  font-weight: 600;
}

.faq details p {
  margin-top: 10px;
}

.prose ul {
  margin: 0 0 18px;
  display: grid;
  gap: 8px;
}

.prose li {
  padding-left: 18px;
  position: relative;
}

.prose li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  position: absolute;
  left: 0;
  top: 10px;
}

.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 28px 0 8px;
}

.trust article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(13, 13, 13, 0.72);
  backdrop-filter: blur(12px);
  transition: transform 0.5s var(--ease), border-color 0.4s;
}

.trust article {
  will-change: transform;
}

.trust article:hover {
  border-color: rgba(255, 45, 32, 0.4);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.trust h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.trust p {
  color: var(--muted);
  font-size: 14px;
}

.links-404 {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.links-404 a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: left;
}

.links-404 a:hover {
  border-color: var(--red);
}

@media (max-width: 800px) {
  .trust {
    grid-template-columns: 1fr;
  }
}

.legal h2 {
  font-family: var(--font-d);
  font-size: 28px;
  margin: 32px 0 12px;
  letter-spacing: -0.03em;
}

.legal h3 {
  font-size: 18px;
  margin: 22px 0 8px;
  color: var(--white);
  letter-spacing: -0.02em;
}

.legal p,
.legal li {
  color: var(--muted);
  margin-bottom: 12px;
}

.legal ul {
  list-style: disc;
  padding-left: 22px;
  margin: 0 0 16px;
}

.legal a {
  color: var(--red);
  text-decoration: underline;
}

.legal code {
  font-size: 0.92em;
  color: var(--white);
}

.legal .stand {
  color: var(--muted);
  margin: 0 0 28px;
  font-size: 14px;
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 0 0 20px;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.legal th,
.legal td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.legal th {
  color: var(--white);
  background: #121212;
}

.notice {
  margin: 24px 0 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--muted);
  font-size: 13px;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.9s var(--ease) forwards;
  animation-timeline: view();
  animation-range: entry 0% entry 35%;
}

@supports not (animation-timeline: view()) {
  .reveal {
    animation: none;
  }
  .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  }
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

.delay-1 {
  animation-delay: 0.08s;
}
.delay-2 {
  animation-delay: 0.16s;
}
.delay-3 {
  animation-delay: 0.24s;
}

/* 404 */
.notfound {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 120px 20px;
}

.notfound h1 {
  font-size: clamp(80px, 18vw, 220px);
  color: var(--red);
}

/* Tablet + mobile */
@media (max-width: 1100px) {
  .hero h1 {
    font-size: clamp(36px, 10vw, 64px);
  }

  .film-world {
    perspective: none;
    clip-path: inset(var(--nav-h) 0 0 0);
  }

  .film-set,
  .film.is-live .film-set {
    width: min(380px, 82vw);
    right: 6%;
    top: auto;
    bottom: 8%;
    opacity: 0.55;
    height: min(300px, 38vh);
    max-height: calc(100% - var(--nav-h) - 48px);
    transform: none;
    transform-style: flat;
    animation: none;
  }

  .film-flare {
    top: 28%;
    right: -18%;
  }

  .film-tile--web,
  .film-tile--apps,
  .film-tile--seo {
    transform: none;
  }

  .film-card--back,
  .film-phone,
  .film-tile--seo {
    display: none;
  }

  .film-tile--web {
    width: min(340px, 82%);
    right: 6%;
    top: 8%;
  }

  .film-tile--apps {
    width: min(220px, 52%);
  }

  .film-word--b {
    display: none;
  }

  .film-copy {
    max-width: 100%;
  }

  .page-stage {
    display: none;
  }

  .page-hero {
    min-height: auto;
    align-items: start;
  }

  .scene-word {
    font-size: clamp(32px, 12vw, 72px);
    left: 5%;
    opacity: 0.55;
  }
}

@media (max-width: 1200px) {
  .nav::before {
    background: rgba(0, 0, 0, 0.82);
  }

  .film-world {
    perspective: none;
    clip-path: inset(var(--nav-h) 0 0 0);
  }

  .film-set,
  .film.is-live .film-set {
    transform: none;
    transform-style: flat;
    animation: none;
    height: min(340px, 42vh);
    max-height: calc(100% - var(--nav-h) - 40px);
    top: auto;
    bottom: 8%;
  }

  .film-flare {
    top: 28%;
    right: -18%;
  }

  .film-word--a {
    top: calc(var(--nav-h) + 6%);
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    z-index: 4;
    background: rgba(0, 0, 0, 0.97);
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding: 88px 28px 40px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s, visibility 0.35s;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .menu-toggle {
    z-index: 5;
  }

  .nav-links a {
    font-family: var(--font-d);
    font-size: clamp(26px, 7vw, 36px);
    color: var(--white);
    font-weight: 800;
    letter-spacing: -0.04em;
  }

  .nav-cta {
    display: none;
  }

  .layers-stage {
    grid-template-columns: 1fr 1fr;
  }

  .layer-slot:nth-child(n) {
    margin-top: 0;
  }

  .offer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .offer-sticky {
    position: relative;
    top: 0;
  }

  .offer-card:nth-child(n) {
    margin: 0;
  }

  .hero-inner,
  .intro-grid,
  .sticky-wrap,
  .contact-grid,
  .work-grid,
  .card-grid,
  .process,
  .footer-grid,
  .service-block,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .sticky-copy {
    position: relative;
    top: 0;
  }

  .section-head {
    flex-direction: column;
    align-items: start;
  }

  .stat-row {
    grid-template-columns: 1fr 1fr;
  }

  .hero-meta {
    gap: 18px;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .wrap,
  .cta-band {
    width: calc(100% - 24px);
  }

  .section {
    padding: 72px 0;
  }

  .page-hero {
    padding: calc(var(--nav-h) + 40px) 0 36px;
  }

  .logo img {
    height: 44px;
  }

  .footer-logo {
    height: 56px;
  }

  .logo-name {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--nav-h) + 20px) 0 56px;
  }

  .hero-lead,
  .intro-copy p,
  .page-hero p,
  .prose,
  .card p,
  .sticky-copy p,
  .process-item p,
  .trust p,
  .service-block p,
  .service-block li,
  .faq details p {
    font-size: 18px;
    color: var(--text);
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .layers-stage {
    width: calc(100% - 32px);
  }

  .layer-card {
    min-height: 280px;
  }

  .layers-mark {
    font-size: 28vw;
    top: 4%;
  }

  .film-set,
  .film.is-live .film-set {
    opacity: 0.28;
    width: 240px;
    height: 210px;
    max-height: 28vh;
    top: auto;
    bottom: 16%;
    right: 16px;
    transform: none;
    transform-style: flat;
    animation: none;
  }

  .film-tile--apps {
    display: none;
  }

  .film-tile--web {
    width: 92%;
    right: 4%;
    top: 8%;
  }

  .film-word--a {
    font-size: 22vw;
  }

  .px-band {
    display: none;
  }

  .section::before {
    opacity: 0.6;
  }

  .film-bars span {
    height: 4vh;
  }

  .stat-row,
  .card-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .process-item {
    min-height: 0;
  }

  .footer-grid {
    gap: 28px;
  }

  .check-hero-form {
    flex-direction: column;
  }

  .psi-row {
    grid-template-columns: 1fr 1fr;
  }
}

.boost-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 120;
  background: var(--red);
  box-shadow: 0 0 16px rgba(255, 45, 32, 0.8);
  pointer-events: none;
}

.boost {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.boost i {
  position: absolute;
  top: 0;
  width: 1px;
  height: 18vh;
  background: linear-gradient(transparent, rgba(255, 45, 32, 0.85));
  animation: boostFly 2.4s linear infinite;
  opacity: 0.55;
}

.boost i:nth-child(1) { left: 12%; animation-duration: 2.1s; }
.boost i:nth-child(2) { left: 28%; animation-duration: 2.8s; animation-delay: -0.6s; }
.boost i:nth-child(3) { left: 47%; animation-duration: 1.9s; animation-delay: -1.1s; }
.boost i:nth-child(4) { left: 63%; animation-duration: 2.5s; animation-delay: -0.3s; }
.boost i:nth-child(5) { left: 81%; animation-duration: 2.2s; animation-delay: -1.7s; }
.boost i:nth-child(6) { left: 91%; animation-duration: 3s; animation-delay: -0.9s; }

@keyframes boostFly {
  from {
    transform: translate3d(0, 110vh, 0) scaleY(0.35);
    opacity: 0;
  }
  12% {
    opacity: 0.8;
  }
  to {
    transform: translate3d(0, -30vh, 0) scaleY(1.6);
    opacity: 0;
  }
}

.launch-rail {
  position: relative;
}

.launch-rail::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(var(--red), transparent);
  transform: translateX(-50%);
  pointer-events: none;
}

.speed-strip {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 10px 0;
  background: #050505;
}

.speed-strip span {
  display: inline-block;
  white-space: nowrap;
  font-family: var(--font-d);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: clamp(16px, 2.4vw, 26px);
  animation: marquee 28s linear infinite;
}

.cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-height: min(70vh, 420px);
  overflow: auto;
  z-index: 160;
  background: rgba(11, 11, 11, 0.96);
  border: 0;
  border-top: 1px solid rgba(255, 45, 32, 0.45);
  border-radius: 0;
  padding: 18px 24px 20px;
  text-align: left;
  box-shadow: 0 -18px 48px rgba(0, 0, 0, 0.45);
}

.cookie.is-settings .cookie-inner {
  align-items: flex-start;
}

.cookie-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  width: min(1200px, 100%);
  margin: 0 auto;
}

.cookie-copy {
  min-width: 0;
  flex: 1;
}

.cookie-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 170;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #0b0b0b;
  border: 1px solid rgba(255, 45, 32, 0.55);
  color: var(--red);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.cookie-fab svg {
  width: 22px;
  height: 22px;
}

.cookie-fab:hover {
  background: #160808;
}

.cookie[hidden] {
  display: none !important;
}

.cookie h2 {
  font-family: var(--font-d);
  font-size: 18px;
  letter-spacing: -0.04em;
  margin-bottom: 6px;
}

.cookie p {
  color: #c8c8cc;
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
}

.cookie a {
  color: var(--red);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  flex-shrink: 0;
}

.cookie-actions .btn {
  min-height: 42px;
  padding: 0 18px;
  font-size: 13px;
}

@media (max-width: 800px) {
  .cookie {
    padding: 16px 16px 18px;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions .btn {
    flex: 1;
  }
}

.legal-warn {
  margin: 8px 0 0;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 45, 32, 0.45);
  background: #140808;
}

.legal-warn strong {
  display: block;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.legal-warn p {
  margin: 0;
  color: #d8d8dc;
  font-size: 15px;
  line-height: 1.55;
}

.legal-warn a {
  color: var(--red);
}

.wrap.legal-warn-wrap {
  padding-top: 28px;
}

.cookie-choice {
  margin: 18px 0 28px;
  padding: 18px 18px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #070707;
}

.cookie-choice p {
  margin: 0 0 14px;
  color: #c8c8cc;
  font-size: 15px;
  line-height: 1.5;
}

.cookie-choice .cookie-actions {
  justify-content: flex-start;
  margin-top: 16px;
}

.cookie-cat {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin: 12px 0 0;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #0a0a0a;
}

.cookie-cat p {
  margin: 0;
}

.cookie-cat-title {
  color: #fff !important;
  font-weight: 700;
  margin-bottom: 6px !important;
}

.cookie-cat-ctrl {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.cookie-cat-ctrl span {
  font-size: 11px;
  color: #888;
}

.cookie-switch {
  width: 44px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: #333;
  position: relative;
  flex-shrink: 0;
}

.cookie-switch[aria-checked="true"] {
  background: var(--red);
}

.cookie-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
}

.cookie-switch[aria-checked="true"]::after {
  left: 22px;
}

.cookie-switch:disabled {
  opacity: 0.85;
  cursor: not-allowed;
}

.cookie-panel {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #070707;
}

.cookie-panel p {
  margin: 0;
  font-size: 12px;
}

.cookie-opt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.cookie-opt input {
  accent-color: var(--red);
  width: 18px;
  height: 18px;
}

.check-hero-form {
  display: flex;
  gap: 10px;
  max-width: 640px;
  margin-top: 28px;
  position: relative;
  z-index: 4;
}

.check-hero-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line-strong);
  background: #0a0a0a;
  border-radius: 999px;
  padding: 14px 18px;
}

.check-hero-form input::placeholder {
  color: #6a6a70;
}

.check-hero-form .btn {
  flex-shrink: 0;
}

.check-hero-form.is-busy .btn {
  opacity: 0.7;
}

.page-hero--check {
  min-height: auto;
  align-items: start;
  padding-bottom: 36px;
}

.page-hero .hero-actions,
.section-actions {
  margin-top: 40px;
}

.prose .section-actions,
.prose > .hero-actions {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.prose > p:has(> .btn) {
  margin-top: 48px;
  padding-top: 8px;
}

.form .btn {
  margin-top: 28px;
}

.cta-band .hero-actions,
.check-grid .hero-actions {
  justify-content: center;
}

.page-hero .seo-status {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
  max-width: 640px;
}

.page-hero .seo-status.is-busy {
  color: var(--text);
}

.page-hero .seo-status.is-err {
  color: var(--red-soft);
}

.score-ring.is-wait {
  animation: ringPulse 1.4s ease-in-out infinite;
}

[data-seo-result] {
  scroll-margin-top: calc(var(--nav-h) + 20px);
}

@keyframes ringPulse {
  50% { filter: brightness(1.25); }
}

.psi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 18px 0 8px;
}

.psi-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 6px;
  background: #0a0a0a;
}

.psi-item b {
  display: block;
  font-family: var(--font-d);
  font-size: 22px;
  letter-spacing: -0.04em;
  color: var(--red);
}

.psi-item span {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.score-wait {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}

.check-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.score-ring {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--red) calc(var(--score) * 1%), #222 0);
  position: relative;
}

.score-ring::after {
  content: "";
  position: absolute;
  inset: 14px;
  background: #0a0a0a;
  border-radius: 50%;
}

.score-ring b {
  position: relative;
  z-index: 1;
  font-family: var(--font-d);
  font-size: 48px;
  letter-spacing: -0.06em;
}

.check-list {
  display: grid;
  gap: 10px;
}

.check-item {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #0a0a0a;
  font-size: 14px;
}

.check-item strong {
  color: var(--red);
  min-width: 52px;
}

.check-item.is-ok strong {
  color: #3ddc84;
}

.check-item.is-mid strong {
  color: #febc2e;
}

.local-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.local-pills a,
.local-pills span {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  color: var(--muted);
}

.local-pills a:hover {
  border-color: var(--red);
  color: var(--white);
}

.link-more {
  color: var(--red);
  font-weight: 600;
  font-size: 14px;
  display: inline-block;
  margin-top: 12px;
}

@media (prefers-reduced-motion: no-preference) {
  .film.is-live .film-copy {
    opacity: 0;
    animation: copyIn 1s 0.15s var(--ease) forwards;
  }

  .film.is-live .film-hint {
    opacity: 0;
    animation: copyIn 1s 0.8s var(--ease) forwards;
  }

  .film.is-live h1 .line > span {
    transform: translate3d(0, 110%, 0);
    animation: lineUp 0.95s var(--ease) forwards;
  }

  .film.is-live h1 .line:nth-child(2) > span {
    animation-delay: 0.12s;
  }

  @keyframes lineUp {
    to { transform: none; }
  }

  @keyframes copyIn {
    to { opacity: 1; transform: none; }
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .loader {
    display: none;
  }

  .boost,
  .boost-bar,
  .film-dust,
  .film-bars,
  .film-intro {
    display: none;
  }

  .film-copy,
  .film-hint,
  .hero h1 .line > span,
  .film-set {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    visibility: visible !important;
  }

  .boot,
  .cursor,
  .hud,
  .hero-field,
  .scan {
    display: none !important;
  }

  .has-cursor,
  .has-cursor * {
    cursor: auto !important;
  }
}

/* —— Cinematic inner pages —— */
.has-cursor,
.has-cursor a,
.has-cursor button {
  cursor: auto;
}

.has-cursor input,
.has-cursor textarea,
.has-cursor select {
  cursor: text;
}

.cursor {
  position: fixed;
  inset: 0;
  z-index: 400;
  pointer-events: none;
}

.cursor i,
.cursor b {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  will-change: transform;
}

.cursor i {
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 1px solid rgba(255, 45, 32, 0.85);
  box-shadow: 0 0 18px rgba(255, 45, 32, 0.25);
}

.cursor b {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--red);
}

.boot {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: #000;
  display: grid;
  place-content: center;
  justify-items: center;
  pointer-events: none;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}

.boot.is-done {
  opacity: 0;
  visibility: hidden;
}

.boot i {
  width: 120px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  animation: introLine 0.45s 0.05s var(--ease) forwards;
}

.boot b {
  font-family: var(--font-d);
  font-size: 56px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: -0.1em;
  margin-top: 12px;
}

.boot span {
  margin-top: 8px;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #666;
}

.hud {
  position: absolute;
  inset: calc(var(--nav-h) + 18px) 24px 24px;
  z-index: 4;
  pointer-events: none;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.hud span {
  position: absolute;
}

.hud span:nth-child(1) { top: 0; left: 0; color: var(--red); }
.hud span:nth-child(2) { top: 0; right: 0; }
.hud span:nth-child(3) { bottom: 0; left: 0; }
.hud span:nth-child(4) { bottom: 0; right: 0; color: #3ddc84; }

.hud span::before,
.hud span::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(255, 45, 32, 0.45);
}

.hud span:nth-child(1)::before { top: -8px; left: -8px; border-right: 0; border-bottom: 0; }
.hud span:nth-child(2)::after { top: -8px; right: -8px; border-left: 0; border-bottom: 0; }
.hud span:nth-child(3)::before { bottom: -8px; left: -8px; border-right: 0; border-top: 0; }
.hud span:nth-child(4)::after { bottom: -8px; right: -8px; border-left: 0; border-top: 0; }

.scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 2px,
    rgba(0, 0, 0, 0.12) 2px 3px
  );
  opacity: 0.35;
  mix-blend-mode: overlay;
}

.hero-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.7;
}

.is-cine .page-hero {
  min-height: 100svh;
  align-items: center;
  padding: calc(var(--nav-h) + 48px) 0 80px;
}

.is-cine .page-hero h1 {
  max-width: 18ch;
  font-size: clamp(42px, 7.2vw, 96px);
}

.is-cine .page-hero .wrap {
  width: min(1280px, calc(100% - 40px));
}

.page-stage {
  width: min(420px, 42vw);
  right: 4%;
  top: 18%;
  height: min(520px, 64vh);
}

.rig {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateY(-16deg) rotateX(8deg);
}

.rig-main {
  position: absolute;
  inset: 12% 8% 18% 4%;
  z-index: 3;
  animation: floatY 7s ease-in-out infinite;
}

.rig-back {
  position: absolute;
  width: 58%;
  top: 0;
  right: 0;
  z-index: 1;
  opacity: 0.7;
  animation: floatY 8s 0.4s ease-in-out infinite;
}

.rig-phone {
  position: absolute;
  width: 92px;
  bottom: 0;
  left: 0;
  z-index: 4;
  animation: floatY 6s 0.8s ease-in-out infinite;
}

.screen--code {
  background:
    linear-gradient(180deg, #0b0b0f, #050505);
  padding: 16px 14px;
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  font-size: 10px;
  line-height: 1.7;
  color: #8a8a90;
}

.screen--code b { color: var(--red); }
.screen--code em { color: #3ddc84; font-style: normal; }

.deck {
  position: relative;
  z-index: 1;
  padding: 0 0 20px;
}

.stat-strip {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.stat-strip article {
  padding: 22px 20px;
  border-right: 1px solid var(--line);
}

.stat-strip article:last-child { border-right: 0; }

.stat-strip b {
  display: block;
  font-family: var(--font-d);
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.06em;
  color: var(--red);
  line-height: 1;
}

.stat-strip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.marks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(1280px, calc(100% - 48px));
  margin: 8px auto 36px;
  position: relative;
  z-index: 2;
}

.marks article {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8, 8, 8, 0.72);
}

.marks b {
  display: block;
  color: var(--red);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.marks span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.bento {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 180px 180px;
  gap: 12px;
}

.bento a {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 45, 32, 0.08), transparent 50%),
    #090909;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.4s var(--ease);
}

.bento a::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -40px;
  top: -40px;
  background: radial-gradient(circle, rgba(255, 45, 32, 0.28), transparent 68%);
  pointer-events: none;
}

.bento a:hover {
  border-color: rgba(255, 45, 32, 0.55);
  transform: translateY(-4px);
}

.bento a:first-child {
  grid-row: 1 / 3;
}

.bento strong {
  font-family: var(--font-d);
  font-size: 28px;
  letter-spacing: -0.05em;
}

.bento span {
  color: var(--muted);
  font-size: 14px;
}

.story {
  display: block;
}

.term {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #070707;
  overflow: hidden;
  min-height: 320px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 40px rgba(255, 45, 32, 0.08);
}

.term-bar {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  background: #111;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.term-bar em {
  color: #3ddc84;
  font-style: normal;
}

.term-log {
  padding: 16px 16px 24px;
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  font-size: 12px;
  line-height: 1.7;
  color: #9a9aa0;
  min-height: 260px;
}

.term-log .ok { color: #3ddc84; }
.term-log .cmd { color: var(--red); }
.term-log .dim { color: #555; }

.display em {
  font-style: normal;
  color: var(--red);
  text-shadow: 0 0 32px rgba(255, 45, 32, 0.4);
}

.layers {
  position: relative;
  z-index: 1;
  padding: 80px 0 160px;
  overflow: hidden;
}

.layers::before {
  content: "";
  position: absolute;
  inset: -30% 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: translate3d(0, calc(var(--py, 0) * -140px), 0);
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}

.layers-mark {
  position: absolute;
  left: -2%;
  top: 8%;
  margin: 0;
  font-family: var(--font-d);
  font-size: clamp(80px, 22vw, 280px);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.78;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
  pointer-events: none;
  user-select: none;
  will-change: transform;
}

.layers-head {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.layers-head .prose {
  margin-top: 16px;
  color: var(--muted);
}

.layers-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  width: min(1280px, calc(100% - 40px));
  margin: 40px auto 0;
  position: relative;
  z-index: 1;
  align-items: start;
}

.layer-slot {
  min-width: 0;
  margin-top: 0;
}

@media (min-width: 701px) {
  .layers-stage {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    width: min(1280px, calc(100% - 72px));
    margin-top: 56px;
  }
}

@media (min-width: 1201px) {
  .layers-stage {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .layer-slot {
    will-change: transform;
  }

  .layer-slot:nth-child(2) { margin-top: 72px; }
  .layer-slot:nth-child(3) { margin-top: 24px; }
  .layer-slot:nth-child(4) { margin-top: 108px; }
}

.layer-card {
  min-height: 420px;
  padding: 28px 24px 30px;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background:
    linear-gradient(165deg, rgba(255, 45, 32, 0.16), transparent 42%),
    linear-gradient(180deg, #141414, #080808);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.layer-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--red);
  border-radius: 28px 0 0 28px;
}

.layer-card {
  position: relative;
  overflow: hidden;
}

.layer-num {
  display: block;
  font-family: var(--font-d);
  font-size: clamp(64px, 7vw, 108px);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.82;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--red);
}

.layer-card h3 {
  font-family: var(--font-d);
  font-size: 26px;
  letter-spacing: -0.04em;
  margin: 8px 0 10px;
}

.layer-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.lab-k {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}

.home-story .kicker {
  display: flex;
  justify-content: center;
  width: 100%;
}

.home-story .display {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 18ch;
  font-size: clamp(40px, 6.8vw, 84px);
  line-height: 1.05;
}

.story-lead {
  max-width: 62ch;
  margin: 22px auto 64px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  text-align: center;
}

.story-lead p {
  margin-bottom: 16px;
}

.story-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px 64px;
  align-items: center;
  width: 100%;
  margin: 0 0 80px;
}

.story-row--flip .story-copy {
  order: 2;
}

.story-row--flip .story-visual {
  order: 1;
}

.story-copy h3,
.story-block h3,
.story-cta h3,
.story-head h3 {
  font-family: var(--font-d);
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin: 0 0 16px;
  position: relative;
}

.story-copy h3::after,
.story-block h3::after,
.story-cta h3::after,
.story-copy h4::after,
.story-block h4::after,
.story-head h3::after,
.story-head h4::after {
  content: "";
  display: block;
  width: min(140px, 42%);
  height: 3px;
  margin-top: 14px;
  background: var(--red);
  transform-origin: left center;
  animation: barIn 0.7s var(--ease) both;
  animation-timeline: view();
  animation-range: entry 0% entry 40%;
}

.story-copy h4,
.story-block h4,
.story-copy h5,
.story-block h5,
.story-head h5,
.story-copy h6,
.story-block h6 {
  font-family: var(--font-d);
  color: var(--white);
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}

.story-copy h4,
.story-block h4,
.story-head h4 {
  font-size: clamp(20px, 2.6vw, 28px);
}

.story-copy h5,
.story-block h5,
.story-head h5 {
  font-size: clamp(18px, 2.2vw, 22px);
}

.story-copy h6,
.story-block h6 {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.home-story h2.display::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin: 18px auto 0;
  background: var(--red);
  transform-origin: center;
  animation: barIn 0.7s var(--ease) both;
  animation-timeline: view();
  animation-range: entry 0% entry 40%;
}

.story-visual {
  margin: 0;
  width: 100%;
}

.home-story {
  overflow: hidden;
  position: relative;
}

.home-story > .scene-word {
  left: auto;
  right: -3%;
  top: 36%;
  max-width: none;
  font-size: clamp(56px, 12vw, 168px);
  z-index: 0;
}

.story-copy p,
.story-block p,
.story-cta p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 14px;
}

.story-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #070707;
}

.story-block,
.story-cta {
  max-width: none;
  margin: 0 0 56px;
  text-align: left;
}

.story-block h3,
.story-cta h3 {
  font-family: var(--font-d);
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin: 0 0 16px;
}

.story-cta .hero-actions {
  justify-content: flex-start;
}

@media (max-width: 900px) {
  .story-row {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 56px;
  }

  .story-row--flip .story-copy,
  .story-row--flip .story-visual {
    order: unset;
  }

  .story-row--flip .story-visual {
    order: -1;
  }

  .home-story .display {
    max-width: none;
  }

  .story-lead,
  .story-copy p,
  .story-block p,
  .story-cta p {
    font-size: 18px;
    color: var(--text);
  }
}

.offer {
  overflow: hidden;
}

.offer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.offer-sticky {
  position: relative;
  top: 0;
  padding-bottom: 8px;
}

.offer-sticky .prose {
  margin: 18px 0 28px;
  color: var(--muted);
}

.offer-stack {
  display: grid;
  gap: 14px;
}

.offer-card {
  padding: 22px 20px;
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.95), rgba(8, 8, 8, 0.95));
  position: relative;
  overflow: hidden;
  margin: 0;
  transition: border-color 0.4s, box-shadow 0.4s;
}

.offer-card:hover {
  border-color: rgba(255, 45, 32, 0.45);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.4), 0 0 28px rgba(255, 45, 32, 0.08);
}

.offer-card h3 {
  font-family: var(--font-d);
  font-size: 22px;
  letter-spacing: -0.04em;
  margin: 8px 0 10px;
}

.offer-card p {
  color: var(--muted);
  margin-bottom: 16px;
}

@media (min-width: 1201px) {
  .offer {
    overflow: visible;
  }

  .offer-grid {
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.15fr);
    gap: 56px;
  }

  .offer-sticky {
    position: sticky;
    top: 108px;
    padding-bottom: 40px;
  }

  .offer-stack {
    gap: 18px;
  }

  .offer-card {
    padding: 32px 30px;
    min-height: 200px;
    will-change: transform;
  }

  .offer-card:nth-child(odd) { margin-right: 10%; }
  .offer-card:nth-child(even) { margin-left: 12%; }

  .offer-card h3 {
    font-size: 26px;
  }
}

.card {
  position: relative;
  overflow: hidden;
}

.card .glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(240px 180px at var(--gx, 50%) var(--gy, 0%), rgba(255, 45, 32, 0.18), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover .glare { opacity: 1; }

@media (max-width: 1100px) {
  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .bento a:first-child {
    grid-row: auto;
    grid-column: 1 / -1;
    min-height: 160px;
  }

  .story {
    grid-template-columns: 1fr;
  }

  .term {
    position: relative;
    top: 0;
  }

  .lab-inner,
  .stat-strip {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 800px) {
  .hud,
  .cursor,
  .rig-back,
  .rig-phone {
    display: none;
  }

  .has-cursor,
  .has-cursor * {
    cursor: auto;
  }

  .stat-strip,
  .lab-inner,
  .layers-stage,
  .bento,
  .marks {
    grid-template-columns: 1fr;
  }

  .bento a:first-child {
    grid-column: auto;
  }

  .page-stage {
    display: none;
  }
}

.nav {
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

body {
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (hover: hover) {
  .btn-primary:hover {
    transform: translateY(-2px);
  }
}

@media (hover: none) {
  .btn-primary:hover {
    transform: none;
  }

  .offer-card {
    transform: none !important;
  }
}

@media (min-width: 1600px) {
  .wrap {
    width: min(1320px, calc(100% - 120px));
  }

  .nav-inner {
    width: min(1320px, calc(100% - 80px));
  }
}

/* Startseite: Headline und Slider füllen die Bühne, kein mittiges Insel-Layout */
@media (min-width: 1101px) {
  .hero.film {
    align-items: end;
    padding: calc(var(--nav-h) + 4px) 0 36px;
  }

  .hero.film .film-copy {
    --hero-left: max(36px, calc((100vw - 1280px) / 2));
    width: calc(100vw - var(--hero-left) - 12px);
    max-width: none;
    margin-left: var(--hero-left);
    margin-right: 0;
    padding-right: min(360px, 28vw);
    padding-bottom: 4px;
  }

  .hero.film h1 {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    column-gap: 0.26em;
    max-width: none;
    font-size: clamp(44px, 6.1vw, 86px);
    margin: 4px 0 16px;
    line-height: 0.92;
  }

  .hero.film h1 .line {
    flex: 0 0 auto;
    overflow: visible;
    margin: 0;
    padding: 0.04em 0 0.08em;
  }

  .hero.film .hero-lead {
    max-width: 36em;
    margin-bottom: 22px;
  }

  .hero.film .film-set {
    width: min(820px, 64vw);
    height: min(740px, 84vh);
    left: auto;
    right: max(0px, calc((100vw - 1280px) / 2 + 120px));
    top: 9%;
  }
}

@media (min-width: 1600px) {
  .hero.film .film-copy {
    --hero-left: max(40px, calc((100vw - 1320px) / 2));
    padding-right: min(420px, 26vw);
  }

  .hero.film h1 {
    font-size: clamp(56px, 4.6vw, 88px);
  }

  .hero.film .film-set {
    width: min(920px, 58vw);
    height: min(800px, 86vh);
    top: 8%;
    left: auto;
    right: max(0px, calc((100vw - 1320px) / 2 + 140px));
  }
}

@media (max-width: 1200px) {
  .px-band,
  .hud,
  .page-stage,
  .layers-mark {
    display: none;
  }

  .is-cine .page-hero {
    min-height: 0;
    align-items: start;
    padding: calc(var(--nav-h) + 36px) 0 40px;
  }

  .is-cine .page-hero h1,
  .page-hero h1 {
    font-size: clamp(36px, 8vw, 64px);
    max-width: 16ch;
  }

  .page-hero .wrap,
  .is-cine .page-hero .wrap {
    width: min(1280px, calc(100% - 48px));
  }

  .scene-word {
    font-size: clamp(36px, 10vw, 72px);
    opacity: 0.4;
    top: 10%;
  }

  .layer-card {
    min-height: 320px;
  }
}

@media (max-width: 900px) {
  .offer {
    overflow: hidden;
  }

  .offer .scene-word,
  .home-story > .scene-word {
    display: none;
  }

  .offer-card,
  .layer-slot,
  .trust article {
    transform: none !important;
    will-change: auto;
    margin-left: 0;
    margin-right: 0;
  }

  .offer-stack {
    gap: 14px;
  }

  .offer-card {
    padding: 22px 20px;
    min-height: 0;
  }

  .offer-card h3 {
    font-size: 22px;
  }
}

@media (max-width: 834px) {
  .wrap {
    width: calc(100% - 40px);
  }

  .layers-stage {
    width: calc(100% - 40px);
  }

  .section {
    padding: 72px 0;
  }

  .trust {
    grid-template-columns: 1fr;
  }

  .film-copy {
    max-width: 100%;
  }

  .page-hero p,
  .hero-lead {
    font-size: 18px;
    color: var(--text);
    max-width: 42em;
  }
}

@media (max-width: 640px) {
  .btn {
    min-height: 52px;
  }

  .hero-actions .btn,
  .section-actions .btn,
  .form .btn,
  .cta-band .btn {
    width: 100%;
    max-width: 100%;
  }

  .nav .btn {
    width: auto;
  }

  .layers-stage {
    width: calc(100% - 24px);
  }

  .page-hero h1,
  .is-cine .page-hero h1 {
    font-size: clamp(32px, 11.5vw, 48px);
    max-width: none;
  }

  .cta-band .display,
  .cta-band h2 {
    font-size: clamp(26px, 8.4vw, 40px);
    line-height: 1.12;
  }

  .prose h2 {
    font-size: clamp(22px, 7.2vw, 30px);
  }

  .prose h2::after {
    width: 28px;
    height: 2px;
  }

  .prose h3 {
    font-size: clamp(17px, 5vw, 22px);
  }

  .display,
  .prose h2,
  .page-hero h1 {
    overflow-wrap: break-word;
  }
}

@keyframes gridShift {
  to { background-position: 72px 72px; }
}

@keyframes scanSweep {
  from { transform: translateY(-40%); }
  to { transform: translateY(140%); }
}

.page-hero .hero-grid,
.hero-grid {
  animation: gridShift 20s linear infinite;
}

.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 22%;
  background: linear-gradient(transparent, rgba(255, 45, 32, 0.1), transparent);
  animation: scanSweep 6.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

.trust article,
.layer-card,
.service-block,
.faq details {
  animation: rise 0.8s var(--ease) both;
  animation-timeline: view();
  animation-range: entry 0% entry 42%;
}

/* Shop page */
.page-hero--shop {
  padding-bottom: 0;
}

@media (min-width: 1201px) {
  .page-hero--shop .wrap {
    max-width: 56%;
  }
}

.page-hero--shop h1 .line:first-child > span {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.6);
}

.page-hero--shop .scene-word {
  -webkit-text-stroke: 1px rgba(255, 45, 32, 0.42);
  font-size: clamp(72px, 16vw, 180px);
  opacity: 0.9;
}

.screen--shop,
.screen--cart {
  padding: 12px;
  background: linear-gradient(180deg, #121212, #070707);
}

.sku-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.sku b,
.sku span {
  display: block;
  font-size: 9px;
  line-height: 1.2;
}

.sku b {
  margin-top: 5px;
  color: var(--white);
}

.sku span {
  color: var(--red);
}

.sku-pic {
  display: block;
  height: 38px;
  border-radius: 6px;
}

.sku-pic--a { background: linear-gradient(145deg, #4a0c0c, var(--red)); }
.sku-pic--b { background: linear-gradient(145deg, #1c1c1c, #8a8a8a); }
.sku-pic--c { background: linear-gradient(145deg, #2a0808, #f5f5f7 70%); }
.sku-pic--d { background: linear-gradient(145deg, #0a0a0a, var(--red) 85%); }

.cart-row,
.cart-sum {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.cart-sum {
  border-bottom: 0;
  color: var(--white);
  font-weight: 700;
  margin-top: 4px;
}

.cart-cta {
  display: block;
  margin-top: 10px;
  text-align: center;
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px;
  border-radius: 8px;
}

.shop-phone-ui em {
  display: block;
  font-style: normal;
  color: var(--white);
  font-size: 18px;
  letter-spacing: -0.04em;
  margin: 6px 0 8px;
}

.shop-shelf {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(1280px, calc(100% - 48px));
  margin: 12px auto 48px;
  position: relative;
  z-index: 2;
}

.shop-shelf article {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(8, 8, 8, 0.82);
}

.shop-ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 45, 32, 0.35);
  border-radius: 14px;
  color: var(--red);
  background: rgba(255, 45, 32, 0.08);
}

.shop-ico svg {
  width: 24px;
  height: 24px;
}

.shop-shelf b {
  display: block;
  color: var(--white);
  font-family: var(--font-d);
  font-size: 20px;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.shop-shelf p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.shop-cta .display {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.58);
  text-shadow: none;
}

.shop-cta .display em {
  color: transparent;
  -webkit-text-stroke: 1.6px var(--red);
  text-shadow: none;
}

@media (max-width: 1200px) {
  .page-hero--shop {
    min-height: 0;
    display: block;
    padding-bottom: 0;
  }

  .page-hero--shop .page-stage {
    display: block;
    position: relative;
    width: min(380px, 92vw);
    height: 360px;
    right: auto;
    top: auto;
    margin: 28px auto 0;
  }

  .px-band--shop {
    display: block;
    height: auto;
    pointer-events: none;
    margin: 8px 0 36px;
  }

  .px-band--shop .px-band-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: auto;
    width: calc(100% - 40px);
  }

  .px-band--shop .browser {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: 100%;
  }
}

.page-hero h1.is-long {
  max-width: 22ch;
  font-size: clamp(32px, 6vw, 72px);
  hyphens: none;
  -webkit-hyphens: none;
}

.guide-visual {
  margin: 8px 0 36px;
}

.guide-visual img,
.story-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #070707;
}

.guide-visual.guide-visual--hero {
  max-width: 640px;
  margin-top: 28px;
}

.page-hero--card h1,
.is-cine .page-hero--card h1 {
  max-width: none;
  width: 100%;
  hyphens: none;
  -webkit-hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
  font-size: clamp(26px, 3.6vw, 52px);
  line-height: 1.16;
}

.page-hero--card h1 span {
  hyphens: none;
  -webkit-hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.page-hero--card h1 .line {
  overflow: visible;
  margin-bottom: 0.12em;
}

.page-hero--card h1 .line > span {
  line-height: 1.22;
}

.story-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: none;
  margin: 0 0 22px;
}

.story-head h3,
.story-head h4,
.story-head h5 {
  margin: 0;
  font-family: var(--font-d);
  color: var(--white);
}

.story-head h3:not(:last-child)::after,
.story-head h4:not(:last-child)::after {
  display: none;
}

body:has(.page-hero--card) .home-story .display,
body:has(.page-hero--card) .section .display {
  text-align: left;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  hyphens: none;
  -webkit-hyphens: none;
}

body:has(.page-hero--card) .home-story .kicker {
  justify-content: flex-start;
}

body:has(.page-hero--card) .home-story h2.display::after {
  margin: 18px 0 0;
}

body:has(.page-hero--card) .story-lead {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

body:has(.page-hero--card) h2,
body:has(.page-hero--card) h3,
body:has(.page-hero--card) h4,
body:has(.page-hero--card) h5,
body:has(.page-hero--card) h6 {
  max-width: none;
  hyphens: none;
  -webkit-hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

@media (max-width: 1200px) {
  .is-cine .page-hero--card h1,
  .page-hero--card h1 {
    max-width: none;
    font-size: clamp(28px, 4.2vw, 44px);
  }
}

/* Hero-Karten: Grafik rechts statt Code-Bühne */
.page-hero--card .page-stage {
  display: block;
  width: min(460px, 44vw);
  height: auto;
  right: 5%;
  top: 50%;
  transform: translateY(-46%);
  pointer-events: none;
}

.page-hero--card [data-rig] {
  transform: rotateY(-14deg) rotateX(6deg);
  transform-style: preserve-3d;
  will-change: transform;
  filter: drop-shadow(0 28px 56px rgba(0, 0, 0, 0.55));
}

.page-hero--card .page-stage svg {
  width: 100%;
  height: auto;
  display: block;
}

.local-pin {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: pinBob 3.2s ease-in-out infinite;
}

.local-pin-dot {
  transform-box: fill-box;
  transform-origin: center;
  animation: pinPulse 3.2s ease-in-out infinite;
}

@keyframes pinBob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes pinPulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.05);
  }
}

.tech-ring {
  stroke-dasharray: 416 453;
  animation: ringPulse 3.4s ease-in-out infinite;
}

@keyframes ringPulse {
  0%,
  100% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  50% {
    stroke-dashoffset: 22;
    opacity: 0.82;
  }
}

.guide-lens {
  transform-box: fill-box;
  transform-origin: center;
  animation: pinPulse 3.2s ease-in-out infinite;
}

.guide-hit {
  transform-box: fill-box;
  animation: searchHit 3.6s ease-in-out infinite;
}

@keyframes searchHit {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.22;
  }
  50% {
    transform: translateY(56px);
    opacity: 0.4;
  }
}

.rank-dot {
  transform-box: fill-box;
  transform-origin: center;
  animation: pinPulse 2.8s ease-in-out infinite;
}

.kw-fill {
  transform-box: fill-box;
  transform-origin: left center;
  animation: kwGrow 3.2s ease-in-out infinite;
}

@keyframes kwGrow {
  0%,
  100% {
    transform: scaleX(1);
  }
  50% {
    transform: scaleX(0.93);
  }
}

.apps-glow {
  transform-box: fill-box;
  transform-origin: center;
  animation: pinPulse 2.6s ease-in-out infinite;
}

.software-cursor {
  transform-box: fill-box;
  animation: cursorBlink 1.1s steps(1, end) infinite;
}

.code-block {
  margin: 18px 0 24px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #0b0b0b;
  color: #d8d8dc;
  font-size: 14px;
  line-height: 1.6;
  overflow-x: auto;
  white-space: pre;
}

.plan-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 36px;
  font-size: 15px;
}

.plan-table th,
.plan-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.plan-table th {
  color: var(--white);
  font-family: var(--font-d);
  font-size: 14px;
  letter-spacing: -0.03em;
}

.plan-table td {
  color: var(--muted);
}

.plan-table tr:first-child th {
  border-bottom-color: rgba(255, 45, 32, 0.35);
}

.wsod-blank {
  animation: wsodPulse 2.8s ease-in-out infinite;
}

@keyframes wsodPulse {
  0%,
  100% {
    fill: #f3f3f3;
  }
  50% {
    fill: #ffffff;
  }
}

@keyframes cursorBlink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

.shop-pulse {
  transform-box: fill-box;
  animation: pinPulse 3s ease-in-out infinite;
}

.site-bar {
  transform-box: fill-box;
  transform-origin: left center;
  animation: kwGrow 3.4s ease-in-out infinite;
}

.local-sub,
.tech-sub,
.guide-sub {
  font-family: var(--font-d);
  font-size: clamp(18px, 2.4vw, 24px);
  color: var(--white);
  margin: 8px 0 12px;
  font-weight: 700;
}

@media (min-width: 900px) {
  .page-hero--card {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.85fr);
    align-items: center;
    width: min(1280px, calc(100% - 40px));
    margin-inline: auto;
    column-gap: 28px;
  }

  .page-hero--card .wrap,
  .is-cine .page-hero--card .wrap {
    max-width: none;
    width: auto;
  }

  .page-hero--card .page-stage {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 460px;
    justify-self: end;
  }
}

@media (max-width: 899px) {
  .page-hero--card {
    min-height: 0;
    display: block;
    padding-bottom: 28px;
    overflow: hidden;
  }

  .page-hero--card .wrap {
    max-width: 100%;
  }

  .page-hero--card .page-stage {
    display: block;
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: min(420px, 92%);
    height: auto;
    margin: 28px auto 0;
  }

  .page-hero--card [data-rig] {
    transform: none;
    filter: none;
    will-change: auto;
  }

  .page-hero--card .hero-actions {
    flex-wrap: wrap;
  }

  .page-hero--card .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .page-hero--card h1,
  .hero h1 {
    line-height: 1.18;
  }

  .page-hero--card h1 .line,
  .hero h1 .line {
    margin-bottom: 0.28em;
  }

  .page-hero--card h1 .line:has(.red),
  .hero h1 .line:has(.red) {
    margin-top: 0.18em;
  }

  .display em {
    margin-top: 0.34em;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
  }

  .display br {
    display: inline;
  }

  .home-story .display {
    font-size: clamp(26px, 7.4vw, 38px);
    max-width: 100%;
    letter-spacing: -0.04em;
  }

  body:has(.page-hero--card) h2,
  body:has(.page-hero--card) h3,
  body:has(.page-hero--card) h4,
  body:has(.page-hero--card) h5,
  body:has(.page-hero--card) h6,
  body:has(.page-hero--card) .home-story .display {
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
  }

  .rail b {
    color: rgba(245, 245, 247, 0.9);
    -webkit-text-stroke: 0;
    font-size: clamp(17px, 4.6vw, 24px);
    letter-spacing: -0.03em;
  }

  .rail b:nth-child(3n) {
    color: var(--red);
    -webkit-text-stroke: 0;
  }

  .story-visual,
  .story-visual img,
  .page-hero--card .page-stage svg {
    transform: none;
    filter: none;
    will-change: auto;
  }

  .story-head {
    gap: 16px;
    margin-bottom: 28px;
  }

  .story-copy h3,
  .story-block h3,
  .story-copy h4,
  .story-block h4,
  .prose h2,
  .prose h3 {
    margin-bottom: 18px;
  }

  .prose h2 + h3,
  .prose h3 + h4,
  .prose h4 + h5,
  .prose h5 + h6,
  .story-block h3 + h4,
  .story-block h4 + h5,
  .story-block h5 + h6 {
    margin-top: 22px;
  }
}

@media (max-width: 640px) {
  .page-hero--card .page-stage {
    width: min(100%, 360px);
    margin: 20px auto 0;
  }

  .page-hero--card h1,
  .page-hero--card h1.is-long,
  .hero h1 {
    font-size: clamp(24px, 7vw, 36px);
    letter-spacing: -0.05em;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
  }

  .hero h1 .line:nth-child(3) {
    font-size: 0.58em;
    max-width: none;
  }

  .page-hero--wsod h1 .line:nth-child(3) {
    font-size: 0.72em;
  }

  .page-hero--hilfe .wrap > p,
  .page-hero--wsod .wrap > p,
  .page-hero--card .wrap > p {
    font-size: 18px;
    color: var(--text);
    line-height: 1.6;
    max-width: 100%;
  }

  .story-row {
    gap: 16px;
    margin-bottom: 40px;
  }

  .story-visual img {
    max-height: 220px;
    object-fit: contain;
  }

  .code-block {
    font-size: 12px;
    padding: 14px 12px;
  }

  .plan-table {
    font-size: 14px;
  }

  .step-card {
    padding: 20px 18px 22px;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .page-hero--card h1,
  .hero h1 {
    font-size: clamp(30px, 4.4vw, 46px);
  }
}

.page-hero--card.page-hero--shop .wrap {
  max-width: none;
}

.page-hero--card.page-hero--shop h1 .line:first-child > span {
  color: inherit;
  -webkit-text-stroke: 0;
}

@media (hover: none) and (pointer: coarse) {
  .rail b {
    color: rgba(245, 245, 247, 0.9);
    -webkit-text-stroke: 0;
  }

  .rail b:nth-child(3n) {
    color: var(--red);
    -webkit-text-stroke: 0;
  }
}

.wp-heart {
  stroke-dasharray: 14 8;
  animation: heartFlow 1.2s linear infinite;
}

@keyframes heartFlow {
  to {
    stroke-dashoffset: -44;
  }
}

.wp-led {
  transform-box: fill-box;
  transform-origin: center;
  animation: pinPulse 1.6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .local-pin,
  .local-pin-dot,
  .tech-ring,
  .guide-lens,
  .guide-hit,
  .rank-dot,
  .kw-fill,
  .apps-glow,
  .shop-pulse,
  .site-bar,
  .software-cursor,
  .wsod-blank,
  .wp-heart,
  .wp-led {
    animation: none;
  }
}

.steps-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 48px;
}

.steps-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0 48px;
}

.step-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 22px 28px;
  background: rgba(12, 12, 12, 0.72);
}

.step-card .step-num {
  font-family: var(--font-d);
  font-size: 28px;
  color: var(--red);
  letter-spacing: -0.06em;
  display: block;
  margin-bottom: 8px;
}

.step-card h3 {
  font-family: var(--font-d);
  font-size: clamp(18px, 2.4vw, 22px);
  color: var(--white);
  margin: 0 0 12px;
  padding: 0;
  border: 0;
}

.step-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.pillar-grid,
.kw-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0 36px;
}

.pillar-card,
.kw-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  background: rgba(10, 10, 10, 0.6);
}

.pillar-card h3,
.pillar-card h4,
.kw-card h3,
.kw-card h4 {
  margin-top: 0;
}

.guide-list {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
}

.guide-list p {
  margin: 0;
  padding: 12px 14px;
  border-left: 2px solid var(--red);
  background: rgba(255, 45, 32, 0.04);
}

.page-figure-band {
  max-width: 1100px;
  margin: 0 auto 48px;
  padding: 0 20px;
}

@media (max-width: 1100px) {
  .steps-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .steps-3,
  .steps-flow,
  .pillar-grid,
  .kw-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .plan-table,
  .plan-table tbody,
  .plan-table tr,
  .plan-table th,
  .plan-table td {
    display: block;
    width: 100%;
  }

  .plan-table thead {
    display: none;
  }

  .plan-table tr {
    margin-bottom: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
  }

  .plan-table td {
    border: 0;
    padding: 8px 16px 12px;
  }

  .plan-table td:first-child {
    padding-top: 14px;
    color: var(--white);
    font-family: var(--font-d);
  }

  .page-hero--shop .rig-phone {
    display: block;
  }

  .page-hero--shop .rig-back {
    display: none;
  }

  .shop-shelf {
    grid-template-columns: 1fr;
    width: calc(100% - 24px);
  }
}

/* Handy: Fließtext einheitlich, gleiche Größe und gleiche helle Farbe */
@media (max-width: 900px) {
  main p:not(.kicker):not(.film-word):not(.scene-word):not(.film-hint):not(.mini-h),
  main li,
  main td,
  .hero-lead,
  .story-lead,
  .story-lead p,
  .story-copy p,
  .story-block p,
  .story-cta p,
  .prose,
  .prose p,
  .prose li,
  .intro-copy p,
  .page-hero p,
  .card p,
  .sticky-copy p,
  .process-item p,
  .trust p,
  .service-block p,
  .service-block li,
  .faq details p,
  .offer-card p,
  .layer-card p,
  .step-card p,
  .cta-band p,
  .cta-band--mid p,
  .cta-band--foot p {
    font-size: 18px;
    line-height: 1.65;
    color: var(--text);
  }

  .quote p {
    font-size: clamp(28px, 8vw, 40px);
    color: var(--white);
    line-height: 1.15;
  }

  .kicker {
    font-size: 11px;
    color: var(--red);
  }
}
