:root {
  color-scheme: dark;
  --bg: #1e1e1e;
  --bg-soft: #101111;
  --glass: rgba(255, 255, 255, 0.075);
  --glass-strong: rgba(255, 255, 255, 0.115);
  --glass-line: rgba(255, 255, 255, 0.08);
  --text: #f8f3ed;
  --muted: #ffffff;
  --muted-2: #ffffff;
  --accent: #4DFFFF;
  --accent-2: #8B5CF6;
  --accent-3: #ffffff;
  --hero-title-gradient: linear-gradient(105deg, #d8ffff 8%, var(--accent) 42%, var(--accent-2) 88%);
  --section-title-gradient: linear-gradient(105deg, #ffffff 4%, #d0f8ff 46%, var(--accent-2) 96%);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
  --shadow-hover: 0 36px 110px rgba(0, 0, 0, 0.65), 0 0 52px rgba(77, 255, 255, 0.16);
  --page-gradient-a: rgba(77, 255, 255, 0.05);
  --page-gradient-b: rgba(139, 92, 246, 0.05);
  --page-ambient-a: rgba(77, 255, 255, 0.10);
  --page-ambient-b: rgba(139, 92, 246, 0.10);
  --header-bg: rgba(14, 15, 15, 0.42);
  --header-bg-scrolled: rgba(14, 15, 15, 0.74);
  --hero-shade-a: rgba(9, 10, 10, 0.98);
  --hero-shade-b: rgba(9, 10, 10, 0.56);
  --hero-shade-c: rgba(9, 10, 10, 0.92);
  --hero-fade: rgba(9, 10, 10, 0.68);
  --caption-bg: rgba(9, 10, 10, 0.42);
  --surface-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  --field-bg: rgba(0, 0, 0, 0.22);
  --field-bg-focus: rgba(0, 0, 0, 0.34);
  --button-text: #0a0d0d;
  --button-bg: linear-gradient(135deg, #4DFFFF 0%, #a5f3fc 60%, #d0fffe 100%);
  --logo-filter: grayscale(1) brightness(0) invert(1) opacity(0.82);
  --logo-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.035));
  --logo-hover-filter: grayscale(0) brightness(1) invert(0) opacity(1);
  --logo-hover-bg: rgba(255, 255, 255, 0.82);
  --toast-bg: rgba(248, 243, 237, 0.9);
  --toast-text: #101010;
  --legal-overlay-a: rgba(9, 10, 10, 0.96);
  --legal-overlay-b: rgba(9, 10, 10, 0.74);
  --max: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --h1-outline-stroke: rgba(255, 255, 255, 0.88);
  --noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}


* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: 74px;
}

body {
  min-height: 100svh;
  margin: 0;
  background:
    linear-gradient(120deg, var(--page-gradient-a), transparent 28%),
    linear-gradient(240deg, var(--page-gradient-b), transparent 32%),
    var(--bg);
  color: var(--text);
  font-family: 'Space Grotesk', Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  background-image: var(--noise);
  opacity: 0.028;
  mix-blend-mode: soft-light;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 12% 18%, var(--page-ambient-a), transparent 42%),
    radial-gradient(ellipse at 88% 42%, var(--page-ambient-b), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 24%, rgba(255, 255, 255, 0.018));
}

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

button,
input,
textarea {
  font: inherit;
}

a,
button,
.service-card,
.timeline div,
.logo-marquee__item,
.hero-media,
.contact-form,
.socials a,
.contact-links button {
  transition:
    transform 320ms var(--ease),
    box-shadow 320ms var(--ease),
    background 320ms var(--ease),
    color 360ms var(--ease),
    opacity 360ms var(--ease),
    filter 320ms var(--ease);
}

/* ── Aurora animated background ── */

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

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
  animation: aurora-drift var(--aurora-dur, 20s) ease-in-out infinite alternate;
}

.aurora-blob--1 {
  --aurora-dur: 22s;
  width: clamp(380px, 48vw, 680px);
  height: clamp(380px, 48vw, 680px);
  background: radial-gradient(circle, rgba(77, 255, 255, 0.16) 0%, transparent 70%);
  top: -18%;
  left: -8%;
}

.aurora-blob--2 {
  --aurora-dur: 28s;
  width: clamp(320px, 42vw, 580px);
  height: clamp(320px, 42vw, 580px);
  background: radial-gradient(circle, rgba(139, 92, 246, 0.16) 0%, transparent 70%);
  top: 22%;
  right: -10%;
  animation-delay: -9s;
}

