* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #030303;
  color: #fff;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

/* ===============================
   PAGE TRANSITIONS
   =============================== */

body {
  opacity: 1;

  transition:
    opacity 0.42s ease,
    filter 0.42s ease;
}

body.page-exit {
  opacity: 0;

  filter: blur(6px);
}
/* =========================================
   CURSOR GLOW
========================================= */

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 500;
  background: radial-gradient(circle, rgba(212, 166, 86, 0.18), transparent 68%);
  filter: blur(16px);
  transform: translate(-999px, -999px);
  opacity: 0;
  transition: opacity 0.25s ease;
  mix-blend-mode: screen;
}

/* =========================================
   NAVBAR
========================================= */

.site-header {
  position: fixed;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);

  width: calc(100% - 80px);
  max-width: 1450px;
  z-index: 300;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 18px 32px;

  border: 1px solid rgba(212, 166, 86, 0.16);
  border-radius: 28px;

  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );

  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  position: relative;
  z-index: 20;
  flex-shrink: 0;
}

.brand-logo {
  width: 86px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(212, 166, 86, 0.25));
  transition: transform 0.4s ease, filter 0.4s ease;
}

.brand:hover .brand-logo {
  transform: scale(1.05);
  filter: drop-shadow(0 0 22px rgba(212, 166, 86, 0.45));
}

.brand-text.premium-line {
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 1;
}

.brand-text.premium-line strong {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1px;
  color: #ffffff;
}

.brand-text.premium-line .divider {
  width: 1px;
  height: 22px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(212, 166, 86, 0.7),
    transparent
  );
}

.brand-text.premium-line .tagline {
  font-size: 11px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: rgba(212, 166, 86, 0.78);
  white-space: nowrap;
  font-weight: 600;
}

/* DESKTOP NAV */

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.desktop-nav a {
  position: relative;

  color: rgba(255,255,255,0.72);

  text-decoration: none;

  font-size: 12px;

  letter-spacing: 0.16em;
  text-transform: uppercase;

  transition:
    color 0.3s ease,
    opacity 0.3s ease;
}

.desktop-nav a {
  position: relative;

  color: rgba(255,255,255,0.72);

  text-decoration: none;

  font-size: 12px;

  letter-spacing: 0.16em;
  text-transform: uppercase;

  transition:
    color 0.3s ease,
    opacity 0.3s ease;
}

.desktop-nav a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -8px;

  width: 100%;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(212,166,86,0.9),
      transparent
    );

  transform: scaleX(0);

  transform-origin: center;

  transition: transform 0.3s ease;
}

.desktop-nav a:hover {
  color: #d4a656;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

/* ACTIVE PAGE */

.desktop-nav a.active {
  color: #d4a656;
}

.desktop-nav a.active::after {
  transform: scaleX(1);
}

.desktop-nav a:hover {
  color: #d4a656;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

/* NAV ACTIONS */

.nav-actions {
  display: flex !important;
  align-items: center;
  gap: 18px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 20px;
  border-radius: 999px;

  color: #0b0b0b;
  background: #d4a656;

  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(212, 166, 86, 0.22);
}

/* MOBILE MENU BUTTON */

.mobile-menu-btn {
  display: none;

  width: 44px;
  height: 44px;
  border-radius: 50%;

  border: 1px solid rgba(212, 166, 86, 0.28);
  background: rgba(255,255,255,0.04);

  cursor: pointer;
  position: relative;
}

.mobile-menu-btn span {
  position: absolute;

  left: 11px;

  width: 20px;
  height: 2px;

  background: #d4a656;

  border-radius: 20px;

  transition: all 0.3s ease;
}

.mobile-menu-btn span:nth-child(1) {
  top: 13px;
}

.mobile-menu-btn span:nth-child(2) {
  top: 20px;
}

.mobile-menu-btn span:nth-child(3) {
  top: 27px;
}

/* MOBILE DROPDOWN */

.mobile-menu {
  position: fixed;
  top: 105px;
  right: 18px;
  left: auto;

  transform: translateY(-14px);

  width: 210px;

  z-index: 250;

  display: flex;
  flex-direction: column;
  gap: 2px;

  padding: 10px;

  border: 1px solid rgba(212, 166, 86, 0.18);
  border-radius: 24px;

  background:
    linear-gradient(
      180deg,
      rgba(16,16,16,0.96),
      rgba(10,10,10,0.94)
    );

  backdrop-filter: blur(24px);

  box-shadow:
    0 24px 60px rgba(0,0,0,0.42),
    inset 0 1px 0 rgba(255,255,255,0.03);

  opacity: 0;
  pointer-events: none;

  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.mobile-menu a {
  position: relative;

  color: rgba(255,255,255,0.74);

  text-decoration: none;

  padding:
    10px
    12px;

  border-radius: 14px;

  font-size: 10px;
  font-weight: 500;

  letter-spacing: 0.14em;
  text-transform: uppercase;

  transition:
    color 0.3s ease,
    background 0.3s ease,
    transform 0.3s ease;
}

.mobile-menu a:hover {
  color: #d4a656;

  background:
    linear-gradient(
      90deg,
      rgba(212,166,86,0.14),
      rgba(212,166,86,0.03)
    );

  transform: translateX(4px);
}

/* ACTIVE PAGE */

.mobile-menu a.active {
  color: #d4a656;

  background:
    linear-gradient(
      90deg,
      rgba(212,166,86,0.16),
      rgba(212,166,86,0.04)
    );

  border:
    1px solid rgba(212,166,86,0.10);
}

.mobile-menu a:hover {
  color: #d4a656;

  background:
  linear-gradient(
    90deg,
    rgba(212,166,86,0.14),
    rgba(212,166,86,0.03)
  );

  transform: translateX(4px);
}

/* MOBILE ACTIVE STATE */

body.menu-open .mobile-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

body.menu-open .mobile-menu-btn span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}

body.menu-open .mobile-menu-btn span:nth-child(2) {
  opacity: 0;
}

body.menu-open .mobile-menu-btn span:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg);
}

/* RESPONSIVE */

@media (max-width: 1050px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 14px;
    width: calc(100% - 28px);
    padding: 14px 18px;
    border-radius: 22px;
  }

  .brand-logo {
  width: 88px !important;
  max-width: unset;
}

  .brand-text.premium-line {
    display: none;
  }

  .nav-cta {
  display: none !important;
  }

  .mobile-menu {
    top: 102px;
  }
}

/* =========================================
   HERO WORLD
========================================= */

.hero-world {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;

  background:
    radial-gradient(circle at center, rgba(212, 166, 86, 0.22) 0%, rgba(212, 166, 86, 0.10) 22%, rgba(212, 166, 86, 0.04) 42%, rgba(0, 0, 0, 0) 72%),
    radial-gradient(circle at center, rgba(255, 190, 80, 0.08), transparent 58%),
    linear-gradient(180deg, #090909 0%, #040404 55%, #020202 100%);

  transition: transform 0.8s ease;
  z-index: 1;
}

.hero-world.is-warping {
  transform: scale(1.16);
}

.hero-world::before {
  content: "";
  position: absolute;
  width: 1400px;
  height: 1400px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 320deg,
    rgba(212, 166, 86, 0.18) 342deg,
    rgba(255, 220, 140, 0.55) 350deg,
    transparent 360deg
  );
  z-index: 4;
  animation: scannerRotate 12s linear infinite;
  filter: blur(8px);
  pointer-events: none;
}

@keyframes scannerRotate {
  from {
    rotate: 0deg;
  }

  to {
    rotate: 360deg;
  }
}

.metal-texture {
  position: absolute;
  inset: -20%;
  z-index: 1;
  opacity: 0.18;
  pointer-events: none;

  background: repeating-linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.04) 0px,
    rgba(255, 255, 255, 0.04) 1px,
    transparent 1px,
    transparent 8px
  );

  animation: textureDrift 14s linear infinite;
}

