/* ==========================================================================
   MOHAMMED BAOBEED - ART DIRECTOR & BRAND IDENTITY DESIGNER
   OFFICIAL EDITORIAL STYLESHEET (STRICT IDENTITY COMPLIANCE)
   TYPOGRAPHY: ITF WATHIQ THULUTH (واثق ثلث)
   PALETTE: ARCHITECTURAL MONOCHROME & EDITORIAL CONCRETE
   ========================================================================== */

/* 1. EMBEDDED LOCAL FONTS (ITF WATHIQ THULUTH) */
@font-face {
  font-family: 'Wathiq Thuluth';
  src: url('assets/fonts/WathiqThuluth-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Wathiq Thuluth';
  src: url('assets/fonts/WathiqThuluth-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Wathiq Thuluth';
  src: url('assets/fonts/WathiqThuluth-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* 2. IDENTITY COLOR TOKENS (MONOCHROME EDITORIAL) */
:root {
  /* Dark Editorial Palette (Primary Portfolio Theme) */
  --bg-primary: #070708;
  --bg-surface: #0e0f12;
  --bg-surface-elevated: #15171d;
  --bg-concrete: #cecece;
  --bg-concrete-light: #e2e2e2;
  --bg-card: rgba(18, 20, 26, 0.75);
  --bg-card-hover: rgba(26, 29, 38, 0.9);
  --bg-glass: rgba(7, 7, 8, 0.85);

  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --text-concrete: #cecece;

  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-medium: rgba(255, 255, 255, 0.2);
  --border-strong: rgba(255, 255, 255, 0.4);

  --brand-white: #ffffff;
  --brand-black: #080808;
  --brand-concrete: #cecece;
  --brand-silver: #e4e4e7;

  /* Subtle Editorial Accents */
  --accent-primary: #ffffff;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;

  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 12px 36px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 50px rgba(255, 255, 255, 0.06);

  --font-thuluth: 'Wathiq Thuluth', 'IBM Plex Sans Arabic', serif;
  --font-arabic: 'IBM Plex Sans Arabic', 'Cairo', -apple-system, sans-serif;
  --font-editorial: 'Playfair Display', Georgia, serif;
  --font-mono: 'Space Grotesk', monospace;

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Precision Motion Easing Tokens (Inspired by Manova / Apple / Framer) */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-inout: cubic-bezier(.65, 0, .35, 1);
  --transition-fast: 0.18s var(--ease-out);
  --transition-base: 0.35s var(--ease-out);
  --transition-slow: 0.65s var(--ease-out);
}

/* Light / Concrete Editorial Theme */
[data-theme="light"] {
  --bg-primary: #d5d5d5;
  --bg-surface: #e4e4e4;
  --bg-surface-elevated: #efefef;
  --bg-card: rgba(240, 240, 240, 0.85);
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(213, 213, 213, 0.88);

  --text-primary: #0a0a0a;
  --text-secondary: #3f3f46;
  --text-muted: #71717a;

  --border-subtle: rgba(0, 0, 0, 0.12);
  --border-medium: rgba(0, 0, 0, 0.25);
  --border-strong: rgba(0, 0, 0, 0.5);

  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 12px 36px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 50px rgba(0, 0, 0, 0.04);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-arabic);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--transition-slow), color var(--transition-slow);
}

/* ==========================================================================
   MANOVA REVEAL SYSTEM & KEYFRAMES
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0s);
  will-change: transform, opacity;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  0% {
    opacity: 0;
    transform: translateY(60px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes avatarIn {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes fade {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes zoomIn {
  0% {
    opacity: 0;
    transform: scale(0.94);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}


/* Selection */
::selection {
  background-color: var(--text-primary);
  color: var(--bg-primary);
}

/* Typography Hierarchy with Wathiq Thuluth */
h1, h2, h3, h4,
.hero-title,
.section-title,
.project-title,
.modal-title,
.step-title,
.brand-name,
.about-title,
.footer-name {
  font-family: var(--font-thuluth);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-primary);
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  right: 0;
  height: 2px;
  width: 0%;
  background: var(--text-primary);
  z-index: 1000;
  box-shadow: 0 0 6px var(--text-primary);
  transition: width 0.1s linear;
}

/* Custom Magnetic Cursor */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: var(--text-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.25s, transform 0.05s ease-out;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.25s, width 0.2s, height 0.2s, border-color 0.2s, transform 0.15s ease-out;
}

.cursor-dot.visible,
.cursor-ring.visible {
  opacity: 1;
}

.cursor-ring.cursor-hover {
  width: 52px;
  height: 52px;
  border-color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .cursor-ring.cursor-hover {
  background-color: rgba(0, 0, 0, 0.05);
}

@media (pointer: coarse) {
  .cursor-dot, .cursor-ring {
    display: none !important;
  }
}

/* Subtle Monochrome Ambient Glow */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  opacity: 0.05;
  z-index: 0;
}

.glow-top {
  top: -120px;
  right: 15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #ffffff, transparent 70%);
}

.glow-middle {
  top: 45%;
  left: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #cecece, transparent 70%);
  opacity: 0.04;
}

.glow-bottom {
  bottom: 8%;
  right: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #ffffff, transparent 70%);
  opacity: 0.03;
}

/* SITE HEADER */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 900;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-base);
}

