/* ==========================================================================
   Pixellion — 2026 studio site
   Design system, layout, components and motion.
   ========================================================================== */

@font-face {
  font-family: 'Manrope';
  src: url('../img/fonts/manrope-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Instrument Serif';
  src: url('../img/fonts/instrument-serif.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Instrument Serif';
  src: url('../img/fonts/instrument-serif-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --primary: #D72363;
  --primary-deep: #A70E4C;
  --primary-soft: #F7DCE5;
  --magenta: #FF4D8D;
  --violet: #7B4DFF;
  --violet-soft: #B79FFF;
  --blue: #3155FF;
  --ice: #CBE3FF;
  --ink: #0B0A12;
  --ink-2: #12101B;
  --ink-3: #1A1724;
  --cream: #F6F2EB;
  --cream-deep: #EFE8DE;
  --paper: #FCFAF7;
  --white: #FFFFFF;
  --muted: #6D6775;
  --muted-2: #958E9D;
  --line: rgba(11, 10, 18, 0.10);
  --line-soft: rgba(11, 10, 18, 0.06);
  --line-strong: rgba(11, 10, 18, 0.18);
  --white-line: rgba(255, 255, 255, 0.10);
  --white-line-soft: rgba(255, 255, 255, 0.06);

  --gradient-brand: linear-gradient(115deg, #D72363 0%, #A93BFF 52%, #3155FF 100%);
  --gradient-brand-soft: linear-gradient(115deg, #FF6A9E 0%, #B472FF 52%, #6C8CFF 100%);
  --gradient-warm: linear-gradient(120deg, #FF5F9E 0%, #D72363 45%, #7B4DFF 100%);
  --gradient-ink: linear-gradient(145deg, #0B0A12 0%, #161020 55%, #0B0A12 100%);

  --shadow-card: 0 26px 70px -32px rgba(24, 12, 40, 0.28), 0 2px 10px rgba(24, 12, 40, 0.04);
  --shadow-soft: 0 14px 44px -24px rgba(24, 12, 40, 0.24);
  --shadow-lift: 0 42px 110px -40px rgba(24, 12, 40, 0.4);

  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;

  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 92px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

::selection {
  background: var(--primary);
  color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

p {
  margin: 0;
}

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

button {
  font: inherit;
  color: inherit;
}

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

img {
  height: auto;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
  border-radius: 4px;
}

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

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 2000;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 13px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}

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

/* Grain + scroll progress ------------------------------------------------ */

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: multiply;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1200;
  height: 2px;
  background: var(--gradient-brand);
  transform-origin: 0 50%;
  transition: transform 0.1s linear;
}

/* Typography helpers ---------------------------------------------------- */

.container {
  width: min(1320px, calc(100% - 80px));
  margin-inline: auto;
}

.container--wide {
  width: min(1440px, calc(100% - 48px));
}

.section {
  position: relative;
  padding: clamp(88px, 4.5vw, 148px) 0;
}

.section--pt-sm {
  padding-top: clamp(56px, 6vw, 88px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow__dot {
  position: relative;
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--primary);
}

.eyebrow__dot::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(215, 35, 99, 0.28);
  animation: dotPulse 3s var(--ease-soft) infinite;
}

.eyebrow__line {
  width: 34px;
  height: 1px;
  background: var(--line-strong);
}

.accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.04em;
}

.section--dark .accent {
  background-image: var(--gradient-brand-soft);
}

.h2 {
  font-size: clamp(42px, 5vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.h3 {
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.05;
}

.lede {
  color: var(--muted);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.72;
  font-weight: 500;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: end;
  margin-bottom: clamp(44px, 5vw, 64px);
}

.section-head__aside {
  padding-bottom: 8px;
}

.section-head__aside .lede {
  max-width: 380px;
}

.section-head__aside .text-link {
  margin-top: 24px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.text-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.45s var(--ease);
}

.text-link:hover svg {
  transform: translate(3px, -3px);
}

.text-link--light {
  color: var(--cream);
}

.muted {
  color: var(--muted);
}

/* Buttons --------------------------------------------------------------- */

.btn {
  --mtx: 0px;
  --mty: 0px;
  --lift: 0px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 12px 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transform: translate3d(var(--mtx), calc(var(--mty) + var(--lift)), 0);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease), color 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}

.btn__arrow {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 50%;
  transition: transform 0.45s var(--ease), background 0.3s ease;
}

.btn__arrow svg {
  width: 14px;
  height: 14px;
}

.btn:hover {
  --lift: -2px;
}

.btn:hover .btn__arrow {
  transform: rotate(45deg);
}

.btn--primary {
  background: var(--gradient-brand);
  color: var(--white);
  box-shadow: 0 18px 38px -18px rgba(215, 35, 99, 0.7);
}

.btn--primary .btn__arrow {
  background: rgba(255, 255, 255, 0.2);
}

.btn--primary:hover {
  box-shadow: 0 24px 48px -18px rgba(169, 59, 255, 0.58);
}

.btn--ink {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 18px 38px -22px rgba(11, 10, 18, 0.6);
}

.btn--ink .btn__arrow {
  background: rgba(255, 255, 255, 0.1);
}

.btn--ink:hover {
  background: #1A1724;
}

.btn--light {
  background: var(--paper);
  color: var(--ink);
}

.btn--light .btn__arrow {
  background: var(--ink);
  color: var(--cream);
}

.btn--light:hover {
  background: #FFFFFF;
}

.btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--cream);
  background: rgba(255, 255, 255, 0.03);
}

.btn--ghost-light .btn__arrow {
  background: rgba(255, 255, 255, 0.1);
}

.btn--ghost-light:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.btn--outline {
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink);
  border: 0;
}

.btn--outline::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: var(--gradient-brand);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0.7;
  pointer-events: none;
}

.btn--outline .btn__arrow {
  background: rgba(11, 10, 18, 0.06);
}

.btn--outline:hover {
  background: #FFFFFF;
}

.btn--outline:hover::before {
  opacity: 1;
}

.btn--sm {
  min-height: 44px;
  padding-left: 20px;
  font-size: 12.5px;
}

.btn--sm .btn__arrow {
  width: 26px;
  height: 26px;
}

.btn--full {
  width: 100%;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* Reveal ---------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

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

@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 0.65; }
  50% { transform: scale(1.35); opacity: 0; }
}

/* Boot / error / noscript ----------------------------------------------- */

.boot-screen {
  min-height: 100svh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 22px;
  background: var(--cream);
}

.boot-screen__mark {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  animation: bootFloat 2.4s var(--ease-soft) infinite;
}

.boot-screen__mark img {
  width: 44px;
  height: 44px;
}

.boot-screen__line {
  width: 160px;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(11, 10, 18, 0.08);
}

.boot-screen__line span {
  display: block;
  width: 45%;
  height: 100%;
  border-radius: inherit;
  background: var(--gradient-brand);
  animation: bootLine 1.3s var(--ease-soft) infinite;
}

.boot-screen__label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

@keyframes bootFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes bootLine {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(340%); }
}

.noscript-card {
  margin: 80px auto;
  max-width: 640px;
  padding: 40px;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.noscript-card img {
  margin-bottom: 20px;
}

.noscript-card h1 {
  font-size: 36px;
  margin-bottom: 16px;
}

.noscript-card p {
  color: var(--muted);
  margin-bottom: 10px;
}

.error-page {
  min-height: 100svh;
  padding: 32px 40px;
  background:
    radial-gradient(700px 500px at 80% 10%, rgba(255, 77, 141, 0.16), transparent 60%),
    radial-gradient(600px 500px at 10% 80%, rgba(49, 85, 255, 0.12), transparent 60%),
    var(--cream);
}

.error-page__top {
  padding: 8px 0 40px;
}

.error-page__body {
  max-width: 760px;
  margin: 8vh auto;
  text-align: center;
}

.error-page__body h1 {
  font-size: clamp(48px, 7vw, 92px);
  margin-bottom: 24px;
}

.error-page__body p {
  color: var(--muted);
  margin-bottom: 32px;
}

/* Header ---------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  transition: background 0.4s var(--ease), border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(246, 242, 235, 0.78);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  border-bottom-color: rgba(11, 10, 18, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  transition: height 0.4s var(--ease);
}

.site-header.is-scrolled .site-header__inner {
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(215, 35, 99, 0.24));
  transition: transform 0.5s var(--ease);
}

.brand:hover .brand__mark {
  transform: rotate(-6deg) scale(1.04);
}

.brand__word {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.brand__word--light {
  color: var(--cream);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  border: 1px solid rgba(11, 10, 18, 0.06);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 34px -28px rgba(11, 10, 18, 0.4);
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  color: #4E4956;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.005em;
  transition: color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.main-nav a::before {
  content: '';
  width: 0;
  height: 5px;
  border-radius: 50%;
  background: var(--gradient-brand);
  transition: width 0.3s var(--ease);
}

.main-nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
}

.main-nav a.is-active {
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 8px 20px -14px rgba(11, 10, 18, 0.35);
}

.main-nav a.is-active::before {
  width: 5px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cta {
  min-height: 46px;
  padding-left: 20px;
  padding-right: 8px;
  font-size: 12.5px;
}

.header-cta .btn__arrow {
  width: 30px;
  height: 30px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(11, 10, 18, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 3px auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.3s ease;
}

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

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

/* Mobile menu ----------------------------------------------------------- */

.mobile-menu-dialog .q-dialog__inner {
  padding: 0;
}

.mobile-menu {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: auto;
  padding: 28px 24px 40px;
  background:
    radial-gradient(700px 500px at 90% 0%, rgba(123, 77, 255, 0.24), transparent 65%),
    radial-gradient(600px 500px at 0% 90%, rgba(215, 35, 99, 0.2), transparent 65%),
    #0B0A12;
  color: var(--cream);
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}

.mobile-menu__close {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--cream);
  cursor: pointer;
}

.mobile-menu__close svg {
  width: 18px;
  height: 18px;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--cream);
  font-size: clamp(38px, 10vw, 64px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  opacity: 0;
  transform: translateY(18px);
  animation: menuItemIn 0.75s var(--ease) forwards;
}

.mobile-menu__nav a span {
  color: var(--magenta);
  font-family: var(--font-serif);
  font-size: 14px;
  font-style: italic;
  letter-spacing: 0;
  opacity: 0.85;
}

.mobile-menu__footer {
  display: grid;
  gap: 12px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: rgba(246, 242, 235, 0.66);
}

.mobile-menu__footer a {
  color: var(--cream);
}

.mobile-menu__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ice);
}

.mobile-menu__status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5BE3A2;
  box-shadow: 0 0 0 4px rgba(91, 227, 162, 0.12);
}

@keyframes menuItemIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Hero ------------------------------------------------------------------ */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 44px) 0 72px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--cream);
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: -20% -10% 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(11, 10, 18, 0.14) 1px, transparent 0);
  background-size: 34px 34px;
  opacity: 0.28;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 60% 35%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 65% at 60% 35%, #000 10%, transparent 72%);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
}

.hero__orb--one {
  width: 640px;
  height: 640px;
  top: -230px;
  right: -100px;
  background: radial-gradient(circle at 40% 40%, rgba(255, 77, 141, 0.5), rgba(215, 35, 99, 0.12) 55%, transparent 70%);
}

.hero__orb--two {
  width: 580px;
  height: 580px;
  bottom: -280px;
  left: 6%;
  background: radial-gradient(circle at 50% 50%, rgba(49, 85, 255, 0.32), rgba(123, 77, 255, 0.1) 55%, transparent 72%);
}

.hero__orb--three {
  width: 320px;
  height: 320px;
  top: 24%;
  left: 38%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.9), rgba(203, 227, 255, 0.24) 50%, transparent 70%);
  filter: blur(60px);
  opacity: 0.55;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(40px, 5vw, 88px);
}

.hero__copy {
  padding-top: 6px;
}

.hero__eyebrow {
  opacity: 0;
  animation: heroFadeUp 0.9s var(--ease) 0.15s forwards;
}

.hero__title {
  margin: 0 0 30px;
  font-size: clamp(58px, 6.8vw, 100px);
  line-height: 0.91;
  letter-spacing: -0.065em;
  font-weight: 700;
}

.hero__title-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.03em;
}

.hero__title-line > span {
  display: inline-block;
  transform: translateY(108%);
  animation: heroLineIn 1.15s var(--ease) forwards;
}

.hero__title-line:nth-child(1) > span { animation-delay: 0.22s; }
.hero__title-line:nth-child(2) > span { animation-delay: 0.32s; }
.hero__title-line:nth-child(3) > span { animation-delay: 0.42s; }

.hero__title .accent {
  font-size: 1.04em;
  line-height: 0.8;
}

.hero__lede {
  max-width: 510px;
  color: #55505D;
  font-size: clamp(16px, 1.18vw, 18px);
  line-height: 1.7;
  opacity: 0;
  animation: heroFadeUp 0.9s var(--ease) 0.62s forwards;
}

.hero__lede strong {
  color: var(--ink);
  font-weight: 700;
}

.word-rotator {
  display: inline-grid;
  justify-items: center;
  vertical-align: bottom;
  overflow: hidden;
  min-width: 7.6em;
  height: 1.5em;
  padding: 0 10px;
  margin: 0 2px -0.34em;
  border: 1px solid rgba(215, 35, 99, 0.16);
  border-radius: 999px;
  background: rgba(215, 35, 99, 0.065);
  color: var(--primary);
  font-size: 0.95em;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.word-rotator > span {
  grid-area: 1 / 1;
  white-space: nowrap;
}

.word-rotator__enter-active,
.word-rotator__leave-active {
  transition: transform 0.55s var(--ease), opacity 0.4s ease;
}

.word-rotator__enter-from {
  opacity: 0;
  transform: translateY(105%);
}

.word-rotator__leave-to {
  opacity: 0;
  transform: translateY(-105%);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  opacity: 0;
  animation: heroFadeUp 0.9s var(--ease) 0.76s forwards;
}

.hero__proof {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  opacity: 0;
  animation: heroFadeUp 0.9s var(--ease) 0.9s forwards;
}

.hero__proof-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.hero__proof-item strong {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--ink);
}

.hero__proof-item span {
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
  max-width: 90px;
}

.hero__proof-divider {
  width: 1px;
  height: 28px;
  background: var(--line);
}

.hero__visual {
  position: relative;
  justify-self: end;
  width: min(100%, 500px);
  opacity: 0;
  animation: heroVisualIn 1.4s var(--ease) 0.35s forwards;
}

.hero-scene {
  position: relative;
  perspective: 1400px;
  transform-style: preserve-3d;
}

.hero-frame {
  --rx: 0deg;
  --ry: 0deg;
  --gx: 50%;
  --gy: 40%;
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 34px;
  overflow: hidden;
  background: #0B0711;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 60px 120px -45px rgba(20, 8, 34, 0.7), 0 20px 40px -30px rgba(20, 8, 34, 0.5);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease);
  will-change: transform;
}

.hero-frame__img {
  position: absolute;
  inset: -2%;
  width: 104%;
  height: 104%;
  object-fit: cover;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(1.04);
  transition: transform 0.9s var(--ease);
}

.hero-frame__aurora {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;
  opacity: 0.72;
  pointer-events: none;
}

.hero-frame__aurora-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 25% 35%, rgba(255, 61, 134, 0.26), transparent 70%),
    radial-gradient(55% 45% at 75% 65%, rgba(70, 100, 255, 0.3), transparent 70%);
  mix-blend-mode: screen;
  opacity: 0.8;
  animation: auroraDrift 12s ease-in-out infinite alternate;
}

.hero-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(6, 4, 12, 0.52) 0%, transparent 26%, transparent 66%, rgba(6, 4, 12, 0.82) 100%),
    radial-gradient(circle at var(--gx) var(--gy), rgba(255, 255, 255, 0.14), transparent 32%);
  pointer-events: none;
}

.hero-frame__grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.22;
  pointer-events: none;
}

.hero-frame__top {
  position: absolute;
  z-index: 3;
  top: 22px;
  left: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.66);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-status {
  position: absolute;
  z-index: 4;
  top: 52px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(12, 8, 20, 0.42);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: rgba(255, 255, 255, 0.88);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5BE3A2;
  box-shadow: 0 0 0 4px rgba(91, 227, 162, 0.13);
  animation: statusPulse 2.6s ease-in-out infinite;
}

.hero-frame__bottom {
  position: absolute;
  z-index: 3;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.54);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-frame__bottom span:nth-child(2) {
  color: rgba(255, 255, 255, 0.88);
}