@keyframes textureDrift {
  from {
    background-position: 0 0;
  }

  to {
    background-position: -160px 0;
  }
}

.hero-grid {
  position: absolute;
  inset: -5%;
  z-index: 2;
  pointer-events: none;

  background-image:
    linear-gradient(rgba(212, 166, 86, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 166, 86, 0.065) 1px, transparent 1px);

  background-size: 90px 90px;
  mask-image: radial-gradient(circle at center, black 20%, transparent 82%);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 50;
  pointer-events: none;

  background: radial-gradient(
    circle at center,
    transparent 30%,
    rgba(0, 0, 0, 0.25) 62%,
    rgba(0, 0, 0, 0.68) 100%
  );
}

.hero-glow {
  position: absolute;
  z-index: 3;
  width: 1100px;
  height: 1100px;
  border-radius: 50%;
  pointer-events: none;

  background: radial-gradient(
    circle,
    rgba(255, 210, 120, 0.52) 0%,
    rgba(212, 166, 86, 0.24) 18%,
    rgba(212, 166, 86, 0.10) 38%,
    rgba(212, 166, 86, 0.04) 52%,
    transparent 72%
  );

  filter: blur(90px);
  animation: pulseGlow 5s ease-in-out infinite, reactorRotate 24s linear infinite;
}

.hero-glow::before,
.hero-glow::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-glow::before {
  inset: 18%;
  border: 1px solid rgba(212, 166, 86, 0.18);
  box-shadow:
    inset 0 0 40px rgba(212, 166, 86, 0.12),
    0 0 40px rgba(212, 166, 86, 0.12);
  animation: reactorSpin 18s linear infinite;
}

.hero-glow::after {
  inset: 8%;
  border: 1px solid rgba(212, 166, 86, 0.10);
  animation: reactorSpinReverse 30s linear infinite;
}

@keyframes pulseGlow {
  0%,
  100% {
    scale: 0.96;
    opacity: 0.78;
  }

  50% {
    scale: 1.08;
    opacity: 1;
  }
}

@keyframes reactorRotate {
  from {
    rotate: 0deg;
  }

  to {
    rotate: 360deg;
  }
}

@keyframes reactorSpin {
  from {
    rotate: 0deg;
  }

  to {
    rotate: -360deg;
  }
}

@keyframes reactorSpinReverse {
  from {
    rotate: 0deg;
  }

  to {
    rotate: 360deg;
  }
}

.radar-ring {
  position: absolute;
  z-index: 5;
  width: 860px;
  height: 860px;
  border-radius: 50%;
  pointer-events: none;

  border: 1px solid rgba(212, 166, 86, 0.16);
  box-shadow:
    inset 0 0 45px rgba(212, 166, 86, 0.05),
    0 0 45px rgba(212, 166, 86, 0.07);

  animation: ringRotate 18s linear infinite;
}

.ring-2 {
  width: 1650px;
  height: 1650px;
  opacity: 0.58;
  animation-duration: 28s;
  animation-direction: reverse;
}

@keyframes ringRotate {
  from {
    rotate: 0deg;
  }

  to {
    rotate: 360deg;
  }
}

/* =========================================
   HERO CONTENT
========================================= */

.hero-content {
  position: relative;
  z-index: 80;
  text-align: center;
  max-width: 1050px;
  padding: 20px;
}

.eyebrow {
  color: #d4a656;
  letter-spacing: 5px;
  font-size: 12px;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.hero-content h1 {
  font-size: clamp(64px, 8vw, 112px);
  line-height: 0.88;
  letter-spacing: -4px;
  text-transform: uppercase;
  margin-bottom: 34px;

  text-shadow:
    0 0 90px rgba(212, 166, 86, 0.28),
    0 10px 40px rgba(0, 0, 0, 0.8);
}

.hero-text {
  max-width: 720px;
  margin: 0 auto 38px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 16px 34px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition: 0.35s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.28),
    transparent
  );

  transform: translateX(-120%);
  transition: transform 0.5s ease;
}

.btn:hover::before {
  transform: translateX(120%);
}

.primary {
  background: #d4a656;
  color: #050505;
  box-shadow: 0 0 48px rgba(212, 166, 86, 0.38);
}

.secondary {
  border: 1px solid rgba(212, 166, 86, 0.52);
  color: #d4a656;
  background: rgba(0, 0, 0, 0.25);
}

.btn:hover {
  transform: translateY(-5px);
}

/* =========================================
   HERO PROJECT NODES (UPDATED PREMIUM ALIGN)
========================================= */

.project-node {
  position: absolute;
  z-index: 90;
  width: 270px;
  padding: 22px 28px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;

  border-radius: 999px;
  border: 1px solid rgba(212, 166, 86, 0.34);

  background:
    radial-gradient(circle at top right, rgba(212, 166, 86, 0.14), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.025));

  backdrop-filter: blur(20px);
  overflow: hidden;

  animation: nodeFloat 6s ease-in-out infinite;

  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.50),
    0 0 40px rgba(212, 166, 86, 0.12),
    inset 0 0 24px rgba(255, 255, 255, 0.025);

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;

  /* 🔥 NEW ALIGNMENT */
  display: flex;
  flex-direction: column;
  justify-content: center;   /* vertical center */
  align-items: flex-start;   /* keep text left */
  text-align: left;
}

/* ✨ TEXT POLISH */

.project-node small {
  font-size: 11px;
  letter-spacing: 1.6px;
  opacity: 0.6;
}

.project-node strong {
  margin: 6px 0;
  font-size: 18px;
  letter-spacing: 0.4px;
}

.project-node span {
  font-size: 13px;
  opacity: 0.75;
  line-height: 1.4;
}

.project-node::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent, rgba(212, 166, 86, 0.20), transparent);
  transform: translateX(-120%);
  transition: 0.8s ease;
}

.project-node::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d4a656;
  box-shadow: 0 0 18px rgba(212, 166, 86, 0.9);
}

.project-node:hover::before {
  transform: translateX(120%);
}

.project-node:hover {
  transform: scale(1.08) translateY(-10px);
  border-color: rgba(212, 166, 86, 0.75);

  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.7),
    0 0 80px rgba(212, 166, 86, 0.25),
    inset 0 0 25px rgba(255, 255, 255, 0.04);

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.04)
    );
}

.project-node small {
  display: block;
  color: #d4a656;
  letter-spacing: 3px;
  font-size: 11px;
  margin-bottom: 12px;
}

.project-node strong {
  display: block;
  font-size: 22px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.92);
}

.project-node span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.6;
}

.project-node:hover strong {
  color: #fff;
}

.project-node:hover span {
  color: rgba(255, 255, 255, 0.9);
}

.node-1 {
  top: 19%;
  left: 5%;
}

.node-2 {
  top: 19%;
  right: 5%;
}

.node-3 {
  bottom: 17%;
  left: 6.5%;
}

.node-4 {
  bottom: 17%;
  right: 6.5%;
}

@keyframes nodeFloat {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -14px;
  }
}

/* =========================================
   SCROLL CUE
========================================= */

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 38px;
  transform: translateX(-50%);
  z-index: 100;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;

  text-decoration: none;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;

  transition: 0.35s ease;
}

.scroll-cue:hover {
  color: #d4a656;
}

.scroll-line {
  position: relative;
  width: 1px;
  height: 70px;
  background: linear-gradient(
    to bottom,
    rgba(212, 166, 86, 0.0),
    rgba(212, 166, 86, 0.9),
    rgba(212, 166, 86, 0.0)
  );
  overflow: hidden;
}

.scroll-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: -30px;
  width: 100%;
  height: 30px;
  background: #fff;
  filter: blur(4px);
  animation: scrollPulse 2s linear infinite;
}

@keyframes scrollPulse {
  from {
    top: -30px;
  }

  to {
    top: 100px;
  }
}

/* =========================================
   WARP OVERLAY
========================================= */

