/* ==========================================================================
   OTHMAN RIYADH® — THE CREATIVE UNIVERSE
   MASTER DESIGN SYSTEM & STYLESHEET
   Independent Art Director & Multidisciplinary Creative
   ========================================================================== */

@import url('./assets/fonts/graphik/graphik.css');

:root {
  /* Core Palette Sampled from Master Key Visual (OthmanWallpaper_02.png) */
  --bg-canvas: #080811;
  --bg-canvas-rgb: 8, 8, 17;
  --bg-surface: #0e0e1c;
  --bg-surface-elevated: #15152a;
  --bg-card: rgba(18, 18, 34, 0.72);
  --bg-card-hover: rgba(26, 26, 48, 0.9);
  --bg-glass: rgba(12, 12, 24, 0.78);
  --bg-glass-heavy: rgba(8, 8, 17, 0.88);

  /* Warm Solar Accent (Sampled directly from Othman's Yellow Shirt) */
  --accent-gold: #f5c542;
  --accent-gold-rgb: 245, 197, 66;
  --accent-gold-glow: rgba(245, 197, 66, 0.28);
  --accent-gold-hover: #ffd666;

  /* Atmospheric Violet & Indigo (Sampled from Rooftop Dusk Sky) */
  --accent-violet: #7871cd;
  --accent-violet-rgb: 120, 113, 205;
  --accent-violet-glow: rgba(120, 113, 205, 0.32);
  --accent-violet-deep: #25204d;

  /* CRT Software Glows (Ps Cyan, Pr Pink, Ae Violet, DaVinci Rainbow) */
  --accent-cyan: #38bdf8;
  --accent-cyan-glow: rgba(56, 189, 248, 0.25);
  --accent-peach: #ff9eaa;
  --accent-coral: #ff6b6b;

  /* Neutral Text Hierarchy */
  --text-primary: #f8fafc;
  --text-secondary: #a0aec0;
  --text-muted: #64748b;
  --text-dim: #475569;

  /* Borders & Dividers */
  --border-subtle: rgba(165, 180, 252, 0.1);
  --border-medium: rgba(165, 180, 252, 0.18);
  --border-accent: rgba(245, 197, 66, 0.35);
  --border-violet: rgba(120, 113, 205, 0.35);

  /* Typography: Comprehensive Graphik Design System (Khajag Apelian & Christian Schwartz) */
  --font-arabic-display: 'Graphik Arabic', 'Graphik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-arabic-body: 'Graphik Arabic', 'Graphik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-latin-display: 'Graphik', 'Graphik Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-latin-body: 'Graphik', 'Graphik Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transitions & Animation Timings */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* ==========================================================================
     GLOBAL SPACING SYSTEM (Modular Scale: 4px to 128px)
     Eliminating arbitrary values across all viewports
     ========================================================================== */
  --space-2xs: 4px;       /* Micro spacing: borders, indicators, fine gaps */
  --space-xs: 8px;        /* Tight spacing: chips, tags, compact gaps */
  --space-sm: 12px;       /* Compact spacing: badge gap, label-to-input */
  --space-md: 16px;       /* Standard spacing: standard gutters, action row gap */
  --space-lg: 24px;       /* Component spacing: card body padding, medium gaps */
  --space-xl: 32px;       /* Content grouping: between text groups & card grids */
  --space-2xl: 48px;      /* Subsection spacing: filter bar to cards, dock offsets */
  --space-3xl: 64px;      /* Section spacing: headers to grids, major dividers */
  --space-4xl: 96px;      /* Major section spacing: generous editorial rhythm */
  --space-editorial: 128px; /* Editorial breathing space for major visual milestones */

  /* Responsive Fluid Spacing Tokens */
  --section-space: clamp(72px, 8.5vw, 128px);
  --section-space-sm: clamp(48px, 5.5vw, 80px);
  --section-head-gap: clamp(36px, 4.8vw, 60px);
  --container-pad: clamp(18px, 3.5vw, 32px);

  /* Typography Line Heights */
  --lh-tight: 1.15;
  --lh-snug: 1.35;
  --lh-normal: 1.7;
  --lh-relaxed: 1.85;

  /* Script-Aware Heading & Hero Line Heights */
  --lh-heading-ar: 1.35;
  --lh-heading-en: 1.22;
  --lh-hero-ar: 1.28;
  --lh-hero-en: 1.2;

  /* Brand-Approved Subtle Text Shadows */
  --text-shadow-hero: 0 4px 20px rgba(0, 0, 0, 0.4);
  --text-shadow-subtle: 0 2px 10px rgba(0, 0, 0, 0.35);
  --text-shadow-soft: 0 1px 4px rgba(0, 0, 0, 0.2);
  --text-shadow-none: none;

  /* Spacing & Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-full: 9999px;

  /* Elevation Shadows */
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 32px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.7);
  --shadow-gold: 0 8px 30px rgba(245, 197, 66, 0.2);
  --shadow-violet: 0 8px 35px rgba(120, 113, 205, 0.25);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-arabic-body);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: var(--lh-normal);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Latin font overrides when English is selected */
html[lang="en"] body {
  font-family: var(--font-latin-body);
}

/* Master Heading Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-arabic-display);
  font-feature-settings: "cv01", "ss01", "ss03";
  line-height: var(--lh-heading-ar);
  letter-spacing: 0;
}

html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3,
html[lang="en"] h4,
html[lang="en"] h5,
html[lang="en"] h6 {
  font-family: var(--font-latin-display);
  line-height: var(--lh-heading-en);
  letter-spacing: -0.015em;
}

/* Arabic Typography Safeguards: Preserve natural cursive ligatures and avoid disconnected letterforms */
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6,
html[dir="rtl"] p,
html[dir="rtl"] a,
html[dir="rtl"] button,
html:not([lang="en"]) h1,
html:not([lang="en"]) h2,
html:not([lang="en"]) h3,
html:not([lang="en"]) h4,
html:not([lang="en"]) h5,
html:not([lang="en"]) h6 {
  line-height: var(--lh-heading-ar);
  letter-spacing: 0;
}

/* Global Section Architecture & Rhythm */
section {
  position: relative;
  padding: var(--section-space) 0;
  scroll-margin-top: 90px;
}

/* Section Header Rhythm: 1. Badge / 2. Title / 3. Subtitle */
.section-head {
  margin-bottom: var(--section-head-gap);
  position: relative;
  z-index: 2;
}

.section-head.text-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background-color: rgba(245, 197, 66, 0.08);
  border: 1px solid rgba(245, 197, 66, 0.25);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: var(--space-sm);
  width: fit-content;
  letter-spacing: 0.04em;
}

.section-badge .badge-dot,
.section-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-gold);
  box-shadow: 0 0 10px var(--accent-gold);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-arabic-display);
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: var(--lh-heading-ar);
  margin-bottom: var(--space-sm);
  letter-spacing: 0;
}

