/* =============================================
   CYBER CREATIVE — Improved Premium UI
   Palette: Deep Black · Charcoal · Cream · Gold
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Syne:wght@400;600;700;800&family=Space+Mono:wght@400;700&display=swap');

/* ── DESIGN TOKENS ─────────────────────────────── */
:root {
  /* Neutrals - Enhanced Dark Palette */
  --black:    #0a0a0a;
  --dark:     #121212;
  --charcoal: #1e1e1e;
  --mid:      #2d2d2d;
  --dim:      #474747;
  --muted:    #888888;
  --light:    #d0d0d0;
  --ivory:    #f5f2ed;
  --white:    #fefdfb;
  
  /* Primary Accent - Premium Gold (Enhanced) */
  --gold:      #ffd700;
  --gold-dim:  #d4a017;
  --gold-pale: #fff8e7;
  --gold-dark: #cc6600;
  --gold-bright: #ffea00;
  
  /* Secondary Accents - Depth & Visual Hierarchy */
  --accent-blue: #0099ff;
  --accent-cyan: #00e5ff;
  --accent-teal: #00d9d9;
  --accent-purple: #a855f7;
  --success:     #4ade80;
  --warning:     #fbbf24;
  --danger:      #ff5555;
  --info:        #06b6d4;

  /* Typography */
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Syne', sans-serif;
  --font-mono:    'Space Mono', monospace;

  /* Animation Tokens - Enhanced */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
  --ease-io:   cubic-bezier(0.87, 0, 0.13, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-elastic: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  
  /* Spacing Scale - Professional */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
  --spacing-2xl: 6rem;
  --spacing-3xl: 8rem;
  
  /* Shadows - Professional Depth */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.15);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.25);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.35);
  --shadow-xl: 0 30px 60px rgba(0,0,0,0.45);
  --shadow-gold: 0 0 30px rgba(232, 200, 74, 0.15);
  --shadow-glow: 0 0 40px rgba(232, 200, 74, 0.08);
  
  /* Transitions */
  --transition-fast: 0.15s var(--ease-smooth);
  --transition-base: 0.3s var(--ease-smooth);
  --transition-slow: 0.5s var(--ease-smooth);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
}

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

html { 
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--black);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.3px;
  overflow-x: hidden;
  cursor: none;
  position: relative;
}

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

a { 
  color: inherit; 
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--gold);
}

ul, ol { 
  list-style: none; 
}

button { 
  cursor: none; 
  background: none; 
  border: none; 
  font-family: inherit;
  transition: all var(--transition-base);
}

/* ── ENHANCED TYPOGRAPHY ───────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

h1 { font-size: clamp(2.5rem, 7vw, 4.5rem); }
h2 { font-size: clamp(2rem, 5.5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.95rem; }

p {
  margin-bottom: 1rem;
  line-height: 1.75;
}

strong { 
  font-weight: 700;
  color: var(--white);
}

em { 
  font-style: italic;
  color: var(--gold);
}

/* ── UTILITIES ───────────────────────────────── */
.yellow-text { 
  color: var(--gold);
  font-weight: 600;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.py-1 { padding: 1rem 0; }
.py-2 { padding: 2rem 0; }
.py-3 { padding: 3rem 0; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }

/* ── SCROLLBAR ───────────────────────────────── */
::-webkit-scrollbar { 
  width: 8px; 
  height: 8px;
}

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

::-webkit-scrollbar-thumb { 
  background: linear-gradient(180deg, var(--gold), var(--gold-dim));
  border-radius: 4px;
  border: 2px solid var(--charcoal);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
}

/* ── SELECTION ───────────────────────────────── */
::selection { 
  background: var(--gold); 
  color: var(--black);
  text-shadow: none;
}

/* ═══════════════════════════════════════════════
   PRELOADER — Enhanced
═══════════════════════════════════════════════ */
#preloader {
  position: fixed; inset: 0;
  background: linear-gradient(180deg, var(--black) 0%, var(--charcoal) 100%);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.8s var(--ease-out), visibility 0.8s;
}

#preloader.hidden { 
  opacity: 0; 
  visibility: hidden; 
  pointer-events: none; 
}

.preloader-inner { 
  text-align: center;
  animation: preloader-fade-in 0.6s var(--ease-out);
}

@keyframes preloader-fade-in {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.preloader-logo {
  width: 80px;
  filter: brightness(0) invert(1);
  animation: preloader-pulse 1.4s ease-in-out infinite;
  margin: 0 auto 2.5rem;
  transition: width 0.3s;
}

@keyframes preloader-pulse {
  0%, 100% { 
    opacity: 1; 
    transform: scale(1);
  }
  50% {       
    opacity: 0.5; 
    transform: scale(0.95);
  }
}

.preloader-bar {
  width: 200px; 
  height: 3px;
  background: linear-gradient(90deg, var(--charcoal) 0%, var(--mid) 50%, var(--charcoal) 100%);
  border-radius: 3px;
  overflow: hidden;
  margin: 0 auto;
  box-shadow: 0 0 20px rgba(232, 200, 74, 0.1);
}

.preloader-bar span {
  display: block; 
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright), var(--gold));
  animation: preloader-fill 2s var(--ease-out) forwards;
  box-shadow: 0 0 20px rgba(232, 200, 74, 0.3);
}

@keyframes preloader-fill { 
  from { width: 0; } 
  to { width: 100%; } 
}

/* ═══════════════════════════════════════════════
   CUSTOM CURSOR — Enhanced
═══════════════════════════════════════════════ */
.cursor-dot {
  width: 7px; 
  height: 7px;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  border-radius: 50%;
  position: fixed; 
  top: 0; 
  left: 0;
  pointer-events: none; 
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  box-shadow: 0 0 15px rgba(232, 200, 74, 0.4);
}

.cursor-outline {
  width: 36px; 
  height: 36px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  position: fixed; 
  top: 0; 
  left: 0;
  pointer-events: none; 
  z-index: 9997;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), opacity 0.3s, border-color 0.3s;
  opacity: 0.6;
  box-shadow: inset 0 0 20px rgba(232, 200, 74, 0.2);
}

body.cursor-hover .cursor-dot {    
  width: 12px; 
  height: 12px; 
  background: linear-gradient(135deg, var(--gold-bright), var(--accent-cyan));
  box-shadow: 0 0 25px rgba(232, 200, 74, 0.6);
}

body.cursor-hover .cursor-outline { 
  width: 60px; 
  height: 60px; 
  opacity: 0.3;
  border-color: var(--accent-cyan);
}

body.cursor-view .cursor-outline {
  width: 80px; 
  height: 80px;
  background: radial-gradient(circle, rgba(232, 200, 74, 0.1), transparent);
  border-color: var(--gold);
  box-shadow: 0 0 30px rgba(232, 200, 74, 0.3), inset 0 0 30px rgba(232, 200, 74, 0.1);
  border-width: 1px;
}

/* ═══════════════════════════════════════════════
   NAVBAR — Enhanced
═══════════════════════════════════════════════ */
#navbar {
  position: fixed; 
  top: 0; 
  left: 0; 
  right: 0;
  z-index: 1000;
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  padding: 1.3rem 4vw;
  transition: all 0.5s var(--ease-smooth), backdrop-filter 0.5s;
}

#navbar.scrolled {
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(25px) saturate(1.2);
  -webkit-backdrop-filter: blur(25px) saturate(1.2);
  border-bottom: 1px solid rgba(232, 200, 74, 0.08);
  padding: 0.9rem 4vw;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.nav-logo {
  display: flex; 
  align-items: center; 
  gap: 0.85rem;
  z-index: 2;
  transition: transform 0.3s var(--ease-smooth);
}

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

.nav-logo img { 
  width: 42px; 
  filter: brightness(0) invert(1);
  transition: filter 0.3s;
}

.nav-brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
  transition: color 0.3s;
}

.nav-links {
  display: flex; 
  align-items: center; 
  gap: 2.8rem;
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--transition-base);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: var(--gold);
}

.nav-link::after {
  content: '';
  position: absolute; 
  bottom: -6px; 
  left: 0;
  width: 0; 
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--accent-cyan));
  transition: width 0.4s var(--ease-out);
}

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

.nav-link.active {
  color: var(--gold);
}

.nav-link.active::after {
  width: 100%;
}
.nav-link:hover,
.nav-link.active { color: var(--white); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-cta {
  color: var(--gold) !important;
  border: 1px solid var(--gold);
  padding: 0.45rem 1.1rem;
  border-radius: 2px;
  font-size: 0.72rem;
  transition: background 0.2s, color 0.2s !important;
}
.nav-cta:hover { background: var(--gold); color: var(--black) !important; }
.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: none; z-index: 1001;
}
.hamburger span {
  width: 26px; height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay */
.mobile-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 900;
}
.mobile-overlay.active { display: block; }