.warp-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  background:
    radial-gradient(circle at center, rgba(212, 166, 86, 0.22), rgba(0, 0, 0, 1) 58%),
    #000;

  opacity: 0;
  pointer-events: none;
  transform: scale(1.08);
  transition: opacity 0.45s ease, transform 0.65s ease;
}

.warp-overlay.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.warp-message {
  position: relative;
  z-index: 5;
  text-align: center;
}

.warp-message small {
  display: block;
  color: #d4a656;
  letter-spacing: 6px;
  font-size: 12px;
  margin-bottom: 18px;
}

.warp-message h2 {
  text-transform: uppercase;
  font-size: clamp(52px, 8vw, 130px);
  line-height: 0.85;
  letter-spacing: -5px;
  color: #fff;

  text-shadow:
    0 0 45px rgba(212, 166, 86, 0.45),
    0 20px 80px rgba(0, 0, 0, 0.95);
}

.warp-message p {
  margin-top: 20px;
  color: #d4a656;
  font-size: 22px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* =========================================
   FEATURED SECTION
========================================= */

.featured-section {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  overflow: hidden;
  padding: 160px 8vw;

  background: linear-gradient(180deg, #050505 0%, #080808 50%, #050505 100%);
}

.section-bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  pointer-events: none;

  background-image:
    linear-gradient(rgba(212, 166, 86, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 166, 86, 0.05) 1px, transparent 1px);

  background-size: 80px 80px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 85%);
}

.section-glow {
  position: absolute;
  width: 900px;
  height: 900px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;

  background: radial-gradient(circle, rgba(212, 166, 86, 0.18), transparent 68%);
  filter: blur(70px);
}

.section-inner {
  position: relative;
  z-index: 20;
  max-width: 1450px;
  margin: auto;
}

.section-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 38px;

  color: #d4a656;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 12px;
}

.section-kicker span {
  font-size: 14px;
  font-weight: 700;
}

.section-kicker small {
  opacity: 0.7;
}

.featured-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: start;
}

.featured-copy h2 {
  font-size: clamp(42px, 5vw, 82px);
  line-height: 0.95;
  margin-bottom: 28px;
  letter-spacing: -3px;
  text-transform: uppercase;
  text-shadow: 0 0 50px rgba(212, 166, 86, 0.16);
}

.featured-copy p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.9;
  max-width: 680px;
}

/* =========================================
   PROJECT SHOWCASE CARDS
========================================= */

.project-showcase {
  position: relative;
  z-index: 20;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;

  width: 100%;
  align-items: stretch;
}

.showcase-card {
  position: relative;
  z-index: 20;

  transform-style: preserve-3d;
  will-change: transform;

  min-height: 360px;
  height: 360px;

  overflow: hidden;
  border-radius: 32px;
  isolation: isolate;
  cursor: pointer;

  border: 1px solid rgba(212, 166, 86, 0.18);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);

  animation: none;
  opacity: 1;

  transform: translateY(0) scale(1);
  transition:
    transform 0.45s cubic-bezier(.2, .8, .2, 1),
    border-color 0.45s ease,
    box-shadow 0.45s ease;
}

.large-card {
  min-height: 360px;
  height: 360px;
}

.wide-card {
  grid-column: span 1;
  min-height: 360px;
  height: 360px;
}

.card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  opacity: 0.82;
  transform: scale(1);
  transition: transform 0.8s ease, opacity 0.5s ease;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  filter: brightness(0.7) contrast(1.05);
  transition: transform 0.5s ease;
}

.showcase-card:hover .card-image img {
  transform: scale(1.1);
}

.card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.78));
}

.card-content {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 34px;
  z-index: 5;
  transition: transform 0.45s ease;
}

.card-content small {
  display: inline-block;
  margin-bottom: 14px;
  color: #d4a656;
  letter-spacing: 3px;
  font-size: 11px;
  text-transform: uppercase;
}

.card-content h3 {
  font-size: 38px;
  line-height: 1.05;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.card-content p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 520px;
}

.card-content span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #d4a656;
  font-weight: 700;
  letter-spacing: 1px;
  transition: letter-spacing 0.35s ease;
}

.showcase-card::before {
  content: "";
  position: absolute;
  inset: -120%;
  z-index: 4;
  pointer-events: none;

  background: linear-gradient(
    120deg,
    transparent 35%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 65%
  );

  transform: translateX(-100%);
  transition: 1s ease;
}

.showcase-card:hover,
.showcase-card.card-hovered {
  transform: translateY(-12px) scale(1.035);

  z-index: 40;

  border-color: rgba(212, 166, 86, 0.48);

  box-shadow:
    0 42px 90px rgba(0, 0, 0, 0.62),
    0 0 70px rgba(212, 166, 86, 0.18);
}

.showcase-card:hover .card-image,
.showcase-card.card-hovered .card-image {
  transform: scale(1.06);
  opacity: 1;
}

.showcase-card:hover::before,
.showcase-card.card-hovered::before {
  transform: translateX(100%);
}

.showcase-card:hover .card-content,
.showcase-card.card-hovered .card-content {
  transform: translateY(-12px);
}

.showcase-card:hover span,
.showcase-card.card-hovered span {
  letter-spacing: 2px;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 980px) {
  .featured-layout {
    grid-template-columns: 1fr;
  }

  .featured-copy h2 {
    font-size: 52px;
  }

  .project-showcase {
    grid-template-columns: 1fr;
  }

  .wide-card {
    grid-column: span 1;
  }

  .large-card {
    min-height: 420px;
  }

  .card-content h3 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .cursor-glow {
    display: none;
  }

  .site-header {
    width: calc(100% - 20px);
    padding: 14px 18px;
  }

  .brand-logo {
    width: 64px;
  }

  .brand {
    gap: 12px;
  }

  .brand-text.premium-line {
    gap: 10px;
  }

  .brand-text.premium-line strong {
    font-size: 21px;
  }

  .brand-text.premium-line .tagline {
    font-size: 8px;
    letter-spacing: 2px;
  }

  .brand-text.premium-line .divider {
    height: 16px;
  }

  .hero-content h1 {
    font-size: 58px;
    letter-spacing: -2px;
  }

  .hero-text {
    font-size: 15px;
  }

  .project-node {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 280px;
    margin: 14px auto;
    border-radius: 24px;
  }

  .node-1,
  .node-2,
  .node-3,
  .node-4 {
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
  }
}

/* =========================================
   FINAL HOMEPAGE POLISH — IRONEDGE
========================================= */

/* Pull hero cards slightly inward */
.node-1 {
  left: 8%;
}

.node-2 {
  right: 8%;
}

.node-3 {
  left: 9%;
}

.node-4 {
  right: 9%;
}

/* Reduce strong hero beam distraction */
.hero-world::before {
  opacity: 0.55;
  filter: blur(12px);
}

/* Stronger hero title glow */
.hero-content h1 {
  text-shadow:
    0 0 120px rgba(212,166,86,0.25),
    0 10px 40px rgba(0,0,0,0.9);
}

/* Better button hierarchy */
.primary {
  background: #d4a656;
  color: #000;
  box-shadow: 0 0 60px rgba(212,166,86,0.5);
}

.secondary {
  border: 1px solid rgba(212,166,86,0.4);
  color: #d4a656;
  background: transparent;
  opacity: 0.85;
}

/* Slightly cleaner navbar brand spacing */
.site-header {
  padding: 18px 34px;
}

.brand {
  gap: 18px;
}

.brand-text.premium-line {
  gap: 14px;
}

/* =========================================
   NAVBAR CTA BUTTON
========================================= */

.nav-cta {
  position: relative;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 22px;
  border-radius: 999px;

  text-decoration: none;
  color: #d4a656;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;

  border: 1px solid rgba(212,166,86,0.42);
  background: rgba(0,0,0,0.28);

  box-shadow:
    inset 0 0 18px rgba(212,166,86,0.05),
    0 0 24px rgba(212,166,86,0.08);

  transition: all 0.35s ease;
}

