﻿/* =========================================
       CSS RESET & VARIABLES
       ========================================= */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --bg: #FDFCFA;
      --bg-warm: #F5F1EC;
      --bg-dark: #1A1A2E;
      --bg-dark-alt: #232340;
      --text: #1A1A2E;
      --text-muted: #6B6B78;
      --text-light: #9B9BA5;
      --text-on-dark: #F5F1EC;
      --accent: #E8453C;
      --accent-hover: #D03B33;
      --accent-soft: #FEF0EF;
      --accent-glow: rgba(232, 69, 60, 0.15);
      --border: #E8E4DF;
      --border-dark: #2E2E4A;
      --card-bg: #FFFFFF;
      --card-shadow: 0 1px 3px rgba(26,26,46,0.06), 0 6px 24px rgba(26,26,46,0.04);
      --card-shadow-hover: 0 4px 12px rgba(26,26,46,0.08), 0 12px 40px rgba(26,26,46,0.06);
      --radius: 16px;
      --radius-sm: 10px;
      --radius-xs: 6px;
      --font-display: 'Bricolage Grotesque', sans-serif;
      --font-body: 'Plus Jakarta Sans', sans-serif;
      --max-w: 1200px;
      --section-py: clamp(72px, 10vw, 120px);
    }

    html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

    /* ── Custom scrollbar ── */
    ::-webkit-scrollbar {
      width: 6px;
    }
    ::-webkit-scrollbar-track {
      background: #0f0f1a;
    }
    ::-webkit-scrollbar-thumb {
      background: linear-gradient(180deg, #E8453C 0%, #a855f7 100%);
      border-radius: 99px;
    }
    ::-webkit-scrollbar-thumb:hover {
      background: linear-gradient(180deg, #ff5a51 0%, #c084fc 100%);
    }
    /* Firefox */
    * { scrollbar-width: thin; scrollbar-color: #E8453C #0f0f1a; }

    body {
      font-family: var(--font-body);
      color: var(--text);
      background: var(--bg);
      font-size: 14px;
      line-height: 1.6;
      overflow-x: hidden;
    }
    @media (min-width: 769px) {
      body { font-size: 16px; }
    }

    body.scroll-locked {
      position: fixed;
      inset: 0;
      width: 100%;
      overflow: hidden;
    }

    a,
    button,
    input,
    select,
    textarea {
      touch-action: manipulation;
    }

    /* =========================================
       BACKGROUND: DOT GRID + AURORA ORBS
       ========================================= */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image: radial-gradient(circle, rgba(26,26,46,0.055) 1px, transparent 1px);
      background-size: 28px 28px;
      pointer-events: none;
      z-index: 0;
    }

    .bg-orbs {
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 0;
      overflow: hidden;
    }
    .bg-orb {
      position: absolute;
      border-radius: 50%;
      filter: blur(90px);
      opacity: 0;
      will-change: auto;
      transform: translateZ(0);
      contain: layout style;
    }
    .bg-orb--red {
      width: 1000px; height: 1000px;
      background: radial-gradient(circle, rgba(232,69,60,0.22) 0%, rgba(232,69,60,0.08) 45%, transparent 70%);
      top: 8%; right: -18%;
      opacity: 1;
    }
    .bg-orb--purple {
      width: 850px; height: 850px;
      background: radial-gradient(circle, rgba(120,80,220,0.18) 0%, rgba(120,80,220,0.06) 50%, transparent 70%);
      top: 42%; left: -14%;
      animation-duration: 28s; animation-delay: -8s; opacity: 1;
    }


    /* All sections sit above the fixed bg layer */
    section, .stats, nav, footer { position: relative; z-index: 1; }

    /* Light sections — more transparent so orbs bleed through vividly */
    .portfolio    { background: var(--bg) !important; }
    .process      { background: rgba(253,252,250,0.42) !important; }
    .about        { background: rgba(253,252,250,0.42) !important; }

    /* Dark sections */
    .services     { background: rgba(13, 13, 26, 0.94) !important; }
    .pricing      { background: rgba(16, 14, 32, 0.95) !important; }
    .testimonials { background: rgba(13, 13, 26, 0.94) !important; }

    /* Subtle static gradient wash on light sections (no animation — lets the hero dots breathe) */
    .portfolio::after, .process::after, .about::after {
      content: '';
      position: absolute; inset: 0;
      background: linear-gradient(105deg,
        transparent 30%,
        rgba(232,69,60,0.03) 50%,
        rgba(120,80,220,0.03) 65%,
        transparent 80%
      );
      pointer-events: none; z-index: 0;
    }

    /* Animated perspective grid on light sections */
    .portfolio::before, .process::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(26,26,46,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26,26,46,0.04) 1px, transparent 1px);
      background-size: 60px 60px;
      background-position: 0 0;
      pointer-events: none;
      z-index: 0;
      mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 10%, transparent 70%);
      -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 10%, transparent 70%);
      animation: gridDrift 20s linear infinite;
    }
    @keyframes gridDrift {
      0%   { background-position: 0 0; }
      100% { background-position: 60px 60px; }
    }
    @media (prefers-reduced-motion: reduce) {
      .portfolio::before, .process::before { animation: none; }
    }

    /* Ensure content sits above shimmer */
    .portfolio .container, .process .container, .about .container { position: relative; z-index: 1; }

    /* Position: relative on light sections for pseudo-elements */
    .portfolio, .process, .about { position: relative; overflow: hidden; }

    /* =========================================
       WAVE DIVIDERS
       ========================================= */
    .wave-divider {
      position: relative;
      z-index: 10;
      height: 90px;
      margin: -44px 0;
      pointer-events: none;
      overflow: hidden;
      flex-shrink: 0;
    }
    @media (max-width: 640px) {
      .wave-divider { height: 60px; margin: -30px 0; }
    }
    .wave-divider svg {
      position: absolute;
      bottom: 0; left: 0;
      width: 100%; height: 100%;
    }
    .wave-divider--to-dark svg { bottom: 0; }
    .wave-divider--to-light svg { top: 0; }

    /* Data-stream hard-cut divider (Process section) */
    .section-divider--data {
      position: relative;
      z-index: 10;
      height: 2px;
      pointer-events: none;
      overflow: visible;
    }
    .section-divider--data::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(90deg,
        transparent, rgba(232,69,60,0.25), rgba(168,85,247,0.18), transparent
      );
      mask-image: linear-gradient(90deg, transparent 5%, black 20%, black 80%, transparent 95%);
      -webkit-mask-image: linear-gradient(90deg, transparent 5%, black 20%, black 80%, transparent 95%);
    }
    .section-divider--data::before {
      content: '';
      position: absolute;
      top: -1px;
      width: 60px;
      height: 3px;
      border-radius: 2px;
      background: linear-gradient(90deg, transparent, var(--accent), rgba(168,85,247,0.8), transparent);
      box-shadow: 0 0 10px rgba(232,69,60,0.4), 0 0 20px rgba(232,69,60,0.15);
      z-index: 1;
      animation: dataParticle 3s ease-in-out infinite;
    }
    @keyframes dataParticle {
      0%   { left: -60px; opacity: 0; }
      10%  { opacity: 1; }
      90%  { opacity: 1; }
      100% { left: 100%; opacity: 0; }
    }
    @media (prefers-reduced-motion: reduce) {
      .section-divider--data::before { animation: none; opacity: 0; }
    }

    /* =========================================
       PARALLAX
       ========================================= */
    .hero-inner {
      will-change: transform;
      transform-origin: center top;
    }
    .hero-dots {
      will-change: transform;
    }

    /* Parallax floating shapes in light sections */
    .parallax-shape {
      position: absolute;
      border-radius: 50%;
      pointer-events: none;
      will-change: transform;
      opacity: 0;
      transition: opacity 1s;
    }
    .parallax-shape.visible { opacity: 1; }

    @media (prefers-reduced-motion: reduce) {
      .hero-inner, .hero-dots { transform: none !important; }
      .wave-divider { display: none; }
    }

    @media (prefers-reduced-motion: reduce) {
      .bg-orb { animation: none !important; }
      body::before { display: none; }
    }

    img { max-width: 100%; display: block; }
    a { color: inherit; text-decoration: none; }
    button { font-family: inherit; cursor: pointer; border: none; background: none; }
    ul, ol { list-style: none; }

    /* =========================================
       UTILITY
       ========================================= */
    .container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
    .section-label {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-family: var(--font-display);
      font-size: 13px;
      font-weight: 600;
      font-variation-settings: 'opsz' 12;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 16px;
    }
    .section-label::before {
      content: '';
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--accent), #a855f7);
      display: inline-block;
      flex-shrink: 0;
    }
    .section-heading {
      font-family: var(--font-display);
      font-size: clamp(32px, 5vw, 52px);
      font-weight: 700;
      font-variation-settings: 'opsz' 48;
      line-height: 1.12;
      color: var(--text);
      letter-spacing: -0.02em;
    }
    .section-heading--dark { color: var(--text-on-dark); }
    .accent-text { color: var(--accent); }
    .section-sub {
      font-size: 17px;
      color: var(--text-muted);
      max-width: 560px;
      line-height: 1.7;
    }

    /* Buttons */
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-weight: 600;
      font-size: 15px;
      border-radius: 50px;
      padding: 14px 28px;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .btn-primary {
      background: var(--accent);
      color: #fff;
      box-shadow: 0 2px 12px var(--accent-glow);
    }
    .btn-primary:hover {
      background: var(--accent-hover);
      box-shadow: 0 4px 24px rgba(232,69,60,0.3);
      transform: translateY(-1px);
    }
    .btn-secondary {
      background: transparent;
      color: var(--text);
      border: 1.5px solid var(--border);
    }
    .btn-secondary:hover {
      border-color: var(--text);
      background: var(--text);
      color: #fff;
    }
    .btn-secondary--dark {
      color: var(--text-on-dark);
      border-color: var(--border-dark);
    }
    .btn-secondary--dark:hover {
      border-color: #fff;
      background: #fff;
      color: var(--bg-dark);
    }
    .btn svg { width: 16px; height: 16px; flex-shrink: 0; }

    /* Scroll animations */
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }

    .reveal-pop {
      opacity: 0;
      transform: translateY(40px) scale(0.9);
      transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .reveal-pop.visible {
      opacity: 1;
      transform: translateY(0) scale(1);
    }

    /* Card reveal: scale + blur (for service, pricing, portfolio, testimonial cards) */
    .reveal-card {
      opacity: 0;
      transform: scale(0.95) translateY(16px);
      filter: blur(4px);
      transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                  transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                  filter 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .reveal-card.visible {
      opacity: 1;
      transform: scale(1) translateY(0);
      filter: blur(0);
    }

    /* =========================================
       NAVIGATION
       ========================================= */

    /* Scroll-progress bar */
    @keyframes progressShimmer {
      0%   { background-position: 0% 50%; }
      100% { background-position: 200% 50%; }
    }

    .nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      background: transparent;
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
      border-bottom: 1px solid transparent;
      transition: background 0.5s cubic-bezier(0.4,0,0.2,1),
                  border-color 0.5s,
                  box-shadow 0.5s,
                  backdrop-filter 0.5s;
      overflow: visible;
    }

    /* Progress bar */
    .nav::before {
      content: '';
      position: absolute;
      top: 0; left: 0;
      height: 2.5px;
      width: var(--scroll-progress, 0%);
      background: linear-gradient(90deg, #E7463D, #9A51E4);
      animation: none;
      z-index: 10;
      border-radius: 0 2px 2px 0;
      transition: width 0.15s linear;
    }

    /* Bottom glow line when scrolled */
    .nav::after {
      content: '';
      position: absolute;
      bottom: -1px; left: 10%; right: 10%;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(231,70,61,0.45), rgba(154,81,228,0.4), transparent);
      opacity: 0;
      transition: opacity 0.4s;
    }
    .nav.scrolled::after { opacity: 1; }

    /* Scrolled state → dark glassmorphism */
    .nav.scrolled {
      background: rgba(14, 13, 28, 0.82);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom-color: rgba(255,255,255,0.07);
      box-shadow: 0 4px 40px rgba(0,0,0,0.25);
    }

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

    /* LOGO */
    .nav-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 20px;
      color: rgba(245,241,236,0.95);
      transition: color 0.4s;
    }
    .nav.scrolled .nav-logo { color: rgba(245,241,236,0.95); }

    .nav-logo-icon {
      width: 36px; height: 36px;
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 0 0 0 rgba(232,69,60,0.5);
      transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1),
                  box-shadow 0.35s;
    }
    .nav-logo-icon svg { width: 36px; height: 36px; }
    .nav-logo:hover .nav-logo-icon {
      transform: rotate(-8deg) scale(1.15);
      box-shadow: 0 0 0 6px rgba(232,69,60,0.15);
    }

    /* Logo text reveal on hover */
    .nav-logo-text {
      background: linear-gradient(90deg, rgba(245,241,236,0.95) 0%, rgba(245,241,236,0.95) 100%);
      -webkit-background-clip: text;
      background-clip: text;
      transition: background 0.4s;
    }
    .nav.scrolled .nav-logo-text { background: none; -webkit-text-fill-color: rgba(245,241,236,0.95); }
    .nav-logo:hover .nav-logo-text {
      background: linear-gradient(90deg, #E7463D 0%, #9A51E4 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    /* NAV LINKS */
    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
      margin-left: auto;
    }
    .nav-links a {
      font-family: var(--font-body);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: rgba(245,241,236,0.6);
      transition: color 0.3s;
      position: relative;
      padding-bottom: 2px;
    }
    .nav.scrolled .nav-links a { color: rgba(245,241,236,0.55); }

    /* Expand-from-center underline */
    .nav-links a:not(.btn)::before {
      content: '';
      position: absolute;
      bottom: -3px;
      left: 50%; right: 50%;
      height: 2px;
      background: linear-gradient(90deg, #E7463D, #9A51E4);
      border-radius: 2px;
      transition: left 0.28s cubic-bezier(0.4,0,0.2,1),
                  right 0.28s cubic-bezier(0.4,0,0.2,1);
    }
    .nav-links a:not(.btn):hover::before,
    .nav-links a:not(.btn).active::before {
      left: 0; right: 0;
    }
    .nav-links a:not(.btn):hover,
    .nav-links a:not(.btn).active {
      color: rgba(245,241,236,0.95);
    }
    .nav.scrolled .nav-links a:not(.btn):hover,
    .nav.scrolled .nav-links a:not(.btn).active { color: rgba(245,241,236,0.95); }

    /* ── CTA BUTTON — elevated header pill ── */
    .nav-cta-wrap {
      display: inline-flex;
      flex-shrink: 0;
    }

    .nav-links .nav-cta {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      font-family: var(--font-body);
      font-size: 12px;
      font-weight: 700;
      line-height: 1;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.98);
      background: linear-gradient(135deg, #ff766a 0%, #E7463D 55%, #cb372f 100%);
      padding: 12px 20px;
      min-height: 42px;
      border-radius: 50px;
      border: 1px solid rgba(255,255,255,0.14);
      box-shadow: 0 10px 26px rgba(231,70,61,0.22), inset 0 1px 0 rgba(255,255,255,0.18);
      white-space: nowrap;
      text-decoration: none;
      padding-bottom: 12px;
      transition: transform 0.2s ease, gap 0.2s ease, box-shadow 0.25s ease, filter 0.25s ease;
    }
    .nav-links .nav-cta:hover {
      transform: translateY(-1px) scale(1.01);
      gap: 10px;
      filter: saturate(1.05) brightness(1.03);
      box-shadow: 0 14px 30px rgba(231,70,61,0.28), inset 0 1px 0 rgba(255,255,255,0.22);
    }
    .nav-links .nav-cta svg {
      width: 13px; height: 13px;
      flex-shrink: 0;
      stroke: currentColor;
      transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
    }
    .nav-links .nav-cta:hover svg { transform: translateX(3px); }

    @media (max-width: 768px) {
      .nav-cta-wrap { width: 100%; }
      .nav-links .nav-cta { width: 100%; justify-content: center; }
    }

    /* Mobile hamburger */
    .nav-toggle {
      display: none;
      flex-direction: column;
      gap: 5px;
      padding: 4px;
    }
    .nav-toggle span {
      width: 22px; height: 2px;
      background: rgba(245,241,236,0.85);
      border-radius: 2px;
      transition: all 0.3s;
    }
    .nav.scrolled .nav-toggle span { background: var(--text); }

    @media (max-width: 768px) {
      .nav-toggle { display: flex; }
      .nav-links {
        position: fixed;
        top: 64px; left: 0; right: 0; bottom: 0;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 24px;
        gap: 24px;
        max-height: calc(100vh - 64px);
        max-height: calc(100dvh - 64px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
      }
      .nav-links.open { transform: translateX(0); }
      .nav-links a { font-size: 18px; color: rgba(245,241,236,0.75) !important; }
      .nav-cta-wrap { width: 100%; margin-top: 8px; }
      .nav-links .nav-cta { width: 100%; justify-content: center; }
      .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
      .nav-toggle.open span:nth-child(2) { opacity: 0; }
      .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    }

    /* =========================================
       HERO — Dark section for impact
       ========================================= */
    .hero {
      background:
        radial-gradient(120% 100% at 50% -20%, #2f315d 0%, #1f2140 34%, #141426 62%, #0f0f1a 100%),
        linear-gradient(180deg, #1a1a2e 0%, #11111f 100%);
      color: var(--text-on-dark);
      min-height: 100svh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 120px 0 clamp(40px, 5vw, 60px);
      position: relative;
      overflow: hidden;
      isolation: isolate;
    }
    .hero::before {
      content: '';
      position: absolute;
      inset: -20% -15% auto;
      height: 70%;
      background:
        radial-gradient(55% 80% at 50% 0%, rgba(232,69,60,0.22) 0%, rgba(232,69,60,0.06) 42%, transparent 78%),
        radial-gradient(38% 55% at 18% 8%, rgba(255,183,77,0.12) 0%, transparent 72%),
        radial-gradient(42% 60% at 82% 10%, rgba(64,191,255,0.12) 0%, transparent 70%);
      pointer-events: none;
      z-index: 0;
    }
    .hero::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(232,69,60,0.3), transparent);
    }

    @media (prefers-reduced-motion: reduce) {
      .hero-scroll-line {
        animation: none !important;
      }
    }
    .hero-inner {
      position: relative;
      z-index: 2;
      text-align: center;
      max-width: 920px;
      margin: 0 auto;
    }
    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(232,69,60,0.1);
      border: 1px solid rgba(232,69,60,0.2);
      color: var(--accent);
      font-size: 13px;
      font-weight: 600;
      padding: 8px 18px;
      border-radius: 50px;
      margin-bottom: 24px;
      letter-spacing: 0.02em;
    }
    .hero-badge svg { width: 14px; height: 14px; }
    .hero h1 {
      font-family: var(--font-display);
      font-size: clamp(34px, 5.2vw, 62px);
      font-weight: 800;
      font-variation-settings: 'opsz' 96;
      line-height: 1.1;
      letter-spacing: -0.03em;
      margin-bottom: 20px;
    }
    .hero h1 .accent-line {
      display: block;
      width: fit-content;
      max-width: 100%;
      margin-inline: auto;
      text-align: center;
      background: linear-gradient(90deg, #ff8a82 0%, #E7463D 48%, #c7342d 100%);
      background-size: 200% 100%;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      animation: accentGradientFlow 5s ease-in-out infinite;
    }
    @keyframes accentGradientFlow {
      0%   { background-position: 0% 50%; }
      50%  { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }
    .hero-sub {
      font-size: clamp(15px, 1.8vw, 18px);
      color: rgba(245,241,236,0.65);
      max-width: 580px;
      margin: 0 auto 36px;
      line-height: 1.7;
    }
    .hero-actions {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
      flex-wrap: wrap;
    }
    .hero-scroll {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      margin-top: clamp(32px, 4vw, 52px);
      color: rgba(245,241,236,0.45);
      background: radial-gradient(ellipse 120px 100px at center, rgba(15,15,26,1) 0%, rgba(15,15,26,0.85) 40%, transparent 100%);
      padding: 36px 52px;
    }

    /* Mouse outline */
    .scroll-mouse {
      width: 28px;
      height: 44px;
      border: 2px solid rgba(245,241,236,0.55);
      border-radius: 14px;
      position: relative;
      transition: border-color 0.3s;
    }
    .hero-scroll:hover .scroll-mouse {
      border-color: var(--accent);
    }

    /* Animated wheel dot */
    .scroll-mouse-wheel {
      width: 4px;
      height: 9px;
      background: var(--accent);
      border-radius: 4px;
      position: absolute;
      left: 50%;
      top: 8px;
      transform: translateX(-50%);
      box-shadow: 0 0 6px rgba(232,69,60,0.5);
      animation: wheelScroll 2s ease-in-out infinite;
    }
    @keyframes wheelScroll {
      0%   { opacity: 1; top: 8px; }
      50%  { opacity: 0.4; top: 24px; }
      100% { opacity: 1; top: 8px; }
    }

    /* Chevron arrows */
    .scroll-chevrons {
      opacity: 0.7;
      color: var(--accent);
      animation: chevronsDown 2s ease-in-out infinite;
    }
    .chevron-1 { opacity: 0.5; }
    .chevron-2 { opacity: 0.85; }
    @keyframes chevronsDown {
      0%, 100% { transform: translateY(0); opacity: 0.7; }
      50%      { transform: translateY(5px); opacity: 1; }
    }
    .hero-scroll:hover .scroll-chevrons { opacity: 1; }

    @media (prefers-reduced-motion: reduce) {
      .scroll-mouse-wheel { animation: none; }
      .scroll-chevrons { animation: none; }
    }

    /* ── Hero mobile refinements ── */
    @media (max-width: 480px) {
      .hero {
        min-height: 100svh;
        justify-content: flex-start;
        padding: 0 0 40px;
      }
      .hero .hero-inner {
        margin-top: 24svh;
      }
      .hero-badge { display: none; }
      .hero h1 {
        font-size: 24px;
        margin-bottom: 12px;
        letter-spacing: -0.02em;
      }
      .hero-sub {
        font-size: 13px;
        margin-bottom: 20px;
        line-height: 1.55;
        max-width: 320px;
      }
      .hero-actions { gap: 10px; }
      .hero-actions .btn {
        font-size: 13px;
        padding: 11px 22px;
      }
      .hero-actions .btn-secondary { display: none; }
      .hero-scroll { display: none; }
    }

    /* =========================================
       TECHY HOVER / MOTION EFFECTS
       ========================================= */

    /* Hero Cursor Spotlight */
    .hero-spotlight {
      position: absolute;
      width: 500px;
      height: 500px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(232,69,60,0.12) 0%, rgba(232,69,60,0.04) 40%, transparent 70%);
      pointer-events: none;
      z-index: 1;
      top: 0;
      left: 0;
      transform: translate(-300px, -300px) translate(-50%, -50%);
      filter: blur(2px);
    }

    /* Card glow trail via CSS var */
    .portfolio-card,
    .service-card,
    .stat-card,
    .pricing-card,
    .process-step {
      --glow-x: 50%;
      --glow-y: 50%;
      position: relative;
      overflow: hidden;
    }
    .portfolio-card::before,
    .service-card::before,
    .stat-card::before,
    .pricing-card::before,
    .process-step::before,
    .about-value::before,
    .about-visual-card::after,
    .testimonial-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(circle 200px at var(--glow-x) var(--glow-y), rgba(232,69,60,0.13) 0%, transparent 70%);
      opacity: 0;
      transition: opacity 0.3s ease;
      pointer-events: none;
      z-index: 0;
    }
    .portfolio-card:hover::before,
    .service-card:hover::before,
    .stat-card:hover::before,
    .pricing-card:hover::before,
    .process-step:hover::before,
    .about-value:hover::before,
    .about-visual-card:hover::after,
    .testimonial-card:hover::before {
      opacity: 1;
    }

    /* Glitch hero h1 transition */
    .hero h1 {
      cursor: default;
    }

    /* Magnetic btn cursor */
    .btn {
      cursor: pointer;
      will-change: transform;
      isolation: isolate;
    }
    .btn-primary {
      position: relative;
      overflow: hidden;
    }
    .btn-primary::after {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.2) 0%, transparent 60%);
      opacity: 0;
      transition: opacity 0.3s;
      pointer-events: none;
    }
    .btn-primary:hover::after { opacity: 1; }

    /* Scan-line shimmer on stat cards */
    @keyframes scanLine {
      0% { transform: translateY(-100%); }
      100% { transform: translateY(200%); }
    }
    .stat-card::after {
      content: '';
      position: absolute;
      left: 0;
      right: 0;
      height: 40%;
      background: linear-gradient(to bottom, transparent, rgba(232,69,60,0.06), transparent);
      transform: translateY(-100%);
      pointer-events: none;
      z-index: 0;
    }
    .stat-card:hover::after {
      animation: scanLine 1.2s ease-out 1;
    }

    /* Animated Dotted Surface */
    .hero-dots {
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 1;
      overflow: hidden;
    }
    .hero-dots canvas {
      display: block;
      width: 100% !important;
      height: 100% !important;
    }

    /* =========================================
       STATS
       ========================================= */
    .stats {
      padding: clamp(48px, 7vw, 80px) 0 clamp(60px, 8vw, 100px);
      position: relative;
      z-index: 2;
      background: linear-gradient(180deg, #0f0f1a 0%, #13132a 40%, #1a1a2e 100%);
    }
    .stats::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 120px;
      background: linear-gradient(180deg, transparent, var(--bg));
      pointer-events: none;
    }
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1px;
      background: rgba(255,255,255,0.06);
      border-radius: var(--radius);
      overflow: hidden;
      border: 1px solid rgba(255,255,255,0.08);
    }
    .stat-card {
      background: rgba(255,255,255,0.04);
      backdrop-filter: blur(12px);
      padding: 36px 24px;
      text-align: center;
    }
    .stat-icon {
      width: 44px;
      height: 44px;
      margin: 0 auto 14px;
      background: rgba(232,69,60,0.12);
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--accent);
    }
    .stat-icon svg { width: 20px; height: 20px; }
    .stat-value {
      font-family: var(--font-display);
      font-size: clamp(28px, 4vw, 40px);
      font-weight: 800;
      color: #f5f1ec;
      letter-spacing: -0.02em;
    }
    .stat-label {
      font-size: 13px;
      color: rgba(245,241,236,0.5);
      margin-top: 4px;
      font-weight: 500;
    }

    @media (max-width: 640px) {
      .stats-grid { grid-template-columns: 1fr; }
    }

    /* =========================================
       PORTFOLIO
       ========================================= */
    .portfolio { padding: var(--section-py) 0; background: var(--bg); }
    .portfolio-header {
      text-align: center;
      margin-bottom: 56px;
    }
    .portfolio-header .section-sub {
      margin: 16px auto 0;
    }
    .portfolio-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 32px;
      max-width: 900px;
      margin: 0 auto;
    }
    .portfolio-card {
      background: var(--card-bg);
      border-radius: var(--radius);
      overflow: hidden;
      border: 1px solid var(--border);
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .portfolio-card:hover {
      box-shadow: var(--card-shadow-hover);
      transform: translateY(-4px);
      border-color: transparent;
    }
    .portfolio-card-img {
      aspect-ratio: 16/10;
      overflow: hidden;
      background: var(--bg-warm);
      position: relative;
    }
    .portfolio-card-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .portfolio-card:hover .portfolio-card-img img {
      transform: scale(1.04);
    }
    .portfolio-card-overlay {
      position: absolute;
      inset: 0;
      background: rgba(26,26,46,0.6);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity 0.3s;
    }
    .portfolio-card:hover .portfolio-card-overlay { opacity: 1; }
    .portfolio-card-overlay span {
      background: #fff;
      color: var(--text);
      padding: 10px 20px;
      border-radius: 50px;
      font-size: 13px;
      font-weight: 600;
    }
    .portfolio-card {
      cursor: pointer;
    }
    .portfolio-card-body {
      padding: 20px;
    }
    .portfolio-card-type {
      display: inline-flex;
      align-items: center;
      width: fit-content;
      margin-bottom: 10px;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      border-radius: 999px;
      padding: 4px 10px;
    }
    .portfolio-card-type--client {
      color: #8A2D26;
      background: #FDEBE9;
      border: 1px solid #F4C5C1;
    }
    .portfolio-card-type--concept {
      color: #4F3A79;
      background: #F1ECFA;
      border: 1px solid #DCCEF4;
    }
    .portfolio-card-tags {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
      margin-top: 12px;
    }
    .portfolio-card-tag {
      display: inline-block;
      font-size: 11px;
      font-weight: 600;
      color: var(--accent);
      background: var(--accent-soft);
      padding: 3px 9px;
      border-radius: 50px;
    }
    .portfolio-card-tag--neutral {
      color: var(--text-muted);
      background: var(--bg-warm);
      border: 1px solid var(--border);
    }
    .portfolio-card h3 {
      font-family: var(--font-display);
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 6px;
    }
    .portfolio-card p {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.6;
    }

    .portfolio-card-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-top: 12px;
      padding: 11px 16px;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.02em;
      color: #ffffff;
      background: linear-gradient(135deg, var(--accent), var(--accent-hover));
      border: 1px solid rgba(232, 69, 60, 0.14);
      border-radius: 999px;
      box-shadow: 0 12px 24px rgba(232, 69, 60, 0.18);
      text-decoration: none;
      transition: transform 0.2s ease, box-shadow 0.2s ease, gap 0.2s ease;
    }

    .portfolio-card-link:hover {
      color: #ffffff;
      gap: 11px;
      transform: translateY(-1px);
      box-shadow: 0 16px 30px rgba(232, 69, 60, 0.24);
    }

    .portfolio-card-link svg {
      width: 14px;
      height: 14px;
      flex-shrink: 0;
    }

    @media (max-width: 900px) {
      .portfolio-grid { grid-template-columns: 1fr; max-width: 480px; }
    }

    /* =========================================
       SERVICES
       ========================================= */
    .services {
      padding: var(--section-py) 0;
      background: var(--bg-warm);
      position: relative; overflow: hidden;
    }
    .services::before {
      content: ''; position: absolute; inset: 0;
      background: radial-gradient(ellipse 70% 50% at 80% 50%, rgba(232,69,60,0.07) 0%, transparent 70%),
                  radial-gradient(ellipse 50% 60% at 20% 50%, rgba(120,80,220,0.06) 0%, transparent 70%);
      pointer-events: none; animation: servicesGlow 8s ease-in-out infinite alternate;
    }
    @keyframes servicesGlow {
      0%   { opacity: 0.5; }
      100% { opacity: 1; }
    }
    .services-header {
      text-align: center;
      margin-bottom: 56px;
    }
    .services-header .section-sub { margin: 16px auto 0; }
    /* Dark mode text for services */
    .services .section-heading,
    .services .section-label { color: var(--text-on-dark); }
    .services .section-sub { color: rgba(245,241,236,0.55); }
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .service-card {
      background: rgba(255,255,255,0.04);
      border-radius: var(--radius);
      padding: 36px 28px;
      border: 1px solid rgba(255,255,255,0.08);
      transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
      position: relative; overflow: hidden;
    }
    .service-card::before {
      content: ''; position: absolute; inset: 0;
      background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 60%);
      pointer-events: none;
    }
    .service-card:hover {
      border-color: rgba(255,255,255,0.16);
      transform: translateY(-4px);
      box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    }
    .service-icon {
      width: 52px; height: 52px;
      border-radius: var(--radius-sm);
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 20px;
    }
    .service-icon svg { width: 24px; height: 24px; }
    .service-icon--design { background: rgba(124,58,237,0.15); color: #a78bfa; }
    .service-icon--dev    { background: rgba(37,99,235,0.15);  color: #60a5fa; }
    .service-icon--support { background: rgba(5,150,105,0.15); color: #34d399; }
    .service-card h3 {
      font-family: var(--font-display);
      font-size: 20px; font-weight: 700;
      margin-bottom: 10px; color: #fff;
      line-height: 1.15;
    }
    .service-card p {
      font-size: 15px;
      color: rgba(245,241,236,0.5);
      line-height: 1.65;
    }

    @media (max-width: 768px) {
      .services-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
    }

    /* =========================================
       PROCESS
       ========================================= */
    .process { padding: var(--section-py) 0; background: var(--bg); }
    .process-header {
      text-align: center;
      margin-bottom: 64px;
    }
    .process-header .section-sub { margin: 16px auto 0; }
    .process-timeline {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 0;
      position: relative;
    }
    .process-timeline::before {
      content: none;
    }
    /* Animated progress line that draws on scroll */
    .process-timeline::after {
      content: none;
    }
    .process-timeline.timeline-active::after {
      transform: none;
    }
    /* Step number glow when timeline reaches it */
    .process-step.step-reached .process-step-num {
      border-color: var(--accent);
      box-shadow: 0 0 0 4px var(--accent-soft), 0 0 16px rgba(232,69,60,0.2);
      transition: border-color 0.4s, box-shadow 0.6s;
    }
    .process-step {
      text-align: center;
      position: relative;
      padding: 16px 12px;
      border-radius: 32px;
    }
    .process-step-num {
      width: 64px;
      height: 64px;
      border-radius: 50%;
      background: var(--card-bg);
      border: 2px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 20px;
      font-family: var(--font-display);
      font-size: 22px;
      font-weight: 800;
      color: var(--accent);
      position: relative;
      z-index: 1;
      transition: all 0.3s;
    }
    .process-step:hover .process-step-num {
      background: var(--accent);
      border-color: var(--accent);
      color: #fff;
    }
    .process-step h3 {
      font-family: var(--font-display);
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 8px;
    }
    .process-step p {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.6;
    }

    @media (max-width: 900px) {
      .process-timeline {
        grid-template-columns: 1fr;
        gap: 32px;
        max-width: 400px;
        margin: 0 auto;
      }
      .process-timeline::before {
        content: none;
      }
      .process-timeline::after {
        content: none;
      }
      .process-timeline.timeline-active::after {
        transform: none;
      }
      .process-step {
        display: grid;
        grid-template-columns: 64px 1fr;
        gap: 16px;
        text-align: left;
        padding: 0;
      }
      .process-step-num { margin: 0; }
      .process-step-content { padding-top: 8px; }
    }

    /* =========================================
       PRICING
       ========================================= */
    .pricing {
      padding: var(--section-py) 0;
      background: var(--bg-warm);
      position: relative; overflow: hidden;
    }
    .pricing::before {
      content: ''; position: absolute; inset: 0;
      background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(232,69,60,0.1) 0%, transparent 65%);
      pointer-events: none;
    }
    .pricing-header {
      text-align: center;
      margin-bottom: 56px;
    }
    .pricing-header .section-sub { margin: 16px auto 0; }
    /* Dark heading text for pricing */
    .pricing .section-heading,
    .pricing .section-label { color: var(--text-on-dark); }
    .pricing .section-sub { color: rgba(245,241,236,0.5); }
    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      align-items: start;
    }
    .pricing-card {
      background: rgba(255,255,255,0.04);
      border-radius: var(--radius);
      padding: 36px 28px;
      border: 1px solid rgba(255,255,255,0.08);
      transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
      position: relative; overflow: hidden;
    }
    .pricing-card::before {
      content: ''; position: absolute; inset: 0;
      background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 60%);
      pointer-events: none;
    }
    .pricing-card:hover {
      border-color: rgba(255,255,255,0.16);
      transform: translateY(-4px);
      box-shadow: 0 20px 56px rgba(0,0,0,0.4);
    }
    .pricing-card--featured {
      background: linear-gradient(135deg, rgba(232,69,60,0.12) 0%, rgba(100,60,200,0.08) 100%);
      border-color: rgba(232,69,60,0.35);
      box-shadow: 0 0 0 1px rgba(232,69,60,0.2), 0 8px 32px rgba(232,69,60,0.1);
      transform: scale(1.02);
    }
    .pricing-card--featured:hover {
      transform: scale(1.02) translateY(-4px);
      box-shadow: 0 0 0 1px rgba(232,69,60,0.4), 0 20px 56px rgba(232,69,60,0.15);
    }
    .pricing-popular {
      display: inline-block;
      background: var(--accent);
      color: #fff;
      font-size: 11px; font-weight: 700;
      padding: 5px 14px; border-radius: 50px;
      text-transform: uppercase; letter-spacing: 0.06em;
      margin-bottom: 16px;
    }
    .pricing-card h3 {
      font-family: var(--font-display);
      font-size: 24px; font-weight: 800;
      margin-bottom: 8px; color: #fff;
    }
    .pricing-from {
      font-size: 14px; color: rgba(245,241,236,0.55);
      margin-bottom: 12px;
    }
    .pricing-from strong {
      color: var(--accent); font-size: 22px; font-weight: 800;
    }
    .pricing-card > p {
      font-size: 14px; line-height: 1.6; margin-bottom: 24px;
      color: rgba(245,241,236,0.5);
    }
    .pricing-features { margin-bottom: 28px; list-style: none; }
    .pricing-features li {
      display: flex; align-items: flex-start; gap: 10px;
      font-size: 14px; color: rgba(245,241,236,0.75);
      padding: 8px 0; line-height: 1.5;
    }
    .pricing-features li::before {
      content: ''; width: 6px; height: 6px; border-radius: 50%;
      background: var(--accent); margin-top: 7px; flex-shrink: 0;
    }
    .pricing-card .btn { width: 100%; justify-content: center; }
    .pricing-card .btn-secondary {
      background: transparent; color: rgba(245,241,236,0.7);
      border-color: rgba(255,255,255,0.15);
    }
    .pricing-card .btn-secondary:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.3); color: #fff; }
    .pricing-footer {
      text-align: center; margin-top: 48px;
    }
    .pricing-footer p {
      font-size: 15px; color: rgba(245,241,236,0.4); margin-bottom: 16px;
    }

    @media (max-width: 900px) {
      .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
    }

    /* =========================================
       ABOUT
       ========================================= */
    .about {
      padding: var(--section-py) 0;
      background: var(--bg);
    }
    .about-inner {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 64px;
      align-items: center;
    }
    .about-content .section-sub {
      margin-top: 16px;
    }
    .about-visual {
      position: relative;
    }
    .about-visual-card {
      --glow-x: 50%;
      --glow-y: 50%;
      background: var(--bg-dark);
      border-radius: var(--radius);
      padding: 48px 36px;
      color: var(--text-on-dark);
      position: relative;
      overflow: hidden;
    }
    .about-visual-card::before {
      content: '';
      position: absolute;
      top: -30%;
      right: -30%;
      width: 260px;
      height: 260px;
      background: radial-gradient(circle, rgba(232,69,60,0.15), transparent);
      pointer-events: none;
    }
    .about-visual-card blockquote {
      font-family: var(--font-display);
      font-size: 26px;
      font-weight: 700;
      line-height: 1.3;
      letter-spacing: -0.01em;
      position: relative;
      z-index: 1;
    }
    .about-visual-card blockquote .accent-text {
      background: linear-gradient(135deg, var(--accent), #FF7B54);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .about-values {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin-top: 24px;
    }
    .about-value {
      --glow-x: 50%;
      --glow-y: 50%;
      background: rgba(245,241,236,0.08);
      border: 1px solid var(--border-dark);
      border-radius: var(--radius-sm);
      padding: 16px;
      text-align: center;
      position: relative;
      overflow: hidden;
      transition: border-color 0.3s ease, transform 0.3s ease;
    }
    .about-value:hover {
      border-color: rgba(232,69,60,0.3);
    }
    .about-value-icon { font-size: 22px; margin-bottom: 6px; }
    .about-value span {
      display: block;
      font-size: 12px;
      font-weight: 600;
      color: rgba(245,241,236,0.7);
      letter-spacing: 0.02em;
    }

    @media (max-width: 768px) {
      .about-inner { grid-template-columns: 1fr; gap: 40px; }
    }

    /* =========================================
       TESTIMONIALS
       ========================================= */
    .testimonials {
      padding: var(--section-py) 0;
      padding-bottom: 0;
      background: var(--bg-warm);
      position: relative; overflow: hidden;
    }
    .testimonials::after {
      content: '';
      position: relative;
      display: block;
      height: 120px;
      margin-top: 60px;
      background: linear-gradient(to bottom, transparent 0%, var(--bg-dark) 100%);
      pointer-events: none;
    }
    .testimonials::before {
      content: ''; position: absolute; inset: 0;
      background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(120,80,220,0.08) 0%, transparent 70%);
      pointer-events: none;
    }
    .testimonials-header {
      text-align: center;
      margin-bottom: 56px;
    }
    .testimonials .section-heading,
    .testimonials .section-label { color: var(--text-on-dark); }
    .testimonials .section-sub {
      max-width: 780px;
      margin: 18px auto 0;
      color: rgba(245,241,236,0.5);
      line-height: 1.5;
      text-wrap: balance;
    }
    .testimonials-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(320px, 390px));
      justify-content: center;
      gap: 28px;
    }
    @media (max-width: 900px) {
      .testimonials-grid { grid-template-columns: 1fr; }
    }
    .testimonial-card {
      --glow-x: 50%;
      --glow-y: 50%;
      background: rgba(255,255,255,0.04);
      border-radius: var(--radius);
      padding: 36px 28px;
      text-align: center;
      border: 1px solid rgba(255,255,255,0.1);
      position: relative;
      overflow: hidden;
      backdrop-filter: blur(8px);
      transition: border-color 0.3s;
    }
    .testimonial-card:hover { border-color: rgba(255,255,255,0.2); }
    .testimonial-stars {
      display: flex; justify-content: center;
      gap: 4px; margin-bottom: 24px;
      color: #F59E0B; font-size: 20px;
    }
    .testimonial-card blockquote {
      font-size: 18px; line-height: 1.75;
      color: rgba(245,241,236,0.85);
      font-style: italic; margin-bottom: 28px;
    }
    .testimonial-author {
      display: flex; align-items: center;
      justify-content: center; gap: 14px;
      flex-wrap: wrap;
    }
    .testimonial-avatar {
      width: 48px; height: 48px; border-radius: 50%;
      object-fit: cover; border: 2px solid rgba(255,255,255,0.15);
    }
    .testimonial-author-info { text-align: left; }
    .testimonial-author-name {
      font-family: var(--font-display);
      font-weight: 700; font-size: 15px; color: #fff;
    }
    .testimonial-author-role {
      font-size: 13px;
      color: rgba(245,241,236,0.45);
    }
    .testimonial-dots {
      display: flex; justify-content: center;
      gap: 8px; margin-top: 32px;
    }
    .testimonial-dot {
      width: 8px; height: 8px; border-radius: 50%;
      background: rgba(255,255,255,0.2);
      cursor: pointer; transition: all 0.3s;
    }
    .testimonial-dot.active {
      background: var(--accent);
      width: 24px; border-radius: 4px;
    }

    /* =========================================
       CTA — Dark bookend section
       ========================================= */
    .cta-section {
      padding: var(--section-py) 0;
      background: var(--bg-dark);
      color: var(--text-on-dark);
      position: relative;
      overflow: hidden;
    }

    /* Wide elliptical aurora rising from the bottom */
    .cta-section::before {
      content: '';
      position: absolute;
      bottom: -30%;
      left: 50%;
      transform: translateX(-50%);
      width: 140%;
      height: 70%;
      background:
        radial-gradient(ellipse 70% 55% at 50% 100%, rgba(232,69,60,0.22) 0%, rgba(232,69,60,0.06) 50%, transparent 75%),
        radial-gradient(ellipse 40% 35% at 28% 90%, rgba(168,85,247,0.10) 0%, transparent 65%),
        radial-gradient(ellipse 40% 35% at 72% 90%, rgba(232,69,60,0.08) 0%, transparent 65%);
      pointer-events: none;
      animation: ctaAurora 6s ease-in-out infinite alternate;
    }

    /* Thin horizon line glow across the bottom */
    .cta-section::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 10%;
      right: 10%;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(232,69,60,0.45) 30%, rgba(168,85,247,0.3) 70%, transparent);
      pointer-events: none;
    }

    @keyframes ctaAurora {
      0%   { opacity: 0.85; transform: translateX(-50%) scaleX(1); }
      100% { opacity: 1;    transform: translateX(-50%) scaleX(1.06); }
    }

    @media (prefers-reduced-motion: reduce) {
      .cta-section::before { animation: none; }
    }
    .cta-inner {
      text-align: center;
      position: relative;
      z-index: 1;
      max-width: 600px;
      margin: 0 auto;
    }
    .cta-inner .section-sub {
      color: rgba(245,241,236,0.6);
      margin: 16px auto 36px;
    }
    .cta-note {
      font-size: 13px;
      color: rgba(245,241,236,0.4);
      margin-top: 20px;
    }

    /* =========================================
       FOOTER
       ========================================= */
    .footer {
      background: var(--bg-dark);
      color: rgba(245,241,236,0.5);
      padding: 48px 0;
      border-top: 1px solid var(--border-dark);
    }
    .footer-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 24px;
    }
    .footer-brand-group {
      display: flex;
      flex-direction: column;
      gap: 5px;
    }
    .footer-tagline {
      font-family: var(--font-body);
      font-size: 11px;
      font-style: italic;
      letter-spacing: 0.03em;
      color: rgba(245,241,236,0.32);
      margin: 0;
      padding-left: 2px;
    }
    .footer-brand {
      display: flex;
      align-items: center;
      gap: 10px;
      color: var(--text-on-dark);
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 18px;
    }
    .footer-links {
      display: flex;
      gap: 24px;
      flex-wrap: wrap;
    }
    .footer-links a {
      font-size: 13px;
      transition: color 0.2s;
    }
    .footer-links a:hover { color: var(--text-on-dark); }
    .footer-description {
      width: 100%;
      text-align: center;
      font-size: 14px;
      line-height: 1.65;
      max-width: 760px;
      margin: 20px auto 0;
      color: rgba(245,241,236,0.55);
    }
    .footer-trust {
      width: 100%;
      text-align: center;
      font-size: 13px;
      margin-top: 20px;
      color: rgba(245,241,236,0.72);
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
    }
    .footer-copy {
      width: 100%;
      text-align: center;
      font-size: 13px;
      margin-top: 24px;
      padding-top: 24px;
      border-top: 1px solid var(--border-dark);
    }

    @media (max-width: 600px) {
      .footer-inner { flex-direction: column; text-align: center; }
      .footer-links { justify-content: center; }
    }

    /* =========================================
       PORTFOLIO PREVIEW MODAL
       ========================================= */
    .pf-backdrop {
      position: fixed; inset: 0; z-index: 400;
      background: rgba(8,7,18,0.88);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      display: flex; align-items: center; justify-content: center;
      padding: 20px;
      overscroll-behavior: contain;
      opacity: 0; pointer-events: none;
      transition: opacity 0.3s ease;
    }
    .pf-backdrop.open { opacity: 1; pointer-events: all; }

    .pf-modal {
      position: relative;
      background: #12101e;
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 20px;
      width: 100%; max-width: 860px;
      max-height: min(90vh, calc(100dvh - 40px)); overflow: hidden;
      box-shadow: 0 40px 120px rgba(0,0,0,0.7), 0 0 0 1px rgba(232,69,60,0.08);
      transform: scale(0.9) translateY(24px);
      transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
      display: flex; flex-direction: column;
    }
    .pf-backdrop.open .pf-modal { transform: scale(1) translateY(0); }

    .pf-modal-img-wrap {
      position: relative; flex-shrink: 0;
      aspect-ratio: 16/9; overflow: hidden;
      background: #0d0c1a;
    }
    .pf-modal-img-wrap img {
      width: 100%; height: 100%; object-fit: cover;
      display: block;
    }
    .pf-modal-img-wrap::after {
      content: ''; position: absolute; inset: 0;
      background: linear-gradient(180deg, transparent 60%, rgba(18,16,30,0.95) 100%);
      pointer-events: none;
    }

    .pf-modal-body {
      padding: 24px 32px 32px;
      display: flex; flex-direction: column; gap: 10px;
      overflow-y: auto;
    }
    .pf-modal-tag {
      display: inline-flex; align-items: center; gap: 6px;
      font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
      text-transform: uppercase; color: var(--accent);
      background: rgba(232,69,60,0.12); border: 1px solid rgba(232,69,60,0.2);
      border-radius: 50px; padding: 4px 12px; width: fit-content;
    }
    .pf-modal-title {
      font-family: var(--font-display); font-size: clamp(22px,3vw,30px);
      font-weight: 800; color: #fff; letter-spacing: -0.02em;
    }
    .pf-modal-desc {
      font-size: 15px; color: rgba(245,241,236,0.55); line-height: 1.7;
    }
    .pf-modal-actions { display: flex; gap: 12px; margin-top: 6px; flex-wrap: wrap; }

    .pf-btn-live {
      display: inline-flex; align-items: center; gap: 8px;
      font-family: var(--font-body); font-size: 14px; font-weight: 700;
      background: var(--accent); color: #fff;
      padding: 12px 24px; border-radius: 50px; cursor: pointer;
      border: none; transition: background 0.2s, transform 0.2s;
      box-shadow: 0 4px 20px rgba(232,69,60,0.35);
    }
    .pf-btn-live:hover { background: var(--accent-hover); transform: translateY(-1px); }
    .pf-btn-live svg { width: 14px; height: 14px; }

    .pf-btn-close-modal {
      display: inline-flex; align-items: center; gap: 8px;
      font-family: var(--font-body); font-size: 14px; font-weight: 600;
      background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.65);
      padding: 12px 22px; border-radius: 50px; cursor: pointer;
      border: 1px solid rgba(255,255,255,0.1); transition: all 0.2s;
    }
    .pf-btn-close-modal:hover { background: rgba(255,255,255,0.12); color: #fff; }

    .pf-close-x {
      position: absolute; top: 14px; right: 14px; z-index: 10;
      width: 36px; height: 36px; border-radius: 50%;
      background: rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.1);
      display: flex; align-items: center; justify-content: center;
      cursor: pointer; color: rgba(255,255,255,0.8); font-size: 18px;
      transition: background 0.2s, color 0.2s; line-height: 1;
    }
    .pf-close-x:hover { background: rgba(232,69,60,0.7); color: #fff; }

    /* BROWSER / IFRAME STATE */
    .pf-browser {
      position: fixed; inset: 0; z-index: 500;
      display: flex; flex-direction: column;
      overscroll-behavior: contain;
      opacity: 0; pointer-events: none;
      transition: opacity 0.3s;
    }
    .pf-browser.open { opacity: 1; pointer-events: all; }

    .pf-browser-chrome {
      height: 52px; flex-shrink: 0;
      background: #1c1a2e;
      border-bottom: 1px solid rgba(255,255,255,0.07);
      display: flex; align-items: center; gap: 12px; padding: 0 16px;
    }
    .pf-browser-dots { display: flex; gap: 6px; }
    .pf-browser-dots span {
      width: 12px; height: 12px; border-radius: 50%; display: block;
    }
    .pf-browser-dots span:nth-child(1) { background: #ff5f57; }
    .pf-browser-dots span:nth-child(2) { background: #febc2e; }
    .pf-browser-dots span:nth-child(3) { background: #28c840; }

    .pf-browser-url {
      flex: 1; height: 30px;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 8px; display: flex; align-items: center;
      padding: 0 12px; gap: 8px;
      font-size: 12px; color: rgba(255,255,255,0.45);
      font-family: 'Space Grotesk', monospace; overflow: hidden;
    }
    .pf-browser-url svg { width: 12px; height: 12px; flex-shrink: 0; color: rgba(255,255,255,0.3); }
    .pf-browser-url span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

    .pf-browser-actions { display: flex; gap: 8px; flex-shrink: 0; }
    .pf-browser-newtab {
      display: inline-flex; align-items: center; gap: 6px;
      font-size: 12px; font-weight: 600; font-family: var(--font-body);
      background: var(--accent); color: #fff;
      padding: 6px 14px; border-radius: 50px; cursor: pointer; border: none;
      white-space: nowrap; transition: background 0.2s; text-decoration: none;
    }
    .pf-browser-newtab:hover { background: var(--accent-hover); }
    .pf-browser-newtab svg { width: 11px; height: 11px; }

    .pf-browser-x {
      width: 30px; height: 30px; border-radius: 8px;
      background: rgba(255,255,255,0.07); border: none;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer; color: rgba(255,255,255,0.6); font-size: 16px;
      transition: background 0.2s; flex-shrink: 0;
    }
    .pf-browser-x:hover { background: rgba(232,69,60,0.6); color: #fff; }

    .pf-browser-frame {
      flex: 1; border: none; width: 100%;
      background: #fff;
    }
    .pf-browser-blocked {
      flex: 1; display: flex; flex-direction: column;
      align-items: center; justify-content: center; gap: 16px;
      background: #0f0e1c; color: rgba(255,255,255,0.5); text-align: center; padding: 24px;
    }
    .pf-browser-blocked svg { width: 48px; height: 48px; opacity: 0.3; }
    .pf-browser-blocked p { font-size: 15px; max-width: 360px; line-height: 1.7; }

    /* =========================================
       QUOTE MODAL
       ========================================= */
    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(26,26,46,0.5);
      backdrop-filter: blur(4px);
      z-index: 200;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s;
      padding: 24px;
      overscroll-behavior: contain;
    }
    .modal-overlay.open {
      opacity: 1;
      pointer-events: auto;
    }
    .modal {
      background: var(--card-bg);
      border-radius: var(--radius);
      padding: 40px 36px;
      max-width: 520px;
      width: 100%;
      max-height: 90vh;
      overflow-y: auto;
      transform: translateY(20px) scale(0.97);
      transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      position: relative;
    }
    .modal-overlay.open .modal {
      transform: translateY(0) scale(1);
    }
    .modal-close {
      position: absolute;
      top: 16px;
      right: 16px;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-muted);
      transition: all 0.2s;
    }
    .modal-close:hover { background: var(--bg-warm); color: var(--text); }
    .modal h2 {
      font-family: var(--font-display);
      font-size: 24px;
      font-weight: 800;
      margin-bottom: 8px;
    }
    .modal > p {
      font-size: 14px;
      color: var(--text-muted);
      margin-bottom: 28px;
    }
    .modal-capacity-note {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      margin: -8px 0 22px;
      padding: 12px 14px;
      border: 1px solid var(--border);
      border-radius: 12px;
      background: linear-gradient(180deg, rgba(245,241,236,0.7) 0%, rgba(253,252,250,0.95) 100%);
      color: var(--text-muted);
      font-size: 13px;
      line-height: 1.65;
    }
    .modal-capacity-note::before {
      content: '';
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--accent);
      flex-shrink: 0;
      margin-top: 6px;
      box-shadow: 0 0 0 5px rgba(232,69,60,0.08);
    }
    .form-group {
      margin-bottom: 18px;
    }
    .form-group label {
      display: block;
      font-size: 13px;
      font-weight: 600;
      margin-bottom: 6px;
      color: var(--text);
    }
    .form-group input,
    .form-group textarea,
    .form-group select {
      width: 100%;
      padding: 12px 14px;
      border: 1.5px solid var(--border);
      border-radius: var(--radius-xs);
      font-family: var(--font-body);
      font-size: 14px;
      color: var(--text);
      background: var(--bg);
      transition: border-color 0.2s;
      outline: none;
    }
    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus {
      border-color: var(--accent);
    }
    .form-group textarea { resize: vertical; min-height: 80px; }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    .modal .btn-primary {
      width: 100%;
      justify-content: center;
      margin-top: 8px;
      padding: 16px;
    }

    @media (max-width: 768px) {
      .portfolio-card-overlay {
        opacity: 1;
        background: linear-gradient(180deg, rgba(26,26,46,0.08) 0%, rgba(26,26,46,0.58) 100%);
        align-items: flex-end;
        padding: 16px;
      }

      .portfolio-card-overlay span {
        width: 100%;
        text-align: center;
      }

      .pf-backdrop {
        align-items: flex-end;
        padding: 12px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
      }

      .pf-modal {
        max-height: calc(100dvh - 24px);
      }

      .pf-modal-body {
        padding: 20px 18px 22px;
      }

      .pf-modal-actions {
        flex-direction: column;
      }

      .pf-btn-live,
      .pf-btn-close-modal {
        width: 100%;
        justify-content: center;
      }

      .modal-overlay {
        align-items: flex-end;
        padding: 12px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
      }

      .modal {
        max-height: calc(100dvh - 24px);
        padding: 32px 20px 20px;
      }
    }

    @media (max-width: 640px) {
      .form-row { grid-template-columns: 1fr; }
    }

    /* =========================================
       GRAIN OVERLAY
       ========================================= */
    .grain {
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 999;
      opacity: 0.025;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
      background-repeat: repeat;
      background-size: 256px;
      contain: strict;
      content-visibility: auto;
    }