@media (max-width: 900px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -100%;
    width: min(340px, 88vw); height: 100vh;
    background: var(--charcoal);
    border-left: 1px solid var(--mid);
    flex-direction: column; justify-content: center;
    gap: 2.5rem; padding: 4rem 3rem;
    transition: right 0.5s var(--ease-out);
    z-index: 1000;
  }
  .nav-links.open { right: 0; }
  .nav-link { font-size: 1rem; color: var(--light); }
}

/* ═══════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════ */
.btn {
  display: inline-flex; 
  align-items: center; 
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.95rem 2.2rem;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  cursor: none;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--black);
  font-weight: 800;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl), var(--shadow-gold);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-outline {
  background: rgba(255,255,255,0.05);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(232, 200, 74, 0.08);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.btn-outline:active {
  transform: translateY(-1px);
}

/* Footer CTA Button */
.footer-cta {
  color: var(--gold) !important;
  border: 1.5px solid var(--gold);
  padding: 0.55rem 1.3rem;
  border-radius: var(--radius-md);
  font-size: 0.65rem;
  transition: all var(--transition-base) !important;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: none;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.footer-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-base);
}

.footer-cta:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.footer-cta:hover { 
  color: var(--black) !important; 
  transform: translateY(-2px);
}

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

/* ═══════════════════════════════════════════════
   TICKER / MARQUEE
═══════════════════════════════════════════════ */
.ticker-wrap {
  overflow: hidden;
  border-top: 1px solid var(--mid);
  border-bottom: 1px solid var(--mid);
  background: var(--charcoal);
  padding: 0.9rem 0;
  position: relative; z-index: 10;
}
.ticker {
  display: flex; align-items: center; gap: 0;
  white-space: nowrap;
  animation: ticker-scroll 28s linear infinite;
}
.ticker span {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 0 1.5rem;
  transition: color 0.2s;
}
.ticker span:hover { color: var(--gold); }
.ticker-sep { color: var(--gold) !important; font-size: 0.6rem !important; padding: 0 0.5rem !important; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ═══════════════════════════════════════════════
   SECTION SHARED
═══════════════════════════════════════════════ */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  display: flex; align-items: center; gap: 0.6rem;
  margin-bottom: 1.4rem;
}
.section-label span {
  font-size: 0.6rem; color: var(--dim);
}
.section-label::before {
  content: '';
  display: inline-block; width: 28px; height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 7rem);
  line-height: 0.96;
  letter-spacing: 0.02em;
  color: var(--white);
}

/* ── BG TEXT watermarks ── */
.section-bg-text {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(8rem, 18vw, 18rem);
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.04);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* ═══════════════════════════════════════════════
   SCROLL REVEAL — base classes
═══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0; transform: translateX(-48px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0; transform: translateX(48px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0; transform: scale(0.88);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* stagger delays */
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }

/* ── clip-path reveal ── */
.clip-reveal {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.2s var(--ease-out);
}
.clip-reveal.visible { clip-path: inset(0 0% 0 0); }

/* ═══════════════════════════════════════════════
   HERO — PINNED / SCROLL ZOOM
═══════════════════════════════════════════════ */
.hero-section {
  position: relative;
  height: 100vh; min-height: 650px;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

/* Video / orb BG layer */
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-bg-video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: grayscale(0.4);
}
.hero-bg-orb {
  position: absolute;
  width: min(800px, 80vw); height: min(800px, 80vw);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%,
    rgba(232,200,74,0.18) 0%,
    rgba(232,200,74,0.04) 50%,
    transparent 70%);
  animation: orb-pulse 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes orb-pulse {
  0%, 100% { transform: translate(-50%,-50%) scale(1);   opacity: 1; }
  50%       { transform: translate(-50%,-50%) scale(1.1); opacity: 0.7; }
}
.hero-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8,8,8,0.3) 0%,
    rgba(8,8,8,0.1) 40%,
    rgba(8,8,8,0.85) 100%
  );
}
.hero-noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none; opacity: 0.4;
}

/* Content */
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 1100px;
  padding: 6rem 2rem 0;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fade-up 0.8s var(--ease-out) 0.4s forwards;
}
.tag-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 9vw, 10rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-top: 9rem;
  margin-bottom: 1.5rem;
}
.hero-title-line {
  display: block;
  opacity: 0;
  transform: translateY(60px);
  animation: fade-up 1s var(--ease-out) forwards;
}
.hero-title-line:nth-child(1) { animation-delay: 0.6s; }
.hero-title-line:nth-child(2) { animation-delay: 0.78s; }
.hero-title-line:nth-child(3) { animation-delay: 0.96s; } /* color: gold set inline in HTML */
.hero-title-line:nth-child(4) { animation-delay: 1.14s; }

@keyframes fade-up {
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  font-size: clamp(0.9rem, 1.6vw, 1.1rem);
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  animation: fade-up 0.8s var(--ease-out) 1.1s forwards;
}
.hero-actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  opacity: 0;
  animation: fade-up 0.8s var(--ease-out) 1.25s forwards;
}

/* Stats row */
.hero-stats {
  display: flex; align-items: center; justify-content: center; gap: 3rem;
  margin-top: 4rem;
  opacity: 0;
  animation: fade-up 0.8s var(--ease-out) 1.4s forwards;
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--white);
  line-height: 1;
}
.stat-plus { font-family: var(--font-display); font-size: 1.8rem; color: var(--gold); }
.stat p {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: 0.3rem;
  font-family: var(--font-mono);
}
.stat-divider { width: 1px; height: 50px; background: var(--mid); }

/* Scroll cue */
.scroll-cue {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  z-index: 2;
  opacity: 0;
  animation: fade-up 0.8s var(--ease-out) 1.8s forwards;
}
.scroll-cue span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--dim);
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 50px;
  background: var(--mid);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute; top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--gold);
  animation: scroll-drop 1.8s ease-in-out infinite;
}
@keyframes scroll-drop { 
  0%{top:-100%} 
  100%{top:200%} 
}

/* ═══════════════════════════════════════════════
   STORY / INTRO SECTION
═══════════════════════════════════════════════ */
.story-section {
  padding: 10rem 4vw;
  position: relative;
  background: var(--black);
  overflow: hidden;
}
.story-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: center;
}
.story-left .story-num {
  font-family: var(--font-display);
  font-size: clamp(10rem, 20vw, 20rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.06);
  line-height: 0.8;
  user-select: none; pointer-events: none;
  position: absolute; left: 2vw; top: 50%;
  transform: translateY(-50%);
}

.story-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  line-height: 1;
  color: var(--white);
  margin-bottom: 2rem;
}
.story-body {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.9;
  max-width: 480px;
}
.story-body strong { color: var(--ivory); font-weight: 600; }
.story-body + .story-body { margin-top: 1.2rem; }

/* Horizontal rule accent */
.hr-accent {
  width: 60px; height: 2px;
  background: var(--gold);
  margin: 2.5rem 0;
}

/* ─ story image ─ */
.story-img-wrap {
  position: relative;
}
.story-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: grayscale(0.2) contrast(1.05);
}
.story-img-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(8,8,8,0.9) 0%, transparent 100%);
}
.story-img-caption span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .story-inner { grid-template-columns: 1fr; gap: 3rem; }
  .story-left { display: none; }
}

/* ═══════════════════════════════════════════════
   HOME SERVICES PREVIEW
═══════════════════════════════════════════════ */
.services-preview-section {
  padding: 8rem 4vw;
  background: var(--charcoal);
  position: relative; overflow: hidden;
}
.services-preview-section .section-bg-text { color: transparent; top: 20%; }
.services-preview-inner { max-width: 1200px; margin: 0 auto; }

.services-preview-grid {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--mid);
}
.sp-card {
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--mid);
  border-bottom: 1px solid var(--mid);
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.sp-card:nth-child(3n) { border-right: none; }
.sp-card:nth-last-child(-n+3) { border-bottom: none; }
.sp-card:hover { background: rgba(232,200,74,0.04); }
.sp-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.5s var(--ease-out);
}
.sp-card:hover::after { width: 100%; }
.sp-num {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}
.sp-icon {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 1.2rem;
  transition: transform 0.3s var(--ease-out);
}
.sp-card:hover .sp-icon { transform: scale(1.15); }
.sp-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 0.8rem;
  letter-spacing: 0.03em;
}
.sp-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.sp-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap 0.2s;
}
.sp-card:hover .sp-arrow { gap: 0.7rem; }