html[lang="en"] .section-title {
  font-family: var(--font-latin-display);
  line-height: var(--lh-heading-en);
  letter-spacing: -0.025em;
}

.section-subtitle {
  font-size: clamp(0.96rem, 1.25vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 660px;
  margin-bottom: 0;
}

.section-head.text-center .section-subtitle,
.section-subtitle.mx-auto {
  margin-inline: auto;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

/* Container */
.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.container-narrow {
  max-width: 1080px;
}

.container-wide {
  max-width: 1520px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-canvas);
}
::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-violet);
}

/* ==========================================================================
   Atmospheric Backgrounds & CRT Scanlines
   ========================================================================== */
.universe-background {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.18;
  transition: opacity var(--transition-slow);
}

.nebula-1 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, #7871cd, #231d4a);
  top: -150px;
  right: -150px;
}

.nebula-2 {
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, #25204d, #080811);
  bottom: 10%;
  left: -200px;
}

.nebula-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #f5c542, #ff6b6b);
  top: 45%;
  right: 10%;
  opacity: 0.08;
}

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

/* CRT Scanline Detail */
.crt-grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    rgba(18, 16, 38, 0) 50%,
    rgba(0, 0, 0, 0.25) 50%
  );
  background-size: 100% 4px;
  opacity: 0.35;
  z-index: 2;
}

/* Custom Interactive Cursor (Desktop) */
.custom-cursor {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.12s ease-out, opacity 0.2s ease, width 0.2s ease, height 0.2s ease;
  mix-blend-mode: screen;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-gold);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid var(--accent-violet);
  opacity: 0.6;
}

.cursor-glow {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(120, 113, 205, 0.15) 0%, transparent 70%);
  z-index: 9998;
}

/* ==========================================================================
   Header & Clean Minimal Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 0;
  transition: padding var(--transition-smooth), background-color var(--transition-smooth), backdrop-filter var(--transition-smooth), border-color var(--transition-smooth);
}

.site-header.scrolled {
  padding: 14px 0;
  background-color: rgba(8, 8, 17, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(16px, 2.5vw, 32px);
}

@media (max-width: 959px) {
  .header-inner {
    display: flex;
    justify-content: space-between;
  }
}

/* Brand Presence — Pure Logo Without Text */
.brand-presence {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  justify-self: start;
}

.brand-logo-pure {
  height: 42px;
  width: auto;
  max-width: 175px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
  transition: transform var(--transition-fast), opacity var(--transition-fast), filter var(--transition-fast);
}

.brand-presence:hover .brand-logo-pure {
  transform: scale(1.04);
  opacity: 0.92;
  filter: drop-shadow(0 4px 14px rgba(245, 197, 66, 0.3));
}

@media (max-width: 640px) {
  .brand-logo-pure {
    height: 34px;
    max-width: 140px;
  }
}

/* Clean Editorial Navigation Links */
section[id] {
  scroll-margin-top: 90px;
}

.header-nav {
  display: none;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: clamp(16px, 2vw, 32px);
}

@media (min-width: 960px) {
  .header-nav {
    display: flex;
  }
}

.header-nav-link {
  font-size: 0.94rem;
  font-weight: 500;
  color: rgba(248, 250, 252, 0.78);
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  text-decoration: none;
}

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

.header-nav-link.active {
  color: var(--accent-gold);
  font-weight: 600;
}

.header-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: width var(--transition-fast);
  border-radius: var(--radius-full);
}

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

/* Header Actions — Aligned & Cohesive */
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: 12px;
}

/* Glassmorphism Language Button */
.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  font-size: 0.84rem;
  font-weight: 600;
  color: #ffffff;
  transition: all var(--transition-fast);
  cursor: pointer;
  box-sizing: border-box;
}

.lang-switch-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(245, 197, 66, 0.45);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35), 0 0 16px rgba(245, 197, 66, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
  color: #ffffff;
}

.lang-indicator {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-gold);
}

/* Pure Glassmorphism Contact CTA Button */
.header-cta-pill {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 42px;
  padding: 0 6px 0 20px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.28), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
  box-sizing: border-box;
  white-space: nowrap;
}

html[dir="rtl"] .header-cta-pill {
  padding: 0 20px 0 6px;
}

@media (min-width: 768px) {
  .header-cta-pill {
    display: inline-flex;
  }
}

.header-cta-pill .cta-pill-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--accent-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.header-cta-pill:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(245, 197, 66, 0.5);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 24px rgba(245, 197, 66, 0.18), inset 0 1px 1px rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.header-cta-pill:hover .cta-pill-arrow {
  background: rgba(245, 197, 66, 0.25);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: scale(1.08) rotate(45deg);
}

html[dir="rtl"] .header-cta-pill .cta-pill-arrow svg {
  transform: scaleX(-1);
}

.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-primary);
  transition: all var(--transition-fast);
  cursor: pointer;
}

@media (min-width: 960px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* ==========================================================================
   Mobile Drawer Navigation
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 85%;
  max-width: 360px;
  background-color: #0c0c16;
  border-left: 1px solid var(--border-subtle);
  z-index: 201;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 24px;
  transition: transform var(--transition-smooth);
}

html[dir="rtl"] .mobile-drawer {
  left: 0;
  right: auto;
  border-left: none;
  border-right: 1px solid var(--border-subtle);
  transform: translateX(-100%);
}

html[dir="ltr"] .mobile-drawer {
  right: 0;
  left: auto;
  transform: translateX(100%);
}

.drawer-backdrop.active .mobile-drawer,
.mobile-drawer.active {
  transform: translateX(0) !important;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-close-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--radius-xs);
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.drawer-nav-item:hover,
.drawer-nav-item.active {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--accent-gold);
}

