/* ╔═══════════════════════════════════════════════════════════╗
   ║  SCENE MEDIA — Cinematic Dark Design System              ║
   ║  Awwwards-Level Single Page Website                       ║
   ╚═══════════════════════════════════════════════════════════╝ */

/* ═══════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════ */
:root {
  --primary: #e70102;
  --primary-light: #ff2a2b;
  --primary-dark: #b30001;
  --primary-glow: rgba(231, 1, 2, 0.4);
  --accent: #ff8888;
  --black: #000000;
  --black-deep: #0a0a0a;
  --white: #ffffff;
  --gray-100: #f5f5f8;
  --gray-400: #888;
  --gray-600: #666;
  --gray-800: #333;

  --font: 'Montserrat', sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.3s var(--ease);
  --transition-smooth: 0.6s var(--ease-smooth);
}

/* ═══════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--white);
  background: var(--black-deep);
  overflow-x: hidden;
  line-height: 1.6;
  cursor: none;
}

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

ul {
  list-style: none;
}

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

button {
  cursor: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

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

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--black);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

/* ═══════════════════════════════════════
   GLOBAL BACKGROUND CANVAS
   ═══════════════════════════════════════ */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ═══════════════════════════════════════
   PRELOADER
   ═══════════════════════════════════════ */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.pl-corner-tl,
.pl-corner-tr {
  position: absolute;
  top: 36px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 5px;
  color: rgba(255, 255, 255, 0.35);
  opacity: 0;
}

.pl-corner-tl {
  left: 48px;
}

.pl-corner-tr {
  right: 48px;
}

.pl-center {
  text-align: center;
  opacity: 0;
}

.pl-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 6px;
  color: rgba(170, 170, 255, 0.6);
  margin-bottom: 16px;
}

.pl-counter-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  line-height: 1;
}

.pl-counter {
  font-size: clamp(6rem, 20vw, 16rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -4px;
  line-height: 1;
}

.pl-pct {
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--accent);
  margin-top: 1rem;
  margin-left: 8px;
}

.pl-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  opacity: 0;
}

.pl-bottom-line-wrap {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.pl-bottom-line {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.pl-bottom-text {
  font-size: 0.6rem;
  letter-spacing: 5px;
  color: rgba(255, 255, 255, 0.2);
  text-align: center;
  padding: 14px 0 18px;
}

/* ═══════════════════════════════════════
   CUSTOM CURSOR
   ═══════════════════════════════════════ */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
}

.cursor-circle {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.3s var(--ease-smooth), height 0.3s var(--ease-smooth),
    background 0.3s, border-color 0.3s;
}

.cursor-text {
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 2px;
  opacity: 0;
  color: var(--white);
  transition: opacity 0.2s;
  text-transform: uppercase;
}

/* Cursor states */
.cursor-circle.hover-text {
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-color: var(--primary);
}

.cursor-circle.hover-text .cursor-text {
  opacity: 1;
}

.cursor-circle.hover-button {
  width: 50px;
  height: 50px;
  border-color: var(--primary);
  background: rgba(231, 1, 2, 0.15);
}

.cursor-circle.hover-view {
  width: 80px;
  height: 80px;
  background: var(--primary);
  border-color: var(--primary);
}

.cursor-circle.hover-view .cursor-text {
  opacity: 1;
  font-size: 0.7rem;
}

.cursor-trail {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, rgba(231, 1, 2, 0.3), transparent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s;
}

/* Cursor glow (follows with delay) */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(231, 1, 2, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  will-change: transform;
}

/* Hide cursor on mobile */
@media (pointer: coarse),
(max-width: 768px) {

  .cursor-dot,
  .cursor-circle,
  .cursor-trail,
  .cursor-glow {
    display: none !important;
  }

  body,
  button,
  a {
    cursor: auto;
  }
}

/* ═══════════════════════════════════════
   PROGRESS BAR (top of viewport)
   ═══════════════════════════════════════ */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--primary);
  z-index: 9000;
  transition: none;
}