.hero-badge {
  position: absolute;
  z-index: 6;
  top: -30px;
  right: -28px;
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(252, 250, 247, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px -22px rgba(24, 12, 40, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero-badge svg {
  position: absolute;
  inset: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  animation: spin 26s linear infinite;
}

.hero-badge text {
  fill: var(--ink);
  font-family: var(--font-sans);
  font-size: 7.4px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-badge__star {
  font-size: 26px;
  line-height: 1;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-mini {
  position: absolute;
  z-index: 5;
  left: -48px;
  bottom: 56px;
  width: 158px;
  padding: 7px;
  border-radius: 22px;
  background: rgba(252, 250, 247, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 30px 70px -30px rgba(24, 12, 40, 0.55);
  transform: rotate(-5deg) translate3d(var(--mx, 0px), var(--my, 0px), 0);
  transition: transform 0.7s var(--ease);
}

.hero-mini__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  background: #1a1420;
}

.hero-mini__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 9px 7px 4px;
  color: var(--ink);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-mini__label span:last-child {
  color: var(--primary);
}

.hero-scroll {
  position: absolute;
  z-index: 3;
  left: 40px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero-scroll::before {
  content: '';
  width: 1px;
  height: 46px;
  background: linear-gradient(to bottom, transparent, var(--line-strong));
}

@keyframes heroLineIn {
  to { transform: translateY(0); }
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroVisualIn {
  from { opacity: 0; transform: translateY(36px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

@keyframes auroraDrift {
  0% { transform: scale(1) translate3d(0, 0, 0); opacity: 0.65; }
  100% { transform: scale(1.12) translate3d(-2%, 1%, 0); opacity: 0.9; }
}

/* Marquee --------------------------------------------------------------- */

.marquee {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: var(--ink);
  color: var(--cream);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 120px;
  pointer-events: none;
}

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

.marquee::after {
  right: 0;
  background: linear-gradient(-90deg, var(--ink), transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: 42px;
  padding: 23px 21px;
  flex: 0 0 auto;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 42px;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 242, 235, 0.8);
}

.marquee__item--accent {
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: none;
}

.marquee__star {
  width: 10px;
  height: 10px;
  color: var(--magenta);
  flex: 0 0 auto;
}

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

/* Studio ---------------------------------------------------------------- */

.studio {
  background: var(--cream);
  overflow: hidden;
}

.studio::before {
  content: '';
  position: absolute;
  top: 16%;
  right: -12%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 77, 141, 0.12), transparent 68%);
  filter: blur(30px);
  pointer-events: none;
}

.studio__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}

.studio__copy {
  max-width: 560px;
}

.studio__copy .h2 {
  margin-bottom: 28px;
}

.studio__copy p {
  max-width: 490px;
  margin-bottom: 18px;
}

.studio__copy p + p {
  margin-bottom: 30px;
}

.studio__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0 34px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  color: #4F4959;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.pill::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gradient-brand);
}

.pill--dark {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(246, 242, 235, 0.78);
}

.studio__media {
  position: relative;
}

.studio-figure {
  position: relative;
  margin: 0;
  border-radius: 40px;
  overflow: hidden;
  background: #D7CEC2;
  box-shadow: var(--shadow-lift);
  isolation: isolate;
}

.studio-figure::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.28);
  pointer-events: none;
}

.studio-figure__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transform: scale(1.06) translate3d(0, var(--studio-img-y, 0px), 0);
  transition: transform 0.2s linear;
}

.studio-figure::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(10, 6, 16, 0.52), transparent 40%);
  pointer-events: none;
}

.studio-figure__caption {
  position: absolute;
  z-index: 3;
  left: 28px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.studio-figure__caption::before {
  content: '';
  width: 22px;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
}

.studio-sticker {
  position: absolute;
  z-index: 5;
  top: 26px;
  left: -30px;
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  padding: 12px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 16px;
  font-style: italic;
  line-height: 1.05;
  text-align: center;
  transform: rotate(-10deg);
  box-shadow: 0 24px 50px -24px rgba(215, 35, 99, 0.65);
  animation: stickerFloat 6s ease-in-out infinite;
}

.studio-float {
  position: absolute;
  z-index: 5;
  right: -34px;
  bottom: 46px;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 260px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  background: rgba(252, 250, 247, 0.86);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px -34px rgba(24, 12, 40, 0.45);
}

.studio-float__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
}

.studio-float strong {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.studio-float span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.35;
}

@keyframes stickerFloat {
  0%, 100% { transform: rotate(-10deg) translateY(0); }
  50% { transform: rotate(-6deg) translateY(-8px); }
}

/* Stats ----------------------------------------------------------------- */

.stats {
  margin-top: clamp(64px, 7vw, 100px);
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

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

.stat {
  position: relative;
  padding-right: 24px;
}

.stat + .stat::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--line);
}

.stat__value {
  display: flex;
  align-items: baseline;
  color: var(--ink);
  font-size: clamp(42px, 4.4vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.065em;
}

.stat__value em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--primary);
  padding-left: 2px;
}

.stat__label {
  margin-top: 12px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.stats--dark {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.stats--dark .stat__value {
  color: var(--cream);
}

.stats--dark .stat__label {
  color: rgba(246, 242, 235, 0.46);
}

.stats--dark .stat + .stat::before {
  background: rgba(255, 255, 255, 0.1);
}

/* Dark section shell ---------------------------------------------------- */

.section--dark {
  position: relative;
  margin: 0 20px;
  padding: clamp(80px, 8.5vw, 132px) 0;
  border-radius: 48px;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}

.section--dark::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(800px 500px at 88% 0%, rgba(123, 77, 255, 0.16), transparent 64%),
    radial-gradient(700px 600px at 0% 100%, rgba(215, 35, 99, 0.12), transparent 60%);
  pointer-events: none;
}

.section--dark::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.08) 1px, transparent 0);
  background-size: 38px 38px;
  opacity: 0.3;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
  pointer-events: none;
}

.section--dark .eyebrow {
  color: rgba(246, 242, 235, 0.46);
}

.section--dark .eyebrow__line {
  background: rgba(255, 255, 255, 0.16);
}

.section--dark .lede {
  color: rgba(246, 242, 235, 0.58);
}

/* Services -------------------------------------------------------------- */

.services {
  padding-bottom: clamp(64px, 7vw, 96px);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  position: relative;
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--cream);
  isolation: isolate;
  transition: transform 0.55s var(--ease), border-color 0.4s ease, background 0.4s ease, box-shadow 0.55s var(--ease);
}

.service-card:nth-child(1),
.service-card:nth-child(6) {
  grid-column: span 6;
  min-height: 352px;
}

.service-card::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.075), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), transparent 52%);
  opacity: 0.7;
}

.service-card:hover {
  z-index: 2;
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 40px 80px -44px rgba(0, 0, 0, 0.85);
}

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

.service-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: auto;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--cream);
  transition: background 0.4s ease, color 0.4s ease, transform 0.5s var(--ease);
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card:hover .service-icon {
  background: var(--gradient-brand);
  border-color: transparent;
  color: #fff;
  transform: rotate(-5deg) scale(1.04);
}

.service-card__number {
  color: rgba(246, 242, 235, 0.34);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.service-card__body {
  position: relative;
  z-index: 2;
  max-width: 390px;
  margin-top: 52px;
}

.service-card:nth-child(1) .service-card__body {
  margin-top: 96px;
  max-width: 45%;
}

.service-card:nth-child(6) .service-card__body {
  max-width: 50%;
}

.service-card__title {
  margin-bottom: 13px;
  font-size: clamp(21px, 1.7vw, 26px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.service-card:nth-child(2) .service-card__title {
  white-space: nowrap;
}

.service-card__desc {
  color: rgba(246, 242, 235, 0.55);
  font-size: 13.5px;
  line-height: 1.65;
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 24px;
}

.service-tag {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(246, 242, 235, 0.55);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-card__arrow {
  position: absolute;
  z-index: 3;
  right: 26px;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: rgba(246, 242, 235, 0.7);
  transition: background 0.4s ease, color 0.4s ease, transform 0.4s var(--ease), border-color 0.4s ease;
}

.service-card__arrow svg {
  width: 13px;
  height: 13px;
}

.service-card:hover .service-card__arrow {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
  transform: rotate(45deg);
}

/* Featured service artwork (pure CSS) */

.service-visual {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 26px;
  width: 46%;
  height: 72%;
  pointer-events: none;
}

.fv-browser {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 76%;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(18, 14, 26, 0.82);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.7);
  transform: rotate(3deg);
  animation: visualFloat 7s ease-in-out infinite;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.fv-bar {
  display: flex;
  gap: 4px;
  height: 14px;
  align-items: center;
  padding: 0 4px;
}

.fv-bar i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.fv-screen {
  position: relative;
  height: calc(100% - 14px);
  overflow: hidden;
  border-radius: 9px;
  background:
    radial-gradient(120% 100% at 15% 20%, rgba(215, 35, 99, 0.65), transparent 52%),
    radial-gradient(130% 100% at 90% 80%, rgba(49, 85, 255, 0.7), transparent 55%),
    #18111F;
}

.fv-screen::before {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.82) 0 32%, transparent 32%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 58%, transparent 58%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 0 44%, transparent 44%);
  background-size: 100% 7px, 100% 5px, 100% 5px;
  background-position: 0 0, 0 22px, 0 34px;
  background-repeat: no-repeat;
  opacity: 0.75;
}

.fv-pill {
  position: absolute;
  left: 12px;
  bottom: 12px;
  width: 38px;
  height: 11px;
  border-radius: 999px;
  background: #F6F2EB;
  opacity: 0.9;
}

.fv-phone {
  position: absolute;
  right: -8px;
  bottom: -18px;
  width: 26%;
  aspect-ratio: 9 / 18;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #0B0711;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.85);
  transform: rotate(-7deg);
  animation: visualFloat 8s ease-in-out 1s infinite reverse;
}

.fv-phone::before {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 8px;
  background:
    radial-gradient(100% 60% at 50% 10%, rgba(255, 77, 141, 0.7), transparent 70%),
    linear-gradient(180deg, #2B1740, #10101C);
}

.fv-phone::after {
  content: '';
  position: absolute;
  left: 35%;
  right: 35%;
  top: 4px;
  height: 3px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.3);
}

.fv-chip {
  position: absolute;
  z-index: 2;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(12, 8, 20, 0.75);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.72);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.7);
}

.fv-chip--one {
  left: -12px;
  top: 24%;
  animation: visualFloat 6s ease-in-out 0.5s infinite;
}

.fv-chip--two {
  right: 4px;
  top: -12px;
  animation: visualFloat 7s ease-in-out 1.4s infinite reverse;
}

.fv-orb {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.fv-orb__ring,
.fv-orb__ring::before,
.fv-orb__ring::after {
  position: absolute;
  border-radius: 50%;
  content: '';
}

.fv-orb__ring {
  width: 210px;
  height: 210px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.fv-orb__ring::before {
  inset: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.fv-orb__ring::after {
  inset: 52px;
  background: var(--gradient-brand);
  filter: blur(12px);
  opacity: 0.8;
  animation: orbPulse 5s ease-in-out infinite;
}

.fv-orb__core {
  position: relative;
  z-index: 2;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.9), transparent 18%),
    radial-gradient(circle at 40% 40%, #FF7AAF, #D72363 34%, #7B4DFF 68%, #1A0F2A 100%);
  box-shadow: 0 0 70px rgba(215, 35, 99, 0.55), inset -10px -14px 30px rgba(0, 0, 0, 0.5);
  animation: orbFloat 8s ease-in-out infinite;
}

.services__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.services__foot p {
  color: rgba(246, 242, 235, 0.45);
  font-size: 13px;
}

@keyframes visualFloat {
  0%, 100% { transform: translateY(0) rotate(3deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.03); }
}

@keyframes orbPulse {
  0%, 100% { opacity: 0.55; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.08); }
}

/* Work ------------------------------------------------------------------ */

.work {
  position: relative;
  background: var(--cream);
  overflow: hidden;
}

.work::before {
  content: '';
  position: absolute;
  top: 8%;
  left: -18%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 77, 255, 0.11), transparent 66%);
  filter: blur(30px);
  pointer-events: none;
}

.work__head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: end;
  margin-bottom: 44px;
}

.work__head .h2 {
  max-width: 780px;
}

.work__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 12px;
  border: 1px solid rgba(215, 35, 99, 0.18);
  border-radius: 999px;
  background: rgba(215, 35, 99, 0.05);
  color: var(--primary);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.work__badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
}

.work__aside {
  padding-bottom: 8px;
}

.work__filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.work-filter {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 15px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.3s ease, background 0.3s ease;
}

.work-filter span {
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.work-filter:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
}

.work-filter.is-active {
  background: var(--ink);
  color: var(--cream);
}

.work-filter.is-active span {
  color: rgba(246, 242, 235, 0.52);
}

.work__result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 26px 0 30px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.work__result strong {
  color: var(--ink);
  font-weight: 800;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 28px;
}

.project-card {
  --mx: 50%;
  --my: 50%;
  --cx: 50%;
  --cy: 50%;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  opacity: 0;
  animation: cardIn 0.85s var(--ease) forwards;
  animation-delay: var(--delay, 0ms);
  transform-style: preserve-3d;
}

.project-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 24px;
  background: #E7DFD5;
  transform: perspective(1200px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(0);
  transform-style: preserve-3d;
  transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease);
  box-shadow: 0 16px 40px -30px rgba(24, 12, 40, 0.4);
  isolation: isolate;
}

.project-card:hover .project-card__media {
  transform: perspective(1200px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(-6px);
  box-shadow: 0 36px 70px -38px rgba(24, 12, 40, 0.5);
}

.project-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(var(--img-x, 0), var(--img-y, 0), 0) scale(1.02);
  transition: transform 1.1s var(--ease), filter 0.8s ease;
  will-change: transform;
}

.project-card:hover .project-card__img {
  transform: translate3d(var(--img-x, 0), var(--img-y, 0), 0) scale(1.08);
  filter: saturate(1.08) contrast(1.02);
}

.project-card--tall .project-card__img {
  object-position: top center;
}

.project-card__shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(to top, rgba(9, 6, 16, 0.72) 0%, rgba(9, 6, 16, 0.12) 40%, transparent 66%),
    radial-gradient(540px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.18), transparent 46%);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}

.project-card:hover .project-card__shade {
  opacity: 1;
}

.project-card__overlay {
  position: absolute;
  z-index: 3;
  left: 20px;
  right: 20px;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #fff;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.project-card:hover .project-card__overlay {
  opacity: 1;
  transform: translateY(0);
}

.project-card__overlay-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-card__overlay-label::before {
  content: '';
  width: 18px;
  height: 1px;
  background: rgba(255, 255, 255, 0.7);
}

.project-card__open {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  transform: rotate(0deg);
  transition: transform 0.5s var(--ease), background 0.3s ease;
}

.project-card__open svg {
  width: 14px;
  height: 14px;
}

.project-card:hover .project-card__open {
  transform: rotate(45deg);
  background: #fff;
}

.project-card__index {
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 20px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease);
}

.project-card:hover .project-card__index {
  opacity: 1;
  transform: translateY(0);
}

.project-card__border {
  position: absolute;
  z-index: 4;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 30%, rgba(255, 77, 141, 0) 70%, rgba(255, 255, 255, 0.5));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.project-card:hover .project-card__border {
  opacity: 1;
}

.project-card__cursor {
  position: absolute;
  z-index: 6;
  left: var(--cx);
  top: var(--cy);
  display: none;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.55);
  transition: opacity 0.3s ease, transform 0.35s var(--ease);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.5);
}

.project-card__cursor svg {
  width: 12px;
  height: 12px;
  margin-left: 4px;
}

.project-card:hover .project-card__cursor {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.project-card__caption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 2px 0;
  transition: transform 0.5s var(--ease);
}

.project-card:hover .project-card__caption {
  transform: translateY(-2px);
}

.project-card__title {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.project-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-card__meta span + span::before {
  content: '·';
  margin-right: 6px;
  color: var(--muted-2);
}

.project-card__arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease, transform 0.4s var(--ease);
}

.project-card__arrow svg {
  width: 12px;
  height: 12px;
}

.project-card:hover .project-card__arrow {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
  transform: rotate(45deg);
}

.work__more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 58px;
}

.work__more-note {
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work__empty {
  padding: 80px 20px;
  text-align: center;
  color: var(--muted);
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(26px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Lightbox -------------------------------------------------------------- */

.q-dialog__backdrop {
  background: rgba(7, 5, 12, 0.78) !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.lightbox-dialog .q-dialog__inner {
  padding: 20px;
}

.lightbox-dialog .q-dialog__inner > div {
  overflow: visible;
}

.lightbox {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.55fr);
  width: min(1200px, 94vw);
  max-height: 90vh;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: #0D0A14;
  color: var(--cream);
  box-shadow: 0 60px 160px -40px rgba(0, 0, 0, 0.9);
}

.lightbox__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  max-height: 90vh;
  padding: 28px;
  overflow: hidden;
  background:
    radial-gradient(70% 70% at 50% 50%, rgba(123, 77, 255, 0.14), transparent 70%),
    #08070C;
}

.lightbox__img {
  width: 100%;
  height: 100%;
  max-height: calc(90vh - 56px);
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
}

.lightbox__info {
  display: flex;
  flex-direction: column;
  padding: 42px 38px 34px;
  overflow-y: auto;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.lightbox__kicker {
  color: var(--magenta);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lightbox__title {
  margin: 16px 0 16px;
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.lightbox__desc {
  color: rgba(246, 242, 235, 0.58);
  font-size: 14px;
  line-height: 1.7;
}

.lightbox__meta {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.lightbox__meta-label {
  margin-bottom: 12px;
  color: rgba(246, 242, 235, 0.56);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lightbox__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.lightbox__tags span {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(246, 242, 235, 0.68);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lightbox__cta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 30px;
  padding: 11px 12px;
  overflow: hidden;
  border: 1.5px solid rgba(215, 35, 99, 0.78);
  border-radius: 16px;
  background:
    linear-gradient(115deg, rgba(215, 35, 99, 0.14), rgba(123, 77, 255, 0.07) 60%, rgba(49, 85, 255, 0.06));
  color: var(--cream);
  box-shadow: 0 20px 44px -28px rgba(215, 35, 99, 0.55);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.lightbox__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.14) 48%, transparent 72%);
  transform: translateX(-130%);
  transition: transform 0.75s var(--ease);
  pointer-events: none;
}

.lightbox__cta:hover {
  border-color: var(--primary);
  background:
    linear-gradient(115deg, rgba(215, 35, 99, 0.24), rgba(123, 77, 255, 0.12) 60%, rgba(49, 85, 255, 0.1));
  box-shadow: 0 26px 54px -28px rgba(215, 35, 99, 0.75);
  transform: translateY(-2px);
}

.lightbox__cta:hover::before {
  transform: translateX(130%);
}

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

.lightbox__cta-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(140deg, #FF5F9E, #D72363 52%, #7B4DFF);
  color: #fff;
  box-shadow: 0 12px 24px -12px rgba(215, 35, 99, 0.8);
  transition: transform 0.35s var(--ease);
}

.lightbox__cta:hover .lightbox__cta-icon {
  transform: scale(1.06) rotate(-4deg);
}

.lightbox__cta-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.lightbox__cta-copy strong {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.lightbox__cta-copy small {
  color: rgba(246, 242, 235, 0.62);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.lightbox__cta-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: var(--cream);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.35s var(--ease), color 0.3s ease;
}

.lightbox__cta:hover .lightbox__cta-arrow {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
  transform: rotate(45deg);
}

.lightbox__cta + .lightbox__foot {
  padding-top: 22px;
}

.lightbox__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 34px;
}

.lightbox__count {
  color: rgba(246, 242, 235, 0.56);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.lightbox__nav {
  display: flex;
  gap: 8px;
}

.lightbox__nav button,
.lightbox__close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--cream);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.lightbox__nav button:hover,
.lightbox__close:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}

.lightbox__nav svg,
.lightbox__close svg {
  width: 15px;
  height: 15px;
}

.lightbox__close {
  position: absolute;
  z-index: 5;
  top: 18px;
  right: 18px;
  background: rgba(8, 7, 12, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.lightbox__hint {
  margin-top: 10px;
  color: rgba(246, 242, 235, 0.54);
  font-size: 9px;
  letter-spacing: 0.08em;
}

/* Process --------------------------------------------------------------- */

.process {
  position: relative;
  margin: 20px;
  border-radius: 48px;
  background: #0B0A12;
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}

.process__bg {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.55;
}

.process__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.6);
  transform: scale(1.04) translate3d(0, var(--process-bg-y, 0px), 0);
  transition: transform 0.2s linear;
}

.process::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 10, 18, 0.97) 0%, rgba(11, 10, 18, 0.88) 45%, rgba(11, 10, 18, 0.7) 100%),
    radial-gradient(70% 70% at 80% 20%, rgba(123, 77, 255, 0.18), transparent 70%);
}

.process__inner {
  padding: clamp(80px, 9vw, 132px) 0;
}

.process__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: start;
}