.drawer-footer {
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   SECTION 01: HERO — FULLSCREEN ENVIRONMENTAL SCENE
   The master key visual spans the entire screen background
   ========================================================================== */
.hero-environmental-scene {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 110px 0 0;
  overflow: hidden;
  background-color: #080811;
  border-radius: 0 0 clamp(20px, 3vw, 40px) clamp(20px, 3vw, 40px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
}

/* Cinematic Camera Stage & Master Artwork Presentation */
.hero-camera-stage {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  will-change: transform;
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: center 38%;
}

.hero-environment-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-desktop {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  display: block;
  filter: contrast(1.02) saturate(1.04);
}

.hero-bg-mobile {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: contrast(1.02) saturate(1.04);
}

@media (max-width: 768px) {
  .hero-bg-desktop {
    display: none;
  }
  .hero-bg-mobile {
    display: block;
  }
  .hero-environmental-scene {
    padding: 100px 0 40px;
  }
}

/* Atmospheric Ambient Sky Motion (Slow 32s breathing drift) */
.hero-ambient-sky-drift {
  position: absolute;
  top: 0;
  left: -8%;
  width: 116%;
  height: 62%;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.32;
  background: radial-gradient(
    ellipse at 50% 28%,
    rgba(224, 107, 80, 0.26) 0%,
    rgba(142, 68, 173, 0.2) 38%,
    rgba(26, 22, 56, 0) 72%
  );
  animation: heroSkyDriftCycle 32s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

@keyframes heroSkyDriftCycle {
  0% {
    transform: translate3d(-1.5%, 0, 0) scale(1);
    opacity: 0.26;
  }
  50% {
    transform: translate3d(1.5%, -0.8%, 0) scale(1.03);
    opacity: 0.36;
  }
  100% {
    transform: translate3d(-1%, 0.8%, 0) scale(1.01);
    opacity: 0.28;
  }
}

/* Subtle Environmental Light Variation (22s slow soft cycle) */
.hero-ambient-light-bloom {
  position: absolute;
  top: 15%;
  left: 12%;
  width: 76%;
  height: 52%;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: soft-light;
  opacity: 0.22;
  background: radial-gradient(
    circle at center,
    rgba(255, 183, 3, 0.35) 0%,
    rgba(245, 158, 11, 0.12) 42%,
    transparent 68%
  );
  animation: heroLightBloomCycle 22s ease-in-out infinite alternate;
  will-change: opacity, transform;
}

@keyframes heroLightBloomCycle {
  0%, 100% {
    opacity: 0.18;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.32;
    transform: scale(1.04);
  }
}

/* Cinematic Atmospheric Vignette & Seamless Transition into Next Section */
.hero-cinematic-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: 
    linear-gradient(180deg, rgba(8, 8, 17, 0.65) 0%, rgba(8, 8, 17, 0.15) 14%, transparent 28%),
    linear-gradient(0deg, #080811 0%, rgba(8, 8, 17, 0.88) 4%, rgba(8, 8, 17, 0.32) 10%, transparent 22%);
}



/* ==========================================================================
   EDITORIAL LANDING HERO SYSTEM — REFERENCE-INSPIRED ART DIRECTION
   Zone B (Headline) | Zone D (Secondary Statement) | Zone E (Disciplines)
   ========================================================================== */

.hero-editorial-canvas {
  position: relative;
  z-index: 5;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(20px, 3vh, 40px) clamp(24px, 5vw, 84px) clamp(24px, 3.5vh, 44px);
  pointer-events: none;
  box-sizing: border-box;
  max-width: 1720px;
  margin: 0 auto;
}

/* Interaction enablement for active elements */
.hero-editorial-canvas a,
.hero-editorial-canvas button,
.hero-discipline-col,
.hero-btn-primary,
.hero-btn-secondary,
.hero-scroll-cue {
  pointer-events: auto;
}

/* Editorial Stage: Single Clean Content Group Framed on Side */
.hero-editorial-stage {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
}

html[dir="rtl"] .hero-editorial-stage {
  justify-content: flex-start; /* In RTL, flex-start aligns to right */
}

html[dir="ltr"] .hero-editorial-stage {
  justify-content: flex-start; /* In LTR, flex-start aligns to left */
}

/* Unified Editorial Content Group: Eyebrow + Headline + Description + CTAs */
.hero-content-group {
  max-width: min(580px, 46vw);
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.8vh, 22px);
  pointer-events: auto;
  animation: heroContentFadeIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

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

/* Eyebrow Badge */
.hero-eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ff9e2c;
  font-size: clamp(0.78rem, 0.88vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.eyebrow-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff9e2c;
  box-shadow: 0 0 10px rgba(255, 158, 44, 0.85);
  animation: pulseGlow 2.5s infinite;
}

/* Main Display Headline */
.hero-editorial-headline {
  font-size: clamp(2.8rem, 5.2vw, 5.6rem);
  font-weight: 900;
  line-height: var(--lh-hero-ar);
  letter-spacing: 0;
  color: #ffffff;
  margin: 0;
  text-shadow: var(--text-shadow-hero);
}

html[dir="rtl"] .hero-editorial-headline {
  font-family: var(--font-arabic-display);
  font-size: clamp(2.7rem, 4.8vw, 5.2rem);
  line-height: var(--lh-hero-ar);
  letter-spacing: 0;
}

html[dir="ltr"] .hero-editorial-headline {
  font-family: var(--font-latin-display);
  font-size: clamp(3rem, 5.6vw, 6rem);
  line-height: var(--lh-hero-en);
  letter-spacing: -0.03em;
}

/* Supporting Statement */
.hero-supporting-statement {
  font-size: clamp(1rem, 1.15vw, 1.2rem);
  font-weight: 400;
  line-height: 1.7;
  color: #cbd5e1;
  max-width: 500px;
  margin: 0;
  text-shadow: var(--text-shadow-subtle);
}

/* Primary and Secondary Action Buttons */
.hero-cta-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: clamp(6px, 1vh, 12px);
  pointer-events: auto;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 999px;
  background: rgba(255, 158, 44, 0.94);
  color: #080811;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid rgba(255, 158, 44, 1);
  box-shadow: 0 4px 24px rgba(255, 158, 44, 0.35);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.hero-btn-primary:hover {
  background: #ffb049;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 158, 44, 0.55);
  color: #080811;
}

.hero-btn-primary:focus-visible {
  outline: 2px solid #ff9e2c;
  outline-offset: 3px;
}

.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  color: #ffffff;
}

.hero-btn-secondary:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 3px;
}

.hero-btn-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

html[dir="ltr"] .hero-btn-primary .hero-btn-arrow {
  transform: rotate(180deg);
}
html[dir="rtl"] .hero-btn-primary:hover .hero-btn-arrow {
  transform: translateX(-4px);
}
html[dir="ltr"] .hero-btn-primary:hover .hero-btn-arrow {
  transform: rotate(180deg) translateX(-4px);
}
html[dir="rtl"] .hero-btn-secondary:hover .hero-btn-arrow {
  transform: translate(-2px, -2px);
}
html[dir="ltr"] .hero-btn-secondary:hover .hero-btn-arrow {
  transform: translate(2px, -2px);
}

/* Bottom Stage: Four Creative Disciplines Strip + Scroll Cue */
.hero-bottom-stage {
  position: relative;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: clamp(24px, 4vh, 48px);
  pointer-events: none;
}

.hero-disciplines-bar {
  flex: 1;
  max-width: 1720px;
  pointer-events: auto;
}

.hero-disciplines-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 3vw, 48px);
  width: 100%;
}

.hero-discipline-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  pointer-events: auto;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  padding: 6px 0;
}

.hero-discipline-col:hover {
  transform: translateY(-2px);
}

.discipline-idx {
  font-size: clamp(0.74rem, 0.82vw, 0.84rem);
  font-weight: 700;
  color: #ff9e2c;
  font-family: 'SF Mono', Monaco, Menlo, 'Courier New', monospace;
  letter-spacing: 0.08em;
}