/* ═══════════════════════════════════════
   SECTION NAV (fixed left)
   ═══════════════════════════════════════ */
.section-nav {
  position: fixed;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-nav-item {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  letter-spacing: 2px;
  transition: var(--transition);
  position: relative;
  padding-left: 16px;
}

.section-nav-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  transform: translateY(-50%);
}

.section-nav-item.active {
  color: var(--white);
}

.section-nav-item.active::before {
  width: 20px;
  background: var(--primary);
}

/* ═══════════════════════════════════════
   GRAIN OVERLAY
   ═══════════════════════════════════════ */
.grain-overlay {
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  z-index: 8999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}

@keyframes grain {

  0%,
  100% {
    transform: translate(0, 0);
  }

  10% {
    transform: translate(-5%, -10%);
  }

  20% {
    transform: translate(-15%, 5%);
  }

  30% {
    transform: translate(7%, -25%);
  }

  40% {
    transform: translate(-5%, 25%);
  }

  50% {
    transform: translate(-15%, 10%);
  }

  60% {
    transform: translate(15%, 0%);
  }

  70% {
    transform: translate(0%, 15%);
  }

  80% {
    transform: translate(3%, 35%);
  }

  90% {
    transform: translate(-10%, 10%);
  }
}

/* ═══════════════════════════════════════
   SECTION DECO NUMBERS
   ═══════════════════════════════════════ */
.section-deco {
  position: absolute;
  top: 60px;
  left: 40px;
  font-size: clamp(180px, 20vw, 280px);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.section-deco.right {
  left: auto;
  right: 40px;
}

.section-deco.dark {
  color: rgba(0, 0, 0, 0.06);
}

/* ═══════════════════════════════════════
   LABEL (section subtitles)
   ═══════════════════════════════════════ */
.label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
}

.label.dark {
  color: var(--accent);
}

/* ═══════════════════════════════════════
   SECTION THEMES
   ═══════════════════════════════════════ */
.section-light {
  background: transparent;
  color: var(--white);
}

.section-light .hero-title,
.section-light h2,
.section-light h3 {
  color: var(--white);
}

.section-light .hero-title .char.dot {
  color: var(--primary);
}

.section-dark {
  background: transparent;
  color: var(--white);
}

.section-dark .section-deco {
  color: rgba(255, 255, 255, 0.05);
}

.section-dark .hero-title,
.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

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

/* ═══════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo-img {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.3s var(--ease);
}

.nav-logo:hover .nav-logo-img {
  transform: scale(1.05);
}

.nav-logo span {
  color: var(--accent);
}

.navbar.scrolled .nav-logo {
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: var(--transition);
  position: relative;
}

.navbar.scrolled .nav-links a {
  color: rgba(255, 255, 255, 0.7);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--white);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 30px;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--primary-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--primary-glow);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 5px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ═══════════════════════════════════════
   01 — HERO SECTION
   ═══════════════════════════════════════ */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  overflow: hidden;
  background: transparent;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(231, 1, 2, 0.15) 0%, rgba(13, 13, 13, 0.7) 70%);
  z-index: 2;
}

