:root {
  --bg: #050505;
  --bg-soft: #0b0b0b;
  --text: #f7f3e8;
  --muted: rgba(247, 243, 232, 0.7);
  --soft: rgba(247, 243, 232, 0.48);
  --line: rgba(247, 243, 232, 0.14);
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.11);
  --gold: #ffd43d;
  --amber: #ff9f1c;
  --lime: #b9ff66;
  --cyan: #7bdff2;
  --max: 1180px;
}

@font-face {
  font-family: "Inter Variable";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter Variable";
  src: url("fonts/inter-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: "Inter Variable", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.45;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(120deg, rgba(255, 212, 61, 0.14), transparent 30%),
    radial-gradient(circle at 78% 14%, rgba(123, 223, 242, 0.16), transparent 34rem),
    linear-gradient(180deg, #090909 0%, #050505 48%, #080806 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 78%);
}

a {
  color: inherit;
}

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

button,
input,
textarea {
  font: inherit;
}

.hidden {
  display: none;
}

.skip-link {
  position: absolute;
  top: -5rem;
  left: 1rem;
  z-index: 200;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: #050505;
  background: var(--gold);
}

.skip-link:focus {
  top: 1rem;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1rem;
  padding: 2rem;
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 212, 61, 0.18), transparent 13rem),
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.08), transparent 6rem),
    #050505;
  transition: opacity 0.7s ease, visibility 0.7s ease, transform 0.7s ease, filter 0.7s ease;
  animation: loaderScene 2.05s var(--ease-soft, ease) both;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.08);
  filter: blur(10px);
  pointer-events: none;
}

.loader[hidden] {
  display: none;
}

.camera-loader {
  position: relative;
  width: min(260px, 68vw);
  aspect-ratio: 1.28;
  display: grid;
  place-items: center;
  transform-origin: 50% 51%;
  animation: cameraHyperzoom 2.05s cubic-bezier(0.7, 0, 0.12, 1) both;
}

.camera-loader::before,
.camera-loader::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 115%;
  aspect-ratio: 1;
  border-radius: 999px;
  border: 1px solid rgba(255, 212, 61, 0.22);
  transform: translate(-50%, -50%) scale(0.86);
  opacity: 0;
  animation: lensRipple 2.05s ease-out both;
}

.camera-loader::after {
  width: 80%;
  animation-delay: 0.18s;
}

.camera-body {
  position: relative;
  width: 100%;
  height: 72%;
  border-radius: 1.35rem;
  background:
    linear-gradient(145deg, #fff2a3 0%, var(--gold) 34%, #ffae22 72%, #d98200 100%);
  box-shadow:
    0 0 90px rgba(255, 212, 61, 0.36),
    0 28px 90px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    inset 0 -16px 34px rgba(115, 60, 0, 0.24);
  overflow: visible;
}

.camera-body::before {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  top: 14%;
  height: 14%;
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.camera-body::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.44), transparent 24%, transparent 68%, rgba(0, 0, 0, 0.2));
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.camera-prism {
  position: absolute;
  left: 50%;
  top: -17%;
  width: 36%;
  height: 36%;
  border-radius: 1rem 1rem 0.55rem 0.55rem;
  background: linear-gradient(145deg, #ffe97b, #f2a50d);
  transform: translateX(-50%) perspective(120px) rotateX(14deg);
  box-shadow: 0 -10px 40px rgba(255, 212, 61, 0.24);
}

.camera-flash {
  position: absolute;
  right: 10%;
  top: 18%;
  width: 16%;
  height: 18%;
  border-radius: 0.45rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 245, 176, 0.62)),
    rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.36);
  animation: flashBlink 2.05s ease both;
}

.camera-grip {
  position: absolute;
  left: -2%;
  top: 20%;
  width: 18%;
  height: 62%;
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.22), rgba(5, 5, 5, 0.42));
}

.camera-lens {
  position: absolute;
  left: 50%;
  top: 54%;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 50%, #070707 0 31%, #1f1f1f 32% 46%, #050505 47% 58%, #242424 59% 70%, #090909 71%),
    #111;
  box-shadow:
    0 0 0 0.75rem rgba(5, 5, 5, 0.18),
    0 0 0 1.15rem rgba(255, 255, 255, 0.1),
    0 20px 54px rgba(0, 0, 0, 0.54);
  transform: translate(-50%, -50%);
  overflow: hidden;
}

.camera-lens i {
  width: 48%;
  aspect-ratio: 1;
  border-radius: inherit;
  background:
    radial-gradient(circle at 38% 30%, rgba(255, 255, 255, 0.9), transparent 9%),
    radial-gradient(circle at 58% 62%, rgba(255, 212, 61, 0.55), transparent 27%),
    radial-gradient(circle, #111 0 40%, #000 42% 100%);
  box-shadow: inset 0 0 28px rgba(255, 212, 61, 0.12);
  animation: lensOpen 2.05s cubic-bezier(0.7, 0, 0.12, 1) both;
}

.camera-lens b {
  position: absolute;
  inset: -22%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.24), transparent 28%, transparent 100%);
  animation: lensSweep 1.25s ease-in-out both;
}

.loader-logo {
  width: clamp(92px, 16vw, 138px);
  filter: drop-shadow(0 18px 50px rgba(255, 212, 61, 0.18));
  opacity: 0;
  transform: translateY(0.8rem);
  animation: loaderTextIn 1.15s ease 0.28s both;
}

.loader-bar {
  width: min(320px, 76vw);
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.loader-bar span {
  display: block;
  width: 44%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--lime), var(--cyan));
  animation: loadSlide 1.35s cubic-bezier(0.7, 0, 0.25, 1) infinite;
}

.loader p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(0.8rem);
  animation: loaderTextIn 1.15s ease 0.42s both;
}

.loader.is-hidden .camera-loader,
.loader.is-hidden .loader-logo,
.loader.is-hidden p {
  opacity: 0;
  transition: opacity 0.35s ease;
}

.site-shell {
  position: relative;
  overflow: clip;
}

.site-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='.2'/%3E%3C/svg%3E");
}

.nav {
  position: fixed;
  top: 0.85rem;
  left: 50%;
  right: auto;
  bottom: auto;
  z-index: 80;
  width: min(1068px, calc(100% - 2rem));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045) 34%, rgba(255, 212, 61, 0.12)),
    rgba(5, 5, 5, 0.68);
  box-shadow:
    0 18px 70px rgba(0, 0, 0, 0.38),
    0 0 80px rgba(255, 212, 61, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px) saturate(1.2);
  transform: translateX(-50%);
}

.nav-inner {
  width: min(1360px, 100%);
  margin: 0 auto;
  padding: 0.55rem clamp(0.85rem, 2.2vw, 1.35rem);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: clamp(0.7rem, 1.5vw, 1.1rem);
}

.brand img {
  width: clamp(88px, 10vw, 116px);
  height: auto;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(0.55rem, 1.35vw, 1.18rem);
  color: rgba(247, 243, 232, 0.7);
  font-size: clamp(0.78rem, 0.9vw, 0.9rem);
}

.nav-links a,
.footer a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.footer a:hover {
  color: #fff;
}

.nav-links a {
  padding: 0.48rem 0.18rem;
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  place-items: center;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 0.18rem auto;
  border-radius: 99px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

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

.button-primary {
  color: #070707;
  background: linear-gradient(135deg, #fff0a3, var(--gold) 42%, var(--amber));
  box-shadow: 0 22px 60px rgba(255, 212, 61, 0.24);
}

.button-primary:hover {
  box-shadow: 0 28px 90px rgba(255, 212, 61, 0.38);
}

.button-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.17);
  background: rgba(255, 255, 255, 0.055);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: center;
  padding: clamp(6.5rem, 10vh, 8rem) clamp(1rem, 4vw, 3rem) 3.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.26;
  filter: saturate(0.85) contrast(1.18);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.94), rgba(5, 5, 5, 0.52) 45%, rgba(5, 5, 5, 0.92)),
    linear-gradient(0deg, #050505 0%, transparent 34%);
}

.hero-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 0.78fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
}

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

.hero-copy::before {
  content: "";
  position: absolute;
  inset: -5rem auto auto -4rem;
  z-index: -1;
  width: 18rem;
  height: 18rem;
  border-radius: 999px;
  background: rgba(255, 212, 61, 0.16);
  filter: blur(70px);
  animation: glowPulse 5.5s ease-in-out infinite;
}

.kicker {
  margin: 0 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(247, 243, 232, 0.72);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 18px rgba(185, 255, 102, 0.82);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  max-width: 680px;
  font-size: clamp(2.7rem, 5.6vw, 5.7rem);
  font-weight: 950;
  text-wrap: balance;
}

h2 {
  max-width: 920px;
  font-size: clamp(2rem, 4.2vw, 4.25rem);
  font-weight: 930;
  text-wrap: balance;
}

h3 {
  font-size: clamp(1.12rem, 1.6vw, 1.55rem);
  font-weight: 890;
  line-height: 1.08;
}

.hero-copy > p:not(.kicker),
.section-head > p:not(.kicker),
.contact-copy > p:not(.kicker) {
  max-width: 680px;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.22rem);
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-stage {
  position: relative;
  min-height: 610px;
  perspective: 1100px;
}

.phone {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(310px, 72vw);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2.2rem;
  background: #111;
  box-shadow:
    0 42px 110px rgba(0, 0, 0, 0.62),
    inset 0 0 0 8px rgba(255, 255, 255, 0.05);
  transform: translate(-50%, -50%) rotate(-5deg);
  animation: phoneFloat 5.6s ease-in-out infinite;
}

.phone-main {
  box-shadow:
    0 42px 110px rgba(0, 0, 0, 0.62),
    0 0 90px rgba(255, 212, 61, 0.18),
    inset 0 0 0 8px rgba(255, 255, 255, 0.05);
}

.phone::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.18), transparent 28%, transparent 72%, rgba(255, 212, 61, 0.14));
  pointer-events: none;
}

.phone video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-top {
  position: absolute;
  top: 0.85rem;
  left: 50%;
  z-index: 2;
  width: 5.2rem;
  height: 1.2rem;
  border-radius: 99px;
  background: rgba(5, 5, 5, 0.8);
  transform: translateX(-50%);
}

.phone-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
  font-weight: 900;
}

.floating-stat,
.campaign-card {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(20px);
}

.floating-stat {
  min-width: 9rem;
  padding: 1rem;
}

.floating-stat strong {
  display: block;
  font-size: 1.9rem;
  line-height: 1;
}

.floating-stat span,
.campaign-card span {
  display: block;
  margin-top: 0.25rem;
  color: var(--soft);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.stat-one {
  left: 0;
  top: 12%;
  animation: cardFloat 6.8s ease-in-out infinite;
}

.stat-two {
  right: 0;
  bottom: 16%;
  animation: cardFloat 6.8s ease-in-out 0.7s infinite;
}

.campaign-card {
  left: 4%;
  bottom: 10%;
  width: min(260px, 64vw);
  padding: 1.05rem;
  animation: cardFloat 7.4s ease-in-out 0.3s infinite;
}

.campaign-card strong {
  display: block;
  margin-top: 0.45rem;
  font-size: 1.08rem;
}

.logo-marquee {
  padding: 1rem 0;
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.word-marquee {
  overflow: hidden;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.025));
}

.word-marquee-gold {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1.05rem 0;
  border-top: 1px solid rgba(255, 212, 61, 0.12);
  border-bottom: 1px solid rgba(255, 212, 61, 0.12);
  background: linear-gradient(90deg, rgba(255, 212, 61, 0.08), rgba(255, 255, 255, 0.02), rgba(255, 212, 61, 0.08));
}

.word-track {
  display: flex;
  width: max-content;
  gap: 1.3rem;
  padding-block: 0.2rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.65vw, 1.55rem);
  font-weight: 920;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: wordMarquee 48s linear infinite;
}

.word-track.reverse {
  color: rgba(255, 212, 61, 0.78);
  animation-direction: reverse;
  animation-duration: 62s;
}

.word-track span::after {
  content: "·";
  margin-left: 1.3rem;
  color: rgba(255, 212, 61, 0.65);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 0.85rem;
  animation: marquee 96s linear infinite;
}

.logo-tile {
  position: relative;
  width: clamp(162px, 15vw, 230px);
  height: clamp(92px, 8.5vw, 132px);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  padding: clamp(0.9rem, 1.6vw, 1.4rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.05);
}

.logo-tile img {
  position: absolute;
  inset: 8px 12px;
  width: calc(100% - 24px);
  height: calc(100% - 16px);
  object-fit: contain;
  object-position: center;
  filter: grayscale(1) contrast(1.08) brightness(1.12);
  opacity: 0.84;
}

.section {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4.2rem, 9vw, 8rem) 0;
  scroll-margin-top: 6rem;
}

.section-head {
  display: block;
  max-width: 980px;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-head.compact {
  max-width: 860px;
}

.section-head.compact p:not(.kicker) {
  max-width: 760px;
}

.reel-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.9rem, 2vw, 1.35rem);
  align-items: start;
}

.reel-card {
  position: relative;
  padding: 0.7rem;
  color: inherit;
  font: inherit;
  text-align: inherit;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 1.6rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.reel-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(150deg, rgba(255, 212, 61, 0.48), transparent 34%, rgba(255, 212, 61, 0.16));
  opacity: 0;
  filter: blur(10px);
  transition: opacity 0.35s ease;
}

.reel-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 212, 61, 0.35);
}

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

.reel-card.is-raised {
  margin-top: -1.5rem;
}

.reel-card.is-low {
  margin-top: 2.3rem;
}

.reel-slot {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 1.15rem;
  background:
    linear-gradient(145deg, rgba(255, 212, 61, 0.18), transparent 45%),
    radial-gradient(circle at 68% 22%, rgba(123, 223, 242, 0.2), transparent 42%),
    linear-gradient(180deg, #1b1b1b, #080808);
}

.reel-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 0.45s ease, filter 0.45s ease;
  animation: liveReelPan 7.5s var(--ease-soft, ease) infinite alternate;
  will-change: transform, filter;
}

.reel-slot video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #080808;
  transform: scale(1.015);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.reel-3d-card.is-active .reel-slot video {
  transform: scale(1);
  filter: saturate(1.06) contrast(1.03);
}

.reel-card:hover .reel-slot img {
  animation-duration: 4.8s;
  filter: saturate(1.12) contrast(1.06);
}

.reel-card:nth-child(2) .reel-slot img {
  animation-name: liveReelPanAlt;
  animation-duration: 8.4s;
}

.reel-card:nth-child(3) .reel-slot img {
  animation-name: liveReelTilt;
  animation-duration: 7.8s;
}

.reel-card:nth-child(4) .reel-slot img {
  animation-name: liveReelPanAlt;
  animation-direction: alternate-reverse;
  animation-duration: 8.8s;
}

.reel-slot::before {
  content: "";
  position: absolute;
  top: 0.75rem;
  width: 4.3rem;
  height: 0.95rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
}

.reel-slot::after {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.9rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 18%, transparent 78%, rgba(255, 212, 61, 0.11)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 5px);
  mix-blend-mode: screen;
  opacity: 0.48;
  pointer-events: none;
}

.reel-slot span {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  display: inline-flex;
  justify-content: center;
  padding: 0.72rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reel-slot span::before {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  margin-right: 0.5rem;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(255, 212, 61, 0.82);
  animation: liveDot 1.15s ease-in-out infinite;
}

.reel-slot span {
  align-items: center;
}

.reel-slot .reel-progress {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 4.25rem;
  z-index: 2;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.reel-slot .reel-progress i {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--amber));
  box-shadow: 0 0 22px rgba(255, 212, 61, 0.54);
  animation: reelProgress 3.2s linear infinite;
}

.center-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

.reel-3d-showcase {
  position: relative;
  min-height: clamp(540px, 58vw, 720px);
  display: grid;
  align-items: end;
  padding: clamp(1rem, 3vw, 2rem) 0 0;
  overflow: clip;
  perspective: 1450px;
  touch-action: pan-y;
  user-select: none;
  contain: layout paint;
}

.reel-3d-showcase::before {
  content: "";
  position: absolute;
  inset: 14% 8% 5%;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 212, 61, 0.24), transparent 58%),
    radial-gradient(circle at 72% 48%, rgba(255, 159, 28, 0.14), transparent 42%);
  filter: blur(78px);
  opacity: 0.74;
  transform: translateY(calc((var(--section-progress, 0) - 0.5) * 48px));
  pointer-events: none;
}

.reel-3d-stage {
  position: relative;
  min-height: clamp(455px, 48vw, 610px);
  transform-style: preserve-3d;
}

.reel-3d-card {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: clamp(190px, 21vw, 300px);
  opacity: 0;
  pointer-events: none;
  transform:
    translate3d(calc(-50% + var(--tx, 0px)), calc(-50% + var(--ty, 0px)), var(--tz, 0px))
    rotateY(var(--ry, 0deg))
    rotateZ(var(--rz, 0deg))
    scale(var(--scale, 0.8));
  transition:
    transform 0.75s var(--ease-soft),
    opacity 0.5s ease,
    filter 0.55s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
  will-change: transform, opacity, filter;
}

.reel-3d-card:hover {
  transform:
    translate(-50%, -50%)
    translate3d(var(--tx, 0), var(--ty, 0), var(--tz, 0))
    rotateY(var(--ry, 0))
    rotateZ(var(--rz, 0))
    scale(var(--scale, 1));
}

.reel-3d-card.is-active,
.reel-3d-card.is-near,
.reel-3d-card.is-far {
  opacity: var(--card-opacity, 1);
  pointer-events: auto;
}