.discipline-label {
  font-size: clamp(0.88rem, 1.02vw, 1.06rem);
  font-weight: 600;
  color: #f8fafc;
  line-height: 1.35;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.hero-discipline-col:hover .discipline-label {
  color: #ffffff;
}

/* Subtle Scroll Cue */
.hero-scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(10, 11, 20, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  pointer-events: auto;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.hero-scroll-cue:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(10, 11, 20, 0.75);
}

.scroll-cue-arrow {
  display: inline-block;
  font-size: 0.85rem;
  color: #ff9e2c;
  animation: scrollCueBounce 2s infinite ease-in-out;
}

@keyframes scrollCueBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

/* Responsive & Mobile Art Direction */
@media (max-width: 992px) {
  .hero-content-group {
    max-width: min(520px, 62vw);
  }
  .hero-bottom-stage {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .hero-scroll-cue {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-environmental-scene {
    padding: 82px 0 20px;
  }
  .hero-bg-mobile {
    transform: translateY(32px) scale(1.04);
    transform-origin: center bottom;
  }
  .hero-editorial-canvas {
    padding: 8px 16px 20px;
  }
  .hero-editorial-stage {
    justify-content: flex-start;
  }
  html[lang="en"] .hero-editorial-stage {
    justify-content: flex-end;
  }
  .hero-content-group {
    max-width: 255px;
    gap: 8px;
    z-index: 10;
    background: rgba(8, 8, 17, 0.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 20px;
    padding: 14px 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  }
  .hero-eyebrow-badge {
    padding: 4px 10px;
    font-size: 0.72rem;
  }
  .hero-editorial-headline {
    font-size: 2.1rem;
    line-height: var(--lh-hero-ar);
    letter-spacing: 0;
  }
  html[dir="ltr"] .hero-editorial-headline {
    line-height: var(--lh-hero-en);
    letter-spacing: -0.025em;
  }
  .hero-supporting-statement {
    font-size: 0.8rem;
    line-height: 1.4;
    color: #e2e8f0;
  }
  .hero-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 7px;
    width: 100%;
    margin-top: 2px;
  }
  .hero-btn-primary {
    padding: 9px 14px;
    font-size: 0.82rem;
    width: 100%;
    justify-content: center;
    white-space: nowrap;
  }
  .hero-btn-secondary {
    padding: 9px 14px;
    font-size: 0.82rem;
    width: 100%;
    justify-content: center;
    white-space: nowrap;
  }
  .hero-bottom-stage {
    padding-top: 10px;
  }
  .hero-disciplines-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 12px;
    background: rgba(10, 11, 20, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 10px 14px;
  }
  .discipline-label {
    font-size: 0.8rem;
  }
  .discipline-idx {
    font-size: 0.66rem;
  }
}

/* Reduced Motion Settings */
@media (prefers-reduced-motion: reduce) {
  .hero-camera-stage {
    transform: none !important;
    transition: none !important;
  }
  .hero-ambient-sky-drift,
  .hero-ambient-light-bloom,
  .hero-content-group,
  .scroll-cue-arrow,
  .eyebrow-pulse-dot {
    animation: none !important;
  }
  .hero-discipline-col,
  .hero-btn-primary,
  .hero-btn-secondary {
    transition: none !important;
  }
}


/* ==========================================================================
   Client Marquee Showcase
   ========================================================================== */
.clients-section {
  padding: var(--section-space-sm) 0;
  border-bottom: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, var(--bg-canvas) 0%, rgba(14, 14, 28, 0.4) 100%);
}

.clients-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.clients-subtitle-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 16px 0;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: var(--space-2xl, 44px);
  width: max-content;
  padding: 10px 0;
  animation: scrollMarquee 35s linear infinite;
}

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

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

.client-logo-card {
  padding: 16px 28px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 72px;
  box-sizing: border-box;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.client-logo-card img {
  max-height: 38px;
  max-width: 110px;
  object-fit: contain;
  opacity: 0.65;
  filter: grayscale(100%) brightness(1.2);
  transition: all var(--transition-smooth);
}

.client-logo-card:hover {
  border-color: var(--accent-violet);
  background-color: var(--bg-surface-elevated);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(120, 113, 205, 0.2);
}

.client-logo-card:hover img {
  opacity: 1;
  filter: grayscale(0%) brightness(1);
}

/* ==========================================================================
   SECTION 02: SELECTED WORK
   Editorial rhythm, full-bleed features & asymmetric cards
   ========================================================================== */
.portfolio-section {
  padding: var(--section-space) 0;
}

.filter-pill-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  margin-top: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
  background-color: var(--bg-surface-elevated);
}

.filter-btn.active {
  background-color: var(--accent-violet-deep);
  border-color: var(--accent-violet);
  color: var(--accent-gold);
}

.filter-count {
  font-size: 0.74rem;
  opacity: 0.75;
  margin-inline-start: 4px;
}

/* Featured Hero Project Card (Full-Bleed / Safa Al-Najar) */
.featured-project-hero {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: var(--space-3xl);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

@media (min-width: 980px) {
  .featured-project-hero {
    grid-template-columns: 1.25fr 1fr;
  }
}

.featured-project-hero:hover {
  border-color: var(--accent-gold);
}

.fph-media {
  position: relative;
  min-height: 400px;
  background-color: #0c0d18;
  overflow: hidden;
}

.fph-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-project-hero:hover .fph-img {
  transform: scale(1.03);
}

.fph-badge-overlay {
  position: absolute;
  top: 20px;
  inset-inline-start: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background-color: rgba(8, 8, 17, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.fph-body {
  padding: clamp(28px, 4vw, 48px) clamp(24px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.fph-meta-row {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: 0.84rem;
  color: var(--accent-violet);
  font-weight: 600;
}

.fph-title {
  font-family: var(--font-arabic-display);
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: var(--lh-heading-ar);
  letter-spacing: 0;
  margin-bottom: var(--space-md);
}

html[lang="en"] .fph-title {
  font-family: var(--font-latin-display);
  line-height: var(--lh-heading-en);
  letter-spacing: -0.02em;
}

.fph-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-lg);
}

.fph-details-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: var(--space-lg);
}

.fph-detail-item strong {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.fph-detail-item span {
  font-size: 0.92rem;
  color: var(--text-primary);
  font-weight: 600;
}

.fph-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
}

/* Asymmetric Project Grid */
.projects-editorial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 720px) {
  .projects-editorial-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }
}

@media (min-width: 1160px) {
  .projects-editorial-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(120, 113, 205, 0.15);
}

.pc-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #0e0e1a;
}

.pc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .pc-img {
  transform: scale(1.05);
}

.pc-category-tag {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background-color: rgba(8, 8, 17, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent-violet);
}

.pc-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.pc-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.35;
}

.pc-summary {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

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

.pc-action-link {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent-gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast);
}

.project-card:hover .pc-action-link {
  gap: 10px;
}

.archive-cta-wrapper {
  text-align: center;
  margin-top: var(--space-3xl);
}

/* ==========================================================================
   SECTION 03: CREATIVE CAPABILITIES
   6 Multidisciplinary Disciplines (Not a software tool list!)
   ========================================================================== */