.site-header.scrolled {
  background: var(--bg-primary);
  border-bottom-color: var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-avatar {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  background: #0c0d10;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base), border-color var(--transition-base);
}

.brand-logo:hover .brand-avatar {
  transform: rotate(3deg) scale(1.05);
  border-color: var(--text-primary);
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.35rem;
  line-height: 1.1;
  color: var(--text-primary);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  font-weight: 600;
}

/* Floating Pill Menu & Gliding Active Indicator (Manova Animation Engine) */
.desktop-nav.pill.menu {
  position: relative;
  display: flex;
  align-items: center;
  padding: 4px;
  background: rgba(14, 15, 18, 0.78);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  gap: 2px;
}

[data-theme="light"] .desktop-nav.pill.menu {
  background: rgba(224, 224, 224, 0.85);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.menu-ind {
  position: absolute;
  top: 4px;
  height: calc(100% - 8px);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  transition: left 0.45s var(--ease-inout), width 0.45s var(--ease-inout);
  pointer-events: none;
  z-index: 0;
  will-change: left, width;
}

[data-theme="light"] .menu-ind {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.nav-link {
  position: relative;
  z-index: 1;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: color 0.3s, transform 0.15s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link:active {
  transform: scale(0.92);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-cta {
  white-space: nowrap;
  flex-shrink: 0;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulseAnimation 2s infinite ease-in-out;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.sound-toggle-btn, .theme-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--ease-out), border-color 0.25s, color 0.25s, background-color 0.25s;
}

.sound-toggle-btn:hover, .theme-toggle-btn:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
  transform: scale(1.08);
}

.sound-toggle-btn:active, .theme-toggle-btn:active {
  transform: scale(0.92);
}

.sound-toggle-btn svg {
  width: 16px;
  height: 16px;
}

.sound-toggle-btn .sound-icon-off {
  display: none;
}

.sound-toggle-btn.muted .sound-icon-on {
  display: none;
}

.sound-toggle-btn.muted .sound-icon-off {
  display: block;
}

.theme-toggle-btn .sun-icon {
  display: none;
}

[data-theme="light"] .theme-toggle-btn .sun-icon {
  display: inline-block;
}

[data-theme="light"] .theme-toggle-btn .moon-icon {
  display: none;
}

/* BUTTONS (HIGH-CONTRAST MONOCHROME - MANOVA MOTION PHYSICS) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  font-family: var(--font-arabic);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, background-color 0.25s, border-color 0.25s;
  will-change: transform;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:active {
  transform: scale(0.95);
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.25);
}

[data-theme="light"] .btn-primary:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.btn-outline:hover {
  border-color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

.btn-whatsapp {
  background: #1f2229;
  color: #ffffff;
  border: 1px solid var(--border-medium);
}

.btn-whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  color: #000000;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-icon {
  width: 16px;
  height: 16px;
}

.btn-arrow {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-arrow {
  transform: translateX(-4px);
}

/* Mobile Hamburger */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.mobile-menu-btn span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.mobile-drawer {
  display: none;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px;
}

.mobile-drawer.active {
  display: block;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-thuluth);
  font-size: 1.3rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-drawer-contact {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* HERO SECTION (MONOCHROME EDITORIAL) */
.hero-section {
  position: relative;
  padding-top: 150px;
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.pill-sparkle {
  color: var(--text-primary);
  font-size: 0.9rem;
}

.hero-title {
  font-size: 3.8rem;
  line-height: 1.25;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.text-gradient {
  color: var(--text-primary);
  display: inline;
  position: relative;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 36px;
  max-width: 620px;
}

.hero-description strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-size: 2.2rem;
  font-weight: 700;
  font-family: var(--font-thuluth);
  color: var(--text-primary);
  line-height: 1.1;
}

.metric-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.metric-separator {
  width: 1px;
  height: 38px;
  background: var(--border-subtle);
}

/* HERO 3D TILT CARD */
.hero-visual {
  perspective: 1200px;
  display: flex;
  justify-content: center;
}

.interactive-tilt-card {
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-medium);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  transition: transform 0.1s ease-out, border-color var(--transition-base);
  transform-style: preserve-3d;
  cursor: pointer;
}

.interactive-tilt-card:hover {
  border-color: var(--border-strong);
}

.card-glass-glow {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08), transparent 70%);
  pointer-events: none;
}

.card-inner {
  transform: translateZ(30px);
}

.card-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.tag-live {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.tag-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.monogram-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
}

.hero-monogram-img {
  width: 176px;
  height: auto;
  background: transparent;
  border: none;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.72)) drop-shadow(0 0 24px rgba(255, 255, 255, 0.14));
  transition: transform var(--transition-base), filter var(--transition-base);
  animation: bob 5.2s 1.7s ease-in-out infinite;
  will-change: transform;
}

