/* ==========================================================================
   DALIA EBRAHIM — PREMIUM CREATIVE PORTFOLIO
   Typography, Spacing, Visual Hierarchy & Layout Refinement
   Design Direction: Refined Modern Editorial & Creative Agency Portfolio
   ========================================================================== */

:root {
  /* Core Color Identity */
  --c-forest: #10251E;
  --c-forest-dark: #0a1813;
  --c-forest-card: #153228;
  --c-forest-light: #1d4537;

  --c-emerald: #168B69;
  --c-emerald-light: #20b087;
  --c-emerald-glow: rgba(22, 139, 105, 0.3);

  --c-lime: #C7F36B;
  --c-lime-hover: #b8ea57;
  --c-lime-tint: rgba(199, 243, 107, 0.12);
  --c-lime-glow: rgba(199, 243, 107, 0.28);

  --c-offwhite: #F7F6F0;
  --c-beige: #E8E1D3;
  --c-beige-light: #f1ecdf;
  --c-beige-card: #ffffff;

  --c-charcoal: #202522;
  --c-charcoal-card: #171d1a;
  --c-charcoal-border: rgba(32, 37, 34, 0.1);

  /* Refined Text Colors */
  --text-dark: #10251E;
  --text-dark-muted: #485650;
  --text-light: #F7F6F0;
  --text-light-muted: #b0c0b8;

  /* Refined Typography System */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-editorial: 'Playfair Display', Georgia, serif;
  --font-arabic: 'Cairo', 'Plus Jakarta Sans', Tahoma, sans-serif;

  /* Aliases for consistency */
  --font-display: var(--font-heading);

  /* Elevations & Rounded Geometries */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  --shadow-subtle: 0 4px 16px rgba(16, 37, 30, 0.05);
  --shadow-card: 0 10px 30px rgba(16, 37, 30, 0.07);
  --shadow-hover: 0 20px 48px rgba(16, 37, 30, 0.13);
  --shadow-lime: 0 10px 28px rgba(199, 243, 107, 0.25);
  --shadow-emerald: 0 10px 28px rgba(22, 139, 105, 0.25);

  /* Transitions */
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-normal: 0.32s;

  /* Layout Standard */
  --container-width: 1240px;
}

/* ==========================================================================
   RESET & FOUNDATIONS
   ========================================================================== */

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

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

body {
  font-family: var(--font-body);
  background-color: var(--c-offwhite);
  color: var(--text-dark);
  line-height: 1.72;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  letter-spacing: -0.005em;
}

body.modal-open {
  overflow: hidden;
  padding-right: var(--scrollbar-pad, 0px);
}

img, svg {
  display: block;
  max-width: 100%;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 3.5vw, 2.25rem);
  padding-right: clamp(1.25rem, 3.5vw, 2.25rem);
}

/* Desktop line-break utility for intentional editorial wraps */
.desk-break {
  display: block;
}

@media (max-width: 992px) {
  .desk-break {
    display: inline;
  }
}

/* ==========================================================================
   CUSTOM CURSOR FOLLOWER
   ========================================================================== */

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--c-lime);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 999999;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s, transform 0.1s linear;
  box-shadow: 0 0 10px var(--c-lime);
}

.cursor-outline {
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(199, 243, 107, 0.6);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 999998;
  transform: translate(-50%, -50%);
  transition: width 0.25s, height 0.25s, border-color 0.25s, transform 0.15s ease-out;
}

body:hover .cursor-dot,
body:hover .cursor-outline {
  opacity: 1;
}

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

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.15rem 0;
  transition: background-color 0.35s var(--ease-smooth), padding 0.35s var(--ease-smooth), backdrop-filter 0.35s var(--ease-smooth);
}

.site-header.scrolled {
  padding: 0.75rem 0;
  background: rgba(16, 37, 30, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(199, 243, 107, 0.15);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--c-offwhite);
}

.logo-badge {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--c-lime);
  color: var(--c-forest);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px var(--c-lime-glow);
  transition: transform 0.3s var(--ease-spring);
}