.capabilities-section {
  padding: var(--section-space) 0;
  background: linear-gradient(180deg, var(--bg-canvas) 0%, rgba(14, 14, 28, 0.6) 50%, var(--bg-canvas) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.disciplines-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-md);
  margin-bottom: var(--space-3xl);
}

@media (min-width: 680px) {
  .disciplines-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }
}

@media (min-width: 1080px) {
  .disciplines-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }
}

.discipline-card {
  padding: clamp(28px, 3.2vw, 38px) clamp(22px, 2.8vw, 30px);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.discipline-card::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: 30px;
  inset-inline-end: 30px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-violet), transparent);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.discipline-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-violet);
  background: var(--bg-surface-elevated);
  box-shadow: var(--shadow-violet);
}

.discipline-card:hover::before {
  opacity: 1;
}

.dc-num {
  font-family: var(--font-latin-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 16px;
}

.dc-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.dc-headline {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--accent-violet);
  line-height: 1.5;
  margin-bottom: 14px;
}

.dc-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 0;
}

.dc-deliverables-header {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 10px;
}

.dc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dc-pill {
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  font-size: 0.76rem;
  color: var(--text-secondary);
}

/* Software Mastery Secondary Dock */
.software-mastery-dock {
  padding: 24px 30px;
  border-radius: var(--radius-md);
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

.smd-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.smd-icons-dock {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.app-icon-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  transition: transform var(--transition-fast);
  border-radius: 11px;
}

.app-icon-badge svg {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.app-icon-badge:hover {
  transform: translateY(-3px) scale(1.06);
}

.app-icon-badge[data-app="Adobe Photoshop"]:hover svg {
  box-shadow: 0 8px 24px rgba(49, 168, 255, 0.4);
}

.app-icon-badge[data-app="Adobe Illustrator"]:hover svg {
  box-shadow: 0 8px 24px rgba(255, 154, 0, 0.4);
}

.app-icon-badge[data-app="Adobe Premiere Pro"]:hover svg {
  box-shadow: 0 8px 24px rgba(153, 153, 255, 0.4);
}

.app-icon-badge[data-app="Adobe After Effects"]:hover svg {
  box-shadow: 0 8px 24px rgba(207, 150, 253, 0.4);
}

.app-icon-badge[data-app="DaVinci Resolve"]:hover svg {
  box-shadow: 0 8px 24px rgba(245, 197, 66, 0.4);
}

.app-icon-badge[data-app="Figma"]:hover svg {
  box-shadow: 0 8px 24px rgba(162, 89, 255, 0.4);
}

/* Floating Tooltip */
.app-icon-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: rgba(10, 10, 22, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 20;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55);
}

.app-icon-badge:hover .app-icon-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   SECTION 05: CREATIVE DIRECTION — BEHIND THE WORK
   ========================================================================== */
.direction-section {
  padding: var(--section-space) 0;
  background: linear-gradient(180deg, var(--bg-canvas) 0%, rgba(18, 16, 38, 0.5) 50%, var(--bg-canvas) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.direction-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-md);
}

@media (min-width: 900px) {
  .direction-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }
}

.direction-card {
  padding: clamp(30px, 3.5vw, 42px) clamp(22px, 3vw, 32px);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.direction-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-violet);
  background: var(--bg-surface-elevated);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(120, 113, 205, 0.2);
}

.dir-number {
  font-family: var(--font-latin-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: var(--space-sm);
}

.dir-category {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-violet);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.dir-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  line-height: var(--lh-heading-ar);
  letter-spacing: 0;
}

html[lang="en"] .dir-title {
  line-height: var(--lh-heading-en);
  letter-spacing: -0.015em;
}

.dir-statement {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
  padding-inline-start: 14px;
  border-inline-start: 2px solid var(--accent-gold);
}

.dir-body {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
}

.dir-visual-note {
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  background: rgba(245, 197, 66, 0.08);
  border: 1px solid rgba(245, 197, 66, 0.2);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-gold);
}

/* ==========================================================================
   SECTION 06: FILMS, MOTION & CONTENT LOUNGE
   High-octane commercial motion reels & vertical narrative
   Refined spacing, clear hierarchy, balanced card proportions
   ========================================================================== */
.motion-section {
  padding: var(--section-space) 0;
  position: relative;
}

.motion-theater-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

@media (min-width: 640px) {
  .motion-theater-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }
}

@media (min-width: 1080px) {
  .motion-theater-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }
}

.motion-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.motion-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-violet);
  box-shadow: var(--shadow-lg), 0 0 35px rgba(120, 113, 205, 0.2);
}

.mc-poster-box {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 460px;
  overflow: hidden;
  background-color: #0b0b13;
  cursor: pointer;
}

.mc-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.motion-card:hover .mc-poster-img {
  transform: scale(1.06);
}

.mc-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 17, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: all var(--transition-fast);
}

.motion-card:hover .mc-play-overlay {
  opacity: 1;
  background: rgba(8, 8, 17, 0.3);
}

.mc-play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #e6af30 100%);
  color: #080811;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
  transition: transform var(--transition-fast);
}

.motion-card:hover .mc-play-btn {
  transform: scale(1.15);
}

.mc-body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  gap: var(--space-md);
}

.mc-campaign-badge {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-gold);
  letter-spacing: 0.08em;
  margin-bottom: var(--space-xs);
}

.mc-title {
  font-size: clamp(1.1rem, 1.35vw, 1.25rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  line-height: 1.35;
}

.mc-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mc-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}

.mc-insta-link {
  font-size: 0.82rem;
  color: var(--accent-violet);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Audio Visualizer Dynamic Bar Simulation */
.sound-visualizer-bar {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
}

.sound-bar-item {
  width: 3px;
  background-color: var(--accent-gold);
  border-radius: 2px;
  animation: audioBounce 1.2s infinite ease-in-out alternate;
}

.sound-bar-item:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.sound-bar-item:nth-child(2) { height: 90%; animation-delay: 0.3s; }
.sound-bar-item:nth-child(3) { height: 60%; animation-delay: 0.2s; }
.sound-bar-item:nth-child(4) { height: 100%; animation-delay: 0.4s; }

@keyframes audioBounce {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1); }
}

/* ==========================================================================
   SECTION 07: THE CREATIVE LAB
   Personal visual worlds & experimental research
   ========================================================================== */
.lab-section {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg-canvas) 0%, rgba(20, 16, 40, 0.45) 50%, var(--bg-canvas) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.lab-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 680px) {
  .lab-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.lab-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.lab-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-lg), 0 0 50px rgba(245, 197, 66, 0.15);
}

.lab-media-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #0a0a14;
}

.lab-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.lab-card:hover .lab-img {
  transform: scale(1.05);
}

.lab-badge {
  position: absolute;
  top: 16px;
  inset-inline-start: 16px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(8, 8, 17, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.lab-body {
  padding: 28px;
}

.lab-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.lab-medium {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-violet);
  margin-bottom: 12px;
}

.lab-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Global Section Badge */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background-color: rgba(245, 197, 66, 0.08);
  border: 1px solid rgba(245, 197, 66, 0.25);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: 16px;
  width: fit-content;
}