/* ── Split layout ── */
.hero-split {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-left {
  flex: 0 0 52%;
  padding: 0 0 0 clamp(32px, 6vw, 100px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hero-eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(12px);
}

.hero-right {
  flex: 0 0 48%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* Gradient fade masks */
.hero-grid-fade {
  position: absolute;
  left: 0;
  right: 0;
  height: 180px;
  z-index: 2;
  pointer-events: none;
}

.hero-grid-fade-top {
  top: 0;
  background: linear-gradient(to bottom, var(--black-deep) 0%, transparent 100%);
}

.hero-grid-fade-bottom {
  bottom: 0;
  background: linear-gradient(to top, var(--black-deep) 0%, transparent 100%);
}

/* 3-column grid */
.hero-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0 20px 0 12px;
  overflow: hidden;
}

.hero-post-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  will-change: transform;
}

.col-1 {
  animation: scroll-up 18s linear infinite;
}

.col-2 {
  animation: scroll-down 22s linear infinite;
  animation-delay: -6s;
}

.col-3 {
  animation: scroll-up 20s linear infinite;
  animation-delay: -11s;
}

@keyframes scroll-up {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

@keyframes scroll-down {
  0% {
    transform: translateY(-50%);
  }

  100% {
    transform: translateY(0);
  }
}

.hero-post {
  border-radius: 16px;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  flex-shrink: 0;
  border: 1px solid rgba(170, 170, 255, 0.1);
  transition: transform 0.3s var(--ease);
}

.hero-post:hover {
  transform: scale(1.04);
}

.post-icon {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1;
}

.post-label {
  font-size: clamp(0.55rem, 0.9vw, 0.75rem);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 7.5rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: 6px;
  line-height: 1.0;
  margin-bottom: 24px;
  text-align: left;
}

.hero-line {
  display: block;
  overflow: hidden;
}

.hero-line .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(-120px) scaleY(1.4);
  filter: blur(8px);
}

.hero-line-media .char {
  transform: translateY(120px) scaleY(1.4);
  filter: blur(8px);
}

.hero-line .char.dot {
  color: var(--accent);
}

.hero-tagline {
  font-size: clamp(0.85rem, 1.4vw, 1.1rem);
  color: var(--accent);
  font-weight: 400;
  letter-spacing: 1px;
  min-height: 1.8em;
  margin-bottom: 48px;
  opacity: 0;
  text-align: left;
}

.hero-tagline::after {
  content: '|';
  animation: blink 0.7s infinite;
  color: var(--accent);
  margin-left: 2px;
}

@keyframes blink {

  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

/* CTA Button */
.btn-cta {
  display: inline-block;
  padding: 18px 48px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  border: none;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
}

.btn-cta .btn-text {
  position: relative;
  z-index: 2;
}

.btn-cta .btn-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--primary);
  transition: height 0.4s var(--ease-smooth);
  z-index: 1;
}

.btn-cta:hover .btn-fill {
  height: 100%;
}

.btn-cta:hover {
  border-color: var(--primary-light);
  box-shadow: 0 0 40px var(--primary-glow), 0 0 80px rgba(231, 1, 2, 0.15);
}

.btn-cta .btn-ripple {
  position: absolute;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  pointer-events: none;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 24px;
  right: 40px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
}

.scroll-text {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.scroll-line-svg {
  opacity: 0;
}

.scroll-arrow {
  font-size: 1rem;
  color: var(--accent);
}

/* ═══════════════════════════════════════
   MARQUEE BANNER
   ═══════════════════════════════════════ */
.marquee-banner {
  background: var(--primary);
  padding: 12px 0;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.marquee-row {
  display: flex;
  width: max-content;
  animation: marquee-left 20s linear infinite;
}

.marquee-row.marquee-reverse {
  animation: marquee-right 20s linear infinite;
}

.marquee-content {
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
  padding: 4px 0;
}

@keyframes marquee-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-33.333%);
  }
}

@keyframes marquee-right {
  0% {
    transform: translateX(-33.333%);
  }

  100% {
    transform: translateX(0);
  }
}

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

/* ═══════════════════════════════════════
   02 — ABOUT SECTION
   ═══════════════════════════════════════ */
.about-section {
  position: relative;
  padding: 120px 0;
  background: transparent;
  overflow: hidden;
}

/* heading clip reveal (reused by services etc.) */
.heading-line {
  display: block;
  overflow: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.6s var(--ease-smooth);
}

.heading-line.revealed {
  clip-path: inset(0 0 0% 0);
}