.nav-cta:hover {
  color: #050505;
  background: #d4a656;
  border-color: #d4a656;
  box-shadow:
    0 0 36px rgba(212,166,86,0.35),
    inset 0 0 18px rgba(255,255,255,0.18);
  transform: translateY(-2px);
}

/* =========================================
   SHOWCASE CARD TEXT CLEANUP
========================================= */

.card-content.compact {
  bottom: 30px;
}

.card-content.compact h3 {
  font-size: 34px;
  margin-bottom: 18px;
}

.card-content.compact p {
  display: none;
}

.card-overlay {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.45));
}

/* =========================================
   SHOWCASE HOVER UPGRADE
========================================= */

.showcase-card:hover {
  transform: translateY(-10px) scale(1.02);

  border-color: rgba(212, 166, 86, 0.5);

  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.65),
    0 0 60px rgba(212, 166, 86, 0.18);
}

/* image zoom */
.showcase-card img {
  transition: transform 0.6s ease;
}

.showcase-card:hover img {
  transform: scale(1.08);
}

/* text lift */
.card-content.compact {
  transition: transform 0.4s ease;
}

.showcase-card:hover .card-content.compact {
  transform: translateY(-6px);
}

/* =========================================
   PAGE TRANSITION EFFECT
========================================= */

body {
  opacity: 1;
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

body.page-transition {
  opacity: 0;
  transform: scale(1.01);
}

/* =========================================
   CINEMATIC SCROLL REVEALS
========================================= */

.reveal {
  opacity: 0;

  transform:
    translateY(80px)
    scale(0.96);

  filter: blur(10px);

  transition:
    opacity 1.2s cubic-bezier(.16,1,.3,1),
    transform 1.2s cubic-bezier(.16,1,.3,1),
    filter 1.2s ease;

  will-change:
    transform,
    opacity,
    filter;
}

.reveal.active {
  opacity: 1;

  transform:
    translateY(0)
    scale(1);

  filter: blur(0);
}

.reveal-delay-1 {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.24s;
}

.reveal-delay-3 {
  transition-delay: 0.36s;
}

.reveal-delay-4 {
  transition-delay: 0.48s;
}

/* =========================================
   CATEGORY PAGE — SIGNATURE BUILDS
========================================= */

.category-hero {
  position: relative;

  min-height: 88vh;

  display: flex;
  align-items: flex-end;

  padding:
    120px 8% 90px;

  overflow: hidden;
}

.category-hero-image {
  position: absolute;
  inset: 0;
}

.category-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transform: scale(1.05);

  filter:
    brightness(0.58)
    contrast(1.05);
}

.category-hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,0.2),
      rgba(0,0,0,0.85)
    );
}

.category-hero-content {
  position: relative;
  z-index: 10;

  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  padding:
    0 8%
    110px;
}

.category-hero-content .eyebrow {
  color: #d4a656;
  letter-spacing: 3px;
  margin-bottom: 24px;
}

.category-hero-content h1 {
  font-size: clamp(64px, 9vw, 140px);
  line-height: 0.9;

  margin-bottom: 28px;

  text-shadow:
    0 10px 60px rgba(0,0,0,0.85);
}

.category-hero-content p {
  max-width: 700px;

  font-size: 20px;
  line-height: 1.8;

  color: rgba(255,255,255,0.76);
}

/* INTRO */

.category-intro {
  padding:
    90px 8%
    12px;

  background: #050505;
}

.category-intro-inner {
  max-width: 900px;
}

.category-intro-inner span {
  color: #d4a656;
  letter-spacing: 3px;
  font-size: 12px;
}

.category-intro-inner h2 {
  font-size: clamp(38px, 5vw, 72px);

  margin:
    24px 0
    30px;
}

.category-intro-inner p {
  max-width: 820px;

  color: rgba(255,255,255,0.72);

  font-size: 18px;
  font-weight: 400;

  letter-spacing: 0.02em;
  text-transform: none;

  line-height: 1.9;

  margin-bottom: 10px;
}

/* SECTION HEADING */

.category-section-heading {
  margin-bottom: 48px;
}

.category-section-heading span {
  color: #d4a656;
  letter-spacing: 3px;
  font-size: 12px;
}

.category-section-heading h2 {
  font-size: clamp(34px, 4vw, 64px);
  margin-top: 16px;
}

/* GALLERY */

.category-gallery {
  padding:
    0 8%
    120px;

  background: #050505;
}

.category-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 32px;
}

.category-card {
  position: relative;

  overflow: hidden;

  border-radius: 32px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.04),
      rgba(255,255,255,0.02)
    );

  border:
    1px solid rgba(212,166,86,0.12);

  transition:
    transform 0.45s ease,
    border-color 0.45s ease,
    box-shadow 0.45s ease;
}

.category-card:hover {
  transform:
    translateY(-10px)
    scale(1.02);

  border-color:
    rgba(212,166,86,0.42);

  box-shadow:
    0 30px 80px rgba(0,0,0,0.55),
    0 0 50px rgba(212,166,86,0.12);
}

.category-card img {
  width: 100%;
  height: 340px;

  object-fit: cover;

  transition:
    transform 0.6s ease;
}

.category-card:hover img {
  transform: scale(1.08);
}

.category-card div {
  padding: 30px;
}

.category-card small {
  color: #d4a656;
  letter-spacing: 2px;
  font-size: 11px;
}

.category-card h3 {
  font-size: 30px;

  margin:
    14px 0
    18px;
}

.category-card p {
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
}

/* PROCESS */

.category-process {
  padding:
    120px 8%;

  background:
    linear-gradient(
      180deg,
      #080808,
      #040404
    );
}

.process-grid {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 30px;
}

.process-step {
  padding: 40px;

  border-radius: 28px;

  border:
    1px solid rgba(212,166,86,0.12);

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.04),
      rgba(255,255,255,0.02)
    );
}

.process-step small {
  color: #d4a656;
  font-size: 34px;
}

.process-step h3 {
  margin:
    24px 0
    18px;

  font-size: 28px;
}

.process-step p {
  color: rgba(255,255,255,0.68);
  line-height: 1.8;
}

/* CTA */

.category-cta {
  padding:
    140px 8%;

  text-align: center;

  background:
    radial-gradient(
      circle at center,
      rgba(212,166,86,0.12),
      transparent 60%
    ),
    #050505;
}

.category-cta h2 {
  font-size: clamp(42px, 6vw, 90px);

  margin-bottom: 24px;
}

.category-cta p {
  color: rgba(255,255,255,0.72);

  margin-bottom: 42px;

  font-size: 18px;
}

/* RESPONSIVE */

@media (max-width: 980px) {

  .category-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

}

/* =========================================
   SIGNATURE BUILDS — MINI GALLERY
========================================= */

.signature-gallery-section {
  padding: 0 8% 130px;
  background: #050505;
}

.build-showcase {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 60px;
  align-items: center;

  padding: 60px 0;
  border-top: 1px solid rgba(212,166,86,0.12);
}

.build-showcase:last-child {
  border-bottom: 1px solid rgba(212,166,86,0.12);
}

.build-copy small {
  color: #d4a656;
  letter-spacing: 3px;
  font-size: 11px;
}

.build-copy h3 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
  margin: 18px 0 24px;
  text-transform: uppercase;
}

.build-copy p {
  color: rgba(255,255,255,0.72);
  font-size: 17px;
  line-height: 1.9;
  max-width: 560px;
}

.build-image-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 230px 230px;
  gap: 18px;
}

.build-image-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  border-radius: 26px;
  border: 1px solid rgba(212,166,86,0.14);

  filter: brightness(0.82) contrast(1.04);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.build-image-grid img:first-child {
  grid-row: span 2;
}

