/* ==========================================================
   Norvara Studios — dark, clean, performance-first
   ========================================================== */

:root {
  --bg: #0a0a0b;
  --bg-alt: #101013;
  --surface: #16161a;
  --surface-2: #1d1d22;
  --border: #26262c;
  --text: #f5f5f4;
  --text-dim: #a1a1aa;
  --text-faint: #6b6b74;
  --accent: #ffffff;
  --accent-hover: #d4d4d8;
  --accent-ink: #0a0a0b;
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; }

#dust {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.container {
  width: min(1160px, 100% - 48px);
  margin-inline: auto;
}

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.75rem, 7.5vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h3 { font-size: 1.25rem; line-height: 1.3; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 20px;
}

.accent-text {
  background: linear-gradient(100deg, #ffffff 30%, #6b6b74 50%, #ffffff 70%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 5s linear infinite;
}
@keyframes shimmer {
  from { background-position: 120% 0; }
  to { background-position: -120% 0; }
}

.section-sub {
  max-width: 560px;
  color: var(--text-dim);
  margin-top: 20px;
}

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 200;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease),
    color 0.2s var(--ease), transform 0.2s var(--ease);
  touch-action: manipulation;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--text);
  color: var(--accent-ink);
}
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(10, 10, 11, 0.14), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s var(--ease);
}
.btn-primary:hover::before { left: 130%; }
.btn-primary:hover { background: #fff; transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--text-dim); transform: translateY(-2px); }

.btn-lg { padding: 16px 32px; font-size: 1.02rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 10, 11, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.nav-inner {
  width: min(1240px, 100% - 48px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}
.brand-mark {
  width: 46px;
  height: auto;
  mix-blend-mode: screen;
}
.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-text em {
  font-style: normal;
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.42em;
  color: var(--text-dim);
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta { padding: 10px 22px; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  padding: 10px;
  margin-left: auto;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.25s;
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 12px 24px 28px;
  background: rgba(10, 10, 11, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  padding: 12px 0;
}
.mobile-menu .btn { justify-content: center; margin-top: 8px; }
.mobile-menu.open { display: flex; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) brightness(0.42) saturate(0.8);
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.hero-video.ready { opacity: 0.55; animation: vidGlitch 9s steps(1) infinite; }

/* occasional analog glitch jump */
@keyframes vidGlitch {
  0%, 92.9% { transform: none; }
  93% { transform: translateX(-9px) scaleX(1.02); }
  93.4% { transform: translateX(6px); }
  93.8% { transform: none; }
  96.9% { transform: none; }
  97% { transform: translateX(7px) scaleY(1.015); }
  97.3% { transform: none; }
  100% { transform: none; }
}

/* film-look: animated grain + vignette */
.film-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}
.film-layer::before {
  content: "";
  position: absolute;
  inset: -28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 240px;
  opacity: 0.09;
  mix-blend-mode: screen;
  animation: grainJitter 0.7s steps(6) infinite, grainFlicker 3.2s linear infinite;
}
@keyframes grainFlicker {
  0%, 100% { opacity: 0.09; }
  8% { opacity: 0.13; }
  9% { opacity: 0.07; }
  46% { opacity: 0.11; }
  47% { opacity: 0.08; }
  72% { opacity: 0.14; }
  73% { opacity: 0.09; }
}
.film-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 95% 85% at 50% 45%, transparent 52%, rgba(0, 0, 0, 0.55) 100%);
}
@keyframes grainJitter {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-14px, 8px); }
  40% { transform: translate(10px, -12px); }
  60% { transform: translate(-8px, -9px); }
  80% { transform: translate(12px, 11px); }
  100% { transform: translate(-5px, 5px); }
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 11, 0.60) 0%, rgba(10, 10, 11, 0.15) 65%),
    linear-gradient(180deg,
      rgba(10, 10, 11, 0.60) 0%,
      rgba(10, 10, 11, 0.42) 45%,
      rgba(10, 10, 11, 0.97) 96%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 45% at 70% 15%, rgba(255, 255, 255, 0.06), transparent 65%),
    radial-gradient(ellipse 50% 40% at 15% 85%, rgba(255, 255, 255, 0.04), transparent 60%);
}
.hero-wave {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.wave-line {
  fill: none;
  stroke: rgba(245, 245, 244, 0.14);
  stroke-width: 1.6;
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
  animation:
    drawWave 2.6s var(--ease) forwards,
    waveDrift 14s 2.6s ease-in-out infinite alternate;
}
.wave-line.w2 {
  stroke: rgba(245, 245, 244, 0.30);
  stroke-width: 2;
  animation-delay: 0.25s, 2.85s;
  animation-duration: 2.6s, 11s;
}
.wave-line.w3 {
  stroke: rgba(245, 245, 244, 0.07);
  animation-delay: 0.5s, 3.1s;
  animation-duration: 2.6s, 17s;
}

@keyframes drawWave { to { stroke-dashoffset: 0; } }
@keyframes waveDrift {
  from { transform: translate(0, 0); }
  to { transform: translate(-48px, 14px); }
}

.hero-content { position: relative; }
.hero-sub {
  max-width: 540px;
  color: var(--text-dim);
  font-size: 1.12rem;
  margin-top: 28px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}
.hero-note {
  margin-top: 22px;
  font-size: 0.85rem;
  color: var(--text-faint);
  letter-spacing: 0.02em;
}

.scroll-hint {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 38px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
}
.scroll-hint span {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--text-dim);
  animation: scrollNudge 2s infinite var(--ease);
}
@keyframes scrollNudge {
  0%, 100% { transform: translateY(0); opacity: 1; }
  55% { transform: translateY(10px); opacity: 0; }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--border);
  padding: 26px 0;
  background: var(--bg);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: marqueeScroll 26s linear infinite;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 48px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}