.aurora-blob--3 {
  --aurora-dur: 34s;
  width: clamp(260px, 32vw, 460px);
  height: clamp(260px, 32vw, 460px);
  background: radial-gradient(circle, rgba(77, 255, 255, 0.09) 0%, transparent 70%);
  bottom: 8%;
  left: 28%;
  animation-delay: -16s;
}

@keyframes aurora-drift {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(55px, -35px) scale(1.07); }
  67%  { transform: translate(-35px, 45px) scale(0.95); }
  100% { transform: translate(75px, 55px) scale(1.11); }
}

/* ── Header ── */

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 62px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 8px max(22px, calc((100vw - var(--max)) / 2 + 16px));
  border: 0;
  border-bottom: 1px solid var(--glass-line);
  border-radius: 0;
  background: var(--header-bg);
  box-shadow: 0 12px 52px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  transition:
    background 420ms var(--ease),
    box-shadow 420ms var(--ease);
}

.site-header.is-scrolled {
  background: var(--header-bg-scrolled);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.36), 0 0 24px rgba(77, 255, 255, 0.06);
}

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

.brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.12));
}

.nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.nav a,
.footer a,
.consent a,
.legal a:not(.legal-back) {
  position: relative;
  display: inline-flex;
  padding-bottom: 3px;
}

.nav a::after,
.footer a::after,
.consent a::after,
.legal a:not(.legal-back)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 420ms var(--ease);
}

.nav a:hover,
.footer a:hover,
.consent a:hover,
.legal a:not(.legal-back):hover {
  color: var(--text);
}

.nav a::after {
  background: currentColor;
}

.nav a:hover {
  letter-spacing: 0.06em;
}

.nav a:hover::after,
.footer a:hover::after,
.consent a:hover::after,
.legal a:not(.legal-back):hover::after {
  transform: scaleX(1);
}

.header-cta,
.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  will-change: transform;
}

.header-cta::before,
.button::before {
  content: "";
  position: absolute;
  inset: -2px;
  opacity: 0;
  background: linear-gradient(120deg, rgba(77, 255, 255, 0.45), rgba(139, 92, 246, 0.32));
  filter: blur(10px);
  transition: opacity 420ms var(--ease);
}

.header-cta {
  color: var(--button-text);
  background: var(--button-bg);
  font-size: 14px;
  font-weight: 700;
}

.button:hover,
.header-cta:hover {
  transform: scale(1.03);
  box-shadow: 0 0 36px rgba(77, 255, 255, 0.38), 0 16px 44px rgba(0, 0, 0, 0.36);
}

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

.button-primary {
  color: var(--button-text);
  background: linear-gradient(135deg, var(--accent), #a5f3fc 62%, #ffffff);
}

.button-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}


.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--glass-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 17px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

/* ── Layout / Sections ── */

.section {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  scroll-margin-top: 74px;
}

/* ── Hero ── */

.hero {
  width: 100%;
  max-width: none;
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns:
    minmax(clamp(20px, 2.4vw, 44px), 1fr)
    minmax(0, 760px)
    minmax(380px, 610px)
    minmax(clamp(20px, 2.4vw, 44px), 1fr);
  align-items: center;
  gap: clamp(28px, 3.5vw, 58px);
  padding-top: 96px;
  padding-bottom: 54px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  background:
    linear-gradient(90deg, var(--hero-shade-a) 0%, var(--hero-shade-b) 48%, var(--hero-shade-c) 100%),
    radial-gradient(ellipse at 68% 18%, rgba(77, 255, 255, 0.20), transparent 40%),
    radial-gradient(ellipse at 22% 72%, rgba(139, 92, 246, 0.16), transparent 46%),
    url("assets/tild3365-6238-4433-b930-613963316263__9452632644602cb.png") center / cover;
}

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

.hero-media {
  grid-column: 3;
  position: relative;
  z-index: 1;
}

/* Ambient glow orbs — cyan left, violet right */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 58% 70% at 16% 54%, rgba(77, 255, 255, 0.10), transparent),
    radial-gradient(ellipse 46% 56% at 82% 30%, rgba(139, 92, 246, 0.10), transparent);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: -8%;
  background:
    conic-gradient(from 140deg at 72% 30%, transparent, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(180deg, transparent 0%, var(--hero-fade) 100%);
  opacity: 0.72;
}

/* ── Hero text entry animations ── */