[data-theme="light"] .hero-monogram-img {
  filter: brightness(0.14) drop-shadow(0 14px 24px rgba(0, 0, 0, 0.2));
}

.interactive-tilt-card:hover .hero-monogram-img {
  transform: scale(1.06) rotate(-2deg);
}

.monogram-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.monogram-rings .ring {
  position: absolute;
  border: 1px dashed var(--border-subtle);
  border-radius: 50%;
  animation: rotateClockwise 35s linear infinite;
}

.monogram-rings .ring-1 {
  width: 280px;
  height: 280px;
}

.monogram-rings .ring-2 {
  width: 340px;
  height: 340px;
  animation-direction: reverse;
  animation-duration: 50s;
}

@keyframes rotateClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.card-bottom-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.name-signature-img {
  height: 46px;
  width: auto;
  object-fit: contain;
  background: transparent;
  padding: 0;
  border: none;
  filter: brightness(0) invert(1);
  transition: filter var(--transition-base);
}

[data-theme="light"] .name-signature-img {
  filter: none;
}

.card-spec {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.spec-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.spec-location {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* MARQUEE TICKER (MANOVA DUAL MASK EDGE FADES & HOVER PAUSE) */
.ticker-wrapper {
  margin-top: 70px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  cursor: default;
}

.ticker-wrapper:hover .ticker-content {
  animation-play-state: paused;
}

.ticker-content {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  animation: tickerAnimation 35s linear infinite;
  will-change: transform;
}

.ticker-bullet {
  color: var(--text-primary);
  margin: 0 20px;
}

@keyframes tickerAnimation {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* SECTION HEADERS */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 10;
}

.section-header {
  margin-bottom: 60px;
}

.section-header.text-center {
  text-align: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 600;
}

.section-title {
  font-size: 3rem;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* PROJECTS (CASE STUDIES) */
.projects-list {
  display: flex;
  flex-direction: column;
  gap: 70px;
}

.project-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.project-card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-lg);
}

.project-header {
  margin-bottom: 32px;
}

.project-meta-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.pill-category {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.pill-year {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.project-title {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.project-tagline {
  font-size: 1.15rem;
  color: var(--text-secondary);
  font-style: italic;
}

.project-body-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Media Gallery / Screen */
.project-media-wrapper {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 18px;
  overflow: hidden;
}

.media-tabs-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.media-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-arabic);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.media-tab:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.media-tab.active {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border-color: var(--text-primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.tab-icon {
  width: 14px;
  height: 14px;
}

.media-display-screen {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #000;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-slide {
  display: none;
  width: 100%;
  animation: fadeInSlide 0.4s ease-out;
}

.media-slide.active {
  display: block;
}

@keyframes fadeInSlide {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.media-slide img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: transform var(--transition-slow);
}

.media-slide:hover img {
  transform: scale(1.02);
}

.media-caption {
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: var(--bg-surface-elevated);
  border-top: 1px solid var(--border-subtle);
  line-height: 1.5;
}

/* Strategic Details Panel */
.project-details-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.detail-box {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-subtle);
}

.detail-heading {
  font-family: var(--font-thuluth);
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-heading::before {
  content: '✳';
  color: var(--text-primary);
  font-size: 0.9rem;
}

.detail-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Interactive Color Swatches */
.color-palette {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.color-chip {
  flex: 1;
  min-width: 90px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  transition: all var(--transition-fast);
}

.color-chip:hover {
  transform: translateY(-3px);
  border-color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.chip-color {
  width: 100%;
  height: 36px;
  border-radius: 4px;
  background-color: var(--chip-bg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.chip-label {
  font-size: 0.75rem;
  color: var(--text-primary);
  font-weight: 600;
}

.chip-hex {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Deliverables Tags */
.deliverables-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.deliverables-tags li {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Podcast Sound Wave Simulator */
.podcast-interactive-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
  padding: 14px 20px;
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.sound-play-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: var(--accent-amber);
  color: #000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.sound-play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px var(--accent-amber);
}

.sound-play-btn .pause-icon {
  display: none;
}

.sound-play-btn.playing .play-icon {
  display: none;
}

.sound-play-btn.playing .pause-icon {
  display: inline;
}

.sound-wave-bars {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 24px;
}

.sound-wave-bars .bar {
  width: 4px;
  height: 6px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: height 0.15s ease;
}

.sound-play-btn.playing ~ .sound-wave-bars .bar {
  background: var(--accent-amber);
  animation: waveDance 1s infinite alternate ease-in-out;
}

.sound-wave-bars .bar:nth-child(2) { animation-delay: 0.1s; }
.sound-wave-bars .bar:nth-child(3) { animation-delay: 0.2s; }
.sound-wave-bars .bar:nth-child(4) { animation-delay: 0.3s; }
.sound-wave-bars .bar:nth-child(5) { animation-delay: 0.15s; }
.sound-wave-bars .bar:nth-child(6) { animation-delay: 0.4s; }
.sound-wave-bars .bar:nth-child(7) { animation-delay: 0.25s; }
.sound-wave-bars .bar:nth-child(8) { animation-delay: 0.35s; }
.sound-wave-bars .bar:nth-child(9) { animation-delay: 0.05s; }
.sound-wave-bars .bar:nth-child(10) { animation-delay: 0.2s; }
.sound-wave-bars .bar:nth-child(11) { animation-delay: 0.3s; }
.sound-wave-bars .bar:nth-child(12) { animation-delay: 0.1s; }

@keyframes waveDance {
  0% { height: 6px; }
  50% { height: 22px; }
  100% { height: 10px; }
}

.on-air-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
  transition: all var(--transition-fast);
}

.on-air-tag.live {
  background: #ef4444;
  color: #ffffff;
  box-shadow: 0 0 12px #ef4444;
}

/* THE LOGO VAULT SECTION (CONCRETE MINIMALIST GRID) */
.logo-vault-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.logo-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-arabic);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.filter-btn.active {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.vault-tools-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding: 12px 20px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.vault-bg-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
}

.switcher-label {
  font-weight: 600;
  color: var(--text-secondary);
}

.bg-switch-btn {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.bg-switch-btn.active {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

.logo-item-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s, border-color 0.3s;
  position: relative;
  will-change: transform;
}

.logo-item-card:hover {
  transform: translateY(-8px);
  border-color: var(--text-primary);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--border-strong), 0 0 35px rgba(255, 255, 255, 0.08);
}

.logo-card-inner {
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  position: relative;
  transition: background-color var(--transition-base);
}

/* Light / Dark Mode Toggle inside Logo Grid */
.logo-grid.preview-mode-light .logo-card-inner {
  background-color: #cecece;
}

.logo-grid.preview-mode-light .logo-img {
  filter: none;
}

.logo-grid.preview-mode-dark .logo-card-inner {
  background-color: #0c0d10;
}

.logo-grid.preview-mode-dark .logo-img {
  filter: invert(1) contrast(1.1) brightness(0.95);
}

.logo-img {
  max-width: 85%;
  max-height: 110px;
  object-fit: contain;
  transition: transform var(--transition-base), filter var(--transition-base);
}

.logo-item-card:hover .logo-img {
  transform: scale(1.08);
}

.logo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  padding: 24px 16px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-fast);
}

.logo-item-card:hover .logo-overlay {
  opacity: 1;
  transform: translateY(0);
}

.logo-name {
  font-family: var(--font-thuluth);
  font-size: 1.05rem;
  color: #ffffff;
}

.logo-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* METHODOLOGY SECTION */
.methodology-timeline {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 900px;
  margin: 0 auto;
}

.method-step-card {
  display: flex;
  gap: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s, border-color 0.3s, background-color 0.3s;
  position: relative;
  will-change: transform;
}

.method-step-card:hover, .method-step-card.active {
  border-color: var(--text-primary);
  background: var(--bg-card-hover);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 255, 255, 0.06);
  transform: translateX(-8px);
}

.step-badge {
  font-family: var(--font-thuluth);
  font-size: 2rem;
  color: var(--text-primary);
  line-height: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-medium);
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 1.55rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.step-deliverable {
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--bg-surface);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  display: inline-block;
  border: 1px solid var(--border-subtle);
}

.step-deliverable .d-label {
  color: var(--text-primary);
  font-weight: 700;
}

/* ABOUT SECTION */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 60px;
  align-items: center;
}

.about-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-lg);
}

.about-img {
  width: 100%;
  height: auto;
  display: block;
  background: #cecece;
}

.about-card-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  left: 20px;
  background: rgba(7, 7, 8, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
}

.badge-title {
  font-family: var(--font-thuluth);
  font-size: 1.25rem;
  color: var(--text-primary);
}

.badge-sub {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.about-title {
  font-size: 2.7rem;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.about-lead {
  font-size: 1.15rem;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.85;
  margin-bottom: 16px;
}

.about-subtext {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 28px;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.pillar-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.pillar-icon {
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1;
}

.pillar-title {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.pillar-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.about-contact-bar {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-pill {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}

.contact-pill .c-label {
  color: var(--text-muted);
}

.contact-pill .c-val {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
}

/* AI WORKSHOPS & TRAINING SECTION */
.workshops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.workshop-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s, border-color 0.3s;
  will-change: transform;
}

.workshop-card:hover {
  border-color: var(--text-primary);
  transform: translateY(-8px);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--border-strong), 0 0 35px rgba(255, 255, 255, 0.08);
}

.workshop-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.workshop-title {
  font-size: 1.45rem;
  color: var(--text-primary);
}

.workshop-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex-grow: 1;
}

.workshop-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

/* TESTIMONIALS SECTION */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s, border-color 0.3s;
  will-change: transform;
}

.testimonial-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-8px);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--border-strong);
}