.brand-logo:hover .logo-badge {
  transform: rotate(-6deg) scale(1.06);
}

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

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.brand-title {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-lime);
  font-weight: 700;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  background: rgba(255, 255, 255, 0.06);
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.site-header.scrolled .nav-menu {
  background: rgba(22, 139, 105, 0.15);
  border-color: rgba(199, 243, 107, 0.15);
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light-muted);
  position: relative;
  padding: 6px 2px;
  letter-spacing: -0.01em;
}

.nav-link:hover,
.nav-link.active {
  color: var(--c-lime);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--c-lime);
  transition: width 0.3s var(--ease-smooth), left 0.3s var(--ease-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
  left: 10%;
}

/* Header Resume Action */
.btn-nav-resume {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius-pill);
  background: var(--c-lime);
  color: var(--c-forest);
  font-family: var(--font-heading);
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 16px var(--c-lime-glow);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-smooth);
}

.btn-nav-resume:hover {
  transform: translateY(-2px);
  background: var(--c-lime-hover);
  box-shadow: 0 8px 22px var(--c-lime-glow);
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  justify-content: center;
  cursor: pointer;
  z-index: 1001;
}

.mobile-nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--c-offwhite);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ==========================================================================
   HERO SECTION — REFINED TYPOGRAPHY & ART-DIRECTED PROPORTIONS
   ========================================================================== */

.hero-section {
  position: relative;
  background: var(--c-forest);
  color: var(--c-offwhite);
  padding: clamp(7.5rem, 13vw, 9.5rem) 0 clamp(4.5rem, 7vw, 6.5rem);
  overflow: hidden;
}

/* Ambient Visual Glows */
.hero-glow-1 {
  position: absolute;
  top: -100px;
  right: -50px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 139, 105, 0.32) 0%, rgba(16, 37, 30, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: 0;
  left: -80px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 243, 107, 0.1) 0%, rgba(16, 37, 30, 0) 70%);
  filter: blur(85px);
  pointer-events: none;
}

/* Hero Grid Layout */
.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: clamp(2rem, 4.5vw, 3.5rem);
  align-items: center;
}

/* Hero Content Column */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 16px;
  background: rgba(199, 243, 107, 0.1);
  border: 1px solid rgba(199, 243, 107, 0.25);
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--c-lime);
  margin-bottom: 1.6rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-beacon {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-lime);
  box-shadow: 0 0 10px var(--c-lime);
  position: relative;
}

.status-beacon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--c-lime);
  animation: beaconPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes beaconPulse {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Refined Hero Headline: natural geometric width, no horizontal distortion */
.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.4vw, 3.85rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.headline-highlight-lime {
  color: var(--c-lime);
  display: inline-block;
  letter-spacing: -0.02em;
}

.headline-highlight-editorial,
.headline-highlight-emerald {
  color: var(--c-emerald-light);
  font-style: italic;
  font-family: var(--font-editorial);
  font-weight: 600;
  display: inline-block;
  letter-spacing: -0.01em;
}

/* Supporting Hero Copy: comfortable reading width (55–65 characters) */
.hero-supporting {
  font-size: clamp(1.025rem, 1.35vw, 1.15rem);
  line-height: 1.72;
  color: var(--text-light-muted);
  max-width: 530px;
  margin-bottom: 2.25rem;
}

.hero-supporting strong {
  color: var(--c-offwhite);
  font-weight: 600;
}

/* Hero CTA Cluster */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.9rem 2.1rem;
  border-radius: var(--radius-pill);
  background: var(--c-lime);
  color: var(--c-forest);
  font-family: var(--font-heading);
  font-size: 0.925rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 24px var(--c-lime-glow);
  position: relative;
  overflow: hidden;
}

.btn-primary-hero i {
  font-size: 0.85rem;
  transition: transform 0.3s var(--ease-spring);
}

.btn-primary-hero:hover {
  background: var(--c-lime-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--c-lime-glow);
}

.btn-primary-hero:hover i {
  transform: translateX(4px);
}

.btn-secondary-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.9rem 1.85rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--c-offwhite);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  backdrop-filter: blur(10px);
}