.reel-3d-card.is-active {
  z-index: 6;
  --tx: 0px;
  --ty: -12px;
  --tz: 120px;
  --ry: 0deg;
  --rz: 0deg;
  --scale: 1.1;
  --card-opacity: 1;
  border-color: rgba(255, 212, 61, 0.55);
  box-shadow:
    0 34px 130px rgba(0, 0, 0, 0.56),
    0 0 90px rgba(255, 212, 61, 0.24);
}

.reel-3d-card.is-prev,
.reel-3d-card.is-next {
  z-index: 4;
  --card-opacity: 0.78;
  filter: saturate(0.82) brightness(0.82);
}

.reel-3d-card.is-prev {
  --tx: clamp(-300px, -25vw, -200px);
  --ty: 28px;
  --tz: -80px;
  --ry: 22deg;
  --rz: -4deg;
  --scale: 0.88;
}

.reel-3d-card.is-next {
  --tx: clamp(200px, 25vw, 300px);
  --ty: 28px;
  --tz: -80px;
  --ry: -22deg;
  --rz: 4deg;
  --scale: 0.88;
}

.reel-3d-card.is-far-prev,
.reel-3d-card.is-far-next {
  z-index: 2;
  --card-opacity: 0.38;
  filter: saturate(0.62) brightness(0.62);
}

.reel-3d-card.is-far-prev {
  --tx: clamp(-460px, -40vw, -300px);
  --ty: 72px;
  --tz: -230px;
  --ry: 34deg;
  --rz: -7deg;
  --scale: 0.72;
}

.reel-3d-card.is-far-next {
  --tx: clamp(300px, 40vw, 460px);
  --ty: 72px;
  --tz: -230px;
  --ry: -34deg;
  --rz: 7deg;
  --scale: 0.72;
}

.reel-3d-card.is-hidden {
  --tx: 0px;
  --ty: 150px;
  --tz: -420px;
  --scale: 0.54;
  opacity: 0;
}

.reel-3d-card .reel-slot {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.reel-3d-controls {
  position: relative;
  z-index: 8;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: clamp(0.8rem, 2vw, 1.4rem);
}

.reel-3d-controls button {
  width: 3.2rem;
  height: 3.2rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  touch-action: manipulation;
  transition: transform 0.25s var(--ease-soft), border-color 0.25s ease, background 0.25s ease;
}

.reel-3d-controls button:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 212, 61, 0.48);
  background: rgba(255, 212, 61, 0.16);
}

.reel-3d-dots {
  min-width: 7rem;
  display: flex;
  justify-content: center;
  gap: 0.42rem;
}

.reel-3d-dots span {
  width: 0.44rem;
  height: 0.44rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  transition: width 0.25s var(--ease-soft), background 0.25s ease, box-shadow 0.25s ease;
}

.reel-3d-dots span.is-active {
  width: 1.65rem;
  background: linear-gradient(90deg, var(--gold), var(--amber));
  box-shadow: 0 0 24px rgba(255, 212, 61, 0.45);
}

.statement {
  max-width: 880px;
  margin: clamp(2.4rem, 5vw, 4rem) auto 0;
  color: #fff;
  font-size: clamp(1.55rem, 3.2vw, 3.2rem);
  font-weight: 930;
  line-height: 1.02;
  text-align: center;
  text-wrap: balance;
}

.statement span {
  color: var(--gold);
}

.ig-section {
  padding-top: clamp(2rem, 6vw, 5rem);
}

.ig-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.05fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: stretch;
}

.ig-profile {
  position: sticky;
  top: 6.5rem;
  align-self: start;
  min-height: 520px;
  padding: clamp(1.2rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at 78% 8%, rgba(255, 212, 61, 0.28), transparent 22rem),
    linear-gradient(145deg, rgba(255, 212, 61, 0.12), transparent 44%),
    rgba(255, 255, 255, 0.055);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.3);
}

.ig-profile h2 {
  font-size: clamp(2.1rem, 4vw, 4.1rem);
}

.ig-profile > p:not(.kicker) {
  margin: 1rem 0 0;
  color: var(--muted);
}

.ig-stats {
  margin: 1.4rem 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.ig-stats span {
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.85rem;
  color: var(--soft);
  background: rgba(0, 0, 0, 0.22);
  font-size: 0.76rem;
}

.ig-stats strong {
  display: block;
  color: #fff;
  font-size: 1.15rem;
}

.ig-showcase {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 190px;
  gap: 0.85rem;
  transform-style: preserve-3d;
}

.ig-media-card {
  position: relative;
  grid-column: span 3;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.1rem;
  color: inherit;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.26);
  transform: translateY(var(--parallax, 0px));
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.ig-media-card::before {
  content: "";
  position: absolute;
  inset: -30%;
  z-index: 1;
  background: radial-gradient(circle, rgba(255, 212, 61, 0.18), transparent 45%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.ig-media-card.tall {
  grid-row: span 2;
}

.ig-media-card.wide {
  grid-column: span 6;
}

.ig-media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.55s ease;
}

.ig-media-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.12) contrast(1.08);
}

.ig-media-card:hover::before {
  opacity: 1;
}

.ig-media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 16%, rgba(255, 212, 61, 0.18), transparent 36%),
    linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, 0.42));
}

.ig-media-card:hover {
  border-color: rgba(255, 212, 61, 0.6);
  box-shadow: 0 34px 110px rgba(255, 212, 61, 0.16);
}

.services-section {
  position: relative;
}

.services-section::before,
.ai-section::before,
.ads-section::before,
.service-system::before {
  content: "";
  position: absolute;
  inset: 6rem auto auto 50%;
  z-index: -1;
  width: min(48rem, 80vw);
  height: min(48rem, 80vw);
  border-radius: 999px;
  background: rgba(255, 212, 61, 0.14);
  filter: blur(58px);
  transform: translateX(-50%);
  animation: glowPulse 9s ease-in-out infinite;
}

.service-strip,
.geo-line {
  width: 100%;
  margin: 0 0 1.1rem;
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.3rem;
  scrollbar-width: none;
}

.service-strip::-webkit-scrollbar,
.geo-line::-webkit-scrollbar {
  display: none;
}

.service-strip span,
.geo-line span {
  flex: 0 0 auto;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(255, 212, 61, 0.2);
  border-radius: 999px;
  color: rgba(255, 212, 61, 0.9);
  background: rgba(255, 212, 61, 0.07);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: chipDrift 5s ease-in-out infinite;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: stretch;
}

.service-card.pro {
  min-height: 300px;
  justify-content: space-between;
  isolation: isolate;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255, 212, 61, 0.2), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  transform: translateY(calc(var(--reveal-shift, 0px) * 0.2));
}

.service-card.pro::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.28;
  background:
    linear-gradient(135deg, transparent 0 45%, rgba(255, 212, 61, 0.24) 45% 46%, transparent 46% 100%),
    radial-gradient(circle at 80% 0%, rgba(255, 212, 61, 0.32), transparent 26rem);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.service-card.pro::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: -1;
  width: 5.4rem;
  height: 5.4rem;
  border-radius: 1.3rem;
  background:
    linear-gradient(135deg, rgba(255, 212, 61, 0.42), rgba(255, 159, 28, 0.08)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 22px 70px rgba(255, 212, 61, 0.14);
  transform: rotate(-10deg);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.service-card.pro:hover::before {
  opacity: 0.48;
  transform: scale(1.08);
}

.service-card.pro:hover::after {
  transform: rotate(4deg) translateY(-0.4rem);
}

.service-card.pro:nth-child(1),
.service-card.pro:nth-child(4),
.service-card.pro:nth-child(8) {
  grid-column: span 6;
}

.service-card.pro:nth-child(2),
.service-card.pro:nth-child(3),
.service-card.pro:nth-child(5),
.service-card.pro:nth-child(6) {
  grid-column: span 3;
}

.service-card.pro:nth-child(7) {
  grid-column: span 4;
}

.service-card.pro:nth-child(6) {
  transform: translateY(2.2rem);
}

.service-card.pro h3 {
  margin-top: auto;
}

.process-section {
  width: min(1280px, calc(100% - 2rem));
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1.16fr);
  gap: clamp(1rem, 5vw, 4rem);
  align-items: start;
}

.process-copy {
  position: sticky;
  top: 7rem;
}

.process-panel {
  position: relative;
  margin-top: 2rem;
  overflow: hidden;
  padding: 1.15rem;
  border: 1px solid rgba(255, 212, 61, 0.18);
  border-radius: 1.1rem;
  background:
    radial-gradient(circle at 80% 15%, rgba(255, 212, 61, 0.24), transparent 18rem),
    rgba(255, 255, 255, 0.055);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
}

.process-panel span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.process-panel strong {
  display: block;
  margin-top: 0.7rem;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  line-height: 1;
}

.process-meter {
  height: 0.45rem;
  margin-top: 1.1rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.process-meter i {
  display: block;
  width: calc(var(--process, 0.16) * 100%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--amber));
  box-shadow: 0 0 30px rgba(255, 212, 61, 0.6);
}

.process-tags {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.process-tags em {
  font-style: normal;
  padding: 0.5rem 0.65rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.process-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.process-steps::before {
  content: none;
}

.process-step {
  position: relative;
  min-height: 210px;
  padding: 1.2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.045);
  opacity: 0.56;
  transform: translateY(18px) rotateX(4deg);
  transition: opacity 0.35s ease, transform 0.35s ease, border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.process-step span {
  position: static;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #050505;
  background: var(--gold);
  font-size: 0.72rem;
  font-weight: 950;
}

.process-step p {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.process-step.active {
  opacity: 1;
  transform: translateY(0) rotateX(0deg);
  border-color: rgba(255, 212, 61, 0.38);
  background:
    radial-gradient(circle at 72% 12%, rgba(255, 212, 61, 0.16), transparent 18rem),
    rgba(255, 255, 255, 0.07);
  box-shadow: 0 28px 90px rgba(255, 212, 61, 0.08);
}

.process-step.active h3 {
  color: #fff;
}

.ai-section {
  position: relative;
}

.ai-cinema {
  position: relative;
  min-height: 430px;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 212, 61, 0.16);
  background: #080808;
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.34);
}

.ai-cinema img {
  position: absolute;
  width: min(360px, 44vw);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
  animation: cinemaFloat 7s ease-in-out infinite;
}

.ai-cinema img:nth-child(1) {
  left: 4%;
  top: 12%;
  transform: rotate(-6deg);
}

.ai-cinema img:nth-child(2) {
  right: 7%;
  top: 9%;
  animation-delay: 0.8s;
}

.ai-cinema img:nth-child(3) {
  left: 39%;
  bottom: -16%;
  animation-delay: 1.4s;
}

.ai-cinema-copy {
  position: absolute;
  left: clamp(1rem, 4vw, 2rem);
  bottom: clamp(1rem, 4vw, 2rem);
  width: min(520px, calc(100% - 2rem));
  z-index: 2;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(18px);
}

.ai-cinema-copy span {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ai-cinema-copy strong {
  display: block;
  margin-top: 0.55rem;
  font-size: clamp(1.2rem, 2.3vw, 2.2rem);
  line-height: 1.05;
}

.google-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.2rem, 4vw, 2rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 212, 61, 0.24), transparent 24rem),
    rgba(255, 255, 255, 0.055);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.28);
}

.google-proof {
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.24);
}

.google-mark {
  color: var(--gold);
  font-weight: 950;
}

.google-proof strong {
  font-size: clamp(3.2rem, 8vw, 6rem);
  line-height: 0.9;
}

.google-proof p {
  margin: 0 0 0.5rem;
  color: var(--muted);
}

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

.ai-grid,
.ads-grid,
.service-grid {
  perspective: 1200px;
}

.ai-card,
.ads-card,
.service-card,
.team-card,
.case-placeholder,
.contact-form {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.1rem;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255, 212, 61, 0.18), transparent 18rem),
    rgba(255, 255, 255, 0.055);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
}

.ai-card {
  min-height: 230px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.ai-card:hover,
.ads-card:hover,
.service-card:hover {
  transform: translateY(-8px) rotateX(2deg);
  border-color: rgba(255, 212, 61, 0.44);
  box-shadow: 0 34px 110px rgba(255, 212, 61, 0.12);
}

.ads-section {
  position: relative;
}

.ads-console {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: -1rem 0 1rem;
}

.ads-console div {
  padding: 1rem;
  border: 1px solid rgba(255, 212, 61, 0.14);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.045);
}

.ads-console span {
  display: block;
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 900;
}

.ads-console i {
  display: block;
  width: var(--w);
  height: 0.48rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--amber));
  box-shadow: 0 0 34px rgba(255, 212, 61, 0.46);
  animation: barPulse 2.4s ease-in-out infinite;
}

.ai-card:nth-child(1),
.ai-card:nth-child(2) {
  grid-column: span 2;
}

.ai-card.wide {
  grid-column: span 4;
  min-height: 190px;
}

.ai-card span,
.ads-icon,
.service-card span,
.case-placeholder span,
.team-card span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ai-card p,
.ads-card p,
.service-card p,
.team-card p {
  margin: 1rem 0 0;
  color: var(--muted);
}

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

.ads-card,
.team-card {
  padding: clamp(1.15rem, 2vw, 1.6rem);
  min-height: 250px;
}

.ads-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  margin-bottom: 2.4rem;
  border-radius: 999px;
  background: rgba(255, 212, 61, 0.12);
}

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

.service-card {
  min-height: 210px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: inherit;
  text-decoration: none;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.service-grid .service-card {
  min-height: 240px;
  transform: translateY(var(--geo-shift, 0));
}

.service-grid .service-card:nth-child(2),
.service-grid .service-card:nth-child(5) {
  --geo-shift: 1.4rem;
}

.service-grid .service-card::after {
  content: "";
  position: absolute;
  inset: auto 1rem 1rem auto;
  width: 4.6rem;
  height: 4.6rem;
  border-radius: 999px;
  background: rgba(255, 212, 61, 0.16);
  filter: blur(24px);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 212, 61, 0.38);
}

.case-placeholder {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background-color: rgba(255, 255, 255, 0.12);
}

.case-placeholder div {
  min-height: 230px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(145deg, rgba(255, 212, 61, 0.1), transparent),
    #0b0b0b;
}

.team-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
}

.team-card::before {
  content: "";
  position: absolute;
  inset: auto 1.2rem 1.2rem auto;
  width: 7rem;
  height: 7rem;
  border-radius: 999px;
  background: rgba(255, 212, 61, 0.15);
  filter: blur(34px);
  opacity: 0.9;
}

.team-card strong {
  display: block;
  margin-top: 0.65rem;
  color: #fff;
}

.team-card p {
  margin-top: auto;
  padding-top: 1.4rem;
}

.team-card small {
  display: block;
  margin-top: 1rem;
  color: rgba(255, 212, 61, 0.78);
  font-weight: 850;
}

.contact-section {
  width: min(1180px, calc(100% - 2rem));
}

.contact-layout {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(400px, 0.76fr);
  gap: clamp(1rem, 4vw, 3.5rem);
  align-items: stretch;
  padding: clamp(1rem, 3vw, 1.6rem);
  border: 1px solid rgba(255, 212, 61, 0.2);
  border-radius: 1.6rem;
  background:
    radial-gradient(circle at 84% 8%, rgba(255, 212, 61, 0.24), transparent 24rem),
    linear-gradient(135deg, rgba(255, 212, 61, 0.1), rgba(255, 255, 255, 0.035) 45%, rgba(0, 0, 0, 0.35)),
    rgba(10, 10, 8, 0.82);
  box-shadow: 0 38px 130px rgba(0, 0, 0, 0.38);
}

.contact-layout::before {
  content: "";
  position: absolute;
  left: 38%;
  top: -28%;
  width: 24rem;
  height: 150%;
  background: linear-gradient(90deg, transparent, rgba(255, 212, 61, 0.09), transparent);
  transform: rotate(13deg);
  pointer-events: none;
}

.contact-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(0.5rem, 3vw, 1.5rem);
}

.contact-copy h2 {
  max-width: 10ch;
  font-size: clamp(2.5rem, 5.4vw, 5.3rem);
  line-height: 0.92;
}

.contact-copy > p:not(.kicker) {
  max-width: 34rem;
  margin-top: 1.15rem;
}

.contact-promise {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.5rem;
}

.contact-promise span {
  padding: 0.62rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.76rem;
  font-weight: 800;
}

.contact-promise strong {
  margin-right: 0.3rem;
  color: var(--gold);
}

.contact-links {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.contact-links a {
  display: grid;
  gap: 0.12rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(255, 212, 61, 0.16);
  border-radius: 0.8rem;
  color: #fff8dc;
  background: rgba(255, 212, 61, 0.055);
  font-weight: 850;
  text-decoration: none;
}

.contact-links a span {
  color: var(--gold);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form {
  z-index: 1;
  padding: clamp(1rem, 3vw, 1.5rem);
  border-color: rgba(255, 255, 255, 0.14);
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 212, 61, 0.14), transparent 17rem),
    rgba(0, 0, 0, 0.34);
}

.contact-form-head {
  margin-bottom: 1rem;
}

.contact-form-head span {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-form-head strong {
  display: block;
  margin-top: 0.25rem;
  color: #fffaf0;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1;
}

.project-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
}

.project-options legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.project-options label {
  display: block;
  margin: 0;
  cursor: pointer;
}