@keyframes hero-title-in {
  from {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

@keyframes hero-lead-in {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 100%;
  font-family: 'Barlow Condensed', 'Space Grotesk', sans-serif;
  font-size: clamp(80px, 14vw, 220px);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--text);
  overflow-wrap: normal;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
  animation: hero-title-in 1.0s var(--ease) 0.1s both;
}

.h1-solid {
  background: var(--hero-title-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.h1-outline {
  -webkit-text-fill-color: rgba(255, 255, 255, 0.12);
  -webkit-text-stroke: 3px var(--h1-outline-stroke);
}


.hero-lead {
  max-width: 100%;
  margin: 28px 0 0;
  color: var(--muted);
  font-family: 'Barlow Condensed', sans-serif;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(20px, 2.6vw, 40px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  background: linear-gradient(110deg, rgba(255,255,255,0.95) 40%, rgba(77,255,255,0.6) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  animation: hero-lead-in 0.85s var(--ease) 0.55s both;
}

.hero-media {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 28px;
  box-shadow:
    0 32px 96px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 80px rgba(77, 255, 255, 0.08);
  backdrop-filter: blur(10px) saturate(125%);
  -webkit-backdrop-filter: blur(10px) saturate(125%);
}

/* Shine streak at the top edge */
.hero-media::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  z-index: 3;
  background: linear-gradient(90deg, transparent 10%, rgba(255,255,255,0.18) 40%, rgba(255,255,255,0.28) 60%, transparent 90%);
  pointer-events: none;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    transparent 36%,
    rgba(0, 0, 0, 0.18) 60%,
    rgba(0, 0, 0, 0.72) 100%);
  pointer-events: none;
}

.hero-media:hover {
  transform: translateY(-8px);
  box-shadow:
    0 44px 120px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(77, 255, 255, 0.20),
    0 0 80px rgba(77, 255, 255, 0.14);
}

.showreel {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.media-caption {
  position: absolute;
  z-index: 3;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  background: rgba(9, 10, 10, 0.52);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Live indicator dot */
.media-caption::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(77, 255, 255, 0.75);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.media-caption strong {
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ── Logo marquee ── */

.logo-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 18px 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
  pointer-events: none;
}

.logo-marquee::before,
.logo-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: 2;
  width: min(18vw, 180px);
  height: 100%;
  pointer-events: none;
}

.logo-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

.logo-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg), transparent);
}

.logo-marquee__track {
  display: flex;
  width: max-content;
  animation: logo-marquee-scroll 26s linear infinite;
  will-change: transform;
}

.logo-marquee__group {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 16px;
  min-width: 100vw;
  padding-right: 16px;
}

.logo-marquee__item {
  flex: 0 0 clamp(154px, 18vw, 224px);
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 28px;
}

.logo-marquee__item img {
  width: 100%;
  max-height: 34px;
  object-fit: contain;
  filter: var(--logo-filter);
  user-select: none;
  -webkit-user-drag: none;
}

@keyframes logo-marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ── Section headings ── */

.section-head h2,
.contact h2,
.legal h1 {
  max-width: 100%;
  margin: 0;
  font-size: clamp(22px, 3.4vw, 42px);
  line-height: 1.05;
  background: var(--section-title-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.services,
.process,
.contact {
  position: relative;
  padding: 52px 0;
}

.services::before,
.process::before,
.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(100%, var(--max));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  opacity: 0.7;
}

.section-head {
  display: block;
  margin-bottom: 34px;
}

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

.service-card,
.timeline div,
.contact-form {
  border: 1px solid var(--glass-line);
  background: var(--surface-bg);
  box-shadow: 0 22px 76px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px) saturate(125%);
  -webkit-backdrop-filter: blur(10px) saturate(125%);
}

.service-card {
  padding: 26px;
  border-radius: 24px;
}

.service-card:hover,
.timeline div:hover,
.contact-form:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.service-card span,
.timeline span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.service-card h3,
.timeline h3 {
  margin: auto 0 14px;
  font-size: 26px;
  line-height: 1.05;
}

.service-card p,
.timeline p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.timeline div {
  min-height: 230px;
  padding: 26px;
  border-radius: 24px;
}

/* ── Contact ── */

.contact {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: clamp(26px, 5vw, 76px);
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 82px;
}

.contact-copy > p:not(.section-kicker) {
  margin-top: 18px;
  max-width: 420px;
  font-size: 18px;
}

.contact-links {
  display: grid;
  gap: 10px;
  margin-top: 34px;
}

.contact-links button {
  position: relative;
  width: fit-content;
  color: var(--text);
  border: 0;
  background: transparent;
  padding: 0 0 4px;
  cursor: copy;
  font-size: 20px;
  font-weight: 700;
}

.contact-links button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 420ms var(--ease);
}