.btn-secondary-hero:hover {
  background: rgba(22, 139, 105, 0.25);
  border-color: var(--c-emerald-light);
  color: var(--c-lime);
  transform: translateY(-2px);
}

/* Hero Micro Stats Bar */
.hero-micro-stats {
  display: flex;
  gap: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.micro-stat-item {
  display: flex;
  flex-direction: column;
}

.micro-stat-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--c-lime);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.micro-stat-label {
  font-size: 0.775rem;
  color: var(--text-light-muted);
  margin-top: 4px;
  font-weight: 500;
}

/* Hero Visual Artboard (Right Column) */
.hero-visual-artboard {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 0;
}

.hero-main-card {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(145deg, var(--c-forest-card) 0%, var(--c-charcoal-card) 100%);
  border: 1px solid rgba(199, 243, 107, 0.22);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45), 0 0 35px rgba(22, 139, 105, 0.18);
  position: relative;
  z-index: 2;
  transform: rotate(0.8deg);
  transition: transform 0.5s var(--ease-spring);
}

.hero-main-card:hover {
  transform: rotate(0deg) scale(1.02);
}

/* Social Media Card Header */
.card-user-row {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 1.35rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.user-avatar-circle {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--c-emerald) 0%, var(--c-forest) 100%);
  border: 2px solid var(--c-lime);
  color: var(--c-lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 4px 14px var(--c-lime-glow);
}

.user-meta-info {
  display: flex;
  flex-direction: column;
}

.user-full-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--c-offwhite);
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.user-tagline {
  font-size: 0.75rem;
  color: var(--c-lime);
  font-weight: 600;
}

/* Card Mock Body */
.card-strategy-preview {
  background: rgba(16, 37, 30, 0.7);
  border-radius: var(--radius-sm);
  padding: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.15rem;
}

.preview-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}

.badge-tag {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: var(--c-lime-tint);
  color: var(--c-lime);
  border: 1px solid rgba(199, 243, 107, 0.3);
}

.preview-title-snippet {
  font-family: var(--font-heading);
  font-size: 0.925rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.preview-matrix-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.matrix-bar-item {
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
}

.matrix-bar-fill-1 {
  width: 85%;
  height: 100%;
  background: linear-gradient(90deg, var(--c-emerald) 0%, var(--c-lime) 100%);
}

.matrix-bar-fill-2 {
  width: 65%;
  height: 100%;
  background: var(--c-lime);
}

.matrix-bar-fill-3 {
  width: 90%;
  height: 100%;
  background: var(--c-emerald-light);
}

/* Floating Stickers on Artboard */
.floating-sticker {
  position: absolute;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.785rem;
  font-weight: 700;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.sticker-1 {
  top: 8%;
  right: -5%;
  background: rgba(199, 243, 107, 0.95);
  color: var(--c-forest);
  border: 1px solid var(--c-lime);
  animation: floatSlow 5s ease-in-out infinite;
}

.sticker-2 {
  bottom: 8%;
  left: -8%;
  background: rgba(22, 139, 105, 0.92);
  color: #ffffff;
  border: 1px solid rgba(199, 243, 107, 0.4);
  animation: floatSlow 6s ease-in-out infinite 1.5s;
}

.sticker-3 {
  top: 60%;
  right: -10%;
  background: rgba(32, 37, 34, 0.92);
  color: var(--c-lime);
  border: 1px solid rgba(199, 243, 107, 0.3);
  animation: floatSlow 5.5s ease-in-out infinite 0.75s;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1.5deg); }
}

/* Circular Rotating Badge */
.rotating-stamp {
  position: absolute;
  top: -25px;
  left: -25px;
  width: 105px;
  height: 105px;
  z-index: 4;
  animation: rotateStamp 22s linear infinite;
  pointer-events: none;
}

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

/* ==========================================================================
   MARQUEE TICKER
   ========================================================================== */