.project-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.project-options span {
  display: block;
  padding: 0.58rem 0.76rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.76rem;
  font-weight: 850;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.project-options input:checked + span {
  border-color: rgba(255, 212, 61, 0.55);
  color: #080808;
  background: linear-gradient(135deg, #fff5b8, var(--gold));
  box-shadow: 0 10px 30px rgba(255, 212, 61, 0.14);
}

.project-options label:hover span {
  transform: translateY(-2px);
}

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

.contact-form > label,
.contact-form-row > label {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: rgba(247, 243, 232, 0.78);
  font-size: 0.86rem;
  font-weight: 800;
}

.contact-form input:not([type="radio"]),
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.8rem;
  padding: 0.85rem 0.9rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.3);
  outline: none;
  resize: vertical;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:not([type="radio"]):focus,
.contact-form textarea:focus {
  border-color: rgba(255, 212, 61, 0.55);
  background: rgba(0, 0, 0, 0.44);
  box-shadow: 0 0 0 3px rgba(255, 212, 61, 0.08);
}

.contact-form textarea {
  min-height: 7.5rem;
}

.contact-form > .button {
  width: 100%;
  min-height: 3.2rem;
}

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

.footer {
  width: min(1360px, 100%);
  margin: 0 auto;
  padding: 2rem clamp(1rem, 4vw, 2.5rem);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(247, 243, 232, 0.62);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer p {
  margin: 0;
}

.footer div {
  display: flex;
  gap: 1rem;
}

.whatsapp-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 95;
  min-height: 3.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem 0.7rem 0.9rem;
  border: 1px solid rgba(255, 212, 61, 0.34);
  border-radius: 999px;
  color: #080808;
  background:
    linear-gradient(135deg, #fff3a8, var(--gold) 46%, var(--amber)),
    var(--gold);
  box-shadow:
    0 20px 70px rgba(255, 212, 61, 0.32),
    0 0 0 8px rgba(255, 212, 61, 0.08);
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.25s var(--ease-soft), box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 28px 95px rgba(255, 212, 61, 0.45),
    0 0 0 10px rgba(255, 212, 61, 0.1);
}

.whatsapp-icon {
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  flex: 0 0 1.7rem;
  border-radius: 999px;
  color: #080808;
}

.whatsapp-icon svg {
  width: 1.55rem;
  height: 1.55rem;
  display: block;
  flex: 0 0 auto;
  fill: currentColor;
}

.whatsapp-float > span:not(.whatsapp-icon) {
  line-height: 1;
}

.subpage-main {
  padding-top: clamp(7.5rem, 12vw, 10rem);
}

.subpage-hero {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(2rem, 5vw, 4rem);
}

.subpage-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.58fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: end;
}

.subpage-hero p:not(.kicker),
.subpage-note p {
  margin-top: 1.15rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.16rem);
  max-width: 680px;
}

.subpage-note {
  position: relative;
  overflow: hidden;
  padding: clamp(1rem, 2.4vw, 1.4rem);
  border: 1px solid rgba(255, 212, 61, 0.18);
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at 78% 0%, rgba(255, 212, 61, 0.2), transparent 16rem),
    rgba(255, 255, 255, 0.055);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.subpage-note strong {
  display: block;
  color: #fff;
  font-size: clamp(1.45rem, 2.8vw, 2.4rem);
  line-height: 1;
}

.page-grid {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 clamp(4rem, 8vw, 7rem);
  display: grid;
  gap: 1rem;
}

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

.team-showcase {
  position: relative;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto clamp(4rem, 8vw, 7rem);
  padding: clamp(1rem, 2vw, 1.5rem);
  overflow: hidden;
  border: 1px solid rgba(255, 212, 61, 0.22);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 183, 0, 0.19), transparent 28rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  box-shadow: 0 38px 130px rgba(0, 0, 0, 0.44);
}

.team-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, #000, transparent 62%);
}

.team-showcase-head {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0.4rem 1rem;
}

.team-showcase-head > p:last-child {
  max-width: 420px;
  color: var(--muted);
  text-align: right;
}

.team-deck {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.78fr);
  min-height: clamp(560px, 58vw, 720px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.15rem;
  background: #080808;
}

.team-portraits {
  position: relative;
  min-width: 0;
  overflow: hidden;
  perspective: 1200px;
  background: #f4ae00;
}

.team-portrait {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.08) rotateY(-5deg);
  transform-origin: 70% 50%;
  transition: opacity 0.55s ease, transform 0.75s var(--ease-soft), visibility 0.55s;
}

.team-portrait.is-active {
  opacity: 1;
  visibility: visible;
  transform:
    perspective(1200px)
    rotateX(var(--team-rx, 0deg))
    rotateY(var(--team-ry, 0deg))
    scale(1.015);
}

.team-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.04) contrast(1.03);
}

.team-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 56%, rgba(0, 0, 0, 0.25)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.54), transparent 32%);
  pointer-events: none;
}

.team-portrait-number {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  left: clamp(1rem, 3vw, 2rem);
  z-index: 2;
  color: rgba(8, 8, 8, 0.82);
  font-size: clamp(3.6rem, 8vw, 7.5rem);
  font-weight: 950;
  line-height: 0.8;
}

.team-portrait figcaption {
  position: absolute;
  left: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 2;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-scan-line {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 4;
  width: 2px;
  opacity: 0.65;
  background: linear-gradient(transparent, #fff4ad 38%, #fff 50%, #fff4ad 62%, transparent);
  box-shadow: 0 0 28px rgba(255, 244, 173, 0.85);
  animation: teamScan 5.5s ease-in-out infinite;
  pointer-events: none;
}

.team-content {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 18%, rgba(255, 212, 61, 0.16), transparent 17rem),
    #0a0a0a;
}

.team-panel {
  position: absolute;
  inset: 0;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(28px);
  transition: opacity 0.45s ease, transform 0.58s var(--ease-soft), visibility 0.45s;
}

.team-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.team-role {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-panel h2 {
  margin-top: 1.2rem;
  font-size: clamp(3rem, 6.6vw, 6.3rem);
  line-height: 0.82;
}

.team-panel h3 {
  max-width: 430px;
  margin-top: 1.4rem;
  color: rgba(255, 212, 61, 0.85);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
}

.team-panel > p {
  max-width: 530px;
  margin-top: 1.15rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
}

.team-selector {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.035);
}

.team-selector-item {
  position: relative;
  min-height: 82px;
  padding: 0.85rem 1rem;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.8rem;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
  color: #fff;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 0.28s ease, color 0.28s ease;
}

.team-selector-item:last-child {
  border-right: 0;
}

.team-selector-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #fff4ad, var(--gold), var(--amber));
  transition: right 0.45s var(--ease-soft);
}

.team-selector-item.is-active {
  color: #080808;
  background: linear-gradient(135deg, #fff1a0, var(--gold) 62%, var(--amber));
}

.team-selector-item.is-active::after {
  right: 0;
}

.team-selector-item span {
  grid-row: 1 / 3;
  align-self: center;
  font-size: 0.75rem;
  font-weight: 950;
}

.team-selector-item strong {
  font-size: 1rem;
}

.team-selector-item small {
  opacity: 0.62;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

@keyframes teamScan {
  0%, 12% { left: 0; opacity: 0; }
  20% { opacity: 0.7; }
  72% { opacity: 0.7; }
  82%, 100% { left: 100%; opacity: 0; }
}

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

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

.profile-card,
.case-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  padding: clamp(1.15rem, 2.4vw, 1.55rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at 78% 6%, rgba(255, 212, 61, 0.17), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.28);
  transform: translateY(0);
  transition: transform 0.35s var(--ease-soft), border-color 0.35s ease, box-shadow 0.35s ease;
}

.profile-card:hover,
.case-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 212, 61, 0.42);
  box-shadow: 0 34px 110px rgba(255, 212, 61, 0.12);
}

.profile-card::before,
.case-card::before {
  content: "";
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 5.8rem;
  height: 5.8rem;
  border-radius: 999px;
  background: rgba(255, 212, 61, 0.16);
  filter: blur(26px);
}

.profile-index,
.case-index {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-card h2,
.case-card h2 {
  max-width: none;
  margin-top: 1.1rem;
  font-size: clamp(2rem, 3.3vw, 3.2rem);
}

.profile-card h3,
.case-card h3 {
  margin-top: 0.6rem;
  color: rgba(255, 212, 61, 0.82);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.28;
}

.profile-card p,
.case-card p {
  margin-top: 1.15rem;
  color: var(--muted);
}

.profile-focus,
.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.3rem;
}

.profile-focus span,
.case-tags span {
  padding: 0.48rem 0.62rem;
  border: 1px solid rgba(255, 212, 61, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 212, 61, 0.06);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.case-card {
  min-height: 360px;
}

.service-hub-card {
  min-height: 330px;
}

.service-hub-card h2 {
  font-size: clamp(1.65rem, 2.2vw, 2.35rem);
}

.case-card.is-empty {
  border-style: dashed;
}

.page-cta {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto clamp(4rem, 7vw, 6rem);
  padding: clamp(1.4rem, 4vw, 2.2rem);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(255, 212, 61, 0.18);
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 212, 61, 0.22), transparent 22rem),
    rgba(255, 255, 255, 0.055);
}

.page-cta p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .subpage-hero-grid,
  .team-page-grid,
  .case-page-grid,
  .service-page-grid {
    grid-template-columns: 1fr;
  }

  .profile-card,
  .case-card {
    min-height: auto;
  }

  .team-deck {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .team-portraits {
    min-height: min(86vw, 620px);
  }

  .team-content {
    min-height: 460px;
  }
}

@media (max-width: 640px) {
  .subpage-main {
    padding-top: 6.5rem;
  }

  .page-cta {
    display: grid;
  }

  .team-showcase {
    width: min(100% - 1rem, var(--max));
    padding: 0.5rem;
    border-radius: 1rem;
  }

  .team-showcase-head {
    display: block;
    padding: 0.7rem 0.6rem 1rem;
  }

  .team-showcase-head > p:last-child {
    margin-top: 0.55rem;
    text-align: left;
  }

  .team-portraits {
    min-height: min(104vw, 440px);
  }

  .team-portrait-number {
    font-size: clamp(3rem, 18vw, 4.7rem);
  }

  .team-portrait figcaption {
    max-width: 70%;
    line-height: 1.35;
  }

  .team-content {
    min-height: 500px;
  }

  .team-panel {
    padding: 1.35rem 1.1rem;
    justify-content: flex-start;
  }

  .team-panel h2 {
    max-width: 100%;
    font-size: clamp(2.45rem, 12vw, 3.35rem);
    line-height: 0.96;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .team-selector {
    grid-template-columns: 1fr;
  }

  .team-selector-item {
    min-height: 64px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  .team-selector-item:last-child {
    border-bottom: 0;
  }
}

/* Readability guardrails: team names and the primary reel must never disappear. */
.team-panel h2 {
  max-width: 100%;
  color: #fffaf0;
  line-height: 0.92;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
  text-shadow: 0 12px 42px rgba(0, 0, 0, 0.42);
}

.team-panel h3 {
  line-height: 1.25;
}

.team-panel > p {
  line-height: 1.58;
}

.reel-3d-card.is-active {
  opacity: 1;
  visibility: visible;
}

.reel-3d-card.is-active .reel-slot {
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 212, 61, 0.18), transparent 42%),
    #0a0a0a;
}