.process__intro {
  position: sticky;
  top: 118px;
}

.process__intro .h2 {
  max-width: 480px;
  margin-bottom: 24px;
}

.process__intro .lede {
  max-width: 380px;
}

.process__big {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-top: clamp(44px, 5vw, 72px);
  color: rgba(246, 242, 235, 0.14);
  font-size: clamp(110px, 14vw, 196px);
  font-weight: 700;
  line-height: 0.72;
  letter-spacing: -0.09em;
}

.process__big .process-num {
  background: var(--gradient-brand-soft);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.process__big small {
  padding-bottom: 12px;
  color: rgba(246, 242, 235, 0.34);
  font-family: var(--font-serif);
  font-size: 15px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

.process__big > span {
  display: inline-block;
}

.process-num-enter-active,
.process-num-leave-active {
  transition: opacity 0.35s ease, transform 0.5s var(--ease);
}

.process-num-enter-from {
  opacity: 0;
  transform: translateY(20%);
}

.process-num-leave-to {
  opacity: 0;
  transform: translateY(-20%);
}

.process__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  color: rgba(246, 242, 235, 0.42);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.process__meta::before {
  content: '';
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.process-steps {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.process-step {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: background 0.4s ease;
}

.process-step__head {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto 38px;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 28px 6px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.process-step__number {
  color: rgba(246, 242, 235, 0.3);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  transition: color 0.4s ease;
}

.process-step__title {
  color: rgba(246, 242, 235, 0.52);
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  transition: color 0.4s ease;
}

.process-step__duration {
  color: rgba(246, 242, 235, 0.32);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.4s ease;
}

.process-step__plus {
  position: relative;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  transition: background 0.4s ease, border-color 0.4s ease, transform 0.5s var(--ease);
}

.process-step__plus::before,
.process-step__plus::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1px;
  background: rgba(246, 242, 235, 0.62);
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--ease), background 0.4s ease;
}

.process-step__plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.process-step.is-active .process-step__plus {
  background: var(--gradient-brand);
  border-color: transparent;
  transform: rotate(90deg);
}

.process-step.is-active .process-step__plus::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.process-step.is-active .process-step__plus::before,
.process-step.is-active .process-step__plus::after {
  background: #fff;
}

.process-step:hover .process-step__title,
.process-step.is-active .process-step__title {
  color: var(--cream);
}

.process-step.is-active .process-step__number {
  color: var(--magenta);
}

.process-step.is-active .process-step__duration {
  color: rgba(246, 242, 235, 0.52);
}

.process-step__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.65s var(--ease);
}

.process-step.is-active .process-step__body {
  grid-template-rows: 1fr;
}

.process-step__body-inner {
  overflow: hidden;
  min-height: 0;
}

.process-step__body-content {
  max-width: 560px;
  padding: 0 6px 32px 74px;
}

.process-step__desc {
  color: rgba(246, 242, 235, 0.55);
  font-size: 14.5px;
  line-height: 1.7;
}

.process-step__deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}

.process-step__deliverables span {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(246, 242, 235, 0.6);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Technologies ---------------------------------------------------------- */

.tech {
  position: relative;
  background: var(--paper);
  overflow: hidden;
}

.tech::before {
  content: '';
  position: absolute;
  right: -12%;
  top: 6%;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 35, 99, 0.1), transparent 68%);
  filter: blur(30px);
  pointer-events: none;
}

.tech__head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.55fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: end;
  margin-bottom: 52px;
}

.tech__head .h2 {
  max-width: 700px;
}

.tech__note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--muted-2);
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
}

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

.tech-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 152px;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.42);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.4s ease, background 0.4s ease, box-shadow 0.5s var(--ease);
}

.tech-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-brand);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.tech-card:hover {
  transform: translateY(-5px);
  background: #fff;
  box-shadow: 0 24px 50px -34px rgba(24, 12, 40, 0.3);
}

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

.tech-card__icon {
  width: 34px;
  height: 34px;
  color: #58515F;
  transition: color 0.4s ease, transform 0.5s var(--ease);
}

.tech-card:hover .tech-card__icon {
  color: var(--primary);
  transform: scale(1.06) rotate(-4deg);
}

.tech-card__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.tech-card__name {
  margin-top: 26px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.tech-card__cat {
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(64px, 7vw, 96px);
  border-top: 1px solid var(--line);
}

.principle {
  position: relative;
  padding: 34px 36px 34px 0;
}

.principle + .principle {
  border-left: 1px solid var(--line);
  padding-left: 36px;
}

.principle__number {
  color: var(--primary);
  font-family: var(--font-serif);
  font-size: 15px;
  font-style: italic;
}

.principle__title {
  margin: 14px 0 10px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.principle__desc {
  max-width: 300px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

/* Testimonials ---------------------------------------------------------- */

.testimonials {
  position: relative;
  padding: clamp(88px, 9vw, 140px) 0;
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(215, 35, 99, 0.12), transparent 62%),
    radial-gradient(700px 500px at 0% 100%, rgba(123, 77, 255, 0.09), transparent 62%),
    #F8EFF2;
  overflow: hidden;
}

.testimonials__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: clamp(44px, 5vw, 64px);
}

.testimonials__head .h2 {
  max-width: 700px;
}

.testimonials__controls {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 6px;
}

.circle-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.35s var(--ease);
}

.circle-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
}

.circle-btn svg {
  width: 16px;
  height: 16px;
}

.testimonial {
  position: relative;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}

.testimonial::before {
  content: '“';
  position: absolute;
  top: -104px;
  right: 24px;
  left: auto;
  z-index: 0;
  color: rgba(215, 35, 99, 0.09);
  font-family: var(--font-serif);
  font-size: 280px;
  line-height: 1;
  pointer-events: none;
}

.testimonial__side {
  position: relative;
  z-index: 1;
  padding-top: 10px;
}

.testimonial__avatar {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 25px;
  font-style: italic;
  box-shadow: 0 18px 34px -18px rgba(215, 35, 99, 0.55);
}

.testimonial__author {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.testimonial__role {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
}

.testimonial__counter {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.testimonial__counter strong {
  color: var(--ink);
}

.testimonial__counter::before {
  content: '';
  width: 25px;
  height: 1px;
  background: var(--line-strong);
}

.testimonial__quote-wrap {
  position: relative;
  z-index: 1;
  min-height: 300px;
}

.testimonial__quote {
  max-width: 900px;
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.45vw, 46px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #211922;
}

.testimonial__quote em {
  color: var(--primary);
}

.testimonial__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid rgba(11, 10, 18, 0.1);
}

.testimonial__dots {
  display: flex;
  gap: 7px;
}

.testimonial__dot {
  width: 26px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: rgba(11, 10, 18, 0.14);
  cursor: pointer;
  transition: width 0.4s var(--ease), background 0.4s ease;
}

.testimonial__dot.is-active {
  width: 48px;
  background: var(--primary);
}

.testimonial__hint {
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.quote-enter-active,
.quote-leave-active {
  transition: opacity 0.55s ease, transform 0.7s var(--ease);
}

.quote-enter-from {
  opacity: 0;
  transform: translateY(24px);
}

.quote-leave-to {
  opacity: 0;
  transform: translateY(-18px);
}

/* FAQ ------------------------------------------------------------------- */

.faq {
  background: var(--paper);
}

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}

.faq__intro {
  position: sticky;
  top: 120px;
}

.faq__intro .h2 {
  margin-bottom: 22px;
}

.faq__intro .lede {
  max-width: 380px;
  margin-bottom: 30px;
}

.faq__email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 13px;
  font-weight: 700;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.faq__email:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.faq__list {
  border-top: 1px solid var(--line);
}

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

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 25px 4px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-item__question:hover {
  color: var(--primary);
}

.faq-item__question span:first-child {
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.faq-item__icon {
  position: relative;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.4s var(--ease);
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease), background 0.3s ease;
}

.faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-item__icon {
  background: var(--ink);
  border-color: var(--ink);
}

.faq-item.is-open .faq-item__icon::before,
.faq-item.is-open .faq-item__icon::after {
  background: var(--cream);
}

.faq-item.is-open .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}

.faq-item.is-open .faq-item__answer {
  grid-template-rows: 1fr;
}

.faq-item__answer-inner {
  overflow: hidden;
  min-height: 0;
}

.faq-item__answer p {
  max-width: 620px;
  padding: 0 52px 26px 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

/* CTA ------------------------------------------------------------------- */

.cta-section {
  padding: 0 0 clamp(80px, 9vw, 132px);
  background: var(--paper);
}

.cta {
  position: relative;
  margin: 0 20px;
  min-height: 560px;
  border-radius: 48px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  color: var(--cream);
  background: #0B0A12;
}

.cta__bg {
  position: absolute;
  z-index: -2;
  inset: -8% 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
  transform: translate3d(0, var(--cta-y, 0px), 0) scale(1.02);
  transition: transform 0.3s linear;
}

.cta::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 5, 12, 0.93) 0%, rgba(7, 5, 12, 0.72) 40%, rgba(7, 5, 12, 0.2) 78%, rgba(7, 5, 12, 0.35) 100%),
    linear-gradient(to top, rgba(7, 5, 12, 0.6), transparent 55%);
}

.cta::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.1) 1px, transparent 0);
  background-size: 40px 40px;
  opacity: 0.18;
  -webkit-mask-image: radial-gradient(ellipse at 20% 50%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse at 20% 50%, #000, transparent 70%);
}

.cta__inner {
  position: relative;
  z-index: 2;
  width: min(1320px, calc(100% - 80px));
  margin-inline: auto;
  padding: clamp(60px, 7vw, 100px) 0;
}

.cta__content {
  max-width: 720px;
}

.cta .eyebrow {
  color: rgba(246, 242, 235, 0.55);
}

.cta .eyebrow__line {
  background: rgba(255, 255, 255, 0.24);
}

.cta__title {
  margin-bottom: 24px;
  font-size: clamp(48px, 6.6vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.cta__copy {
  max-width: 520px;
  color: rgba(246, 242, 235, 0.65);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.7;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
}

.cta__status {
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(8, 6, 14, 0.35);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: rgba(255, 255, 255, 0.8);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.cta__status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5BE3A2;
  box-shadow: 0 0 0 4px rgba(91, 227, 162, 0.12);
}

.cta__note {
  position: absolute;
  right: 48px;
  bottom: 44px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(11, 8, 18, 0.42);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: transform 0.5s var(--ease), background 0.4s ease;
}

.cta__note:hover {
  transform: translateY(-4px);
  background: rgba(11, 8, 18, 0.62);
}

.cta__note svg {
  width: 20px;
  height: 20px;
  color: var(--magenta);
}

.cta__note strong {
  display: block;
  font-size: 11px;
  font-weight: 800;
}

.cta__note span {
  display: block;
  margin-top: 2px;
  color: rgba(246, 242, 235, 0.48);
  font-size: 9.5px;
}

/* Contact --------------------------------------------------------------- */

.contact {
  position: relative;
  background: var(--paper);
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  left: -18%;
  bottom: -10%;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 77, 255, 0.08), transparent 68%);
  filter: blur(40px);
  pointer-events: none;
}

.contact__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(44px, 7vw, 100px);
  align-items: start;
}

.contact__intro .h2 {
  margin-bottom: 24px;
  max-width: 560px;
}

.contact__intro .lede {
  max-width: 430px;
  margin-bottom: 38px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 44px;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px 14px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.46);
  transition: transform 0.4s var(--ease), background 0.4s ease, border-color 0.4s ease;
}

.contact-channel:hover {
  transform: translateX(5px);
  background: #fff;
  border-color: rgba(215, 35, 99, 0.2);
}

.contact-channel__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--ink);
  color: var(--cream);
}

.contact-channel__icon svg {
  width: 18px;
  height: 18px;
}

