/* =====================================================
   INFINITY LIGHT MEDIA — IMMERSIVE PARALLAX DESIGN
   Colors: #0a1e35 · #9fafce
   ===================================================== */

/* =====================================================
   PRELOADER — Infinity Light Burst
   ===================================================== */
#il-preloader {
  position: fixed; inset: 0; z-index: 100000;
  background: #060c1a;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  overflow: hidden;
}
/* Subtle grid */
#il-preloader::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(96,165,250,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96,165,250,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  animation: preGrid 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes preGrid {
  0%,100% { opacity: 0.4; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.03); }
}
/* Radial vignette on top of grid */
#il-preloader::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 65% 65% at 50% 50%, transparent 30%, #060c1a 100%);
  pointer-events: none;
}
/* ── Orb ── */
.il-pre-orb {
  position: relative; width: 150px; height: 150px;
  margin-bottom: 44px; z-index: 1;
}
/* ── Rings ── */
.il-pre-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid transparent;
  animation: preRing linear infinite;
}
.il-pre-ring-1 {
  inset: 0;
  border-color: rgba(96,165,250,0.55) transparent transparent rgba(96,165,250,0.2);
  animation-duration: 2.2s;
}
.il-pre-ring-2 {
  inset: 14px;
  border-color: transparent rgba(139,92,246,0.55) transparent rgba(139,92,246,0.2);
  animation-duration: 3.1s; animation-direction: reverse;
}
.il-pre-ring-3 {
  inset: 28px;
  border-color: rgba(96,165,250,0.3) transparent rgba(96,165,250,0.3) transparent;
  animation-duration: 1.7s;
}
@keyframes preRing { to { transform: rotate(360deg); } }
/* ── Center core ── */
.il-pre-center {
  position: absolute; inset: 42px; border-radius: 50%;
  background: radial-gradient(circle, rgba(96,165,250,0.12), transparent);
  display: flex; align-items: center; justify-content: center;
  animation: preCore 2s ease-in-out infinite;
}
@keyframes preCore {
  0%,100% { box-shadow: 0 0 24px rgba(96,165,250,0.3), 0 0 60px rgba(96,165,250,0.08); }
  50%      { box-shadow: 0 0 52px rgba(96,165,250,0.65), 0 0 120px rgba(96,165,250,0.2); }
}
/* ── IL Monogram ── */
.il-pre-monogram {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 700;
  color: rgba(96,165,250,0.9); letter-spacing: 3px;
  animation: preMono 2s ease-in-out infinite;
}
@keyframes preMono {
  0%,100% { text-shadow: 0 0 18px rgba(96,165,250,0.7); }
  50%      { text-shadow: 0 0 46px rgba(96,165,250,1), 0 0 90px rgba(96,165,250,0.45); }
}
/* ── Custom logo image (replaces IL monogram when set) ── */
.il-pre-logo-img {
  max-width: 54px; max-height: 54px;
  width: auto; height: auto;
  object-fit: contain; display: block;
  filter: drop-shadow(0 0 14px rgba(96,165,250,0.55));
  animation: preMono 2s ease-in-out infinite;
}
/* ── Orbiting dots ── */
.il-pre-dot {
  position: absolute; width: 5px; height: 5px; border-radius: 50%;
  background: rgba(96,165,250,0.85);
  top: 50%; left: 50%; margin: -2.5px 0 0 -2.5px;
  transform-origin: 2.5px 2.5px;
  animation: preDotOrbit 3s linear infinite;
  animation-delay: calc(var(--i) * -1s);
}
@keyframes preDotOrbit {
  from { transform: rotate(0deg) translateX(76px)   scale(0.6); opacity: 0.3; }
  25%  {                                              scale: 1;   opacity: 1;   }
  75%  {                                                          opacity: 0.6; }
  to   { transform: rotate(360deg) translateX(76px) scale(0.6); opacity: 0.3; }
}
/* ── Brand name ── */
.il-pre-brand {
  position: relative; z-index: 1;
  font-family: 'Inter', sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.42em; text-transform: uppercase;
  color: rgba(159,175,206,0.5);
  display: flex; align-items: center;
  margin-bottom: 32px;
}
.il-pre-brand span {
  display: inline-block;
  animation: preLetterIn 0.55s cubic-bezier(0.22,1,0.36,1) both;
}
.il-pre-brand span:nth-child(1)  { animation-delay: 0.08s; }
.il-pre-brand span:nth-child(2)  { animation-delay: 0.14s; }
.il-pre-brand span:nth-child(3)  { animation-delay: 0.20s; }
.il-pre-brand span:nth-child(4)  { animation-delay: 0.26s; }
.il-pre-brand span:nth-child(5)  { animation-delay: 0.32s; }
.il-pre-brand span:nth-child(6)  { animation-delay: 0.38s; }
.il-pre-brand span:nth-child(7)  { animation-delay: 0.44s; }
.il-pre-brand span:nth-child(8)  { animation-delay: 0.50s; }
.il-pre-brand span:nth-child(9)  { animation-delay: 0.52s; }
.il-pre-brand span:nth-child(10) { animation-delay: 0.58s; }
.il-pre-brand span:nth-child(11) { animation-delay: 0.64s; }
.il-pre-brand span:nth-child(12) { animation-delay: 0.70s; }
.il-pre-brand span:nth-child(13) { animation-delay: 0.76s; }
.il-pre-brand span:nth-child(14) { animation-delay: 0.82s; }
@keyframes preLetterIn {
  from { transform: translateY(18px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.il-pre-sp { min-width: 10px; }
/* ── Progress bar ── */
.il-pre-track {
  position: relative; z-index: 1;
  width: 180px; height: 2px;
  background: rgba(96,165,250,0.1); border-radius: 2px;
  overflow: hidden; margin-bottom: 10px;
}
.il-pre-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, #3b82f6, #818cf8, #60a5fa);
  background-size: 200% 100%;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(96,165,250,0.9);
  transition: width 0.12s linear;
  animation: preFillShimmer 1.8s linear infinite;
}
@keyframes preFillShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
/* ── Counter ── */
.il-pre-pct {
  position: relative; z-index: 1;
  font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 600;
  color: rgba(96,165,250,0.4); letter-spacing: 0.12em;
}
.il-pre-pct small { font-size: 9px; }
/* ── Exit ── */
#il-preloader.il-pre-exit {
  animation: preExit 0.65s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes preExit {
  0%   { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.05); }
}

/* ---- VARIABLES ---- */
:root {
  --navy:       #0a1e35;
  --navy-deep:  #060f1c;
  --navy-mid:   #0d2540;
  --navy-light: #132d4a;
  --blue:       #9fafce;
  --blue-light: #c4d4e8;
  --blue-dim:   rgba(159,175,206,0.12);
  --blue-glow:  rgba(159,175,206,0.25);
  --white:      #ffffff;
  --white-80:   rgba(255,255,255,0.8);
  --white-50:   rgba(255,255,255,0.5);
  --white-20:   rgba(255,255,255,0.15);
  --white-8:    rgba(255,255,255,0.06);
  --white-4:    rgba(255,255,255,0.03);

  --glass-bg:     rgba(10,30,53,0.55);
  --glass-bg2:    rgba(13,37,64,0.7);
  --glass-border: rgba(159,175,206,0.18);
  --glass-border2:rgba(159,175,206,0.35);
  --glass-blur:   blur(28px) saturate(180%);
  --glass-blur2:  blur(16px) saturate(150%);

  --font-body:    'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.76, 0, 0.24, 1);
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);

  --r-sm:  12px;
  --r-md:  20px;
  --r-lg:  32px;
  --r-xl:  48px;
  --r-2xl: 64px;

  --section-gap: 160px;
}

