/* ==============================================================================
   ANAS FARAH - EDITORIAL PORTFOLIO DESIGN SYSTEM
   Swiss Typography (Inter) | Floating Pill Glass Navbar | Light & Dark Modes
   Clean, Understated, High-Retention Portfolio
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* -----------------------------------------------------------------------------
   THEME VARIABLES: LIGHT MODE (DEFAULT)
   ----------------------------------------------------------------------------- */
:root {
  --bg-main: #FBFBFC;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #F4F4F6;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8F9FA;
  --border-color: #E5E7EB;
  --border-color-hover: #D1D5DB;

  --text-title: #111827;
  --text-body: #4B5563;
  --text-muted: #6B7280;

  --accent-gold: #B45309;
  --accent-gold-bg: rgba(180, 83, 9, 0.08);
  --accent-gold-border: rgba(180, 83, 9, 0.22);
  --accent-red: #DC2626;

  /* Floating Pill Navbar: Highly Transparent Glass */
  --nav-bg: rgba(255, 255, 255, 0.22);
  --nav-border: rgba(0, 0, 0, 0.08);
  --nav-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.06), inset 0 1px 1px 0 rgba(255, 255, 255, 0.85);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 12px 28px -4px rgba(0, 0, 0, 0.08);

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --trans-fast: 0.15s ease;
  --trans-smooth: 0.25s ease;
}

/* -----------------------------------------------------------------------------
   THEME VARIABLES: DARK ROOM MODE (.dark-theme)
   ----------------------------------------------------------------------------- */
body.dark-theme {
  --bg-main: #0B0E14;
  --bg-surface: #121620;
  --bg-surface-elevated: #181E2C;
  --bg-card: #131722;
  --bg-card-hover: #191E2D;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-hover: rgba(255, 255, 255, 0.16);

  --text-title: #F9FAFB;
  --text-body: #9CA3AF;
  --text-muted: #6B7280;

  --accent-gold: #F59E0B;
  --accent-gold-bg: rgba(245, 158, 11, 0.12);
  --accent-gold-border: rgba(245, 158, 11, 0.28);
  --accent-red: #EF4444;

  /* Floating Pill Navbar Dark: Highly Transparent Glass */
  --nav-bg: rgba(11, 14, 20, 0.35);
  --nav-border: rgba(255, 255, 255, 0.12);
  --nav-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.6), inset 0 1px 1px 0 rgba(255, 255, 255, 0.08);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.6);
  --shadow-hover: 0 18px 40px -10px rgba(0, 0, 0, 0.85);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--trans-smooth), color var(--trans-smooth);
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* -----------------------------------------------------------------------------
   FLOATING PILL NAVBAR (HIGHLY TRANSPARENT WITH BLUR)
   ----------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: fit-content;
  max-width: calc(100% - 32px);
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--nav-border);
  border-radius: 9999px;
  padding: 0.35rem 0.65rem 0.35rem 1.4rem;
  box-shadow: var(--nav-shadow);
  transition: all var(--trans-smooth);
}
.navbar.scrolled {
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.1), inset 0 1px 1px 0 rgba(255, 255, 255, 0.9);
}
body.dark-theme .navbar.scrolled {
  box-shadow: 0 20px 42px -10px rgba(0, 0, 0, 0.75), inset 0 1px 1px 0 rgba(255, 255, 255, 0.1);
}

.nav-pill-inner,
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.8rem;
  height: 42px;
}

/* Brand Name - Clean, Pure Text */
.nav-brand {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-title);
  transition: var(--trans-fast);
}
.nav-brand:hover .brand-name {
  color: var(--accent-gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}
.nav-link {
  color: var(--text-body);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  transition: var(--trans-fast);
}
.nav-link:hover {
  color: var(--text-title);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Pill Theme Switcher */
.theme-toggle-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-title);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--trans-fast);
  font-size: 0.95rem;
}
.theme-toggle-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.btn-nav-cta {
  background: var(--text-title);
  color: var(--bg-main);
  padding: 0.45rem 1.05rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.82rem;
  text-decoration: none;
  transition: var(--trans-fast);
}
.btn-nav-cta:hover {
  opacity: 0.88;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-title);
  font-size: 1.4rem;
  cursor: pointer;
}

/* -----------------------------------------------------------------------------
   HERO SECTION (UNDERSTATED, CLEAN, PROFESSIONAL)
   ----------------------------------------------------------------------------- */
.hero-section {
  padding: 140px 0 75px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  background: var(--accent-gold-bg);
  border: 1px solid var(--accent-gold-border);
  color: var(--accent-gold);
  font-size: 0.76rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.pulse-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gold);
}

.hero-headline {
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-title);
  margin-bottom: 1.1rem;
}
.hero-headline span.headline-accent {
  color: var(--accent-gold);
}