/* ── Option B layout ── */
.about-b-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 56px;
}

.about-b-stats {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.about-b-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateX(20px);
}

.astat-num {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  min-width: 52px;
  text-align: right;
  line-height: 1;
}

.astat-num .stat-num {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.astat-num .stat-plus {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  vertical-align: top;
  margin-top: 0;
}

.astat-sep {
  color: rgba(231, 1, 2, 0.6);
  font-size: 1rem;
  letter-spacing: -2px;
}

.astat-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: rgba(255, 255, 255, 0.35);
}

.about-heading {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 48px;
  letter-spacing: -1px;
}

.about-scene-word {
  font-style: normal;
  color: var(--primary);
  text-shadow: 0 0 60px rgba(231, 1, 2, 0.7), 0 0 120px rgba(231, 1, 2, 0.3);
}

.about-b-rule {
  width: 0%;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin-bottom: 48px;
}

.about-b-body {
  max-width: 640px;
  opacity: 0;
  transform: translateY(20px);
}

.about-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.about-b-cta {
  display: inline-block;
  margin-top: 24px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(170, 170, 255, 0.3);
  padding-bottom: 4px;
  transition: color 0.3s, border-color 0.3s;
}

.about-b-cta:hover {
  color: var(--white);
  border-color: var(--white);
}

/* ═══════════════════════════════════════
   03 — SERVICES SECTION
   ═══════════════════════════════════════ */
.testimonials-section {
  position: relative;
  padding: 120px 0;
  background: transparent;
  overflow: hidden;
}

.services-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.services-list {
  display: flex;
  flex-direction: column;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateX(-40px);
}

.service-item::before {
  content: attr(data-service-num);
  position: absolute;
  left: -20px;
  font-size: 0;
  font-weight: 900;
  color: rgba(231, 1, 2, 0.08);
  transition: font-size 0.5s var(--ease-smooth), left 0.5s var(--ease-smooth);
  pointer-events: none;
  z-index: 0;
}

.service-item:hover::before,
.service-item.active::before {
  font-size: 200px;
  left: -30px;
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  color: rgba(170, 170, 255, 0.4);
  transition: color 0.3s, transform 0.3s;
  position: relative;
  z-index: 1;
}

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

.service-item:hover .service-icon,
.service-item.active .service-icon {
  color: var(--accent);
  transform: scale(1.15);
}

.service-num {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  width: 28px;
  position: relative;
  z-index: 1;
}

.service-name {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s;
  position: relative;
  z-index: 1;
}

.service-item:hover .service-name,
.service-item.active .service-name {
  color: var(--white);
}

.service-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

.service-line::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: var(--primary);
  transition: width 0.5s var(--ease-smooth);
}

.service-item:hover .service-line::after,
.service-item.active .service-line::after {
  width: 100%;
}

.services-visual {
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#services-canvas {
  width: 100%;
  height: 450px;
  border-radius: 12px;
}

/* ═══════════════════════════════════════
   04 — PROCESS SECTION
   ═══════════════════════════════════════ */
.process-section {
  position: relative;
  padding: 140px 0;
  background: transparent;
  overflow: hidden;
}

#process-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.2;
}

.process-header {
  position: relative;
  z-index: 1;
  padding-top: 80px;
  padding-bottom: 40px;
}

.process-label {
  color: rgba(255, 255, 255, 0.6);
}

.process-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.process-grid-wrapper {
  padding: 20px 0 100px;
  position: relative;
  z-index: 1;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 24px;
}

/* 5th card spans 2 columns, centered in the last row */
.process-panel--wide {
  grid-column: 2 / 4;
}

.process-panel {
  padding: 40px 32px 36px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(170, 170, 255, 0.15);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.process-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(170, 170, 255, 0.25), transparent 60%) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.process-panel:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-6px);
  border-color: rgba(170, 170, 255, 0.35);
}