.stars-row {
  color: #fbbf24;
  letter-spacing: 2px;
  font-size: 1.1rem;
}

.testimonial-quote {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.author-avatar-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-thuluth);
  font-size: 1rem;
  color: var(--text-primary);
}

.author-name {
  font-size: 1.15rem;
  color: var(--text-primary);
}

.author-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FAQ ACCORDION SECTION */
.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--text-primary);
}

.faq-question {
  width: 100%;
  text-align: right;
  padding: 22px 26px;
  background: transparent;
  border: none;
  font-family: var(--font-thuluth);
  font-size: 1.25rem;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-toggle-icon {
  font-size: 1.4rem;
  font-weight: 300;
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 26px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  padding-bottom: 22px;
}

.faq-answer strong {
  color: var(--text-primary);
}

/* INQUIRY SECTION (PROJECT ESTIMATOR) */
.inquiry-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 50px;
  box-shadow: var(--shadow-lg);
  max-width: 920px;
  margin: 0 auto;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-label {
  font-family: var(--font-thuluth);
  font-size: 1.35rem;
  color: var(--text-primary);
}

.options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.option-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all var(--transition-fast);
}

.option-card input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.option-card:hover {
  border-color: var(--border-medium);
  background: var(--bg-surface-elevated);
}

.option-card.active {
  border-color: var(--text-primary);
  background: var(--bg-surface-elevated);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.08);
}

