/*!
Theme Name: CodeProgres
Theme URI: https://codeprogres.studio/
Author: CodeProgres Studio
Author URI: https://codeprogres.studio/
Description: Immersive 3D agency theme for CodeProgres — a North-African web studio. Single-page front end (hero, work, showcase, testimonials, services, process, pricing, hosting, team, tech, insights, FAQ, CTA) driven by ACF + custom post types, with a WebGL hero, dark/light theming, DZD/EUR/USD currency switching, and Polylang-ready FR/AR/EN.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: codeprogres
Tags: agency, three-column, custom-colors, custom-menu, featured-images, rtl-language-support, translation-ready
Built on Underscores (https://underscores.me/), (C) 2012-2024 Automattic, Inc. GPLv2+.
*/

/* =========================================================================
   Design system extracted from the CodeProgres mockup. Custom properties in
   :root are the single source of truth for color — do not hardcode per section.
   ========================================================================= */

  :root {
    --bg: #06101f;
    --bg-2: #0a1628;
    --bg-3: #0f1d35;
    --ink: #f5f7fa;
    --ink-dim: #93a4bd;
    --ink-faint: #546e7a;
    --cyan: #00d9ff;
    --purple: #9d4edd;
    --coral: #ff6b54;
    --mint: #2fd6b8;
    --line: rgba(245,247,250,0.08);
    --line-2: rgba(245,247,250,0.14);
    --glass: rgba(255,255,255,0.04);
    --glass-2: rgba(255,255,255,0.07);
    --c1: #00d9ff;
    --c2: #9d4edd;
    --c3: #ff6b54;
    --c4: #2fd6b8;
    --c1-rgb: 0,217,255;
    --c2-rgb: 157,78,221;
    --c3-rgb: 255,107,84;
    --c4-rgb: 47,214,184;
    --grad: linear-gradient(135deg, var(--c1) 0%, var(--c2) 100%);
    --grad-coral: linear-gradient(135deg, var(--c3), #ffa500);
    --shadow-glow: 0 0 40px rgba(var(--c1-rgb),0.25);
    --r-sm: 8px;
    --r: 14px;
    --r-lg: 22px;
    --r-xl: 32px;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    background: var(--bg);
    color: var(--ink);
    overflow-x: hidden;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
  }

  h1, h2, h3, h4, .display { font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.02em; line-height: 1.05; }
  .mono { font-family: 'JetBrains Mono', monospace; letter-spacing: 0; }

  /* ===== Background atmosphere ===== */
  .atmosphere {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
      radial-gradient(1000px 600px at 80% -10%, rgba(var(--c1-rgb),0.18), transparent 60%),
      radial-gradient(900px 700px at -10% 20%, rgba(var(--c2-rgb),0.20), transparent 60%),
      radial-gradient(800px 500px at 50% 110%, rgba(var(--c3-rgb),0.10), transparent 60%),
      var(--bg);
  }
  .grid-overlay {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
      linear-gradient(rgba(245,247,250,0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(245,247,250,0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 30%, transparent 80%);
  }

  /* ===== Cursor trail ===== */
  .cursor-dot, .cursor-ring {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    border-radius: 999px;
    transition: transform 0.08s linear, opacity 0.2s;
  }
  .cursor-dot { width: 6px; height: 6px; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
  .cursor-ring { width: 36px; height: 36px; border: 1px solid rgba(var(--c1-rgb),0.5); transition: transform 0.16s ease-out, width 0.2s, height 0.2s, opacity 0.2s; }
  @media (max-width: 900px) { .cursor-dot, .cursor-ring { display: none; } }

  /* ===== Header ===== */
  .nav {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 8px;
    column-gap: clamp(6px, 1.5vw, 28px);
    padding: 10px 14px;
    background: rgba(10,22,40,0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--line-2);
    border-radius: 22px;
    width: min(96%, 980px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    transition: transform 0.35s ease, opacity 0.35s ease;
  }
  .nav.nav-hidden {
    transform: translate(-50%, -140%);
    opacity: 0;
    pointer-events: none;
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 17px;
    text-decoration: none;
    color: var(--ink);
  }
  .logo-mark {
    width: 30px; height: 30px;
    display: grid; place-items: center;
    flex-shrink: 0;
  }
  .logo-mark svg { width: 30px; height: 30px; display: block; }
  .logo b { font-weight: 700; }
  .logo span { color: var(--ink-dim); font-weight: 400; font-size: 14px; }

  .nav-links {
    display: flex; gap: 4px; list-style: none; flex-wrap: wrap; justify-content: center;
  }
  .nav-links a {
    color: var(--ink-dim);
    text-decoration: none;
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    transition: color 0.2s, background 0.2s;
  }
  .nav-links a:hover { color: var(--ink); background: var(--glass); }

  .lang-switch {
    display: inline-flex; gap: 2px;
    padding: 3px;
    background: var(--glass);
    border: 1px solid var(--line);
    border-radius: 999px;
  }
  .lang-btn {
    appearance: none; border: 0; background: transparent;
    color: var(--ink-dim);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; font-weight: 500; letter-spacing: 0.05em;
    padding: 6px 10px; border-radius: 999px;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
  }
  .lang-btn:hover { color: var(--ink); }
  .lang-btn.active { background: var(--ink); color: var(--bg-2); }
  html[dir="rtl"] body { font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif; }
  html[dir="rtl"] .nav-links { margin-right: auto; margin-left: 0; }

  .theme-toggle {
    appearance: none; border: 0; background: transparent;
    cursor: pointer;
    font-size: 18px; line-height: 1;
    width: 36px; height: 36px;
    border-radius: 50%;
    display: grid; place-items: center;
    transition: background 0.2s, transform 0.2s;
    flex-shrink: 0;
  }
  .theme-toggle:hover { background: var(--glass-2); transform: rotate(20deg) scale(1.1); }

  .nav-cta-wa {
    background: #25d366 !important; color: #fff !important;
  }
  .nav-cta-wa:hover { background: #1fb959 !important; }
  .nav-cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--ink); color: var(--bg-2);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 18px;
    border-radius: 999px;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(var(--c1-rgb),0.3); }
  .nav-cta .wa-icon {
    width: 16px; height: 16px; display: inline-flex;
    color: #fff;
  }
  .nav-cta .wa-icon svg { width: 100%; height: 100%; }
  @media (max-width: 1180px) {
    .nav { max-width: 94%; }
  }
  @media (max-width: 760px) {
    .nav { width: calc(100% - 24px); }
    .nav-cta-wa span:not(.wa-icon) { display: none; }
  }

  /* ===== Layout ===== */
  .container { max-width: 1280px; margin: 0 auto; padding: 0 28px; }
  section { position: relative; padding: 120px 0; }
  @media (max-width: 760px) { section { padding: 80px 0; } }

  .eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    padding: 8px 14px;
    background: rgba(var(--c1-rgb),0.08);
    border: 1px solid rgba(var(--c1-rgb),0.2);
    border-radius: 999px;
    margin-bottom: 22px;
  }
  .eyebrow::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
    animation: blink 2s infinite;
  }
  @keyframes blink { 0%,40% { opacity: 1; } 50% { opacity: 0.3; } 100% { opacity: 1; } }

  .section-title {
    font-size: clamp(36px, 5vw, 64px);
    margin-bottom: 18px;
    max-width: 900px;
  }
  .section-sub {
    font-size: 18px; color: var(--ink-dim);
    max-width: 600px; margin-bottom: 56px;
  }
  .gradient-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }

  /* ===== HERO ===== */
  .hero {
    min-height: 100vh;
    padding-top: 130px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    position: relative;
  }
  #hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
  }
  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 920px;
  }
  .hero h1 {
    font-size: clamp(44px, 7.5vw, 104px);
    font-weight: 600;
    margin-bottom: 26px;
  }
  .hero h1 .line { display: block; }
  .hero h1 em {
    font-style: normal;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .hero-sub {
    font-size: clamp(16px, 1.6vw, 20px);
    color: var(--ink-dim);
    max-width: 580px;
    margin-bottom: 40px;
  }
  .hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
  .btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 26px;
    font-size: 15px; font-weight: 600;
    border: 0; border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s;
    font-family: inherit;
  }
  .btn-primary {
    background: var(--grad);
    color: #06101f;
    box-shadow: 0 14px 40px rgba(var(--c1-rgb),0.35), inset 0 1px 0 rgba(255,255,255,0.4);
  }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 50px rgba(var(--c1-rgb),0.5); }
  .btn-primary:active { transform: translateY(0); }
  .btn-ghost {
    background: var(--glass-2);
    color: var(--ink);
    border: 1px solid var(--line-2);
    backdrop-filter: blur(10px);
  }
  .btn-ghost:hover { background: var(--glass-2); border-color: rgba(var(--c1-rgb),0.5); transform: translateY(-2px); }
  .btn-glass {
    background: rgba(255,255,255,0.08);
    color: var(--ink);
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 8px 24px rgba(var(--c1-rgb),0.15);
  }
  .btn-glass:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(var(--c1-rgb),0.5);
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 12px 32px rgba(var(--c1-rgb),0.25);
  }
  html[data-theme="light"] .btn-glass {
    background: rgba(255,255,255,0.45);
    border-color: rgba(255,255,255,0.6);
    color: var(--ink);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 8px 24px rgba(108,92,231,0.15);
  }
  html[data-theme="light"] .btn-glass:hover {
    background: rgba(255,255,255,0.65);
    border-color: rgba(108,92,231,0.4);
  }
  .btn-whatsapp {
    background: rgba(37,211,102,0.12);
    color: #1e9e56;
    border: 1px solid rgba(37,211,102,0.4);
    backdrop-filter: blur(10px);
  }
  .btn-whatsapp:hover {
    background: rgba(37,211,102,0.2);
    border-color: rgba(37,211,102,0.6);
    transform: translateY(-2px);
  }
  html[data-theme="light"] .btn-whatsapp {
    background: rgba(37,211,102,0.10);
    color: #17853f;
    border-color: rgba(37,211,102,0.35);
  }
  html[data-theme="light"] .btn-whatsapp:hover {
    background: rgba(37,211,102,0.18);
    border-color: rgba(37,211,102,0.55);
  }
  .btn .arrow { transition: transform 0.2s; }
  .btn:hover .arrow { transform: translate(2px, -2px); }

  .hero-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
  }
  @media (max-width: 900px) { .hero-stats { grid-template-columns: repeat(2, 1fr); } }
  .hero-stat {
    position: relative; padding: 22px 22px 22px 26px;
    background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 18px 40px -22px rgba(0,0,0,0.55);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s, background 0.3s;
  }
  .hero-stat::before {
    content: ''; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px;
    background: linear-gradient(180deg, var(--c1), var(--c2));
    border-radius: 2px;
    transition: transform 0.3s;
    transform-origin: top;
  }
  .hero-stat::after {
    content: ''; position: absolute; inset: -1px;
    background: radial-gradient(160px 110px at var(--mx, 30%) var(--my, 0%), rgba(var(--c1-rgb), 0.28), transparent 70%);
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s;
    border-radius: inherit;
  }
  .hero-stat:nth-child(2)::before { background: linear-gradient(180deg, var(--c2), var(--c3)); }
  .hero-stat:nth-child(3)::before { background: linear-gradient(180deg, var(--c4), var(--c1)); }
  .hero-stat:nth-child(4)::before { background: linear-gradient(180deg, var(--c3), var(--c4)); }
  .hero-stat:hover { transform: translateY(-6px); border-color: rgba(var(--c1-rgb), 0.35); box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 24px 48px -20px rgba(var(--c1-rgb),0.35); }
  .hero-stat:hover::after { opacity: 1; }
  .hero-stat:hover::before { transform: scaleY(1.05); }
  /* persistent accent glow, tinted per card */
  .hero-stat .glow {
    position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
    background: radial-gradient(120px 90px at 14% 8%, rgba(var(--c1-rgb), 0.16), transparent 72%);
    opacity: 0.8; transition: opacity 0.3s;
  }
  .hero-stat:nth-child(2) .glow { background: radial-gradient(120px 90px at 14% 8%, rgba(var(--c2-rgb), 0.16), transparent 72%); }
  .hero-stat:nth-child(3) .glow { background: radial-gradient(120px 90px at 14% 8%, rgba(var(--c4-rgb), 0.18), transparent 72%); }
  .hero-stat:nth-child(4) .glow { background: radial-gradient(120px 90px at 14% 8%, rgba(var(--c3-rgb), 0.16), transparent 72%); }
  .hero-stat:hover .glow { opacity: 1; }
  .hero-stat .meta-tag, .hero-stat .icon-wrap, .hero-stat .num, .hero-stat .lbl { position: relative; z-index: 1; }
  .hero-stat .icon-wrap {
    width: 32px; height: 32px; border-radius: 9px;
    display: grid; place-items: center;
    background: rgba(var(--c1-rgb), 0.10);
    border: 1px solid rgba(var(--c1-rgb), 0.22);
    margin-bottom: 14px;
    color: var(--c1);
  }
  .hero-stat:nth-child(2) .icon-wrap { background: rgba(var(--c2-rgb), 0.10); border-color: rgba(var(--c2-rgb), 0.22); color: var(--c2); }
  .hero-stat:nth-child(3) .icon-wrap { background: rgba(var(--c4-rgb), 0.10); border-color: rgba(var(--c4-rgb), 0.22); color: var(--c4); }
  .hero-stat:nth-child(4) .icon-wrap { background: rgba(var(--c3-rgb), 0.10); border-color: rgba(var(--c3-rgb), 0.22); color: var(--c3); }
  .hero-stat .meta-tag {
    position: absolute; top: 16px; right: 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--ink-faint);
  }
  .hero-stat .num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 38px; font-weight: 600; letter-spacing: -0.02em;
    line-height: 1;
    color: var(--ink);
  }
  .hero-stat .lbl { font-size: 12.5px; color: var(--ink-dim); margin-top: 8px; line-height: 1.4; }
  .hero-stat .lbl strong { color: var(--ink); font-weight: 500; }

  .scroll-hint {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    color: var(--ink-faint); font-size: 11px; font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.2em; text-transform: uppercase;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
  }
  .scroll-hint::after {
    content: ''; width: 1px; height: 40px;
    background: linear-gradient(180deg, var(--ink-faint), transparent);
    animation: scrollhint 2s ease-in-out infinite;
  }
  @keyframes scrollhint { 0%,100% { transform: scaleY(0.5); transform-origin: top; } 50% { transform: scaleY(1); } }

  /* ===== Marquee ===== */
  .marquee {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    padding: 28px 0;
    background: rgba(0,0,0,0.2);
  }
  .marquee-track {
    display: flex; gap: 60px;
    animation: marquee 40s linear infinite;
    white-space: nowrap;
  }
  .marquee-item {
    display: inline-flex; align-items: center; gap: 12px;
    color: var(--ink-dim); font-size: 14px;
    font-family: 'JetBrains Mono', monospace;
  }
  .marquee-item .dot { width: 6px; height: 6px; background: var(--cyan); border-radius: 50%; }
  @keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

  /* ===== Pillars ===== */
  .pillars {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
  @media (max-width: 880px) { .pillars { grid-template-columns: 1fr; } }
  .pillar {
    position: relative;
    padding: 36px 30px;
    background: var(--glass);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    transition: transform 0.3s ease, border-color 0.3s, background 0.3s;
    overflow: hidden;
    transform-style: preserve-3d;
  }
  .pillar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(400px 200px at var(--mx,50%) var(--my,50%), rgba(var(--c1-rgb),0.12), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
  }
  .pillar:hover { border-color: rgba(var(--c1-rgb),0.3); background: var(--glass-2); }
  .pillar:hover::before { opacity: 1; }
  .pillar-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(var(--c1-rgb),0.15), rgba(var(--c2-rgb),0.15));
    border: 1px solid rgba(var(--c1-rgb),0.25);
    display: grid; place-items: center;
    margin-bottom: 22px;
  }
  .pillar h3 { font-size: 22px; margin-bottom: 10px; }
  .pillar p { color: var(--ink-dim); font-size: 15px; }
  .pillar .num {
    position: absolute; top: 24px; right: 28px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; color: var(--ink-faint);
  }

  /* ===== Services ===== */
  .services {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
  @media (max-width: 880px) { .services { grid-template-columns: 1fr; } }
  .service {
    position: relative;
    padding: 38px 34px;
    border-radius: var(--r-lg);
    background:
      linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01)),
      var(--bg-2);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
    min-height: 240px;
  }
  .service:hover { transform: translateY(-4px); border-color: rgba(var(--c1-rgb),0.35); }
  .service .label {
    font-family: 'JetBrains Mono', monospace; font-size: 11px;
    color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.18em;
    margin-bottom: 20px;
  }
  .service h3 { font-size: 28px; margin-bottom: 12px; }
  .service p { color: var(--ink-dim); font-size: 15px; max-width: 460px; margin-bottom: 22px; }
  .service .tags { display: flex; flex-wrap: wrap; gap: 8px; }
  .service .tag {
    font-family: 'JetBrains Mono', monospace; font-size: 11px;
    padding: 5px 11px; border-radius: 999px;
    background: var(--glass-2); border: 1px solid var(--line);
    color: var(--ink-dim);
  }
  .service .blob {
    position: absolute;
    width: 280px; height: 280px;
    right: -80px; top: -80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--c1-rgb),0.18), transparent 70%);
    filter: blur(20px);
    opacity: 0.6;
    transition: opacity 0.4s, transform 0.6s;
  }
  .service:nth-child(2) .blob { background: radial-gradient(circle, rgba(var(--c2-rgb),0.22), transparent 70%); }
  .service:nth-child(3) .blob { background: radial-gradient(circle, rgba(var(--c3-rgb),0.18), transparent 70%); }
  .service:nth-child(4) .blob { background: radial-gradient(circle, rgba(var(--c4-rgb),0.18), transparent 70%); }
  .service:hover .blob { transform: scale(1.2); opacity: 0.9; }

  /* ===== Process timeline ===== */
  .process-wrap { position: relative; }
  .process {
    display: grid; grid-template-columns: repeat(5, 1fr);
    gap: 16px; position: relative;
  }
  /* connecting track behind the phase dots */
  .process::before {
    content: '';
    position: absolute; left: 32px; right: 32px; top: 46px; height: 2px;
    background: linear-gradient(90deg, var(--c1), var(--c2), var(--c4), var(--c3), var(--c2));
    opacity: 0.35; z-index: 0;
  }
  @media (max-width: 1000px) { .process { grid-template-columns: repeat(2, 1fr); } .process::before { display: none; } }
  @media (max-width: 560px) { .process { grid-template-columns: 1fr; } }
  .step {
    position: relative; z-index: 1; overflow: hidden;
    padding: 28px 22px 30px;
    background: var(--glass);
    border: 1px solid var(--line);
    border-radius: var(--r);
    transition: transform 0.3s, border-color 0.3s, background 0.3s;
  }
  .step:hover { transform: translateY(-3px); border-color: rgba(var(--c1-rgb),0.3); }
  .step::after {
    content: attr(data-step-n);
    position: absolute; right: 10px; top: -6px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 56px; font-weight: 700;
    color: transparent; -webkit-text-stroke: 1px rgba(var(--c1-rgb), 0.16);
    line-height: 1; pointer-events: none; z-index: 0;
  }
  .step:nth-child(2)::after { -webkit-text-stroke-color: rgba(var(--c2-rgb), 0.16); }
  .step:nth-child(3)::after { -webkit-text-stroke-color: rgba(var(--c4-rgb), 0.18); }
  .step:nth-child(4)::after { -webkit-text-stroke-color: rgba(var(--c3-rgb), 0.16); }
  .step:nth-child(5)::after { -webkit-text-stroke-color: rgba(255,255,255, 0.35); }
  .step .step-num {
    position: relative; z-index: 1;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; color: var(--ink-faint);
    margin-bottom: 18px;
    display: flex; align-items: center; gap: 8px;
  }
  .step .step-num::before {
    content: ''; width: 8px; height: 8px;
    background: var(--c1); border-radius: 50%;
    box-shadow: 0 0 10px var(--c1);
  }
  .step:nth-child(2) .step-num::before { background: var(--c2); box-shadow: 0 0 10px var(--c2); }
  .step:nth-child(3) .step-num::before { background: var(--c4); box-shadow: 0 0 10px var(--c4); }
  .step:nth-child(4) .step-num::before { background: var(--c3); box-shadow: 0 0 10px var(--c3); }
  .step:nth-child(5) .step-num::before { background: #fff; box-shadow: 0 0 10px #fff; }
  .step h4 { position: relative; z-index: 1; font-size: 17px; margin-bottom: 8px; font-weight: 600; }
  .step p { position: relative; z-index: 1; font-size: 13px; color: var(--ink-dim); }
  .step .duration {
    position: relative; z-index: 1;
    margin-top: 18px; padding-top: 14px;
    border-top: 1px dashed var(--line);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; color: var(--c1);
  }
  /* Launch — final step highlighted as the payoff */
  .step:nth-child(5) {
    background: linear-gradient(150deg, rgba(var(--c2-rgb),0.16), rgba(var(--c1-rgb),0.10)), var(--bg-2);
    border-color: rgba(var(--c2-rgb), 0.4);
    box-shadow: 0 20px 50px rgba(var(--c2-rgb), 0.18);
  }
  .step:nth-child(5) .step-num { color: var(--ink); }
  .step:nth-child(5) .duration { color: var(--c2); border-top-color: rgba(var(--c2-rgb),0.3); }

  /* ===== Portfolio ===== */
  .filters {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-bottom: 32px;
  }
  .filter-btn {
    padding: 8px 16px; font-size: 13px;
    background: transparent; color: var(--ink-dim);
    border: 1px solid var(--line); border-radius: 999px;
    cursor: pointer; font-family: inherit;
    transition: all 0.2s;
  }
  .filter-btn:hover { color: var(--ink); border-color: var(--line-2); }
  .filter-btn.active { background: var(--ink); color: var(--bg-2); border-color: var(--ink); }

  .portfolio {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
  @media (max-width: 1000px) { .portfolio { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 640px) { .portfolio { grid-template-columns: 1fr; } }
  .project {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--bg-3);
    border: 1px solid var(--line);
    cursor: pointer;
    transition: transform 0.4s ease, border-color 0.3s;
    perspective: 1000px;
  }
  .project:hover { transform: translateY(-6px); border-color: rgba(var(--c1-rgb),0.4); }
  .project .placeholder {
    position: absolute; inset: 0;
    background:
      linear-gradient(135deg, rgba(var(--c1-rgb),0.18), rgba(var(--c2-rgb),0.18)),
      repeating-linear-gradient(45deg, rgba(245,247,250,0.04) 0 1px, transparent 1px 14px),
      var(--bg-3);
    display: grid; place-items: center;
    transition: transform 0.6s;
  }
  .project:nth-child(2) .placeholder { background: linear-gradient(135deg, rgba(var(--c3-rgb),0.18), rgba(var(--c2-rgb),0.18)), repeating-linear-gradient(45deg, rgba(245,247,250,0.04) 0 1px, transparent 1px 14px), var(--bg-3); }
  .project:nth-child(3) .placeholder { background: linear-gradient(135deg, rgba(var(--c4-rgb),0.18), rgba(var(--c1-rgb),0.18)), repeating-linear-gradient(45deg, rgba(245,247,250,0.04) 0 1px, transparent 1px 14px), var(--bg-3); }
  .project:nth-child(4) .placeholder { background: linear-gradient(135deg, rgba(var(--c2-rgb),0.18), rgba(var(--c3-rgb),0.10)), repeating-linear-gradient(45deg, rgba(245,247,250,0.04) 0 1px, transparent 1px 14px), var(--bg-3); }
  .project:nth-child(5) .placeholder { background: linear-gradient(135deg, rgba(var(--c1-rgb),0.20), rgba(var(--c4-rgb),0.16)), repeating-linear-gradient(45deg, rgba(245,247,250,0.04) 0 1px, transparent 1px 14px), var(--bg-3); }
  .project:nth-child(6) .placeholder { background: linear-gradient(135deg, rgba(var(--c3-rgb),0.20), rgba(var(--c1-rgb),0.10)), repeating-linear-gradient(45deg, rgba(245,247,250,0.04) 0 1px, transparent 1px 14px), var(--bg-3); }

  .project:hover .placeholder { transform: scale(1.05); }
  .project .label {
    position: absolute; top: 16px; left: 16px;
    font-family: 'JetBrains Mono', monospace; font-size: 11px;
    padding: 5px 11px; border-radius: 999px;
    background: rgba(6,16,31,0.7); backdrop-filter: blur(8px);
    color: var(--cyan); border: 1px solid rgba(var(--c1-rgb),0.25);
  }
  .project .meta {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 22px;
    background: linear-gradient(180deg, transparent, rgba(6,16,31,0.95));
  }
  .project .meta h3 { font-size: 22px; margin-bottom: 4px; }
  .project .meta .desc { color: var(--ink-dim); font-size: 13px; margin-bottom: 14px; }
  .project .metrics { display: flex; gap: 18px; }
  .project .metric .v { font-family: 'Space Grotesk', sans-serif; font-weight: 600; color: var(--cyan); font-size: 16px; }
  .project .metric .l { font-size: 11px; color: var(--ink-dim); font-family: 'JetBrains Mono', monospace; }

  /* New brand-mark logo system for portfolio cards */
  .project .brand-mark {
    width: 96px; height: 96px; border-radius: 24px;
    display: grid; place-items: center;
    background: rgba(6,16,31,0.55);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(245,247,250,0.10);
    box-shadow: 0 12px 40px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(255,255,255,0.03);
    transition: transform 0.5s cubic-bezier(.2,.7,.2,1);
  }
  .project:hover .brand-mark { transform: translateY(-4px) rotate(-3deg); }
  .project .brand-mark .mono {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700; font-size: 36px; letter-spacing: -0.04em;
    color: var(--ink);
  }
  .project-link {
    position: absolute; bottom: 18px; right: 18px;
    z-index: 4;
    display: inline-flex; align-items: center;
    padding: 6px 13px;
    border-radius: 999px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; font-weight: 600;
    color: var(--ink);
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.22);
    text-decoration: none;
    opacity: 0; transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s;
  }
  .project:hover .project-link { opacity: 1; transform: translateY(0); }
  html[data-theme="light"] .project-link { background: rgba(108,92,231,0.12); border-color: rgba(108,92,231,0.25); color: var(--c1); }
  @media (hover: none) { .project-link { opacity: 1; transform: none; } }

  .project .brand-tag {
    position: absolute; top: 16px; right: 16px;
    display: inline-flex; align-items: center; gap: 6px;
    font-family: 'JetBrains Mono', monospace; font-size: 10px;
    padding: 5px 10px; border-radius: 999px;
    background: rgba(0,217,255,0.10);
    color: var(--cyan); border: 1px solid rgba(var(--c1-rgb),0.35);
    letter-spacing: 0.12em; text-transform: uppercase;
  }
  .project .brand-tag::before {
    content: ''; width: 5px; height: 5px; border-radius: 50%;
    background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
  }

  /* Tech grid logo styling */
  .tech-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: 100%; padding: 14px 8px; text-align: center; }
  .tech-logo {
    width: 64px; height: 64px; border-radius: 16px;
    display: grid; place-items: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--line);
    transition: transform 0.3s, border-color 0.3s, background 0.3s;
  }
  .tech-logo svg { width: 42px !important; height: 42px !important; }
  .tech:hover .tech-logo { transform: translateY(-3px) scale(1.05); border-color: rgba(var(--c1-rgb),0.4); background: rgba(var(--c1-rgb),0.08); }

  /* ===== Tech stack ===== */
  .tech-grid {
    display: grid; grid-template-columns: repeat(6, 1fr);
    gap: 12px;
  }
  @media (max-width: 900px) { .tech-grid { grid-template-columns: repeat(3, 1fr); } }
  .tech {
    aspect-ratio: 1/1;
    border: 1px solid var(--line);
    border-radius: var(--r);
    display: grid; place-items: center;
    text-align: center;
    background: var(--glass);
    transition: transform 0.3s, border-color 0.3s, background 0.3s;
    padding: 14px;
  }
  .tech:hover { transform: translateY(-4px) rotate(-2deg); border-color: rgba(var(--c1-rgb),0.4); background: var(--glass-2); }
  .tech .name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600; font-size: 14px;
  }
  .tech .cat { font-size: 10px; color: var(--ink-faint); margin-top: 4px; font-family: 'JetBrains Mono', monospace; }

  /* ===== Pricing ===== */
  .price-cur-row {
    display: flex; align-items: center; gap: 14px;
    margin: 24px 0 32px; flex-wrap: wrap;
  }
  .price-cur-label {
    font-family: 'JetBrains Mono', monospace; font-size: 12px;
    color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.08em;
  }
  .pricing {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  @media (max-width: 940px) { .pricing { grid-template-columns: 1fr; } }
  .plan {
    position: relative;
    padding: 36px 32px;
    background: var(--glass);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    transition: transform 0.3s, border-color 0.3s;
  }
  .plan:hover { transform: translateY(-4px); }
  .plan.featured {
    background:
      linear-gradient(180deg, rgba(var(--c1-rgb),0.08), rgba(var(--c2-rgb),0.06)),
      var(--bg-2);
    border-color: rgba(var(--c1-rgb),0.4);
    transform: translateY(-12px);
    box-shadow: 0 30px 80px rgba(var(--c1-rgb),0.15);
  }
  .plan.featured:hover { transform: translateY(-16px); }
  .plan-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    font-family: 'JetBrains Mono', monospace; font-size: 11px;
    padding: 6px 14px; border-radius: 999px;
    background: var(--grad);
    color: var(--bg-2);
    font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.1em;
  }
  .plan h3 { font-size: 24px; margin-bottom: 6px; }
  .plan .plan-desc { color: var(--ink-dim); font-size: 14px; margin-bottom: 26px; }
  .plan .price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 44px; font-weight: 600;
    margin-bottom: 4px;
    line-height: 1;
  }
  .plan .price .cur { font-size: 22px; color: var(--ink-dim); margin-right: 4px; }
  .plan .price .cur-after { margin-right: 0; margin-left: 6px; }
  .plan .price-sub { font-size: 13px; color: var(--ink-dim); margin-bottom: 26px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
  .plan ul { list-style: none; margin-bottom: 28px; }
  .plan li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 14px; color: var(--ink); padding: 8px 0;
  }
  .plan li svg { flex: 0 0 16px; margin-top: 4px; color: var(--cyan); }
  .plan li.off { color: var(--ink-faint); text-decoration: line-through; }
  .plan li.off svg { color: var(--ink-faint); }
  .plan .btn { width: 100%; justify-content: center; }

  /* ===== Testimonials ===== */
  .testimonials {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  @media (max-width: 940px) { .testimonials { grid-template-columns: 1fr; } }
  .quote {
    padding: 32px 28px;
    background: var(--glass);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    position: relative;
  }
  .quote .stars { color: var(--cyan); font-size: 14px; letter-spacing: 4px; margin-bottom: 14px; }
  .quote-text { font-size: 16px; line-height: 1.6; margin-bottom: 22px; color: var(--ink); }
  .quote-by { display: flex; align-items: center; gap: 12px; }
  .quote-avatar {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--grad);
    display: grid; place-items: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: var(--bg-2);
    overflow: hidden;
    flex-shrink: 0;
  }
  .quote-avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
  }
  .quote-name { font-weight: 600; font-size: 14px; }
  .quote-role { font-size: 12px; color: var(--ink-dim); }
  .quote .lang {
    position: absolute; top: 24px; right: 24px;
    font-family: 'JetBrains Mono', monospace; font-size: 10px;
    color: var(--ink-faint);
    border: 1px solid var(--line); padding: 3px 8px; border-radius: 999px;
  }

  /* ===== FAQ ===== */
  .faq { max-width: 820px; margin: 0 auto; }
  .faq-item {
    border-bottom: 1px solid var(--line);
    padding: 22px 0;
    cursor: pointer;
  }
  .faq-q {
    display: flex; justify-content: space-between; gap: 20px;
    align-items: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 19px; font-weight: 500;
  }
  .faq-toggle {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: grid; place-items: center;
    flex: 0 0 auto;
    transition: transform 0.4s ease, background 0.3s, border-color 0.3s;
  }
  .faq-toggle::before, .faq-toggle::after {
    content: ''; position: absolute;
    background: var(--ink); width: 12px; height: 1.5px;
    transition: transform 0.3s;
  }
  .faq-toggle::after { transform: rotate(90deg); }
  .faq-item.open .faq-toggle { background: var(--cyan); border-color: var(--cyan); }
  .faq-item.open .faq-toggle::before, .faq-item.open .faq-toggle::after { background: var(--bg-2); }
  .faq-item.open .faq-toggle::after { transform: rotate(0); }
  .faq-a {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    color: var(--ink-dim); font-size: 15px;
  }
  .faq-item.open .faq-a { max-height: 240px; padding-top: 14px; }

  /* ===== CTA ===== */
  .cta-section {
    text-align: center;
    padding: 140px 0;
    position: relative;
  }
  .cta-card {
    max-width: 900px; margin: 0 auto;
    padding: 80px 50px;
    background:
      radial-gradient(700px 400px at 50% 0%, rgba(var(--c1-rgb),0.15), transparent 60%),
      var(--bg-2);
    border: 1px solid var(--line-2);
    border-radius: var(--r-xl);
    position: relative;
    overflow: hidden;
  }
  .cta-card::before {
    content: ''; position: absolute; inset: -1px;
    border-radius: var(--r-xl);
    padding: 1px;
    background: linear-gradient(135deg, rgba(var(--c1-rgb),0.5), transparent 50%, rgba(var(--c2-rgb),0.4));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    pointer-events: none;
  }
  .cta-card h2 { font-size: clamp(34px, 5vw, 56px); margin-bottom: 18px; }
  .cta-card p { color: var(--ink-dim); font-size: 18px; margin-bottom: 36px; max-width: 520px; margin-left: auto; margin-right: auto; }
  .cta-card .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

  /* ===== Footer ===== */
  footer {
    border-top: 1px solid var(--line);
    padding: 60px 0 40px;
    background: rgba(6,16,31,0.6);
  }
  .footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
  }
  @media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
  .footer-brand p { color: var(--ink-dim); font-size: 14px; margin-top: 16px; max-width: 320px; }
  .footer-col h5 {
    font-family: 'JetBrains Mono', monospace; font-size: 11px;
    text-transform: uppercase; letter-spacing: 0.16em;
    color: var(--ink-faint); margin-bottom: 18px;
    font-weight: 500;
  }
  .footer-col a {
    display: block; color: var(--ink-dim); text-decoration: none;
    font-size: 14px; padding: 5px 0;
    transition: color 0.2s;
  }
  .footer-col a:hover { color: var(--ink); }

  /* ===== Blog / Insights ===== */
  .blog-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
  @media (max-width: 940px) { .blog-grid { grid-template-columns: 1fr; } }
  .blog-card {
    display: flex; flex-direction: column; gap: 14px;
    padding: 30px 28px;
    background: var(--glass);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    text-decoration: none; color: inherit;
    transition: transform 0.3s, border-color 0.3s, background 0.3s;
  }
  .blog-card:hover { transform: translateY(-4px); border-color: rgba(var(--c1-rgb),0.35); background: var(--glass-2); }
  .blog-tag {
    align-self: flex-start;
    font-family: 'JetBrains Mono', monospace; font-size: 11px;
    padding: 5px 11px; border-radius: 999px;
    background: rgba(var(--c1-rgb),0.10); color: var(--cyan);
    border: 1px solid rgba(var(--c1-rgb),0.22);
    text-transform: uppercase; letter-spacing: 0.08em;
  }
  .blog-card h3 { font-size: 19px; font-weight: 600; }
  .blog-card p { color: var(--ink-dim); font-size: 14px; flex: 1; }
  .blog-meta {
    font-family: 'JetBrains Mono', monospace; font-size: 11.5px;
    color: var(--ink-faint);
    padding-top: 12px; border-top: 1px dashed var(--line);
  }
  html[data-theme="light"] .blog-card {
    background: rgba(255,255,255,0.60);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-color: rgba(108,92,231,0.14);
  }
  html[data-theme="light"] .blog-tag { background: rgba(108,92,231,0.08); color: var(--c1); border-color: rgba(108,92,231,0.22); }

  .legal-links { display: flex; gap: 16px; flex-wrap: wrap; }
  .legal-links a { color: var(--ink-faint); text-decoration: none; font-size: 13px; font-family: 'JetBrains Mono', monospace; transition: color 0.2s; }
  .legal-links a:hover { color: var(--ink); }

  /* ===== Cookie consent ===== */
  .cookie-banner {
    position: fixed; left: 18px; right: 18px; bottom: 18px;
    z-index: 300;
    max-width: 620px; margin: 0 auto;
    display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
    padding: 20px 24px;
    background: rgba(10,22,40,0.85);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--line-2);
    border-radius: var(--r-lg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    transform: translateY(140%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(.2,.7,.2,1), opacity 0.4s;
    pointer-events: none;
  }
  .cookie-banner.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .cookie-banner p { flex: 1 1 260px; font-size: 13.5px; color: var(--ink-dim); margin: 0; }
  .cookie-banner p a { color: var(--cyan); text-decoration: underline; }
  .cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
  .cookie-btn {
    font-family: inherit; font-size: 13px; font-weight: 600;
    padding: 10px 18px; border-radius: 999px; border: 0; cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  }
  .cookie-btn.accept { background: var(--ink); color: var(--bg-2); }
  .cookie-btn.accept:hover { transform: translateY(-1px); }
  .cookie-btn.decline { background: transparent; color: var(--ink-dim); border: 1px solid var(--line-2); }
  .cookie-btn.decline:hover { color: var(--ink); border-color: var(--line-2); background: var(--glass); }
  html[data-theme="light"] .cookie-banner {
    background: rgba(245,245,252,0.92);
    border-color: rgba(108,92,231,0.16);
    box-shadow: 0 20px 50px rgba(108,92,231,0.16);
  }
  html[data-theme="light"] .cookie-btn.accept { background: var(--c1); color: #fff; }
  @media (max-width: 560px) { .cookie-banner { padding: 18px 18px; } }

  /* ===== Social links ===== */
  .footer-social-label {
    font-family: 'JetBrains Mono', monospace; font-size: 11px;
    text-transform: uppercase; letter-spacing: 0.16em;
    color: var(--ink-faint); margin-top: 24px; margin-bottom: 12px;
  }
  .socials { display: flex; gap: 10px; flex-wrap: wrap; }
  .social-btn {
    width: 42px; height: 42px; border-radius: 12px;
    display: grid; place-items: center;
    background: var(--glass); border: 1px solid var(--line);
    color: var(--ink-dim);
    text-decoration: none;
    transition: transform 0.25s ease, border-color 0.25s, background 0.25s, color 0.25s, box-shadow 0.25s;
  }
  .social-btn svg { width: 19px; height: 19px; display: block; }
  .social-btn:hover { transform: translateY(-3px); color: #fff; }
  .social-btn[data-net="linkedin"]:hover { background: rgba(10,102,194,0.18); border-color: #0A66C2; box-shadow: 0 10px 26px rgba(10,102,194,0.35); }
  .social-btn[data-net="instagram"]:hover { background: linear-gradient(135deg, rgba(225,48,108,0.22), rgba(247,119,55,0.18)); border-color: #E1306C; box-shadow: 0 10px 26px rgba(225,48,108,0.35); }
  .social-btn[data-net="youtube"]:hover { background: rgba(255,0,0,0.16); border-color: #FF0000; box-shadow: 0 10px 26px rgba(255,0,0,0.30); }
  .social-btn[data-net="facebook"]:hover { background: rgba(24,119,242,0.18); border-color: #1877F2; box-shadow: 0 10px 26px rgba(24,119,242,0.35); }

  /* Compact social cluster in header */
  .nav-socials { display: inline-flex; gap: 2px; margin-right: 6px; }
  .nav-social {
    width: 30px; height: 30px; border-radius: 8px;
    display: grid; place-items: center;
    color: var(--ink-dim); text-decoration: none;
    transition: color 0.2s, background 0.2s, transform 0.2s;
  }
  .nav-social svg { width: 15px; height: 15px; display: block; }
  .nav-social:hover { color: var(--ink); background: var(--glass); transform: translateY(-1px); }

  .footer-bottom {
    display: flex; justify-content: space-between; gap: 20px;
    flex-wrap: wrap;
    padding-top: 30px;
    border-top: 1px solid var(--line);
    color: var(--ink-faint); font-size: 13px;
    font-family: 'JetBrains Mono', monospace;
  }

  /* ===== Modal ===== */
  .modal-bg {
    position: fixed; inset: 0;
    background: rgba(6,16,31,0.85);
    backdrop-filter: blur(10px);
    z-index: 200;
    display: none;
    align-items: center; justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
  }
  .modal-bg.open { display: flex; opacity: 1; }
  .modal {
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    border-radius: var(--r-xl);
    width: 100%; max-width: 560px;
    max-height: 90vh; overflow-y: auto;
    padding: 40px;
    transform: translateY(20px) scale(0.96);
    transition: transform 0.3s ease;
  }
  .modal-bg.open .modal { transform: translateY(0) scale(1); }
  .modal-close {
    position: absolute; top: 18px; right: 18px;
    width: 36px; height: 36px;
    background: var(--glass-2); border: 1px solid var(--line);
    border-radius: 50%;
    cursor: pointer; color: var(--ink);
    display: grid; place-items: center;
    font-size: 16px;
  }
  .modal h3 { font-size: 28px; margin-bottom: 8px; }
  .modal-sub { color: var(--ink-dim); margin-bottom: 28px; font-size: 14px; }
  .field { margin-bottom: 18px; }
  .field label {
    display: block; font-size: 12px;
    font-family: 'JetBrains Mono', monospace;
    color: var(--ink-dim);
    text-transform: uppercase; letter-spacing: 0.12em;
    margin-bottom: 8px;
  }
  .field input, .field select, .field textarea {
    width: 100%;
    background: var(--glass); border: 1px solid var(--line);
    border-radius: var(--r-sm);
    padding: 12px 14px;
    color: var(--ink); font-family: inherit; font-size: 14px;
    transition: border-color 0.2s, background 0.2s;
  }
  .field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: rgba(var(--c1-rgb),0.5);
    background: var(--glass-2);
  }
  .field textarea { resize: vertical; min-height: 80px; }
  .field select option { background: var(--bg-2); color: var(--ink); }
  .budget-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .budget-cur { padding: 3px; }
  .bcur-btn {
    appearance: none; border: 0; background: transparent;
    color: var(--ink-dim); font-family: 'JetBrains Mono', monospace;
    font-size: 12px; padding: 4px 11px; border-radius: 999px;
    cursor: pointer; transition: color 0.2s, background 0.2s;
  }
  .bcur-btn:hover { color: var(--ink); }
  .bcur-btn.active { background: var(--ink); color: var(--bg-2); }
  .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  @media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
  .checkboxes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .check {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--glass);
    cursor: pointer;
    font-size: 13px;
    transition: border-color 0.2s, background 0.2s;
  }
  .check:has(input:checked) { background: rgba(var(--c1-rgb),0.1); border-color: rgba(var(--c1-rgb),0.4); }
  .check input { width: auto; }

  .modal-success {
    text-align: center; padding: 20px 0;
  }
  .modal-success .check-icon {
    width: 64px; height: 64px; margin: 0 auto 20px;
    border-radius: 50%; background: var(--mint);
    display: grid; place-items: center;
    color: var(--bg-2); font-size: 28px;
    animation: pop 0.5s cubic-bezier(.34,1.56,.64,1);
  }
  @keyframes pop { 0% { transform: scale(0); } 100% { transform: scale(1); } }

  /* ===== Site Portfolio (Work) ===== */
  .site-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 8px;
  }
  @media (max-width: 1000px) { .site-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 640px)  { .site-grid { grid-template-columns: 1fr; } }

  .site-card {
    display: flex; flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none; color: inherit;
    position: relative;
    /* Glass */
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.13);
    box-shadow:
      0 8px 32px rgba(0,0,0,0.28),
      inset 0 1px 0 rgba(255,255,255,0.12),
      inset 0 -1px 0 rgba(255,255,255,0.04);
    transition: transform 0.4s cubic-bezier(.2,.7,.2,1), box-shadow 0.4s, border-color 0.3s;
  }
  /* Gradient top-edge shimmer */
  .site-card::before {
    content: '';
    position: absolute; inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg,
      rgba(var(--c1-rgb),0.55) 0%,
      rgba(255,255,255,0.08) 40%,
      rgba(var(--c2-rgb),0.35) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s;
  }
  .site-card:hover::before { opacity: 1; }
  .site-card:hover {
    transform: translateY(-10px);
    box-shadow:
      0 28px 64px rgba(0,0,0,0.38),
      0 0 0 1px rgba(var(--c1-rgb),0.22),
      inset 0 1px 0 rgba(255,255,255,0.18),
      0 0 80px rgba(var(--c1-rgb),0.08);
    border-color: rgba(var(--c1-rgb),0.35);
  }

  /* Light mode overrides */
  html[data-theme="light"] .site-card {
    background: rgba(255,255,255,0.45);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border-color: rgba(108,92,231,0.18);
    box-shadow:
      0 8px 32px rgba(108,92,231,0.10),
      inset 0 1px 0 rgba(255,255,255,0.80),
      inset 0 -1px 0 rgba(108,92,231,0.05);
  }
  html[data-theme="light"] .site-card:hover {
    box-shadow:
      0 24px 60px rgba(108,92,231,0.18),
      0 0 0 1px rgba(108,92,231,0.25),
      inset 0 1px 0 rgba(255,255,255,0.90);
    border-color: rgba(108,92,231,0.38);
  }

  .site-browser {
    flex-shrink: 0;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
  }
  .site-bar {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  html[data-theme="light"] .site-bar {
    background: rgba(236,237,248,0.60);
    border-color: rgba(108,92,231,0.10);
  }
  .site-dot {
    width: 9px; height: 9px; border-radius: 50%;
    flex-shrink: 0;
  }
  .site-dot:nth-child(1) { background: #ff5f57; }
  .site-dot:nth-child(2) { background: #febc2e; }
  .site-dot:nth-child(3) { background: #28c840; }
  .site-url {
    margin-left: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px; color: var(--ink-faint);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .site-screen {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-3);
  }
  .site-screen img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.7s cubic-bezier(.2,.7,.2,1);
  }
  .site-card:hover .site-screen img { transform: scale(1.04); }
  .site-placeholder {
    width: 100%; height: 100%;
    display: grid; place-items: center;
    background:
      linear-gradient(135deg, rgba(var(--c1-rgb),0.20), rgba(var(--c2-rgb),0.20)),
      repeating-linear-gradient(45deg, rgba(245,247,250,0.04) 0 1px, transparent 1px 14px),
      var(--bg-3);
    transition: transform 0.7s cubic-bezier(.2,.7,.2,1);
  }
  .site-card:hover .site-placeholder { transform: scale(1.04); }
  .site-placeholder span {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700; font-size: 42px; letter-spacing: -0.03em;
    color: var(--ink); opacity: 0.85;
  }

  .site-info {
    padding: 20px 22px 22px;
    display: flex; flex-direction: column; gap: 8px;
    background: rgba(255,255,255,0.03);
  }
  html[data-theme="light"] .site-info {
    background: rgba(255,255,255,0.25);
  }
  .site-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px; font-weight: 700;
    color: var(--ink); letter-spacing: -0.01em;
  }
  .site-desc {
    font-size: 13.5px; color: var(--ink-dim); line-height: 1.5;
  }
  .site-tags {
    display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px;
  }
  .site-tags span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px; padding: 3px 9px;
    border-radius: 999px;
    background: rgba(var(--c1-rgb),0.10);
    border: 1px solid rgba(var(--c1-rgb),0.20);
    color: var(--ink-dim);
    backdrop-filter: blur(6px);
  }

  /* ===== 3D Commerce showcase ===== */
  #showcase { position: relative; }
  .showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 8px;
    align-items: stretch;
  }
  @media (max-width: 1000px) { .showcase-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
  @media (max-width: 560px)  { .showcase-grid { grid-template-columns: 1fr; gap: 18px; } }

  .shot {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--line-2);
    background:
      radial-gradient(130% 90% at 50% 0%, rgba(var(--accent-rgb, var(--c1-rgb)),0.16), transparent 62%),
      var(--bg-3);
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
    transition: transform 0.4s cubic-bezier(.2,.7,.2,1), border-color 0.3s, box-shadow 0.4s;
    cursor: default;
  }
  .shot:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--accent-rgb, var(--c1-rgb)),0.55);
    box-shadow: 0 26px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(var(--accent-rgb, var(--c1-rgb)),0.25);
  }
  .shot img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: var(--pos, center);
    transition: transform 0.7s cubic-bezier(.2,.7,.2,1);
  }
  .shot:hover img { transform: scale(1.045); }

  /* graceful fallback if an image fails to load */
  .shot.img-failed img { display: none; }
  .shot.img-failed::before {
    content: attr(data-fallback);
    position: absolute; inset: 0; z-index: 1;
    display: grid; place-items: center; text-align: center; padding: 24px;
    font-family: 'JetBrains Mono', monospace; font-size: 11px; line-height: 1.6;
    color: var(--ink-faint);
    background: repeating-linear-gradient(45deg, rgba(245,247,250,0.05) 0 1px, transparent 1px 13px);
  }

  .shot-tag {
    position: absolute;
    top: 14px; left: 14px;
    z-index: 3;
    display: inline-flex; align-items: center; gap: 7px;
    padding: 6px 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; letter-spacing: 0.04em;
    color: var(--ink);
    background: rgba(6,16,31,0.62);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--line-2);
    border-radius: 999px;
  }
  .shot-tag::before {
    content: ''; width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent, var(--c1));
    box-shadow: 0 0 10px var(--accent, var(--c1));
  }

  .shot-cap {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 2;
    padding: 60px 18px 18px;
    background: linear-gradient(to top, rgba(6,16,31,0.94) 6%, rgba(6,16,31,0.66) 46%, transparent 100%);
  }
  .shot-cap .row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
  .shot-cap h3 {
    font-family: 'Space Grotesk', sans-serif; font-weight: 600;
    font-size: 19px; color: var(--ink); letter-spacing: -0.01em;
  }
  .shot-cat {
    font-family: 'JetBrains Mono', monospace; font-size: 11px;
    color: var(--accent, var(--c1)); white-space: nowrap;
  }
  .shot-cap .desc {
    color: var(--ink-dim); font-size: 13.5px; line-height: 1.5;
    margin-top: 5px; max-width: 38ch;
    max-height: 0; opacity: 0; overflow: hidden;
    transition: max-height 0.45s ease, opacity 0.35s ease, margin-top 0.45s ease;
  }
  .shot:hover .desc { max-height: 90px; opacity: 1; }
  @media (hover: none), (max-width: 640px) {
    .shot .desc { max-height: 90px; opacity: 1; }
  }

  /* AR teaser card */
  .shot.teaser { background: var(--bg-3); }
  .shot .teaser-art {
    position: absolute; inset: 0;
    display: grid; place-items: center;
    background:
      radial-gradient(120% 80% at 50% 0%, rgba(var(--c2-rgb),0.22), transparent 60%),
      repeating-linear-gradient(45deg, rgba(245,247,250,0.04) 0 1px, transparent 1px 12px),
      var(--bg-3);
  }
  .shot .teaser-art .mono {
    position: absolute; bottom: 78px; left: 0; right: 0; text-align: center;
    color: var(--ink-faint); font-size: 11px; letter-spacing: 0.05em;
  }
  .shot .teaser-art .ar-ring {
    width: 104px; height: 104px; border-radius: 50%;
    border: 1.5px dashed rgba(var(--c2-rgb),0.5);
    display: grid; place-items: center;
    margin-bottom: 40px;
    animation: arspin 14s linear infinite;
  }
  @keyframes arspin { to { transform: rotate(360deg); } }
  .shot .teaser-art .ar-core {
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--grad);
    box-shadow: 0 0 30px rgba(var(--c2-rgb),0.5);
    transform: rotate(45deg);
  }

  .showcase-note {
    margin-top: 30px;
    display: flex; align-items: center; gap: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12.5px; color: var(--ink-faint);
  }
  .showcase-note .dash { flex: 1; height: 1px; background: var(--line); }

  /* ===== Photo bands ===== */
  .photo-band {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
    overflow: hidden;
  }
  @media (max-width: 760px) {
    .photo-band { grid-template-columns: 1fr; min-height: auto; }
    .photo-band.reverse .pb-img { order: -1; }
  }
  .pb-img {
    position: relative;
    min-height: 420px;
    overflow: hidden;
  }
  .pb-img img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    display: block;
    transition: transform 0.8s cubic-bezier(.2,.7,.2,1);
  }
  .photo-band:hover .pb-img img { transform: scale(1.04); }
  .pb-img::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg,
      rgba(6,16,31,0.52) 0%,
      rgba(108,92,231,0.18) 100%);
    pointer-events: none;
  }
  html[data-theme="light"] .pb-img::after {
    background: linear-gradient(135deg,
      rgba(10,11,30,0.30) 0%,
      rgba(108,92,231,0.12) 100%);
  }
  .pb-copy {
    display: flex; flex-direction: column; justify-content: center;
    padding: 64px 56px;
    background: var(--bg-2);
  }
  html[data-theme="light"] .pb-copy {
    background: rgba(245,245,252,0.95);
    backdrop-filter: blur(12px);
  }
  @media (max-width: 900px) { .pb-copy { padding: 44px 32px; } }
  @media (max-width: 760px) { .pb-copy { padding: 40px 24px; } }
  .pb-copy .eyebrow { margin-bottom: 18px; }
  .pb-copy h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 4vw, 42px); font-weight: 700;
    letter-spacing: -0.02em; line-height: 1.1;
    color: var(--ink); margin-bottom: 18px;
  }
  .pb-copy p {
    font-size: 16px; line-height: 1.7;
    color: var(--ink-dim); max-width: 42ch;
    margin-bottom: 28px;
  }
  .pb-copy .pb-stats {
    display: flex; gap: 32px; flex-wrap: wrap;
  }
  .pb-stat .v {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px; font-weight: 700;
    color: var(--c1); letter-spacing: -0.02em;
  }
  .pb-stat .l {
    font-size: 12px; color: var(--ink-faint);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.04em; margin-top: 2px;
  }

  /* ===== Team ===== */
  .team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 8px;
  }
  @media (max-width: 900px) { .team-grid { grid-template-columns: 1fr; max-width: 480px; } }

  .team-card {
    position: relative;
    padding: 32px 28px 24px;
    background: var(--glass);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    display: flex; flex-direction: column; gap: 20px;
    transition: transform 0.35s cubic-bezier(.2,.7,.2,1), border-color 0.3s, background 0.3s;
  }
  .team-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--c1-rgb),0.3);
    background: var(--glass-2);
  }

  .team-photo-wrap {
    position: relative;
    display: inline-block;
    width: 88px; height: 88px;
  }
  .team-status {
    position: absolute; bottom: 4px; right: 4px;
    width: 14px; height: 14px; border-radius: 50%;
    border: 2px solid var(--bg-3);
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34,197,94,0.6);
  }

  .team-info { flex: 1; display: flex; flex-direction: column; gap: 6px; }
  .team-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px; font-weight: 700;
    color: var(--ink); letter-spacing: -0.01em;
  }
  .team-role {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px; letter-spacing: 0.04em;
    color: var(--c1); text-transform: uppercase;
  }
  .team-bio {
    font-size: 14px; color: var(--ink-dim);
    line-height: 1.55; margin-top: 4px;
  }
  .team-tags {
    display: flex; flex-wrap: wrap; gap: 6px;
    margin-top: 6px;
  }
  .team-tags span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; padding: 4px 10px;
    border-radius: 999px;
    background: var(--glass-2);
    border: 1px solid var(--line);
    color: var(--ink-dim);
  }

  .team-li {
    display: inline-flex; align-items: center; gap: 8px;
    align-self: flex-start;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(10,102,194,0.10);
    border: 1px solid rgba(10,102,194,0.22);
    color: #0a66c2;
    text-decoration: none;
    font-size: 13px; font-weight: 600;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  }
  .team-li:hover {
    background: rgba(10,102,194,0.18);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(10,102,194,0.18);
  }
  html[data-theme="dark"] .team-li {
    background: rgba(10,102,194,0.15);
    border-color: rgba(10,102,194,0.30);
    color: #5ba4e5;
  }

  /* ===== LIGHT THEME (periwinkle + any future light vibe) ===== */
  html[data-theme="light"] {
    --bg:      #f4f6fb;
    --bg-2:    #eef1f8;
    --bg-3:    #e6eaf4;
    --ink:       #0b1220;
    --ink-dim:   #4b5768;
    --ink-faint: #7c879b;
    --glass:   rgba(255,255,255,0.55);
    --glass-2: rgba(255,255,255,0.75);
    --line:    rgba(108,92,231,0.10);
    --line-2:  rgba(108,92,231,0.18);
    --shadow-glow: 0 0 40px rgba(108,92,231,0.18);
    --grad: linear-gradient(135deg, var(--c1) 0%, var(--c2) 100%);
    --cyan:  #6c5ce7;
    --mint:  #6c5ce7;
    --purple: #6c5ce7;
    --coral: #e17055;
  }

  html[data-theme="light"] .social-btn:hover {
    color: var(--ink);
  }

  html[data-theme="light"] .host-perf-bar {
    background: rgba(108,92,231,0.10);
  }
  html[data-theme="light"] .btn-ghost {
    background: rgba(108,92,231,0.06);
    border-color: rgba(108,92,231,0.18);
    color: var(--ink);
  }
  html[data-theme="light"] .btn-ghost:hover {
    background: rgba(108,92,231,0.12);
    border-color: rgba(108,92,231,0.35);
  }
  html[data-theme="light"] .faq-item.open .faq-toggle {
    background: var(--c1); border-color: var(--c1);
  }
  html[data-theme="light"] .quote .stars { color: #f59e0b; }
  html[data-theme="light"] .lang-btn { color: var(--ink-dim); }
  html[data-theme="light"] .lang-btn.active { background: var(--c1); color: #fff; }
  html[data-theme="light"] .atmosphere {
    background:
      radial-gradient(900px 600px at 80% -10%, rgba(108,92,231,0.14), transparent 60%),
      radial-gradient(800px 700px at -10% 30%, rgba(162,155,254,0.16), transparent 60%),
      radial-gradient(600px 400px at 55% 110%, rgba(253,121,168,0.08), transparent 60%),
      #ecedf8;
  }
  html[data-theme="light"] .grid-overlay {
    background-image:
      linear-gradient(rgba(108,92,231,0.06) 1px, transparent 1px),
      linear-gradient(90deg, rgba(108,92,231,0.06) 1px, transparent 1px);
  }

  /* Nav */
  html[data-theme="light"] .nav {
    background: rgba(245,245,252,0.72);
    border-color: rgba(108,92,231,0.14);
    box-shadow: 0 8px 32px rgba(108,92,231,0.10);
  }
  html[data-theme="light"] .nav-links a { color: var(--ink-dim); }
  html[data-theme="light"] .nav-links a:hover {
    color: var(--c1); background: rgba(108,92,231,0.07);
  }
  html[data-theme="light"] .nav-cta {
    background: var(--c1); color: #fff;
    box-shadow: 0 6px 20px rgba(108,92,231,0.30);
  }
  html[data-theme="light"] .nav-cta:hover { box-shadow: 0 10px 28px rgba(108,92,231,0.40); }
  html[data-theme="light"] .lang-btn.active { background: var(--c1); color: #fff; }
  html[data-theme="light"] .lang-switch {
    background: rgba(108,92,231,0.07);
    border-color: rgba(108,92,231,0.14);
  }

  /* Eyebrow badges */
  html[data-theme="light"] .eyebrow {
    color: var(--c1);
    background: rgba(108,92,231,0.08);
    border-color: rgba(108,92,231,0.22);
  }
  html[data-theme="light"] .eyebrow::before {
    background: var(--c1); box-shadow: 0 0 8px rgba(108,92,231,0.5);
  }

  /* Section headings */
  html[data-theme="light"] .section-sub { color: var(--ink-dim); }

  /* Marquee */
  html[data-theme="light"] .marquee {
    background: rgba(255,255,255,0.45);
    border-color: rgba(108,92,231,0.12);
  }
  html[data-theme="light"] .marquee-item .dot { background: var(--c1); }

  /* Hero stats */
  html[data-theme="light"] .hero-stat {
    background: rgba(255,255,255,0.60);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-color: rgba(108,92,231,0.15);
    box-shadow: 0 6px 24px rgba(108,92,231,0.08);
  }

  /* Pillars / feature cards */
  html[data-theme="light"] .pillar {
    background: rgba(255,255,255,0.60);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border-color: rgba(108,92,231,0.14);
    box-shadow: 0 6px 28px rgba(108,92,231,0.06);
  }
  html[data-theme="light"] .pillar:hover {
    background: rgba(255,255,255,0.85);
    border-color: rgba(108,92,231,0.35);
    box-shadow: 0 12px 40px rgba(108,92,231,0.14);
  }
  html[data-theme="light"] .pillar-icon {
    background: linear-gradient(135deg, rgba(108,92,231,0.12), rgba(162,155,254,0.18));
    border-color: rgba(108,92,231,0.22);
  }

  /* Testimonial quote cards */
  html[data-theme="light"] .quote {
    background: rgba(255,255,255,0.62);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-color: rgba(108,92,231,0.13);
    box-shadow: 0 6px 28px rgba(108,92,231,0.07);
  }

  /* Showcase shot cards — keep image & caption, glass-ify empty areas */
  html[data-theme="light"] .shot {
    border-color: rgba(108,92,231,0.15);
    box-shadow: 0 14px 36px rgba(108,92,231,0.12);
  }
  html[data-theme="light"] .shot:hover {
    box-shadow: 0 24px 56px rgba(108,92,231,0.22),
                0 0 0 1px rgba(var(--accent-rgb, 108,92,231),0.3);
  }
  html[data-theme="light"] .shot-tag {
    background: rgba(245,245,252,0.72);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    color: var(--ink);
    border-color: rgba(108,92,231,0.18);
  }
  html[data-theme="light"] .teaser-art {
    background:
      radial-gradient(110% 70% at 50% 0%, rgba(108,92,231,0.18), transparent 60%),
      repeating-linear-gradient(45deg, rgba(108,92,231,0.04) 0 1px, transparent 1px 13px),
      #f0f0fb;
  }

  /* Process steps */
  html[data-theme="light"] .proc-step,
  html[data-theme="light"] [class*="step"] {
    background: rgba(255,255,255,0.62);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-color: rgba(108,92,231,0.13);
  }

  /* Pricing plan cards */
  html[data-theme="light"] .plan {
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-color: rgba(108,92,231,0.14);
    box-shadow: 0 8px 32px rgba(108,92,231,0.08);
  }
  html[data-theme="light"] .plan.featured {
    background:
      linear-gradient(180deg, rgba(108,92,231,0.10), rgba(162,155,254,0.08)),
      rgba(255,255,255,0.80);
    border-color: rgba(108,92,231,0.45);
    box-shadow: 0 30px 80px rgba(108,92,231,0.18);
  }

  /* Hosting plan cards */
  html[data-theme="light"] .host-plan {
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-color: rgba(108,92,231,0.14);
    box-shadow: 0 8px 32px rgba(108,92,231,0.08);
  }
  html[data-theme="light"] .host-perf-bar {
    background: rgba(108,92,231,0.10);
  }
  html[data-theme="light"] .host-sep {
    background: rgba(108,92,231,0.10);
  }

  /* Stat chips */
  html[data-theme="light"] .hero-stat {
    background: rgba(255,255,255,0.60);
    border-color: rgba(108,92,231,0.14);
  }

  /* Tech cards */
  html[data-theme="light"] .tech {
    background: rgba(255,255,255,0.60);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-color: rgba(108,92,231,0.13);
    box-shadow: 0 4px 20px rgba(108,92,231,0.06);
  }
  html[data-theme="light"] .tech:hover .tech-logo {
    background: rgba(108,92,231,0.12);
    border-color: rgba(108,92,231,0.35);
  }

  /* Tech / brand pills */
  html[data-theme="light"] [class*="tech-pill"],
  html[data-theme="light"] [class*="brand-tag"] {
    background: rgba(108,92,231,0.08);
    border-color: rgba(108,92,231,0.18);
    color: var(--ink);
  }

  /* FAQ */
  html[data-theme="light"] .faq-item { border-color: rgba(108,92,231,0.12); }
  html[data-theme="light"] .faq-item.open .faq-toggle { background: var(--c1); border-color: var(--c1); }
  html[data-theme="light"] .faq-item.open .faq-toggle::before,
  html[data-theme="light"] .faq-item.open .faq-toggle::after { background: #fff; }

  /* Footer */
  html[data-theme="light"] footer,
  html[data-theme="light"] .footer {
    background: rgba(255,255,255,0.55) !important;
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-top-color: rgba(108,92,231,0.12);
  }

  /* Modal overlay */
  html[data-theme="light"] .modal-bg {
    background: rgba(10,11,30,0.55);
  }
  html[data-theme="light"] .modal {
    background: rgba(245,245,252,0.92);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border-color: rgba(108,92,231,0.16);
  }
  html[data-theme="light"] .field input,
  html[data-theme="light"] .field select,
  html[data-theme="light"] .field textarea {
    background: rgba(255,255,255,0.80);
    border-color: rgba(108,92,231,0.18);
    color: var(--ink);
  }
  html[data-theme="light"] .field input:focus,
  html[data-theme="light"] .field select:focus,
  html[data-theme="light"] .field textarea:focus {
    border-color: var(--c1);
    box-shadow: 0 0 0 3px rgba(108,92,231,0.12);
  }

  /* Work portfolio image overlay tags */
  html[data-theme="light"] .brand-tag,
  html[data-theme="light"] [style*="rgba(6,16,31"] {
    background: rgba(245,245,252,0.72) !important;
    backdrop-filter: blur(12px);
  }

  /* Primary buttons */
  html[data-theme="light"] .btn-primary,
  html[data-theme="light"] [class*="btn-pr"] {
    color: #fff;
  }

  /* Cursor ring for light bg */
  html[data-theme="light"] .cursor-ring {
    border-color: rgba(108,92,231,0.45);
  }
  html[data-theme="light"] .cursor-dot {
    background: var(--c1);
    box-shadow: 0 0 10px var(--c1);
  }

  /* Portfolio cards — light mode fixes */
  html[data-theme="light"] .project .label {
    background: rgba(108,92,231,0.12);
    backdrop-filter: blur(8px);
    color: var(--c1);
    border-color: rgba(108,92,231,0.25);
  }
  html[data-theme="light"] .project .brand-mark {
    background: rgba(255,255,255,0.70);
    backdrop-filter: blur(12px);
    border-color: rgba(108,92,231,0.18);
    box-shadow: 0 12px 40px rgba(108,92,231,0.12), inset 0 0 0 1px rgba(108,92,231,0.06);
  }
  html[data-theme="light"] .project .brand-mark .mono { color: var(--c1); }
  html[data-theme="light"] .project .meta {
    background: linear-gradient(180deg, transparent, rgba(245,245,252,0.97));
  }
  html[data-theme="light"] .project .meta h3 { color: var(--ink); }
  html[data-theme="light"] .project .meta .desc { color: var(--ink-dim); }
  html[data-theme="light"] .project .metric .v { color: var(--c1); }
  html[data-theme="light"] .project .brand-tag {
    background: rgba(108,92,231,0.10);
    color: var(--c1);
    border-color: rgba(108,92,231,0.28);
  }
  html[data-theme="light"] .project .placeholder {
    background-blend-mode: normal;
  }

  /* Scroll hint line */
  html[data-theme="light"] .scroll-hint { color: var(--ink-faint); }
  html[data-theme="light"] .scroll-hint::after {
    background: linear-gradient(180deg, var(--ink-faint), transparent);
  }

  /* ===== Reveal animation ===== */
  .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .reveal.in { opacity: 1; transform: translateY(0); }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .reveal { opacity: 1; transform: none; }
  }


/* ===== Hosting section styles ===== */
  /* ===== Hosting ===== */
  .host-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin-bottom: 44px; }
  .host-head-l { max-width: 620px; }
  .host-head-r { display: flex; flex-direction: column; align-items: flex-end; gap: 0; }
  .host-cur-switch {
    display: inline-flex; gap: 3px; padding: 4px;
    background: var(--glass); border: 1px solid var(--line); border-radius: 999px;
  }
  .host-cur-btn {
    appearance: none; border: 0; background: transparent;
    color: var(--ink-dim); font-family: 'JetBrains Mono', monospace;
    font-size: 12px; font-weight: 500; letter-spacing: 0.04em;
    padding: 9px 16px; border-radius: 999px; cursor: pointer;
    transition: color 0.2s, background 0.2s;
  }
  .host-cur-btn:hover { color: var(--ink); }
  .host-cur-btn.active { background: var(--ink); color: var(--bg-2); }
  .host-cur-btn small { opacity: 0.55; margin-left: 5px; }
  .host-note {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: 'JetBrains Mono', monospace; font-size: 11px;
    color: var(--ink-faint); margin-top: 12px; letter-spacing: 0.04em;
  }
  .host-note::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }
  html[dir="rtl"] .host-head-r { align-items: flex-start; }
  html[dir="rtl"] .host-cur-btn small { margin-left: 0; margin-right: 5px; }

  .host-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
  @media (max-width: 940px) { .host-grid { grid-template-columns: 1fr; } }
  .host-plan {
    position: relative; padding: 36px 30px;
    background: var(--glass); border: 1px solid var(--line);
    border-radius: var(--r-lg);
    transition: transform 0.3s, border-color 0.3s;
  }
  .host-plan::after {
    content: ''; position: absolute; inset: 0;
    border-radius: inherit;
    background: radial-gradient(360px 200px at 50% -10%, rgba(var(--c1-rgb),0.10), transparent 65%);
    opacity: 0; transition: opacity 0.4s; pointer-events: none;
  }
  .host-plan:hover { transform: translateY(-4px); border-color: rgba(var(--c1-rgb),0.3); }
  .host-plan:hover::after { opacity: 1; }
  .host-plan.featured {
    background: linear-gradient(180deg, rgba(var(--c1-rgb),0.08), rgba(var(--c2-rgb),0.06)), var(--bg-2);
    border-color: rgba(var(--c1-rgb),0.4);
    box-shadow: 0 30px 80px rgba(var(--c1-rgb),0.15);
  }
  @media (min-width: 941px) {
    .host-plan.featured { transform: translateY(-14px); }
    .host-plan.featured:hover { transform: translateY(-18px); }
  }
  .guarantee-badge {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin: 0 auto 40px; width: fit-content;
    padding: 10px 18px; border-radius: 100px;
    background: rgba(47,214,184,0.1); border: 1px solid rgba(47,214,184,0.3);
    color: var(--mint); font-size: 13px; font-weight: 500;
  }
  html[data-theme="light"] .guarantee-badge { background: rgba(47,214,184,0.12); border-color: rgba(47,214,184,0.35); }
  .guarantee-link {
    color: var(--mint); text-decoration: underline; text-decoration-color: rgba(47,214,184,0.4);
    font-weight: 600; white-space: nowrap; margin-left: 2px;
  }
  .guarantee-link:hover { text-decoration-color: var(--mint); }
  html[dir="rtl"] .guarantee-link { margin-left: 0; margin-right: 2px; }
  .faq-highlight {
    background: rgba(47,214,184,0.06); border-color: rgba(47,214,184,0.35) !important;
    border-radius: 12px; padding-left: 12px; padding-right: 12px;
  }
  .faq-highlight .faq-q { color: var(--mint); }
  html[data-theme="light"] .faq-highlight { background: rgba(47,214,184,0.08); }
  .host-badge {
    position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
    font-family: 'JetBrains Mono', monospace; font-size: 11px;
    padding: 6px 15px; border-radius: 999px;
    background: var(--grad); color: var(--bg-2);
    font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; white-space: nowrap;
  }
  .host-name {
    font-family: 'JetBrains Mono', monospace; font-size: 12px;
    letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan);
    margin-bottom: 12px;
  }
  .host-desc { color: var(--ink-dim); font-size: 14px; margin-bottom: 22px; min-height: 42px; }
  .host-price { display: flex; align-items: baseline; gap: 9px; margin-bottom: 4px; flex-wrap: wrap; }
  .host-amt { font-family: 'Space Grotesk', sans-serif; font-size: 46px; font-weight: 600; line-height: 1; letter-spacing: -0.02em; }
  .host-unit { font-size: 14px; color: var(--ink-dim); font-family: 'JetBrains Mono', monospace; }
  .host-unit .cur { color: var(--cyan); font-weight: 600; margin-right: 3px; }
  .host-sep { height: 1px; background: var(--line); margin: 24px 0; }

  .host-perf { margin-bottom: 22px; }
  .host-perf-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 9px; gap: 10px; }
  .host-perf-lbl { font-size: 12px; color: var(--ink-dim); }
  .host-perf-val { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15px; color: var(--ink); }
  .host-perf-bar { height: 7px; border-radius: 999px; background: rgba(245,247,250,0.08); overflow: hidden; }
  .host-perf-fill { height: 100%; border-radius: 999px; background: var(--grad); width: 0; transition: width 1.1s cubic-bezier(.2,.7,.2,1); }

  .host-feats { list-style: none; margin-bottom: 26px; display: flex; flex-direction: column; gap: 1px; }
  .host-feats li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink); padding: 7px 0; }
  .host-feats li svg { flex: 0 0 16px; margin-top: 3px; color: var(--cyan); }
  .host-feats li.hl { font-weight: 600; }
  .host-plan .btn { width: 100%; justify-content: center; }
  html[dir="rtl"] .host-feats li { text-align: right; }

  /* ===== Performance banner ===== */
  .perf-band {
    margin-top: 100px; padding: 56px 50px; border-radius: var(--r-xl);
    position: relative; overflow: hidden; border: 1px solid var(--line-2);
    background:
      radial-gradient(800px 420px at 12% -25%, rgba(var(--c1-rgb),0.16), transparent 60%),
      radial-gradient(620px 420px at 112% 125%, rgba(var(--c2-rgb),0.18), transparent 60%),
      var(--bg-2);
  }
  .perf-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 50px; align-items: center; }
  @media (max-width: 880px) { .perf-grid { grid-template-columns: 1fr; gap: 34px; } .perf-band { padding: 40px 26px; } }
  .perf-copy h3 { font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 16px; }
  .perf-copy p { color: var(--ink-dim); font-size: 16px; max-width: 470px; }
  .perf-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .perf-stat { padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--glass); transition: transform 0.3s, border-color 0.3s; }
  .perf-stat:hover { transform: translateY(-3px); border-color: rgba(var(--c1-rgb),0.3); }
  .perf-stat .v { font-family: 'Space Grotesk', sans-serif; font-size: 30px; font-weight: 600; line-height: 1; }
  .perf-stat .v .gradient-text { font-size: inherit; }
  .perf-stat .l { font-size: 12.5px; color: var(--ink-dim); margin-top: 9px; line-height: 1.4; }

  /* ===== WordPress optimisation ===== */
  .wpo { margin-top: 66px; }
  .wpo-head { margin-bottom: 30px; }
  .wpo-head h3 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 8px; }
  .wpo-head p { color: var(--ink-dim); font-size: 15px; max-width: 540px; }
  .wpo-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  @media (max-width: 880px) { .wpo-cards { grid-template-columns: 1fr; } }
  .wpo-card { padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--glass); transition: transform 0.3s, border-color 0.3s; }
  .wpo-card:hover { transform: translateY(-4px); border-color: rgba(var(--c1-rgb),0.3); }
  .wpo-ic {
    width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
    background: linear-gradient(135deg, rgba(var(--c1-rgb),0.15), rgba(var(--c2-rgb),0.15));
    border: 1px solid rgba(var(--c1-rgb),0.25); margin-bottom: 18px; color: var(--c1);
  }
  .wpo-card:nth-child(2) .wpo-ic { background: linear-gradient(135deg, rgba(var(--c2-rgb),0.16), rgba(var(--c3-rgb),0.14)); border-color: rgba(var(--c2-rgb),0.3); color: var(--c2); }
  .wpo-card:nth-child(3) .wpo-ic { background: linear-gradient(135deg, rgba(var(--c4-rgb),0.16), rgba(var(--c1-rgb),0.14)); border-color: rgba(var(--c4-rgb),0.3); color: var(--c4); }
  .wpo-card h4 { font-size: 19px; margin-bottom: 8px; }
  .wpo-card p { color: var(--ink-dim); font-size: 14px; }