.build-image-grid img:hover {
  transform: scale(1.03);
  filter: brightness(1) contrast(1.08);
}

/* Mobile */
@media (max-width: 980px) {
  .build-showcase {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .build-image-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .build-image-grid img {
    height: 280px;
  }

  .build-image-grid img:first-child {
    grid-row: auto;
  }
}

/* =========================================
   FUNCTIONAL OBJECTS PAGE
========================================= */

.category-nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;

  width: min(86%, 1500px);
  height: 92px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 34px;

  border-radius: 26px;
  border: 1px solid rgba(212,166,86,0.22);

  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.10),
    rgba(255,255,255,0.025)
  );

  backdrop-filter: blur(22px);
  box-shadow: 0 24px 70px rgba(0,0,0,0.5);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: #fff;
}

.nav-logo img {
  width: 74px;
}

.nav-logo strong {
  display: block;
  font-size: 24px;
}

.nav-logo span {
  color: #d4a656;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.back-btn,
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 28px;

  border-radius: 999px;
  border: 1px solid rgba(212,166,86,0.45);

  color: #d4a656;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 2px;
}

.objects-hero {
  min-height: 88vh;

  display: flex;
  align-items: flex-end;

  padding: 140px 8% 90px;

  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,0.30),
      rgba(0,0,0,0.90)
    ),
    url("../assets/images/products/hero.jpg") center/cover no-repeat;
}

.category-content {
  max-width: 760px;
}

.category-tag {
  color: #d4a656;
  letter-spacing: 4px;
  font-size: 13px;
  font-weight: 800;
}

.category-content h1 {
  font-size: clamp(70px, 10vw, 150px);
  line-height: 0.9;
  margin: 26px 0;
}

.category-content p {
  max-width: 620px;
  color: rgba(255,255,255,0.75);
  font-size: 21px;
  line-height: 1.7;
}

.objects-gallery {
  padding: 80px 8% 90px;
  background: #050505;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  gap: 22px;

  grid-auto-flow: dense;
}

.object-card {
  position: relative;
  overflow: hidden;

  border-radius: 28px;
  border: 1px solid rgba(212,166,86,0.16);

  background: #111;
}

.object-card.large {
  grid-column: span 2;
  grid-row: span 2;
}

.object-card.tall {
  grid-row: span 2;
}

.object-card.wide {
  grid-column: span 2;
}



.object-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  filter: brightness(0.75) contrast(1.05);
  transition: 0.5s ease;
}

.object-card:hover img {
  transform: scale(1.07);
  filter: brightness(1) contrast(1.08);
}

.object-info {
  position: absolute;
  left: 26px;
  bottom: 24px;
  z-index: 3;
}

.object-info span {
  color: #d4a656;
  font-size: 12px;
  letter-spacing: 3px;
}

.object-info h3 {
  margin-top: 8px;
  font-size: 28px;
  color: #fff;
}

@media (max-width: 980px) {
  .objects-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 320px;
  }

  .object-card.large,
  .object-card.tall {
    grid-column: auto;
    grid-row: auto;
  }
}

/* FUNCTIONAL OBJECTS POLISH */

.functional-objects-page .category-nav,
.category-nav {
  background:
    linear-gradient(
      135deg,
      rgba(12, 12, 12, 0.92),
      rgba(5, 5, 5, 0.72)
    );

  box-shadow:
    0 24px 80px rgba(0,0,0,0.72),
    inset 0 0 40px rgba(255,255,255,0.025);
}

.object-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;

  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,0.05),
      rgba(0,0,0,0.72)
    );

  pointer-events: none;
}

.object-info {
  z-index: 4;
}


.object-card {
  min-height: 250px;
}

.object-info h3 {
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.05;
  max-width: 260px;
  text-shadow: 0 8px 24px rgba(0,0,0,0.85);
}

.object-info span {
  display: block;
  margin-bottom: 10px;
  font-weight: 900;
  text-shadow: 0 6px 18px rgba(0,0,0,0.85);
}

/* =========================================
   PRODUCT CARD SLIDER
========================================= */

.slider-card {
  position: relative;
}

.card-slider {
  position: absolute;
  inset: 0;
}

.card-slider .slide {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  opacity: 0;

  transition:
    opacity 1s ease,
    transform 1.2s ease;

  transform: scale(1.03);

  filter:
    brightness(0.78)
    contrast(1.05);
}

.card-slider .slide.active {
  opacity: 1;
  transform: scale(1);
}

/* SLIDER PREMIUM MOTION */

.slider-card:hover .slide.active {
  transform: scale(1.06);
}

.card-slider .slide {
  transform: scale(1.02);
}

.card-slider .slide.active {
  transform: scale(1);
}

.slider-card::before {
  content: "VIEW ANGLES";
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 5;

  color: rgba(255,255,255,0.72);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 3px;

  opacity: 0;
  transform: translateY(-8px);
  transition: 0.35s ease;
}

.slider-card:hover::before {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   PRODUCT LIGHTBOX
========================================= */

.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;

  display: none;
  align-items: center;
  justify-content: center;

  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(18px);
}

.product-lightbox.active {
  display: flex;
}

.lightbox-frame {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  max-width: 86vw;
  max-height: 82vh;
}

.lightbox-frame img {
  max-width: 86vw;
  max-height: 82vh;

  width: auto;
  height: auto;

  object-fit: contain;

  border-radius: 24px;
  border: 1px solid rgba(212,166,86,0.32);

  box-shadow:
    0 0 0 1px rgba(212,166,86,0.08),
    0 30px 100px rgba(0,0,0,0.75);
}

.lightbox-close {
  position: absolute;

  top: -18px;
  right: -18px;

  width: 48px;
  height: 48px;

  border-radius: 50%;
  border: 1px solid rgba(212,166,86,0.45);

  background: rgba(8,8,8,0.88);

  color: #d4a656;
  font-size: 28px;

  cursor: pointer;
  z-index: 30;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  z-index: 20;

  transform: translateY(-50%);

  width: 42px;
  height: 118px;

  border-radius: 999px;
  border: 1px solid rgba(212,166,86,0.45);

  background: rgba(5,5,5,0.82);
  color: #fff;

  font-size: 46px;
  line-height: 1;

  cursor: pointer;
}

.lightbox-prev {
  left: -22px;
}

.lightbox-next {
  right: -22px;
}

@media (max-width: 768px) {
  .lightbox-arrow {
    width: 48px;
    height: 48px;
    font-size: 36px;
  }

  .lightbox-prev {
    left: 16px;
  }

  .lightbox-next {
    right: 16px;
  }

  .lightbox-close {
    top: 18px;
    right: 18px;
  }
}

/* ===============================
   GLOBAL RESPONSIVE FIXES
   =============================== */

@media (max-width: 1024px) {
  section {
    padding-left: 6%;
    padding-right: 6%;
  }

  .hero-title,
  .category-hero h1 {
    font-size: clamp(48px, 9vw, 96px);
  }

  .category-intro {
    padding: 110px 6% 90px;
  }

  .category-intro-inner h2 {
    font-size: clamp(34px, 7vw, 64px);
  }
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .navbar {
    padding: 24px 6%;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .category-hero {
    min-height: 85vh;
    padding: 0 6%;
  }

  .hero-title,
  .category-hero h1 {
    font-size: clamp(42px, 13vw, 72px);
    line-height: 0.95;
  }

  .hero-subtitle,
  .category-hero p {
    font-size: 13px;
    max-width: 90%;
  }

  .category-intro {
    padding: 90px 6% 80px;
  }

  .category-intro-inner p {
    font-size: 11px;
    letter-spacing: 0.16em;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 20px 5%;
  }

  .logo {
    font-size: 16px;
  }

  .hero,
  .category-hero {
    min-height: 78vh;
    padding: 0 5%;
  }

  .hero-title,
  .category-hero h1 {
    font-size: clamp(38px, 15vw, 60px);
  }

  .hero-subtitle,
  .category-hero p {
    font-size: 12px;
    line-height: 1.7;
  }

  .category-intro {
    padding: 75px 5% 65px;
  }

  .category-intro-inner h2 {
    font-size: 34px;
  }

  .category-intro-inner p {
    font-size: 10px;
    letter-spacing: 0.14em;
  }
}

/* ===============================
   CONTACT PAGE
   =============================== */

.contact-hero {
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0),
      rgba(0,0,0,0.85)
    ),
    url('/assets/images/contact-hero.png');

  background-size: cover;
  background-position: center;
}

