/* ==========================================================================
       1. DESIGN TOKENS & VARIABLES (Easy to customize colors & fonts here)
       ========================================================================== */
    :root {
      --ink: #0B0908;
      --surface: #13100E;
      --surface-2: #1B1714;
      --border: rgba(255, 255, 255, 0.09);
      --border-strong: rgba(255, 255, 255, 0.16);
      --white: #FAF8F6;
      --muted: #A39B95;
      --subtle: #6E665F;
      --accent: #FF5B50;
      --accent-soft: rgba(255, 91, 80, 0.16);
      --accent-glow: rgba(255, 91, 80, 0.24);
      --green: #34D399;
      --font-sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
      --font-serif: 'Instrument Serif', Georgia, serif;
      --mx: 50%;
      --my: 30%;
      --radius-sm: 10px;
      --radius-md: 16px;
      --radius-lg: 24px;
      --max-w: 1160px;
    }

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

    html {
      scroll-behavior: smooth;
      background-color: var(--ink);
      color: var(--white);
      font-family: var(--font-sans);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    body {
      background-color: var(--ink);
      color: var(--white);
      overflow-x: hidden;
      position: relative;
      min-height: 100vh;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    button {
      font-family: inherit;
      cursor: pointer;
      border: none;
      background: none;
      color: inherit;
    }

    /* ==========================================================================
       2. AMBIENT MOUSE GLOW & GRID BACKGROUND
       ========================================================================== */
    .grid-glow {
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 0;
      background:
        radial-gradient(650px circle at var(--mx) var(--my), var(--accent-glow), transparent 65%),
        linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
      background-size: 100% 100%, 56px 56px, 56px 56px;
    }

    .container {
      width: 100%;
      max-width: var(--max-w);
      margin: 0 auto;
      padding: 0 24px;
      position: relative;
      z-index: 1;
    }

    section {
      padding: 88px 0;
      position: relative;
      z-index: 1;
    }

    .serif-italic {
      font-family: var(--font-serif);
      font-style: italic;
      font-weight: 400;
      letter-spacing: 0.01em;
    }

    .section-tag {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 14px;
      border-radius: 999px;
      background: var(--surface-2);
      border: 1px solid var(--border);
      font-size: 0.82rem;
      font-weight: 500;
      color: var(--muted);
      margin-bottom: 18px;
    }

    .section-tag .pulse-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 0 10px var(--accent);
    }

    .section-title {
      font-size: clamp(2.1rem, 4.5vw, 3.4rem);
      line-height: 1.08;
      letter-spacing: -0.025em;
      font-weight: 600;
      margin-bottom: 16px;
    }

    .section-sub {
      color: var(--muted);
      font-size: 1.05rem;
      max-width: 580px;
    }

    /* ==========================================================================
       3. STICKY GLASSMORPHISM NAVBAR
       ========================================================================== */
    .navbar-wrap {
      position: sticky;
      top: 16px;
      z-index: 50;
      padding: 0 20px;
      margin-top: 16px;
    }

    .navbar {
      max-width: var(--max-w);
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 20px;
      border-radius: 999px;
      background: rgba(19, 16, 14, 0.78);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border: 1px solid var(--border);
    }

    .brand {
      font-size: 1.55rem;
      font-weight: 600;
      letter-spacing: -0.02em;
      display: flex;
      align-items: baseline;
      gap: 2px;
    }

    .brand span {
      color: var(--accent);
      font-family: var(--font-serif);
      font-style: italic;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 28px;
      font-size: 0.92rem;
      color: var(--muted);
    }

    .nav-links a {
      transition: color 0.2s ease;
    }

    .nav-links a:hover {
      color: var(--white);
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      background: var(--accent);
      color: #0B0908;
      font-weight: 600;
      font-size: 0.92rem;
      padding: 10px 20px;
      border-radius: 999px;
      transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(255, 91, 80, 0.4);
    }

    .btn-outline {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      background: var(--surface);
      color: var(--white);
      border: 1px solid var(--border-strong);
      font-weight: 500;
      font-size: 0.92rem;
      padding: 10px 20px;
      border-radius: 999px;
      transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    }

    .btn-outline:hover {
      background: var(--surface-2);
      border-color: var(--accent);
      transform: translateY(-2px);
    }


    /* ==========================================================================
       4. HERO SECTION & 4 VERTICAL PHONE VIDEO MOCKUPS
       ========================================================================== */
    .hero {
      padding-top: 64px;
      padding-bottom: 72px;
      text-align: center;
    }

    .hero-title {
      font-size: clamp(2.6rem, 6vw, 4.75rem);
      line-height: 1.03;
      letter-spacing: -0.03em;
      font-weight: 600;
      max-width: 860px;
      margin: 0 auto 22px;
    }

    .hero-sub {
      color: var(--muted);
      font-size: clamp(1rem, 1.8vw, 1.2rem);
      max-width: 620px;
      margin: 0 auto 32px;
    }

    .hero-ctas {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 14px;
      flex-wrap: wrap;
      margin-bottom: 56px;
    }

    .phones-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
      max-width: 900px;
      margin: 20px auto 0;
    }

    .phone-card {
      background: #0d0b0a;
      border: 1.5px solid rgba(255, 255, 255, 0.14);
      border-radius: 28px;
      padding: 7px;
      position: relative;
      transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
      cursor: pointer;
      user-select: none;
    }

    .phone-card:hover {
      transform: translateY(-5px);
      border-color: rgba(255, 255, 255, 0.28);
    }

    .phone-card.unmuted {
      border-color: var(--accent);
      box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6), 0 0 24px rgba(255, 91, 80, 0.25);
    }

    .phone-screen {
      aspect-ratio: 9 / 16;
      border-radius: 22px;
      overflow: hidden;
      position: relative;
      background: #14110F;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .phone-screen video {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 1;
      pointer-events: none;
    }

    .phone-state-badge {
      position: absolute;
      top: 10px;
      right: 10px;
      z-index: 4;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: rgba(11, 9, 8, 0.68);
      backdrop-filter: blur(6px);
      border: 1px solid rgba(255, 255, 255, 0.15);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.72rem;
      color: var(--white);
      opacity: 0;
      transform: scale(0.85);
      transition: opacity 0.2s ease, transform 0.2s ease;
      pointer-events: none;
    }

    .phone-card.unmuted .phone-state-badge,
    .phone-card.paused .phone-state-badge {
      opacity: 1;
      transform: scale(1);
    }

    .phone-card.paused .phone-visual-canvas,
    .phone-card.paused .kinetic-caption {
      animation-play-state: paused !important;
      filter: brightness(0.7);
    }

    .phone-visual-canvas {
      position: absolute;
      inset: 0;
      z-index: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    /* Animated motion graphics simulation inside each phone screen */
    .reel-bg-1 {
      background: radial-gradient(circle at 50% 35%, rgba(255, 91, 80, 0.32), #120E0C 75%);
    }
    .reel-bg-2 {
      background: radial-gradient(circle at 60% 40%, rgba(52, 211, 153, 0.25), #0E1412 75%);
    }
    .reel-bg-3 {
      background: radial-gradient(circle at 40% 35%, rgba(96, 165, 250, 0.26), #0E1218 75%);
    }
    .reel-bg-4 {
      background: radial-gradient(circle at 50% 45%, rgba(251, 191, 36, 0.25), #16120C 75%);
    }

    .kinetic-caption {
      position: relative;
      z-index: 2;
      background: rgba(11, 9, 8, 0.78);
      backdrop-filter: blur(8px);
      border: 1px solid var(--border);
      padding: 8px 12px;
      border-radius: 10px;
      font-weight: 700;
      font-size: 0.85rem;
      text-align: center;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
      animation: floatCaption 3s ease-in-out infinite;
    }

    .kinetic-caption mark {
      background: var(--accent);
      color: #0B0908;
      padding: 1px 6px;
      border-radius: 4px;
    }

    @keyframes floatCaption {
      0%, 100% { transform: translateY(0px) scale(1); }
      50% { transform: translateY(-5px) scale(1.03); }
    }

    .phone-footer {
      position: relative;
      z-index: 3;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      background: rgba(11, 9, 8, 0.72);
      backdrop-filter: blur(8px);
      padding: 10px 12px;
      border-radius: 12px;
      border: 1px solid var(--border);
    }

    .phone-meta-title {
      font-size: 0.82rem;
      font-weight: 600;
      color: var(--white);
    }

    .phone-meta-tag {
      font-size: 0.7rem;
      color: var(--muted);
    }

    .play-indicator {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      background: var(--accent);
      color: #0B0908;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      font-size: 0.75rem;
      font-weight: 700;
    }

    /* ==========================================================================
       5. SCROLLING MARQUEE RIBBON (Crossed Coral & White Ribbons)
       ========================================================================== */
    .marquee-section {
      position: relative;
      padding: 58px 0;
      overflow: hidden;
      z-index: 2;
      user-select: none;
    }

    .marquee-ribbon {
      width: 112%;
      margin-left: -6%;
      padding: 13px 0;
      overflow: hidden;
      display: flex;
      align-items: center;
    }

    .marquee-ribbon.ribbon-white {
      background: #FAF8F6;
      color: #0B0908;
      transform: rotate(2.1deg);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
      position: relative;
      z-index: 1;
    }

    .marquee-ribbon.ribbon-coral {
      background: var(--accent);
      color: #0B0908;
      transform: rotate(-2.2deg);
      margin-top: -52px;
      box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
      position: relative;
      z-index: 2;
    }

    .marquee-track {
      display: flex;
      align-items: baseline;
      width: max-content;
      animation: marqueeScrollLeft 28s linear infinite;
    }

    .marquee-ribbon.ribbon-white .marquee-track {
      animation: marqueeScrollRight 30s linear infinite;
    }

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

    .marquee-word {
      display: inline-block;
      padding: 0 22px;
      font-size: clamp(1.35rem, 2.3vw, 1.85rem);
      line-height: 1.1;
      letter-spacing: -0.02em;
      color: #0B0908;
      white-space: nowrap;
    }

    .marquee-word.sans-bold {
      font-family: var(--font-sans);
      font-weight: 700;
    }

    .marquee-word.serif-it {
      font-family: var(--font-serif);
      font-style: italic;
      font-weight: 400;
      font-size: clamp(1.5rem, 2.55vw, 2.05rem);
    }

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

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

    /* ==========================================================================
       6. SELECTED WORK / PORTFOLIO FILTERABLE GRID
       ========================================================================== */
    .filter-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 16px;
      margin-bottom: 32px;
    }

    .filter-tabs {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .filter-tab {
      padding: 8px 16px;
      border-radius: 999px;
      font-size: 0.86rem;
      font-weight: 500;
      background: var(--surface);
      color: var(--muted);
      border: 1px solid var(--border);
      transition: all 0.2s ease;
    }

    .filter-tab.active,
    .filter-tab:hover {
      background: var(--accent);
      color: #0B0908;
      border-color: var(--accent);
      font-weight: 600;
    }

    .work-section-group {
      margin-bottom: 44px;
    }

    .work-section-group:last-child {
      margin-bottom: 0;
    }

    .work-group-label {
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.06em;
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .work-group-label::after {
      content: '';
      flex: 1;
      height: 1px;
      background: var(--border);
    }

    /* Short-form Grid: 4 columns on PC, 2 columns on Mobile */
    .work-grid-short {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 20px;
    }

    /* Podcast Trailer Grid: 2 columns on PC (or 1 full-width if only 1 item), 1 column on Mobile */
    .work-grid-podcast {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 24px;
    }

    .work-grid-podcast.single-item {
      grid-template-columns: 1fr;
    }

    .work-item {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    /* Phone Frame for Short-Form Projects */
    .work-media-frame.is-short {
      background: #0d0b0a;
      border: 1.5px solid rgba(255, 255, 255, 0.14);
      border-radius: 26px;
      padding: 7px;
      transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
      cursor: pointer;
      user-select: none;
    }

    /* Landscape Frame for Podcast Trailer Projects */
    .work-media-frame.is-podcast {
      background: #0d0b0a;
      border: 1.5px solid rgba(255, 255, 255, 0.14);
      border-radius: 22px;
      padding: 7px;
      transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
      cursor: pointer;
      user-select: none;
    }

    .work-media-frame:hover {
      transform: translateY(-4px);
      border-color: rgba(255, 255, 255, 0.28);
    }

    .work-media-frame.unmuted {
      border-color: var(--accent);
      box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6), 0 0 24px rgba(255, 91, 80, 0.25);
    }

    .work-screen {
      position: relative;
      overflow: hidden;
      background: #14110F;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .work-media-frame.is-short .work-screen {
      aspect-ratio: 9 / 16;
      border-radius: 20px;
    }

    .work-media-frame.is-podcast .work-screen {
      aspect-ratio: 16 / 9;
      border-radius: 16px;
    }

    .work-screen video {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 1;
      pointer-events: none;
    }

    .work-media-frame.paused .phone-visual-canvas,
    .work-media-frame.paused .kinetic-caption {
      animation-play-state: paused !important;
      filter: brightness(0.7);
    }

    .work-state-badge {
      position: absolute;
      top: 10px;
      right: 10px;
      z-index: 4;
      width: 30px;
      height: 30px;
      border-radius: 50%;
      background: rgba(11, 9, 8, 0.72);
      backdrop-filter: blur(6px);
      border: 1px solid rgba(255, 255, 255, 0.16);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.74rem;
      color: var(--white);
      opacity: 0;
      transform: scale(0.85);
      transition: opacity 0.2s ease, transform 0.2s ease;
      pointer-events: none;
    }

    .work-media-frame.unmuted .work-state-badge,
    .work-media-frame.paused .work-state-badge {
      opacity: 1;
      transform: scale(1);
    }

    /* Clean Uniform Timeline Track Underneath Each Project Video */
    .work-cut-timeline {
      position: relative;
      height: 16px;
      border-radius: 5px;
      background: #E04F44;
      margin-top: -2px;
      cursor: pointer;
      user-select: none;
      overflow: visible;
    }

    .work-cut-playhead {
      position: absolute;
      top: -3px;
      bottom: -3px;
      left: 0%;
      width: 2.5px;
      background: #FFFFFF;
      border-radius: 2px;
      box-shadow: 0 0 8px rgba(255, 255, 255, 0.95);
      z-index: 3;
      pointer-events: none;
    }

    /* Details Underneath the Timeline (Title & Description only — no duration/category row) */
    .work-details {
      padding: 2px 2px 0;
      display: flex;
      flex-direction: column;
      gap: 5px;
    }

    .work-title {
      font-size: 1.04rem;
      font-weight: 700;
      color: var(--white);
      line-height: 1.3;
    }

    .work-desc {
      font-size: 0.88rem;
      color: var(--muted);
      line-height: 1.48;
    }

    /* ==========================================================================
       7. INTERACTIVE BEFORE / AFTER COMPARISON SLIDER (Abbas Split Layout)
       ========================================================================== */
    .ba-split-layout {
      display: grid;
      grid-template-columns: 1.05fr 0.95fr;
      gap: 56px;
      align-items: center;
    }

    .ba-copy .section-title {
      font-size: clamp(2.3rem, 4.6vw, 3.6rem);
      line-height: 1.08;
      margin-bottom: 18px;
    }

    .ba-copy .accent-serif {
      font-family: var(--font-serif);
      font-style: italic;
      font-weight: 400;
      color: var(--accent);
    }

    .ba-checklist {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 14px;
      margin-top: 28px;
    }

    .ba-checklist li {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 1.02rem;
      font-weight: 600;
      color: var(--white);
    }

    .ba-check-icon {
      color: var(--accent);
      font-weight: 700;
      font-size: 1.05rem;
      flex-shrink: 0;
    }

    .ba-stage-col {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
    }

    /* Balanced vertical phone frame on PC (~345px wide, 9:14 ratio matching Abbas's desktop box), 9:16 on mobile */
    .ba-stage {
      position: relative;
      width: 100%;
      max-width: 345px;
      aspect-ratio: 9 / 14;
      border-radius: 26px;
      overflow: hidden;
      user-select: none;
      background: #14110F;
      border: 1.5px solid rgba(255, 255, 255, 0.14);
      box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
      cursor: ew-resize;
      touch-action: pan-y;
    }

    .ba-layer {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 24px;
    }

    .ba-layer video {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 1;
      pointer-events: none;
    }

    .ba-before {
      background: linear-gradient(145deg, #231F1D 0%, #14110F 100%);
      color: var(--muted);
    }

    .ba-after {
      background: radial-gradient(circle at 50% 38%, rgba(255, 91, 80, 0.32), #120D0B 75%);
      color: var(--white);
      clip-path: inset(0 0 0 82%);
      z-index: 2;
    }

    .ba-badge {
      position: absolute;
      top: 16px;
      padding: 6px 14px;
      border-radius: 999px;
      font-size: 0.8rem;
      font-weight: 600;
      background: rgba(18, 15, 13, 0.76);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(255, 255, 255, 0.12);
      z-index: 4;
      pointer-events: none;
    }

    .ba-badge.left { left: 16px; color: var(--white); }
    .ba-badge.right { right: 16px; color: var(--accent); }

    .ba-sound-btn {
      position: absolute;
      bottom: 16px;
      left: 16px;
      z-index: 6;
      padding: 7px 13px;
      border-radius: 999px;
      background: rgba(18, 15, 13, 0.78);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(255, 255, 255, 0.16);
      color: var(--white);
      font-size: 0.76rem;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: border-color 0.2s ease, background 0.2s ease;
    }

    .ba-sound-btn:hover {
      border-color: var(--accent);
      background: rgba(255, 91, 80, 0.18);
    }

    .ba-divider {
      position: absolute;
      top: 0;
      bottom: 0;
      left: 82%;
      width: 2.5px;
      background: #FFFFFF;
      z-index: 5;
      transform: translateX(-50%);
      pointer-events: none;
    }

    .ba-handle {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: var(--accent);
      color: #0B0908;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 0.85rem;
      letter-spacing: -1px;
      box-shadow: 0 6px 20px rgba(255, 91, 80, 0.55);
    }



    /* ==========================================================================
       9. SERVICES & ABOUT CARDS
       ========================================================================== */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 22px;
      margin-top: 32px;
    }

    .service-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 28px;
      display: flex;
      flex-direction: column;
      gap: 14px;
      transition: border-color 0.25s ease, transform 0.25s ease;
    }

    .service-card:hover {
      border-color: var(--accent);
      transform: translateY(-4px);
    }

    .service-num {
      font-family: var(--font-serif);
      font-style: italic;
      font-size: 1.5rem;
      color: var(--accent);
    }

    .service-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 8px;
      margin-top: 8px;
      font-size: 0.9rem;
      color: var(--muted);
    }

    .service-list li::before {
      content: "→ ";
      color: var(--accent);
      font-weight: 600;
    }

    .about-box {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 40px;
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 36px;
      align-items: center;
    }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
    }

    .stat-item {
      background: var(--surface-2);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 20px;
    }

    .stat-val {
      font-size: 2rem;
      font-weight: 700;
      color: var(--white);
      line-height: 1.1;
    }

    .stat-label {
      font-size: 0.84rem;
      color: var(--muted);
      margin-top: 4px;
    }

    /* ==========================================================================
       10. CONTACT SECTION & SOCIAL LINKS (With LinkedIn/X Ready Placeholders)
       ========================================================================== */
    .contact-card {
      background: radial-gradient(circle at 50% 0%, rgba(255, 91, 80, 0.2), var(--surface) 70%);
      border: 1px solid var(--border-strong);
      border-radius: 32px;
      padding: 56px 32px;
      text-align: center;
    }

    .email-copy-box {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      background: var(--ink);
      border: 1px solid var(--border-strong);
      padding: 12px 20px;
      border-radius: 999px;
      margin: 24px 0 32px;
      flex-wrap: wrap;
      justify-content: center;
    }

    .email-text {
      font-size: 1rem;
      font-weight: 600;
      color: var(--white);
    }

    .copy-badge {
      background: var(--accent);
      color: #0B0908;
      font-size: 0.8rem;
      font-weight: 700;
      padding: 6px 14px;
      border-radius: 999px;
      transition: transform 0.15s ease;
    }

    .copy-badge:hover {
      transform: scale(1.04);
    }

    .socials-grid {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 14px;
      flex-wrap: wrap;
      margin-top: 12px;
    }

    .social-pill {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 12px 20px;
      border-radius: 999px;
      background: var(--surface-2);
      border: 1px solid var(--border);
      font-size: 0.92rem;
      font-weight: 500;
      color: var(--white);
      transition: all 0.2s ease;
    }

    .social-pill:hover {
      border-color: var(--accent);
      background: rgba(255, 91, 80, 0.12);
      transform: translateY(-2px);
    }

    .social-pill.placeholder-social {
      opacity: 0.65;
      border-style: dashed;
    }

    /* ==========================================================================
       11. FLOATING FAQ CHATBOT WIDGET (Exact Abbas Quick Answers UI)
       ========================================================================== */
    .chat-fab {
      position: fixed;
      bottom: 24px;
      right: 24px;
      z-index: 60;
      background: var(--accent);
      color: #0B0908;
      font-weight: 600;
      font-size: 0.95rem;
      padding: 13px 22px;
      border-radius: 999px;
      box-shadow: 0 12px 30px rgba(255, 91, 80, 0.38);
      display: inline-flex;
      align-items: center;
      gap: 9px;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .chat-fab:hover {
      transform: translateY(-2px);
      box-shadow: 0 16px 36px rgba(255, 91, 80, 0.5);
    }

    .chat-modal {
      position: fixed;
      bottom: 24px;
      right: 24px;
      width: 390px;
      max-width: calc(100vw - 28px);
      max-height: calc(100vh - 48px);
      background: #100D0B;
      border: 1px solid rgba(255, 255, 255, 0.11);
      border-radius: 26px;
      box-shadow: 0 28px 70px rgba(0, 0, 0, 0.85);
      z-index: 65;
      overflow: hidden;
      display: none;
      flex-direction: column;
    }

    .chat-modal.open {
      display: flex;
    }

    .chat-header {
      padding: 20px 22px 16px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
    }

    .chat-header-title {
      font-size: 1.08rem;
      font-weight: 700;
      color: var(--white);
      line-height: 1.25;
      margin-bottom: 4px;
    }

    .chat-header-sub {
      font-size: 0.86rem;
      color: var(--muted);
      font-weight: 400;
    }

    .chat-close-btn {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: #1B1715;
      border: 1px solid rgba(255, 255, 255, 0.08);
      color: var(--white);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.95rem;
      flex-shrink: 0;
      transition: background 0.2s ease;
    }

    .chat-close-btn:hover {
      background: #26201D;
    }

    .chat-messages {
      padding: 18px 20px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      overflow-y: auto;
      max-height: 290px;
      scroll-behavior: smooth;
    }

    .chat-msg {
      max-width: 86%;
      padding: 13px 16px;
      border-radius: 18px;
      font-size: 0.92rem;
      line-height: 1.5;
      word-wrap: break-word;
      animation: chatFadeIn 0.22s ease-out;
    }

    .chat-msg.bot {
      align-self: flex-start;
      background: #1B1816;
      color: var(--white);
      border-bottom-left-radius: 6px;
    }

    .chat-msg.user {
      align-self: flex-end;
      background: var(--accent);
      color: #0B0908;
      font-weight: 600;
      border-bottom-right-radius: 6px;
    }

    .chat-msg-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-self: flex-start;
      margin-top: -2px;
      margin-bottom: 2px;
      animation: chatFadeIn 0.25s ease-out;
    }

    .chat-action-pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 7px 16px;
      border-radius: 999px;
      background: rgba(255, 91, 80, 0.08);
      border: 1px solid rgba(255, 91, 80, 0.48);
      color: var(--accent);
      font-size: 0.84rem;
      font-weight: 600;
      transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
    }

    .chat-action-pill:hover {
      background: var(--accent);
      color: #0B0908;
      transform: translateY(-1px);
    }

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

    .chat-footer {
      padding: 16px 20px 20px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      background: #100D0B;
    }

    .chat-questions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
    }

    .chat-q-btn {
      padding: 9px 15px;
      border-radius: 999px;
      background: #161311;
      border: 1px solid rgba(255, 255, 255, 0.11);
      color: var(--white);
      font-size: 0.86rem;
      font-weight: 500;
      transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
    }

    .chat-q-btn:hover {
      border-color: rgba(255, 255, 255, 0.28);
      background: #201C19;
      transform: translateY(-1px);
    }

    .chat-contact-pill {
      padding: 9px 18px;
      border-radius: 999px;
      background: var(--accent);
      color: #0B0908;
      font-size: 0.86rem;
      font-weight: 600;
      border: 1px solid var(--accent);
      transition: transform 0.15s ease, opacity 0.2s ease;
    }

    .chat-contact-pill:hover {
      transform: translateY(-1px);
      opacity: 0.92;
    }


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

    footer {
      padding: 36px 0 60px;
      border-top: 1px solid var(--border);
      text-align: center;
      color: var(--subtle);
      font-size: 0.85rem;
    }

    /* ==========================================================================
       13. RESPONSIVE BREAKPOINTS
       ========================================================================== */
    @media (max-width: 960px) {
      .phones-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
      }
      .work-grid-short {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
      }
      .work-grid-podcast {
        grid-template-columns: 1fr;
      }
      .services-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .about-box,
      .ba-split-layout {
        grid-template-columns: 1fr;
        gap: 36px;
      }
    }

    @media (max-width: 640px) {
      .nav-links {
        display: none;
      }
      .phones-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
      }
      .phone-card {
        border-radius: 18px;
        padding: 4px;
      }
      .phone-screen {
        border-radius: 14px;
      }
      .kinetic-caption {
        font-size: 0.62rem;
        padding: 5px 7px;
      }
      .work-grid-short {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
      }
      .work-media-frame.is-short {
        border-radius: 20px;
        padding: 5px;
      }
      .work-media-frame.is-short .work-screen {
        border-radius: 15px;
      }
      .ba-stage {
        max-width: 350px;
        aspect-ratio: 9 / 16;
        border-radius: 22px;
      }
      .work-grid-podcast,
      .services-grid {
        grid-template-columns: 1fr;
      }
      section {
        padding: 60px 0;
      }
    }