.reel-3d-card.is-active video,
.reel-3d-card.is-active img {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 640px) {
  .team-content {
    min-height: 540px;
  }

  .team-panel {
    gap: 0;
    padding: 1.4rem 1.15rem 1.6rem;
  }

  .team-role {
    max-width: 28ch;
    font-size: 0.68rem;
    line-height: 1.4;
  }

  .team-panel h2 {
    margin-top: 0.85rem;
    font-size: clamp(2.35rem, 11.6vw, 3.2rem);
    line-height: 0.98;
  }

  .team-panel h3 {
    margin-top: 1rem;
    font-size: 0.98rem;
  }

  .team-panel > p {
    margin-top: 0.9rem;
    font-size: 0.98rem;
    line-height: 1.52;
  }

  .profile-focus {
    gap: 0.4rem;
    margin-top: 1rem;
  }

  .profile-focus span {
    font-size: 0.68rem;
  }

  .reel-3d-showcase {
    overflow: visible;
  }

  .reel-3d-stage {
    overflow: hidden;
    border-radius: 1.25rem;
  }

  .reel-3d-card.is-active {
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* Definitive mobile menu override: keep this after every responsive rule. */
@media (max-width: 980px) {
  body.menu-open {
    overflow: hidden;
    overscroll-behavior: none;
  }

  .menu-toggle {
    position: relative;
    z-index: 84;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    counter-reset: mobile-nav;
    position: absolute;
    inset: calc(100% + 0.55rem) 0 auto;
    z-index: 82;
    width: 100%;
    max-height: calc(100dvh - max(6.2rem, calc(env(safe-area-inset-top) + 5.8rem)));
    display: grid;
    justify-content: stretch;
    align-items: stretch;
    gap: 0.28rem;
    padding: 0.65rem;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 1rem;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.07), transparent 42%),
      rgba(8, 8, 8, 0.97);
    box-shadow:
      0 28px 90px rgba(0, 0, 0, 0.72),
      0 0 55px rgba(255, 199, 25, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.75rem) scale(0.985);
    transform-origin: top center;
    transition:
      transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
      opacity 0.22s ease,
      visibility 0.3s ease;
  }

  body.menu-open .nav-links {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .nav-links a {
    position: relative;
    width: 100%;
    min-height: 3.55rem;
    display: grid;
    grid-template-columns: 2.25rem minmax(0, 1fr) 0.8rem;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid transparent;
    border-bottom-color: rgba(255, 255, 255, 0.075);
    border-radius: 8px;
    opacity: 0;
    transform: translateY(-0.35rem);
  }

  body.menu-open .nav-links a {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links a:hover,
  .nav-links a:focus-visible,
  .nav-links a[aria-current="page"] {
    border-color: rgba(255, 212, 61, 0.22);
    background:
      linear-gradient(90deg, rgba(255, 212, 61, 0.12), transparent 72%),
      rgba(255, 255, 255, 0.045);
  }
}

@media (max-width: 380px) {
  .nav-links {
    padding: 0.5rem;
  }

  .nav-links a {
    min-height: 3.3rem;
    grid-template-columns: 2rem minmax(0, 1fr) 0.7rem;
    padding: 0.6rem 0.7rem;
    font-size: 0.94rem;
  }
}

/* Final chromatic cascade: yellow / black / warm white. */
.video-section::after {
  background:
    radial-gradient(circle at 78% 12%, rgba(255, 255, 255, 0.62), transparent 26rem),
    radial-gradient(circle at 8% 82%, rgba(255, 148, 0, 0.32), transparent 30rem),
    linear-gradient(135deg, #fff08a 0%, #ffd43d 45%, #ffae18 100%);
}

.ig-section::after {
  background:
    radial-gradient(circle at 76% 18%, rgba(255, 212, 61, 0.15), transparent 30rem),
    linear-gradient(155deg, #080704 0%, #050505 54%, #0c0a04 100%);
}

.recent-work-section::after {
  background:
    radial-gradient(circle at 78% 38%, rgba(255, 212, 61, 0.24), transparent 30rem),
    linear-gradient(145deg, #fff 0%, #f3f2ed 56%, #fff5c8 100%);
}

.services-section::after {
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 212, 61, 0.15), transparent 30rem),
    radial-gradient(circle at 86% 82%, rgba(255, 159, 28, 0.08), transparent 28rem),
    #050505;
}

.custom-section::after,
.ads-section::after {
  background:
    radial-gradient(circle at 78% 12%, rgba(255, 255, 255, 0.55), transparent 25rem),
    radial-gradient(circle at 8% 86%, rgba(255, 148, 0, 0.35), transparent 30rem),
    linear-gradient(135deg, #fff08a 0%, #ffd43d 46%, #ffae18 100%);
}

.process-section::after,
.google-section::after {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 212, 61, 0.3), transparent 26rem),
    linear-gradient(145deg, #fff 0%, #f2f1eb 58%, #fff5ca 100%);
}

.video-section,
.recent-work-section,
.custom-section,
.process-section,
.ads-section,
.google-section {
  color: #11100d;
}

.video-section .kicker,
.recent-work-section .kicker,
.custom-section .kicker,
.process-section .kicker,
.ads-section .kicker,
.google-section .kicker {
  color: rgba(17, 16, 13, 0.68);
}

.video-section .kicker::before,
.recent-work-section .kicker::before,
.custom-section .kicker::before,
.process-section .kicker::before,
.ads-section .kicker::before,
.google-section .kicker::before {
  background: #11100d;
  box-shadow: 0 0 18px rgba(17, 16, 13, 0.24);
}

.video-section .section-head h2,
.recent-work-copy h2,
.custom-copy h2,
.process-copy h2,
.ads-section .lab-copy h2,
.google-section .google-card h2 {
  color: #11100d;
}

.video-section .section-head > p:not(.kicker),
.recent-work-copy > p:not(.kicker),
.custom-copy > p:not(.kicker),
.process-copy > p,
.ads-section .lab-copy > p,
.google-section .google-card > div > p:not(.kicker) {
  color: rgba(17, 16, 13, 0.72);
}

.video-section .button-primary,
.custom-section .button-primary,
.google-section .button-primary {
  color: #fff;
  background: #11100d;
  box-shadow: 0 16px 44px rgba(17, 16, 13, 0.2);
}

.custom-section .button-ghost {
  color: #11100d;
  border-color: rgba(17, 16, 13, 0.25);
  background: rgba(255, 255, 255, 0.2);
}

.recent-work-count {
  color: #11100d;
  border-color: rgba(17, 16, 13, 0.2);
  background: rgba(255, 212, 61, 0.45);
}

.recent-work-copy > p strong,
.recent-work-credit strong,
.recent-work-meta dd {
  color: #11100d;
}

.recent-work-credit span,
.recent-work-meta dt {
  color: rgba(17, 16, 13, 0.55);
}

.recent-work-meta div {
  border-color: rgba(17, 16, 13, 0.14);
}

.project-reel-shell {
  color: var(--text);
  border-color: rgba(17, 16, 13, 0.22);
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(145deg, #181710, #070707);
  background-size: 36px 36px;
}

.ig-section,
.services-section,
.ai-section,
.contact-section {
  color: var(--text);
}

.ig-section .kicker,
.services-section .kicker {
  color: var(--soft);
}

.ig-section .kicker::before,
.services-section .kicker::before {
  background: var(--lime);
  box-shadow: 0 0 18px rgba(185, 255, 102, 0.45);
}

.ig-profile h2,
.services-section .section-head h2 {
  color: var(--text);
}

.ig-profile > p:not(.kicker),
.services-section .section-head > p:not(.kicker) {
  color: var(--muted);
}

.ig-stats span {
  color: var(--muted);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
}

.ig-stats strong {
  color: #fff;
}

.ig-section .button-primary {
  color: #080808;
  background: linear-gradient(135deg, #fff4a8, var(--gold), var(--amber));
}

.custom-card {
  color: var(--text);
  border-color: rgba(17, 16, 13, 0.22);
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 212, 61, 0.15), transparent 16rem),
    linear-gradient(145deg, #1b1911, #080808);
}

.custom-card h3 {
  color: #fff;
}

.custom-card p {
  color: rgba(247, 243, 232, 0.7);
}

/* Chromatic refinement: a deliberate light/dark editorial sequence. */
.video-section::after {
  background:
    radial-gradient(circle at 78% 12%, rgba(255, 255, 255, 0.62), transparent 26rem),
    radial-gradient(circle at 8% 82%, rgba(255, 148, 0, 0.32), transparent 30rem),
    linear-gradient(135deg, #fff08a 0%, #ffd43d 45%, #ffae18 100%);
}

.ig-section::after {
  background:
    radial-gradient(circle at 76% 18%, rgba(255, 212, 61, 0.15), transparent 30rem),
    linear-gradient(155deg, #080704 0%, #050505 54%, #0c0a04 100%);
}

.recent-work-section::after {
  background:
    radial-gradient(circle at 78% 38%, rgba(255, 212, 61, 0.24), transparent 30rem),
    linear-gradient(145deg, #ffffff 0%, #f3f2ed 56%, #fff5c8 100%);
}

.services-section::after {
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 212, 61, 0.15), transparent 30rem),
    radial-gradient(circle at 86% 82%, rgba(255, 159, 28, 0.08), transparent 28rem),
    #050505;
}

.custom-section::after {
  background:
    radial-gradient(circle at 78% 12%, rgba(255, 255, 255, 0.55), transparent 25rem),
    radial-gradient(circle at 8% 86%, rgba(255, 148, 0, 0.35), transparent 30rem),
    linear-gradient(135deg, #fff08a 0%, #ffd43d 46%, #ffae18 100%);
}

.process-section::after {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 212, 61, 0.3), transparent 26rem),
    linear-gradient(145deg, #ffffff 0%, #f2f1eb 58%, #fff5ca 100%);
}

.ads-section::after {
  background:
    radial-gradient(circle at 78% 14%, rgba(255, 255, 255, 0.58), transparent 25rem),
    radial-gradient(circle at 10% 84%, rgba(255, 148, 0, 0.34), transparent 30rem),
    linear-gradient(135deg, #fff08a 0%, #ffd43d 46%, #ffae18 100%);
}

.google-section::after {
  background:
    radial-gradient(circle at 12% 48%, rgba(255, 212, 61, 0.28), transparent 26rem),
    linear-gradient(145deg, #ffffff 0%, #f3f2ed 60%, #fff5ca 100%);
}

.video-section,
.recent-work-section,
.custom-section,
.process-section,
.ads-section,
.google-section {
  color: #11100d;
}

.video-section .kicker,
.recent-work-section .kicker,
.custom-section .kicker,
.process-section .kicker,
.ads-section .kicker,
.google-section .kicker {
  color: rgba(17, 16, 13, 0.68);
}

.video-section .kicker::before,
.recent-work-section .kicker::before,
.custom-section .kicker::before,
.process-section .kicker::before,
.ads-section .kicker::before,
.google-section .kicker::before {
  background: #11100d;
  box-shadow: 0 0 18px rgba(17, 16, 13, 0.24);
}

.video-section .section-head h2,
.recent-work-copy h2,
.custom-copy h2,
.process-copy h2,
.ads-section .lab-copy h2,
.google-section .google-card h2 {
  color: #11100d;
}

.video-section .section-head > p:not(.kicker),
.recent-work-copy > p:not(.kicker),
.custom-copy > p:not(.kicker),
.process-copy > p,
.ads-section .lab-copy > p,
.google-section .google-card > div > p:not(.kicker) {
  color: rgba(17, 16, 13, 0.72);
}

.video-section .button-primary,
.custom-section .button-primary,
.google-section .button-primary {
  color: #fff;
  background: #11100d;
  box-shadow: 0 16px 44px rgba(17, 16, 13, 0.2);
}

.custom-section .button-ghost {
  color: #11100d;
  border-color: rgba(17, 16, 13, 0.25);
  background: rgba(255, 255, 255, 0.2);
}

.recent-work-count {
  color: #11100d;
  border-color: rgba(17, 16, 13, 0.2);
  background: rgba(255, 212, 61, 0.45);
}

.recent-work-copy > p strong,
.recent-work-credit strong,
.recent-work-meta dd {
  color: #11100d;
}

.recent-work-credit span,
.recent-work-meta dt {
  color: rgba(17, 16, 13, 0.55);
}

.recent-work-meta div {
  border-color: rgba(17, 16, 13, 0.14);
}

.project-reel-shell {
  color: var(--text);
  border-color: rgba(17, 16, 13, 0.22);
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(145deg, #181710, #070707);
  background-size: 36px 36px;
  box-shadow: 0 38px 110px rgba(31, 24, 4, 0.24);
}

.ig-section,
.services-section,
.ai-section,
.contact-section {
  color: var(--text);
}

.ig-section .kicker,
.services-section .kicker {
  color: var(--soft);
}

.ig-section .kicker::before,
.services-section .kicker::before {
  background: var(--lime);
  box-shadow: 0 0 18px rgba(185, 255, 102, 0.45);
}

.ig-profile h2,
.services-section .section-head h2 {
  color: var(--text);
}

.ig-profile > p:not(.kicker),
.services-section .section-head > p:not(.kicker) {
  color: var(--muted);
}

.ig-stats span {
  color: var(--muted);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
}

.ig-stats strong {
  color: #fff;
}

.ig-section .button-primary {
  color: #080808;
  background: linear-gradient(135deg, #fff4a8, var(--gold), var(--amber));
}

.ig-media-card {
  border-color: rgba(255, 212, 61, 0.18);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

.services-section .service-playground {
  border-color: rgba(255, 212, 61, 0.2);
  box-shadow:
    0 38px 120px rgba(0, 0, 0, 0.42),
    0 0 90px rgba(255, 190, 24, 0.08);
}

.custom-card {
  color: var(--text);
  border-color: rgba(17, 16, 13, 0.22);
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 212, 61, 0.15), transparent 16rem),
    linear-gradient(145deg, #1b1911, #080808);
  box-shadow: 0 24px 75px rgba(74, 49, 0, 0.2);
}

.custom-card h3 {
  color: #fff;
}

.custom-card p {
  color: rgba(247, 243, 232, 0.7);
}

.process-section .process-panel,
.process-section .process-step,
.ads-section .ads-console div,
.ads-section .ads-card {
  border-color: rgba(17, 16, 13, 0.2);
  box-shadow: 0 24px 75px rgba(74, 49, 0, 0.18);
}

.google-section .google-card {
  background: rgba(255, 255, 255, 0.6);
}

/* Chromatic section rhythm: cinematic dark, editorial yellow, studio light. */
.video-section,
.ig-section,
.recent-work-section,
.services-section,
.custom-section,
.process-section,
.ai-section,
.ads-section,
.google-section,
.contact-section {
  position: relative;
  isolation: isolate;
}

.video-section::after,
.ig-section::after,
.recent-work-section::after,
.services-section::after,
.custom-section::after,
.process-section::after,
.ai-section::after,
.ads-section::after,
.google-section::after,
.contact-section::after {
  content: "";
  position: absolute;
  inset: 0 auto;
  left: 50%;
  z-index: -2;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
}

.video-section::after {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 212, 61, 0.16), transparent 32rem),
    radial-gradient(circle at 82% 72%, rgba(255, 159, 28, 0.1), transparent 28rem),
    linear-gradient(180deg, #050505, #0b0903 54%, #050505);
}

.ig-section::after {
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.58), transparent 25rem),
    radial-gradient(circle at 8% 82%, rgba(255, 159, 28, 0.34), transparent 30rem),
    linear-gradient(135deg, #ffe979 0%, #ffd43d 42%, #ffb719 100%);
}

.recent-work-section::after {
  background:
    radial-gradient(circle at 76% 42%, rgba(255, 212, 61, 0.19), transparent 32rem),
    linear-gradient(160deg, #080704 0%, #050505 50%, #0b0903 100%);
}

.services-section::after {
  background:
    radial-gradient(circle at 12% 14%, rgba(255, 212, 61, 0.3), transparent 25rem),
    radial-gradient(circle at 88% 86%, rgba(255, 159, 28, 0.13), transparent 30rem),
    linear-gradient(145deg, #ffffff 0%, #f3f2ed 52%, #fff7d4 100%);
}

.custom-section::after {
  background:
    radial-gradient(circle at 68% 18%, rgba(255, 212, 61, 0.17), transparent 32rem),
    linear-gradient(180deg, #080704 0%, #050505 58%, #090805 100%);
}

.process-section::after {
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.5), transparent 24rem),
    radial-gradient(circle at 8% 78%, rgba(255, 159, 28, 0.35), transparent 30rem),
    linear-gradient(145deg, #ffe978 0%, #ffd43d 44%, #ffb51a 100%);
}

.ai-section::after {
  background:
    radial-gradient(circle at 74% 38%, rgba(255, 212, 61, 0.18), transparent 30rem),
    linear-gradient(155deg, #050505, #0c0a04 52%, #050505);
}

.ads-section::after {
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 212, 61, 0.28), transparent 24rem),
    linear-gradient(145deg, #ffffff 0%, #f4f3ee 58%, #fff6cf 100%);
}

.google-section::after {
  background:
    radial-gradient(circle at 15% 50%, rgba(255, 255, 255, 0.5), transparent 25rem),
    linear-gradient(120deg, #ffe978, #ffd43d 52%, #ffb51a);
}

.contact-section::after {
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 212, 61, 0.15), transparent 28rem),
    radial-gradient(circle at 82% 72%, rgba(255, 159, 28, 0.09), transparent 24rem),
    #050505;
}

.ig-section,
.services-section,
.process-section,
.ads-section,
.google-section {
  color: #11100d;
}

.ig-section .kicker,
.services-section .kicker,
.process-section .kicker,
.ads-section .kicker,
.google-section .kicker {
  color: rgba(17, 16, 13, 0.7);
}

.ig-section .kicker::before,
.services-section .kicker::before,
.process-section .kicker::before,
.ads-section .kicker::before,
.google-section .kicker::before {
  background: #11100d;
  box-shadow: 0 0 18px rgba(17, 16, 13, 0.28);
}

.ig-profile h2,
.services-section .section-head h2,
.process-copy h2,
.ads-section .lab-copy h2,
.google-section .google-card h2 {
  color: #11100d;
}

.ig-profile > p:not(.kicker),
.services-section .section-head > p:not(.kicker),
.process-copy > p,
.ads-section .lab-copy > p,
.google-section .google-card > div > p:not(.kicker) {
  color: rgba(17, 16, 13, 0.72);
}

.ig-stats span {
  border-color: rgba(17, 16, 13, 0.14);
  color: rgba(17, 16, 13, 0.72);
  background: rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.ig-stats strong {
  color: #11100d;
}

.ig-section .button-primary,
.google-section .button-primary {
  color: #fff;
  background: #11100d;
  box-shadow: 0 16px 45px rgba(17, 16, 13, 0.2);
}

.ig-media-card {
  border-color: rgba(17, 16, 13, 0.18);
  box-shadow: 0 24px 70px rgba(74, 49, 0, 0.2);
}

.services-section .service-playground {
  border-color: rgba(17, 16, 13, 0.16);
  box-shadow:
    0 38px 110px rgba(31, 24, 4, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.process-section {
  width: min(var(--max), calc(100% - 2rem));
}

.process-section .process-panel,
.process-section .process-step {
  color: var(--text);
  border-color: rgba(17, 16, 13, 0.2);
  box-shadow: 0 24px 70px rgba(74, 49, 0, 0.18);
}

.process-section .process-panel {
  background:
    radial-gradient(circle at 72% 0%, rgba(255, 212, 61, 0.2), transparent 18rem),
    linear-gradient(145deg, rgba(22, 20, 13, 0.96), rgba(7, 7, 7, 0.96));
}

.process-section .process-step {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(8, 8, 8, 0.92);
}

.ads-section .ads-console div,
.ads-section .ads-card {
  color: var(--text);
  border-color: rgba(17, 16, 13, 0.18);
  background:
    radial-gradient(circle at 86% 0%, rgba(255, 212, 61, 0.13), transparent 16rem),
    linear-gradient(145deg, #191812, #080808);
  box-shadow: 0 24px 70px rgba(31, 24, 4, 0.18);
}

.ads-section .ads-card p,
.ads-section .ads-console span {
  color: rgba(247, 243, 232, 0.7);
}

.google-section .google-card {
  border-color: rgba(17, 16, 13, 0.16);
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 28px 90px rgba(74, 49, 0, 0.18);
}

.google-section .google-proof {
  border-color: rgba(17, 16, 13, 0.14);
  background: rgba(17, 16, 13, 0.94);
}

.google-section .google-proof,
.google-section .google-proof p {
  color: rgba(247, 243, 232, 0.72);
}

.google-section .google-proof strong {
  color: #fff;
}

.google-section .button-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

@media (max-width: 640px) {
  .video-section::after,
  .ig-section::after,
  .recent-work-section::after,
  .services-section::after,
  .custom-section::after,
  .process-section::after,
  .ai-section::after,
  .ads-section::after,
  .google-section::after,
  .contact-section::after {
    width: 100dvw;
  }

  .ig-section,
  .services-section,
  .process-section,
  .ads-section,
  .google-section {
    padding-inline: 0.35rem;
  }
}

/* Final smartphone chrome lock. */
@media (max-width: 640px) {
  .nav-inner {
    position: relative;
    grid-template-columns: 1fr auto 1fr;
  }

  .brand {
    position: absolute;
    left: 50%;
    top: 50%;
    grid-column: auto;
    justify-self: auto;
    transform: translate(-50%, -50%);
  }

  .menu-toggle {
    grid-column: 3;
    justify-self: end;
  }

  .mobile-glass-dock {
    width: min(calc(100% - 1.2rem), 360px);
  }

  .whatsapp-float {
    right: max(0.7rem, env(safe-area-inset-right));
    bottom: calc(max(0.55rem, env(safe-area-inset-bottom)) + 4.65rem);
    width: 3rem;
    min-width: 3rem;
    height: 3rem;
    min-height: 3rem;
  }
}

.mobile-glass-dock {
  display: none;
}

/* Smartphone navigation: centered identity above, compact glass dock below. */
@media (max-width: 640px) {
  .nav-inner {
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    padding: 0.5rem 0.65rem;
  }

  .brand {
    grid-column: 2;
    justify-self: center;
    line-height: 0;
  }

  .brand img {
    width: clamp(6.7rem, 31vw, 7.35rem);
  }

  .menu-toggle {
    grid-column: 3;
    justify-self: end;
  }

  .mobile-glass-dock {
    position: fixed;
    left: 50%;
    bottom: max(0.55rem, env(safe-area-inset-bottom));
    z-index: 88;
    width: min(calc(100% - 1.2rem), 370px);
    min-height: 3.85rem;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    gap: 0.18rem;
    padding: 0.36rem;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 1.15rem;
    background:
      linear-gradient(115deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.035) 45%, rgba(255, 212, 61, 0.11)),
      rgba(8, 8, 8, 0.76);
    box-shadow:
      0 18px 55px rgba(0, 0, 0, 0.58),
      0 0 35px rgba(255, 199, 25, 0.09),
      inset 0 1px 0 rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(22px) saturate(1.3);
    transform: translateX(-50%);
    transition: opacity 0.25s ease, transform 0.3s var(--ease-soft);
  }

  .mobile-glass-dock a {
    position: relative;
    min-width: 0;
    min-height: 3.05rem;
    display: grid;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 0.8rem;
    color: rgba(247, 243, 232, 0.62);
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  }

  .mobile-glass-dock svg {
    width: 1.42rem;
    height: 1.42rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-glass-dock span {
    position: absolute;
    left: 50%;
    bottom: 0.18rem;
    max-width: 100%;
    overflow: hidden;
    color: #080808;
    font-size: 0.52rem;
    font-weight: 900;
    letter-spacing: 0;
    opacity: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    transform: translate(-50%, 0.2rem);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .mobile-glass-dock a.is-active {
    color: #080808;
    border-color: rgba(255, 241, 154, 0.55);
    background: linear-gradient(135deg, #fff3aa, var(--gold) 55%, var(--amber));
    box-shadow: 0 8px 25px rgba(255, 199, 25, 0.22);
    transform: translateY(-0.08rem);
  }

  .mobile-glass-dock a.is-active svg {
    transform: translateY(-0.22rem) scale(0.92);
  }

  .mobile-glass-dock a.is-active span {
    opacity: 1;
    transform: translate(-50%, 0);
  }

  body.menu-open .mobile-glass-dock {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 1rem);
  }

  .whatsapp-float {
    bottom: calc(max(0.55rem, env(safe-area-inset-bottom)) + 4.45rem);
    z-index: 89;
    width: 3rem;
    min-width: 3rem;
    height: 3rem;
    min-height: 3rem;
    box-shadow:
      0 14px 45px rgba(255, 212, 61, 0.25),
      0 0 0 5px rgba(255, 212, 61, 0.065);
  }

  .footer {
    padding-bottom: calc(7.25rem + env(safe-area-inset-bottom));
  }
}

@media (max-width: 350px) {
  .mobile-glass-dock {
    width: calc(100% - 0.8rem);
    padding-inline: 0.25rem;
  }

  .mobile-glass-dock a {
    min-height: 2.85rem;
  }

  .mobile-glass-dock svg {
    width: 1.3rem;
    height: 1.3rem;
  }
}

/* Mobile navigation: compact glass sheet with predictable geometry. */
@media (max-width: 980px) {
  body.menu-open {
    overflow: hidden;
    overscroll-behavior: none;
  }

  .site-shell::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 70;
    visibility: hidden;
    background:
      radial-gradient(circle at 82% 9%, rgba(255, 199, 25, 0.14), transparent 30%),
      rgba(0, 0, 0, 0.72);
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(8px);
    transition: opacity 0.28s ease, visibility 0.28s ease;
  }

  body.menu-open .site-shell::after {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .nav {
    transition: border-radius 0.28s ease, background 0.28s ease, border-color 0.28s ease;
  }

  body.menu-open .nav {
    border-color: rgba(255, 212, 61, 0.34);
    background:
      linear-gradient(120deg, rgba(255, 255, 255, 0.11), rgba(255, 212, 61, 0.09)),
      rgba(7, 7, 7, 0.94);
  }

  .menu-toggle {
    position: relative;
    z-index: 84;
    display: grid;
    flex: 0 0 auto;
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.07);
    transition: color 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  }

  body.menu-open .menu-toggle {
    color: #090909;
    border-color: var(--gold);
    background: linear-gradient(135deg, #fff19a, var(--gold) 48%, var(--amber));
  }

  .nav-links {
    counter-reset: mobile-nav;
    position: absolute;
    inset: calc(100% + 0.55rem) 0 auto;
    z-index: 82;
    width: 100%;
    max-height: calc(100dvh - max(6.2rem, calc(env(safe-area-inset-top) + 5.8rem)));
    display: grid;
    justify-content: stretch;
    align-items: stretch;
    gap: 0.28rem;
    padding: 0.65rem;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 1rem;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.07), transparent 42%),
      rgba(8, 8, 8, 0.97);
    box-shadow:
      0 28px 90px rgba(0, 0, 0, 0.72),
      0 0 55px rgba(255, 199, 25, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.75rem) scale(0.985);
    transform-origin: top center;
    transition:
      transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
      opacity 0.22s ease,
      visibility 0.3s ease;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 212, 61, 0.65) transparent;
  }

  body.menu-open .nav-links {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .nav-links a {
    counter-increment: mobile-nav;
    position: relative;
    min-height: 3.55rem;
    display: grid;
    grid-template-columns: 2.25rem minmax(0, 1fr) 0.8rem;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 0.9rem;
    overflow: hidden;
    border: 1px solid transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 8px;
    color: rgba(247, 243, 232, 0.82);
    font-size: 1rem;
    font-weight: 780;
    line-height: 1.15;
    opacity: 0;
    transform: translateY(-0.35rem);
    transition:
      color 0.2s ease,
      background 0.2s ease,
      border-color 0.2s ease,
      opacity 0.25s ease,
      transform 0.25s ease;
  }

  body.menu-open .nav-links a {
    opacity: 1;
    transform: translateY(0);
  }

  body.menu-open .nav-links a:nth-child(1) { transition-delay: 0.04s; }
  body.menu-open .nav-links a:nth-child(2) { transition-delay: 0.07s; }
  body.menu-open .nav-links a:nth-child(3) { transition-delay: 0.1s; }
  body.menu-open .nav-links a:nth-child(4) { transition-delay: 0.13s; }
  body.menu-open .nav-links a:nth-child(5) { transition-delay: 0.16s; }
  body.menu-open .nav-links a:nth-child(6) { transition-delay: 0.19s; }

  .nav-links a::before {
    content: counter(mobile-nav, decimal-leading-zero);
    display: grid;
    width: 2.25rem;
    height: 2.25rem;
    place-items: center;
    border: 1px solid rgba(255, 212, 61, 0.24);
    border-radius: 50%;
    color: var(--gold);
    background: rgba(255, 212, 61, 0.07);
    font-size: 0.68rem;
    font-weight: 900;
  }

  .nav-links a::after {
    content: "";
    width: 0.48rem;
    height: 0.48rem;
    justify-self: end;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    opacity: 0.45;
    transform: rotate(45deg);
  }

  .nav-links a:hover,
  .nav-links a:focus-visible,
  .nav-links a[aria-current="page"] {
    color: #fff;
    border-color: rgba(255, 212, 61, 0.22);
    background:
      linear-gradient(90deg, rgba(255, 212, 61, 0.12), transparent 72%),
      rgba(255, 255, 255, 0.045);
  }

  .nav-links a[aria-current="page"]::before {
    color: #080808;
    border-color: var(--gold);
    background: linear-gradient(135deg, #fff19a, var(--gold) 55%, var(--amber));
    box-shadow: 0 0 22px rgba(255, 199, 25, 0.24);
  }
}

@media (max-width: 380px) {
  .nav-links {
    padding: 0.5rem;
  }

  .nav-links a {
    min-height: 3.3rem;
    grid-template-columns: 2rem minmax(0, 1fr) 0.7rem;
    padding: 0.6rem 0.7rem;
    font-size: 0.94rem;
  }

  .nav-links a::before {
    width: 2rem;
    height: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-links,
  .nav-links a,
  .site-shell::after {
    transition-duration: 0.01ms !important;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@keyframes loadSlide {
  0% {
    transform: translateX(-105%);
  }
  100% {
    transform: translateX(245%);
  }
}

@keyframes loaderScene {
  0% {
    background-color: #050505;
  }
  72% {
    background-color: #050505;
  }
  100% {
    background-color: #050505;
  }
}

@keyframes cameraHyperzoom {
  0% {
    opacity: 0;
    transform: scale(0.72) translateY(0.8rem);
    filter: blur(8px);
  }
  18% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
  62% {
    opacity: 1;
    transform: scale(1.04) translateY(0);
    filter: blur(0);
  }
  88% {
    opacity: 1;
    transform: scale(5.6) translateY(0);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: scale(9.5) translateY(0);
    filter: blur(10px);
  }
}

@keyframes lensOpen {
  0%,
  38% {
    transform: scale(0.78);
  }
  72% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(7.5);
  }
}

@keyframes lensRipple {
  0%,
  28% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.65);
  }
  48% {
    opacity: 0.75;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.55);
  }
}

@keyframes lensSweep {
  0% {
    transform: rotate(-40deg);
    opacity: 0;
  }
  35% {
    opacity: 1;
  }
  100% {
    transform: rotate(210deg);
    opacity: 0;
  }
}

@keyframes flashBlink {
  0%,
  48% {
    filter: brightness(1);
  }
  54% {
    filter: brightness(2.2);
    box-shadow: 0 0 70px rgba(255, 255, 255, 0.95);
  }
  66%,
  100% {
    filter: brightness(1);
  }
}

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

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

@keyframes phoneFloat {
  0%,
  100% {
    transform: translate(-50%, -50%) rotate(-5deg) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) rotate(-2deg) translateY(-18px);
  }
}

@keyframes wordMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

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

@keyframes cinemaFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -18px;
  }
}

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

@keyframes barPulse {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.28);
  }
}

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

@keyframes liveReelPan {
  0% {
    transform: scale(1.08) translate3d(-2.2%, -1.2%, 0);
  }
  100% {
    transform: scale(1.18) translate3d(2.6%, 1.8%, 0);
  }
}

@keyframes liveReelPanAlt {
  0% {
    transform: scale(1.1) translate3d(2.4%, -1.8%, 0);
  }
  100% {
    transform: scale(1.2) translate3d(-2.8%, 2.4%, 0);
  }
}

@keyframes liveReelTilt {
  0% {
    transform: scale(1.09) translate3d(-1.4%, 1.8%, 0) rotate(-0.8deg);
  }
  100% {
    transform: scale(1.18) translate3d(2.2%, -2.2%, 0) rotate(0.8deg);
  }
}

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

@keyframes reelProgress {
  from {
    transform: translateX(-115%);
  }
  to {
    transform: translateX(250%);
  }
}

@media (max-width: 980px) {
  .nav-inner {
    grid-template-columns: auto 1fr auto;
  }

  .menu-toggle {
    display: block;
    grid-column: 3;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    position: fixed;
    inset: 5.8rem 1rem auto 1rem;
    display: grid;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.25rem;
    background: rgba(5, 5, 5, 0.94);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav-links a {
    padding: 0.95rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  body.menu-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

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

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

  .hero-inner,
  .section-head,
  .contact-layout,
  .ig-layout,
  .process-layout,
  .google-card {
    grid-template-columns: 1fr;
  }

  .ig-profile {
    position: relative;
    top: auto;
    min-height: 440px;
  }

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

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

  .reel-wall,
  .ads-grid,
  .team-grid,
  .service-grid,
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card.pro:nth-child(1),
  .service-card.pro:nth-child(2),
  .service-card.pro:nth-child(3),
  .service-card.pro:nth-child(4),
  .service-card.pro:nth-child(5),
  .service-card.pro:nth-child(6),
  .service-card.pro:nth-child(7),
  .service-card.pro:nth-child(8) {
    grid-column: span 1;
  }

  .service-card.pro:nth-child(6) {
    transform: none;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .ai-cinema {
    min-height: 360px;
  }

  .ai-cinema img {
    width: min(300px, 52vw);
  }

  .ads-console {
    grid-template-columns: 1fr;
  }

  .process-copy {
    position: relative;
    top: auto;
  }

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

  .ai-card,
  .ai-card:nth-child(1),
  .ai-card:nth-child(2),
  .ai-card.wide {
    grid-column: span 1;
  }

  .case-placeholder {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-inner {
    padding: 0.72rem 1rem;
  }

  h1 {
    font-size: clamp(2.3rem, 11vw, 3.6rem);
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.75rem);
  }

  .hero {
    padding-inline: 1rem;
    padding-bottom: 2rem;
  }

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

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

  .phone {
    width: min(250px, 74vw);
  }

  .floating-stat {
    min-width: 7.5rem;
    padding: 0.8rem;
  }

  .floating-stat strong {
    font-size: 1.45rem;
  }

  .stat-one {
    left: 0;
    top: 5%;
  }

  .stat-two {
    right: 0;
    bottom: 7%;
  }

  .campaign-card {
    left: 0;
    bottom: 0;
    width: min(220px, 72vw);
  }

  .section {
    width: min(100% - 1.25rem, var(--max));
    padding: 4rem 0;
  }

  .reel-wall,
  .ads-grid,
  .team-grid,
  .service-grid,
  .services-grid,
  .ai-grid {
    grid-template-columns: 1fr;
  }

  .word-marquee {
    padding: 0.8rem 0;
  }

  .word-track {
    font-size: 1rem;
    gap: 0.9rem;
  }

  .ig-showcase {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(220px, 58vw);
  }

  .ai-cinema {
    min-height: 430px;
  }

  .ai-cinema img {
    width: min(220px, 68vw);
  }

  .ai-cinema img:nth-child(1) {
    left: -8%;
    top: 8%;
  }

  .ai-cinema img:nth-child(2) {
    right: -10%;
    top: 20%;
  }

  .ai-cinema img:nth-child(3) {
    left: 18%;
    bottom: -10%;
  }

  .ig-media-card,
  .ig-media-card.tall,
  .ig-media-card.wide {
    grid-column: auto;
    grid-row: auto;
  }

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

  .ig-profile {
    min-height: auto;
  }

  .process-step {
    min-height: auto;
    padding: 1rem;
  }

  .google-proof .button {
    width: 100%;
  }

  .reel-card.is-raised,
  .reel-card.is-low {
    margin-top: 0;
  }

  .logo-tile {
    width: 152px;
    height: 94px;
  }

  .footer {
    display: grid;
  }

  .whatsapp-float {
    right: 0.85rem;
    bottom: 0.85rem;
    min-height: 3.1rem;
    padding: 0.78rem 0.9rem;
  }

  .whatsapp-float > span:not(.whatsapp-icon) {
    max-width: 7.4rem;
    white-space: nowrap;
  }
}

/* Flow redesign: services, method, AI and ads now share one logic. */
.capability-flow,
.split-lab {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.12fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: start;
}

.flow-index,
.lab-copy {
  position: sticky;
  top: 6.5rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(255, 212, 61, 0.15);
  border-radius: 1.15rem;
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 212, 61, 0.16), transparent 20rem),
    rgba(255, 255, 255, 0.045);
}

.flow-index span,
.lab-points span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.flow-index strong {
  display: block;
  margin-top: 0.8rem;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1;
}

.flow-index p,
.lab-copy p {
  margin: 1rem 0 0;
  color: var(--muted);
}

.flow-list {
  position: relative;
  display: grid;
  gap: 0.75rem;
}

.flow-list::before {
  content: "";
  position: absolute;
  left: 1.45rem;
  top: 1rem;
  bottom: 1rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 212, 61, 0.75), rgba(255, 255, 255, 0.08));
}

.flow-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  min-height: 132px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 1rem;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255, 212, 61, 0.16), transparent 16rem),
    rgba(255, 255, 255, 0.045);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.flow-card span,
.process-step span {
  position: relative;
  z-index: 1;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #080808;
  background: var(--gold);
  font-size: 0.72rem;
  font-weight: 950;
}

.flow-card h3 {
  margin: 0;
}

.flow-card p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.flow-card em {
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
  color: rgba(255, 212, 61, 0.9);
  background: rgba(255, 212, 61, 0.08);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.flow-card.is-active,
.flow-card:hover {
  transform: translateX(0.4rem);
  border-color: rgba(255, 212, 61, 0.42);
  background:
    radial-gradient(circle at 82% 10%, rgba(255, 212, 61, 0.2), transparent 18rem),
    rgba(255, 255, 255, 0.065);
}

.process-layout.method-flow {
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.12fr);
}

.process-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.9rem;
  align-items: start;
}

.process-step h3,
.process-step p {
  grid-column: 2;
}

.process-step span {
  grid-row: 1 / span 2;
}

.split-lab + .word-marquee {
  margin-top: -2rem;
}

.lab-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.lab-points span {
  padding: 0.58rem 0.7rem;
  border: 1px solid rgba(255, 212, 61, 0.16);
  border-radius: 999px;
  background: rgba(255, 212, 61, 0.06);
}

.lab-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(255, 212, 61, 0.14);
  border-radius: 1.2rem;
  background: #080808;
}

.lab-visual::after {
  content: "AI DIRECTION";
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.lab-visual img {
  position: absolute;
  width: 48%;
  height: 58%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.4);
  transition: transform 0.45s ease;
}

.lab-visual img:nth-child(1) {
  left: 4%;
  top: 7%;
}

.lab-visual img:nth-child(2) {
  right: 4%;
  top: 18%;
}

.lab-visual img:nth-child(3) {
  left: 23%;
  bottom: 7%;
  width: 54%;
  height: 42%;
}

.lab-visual:hover img:nth-child(1) {
  transform: translateY(-0.8rem) rotate(-2deg);
}

.lab-visual:hover img:nth-child(2) {
  transform: translateY(0.6rem) rotate(2deg);
}

.ads-system {
  display: grid;
  gap: 1rem;
}

.ads-system .ads-console,
.ads-system .ads-grid {
  margin: 0;
}

.ads-system .ads-grid {
  grid-template-columns: 1fr;
}

.ads-system .ads-card {
  min-height: 150px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.ads-system .ads-card p {
  margin-top: 0.45rem;
}

@media (max-width: 980px) {
  .capability-flow,
  .split-lab,
  .process-layout.method-flow {
    grid-template-columns: 1fr;
  }

  .flow-index,
  .lab-copy {
    position: relative;
    top: auto;
  }

  .lab-visual {
    min-height: 460px;
  }
}

@media (max-width: 640px) {
  .flow-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .flow-card em {
    grid-column: 2;
    justify-self: start;
  }

  .lab-visual {
    min-height: auto;
    display: grid;
    gap: 0.75rem;
    padding: 0.75rem;
  }

  .lab-visual::after {
    position: static;
    justify-self: start;
  }

  .lab-visual img,
  .lab-visual img:nth-child(1),
  .lab-visual img:nth-child(2),
  .lab-visual img:nth-child(3) {
    position: static;
    width: 100%;
    height: 240px;
  }

  .ads-system .ads-card {
    grid-template-columns: 1fr;
  }
}

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

/* Visual recovery pass: one coherent system, fewer competing effects. */
.section {
  padding-block: clamp(4.8rem, 8vw, 7rem);
}

.section-head {
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

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

.services-section::before,
.ai-section::before,
.ads-section::before,
.service-system::before {
  opacity: 0.72;
  filter: blur(48px);
}

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

.service-card.pro,
.service-card.pro:nth-child(1),
.service-card.pro:nth-child(2),
.service-card.pro:nth-child(3),
.service-card.pro:nth-child(4),
.service-card.pro:nth-child(5),
.service-card.pro:nth-child(6),
.service-card.pro:nth-child(7),
.service-card.pro:nth-child(8) {
  grid-column: auto;
  min-height: 250px;
  justify-content: flex-start;
  transform: none;
}

.service-card.pro h3 {
  margin-top: 3.5rem;
}

.service-card.pro::after {
  width: 4.4rem;
  height: 4.4rem;
  opacity: 0.72;
}

.process-section {
  width: min(var(--max), calc(100% - 2rem));
}

.process-layout {
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 4vw, 3rem);
}

.process-copy {
  top: 6.5rem;
}

.process-panel {
  margin-top: 1.4rem;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.process-steps {
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.process-step {
  min-height: 118px;
  padding: 1rem;
  opacity: 0.84;
  transform: none;
}

.process-step.active {
  opacity: 1;
  transform: none;
}

.ai-cinema {
  min-height: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem;
}

.ai-cinema img,
.ai-cinema img:nth-child(1),
.ai-cinema img:nth-child(2),
.ai-cinema img:nth-child(3) {
  position: static;
  width: 100%;
  height: clamp(260px, 28vw, 360px);
  transform: none;
}

.ai-cinema-copy {
  left: 2rem;
  bottom: 2rem;
}

.ai-card,
.ads-card,
.service-card,
.team-card {
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255, 212, 61, 0.14), transparent 16rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
}

.ai-card:hover,
.ads-card:hover,
.service-card:hover {
  transform: translateY(-6px);
}

.ads-console {
  margin: 0 0 1rem;
}

.ads-card {
  min-height: 220px;
}

.service-grid {
  align-items: stretch;
}

.service-grid .service-card,
.service-grid .service-card:nth-child(2),
.service-grid .service-card:nth-child(5) {
  min-height: 220px;
  transform: none;
}

@media (max-width: 980px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-layout,
  .ai-cinema {
    grid-template-columns: 1fr;
  }

  .process-copy {
    position: relative;
    top: auto;
  }

  .ai-cinema img,
  .ai-cinema img:nth-child(1),
  .ai-cinema img:nth-child(2),
  .ai-cinema img:nth-child(3) {
    height: min(58vw, 360px);
  }
}

@media (max-width: 640px) {
  .section {
    width: min(100% - 1.25rem, var(--max));
    padding-block: 4rem;
  }

  .services-grid,
  .ads-console,
  .ads-grid,
  .service-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

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

  .service-card.pro h3 {
    margin-top: 2.7rem;
  }

  .ai-cinema {
    padding: 0.7rem;
  }

  .ai-cinema img,
  .ai-cinema img:nth-child(1),
  .ai-cinema img:nth-child(2),
  .ai-cinema img:nth-child(3) {
    height: 260px;
  }

  .ai-cinema-copy {
    position: static;
    width: 100%;
    margin-top: 0.7rem;
  }
}

/* UI UX Pro Max pass: coherent creative-agency journey with scroll-led motion. */
:root {
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 0.8, 0.24, 1);
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
  transition-delay: calc(var(--reveal-order, 0) * 55ms);
  will-change: opacity, transform;
}

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

.services-section,
.process-section,
.ai-section,
.ads-section,
.service-system {
  isolation: isolate;
}

.services-section .section-head,
.ai-section .lab-copy,
.ads-section .lab-copy,
.service-system .section-head {
  position: relative;
}

.services-section::before,
.ai-section::before,
.ads-section::before,
.service-system::before {
  opacity: 0.42;
  filter: blur(76px);
  background:
    radial-gradient(circle, rgba(255, 212, 61, 0.34), transparent 62%),
    radial-gradient(circle at 68% 38%, rgba(255, 159, 28, 0.18), transparent 48%);
  transform: translateX(-50%) translateY(calc((var(--section-progress, 0) - 0.5) * 70px));
}

.ux-system {
  grid-template-columns: minmax(300px, 0.74fr) minmax(0, 1.12fr);
  align-items: start;
}

.flow-index {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-color: rgba(255, 212, 61, 0.24);
  background:
    linear-gradient(145deg, rgba(255, 212, 61, 0.13), rgba(255, 255, 255, 0.035) 42%, rgba(255, 159, 28, 0.08)),
    rgba(10, 10, 8, 0.72);
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.34);
}

.flow-index::before {
  content: "";
  position: absolute;
  inset: -20% -35% auto auto;
  width: 23rem;
  height: 23rem;
  border-radius: 999px;
  background: rgba(255, 212, 61, 0.18);
  filter: blur(48px);
  transform: translate3d(calc(var(--section-progress, 0) * -28px), calc(var(--section-progress, 0) * 52px), 0);
}

.flow-index strong {
  max-width: 13ch;
  font-size: clamp(2rem, 3.75vw, 4.05rem);
}

.flow-index p {
  max-width: 36ch;
  font-size: 1rem;
}

.flow-orbit {
  position: relative;
  width: min(320px, 100%);
  aspect-ratio: 1;
  margin-top: 2.5rem;
  border: 1px solid rgba(255, 212, 61, 0.18);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 212, 61, 0.12), transparent 62%);
  transform: rotate(calc(var(--section-progress, 0) * 36deg));
}