@media (max-width: 860px) {
  .services-preview-grid { grid-template-columns: 1fr 1fr; }
  .sp-card:nth-child(3n) { border-right: 1px solid var(--mid); }
  .sp-card:nth-child(2n) { border-right: none; }
}
@media (max-width: 560px) {
  .services-preview-grid { grid-template-columns: 1fr; }
  .sp-card { border-right: none; }
}

/* ═══════════════════════════════════════════════
   NUMBERS / STATS SECTION
═══════════════════════════════════════════════ */
.numbers-section {
  padding: 8rem 4vw;
  background: var(--black);
  border-top: 1px solid var(--mid);
  border-bottom: 1px solid var(--mid);
  position: relative; overflow: hidden;
}
.numbers-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.num-card {
  padding: 3rem 2rem;
  border-right: 1px solid var(--mid);
  text-align: center;
}
.num-card:last-child { border-right: none; }
.num-big {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 6rem);
  color: var(--white);
  line-height: 1;
  display: flex; align-items: flex-start; justify-content: center;
}
.num-big .suf { color: var(--gold); font-size: 0.6em; margin-top: 0.3em; }
.num-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: 0.6rem;
}
@media (max-width: 700px) {
  .numbers-inner { grid-template-columns: 1fr 1fr; }
  .num-card:nth-child(2) { border-right: none; }
  .num-card:nth-child(3) { border-right: 1px solid var(--mid); }
}

/* ═══════════════════════════════════════════════
   PROCESS TIMELINE
═══════════════════════════════════════════════ */
.process-section {
  padding: 10rem 4vw;
  background: var(--charcoal);
  position: relative; overflow: hidden;
}
.process-inner { max-width: 1200px; margin: 0 auto; }
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 5rem;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute; top: 2.5rem; left: 0; right: 0;
  height: 1px; background: var(--mid); z-index: 0;
}
.process-step {
  padding: 0 2rem 3rem;
  position: relative; z-index: 1;
}
.step-num {
  width: 44px; height: 44px;
  border: 1px solid var(--mid);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--dim);
  background: var(--charcoal);
  margin-bottom: 2rem;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.process-step.active .step-num,
.process-step:hover .step-num {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(232,200,74,0.08);
}
.step-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.7rem;
  letter-spacing: 0.04em;
}
.step-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
}
@media (max-width: 700px) {
  .process-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
  .process-steps::before { display: none; }
}

/* ═══════════════════════════════════════════════
   HOME PORTFOLIO HORIZONTAL SCROLL
═══════════════════════════════════════════════ */
.hscroll-section {
  padding: 10rem 0 10rem 4vw;
  background: var(--black);
  overflow: hidden;
}
.hscroll-header {
  max-width: 1200px;
  padding-right: 4vw;
  margin-bottom: 4rem;
}
.hscroll-track-wrap {
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}
.hscroll-track-wrap:active { cursor: grabbing; }
.hscroll-track-wrap::-webkit-scrollbar { display: none; }
.hscroll-track {
  display: flex; gap: 2rem;
  padding-right: 4vw;
  width: max-content;
}
.hscroll-card {
  flex: 0 0 min(480px, 80vw);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--mid);
  transition: border-color 0.3s;
}
.hscroll-card:hover { border-color: rgba(232,200,74,0.35); }
.hscroll-img {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover;
  filter: grayscale(0.3) contrast(1.05);
  transition: transform 0.8s var(--ease-out), filter 0.4s;
}
.hscroll-card:hover .hscroll-img {
  transform: scale(1.05);
  filter: grayscale(0) contrast(1.05);
}
.hscroll-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.88) 0%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.4s;
}
.hscroll-card:hover .hscroll-overlay { opacity: 1; }
.hscroll-cat {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.hscroll-name {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--white);
  letter-spacing: 0.03em;
}
.hscroll-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.8rem;
  transition: gap 0.2s;
}
.hscroll-link:hover { gap: 0.7rem; }

/* Bottom index tag */
.hscroll-idx {
  padding: 0.8rem 1rem;
  background: var(--charcoal);
  display: flex; align-items: center; justify-content: space-between;
}
.hscroll-idx span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--dim);
  letter-spacing: 0.12em;
}

/* ═══════════════════════════════════════════════
   HOME CTA FULLSCREEN
═══════════════════════════════════════════════ */
.home-cta-section {
  min-height: 60vh;
  background: var(--charcoal);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 8rem 4vw;
  position: relative; overflow: hidden;
  border-top: 1px solid var(--mid);
}
.home-cta-section .section-bg-text {
  font-size: clamp(8rem, 22vw, 22rem);
  opacity: 0.03;
}
.home-cta-inner { position: relative; z-index: 2; max-width: 800px; }
.home-cta-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 8rem);
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 2rem;
}
.home-cta-title em { color: var(--gold); font-style: normal; }
.home-cta-sub {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 3rem;
}

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.footer {
  background: var(--black);
  border-top: 1px solid var(--mid);
  padding: 5rem 5vw 2rem;
}
.footer-grid {
  max-width: 1400px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.1fr 0.9fr 0.9fr 1.4fr;
  gap: 1.8rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--mid);
}
.footer-logo {
  width: 40px;
  filter: brightness(0) invert(1);
  margin-bottom: 0.9rem;
}
.footer-brand p {
  font-size: 0.78rem;
  color: var(--dim);
  line-height: 1.65;
  max-width: 220px;
  margin-bottom: 1.2rem;
}
.footer-socials { display: flex; gap: 0.7rem; }
.footer-socials a {
  width: 32px; height: 32px;
  border: 1px solid var(--mid);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.footer-socials a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(232,200,74,0.06);
}
.footer-links h4, .footer-contact h4 {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.footer-links a {
  display: block;
  font-size: 0.78rem;
  color: var(--dim);
  margin-bottom: 0.55rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--ivory); }
.footer-contact p {
  font-size: 0.76rem;
  color: var(--dim);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.footer-contact a { color: var(--dim); transition: color 0.2s; }
.footer-contact a:hover { color: var(--ivory); }
.footer-contact i { color: var(--gold); margin-right: 0.4rem; }
.footer-bottom {
  max-width: 1400px; margin: 2rem auto 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p {
  font-size: 0.72rem;
  color: var(--dim);
  font-family: var(--font-mono);
}
.footer-bottom a { color: var(--gold); }

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-contact { grid-column: auto; }
}

/* ═══════════════════════════════════════════════
   BACK TO TOP
═══════════════════════════════════════════════ */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  border: 1px solid var(--mid);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, border-color 0.2s, color 0.2s, transform 0.2s;
  z-index: 500;
  border-radius: 2px;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }

/* ═══════════════════════════════════════════════
   PAGE BANNER (inner pages)
═══════════════════════════════════════════════ */
.page-banner {
  min-height: 52vh;
  background: var(--black);
  display: flex; align-items: flex-end;
  padding: 12rem 4vw 5rem;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--mid);
}
.page-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 50%,
    rgba(232,200,74,0.06) 0%, transparent 65%);
}
.page-banner-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
}
.page-banner-noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px; pointer-events: none;
}
.page-banner-content {
  position: relative; z-index: 2;
  max-width: 1200px; width: 100%;
}
.page-banner-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 10rem);
  line-height: 0.92;
  color: var(--white);
  letter-spacing: 0.01em;
  margin-bottom: 1.2rem;
}
.page-banner-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 480px;
}

/* ═══════════════════════════════════════════════
   SERVICES PAGE — CINEMATIC PANELS
═══════════════════════════════════════════════ */
.services-cinematic {
  position: relative;
  background: var(--black);
}
.service-panel {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--mid);
}
.service-panel-bg {
  position: absolute; inset: 0;
  background: var(--charcoal);
  overflow: hidden;
}
.service-panel-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.08;
  filter: grayscale(1) contrast(1.2);
  transform: scale(1.05);
  transition: transform 8s ease;
}
.service-panel:hover .service-panel-bg img { transform: scale(1.12); }
.service-panel-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    120deg,
    rgba(8,8,8,0.96) 0%,
    rgba(8,8,8,0.7) 55%,
    rgba(8,8,8,0.3) 100%
  );
}
.service-panel-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  padding: 8rem 4vw;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8rem; align-items: center;
}
.service-panel:nth-child(even) .service-panel-content {
  direction: rtl;
}
.service-panel:nth-child(even) .service-panel-text { direction: ltr; }
.service-panel:nth-child(even) .service-panel-cards { direction: ltr; }

.service-panel-num {
  font-family: var(--font-display);
  font-size: clamp(8rem, 15vw, 15rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.06);
  position: absolute;
  right: 3vw; top: 50%; transform: translateY(-50%);
  line-height: 1;
  pointer-events: none; user-select: none;
}
.service-panel:nth-child(even) .service-panel-num { left: 3vw; right: auto; }