.marquee-strip {
  background: var(--c-lime);
  color: var(--c-forest);
  padding: 0.9rem 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(16, 37, 30, 0.1);
  border-bottom: 1px solid rgba(16, 37, 30, 0.1);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeRoll 28s linear infinite;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  padding-right: 2.25rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.marquee-content span.star-divider {
  color: var(--c-emerald);
  font-size: 0.8rem;
}

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

/* ==========================================================================
   SECTION HEADER (GLOBAL HIERARCHY SYSTEM)
   ========================================================================== */

.section-head {
  margin-bottom: clamp(2.5rem, 4.5vw, 3.75rem);
}

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

.section-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-emerald);
  margin-bottom: 0.75rem;
}

.section-tagline::before {
  content: '';
  width: 16px;
  height: 2px;
  background: var(--c-lime);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.95rem, 3.2vw, 2.65rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--c-forest);
}

.section-title.text-light {
  color: var(--c-offwhite);
}

.section-desc {
  font-size: 1.05rem;
  line-height: 1.68;
  color: var(--text-dark-muted);
  margin-top: 0.85rem;
  max-width: 620px;
}

.section-desc.text-light {
  color: var(--text-light-muted);
}

/* ==========================================================================
   MY WORK — CREATIVE PORTFOLIO SHOWCASE
   ========================================================================== */

.work-showcase-section {
  padding: clamp(4.75rem, 7.5vw, 6.75rem) 0;
  background: var(--c-offwhite);
  position: relative;
}

/* Filter Controls */
.work-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.work-filter-btn {
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-pill);
  background: var(--c-beige-card);
  border: 1px solid var(--c-charcoal-border);
  color: var(--text-dark-muted);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: var(--shadow-subtle);
  transition: all 0.3s var(--ease-spring);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.work-filter-btn .filter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 50%;
  background: rgba(16, 37, 30, 0.08);
  font-size: 0.725rem;
  font-weight: 800;
}

.work-filter-btn:hover {
  border-color: var(--c-emerald);
  color: var(--c-forest);
  transform: translateY(-2px);
}

.work-filter-btn.active {
  background: var(--c-forest);
  color: var(--c-lime);
  border-color: var(--c-forest);
  box-shadow: 0 6px 20px rgba(16, 37, 30, 0.18);
}

.work-filter-btn.active .filter-badge {
  background: var(--c-lime);
  color: var(--c-forest);
}

/* Portfolio Bento Showcase Grid */
.work-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2.25rem);
}

.project-card {
  background: var(--c-beige-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-charcoal-border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-smooth), border-color 0.4s var(--ease-smooth);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(22, 139, 105, 0.4);
}

.project-card.featured-card {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}

.project-card.standard-card {
  grid-column: span 6;
}

/* Project Media Frame */
.project-media-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #141b18;
  aspect-ratio: 16 / 9;
  cursor: pointer;
}

.project-media-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-smooth);
}

.project-media-wrap canvas.pdf-canvas-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.4s ease, transform 0.7s var(--ease-smooth);
}

.project-card:hover .project-media-wrap img,
.project-card:hover .project-media-wrap canvas {
  transform: scale(1.05);
}

.media-floating-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  background: rgba(16, 37, 30, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(199, 243, 107, 0.3);
  color: var(--c-lime);
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}

.media-hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 37, 30, 0.25) 0%, rgba(16, 37, 30, 0.88) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s var(--ease-smooth);
  z-index: 3;
}

.project-card:hover .media-hover-overlay {
  opacity: 1;
}

.overlay-action-pill {
  padding: 0.7rem 1.6rem;
  background: var(--c-lime);
  color: var(--c-forest);
  font-family: var(--font-heading);
  font-size: 0.885rem;
  font-weight: 800;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 22px var(--c-lime-glow);
  transform: translateY(10px);
  transition: transform 0.35s var(--ease-spring);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.project-card:hover .overlay-action-pill {
  transform: translateY(0);
}

/* Project Card Info Body */
.project-body {
  padding: clamp(1.6rem, 3vw, 2.35rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.project-meta-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.project-number {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--c-emerald);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-category-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--c-emerald);
}

.project-title {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: var(--c-forest);
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-bottom: 0.4rem;
  transition: color 0.3s;
}

.project-card:hover .project-title {
  color: var(--c-emerald);
}

.project-title-arabic {
  font-family: var(--font-arabic);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-emerald);
  margin-bottom: 1rem;
  direction: rtl;
  text-align: right;
  line-height: 1.5;
}