.contact-grid {
  padding:
    0 8%
    120px;

  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 28px;

  background: #050505;
}

.contact-grid article {
  position: relative;

  padding: 42px;

  border-radius: 24px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.03),
      rgba(255,255,255,0.015)
    );

  border:
    1px solid rgba(212,166,86,0.14);

  overflow: hidden;

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.contact-grid article:hover {
  transform: translateY(-8px);

  border-color:
    rgba(212,166,86,0.45);

  box-shadow:
    0 20px 60px rgba(212,166,86,0.08);
}

.contact-grid article::after {
  content: "";

  position: absolute;

  width: 180px;
  height: 180px;

  border-radius: 50%;

  right: -80px;
  bottom: -80px;

  background:
    radial-gradient(
      circle,
      rgba(212,166,86,0.12),
      transparent 70%
    );
}

.contact-grid span {
  display: inline-block;

  color: #d4a656;

  letter-spacing: 3px;

  font-size: 11px;

  margin-bottom: 18px;
}

.contact-grid h3 {
  font-size: 28px;

  margin-bottom: 18px;
}

.contact-grid a,
.contact-grid p {
  color: rgba(255,255,255,0.72);

  text-decoration: none;

  line-height: 1.9;

  transition: color 0.3s ease;
}

.contact-grid a:hover {
  color: #d4a656;
}

.contact-cta {
  padding:
    120px 8%;

  background:
    linear-gradient(
      180deg,
      #050505,
      #0b0b0b
    );
}

.contact-cta-inner {
  padding: 90px 8%;

  border-radius: 34px;

  text-align: center;

  border:
    1px solid rgba(212,166,86,0.16);

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.03),
      rgba(255,255,255,0.01)
    );
}

.contact-cta-inner span {
  color: #d4a656;

  letter-spacing: 4px;

  font-size: 11px;
}

.contact-cta-inner h2 {
  font-size: clamp(42px, 6vw, 90px);

  line-height: 0.95;

  margin:
    30px 0
    40px;
}

.contact-cta-inner a {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  padding:
    18px 34px;

  border-radius: 999px;

  text-decoration: none;

  color: #050505;

  font-weight: 700;

  background: #d4a656;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.contact-cta-inner a:hover {
  transform: translateY(-4px);

  box-shadow:
    0 10px 40px rgba(212,166,86,0.28);
}

/* ===============================
   FOOTER
   =============================== */

.footer {
  padding:
    90px 8%
    40px;

  background: #050505;

  border-top:
    1px solid rgba(255,255,255,0.06);
}

.footer-top {
  display: grid;

  grid-template-columns:
    2fr 1fr 1fr;

  gap: 60px;
}

.footer h3,
.footer h4 {
  margin-bottom: 20px;
}

.footer p,
.footer a {
  color: rgba(255,255,255,0.6);

  text-decoration: none;

  line-height: 2;

  display: block;

  transition: color 0.3s ease;
}

.footer a:hover {
  color: #d4a656;
}

.footer-bottom {
  margin-top: 70px;

  padding-top: 30px;

  border-top:
    1px solid rgba(255,255,255,0.06);
}

.footer-bottom p {
  color: rgba(255,255,255,0.45);

  font-size: 13px;
}

/* ===============================
   RESPONSIVE
   =============================== */

@media (max-width: 768px) {

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;

    gap: 40px;
  }

  .contact-grid article {
    padding: 34px;
  }

  .contact-cta-inner {
    padding: 70px 8%;
  }
}

@media (max-width: 480px) {

  .contact-grid {
    padding:
      0 5%
      90px;
  }

  .contact-cta {
    padding:
      90px 5%;
  }

  .contact-cta-inner {
    padding:
      60px 7%;
  }

  .contact-grid h3 {
    font-size: 22px;
  }
}

/* ===============================
   PRO FOOTER
   =============================== */

.pro-footer {
  padding: 60px 8% 32px;
  background: #050505;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 38px;
}

.footer-trust-grid article {
  padding: 22px;
  border-radius: 16px;
  border: 1px solid rgba(212,166,86,0.14);
  background: rgba(255,255,255,0.025);
}