.service-panel-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 7rem);
  color: var(--white);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 0.8rem;
}
.service-panel-tagline {
  font-size: 1rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 2rem;
}
.service-panel-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 440px;
  margin-bottom: 2.5rem;
}
.service-panel-features {
  display: flex; flex-direction: column; gap: 0.6rem;
  margin-bottom: 2.5rem;
}
.spf-item {
  display: flex; align-items: center; gap: 0.8rem;
  font-size: 0.85rem;
  color: var(--light);
}
.spf-item::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--gold); flex-shrink: 0;
}

.service-panel-cards {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--mid);
}
.spc-card {
  background: var(--charcoal);
  padding: 2rem 1.5rem;
  transition: background 0.3s;
}
.spc-card:hover { background: rgba(232,200,74,0.06); }
.spc-card i {
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}
.spc-card h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}
.spc-card p { font-size: 0.8rem; color: var(--muted); line-height: 1.6; }

@media (max-width: 900px) {
  .service-panel-content { grid-template-columns: 1fr; gap: 3rem; direction: ltr !important; }
  .service-panel:nth-child(even) .service-panel-content { direction: ltr; }
  .service-panel-num { display: none; }
}

/* ═══════════════════════════════════════════════
   PORTFOLIO PAGE — CASE STUDY
═══════════════════════════════════════════════ */
.portfolio-cases {
  background: var(--black);
}
.case-study {
  min-height: 360px;
  display: grid; grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--mid);
  overflow: hidden;
}
.case-study:nth-child(even) { direction: rtl; }
.case-study:nth-child(even) .case-info { direction: ltr; }
.case-study:nth-child(even) .case-img-wrap { direction: ltr; }

.case-img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
  height: 360px;
}
.case-img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.05);
  transform: scale(1.04);
  transition: transform 0.8s var(--ease-out), filter 0.5s;
}
.case-study:hover .case-img {
  transform: scale(1.0);
  filter: grayscale(0) contrast(1.05);
}
/* clip reveal on scroll */
.case-img-wrap .clip-reveal { clip-path: inset(0 100% 0 0); }
.case-img-wrap .clip-reveal.visible { clip-path: inset(0 0% 0 0); }

.case-view-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8,8,8,0.4);
  opacity: 0;
  transition: opacity 0.3s;
}
.case-study:hover .case-view-overlay { opacity: 1; }
.case-view-btn {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
}
.case-view-btn:hover { background: rgba(232,200,74,0.15); transform: scale(1.08); }

.case-info {
  padding: 2.5rem 3vw;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--black);
  position: relative;
}
.case-num {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.case-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 4rem);
  color: var(--white);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}
.case-cat {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 1.5rem;
}
.case-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 380px;
  margin-bottom: 3rem;
}
.case-meta {
  display: flex; gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--mid);
  margin-bottom: 2.5rem;
}
.case-meta-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dim);
  display: block;
  margin-bottom: 0.3rem;
}
.case-meta-val {
  font-size: 0.88rem;
  color: var(--light);
  font-weight: 600;
}
.case-link {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(232,200,74,0.3);
  padding-bottom: 0.3rem;
  transition: gap 0.2s, border-color 0.2s;
}
.case-link:hover { gap: 1rem; border-color: var(--gold); }

@media (max-width: 860px) {
  .case-study {
    grid-template-columns: 1fr;
    direction: ltr !important;
  }
  .case-img-wrap { aspect-ratio: 16/9; min-height: 220px; height: auto; }
  .case-info { padding: 2.5rem 6vw; }
  .case-desc { max-width: none; }
  .case-meta { gap: 1.5rem; flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .case-img-wrap { aspect-ratio: 4/3; min-height: 200px; }
  .case-info { padding: 2rem 6vw; }
  .case-meta { gap: 1.25rem 2rem; }
  .case-meta-item { min-width: 40%; }
  .portfolio-filter-bar {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    padding: 2rem 4vw 0;
  }
  .pf-btn { padding: 0.85rem 1.25rem; white-space: nowrap; flex-shrink: 0; }
}

/* portfolio CTA strip */
.portfolio-cta-strip {
  background: var(--charcoal);
  padding: 5rem 4vw;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 2rem;
  border-top: 1px solid var(--mid);
}
.portfolio-cta-strip p {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3.5rem);
  color: var(--white);
}
.portfolio-cta-strip p em { color: var(--gold); font-style: normal; }

/* ═══════════════════════════════════════════════
   CAREERS PAGE
═══════════════════════════════════════════════ */
.careers-section {
  background: var(--black);
  padding: 8rem 4vw;
}
.careers-inner {
  max-width: 860px;
  margin: 0 auto;
}
.careers-intro {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 5rem;
  max-width: 580px;
}

/* Job listing row */
.careers-list {
  border-top: 1px solid var(--mid);
}
.career-row {
  display: flex; align-items: center;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--mid);
  cursor: none;
  transition: background 0.2s;
  position: relative;
}
.career-row:hover { padding-left: 1.5rem; }
.career-row::before {
  content: '';
  position: absolute; left: 0; top: 0;
  width: 0; height: 100%;
  background: rgba(232,200,74,0.04);
  transition: width 0.4s var(--ease-out);
}
.career-row:hover::before { width: 100%; }
.career-row-left { flex: 1; min-width: 0; }
.career-row-type {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 0.4rem;
}
.career-row-type::before {
  content: '';
  width: 14px; height: 1px; background: var(--gold);
}
.career-row-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1;
  transition: color 0.2s;
}
.career-row:hover .career-row-title { color: var(--ivory); }
.career-tags {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  margin-top: 0.8rem;
}
.career-tags span {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: var(--dim);
  border: 1px solid var(--mid);
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
}
.career-row-right {
  display: flex; align-items: center; gap: 1.5rem; flex-shrink: 0;
}
.career-badge {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--mid);
  padding: 0.3rem 0.7rem;
  border-radius: 2px;
  white-space: nowrap;
}
.career-apply-arrow {
  width: 44px; height: 44px;
  border: 1px solid var(--mid);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 0.8rem;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.career-row:hover .career-apply-arrow {
  border-color: var(--gold);
  color: var(--gold);
  transform: translate(4px, -4px);
}

.careers-cta-row {
  padding-top: 4rem;
  text-align: center;
}
.careers-cta-row p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* ═══════════════════════════════════════════════
   ABOUT / WHY-US pages (light refresh)
═══════════════════════════════════════════════ */
.about-section, .whyus-section {
  padding: 8rem 4vw;
  background: var(--black);
  position: relative;
}
.about-grid {
  max-width: 1200px; margin: 0 auto;
}
.about-left .section-title { margin-bottom: 3rem; }
.about-content-wrap {
  display: grid;
  grid-template-columns: 450px 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.about-img-wrap {
  position: relative;
}
.about-img {
  width: 100%;
  max-width: 470px;
  max-height: 330px;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  filter: grayscale(0.2);
}
.about-badge {
  position: absolute;
  bottom: 20px;
  right: -20px;
  background: var(--gold);
  color: var(--black);
  padding: 1rem 1.2rem;
  text-align: center;
  font-family: var(--font-display);
  line-height: 1.2;
}
.badge-year { font-size: 0.6rem; letter-spacing: 0.1em; }
.badge-num { font-size: 1.4rem; }
.badge-loc { font-size: 0.55rem; letter-spacing: 0.08em; }
.about-desc {
  font-size: 1.3rem;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 1.2rem;
}
.about-highlights {
  display: flex; gap: 2.5rem; flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.highlight-item {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--light);
}
.highlight-item i { color: var(--gold); }

/* watermark (old compat) */
.watermark-section { position: relative; }
.section-watermark {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; overflow: hidden; z-index: 0;
}
.section-watermark img {
  width: min(500px, 60vw);
  opacity: 0.025;
  filter: brightness(0) invert(1);
}

/* Why-us cards */
.whyus-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--mid);
  margin-top: 4rem;
}
.whyus-card {
  background: var(--charcoal);
  padding: 2.5rem;
  transition: background 0.3s;
  position: relative; overflow: hidden;
}
.whyus-card:hover { background: rgba(232,200,74,0.05); }
.whyus-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.4s var(--ease-out);
}
.whyus-card:hover::after { width: 100%; }
.wc-icon { font-size: 1.8rem; color: var(--gold); margin-bottom: 1.2rem; }
.wc-title { font-family: var(--font-display); font-size: 1.5rem; color: var(--white); margin-bottom: 0.7rem; letter-spacing: 0.04em; }
.wc-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.7; }

@media (max-width: 700px) {

  .about-content-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-img {
    max-width: 100%;
  }

  .about-badge {
    right: 10px;
    bottom: 10px;
  }

  .about-highlights {
    gap: 1rem;
  }

}

