
    :root {
      --bg-dark: #07080b;
      --bg-surface: #0e1017;
      --bg-card: rgba(20, 24, 34, 0.65);
      --border: rgba(255, 255, 255, 0.08);
      --border-hover: rgba(200, 255, 0, 0.4);
      --accent: #c8ff00;
      --accent-glow: rgba(200, 255, 0, 0.25);
      --accent-blue: #00d2ff;
      --accent-violet: #8e2de2;
      --text-primary: #f3f5f8;
      --text-secondary: #8c93a8;
      --font-heading: 'Syne', sans-serif;
      --font-body: 'Plus Jakarta Sans', sans-serif;
      --font-mono: 'Space Mono', monospace;
    }

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

    html {
      scroll-behavior: smooth;
      background-color: var(--bg-dark);
      color: var(--text-primary);
      font-family: var(--font-body);
    }

    body {
      overflow-x: hidden;
      position: relative;
      background: radial-gradient(circle at 50% 0%, rgba(142, 45, 226, 0.08), transparent 45%),
                  radial-gradient(circle at 90% 40%, rgba(0, 210, 255, 0.05), transparent 40%),
                  var(--bg-dark);
    }

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

    /* Custom Cursor */
    .cursor-dot {
      width: 4px;
      height: 4px;
      background-color: rgba(200, 255, 0, 0.62);
      border-radius: 50%;
      position: fixed;
      top: 0; left: 0;
      transform: translate(-50%, -50%);
      pointer-events: none;
      z-index: 12000;
      transition: opacity 0.2s ease;
      box-shadow: 0 0 6px rgba(200, 255, 0, 0.38);
    }

    .cursor-follower {
      width: 22px;
      height: 22px;
      border: 1px solid rgba(200, 255, 0, 0.22);
      background: rgba(200, 255, 0, 0.025);
      border-radius: 50%;
      position: fixed;
      top: 0; left: 0;
      transform: translate(-50%, -50%);
      pointer-events: none;
      z-index: 11999;
      transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                  height 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                  background-color 0.3s, 
                  border-color 0.3s;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-mono);
      font-size: 9px;
      color: #000;
      font-weight: 700;
      letter-spacing: 1px;
    }

    .cursor-follower.hovered {
      width: 22px;
      height: 22px;
      background-color: rgba(200, 255, 0, 0.025);
      border-color: rgba(200, 255, 0, 0.22);
    }

    .cursor-follower.view {
      width: 22px;
      height: 22px;
      background-color: rgba(200, 255, 0, 0.025);
      border-color: rgba(200, 255, 0, 0.22);
    }

    /* Header */
    header {
      position: fixed;
      top: 0; left: 0; right: 0;
      height: 80px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 5vw;
      z-index: 1000;
      backdrop-filter: blur(20px);
      background: rgba(7, 8, 11, 0.7);
      border-bottom: 1px solid var(--border);
    }

    .logo {
      font-family: var(--font-heading);
      font-weight: 900;
      color: var(--text-primary);
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 8px;
      white-space: nowrap;
    }

    .logo-mark {
      width: 34px;
      height: 34px;
      border: 1px solid rgba(200, 255, 0, .32);
      border-radius: 11px;
      position: relative;
      display: inline-block;
      transform: rotate(-7deg);
      background: rgba(200, 255, 0, .06);
      box-shadow: inset 0 0 20px rgba(200, 255, 0, .05);
    }

    .logo-mark::before,
    .logo-mark::after {
      content: "";
      position: absolute;
      width: 6px;
      border-radius: 8px;
      background: var(--accent);
      box-shadow: 0 0 12px rgba(200, 255, 0, .28);
    }

    .logo-mark::before { height: 19px; left: 10px; top: 8px; transform: skew(-15deg); }
    .logo-mark::after { height: 12px; left: 20px; top: 6px; transform: skew(-15deg); opacity: .72; }

    .logo-word {
      color: #fff;
      font-size: 1.12rem;
      letter-spacing: .12em;
    }

    .logo-divider {
      color: var(--accent);
      font: 700 1rem var(--font-mono);
    }

    .logo-sub {
      color: var(--text-secondary);
      font: 700 .72rem var(--font-mono);
      letter-spacing: .16em;
    }

    .status-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 14px;
      border-radius: 100px;
      background: rgba(200, 255, 0, 0.06);
      border: 1px solid rgba(200, 255, 0, 0.2);
      font-family: var(--font-mono);
      font-size: 0.72rem;
      color: var(--accent);
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .status-dot {
      width: 6px;
      height: 6px;
      background: var(--accent);
      border-radius: 50%;
      box-shadow: 0 0 10px var(--accent);
      animation: pulse 2s infinite ease-in-out;
    }

    @keyframes pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.3; transform: scale(0.8); }
    }

    nav {
      display: flex;
      align-items: center;
      gap: 32px;
    }

    nav a {
      color: var(--text-secondary);
      text-decoration: none;
      font-family: var(--font-mono);
      font-size: 0.85rem;
      transition: color 0.3s;
      position: relative;
    }

    nav a:hover {
      color: var(--text-primary);
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .btn-sound {
      background: transparent;
      border: 1px solid var(--border);
      color: var(--text-secondary);
      padding: 8px 14px;
      border-radius: 50px;
      font-family: var(--font-mono);
      font-size: 0.75rem;
      transition: all 0.3s;
    }

    .btn-sound:hover {
      border-color: var(--accent);
      color: var(--accent);
    }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: var(--accent);
      color: #07080b;
      font-family: var(--font-heading);
      font-weight: 700;
      font-size: 0.85rem;
      text-transform: uppercase;
      letter-spacing: 1px;
      padding: 12px 26px;
      border-radius: 50px;
      text-decoration: none;
      border: none;
      transition: transform 0.3s, box-shadow 0.3s;
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 25px var(--accent-glow);
    }

    /* Hero Section */
    .hero {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 140px 5vw 60px;
      position: relative;
    }

    #hero-canvas {
      position: absolute;
      top: 0; left: 0; width: 100%; height: 100%;
      pointer-events: none;
      z-index: 0;
      opacity: 0.6;
    }

    .hero-content {
      position: relative;
      z-index: 1;
      max-width: 1200px;
    }

    .hero-tag {
      font-family: var(--font-mono);
      font-size: 0.85rem;
      color: var(--accent);
      margin-bottom: 24px;
      display: flex;
      align-items: center;
      gap: 12px;
      letter-spacing: 2px;
    }

    .hero-tag::before {
      content: "";
      width: 30px;
      height: 1px;
      background: var(--accent);
    }

    .hero-title {
      font-family: var(--font-heading);
      font-size: clamp(2.8rem, 7vw, 6.8rem);
      font-weight: 900;
      line-height: 0.95;
      letter-spacing: -1.5px;
      text-transform: uppercase;
      margin-bottom: 30px;
    }

    .hero-title .outline-text {
      color: transparent;
      -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.4);
      transition: -webkit-text-stroke 0.4s;
    }

    .hero-title .outline-text:hover {
      -webkit-text-stroke: 1.5px var(--accent);
    }

    .hero-title .gradient-text {
      background: linear-gradient(135deg, #c8ff00, #00d2ff);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .hero-desc {
      font-size: clamp(1rem, 1.4vw, 1.25rem);
      color: var(--text-secondary);
      max-width: 650px;
      line-height: 1.7;
      margin-bottom: 45px;
      font-weight: 300;
    }

    .hero-stats-row {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 24px;
      max-width: 800px;
      margin-top: 40px;
      padding-top: 40px;
      border-top: 1px solid var(--border);
    }

    .stat-item h3 {
      font-family: var(--font-heading);
      font-size: 2.5rem;
      font-weight: 800;
      color: var(--text-primary);
    }

    .stat-item h3 span {
      color: var(--accent);
    }

    .stat-item p {
      font-family: var(--font-mono);
      font-size: 0.75rem;
      color: var(--text-secondary);
      letter-spacing: 1px;
      text-transform: uppercase;
      margin-top: 6px;
    }

    /* Infinite Marquee */
    .marquee-container {
      width: 100%;
      overflow: hidden;
      padding: 24px 0;
      background: rgba(200, 255, 0, 0.02);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      white-space: nowrap;
      position: relative;
    }

    .marquee-track {
      display: inline-flex;
      animation: marqueeScroll 25s linear infinite;
    }

    .marquee-track span {
      font-family: var(--font-heading);
      font-size: 1.3rem;
      font-weight: 800;
      letter-spacing: 2px;
      color: rgba(255, 255, 255, 0.7);
      margin: 0 35px;
      display: flex;
      align-items: center;
      gap: 30px;
    }

    .marquee-track span::after {
      content: "✦";
      color: var(--accent);
      font-size: 1rem;
    }

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

    /* General Section Styling */
    section {
      padding: 120px 5vw;
      position: relative;
    }

    .section-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      margin-bottom: 60px;
      flex-wrap: wrap;
      gap: 20px;
    }

    .section-sub {
      font-family: var(--font-mono);
      font-size: 0.8rem;
      color: var(--accent);
      letter-spacing: 2px;
      text-transform: uppercase;
      margin-bottom: 10px;
    }

    .section-title {
      font-family: var(--font-heading);
      font-size: clamp(2rem, 4vw, 3.5rem);
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: -1px;
    }

    /* Filter Tabs */
    .filter-tabs {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin-bottom: 40px;
    }

    .tab-btn {
      padding: 8px 18px;
      background: var(--bg-surface);
      border: 1px solid var(--border);
      border-radius: 40px;
      color: var(--text-secondary);
      font-family: var(--font-mono);
      font-size: 0.8rem;
      transition: all 0.3s;
    }

    .tab-btn.active, .tab-btn:hover {
      background: var(--accent);
      color: #000;
      border-color: var(--accent);
      font-weight: 700;
    }

    /* Projects Grid */
    .projects-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
      gap: 36px;
    }

    .project-card {
      background: var(--bg-surface);
      border: 1px solid var(--border);
      border-radius: 18px;
      overflow: hidden;
      position: relative;
      transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s;
      transform-style: preserve-3d;
      will-change: transform;
      cursor: pointer;
    }

    .project-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

    .project-card:hover {
      border-color: var(--border-hover);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    }

    .card-img-wrap {
      width: 100%;
      height: 280px;
      overflow: hidden;
      position: relative;
    }

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

    .project-card:hover .card-img-wrap img {
      transform: scale(1.08);
    }

    .card-tags {
      position: absolute;
      top: 16px; left: 16px;
      display: flex;
      gap: 8px;
      z-index: 2;
    }

    .card-tag {
      padding: 4px 10px;
      background: rgba(0, 0, 0, 0.75);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 6px;
      font-family: var(--font-mono);
      font-size: 0.68rem;
      color: #fff;
    }

    .card-body {
      padding: 24px;
    }

    .card-client {
      font-family: var(--font-mono);
      font-size: 0.75rem;
      color: var(--accent);
      letter-spacing: 1px;
      margin-bottom: 8px;
    }

    .card-title {
      font-family: var(--font-heading);
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 12px;
    }

    .card-desc {
      font-size: 0.88rem;
      color: var(--text-secondary);
      line-height: 1.6;
      margin-bottom: 20px;
    }

    .card-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: 16px;
      border-top: 1px solid var(--border);
      font-family: var(--font-mono);
      font-size: 0.78rem;
      color: var(--text-secondary);
    }

    .btn-view-case {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: var(--accent);
      text-decoration: none;
      font-weight: 700;
      transition: gap 0.2s;
    }

    .project-card:hover .btn-view-case {
      gap: 12px;
    }

    /* Bento Grid (Capabilities / Services) */
    .bento-grid {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      gap: 24px;
    }

    .bento-card {
      background: var(--bg-surface);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 36px;
      position: relative;
      overflow: hidden;
      transition: border-color 0.3s;
    }

    .bento-card:hover {
      border-color: rgba(200, 255, 0, 0.35);
    }

    .bento-col-8 { grid-column: span 8; }
    .bento-col-4 { grid-column: span 4; }
    .bento-col-6 { grid-column: span 6; }

    @media (max-width: 960px) {
      .bento-col-8, .bento-col-4, .bento-col-6 { grid-column: span 12; }
    }

    .bento-icon {
      font-size: 2rem;
      color: var(--accent);
      margin-bottom: 20px;
    }

    .bento-title {
      font-family: var(--font-heading);
      font-size: 1.7rem;
      font-weight: 800;
      margin-bottom: 12px;
    }

    .bento-desc {
      color: var(--text-secondary);
      font-size: 0.95rem;
      line-height: 1.6;
      margin-bottom: 24px;
    }

    .tech-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .tech-badge {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid var(--border);
      padding: 6px 14px;
      border-radius: 50px;
      font-family: var(--font-mono);
      font-size: 0.75rem;
      color: var(--text-primary);
    }

    /* Live Studio Time & Status Widget */
    .time-widget {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 100%;
    }

    .live-clock {
      font-family: var(--font-mono);
      font-size: 2.6rem;
      font-weight: 700;
      color: var(--accent);
      margin: 16px 0;
    }

    /* Interactive Estimate / Contact Form */
    .contact-wrapper {
      background: var(--bg-surface);
      border: 1px solid var(--border);
      border-radius: 24px;
      padding: clamp(30px, 6vw, 60px);
      position: relative;
    }

    .form-group-title {
      font-family: var(--font-mono);
      font-size: 0.85rem;
      color: var(--text-secondary);
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 16px;
    }

    .chips-group {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 30px;
    }

    .chip {
      padding: 10px 20px;
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid var(--border);
      border-radius: 50px;
      font-size: 0.85rem;
      color: var(--text-secondary);
      user-select: none;
      transition: all 0.25s;
    }

    .chip.selected {
      background: rgba(200, 255, 0, 0.12);
      border-color: var(--accent);
      color: var(--accent);
      font-weight: 600;
    }

    .input-row {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
      margin-bottom: 24px;
    }

    .input-field {
      width: 100%;
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 16px 20px;
      color: var(--text-primary);
      font-family: var(--font-body);
      font-size: 0.95rem;
      transition: border-color 0.3s, background 0.3s;
      outline: none;
    }

    .input-field:focus {
      border-color: var(--accent);
      background: rgba(200, 255, 0, 0.03);
    }

    textarea.input-field {
      resize: vertical;
      min-height: 120px;
    }

    /* Modal for Case Studies */
    .modal-overlay {
      position: fixed;
      top: 0; left: 0; width: 100%; height: 100%;
      background: rgba(0, 0, 0, 0.85);
      backdrop-filter: blur(16px);
      z-index: 10001;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
    }

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

    .modal-content {
      background: var(--bg-surface);
      border: 1px solid var(--border);
      border-radius: 20px;
      max-width: 800px;
      width: 100%;
      max-height: 90vh;
      overflow-y: auto;
      padding: 40px;
      position: relative;
      transform: translateY(30px);
      transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .modal-overlay.active .modal-content {
      transform: translateY(0);
    }

    .modal-close {
      position: absolute;
      top: 24px; right: 24px;
      background: none;
      border: 1px solid var(--border);
      color: #fff;
      font-size: 1.2rem;
      width: 40px; height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s;
    }

    .modal-close:hover {
      background: var(--accent);
      color: #000;
      border-color: var(--accent);
    }

    /* Footer */
    footer {
      border-top: 1px solid var(--border);
      padding: 80px 5vw 40px;
      background: #040507;
    }

    .footer-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 30px;
      margin-bottom: 60px;
    }

    .footer-huge-title {
      font-family: var(--font-heading);
      font-size: clamp(3rem, 11vw, 9.5rem);
      font-weight: 900;
      color: rgba(255, 255, 255, 0.05);
      line-height: 0.85;
      text-transform: uppercase;
      user-select: none;
      letter-spacing: -3px;
      margin-bottom: 40px;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 20px;
      font-family: var(--font-mono);
      font-size: 0.8rem;
      color: var(--text-secondary);
      border-top: 1px solid rgba(255, 255, 255, 0.04);
      padding-top: 30px;
    }

    .social-links {
      display: flex;
      gap: 20px;
    }

    .social-links a {
      color: var(--text-secondary);
      text-decoration: none;
      transition: color 0.3s;
    }

    .social-links a:hover {
      color: var(--accent);
    }

    /* Scroll to top button */
    .btn-top {
      background: var(--bg-surface);
      border: 1px solid var(--border);
      color: #fff;
      width: 44px; height: 44px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s;
    }

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

    /* Toast notification */
    .toast {
      position: fixed;
      bottom: 30px; right: 30px;
      background: var(--accent);
      color: #000;
      font-family: var(--font-mono);
      font-size: 0.85rem;
      font-weight: 700;
      padding: 16px 28px;
      border-radius: 12px;
      box-shadow: 0 10px 30px rgba(200, 255, 0, 0.3);
      transform: translateY(120px);
      opacity: 0;
      transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
      z-index: 10002;
    }

    .toast.show {
      transform: translateY(0);
      opacity: 1;
    }
    /* Portfolio landing previews */
    .landing-preview {
      --preview-bg: #f2efe8;
      --preview-ink: #181818;
      --preview-accent: #ff5a35;
      --preview-soft: #d9d2c4;
      position: relative;
      height: 100%;
      padding: 18px;
      color: var(--preview-ink);
      background: var(--preview-bg);
      isolation: isolate;
      overflow: hidden;
    }

    .landing-preview::after {
      content: "";
      position: absolute;
      width: 180px; height: 180px;
      right: -42px; bottom: -68px;
      border-radius: 50%;
      background: var(--preview-accent);
      filter: blur(1px);
      opacity: .94;
      z-index: -1;
      transition: transform .65s cubic-bezier(.16,1,.3,1);
    }

    .project-card:hover .landing-preview::after { transform: scale(1.14) translate(-8px,-6px); }
    .preview-bar, .preview-nav { display:flex; align-items:center; justify-content:space-between; }
    .preview-bar { font: 600 8px var(--font-mono); letter-spacing:.08em; opacity:.6; margin-bottom:22px; }
    .preview-dots { display:flex; gap:4px; }
    .preview-dots i { width:4px; height:4px; border-radius:50%; background:currentColor; display:block; }
    .preview-nav { padding-bottom:12px; border-bottom:1px solid color-mix(in srgb, var(--preview-ink) 18%, transparent); }
    .preview-logo { font:800 15px var(--font-heading); letter-spacing:-.06em; }
    .preview-menu { font:600 7px var(--font-mono); letter-spacing:.12em; }
    .preview-copy { max-width:72%; padding-top:24px; position:relative; z-index:2; }
    .preview-kicker { font:600 7px var(--font-mono); text-transform:uppercase; letter-spacing:.14em; margin-bottom:8px; }
    .preview-title { font:800 clamp(28px,4vw,48px)/.83 var(--font-heading); letter-spacing:-.075em; text-transform:uppercase; }
    .preview-action { display:inline-flex; margin-top:17px; padding:8px 11px; background:var(--preview-ink); color:var(--preview-bg); border-radius:999px; font:700 7px var(--font-mono); text-transform:uppercase; }
    .preview-object { position:absolute; right:26px; top:82px; width:105px; height:135px; z-index:1; }
    .preview-object::before, .preview-object::after { content:""; position:absolute; inset:0; border:1px solid color-mix(in srgb, var(--preview-ink) 32%, transparent); border-radius:50% 50% 45% 55%; transform:rotate(17deg); }
    .preview-object::after { inset:13px -9px -8px 11px; border-color:var(--preview-accent); transform:rotate(-20deg); }
    .preview-phone { position:absolute; right:14px; bottom:14px; width:68px; height:116px; border-radius:12px; border:3px solid var(--preview-ink); background:var(--preview-bg); box-shadow:0 12px 25px rgba(0,0,0,.2); z-index:3; overflow:hidden; }
    .preview-phone::before { content:""; display:block; width:22px; height:3px; border-radius:3px; margin:6px auto 12px; background:var(--preview-ink); opacity:.35; }
    .preview-phone-lines { margin:0 8px; display:grid; gap:6px; }
    .preview-phone-lines i { height:5px; background:var(--preview-ink); opacity:.18; border-radius:4px; display:block; }
    .preview-phone-lines i:first-child { height:24px; opacity:1; background:var(--preview-accent); border-radius:7px; }
    .theme-coffee { --preview-bg:#eadfc9; --preview-ink:#251810; --preview-accent:#cc4d26; --preview-soft:#bea889; }
    .theme-pizza { --preview-bg:#f3e72e; --preview-ink:#151515; --preview-accent:#e74320; --preview-soft:#fff49a; }
    .theme-electric { --preview-bg:#151be8; --preview-ink:#f6f4eb; --preview-accent:#d8ff24; --preview-soft:#7780ff; }
    .theme-build { --preview-bg:#dedad1; --preview-ink:#1d2525; --preview-accent:#f15c35; --preview-soft:#a7a294; }
    .theme-beauty { --preview-bg:#eee7e0; --preview-ink:#492b37; --preview-accent:#b96382; --preview-soft:#d8bec8; }
    .theme-clima { --preview-bg:#dff4f0; --preview-ink:#073a43; --preview-accent:#19a6bd; --preview-soft:#95d8d9; }
    .theme-pizza .preview-title { font-style:italic; }
    .theme-electric .preview-object::after { box-shadow:0 0 38px var(--preview-accent); }
    .theme-beauty .preview-object::before { border-radius:0 70% 0 70%; }
    .theme-clima .preview-object::before { border-radius:50%; border-width:12px; opacity:.45; }

    /* Fullscreen in-page case — one document, hash navigation */
    .case-viewer {
      position:fixed; inset:0; z-index:10002;
      background:#090a0d;
      opacity:0; pointer-events:none;
      transform:translateY(18px);
      transition:opacity .35s ease, transform .5s cubic-bezier(.16,1,.3,1);
      overflow-y:auto;
    }
    .case-viewer.active { opacity:1; pointer-events:auto; transform:none; }
    .case-viewer-bar { position:sticky; top:0; z-index:10; display:flex; align-items:center; justify-content:space-between; min-height:68px; padding:0 4vw; border-bottom:1px solid var(--border); background:rgba(9,10,13,.84); backdrop-filter:blur(18px); }
    .case-back { border:0; background:none; color:#fff; font:600 .77rem var(--font-mono); letter-spacing:.06em; }
    .case-counter { color:var(--text-secondary); font:.7rem var(--font-mono); }
    .case-viewer-inner { width:min(1240px,92vw); margin:0 auto; padding:72px 0 100px; }
    .case-hero-grid { display:grid; grid-template-columns:.75fr 1.25fr; gap:6vw; align-items:end; margin-bottom:48px; }
    .case-eyebrow { color:var(--accent); font:.73rem var(--font-mono); letter-spacing:.13em; text-transform:uppercase; margin-bottom:18px; }
    .case-viewer h2 { font:800 clamp(3rem,7vw,7.4rem)/.82 var(--font-heading); letter-spacing:-.075em; text-transform:uppercase; }
    .case-lead { max-width:590px; color:var(--text-secondary); font-size:clamp(1rem,1.7vw,1.25rem); line-height:1.65; }
    .case-preview-stage { height:min(68vw,660px); min-height:420px; border:1px solid var(--border); border-radius:24px; overflow:hidden; background:#111; margin-bottom:30px; }
    .case-preview-stage .landing-preview { padding:clamp(24px,4vw,58px); }
    .case-preview-stage .preview-bar { font-size:11px; margin-bottom:5vw; }
    .case-preview-stage .preview-logo { font-size:clamp(20px,2.5vw,34px); }
    .case-preview-stage .preview-menu { font-size:10px; }
    .case-preview-stage .preview-copy { padding-top:7vw; max-width:66%; }
    .case-preview-stage .preview-kicker { font-size:clamp(9px,1vw,13px); }
    .case-preview-stage .preview-title { font-size:clamp(54px,10vw,142px); }
    .case-preview-stage .preview-action { padding:13px 18px; font-size:10px; }
    .case-preview-stage .preview-object { top:21%; right:14%; width:25%; height:46%; }
    .case-preview-stage .preview-phone { right:4%; bottom:5%; width:12%; height:37%; border-radius:22px; border-width:5px; }
    .case-preview-stage .preview-phone-lines { margin:0 13%; gap:11px; }
    .case-preview-stage .preview-phone-lines i { height:8px; }
    .case-preview-stage .preview-phone-lines i:first-child { height:55px; }
    .case-info-grid { display:grid; grid-template-columns:repeat(4,1fr); border:1px solid var(--border); border-radius:18px; overflow:hidden; }
    .case-info { padding:28px; border-right:1px solid var(--border); }
    .case-info:last-child { border:0; }
    .case-info small { display:block; color:var(--accent); font:.68rem var(--font-mono); letter-spacing:.12em; text-transform:uppercase; margin-bottom:13px; }
    .case-info p { color:var(--text-secondary); line-height:1.6; font-size:.9rem; }
    .case-cta { position:relative; margin-top:30px; padding:clamp(30px,5vw,68px); border:1px solid rgba(200,255,0,.24); border-radius:22px; overflow:hidden; background:linear-gradient(120deg,rgba(200,255,0,.1),rgba(200,255,0,.025) 52%,rgba(142,45,226,.09)); }
    .case-cta::after { content:""; position:absolute; width:260px; height:260px; right:-90px; bottom:-150px; border-radius:50%; border:1px solid rgba(200,255,0,.25); box-shadow:0 0 80px rgba(200,255,0,.08); pointer-events:none; }
    .case-cta-kicker { color:var(--accent); font:.7rem var(--font-mono); letter-spacing:.13em; text-transform:uppercase; margin-bottom:16px; }
    .case-cta h3 { max-width:850px; font:800 clamp(2rem,4.8vw,5.2rem)/.94 var(--font-heading); letter-spacing:-.055em; text-transform:uppercase; }
    .case-cta-row { position:relative; z-index:1; display:flex; justify-content:space-between; align-items:flex-end; gap:34px; margin-top:28px; }
    .case-cta p { max-width:610px; color:var(--text-secondary); font-size:1rem; line-height:1.65; }
    .case-cta .btn-primary { flex:0 0 auto; }
    .case-next { margin-top:34px; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:26px 30px; border:1px solid var(--border); border-radius:18px; text-decoration:none; }
    .case-next:hover { border-color:var(--accent); }
    .case-next span { color:var(--text-secondary); font:.72rem var(--font-mono); text-transform:uppercase; }
    .case-next strong { font:700 clamp(1.4rem,3vw,2.5rem) var(--font-heading); color:#fff; }

    @media (max-width: 760px) {
      header { height:68px; padding:0 18px; }
      header nav, header .status-badge, header .btn-sound { display:none; }
      header .header-actions { gap:0; }
      header .btn-primary { padding:10px 13px; font-size:.64rem; }
      .logo-mark { width:30px; height:30px; }
      .logo-word { font-size:.9rem; }
      .logo-sub { font-size:.58rem; letter-spacing:.08em; }
      .projects-grid { grid-template-columns:1fr; gap:22px; }
      .card-img-wrap { height:245px; }
      .case-viewer-inner { padding-top:42px; }
      .case-hero-grid { grid-template-columns:1fr; gap:24px; }
      .case-preview-stage { height:520px; min-height:0; border-radius:16px; }
      .case-preview-stage .preview-copy { max-width:84%; padding-top:70px; }
      .case-preview-stage .preview-title { font-size:48px; }
      .case-preview-stage .preview-object { top:43%; right:16%; width:45%; height:33%; }
      .case-preview-stage .preview-phone { width:25%; height:31%; }
      .case-info-grid { grid-template-columns:1fr; }
      .case-info { border-right:0; border-bottom:1px solid var(--border); }
      .case-cta-row { align-items:flex-start; flex-direction:column; }
      .case-next { align-items:flex-start; flex-direction:column; }
    }

    @media (max-width: 390px) {
      .logo-sub { display:none; }
      header .btn-primary { padding:9px 11px; font-size:.58rem; }
    }

    @media (pointer:coarse) {
      * { cursor:auto !important; }
      .cursor-dot, .cursor-follower { display:none !important; }
    }
  