.project-description {
  font-size: 0.935rem;
  color: var(--text-dark-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 60ch;
}

/* Strategic Deliverable Tags */
.project-deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 1.75rem;
}

.deliverable-chip {
  padding: 4px 11px;
  background: var(--c-beige-light);
  border: 1px solid var(--c-charcoal-border);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* Action Button Group */
.project-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.btn-view-project {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1.45rem;
  background: var(--c-forest);
  color: var(--c-lime);
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 14px rgba(16, 37, 30, 0.16);
  transition: all 0.3s var(--ease-spring);
}

.btn-view-project:hover {
  background: var(--c-emerald);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-emerald);
}

.btn-download-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--c-charcoal-border);
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  background: transparent;
}

.btn-download-link:hover {
  background: var(--c-beige);
  border-color: var(--c-forest);
  color: var(--c-forest);
}

/* ==========================================================================
   SERVICES — "WHAT I CAN DO FOR YOUR BRAND"
   ========================================================================== */

.services-section {
  padding: clamp(4.75rem, 7.5vw, 6.75rem) 0;
  background: var(--c-forest);
  color: var(--c-offwhite);
  position: relative;
  overflow: hidden;
}

.services-glow {
  position: absolute;
  top: 30%;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 243, 107, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.services-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 2.2vw, 2rem);
}

.service-card {
  background: rgba(21, 50, 40, 0.55);
  border: 1px solid rgba(199, 243, 107, 0.15);
  border-radius: var(--radius-md);
  padding: clamp(1.85rem, 3vw, 2.35rem);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  transition: all 0.35s var(--ease-spring);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--c-lime) 0%, var(--c-emerald) 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  background: rgba(21, 50, 40, 0.85);
  border-color: rgba(199, 243, 107, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28), 0 0 25px rgba(199, 243, 107, 0.08);
}

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

.service-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.65rem;
}

.service-index {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--c-lime);
  letter-spacing: -0.01em;
}

.service-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--c-lime-tint);
  border: 1px solid rgba(199, 243, 107, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-lime);
  font-size: 1.25rem;
  transition: transform 0.3s var(--ease-spring);
}

.service-card:hover .service-icon-box {
  transform: scale(1.08) rotate(4deg);
  background: var(--c-lime);
  color: var(--c-forest);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.28;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.service-description {
  font-size: 0.915rem;
  line-height: 1.68;
  color: var(--text-light-muted);
  flex: 1;
}

/* ==========================================================================
   ABOUT ME & JOURNEY (BALANCED EDITORIAL PROPORTIONS)
   ========================================================================== */

.about-editorial-section {
  padding: clamp(4.75rem, 7.5vw, 6.75rem) 0;
  background: var(--c-offwhite);
  position: relative;
}

.about-editorial-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

/* Specific About Heading Refinement: natural width, clean line breaks */
.about-text-column .section-title {
  font-size: clamp(1.85rem, 2.9vw, 2.5rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  max-width: 540px;
  margin-bottom: 1.5rem;
}

/* Refined Quote Block */
.about-quote-box {
  background: var(--c-beige-light);
  border-left: 3px solid var(--c-emerald);
  padding: 1.5rem 1.85rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 1.65rem;
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--c-forest);
  line-height: 1.65;
  max-width: 560px;
}

.about-narrative {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  font-size: 0.975rem;
  line-height: 1.75;
  color: var(--text-dark-muted);
  max-width: 560px;
}

.about-narrative p strong {
  color: var(--c-forest);
  font-weight: 700;
}

/* Visual Journey Timeline Card */
.journey-timeline-card {
  background: var(--c-forest);
  border-radius: var(--radius-xl);
  padding: clamp(1.85rem, 3.5vw, 2.75rem);
  color: var(--c-offwhite);
  box-shadow: var(--shadow-hover);
  border: 1px solid rgba(199, 243, 107, 0.2);
  position: relative;
}

.timeline-card-header {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 11px;
  letter-spacing: -0.015em;
}

.timeline-card-header i {
  color: var(--c-lime);
}

.journey-step-list {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  position: relative;
}

.journey-step-list::before {
  content: '';
  position: absolute;
  top: 15px;
  bottom: 15px;
  left: 18px;
  width: 2px;
  background: rgba(199, 243, 107, 0.25);
}

.journey-step-item {
  display: flex;
  gap: 1.25rem;
  position: relative;
  z-index: 2;
}

.step-node {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--c-forest-card);
  border: 2px solid var(--c-lime);
  color: var(--c-lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.875rem;
  flex-shrink: 0;
  box-shadow: 0 0 12px var(--c-lime-glow);
}

.step-content h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.step-content p {
  font-size: 0.875rem;
  color: var(--text-light-muted);
  line-height: 1.62;
}

/* ==========================================================================
   SKILLS & CREATIVE EXPERTISE
   ========================================================================== */

.skills-creative-section {
  padding: clamp(4.75rem, 7.5vw, 6.75rem) 0;
  background: var(--c-beige-light);
  position: relative;
}

.skills-cluster-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 2.5vw, 2rem);
}