/* ═══════════════════════════════════════════════
   CONNECT PAGE
═══════════════════════════════════════════════ */
.connect-section { padding: 8rem 4vw; background: var(--black); }
.connect-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem;
}
@media (max-width: 780px) { .connect-grid { grid-template-columns: 1fr; } }
.connect-info h2 { font-family: var(--font-display); font-size: clamp(3rem,6vw,5rem); color: var(--white); margin-bottom: 2rem; line-height: 0.95; }
.connect-info p { font-size: 0.95rem; color: var(--muted); line-height: 1.8; margin-bottom: 2rem; }
.connect-detail {
  display: flex; align-items: flex-start; gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.88rem; color: var(--light);
}
.connect-detail i { color: var(--gold); margin-top: 0.15rem; }
.connect-detail a { color: var(--light); transition: color 0.2s; }
.connect-detail a:hover { color: var(--gold); }

.connect-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--charcoal);
  border: 1px solid var(--mid);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.85rem 1rem;
  outline: none;
  border-radius: 2px;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--gold); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group select option { background: var(--charcoal); }

/* ─────────────────────────────────────────
   FORM SUCCESS MESSAGE
───────────────────────────────────────── */
.form-success {
  display: none; /* show via JS after submit */
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(
    180deg,
    rgba(233,255,38,0.04),
    rgba(233,255,38,0.01)
  );
  border: 1px solid rgba(233,255,38,0.15);
  border-radius: 20px;
  margin-top: 2rem;
  animation: successFade 0.5s ease forwards;
    box-shadow:
    0 0 0 1px rgba(233,255,38,0.08),
    0 0 40px rgba(233,255,38,0.05);
}

.form-success i {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
  filter: drop-shadow(0 0 12px rgba(233,255,38,0.35));
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.form-success p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 420px;
  margin: 0 auto;
}

@keyframes successFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══════════════════════════════════════════════
   PORTFOLIO COLLAGE — Home featured section
═══════════════════════════════════════════════ */
.collage-section {
  padding: 10rem 4vw;
  background: var(--black);
  overflow: hidden;
}
.collage-header {
  max-width: 1200px; margin: 0 auto 5rem;
}
.collage-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 210px 250px 300px;   /* ADD ONE MORE ROW */
  gap: 6px;
}
.collage-cell {
  position: relative; overflow: hidden;
  background: var(--charcoal);
  cursor: none;
}
.collage-cell:nth-child(1) { grid-row: 1 / 3; }   /* tall left */
.collage-cell:nth-child(4) { grid-column: 2 / 4; } /* wide bottom-right */
/* Bottom left */
.collage-cell:nth-child(5) {
  grid-column: 1;
  grid-row: 3;
}

/* Bottom right */
.collage-cell:nth-child(6) {
  grid-column: 2 / 4;
  grid-row: 3;
}
.collage-img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.5) contrast(1.1);
  transform: scale(1.06);
  transition: transform 0.9s var(--ease-out), filter 0.5s;
}
.collage-cell:hover .collage-img {
  transform: scale(1.0);
  filter: grayscale(0) contrast(1.05);
}
.collage-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(8,8,8,0.88) 0%,
    rgba(8,8,8,0.15) 55%,
    transparent 100%
  );
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.6rem;
  opacity: 0;
  transition: opacity 0.4s;
}
.collage-cell:hover .collage-overlay { opacity: 1; }
.collage-cat {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  transform: translateY(8px);
  transition: transform 0.4s var(--ease-out);
}
.collage-cell:hover .collage-cat { transform: translateY(0); }
.collage-name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1;
  transform: translateY(10px);
  transition: transform 0.4s var(--ease-out) 0.04s;
}
.collage-cell:hover .collage-name { transform: translateY(0); }
.collage-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.5rem;
  transform: translateY(10px); opacity: 0;
  transition: transform 0.4s var(--ease-out) 0.08s, opacity 0.4s 0.08s;
}
.collage-cell:hover .collage-link { transform: translateY(0); opacity: 1; }

/* index num badge */
.collage-idx {
  position: absolute; top: 1rem; left: 1rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.35);
  background: rgba(8,8,8,0.55);
  backdrop-filter: blur(6px);
  padding: 0.25rem 0.5rem;
  border-radius: 2px;
  transition: color 0.3s;
}
.collage-cell:hover .collage-idx { color: var(--gold); }

@media (max-width: 860px) {
  .collage-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px 220px;
  }
  .collage-cell:nth-child(1) { grid-row: auto; }
  .collage-cell:nth-child(4) { grid-column: auto; }
}
@media (max-width: 560px) {
  .collage-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .collage-cell { aspect-ratio: 16/9; }
}

/* ═══════════════════════════════════════════════
   CIRCULAR ARC MENU — Services page
═══════════════════════════════════════════════ */
.arc-services-section {
  background: var(--black);
  padding: 0;
  min-height: 100vh;
  display: flex; flex-direction: column;
}

/* Full-screen arc layout */
.arc-container {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  padding: 0;
}

/* LEFT: arc wheel */
.arc-wheel-wrap{
    position: relative;
    width: 310px;
    height: 620px;
    overflow: visible;
    margin-left: 0;
}
.arc-wheel-ring,
.arc-wheel-bg{
    width: 620px;
    height: 620px;
    left: -310px;
}
.arc-wheel-ring:nth-child(1) { inset: -30px; }
.arc-wheel-ring:nth-child(2) { inset: -60px; }

/* Arc slices via SVG */
.arc-svg{
  width: 620px;
  height: 620px;
  position: absolute;
  left: -160px;
  top: 0;
}
.arc-slice {
  cursor: none;
  transition: opacity 0.3s;
}
.arc-slice path {
  fill: var(--charcoal);
  stroke: var(--black);
  stroke-width: 3;
  transition: fill 0.35s;
}
.arc-slice:hover path,
.arc-slice.active path {
  fill: var(--gold);
}
.arc-slice-label{
  fill: var(--muted);
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-anchor: middle;
  dominant-baseline: middle;
}
.arc-slice:hover .arc-slice-label,
.arc-slice.active .arc-slice-label {
  fill: var(--black);
}

.arc-slice,
.arc-slice *{
  outline:none !important;
}

.arc-slice:focus,
.arc-slice:focus-visible{
  outline:none !important;
}
.arc-connector{
  left: 470px;
}
/* Center circle */
.arc-center-circle{
  position: absolute;
  top: 50%;
  left: 49%;

  transform: translate(-50%, -50%);

  width: 140px;
  height: 140px;
  border-radius: 50%;

  background: var(--black);
  border: 1px solid var(--mid);

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  z-index: 10;
}
.arc-center-icon {
  font-size: 1.7rem;
  color: var(--gold);
  transition: transform 0.4s var(--ease-out);
}
.arc-center-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--dim);
}

/* RIGHT: panel content */
.arc-panel-wrap {
  flex: 1;
  padding: 6rem 6vw 6rem 10rem;
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
}
.arc-panel {
  display: none;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  max-width: 580px;
}
.arc-panel.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

/* Animated entrance on .entering class */
.arc-panel.entering {
  display: block;
  animation: arc-panel-in 0.55s var(--ease-out) forwards;
}
@keyframes arc-panel-in {
  from { opacity: 0; transform: translateX(48px) skewX(-2deg); }
  to   { opacity: 1; transform: translateX(0)  skewX(0deg); }
}

.arc-panel-num {
  font-family: var(--font-display);
  font-size: clamp(7rem, 12vw, 12rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(247, 237, 237, 0.979);
  line-height: 0.85;
  position: absolute;
  right: -180px; opacity: 0.25; top: 40%;
  transform: translateY(-50%);
  pointer-events: none; user-select: none;
}
.arc-panel-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.arc-panel-label::before {
  content: ''; width: 24px; height: 1px; background: var(--gold);
}
.arc-panel-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  color: var(--white);
  line-height: 0.95;
  margin-bottom: 0.8rem;
}
.arc-panel-tagline {
  font-size: 1rem; color: var(--muted);
  font-style: italic; margin-bottom: 1.8rem;
}
.arc-panel-desc {
  font-size: 0.95rem; color: var(--muted);
  line-height: 1.85; max-width: 440px;
  margin-bottom: 2rem;
}
.arc-panel-features {
  display: flex; flex-direction: column; gap: 0.55rem;
  margin-bottom: 2.5rem;
}
.arc-panel-features li {
  display: flex; align-items: center; gap: 0.8rem;
  font-size: 0.85rem; color: var(--light);
  animation: feature-slide 0.4s var(--ease-out) both;
}
.arc-panel-features li:nth-child(1) { animation-delay: 0.1s; }
.arc-panel-features li:nth-child(2) { animation-delay: 0.17s; }
.arc-panel-features li:nth-child(3) { animation-delay: 0.24s; }
.arc-panel-features li:nth-child(4) { animation-delay: 0.31s; }
@keyframes feature-slide {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: translateX(0); }
}
.arc-panel-features li::before {
  content: ''; width: 20px; height: 1px; background: var(--gold); flex-shrink: 0;
}
.arc-panel-sub-cards {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px; background: var(--mid);
  margin-bottom: 2rem;
}
.arc-sub-card {
  background: var(--charcoal);
  padding: 2rem 1rem;
  transition: background 0.3s;
}
.arc-sub-card:hover { background: rgba(233,255,38,0.05); }
.arc-sub-card i { color: var(--gold); margin-bottom: 0.5rem; display: block; }
.arc-sub-card h5 {
  font-family: var(--font-display); font-size: 2rem;
  color: var(--white); margin-bottom: 0.3rem;
  letter-spacing: 0.04em;
}
.arc-sub-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.5; }