/* ---- PAGE LOAD FADE ---- */
html.loading body { opacity: 0; }
html.loaded body { opacity: 1; transition: opacity .7s cubic-bezier(0.16,1,0.3,1); }

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--navy-deep);
  color: var(--white);
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
}
a  { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul  { list-style: none; }
button { font-family: inherit; cursor: none; border: none; background: none; }

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

/* =====================================================
   CUSTOM CURSOR — MAGNETIC
   ===================================================== */
.cursor {
  width: 8px; height: 8px;
  background: var(--blue-light);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: transform .1s, background .3s, width .3s, height .3s;
  mix-blend-mode: screen;
}
.cursor-ring {
  width: 40px; height: 40px;
  border: 1.5px solid rgba(159,175,206,0.6);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: width .4s var(--ease-spring), height .4s var(--ease-spring), border-color .3s;
}
.cursor.hovering { width: 16px; height: 16px; background: var(--blue); }
.cursor-ring.hovering { width: 64px; height: 64px; border-color: var(--blue); }
.cursor.clicking { transform: translate(-50%,-50%) scale(0.6); }

/* =====================================================
   CANVAS — PARTICLE FIELD
   ===================================================== */
#particleCanvas {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  opacity: 0.5;
}

/* =====================================================
   NOISE OVERLAY
   ===================================================== */
.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

/* =====================================================
   AMBIENT ORBS
   ===================================================== */
.orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(90px);
  opacity: 0.22;
  animation: orbDrift 25s ease-in-out infinite alternate;
}
.orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, #1a4a80 0%, transparent 70%);
  top: -250px; left: -250px;
  animation-duration: 28s;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #0d3860 0%, transparent 70%);
  bottom: -100px; right: -150px;
  animation-duration: 22s; animation-delay: -10s;
}
.orb-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(159,175,206,0.4) 0%, transparent 70%);
  top: 40%; left: 55%;
  animation-duration: 18s; animation-delay: -6s;
  opacity: 0.1;
}
@keyframes orbDrift {
  0%   { transform: translate(0,0) scale(1); }
  33%  { transform: translate(80px,-50px) scale(1.08); }
  66%  { transform: translate(-50px,80px) scale(0.92); }
  100% { transform: translate(40px,40px) scale(1.03); }
}

/* =====================================================
   GLASS COMPONENTS
   ===================================================== */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
}
.glass-2 {
  background: var(--glass-bg2);
  backdrop-filter: var(--glass-blur2);
  -webkit-backdrop-filter: var(--glass-blur2);
  border: 1px solid var(--glass-border);
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 36px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  color: var(--navy-deep);
  font-weight: 700; font-size: 0.88rem; letter-spacing: 0.04em;
  border-radius: 100px;
  position: relative; overflow: hidden;
  transition: transform .3s var(--ease-spring), box-shadow .4s;
  cursor: none;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 20%, rgba(255,255,255,0.3) 50%, transparent 80%);
  transform: translateX(-150%) skewX(-20deg);
  transition: transform .6s ease;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(159,175,206,0.4); }
.btn-primary:hover::before { transform: translateX(200%) skewX(-20deg); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px;
  border: 1px solid var(--glass-border2);
  border-radius: 100px;
  font-size: 0.88rem; font-weight: 500;
  color: var(--blue-light);
  background: rgba(159,175,206,0.06);
  transition: background .3s, border-color .3s, transform .3s var(--ease-spring);
  cursor: none;
}
.btn-ghost:hover {
  background: rgba(159,175,206,0.14);
  border-color: var(--blue);
  transform: translateY(-3px);
}
.btn-ghost svg { transition: transform .3s var(--ease-spring); }
.btn-ghost:hover svg { transform: translate(4px,-4px); }
.btn-full { width: 100%; justify-content: center; }

/* =====================================================
   SECTION BASE
   ===================================================== */
.section { padding: var(--section-gap) 0; position: relative; z-index: 2; }

.section-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 22px;
}
.section-tag::before {
  content: ''; width: 28px; height: 1px;
  background: linear-gradient(90deg, var(--blue), transparent);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 700; line-height: 1.12;
  letter-spacing: -0.025em; color: var(--white);
  margin-bottom: 22px;
}
.section-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub {
  font-size: 1.05rem; color: rgba(159,175,206,0.75);
  max-width: 580px; line-height: 1.8;
}
.section-header { text-align: center; margin-bottom: 80px; }
.section-header .section-tag { justify-content: center; }
.section-header .section-tag::before { display: none; }
.section-header .section-sub { margin: 0 auto; }

/* =====================================================
   NAVBAR — AURORA CRYSTALLINE
   ===================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(3,8,20,0.62);
  backdrop-filter: blur(44px) saturate(210%);
  -webkit-backdrop-filter: blur(44px) saturate(210%);
  transition: background .5s, border-color .5s;
  overflow: visible;
}

/* Aurora shimmer line — top edge */
.nav::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(167,139,250,0.55) 25%,
    rgba(96,165,250,0.9) 50%,
    rgba(167,139,250,0.55) 75%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: navAurora 5s linear infinite;
}

/* Subtle gradient bottom border */
.nav::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(96,165,250,0.25) 30%,
    rgba(167,139,250,0.35) 50%,
    rgba(96,165,250,0.25) 70%,
    transparent 100%
  );
  background-size: 300% 100%;
  animation: navGlowLine 9s ease infinite;
  opacity: 0.8;
}

@keyframes navAurora {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@keyframes navGlowLine {
  0%   { background-position: 200% 0; }
  50%  { background-position: 0% 0; }
  100% { background-position: -200% 0; }
}

.nav.scrolled { background: rgba(3,8,20,0.9); }

.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 14px 44px;
  max-width: 1400px; margin: 0 auto;
}

/* ── Logo ── */
.nav-logo img {
  height: 32px; width: auto;
  filter: brightness(1.1) drop-shadow(0 0 12px rgba(96,165,250,0.45));
  transition: filter .4s, transform .3s;
}
.nav-logo:hover img {
  filter: brightness(1.45) drop-shadow(0 0 24px rgba(96,165,250,0.7));
  transform: scale(1.05);
}