.contact-channel__label {
  display: block;
  color: var(--muted-2);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-channel__value {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.contact-channel__arrow {
  margin-left: auto;
  color: var(--muted-2);
}

.contact-channel__arrow svg {
  width: 14px;
  height: 14px;
  transition: transform 0.35s var(--ease);
}

.contact-channel:hover .contact-channel__arrow svg {
  transform: translate(3px, -3px);
  color: var(--primary);
}

.contact-next {
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.contact-next__title {
  margin-bottom: 18px;
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-next__item {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 10px 0;
}

.contact-next__item span:first-child {
  color: var(--primary);
  font-family: var(--font-serif);
  font-size: 14px;
  font-style: italic;
}

.contact-next__item p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.contact-next__item strong {
  color: var(--ink);
  font-weight: 700;
}

/* Form card */

.form-card {
  position: relative;
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid rgba(11, 10, 18, 0.07);
  border-radius: 32px;
  background: #FFFFFF;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
}

.form-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.form-card__title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.form-card__sub {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.form-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid rgba(11, 10, 18, 0.08);
  border-radius: 999px;
  background: var(--cream);
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.form-card__badge i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #28C47D;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 14px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-label span {
  color: var(--muted-2);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.pix-input.q-field--outlined .q-field__control {
  min-height: 56px;
  padding: 0 15px;
  border-radius: 14px;
  background: #FBF8F4;
  transition: background 0.3s ease;
}

.pix-input.q-field--outlined .q-field__control:before {
  border: 1px solid rgba(11, 10, 18, 0.1);
  transition: border-color 0.3s ease;
}

.pix-input.q-field--outlined .q-field__control:after {
  border-color: transparent;
  border-radius: 14px;
}

.pix-input.q-field--outlined:hover .q-field__control:before {
  border-color: rgba(11, 10, 18, 0.2);
}

.pix-input.q-field--focused .q-field__control {
  background: #fff;
}

.pix-input.q-field--focused .q-field__control:before {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(215, 35, 99, 0.08);
}

.pix-input.q-field--focused .q-field__control:after {
  border-color: var(--primary);
}

.pix-input .q-field__label {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}

.pix-input.q-field--float .q-field__label {
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pix-input .q-field__native,
.pix-input .q-field__input {
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
}

.pix-input .q-field__native::placeholder {
  color: var(--muted-2);
  opacity: 1;
}

.pix-input .q-field__marginal {
  height: 56px;
  color: var(--muted-2);
}

.pix-input .q-field__bottom {
  padding: 5px 2px 0;
  color: #C02450;
  font-size: 10px;
  font-weight: 600;
}

.pix-input.q-field--error .q-field__control:before {
  border-color: #D72363;
}

.pix-input textarea.q-field__native {
  min-height: 94px;
  padding-top: 17px;
  line-height: 1.6;
}

.budget-wrap {
  position: relative;
}

.budget-select {
  width: 100%;
  height: 56px;
  padding: 0 40px 0 15px;
  border: 1px solid rgba(11, 10, 18, 0.1);
  border-radius: 14px;
  background: #FBF8F4;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.budget-select:hover {
  border-color: rgba(11, 10, 18, 0.22);
}

.budget-select:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
}

.budget-select.is-empty {
  color: var(--muted);
}

.budget-wrap .pix-icon {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 14px;
  height: 14px;
  color: var(--muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.budget-wrap .pix-icon svg {
  width: 14px;
  height: 14px;
}

.chip-select {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chip-select button {
  padding: 9px 13px;
  border: 1px solid rgba(11, 10, 18, 0.1);
  border-radius: 999px;
  background: #FBF8F4;
  color: #57505E;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease);
}

.chip-select button:hover {
  border-color: rgba(215, 35, 99, 0.35);
  color: var(--primary);
  transform: translateY(-1px);
}

.chip-select button.is-active {
  border-color: transparent;
  background: var(--ink);
  color: var(--cream);
}

.form-note {
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

.btn--submit {
  width: 100%;
  min-height: 58px;
  margin-top: 20px;
  border-radius: 999px;
  background: var(--gradient-brand) !important;
  color: #fff !important;
  font-family: var(--font-sans);
  font-size: 13.5px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
  text-transform: none;
  box-shadow: 0 18px 38px -18px rgba(215, 35, 99, 0.6);
  transition: box-shadow 0.4s ease, transform 0.4s var(--ease);
}

.btn--submit:hover {
  box-shadow: 0 24px 48px -18px rgba(169, 59, 255, 0.55);
  transform: translateY(-2px);
}

.btn--submit .q-btn__content {
  gap: 10px;
}

.btn--submit .q-icon {
  font-size: 16px;
}

.form-error {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #FDEFF3;
  color: #B01546;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.5;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 460px;
  text-align: center;
  padding: 30px;
  animation: successIn 0.7s var(--ease) both;
}

.form-success__icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 20px 50px -20px rgba(215, 35, 99, 0.6);
  animation: successPop 0.8s var(--ease) 0.1s both;
}

.form-success__icon svg {
  width: 30px;
  height: 30px;
}

.form-success h3 {
  margin-bottom: 10px;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.form-success p {
  max-width: 360px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.form-success button {
  margin-top: 24px;
  padding: 9px 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

@keyframes successIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes successPop {
  from { opacity: 0; transform: scale(0.6) rotate(-12deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

/* Footer ---------------------------------------------------------------- */

.site-footer {
  position: relative;
  margin-top: 20px;
  padding: clamp(58px, 7vw, 90px) 0 28px;
  border-radius: 48px 48px 0 0;
  background: #08070D;
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}

.site-footer::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -30%;
  right: -10%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 35, 99, 0.14), rgba(123, 77, 255, 0.07) 45%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.footer-newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-newsletter__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--magenta);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-newsletter__label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--magenta);
}

.footer-newsletter h3 {
  max-width: 560px;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.05em;
  line-height: 1.04;
}

.footer-newsletter h3 em {
  color: var(--violet-soft);
}

.footer-form {
  position: relative;
}

.footer-form__row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.footer-form__row:focus-within {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.07);
}

.footer-form__input {
  width: 100%;
  min-width: 0;
  padding: 0 12px 0 16px;
  border: 0;
  background: transparent;
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  outline: none;
}

.footer-form__input::placeholder {
  color: rgba(246, 242, 235, 0.36);
}

.footer-form__button {
  flex: 0 0 auto;
  height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.footer-form__button:hover {
  background: var(--gradient-brand);
  color: #fff;
}

.footer-form__note {
  margin-top: 10px;
  color: rgba(246, 242, 235, 0.32);
  font-size: 9.5px;
  letter-spacing: 0.02em;
}

.footer-form__message {
  margin-top: 10px;
  color: var(--ice);
  font-size: 10.5px;
  font-weight: 600;
}

.footer-form__message.is-error {
  color: #FF9AB8;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(120px, 0.55fr));
  gap: 40px;
  padding: 58px 0 64px;
}

.footer-brand p {
  max-width: 330px;
  margin-top: 18px;
  color: rgba(246, 242, 235, 0.42);
  font-size: 12.5px;
  line-height: 1.7;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(246, 242, 235, 0.6);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #5BE3A2;
}

.footer-col__title {
  margin-bottom: 20px;
  color: rgba(246, 242, 235, 0.3);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col button {
  display: inline-block;
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: rgba(246, 242, 235, 0.62);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s var(--ease);
}

.footer-col a:hover,
.footer-col button:hover {
  color: var(--cream);
  transform: translateX(3px);
}

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: rgba(246, 242, 235, 0.6);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease);
}

.footer-social a:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 14px;
  height: 14px;
}

.footer-wordmark {
  position: relative;
  margin: 0 0 24px;
  color: transparent;
  font-size: clamp(72px, 13.2vw, 190px);
  font-weight: 800;
  line-height: 0.76;
  letter-spacing: -0.08em;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12);
  user-select: none;
  pointer-events: none;
}

.footer-wordmark span {
  background: var(--gradient-brand-soft);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(246, 242, 235, 0.34);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer-bottom__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: rgba(246, 242, 235, 0.52);
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s ease;
}

.back-to-top svg {
  width: 12px;
  height: 12px;
  transition: transform 0.35s var(--ease);
}

.back-to-top:hover {
  color: var(--cream);
}

.back-to-top:hover svg {
  transform: translateY(-3px);
}

/* Quasar refinements ---------------------------------------------------- */

body,
.q-field,
.q-btn,
.q-dialog {
  font-family: var(--font-sans);
}

.q-dialog__inner--minimized > div {
  max-width: none;
}

.q-field--outlined .q-field__control,
.q-field--outlined .q-field__native {
  border-radius: 14px;
}

.q-field__bottom--animated {
  transform: none;
}

.q-btn {
  box-shadow: none;
}

/* Responsive ------------------------------------------------------------ */

@media (max-width: 1180px) {
  .container {
    width: min(1320px, calc(100% - 56px));
  }

  .hero__title {
    font-size: clamp(54px, 7vw, 88px);
  }

  .hero__visual {
    width: min(100%, 460px);
  }

  .hero-mini {
    left: -28px;
    width: 140px;
  }

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

  .footer-main {
    grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(100px, 0.5fr));
    gap: 28px;
  }
}

@media (max-width: 1024px) {
  :root {
    --header-h: 78px;
  }

  .container {
    width: calc(100% - 48px);
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-h) + 54px) 0 78px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero__copy {
    max-width: 760px;
  }

  .hero__title {
    font-size: clamp(58px, 9.6vw, 96px);
  }

  .hero__lede {
    max-width: 560px;
  }

  .hero__visual {
    justify-self: center;
    width: min(100%, 480px);
  }

  .hero-scroll {
    display: none;
  }

  .hero-mini {
    left: -34px;
  }

  .section-head,
  .work__head,
  .tech__head {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-head__aside .lede,
  .work__aside .lede,
  .tech__head .lede {
    max-width: 520px;
  }

  .studio__grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .studio__copy {
    max-width: 700px;
  }

  .studio__media {
    max-width: 620px;
    margin-inline: auto;
    width: 100%;
  }

  .studio-float {
    right: -18px;
  }

  .studio-sticker {
    left: -18px;
  }

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

  .service-card,
  .service-card:nth-child(1),
  .service-card:nth-child(6) {
    grid-column: span 1;
    min-height: 330px;
  }

  .service-card:nth-child(1) .service-card__body,
  .service-card:nth-child(6) .service-card__body {
    max-width: 55%;
    margin-top: 70px;
  }

  .service-card:nth-child(1) .service-visual,
  .service-card:nth-child(6) .service-visual {
    width: 44%;
    height: 62%;
    bottom: 34px;
  }

  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 22px;
  }

  .process__grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .process__intro {
    position: relative;
    top: auto;
  }

  .process__intro .h2 {
    max-width: 700px;
  }

  .process__intro .lede {
    max-width: 520px;
  }

  .process__big {
    margin-top: 40px;
    font-size: clamp(96px, 16vw, 150px);
  }

  .process-step__body-content {
    padding-left: 68px;
  }

  .testimonial {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 40px;
  }

  .testimonial__quote-wrap {
    min-height: 250px;
  }

  .faq__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .faq__intro {
    position: relative;
    top: auto;
  }

  .faq__intro .lede {
    max-width: 540px;
  }

  .cta {
    min-height: 520px;
  }

  .cta__note {
    display: none;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact__intro {
    max-width: 700px;
  }

  .contact__intro .lede {
    max-width: 520px;
  }

  .contact-channels {
    max-width: 560px;
  }

  .form-card {
    max-width: 780px;
  }

  .footer-newsletter {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-form {
    max-width: 520px;
  }

  .footer-main {
    grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(100px, 0.6fr));
    padding: 48px 0 54px;
  }

  .lightbox {
    grid-template-columns: 1fr;
    width: min(760px, 94vw);
    max-height: 92vh;
    overflow-y: auto;
  }

  .lightbox__media {
    min-height: 300px;
    max-height: 52vh;
    padding: 18px;
  }

  .lightbox__img {
    max-height: calc(52vh - 36px);
  }

  .lightbox__info {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px 28px 26px;
    overflow: visible;
  }

  .lightbox__foot {
    margin-top: 26px;
  }

  .lightbox__close {
    top: 12px;
    right: 12px;
  }
}

@media (max-width: 760px) {
  .container {
    width: calc(100% - 40px);
  }

  .section {
    padding: 74px 0;
  }

  .h2 {
    font-size: clamp(36px, 9vw, 52px);
  }

  .section--dark {
    margin: 0 10px;
    border-radius: 32px;
    padding: 64px 0;
  }

  .section--dark .container {
    width: calc(100% - 36px);
  }

  .hero {
    padding-top: calc(var(--header-h) + 40px);
    padding-bottom: 56px;
  }

  .hero__title {
    font-size: clamp(48px, 12.5vw, 76px);
    margin-bottom: 24px;
  }

  .hero__lede {
    font-size: 15.5px;
  }

  .hero__actions {
    margin-top: 28px;
  }

  .hero__proof {
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
  }

  .hero__proof-divider {
    display: none;
  }

  .hero__proof-item strong {
    font-size: 21px;
  }

  .hero__proof-item span {
    font-size: 9px;
    max-width: 76px;
  }

  .hero__visual {
    width: min(100%, 430px);
  }

  .hero-badge {
    width: 94px;
    height: 94px;
    top: -20px;
    right: -6px;
  }

  .hero-badge text {
    font-size: 8px;
  }

  .hero-badge__star {
    font-size: 21px;
  }

  .hero-mini {
    left: -14px;
    bottom: 34px;
    width: 118px;
    border-radius: 18px;
    padding: 5px;
  }

  .hero-mini__img {
    border-radius: 14px;
  }

  .hero-mini__label {
    font-size: 7px;
    padding: 7px 5px 3px;
  }

  .hero-frame {
    border-radius: 26px;
  }

  .hero-frame__top {
    top: 16px;
    left: 18px;
    right: 18px;
    font-size: 8px;
  }

  .hero-status {
    top: 42px;
    left: 18px;
    padding: 7px 11px 7px 9px;
    font-size: 8px;
  }

  .hero-frame__bottom {
    left: 18px;
    right: 18px;
    bottom: 16px;
    font-size: 8px;
  }

  .marquee__track {
    animation-duration: 30s;
  }

  .marquee__group {
    gap: 28px;
    padding: 18px 14px;
  }

  .marquee__item {
    gap: 28px;
  }

  .studio-sticker {
    width: 88px;
    height: 88px;
    font-size: 13px;
    left: 8px;
    top: 14px;
  }

  .studio-float {
    width: 224px;
    right: 8px;
    bottom: 14px;
    padding: 14px 16px;
  }

  .studio-figure {
    border-radius: 28px;
  }

  .studio-figure__caption {
    left: 18px;
    bottom: 18px;
    font-size: 8.5px;
  }

  .stats {
    margin-top: 54px;
  }

  .stats__grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 20px;
  }

  .stat {
    padding-right: 0;
  }

  .stat + .stat::before {
    display: none;
  }

  .stat:nth-child(even) {
    border-left: 1px solid var(--line);
    padding-left: 20px;
  }

  .stat:nth-child(n+3) {
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }

  .stats--dark .stat:nth-child(even) {
    border-left-color: rgba(255, 255, 255, 0.1);
  }

  .stats--dark .stat:nth-child(n+3) {
    border-top-color: rgba(255, 255, 255, 0.1);
  }

  .stat__value {
    font-size: 44px;
  }

  .stat__label {
    margin-top: 8px;
    font-size: 9px;
  }

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

  .service-card {
    min-height: 300px;
    padding: 24px;
  }

  .service-card:nth-child(1) .service-card__body,
  .service-card:nth-child(6) .service-card__body {
    max-width: 100%;
    margin-top: 58px;
  }

  .service-card:nth-child(1) .service-visual,
  .service-card:nth-child(6) .service-visual {
    width: 52%;
    height: 46%;
    right: 10px;
    bottom: 18px;
    opacity: 0.42;
  }

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

  .work__filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .work__filters::-webkit-scrollbar {
    display: none;
  }

  .work-filter {
    flex: 0 0 auto;
  }

  .work-grid {
    gap: 28px 16px;
  }

  .project-card__media {
    border-radius: 18px;
  }

  .project-card__title {
    font-size: 16px;
  }

  .project-card__meta {
    font-size: 8.5px;
  }

  .project-card__arrow {
    width: 30px;
    height: 30px;
  }

  .process {
    margin: 10px;
    border-radius: 32px;
  }

  .process__inner {
    padding: 64px 0;
  }

  .process__big {
    font-size: 100px;
  }

  .process-step__head {
    grid-template-columns: 32px minmax(0, 1fr) auto 32px;
    gap: 10px;
    padding: 22px 2px;
  }

  .process-step__title {
    font-size: 23px;
  }

  .process-step__duration {
    font-size: 8px;
  }

  .process-step__plus {
    width: 30px;
    height: 30px;
  }

  .process-step__body-content {
    padding: 0 2px 26px 42px;
  }

  .process-step__desc {
    font-size: 13.5px;
  }

  .tech-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .tech-card {
    min-height: 132px;
    padding: 16px 14px;
  }

  .tech-card__icon {
    width: 28px;
    height: 28px;
  }

  .tech-card__name {
    margin-top: 20px;
    font-size: 12px;
  }

  .tech-card__cat {
    font-size: 7.5px;
  }

  .principles {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .principle,
  .principle + .principle {
    padding: 24px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .principle__desc {
    max-width: 400px;
  }

  .testimonials {
    padding: 74px 0;
  }

  .testimonials__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .testimonial {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .testimonial__side {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 0;
  }

  .testimonial__avatar {
    width: 52px;
    height: 52px;
    margin-bottom: 0;
    font-size: 19px;
  }

  .testimonial__counter {
    margin-top: 0;
    margin-left: auto;
  }

  .testimonial__quote-wrap {
    min-height: 0;
  }

  .testimonial__quote {
    font-size: clamp(27px, 7.4vw, 36px);
  }

  .testimonial::before {
    top: -46px;
    left: 40%;
    font-size: 190px;
  }

  .testimonial__footer {
    margin-top: 30px;
  }

  .testimonial__hint {
    display: none;
  }

  .faq__intro .h2 {
    margin-bottom: 16px;
  }

  .faq-item__question {
    padding: 20px 0;
  }

  .faq-item__answer p {
    padding: 0 0 22px 0;
    font-size: 13px;
  }

  .cta-section {
    padding-bottom: 60px;
  }

  .cta {
    margin: 0 10px;
    min-height: 500px;
    border-radius: 32px;
  }

  .cta::before {
    background:
      linear-gradient(90deg, rgba(7, 5, 12, 0.94) 0%, rgba(7, 5, 12, 0.75) 70%, rgba(7, 5, 12, 0.55) 100%),
      linear-gradient(to top, rgba(7, 5, 12, 0.7), transparent 55%);
  }

  .cta__inner {
    width: calc(100% - 40px);
    padding: 64px 0;
  }

  .cta__title {
    font-size: clamp(40px, 11.5vw, 64px);
  }

  .cta__status {
    top: 16px;
    right: 16px;
  }

  .contact {
    padding-top: 76px;
  }

  .contact-channels {
    margin-bottom: 34px;
  }

  .form-card {
    border-radius: 24px;
    padding: 24px 18px;
  }

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

  .form-card__head {
    flex-direction: column;
    gap: 12px;
  }

  .form-success {
    min-height: 380px;
  }

  .site-footer {
    border-radius: 32px 32px 0 0;
    margin-top: 10px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
    padding: 40px 0;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
  }

  .footer-wordmark {
    font-size: clamp(62px, 18vw, 120px);
    margin-bottom: 18px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

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

  .footer-form__button {
    padding: 0 16px;
  }

  .lightbox__info {
    padding: 26px 20px 22px;
  }

  .lightbox__title {
    font-size: 26px;
  }

  .lightbox__media {
    padding: 12px;
    min-height: 240px;
  }

  .lightbox__img {
    max-height: calc(46vh - 24px);
  }

  .q-dialog__inner--minimized > div {
    max-width: calc(100vw - 20px);
  }
}

@media (max-width: 560px) {
  .brand__word {
    font-size: 11px;
    letter-spacing: 0.18em;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
  }

  .hero__title {
    font-size: clamp(43px, 13vw, 60px);
  }

  .hero__eyebrow {
    font-size: 9px;
    letter-spacing: 0.13em;
  }

  .hero__proof-item span {
    max-width: 64px;
  }

  .hero__visual {
    width: 100%;
  }

  .hero-badge {
    display: none;
  }

  .hero-mini {
    display: none;
  }

  .btn {
    min-height: 50px;
    padding-left: 20px;
    font-size: 12.5px;
  }

  .btn__arrow {
    width: 28px;
    height: 28px;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .project-card__media {
    aspect-ratio: 4 / 3;
  }

  .project-card__title {
    font-size: 18px;
  }

  .project-card__cursor {
    display: none !important;
  }

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

  .footer-form__row {
    flex-direction: column;
    align-items: stretch;
    border-radius: 20px;
    padding: 8px;
  }

  .footer-form__input {
    height: 42px;
  }

  .footer-form__button {
    height: 44px;
  }

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

  .footer-col:last-child {
    grid-column: auto;
  }

  .footer-social {
    margin-top: 14px;
  }

  .footer-bottom__right {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .cta__actions .btn {
    width: 100%;
  }

  .contact-channel {
    padding-right: 12px;
  }

  .contact-channel__value {
    font-size: 13px;
  }

  .form-card__badge {
    align-self: flex-start;
  }

  .chip-select button {
    padding: 8px 11px;
    font-size: 10.5px;
  }

  .q-dialog__inner {
    padding: 8px !important;
  }
}

@media (hover: hover) and (pointer: fine) {
  .project-card__cursor {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }
}

/* Motion is controlled by the explicit Motion toggle. */

/* Small component helpers ------------------------------------------------ */

.pix-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  line-height: 0;
}

.pix-icon svg {
  width: 100%;
  height: 100%;
}

.project-card__media {
  display: block;
}

.project-card__title {
  display: block;
}

.project-card__caption > span:first-child {
  display: block;
  min-width: 0;
}

.project-card__overlay-label {
  display: inline-flex;
}

.testimonial__quote {
  margin: 0;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.boot-error {
  min-height: 100svh;
  display: grid;
  place-content: center;
  gap: 16px;
  padding: 40px;
  text-align: center;
  background: var(--cream);
}

.boot-error h1 {
  font-size: 32px;
}

.boot-error p {
  max-width: 420px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 560px) {
  .project-card__cursor {
    display: none;
  }

  .hero__proof-item strong {
    font-size: 20px;
  }

  .hero__proof-item span {
    font-size: 8px;
  }

  .project-card__caption {
    padding-top: 13px;
  }
}

/* Anchor offset */
section[id],
div[id="top"] {
  scroll-margin-top: 92px;
}

/* Round 2 polish ------------------------------------------------------- */

.hero__title-line {
  padding: 0.07em 0 0.1em;
  margin: -0.07em 0 -0.1em;
}

.hero__since {
  white-space: nowrap;
}

@media (max-width: 760px) {
  .hero__eyebrow {
    font-size: 9px;
    letter-spacing: 0.12em;
    white-space: nowrap;
  }

  .hero__eyebrow .eyebrow__line,
  .hero__since {
    display: none;
  }

  .studio-figure__caption {
    display: none;
  }

  .service-card,
  .service-card:nth-child(1),
  .service-card:nth-child(6) {
    min-height: 0;
    padding: 24px 24px 72px;
  }

  .service-card__top {
    margin-bottom: 22px;
  }

  .service-card:nth-child(1) .service-card__body,
  .service-card:nth-child(6) .service-card__body,
  .service-card__body {
    max-width: 100%;
    margin-top: 0;
  }

  .service-visual {
    display: none;
  }

  .work__filters {
    -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent);
    mask-image: linear-gradient(90deg, #000 92%, transparent);
    padding-right: 24px;
  }
}

/* Round 3 polish ------------------------------------------------------- */

.site-header.is-scrolled {
  background: rgba(247, 243, 237, 0.94);
}

.process-step.is-active .process-step__plus {
  transform: none;
}

.process-step.is-active .process-step__plus::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0.2);
}

@media (max-width: 760px) {
  .testimonial::before {
    display: none;
  }

  .testimonial__side {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    grid-template-areas:
      'avatar author counter'
      'avatar role counter';
    align-items: center;
    column-gap: 14px;
    row-gap: 1px;
  }

  .testimonial__avatar {
    grid-area: avatar;
    align-self: center;
  }

  .testimonial__author {
    grid-area: author;
    align-self: end;
    font-size: 14px;
  }

  .testimonial__role {
    grid-area: role;
    align-self: start;
    margin-top: 0;
    font-size: 10.5px;
  }

  .testimonial__counter {
    grid-area: counter;
    justify-self: end;
    margin: 0;
    white-space: nowrap;
  }

  .tech-card {
    min-height: 126px;
    padding: 16px 14px;
  }

  .tech-card__icon {
    width: 26px;
    height: 26px;
  }

  .tech-card__name {
    margin-top: 16px;
  }

  .hero__orb--one {
    opacity: 0.45;
  }
}

@media (max-width: 560px) {
  .tech-card {
    min-height: 118px;
  }
}


/* Quasar error icon is replaced by our own field styling. */
.pix-input .q-field__append .q-icon,
.pix-input .q-field__marginal .q-icon {
  display: none !important;
}

/* Round 4 polish ------------------------------------------------------- */

.mobile-menu__cta {
  width: 100%;
  margin-top: 34px;
  justify-content: center;
}

.mobile-menu__nav a.is-active {
  color: var(--magenta);
}

.footer-form__button {
  background: var(--gradient-brand);
  color: #fff;
}

.footer-form__button:hover {
  background: var(--cream);
  color: var(--ink);
}

@media (max-width: 760px) {
  .lightbox__hint {
    display: none;
  }

  .mobile-menu {
    padding-bottom: 32px;
  }
}

/* Final spacing + testimonial refinement -------------------------------- */

.testimonial::before {
  display: none;
}

.testimonials {
  padding-top: clamp(80px, 8vw, 120px);
  padding-bottom: clamp(76px, 8vw, 118px);
}

.testimonial__quote-wrap {
  min-height: 260px;
}

@media (max-width: 760px) {
  .testimonial__quote-wrap {
    min-height: 0;
  }
}


.no-js .boot-screen {
  display: none;
}

/* No-JS fallback polish ------------------------------------------------ */

.noscript-card h2 {
  margin: 30px 0 12px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.noscript-card ul {
  display: grid;
  gap: 7px;
  margin: 0 0 10px;
  padding-left: 18px;
  list-style: disc;
}

.noscript-card li {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.noscript-card li strong {
  color: var(--ink);
}

.error-page .accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-newsletter h3 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* Viewport unit fallbacks for older browsers. */
.boot-screen,
.error-page {
  min-height: 100vh;
  min-height: 100svh;
}

/* ==========================================================================
   HERO V3 — dark cinematic stage
   A continuous, mouse-independent light field, a kinetic pulse sculpture,
   and a dark floating navigation dock.
   ========================================================================== */

/* --- Dark navigation dock ------------------------------------------------ */

.site-header {
  padding: 14px 0 0;
  border: 0;
  background: transparent !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: padding 0.4s var(--ease);
}

.site-header.is-scrolled {
  padding-top: 9px;
  border: 0;
  background: transparent !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.site-header__inner {
  height: 74px;
  padding: 0 11px 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  background: linear-gradient(118deg, rgba(17, 13, 26, 0.88) 0%, rgba(9, 7, 14, 0.72) 100%);
  box-shadow: 0 26px 70px -36px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  backdrop-filter: blur(24px) saturate(1.4);
  transition: height 0.4s var(--ease), background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.site-header.is-scrolled .site-header__inner {
  height: 64px;
  background: linear-gradient(118deg, rgba(15, 12, 22, 0.95) 0%, rgba(8, 7, 13, 0.85) 100%);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 52px -30px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.site-header .brand__word {
  color: var(--cream);
}

.site-header .brand__mark {
  width: 36px;
  height: 36px;
}

.site-header .main-nav {
  padding: 0;
  gap: 3px;
  border: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.site-header .main-nav a {
  padding: 10px 15px;
  color: rgba(246, 242, 235, 0.62);
}

.site-header .main-nav a:hover {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.07);
}

.site-header .main-nav a.is-active {
  color: #17121D;
  background: var(--cream);
  box-shadow: 0 8px 22px -14px rgba(0, 0, 0, 0.75);
}

.site-header .main-nav a.is-active::before {
  background: var(--gradient-brand);
}

.site-header .menu-toggle {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
}

.site-header .menu-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

.site-header .menu-toggle span {
  background: var(--cream);
}

/* --- Dark hero shell ----------------------------------------------------- */

.hero.hero-v2 {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  overflow: hidden;
  isolation: isolate;
  background: #06050B;
  color: var(--cream);
}

.hero-v2 .accent {
  background-image: linear-gradient(100deg, #FF5F9E 0%, #C77DFF 42%, #8FB4FF 100%);
  background-size: 200% 200%;
  text-shadow: 0 0 50px rgba(199, 125, 255, 0.22);
}

.accent--flow {
  animation: accentFlow 9s ease-in-out infinite alternate;
}

.hero-v2__ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #06050B;
  animation: ambientIn 1.4s var(--ease) both;
}

.hero-v2__bg-image {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  object-fit: cover;
  object-position: center 46%;
  opacity: 0.82;
  filter: saturate(1.18) brightness(0.78);
  transform: scale(1.04);
  animation: heroBgDrift 26s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-v2__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.58;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-v2__aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(74px);
  mix-blend-mode: screen;
  opacity: 0.58;
  pointer-events: none;
}

.hero-v2__aurora--one {
  width: 640px;
  height: 640px;
  top: -230px;
  right: 2%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 83, 151, 0.5), rgba(215, 35, 99, 0.12) 48%, transparent 70%);
  animation: heroAuroraOne 17s ease-in-out infinite alternate;
}

.hero-v2__aurora--two {
  width: 720px;
  height: 720px;
  bottom: -320px;
  left: 24%;
  background: radial-gradient(circle at 50% 50%, rgba(73, 106, 255, 0.42), rgba(123, 77, 255, 0.12) 52%, transparent 72%);
  animation: heroAuroraTwo 22s ease-in-out infinite alternate;
}

.hero-v2__beam {
  position: absolute;
  width: 130%;
  height: 36%;
  top: 32%;
  left: -15%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 77, 141, 0.12) 34%, rgba(140, 100, 255, 0.14) 52%, rgba(55, 95, 255, 0.1) 68%, transparent 100%);
  filter: blur(56px);
  transform: rotate(-12deg);
  opacity: 0.8;
  animation: heroBeam 13s ease-in-out infinite alternate;
}

.hero-v2__grid {
  position: absolute;
  inset: -10%;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.14) 1px, transparent 0);
  background-size: 38px 38px;
  opacity: 0.22;
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 70% 40%, #000 5%, transparent 70%);
  mask-image: radial-gradient(ellipse 75% 75% at 70% 40%, #000 5%, transparent 70%);
}

.hero-v2__noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.18;
  pointer-events: none;
}

.hero-v2__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 4, 10, 0.94) 0%, rgba(5, 4, 10, 0.8) 28%, rgba(5, 4, 10, 0.38) 52%, rgba(5, 4, 10, 0.05) 74%, rgba(5, 4, 10, 0.2) 100%),
    linear-gradient(to bottom, rgba(5, 4, 10, 0.45) 0%, transparent 24%, transparent 67%, rgba(5, 4, 10, 0.78) 100%);
  pointer-events: none;
}

.hero-v2__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 75% at 52% 45%, transparent 30%, rgba(4, 3, 8, 0.45) 100%);
  pointer-events: none;
}

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

.hero-v2__motes span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: rgba(255, 214, 230, 0.8);
  box-shadow: 0 0 10px rgba(255, 117, 166, 0.7);
  opacity: 0.5;
  animation: moteFloat var(--d) linear infinite;
  animation-delay: var(--delay);
}

/* --- Hero layout --------------------------------------------------------- */

.hero-v2__inner {
  position: relative;
  z-index: 3;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(30px, 4.2vw, 76px);
  align-items: center;
  padding-top: clamp(120px, 15vh, 172px);
  padding-bottom: clamp(26px, 4vh, 54px);
}

.hero-v2__copy {
  position: relative;
  z-index: 4;
  max-width: 720px;
}

.hero-v2__eyebrow {
  margin-bottom: 26px;
  color: rgba(246, 242, 235, 0.5);
}

.hero-v2__eyebrow .eyebrow__line {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.35), transparent);
}