.process-panel:hover::before {
  opacity: 1;
}

.process-panel-icon {
  width: 52px;
  height: 52px;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0.75;
  transition: opacity 0.3s, transform 0.3s;
}

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

.process-panel:hover .process-panel-icon {
  opacity: 1;
  transform: scale(1.1);
}

.panel-step-num {
  display: block;
  font-size: 0.75rem;
  font-weight: 900;
  color: rgba(170, 170, 255, 0.45);
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.panel-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.process-panel h3 {
  font-size: 1.4rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.process-panel p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
}

/* ═══════════════════════════════════════
   05 — PORTFOLIO SECTION
   ═══════════════════════════════════════ */
.portfolio-section {
  position: relative;
  padding: 160px 0;
  background: var(--black-deep);
  overflow: hidden;
}

.portfolio-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 60px;
}

.portfolio-stack {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.portfolio-card {
  position: relative;
  width: 100%;
  height: 65vh;
  min-height: 400px;
  max-height: 600px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 40px;
  will-change: transform;
}

.portfolio-card .card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.5s var(--ease-smooth);
}

.portfolio-card .card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(231, 1, 2, 0.0);
  transition: background 0.4s;
  z-index: 1;
}

.portfolio-card:hover .card-overlay {
  background: rgba(231, 1, 2, 0.5);
}

.portfolio-card .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px;
  z-index: 2;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.4s var(--ease-smooth), opacity 0.4s;
}

.portfolio-card:hover .card-content {
  transform: translateY(0);
  opacity: 1;
}

.card-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 8px;
}

.portfolio-card h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}

.card-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 1px solid var(--white);
  padding-bottom: 4px;
  transition: var(--transition);
}

.card-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.card-stats {
  display: flex;
  gap: 28px;
  margin-bottom: 20px;
}

.card-stat {
  display: flex;
  flex-direction: column;
}

.card-stat-value {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.card-stat-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 3px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.card-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(170, 170, 255, 0.4);
  color: rgba(170, 170, 255, 0.85);
}

/* ═══════════════════════════════════════
   06 — TESTIMONIALS SECTION
   ═══════════════════════════════════════ */
.testimonials-section {
  position: relative;
  padding: 160px 0;
  background: var(--white);
  color: var(--black);
  overflow: hidden;
}

.testimonials-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 60px;
}

.quote-deco {
  position: absolute;
  top: 80px;
  left: 60px;
  font-size: 120px;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.15;
  line-height: 1;
  pointer-events: none;
}

.testimonials-rows {
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 20px;
  width: max-content;
}

.testimonials-track.track-left {
  animation: marquee-left 30s linear infinite;
}

.testimonials-track.track-right {
  animation: marquee-right 30s linear infinite;
}

.test-card {
  flex-shrink: 0;
  width: 380px;
  padding: 32px;
  background: var(--white);
  border: 1px solid rgba(231, 1, 2, 0.12);
  border-radius: 16px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.test-card:hover {
  box-shadow: 0 16px 48px rgba(231, 1, 2, 0.12);
}

.test-stars {
  color: #ffc107;
  font-size: 0.9rem;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.test-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray-600);
  font-style: italic;
  margin-bottom: 20px;
}

.test-card strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--black);
}