.hero-lead-text {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.68;
  margin-bottom: 1.85rem;
  max-width: 580px;
}
.hero-lead-text strong {
  color: var(--text-title);
  font-weight: 600;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 2.4rem;
}
.btn-primary-action {
  background: var(--text-title);
  color: var(--bg-main);
  padding: 0.7rem 1.45rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--trans-fast);
}
.btn-primary-action:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.btn-secondary-action {
  background: var(--bg-surface);
  color: var(--text-title);
  padding: 0.7rem 1.45rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--trans-fast);
}
.btn-secondary-action:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-1px);
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border-color);
}
.hero-stat-item {
  display: flex;
  flex-direction: column;
}
.hero-stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hero-stat-label {
  font-size: 0.74rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
  font-weight: 500;
}

/* Hero Artwork Card */
.hero-artwork-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  position: relative;
}
.hero-svg-wrapper {
  width: 100%;
  height: 240px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.hero-svg-element {
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
}
.hero-card-footer-tags {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0.9rem;
  background: var(--bg-surface-elevated);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  font-size: 0.78rem;
  color: var(--text-muted);
}
.hero-card-footer-tags strong {
  color: var(--text-title);
}

/* -----------------------------------------------------------------------------
   SECTIONS GENERAL
   ----------------------------------------------------------------------------- */
.section-wrapper {
  padding: 80px 0;
  position: relative;
}
.section-header-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.section-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--accent-gold-bg);
  padding: 0.28rem 0.8rem;
  border-radius: 100px;
  border: 1px solid var(--accent-gold-border);
  margin-bottom: 0.8rem;
}
.section-heading-h2 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-title);
  margin-bottom: 0.75rem;
}
.section-subtext {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* -----------------------------------------------------------------------------
   PODCAST SHOWCASE (AUTHENTIC DEMO)
   ----------------------------------------------------------------------------- */
.flagship-container-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-card);
}
.flagship-layout-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2.25rem;
  align-items: start;
}

.video-theater-box {
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border-color);
}

.theater-aspect-16-9 {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  transition: var(--trans-smooth);
}
.theater-aspect-9-16 {
  position: relative;
  padding-bottom: 135%;
  height: 0;
  max-width: 360px;
  margin: 0 auto;
  transition: var(--trans-smooth);
}
.theater-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.theater-subbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--bg-surface-elevated);
  border-top: 1px solid var(--border-color);
}
.theater-live-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}

.switcher-tab-buttons {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.85rem;
  flex-wrap: wrap;
}
.podcast-tab-btn,
.vodcast-tab-btn {
  background: var(--bg-surface);
  color: var(--text-body);
  border: 1px solid var(--border-color);
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--trans-fast);
}
.podcast-tab-btn:hover,
.vodcast-tab-btn:hover {
  border-color: var(--border-color-hover);
  color: var(--text-title);
}
.podcast-tab-btn.active,
.vodcast-tab-btn.active {
  background: var(--text-title);
  color: var(--bg-main);
  border-color: var(--text-title);
  font-weight: 600;
}

.flagship-details-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.flagship-title-h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.25;
}

.flagship-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.flagship-chip {
  background: var(--bg-surface-elevated);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.76rem;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  font-weight: 500;
}

.flagship-description-p {
  color: var(--text-body);
  font-size: 0.9rem;
  line-height: 1.65;
}

.flagship-points-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.point-card {
  display: flex;
  gap: 0.75rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
}
.point-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--accent-gold-bg);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}
.point-text h4 {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 0.15rem;
}
.point-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* -----------------------------------------------------------------------------
   EDITING APPROACH / RETENTION BLUEPRINT
   ----------------------------------------------------------------------------- */
.retention-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.retention-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow-card);
  transition: var(--trans-smooth);
}
.retention-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-color-hover);
}
.retention-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-gold);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.retention-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 0.4rem;
}
.retention-card p {
  font-size: 0.82rem;
  color: var(--text-body);
  line-height: 1.5;
}

/* -----------------------------------------------------------------------------
   POST-PRODUCTION SUITE (3 SVGS)
   ----------------------------------------------------------------------------- */
.production-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.production-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: var(--trans-smooth);
  display: flex;
  flex-direction: column;
}
.production-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-color-hover);
}
.production-art-frame {
  height: 170px;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
}
.production-art-img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
}
.production-card-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.production-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 0.4rem;
}
.production-card p {
  font-size: 0.84rem;
  color: var(--text-body);
  line-height: 1.55;
}

/* -----------------------------------------------------------------------------
   PORTFOLIO GALLERY (FILTER TABS & REAL THUMBNAILS)
   ----------------------------------------------------------------------------- */
.portfolio-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-tab-pill {
  background: var(--bg-surface);
  color: var(--text-body);
  border: 1px solid var(--border-color);
  padding: 0.45rem 1rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--trans-fast);
}
.filter-tab-pill:hover {
  border-color: var(--border-color-hover);
  color: var(--text-title);
}
.filter-tab-pill.active {
  background: var(--text-title);
  color: var(--bg-main);
  font-weight: 600;
  border-color: var(--text-title);
}

.portfolio-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.6rem;
}
.video-showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--trans-smooth);
  display: flex;
  flex-direction: column;
}
.video-showcase-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-color-hover);
  box-shadow: var(--shadow-hover);
}