.opt-title {
  font-family: var(--font-thuluth);
  font-size: 1.15rem;
  color: var(--text-primary);
}

.opt-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.timeline-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.time-pill {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 10px 20px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.time-pill input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.time-pill:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.time-pill.active {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
}

.form-row-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.input-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-field label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.input-field input, .input-field textarea {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-family: var(--font-arabic);
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition-fast);
}

.input-field input:focus, .input-field textarea:focus {
  border-color: var(--text-primary);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* FOOTER */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: #0c0d10;
  padding: 7px;
  object-fit: contain;
  border: 1px solid var(--border-medium);
}

.footer-name {
  font-size: 1.45rem;
  line-height: 1.1;
}

.footer-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-social-links {
  display: flex;
  gap: 14px;
}

.social-link {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.social-link:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 14px;
}

.copyright-text strong {
  color: var(--text-primary);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.back-to-top:hover {
  color: var(--text-primary);
}

.up-arrow {
  width: 16px;
  height: 16px;
}

/* MODAL FOR LOGO INSPECTOR */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.active {
  display: flex;
  animation: fade 0.25s ease;
}

.modal-backdrop.active .modal-box {
  animation: zoomIn 0.35s var(--ease-out);
}

.modal-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all var(--transition-fast);
  z-index: 10;
}

.modal-close-btn:hover {
  border-color: var(--text-primary);
}

.modal-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}

.modal-preview-wrapper {
  background: #cecece;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--border-subtle);
}

.modal-logo-image {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
}

.modal-info-panel {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}

.modal-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.modal-title {
  font-size: 1.8rem;
  line-height: 1.2;
  margin-bottom: 14px;
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.modal-meta-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.modal-meta-row strong {
  color: var(--text-primary);
}

/* LIGHTBOX FOR IMAGES */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 30px;
}

.lightbox-backdrop.active {
  display: flex;
  animation: fade 0.25s ease;
}

.lightbox-backdrop.active .lightbox-img {
  animation: zoomIn 0.35s var(--ease-out);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  left: 24px;
  font-size: 2.2rem;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
}

.lightbox-img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.lightbox-caption {
  margin-top: 18px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  text-align: center;
  max-width: 600px;
}

/* TOAST NOTIFICATION */
.toast-notification {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--text-primary);
  border-radius: var(--radius-full);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  z-index: 10002;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notification.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-icon {
  color: var(--accent-emerald);
  font-weight: 800;
}