/* ── Nav links — pill container ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none; margin: 0;
  padding: 4px;
  background: rgba(255,255,255,0.022);
  border: 1px solid rgba(159,175,206,0.08);
  border-radius: 100px;
  backdrop-filter: blur(8px);
}
.nav-links li { position: relative; }

/* Dot separators between items */
.nav-links li + li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translate(-50%, -50%);
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(159,175,206,0.18);
  pointer-events: none;
  z-index: 1;
}

.nav-links a {
  position: relative;
  display: inline-flex; align-items: center;
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(159,175,206,0.52);
  padding: 9px 19px;
  border-radius: 100px;
  transition: color .3s ease;
  cursor: none;
}

/* Radial bloom glow on hover */
.nav-links a::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  background: radial-gradient(ellipse at 50% 110%, rgba(96,165,250,0.18) 0%, transparent 65%);
  opacity: 0;
  transition: opacity .4s ease;
}

/* Gradient underline slide-in */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 5px; left: 19px; right: 19px;
  height: 1px;
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  border-radius: 1px;
}

.nav-links a:hover { color: rgba(255,255,255,0.95); }
.nav-links a:hover::before { opacity: 1; }
.nav-links a:hover::after,
.nav-links li.current-menu-item > a::after,
.nav-links li.current_page_item > a::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-links li.current-menu-item > a,
.nav-links li.current_page_item > a,
.nav-links a.active { color: rgba(255,255,255,0.92); }
.nav-links li.current-menu-item > a::before,
.nav-links li.current_page_item > a::before,
.nav-links a.active::before { opacity: 0.7; }

/* ── CTA — shimmer sweep ── */
.nav-cta {
  font-size: 0.78rem;
  margin-left: 16px;
  position: relative;
  overflow: hidden;
}
.nav-cta::before {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-20deg);
  animation: ctaShimmer 5s ease 2s infinite;
  pointer-events: none;
  border-radius: inherit;
}
@keyframes ctaShimmer {
  0%   { left: -80%; }
  40%  { left: 140%; }
  100% { left: 140%; }
}

/* ── Hamburger ── */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: none; }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--blue-light); border-radius: 2px;
  transition: transform .3s var(--ease-in-out), opacity .3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile menu ── */
.mobile-menu {
  position: fixed; top: 70px; left: 10px; right: 10px; z-index: 999;
  background: rgba(4,10,22,0.95);
  backdrop-filter: blur(52px) saturate(200%);
  -webkit-backdrop-filter: blur(52px) saturate(200%);
  border: 1px solid rgba(96,165,250,0.12);
  border-radius: 22px;
  padding: 8px;
  transform: translateY(-18px) scale(0.96);
  opacity: 0; pointer-events: none;
  transition: transform .5s cubic-bezier(.16,1,.3,1), opacity .35s ease;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 40px 100px rgba(0,0,0,0.6),
    0 0 80px rgba(96,165,250,0.05);
  overflow: hidden;
}

/* Aurora line inside mobile menu */
.mobile-menu::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(96,165,250,0.5),
    rgba(167,139,250,0.6),
    rgba(96,165,250,0.5),
    transparent
  );
  background-size: 200% 100%;
  animation: navAurora 4s linear infinite;
}

.mobile-menu.open { transform: none; opacity: 1; pointer-events: all; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 2px; list-style: none; margin: 0; padding: 6px 0 4px; }

/* Staggered link reveal */
.mobile-menu li {
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity .35s ease, transform .35s ease;
}
.mobile-menu.open li:nth-child(1) { opacity: 1; transform: none; transition-delay: .05s; }
.mobile-menu.open li:nth-child(2) { opacity: 1; transform: none; transition-delay: .10s; }
.mobile-menu.open li:nth-child(3) { opacity: 1; transform: none; transition-delay: .15s; }
.mobile-menu.open li:nth-child(4) { opacity: 1; transform: none; transition-delay: .20s; }
.mobile-menu.open li:nth-child(5) { opacity: 1; transform: none; transition-delay: .25s; }
.mobile-menu.open li:nth-child(6) { opacity: 1; transform: none; transition-delay: .30s; }

.mobile-menu a {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  font-size: 0.73rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(159,175,206,0.58);
  border-radius: 15px;
  transition: color .22s, background .22s;
}

/* Glowing dot accent */
.mobile-menu a::before {
  content: '';
  display: inline-block; flex-shrink: 0;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(96,165,250,0.28);
  transition: background .25s, transform .25s, box-shadow .25s;
}
.mobile-menu a:hover {
  color: rgba(255,255,255,0.95);
  background: rgba(96,165,250,0.07);
}
.mobile-menu a:hover::before {
  background: #60a5fa;
  transform: scale(1.6);
  box-shadow: 0 0 10px rgba(96,165,250,0.65);
}
.mobile-menu li.current-menu-item > a,
.mobile-menu li.current_page_item > a {
  color: rgba(255,255,255,0.9);
  background: rgba(96,165,250,0.07);
}
.mobile-menu li.current-menu-item > a::before,
.mobile-menu li.current_page_item > a::before {
  background: #60a5fa;
  box-shadow: 0 0 8px rgba(96,165,250,0.6);
}

/* =====================================================
   HERO — MULTI-LAYER PARALLAX
   ===================================================== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden; z-index: 2;
}

/* Parallax layers */
.hero-layer {
  position: absolute; inset: 0;
  will-change: transform;
  backface-visibility: hidden;
}
.hero-layer-bg {
  z-index: 0;
  transform: scale(1.2);   /* extra headroom for distortion overflow */
  will-change: filter, transform;
}
.hero-layer-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-layer-overlay {
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(6,15,28,0.92) 0%,
    rgba(10,30,53,0.78) 45%,
    rgba(10,30,53,0.55) 100%
  );
}
.hero-layer-grid {
  z-index: 2;
  background-image:
    linear-gradient(rgba(159,175,206,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159,175,206,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}
.hero-layer-vignette {
  z-index: 3;
  background: radial-gradient(ellipse 100% 100% at 50% 0%, transparent 50%, rgba(6,15,28,0.6) 100%);
}

/* Floating orb in hero */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle at 30% 40%, rgba(159,175,206,0.18) 0%, transparent 70%);
  top: 10%; right: 5%;
  z-index: 2;
  filter: blur(40px);
  animation: orbPulse 6s ease-in-out infinite alternate;
}
.hero-orb-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(13,56,96,0.6) 0%, transparent 70%);
  bottom: 20%; left: 10%;
  z-index: 2;
  filter: blur(60px);
  animation: orbPulse 8s ease-in-out infinite alternate;
  animation-delay: -3s;
}
@keyframes orbPulse {
  from { opacity: 0.6; transform: scale(1); }
  to   { opacity: 1;   transform: scale(1.15); }
}