.test-card span {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

/* ═══════════════════════════════════════
   07 — CONTACT SECTION
   ═══════════════════════════════════════ */
.contact-section {
  position: relative;
  background: transparent;
  overflow: hidden;
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.contact-left {
  position: relative;
  background: var(--primary);
  padding: 100px 60px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#contact-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.2;
}

.contact-left-content {
  position: relative;
  z-index: 1;
}

.contact-heading {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 48px;
}

.contact-heading .word {
  display: inline-block;
  overflow: hidden;
}

.contact-heading .word-inner {
  display: inline-block;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  opacity: 0;
  transform: translateX(-30px);
}

.ci-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* Contact Right (Form) */
.contact-right {
  background: var(--black);
  padding: 100px 60px;
  display: flex;
  align-items: center;
}

.contact-form {
  width: 100%;
  max-width: 450px;
}

.form-group {
  position: relative;
  margin-bottom: 40px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 0;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--white);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  outline: none;
  transition: var(--transition);
  resize: none;
}

.form-group label {
  position: absolute;
  top: 16px;
  left: 0;
  font-size: 0.9rem;
  color: var(--gray-400);
  font-weight: 600;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.form-group input:focus~label,
.form-group input:not(:placeholder-shown)~label,
.form-group textarea:focus~label,
.form-group textarea:not(:placeholder-shown)~label {
  top: -12px;
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 1px;
}

/* Trick: inputs need a placeholder for :not(:placeholder-shown) */
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: transparent;
}

.form-underline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.5s var(--ease-smooth);
}

.form-group input:focus~.form-underline,
.form-group textarea:focus~.form-underline {
  width: 100%;
}

.btn-submit {
  width: 100%;
  border: none;
  font-family: var(--font);
  opacity: 1;
  transform: none;
  margin-top: 20px;
}

.form-success {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 3px;
  margin-top: 24px;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.form-success.show {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.footer-section {
  position: relative;
  background: var(--black);
  padding: 120px 0 40px;
  overflow: hidden;
  text-align: center;
}

.footer-big-text {
  font-size: clamp(80px, 14vw, 180px);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.04);
  letter-spacing: 8px;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  margin-bottom: 40px;
  will-change: transform;
}

.footer-glow {
  position: absolute;
  bottom: 40%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(231, 1, 2, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.footer-links a {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  margin-left: 8px;
}

.social-icon svg {
  width: 18px;
  height: 18px;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px var(--primary-glow);
}

.social-icon:hover svg {
  transform: scale(1.1);
}

.footer-divider {
  color: rgba(255, 255, 255, 0.2);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.footer-address {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.15);
  letter-spacing: 0.5px;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-b-top {
    flex-direction: column;
    gap: 32px;
  }

  .about-b-stats {
    align-items: flex-start;
  }

  .about-heading {
    font-size: clamp(2.8rem, 10vw, 5rem);
  }

  .services-layout {
    grid-template-columns: 1fr;
  }

  .services-visual {
    min-height: 350px;
  }

  .contact-split {
    grid-template-columns: 1fr;
  }

  .section-nav {
    display: none;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: rgba(13, 13, 13, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transition: var(--transition-smooth);
    z-index: 999;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hero split → stacked on mobile */
  .hero-split {
    flex-direction: column;
    justify-content: flex-end;
  }

  .hero-left {
    flex: unset;
    padding: 0 24px;
    padding-top: 120px;
    align-items: flex-start;
  }

  .hero-right {
    flex: unset;
    width: 100%;
    height: 240px;
    position: relative;
  }

  .hero-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 0 12px;
  }

  .hero-grid-fade-top {
    height: 80px;
  }

  .hero-grid-fade-bottom {
    height: 80px;
  }

  .hero-title {
    letter-spacing: 4px;
  }

  .stats-row {
    gap: 32px;
    flex-wrap: wrap;
  }

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

  .process-panel--wide {
    grid-column: 1 / 3;
  }

  .portfolio-card {
    height: 50vh;
    min-height: 300px;
  }

  .portfolio-card .card-content {
    padding: 32px;
  }

  .test-card {
    width: 320px;
    padding: 24px;
  }

  .contact-left {
    padding: 60px 24px;
  }

  .contact-right {
    padding: 60px 24px;
  }

  .section-deco {
    font-size: 120px;
  }

  .quote-deco {
    font-size: 80px;
    top: 60px;
    left: 30px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    letter-spacing: 2px;
  }

  .stats-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .footer-big-text {
    font-size: 60px;
  }

  .section-deco {
    font-size: 80px;
  }

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

  .process-panel--wide {
    grid-column: 1 / 2;
  }
}

/* ═══════════════════════════════════════════════════════
   PAGE BACKDROPS — pure-CSS animated ground
   ═══════════════════════════════════════════════════════ */
.page-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: var(--black-deep, #050505);
}

.pb-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, transparent 35%, rgba(5, 5, 5, 0.82) 100%);
}

.pb-glow {
  position: absolute;
  width: 60vmax;
  height: 60vmax;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.3;
  will-change: transform;
}
.pb-glow-a {
  top: -22vmax;
  left: -16vmax;
  background: radial-gradient(circle, rgba(231, 1, 2, 0.55) 0%, rgba(231, 1, 2, 0) 68%);
  animation: pbDriftA 22s ease-in-out infinite alternate;
}
.pb-glow-b {
  right: -24vmax;
  bottom: -26vmax;
  background: radial-gradient(circle, rgba(255, 136, 136, 0.4) 0%, rgba(255, 136, 136, 0) 68%);
  animation: pbDriftB 27s ease-in-out infinite alternate;
}
@keyframes pbDriftA {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(16vw, 10vh, 0) scale(1.18); }
}
@keyframes pbDriftB {
  from { transform: translate3d(0, 0, 0) scale(1.1); }
  to   { transform: translate3d(-14vw, -12vh, 0) scale(0.92); }
}

.pb-stripes {
  position: absolute;
  inset: -40%;
  background: repeating-linear-gradient(
    115deg,
    transparent 0 58px,
    rgba(231, 1, 2, 0.11) 58px 60px,
    transparent 60px 118px,
    rgba(255, 255, 255, 0.035) 118px 119px
  );
  animation: pbStripes 18s linear infinite;
}
@keyframes pbStripes {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(0, 238px, 0); }
}