.toast-message {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-metrics {
    justify-content: center;
  }

  .project-body-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .status-badge {
    display: none;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

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

  .form-row-inputs {
    grid-template-columns: 1fr;
  }

  .about-pillars {
    grid-template-columns: 1fr;
  }

  .modal-content {
    grid-template-columns: 1fr;
  }

  .modal-preview-wrapper {
    border-left: none;
    border-bottom: 1px solid var(--border-subtle);
  }

  .project-card {
    padding: 24px;
  }

  .inquiry-card {
    padding: 24px;
  }
}

/* ==========================================================================
   MANOVA PRECISION MOTION SYSTEM
   1. Hero Staggered Entrance & Editorial Dot Grid
   2. 3D Perspective Coverflow Slider (perspective: 2200px)
   3. Horizontal Draggable Snap Carousel + Progress Bar
   4. 3-Row Opposite-Direction Infinite Logo Marquee
   5. Gallery Lightbox Controls
   ========================================================================== */

/* 1. Hero Dot Grid + Staggered Entrance Choreography */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: radial-gradient(rgba(255, 255, 255, 0.45) 1.2px, transparent 1.4px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

[data-theme="light"] .hero-section::before {
  background-image: radial-gradient(rgba(0, 0, 0, 0.35) 1.2px, transparent 1.4px);
  opacity: 0.1;
}

.hero-rise-1 { animation: rise 1.0s 0.08s var(--ease-out) both; }
.hero-rise-2 { animation: rise 1.1s 0.18s var(--ease-out) both; }
.hero-rise-3 { animation: rise 1.1s 0.32s var(--ease-out) both; }
.hero-rise-4 { animation: rise 1.0s 0.46s var(--ease-out) both; }
.hero-rise-5 { animation: rise 1.0s 0.62s var(--ease-out) both; }
.hero-avatar-in { animation: avatarIn 1.2s 0.38s var(--ease-out) both; }

/* 2. Manova 3D Perspective Coverflow Slider */
.manova-showcase-section {
  background: radial-gradient(55% 55% at 50% 45%, rgba(255, 255, 255, 0.05), transparent 72%);
  overflow: hidden;
}

[data-theme="light"] .manova-showcase-section {
  background: radial-gradient(55% 55% at 50% 45%, rgba(0, 0, 0, 0.05), transparent 72%);
}

.manova-slider {
  --sw: min(840px, 82vw);
  --step: min(630px, 60vw);
  position: relative;
  height: calc(var(--sw) * 0.707);
  max-height: 600px;
  perspective: 2200px;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  outline: none;
  margin-inline: auto;
}

.manova-spread {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--sw);
  height: 100%;
  margin-left: calc(var(--sw) / -2);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border-medium);
  box-shadow: 0 32px 60px rgba(0, 0, 0, 0.65);
  transition: transform 0.85s var(--ease-out), opacity 0.6s var(--ease-out);
  will-change: transform, opacity;
  background: #dadada;
}

.manova-spread.current {
  cursor: zoom-in;
  border-color: var(--text-primary);
  box-shadow: 0 36px 75px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.manova-spread img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}

.manova-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(7, 7, 8, 0.38), rgba(7, 7, 8, 0.86));
  transition: opacity 0.6s var(--ease-out);
}

.manova-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

.manova-arrow {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(18, 20, 26, 0.85);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: background 0.25s, color 0.25s, opacity 0.25s, transform 0.25s var(--ease-out), border-color 0.25s;
}

[data-theme="light"] .manova-arrow {
  background: rgba(255, 255, 255, 0.85);
}

.manova-arrow:hover:not(:disabled) {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
  transform: scale(1.08);
}

.manova-arrow:active:not(:disabled) {
  transform: scale(0.92);
}

.manova-arrow:disabled {
  opacity: 0.28;
  cursor: default;
}

.manova-dots {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.manova-dots button {
  width: 12px;
  height: 9px;
  border-radius: 5px;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: var(--border-medium);
  transition: width 0.45s var(--ease-out), background 0.3s, box-shadow 0.3s;
}

.manova-dots button.on {
  width: 46px;
  background: var(--text-primary);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.45);
}

[data-theme="light"] .manova-dots button.on {
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.25);
}

/* 3. Manova Draggable Horizontal Snap Carousel */
.manova-carousel-block {
  margin-top: 72px;
}

.carousel-mini-head {
  margin-bottom: 18px;
  text-align: center;
}

.manova-carousel {
  --card-h: clamp(240px, 32vw, 390px);
  --gutter: clamp(20px, 5vw, 64px);
  display: flex;
  gap: clamp(16px, 2.2vw, 28px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding: 14px var(--gutter) 34px;
  scrollbar-width: none;
  cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.manova-carousel::-webkit-scrollbar {
  display: none;
}

.manova-carousel.dragging {
  scroll-snap-type: none;
  cursor: grabbing;
}

.manova-card {
  flex: none;
  height: var(--card-h);
  aspect-ratio: 841.89 / 595.28;
  border-radius: 18px;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--border-subtle);
  background: #dadada;
  scroll-snap-align: start;
  cursor: pointer;
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.55);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.3s;
  will-change: transform;
}

.manova-card:hover {
  transform: translateY(-8px);
  border-color: var(--text-primary);
  box-shadow: 0 30px 52px rgba(0, 0, 0, 0.72), 0 0 0 1px var(--border-strong);
}

.manova-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