.contact-links button:hover {
  color: var(--accent-3);
  text-shadow: 0 0 24px rgba(77, 255, 255, 0.22);
}

.contact-links button:hover::after {
  transform: scaleX(1);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--glass-line);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.socials a:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.32), 0 0 24px rgba(139, 92, 246, 0.22);
}

.socials img {
  width: 18px;
  height: 18px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 24px;
  border-radius: 28px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 16px;
  outline: none;
  background: var(--field-bg);
  color: var(--text);
  padding: 12px 14px;
  resize: vertical;
  transition: border-color 360ms var(--ease), box-shadow 360ms var(--ease), background 360ms var(--ease);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(77, 255, 255, 0.5);
  background: var(--field-bg-focus);
  box-shadow: 0 0 0 4px rgba(77, 255, 255, 0.08);
}

.wide {
  grid-column: 1 / -1;
}

.consent {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.consent input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--accent);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* ── Footer ── */

.footer {
  position: relative;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 30px 0 50px;
  color: var(--muted-2);
  font-size: 12px;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
}

.footer p {
  margin: 0;
}

/* ── Toast ── */

.toast {
  position: fixed;
  z-index: 60;
  right: 20px;
  bottom: 20px;
  max-width: calc(100% - 40px);
  padding: 12px 16px;
  border: 1px solid var(--glass-line);
  border-radius: 999px;
  background: var(--toast-bg);
  color: var(--toast-text);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  box-shadow: 0 16px 54px rgba(0, 0, 0, 0.35);
  transition: opacity 360ms var(--ease), transform 360ms var(--ease);
}

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

/* ── Scroll reveal ── */

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1100ms cubic-bezier(0.4, 0, 0.2, 1), transform 1100ms cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}

[data-reveal].reveal-from-top {
  transform: translateY(-18px);
}

[data-reveal].is-inview {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal].no-transition {
  transition: none !important;
  transition-delay: 0ms !important;
}

/* ── Legal pages ── */

.legal-page {
  min-height: 100svh;
  background:
    linear-gradient(90deg, var(--legal-overlay-a), var(--legal-overlay-b)),
    radial-gradient(ellipse at 78% 18%, rgba(139, 92, 246, 0.14), transparent 44%),
    url("assets/tild3365-6238-4433-b930-613963316263__9452632644602cb.png") center / cover fixed;
}

.legal {
  width: min(calc(100% - 32px), 820px);
  margin: 0 auto;
  padding: 72px 0;
}

.legal-back {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--accent);
  font-weight: 700;
}

.legal p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

/* ── Portfolio ── */

.portfolio {
  position: relative;
  padding: 52px 0;
}

.portfolio::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(100%, var(--max));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  opacity: 0.7;
}

/* Без кикера — h2 на всю ширину */
.portfolio .section-head {
  grid-template-columns: 1fr;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.portfolio-item {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(77, 255, 255, 0.07), transparent 60%),
    radial-gradient(ellipse at 82% 14%, rgba(139, 92, 246, 0.06), transparent 54%),
    var(--surface-bg);
  border: 1px solid var(--glass-line);
  cursor: pointer;
  transition:
    transform 360ms var(--ease),
    box-shadow 360ms var(--ease),
    border-color 360ms var(--ease);
}

.portfolio-item:hover {
  transform: translateY(-5px) scale(1.015);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(77, 255, 255, 0.22);
  border-color: rgba(77, 255, 255, 0.26);
}

.portfolio-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;
  transition: opacity 300ms ease;
  pointer-events: none;
}

.portfolio-item-label {
  position: absolute;
  bottom: 12px;
  left: 14px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.42);
  pointer-events: none;
}

/* ── Pricing ── */

.pricing-section {
  position: relative;
  padding: 52px 0;
}

.pricing-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(100%, var(--max));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  opacity: 0.7;
}

.pricing-tabs {
  display: flex;
  gap: 5px;
  margin: 0 auto 28px;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: 100px;
  padding: 5px;
  width: fit-content;
}

.pricing-tab {
  padding: 9px 30px;
  border-radius: 100px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 260ms var(--ease), color 260ms var(--ease);
}