.flow-orbit::before,
.flow-orbit::after {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: inherit;
}

.flow-orbit::after {
  inset: 35%;
}

.flow-orbit i {
  position: absolute;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 28px rgba(255, 212, 61, 0.85);
}

.flow-orbit i:nth-child(1) {
  top: 10%;
  left: 48%;
}

.flow-orbit i:nth-child(2) {
  right: 15%;
  bottom: 26%;
}

.flow-orbit i:nth-child(3) {
  left: 17%;
  bottom: 30%;
}

.flow-list {
  gap: 1rem;
  padding-left: 0.35rem;
}

.flow-list::before {
  left: 1.86rem;
  top: 1.6rem;
  bottom: 1.6rem;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), rgba(255, 212, 61, 0.26), rgba(255, 255, 255, 0.04));
  transform-origin: top;
  transform: scaleY(max(0.08, var(--section-progress, 0)));
}

.flow-card {
  min-height: 118px;
  padding: 1.05rem 1.1rem;
  border-radius: 1.15rem;
  border-color: rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(90deg, rgba(255, 212, 61, 0.11), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.22);
  transform: translate3d(calc((1 - var(--section-progress, 0)) * 18px), 0, 0);
}

.flow-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 82% 18%, rgba(255, 212, 61, 0.22), transparent 28%);
  opacity: 0;
  transition: opacity 0.3s var(--ease-soft);
  pointer-events: none;
}