/* connector line from wheel to panel */
.arc-connector {
  position: absolute; top: 50%; left: 520px;
  width: 5vw; height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.arc-container:has(.arc-slice.active) .arc-connector { opacity: 1; }

/* Mobile: stack vertically */
@media (max-width: 860px) {
  .arc-container { flex-direction: column; align-items: center; padding: 4rem 4vw; }
  .arc-wheel-wrap { width: 300px; height: 300px; margin: 0 auto; }
  .arc-panel-wrap { padding: 3rem 0; min-height: auto; }
  .arc-panel-num { display: none; }
}

/* ═══════════════════════════════════════════════
   WHY-US — Fixed layout
═══════════════════════════════════════════════ */
.whyus-section {
  padding: 8rem 4vw;
  background: var(--black);
  position: relative;
}
.whyus-inner {
  max-width: 1200px; margin: 0 auto;
}
.whyus-grid {
  max-width: 1200px; margin: 4rem auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--mid);
}
.whyus-card {
  background: var(--charcoal);
  padding: 3rem;
  transition: background 0.3s;
  position: relative; overflow: hidden;
}
.whyus-card:hover { background: rgba(233,255,38,0.05); }
.whyus-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.5s var(--ease-out);
}
.whyus-card:hover::after { width: 100%; }
.wc-icon {
  font-size: 1.8rem; color: var(--gold);
  margin-bottom: 1.2rem;
  display: inline-block;
  transition: transform 0.4s var(--ease-out);
}
.whyus-card:hover .wc-icon { transform: scale(1.2) rotate(-5deg); }
.wc-title {
  font-family: var(--font-display);
  font-size: 2rem; color: var(--white);
  margin-bottom: 0.7rem; letter-spacing: 0.04em;
}
.wc-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.75; }

/* Step-reveal animation */
.whyus-step-card {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.whyus-step-card.visible { opacity: 1; transform: translateY(0); }
.whyus-step-card[data-step="0"] { transition-delay: 0.05s; }
.whyus-step-card[data-step="1"] { transition-delay: 0.15s; }
.whyus-step-card[data-step="2"] { transition-delay: 0.25s; }
.whyus-step-card[data-step="3"] { transition-delay: 0.35s; }

/* extra strip */
.whyus-extra-strip {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--mid);
  gap: 0;
}
.we-item {
  flex: 1; text-align: center;
  padding: 1rem;
}
.we-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.we-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dim);
}
.we-divider { width: 1px; height: 60px; background: var(--mid); flex-shrink: 0; }
.whyus-cta {
  max-width: 1200px; margin: 0 auto;
  padding: 5rem 0 0;
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 2rem;
}
.whyus-cta p {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3.5rem);
  color: var(--white);
}
.whyus-cta-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 700px) {
  .whyus-grid { grid-template-columns: 1fr; }
  .whyus-extra-strip { flex-wrap: wrap; gap: 1rem; }
  .we-divider { display: none; }
}

/* ═══════════════════════════════════════════════
   PORTFOLIO FILTER TABS
═══════════════════════════════════════════════ */
.portfolio-filter-bar {
  max-width: 1200px; margin: 0 auto;
  padding: 3rem 4vw 0;
  display: flex; align-items: center; gap: 0;
  border-bottom: 1px solid var(--mid);
}
.pf-btn {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 1rem 2rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  cursor: none;
  background: none;
  border-top: none; border-left: none; border-right: none;
}
.pf-btn:hover { color: var(--ivory); }
.pf-btn.active { color: var(--gold); border-bottom-color: var(--gold); }

/* Hide filtered items */
.case-study { transition: opacity 0.4s, transform 0.4s; }
.case-study.filtered-out {
  opacity: 0; pointer-events: none;
  transform: scale(0.97);
  height: 0; overflow: hidden;
  transition: opacity 0.3s, transform 0.3s, height 0.4s;
  display: none;
}

/* ═══════════════════════════════════════════════
   EXTRA GLOBAL ANIMATIONS & TRANSITIONS
═══════════════════════════════════════════════ */

/* Glitch text hover effect for big headings */
.glitch-hover {
  position: relative; display: inline-block;
}
.glitch-hover::before,
.glitch-hover::after {
  content: attr(data-text);
  position: absolute; top: 0; left: 0;
  color: var(--gold);
  font-family: inherit; font-size: inherit;
  font-weight: inherit; letter-spacing: inherit;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.4s var(--ease-out);
}
.glitch-hover:hover::before { clip-path: inset(0 0% 0 0); opacity: 0.15; transform: translate(-2px, 1px); }
.glitch-hover:hover::after  { clip-path: inset(0 0% 0 0); opacity: 0.1;  transform: translate(2px, -1px); }

/* Shimmer loading bar on sections */
.shimmer-line {
  width: 0; height: 1px; background: var(--gold);
  transition: width 1.2s var(--ease-out);
}
.shimmer-line.visible { width: 100%; }

/* Floating dots background pattern */
.dots-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(233,255,38,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 0;
}

/* Page transition overlay */
#page-transition {
  position: fixed; inset: 0;
  background: var(--black);
  z-index: 9990;
  transform: translateY(-100%);
  pointer-events: none;
}
#page-transition.out {
  transform: translateY(0);
  transition: transform 0.4s var(--ease-in);
  pointer-events: all;
}
#page-transition.in {
  transform: translateY(-100%);
  transition: transform 0.4s var(--ease-out);
}

/* Gold line draw animation on section titles */
.title-underline {
  display: block; width: 0; height: 2px;
  background: var(--gold);
  margin-top: 0.6rem;
  transition: width 1s var(--ease-out) 0.3s;
}
.reveal.visible .title-underline,
.reveal-left.visible .title-underline { width: 60px; }

/* Stagger list items */
.stagger-list li {
  opacity: 0; transform: translateX(-20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.stagger-list.visible li:nth-child(1) { opacity:1; transform:none; transition-delay:0.05s; }
.stagger-list.visible li:nth-child(2) { opacity:1; transform:none; transition-delay:0.12s; }
.stagger-list.visible li:nth-child(3) { opacity:1; transform:none; transition-delay:0.19s; }
.stagger-list.visible li:nth-child(4) { opacity:1; transform:none; transition-delay:0.26s; }
.stagger-list.visible li:nth-child(5) { opacity:1; transform:none; transition-delay:0.33s; }
.stagger-list.visible li:nth-child(6) { opacity:1; transform:none; transition-delay:0.40s; }

/* Gold glow pulse on CTA buttons */
.btn-primary {
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute; top: 50%; left: -60%;
  width: 40%; height: 200%;
  background: rgba(255,255,255,0.18);
  transform: translateY(-50%) skewX(-18deg);
  transition: left 0.5s var(--ease-out);
}
.btn-primary:hover::before { left: 120%; }

/* Section number counter animation */
.section-label .label-num {
  display: inline-block;
  animation: num-pop 0.6s var(--ease-out) both;
}
@keyframes num-pop {
  from { opacity: 0; transform: scale(0.5) rotate(-10deg); }
  to   { opacity: 1; transform: scale(1) rotate(0deg); }
}

/* Parallax scroll hint arrows */
.scroll-hint {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--dim);
  animation: bounce-x 1.5s ease-in-out infinite;
}
@keyframes bounce-x {
  0%,100% { transform: translateX(0); }
  50%      { transform: translateX(6px); }
}

/* Neon glow on gold elements */
.gold-glow {
  text-shadow: 0 0 20px rgba(233,255,38,0.35), 0 0 60px rgba(233,255,38,0.1);
}

/* Services bg text that scrolls */
.services-bg-text-scroll {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
}
.services-bg-text-scroll span {
  position: absolute; top: 50%; left: 0;
  font-family: var(--font-display);
  font-size: 22vw; white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.03);
  transform: translateY(-50%);
  will-change: transform;
}