.skill-category-box {
  background: var(--c-beige-card);
  border-radius: var(--radius-md);
  padding: clamp(1.75rem, 2.8vw, 2.25rem);
  border: 1px solid var(--c-charcoal-border);
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s;
}

.skill-category-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--c-emerald);
}

.skill-cat-head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 1.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 2px solid var(--c-beige-light);
}

.skill-cat-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(22, 139, 105, 0.1);
  color: var(--c-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.skill-cat-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--c-forest);
  letter-spacing: -0.01em;
}

.skill-tags-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--c-offwhite);
  border: 1px solid var(--c-charcoal-border);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--c-forest);
  letter-spacing: -0.005em;
  transition: all 0.25s var(--ease-spring);
}

.skill-pill-tag::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-emerald);
}

.skill-pill-tag:hover {
  background: var(--c-forest);
  color: var(--c-lime);
  border-color: var(--c-forest);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 37, 30, 0.15);
}

.skill-pill-tag:hover::before {
  background: var(--c-lime);
}

/* ==========================================================================
   PROFESSIONAL EXPERIENCE & ACHIEVEMENTS
   ========================================================================== */

.experience-impact-section {
  padding: clamp(4.75rem, 7.5vw, 6.75rem) 0;
  background: var(--c-forest);
  color: var(--c-offwhite);
  position: relative;
}

.exp-impact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 4.5vw, 3.75rem);
  align-items: start;
}

/* Experience Card */
.agency-exp-card {
  background: rgba(21, 50, 40, 0.6);
  border: 1px solid rgba(199, 243, 107, 0.2);
  border-radius: var(--radius-lg);
  padding: clamp(1.85rem, 3.5vw, 2.75rem);
  backdrop-filter: blur(12px);
}

.exp-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.exp-role-title {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.015em;
}

.exp-duration-tag {
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: var(--c-lime);
  color: var(--c-forest);
  font-family: var(--font-heading);
  font-size: 0.785rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px var(--c-lime-glow);
}

.exp-company-sub {
  font-size: 0.975rem;
  color: var(--c-lime);
  font-weight: 700;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.responsibilities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.resp-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(16, 37, 30, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
  line-height: 1.6;
  color: var(--text-light-muted);
}

.resp-item i {
  color: var(--c-lime);
  font-size: 0.85rem;
  margin-top: 5px;
}

/* Impact Highlights Column */
.achievements-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.achievement-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  display: flex;
  gap: 1.15rem;
  transition: all 0.35s var(--ease-spring);
}

.achievement-card:hover {
  background: rgba(22, 139, 105, 0.22);
  border-color: var(--c-emerald-light);
  transform: translateX(5px);
}