/* =========================================================================
   Theme integration additions (not in the original mockup)
   ========================================================================= */

/* Static-gradient fallback when WebGL is unavailable (hero-3d.js adds the hook) */
.hero.hero--no-webgl {
  background:
    radial-gradient(900px 520px at 80% -10%, rgba(var(--c1-rgb),0.20), transparent 60%),
    radial-gradient(760px 620px at -10% 20%, rgba(var(--c2-rgb),0.22), transparent 60%),
    radial-gradient(680px 440px at 60% 110%, rgba(var(--c3-rgb),0.12), transparent 60%);
}

/* Contact form submit: loading + error states */
.btn.is-loading { opacity: 0.65; pointer-events: none; }
.btn.is-loading::after {
  content: ''; width: 14px; height: 14px; margin-left: 4px;
  border: 2px solid currentColor; border-right-color: transparent;
  border-radius: 50%; display: inline-block;
  animation: cp-spin 0.7s linear infinite;
}
@keyframes cp-spin { to { transform: rotate(360deg); } }
.form-error {
  display: none;
  margin-top: 12px; padding: 10px 14px;
  font-size: 13px; color: #ff9d8a;
  background: rgba(255,107,84,0.10);
  border: 1px solid rgba(255,107,84,0.35);
  border-radius: var(--r-sm);
}