.pb-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150vmax;
  height: 150vmax;
  margin: -75vmax 0 0 -75vmax;
  background: repeating-radial-gradient(
    circle at 50% 50%,
    rgba(231, 1, 2, 0.13) 0 1px,
    transparent 1px 88px
  );
  animation: pbRings 60s linear infinite;
  opacity: 0.35;
}
@keyframes pbRings {
  from { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(180deg) scale(1.06); }
  to   { transform: rotate(360deg) scale(1); }
}

.pb-grid {
  position: absolute;
  inset: -50% -50% -20%;
  background-image:
    linear-gradient(rgba(231, 1, 2, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(231, 1, 2, 0.16) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(600px) rotateX(58deg);
  transform-origin: 50% 100%;
  mask-image: linear-gradient(to bottom, transparent, #000 35%, #000 65%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 35%, #000 65%, transparent);
  opacity: 0.25;
  animation: pbGridPan 14s linear infinite;
}
@keyframes pbGridPan {
  from { background-position: 0 0; }
  to   { background-position: 0 64px; }
}

.pb-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse at 50% 45%, #000 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 20%, transparent 72%);
  animation: pbDots 24s ease-in-out infinite alternate;
  opacity: 0.35;
}
@keyframes pbDots {
  from { background-position: 0 0; opacity: 0.35; }
  to   { background-position: 34px 34px; opacity: 0.6; }
}

.pb-sweep {
  position: absolute;
  top: -60%;
  left: -30%;
  width: 40%;
  height: 220%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.045) 45%,
    rgba(231, 1, 2, 0.1) 50%,
    rgba(255, 255, 255, 0.045) 55%,
    transparent 100%
  );
  transform: rotate(14deg);
  animation: pbSweep 9s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}
@keyframes pbSweep {
  0%        { transform: translateX(-40%) rotate(14deg); opacity: 0; }
  12%       { opacity: 1; }
  60%, 100% { transform: translateX(340%) rotate(14deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .page-backdrop * { animation: none !important; }
  .pb-sweep { opacity: 0; }
}