.section-badge .badge-dot,
.section-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-gold);
  box-shadow: 0 0 10px var(--accent-gold);
  flex-shrink: 0;
}

/* ==========================================================================
   SECTION 02: ABOUT / GET TO KNOW (تعرف عني)
   Aligned with the authentic old website structure & aesthetics
   ========================================================================== */
.about-section {
  padding: var(--section-space) 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

@media (max-width: 960px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

/* Image Column: Clean Framed Portrait With Ambient Glow */
.about-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-glow-circle {
  position: absolute;
  width: 85%;
  height: 85%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 197, 66, 0.2) 0%, rgba(120, 113, 205, 0.12) 50%, transparent 75%);
  filter: blur(45px);
  z-index: 0;
  pointer-events: none;
}

.about-img-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 14px;
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  width: 100%;
  max-width: 440px;
}

.about-img-box:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 197, 66, 0.45);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(245, 197, 66, 0.2);
}

.about-img-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: calc(var(--radius-xl) - 4px);
  overflow: hidden;
  background-color: #0b0b14;
}

.about-img-base {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

/* Content Column */
.about-content {
  display: flex;
  flex-direction: column;
}

.about-bio {
  font-size: clamp(0.98rem, 1.15vw, 1.06rem);
  line-height: var(--lh-relaxed);
  color: #d1d5db;
  margin-top: var(--space-sm);
  margin-bottom: var(--space-xl);
  text-align: start;
}

@media (max-width: 640px) {
  .about-bio {
    font-size: 0.96rem;
    line-height: 1.8;
  }
}

/* Stats Grid (Matching Old Site) */
.stats-grid,
.stats-triad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

@media (max-width: 580px) {
  .stats-grid,
  .stats-triad-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
}

.stat-card,
.stat-triad-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  text-align: center;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.stat-card:hover,
.stat-triad-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(245, 197, 66, 0.15);
}

.stat-number,
.stc-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-gold);
  font-family: var(--font-latin-display);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-label,
.stc-label {
  font-size: 0.88rem;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 2px;
}

.stat-sublabel,
.stc-note {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Skills & Tools Block (From Old Site) */
.about-skills-block {
  margin-bottom: 30px;
}

.skills-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.skill-chip:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: rgba(245, 197, 66, 0.08);
}

.skill-chip svg {
  color: var(--accent-gold);
}

/* Action Buttons Row */
.about-actions-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* ==========================================================================
   SECTION 09: CONTACT / START A PROJECT — EDITORIAL REDESIGN
   ========================================================================== */
.contact-section {
  padding: clamp(80px, 9vw, 136px) 0;
  background: radial-gradient(circle at 50% 0%, rgba(35, 29, 74, 0.4) 0%, var(--bg-canvas) 70%);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: 15%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(120, 113, 205, 0.12) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(50px);
}

.contact-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
  position: relative;
  z-index: 2;
}

.contact-editorial-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 5vw, 68px);
  align-items: start;
}

@media (min-width: 992px) {
  .contact-editorial-layout {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
    gap: clamp(48px, 5vw, 84px);
  }
}

/* --------------------------------------------------------------------------
   Editorial Column: Introduction & Direct Channels
   -------------------------------------------------------------------------- */
.contact-intro-col {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 48px);
}

.contact-intro-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-badge {
  margin-bottom: 16px;
}

.contact-title {
  font-family: var(--font-arabic-display);
  font-size: clamp(2.3rem, 3.8vw, 3.5rem);
  font-weight: 700;
  line-height: var(--lh-heading-ar);
  letter-spacing: 0;
  color: var(--text-primary);
  margin: 0 0 18px 0;
}

html[lang="en"] .contact-title {
  font-family: var(--font-latin-display);
  font-weight: 700;
  line-height: var(--lh-heading-en);
  letter-spacing: -0.025em;
}

.contact-desc {
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0;
}

/* Direct Contact Channels Panel */
.contact-channels-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-channels-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.channels-head-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
}

.channels-head-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border-medium), transparent);
}

html[dir="rtl"] .channels-head-line {
  background: linear-gradient(270deg, var(--border-medium), transparent);
}

.contact-channels-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Priority Channel Rows (WhatsApp & Email) */
.contact-channel-row.channel-priority {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background-color: rgba(18, 18, 34, 0.75);
  border: 1px solid var(--border-subtle);
  text-decoration: none;
  transition: all var(--transition-fast);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.channel-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.channel-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

.channel-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.channel-value-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.channel-val {
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-latin-display);
  letter-spacing: 0.02em;
}

.channel-val-gold {
  color: var(--accent-gold);
}

.channel-val-violet {
  color: var(--accent-violet);
}

.channel-arrow {
  font-size: 1rem;
  color: var(--text-muted);
  transition: transform 0.2s ease, color 0.2s ease;
  display: inline-block;
}

/* Hover feedback on priority rows */
.channel-priority.channel-wa:hover {
  border-color: rgba(245, 197, 66, 0.45);
  background-color: rgba(26, 26, 50, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 197, 66, 0.12);
}

.channel-priority.channel-wa:hover .channel-arrow {
  color: var(--accent-gold);
  transform: translate(2px, -2px);
}

html[dir="rtl"] .channel-priority.channel-wa:hover .channel-arrow {
  transform: translate(-2px, -2px);
}

.channel-priority.channel-mail:hover {
  border-color: rgba(120, 113, 205, 0.45);
  background-color: rgba(26, 26, 50, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(120, 113, 205, 0.12);
}

.channel-priority.channel-mail:hover .channel-arrow {
  color: var(--accent-violet);
  transform: translate(2px, -2px);
}

html[dir="rtl"] .channel-priority.channel-mail:hover .channel-arrow {
  transform: translate(-2px, -2px);
}

/* Secondary Social Duo */
.contact-social-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 2px;
}

.contact-channel-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background-color: rgba(14, 14, 28, 0.6);
  border: 1px solid var(--border-subtle);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.channel-sub-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.channel-sub-name {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.35;
}