.pricing-tabs[data-active="ai"] .pricing-tab.is-active {
  background: #FF3B5C;
  color: #fff;
}

.pricing-tabs[data-active="cgi"] .pricing-tab.is-active {
  background: var(--accent);
  color: var(--button-text);
}

.pricing-tab:hover:not(.is-active) {
  color: var(--text);
}

.pricing-panel {
  display: none;
}

.pricing-panel.is-active {
  display: block;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pricing-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  margin: 4px 0 0;
  line-height: 1.5;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(77, 255, 255, 0.35);
  background: var(--surface-bg);
  box-shadow: 0 0 18px rgba(77, 255, 255, 0.12), 0 22px 76px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px) saturate(125%);
  -webkit-backdrop-filter: blur(10px) saturate(125%);
  transition:
    transform 320ms var(--ease),
    box-shadow 320ms var(--ease),
    border-color 260ms var(--ease);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 28px rgba(77, 255, 255, 0.22), var(--shadow-hover);
}

/* AI-режим: красная рамка */
.pricing-tabs[data-active="ai"] ~ .pricing-panel .pricing-card {
  border-color: rgba(255, 59, 92, 0.35);
  box-shadow: 0 0 18px rgba(255, 59, 92, 0.12), 0 22px 76px rgba(0, 0, 0, 0.25);
}

.pricing-tabs[data-active="ai"] ~ .pricing-panel .pricing-card:hover {
  box-shadow: 0 0 28px rgba(255, 59, 92, 0.22), var(--shadow-hover);
}

.pricing-card--featured {
  border-color: rgba(77, 255, 255, 0.55);
  box-shadow: 0 0 28px rgba(77, 255, 255, 0.2), 0 22px 76px rgba(0, 0, 0, 0.3);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(77, 255, 255, 0.07), transparent 65%),
    var(--surface-bg);
}

.pricing-tabs[data-active="ai"] ~ .pricing-panel .pricing-card--featured {
  border-color: rgba(255, 59, 92, 0.55);
  box-shadow: 0 0 28px rgba(255, 59, 92, 0.2), 0 22px 76px rgba(0, 0, 0, 0.3);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 59, 92, 0.08), transparent 65%),
    var(--surface-bg);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #111;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(77, 255, 255, 0.35);
}

.pricing-card-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-name {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.pricing-price strong {
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 800;
  line-height: 1;
  color: var(--text);
  white-space: nowrap;
}

.pricing-from {
  font-size: 13px;
  color: var(--muted);
}

.pricing-desc {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.pricing-features {
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--glass-line);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}

.pricing-features li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
}

.pricing-card .button {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* ── Services / Process section-head single-line fix ── */

.services .section-head,
.process .section-head {
  grid-template-columns: 1fr;
}


/* ── Cursor spotlight ── */

.cursor-spot {
  position: fixed;
  z-index: 1;
  pointer-events: none;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  top: 0;
  left: 0;
  transform: translate(calc(var(--mx, -9999px) - 50%), calc(var(--my, -9999px) - 50%));
  background: radial-gradient(circle, rgba(77, 255, 255, 0.065) 0%, transparent 60%);
  will-change: transform;
  opacity: 0;
  transition: opacity 600ms var(--ease);
}

@media (hover: hover) {
  .cursor-spot.is-active { opacity: 1; }
}

/* ── Hero stats ── */

.hero-stats {
  display: flex;
  gap: clamp(24px, 4vw, 52px);
  margin-top: clamp(28px, 3.5vw, 44px);
  animation: hero-lead-in 0.85s var(--ease) 1.05s both;
}

.hero-stat {
  position: relative;
  padding-top: 14px;
}

.hero-stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 1px;
}

.hero-stat-value {
  display: flex;
  align-items: baseline;
  gap: 1px;
  line-height: 1;
}

.hero-stat strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(30px, 3.8vw, 50px);
  font-weight: 900;
  line-height: 1;
  background: var(--hero-title-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stat-suffix {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(18px, 2.2vw, 30px);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  align-self: flex-start;
  margin-top: 3px;
}

.hero-stat p {
  margin: 5px 0 0;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.38);
}

/* ── Featured (full-width horizontal) video ── */
.portfolio-featured {
  margin-bottom: 32px;
}

.portfolio-featured .portfolio-item {
  aspect-ratio: 16 / 9;
  width: 100%;
  max-height: none;
}