.footer-trust-grid span {
  color: #d4a656;
  display: block;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.footer-trust-grid strong {
  display: block;
  color: #fff;
  font-size: 18px;
  margin-bottom: 8px;
}

.footer-trust-grid p {
  color: rgba(255,255,255,0.58);
  line-height: 1.55;
  font-size: 14px;
}

.footer-main {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 45px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  
}

.footer-brand-block {
  max-width: 620px;
}

.footer-contact-block {
  justify-self: end;
  width: 100%;
  max-width: 760px;
}

.footer-brand-block img {
  width: 185px;
  margin-bottom: 22px;
}

.footer-brand-block h3 {
  color: #fff;
  font-size: 30px;
  margin-bottom: 4px;
}

.footer-tagline {
  display: inline-block;
  color: #d4a656;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
  margin-bottom: 18px;
}

.footer-brand-block p,
.footer-contact-block p,
.footer-contact-block a {
  color: rgba(255,255,255,0.66);
  line-height: 1.55;
  text-decoration: none;
  display: block;
}

.footer-contact-block h3,
.footer-bottom-grid h3 {
  color: #fff;
  font-size: 26px;
  margin-bottom: 16px;
}

.footer-gold {
  color: #d4a656 !important;
  margin-bottom: 8px;
}

.footer-bottom-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 45px;
  padding: 30px 0 22px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom-grid > div:nth-child(2) {
  justify-self: end;
  width: 100%;
  max-width: 760px;
}

.footer-bottom-grid a {
  display: block;
  color: rgba(255,255,255,0.62);
  text-decoration: none;
  line-height: 1.7;
  transition: color 0.3s ease;
}

.footer-bottom-grid a:hover,
.footer-contact-block a:hover {
  color: #d4a656;
}

.footer-legal {
  padding-top: 22px;
}

.footer-legal p {
  color: rgba(255,255,255,0.42);
  font-size: 13px;
}

.footer-seo-line {
  max-width: 1400px;

  margin:
    0 auto
    18px;

  color: rgba(212,166,86,0.72);

  font-size: 11px;
  font-weight: 600;

  letter-spacing: 0.28em;
  text-transform: uppercase;

  line-height: 1.8;
  text-align: center;
}



/* Footer responsive */

@media (max-width: 900px) {
  .footer-trust-grid,
  .footer-main,
  .footer-bottom-grid {
    grid-template-columns: 1fr;
  }

  .footer-main,
  .footer-bottom-grid {
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .pro-footer {
    padding: 50px 5% 30px;
  }

 
}


/* ===============================
   MOBILE HERO REAL FIX
   =============================== */

@media (max-width: 768px) {

  .hero-world {
    min-height: 100vh;
    padding: 120px 24px 70px;

    display: flex;
    align-items: center;
    justify-content: center;
  }

  .project-node {
    display: none !important;
  }

  .hero-content {
    position: relative;
    z-index: 80;

    width: 100%;
    max-width: 390px;

    padding: 0;
    margin: 0 auto;

    text-align: center;
  }

  .hero-content .eyebrow {
    font-size: 11px;
    letter-spacing: 0.32em;
    line-height: 1.7;

    margin-bottom: 26px;
  }

  .hero-content h1 {
    font-size: clamp(48px, 16vw, 66px);
    line-height: 0.9;
    letter-spacing: -2px;

    margin-bottom: 28px;
  }

  .hero-text {
    max-width: 310px;

    margin:
      0 auto
      34px;

    font-size: 16px;
    line-height: 1.65;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 16px;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 250px;
  }

  .scroll-cue {
    display: none;
  }
}

/* ===============================
   MOBILE HERO POLISH
   =============================== */

@media (max-width: 768px) {

  .brand-text.premium-line .tagline {
    display: none;
  }

  .hero-world {
    min-height: auto;
    padding: 150px 24px 90px;
  }

  .hero-actions {
    margin-top: 10px;
  }
}

/* ===============================
   MOBILE FEATURED CARDS POLISH
   =============================== */

@media (max-width: 768px) {

  .project-showcase {
    gap: 28px;
  }

  .showcase-card {
    height: 300px;
    min-height: 300px;
    border-radius: 26px;
  }

  .card-content {
    left: 26px;
    right: 26px;
    bottom: 26px;
  }

  .card-content.compact h3 {
    font-size: 30px;
    line-height: 1;
  }

  .card-content small {
    font-size: 10px;
    letter-spacing: 2.4px;
  }

  .card-content span {
    font-size: 15px;
  }

  .card-image img {
    object-position: center;
  }
}

/* ===============================
   MOBILE FOOTER FIX
   =============================== */

@media (max-width: 768px) {

  .footer-bottom-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .footer-contact-block {
    justify-self: start;
    max-width: 100%;
  }

  .footer-legal {
    padding-bottom: 90px;
  }

  .whatsapp-float {
    right: 18px;
    bottom: 18px;

    padding: 14px 22px;

    font-size: 13px;
  }
}

/* ===============================
   CATEGORY PAGE MOBILE FIX
   =============================== */

@media (max-width: 768px) {

  .category-hero {
    padding: 140px 24px 80px;
  }

  .category-hero h1 {
    font-size: clamp(44px, 12vw, 68px);

    line-height: 0.95;

    letter-spacing: -2px;

    word-break: break-word;
  }

  .category-intro-inner p {
    font-size: 11px;

    line-height: 1.7;

    letter-spacing: 0.14em;
  }

  .project-block h2 {
    font-size: clamp(42px, 10vw, 62px);

    line-height: 0.95;

    letter-spacing: -1.5px;

    word-break: break-word;
  }

  .project-block p {
    font-size: 16px;
    line-height: 1.75;
  }

  .project-images {
    gap: 18px;
  }

  .project-images img {
    border-radius: 22px;
  }
}

/* ===============================
   FUNCTIONAL OBJECTS MOBILE FIX
   =============================== */

@media (max-width: 768px) {

  .objects-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;

    gap: 22px;

    padding:
      70px 24px
      90px;
  }

  .object-card,
  .object-card.large,
  .object-card.tall,
  .object-card.wide {

    grid-column: auto;
    grid-row: auto;

    width: 100%;

    min-height: 220px;
    height: 220px;
  }

  .object-card img,
  .card-slider .slide {

    width: 100%;
    height: 100%;

    object-fit: cover;
  }

  .object-info {
    left: 24px;
    bottom: 24px;
  }

  .object-info h3 {
    font-size: 22px;
    max-width: 260px;
  }
}

/* ===============================
   MOBILE PRODUCT LIGHTBOX POSITION FIX
   =============================== */

@media (max-width: 768px) {

  .product-lightbox.active {
    align-items: flex-start;
    justify-content: center;

    padding-top: 90px;
    overflow: hidden;
  }

  .lightbox-frame {
    max-width: 92vw;
    max-height: 72vh;
  }

  .lightbox-frame img {
    max-width: 92vw;
    max-height: 72vh;

    object-fit: contain;
  }

  .lightbox-close {
    top: -18px;
    right: -8px;
  }

  .lightbox-prev {
    left: -8px;
  }

  .lightbox-next {
    right: -8px;
  }

  /* ===============================
   MOBILE PRODUCT LIGHTBOX POSITION FIX
   =============================== */

@media (max-width: 768px) {

  .product-lightbox.active {
    align-items: flex-start;
    justify-content: center;

    padding-top: 90px;
    overflow: hidden;
  }

  .lightbox-frame {
    max-width: 92vw;
    max-height: 72vh;
  }

  .lightbox-frame img {
    max-width: 92vw;
    max-height: 72vh;

    object-fit: contain;
  }

  .lightbox-close {
    top: -18px;
    right: -8px;
  }

  .lightbox-prev {
    left: -8px;
  }

  .lightbox-next {
    right: -8px;
  }

  /* =========================
   CONTACT PAGE MOBILE SPACE FIX
========================= */

.contact-hero {
  min-height: 78vh;
}

.contact-hero-content {
  padding-bottom: 70px;
}

.contact-intro {
  padding:
    80px 7%
    60px;
}

.contact-grid-refined {
  gap: 22px;
}

.contact-grid-refined article {
  padding: 34px 34px;
}

.contact-cta {
  padding:
    70px 7%
    90px;
}

.contact-cta-card {
  padding:
    60px 28px;
}

.contact-cta-card h2 {
  font-size: 52px;
  line-height: 0.95;
}

.footer {
  padding-top: 70px;
}

  /* CONTACT HERO MOBILE SPACING */

  .contact-hero-content {
    padding-top: 120px;
  }
}
}

/* ===============================
   REFINED CONTACT GRID
   =============================== */

.contact-grid-refined {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.contact-card-main {
  border-color: rgba(212,166,86,0.32);
}

.contact-card-main a {
  margin-bottom: 8px;
}

.contact-card-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;

  width: fit-content;

  margin-top: 34px;

  padding: 14px 22px;

  border-radius: 999px;

  background: #25D366;

  color: #04110a !important;

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 0.04em;
  text-transform: uppercase;

  transition: all 0.25s ease;
}

.contact-card-btn i {
  font-size: 18px;
}

.contact-card-btn:hover {
  transform: translateY(-2px);

  background: #34e27a;

  box-shadow:
    0 10px 30px rgba(37,211,102,0.28);
}

@media (max-width: 900px) {
  .contact-grid-refined {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   CONTACT NUMBER STYLING
   =============================== */

.contact-numbers {
  display: flex;
  flex-direction: column;
  gap: 14px;

  margin-top: 28px;
}

.contact-numbers a {
  font-size: 20px;
  font-weight: 700;

  color: #ffffff;

  letter-spacing: 0.03em;

  transition: all 0.25s ease;
}

.contact-numbers a:hover {
  color: #d4a656;
  transform: translateX(4px);
}

.contact-card-btn {
  margin-top: 30px !important;
}
.contact-card-btn {
  max-width: 340px;
  justify-content: center;
}

/* ===============================
   MOBILE PREMIUM TOUCH FEEDBACK
   =============================== */

@media (max-width: 768px) {

  .showcase-card,
  .object-card,
  .contact-grid article,
  .project-node,
  .footer-trust-grid article {

    transition:
      transform 0.22s ease,
      box-shadow 0.22s ease,
      border-color 0.22s ease;
  }

  .showcase-card:active,
  .object-card:active,
  .contact-grid article:active,
  .project-node:active,
  .footer-trust-grid article:active {

    transform: scale(0.985);

    border-color: rgba(212,166,86,0.42);

    box-shadow:
      0 12px 34px rgba(0,0,0,0.38),
      0 0 24px rgba(212,166,86,0.12);
  }

  .showcase-card:active .card-image img,
  .object-card:active img {

    transform: scale(1.04);
  }

  .btn:active,
  .nav-cta:active,
  .contact-card-btn:active {

    transform: scale(0.96);
  }
}
/* ===============================
   MOBILE CARD PREMIUM LOOK
   =============================== */

@media (max-width: 768px) {

  .showcase-card,
  .object-card {
    border-color: rgba(212,166,86,0.28);

    box-shadow:
      0 20px 55px rgba(0,0,0,0.52),
      0 0 32px rgba(212,166,86,0.10);
  }

  .showcase-card .card-image img,
  .object-card img {
    filter:
      brightness(0.92)
      contrast(1.08)
      saturate(1.08);
  }

  .showcase-card .card-overlay,
  .object-card::after {
    background:
      linear-gradient(
        180deg,
        rgba(0,0,0,0.02),
        rgba(0,0,0,0.52)
      );
  }
}

/* ===============================
   FLOATING WHATSAPP
   =============================== */

.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;

  width: 64px;
  height: 64px;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #25D366;
  color: #ffffff;

  text-decoration: none;

  font-size: 34px;

  box-shadow:
    0 0 30px rgba(37,211,102,0.45),
    0 0 60px rgba(37,211,102,0.18);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.08);

  box-shadow:
    0 0 40px rgba(37,211,102,0.65),
    0 0 80px rgba(37,211,102,0.25);
}

@media (max-width: 480px) {
  .floating-whatsapp {
    width: 58px;
    height: 58px;

    right: 16px;
    bottom: 16px;

    font-size: 30px;
  }
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
  display: block;
  fill: #ffffff;
}

/* FINAL FLOATING WHATSAPP OVERRIDE */

a.floating-whatsapp {
  position: fixed !important;
  right: 24px !important;
  bottom: 24px !important;
  z-index: 999999 !important;

  width: 64px !important;
  height: 64px !important;

  padding: 0 !important;
  border-radius: 50% !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  background: #25D366 !important;
  color: #fff !important;

  text-decoration: none !important;
}

a.floating-whatsapp svg {
  width: 32px !important;
  height: 32px !important;
  fill: #fff !important;
}

@media (max-width: 768px) {
  a.floating-whatsapp {
    right: 16px !important;
    bottom: 16px !important;

    width: 56px !important;
    height: 56px !important;
  }

  a.floating-whatsapp svg {
    width: 29px !important;
    height: 29px !important;
  }
}

/* ===============================
   ACTIVE NAV FIX
   =============================== */

.desktop-nav a.active,
.mobile-menu a.active {
  color: #d4a656 !important;
}

.desktop-nav a.active::after {
  transform: scaleX(1) !important;
}

.mobile-menu a.active {
  background: linear-gradient(
    90deg,
    rgba(212,166,86,0.16),
    rgba(212,166,86,0.04)
  ) !important;

  border: 1px solid rgba(212,166,86,0.10) !important;
}

/* ===============================
   FINAL MOBILE HERO POLISH
   =============================== */

@media (max-width: 640px) {
  .hero {
    min-height: 100vh;
    padding-top: 150px;
    padding-bottom: 90px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-kicker {
    font-size: 10px;
    letter-spacing: 0.22em;
    margin-bottom: 18px;
  }

  .hero-title {
  font-size: clamp(42px, 12vw, 58px);

  line-height: 0.95;
  letter-spacing: -0.04em;

  max-width: 90%;
  margin: 0 auto;
}

  .hero-subtitle {
    font-size: 14px;
    line-height: 1.65;
    max-width: 92%;
    margin-top: 24px;
  }

  .hero-actions {
    margin-top: 34px;
    gap: 12px;
  }

  .hero-actions a {
    padding: 14px 18px;
    font-size: 11px;
  }
}

/* ===============================
   CARD LINK COLOR FIX
   =============================== */

.showcase-card,
.showcase-card:visited,
.showcase-card:hover,
.showcase-card:active {
  color: inherit !important;
  text-decoration: none !important;
}

.showcase-card h3,
.showcase-card:visited h3 {
  color: #ffffff !important;
}

.showcase-card span,
.showcase-card p,
.showcase-card small {
  color: rgba(212,166,86,0.9) !important;
}

/* ===============================
   FOOTER SOCIALS
   =============================== */

.footer-socials {
  display: flex;
  align-items: center;

  gap: 14px;

  margin-top: 28px;
}

.footer-socials a {
  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  text-decoration: none;

  color: rgba(255,255,255,0.72);

  border:
    1px solid rgba(212,166,86,0.16);

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.03),
      rgba(255,255,255,0.01)
    );

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
}