.marquee-item:nth-child(even) {
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 245, 244, 0.45);
}
.marquee-dot {
  width: 9px;
  height: 9px;
  background: var(--text);
  transform: rotate(45deg);
  flex-shrink: 0;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Metrics ---------- */
.metrics {
  border-block: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 56px 0;
}
.trust-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 44px;
}
.trust-line::before,
.trust-line::after {
  content: "";
  height: 1px;
  flex: 1;
  max-width: 160px;
  background: linear-gradient(90deg, transparent, var(--border));
}
.trust-line::after {
  background: linear-gradient(90deg, var(--border), transparent);
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.metric-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.metric-label {
  display: block;
  margin-top: 6px;
  color: var(--text-dim);
  font-size: 0.88rem;
}

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }

/* ---------- Work / showreel ---------- */
.reel-featured {
  position: relative;
  margin-top: 64px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 7;
  background: var(--surface);
}
.reel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transition: filter 0.5s var(--ease);
  animation: vidGlitch 11s steps(1) infinite;
}
.reel-featured.sound-on .reel-video { filter: none; }
.reel-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 0;
  background: var(--text);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.reel-play:hover { transform: translate(-50%, -50%) scale(1.08); }
.reel-play svg { width: 30px; height: 30px; grid-area: 1 / 1; }
.reel-play .ic-pause { display: none; }
.reel-featured.sound-on .ic-play { display: none; }
.reel-featured.sound-on .ic-pause { display: block; }
.reel-label {
  position: absolute;
  left: 24px;
  bottom: 20px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  text-shadow: 0 1px 8px rgba(10, 10, 11, 0.8);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.work-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.3s var(--ease);
}
.work-card:hover .work-media { border-color: #3a3a44; }
.work-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.18) brightness(0.92);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.work-video.ready { opacity: 1; }
.work-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--text-faint);
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(255, 255, 255, 0.04), transparent 70%),
    var(--surface);
}
.work-fallback img {
  width: 76px;
  height: auto;
  opacity: 0.35;
  mix-blend-mode: screen;
}
.work-fallback span {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.work-video.ready ~ .work-fallback { display: none; }

/* Meta-ad frame overlay */
.ad-ui { position: absolute; inset: 0; pointer-events: none; }
.ad-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(10, 10, 11, 0.65), transparent);
}
.ad-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--text);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.ad-avatar img { width: 19px; height: auto; filter: invert(1); }
.ad-id { display: flex; flex-direction: column; line-height: 1.25; }
.ad-id strong { font-size: 0.8rem; font-weight: 600; }
.ad-id em {
  font-style: normal;
  font-size: 0.68rem;
  color: var(--text-dim);
  letter-spacing: 0.03em;
}
.ad-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px;
  display: flex;
  background: linear-gradient(0deg, rgba(10, 10, 11, 0.7), transparent);
}
.ad-cta {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 8px 16px;
  border-radius: 999px;
}