.hero-v2__eyebrow .eyebrow__dot::after {
  border-color: rgba(255, 106, 158, 0.4);
}

.hero-v2__title {
  margin: 0 0 30px;
  color: #FBF7F1;
  font-size: clamp(58px, 6.9vw, 104px);
  line-height: 0.9;
  letter-spacing: -0.068em;
  text-shadow: 0 18px 70px rgba(0, 0, 0, 0.35);
}

.hero-v2__title .accent {
  font-size: 1.04em;
}

.hero-v2__lede {
  max-width: 520px;
  color: rgba(246, 242, 235, 0.62);
  font-size: clamp(16px, 1.12vw, 17.5px);
  line-height: 1.72;
}

.hero-v2 .word-rotator {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.065);
  color: #EAA4FF;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-v2__actions {
  margin-top: 34px;
}

.hero-v2__outline {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.035);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hero-v2__outline .btn__arrow {
  background: rgba(255, 255, 255, 0.09);
  color: var(--cream);
}

.hero-v2__outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-v2__proof {
  margin-top: 42px;
  padding-top: 22px;
  border-top-color: rgba(255, 255, 255, 0.13);
}

.hero-v2__proof .hero__proof-item strong {
  color: var(--cream);
}

.hero-v2__proof .hero__proof-item span {
  color: rgba(246, 242, 235, 0.4);
}

.hero-v2__proof .hero__proof-divider {
  background: rgba(255, 255, 255, 0.13);
}

/* --- Kinetic pulse sculpture -------------------------------------------- */

.hero-v2__art {
  position: relative;
  z-index: 2;
  justify-self: end;
  width: min(100%, 570px);
  opacity: 0;
  transform: translateY(28px) scale(0.97);
  animation: heroArtIn 1.45s var(--ease) 0.35s forwards;
}

.pulse-stage-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  animation: stageFloat 8s ease-in-out infinite;
}

.pulse-stage {
  --rx: 0deg;
  --ry: 0deg;
  --gx: 62%;
  --gy: 36%;
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.55s var(--ease);
}

.pulse-stage__halo {
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 55% 42%, rgba(255, 86, 154, 0.36), transparent 36%),
    radial-gradient(circle at 38% 68%, rgba(83, 79, 255, 0.3), transparent 42%);
  filter: blur(44px);
  opacity: 0.85;
  animation: haloPulse 7s ease-in-out infinite;
}

.pulse-stage__sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(280px circle at var(--gx) var(--gy), rgba(255, 255, 255, 0.13), transparent 70%);
  opacity: 0.8;
  pointer-events: none;
}

.pulse-ring {
  position: absolute;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    transparent 0 50%,
    rgba(255, 90, 158, 0.88) 61%,
    rgba(255, 188, 220, 0.95) 65%,
    transparent 71%,
    rgba(132, 103, 255, 0.9) 79%,
    transparent 88%,
    rgba(78, 123, 255, 0.85) 94%,
    transparent 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1.5px));
  filter: drop-shadow(0 0 10px rgba(215, 35, 99, 0.35));
  animation: spin 19s linear infinite;
  opacity: 0.9;
}

.pulse-ring--one {
  inset: 0;
}

.pulse-ring--two {
  inset: 9%;
  animation-duration: 29s;
  animation-direction: reverse;
  opacity: 0.66;
}

.pulse-ring--three {
  inset: 19%;
  animation-duration: 14s;
  opacity: 0.55;
}

.pulse-ring--dash {
  inset: 5%;
  background: none;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  -webkit-mask: none;
  mask: none;
  filter: none;
  animation: spin 60s linear infinite reverse;
  opacity: 0.7;
}

.pulse-wave {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 42%;
  height: 42%;
  border: 1px solid rgba(255, 187, 215, 0.28);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: wavePulse 5.4s cubic-bezier(0.2, 0.7, 0.2, 1) infinite;
  pointer-events: none;
}

.pulse-wave--two {
  animation-delay: 2.7s;
  border-color: rgba(158, 174, 255, 0.24);
}

.pulse-orbit {
  position: absolute;
  inset: 2%;
  border-radius: 50%;
  animation: spin 22s linear infinite;
}

.pulse-orbit__dot {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FFC2D8;
  box-shadow: 0 0 16px rgba(255, 77, 141, 0.9);
}

.pulse-orbit__dot--one {
  left: 50%;
  top: -3px;
}

.pulse-orbit__dot--two {
  right: 11%;
  bottom: 18%;
  width: 5px;
  background: #C4D2FF;
  box-shadow: 0 0 16px rgba(110, 137, 255, 0.9);
}

.pulse-orbit__dot--three {
  left: 9%;
  bottom: 31%;
  width: 4px;
  background: #EAD3FF;
  box-shadow: 0 0 14px rgba(183, 127, 255, 0.9);
}

.pulse-core {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  width: 36%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: #120B20;
  box-shadow:
    0 0 70px rgba(215, 35, 99, 0.45),
    0 0 150px rgba(96, 70, 255, 0.24),
    inset 0 0 50px rgba(0, 0, 0, 0.55),
    inset 0 1px 1px rgba(255, 255, 255, 0.35);
  transform: translate(-50%, -50%) scale(1);
  animation: coreBreathe 6s ease-in-out infinite;
}

.pulse-core::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.5), transparent 18%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(69, 99, 255, 0.35), transparent 46%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.pulse-core__img {
  position: absolute;
  left: -10%;
  top: -10%;
  width: 120%;
  height: 120%;
  object-fit: cover;
  opacity: 0.96;
  transform: scale(1.05) rotate(0deg);
  animation: coreSpin 46s linear infinite;
}

.pulse-core__sheen {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: conic-gradient(from 210deg, transparent 0 58%, rgba(255, 255, 255, 0.22) 66%, transparent 74%);
  mix-blend-mode: screen;
  animation: spin 18s linear infinite;
}

.pulse-core__ring {
  position: absolute;
  inset: 7%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

.pulse-badge {
  position: absolute;
  z-index: 6;
  right: -1%;
  bottom: -1%;
  width: 106px;
  height: 106px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(10, 8, 17, 0.62);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.9);
  animation: badgeFloat 8s ease-in-out infinite;
}

.pulse-badge svg {
  position: absolute;
  inset: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  animation: spin 26s linear infinite;
}