.flow-card span,
.process-step span {
  box-shadow: 0 0 0 6px rgba(255, 212, 61, 0.08), 0 16px 34px rgba(255, 212, 61, 0.18);
}

.flow-card p {
  max-width: 56ch;
}

.flow-card.is-active,
.flow-card:hover {
  transform: translate3d(0.55rem, 0, 0);
  border-color: rgba(255, 212, 61, 0.5);
  box-shadow: 0 28px 100px rgba(255, 212, 61, 0.1);
}

.flow-card.is-active::after,
.flow-card:hover::after {
  opacity: 1;
}

.service-playground {
  position: relative;
  overflow: hidden;
  min-height: clamp(520px, 54vw, 650px);
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.12fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  padding: clamp(1rem, 2.4vw, 1.6rem);
  border: 1px solid rgba(255, 212, 61, 0.2);
  border-radius: 1.6rem;
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 212, 61, 0.28), transparent 22rem),
    radial-gradient(circle at 16% 80%, rgba(255, 159, 28, 0.16), transparent 24rem),
    linear-gradient(145deg, rgba(255, 212, 61, 0.12), rgba(255, 255, 255, 0.035) 45%, rgba(5, 5, 5, 0.48)),
    rgba(10, 10, 8, 0.78);
  box-shadow: 0 36px 130px rgba(0, 0, 0, 0.38);
}

.service-playground::before {
  content: "";
  position: absolute;
  inset: auto -14% -26% 12%;
  height: 44%;
  border-radius: 999px;
  background: rgba(255, 212, 61, 0.17);
  filter: blur(76px);
  transform: translateY(calc((var(--section-progress, 0) - 0.5) * -54px));
  pointer-events: none;
}

.service-playground-copy {
  position: relative;
  z-index: 2;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-playground-copy > span,
.service-system-card span {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-playground-copy strong {
  display: block;
  max-width: 10.5ch;
  margin-top: 0.8rem;
  color: #fffaf0;
  font-size: clamp(2.25rem, 4.4vw, 4.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.service-playground-copy p {
  max-width: 34rem;
  margin: 1.15rem 0 1.45rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.16rem);
}

.service-capsule-board {
  position: relative;
  min-height: clamp(440px, 46vw, 590px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.35rem;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 68% 30%, rgba(255, 212, 61, 0.16), transparent 18rem),
    rgba(0, 0, 0, 0.24);
  background-size: 42px 42px, 42px 42px, auto, auto;
  touch-action: none;
}

.service-capsule-board::after {
  content: "Trascina le capsule";
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 1;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
}

.service-capsule {
  position: absolute;
  left: calc(var(--x, 20) * 1%);
  top: calc(var(--y, 20) * 1%);
  z-index: 3;
  min-width: clamp(10rem, 15vw, 14.5rem);
  min-height: 4.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  color: #080808;
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.9), transparent 42%),
    linear-gradient(135deg, #fff9d5, var(--gold) 48%, var(--amber));
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.34),
    0 0 50px rgba(255, 212, 61, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  font: inherit;
  cursor: grab;
  user-select: none;
  transform: translate3d(0, 0, 0) rotate(calc(var(--r, 0) * 1deg));
  transition: box-shadow 0.25s ease, filter 0.25s ease;
  will-change: transform, left, top;
}

.service-capsule span {
  color: #080808;
  font-size: clamp(1.05rem, 1.75vw, 1.65rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.service-capsule.is-large {
  min-width: clamp(13rem, 19vw, 18rem);
}

.service-capsule.is-wide {
  min-width: clamp(15rem, 23vw, 21rem);
}

.service-capsule:hover,
.service-capsule.is-dragging {
  z-index: 8;
  filter: saturate(1.08);
  box-shadow:
    0 26px 82px rgba(0, 0, 0, 0.44),
    0 0 70px rgba(255, 212, 61, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.service-capsule.is-dragging {
  cursor: grabbing;
}

.service-system-card {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 1rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
  pointer-events: none;
}

.service-system-card strong {
  display: block;
  max-width: 26rem;
  margin-top: 0.32rem;
  color: #fffaf0;
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  line-height: 1.05;
}

.film-service-machine {
  position: relative;
  min-height: clamp(500px, 46vw, 610px);
  overflow: hidden;
  border: 1px solid rgba(255, 212, 61, 0.2);
  border-radius: 1.35rem;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 70% 20%, rgba(255, 212, 61, 0.22), transparent 20rem),
    rgba(0, 0, 0, 0.28);
  background-size: 42px 42px, 42px 42px, auto, auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 28px 90px rgba(0, 0, 0, 0.28);
}

.film-service-machine::before {
  content: "";
  position: absolute;
  inset: 8% -18% auto auto;
  width: 52%;
  height: 52%;
  border-radius: 999px;
  background: rgba(255, 212, 61, 0.18);
  filter: blur(74px);
  pointer-events: none;
}

.film-camera {
  position: absolute;
  left: clamp(1rem, 4vw, 2rem);
  top: clamp(1.4rem, 5vw, 3rem);
  z-index: 3;
  width: min(300px, 46%);
  filter: drop-shadow(0 32px 80px rgba(0, 0, 0, 0.46));
}

.film-camera-top {
  width: 62%;
  height: 2.1rem;
  margin-left: 12%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 0;
  border-radius: 1rem 1rem 0 0;
  background: linear-gradient(135deg, #1c1c1a, #0a0a09);
}

.film-camera-body {
  position: relative;
  height: clamp(165px, 18vw, 230px);
  border: 1px solid rgba(255, 212, 61, 0.2);
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at 52% 54%, rgba(255, 212, 61, 0.12), transparent 7rem),
    linear-gradient(145deg, #161614, #070707 62%, #191203);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -18px 40px rgba(255, 159, 28, 0.08);
}

.film-reel {
  position: absolute;
  top: 1.05rem;
  width: 3.4rem;
  aspect-ratio: 1;
  border: 7px solid rgba(255, 212, 61, 0.95);
  border-radius: 999px;
  background:
    radial-gradient(circle, #080808 0 24%, transparent 25%),
    conic-gradient(from 0deg, rgba(255, 212, 61, 0.15), rgba(255, 212, 61, 0.92), rgba(255, 212, 61, 0.15), rgba(255, 212, 61, 0.92), rgba(255, 212, 61, 0.15));
  animation: filmReelSpin 3.2s linear infinite;
}

.film-reel.left {
  left: 1.1rem;
}

.film-reel.right {
  right: 1.1rem;
  animation-direction: reverse;
}

.film-lens {
  position: absolute;
  left: 50%;
  top: 52%;
  width: clamp(82px, 9vw, 116px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 10px solid #ffd43d;
  border-radius: 999px;
  background:
    radial-gradient(circle at 36% 32%, rgba(255, 255, 255, 0.5), transparent 14%),
    radial-gradient(circle, #111 0 42%, #020202 43%);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 60px rgba(255, 212, 61, 0.22), inset 0 0 30px rgba(0, 0, 0, 0.9);
}

.film-lens i {
  width: 48%;
  aspect-ratio: 1;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 30%, #ffe98a, #121212 38%, #000);
  animation: lensPulse 2.8s ease-in-out infinite;
}

.film-flash {
  position: absolute;
  right: 1.15rem;
  bottom: 1.25rem;
  width: 2.6rem;
  height: 1.15rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #fff7bf, var(--gold));
  box-shadow: 0 0 0 rgba(255, 244, 175, 0);
}

.film-flash.is-firing {
  animation: filmFlash 0.52s ease-out both;
}

.film-camera.is-shooting {
  animation: cameraShutter 0.52s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.film-strip-viewport {
  position: absolute;
  left: clamp(1rem, 5vw, 2.8rem);
  right: clamp(1rem, 4vw, 2rem);
  top: clamp(245px, 25vw, 300px);
  z-index: 2;
  height: 10.4rem;
  overflow: hidden;
  padding-block: 0.8rem;
}

.film-strip {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transform: translateX(var(--film-shift, 0));
  transition: transform 0.65s var(--ease-soft);
  will-change: transform;
}

.film-strip-viewport::before,
.film-strip-viewport::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 8;
  height: 0.62rem;
  background:
    repeating-linear-gradient(90deg, rgba(255, 212, 61, 0.9) 0 0.55rem, transparent 0.55rem 1.05rem),
    rgba(0, 0, 0, 0.82);
  border-radius: 999px;
  box-shadow: 0 0 22px rgba(255, 212, 61, 0.12);
  pointer-events: none;
}

.film-strip-viewport::before {
  top: 0;
}

.film-strip-viewport::after {
  bottom: 0;
}

.film-card {
  position: relative;
  min-width: clamp(190px, 20vw, 250px);
  height: 8.8rem;
  padding: 1rem;
  border: 1px solid rgba(255, 212, 61, 0.2);
  border-radius: 0.95rem;
  color: #fffaf0;
  background:
    linear-gradient(135deg, rgba(255, 212, 61, 0.14), rgba(255, 255, 255, 0.045)),
    rgba(10, 10, 9, 0.88);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.36);
  font: inherit;
  text-align: left;
  cursor: pointer;
  opacity: 0.58;
  transform: scale(0.92);
  transition: transform 0.4s var(--ease-soft), opacity 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.film-card.is-active {
  z-index: 5;
  opacity: 1;
  transform: scale(1.08) translateY(-0.5rem);
  border-color: rgba(255, 212, 61, 0.56);
  box-shadow: 0 30px 100px rgba(255, 212, 61, 0.18), 0 26px 80px rgba(0, 0, 0, 0.48);
}

.film-card span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.film-card strong {
  display: block;
  margin-top: 0.55rem;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1;
}

.film-card p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.25;
}

.film-service-panel {
  position: absolute;
  right: clamp(1rem, 4vw, 2rem);
  bottom: clamp(1rem, 3vw, 1.5rem);
  z-index: 5;
  width: min(360px, calc(100% - 2rem));
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(18px);
}

.film-service-panel span {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.film-service-panel strong {
  display: block;
  margin-top: 0.35rem;
  color: #fffaf0;
  font-size: 1.35rem;
  line-height: 1;
}

.film-service-panel p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.film-controls {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.film-controls button {
  width: 2.55rem;
  height: 2.55rem;
  border: 1px solid rgba(255, 212, 61, 0.22);
  border-radius: 999px;
  color: #080808;
  background: linear-gradient(135deg, #fff5b8, var(--gold));
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
}

@keyframes filmReelSpin {
  to {
    rotate: 360deg;
  }
}

@keyframes lensPulse {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.72;
  }
  50% {
    transform: scale(1.06);
    opacity: 1;
  }
}

@keyframes filmFlash {
  0% {
    filter: brightness(1);
    box-shadow: 0 0 0 rgba(255, 244, 175, 0);
  }
  12% {
    filter: brightness(2.8);
    box-shadow:
      0 0 24px 12px rgba(255, 248, 204, 0.95),
      0 0 90px 42px rgba(255, 212, 61, 0.58);
  }
  36% {
    filter: brightness(1.35);
    box-shadow: 0 0 38px 14px rgba(255, 212, 61, 0.36);
  }
  100% {
    filter: brightness(1);
    box-shadow: 0 0 0 rgba(255, 244, 175, 0);
  }
}

@keyframes cameraShutter {
  0%,
  100% {
    filter: drop-shadow(0 32px 80px rgba(0, 0, 0, 0.46));
  }
  18% {
    filter:
      brightness(1.18)
      drop-shadow(0 0 34px rgba(255, 212, 61, 0.46))
      drop-shadow(0 32px 80px rgba(0, 0, 0, 0.46));
  }
}

.custom-section {
  position: relative;
  isolation: isolate;
}

.custom-section::before {
  content: "";
  position: absolute;
  inset: 4rem auto auto 50%;
  z-index: -1;
  width: min(58rem, 88vw);
  height: min(58rem, 88vw);
  border-radius: 999px;
  opacity: 0.46;
  background:
    radial-gradient(circle, rgba(255, 212, 61, 0.34), transparent 58%),
    radial-gradient(circle at 30% 70%, rgba(255, 159, 28, 0.18), transparent 48%);
  filter: blur(78px);
  transform: translateX(-50%) translateY(calc((var(--section-progress, 0) - 0.5) * 62px));
}

.custom-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.74fr);
  gap: clamp(1.2rem, 5vw, 4rem);
  align-items: center;
}

.custom-copy {
  position: relative;
  z-index: 2;
}

.custom-copy h2 {
  max-width: 10.5ch;
}

.custom-copy > p:not(.kicker) {
  max-width: 680px;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
}

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

.custom-showcase {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(255, 212, 61, 0.18);
  border-radius: 1.35rem;
  background:
    linear-gradient(145deg, rgba(255, 212, 61, 0.08), rgba(255, 255, 255, 0.035) 44%, rgba(255, 159, 28, 0.07)),
    rgba(255, 255, 255, 0.045);
  box-shadow:
    0 34px 120px rgba(0, 0, 0, 0.34),
    0 0 90px rgba(255, 190, 24, 0.08);
}

.custom-showcase::before {
  content: "";
  position: absolute;
  inset: -18% -16% auto auto;
  z-index: 2;
  width: 54%;
  height: 48%;
  border-radius: 999px;
  background: rgba(255, 212, 61, 0.22);
  filter: blur(72px);
  pointer-events: none;
}

.custom-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), transparent 36%, rgba(0, 0, 0, 0.72)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.35), transparent 52%);
  pointer-events: none;
}

.custom-photo-slider {
  position: absolute;
  inset: 0;
  transform: translate3d(0, calc((var(--section-progress, 0) - 0.5) * -26px), 0);
  will-change: transform;
}

.custom-photo-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08) translateX(7%);
  filter: saturate(1.06) contrast(1.06);
  animation: customPhotoSlide 50s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.custom-photo-slider img:nth-child(2) { animation-delay: 5s; }
.custom-photo-slider img:nth-child(3) { animation-delay: 10s; }
.custom-photo-slider img:nth-child(4) { animation-delay: 15s; }
.custom-photo-slider img:nth-child(5) { animation-delay: 20s; }
.custom-photo-slider img:nth-child(6) { animation-delay: 25s; }
.custom-photo-slider img:nth-child(7) { animation-delay: 30s; }
.custom-photo-slider img:nth-child(8) { animation-delay: 35s; }
.custom-photo-slider img:nth-child(9) { animation-delay: 40s; }
.custom-photo-slider img:nth-child(10) { animation-delay: 45s; }

.custom-showcase-label {
  position: absolute;
  z-index: 4;
  left: clamp(1rem, 4vw, 2rem);
  right: clamp(1rem, 4vw, 2rem);
  bottom: clamp(1rem, 4vw, 2rem);
  max-width: 26rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045)),
    rgba(0, 0, 0, 0.54);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
}

.custom-showcase-label span {
  display: block;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.custom-showcase-label strong {
  display: block;
  max-width: 18rem;
  margin-top: 0.35rem;
  color: #fffaf0;
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  line-height: 1.05;
}

.custom-slider-dots {
  position: absolute;
  z-index: 4;
  top: 1.2rem;
  right: 1.2rem;
  display: flex;
  gap: 0.35rem;
}

.custom-slider-dots span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 18px rgba(255, 212, 61, 0.35);
  animation: customDotPulse 5s ease infinite;
}

.custom-slider-dots span:nth-child(2) { animation-delay: 1.25s; }
.custom-slider-dots span:nth-child(3) { animation-delay: 2.5s; }
.custom-slider-dots span:nth-child(4) { animation-delay: 3.75s; }

@keyframes customPhotoSlide {
  0% {
    opacity: 0;
    transform: scale(1.08) translateX(7%);
  }
  2.5%,
  9% {
    opacity: 1;
  }
  10% {
    opacity: 0;
    transform: scale(1.02) translateX(-5%);
  }
  100% {
    opacity: 0;
    transform: scale(1.02) translateX(-5%);
  }
}

@keyframes customDotPulse {
  0%,
  100% {
    background: rgba(255, 255, 255, 0.45);
    transform: scale(1);
  }
  20%,
  45% {
    background: var(--gold);
    transform: scale(1.32);
  }
}

.custom-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: clamp(1rem, 3vw, 1.4rem);
}