.work-card h3 {
  margin-top: 18px;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.stat-chip {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: var(--text);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 5px 12px;
  border-radius: 999px;
}
.work-card > p { color: var(--text-faint); font-size: 0.86rem; margin-top: 4px; }

/* ---------- Service cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 64px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: #3a3a44; }
.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  margin-bottom: 22px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.card:hover .card-icon { transform: translateY(-4px) rotate(-4deg); background: rgba(255, 255, 255, 0.14); }
.card-icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-dim); font-size: 0.94rem; }

/* ---------- Results ---------- */
.results-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  margin-top: 64px;
  align-items: start;
}
.dash {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.dash-title { font-size: 0.9rem; color: var(--text-dim); font-weight: 500; }
.dash-badge {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.dash-badge::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--text);
  animation: pulse 2s infinite;
}
@keyframes pulse { 50% { opacity: 0.3; } }

.dash-chart svg { width: 100%; height: auto; }
.grid-lines line { stroke: var(--border); stroke-width: 1; stroke-dasharray: 4 6; }
.chart-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
}
.chart-area, .chart-dot { opacity: 0; }
.chart-dot { fill: var(--accent); }
.dash.chart-go .chart-line { animation: drawChart 1.8s 0.2s var(--ease) forwards; }
.dash.chart-go .chart-area { animation: fadeIn 1s 1.3s var(--ease) forwards; }
.dash.chart-go .chart-dot { animation: fadeIn 0.4s 1.9s var(--ease) forwards; }
@keyframes drawChart { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }

.dash-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--text-faint);
  text-align: center;
}
.dash-labels strong { color: var(--text); font-size: 0.95rem; }

.case-list { display: flex; flex-direction: column; gap: 16px; }
.case {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  transition: border-color 0.3s var(--ease);
}
.case:hover { border-color: #3a3a44; }
.case h3 { font-size: 1.02rem; margin-bottom: 10px; }
.case-before {
  font-size: 0.85rem;
  color: var(--text-faint);
  text-decoration: line-through;
  text-decoration-color: rgba(161, 161, 170, 0.5);
  margin-bottom: 6px;
}
.case-after { font-size: 0.94rem; color: var(--text-dim); }
.case-after strong { color: var(--accent); font-weight: 600; }

/* ---------- Testimonials ---------- */
.testimonials {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}
/* flowing smoke-gradient background, monochrome */
.aurora {
  position: absolute;
  inset: -20%;
  pointer-events: none;
  filter: blur(70px);
}
.aurora::before,
.aurora::after {
  content: "";
  position: absolute;
  width: 55vw;
  height: 55vw;
  border-radius: 50%;
}
.aurora::before {
  top: -10%;
  right: -5%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.08), transparent 70%);
  animation: auroraDrift 16s ease-in-out infinite alternate;
}
.aurora::after {
  bottom: -15%;
  left: -10%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.05), transparent 70%);
  animation: auroraDrift 21s ease-in-out infinite alternate-reverse;
}
@keyframes auroraDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-12vw, 8vh) scale(1.25); }
}

.testimonials .container { position: relative; }
.testi-card {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.5fr;
  gap: 56px;
  align-items: center;
  margin-top: 64px;
  padding: 56px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
/* pixel dot-grid texture */
.testi-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.13) 1.2px, transparent 1.3px),
    radial-gradient(rgba(255, 255, 255, 0.07) 1.2px, transparent 1.3px);
  background-size: 18px 18px, 26px 26px;
  background-position: 0 0, 9px 13px;
  -webkit-mask-image: radial-gradient(ellipse 75% 90% at 30% 50%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 90% at 30% 50%, #000 20%, transparent 75%);
  pointer-events: none;
}