/* Border trace animation on cards */
@keyframes border-trace {
  0%   { clip-path: inset(0 100% 100% 0); }
  25%  { clip-path: inset(0 0 100% 0); }
  50%  { clip-path: inset(0 0 0 0); }
  100% { clip-path: inset(0 0 0 0); }
}
.border-trace-card {
  position: relative;
}
.border-trace-card::before {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid var(--gold);
  opacity: 0;
  transition: opacity 0.3s;
}
.border-trace-card:hover::before {
  opacity: 1;
  animation: border-trace 0.5s var(--ease-out) forwards;
}

/* ─────────────────────────────────────────
   MAP SECTION
───────────────────────────────────────── */
.map-wrap {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  margin-top: 2rem;
  border-top: 1px solid var(--mid);
  border-bottom: 1px solid var(--mid);
  background: var(--charcoal);
  box-shadow:
  0 0 0 1px rgba(233,255,38,0.08),
  0 0 50px rgba(233,255,38,0.04);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(0.92) contrast(1.1) brightness(0.9);
  transition: filter 0.4s ease;
}

.map-wrap:hover iframe {
  filter: grayscale(0.8) invert(0.88) contrast(1.15) brightness(1);
}

/* Optional overlay tint */
.map-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15);
  pointer-events: none;
}

/* Mobile */
@media (max-width: 860px) {
  .map-wrap {
    height: 350px;
  }
}

/* ─────────────────────────────────────────
   SOCIAL LINKS
───────────────────────────────────────── */
.connect-socials {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.connect-socials a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(233,255,38,0.15);
  background: var(--charcoal);

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--muted);
  font-size: 1rem;

  transition:
    transform 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

.connect-socials a:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(233,255,38,0.06);
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(233,255,38,0.12),
    0 0 20px rgba(233,255,38,0.15);
}

.connect-socials a i {
  transition: transform 0.3s ease;
}

.connect-socials a:hover i {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .connect-socials {
    justify-content: center;
  }

  .connect-socials a {
    width: 44px;
    height: 44px;
  }
}
.ci-icon {
  color: var(--gold);
  font-size: 1.25rem;
  min-width: 24px;
}
/* ═══════════════════════════════════════════════
   UI ENHANCEMENTS v8 — Visual Polish Layer
   Improves: spacing, shadows, transitions, glow,
   card depth, typography rhythm, subtle gradients
═══════════════════════════════════════════════ */

/* ── Refined token overrides ── */
:root {
  --gold:     #E8C84A;
  --gold-dim: #c9a828;
  --gold-pale:#fff0a0;
  --shadow-gold: 0 0 30px rgba(232,200,74,0.18), 0 0 80px rgba(232,200,74,0.06);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.45), 0 1px 4px rgba(0,0,0,0.3);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Scrollbar refinement ── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-thumb { background: linear-gradient(to bottom, var(--gold), var(--gold-dim)); border-radius: 3px; }

/* ── Navbar glass improvement ── */
#navbar.scrolled {
  background: rgba(8,8,8,0.88);
  backdrop-filter: blur(28px) saturate(1.6);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  border-bottom: 1px solid rgba(232,200,74,0.12);
  box-shadow: 0 1px 0 rgba(232,200,74,0.06), 0 8px 32px rgba(0,0,0,0.4);
}

/* ── Nav link underline glow ── */
.nav-link::after {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  box-shadow: 0 0 6px var(--gold);
}

/* ── Nav CTA button glow on hover ── */
.nav-cta:hover {
  box-shadow: 0 0 20px rgba(232,200,74,0.3), inset 0 0 12px rgba(232,200,74,0.08);
}

/* ── Preloader bar gradient ── */
.preloader-bar span {
  background: linear-gradient(to right, var(--gold-dim), var(--gold), var(--gold-pale));
}

/* ── Hero orb — richer glow ── */
.hero-bg-orb {
  background: radial-gradient(circle at 38% 38%,
    rgba(232,200,74,0.22) 0%,
    rgba(232,200,74,0.08) 40%,
    rgba(232,200,74,0.02) 65%,
    transparent 75%);
  filter: blur(2px);
}

/* ── Hero sub: slightly warmer ── */
.hero-sub { color: rgba(240,237,230,0.52); letter-spacing: 0.01em; }

/* ── Scroll progress bar gradient ── */
#scrollProgress {
  background: linear-gradient(to right, var(--gold-dim), var(--gold), var(--gold-pale));
  box-shadow: 0 0 8px rgba(232,200,74,0.5);
}

/* ── Ticker: hover glow ── */
.ticker span:hover {
  color: var(--gold);
  text-shadow: 0 0 16px rgba(232,200,74,0.4);
}
.ticker-sep {
  color: var(--gold) !important;
  text-shadow: 0 0 8px rgba(232,200,74,0.5) !important;
}

/* ── Section label line — gradient ── */
.section-label::before {
  background: linear-gradient(to right, var(--gold), transparent);
}

/* ── Story image: richer shadow ── */
.story-img {
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  filter: grayscale(0.1) contrast(1.08) brightness(0.97);
}
.story-img-wrap::after {
  content: '';
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(232,200,74,0.1);
  pointer-events: none;
}

/* ── HR accent glow ── */
.hr-accent {
  background: linear-gradient(to right, var(--gold), var(--gold-dim));
  box-shadow: 0 0 12px rgba(232,200,74,0.3);
  border-radius: 2px;
}

/* ── Service preview cards ── */
.sp-card {
  transition: background var(--transition-smooth), transform var(--transition-smooth);
}
.sp-card:hover {
  background: rgba(232,200,74,0.04);
  transform: translateY(-2px);
}
.sp-card:hover::after {
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.sp-card:hover .sp-icon {
  filter: drop-shadow(0 0 10px rgba(232,200,74,0.4));
  transform: scale(1.2) translateY(-2px);
}

/* ── Numbers section ── */
.num-card {
  transition: background var(--transition-smooth);
}
.num-card:hover { background: rgba(232,200,74,0.03); }
.num-big .suf { text-shadow: 0 0 16px rgba(232,200,74,0.35); }

/* ── Portfolio collage image ── */
.collage-img {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
  filter: grayscale(0.15) contrast(1.05);
}
.collage-cell:hover .collage-img {
  transform: scale(1.05);
  filter: grayscale(0) contrast(1.08) brightness(1.02);
}
.collage-overlay {
  background: linear-gradient(to top, rgba(8,8,8,0.95) 0%, rgba(8,8,8,0.5) 55%, transparent 100%);
}
.collage-idx {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  opacity: 0.7;
  text-shadow: 0 0 10px rgba(232,200,74,0.3);
}

/* ── Process step hover ── */
.step-title { transition: color var(--transition-smooth); }
.process-step:hover .step-title { color: var(--gold); }
.process-step:hover .step-num {
  background: rgba(232,200,74,0.1);
  box-shadow: 0 0 16px rgba(232,200,74,0.2);
}
.process-steps::before {
  background: linear-gradient(to right, transparent 0%, var(--mid) 15%, var(--mid) 85%, transparent 100%);
}

/* ── Home CTA: subtle gradient bg ── */
.home-cta-section {
  background: linear-gradient(165deg, var(--charcoal) 0%, #141414 50%, var(--charcoal) 100%);
}
.home-cta-title em { text-shadow: 0 0 40px rgba(232,200,74,0.25); }

/* ── Buttons: enhanced ── */
.btn-primary {
  box-shadow: 0 4px 20px rgba(232,200,74,0.2);
}
.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(232,200,74,0.35), 0 0 0 1px rgba(232,200,74,0.2);
  transform: translateY(-3px);
}
.btn-outline:hover {
  box-shadow: 0 0 20px rgba(232,200,74,0.1);
  transform: translateY(-3px);
}

/* ── Footer ── */
.footer {
  background: linear-gradient(180deg, #080808 0%, #060606 100%);
  border-top: 1px solid rgba(232,200,74,0.12);
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(232,200,74,0.2), transparent);
  pointer-events: none;
}

.footer-logo {
  transition: opacity var(--transition-smooth);
  opacity: 0.85;
}
.footer-logo:hover { opacity: 1; }

.footer-socials a {
  border-radius: 4px;
  transition: border-color 0.25s, color 0.25s, background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.footer-socials a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(232,200,74,0.08);
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(232,200,74,0.2);
}

/* ── Footer column headings: gold underline ── */
.footer-links h4, .footer-contact h4 {
  position: relative;
  padding-bottom: 0.75rem;
}
.footer-links h4::after, .footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 24px; height: 1px;
  background: var(--gold);
  box-shadow: 0 0 6px rgba(232,200,74,0.4);
}