.custom-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  padding: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 1.15rem;
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 212, 61, 0.14), transparent 16rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.03));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  transition: transform 0.3s var(--ease-soft), border-color 0.3s ease;
}

.custom-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 212, 61, 0.42);
}

.custom-card span {
  display: inline-block;
  color: transparent;
  background: linear-gradient(135deg, #fff7b8, var(--gold) 42%, var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(0.98rem, 1.45vw, 1.38rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
}

.custom-card h3 {
  margin-top: 0.95rem;
}

.custom-card p {
  margin: 0.9rem 0 0;
  color: var(--muted);
}

.process-layout.method-flow {
  align-items: stretch;
}

.process-copy {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.process-copy h2 {
  max-width: 11.5ch;
}

.process-panel {
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at calc(35% + var(--section-progress, 0) * 40%) 0%, rgba(255, 212, 61, 0.26), transparent 18rem),
    linear-gradient(135deg, rgba(255, 212, 61, 0.12), rgba(255, 255, 255, 0.04));
}

.process-meter i {
  width: calc(var(--process, 0.16) * 100%);
  transition: width 0.25s var(--ease-soft);
}

.process-steps {
  padding: 0.5rem 0;
}

.process-step {
  min-height: 132px;
  border-radius: 1.15rem;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(8, 8, 8, 0.72);
  opacity: 0.48;
  filter: saturate(0.78);
  transform: translate3d(0, 20px, 0) scale(0.985);
}

.process-step.active {
  opacity: 1;
  filter: saturate(1);
  transform: translate3d(0, 0, 0) scale(1);
}

.process-step.active::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 212, 61, 0.16), transparent 45%);
  pointer-events: none;
}

.cinematic-lab,
.performance-lab {
  min-height: 620px;
}

.lab-copy {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 1.35rem;
}

.lab-copy h2 {
  max-width: 11.5ch;
}

.lab-points span {
  color: rgba(255, 255, 255, 0.82);
  border-color: rgba(255, 212, 61, 0.18);
}

.lab-visual {
  min-height: 620px;
  display: grid;
  grid-template-columns: 1fr 0.76fr;
  grid-template-rows: 1fr 0.64fr;
  gap: 0.9rem;
  padding: 0.9rem;
  overflow: hidden;
  border-radius: 1.35rem;
  border-color: rgba(255, 212, 61, 0.2);
  background:
    radial-gradient(circle at 48% 12%, rgba(255, 212, 61, 0.16), transparent 24rem),
    #070707;
}

.lab-visual::after {
  display: none;
}

.lab-frame {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
  transform: translate3d(0, calc((var(--section-progress, 0) - 0.5) * -26px), 0);
}

.lab-frame.main {
  grid-row: span 2;
  transform: translate3d(0, calc((var(--section-progress, 0) - 0.5) * -38px), 0) rotate(-1.4deg);
}

.lab-frame.side {
  transform: translate3d(0, calc((var(--section-progress, 0) - 0.5) * 30px), 0) rotate(1.2deg);
}

.lab-frame.strip {
  transform: translate3d(0, calc((var(--section-progress, 0) - 0.5) * -18px), 0);
}

.lab-frame img,
.lab-visual .lab-frame img,
.lab-visual .lab-frame:nth-child(1) img,
.lab-visual .lab-frame:nth-child(2) img,
.lab-visual .lab-frame:nth-child(3) img {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.lab-frame figcaption {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  z-index: 2;
  padding: 0.58rem 0.78rem;
  border-radius: 999px;
  color: #080808;
  background: linear-gradient(135deg, #fff6bd, var(--gold));
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lab-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 36%, rgba(0, 0, 0, 0.52)),
    radial-gradient(circle at 18% 14%, rgba(255, 212, 61, 0.18), transparent 32%);
  pointer-events: none;
}

.ads-system {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.ads-console {
  grid-template-columns: 1fr;
}

.ads-console div {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background:
    linear-gradient(90deg, rgba(255, 212, 61, 0.08), transparent),
    rgba(255, 255, 255, 0.045);
}

.ads-console i {
  width: var(--w);
  min-width: 2rem;
  transform: scaleX(max(0.14, var(--section-progress, 1)));
  transform-origin: left center;
}

.ads-system .ads-grid {
  gap: 0.85rem;
}

.ads-system .ads-card {
  min-height: 138px;
  border-radius: 1.15rem;
  transform: translate3d(calc((1 - var(--section-progress, 0)) * 18px), 0, 0);
}

.ads-system .ads-card:nth-child(2) {
  transform: translate3d(calc((1 - var(--section-progress, 0)) * -14px), 0, 0);
}

.ads-system .ads-card h3 {
  line-height: 1.06;
}

.service-system {
  padding-top: clamp(3.8rem, 7vw, 6rem);
}

.service-system .section-head {
  max-width: 760px;
}

.geo-line {
  margin-bottom: 1.4rem;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

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

.service-grid .service-card,
.service-grid .service-card:nth-child(2),
.service-grid .service-card:nth-child(5) {
  grid-column: span 2;
  min-height: 190px;
  justify-content: space-between;
  border-radius: 1.15rem;
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 212, 61, 0.13), transparent 16rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.026));
  transform: none;
}

.service-grid .service-card:hover {
  transform: translate3d(0, -6px, 0);
}

.service-grid .service-card::after {
  inset: auto 1rem 1rem auto;
  width: 3.6rem;
  height: 3.6rem;
  opacity: 0.75;
}