.pulse-badge text {
  fill: rgba(246, 242, 235, 0.7);
  font-family: var(--font-sans);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pulse-badge__star {
  font-size: 23px;
  line-height: 1;
  background: var(--gradient-brand-soft);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pulse-status {
  position: absolute;
  z-index: 6;
  left: 0;
  top: 2%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(10, 8, 17, 0.5);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: rgba(246, 242, 235, 0.76);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: statusFloat 8s ease-in-out infinite;
}

.pulse-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5BE3A2;
  box-shadow: 0 0 0 4px rgba(91, 227, 162, 0.12);
  animation: statusPulse 2.6s ease-in-out infinite;
}

.pulse-card {
  position: absolute;
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(24, 18, 36, 0.72), rgba(10, 8, 17, 0.58));
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 30px 70px -34px rgba(0, 0, 0, 0.9);
  pointer-events: none;
}

.pulse-card--work {
  left: -2%;
  bottom: 7%;
  width: 190px;
  padding: 7px;
  transform: rotate(-7deg);
  animation: cardFloatA 7s ease-in-out infinite;
}

.pulse-card__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 14px;
  background: #191121;
}

.pulse-card__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 7px 4px;
  color: var(--cream);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pulse-card__caption span:last-child {
  color: rgba(246, 242, 235, 0.4);
  font-size: 7.5px;
}

.pulse-card--meta {
  right: -4%;
  top: 8%;
  width: 180px;
  padding: 17px 17px 15px;
  transform: rotate(5deg);
  animation: cardFloatB 8.5s ease-in-out infinite;
}

.pulse-card__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: rgba(246, 242, 235, 0.4);
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.pulse-card--meta strong {
  display: block;
  margin-bottom: 2px;
  font-size: 38px;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.06em;
  background: var(--gradient-brand-soft);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pulse-card--meta > span:last-child {
  display: block;
  color: rgba(246, 242, 235, 0.44);
  font-size: 8.5px;
  font-weight: 600;
}

.pulse-label {
  position: absolute;
  color: rgba(246, 242, 235, 0.28);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  pointer-events: none;
}

.pulse-label--top {
  left: 50%;
  top: -6%;
  transform: translateX(-50%);
}

.pulse-label--side {
  left: -7%;
  top: 50%;
  transform: rotate(-90deg) translateX(-50%);
  transform-origin: left center;
}

/* --- Hero footer -------------------------------------------------------- */

.hero-v2__foot {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 17px;
  padding-bottom: 23px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(246, 242, 235, 0.36);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-v2__foot-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-v2__foot-left i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--primary);
}

.hero-v2__foot-mid {
  color: rgba(246, 242, 235, 0.28);
}

.hero-v2__scroll {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(246, 242, 235, 0.62);
  font-family: var(--font-sans);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s ease;
}

.hero-v2__scroll:hover {
  color: var(--cream);
}

.hero-v2__scroll-line {
  position: relative;
  display: block;
  width: 38px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.hero-v2__scroll-line::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 45%;
  background: var(--gradient-brand-soft);
  animation: scrollLine 2.4s var(--ease-soft) infinite;
}

/* --- Hero keyframes ----------------------------------------------------- */

@keyframes ambientIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes heroBgDrift {
  0% { transform: scale(1.04) translate3d(0, 0, 0); }
  100% { transform: scale(1.16) translate3d(-2.5%, -1.5%, 0); }
}

@keyframes heroAuroraOne {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.48; }
  100% { transform: translate3d(-6%, 4%, 0) scale(1.14); opacity: 0.72; }
}

@keyframes heroAuroraTwo {
  0% { transform: translate3d(0, 0, 0) scale(1.05); opacity: 0.5; }
  100% { transform: translate3d(5%, -5%, 0) scale(1.2); opacity: 0.74; }
}

@keyframes heroBeam {
  0% { transform: translate3d(-3%, 0, 0) rotate(-12deg); opacity: 0.45; }
  100% { transform: translate3d(4%, 4%, 0) rotate(-7deg); opacity: 0.85; }
}

@keyframes heroArtIn {
  from { opacity: 0; transform: translateY(28px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes stageFloat {
  0%, 100% { transform: translateY(0) rotate(0.15deg); }
  50% { transform: translateY(-11px) rotate(0.7deg); }
}

@keyframes haloPulse {
  0%, 100% { transform: scale(0.96); opacity: 0.62; }
  50% { transform: scale(1.06); opacity: 0.95; }
}

@keyframes coreBreathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.045); }
}

@keyframes coreSpin {
  to { transform: scale(1.05) rotate(360deg); }
}

@keyframes wavePulse {
  0% { transform: translate(-50%, -50%) scale(0.58); opacity: 0; }
  16% { opacity: 0.65; }
  100% { transform: translate(-50%, -50%) scale(1.7); opacity: 0; }
}

@keyframes cardFloatA {
  0%, 100% { transform: rotate(-7deg) translateY(0); }
  50% { transform: rotate(-4.6deg) translateY(-13px); }
}

@keyframes cardFloatB {
  0%, 100% { transform: rotate(5deg) translateY(0); }
  50% { transform: rotate(2.5deg) translateY(10px); }
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-9px) rotate(4deg); }
}

@keyframes statusFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes moteFloat {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  10% { opacity: 0.55; }
  80% { opacity: 0.4; }
  100% { transform: translate3d(20px, -80px, 0); opacity: 0; }
}

@keyframes accentFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

@keyframes scrollLine {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(260%); }
}

/* --- Continuous motion pass across the page ----------------------------- */

.marquee__track {
  animation-duration: 30s;
}

.cta__bg {
  animation: ctaDrift 24s ease-in-out infinite alternate;
}

.studio-figure__img {
  animation: studioDrift 22s ease-in-out infinite alternate;
}

.process__bg img {
  animation: processDrift 27s ease-in-out infinite alternate;
}

.work::before {
  animation: sectionBlobOne 22s ease-in-out infinite alternate;
}

.tech::before {
  animation: sectionBlobTwo 24s ease-in-out infinite alternate;
}

.studio::before {
  animation: sectionBlobOne 20s ease-in-out infinite alternate-reverse;
}

.contact::before {
  animation: sectionBlobTwo 23s ease-in-out infinite alternate-reverse;
}

.site-footer::before {
  animation: sectionBlobOne 30s ease-in-out infinite alternate;
}

.fv-browser {
  animation: visualFloatStrong 6.2s ease-in-out infinite;
}

.fv-phone {
  animation: visualFloatStrong 7.4s ease-in-out 1s infinite reverse;
}

.fv-chip--one {
  animation: visualFloatStrong 5.4s ease-in-out 0.4s infinite;
}

.fv-chip--two {
  animation: visualFloatStrong 6.6s ease-in-out 1.2s infinite reverse;
}

.services .service-card::after {
  background: linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.07) 42%, transparent 64%);
  background-size: 260% 100%;
  animation: cardSheen 9s linear infinite;
}

.services .service-card:nth-child(2)::after { animation-delay: -1.6s; }
.services .service-card:nth-child(3)::after { animation-delay: -3.2s; }
.services .service-card:nth-child(4)::after { animation-delay: -4.8s; }
.services .service-card:nth-child(5)::after { animation-delay: -6.4s; }
.services .service-card:nth-child(6)::after { animation-delay: -7.8s; }

.service-card:hover {
  transform: translateY(-8px);
}

.project-card__img {
  transition: transform 1.1s var(--ease), filter 0.8s ease;
}

.project-card:hover .project-card__img {
  transform: translate3d(var(--img-x, 0), var(--img-y, 0), 0) scale(1.1);
}

.project-card:hover .project-card__media {
  transform: perspective(1200px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(-8px);
}

.js .reveal {
  transform: translateY(42px);
  transition-duration: 1.1s;
}

.js .reveal.is-inview {
  transform: translateY(0);
}

@keyframes ctaDrift {
  0% { transform: translate3d(-1%, var(--cta-y, 0px), 0) scale(1.02); }
  100% { transform: translate3d(1.5%, calc(var(--cta-y, 0px) - 16px), 0) scale(1.12); }
}

@keyframes studioDrift {
  0% { transform: scale(1.06) translate3d(0, var(--studio-img-y, 0px), 0); }
  100% { transform: scale(1.13) translate3d(-1.2%, calc(var(--studio-img-y, 0px) - 14px), 0); }
}

@keyframes processDrift {
  0% { transform: scale(1.04) translate3d(0, var(--process-bg-y, 0px), 0); }
  100% { transform: scale(1.13) translate3d(-1.4%, calc(var(--process-bg-y, 0px) - 18px), 0); }
}

@keyframes sectionBlobOne {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.55; }
  100% { transform: translate3d(4%, -5%, 0) scale(1.18); opacity: 0.9; }
}

@keyframes sectionBlobTwo {
  0% { transform: translate3d(0, 0, 0) scale(1.05); opacity: 0.5; }
  100% { transform: translate3d(-5%, 4%, 0) scale(1.2); opacity: 0.85; }
}

@keyframes visualFloatStrong {
  0%, 100% { transform: translateY(0) rotate(3deg); }
  50% { transform: translateY(-13px) rotate(1.6deg); }
}

@keyframes cardSheen {
  0% { background-position: 160% 0; opacity: 0; }
  12% { opacity: 0.55; }
  42% { opacity: 0.55; }
  55% { background-position: -80% 0; opacity: 0; }
  100% { background-position: -80% 0; opacity: 0; }
}

/* --- Hero/header responsive -------------------------------------------- */

@media (max-width: 1180px) {
  .hero-v2__inner {
    gap: 34px;
    padding-top: clamp(116px, 14vh, 150px);
  }

  .hero-v2__title {
    font-size: clamp(54px, 6.6vw, 86px);
  }

  .hero-v2__art {
    width: min(100%, 480px);
  }

  .pulse-card--work {
    width: 165px;
  }

  .pulse-card--meta {
    width: 158px;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding-top: 10px;
  }

  .site-header__inner {
    height: 64px;
    padding: 0 9px 0 16px;
    border-radius: 18px;
  }

  .site-header.is-scrolled .site-header__inner {
    height: 60px;
  }

  .hero-v2__inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: clamp(106px, 13vh, 132px);
    padding-bottom: 18px;
  }

  .hero-v2__copy {
    max-width: 780px;
  }

  .hero-v2__title {
    font-size: clamp(52px, 9.2vw, 84px);
  }

  .hero-v2__lede {
    max-width: 620px;
  }

  .hero-v2__art {
    justify-self: center;
    width: min(100%, 410px);
    margin-top: 2px;
  }

  .hero-v2__foot {
    padding-bottom: 18px;
  }
}