.achieve-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--c-lime-tint);
  border: 1px solid rgba(199, 243, 107, 0.3);
  color: var(--c-lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.achieve-text h4 {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}

.achieve-text p {
  font-size: 0.875rem;
  color: var(--text-light-muted);
  line-height: 1.62;
}

/* ==========================================================================
   CREATIVE APPROACH (01 TO 04 HORIZONTAL PROCESS)
   ========================================================================== */

.approach-section {
  padding: clamp(4.75rem, 7.5vw, 6.75rem) 0;
  background: var(--c-offwhite);
  position: relative;
}

.approach-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.approach-card {
  background: var(--c-beige-card);
  border: 1px solid var(--c-charcoal-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow-card);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s;
}

.approach-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--c-emerald);
}

.approach-number {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--c-emerald);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.approach-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--c-forest);
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.approach-desc {
  font-size: 0.9rem;
  color: var(--text-dark-muted);
  line-height: 1.65;
}

/* ==========================================================================
   CONTACT SECTION & FOOTER
   ========================================================================== */

.contact-section {
  padding: clamp(4.75rem, 7.5vw, 7.25rem) 0 2.5rem;
  background: var(--c-forest);
  color: var(--c-offwhite);
  position: relative;
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  margin-bottom: 4.5rem;
}

.contact-lead-column .section-title {
  margin-bottom: 1rem;
}

.contact-lead-column .section-desc {
  margin-bottom: 2.25rem;
  font-size: 1.1rem;
}

.contact-direct-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 2rem;
}

.direct-contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.direct-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(199, 243, 107, 0.1);
  border: 1px solid rgba(199, 243, 107, 0.25);
  color: var(--c-lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.direct-text-info {
  display: flex;
  flex-direction: column;
}

.direct-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light-muted);
  font-weight: 700;
}

.direct-value {
  font-size: 1.025rem;
  font-weight: 700;
  color: #ffffff;
}

.direct-value:hover {
  color: var(--c-lime);
}

/* Contact Form */
.contact-form-box {
  background: var(--c-charcoal-card);
  border: 1px solid rgba(199, 243, 107, 0.25);
  border-radius: var(--radius-lg);
  padding: clamp(1.85rem, 3.5vw, 2.65rem);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--c-lime);
  margin-bottom: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: rgba(16, 37, 30, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.925rem;
  line-height: 1.5;
  transition: all 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--c-lime);
  background: rgba(16, 37, 30, 0.9);
  box-shadow: 0 0 15px var(--c-lime-glow);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.btn-submit-contact {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.95rem 2rem;
  background: var(--c-lime);
  color: var(--c-forest);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px var(--c-lime-glow);
  transition: all 0.3s var(--ease-spring);
}

.btn-submit-contact:hover {
  background: var(--c-lime-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--c-lime-glow);
}

.form-status-msg {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  display: none;
  text-align: center;
}

.form-status-msg.success {
  display: block;
  color: var(--c-lime);
}

/* Footer Bottom Bar */
.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 1.75rem;
}

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

.footer-copy strong {
  color: var(--c-offwhite);
}

.footer-links-row {
  display: flex;
  gap: 1.5rem;
}

.footer-links-row a {
  font-size: 0.825rem;
  color: var(--text-light-muted);
}

.footer-links-row a:hover {
  color: var(--c-lime);
}

/* ==========================================================================
   EMBEDDED PDF VIEWER MODAL
   ========================================================================== */

.pdf-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(10, 24, 19, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-smooth), visibility 0.35s var(--ease-smooth);
}

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