.testi-mosaic {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 320px;
}
.testi-mosaic span {
  aspect-ratio: 1;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  opacity: 0.55;
}
.testi-mosaic .testi-mono {
  display: grid;
  place-items: center;
  opacity: 1;
  background: var(--text);
  color: var(--accent-ink);
  border: 0;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  transition: transform 0.35s var(--ease);
}
.testi-card.switching .testi-mono { transform: scale(0.85); }

.testi-body { position: relative; }
.testi-quotemark { width: 42px; height: 28px; color: var(--text-faint); margin-bottom: 24px; }
.testi-quote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 600;
  line-height: 1.4;
  min-height: 4.2em;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.testi-author { margin-top: 24px; color: var(--text-dim); transition: opacity 0.3s var(--ease); }
.testi-author strong { display: block; color: var(--text); font-family: var(--font-display); }
.testi-author span { font-size: 0.9rem; }
.testi-card.switching .testi-quote,
.testi-card.switching .testi-author { opacity: 0; transform: translateY(8px); }

.testi-nav { display: flex; gap: 10px; margin-top: 32px; }
.testi-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}
.testi-btn:hover { border-color: var(--text-dim); background: rgba(255, 255, 255, 0.06); transform: translateY(-2px); }
.testi-btn svg { width: 18px; height: 18px; }

/* ---------- Process ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 64px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px 4px 0;
  border-top: 1px solid var(--border);
}
.step-num {
  position: absolute;
  top: -13px;
  left: 0;
  background: var(--bg);
  padding-right: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--text-dim); font-size: 0.94rem; }

/* ---------- Growth estimate quiz ---------- */
.estimate-wrap {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.estimate-copy p:not(.eyebrow) { color: var(--text-dim); margin-top: 20px; max-width: 440px; }

.estimate-box {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px 52px;
  min-height: 320px;
}
.quiz-step { display: none; }
.quiz-step.active { display: block; animation: quizIn 0.4s var(--ease); }
@keyframes quizIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.quiz-q {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quiz-opt {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}
.quiz-opt:hover {
  border-color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}
.quiz-result { color: var(--text-dim); margin-bottom: 28px; font-size: 1.02rem; }
.quiz-result strong { color: var(--text); }
.quiz-cta { width: 100%; justify-content: center; }
.quiz-restart {
  display: block;
  margin: 18px auto 0;
  background: none;
  border: 0;
  color: var(--text-faint);
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.quiz-restart:hover { color: var(--text-dim); }

.quiz-progress {
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--border);
  overflow: hidden;
}
.quiz-progress span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 2px;
  background: var(--accent);
  transition: width 0.4s var(--ease);
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.price-card:hover { transform: translateY(-6px); }
.price-card.featured {
  border-color: rgba(255, 255, 255, 0.55);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), var(--surface) 45%);
}
.price-tag {
  position: absolute;
  top: -13px;
  left: 30px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 5px 14px;
  border-radius: 999px;
}
.price-for { color: var(--text-faint); font-size: 0.88rem; margin: 8px 0 24px; }
.price-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex-grow: 1;
}
.price-card li {
  position: relative;
  padding-left: 26px;
  color: var(--text-dim);
  font-size: 0.93rem;
}
.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.price-card .btn { justify-content: center; }

/* ---------- FAQ ---------- */
.faq-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--text-dim);
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-item p { padding: 0 24px 22px; color: var(--text-dim); font-size: 0.95rem; }

/* ---------- Final CTA ---------- */
.final-cta {
  text-align: center;
  padding: 140px 0;
  background: radial-gradient(ellipse 55% 60% at 50% 110%, rgba(255, 255, 255, 0.10), transparent 70%);
}
.final-cta p {
  max-width: 520px;
  margin: 24px auto 0;
  color: var(--text-dim);
  font-size: 1.08rem;
}
.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 44px;
}
.final-actions .btn svg { width: 18px; height: 18px; }
.final-note { margin-top: 26px; font-size: 0.9rem !important; color: var(--text-faint) !important; }
.final-note a { color: var(--text-dim); text-underline-offset: 3px; }
.final-note a:hover { color: var(--text); }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer .brand-mark { width: 38px; }
.footer-links { display: flex; gap: 24px; margin-left: auto; }
.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.88rem;
}
.footer-links a:hover { color: var(--text); }
.footer-legal { width: 100%; color: var(--text-faint); font-size: 0.8rem; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: none;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 16px;
  border-radius: 999px;
  background: var(--text);
  color: var(--accent-ink);
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.22);
  transform: translateY(120%);
  transition: transform 0.35s var(--ease);
}
.sticky-cta.show { transform: translateY(0); }