@media (max-width: 760px) {
  .site-header__inner {
    width: calc(100% - 24px);
    height: 58px;
    border-radius: 16px;
  }

  .site-header.is-scrolled .site-header__inner {
    height: 56px;
  }

  .site-header .brand__mark {
    width: 32px;
    height: 32px;
  }

  .hero-v2__inner {
    padding-top: 94px;
    padding-bottom: 12px;
    gap: 10px;
  }

  .hero-v2__eyebrow {
    margin-bottom: 20px;
    font-size: 8.5px;
  }

  .hero-v2__title {
    font-size: clamp(47px, 12.4vw, 72px);
    margin-bottom: 22px;
  }

  .hero-v2__lede {
    font-size: 15.5px;
    max-width: 100%;
  }

  .hero-v2__actions {
    margin-top: 27px;
  }

  .hero-v2__proof {
    margin-top: 30px;
    padding-top: 18px;
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero-v2__art {
    width: min(100%, 365px);
    margin-top: 0;
  }

  .pulse-card--meta,
  .pulse-badge,
  .pulse-label--side,
  .pulse-ring--dash {
    display: none;
  }

  .pulse-card--work {
    width: 128px;
    left: -1%;
    bottom: 6%;
    padding: 5px;
    border-radius: 15px;
  }

  .pulse-card__caption {
    padding: 7px 4px 2px;
    font-size: 7px;
  }

  .pulse-card__caption span:last-child {
    display: none;
  }

  .pulse-status {
    left: 0;
    top: 2%;
    padding: 7px 10px 7px 8px;
    font-size: 7px;
  }

  .pulse-label--top {
    display: none;
  }

  .hero-v2__foot {
    gap: 12px;
    padding-top: 13px;
    padding-bottom: 15px;
    font-size: 7.5px;
    letter-spacing: 0.12em;
  }

  .hero-v2__foot-mid {
    display: none;
  }

  .hero-v2__scroll {
    font-size: 7.5px;
    letter-spacing: 0.12em;
  }

  .hero-v2__scroll-line {
    width: 28px;
  }

  .hero-v2__shade {
    background:
      linear-gradient(90deg, rgba(5, 4, 10, 0.9) 0%, rgba(5, 4, 10, 0.55) 60%, rgba(5, 4, 10, 0.4) 100%),
      linear-gradient(to bottom, rgba(5, 4, 10, 0.55) 0%, transparent 25%, transparent 64%, rgba(5, 4, 10, 0.82) 100%);
  }
}

@media (max-width: 480px) {
  .hero-v2__art {
    width: min(100%, 315px);
  }

  .pulse-card--work {
    width: 112px;
  }

  .hero-v2__foot-left {
    display: none;
  }

  .hero-v2__foot {
    justify-content: flex-end;
  }

  .hero-v2__aurora--one {
    width: 420px;
    height: 420px;
  }

  .hero-v2__aurora--two {
    width: 480px;
    height: 480px;
  }
}

/* Ambient-motion preferences are handled by the Motion toggle below. */

@media (max-height: 820px) and (min-width: 901px) {
  .hero-v2__inner {
    padding-top: 104px;
    padding-bottom: 12px;
  }

  .hero-v2__title {
    font-size: clamp(52px, 6.4vw, 88px);
    margin-bottom: 22px;
  }

  .hero-v2__lede {
    font-size: 15.5px;
  }

  .hero-v2__actions {
    margin-top: 26px;
  }

  .hero-v2__proof {
    margin-top: 26px;
    padding-top: 16px;
  }

  .hero-v2__art {
    width: min(100%, 455px);
  }

  .hero-v2__foot {
    padding-top: 12px;
    padding-bottom: 14px;
  }

  .hero-v2__bg-image {
    object-position: center 52%;
  }
}

/* Prevent global image max-width from clipping oversized hero art. */
.hero-v2__bg-image,
.pulse-core__img {
  max-width: none;
}

.hero-v2__bg-image {
  width: 116%;
  height: 116%;
}

/* Keep the primary action available on tablets, where the dock has room. */
@media (min-width: 600px) {
  .site-header .header-cta {
    display: inline-flex;
  }
}

@media (max-width: 599px) {
  .site-header .header-cta {
    display: none;
  }
}

/* Slightly larger portal, so the pulse sculpture leads the composition. */
.pulse-core {
  width: 39%;
}

.pulse-card--work {
  width: 182px;
  left: -4%;
  bottom: 5%;
}

.pulse-card--meta {
  right: -5%;
  top: 7%;
}

/* Readability on the dark stage */
.hero-v2__eyebrow {
  color: rgba(246, 242, 235, 0.62);
}

.hero-v2__proof .hero__proof-item span {
  color: rgba(246, 242, 235, 0.55);
}

.hero-v2__foot {
  color: rgba(246, 242, 235, 0.56);
}

.hero-v2__foot-mid {
  color: rgba(246, 242, 235, 0.44);
}

.hero-v2__scroll {
  color: rgba(246, 242, 235, 0.72);
}

@media (max-width: 900px) {
  .hero-v2__art {
    margin-top: 30px;
  }

  .pulse-label {
    display: none;
  }
}

@media (max-width: 760px) {
  .hero-v2__art {
    margin-top: 14px;
  }
}

/* ==========================================================================
   HERO V4 — replaced art, stronger continuous motion, explicit motion control
   ========================================================================== */

/* Additional atmospheric layers that move independently and visibly. */
.hero-v2__rays {
  position: absolute;
  inset: -32%;
  background: conic-gradient(from 0deg at 62% 46%,
    transparent 0deg,
    rgba(255, 92, 158, 0.2) 18deg,
    rgba(255, 92, 158, 0.02) 42deg,
    transparent 68deg,
    transparent 168deg,
    rgba(80, 118, 255, 0.17) 192deg,
    transparent 220deg,
    transparent 326deg,
    rgba(151, 100, 255, 0.14) 344deg,
    transparent 360deg);
  filter: blur(16px);
  mix-blend-mode: screen;
  opacity: 0.82;
  animation: spin 18s linear infinite;
  pointer-events: none;
}

.hero-v2__liquid {
  position: absolute;
  inset: -22%;
  background:
    radial-gradient(42% 36% at 24% 62%, rgba(215, 35, 99, 0.46), transparent 70%),
    radial-gradient(38% 38% at 76% 34%, rgba(63, 90, 255, 0.42), transparent 70%),
    radial-gradient(34% 30% at 55% 82%, rgba(139, 80, 255, 0.46), transparent 70%);
  filter: blur(68px);
  mix-blend-mode: screen;
  opacity: 0.58;
  animation: liquidMesh 13s ease-in-out infinite alternate;
  pointer-events: none;
  will-change: transform;
}

@keyframes liquidMesh {
  0% { transform: translate3d(-4%, -2%, 0) scale(1); }
  100% { transform: translate3d(6%, 4%, 0) scale(1.18); }
}

/* One slide replaces every image in the hero art area. */
.hero-slide-float {
  position: absolute;
  z-index: 4;
  inset: 0 6.5%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: slideBob 5.6s ease-in-out infinite;
  will-change: transform;
}

.hero-slide {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  background: #0A0711;
  box-shadow:
    0 55px 130px -40px rgba(0, 0, 0, 0.95),
    0 0 90px rgba(215, 35, 99, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  animation: slideGlow 5.6s ease-in-out infinite;
}

.hero-slide::after {
  content: '';
  position: absolute;
  z-index: 4;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0) 35%, rgba(215, 35, 99, 0) 65%, rgba(255, 255, 255, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.hero-slide__bar,
.hero-slide__caption {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 36px;
  padding: 0 16px;
  background: #0A0711;
  color: rgba(246, 242, 235, 0.56);
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-slide__bar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-slide__bar span:last-child {
  color: rgba(246, 242, 235, 0.32);
}

.hero-slide__caption {
  height: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(246, 242, 235, 0.38);
  font-size: 7px;
}

.hero-slide__media {
  position: relative;
  overflow: hidden;
  background: #FFFFFF;
}

.hero-slide__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1060 / 932;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02) brightness(0.99);
}

.hero-slide__sheen {
  position: absolute;
  inset: -30% -10%;
  background: linear-gradient(112deg, transparent 36%, rgba(255, 255, 255, 0.42) 48%, transparent 61%);
  mix-blend-mode: screen;
  opacity: 0;
  animation: slideSheen 6.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes slideBob {
  0%, 100% { transform: translateY(0) rotate(-1.2deg) scale(1); }
  34% { transform: translateY(-15px) rotate(0.3deg) scale(1.012); }
  68% { transform: translateY(-5px) rotate(1.2deg) scale(1.004); }
}

@keyframes slideGlow {
  0%, 100% { box-shadow: 0 55px 130px -40px rgba(0, 0, 0, 0.95), 0 0 70px rgba(215, 35, 99, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
  50% { box-shadow: 0 55px 130px -40px rgba(0, 0, 0, 0.95), 0 0 120px rgba(123, 77, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
}

@keyframes slideSheen {
  0%, 46% { transform: translateX(-70%); opacity: 0; }
  54% { opacity: 0.55; }
  78%, 100% { transform: translateX(70%); opacity: 0; }
}

/* Reposition the floating labels around the slide. */
.pulse-status {
  top: -2%;
  left: 0;
  z-index: 7;
}

.pulse-badge {
  z-index: 7;
}

/* Make the continuous motion unmissable on both Chrome and Safari. */
.hero-v2__bg-image {
  animation: heroBgDriftStrong 16s ease-in-out infinite alternate;
}

.hero-v2__aurora--one {
  animation: heroAuroraOneStrong 12s ease-in-out infinite alternate;
}

.hero-v2__aurora--two {
  animation: heroAuroraTwoStrong 15s ease-in-out infinite alternate;
}

.hero-v2__beam {
  animation: heroBeamStrong 8.5s ease-in-out infinite alternate;
}

.pulse-stage-wrap {
  animation: stageFloatStrong 7s ease-in-out infinite;
}

.pulse-stage__halo {
  animation: haloPulseStrong 4.8s ease-in-out infinite;
}

.pulse-ring--one { animation-duration: 13s; }
.pulse-ring--two { animation-duration: 20s; }
.pulse-ring--three { animation-duration: 9s; }
.pulse-ring--dash { animation-duration: 36s; }
.pulse-wave { animation-duration: 4s; }
.pulse-wave--two { animation-duration: 4s; animation-delay: 2s; }
.pulse-orbit { animation-duration: 14s; }
.pulse-badge { animation-duration: 5.6s; }
.pulse-badge svg { animation-duration: 18s; }
.pulse-status { animation-duration: 5.5s; }

.accent--flow {
  animation-duration: 5s;
}

.cta__bg {
  animation-duration: 18s;
}

.studio-figure__img {
  animation-duration: 18s;
}

.process__bg img {
  animation-duration: 20s;
}

.marquee__track {
  animation-duration: 22s;
}

.fv-browser { animation-duration: 4.8s; }
.fv-phone { animation-duration: 5.6s; }
.fv-chip { animation-duration: 4.2s; }

.services .service-card::after {
  animation-duration: 6s;
}

@keyframes heroBgDriftStrong {
  0% { transform: scale(1.06) translate3d(0, 0, 0); }
  100% { transform: scale(1.24) translate3d(-4%, -2%, 0); }
}

@keyframes heroAuroraOneStrong {
  0% { transform: translate3d(0, 0, 0) scale(0.9); opacity: 0.4; }
  100% { transform: translate3d(-9%, 6%, 0) scale(1.25); opacity: 0.82; }
}

@keyframes heroAuroraTwoStrong {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.45; }
  100% { transform: translate3d(8%, -8%, 0) scale(1.3); opacity: 0.8; }
}

@keyframes heroBeamStrong {
  0% { transform: translate3d(-8%, -2%, 0) rotate(-14deg); opacity: 0.35; }
  100% { transform: translate3d(8%, 6%, 0) rotate(-4deg); opacity: 1; }
}

@keyframes stageFloatStrong {
  0%, 100% { transform: translateY(0) rotate(0.2deg); }
  50% { transform: translateY(-14px) rotate(0.9deg); }
}

@keyframes haloPulseStrong {
  0%, 100% { transform: scale(0.92); opacity: 0.55; }
  50% { transform: scale(1.12); opacity: 1; }
}

@keyframes sectionBlobOneStrong {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.45; }
  100% { transform: translate3d(8%, -8%, 0) scale(1.28); opacity: 0.95; }
}

@keyframes sectionBlobTwoStrong {
  0% { transform: translate3d(0, 0, 0) scale(1.02); opacity: 0.42; }
  100% { transform: translate3d(-9%, 7%, 0) scale(1.3); opacity: 0.9; }
}

.work::before { animation: sectionBlobOneStrong 16s ease-in-out infinite alternate; }
.tech::before { animation: sectionBlobTwoStrong 18s ease-in-out infinite alternate; }
.studio::before { animation: sectionBlobOneStrong 16s ease-in-out infinite alternate-reverse; }
.contact::before { animation: sectionBlobTwoStrong 17s ease-in-out infinite alternate-reverse; }
.site-footer::before { animation: sectionBlobOneStrong 18s ease-in-out infinite alternate; }

/* --- Explicit motion control ------------------------------------------- */

.hero-v2__foot-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: rgba(246, 242, 235, 0.58);
  font-family: var(--font-sans);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s ease;
}

.motion-toggle:hover {
  color: var(--cream);
}

.motion-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 10px;
}

.motion-bars i {
  display: block;
  width: 2px;
  height: 4px;
  border-radius: 2px;
  background: var(--gradient-brand-soft);
  transform-origin: bottom center;
  opacity: 0.45;
}

.motion-toggle.is-on .motion-bars i {
  opacity: 1;
  animation: motionBar 1.1s ease-in-out infinite;
}

.motion-toggle.is-on .motion-bars i:nth-child(1) { height: 5px; animation-delay: -0.2s; }
.motion-toggle.is-on .motion-bars i:nth-child(2) { height: 10px; animation-delay: -0.45s; }
.motion-toggle.is-on .motion-bars i:nth-child(3) { height: 7px; animation-delay: -0.7s; }

.motion-toggle:not(.is-on) .motion-bars i {
  height: 2px;
  background: rgba(246, 242, 235, 0.4);
}

.motion-toggle:not(.is-on) span:last-child {
  color: rgba(246, 242, 235, 0.4);
}

@keyframes motionBar {
  0%, 100% { transform: scaleY(0.5); }
  50% { transform: scaleY(1); }
}

.motion-toggle--footer {
  color: rgba(246, 242, 235, 0.5);
  font-size: 8px;
}

.motion-toggle--footer:hover {
  color: var(--cream);
}

/* Pause only ambient loops when the visitor turns motion off.
   Entrance animations, hover transitions and layout stay intact. */
html.motion-off {
  scroll-behavior: auto;
}

html.motion-off *,
html.motion-off *::before,
html.motion-off *::after {
  transition-duration: 0.001ms !important;
}

html.motion-off .hero-v2__bg-image,
html.motion-off .hero-v2__aurora,
html.motion-off .hero-v2__beam,
html.motion-off .hero-v2__rays,
html.motion-off .hero-v2__liquid,
html.motion-off .hero-v2__motes span,
html.motion-off .accent--flow,
html.motion-off .pulse-stage-wrap,
html.motion-off .pulse-stage__halo,
html.motion-off .pulse-ring,
html.motion-off .pulse-wave,
html.motion-off .pulse-orbit,
html.motion-off .hero-slide-float,
html.motion-off .hero-slide,
html.motion-off .hero-slide__sheen,
html.motion-off .pulse-badge,
html.motion-off .pulse-badge svg,
html.motion-off .pulse-status,
html.motion-off .pulse-card,
html.motion-off .motion-bars i,
html.motion-off .hero-v2__scroll-line::after,
html.motion-off .cta__bg,
html.motion-off .studio-figure__img,
html.motion-off .process__bg img,
html.motion-off .marquee__track,
html.motion-off .fv-browser,
html.motion-off .fv-phone,
html.motion-off .fv-chip,
html.motion-off .service-card::after,
html.motion-off .work::before,
html.motion-off .tech::before,
html.motion-off .studio::before,
html.motion-off .contact::before,
html.motion-off .site-footer::before {
  animation-play-state: paused !important;
}

/* --- Responsive adjustments for the slide ------------------------------ */

@media (max-width: 1180px) {
  .hero-slide__bar { height: 32px; padding: 0 12px; font-size: 7px; }
  .hero-slide__caption { height: 30px; padding: 0 12px; font-size: 6.5px; }
  .hero-slide { border-radius: 22px; }

  .hero-v2__foot-right { gap: 14px; }
}

@media (max-width: 900px) {
  .hero-slide-float { inset: 0 7%; }
  .pulse-status { top: 0; }

  .hero-v2__foot-right {
    gap: 16px;
  }
}

@media (max-width: 760px) {
  .hero-slide-float {
    inset: 0 5%;
    animation-name: slideBobMobile;
  }

  @keyframes slideBobMobile {
    0%, 100% { transform: translateY(0) rotate(-0.8deg) scale(1); }
    34% { transform: translateY(-9px) rotate(0.2deg) scale(1.008); }
    68% { transform: translateY(-3px) rotate(0.8deg) scale(1.003); }
  }

  .hero-slide {
    border-radius: 18px;
  }

  .hero-slide__bar { height: 27px; padding: 0 10px; font-size: 6.5px; }
  .hero-slide__caption { height: 25px; padding: 0 10px; font-size: 6px; }

  .pulse-status {
    top: -1%;
    font-size: 6.5px;
    padding: 6px 9px 6px 7px;
  }

  .hero-v2__foot-right {
    gap: 12px;
  }

  .motion-toggle {
    font-size: 7px;
    letter-spacing: 0.1em;
  }

  .motion-toggle--footer {
    font-size: 7px;
  }

  .footer-bottom__right {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .hero-slide__bar span:last-child,
  .hero-slide__caption span:last-child {
    display: none;
  }

  .hero-slide__bar,
  .hero-slide__caption {
    justify-content: flex-start;
  }

  .hero-v2__foot-right {
    width: 100%;
    justify-content: space-between;
  }

}

/* Slide grading + final overlay fixes */
.hero-slide__media::after {
  content: '';
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(135deg, rgba(246, 242, 235, 0.24), rgba(255, 255, 255, 0) 42%, rgba(10, 6, 16, 0.16));
  box-shadow: inset 0 0 46px rgba(10, 6, 16, 0.16);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero-slide__sheen { z-index: 3; }

.pulse-status { top: -4%; }

@media (max-width: 900px) {
  .pulse-status { top: -5%; }
}

@media (max-width: 760px) {
  .pulse-status {
    top: -9%;
    left: 0;
  }

  .pulse-badge {
    display: none;
  }
}

@media (max-width: 760px) {
  .pulse-status {
    display: none;
  }
}

/* Keep the availability chip clear of the slide on tablet widths. */
.pulse-status { top: -10%; }

@media (max-width: 900px) {
  .pulse-status { top: -10%; }
}

@media (max-width: 900px) {
  .pulse-status { display: none; }
}


.motion-toggle:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 4px;
  border-radius: 3px;
}

/* On short laptop viewports the slide rises close to the top of the art box;
   the availability chip is decorative, so keep the frame clean there. */
@media (max-height: 820px) and (min-width: 901px) {
  .pulse-status {
    display: none;
  }
}

/* The hero slide is used as the original transparent PNG, with no card, crop
   or color processing. Only the wrapper animates and the image casts a soft
   shadow so the transparent cut-out reads against the dark stage. */
.hero-slide-float {
  inset: 1% 1.5%;
}

.hero-slide__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1060 / 932;
  object-fit: contain;
  filter:
    drop-shadow(0 42px 55px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 48px rgba(215, 35, 99, 0.14));
}

@media (max-width: 900px) {
  .hero-slide-float {
    inset: 1% 2%;
  }
}

@media (max-width: 760px) {
  .hero-slide-float {
    inset: 2% 2%;
    animation-name: slideBobMobile;
  }
}

/* ==========================================================================
   HERO V5 — two-line title, aligned word chip, large stat numerals, static art
   ========================================================================== */

/* Two-line headline: “Digital products” / “with a pulse.” */
.hero-v2__title {
  font-size: clamp(52px, 6.2vw, 92px);
  line-height: 0.92;
  max-width: 720px;
}

.hero-v2__title .hero__title-line:last-child {
  padding-bottom: 0.055em;
}

@media (min-width: 600px) {
  .hero-v2__title .hero__title-line > span {
    white-space: nowrap;
  }
}

/* The rotating discipline chip should sit on the same optical line as the
   surrounding sentence, not hang below it. */
.hero-v2 .word-rotator {
  display: inline-grid;
  vertical-align: middle;
  height: 1.45em;
  line-height: 1.45;
  padding: 0 12px;
  margin: 0 4px;
  transform: translateY(-0.06em);
}

/* Large primary-colour numerals, label underneath. */
.hero-v2__proof {
  align-items: stretch;
  gap: clamp(18px, 2.2vw, 32px);
}

.hero-v2__proof .hero__proof-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 7px;
  min-width: 0;
}

.hero-v2__proof .hero__proof-item strong {
  color: var(--primary);
  font-size: clamp(38px, 3.5vw, 54px);
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: -0.065em;
  text-shadow: 0 0 28px rgba(215, 35, 99, 0.3);
  font-variant-numeric: tabular-nums;
}

.hero-v2__proof .hero__proof-item span {
  max-width: 112px;
  color: rgba(246, 242, 235, 0.6);
  font-size: 9px;
  line-height: 1.35;
  letter-spacing: 0.12em;
}

.hero-v2__proof .hero__proof-divider {
  height: 54px;
  align-self: center;
  background: rgba(255, 255, 255, 0.14);
}

@media (max-width: 1180px) {
  .hero-v2__title {
    font-size: clamp(50px, 6.4vw, 82px);
    max-width: 620px;
  }

  .hero-v2__proof .hero__proof-item strong {
    font-size: clamp(36px, 4.2vw, 48px);
  }
}

@media (max-width: 900px) {
  .hero-v2__proof .hero__proof-item strong {
    font-size: clamp(38px, 5.2vw, 50px);
  }

  .hero-v2__proof .hero__proof-divider {
    height: 48px;
  }
}

@media (max-width: 760px) {
  .hero-v2__title {
    font-size: clamp(45px, 11.8vw, 66px);
    max-width: 100%;
  }

  .hero-v2__proof {
    gap: 12px;
  }

  .hero-v2__proof .hero__proof-item strong {
    font-size: clamp(34px, 9.2vw, 42px);
  }

  .hero-v2__proof .hero__proof-item span {
    max-width: 92px;
    font-size: 8px;
  }

  .hero-v2__proof .hero__proof-divider {
    height: 44px;
  }
}

/* The supplied transparent PNG is static at rest. It is 15% larger than its
   stage and only gets a small bob while the pointer is actually over it. */
.pulse-stage-wrap {
  animation: none;
}

.hero-slide-float {
  animation: none;
  inset: 1% 1.5%;
}

.hero-slide__img {
  width: 115%;
  max-width: none;
}

@media (min-width: 901px) and (max-width: 1440px) {
  .hero-v2__art {
    margin-right: 18px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .hero-slide-float:hover {
    animation: heroSlideHover 3.2s ease-in-out infinite;
  }
}

@keyframes heroSlideHover {
  0%, 100% { transform: translateY(0) rotate(-0.35deg); }
  50% { transform: translateY(-9px) rotate(0.35deg); }
}

html.motion-off .hero-slide-float:hover {
  animation: none !important;
}

/* Widen the lede slightly on large screens so the rotating chip sits on a
   natural sentence line. */
.hero-v2__lede {
  max-width: 620px;
}

/* Keep the counter numeral at the size of the stat, not the label size. */
.hero-v2__proof .hero__proof-item strong span {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  text-transform: none;
  max-width: none;
  font-variant-numeric: inherit;
}

/* Tablet single-column hero has room for a larger two-line headline. */
@media (min-width: 761px) and (max-width: 900px) {
  .hero-v2__title {
    font-size: clamp(52px, 9.2vw, 84px);
    max-width: 100%;
  }
}

/* Studio visual: square high-tech engineering scene, 20% shorter than 4:5. */
.studio-figure__img {
  aspect-ratio: 1 / 1;
}

@media (max-width: 560px) {
  .studio-sticker {
    display: none;
  }
}

/* New studio visual: lift the dark scene slightly and preserve terminal contrast. */
.studio-figure__img {
  filter: brightness(1.07) contrast(1.03) saturate(1.04);
}

.studio-figure::after {
  background: linear-gradient(to top, rgba(10, 6, 16, 0.4), transparent 42%);
}

/* Light product-lab visual: let the bright image breathe, and switch the
   floating team card to dark glass so it reads over the light tabletop. */
.studio-figure__img {
  filter: saturate(1.03) contrast(1.02);
}

.studio-figure::after {
  background: linear-gradient(to top, rgba(10, 6, 16, 0.64), transparent 48%);
}

.studio-float {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(10, 7, 17, 0.9);
  box-shadow: 0 30px 60px -30px rgba(10, 6, 16, 0.72);
}

.studio-float__mark {
  background: var(--cream);
  color: var(--ink);
}

.studio-float strong {
  color: var(--cream);
}

.studio-float span {
  color: rgba(246, 242, 235, 0.62);
}

/* ==========================================================================
   HERO PERFORMANCE PASS — static art + looping video, no WebGL/blur stack
   ========================================================================== */

.hero-v2__bg-image {
  z-index: 0;
  opacity: 1;
  filter: brightness(0.92) saturate(1.16);
  transform: scale(1.03);
  animation: none !important;
  will-change: auto;
}

.hero-v2__ambient-shade {
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 3, 8, 0.9) 0%, rgba(4, 3, 8, 0.78) 26%, rgba(4, 3, 8, 0.42) 53%, rgba(4, 3, 8, 0.06) 80%, rgba(4, 3, 8, 0.16) 100%),
    linear-gradient(180deg, rgba(4, 3, 8, 0.34) 0%, transparent 24%, transparent 68%, rgba(4, 3, 8, 0.56) 100%);
  pointer-events: none;
}

.hero-v2__vignette {
  z-index: 3;
}


/* Header language switcher */
.header-lang {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(215, 35, 99, 0.7);
  border-radius: 50%;
  background: transparent;
  color: #FFA4C8;
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.lang-btn:hover {
  border-color: #FF5F9E;
  color: var(--cream);
  background: rgba(215, 35, 99, 0.14);
}

.lang-btn.is-active {
  border-color: var(--primary);
  color: var(--cream);
  background: rgba(215, 35, 99, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 95, 158, 0.18);
}

.lang-btn:focus-visible {
  outline: 2px solid #FF5F9E;
  outline-offset: 3px;
}

/* The middle proof counter uses the requested violet. */
.hero-v2__proof .hero__proof-item--violet strong {
  color: #C36ADD;
  text-shadow: 0 0 28px rgba(195, 106, 221, 0.34);
}

@media (max-width: 1024px) {
  .header-actions {
    gap: 8px;
  }

  .header-lang {
    gap: 5px;
  }
}

@media (max-width: 480px) {
  .lang-btn {
    width: 32px;
    height: 32px;
    font-size: 8.5px;
  }
}

/* EN/RU are visual placeholders only — no interaction until translations exist. */
.header-lang {
  pointer-events: none;
}

.header-lang .lang-btn {
  cursor: default;
}

/* Keep the static cta-aurora readable through the loop. */

/* Plain inline rotating words — no pill, no extra box, same text baseline. */
.hero-v2 .word-rotator {
  display: inline;
  vertical-align: baseline;
  min-width: 0;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #EAA4FF;
  font-size: inherit;
  font-weight: 700;
  line-height: inherit;
  text-align: left;
  overflow: visible;
  transform: none;
}

.hero-v2 .word-rotator > span {
  display: inline;
  grid-area: auto;
  white-space: nowrap;
}

.hero-v2 .word-rotator__enter-active,
.hero-v2 .word-rotator__leave-active {
  transition: opacity 0.32s ease;
}

.hero-v2 .word-rotator__enter-from,
.hero-v2 .word-rotator__leave-to {
  opacity: 0;
  transform: none;
}

/* No hover animation on the large hero artwork. */
@media (hover: hover) and (pointer: fine) {
  .hero-slide-float:hover {
    animation: none !important;
  }
}

html.motion-off .hero-slide-float:hover {
  animation: none !important;
}

/* EN/RU: text and outline share the same colour; active is brighter. */
.header-lang .lang-btn {
  color: #B35F80;
  border-color: currentColor;
  background: transparent;
  box-shadow: none;
  text-shadow: none;
}

.header-lang .lang-btn.is-active {
  color: #FF6B9E;
  border-color: currentColor;
  background: transparent;
  box-shadow: none;
  text-shadow: none;
}

/* Ping-pong video: only the active direction is visible. */


/* Large principle icons replace the thin 01/02/03 numerals. */
.principle__icon {
  display: block;
  width: clamp(104px, 10vw, 144px);
  height: clamp(104px, 10vw, 144px);
  object-fit: contain;
  margin: 0 0 20px;
  user-select: none;
  pointer-events: none;
  filter: drop-shadow(0 12px 18px rgba(24, 12, 40, 0.08));
}

.principle__icon + .principle__title {
  margin-top: 0;
}

@media (max-width: 760px) {
  .principle__icon {
    width: 104px;
    height: 104px;
    margin-bottom: 16px;
  }
}

/* Client-provided illustrated service icons: large, bright, transparent-background. */
.service-icon {
  width: clamp(78px, 6vw, 88px);
  height: clamp(78px, 6vw, 88px);
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, #FFFFFF 0%, #FBF7FF 48%, rgba(251, 247, 255, 0.55) 66%, rgba(251, 247, 255, 0) 78%);
  box-shadow: 0 18px 34px -22px rgba(0, 0, 0, 0.85);
}

.service-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.22));
}