.manova-progress {
  position: relative;
  width: min(380px, 50vw);
  height: 6px;
  border-radius: 3px;
  background: var(--border-subtle);
  overflow: hidden;
}

.manova-progress i {
  position: absolute;
  inset-block: 0;
  right: 0;
  width: 25%;
  border-radius: 3px;
  background: var(--text-primary);
  transition: transform 0.15s linear;
}

/* 4. Manova 3-Row Opposite-Direction Infinite Logo Marquee */
.vault-view-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.view-switch-btn {
  padding: 7px 16px;
  border-radius: var(--radius-full);
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-arabic);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
}

.view-switch-btn.active,
.view-switch-btn:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
}

.is-hidden {
  display: none !important;
}

.logo-marquee-wrap {
  margin-top: 28px;
  margin-bottom: 12px;
}

.manova-marquee {
  --tw: clamp(160px, 17vw, 236px);
  --gap: 20px;
  direction: ltr;
  overflow: hidden;
  margin-bottom: 20px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.manova-marquee-track {
  display: flex;
  gap: var(--gap);
  width: max-content;
  animation: manovaMarquee var(--dur, 42s) linear infinite;
  will-change: transform;
}

.manova-marquee.rev .manova-marquee-track {
  animation-direction: reverse;
}

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

@keyframes manovaMarquee {
  to {
    transform: translateX(calc(-50% - var(--gap) / 2));
  }
}

.manova-logo-tile {
  flex: none;
  width: var(--tw);
  height: calc(var(--tw) * 0.64);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #cecece;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  cursor: pointer;
  position: relative;
  transition: transform 0.35s var(--ease-out), border-color 0.3s, box-shadow 0.35s, background 0.3s;
}

.logo-marquee-wrap.preview-mode-dark .manova-logo-tile {
  background: #0c0d10;
  border-color: rgba(255, 255, 255, 0.14);
}

.logo-marquee-wrap.preview-mode-dark .manova-logo-tile img {
  filter: invert(1) contrast(1.08);
}

/* Vector source pills & modal actions */
.vector-format-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  margin-inline-start: 4px;
}

.modal-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.about-image-card {
  background: #f5f5f5;
}

.about-img {
  background: #ffffff;
  object-fit: contain;
  cursor: zoom-in;
}

.manova-logo-tile:hover {
  transform: translateY(-5px) scale(1.03);
  border-color: var(--text-primary);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
}

.manova-logo-tile img {
  max-width: 82%;
  max-height: 78%;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-drag: none;
  transition: transform 0.35s var(--ease-out);
}

.manova-logo-tile:hover img {
  transform: scale(1.06);
}

/* 5. Enhanced Lightbox Controls */
.lightbox-backdrop .lb-close {
  position: absolute;
  top: 24px;
  left: 24px;
  font-size: 1.4rem;
  z-index: 5;
}

.lightbox-backdrop .lb-prev,
.lightbox-backdrop .lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
}

.lightbox-backdrop .lb-prev { right: 24px; }
.lightbox-backdrop .lb-next { left: 24px; }

.lightbox-backdrop .lb-prev:hover:not(:disabled),
.lightbox-backdrop .lb-next:hover:not(:disabled) {
  transform: translateY(-50%) scale(1.08);
}

.lb-count {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 4px 14px;
  border-radius: 999px;
}

@media (max-width: 768px) {
  .manova-slider {
    --sw: 90vw;
    --step: 76vw;
  }
  .lightbox-backdrop .lb-prev { right: 12px; }
  .lightbox-backdrop .lb-next { left: 12px; }
}

/* ==========================================================================
   ULTRA-CLEAN MINIMALIST HEADER & HERO (MANOVA COMPOSITION • MONOCHROME)
   ========================================================================== */
.site-header.clean-header {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  padding: 16px 0;
  transition: background 0.35s var(--ease-out), border-color 0.35s var(--ease-out), backdrop-filter 0.35s;
}