/* Hero content */
.hero-content {
  position: relative; z-index: 10;
  padding: 160px 44px 100px;
  max-width: 1300px; margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 20px;
  background: rgba(159,175,206,0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(159,175,206,0.22);
  border-radius: 100px;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue-light); margin-bottom: 36px;
  opacity: 0; animation: revealUp .9s .1s var(--ease-out-expo) forwards;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--blue); border-radius: 50%;
  animation: blink 2.5s ease-in-out infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(159,175,206,0.4); }
  50% { opacity: 0.4; box-shadow: 0 0 0 6px rgba(159,175,206,0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-weight: 700; line-height: 1.04;
  letter-spacing: -0.04em;
  max-width: 1000px; margin-bottom: 32px;
  overflow: hidden;
}
/* Each word wraps in a .word span for stagger */
.hero-title .word {
  display: inline-block; overflow: hidden;
  margin-right: 0.2em;
}
.hero-title .word-inner {
  display: inline-block;
  transform: translateY(100%);
  animation: wordReveal .9s var(--ease-out-expo) forwards;
}
.hero-title .word:nth-child(1) .word-inner { animation-delay: .2s; }
.hero-title .word:nth-child(2) .word-inner { animation-delay: .32s; }
.hero-title .word:nth-child(3) .word-inner { animation-delay: .44s; }
.hero-title .word:nth-child(4) .word-inner { animation-delay: .56s; }
.hero-title .word:nth-child(5) .word-inner { animation-delay: .68s; }
.hero-title .word:nth-child(6) .word-inner { animation-delay: .80s; }
@keyframes wordReveal {
  to { transform: translateY(0); }
}

.blue-grad {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 60%, #e8f0fa 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  color: rgba(159,175,206,0.75); max-width: 580px;
  line-height: 1.8; margin-bottom: 52px;
  opacity: 0; animation: revealUp .9s .9s var(--ease-out-expo) forwards;
}
.hero-actions {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  opacity: 0; animation: revealUp .9s 1.1s var(--ease-out-expo) forwards;
}
.hero-scroll-indicator {
  position: absolute; bottom: 40px; left: 44px; z-index: 10;
  display: flex; align-items: center; gap: 14px;
  opacity: 0; animation: revealUp .9s 1.4s var(--ease-out-expo) forwards;
}
.scroll-mouse {
  width: 22px; height: 34px;
  border: 1.5px solid rgba(159,175,206,0.4);
  border-radius: 11px;
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 6px;
}
.scroll-wheel {
  width: 3px; height: 6px;
  background: var(--blue);
  border-radius: 2px;
  animation: scrollWheel 2s ease-in-out infinite;
}
@keyframes scrollWheel {
  0%  { transform: translateY(0); opacity: 1; }
  80% { transform: translateY(10px); opacity: 0; }
  81% { transform: translateY(0); opacity: 0; }
  100%{ transform: translateY(0); opacity: 1; }
}
.scroll-label {
  font-size: 0.7rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(159,175,206,0.45);
}

/* Floating side cards */
.hero-side {
  position: absolute; right: 5%; top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 16px;
  z-index: 10; opacity: 0;
  animation: revealRight 1s 1.2s var(--ease-out-expo) forwards;
}
.hero-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 22px;
  background: rgba(10,30,53,0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(159,175,206,0.2);
  border-radius: var(--r-md);
  will-change: transform;
  transition: transform .4s var(--ease-spring), border-color .3s;
}
.hero-card:hover { border-color: rgba(159,175,206,0.45); transform: translateX(-8px) !important; }
.hero-card-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-light);
}
.hero-card-label { font-size: 0.84rem; font-weight: 600; color: var(--white); }
.hero-card-sub   { font-size: 0.72rem; color: rgba(159,175,206,0.6); margin-top: 2px; }

@keyframes revealUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes revealRight {
  from { opacity: 0; transform: translateX(40px) translateY(-50%); }
  to   { opacity: 1; transform: translateX(0) translateY(-50%); }
}

/* =====================================================
   MARQUEE — SCROLLING TEXT BAND
   ===================================================== */
.marquee-section {
  position: relative; z-index: 3;
  padding: 32px 0;
  background: linear-gradient(90deg, rgba(10,30,53,0) 0%, rgba(10,30,53,0.8) 15%, rgba(10,30,53,0.8) 85%, rgba(10,30,53,0) 100%);
  border-top: 1px solid rgba(159,175,206,0.1);
  border-bottom: 1px solid rgba(159,175,206,0.1);
  overflow: hidden;
}
.marquee-track {
  display: flex; gap: 0;
  animation: marqueeScroll 28s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: flex; align-items: center; gap: 24px;
  padding: 0 40px;
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 400; font-style: italic;
  color: rgba(159,175,206,0.5);
  white-space: nowrap;
}
.marquee-dot {
  width: 5px; height: 5px;
  background: var(--blue); border-radius: 50%;
  flex-shrink: 0; opacity: 0.6;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =====================================================
   ABOUT — PARALLAX SPLIT
   ===================================================== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 100px; align-items: center;
}
.about-visuals { position: relative; }

.about-frame {
  position: relative; height: 620px;
  perspective: 1200px;
}
.about-img-main {
  position: absolute; top: 0; left: 0;
  width: 72%; height: 78%;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: 0 40px 100px rgba(6,15,28,0.7);
  will-change: transform;
  transition: transform .1s;
}
.about-img-accent {
  position: absolute; bottom: 0; right: 0;
  width: 52%; height: 52%;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: 0 24px 72px rgba(6,15,28,0.8);
  border: 3px solid rgba(10,30,53,0.8);
  will-change: transform;
  transition: transform .1s;
}
/* Floating label */
.about-stat-card {
  position: absolute; bottom: 90px; left: -20px;
  padding: 20px 28px;
  background: rgba(6,15,28,0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(159,175,206,0.22);
  border-radius: var(--r-md);
  z-index: 5;
  will-change: transform;
}
.stat-num {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 700;
  color: var(--blue-light); line-height: 1;
}
.stat-txt {
  font-size: 0.78rem; color: rgba(159,175,206,0.6); margin-top: 4px;
}
/* Blue accent line */
.about-accent-line {
  position: absolute; top: 30%; right: -28px;
  width: 56px; height: 200px;
  background: linear-gradient(180deg, transparent, var(--blue), transparent);
  border-radius: 4px; opacity: 0.3;
}

.about-desc {
  font-size: 1.06rem; color: rgba(159,175,206,0.72);
  line-height: 1.85; margin-bottom: 44px;
}
.values-row {
  display: flex; flex-direction: column; gap: 16px;
  margin-bottom: 44px;
}
.value-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 24px;
  background: rgba(159,175,206,0.05);
  border: 1px solid rgba(159,175,206,0.12);
  border-radius: var(--r-md);
  transition: background .3s, border-color .3s, transform .4s var(--ease-spring);
  will-change: transform;
}
.value-item:hover {
  background: rgba(159,175,206,0.09);
  border-color: rgba(159,175,206,0.3);
  transform: translateX(8px);
}
.value-icon-wrap {
  width: 38px; height: 38px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-light);
  background: rgba(159,175,206,0.12);
  border: 1px solid rgba(159,175,206,0.2);
  border-radius: 10px;
  font-size: 1rem; color: var(--blue-light);
}
.value-text h4 { font-size: 0.92rem; font-weight: 600; margin-bottom: 4px; }
.value-text p  { font-size: 0.82rem; color: rgba(159,175,206,0.6); line-height: 1.6; }