/* ── Portfolio item gradient variants ── */

.portfolio-item:nth-child(1) {
  background:
    radial-gradient(ellipse at 18% 78%, rgba(77, 255, 255, 0.13), transparent 56%),
    radial-gradient(ellipse at 82% 18%, rgba(139, 92, 246, 0.09), transparent 52%),
    var(--surface-bg);
}

.portfolio-item:nth-child(2) {
  background:
    radial-gradient(ellipse at 82% 78%, rgba(139, 92, 246, 0.14), transparent 58%),
    radial-gradient(ellipse at 16% 28%, rgba(77, 255, 255, 0.07), transparent 50%),
    var(--surface-bg);
}

.portfolio-item:nth-child(3) {
  background:
    radial-gradient(ellipse at 50% 12%, rgba(77, 255, 255, 0.11), transparent 54%),
    radial-gradient(ellipse at 78% 84%, rgba(139, 92, 246, 0.10), transparent 50%),
    var(--surface-bg);
}

.portfolio-item:nth-child(4) {
  background:
    radial-gradient(ellipse at 16% 16%, rgba(139, 92, 246, 0.13), transparent 56%),
    radial-gradient(ellipse at 84% 74%, rgba(77, 255, 255, 0.08), transparent 52%),
    var(--surface-bg);
}

.portfolio-item:nth-child(5) {
  background:
    radial-gradient(ellipse at 62% 18%, rgba(77, 255, 255, 0.12), transparent 55%),
    radial-gradient(ellipse at 22% 80%, rgba(139, 92, 246, 0.09), transparent 53%),
    var(--surface-bg);
}

.portfolio-item:nth-child(6) {
  background:
    radial-gradient(ellipse at 84% 38%, rgba(139, 92, 246, 0.13), transparent 56%),
    radial-gradient(ellipse at 24% 72%, rgba(77, 255, 255, 0.08), transparent 52%),
    var(--surface-bg);
}

.portfolio-item:nth-child(7) {
  background:
    radial-gradient(ellipse at 28% 18%, rgba(77, 255, 255, 0.11), transparent 57%),
    radial-gradient(ellipse at 74% 82%, rgba(139, 92, 246, 0.11), transparent 51%),
    var(--surface-bg);
}

.portfolio-item:nth-child(8) {
  background:
    radial-gradient(ellipse at 72% 14%, rgba(139, 92, 246, 0.12), transparent 55%),
    radial-gradient(ellipse at 16% 76%, rgba(77, 255, 255, 0.10), transparent 54%),
    var(--surface-bg);
}

/* ── Responsive ── */

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    padding: 12px 16px;
  }

  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 0;
    border-top: 1px solid var(--glass-line);
    border-bottom: 1px solid var(--glass-line);
    border-radius: 0 0 24px 24px;
    background: var(--header-bg-scrolled);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

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

  .menu-button {
    display: block;
    justify-self: end;
    margin-left: auto;
  }

  .header-cta {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    width: min(calc(100% - 32px), var(--max));
  }

  .hero-copy,
  .hero-media {
    grid-column: auto;
  }

  .hero-media {
    min-height: 560px;
  }

  .section-head,
  .contact {
    grid-template-columns: 1fr;
  }

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

  .contact-copy {
    position: static;
  }

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

@media (max-width: 640px) {
  .site-header {
    min-height: 72px;
    padding: 10px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .hero {
    width: min(calc(100% - 20px), var(--max));
    padding-top: 96px;
  }

  .hero-media {
    min-height: 470px;
    border-radius: 22px;
  }

  .logo-marquee {
    padding: 14px 0;
  }

  .logo-marquee__group {
    gap: 12px;
    padding-right: 12px;
  }

  .logo-marquee__item {
    flex-basis: 148px;
    height: 64px;
    padding: 16px 22px;
  }

  .service-grid,
  .timeline,
  .contact-form,
  .portfolio-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .services,
  .process,
  .contact,
  .portfolio,
  .pricing-section {
    padding: 58px 0;
  }

  .timeline div {
    min-height: 210px;
  }
}

@media (hover: none), (pointer: coarse) {
  .hero-media:hover,
  .service-card:hover,
  .timeline div:hover,
  .contact-form:hover,
  .button:hover,
  .header-cta:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero h1,
  .hero-lead {
    animation: none !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  .logo-marquee__track {
    animation: none !important;
  }

  .aurora-blob {
    animation: none !important;
  }
}