/* ── Footer links: subtle left-shift hover ── */
.footer-links a {
  transition: color 0.2s, padding-left 0.2s;
}
.footer-links a:hover {
  color: var(--ivory);
  padding-left: 5px;
}

/* ── Footer bottom ── */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding-top: 1.5rem;
}
.footer-bottom a:hover {
  color: var(--gold-pale);
  text-shadow: 0 0 12px rgba(232,200,74,0.4);
}

/* ── Footer CTA glow ── */
.footer-cta:hover { box-shadow: 0 4px 16px rgba(232,200,74,0.2); }

/* ── Back to top button ── */
.back-to-top:hover {
  background: rgba(232,200,74,0.1);
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 20px rgba(232,200,74,0.25);
  transform: translateY(-3px);
}

/* ── Why-us cards ── */
.whyus-card {
  transition: background var(--transition-smooth), transform var(--transition-smooth), box-shadow var(--transition-smooth);
}
.whyus-card:hover {
  background: rgba(232,200,74,0.04);
  transform: translateY(-2px);
  box-shadow: 0 4px 32px rgba(232,200,74,0.06);
}
.whyus-card:hover .wc-icon {
  filter: drop-shadow(0 0 10px rgba(232,200,74,0.45));
}
.whyus-card::after {
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

/* ── Portfolio filter active ── */
.pf-btn.active {
  text-shadow: 0 0 12px rgba(232,200,74,0.3);
}

/* ── Gold glow helper ── */
.gold-glow {
  text-shadow:
    0 0 20px rgba(232,200,74,0.45),
    0 0 60px rgba(232,200,74,0.15),
    0 0 100px rgba(232,200,74,0.06);
}

/* ── Connect socials ── */
.connect-socials a:hover {
  box-shadow: 0 0 0 1px rgba(232,200,74,0.15), 0 0 24px rgba(232,200,74,0.18);
  transform: translateY(-4px) scale(1.05);
}

/* ── Dots bg refinement ── */
.dots-bg {
  background-image: radial-gradient(rgba(232,200,74,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ── Title underline gradient ── */
.title-underline {
  background: linear-gradient(to right, var(--gold), var(--gold-dim), transparent);
  border-radius: 2px;
}

/* ── Map wrap ── */
.map-wrap {
  box-shadow: 0 0 0 1px rgba(232,200,74,0.1), 0 0 60px rgba(232,200,74,0.04);
}

/* ── Horizontal scroll cards ── */
.hscroll-card:hover {
  border-color: rgba(232,200,74,0.4);
  box-shadow: 0 8px 40px rgba(232,200,74,0.1), 0 2px 8px rgba(0,0,0,0.5);
}

/* ── Arc sub-cards ── */
.arc-sub-card:hover {
  background: rgba(232,200,74,0.06);
  box-shadow: inset 0 0 0 1px rgba(232,200,74,0.12);
}

/* ── Accessibility focus ring ── */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
/* ═══════════════════════════════════════════════
   IMPROVEMENTS v9 — June 2025
   Fixes: hero 4-line animation, collage overlay
   always visible on mobile, reduced motion,
   hero stats spacing, section contrast polish,
   process step connecting line fill, mobile nav
   close on link click, footer WhatsApp link.
═══════════════════════════════════════════════ */

/* ── Reduced motion: respect OS preference ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .ticker { animation: none; }
  .hero-title-line,
  .hero-tag,
  .hero-sub,
  .hero-actions,
  .hero-stats,
  .scroll-cue {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ── Hero: fix sub-text margin for 4-line title ── */
.hero-title {
  margin-top: 7rem;
}

/* ── Hero sub and actions: bump animation delay to allow 4 lines ── */
.hero-sub {
  animation-delay: 1.35s;
}
.hero-actions {
  animation-delay: 1.5s;
}
.hero-stats {
  animation-delay: 1.65s;
}
.scroll-cue {
  animation-delay: 2s;
}

/* ── Hero title: ensure the inline gold style on "DIGITAL" 
      stays gold even if any CSS override tries to change it ── */
.hero-title-line[style*="color:var(--gold)"],
.hero-title-line[style*="color: var(--gold)"] {
  color: var(--gold) !important;
  text-shadow: 0 0 40px rgba(232,200,74,0.25), 0 0 80px rgba(232,200,74,0.1);
}

/* ── Collage: show overlay info always on touch devices ── */
@media (hover: none) {
  .collage-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(8,8,8,0.92) 0%, rgba(8,8,8,0.3) 50%, transparent 100%);
  }
  .collage-cat,
  .collage-name { transform: translateY(0); }
  .collage-link { transform: translateY(0); opacity: 1; }
}

/* ── Process steps: animated connector line fill on scroll ── */
.process-steps {
  --line-fill: 0%;
}
.process-steps::before {
  width: 0;
  width: var(--line-fill, 0%);
  transition: width 1.6s cubic-bezier(0.16, 1, 0.3, 1);
  background: linear-gradient(to right, var(--gold), var(--gold-dim), var(--mid));
}
.process-section.in-view .process-steps::before {
  width: 100%;
}

/* ── Process step active: gold dot indicator ── */
.process-step.active .step-num::after,
.process-step:hover .step-num::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 0 0 2px rgba(232,200,74,0.2);
}
.step-num { position: relative; }

/* ── Services preview: stagger the card border-bottom line ── */
.sp-card:nth-child(1)::after { transition-delay: 0s; }
.sp-card:nth-child(2)::after { transition-delay: 0.05s; }
.sp-card:nth-child(3)::after { transition-delay: 0.1s; }
.sp-card:nth-child(4)::after { transition-delay: 0s; }
.sp-card:nth-child(5)::after { transition-delay: 0.05s; }
.sp-card:nth-child(6)::after { transition-delay: 0.1s; }

/* ── Numbers section: left border gold on hover ── */
.num-card {
  border-left: 2px solid transparent;
  transition: background var(--transition-smooth), border-left-color 0.3s;
}
.num-card:hover {
  border-left-color: var(--gold);
}
.num-card:first-child {
  border-left: none;
}

/* ── Story section: slight depth improvement ── */
.story-section {
  background: linear-gradient(180deg, var(--black) 0%, #0e0e0e 100%);
}

/* ── Home CTA title: italic em gets font styling ── */
.home-cta-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 9rem);
  line-height: 0.94;
  color: var(--white);
}
.home-cta-title em {
  font-style: normal;
  color: var(--gold);
  display: block;
}

/* ── Footer: add WhatsApp social icon ── */
.footer-contact .wa-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-contact .wa-link:hover {
  color: #25d366;
}

/* ── Collage section: gap improvement ── */
.collage-grid {
  gap: 4px;
}

/* ── Portfolio filter: smoother filtered-out state ── */
.case-study.filtered-out {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
}
.case-study {
  transition: opacity 0.4s var(--ease-smooth), transform 0.4s var(--ease-smooth);
}

/* ── Navbar brand name: responsive ── */
@media (max-width: 420px) {
  .nav-brand-name {
    display: none;
  }
}

/* ── Mobile: improve touch targets for hamburger ── */
@media (max-width: 900px) {
  .hamburger {
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
  }
}

/* ── Page banner: slightly less padding on mobile ── */
@media (max-width: 560px) {
  .page-banner {
    padding: 6rem 6vw 4rem;
  }
  .page-banner-title {
    font-size: clamp(2.8rem, 12vw, 5rem);
  }
}

/* ── Hero: better mobile layout ── */
@media (max-width: 560px) {
  .hero-title {
    margin-top: 5rem;
    font-size: clamp(3rem, 16vw, 8rem);
  }
  .hero-stats {
    gap: 1.5rem;
  }
  .stat-divider {
    height: 35px;
  }
}

/* ── Ticker: ensure it scrolls properly ── */
.ticker {
  display: inline-flex;
  align-items: center;
}

/* ── Section label: consistent spacing on all pages ── */
.page-banner .section-label {
  margin-bottom: 1rem;
}

/* ── Back to top: ensure visible on mobile too ── */
.back-to-top {
  z-index: 990;
}

/* ── Connect form: textarea height on mobile ── */
@media (max-width: 600px) {
  #message {
    min-height: 120px;
  }
}

/* ── Collage section: fix 5th/6th cell on tablet ── */
@media (max-width: 860px) and (min-width: 561px) {
  .collage-cell:nth-child(5),
  .collage-cell:nth-child(6) {
    grid-column: auto;
    grid-row: auto;
  }
}

/* ── Preconnect to cybercreative.in removed — 
      all logos now loaded via external URL; 
      no preconnect needed as it's cross-origin ── */

/* ── SEO: ensure main headings have clear hierarchy colour ── */
.page-banner-title {
  color: var(--white);
}
.page-banner-title .yellow-text {
  color: var(--gold);
}