@media (max-width: 980px) {
  .ux-system,
  .custom-layout,
  .cinematic-lab,
  .performance-lab,
  .process-layout.method-flow {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .flow-index,
  .process-copy,
  .lab-copy {
    position: relative;
    top: auto;
    min-height: auto;
  }

  .flow-index strong,
  .process-copy h2,
  .lab-copy h2 {
    max-width: 12ch;
  }

  .flow-orbit {
    display: none;
  }

  .lab-visual {
    min-height: 520px;
  }

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

  .reel-3d-showcase {
    min-height: 620px;
  }

  .reel-3d-stage {
    min-height: 520px;
  }

  .reel-3d-card {
    width: clamp(170px, 34vw, 260px);
  }

  .service-playground {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .service-playground-copy {
    min-height: auto;
  }

  .service-playground-copy strong {
    max-width: 12ch;
  }

  .service-capsule-board {
    min-height: 520px;
  }

  .film-service-machine {
    min-height: 650px;
  }

  .film-camera {
    width: min(280px, 58%);
  }

  .film-strip-viewport {
    top: 285px;
  }

  .custom-showcase {
    min-height: 460px;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-copy h2 {
    max-width: 12ch;
  }

  .service-grid .service-card,
  .service-grid .service-card:nth-child(2),
  .service-grid .service-card:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .section-head > p:not(.kicker),
  .hero-copy > p:not(.kicker),
  .contact-copy > p:not(.kicker) {
    font-size: 1rem;
    line-height: 1.55;
  }

  .contact-layout {
    padding: 0.8rem;
    border-radius: 1.25rem;
  }

  .contact-copy {
    padding: 0.5rem;
  }

  .contact-copy h2 {
    font-size: clamp(2.35rem, 12vw, 3.35rem);
  }

  .contact-promise,
  .contact-links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 1rem;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .project-options {
    gap: 0.4rem;
  }

  .project-options label {
    flex: 1 1 calc(33.333% - 0.4rem);
  }

  .project-options span {
    text-align: center;
  }

  .flow-card,
  .ads-system .ads-card {
    transform: none;
  }

  .flow-card.is-active,
  .flow-card:hover {
    transform: none;
  }

  .flow-card em {
    font-size: 0.68rem;
  }

  .reel-3d-showcase {
    min-height: 510px;
    padding-top: 0;
  }

  .reel-3d-stage {
    min-height: 420px;
  }

  .reel-3d-card {
    width: min(62vw, 230px);
  }

  .reel-3d-card.is-active {
    --ty: -8px;
    --scale: 1.02;
  }

  .reel-3d-card.is-prev {
    --tx: -42vw;
    --ty: 34px;
    --scale: 0.74;
    --ry: 30deg;
  }

  .reel-3d-card.is-next {
    --tx: 42vw;
    --ty: 34px;
    --scale: 0.74;
    --ry: -30deg;
  }

  .reel-3d-card.is-far-prev,
  .reel-3d-card.is-far-next {
    opacity: 0;
    pointer-events: none;
  }

  .reel-3d-controls {
    gap: 0.65rem;
  }

  .reel-3d-controls button {
    width: 3rem;
    height: 3rem;
  }

  .service-playground {
    gap: 1rem;
    padding: 0.7rem;
    border-radius: 1.25rem;
  }

  .services-section .section-head {
    margin-bottom: 1.5rem;
  }

  .services-section .section-head h2 {
    max-width: 11ch;
    font-size: clamp(2.35rem, 11.5vw, 3.35rem);
    line-height: 0.94;
  }

  .service-playground-copy {
    padding: 0.65rem 0.5rem 0.4rem;
  }

  .service-playground-copy strong {
    max-width: 12ch;
    margin-top: 0.55rem;
    font-size: clamp(2.15rem, 10.5vw, 3rem);
    line-height: 0.95;
  }

  .service-playground-copy p {
    margin: 0.85rem 0 1.1rem;
    font-size: 1rem;
    line-height: 1.5;
  }

  .service-playground-copy .button {
    width: 100%;
  }

  .service-capsule-board {
    min-height: auto;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 0.65rem;
    padding: 0.75rem;
    touch-action: auto;
  }

  .service-capsule-board::after {
    content: "Sistema servizi";
    position: relative;
    inset: auto;
    width: 100%;
    order: -2;
    margin: 0 0 0.25rem;
  }

  .service-capsule,
  .service-capsule.is-large,
  .service-capsule.is-wide {
    position: relative;
    left: auto;
    top: auto;
    min-width: 0;
    width: 100%;
    min-height: 3.65rem;
    padding: 0.85rem 1rem;
    transform: none;
  }

  .service-capsule span {
    font-size: 1.05rem;
  }

  .service-system-card {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 0.25rem;
  }

  .film-service-machine {
    min-height: 630px;
    border-radius: 1rem;
  }

  .film-camera {
    left: 50%;
    top: 0.85rem;
    width: min(225px, 74%);
    transform: translateX(-50%);
  }

  .film-camera-body {
    height: 162px;
  }

  .film-camera-top {
    height: 1.7rem;
  }

  .film-reel {
    width: 2.85rem;
    border-width: 6px;
  }

  .film-lens {
    width: 78px;
    border-width: 8px;
  }

  .film-flash {
    right: 0.85rem;
    bottom: 0.9rem;
    width: 2.25rem;
    height: 0.95rem;
  }

  .film-strip-viewport {
    left: 0.65rem;
    right: 0.65rem;
    top: 226px;
    height: 8.9rem;
    padding-block: 0.68rem;
  }

  .film-strip-viewport::before,
  .film-strip-viewport::after {
    height: 0.48rem;
  }

  .film-card {
    min-width: min(72vw, 218px);
    height: 7.4rem;
    padding: 0.8rem;
  }

  .film-card.is-active {
    transform: scale(1.015);
  }

  .film-service-panel {
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.65rem;
    width: auto;
    padding: 0.9rem;
  }

  .film-service-panel strong {
    font-size: 1.2rem;
  }

  .film-service-panel p {
    min-height: 3.9em;
    font-size: 0.92rem;
    line-height: 1.42;
  }

  .film-controls button {
    width: 2.75rem;
    height: 2.75rem;
  }

  .process-step {
    min-height: auto;
  }

  .lab-visual {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .custom-copy h2 {
    max-width: 12ch;
  }

  .custom-actions,
  .custom-actions .button {
    width: 100%;
  }

  .custom-showcase {
    min-height: 390px;
  }

  .custom-showcase-label {
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.85rem;
    padding: 0.9rem;
  }

  .custom-slider-dots {
    top: 0.9rem;
    right: 0.9rem;
  }

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

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

  .lab-frame,
  .lab-frame.main,
  .lab-frame.side,
  .lab-frame.strip {
    grid-row: auto;
    min-height: 250px;
    transform: none;
  }

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

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

  .reveal,
  .reveal.is-visible,
  .flow-card,
  .process-step,
  .lab-frame,
  .ads-system .ads-card {
    opacity: 1 !important;
    transform: none !important;
  }

  .custom-photo-slider img {
    opacity: 0 !important;
    transform: none !important;
  }

  .custom-photo-slider img:first-child {
    opacity: 1 !important;
  }
}

/* Mobile stabilization: one predictable composition across iOS and Android. */
@media (max-width: 640px) {
  body {
    min-width: 0;
  }

  main,
  main > section,
  .hero-inner,
  .section > *,
  .ig-layout > *,
  .custom-layout > *,
  .process-layout > *,
  .split-lab > *,
  .contact-layout > * {
    min-width: 0;
    max-width: 100%;
  }

  .nav {
    top: max(0.6rem, env(safe-area-inset-top));
    left: 0.65rem;
    right: 0.65rem;
    width: auto;
    transform: none;
  }

  .nav-inner {
    min-height: 3.65rem;
    padding: 0.55rem 0.7rem;
  }

  .brand img {
    width: 7rem;
  }

  .menu-toggle {
    width: 2.75rem;
    height: 2.75rem;
  }

  .nav-links {
    inset: calc(4.8rem + env(safe-area-inset-top)) 0.65rem auto;
    max-height: calc(100dvh - 6rem);
    overflow-y: auto;
  }

  .hero {
    min-height: auto;
    padding: 6.25rem 0.75rem 2.5rem;
  }

  .hero-inner {
    gap: 1.2rem;
  }

  .hero-copy h1 {
    max-width: 10ch;
    font-size: clamp(2.35rem, 12vw, 3.05rem);
    line-height: 0.94;
  }

  .hero-copy > p:not(.kicker) {
    margin-top: 1rem;
  }

  .hero-actions {
    margin-top: 1.25rem;
  }

  .hero-actions .button {
    min-height: 3.15rem;
  }

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

  .phone {
    width: min(215px, 66vw);
    border-radius: 1.7rem;
  }

  .floating-stat {
    min-width: 0;
    padding: 0.65rem 0.72rem;
  }

  .floating-stat strong {
    font-size: 1.2rem;
  }

  .floating-stat span {
    font-size: 0.62rem;
  }

  .stat-one {
    left: 0;
    top: 7%;
  }

  .stat-two {
    right: 0;
    bottom: 8%;
  }

  .campaign-card {
    display: none;
  }

  .section {
    padding-block: 3.25rem;
    scroll-margin-top: 5.5rem;
  }

  .section-head {
    margin-bottom: 1.65rem;
  }

  .section-head h2,
  .ig-profile h2,
  .custom-copy h2,
  .process-copy h2,
  .lab-copy h2,
  .google-card h2 {
    max-width: 12ch;
    font-size: clamp(2rem, 10.5vw, 2.7rem);
    line-height: 0.96;
  }

  .reel-3d-showcase {
    min-height: 485px;
  }

  .reel-3d-stage {
    min-height: 395px;
  }

  .reel-3d-card {
    width: min(61vw, 218px);
    transition-duration: 0.52s;
  }

  .reel-3d-card.is-active {
    --ty: 0px;
    --scale: 1;
  }

  .reel-3d-card.is-prev {
    --tx: -39vw;
    --ty: 32px;
    --scale: 0.7;
    --ry: 28deg;
  }

  .reel-3d-card.is-next {
    --tx: 39vw;
    --ty: 32px;
    --scale: 0.7;
    --ry: -28deg;
  }

  .reel-3d-card.is-far-prev,
  .reel-3d-card.is-far-next,
  .reel-3d-card.is-hidden {
    visibility: hidden;
  }

  .reel-3d-controls {
    margin-top: 0.4rem;
  }

  .center-cta {
    margin-top: 1.25rem;
  }

  .ig-layout {
    gap: 0.85rem;
  }

  .ig-profile {
    min-height: auto;
    padding: 1.1rem;
    justify-content: flex-start;
  }

  .ig-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
    margin: 1rem 0;
  }

  .ig-stats span {
    min-width: 0;
    padding: 0.65rem 0.45rem;
    text-align: center;
  }

  .ig-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 0.55rem;
  }

  .ig-media-card,
  .ig-media-card.tall,
  .ig-media-card.wide {
    aspect-ratio: 4 / 5;
    transform: none;
  }

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

  .services-section .section-head h2 {
    font-size: clamp(2rem, 10.5vw, 2.7rem);
  }

  .film-service-machine {
    min-height: 590px;
  }

  .custom-layout {
    gap: 1rem;
  }

  .custom-copy > p:not(.kicker) {
    margin-top: 0.9rem;
  }

  .custom-showcase {
    min-height: 350px;
  }

  .custom-grid {
    gap: 0.65rem;
  }

  .custom-card {
    padding: 1rem;
  }

  .custom-card h3 {
    margin-top: 0.55rem;
  }

  .custom-card p {
    margin-top: 0.55rem;
  }

  .process-layout {
    gap: 1rem;
  }

  .process-copy {
    min-height: auto;
  }

  .process-panel {
    margin-top: 1.2rem;
  }

  .process-steps {
    gap: 0.6rem;
  }

  .process-step {
    min-height: 0;
    padding: 0.95rem;
  }

  .process-step h3 {
    margin-top: 0.75rem;
  }

  .cinematic-lab,
  .performance-lab {
    min-height: auto;
    gap: 0.85rem;
  }

  .lab-copy {
    min-height: auto;
    padding: 1rem;
  }

  .lab-visual {
    min-height: 420px;
    height: 420px;
    grid-template-columns: 1.08fr 0.78fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0.5rem;
  }

  .lab-frame,
  .lab-frame.main,
  .lab-frame.side,
  .lab-frame.strip {
    min-height: 0;
    transform: none;
  }

  .lab-frame.main {
    grid-row: span 2;
  }

  .lab-frame.side,
  .lab-frame.strip {
    grid-row: auto;
  }

  .lab-frame figcaption {
    left: 0.45rem;
    bottom: 0.45rem;
    padding: 0.45rem 0.55rem;
    font-size: 0.61rem;
  }

  .ads-system {
    gap: 0.65rem;
  }

  .ads-console {
    gap: 0.5rem;
  }

  .ads-system .ads-card {
    min-height: 0;
    padding: 0.95rem;
  }

  .google-card {
    gap: 1rem;
    padding: 1rem;
  }

  .google-proof strong {
    font-size: 3.4rem;
  }

  .contact-layout {
    gap: 0.75rem;
  }

  .contact-copy {
    padding: 0.35rem;
  }

  .contact-copy h2 {
    max-width: 11ch;
    font-size: clamp(2.15rem, 10.8vw, 2.8rem);
  }

  .contact-promise {
    display: flex;
    gap: 0.4rem;
    margin-top: 1rem;
  }

  .contact-promise span {
    padding: 0.55rem 0.62rem;
  }

  .contact-links {
    margin-top: 1rem;
  }

  .contact-links a {
    width: 100%;
  }

  .contact-form {
    padding: 0.9rem;
  }

  .project-options label {
    flex: 1 1 calc(33.333% - 0.4rem);
  }

  .contact-form input:not([type="radio"]),
  .contact-form textarea {
    min-height: 3rem;
    font-size: 1rem;
  }

  .contact-form textarea {
    min-height: 7rem;
  }

  .whatsapp-float {
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    width: 3.35rem;
    min-width: 3.35rem;
    height: 3.35rem;
    min-height: 3.35rem;
    justify-content: center;
    padding: 0;
  }

  .whatsapp-float > span:not(.whatsapp-icon) {
    display: none;
  }

  .whatsapp-icon {
    width: 1.65rem;
    height: 1.65rem;
    flex-basis: 1.65rem;
  }

  .footer {
    padding-bottom: calc(5.25rem + env(safe-area-inset-bottom));
  }
}

@media (min-width: 380px) and (max-width: 640px) {
  .custom-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (hover: none) and (pointer: coarse) {
  .button:hover,
  .custom-card:hover,
  .ai-card:hover,
  .ads-card:hover,
  .service-card:hover,
  .whatsapp-float:hover {
    transform: none;
  }

  .footer a {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
  }
}

/* Recent work: editorial campaign rail */
.recent-work-section {
  position: relative;
  isolation: isolate;
}

.recent-work-section::before {
  content: "";
  position: absolute;
  inset: 12% 0 auto;
  z-index: -1;
  height: 70%;
  background:
    radial-gradient(circle at 78% 36%, rgba(255, 184, 0, 0.22), transparent 32rem),
    linear-gradient(90deg, transparent, rgba(255, 212, 61, 0.055), transparent);
  filter: blur(24px);
  pointer-events: none;
}

.recent-work-layout {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(390px, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(2.5rem, 4vw, 4.5rem);
  align-items: center;
}

.recent-work-copy {
  position: relative;
  z-index: 2;
}

.recent-work-count {
  display: inline-flex;
  margin-top: 1.4rem;
  padding: 0.48rem 0.68rem;
  border: 1px solid rgba(255, 212, 61, 0.28);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255, 212, 61, 0.08);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.recent-work-copy h2 {
  max-width: 12ch;
  margin-top: 1rem;
  font-size: clamp(3rem, 4.65vw, 4.8rem);
  line-height: 0.94;
  letter-spacing: 0;
  text-wrap: pretty;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.recent-work-copy > p:not(.kicker) {
  max-width: 620px;
  margin-top: 1.3rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.6;
}

.recent-work-copy > p strong {
  color: rgba(255, 255, 255, 0.94);
}

.recent-work-credit {
  margin-top: 1.6rem;
  padding-left: 1rem;
  border-left: 3px solid var(--gold);
}

.recent-work-credit span,
.recent-work-credit strong {
  display: block;
}

.recent-work-credit span {
  color: var(--soft);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.recent-work-credit strong {
  margin-top: 0.2rem;
  font-size: 1.35rem;
}

.recent-work-meta {
  margin: 1.6rem 0 0;
  display: grid;
  gap: 0.65rem;
}

.recent-work-meta div {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 0.8rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.recent-work-meta dt {
  color: var(--soft);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.recent-work-meta dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.project-reel-shell {
  min-width: 0;
  overflow: hidden;
  padding: clamp(0.8rem, 1.8vw, 1.15rem);
  border: 1px solid rgba(255, 212, 61, 0.2);
  border-radius: 1.4rem;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    rgba(255, 255, 255, 0.035);
  background-size: 36px 36px;
  box-shadow: 0 38px 120px rgba(0, 0, 0, 0.42);
}

.project-reel-topline {
  min-height: 3.3rem;
  padding: 0 0.2rem 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.project-reel-topline > span {
  color: var(--soft);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-reel-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.project-reel-controls button {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.project-reel-controls button:hover {
  color: #080808;
  background: var(--gold);
  transform: scale(1.06);
}

.project-reel-controls span {
  min-width: 3.8rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  text-align: center;
}

.project-reel-track {
  position: relative;
  min-height: clamp(500px, 47vw, 590px);
  overflow: hidden;
  touch-action: pan-y;
}

.project-reel-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(54vw, 315px);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 1.05rem;
  background: #090909;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) translateX(0) scale(0.76);
  transition: opacity 0.42s ease, transform 0.55s var(--ease-soft), border-color 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.project-reel-card.is-active {
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) translateX(0) scale(1);
  border-color: rgba(255, 212, 61, 0.58);
  box-shadow: 0 24px 80px rgba(255, 184, 0, 0.2);
}

.project-reel-card.is-project-prev,
.project-reel-card.is-project-next {
  z-index: 1;
  opacity: 0.42;
  pointer-events: auto;
  filter: saturate(0.7) brightness(0.72);
}

.project-reel-card.is-project-prev {
  transform: translate(-50%, -50%) translateX(-72%) scale(0.82) rotate(-2deg);
}

.project-reel-card.is-project-next {
  transform: translate(-50%, -50%) translateX(72%) scale(0.82) rotate(2deg);
}

.project-reel-card.is-project-hidden {
  visibility: hidden;
}

.project-reel-card video {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #090909;
}

.project-reel-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), transparent 45%, rgba(0, 0, 0, 0.9)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 4px);
}

.project-reel-index {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #080808;
  background: var(--gold);
  font-size: 0.72rem;
  font-weight: 950;
}

.project-reel-card > div {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
}

.project-reel-card strong,
.project-reel-card > div span {
  display: block;
}

.project-reel-card strong {
  color: #fff;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  line-height: 1.05;
}

.project-reel-card > div span {
  margin-top: 0.35rem;
  color: rgba(255, 212, 61, 0.9);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-reel-progress {
  height: 3px;
  margin: 0.1rem 0.2rem 0.2rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.project-reel-progress i {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #fff4ad, var(--gold), var(--amber));
  transition: transform 0.45s var(--ease-soft);
}

/* Final typography and spacing normalization */
.section-head > p:not(.kicker),
.ig-profile > p:not(.kicker),
.custom-copy > p:not(.kicker),
.process-copy > p,
.lab-copy > p {
  line-height: 1.6;
}

.section-head h2,
.ig-profile h2,
.custom-copy h2,
.process-copy h2,
.lab-copy h2 {
  letter-spacing: 0;
  text-wrap: balance;
}

@media (max-width: 980px) {
  .recent-work-layout {
    grid-template-columns: 1fr;
  }

  .recent-work-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.55fr);
    column-gap: 2rem;
  }

  .recent-work-copy .kicker,
  .recent-work-count,
  .recent-work-copy h2,
  .recent-work-copy > p:not(.kicker) {
    grid-column: 1;
  }

  .recent-work-credit,
  .recent-work-meta {
    grid-column: 2;
  }

  .recent-work-credit {
    grid-row: 2 / 4;
    align-self: end;
  }
}

@media (max-width: 640px) {
  .recent-work-layout {
    width: min(100% - 1rem, var(--max));
    gap: 1.65rem;
  }

  .recent-work-copy {
    display: block;
    padding-inline: 0.35rem;
  }

  .recent-work-count {
    margin-top: 1rem;
  }

  .recent-work-copy h2 {
    max-width: 11ch;
    margin-top: 0.85rem;
    font-size: clamp(2.35rem, 11.8vw, 3.15rem);
    line-height: 0.94;
  }

  .recent-work-copy > p:not(.kicker) {
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.55;
  }

  .recent-work-credit,
  .recent-work-meta {
    margin-top: 1.2rem;
  }

  .project-reel-shell {
    padding: 0.65rem;
    border-radius: 1rem;
  }

  .project-reel-topline {
    min-height: 3rem;
    padding-bottom: 0.55rem;
  }

  .project-reel-track {
    min-height: 490px;
  }

  .project-reel-card {
    width: min(72vw, 268px);
  }

  .project-reel-card.is-project-prev {
    transform: translate(-50%, -50%) translateX(-78%) scale(0.78) rotate(-2deg);
  }

  .project-reel-card.is-project-next {
    transform: translate(-50%, -50%) translateX(78%) scale(0.78) rotate(2deg);
  }

  .section-head > p:not(.kicker),
  .ig-profile > p:not(.kicker),
  .custom-copy > p:not(.kicker),
  .process-copy > p,
  .lab-copy > p {
    font-size: 1rem;
    line-height: 1.55;
  }
}

/* Final mobile navigation cascade lock. */
@media (max-width: 980px) {
  body.menu-open {
    overflow: hidden;
    overscroll-behavior: none;
  }

  .menu-toggle {
    position: relative;
    z-index: 84;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    counter-reset: mobile-nav;
    position: absolute;
    inset: calc(100% + 0.55rem) 0 auto;
    z-index: 82;
    width: 100%;
    max-height: calc(100dvh - max(6.2rem, calc(env(safe-area-inset-top) + 5.8rem)));
    display: grid;
    justify-content: stretch;
    align-items: stretch;
    gap: 0.28rem;
    padding: 0.65rem;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 1rem;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.07), transparent 42%),
      rgba(8, 8, 8, 0.97);
    box-shadow:
      0 28px 90px rgba(0, 0, 0, 0.72),
      0 0 55px rgba(255, 199, 25, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.75rem) scale(0.985);
    transform-origin: top center;
    transition:
      transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
      opacity 0.22s ease,
      visibility 0.3s ease;
  }

  body.menu-open .nav-links {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .nav-links a {
    position: relative;
    width: 100%;
    min-height: 3.55rem;
    display: grid;
    grid-template-columns: 2.25rem minmax(0, 1fr) 0.8rem;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid transparent;
    border-bottom-color: rgba(255, 255, 255, 0.075);
    border-radius: 8px;
    opacity: 0;
    transform: translateY(-0.35rem);
  }

  body.menu-open .nav-links a {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links a:hover,
  .nav-links a:focus-visible,
  .nav-links a[aria-current="page"] {
    border-color: rgba(255, 212, 61, 0.22);
    background:
      linear-gradient(90deg, rgba(255, 212, 61, 0.12), transparent 72%),
      rgba(255, 255, 255, 0.045);
  }
}

@media (max-width: 640px) {
  .nav-inner {
    position: relative;
    grid-template-columns: 1fr auto 1fr;
  }

  .brand {
    position: absolute;
    left: 50%;
    top: 50%;
    grid-column: auto;
    justify-self: auto;
    transform: translate(-50%, -50%);
  }

  .menu-toggle {
    grid-column: 3;
    justify-self: end;
  }

  .mobile-glass-dock {
    width: min(calc(100% - 1.2rem), 360px);
  }

  .whatsapp-float {
    right: max(0.7rem, env(safe-area-inset-right));
    bottom: calc(max(0.55rem, env(safe-area-inset-bottom)) + 4.65rem);
    width: 3rem;
    min-width: 3rem;
    height: 3rem;
    min-height: 3rem;
  }
}

@media (max-width: 380px) {
  .nav-links {
    padding: 0.5rem;
  }

  .nav-links a {
    min-height: 3.3rem;
    grid-template-columns: 2rem minmax(0, 1fr) 0.7rem;
    padding: 0.6rem 0.7rem;
    font-size: 0.94rem;
  }
}