/* =====================================================
   SERVICES — 3D TILT CARDS
   ===================================================== */
.services {
  background: linear-gradient(180deg, transparent, rgba(10,30,53,0.5) 50%, transparent);
}
.services-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 20px;
}

.service-card {
  padding: 40px 30px;
  background: rgba(10,30,53,0.5);
  border: 1px solid rgba(159,175,206,0.14);
  border-radius: var(--r-lg);
  position: relative; overflow: hidden;
  transition: border-color .4s, box-shadow .4s;
  will-change: transform;
  transform-style: preserve-3d;
}
/* Shimmer light */
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(159,175,206,0.1) 0%, transparent 55%);
  opacity: 0; transition: opacity .3s; pointer-events: none;
}
.service-card:hover::before { opacity: 1; }
/* Top highlight */
.service-card::after {
  content: '';
  position: absolute; top: -1px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(159,175,206,0.6), transparent);
  opacity: 0; transition: opacity .4s;
}
.service-card:hover {
  border-color: rgba(159,175,206,0.35);
  box-shadow: 0 24px 64px rgba(6,15,28,0.5), 0 0 0 1px rgba(159,175,206,0.1);
}
.service-card:hover::after { opacity: 1; }

.service-num {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.18em; color: var(--blue); opacity: 0.7;
  margin-bottom: 24px;
}
.service-icon {
  width: 54px; height: 54px;
  margin-bottom: 22px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(159,175,206,0.1);
  border: 1px solid rgba(159,175,206,0.2);
  border-radius: 14px;
  color: var(--blue-light);
  transition: transform .4s var(--ease-spring), background .3s, border-color .3s;
}
.service-card:hover .service-icon {
  transform: scale(1.12) rotate(-4deg);
  background: rgba(159,175,206,0.18);
  border-color: rgba(159,175,206,0.35);
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 700;
  color: var(--white); margin-bottom: 14px;
}
.service-card p {
  font-size: 0.86rem; color: rgba(159,175,206,0.65);
  line-height: 1.75; margin-bottom: 22px;
}
.service-tags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px;
}
.service-tags li {
  font-size: 0.68rem; padding: 4px 11px;
  background: rgba(159,175,206,0.08);
  border: 1px solid rgba(159,175,206,0.16);
  border-radius: 100px; color: rgba(159,175,206,0.65);
  letter-spacing: 0.04em;
}
.service-arrow {
  color: var(--blue); opacity: 0;
  transform: translateX(-10px);
  transition: opacity .3s, transform .4s var(--ease-spring);
}
.service-card:hover .service-arrow { opacity: 1; transform: translateX(0); }

/* =====================================================
   PORTFOLIO — PREMIUM CARD GRID
   ===================================================== */
.portfolio { background: rgba(6,15,28,0.8); }

/* ── Filter Buttons ── */
.portfolio-filters {
  display: flex; justify-content: center; gap: 8px;
  margin-bottom: 52px; flex-wrap: wrap;
}
.filter-btn {
  padding: 10px 26px;
  font-size: 0.82rem; font-weight: 500;
  color: rgba(159,175,206,0.6);
  background: rgba(159,175,206,0.06);
  border: 1px solid rgba(159,175,206,0.14);
  border-radius: 100px; letter-spacing: 0.04em;
  transition: all .35s var(--ease-spring); cursor: none;
}
.filter-btn:hover, .filter-btn.active {
  color: var(--navy-deep);
  background: var(--blue);
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(96,165,250,0.35);
}

/* ── Grid ── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  grid-auto-rows: 300px;
  gap: 20px;
}

/* ── Card shell ── */
.port-item {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 1px solid rgba(159,175,206,0.08);
  transition: transform .45s var(--ease-spring), box-shadow .45s, border-color .4s;
}
.port-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 72px rgba(0,0,0,0.55), 0 0 0 1px rgba(159,175,206,0.14);
  border-color: rgba(159,175,206,0.18);
}
.port-wide { grid-column: span 2; }
.port-tall { grid-row: span 2; }

/* ── Link wrapper (gallery type) ── */
.port-link { display: block; width: 100%; height: 100%; }

/* ── Image area ── */
.port-thumb {
  position: relative; width: 100%; height: 100%;
  overflow: hidden;
}
.port-thumb > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s var(--ease-in-out), filter .5s;
}
.port-item:hover .port-thumb > img {
  transform: scale(1.08);
  filter: brightness(0.85);
}