/* ---------- Custom cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity 0.3s;
}
.cursor-dot {
  width: 8px;
  height: 8px;
  background: #fff;
  margin: -4px 0 0 -4px;
}
.cursor-ring {
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  border: 1.5px solid #fff;
  transition: opacity 0.3s, transform 0.25s var(--ease);
}
.cursor-ring.grow { transform: scale(1.7); background: rgba(255, 255, 255, 0.12); }
html.custom-cursor.cursor-active .cursor-dot,
html.custom-cursor.cursor-active .cursor-ring { opacity: 1; }
html.custom-cursor, html.custom-cursor * { cursor: none !important; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .wave-line { animation: none; stroke-dashoffset: 0; }
  .chart-line { animation: none !important; stroke-dashoffset: 0; }
  .chart-area, .chart-dot { opacity: 1; animation: none !important; }
  .scroll-hint span, .dash-badge::before { animation: none; }
  .accent-text { animation: none; background-position: 0 0; }
  .marquee-track { animation: none; }
  .film-layer::before { animation: none; }
  .hero-video.ready, .reel-video { animation: none; }
  .aurora::before, .aurora::after { animation: none; }
  .btn-primary::before { display: none; }
  .card:hover, .price-card:hover, .btn:hover, .quiz-opt:hover,
  .card:hover .card-icon { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .results-layout, .estimate-wrap, .faq-wrap { grid-template-columns: 1fr; }
  .estimate-wrap { gap: 40px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .price-card.featured { order: -1; }
}

@media (max-width: 720px) {
  .section { padding: 84px 0; }
  .testimonials { padding: 84px 0; }
  .testi-card { grid-template-columns: 1fr; gap: 36px; padding: 32px 24px; }
  .testi-mosaic { max-width: 220px; margin-inline: auto; }
  .testi-quote { min-height: 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav { background: rgba(10, 10, 11, 0.82); backdrop-filter: blur(16px); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid, .steps { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .reel-featured { aspect-ratio: 16 / 10; }
  .reel-play { width: 60px; height: 60px; }
  .quiz-options { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .sticky-cta { display: block; }
  .scroll-hint { display: none; }
  .estimate-box { padding: 30px 24px 46px; }
  .quiz-progress { left: 24px; right: 24px; }
  .footer-links { margin-left: 0; }
}

/* ---------- Static ads + honest numbers ---------- */
.static-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.static-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.static-card img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.honest { margin-top: 40px; padding: 32px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); max-width: 760px; }
.honest h3 { margin-bottom: 12px; }
.honest p { color: var(--text-dim); }
.honest p + p { margin-top: 12px; font-size: 0.9rem; color: var(--text-faint); }
.honest strong { color: var(--accent); font-weight: 600; }
@media (max-width: 900px) { .static-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Auto-scrolling video rail ---------- */
.rail { margin-top: 4px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; cursor: grab; position: relative; z-index: 5; width: 100vw; margin-left: calc(50% - 50vw);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.rail-track { display: flex; gap: 20px; width: max-content; padding: 24px 0 8px; }
.rail-item { flex: none; }
.rail-item.tall { width: 260px; }
.rail-item.wide { width: 260px; transition: width 0.5s var(--ease), transform 0.4s var(--ease), filter 0.4s var(--ease), opacity 0.4s var(--ease); }
.rail-item.wide.open { width: 818px; }
.rail-media { position: relative; height: 460px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.rail-video { width: 100%; height: 100%; object-fit: cover; filter: none; }
.rail-item h3 { margin-top: 12px; font-size: 1.05rem; }
.rail-item p { color: var(--text-faint); font-size: 0.86rem; margin-top: 2px; }
@keyframes rail-scroll { to { transform: translateX(calc(-50% - 10px)); } }
@media (max-width: 700px) { .rail-item.tall { width: 200px; } .rail-item.wide { width: 200px; } .rail-media { height: 360px; } }
@media (prefers-reduced-motion: reduce) { .rail-track { animation: none; } .rail { overflow-x: auto; } }

.static-card { margin: 0; }
.static-card figcaption { padding: 10px 14px; font-size: 0.82rem; color: var(--text-faint); border-top: 1px solid var(--border); }
.static-card img { aspect-ratio: 4 / 5; }

/* ---------- Client logo strip ---------- */
.logo-rail { overflow: hidden; margin: 8px 0 36px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logo-track { display: flex; align-items: center; gap: 72px; width: max-content; animation: logo-scroll 40s linear infinite; }
.logo-track img { height: 46px; width: auto; flex: none; opacity: 0.8; transition: opacity 0.3s var(--ease); }
.logo-track img:hover { opacity: 1; }
@keyframes logo-scroll { to { transform: translateX(calc(-50% - 36px)); } }
@media (max-width: 700px) { .logo-track { gap: 48px; } .logo-track img { height: 36px; } }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; } .logo-rail { overflow-x: auto; } }

/* ---------- Hero growth layer (decorative) ---------- */
.hero-growth { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-growth svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.g-line { fill: none; stroke: #fff; stroke-opacity: 0.22; stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; animation: g-draw 9s var(--ease) infinite; }
.g-area { fill: url(#none); fill: rgba(255,255,255,0.035); opacity: 0; animation: g-fade 9s var(--ease) infinite; }
.g-num { position: absolute; font-family: var(--font-display); font-weight: 700; color: #fff; opacity: 0.1; font-size: clamp(1.4rem, 3vw, 2.6rem); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.g1 { left: 6%; bottom: 14%; } .g2 { left: 27%; bottom: 28%; } .g3 { left: 50%; bottom: 40%; } .g4 { left: 72%; bottom: 55%; } .g5 { left: 88%; bottom: 72%; }
@keyframes g-draw { 0% { stroke-dashoffset: 1; } 70%, 100% { stroke-dashoffset: 0; } }
@keyframes g-fade { 0%, 15% { opacity: 0; } 70%, 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .g-line { animation: none; stroke-dashoffset: 0; } .g-area { animation: none; opacity: 1; } }

.rail::-webkit-scrollbar { display: none; }
.rail.dragging { cursor: grabbing; }
.rail-item { transition: transform 0.4s var(--ease), filter 0.4s var(--ease), opacity 0.4s var(--ease); }
.rail-media { cursor: pointer; }
.rail.has-focus .rail-item:not(.open) { filter: blur(7px); opacity: 0.35; }
.rail-item:hover { transform: scale(1.03); }
.rail-item.open { transform: scale(1.07); z-index: 3; }
.rail-item.open .rail-media { box-shadow: 0 24px 80px rgba(0,0,0,0.7); border-color: #4a4a55; }
.rail-hint { position: absolute; left: 12px; bottom: 12px; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(10,10,11,0.7); padding: 5px 9px; border-radius: 999px; opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.rail-item:hover .rail-hint, .rail-item.open .rail-hint { opacity: 1; }
/* blur the rest of the page while a video is highlighted */
.hero, main > section, main > .marquee, footer, #work .container > *:not(.rail) { transition: filter 0.45s var(--ease), opacity 0.45s var(--ease); }
body.rail-focus .hero, body.rail-focus main > section:not(#work), body.rail-focus main > .marquee, body.rail-focus footer, body.rail-focus #work .container > *:not(.rail),
body.reel-focus .hero, body.reel-focus main > section:not(#work), body.reel-focus main > .marquee, body.reel-focus footer, body.reel-focus #work .container > *:not(.reel-featured) { filter: blur(10px); opacity: 0.3; }
.reel-featured { transition: transform 0.45s var(--ease); }
.reel-featured.sound-on { transform: scale(1.02); cursor: pointer; }
.reel-featured.sound-on .reel-video { object-fit: contain; background: #000; animation: none; }
@media (hover: none) { .rail-item:hover, .rail-item.open { transform: none; } }
[hidden] { display: none !important; }