.card-thumbnail-box {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
  overflow: hidden;
}
.card-thumbnail-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-smooth);
}
.video-showcase-card:hover .card-thumbnail-img {
  transform: scale(1.03);
}

.thumbnail-overlay-hover {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--trans-fast);
}
.video-showcase-card:hover .thumbnail-overlay-hover {
  opacity: 1;
}
.play-btn-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #FFF;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.thumbnail-badge-row {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}
.badge-category {
  font-size: 0.68rem;
  font-weight: 600;
  color: #FFF;
  background: rgba(0, 0, 0, 0.75);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.card-content-body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-content-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}
.card-client-tag {
  font-size: 0.8rem;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 0.65rem;
}
.card-desc-text {
  font-size: 0.84rem;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}
.card-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.mini-pill {
  font-size: 0.7rem;
  color: var(--text-muted);
  background: var(--bg-surface-elevated);
  padding: 0.18rem 0.45rem;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}
.card-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
}
.btn-watch-project {
  background: var(--bg-surface-elevated);
  color: var(--text-title);
  border: 1px solid var(--border-color);
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--trans-fast);
}
.btn-watch-project:hover {
  background: var(--text-title);
  color: var(--bg-main);
}
.link-external-drive {
  color: var(--text-muted);
  font-size: 0.78rem;
  text-decoration: none;
}
.link-external-drive:hover {
  color: var(--text-title);
}

/* -----------------------------------------------------------------------------
   TOOLKIT
   ----------------------------------------------------------------------------- */
.toolkit-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.toolkit-info-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}
.toolkit-info-box h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 0.5rem;
}
.toolkit-info-box p {
  font-size: 0.82rem;
  color: var(--text-body);
  margin-bottom: 1rem;
}
.toolkit-items-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-title);
}

/* -----------------------------------------------------------------------------
   CONTACT SECTION
   ----------------------------------------------------------------------------- */
.hire-callout-banner {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem 2rem;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.hire-title-h2 {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}
.hire-subtitle-p {
  font-size: 1rem;
  color: var(--text-body);
  max-width: 580px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.contact-channels-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.contact-channel-item {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  color: var(--text-title);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 0.86rem;
  transition: var(--trans-smooth);
}
.contact-channel-item:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-2px);
}

/* -----------------------------------------------------------------------------
   FOOTER
   ----------------------------------------------------------------------------- */
.footer-section {
  padding: 40px 0 30px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-muted);
  font-size: 0.82rem;
}
.footer-grid-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.footer-logo-text {
  font-weight: 700;
  color: var(--text-title);
  font-size: 0.95rem;
}
.footer-nav-list {
  display: flex;
  gap: 1.25rem;
  list-style: none;
}
.footer-nav-list a {
  color: var(--text-body);
  text-decoration: none;
  transition: var(--trans-fast);
}
.footer-nav-list a:hover {
  color: var(--text-title);
}

/* -----------------------------------------------------------------------------
   MODAL
   ----------------------------------------------------------------------------- */
.modal-overlay-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--trans-smooth);
}
.modal-overlay-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-dialog-box {
  width: 100%;
  max-width: 960px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  transform: scale(0.96);
  transition: var(--trans-smooth);
}
.modal-overlay-backdrop.active .modal-dialog-box {
  transform: scale(1);
}
.modal-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-color);
}
.modal-title-h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-title);
}
.modal-close-trigger {
  background: var(--border-color);
  border: none;
  color: var(--text-title);
  width: 30px;
  height: 30px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.modal-close-trigger:hover {
  background: var(--accent-red);
  color: #FFF;
}
.modal-screen-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  background: #000;
}
.modal-screen-container.vertical-short {
  padding-bottom: 135%;
  max-width: 400px;
  margin: 0 auto;
}
.modal-iframe-element {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.modal-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.25rem;
  background: var(--bg-surface-elevated);
  border-top: 1px solid var(--border-color);
}

/* -----------------------------------------------------------------------------
   RESPONSIVE DESIGN
   ----------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .flagship-layout-grid {
    grid-template-columns: 1fr;
  }
  .production-cards-grid {
    grid-template-columns: 1fr;
  }
  .retention-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .toolkit-cards-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar {
    top: 10px;
    width: calc(100% - 20px);
    max-width: 100%;
    padding: 0.35rem 0.65rem 0.35rem 1.1rem;
    border-radius: 9999px;
  }
  .nav-pill-inner,
  .nav-container {
    width: 100%;
    justify-content: space-between;
    gap: 0.5rem;
  }
  .hero-headline {
    font-size: 2.3rem;
  }
  .section-heading-h2 {
    font-size: 1.85rem;
  }
  .nav-links {
    display: none;
  }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 10px);
    left: 4px;
    right: 4px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.25rem 1.5rem;
    gap: 1rem;
    box-shadow: var(--shadow-hover);
  }
  body.dark-theme .nav-links.mobile-open {
    background: rgba(18, 22, 32, 0.96);
    border-color: rgba(255, 255, 255, 0.12);
  }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .portfolio-cards-grid {
    grid-template-columns: 1fr;
  }
  .retention-grid {
    grid-template-columns: 1fr;
  }
}