.channel-sub-handle {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-family: var(--font-latin-display);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.channel-sub-arrow {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.contact-channel-sub:hover {
  border-color: var(--border-medium);
  background-color: rgba(24, 24, 46, 0.8);
  transform: translateY(-1px);
}

.contact-channel-sub:hover .channel-sub-name {
  color: var(--text-primary);
}

.contact-channel-sub:hover .channel-sub-arrow {
  color: var(--text-primary);
  transform: translate(2px, -2px);
}

html[dir="rtl"] .contact-channel-sub:hover .channel-sub-arrow {
  transform: translate(-2px, -2px);
}

/* --------------------------------------------------------------------------
   Form Column: Project Inquiry Form Panel
   -------------------------------------------------------------------------- */
.contact-form-panel {
  background: linear-gradient(160deg, rgba(20, 20, 38, 0.85) 0%, rgba(12, 12, 22, 0.95) 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  position: relative;
}

.form-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.form-panel-badge {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-badge-icon {
  font-size: 0.8rem;
}

.form-panel-status {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
  animation: contactStatusPulse 2s infinite ease-in-out;
}

@keyframes contactStatusPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.7;
  }
}

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

.form-field-label {
  display: flex;
  align-items: center;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.field-required {
  color: var(--accent-gold);
  font-size: 0.9rem;
  margin-inline-start: 4px;
}

.input-wrap {
  position: relative;
  width: 100%;
}

.form-field-input,
.form-field-textarea {
  width: 100%;
  border-radius: var(--radius-sm);
  background-color: rgba(10, 10, 20, 0.7);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  font-size: 0.94rem;
  transition: border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
}

.form-field-input {
  height: 48px;
  padding: 0 16px;
}

.form-field-textarea {
  padding: 14px 16px;
  min-height: 110px;
  resize: vertical;
  line-height: 1.6;
}

.form-field-input::placeholder,
.form-field-textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.85;
}

.form-field-input:focus,
.form-field-textarea:focus {
  border-color: var(--accent-gold);
  background-color: rgba(16, 16, 32, 0.9);
  box-shadow: 0 0 0 3px rgba(245, 197, 66, 0.15);
}

/* Error State */
.form-field-group.has-error .form-field-input,
.form-field-group.has-error .form-field-textarea,
.form-field-group.has-error .custom-select-trigger {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.field-error-msg {
  font-size: 0.78rem;
  color: #f87171;
  margin-top: 6px;
  display: none;
  line-height: 1.4;
}

.form-field-group.has-error .field-error-msg {
  display: block;
  animation: errorFadeIn 0.2s ease;
}

@keyframes errorFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   Custom Accessible Dropdown Selector
   -------------------------------------------------------------------------- */
.form-field-select-native {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  height: 0;
  width: 0;
  margin: 0;
  padding: 0;
  border: none;
}

.custom-select-box {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  background-color: rgba(10, 10, 20, 0.7);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  font-size: 0.94rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all var(--transition-fast);
  outline: none;
  text-align: start;
  font-family: inherit;
  box-sizing: border-box;
}

.custom-select-trigger:focus-visible,
.custom-select-box.is-open .custom-select-trigger {
  border-color: var(--accent-gold);
  background-color: rgba(16, 16, 32, 0.9);
  box-shadow: 0 0 0 3px rgba(245, 197, 66, 0.15);
}

.selected-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.select-chevron {
  color: var(--text-muted);
  transition: transform 0.25s ease, color 0.2s ease;
  flex-shrink: 0;
  margin-inline-start: 12px;
}

.custom-select-box.is-open .select-chevron {
  transform: rotate(180deg);
  color: var(--accent-gold);
}

.custom-select-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background-color: #121226;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05);
  z-index: 120;
  list-style: none;
  padding: 6px;
  margin: 0;
  max-height: 280px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.custom-select-box.is-open .custom-select-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.custom-option {
  padding: 11px 14px;
  border-radius: var(--radius-xs);
  font-size: 0.91rem;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: all 0.15s ease;
  outline: none;
}

.custom-option:hover,
.custom-option:focus-visible,
.custom-option.is-highlighted {
  background-color: rgba(245, 197, 66, 0.09);
  color: var(--text-primary);
}

.custom-option.is-selected {
  background-color: rgba(245, 197, 66, 0.14);
  color: var(--accent-gold);
  font-weight: 600;
}

.custom-option .option-check {
  font-size: 0.85rem;
  color: var(--accent-gold);
  opacity: 0;
  transition: opacity 0.15s ease;
  flex-shrink: 0;
}

.custom-option.is-selected .option-check {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Form Action Area & Buttons
   -------------------------------------------------------------------------- */
.form-action-area {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
}

.contact-primary-btn {
  width: 100%;
  height: 50px;
  background-color: var(--accent-gold);
  color: #080811;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 8px 24px rgba(245, 197, 66, 0.25);
  outline: none;
}

.contact-primary-btn:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(245, 197, 66, 0.35);
}

.contact-primary-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 14px rgba(245, 197, 66, 0.2);
}

.contact-primary-btn .btn-arrow {
  font-size: 1.1rem;
  transition: transform 0.2s ease;
  display: inline-block;
}

.contact-primary-btn:hover .btn-arrow {
  transform: translate(3px, -3px);
}

html[dir="rtl"] .contact-primary-btn:hover .btn-arrow {
  transform: translate(-3px, -3px);
}

.form-action-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  margin: 12px 0 16px;
  line-height: 1.5;
}

.form-secondary-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.form-secondary-link {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--radius-xs);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.form-secondary-link:hover {
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.05);
}

.action-divider {
  color: var(--text-dim);
  font-size: 0.8rem;
}

/* Transparent Handoff Feedback Banner */
.form-handoff-banner {
  margin-top: 18px;
  border-radius: var(--radius-sm);
  background-color: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 12px 16px;
  display: none;
}

.form-handoff-banner.is-visible {
  display: block;
  animation: bannerFadeIn 0.3s ease;
}

@keyframes bannerFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.banner-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #86efac;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.45;
}