.site-header.clean-header.scrolled {
  background: rgba(7, 7, 8, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.clean-header .header-inner {
  height: auto;
  max-width: 1180px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 6px 20px;
  border-radius: 999px;
  background: rgba(16, 17, 21, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-decoration: none;
  color: #ffffff;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}

.brand-pill:hover {
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.brand-pill .brand-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #141519;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 6px;
}

.brand-pill .brand-name {
  font-family: var(--font-thuluth);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.clean-header .desktop-nav.pill.menu {
  padding: 5px;
  background: rgba(16, 17, 21, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  gap: 2px;
}

.clean-header .menu-ind {
  top: 5px;
  height: calc(100% - 10px);
  background: #ffffff;
  border: none;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.32);
}

.clean-header .nav-link {
  padding: 9px 20px;
  font-family: var(--font-thuluth);
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.68);
}

.clean-header .nav-link:hover {
  color: #ffffff;
}

.clean-header .nav-link.active {
  color: #070708;
}

/* Centered Pure Editorial Hero Stage */
.hero-section.hero-clean {
  --hf: clamp(72px, 11.4vw, 154px);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 96px;
  padding-bottom: 64px;
  background: radial-gradient(52% 58% at 50% 72%, rgba(255, 255, 255, 0.12), rgba(206, 206, 206, 0.035) 44%, rgba(7, 7, 8, 0) 74%);
}

.hero-stage-clean {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1120px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-phrase-wrap {
  will-change: transform;
}

.hero-phrase {
  margin: 0;
  font-family: var(--font-thuluth);
  font-weight: 700;
  font-size: var(--hf);
  line-height: 1.06;
  letter-spacing: -0.01em;
  animation: rise 1.1s 0.16s var(--ease-out) both;
}

.hero-phrase span {
  display: block;
}

.hero-phrase .l1 {
  color: #ffffff;
}

.hero-phrase .l2 {
  background: linear-gradient(180deg, #ffffff 12%, #8e9099 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-emblem-center {
  position: relative;
  z-index: 2;
  width: clamp(160px, 19vw, 240px);
  margin: calc(var(--hf) * -0.14) auto 0;
  animation: avatarIn 1.2s 0.42s var(--ease-out) both;
}

.hero-emblem-svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 28px 42px rgba(0, 0, 0, 0.82)) drop-shadow(0 0 38px rgba(255, 255, 255, 0.16));
  animation: bob 5.2s 1.6s ease-in-out infinite;
  will-change: transform;
}

.hero-meta-row {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: calc(var(--hf) * -0.68);
  padding-inline: clamp(8px, 3vw, 44px);
  animation: rise 1s 0.72s var(--ease-out) both;
}

.hero-meta-name {
  text-align: right;
  line-height: 1.3;
}

.hero-meta-name strong {
  display: block;
  font-family: var(--font-thuluth);
  font-weight: 700;
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  color: #ffffff;
}

.hero-meta-name span {
  display: block;
  font-family: var(--font-thuluth);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  color: rgba(255, 255, 255, 0.65);
  margin-top: 4px;
}

/* ==========================================================================
   WORKS SOCIAL CAROUSEL SECTION (EXACT IMAGE-2 MANOVA EDITORIAL STYLE)
   ========================================================================== */
.works-carousel-section {
  background: radial-gradient(50% 50% at 50% 52%, rgba(255, 255, 255, 0.045), transparent 72%);
  padding-block: clamp(72px, 10vh, 120px);
}

.stitle {
  margin-bottom: clamp(28px, 4vw, 44px);
  text-align: right;
}

.stitle h2 {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  font-family: var(--font-thuluth);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1.2;
  color: #ffffff;
}

.stitle h2::before {
  content: "";
  flex: none;
  width: 7px;
  height: 0.72em;
  border-radius: 4px;
  background: linear-gradient(180deg, #ffffff, #71717a);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.25);
}

.stitle p {
  margin: 8px 24px 0 0;
  font-family: var(--font-thuluth);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(1.05rem, 1.5vw, 1.4rem);
}

.manova-carousel.social-carousel {
  --card-h: clamp(320px, 34vw, 470px);
  --gutter: clamp(20px, 5vw, 64px);
  gap: clamp(16px, 2vw, 26px);
  padding: 12px var(--gutter) 34px;
}

.manova-carousel.social-carousel .manova-card {
  aspect-ratio: 4 / 5;
  height: var(--card-h);
  border-radius: 18px;
  background: #101116;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.65);
}

.manova-carousel.social-carousel .manova-card img {
  object-fit: cover;
}

.manova-carousel.social-carousel .manova-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 32px 54px rgba(0, 0, 0, 0.8), 0 0 36px rgba(255, 255, 255, 0.12);
}

.hero-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 32px;
  border-radius: 999px;
  background: #ffffff;
  color: #070708;
  font-family: var(--font-thuluth);
  font-weight: 700;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  text-decoration: none;
  box-shadow: 0 0 32px rgba(255, 255, 255, 0.28);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  will-change: transform;
}

.hero-cta-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 48px rgba(255, 255, 255, 0.48);
}

.hero-cta-pill:active {
  transform: scale(0.95);
}

.hero-cta-pill .cta-arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease-out);
}

.hero-cta-pill:hover .cta-arrow {
  transform: translateX(-4px);
}

@media (max-width: 900px) {
  .clean-header .desktop-nav.pill.menu {
    display: none;
  }

  .clean-header .mobile-menu-btn {
    display: flex;
  }

  .hero-emblem-center {
    margin-top: calc(var(--hf) * -0.2);
  }

  .hero-meta-row {
    margin-top: 28px;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .hero-meta-name {
    text-align: center;
  }
}

/* ==========================================================================
   ACCESSIBILITY: PREFERS-REDUCED-MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