/* Honeypot — visually hidden, off-screen, not display:none (bots skip those) */
.cp-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}

/* WP admin bar offset for the fixed nav */
body.admin-bar .nav { top: calc(18px + 32px); }
@media screen and (max-width: 782px) {
  body.admin-bar .nav { top: calc(18px + 46px); }
}


/* =========================================================================
   Editorial templates (pages, single posts, insights, legal) — not in the
   original single-page mockup; styled to match the design system.
   ========================================================================= */
.entry-wrap { max-width: 820px; margin: 0 auto; padding: 140px 28px 120px; }
.entry-wrap.narrow { max-width: 760px; }
.entry-back { display: inline-block; margin-bottom: 40px; font-size: 14px; color: var(--ink-dim); text-decoration: none; }
.entry-back:hover { color: var(--ink); }
.entry-header { margin-bottom: 40px; }
.entry-header h1 { font-size: clamp(32px, 5vw, 56px); margin-bottom: 14px; }
.entry-meta { color: var(--ink-dim); font-size: 14px; font-family: 'JetBrains Mono', monospace; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.entry-meta .blog-tag { position: static; }
.entry-featured { margin: 0 0 40px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.entry-featured img { display: block; width: 100%; height: auto; }
.entry-content { color: var(--ink-dim); font-size: 16.5px; line-height: 1.75; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-family: 'Space Grotesk', sans-serif; color: var(--ink); font-size: 26px; margin-top: 1.6em; }
.entry-content h3 { font-family: 'Space Grotesk', sans-serif; color: var(--ink); font-size: 20px; margin-top: 1.4em; }
.entry-content a { color: var(--cyan); }
.entry-content a:hover { color: #7be9ff; }
.entry-content strong { color: var(--ink); }
.entry-content ul, .entry-content ol { padding-left: 22px; }
.entry-content li { margin-bottom: 6px; }
.entry-content blockquote { border-left: 3px solid var(--c2); padding-left: 18px; color: var(--ink); font-style: italic; }
.entry-content img { max-width: 100%; height: auto; border-radius: var(--r); }
.entry-content code { font-family: 'JetBrains Mono', monospace; font-size: 0.9em; background: var(--glass-2); padding: 2px 6px; border-radius: 6px; }
.entry-content pre { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; overflow-x: auto; }
.post-nav { max-width: 820px; margin: 0 auto 80px; padding: 0 28px; display: flex; justify-content: space-between; gap: 20px; font-family: 'JetBrains Mono', monospace; font-size: 13px; }
.post-nav a { color: var(--ink-dim); text-decoration: none; }
.post-nav a:hover { color: var(--cyan); }
.archive-head { max-width: 1280px; margin: 0 auto; padding: 140px 28px 0; }
.archive-head h1 { font-size: clamp(36px, 5vw, 64px); margin-bottom: 12px; }
.archive-grid { max-width: 1280px; margin: 40px auto 0; padding: 0 28px 120px; }
.pagination { max-width: 1280px; margin: 0 auto; padding: 0 28px 100px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination a, .pagination .current { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-dim); text-decoration: none; }
.pagination .current { background: var(--ink); color: var(--bg-2); border-color: var(--ink); }
.no-results { max-width: 820px; margin: 0 auto; padding: 160px 28px; text-align: center; color: var(--ink-dim); }