/* ── Category badge (top-left) ── */
.port-badge {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 14px;
  background: rgba(6,12,24,0.68);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: background .3s, border-color .3s, transform .3s var(--ease-spring);
}
.port-item:hover .port-badge {
  background: rgba(6,12,24,0.9);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(2px);
}
/* Category colors */
.port-item[data-cat="photography"] .port-badge { color: #93c5fd; }
.port-item[data-cat="video"]       .port-badge { color: #c4b5fd; }
.port-item[data-cat="design"]      .port-badge { color: #fcd34d; }
.port-item[data-cat="web"]         .port-badge { color: #6ee7b7; }

/* ── Overlay gradient ── */
.port-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px 28px 24px;
  background: linear-gradient(
    to top,
    rgba(4,10,22,0.96) 0%,
    rgba(4,10,22,0.65) 38%,
    rgba(4,10,22,0.18) 62%,
    transparent 100%
  );
  transition: background .5s;
}
.port-item:hover .port-overlay {
  background: linear-gradient(
    to top,
    rgba(4,10,22,0.99) 0%,
    rgba(4,10,22,0.82) 48%,
    rgba(4,10,22,0.4) 72%,
    rgba(4,10,22,0.05) 100%
  );
}

/* Animated bottom accent line per category */
.port-overlay::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  height: 3px; width: 0;
  border-radius: 0 3px 0 0;
  transition: width .65s var(--ease-out-expo);
}
.port-item:hover .port-overlay::after { width: 100%; }
.port-item[data-cat="photography"] .port-overlay::after { background: linear-gradient(to right, #1d4ed8, #60a5fa); }
.port-item[data-cat="video"]       .port-overlay::after { background: linear-gradient(to right, #6d28d9, #a78bfa); }
.port-item[data-cat="design"]      .port-overlay::after { background: linear-gradient(to right, #b45309, #fcd34d); }
.port-item[data-cat="web"]         .port-overlay::after { background: linear-gradient(to right, #065f46, #34d399); }

/* ── Always-visible footer: service + title ── */
.port-footer { margin-bottom: 0; }

.port-service {
  display: block;
  font-size: 0.67rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 7px;
  color: var(--blue);
  transition: color .3s;
}
.port-item[data-cat="video"]  .port-service { color: #a78bfa; }
.port-item[data-cat="design"] .port-service { color: #f59e0b; }
.port-item[data-cat="web"]    .port-service { color: #34d399; }

.port-footer h3 {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 700;
  color: var(--white); line-height: 1.2; margin: 0;
  transition: transform .4s var(--ease-out-expo), color .3s;
}
.port-item:hover .port-footer h3 {
  transform: translateY(-6px);
  color: #e0eaff;
}

/* ── Hover-reveal: excerpt + CTA ── */
.port-hover-info {
  display: grid; grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows .45s var(--ease-out-expo), opacity .35s .05s;
}
.port-item:hover .port-hover-info {
  grid-template-rows: 1fr;
  opacity: 1;
}
.port-hover-inner { overflow: hidden; }
.port-hover-info p {
  font-size: 0.79rem; color: rgba(159,175,206,0.58);
  margin: 9px 0 10px; line-height: 1.5;
}

/* CTA button */
.port-cta {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--blue);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: gap .25s, color .2s;
}
.port-cta:hover { gap: 9px; color: var(--blue-light); }
.port-item[data-cat="video"]  .port-cta { color: #a78bfa; }
.port-item[data-cat="design"] .port-cta { color: #f59e0b; }
.port-item[data-cat="web"]    .port-cta { color: #34d399; }

/* Hidden filter */
.port-item.hidden { display: none; }
.port-cta-wrap { text-align: center; margin-top: 60px; }

/* ── No-thumbnail placeholder ── */
.port-no-thumb {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(13,31,60,0.8), rgba(26,58,110,0.6));
  color: rgba(159,175,206,0.25);
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  pointer-events: none;
}
.port-no-thumb span { font-size: 22px; opacity: 0.35; }

/* =====================================================
   PARALLAX NUMBERS BAND
   ===================================================== */
.numbers-section {
  position: relative; z-index: 3;
  padding: 80px 0; overflow: hidden;
}
.numbers-section::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(159,175,206,0.06) 0%, rgba(10,30,53,0.4) 100%);
  border-top: 1px solid rgba(159,175,206,0.12);
  border-bottom: 1px solid rgba(159,175,206,0.12);
}
.numbers-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 0; position: relative; z-index: 1;
}
.number-item {
  padding: 32px 40px;
  text-align: center;
  border-right: 1px solid rgba(159,175,206,0.12);
}
.number-item:last-child { border-right: none; }
.number-val {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 700; line-height: 1;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  will-change: transform;
}
.number-label {
  font-size: 0.82rem; color: rgba(159,175,206,0.55);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-top: 10px;
}

/* =====================================================
   CLIENT LOGOS CAROUSEL
   ===================================================== */
.logos-section {
  position: relative;
  padding: 72px 0 80px;
  overflow: hidden;
  background: linear-gradient(180deg,
    rgba(3,8,20,0) 0%,
    rgba(5,12,26,0.6) 30%,
    rgba(5,12,26,0.6) 70%,
    rgba(3,8,20,0) 100%
  );
}

/* Subtle grid pattern */
.logos-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(96,165,250,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96,165,250,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.logos-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.logos-header {
  text-align: center;
  margin-bottom: 40px;
}

.logos-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(159,175,206,0.5);
}

/* ── Scrolling track ── */
.logos-track-wrap {
  position: relative;
  overflow: hidden;
  /* Gradient fade masks on left + right */
}

.logos-track-wrap::before,
.logos-track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 180px;
  z-index: 2;
  pointer-events: none;
}
.logos-track-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-dark, #060f1c) 0%, transparent 100%);
}
.logos-track-wrap::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg-dark, #060f1c) 0%, transparent 100%);
}

.logos-track {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  animation: logoScroll 35s linear infinite;
  will-change: transform;
}

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

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

/* Individual logo card */
.logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 40px;
  min-width: 190px;
  height: 100px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(159,175,206,0.07);
  border-radius: 16px;
  transition: background .3s, border-color .3s, transform .3s, box-shadow .3s;
  cursor: default;
}
/* Linked logo cards get pointer cursor */
.logo-item--linked { cursor: none; }

.logo-item:hover {
  background: rgba(96,165,250,0.07);
  border-color: rgba(96,165,250,0.2);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(96,165,250,0.1);
}

/* Link wrapper inside logo card */
.logo-item a {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  text-decoration: none;
}

.logo-item img {
  max-width: 160px;
  max-height: 60px;
  width: auto; height: auto;
  object-fit: contain;
  /* Desaturated + dim by default, full color on hover */
  filter: grayscale(1) brightness(0.55) invert(0.05);
  opacity: 0.75;
  transition: filter .35s, opacity .35s;
  display: block;
}

.logo-item:hover img {
  filter: grayscale(0) brightness(1.1);
  opacity: 1;
}

/* =====================================================
   PROCESS — PARALLAX TIMELINE
   ===================================================== */
.process-track {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 24px; position: relative;
}
.process-line {
  position: absolute; top: 50px; left: 80px; right: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(159,175,206,0.3) 20%, rgba(159,175,206,0.3) 80%, transparent);
}
.process-line-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  width: 0;
  transition: width 1.8s var(--ease-out-expo);
  box-shadow: 0 0 12px rgba(159,175,206,0.4);
}
.process-line-fill.active { width: 100%; }

.process-step {
  display: flex; flex-direction: column; align-items: center;
  gap: 24px; text-align: center;
  position: relative; z-index: 1;
}
.step-num {
  width: 76px; height: 76px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10,30,53,0.8);
  border: 1px solid rgba(159,175,206,0.25);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.12em; color: var(--blue);
  flex-shrink: 0; position: relative;
  transition: border-color .4s, box-shadow .4s, background .4s;
}
.step-num::before {
  content: '';
  position: absolute; inset: -5px; border-radius: 50%;
  background: conic-gradient(rgba(159,175,206,0.3) var(--p, 0%), transparent 0%);
  transition: --p .5s;
}
.process-step.visible .step-num {
  border-color: rgba(159,175,206,0.5);
  box-shadow: 0 0 32px rgba(159,175,206,0.2);
  background: rgba(20,50,90,0.9);
}
.step-card {
  padding: 28px 22px;
  background: rgba(10,30,53,0.5);
  border: 1px solid rgba(159,175,206,0.12);
  border-radius: var(--r-md);
  width: 100%;
  transition: border-color .4s, transform .4s var(--ease-spring), box-shadow .4s;
}
.step-card:hover {
  border-color: rgba(159,175,206,0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(6,15,28,0.5);
}
.step-card h3 {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 700;
  margin-bottom: 10px; color: var(--white);
}
.step-card p { font-size: 0.82rem; color: rgba(159,175,206,0.62); line-height: 1.7; }

/* =====================================================
   CONTACT
   ===================================================== */
.contact-wrap {
  padding: 72px 64px;
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 80px; align-items: start;
  background: rgba(10,30,53,0.5);
  border: 1px solid rgba(159,175,206,0.14);
  border-radius: var(--r-xl);
  position: relative; overflow: hidden;
}
.contact-wrap::before {
  content: '';
  position: absolute; bottom: -120px; right: -120px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(159,175,206,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.contact-info .section-title { font-size: clamp(1.7rem, 2.5vw, 2.4rem); }
.contact-info > p {
  font-size: 0.95rem; color: rgba(159,175,206,0.68);
  line-height: 1.75; margin-bottom: 36px;
}
.contact-details { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.contact-details li {
  display: flex; align-items: center; gap: 14px; font-size: 0.9rem;
}
.contact-icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-light);
  background: rgba(159,175,206,0.1);
  border: 1px solid rgba(159,175,206,0.22);
  border-radius: 50%; font-size: 0.9rem; flex-shrink: 0;
}
.contact-details a { color: var(--blue-light); transition: color .2s; cursor: none; }
.contact-details a:hover { color: var(--white); }
.contact-details span { color: rgba(159,175,206,0.7); }
.social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.social-btn {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(159,175,206,0.07);
  border: 1px solid rgba(159,175,206,0.16);
  border-radius: 50%;
  color: rgba(159,175,206,0.55);
  transition: background .35s, border-color .35s, color .35s, transform .4s var(--ease-spring), box-shadow .35s;
  cursor: none;
}
/* Instagram — full brand gradient (linear so it never clips inside the circle) */
.social-btn.social-instagram:hover {
  background: linear-gradient(135deg, #405de6 0%, #833ab4 28%, #c13584 50%, #e1306c 70%, #fd1d1d 86%, #fcaf45 100%);
  border-color: transparent; color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(193,53,132,0.45);
}
/* TikTok — black & white */
.social-btn.social-tiktok:hover {
  background: #0a0a0a; border-color: rgba(255,255,255,0.25);
  color: #ffffff;
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.55);
}
/* LinkedIn — brand blue */
.social-btn.social-linkedin:hover {
  background: #0A66C2; border-color: #0A66C2; color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(10,102,194,0.4);
}
/* Any extra social buttons */
.social-btn:not(.social-instagram):not(.social-tiktok):not(.social-linkedin):hover {
  background: rgba(159,175,206,0.15); border-color: rgba(159,175,206,0.4);
  color: var(--blue-light); transform: translateY(-4px);
}

/* FORM */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(159,175,206,0.55);
}
.form-group input, .form-group select, .form-group textarea {
  background: rgba(159,175,206,0.05);
  border: 1px solid rgba(159,175,206,0.16);
  border-radius: var(--r-sm); padding: 15px 18px;
  font-family: var(--font-body); font-size: 0.92rem;
  color: var(--white); outline: none; resize: vertical;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(159,175,206,0.3); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: rgba(159,175,206,0.5);
  background: rgba(159,175,206,0.08);
  box-shadow: 0 0 0 3px rgba(159,175,206,0.08);
}
.form-group select option { background: var(--navy); color: var(--white); }
.form-note { font-size: 0.74rem; color: rgba(159,175,206,0.3); text-align: center; margin-top: -8px; }

/* ── Math CAPTCHA ── */
.captcha-row {
  display: flex;
  align-items: center;
  background: rgba(159,175,206,0.05);
  border: 1px solid rgba(159,175,206,0.16);
  border-radius: var(--r-sm);
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.captcha-row:focus-within {
  border-color: rgba(159,175,206,0.5);
  box-shadow: 0 0 0 3px rgba(159,175,206,0.08);
}
.captcha-question {
  flex: 1;
  padding: 14px 18px;
  font-size: 0.92rem;
  color: rgba(159,175,206,0.6);
  white-space: nowrap;
}
.captcha-question strong {
  color: #60a5fa;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1rem;
}
.captcha-row input[type="number"] {
  background: rgba(96,165,250,0.06) !important;
  border: none !important;
  border-left: 1px solid rgba(159,175,206,0.16) !important;
  border-radius: 0 !important;
  padding: 14px 16px !important;
  width: 90px;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: var(--white) !important;
  text-align: center;
  box-shadow: none !important;
  outline: none;
}
/* Hide browser spin buttons */
.captcha-row input[type="number"]::-webkit-inner-spin-button,
.captcha-row input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.captcha-row input[type="number"] { -moz-appearance: textfield; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid rgba(159,175,206,0.1);
  position: relative; z-index: 2;
  background: rgba(6,15,28,0.8);
}
.footer-inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-logo {
  height: 30px; margin-bottom: 16px;
  filter: brightness(0.85) drop-shadow(0 0 8px rgba(159,175,206,0.2));
}
.footer-brand p { font-size: 0.84rem; color: rgba(159,175,206,0.5); line-height: 1.7; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-links a, .footer-contact a, .footer-contact span {
  font-size: 0.84rem; color: rgba(159,175,206,0.5);
  transition: color .2s; cursor: none;
}
.footer-links a:hover, .footer-contact a:hover { color: var(--blue-light); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px; border-top: 1px solid rgba(159,175,206,0.08);
  font-size: 0.76rem; color: rgba(159,175,206,0.3);
}

/* =====================================================
   REVEAL ANIMATIONS
   ===================================================== */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity .9s var(--ease-out-expo), transform .9s var(--ease-out-expo);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0; transform: translateX(-40px);
  transition: opacity .9s var(--ease-out-expo), transform .9s var(--ease-out-expo);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0; transform: translateX(40px);
  transition: opacity .9s var(--ease-out-expo), transform .9s var(--ease-out-expo);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-frame { height: 420px; }
  .about-side { display: none; }
  .hero-side { display: none; }
  .process-track { grid-template-columns: repeat(2,1fr); }
  .process-line { display: none; }
  .contact-wrap { grid-template-columns: 1fr; gap: 48px; padding: 48px 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 768px) {
  :root { --section-gap: 100px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-inner { padding: 18px 24px; }
  .hero-content { padding: 130px 24px 80px; }
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }
  button, a, .filter-btn { cursor: pointer; }
  .services-grid { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: 1fr; }
  .number-item { border-right: none; border-bottom: 1px solid rgba(159,175,206,0.12); }
  .number-item:last-child { border-bottom: none; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; gap: 12px; }
  .port-wide { grid-column: span 2; }
  .port-tall { grid-row: auto; }
  .port-overlay { padding: 18px 18px 16px; }
  .port-footer h3 { font-size: 0.95rem; }
  .process-track { grid-template-columns: 1fr; }
  .contact-wrap { padding: 36px 24px; border-radius: var(--r-lg); }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .container { padding: 0 20px; }
  .marquee-section { display: none; }
}

/* =====================================================
   HERO FX — liquid distortion + lens
   ===================================================== */

/* =====================================================
   HERO FX — liquid distortion
   ===================================================== */

/* =====================================================
   SKILLS SECTION — Bento Card Grid
   ===================================================== */
.skills-section {
  padding: var(--section-gap) 0;
  position: relative;
}

.skills-section .section-header {
  text-align: center;
  margin-bottom: 72px;
}

/* ── Bento grid ── */
.skills-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

/* ── Base card ── */
.sbc {
  position: relative;
  background: rgba(10,30,53,0.55);
  border: 1px solid rgba(159,175,206,0.14);
  border-radius: 24px;
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  padding: 32px 28px 28px;
  overflow: hidden;
  cursor: default;
  transition: border-color .4s, transform .45s var(--ease-spring), box-shadow .4s;
}
.sbc:hover {
  border-color: rgba(159,175,206,0.32);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35), 0 0 0 1px rgba(159,175,206,0.08);
}

/* Wide card spans 2 columns */
.sbc-wide { grid-column: span 2; }

/* ── Glowing orb accent ── */
.sbc-accent {
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  opacity: 0.18;
  filter: blur(55px);
  top: -50px; right: -50px;
  transition: opacity .4s;
  pointer-events: none;
}
.sbc:hover .sbc-accent { opacity: 0.30; }

.sbc-accent-video  { background: #a78bfa; }
.sbc-accent-photo  { background: #60a5fa; }
.sbc-accent-design { background: #f9a825; }
.sbc-accent-web    { background: #34d399; }
.sbc-accent-ai     { background: #f87171; }

/* ── Icon ── */
.sbc-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  position: relative; z-index: 1;
  border: 1px solid rgba(159,175,206,0.14);
}
.sbc-icon.ic-video  { background: rgba(167,139,250,0.15); color: #a78bfa; }
.sbc-icon.ic-photo  { background: rgba(96,165,250,0.15);  color: #60a5fa; }
.sbc-icon.ic-design { background: rgba(249,168,37,0.15);  color: #f9a825; }
.sbc-icon.ic-web    { background: rgba(52,211,153,0.15);  color: #34d399; }
.sbc-icon.ic-ai     { background: rgba(248,113,113,0.15); color: #f87171; }

/* ── Header block ── */
.sbc-header {
  position: relative; z-index: 1;
  margin-bottom: 18px;
}

.sbc-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
/* Category label colours are set inline via style="" on each card */

.sbc-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 4px;
}
.sbc-count {
  font-size: 0.78rem;
  color: var(--white-50);
}

/* ── Tool pills ── */
.sbc-tools {
  position: relative; z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.sbc-tools span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px 5px 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(159,175,206,0.12);
  border-radius: 100px;
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--white-80);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s ease, transform .35s var(--ease-spring), background .25s, border-color .25s;
}

/* Stagger pill reveal on hover */
.sbc:hover .sbc-tools span { opacity: 1; transform: translateY(0); }
.sbc:hover .sbc-tools span:nth-child(1) { transition-delay: 0.03s; }
.sbc:hover .sbc-tools span:nth-child(2) { transition-delay: 0.07s; }
.sbc:hover .sbc-tools span:nth-child(3) { transition-delay: 0.11s; }
.sbc:hover .sbc-tools span:nth-child(4) { transition-delay: 0.15s; }
.sbc:hover .sbc-tools span:nth-child(5) { transition-delay: 0.19s; }
.sbc:hover .sbc-tools span:nth-child(6) { transition-delay: 0.23s; }
.sbc:hover .sbc-tools span:nth-child(7) { transition-delay: 0.27s; }
.sbc:hover .sbc-tools span:nth-child(8) { transition-delay: 0.31s; }

.sbc-tools span:hover {
  background: rgba(159,175,206,0.12);
  border-color: rgba(159,175,206,0.30);
}

/* Small dot icon inside pill */
.sbc-tools span::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--pill-color, rgba(159,175,206,0.5));
}

/* Card-specific pill accent colors */
.sbc-video  .sbc-tools span { --pill-color: #a78bfa; }
.sbc-photo  .sbc-tools span { --pill-color: #60a5fa; }
.sbc-design .sbc-tools span { --pill-color: #f9a825; }
.sbc-web    .sbc-tools span { --pill-color: #34d399; }
.sbc-ai     .sbc-tools span { --pill-color: #f87171; }

/* Hover hint */
.sbc-hint {
  position: absolute;
  bottom: 22px; right: 24px;
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-50);
  z-index: 1;
  transition: opacity .3s;
}
.sbc:hover .sbc-hint { opacity: 0; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .skills-bento { grid-template-columns: 1fr 1fr; }
  .sbc-wide { grid-column: span 2; }
}
@media (max-width: 600px) {
  .skills-bento { grid-template-columns: 1fr; }
  .sbc-wide { grid-column: span 1; }
  .sbc-tools span { opacity: 1; transform: translateY(0); }
  /* Portfolio: single column on small phones */
  .portfolio-grid { grid-template-columns: 1fr; grid-auto-rows: 250px; }
  .port-wide { grid-column: auto; }
}

/* =====================================================
   WHATSAPP FAB — fixed bottom-left
   ===================================================== */
.whatsapp-fab {
  position: fixed;
  bottom: 32px;
  left: 32px;
  z-index: 900;
  width: 54px; height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45), 0 2px 8px rgba(0,0,0,0.25);
  transition: transform .35s var(--ease-spring), box-shadow .35s;
  cursor: none;
  text-decoration: none;
}
.whatsapp-fab:hover {
  transform: scale(1.14);
  box-shadow: 0 8px 40px rgba(37,211,102,0.65), 0 4px 16px rgba(0,0,0,0.25);
}
/* Pulse ring */
.whatsapp-fab::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37,211,102,0.4);
  animation: waPulse 2.8s ease-out infinite;
}
@keyframes waPulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(2.2); opacity: 0;   }
}
@media (max-width: 768px) {
  .whatsapp-fab { cursor: pointer; bottom: 20px; left: 20px; width: 48px; height: 48px; }
}

/* =====================================================
   IMAGE POPUP — single project preview
   ===================================================== */
.img-popup {
  position: fixed;
  inset: 0;
  z-index: 8500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.img-popup.open {
  opacity: 1;
  pointer-events: all;
}
.img-popup-bg {
  position: absolute;
  inset: 0;
  background: rgba(6,15,28,0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  cursor: pointer;
}
.img-popup-close {
  position: absolute;
  top: 24px; right: 24px;
  z-index: 2;
  width: 44px; height: 44px;
  background: rgba(159,175,206,0.1);
  border: 1px solid rgba(159,175,206,0.25);
  border-radius: 50%;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .25s, transform .3s;
}
.img-popup-close:hover { background: rgba(159,175,206,0.22); transform: rotate(90deg); }
.img-popup-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transform: scale(0.92);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.img-popup.open .img-popup-wrap { transform: scale(1); }
.img-popup-wrap img {
  max-width: min(92vw, 1100px);
  max-height: 84vh;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: var(--r-md);
  box-shadow: 0 40px 120px rgba(0,0,0,0.8);
}
.img-popup-label {
  font-size: 0.82rem;
  color: rgba(159,175,206,0.7);
  letter-spacing: 0.04em;
  text-align: center;
}