.footer-socials a:hover {
  transform: translateY(-4px);

  color: #d4a656;

  border-color: rgba(212,166,86,0.4);

  box-shadow:
    0 10px 24px rgba(212,166,86,0.14);
}

.footer-socials i {
  font-size: 16px;
}

/* ===============================
   FOOTER SOCIALS
   =============================== */

.footer-socials {
  display: flex;

  align-items: center;

  gap: 14px;

  margin-top: 26px;
}

.footer-socials a {
  width: 46px;
  height: 46px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  border:
    1px solid rgba(212,166,86,0.14);

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.03),
      rgba(255,255,255,0.01)
    );

  overflow: hidden;

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.footer-socials a:hover {
  transform: translateY(-4px);

  border-color: rgba(212,166,86,0.4);

  box-shadow:
    0 10px 24px rgba(212,166,86,0.14);
}

.footer-socials img {
  width: 22px;
  height: 22px;

  object-fit: contain;

  opacity: 1;

  filter:
    brightness(1.25)
    contrast(1.1);
}

/* ===============================
   SCROLL REVEAL SYSTEM
   =============================== */

.reveal {
  opacity: 0;

  transition:
    opacity 0.8s ease;
}

.reveal.visible {
  opacity: 1;
}

/* ===============================
   MOBILE HERO LOAD STABILITY FIX
   =============================== */

@media (max-width: 640px) {
  .hero {
    min-height: 100svh;
    transform: none !important;
    animation: none !important;
  }

  .hero::before,
  .hero::after {
    transform: none !important;
  }
}

/* ===============================
   MOBILE HERO PERFORMANCE FIX
   =============================== */

@media (max-width: 640px) {
  .hero-glow {
    width: 620px;
    height: 620px;

    filter: blur(36px) !important;

    animation:
      pulseGlow 8s ease-in-out infinite !important;
  }

  .hero-world::before {
    width: 760px;
    height: 760px;

    filter: blur(3px) !important;

    animation:
      scannerRotate 22s linear infinite !important;
  }

  .cursor-glow {
    display: none !important;
  }
}

/* ===============================
   MOBILE SCROLL FLICKER FIX
   =============================== */

@media (max-width: 640px) {
  .hero-glow,
  .hero-world::before {
    will-change: auto !important;
    backface-visibility: hidden;
  }

  .hero-glow {
    animation: none !important;
    opacity: 0.72;
  }

  .hero-world::before {
    animation: none !important;
    opacity: 0.45;
  }

  .hero {
    overflow: hidden;
    contain: paint;
  }
}


/* ===============================
   FINAL MOBILE HERO STABILITY FIX
   =============================== */

@media (max-width: 640px) {

  .hero-world {
    min-height: 100svh !important;

    padding:
      150px
      24px
      90px !important;

    overflow: hidden;

    contain: layout paint;
  }

  .hero-content {
    transform: none !important;
  }

  .hero-glow,
  .hero-world::before,
  .hero-world::after {
    display: none !important;
  }
}

/* ===============================
   MOBILE AMBIENT HERO MOTION
   =============================== */

@media (max-width: 640px) {

  .hero-glow {
    display: block !important;

    width: 520px;
    height: 520px;

    filter: blur(28px) !important;

    opacity: 0.55;

    animation:
      ambientPulse 9s ease-in-out infinite !important;
  }

  .hero-world::before {
    display: block !important;

    width: 620px;
    height: 620px;

    filter: blur(2px) !important;

    opacity: 0.28;

    animation:
      scannerRotate 36s linear infinite !important;
  }
}

@keyframes ambientPulse {

  0%, 100% {
    transform: scale(1);
    opacity: 0.48;
  }

  50% {
    transform: scale(1.04);
    opacity: 0.62;
  }
}