.banner-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: rgba(34, 197, 94, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Mobile Stacking Behavior (< 992px)
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .contact-editorial-layout {
    display: flex;
    flex-direction: column;
    gap: 36px;
  }

  .contact-intro-col {
    display: contents;
  }

  .contact-intro-header {
    order: 1;
    width: 100%;
  }

  .contact-form-col {
    order: 2;
    width: 100%;
  }

  .contact-channels-panel {
    order: 3;
    width: 100%;
    margin-top: 8px;
  }

  .contact-form-panel {
    padding: var(--space-lg) var(--space-md);
  }

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

/* --------------------------------------------------------------------------
   Light Theme Overrides ([data-theme="light"])
   -------------------------------------------------------------------------- */
[data-theme="light"] {
  --text-shadow-hero: none;
  --text-shadow-subtle: none;
  --text-shadow-soft: none;
}

[data-theme="light"] .contact-section {
  background: radial-gradient(circle at 50% 0%, rgba(220, 225, 245, 0.5) 0%, #f8fafc 70%);
}

[data-theme="light"] .contact-form-panel {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .contact-channel-row.channel-priority {
  background-color: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .contact-channel-sub {
  background-color: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .form-field-input,
[data-theme="light"] .form-field-textarea,
[data-theme="light"] .custom-select-trigger {
  background-color: #ffffff;
  border-color: rgba(0, 0, 0, 0.14);
  color: #0f172a;
}

[data-theme="light"] .custom-select-dropdown {
  background-color: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .custom-option {
  color: #475569;
}

[data-theme="light"] .custom-option:hover,
[data-theme="light"] .custom-option:focus-visible,
[data-theme="light"] .custom-option.is-highlighted {
  background-color: rgba(245, 197, 66, 0.15);
  color: #0f172a;
}

[data-theme="light"] .contact-title {
  color: #0f172a;
}

[data-theme="light"] .contact-desc {
  color: #475569;
}

[data-theme="light"] .form-field-label {
  color: #0f172a;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .contact-channel-row,
  .contact-channel-sub,
  .contact-primary-btn,
  .status-pulse-dot,
  .custom-select-dropdown,
  .form-handoff-banner {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: clamp(52px, 6.5vw, 80px) 0 40px;
  border-top: 1px solid var(--border-subtle);
  background-color: var(--bg-canvas);
}

.footer-main-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 40px;
}

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

.footer-links-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.footer-links-row a:hover {
  color: var(--accent-gold);
}

.footer-bottom-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Scroll To Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 28px;
  inset-inline-end: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

/* ==========================================================================
   Interactive Modals & Drawers
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(4, 4, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  width: 100%;
  max-width: 1100px;
  max-height: 90vh;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), 0 0 80px rgba(120, 113, 205, 0.2);
  overflow-y: auto;
  position: relative;
  transform: scale(0.96) translateY(20px);
  transition: transform var(--transition-smooth);
}

.modal-overlay.active .modal-window {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  inset-inline-end: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 10;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: rotate(90deg);
}

/* Full Project Archive Drawer */
.archive-modal-window {
  max-width: 1280px;
  padding: 40px;
}

@media (max-width: 640px) {
  .archive-modal-window {
    padding: 24px;
  }
}

.archive-search-box {
  width: 100%;
  max-width: 600px;
  margin: 20px 0 30px;
  position: relative;
}

.archive-search-input {
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius-full);
  background-color: var(--bg-card);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
}

.archive-search-input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 20px rgba(245, 197, 66, 0.2);
}

/* Case Study Lightbox Slideshow Modal */
.slideshow-modal-window {
  max-width: 1300px;
  padding: 30px;
}

.slideshow-stage-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 70vh;
  background-color: #05050a;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slideshow-stage-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.slideshow-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(8, 8, 17, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: all var(--transition-fast);
}

.slideshow-nav-btn:hover {
  background: var(--accent-gold);
  color: #080811;
}

.slideshow-nav-prev {
  inset-inline-start: 16px;
}

.slideshow-nav-next {
  inset-inline-end: 16px;
}

/* Motion Reel Player Modal */
.reel-player-window {
  max-width: 540px;
  background-color: #06060c;
  padding: 30px;
  text-align: center;
}

.reel-player-box {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 70vh;
  margin: 0 auto 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #000;
  position: relative;
}

.reel-player-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Comprehensive Responsive Layout Refinement & Viewport Scaling
   Tested across 1920px, 1440px, 1280px, 1024px, 768px, 430px, 390px, 360px
   ========================================================================== */

/* Tablet Landscape & Small Laptops (1024px and below) */
@media (max-width: 1024px) {
  .hero-environmental-scene {
    padding: 100px 0 0;
  }
  .hero-editorial-canvas {
    padding: clamp(14px, 2vh, 24px) clamp(20px, 4vw, 48px) clamp(24px, 3vh, 36px);
  }
  .hero-editorial-split-row {
    gap: clamp(24px, 3.5vw, 44px);
  }
  .hero-primary-headline-zone {
    max-width: 52%;
  }
  .hero-editorial-headline {
    font-size: clamp(2.8rem, 5.4vw, 4.6rem);
  }
  .hero-secondary-statement-zone {
    max-width: 42%;
    margin-top: 14px;
  }
  .hero-secondary-statement {
    font-size: clamp(0.95rem, 1.15vw, 1.15rem);
    line-height: 1.55;
  }
  .hero-disciplines-bar {
    padding-top: clamp(24px, 3.5vh, 40px);
  }
  .hero-disciplines-inner {
    gap: clamp(12px, 2vw, 24px);
  }
  .disciplines-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .direction-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-memo-card {
    grid-template-columns: 1fr;
  }
  .cmc-intro {
    border-bottom: 1px solid var(--border-subtle);
    border-inline-end: none;
  }
}

/* Tablets Portrait & Foldables (768px and below) */
@media (max-width: 768px) {
  section {
    padding: var(--section-space-sm) 0;
  }

  .section-head {
    margin-bottom: clamp(28px, 4vw, 40px);
  }

  .hero-environmental-scene {
    padding: 95px 0 0;
    min-height: auto;
    height: auto;
    border-radius: 0 0 24px 24px;
  }

  .hero-editorial-canvas {
    padding: 16px 20px 28px;
    pointer-events: auto;
    min-height: auto;
  }

  .hero-editorial-split-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .hero-primary-headline-zone {
    max-width: 100%;
  }

  .hero-intro-lead {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .hero-editorial-headline {
    font-size: clamp(2.4rem, 9.2vw, 3.8rem);
    line-height: var(--lh-hero-ar);
    letter-spacing: 0;
  }
  html[dir="ltr"] .hero-editorial-headline {
    line-height: var(--lh-hero-en);
    letter-spacing: -0.025em;
  }

  .hero-secondary-statement-zone {
    max-width: 100%;
    margin-top: 0;
  }

  .hero-secondary-statement {
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-secondary-statement::before {
    margin-bottom: 10px;
  }


  .hero-disciplines-bar {
    padding-top: 20px;
    width: 100%;
  }

  .hero-disciplines-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 16px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .about-img-box {
    max-width: 380px;
  }

  .motion-theater-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .projects-editorial-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .direction-cards-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .software-mastery-dock {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }

  .footer-main-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xl);
  }

  .footer-links-row {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }
}

/* Mobile Phones (480px, 430px, 390px, 360px) */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section-title {
    font-size: clamp(1.75rem, 6.8vw, 2.3rem);
  }

  .section-subtitle {
    font-size: 0.94rem;
    line-height: 1.7;
  }

  .hero-actions-dual {
    flex-direction: column;
    width: 100%;
  }

  .btn-hero-primary,
  .btn-hero-secondary,
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .about-actions-row {
    flex-direction: column;
    width: 100%;
  }

  .about-actions-row .btn-primary,
  .about-actions-row .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .fph-meta-row {
    flex-wrap: wrap;
  }

  .fph-details-list {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .fph-actions {
    flex-direction: column;
    width: 100%;
  }

  .fph-actions .btn-primary,
  .fph-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .cmc-intro,
  .cmc-form-box {
    padding: var(--space-lg) var(--space-md);
  }

  .form-actions-row {
    flex-direction: column;
    width: 100%;
  }

  .form-actions-row button {
    width: 100%;
    justify-content: center;
  }

  .scroll-top-btn {
    bottom: 18px;
    inset-inline-end: 18px;
    width: 42px;
    height: 42px;
  }
}

/* Accessibility: Respect Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-track {
    animation: none !important;
  }
  .hero-bg-desktop,
  .mc-poster-img,
  .pc-img {
    transition: none !important;
  }
}