.pdf-modal-box {
  width: 95vw;
  max-width: 1380px;
  height: 92vh;
  background: var(--c-charcoal-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(199, 243, 107, 0.35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 50px rgba(22, 139, 105, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.96) translateY(20px);
  transition: transform 0.4s var(--ease-smooth);
}

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

.pdf-modal-box.is-fullscreen {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  border-radius: 0;
  border: none;
}

/* Modal Header */
.pdf-modal-top {
  height: 68px;
  background: var(--c-forest);
  border-bottom: 1px solid rgba(199, 243, 107, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.6rem;
  flex-shrink: 0;
  color: #ffffff;
}

.modal-doc-meta {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.modal-pdf-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(199, 243, 107, 0.12);
  color: var(--c-lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.modal-text-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.modal-title-heading {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.modal-sub-details {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.775rem;
  color: var(--text-light-muted);
}

.modal-category-text {
  color: var(--c-lime);
  font-weight: 700;
}

/* Modal Controls */
.modal-actions-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.modal-btn-tool {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
}

.modal-btn-tool:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--c-lime);
  color: var(--c-lime);
}

.modal-btn-tool.btn-highlight-dl {
  background: var(--c-lime);
  color: var(--c-forest);
  border-color: var(--c-lime);
}

.modal-btn-tool.btn-highlight-dl:hover {
  background: var(--c-lime-hover);
  box-shadow: 0 0 16px var(--c-lime-glow);
}

.modal-btn-close {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.modal-btn-close:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
  transform: rotate(90deg);
}

/* Modal Body */
.pdf-modal-viewer-body {
  position: relative;
  flex: 1;
  background: #1b1e1d;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-loading-gate {
  position: absolute;
  inset: 0;
  background: var(--c-forest-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  color: #ffffff;
  z-index: 10;
  transition: opacity 0.3s ease;
}

.modal-loading-gate.hidden {
  opacity: 0;
  pointer-events: none;
}

.gate-spinner {
  width: 46px;
  height: 46px;
  border: 3px solid rgba(199, 243, 107, 0.2);
  border-top-color: var(--c-lime);
  border-radius: 50%;
  animation: spinLoader 0.8s linear infinite;
}

@keyframes spinLoader {
  to { transform: rotate(360deg); }
}

.pdf-active-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #2b2b2b;
}

/* Secondary Continuous Slide Stream */
.slide-stream-deck {
  display: none;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding: 2rem 1.5rem;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  background: #151817;
}

.slide-stream-deck.active {
  display: flex;
}

.stream-slide-card {
  max-width: 1000px;
  width: 100%;
  background: #000;
  border-radius: 10px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.stream-slide-card canvas {
  width: 100%;
  height: auto;
  display: block;
}

.stream-slide-caption {
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.85);
  color: var(--c-lime);
  font-family: var(--font-heading);
  font-size: 0.775rem;
  font-weight: 700;
  text-align: right;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Modal Bottom Toolbar */
.pdf-modal-bottom-bar {
  height: 42px;
  background: var(--c-forest);
  border-top: 1px solid rgba(199, 243, 107, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.6rem;
  font-size: 0.775rem;
  color: var(--text-light-muted);
}

.btn-toggle-stream {
  color: var(--c-lime);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.btn-toggle-stream:hover {
  color: #ffffff;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */

.reveal-fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease-smooth), transform 0.75s var(--ease-smooth);
}

.reveal-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced Motion Support */
@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;
  }
  .reveal-fade-up {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   RESPONSIVE LAYOUT & BREAKPOINTS
   ========================================================================== */

@media (max-width: 1200px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-visual-artboard {
    max-width: 440px;
    margin: 0 auto;
  }
  .services-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .skills-cluster-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .approach-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .nav-menu, .nav-actions {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .project-card.featured-card {
    grid-template-columns: 1fr;
  }
  .project-card.standard-card {
    grid-column: span 12;
  }
  .about-editorial-grid {
    grid-template-columns: 1fr;
    gap: 3.25rem;
  }
  .about-text-column .section-title,
  .about-narrative,
  .about-quote-box {
    max-width: 100%;
  }
  .exp-impact-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }
}

@media (max-width: 768px) {
  .services-bento-grid {
    grid-template-columns: 1fr;
  }
  .skills-cluster-grid {
    grid-template-columns: 1fr;
  }
  .approach-steps-grid {
    grid-template-columns: 1fr;
  }
  .hero-micro-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .pdf-modal-box {
    width: 100vw;
    height: 98vh;
    border-radius: var(--radius-sm);
  }
  .pdf-modal-top {
    height: 58px;
    padding: 0 1rem;
  }
  .modal-btn-tool span {
    display: none;
  }
  .modal-btn-tool {
    padding: 0.5rem;
  }
  .footer-bottom-row {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
}