.service-card:nth-child(1) .service-icon,
.service-card:nth-child(6) .service-icon {
  width: clamp(108px, 8.4vw, 124px);
  height: clamp(108px, 8.4vw, 124px);
}

.service-card:hover .service-icon {
  background: radial-gradient(circle at 50% 42%, #FFFFFF 0%, #FBF7FF 48%, rgba(251, 247, 255, 0.55) 66%, rgba(251, 247, 255, 0) 78%);
  border-color: transparent;
  color: inherit;
  transform: translateY(-3px) scale(1.03);
}

@media (max-width: 760px) {
  .service-icon {
    width: 68px;
    height: 68px;
  }

  .service-card:nth-child(1) .service-icon,
  .service-card:nth-child(6) .service-icon {
    width: 96px;
    height: 96px;
  }
}

/* Capabilities: supplied numbered illustrations, direct on the card, no halo. */
.service-icon {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: clamp(132px, 11vw, 160px);
  height: clamp(132px, 11vw, 160px);
  max-width: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  overflow: visible;
}

.service-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
}

.service-card:nth-child(1) .service-icon,
.service-card:nth-child(6) .service-icon {
  width: clamp(156px, 13vw, 190px);
  height: clamp(156px, 13vw, 190px);
}

.service-card:hover .service-icon {
  background: transparent;
  border-color: transparent;
  color: inherit;
  transform: translateY(-2px) scale(1.02);
}

@media (max-width: 760px) {
  .service-icon {
    width: 104px;
    height: 104px;
  }

  .service-card:nth-child(1) .service-icon,
  .service-card:nth-child(6) .service-icon {
    width: 124px;
    height: 124px;
  }
}

/* Tighter Capabilities rhythm: supplied art with no dead square below it. */
.service-card__top {
  margin-bottom: 20px;
}

.service-icon {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: min(220px, 100%);
  height: 110px;
  max-width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.service-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  filter: none;
}

.service-card:nth-child(1) .service-icon,
.service-card:nth-child(6) .service-icon {
  height: 110px;
}

.service-card__body,
.service-card:nth-child(1) .service-card__body,
.service-card:nth-child(6) .service-card__body {
  margin-top: 18px;
}

@media (max-width: 760px) {
  .service-card__top {
    margin-bottom: 20px;
  }

  .service-icon {
    width: 100%;
    height: 110px;
  }

  .service-card:nth-child(1) .service-icon,
  .service-card:nth-child(6) .service-icon {
    height: 110px;
  }

  .service-card__body,
  .service-card:nth-child(1) .service-card__body,
  .service-card:nth-child(6) .service-card__body {
    margin-top: 14px;
  }
}

/* Capability 06 orb closer to the bottom-right card edge. */
@media (min-width: 761px) {
  .service-card:nth-child(6) .service-visual.fv-orb {
    right: -6px;
    bottom: -12px;
  }

  .service-card:nth-child(6) .fv-orb__core {
    position: absolute;
    right: 18px;
    bottom: 18px;
  }

  .service-card:nth-child(6) .fv-orb__ring {
    right: -39px;
    bottom: -39px;
  }
}

/* CTA: static aurora + semi-transparent Spline background; no old drift. */
.cta__bg {
  display: none !important;
}

.cta__spline {
  position: absolute;
  z-index: -3;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
  opacity: 0.82;
  filter: brightness(0.8) saturate(1) contrast(1.06);
  background: #0B0A12;
}

.cta::before {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 5, 12, 0.96) 0%, rgba(7, 5, 12, 0.84) 38%, rgba(7, 5, 12, 0.42) 72%, rgba(7, 5, 12, 0.55) 100%),
    linear-gradient(to top, rgba(7, 5, 12, 0.72), transparent 58%);
}

.cta::after {
  z-index: -1;
}

.cta__cat {
  position: absolute;
  z-index: 1;
  right: clamp(18px, 3.5vw, 52px);
  bottom: 0;
  display: block;
  width: min(32%, 380px);
  height: auto;
  max-height: 94%;
  object-fit: contain;
  object-position: bottom right;
  pointer-events: none;
  filter:
    brightness(1.06)
    contrast(1.03)
    saturate(0.96)
    drop-shadow(0 24px 38px rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 38px rgba(123, 77, 255, 0.28));
}

@media (max-width: 1180px) {
  .cta__content {
    max-width: 60%;
  }

  .cta__cat {
    width: min(30%, 300px);
    right: 28px;
  }
}

@media (max-width: 900px) {
  .cta__cat {
    display: none;
  }

  .cta__content {
    max-width: 720px;
  }
}

html.motion-off .cta__spline {
  opacity: 0 !important;
  visibility: hidden;
}

@media (min-width: 1360px) {
  .cta__content {
    max-width: 820px;
  }
}

/* General CTA background beneath the semi-transparent Spline scene. */
.cta__gradients {
  position: absolute;
  z-index: -4;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  pointer-events: none;
  opacity: 0.9;
  filter: brightness(0.58) saturate(0.9) contrast(1.02);
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.9) 48%, rgba(0, 0, 0, 0.32) 100%);
  mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.9) 48%, rgba(0, 0, 0, 0.32) 100%);
}

/* Let the general gradient breathe through at the bottom of the iframe. */
.cta__spline {
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.78) 18%, #000 42%, #000 100%);
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.78) 18%, #000 42%, #000 100%);
}

/* Let the gradient image read through the dark parts of the Spline scene. */
.cta__spline {
  mix-blend-mode: screen;
}

.cta__gradients {
  filter: brightness(0.72) saturate(0.95) contrast(1.02);
}

#project-form {
  scroll-margin-top: 128px;
}

/* First capability icon: explicitly taller, all other cards unchanged. */
.service-card:nth-child(1) .service-icon {
  height: 150px;
}

/* Capability 06 card: shorter icon and tighter internal gap. */
.service-card:nth-child(6) .service-icon {
  height: 125px;
}

.service-card:nth-child(6) .service-card__top {
  margin-bottom: 10px;
}

/* Compact footer: list dots, borderless social icons and no extra top gap. */
.footer-main {
  padding-top: 0;
}

.footer-col__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col__list li {
  position: relative;
  padding-left: 14px;
}

.footer-col__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
  transform: translateY(-50%);
  pointer-events: none;
}

.footer-col__list a,
.footer-col__list button {
  padding: 5px 0;
}

.footer-social a {
  width: auto;
  height: auto;
  padding: 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.footer-social a:hover {
  background: transparent;
  border: 0;
  color: var(--cream);
}


/* Supplied 3D principle illustrations sized like the approved layout. */
.principle__icon {
  width: clamp(180px, 12vw, 200px);
  height: clamp(180px, 12vw, 200px);
  object-fit: contain;
  object-position: left bottom;
  margin: 0 0 24px;
}

@media (max-width: 760px) {
  .principle__icon {
    width: 132px;
    height: 132px;
    margin-bottom: 16px;
  }
}

/* Principle illustrations: match the approved compact 160 px scale. */
.principle__icon {
  width: 160px;
  height: 160px;
}

@media (max-width: 760px) {
  .principle__icon {
    width: 112px;
    height: 112px;
  }
}

/* Final principle illustration size. */
.principle__icon {
  width: 130px;
  height: 130px;
}


/* Hero rotating words: final color override (must win over legacy pink rule). */
.hero-v2 .word-rotator {
  color: #EAA4FF;
}


/* Hero background experiment: UnicornStudio scene replaces the video. */
.hero-v2__unicorn {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.82;
}

.hero-v2__unicorn canvas {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}


html.motion-off .hero-v2__unicorn {
  display: none !important;
}

/* Selected Work: align the right column with the section eyebrow line. */
.work__head {
  align-items: start;
}

.work__aside {
  padding-bottom: 0;
}

/* Tighten only the CTA → Contact transition. */
.cta-section {
  padding-bottom: clamp(28px, 2.6vw, 40px);
}

.contact.section {
  padding-top: clamp(40px, 3.5vw, 56px);
}

@media (max-width: 760px) {
  .cta-section {
    padding-bottom: 24px;
  }

  .contact.section {
    padding-top: 36px;
  }
}

/* Primary dot for every desktop header navigation item. */
.site-header .main-nav a::before {
  width: 4px;
  height: 4px;
  background: var(--primary);
  opacity: 0.9;
}

.site-header .main-nav a.is-active::before {
  width: 4px;
  height: 4px;
  background: var(--primary);
  opacity: 1;
}

@media (max-width: 760px) {
  .lightbox__cta {
    gap: 10px;
    margin-top: 24px;
    padding: 9px 10px;
    border-radius: 14px;
  }

  .lightbox__cta-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .lightbox__cta-copy strong {
    font-size: 14px;
  }

  .lightbox__cta-copy small {
    font-size: 7px;
    letter-spacing: 0.07em;
  }

  .lightbox__cta-arrow {
    width: 34px;
    height: 34px;
  }
}


/* Hero slide artwork: approved width. */
.hero-slide__img {
  width: 96%;
}

/* Principles vertical rhythm. */
.principles {
  margin-top: clamp(44px, 4vw, 16px);
}


/* CTA: UnicornStudio background experiment. */
.cta__unicorn {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  background: transparent;
  opacity: 1;
  mix-blend-mode: screen;
  filter: brightness(1.9) saturate(1.6) contrast(1.15);
}

.cta__unicorn canvas {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  transform: scaleY(1.625);
  transform-origin: center center;
}

html.motion-off .cta__unicorn {
  opacity: 0 !important;
  visibility: hidden;
}

.cta__gradients {
  opacity: 0.62;
  filter: brightness(0.86) saturate(1.02) contrast(1.02);
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.86) 55%, rgba(0, 0, 0, 0.42) 100%);
  mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.86) 55%, rgba(0, 0, 0, 0.42) 100%);
}

.cta::before {
  background:
    linear-gradient(90deg, rgba(7, 5, 12, 0.95) 0%, rgba(7, 5, 12, 0.84) 30%, rgba(7, 5, 12, 0.42) 55%, rgba(7, 5, 12, 0.08) 76%, rgba(7, 5, 12, 0.14) 100%),
    linear-gradient(to top, rgba(7, 5, 12, 0.24) 0%, rgba(7, 5, 12, 0.08) 24%, transparent 52%);
}

@media (min-width: 901px) {
  .cta__cat {
    right: 100px;
  }
}


/* Header language switch buttons */
.header-lang .lang-btn {
  appearance: none;
  cursor: pointer;
  line-height: 1;
}

/* EN/RU switch is live in the client interface. */
.header-lang,
.header-lang .lang-btn {
  pointer-events: auto;
}

/* Russian hero headline needs a little more horizontal room. */
html[lang="ru"] .hero-v2__title {
  font-size: clamp(46px, 5.4vw, 80px);
  line-height: 0.94;
}

/* Russian toolkit headline: keep the requested two-line composition. */
html[lang="ru"] #tech-title {
  max-width: 100%;
  font-size: clamp(44px, 4.6vw, 68px);
}

/* Russian CTA headline: 20% smaller on desktop. */
@media (min-width: 901px) {
  html[lang="ru"] .cta__title {
    font-size: clamp(48px, 5.3vw, 74px);
  }
}

/* Russian contact headline: 20% smaller on desktop. */
@media (min-width: 901px) {
  html[lang="ru"] #contact-title {
    font-size: clamp(34px, 4vw, 56px);
  }
}

/* Client-wide lede copy. */
.lede {
  font-size: 14px;
}

/* Hero headline: leave room for glyph overhangs inside the line masks. */
.hero-v2 .hero__title-line {
  padding: 0.07em 0.14em 0.22em;
  margin: -0.07em -0.14em -0.22em;
}

/* Keep descenders and the final glyph inside both hero line masks. */
.hero-v2__title .hero__title-line:last-child {
  padding-bottom: 0.22em;
  margin-bottom: -0.22em;
}

/* Russian hero title must fit inside the mask before its glyph overhang. */
html[lang="ru"] .hero-v2__title {
  font-size: clamp(42px, 5.1vw, 74px);
}

/* Russian project-card cursor: shorter label and a tighter tracking. */
html[lang="ru"] .project-card__cursor {
  letter-spacing: 0.11em;
}

/* Russian quick-view title: keep long project names off the right edge. */
html[lang="ru"] .lightbox__title {
  font-size: clamp(24px, 2.15vw, 31px);
}

/* Shared footer: two-label motion toggle. */
.motion-toggle .motion-label--off { display: none; }
.motion-toggle.is-on .motion-label--on { display: inline; }
.motion-toggle.is-on .motion-label--off { display: none; }
.motion-toggle:not(.is-on) .motion-label--on { display: none; }
.motion-toggle:not(.is-on) .motion-label--off { display: inline; }

/* Shared footer spacing. */
.footer-main {
  padding: 28px 0 14px;
}
