/* =========================================
   1. DESIGN TOKENS & THEME DEFINITIONS
   ========================================= */

   :root,
   [data-theme="corporate"] {
     --bg-page: #f8fafc;
     --bg-surface: #ffffff;
     --bg-pattern: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.08), transparent 65%);
     --bg-pattern-size: auto;
     --text-main: #0f172a;
     --text-muted: #64748b;
     --accent: #2563eb;
     --accent-hover: #1d4ed8;
     --accent-text: #ffffff;
     --border: 1px solid #e2e8f0;
     --radius: 10px;
     --btn-radius: 8px;
     --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
     --font-heading: 'Inter', sans-serif;
     --font-body: 'Inter', sans-serif;
     --heading-weight: 700;
     --heading-transform: none;
     --letter-spacing: -0.02em;
     --doodle-opacity: 1;
     --doodle-height: auto;
   }
   
   /* THEME 2: OBSIDIAN & EMBER (Architectural Dark + Burnt Orange) */
   [data-theme="noir"] {
     --bg-page: #0a0a0c;
     --bg-surface: #121216;
     --bg-pattern: 
       radial-gradient(circle at 50% -10%, rgba(255, 85, 0, 0.16), transparent 55%),
       linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
       linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
     --bg-pattern-size: 100% 100%, 48px 48px, 48px 48px;
     --text-main: #f4f4f6;
     --text-muted: #94949e;
     --accent: #ff5500;
     --accent-hover: #ff6b1a;
     --accent-text: #0a0a0c;
     --border: 1px solid #24242b;
     --radius: 6px;
     --btn-radius: 4px;
     --shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.06);
     --font-heading: 'Space Grotesk', sans-serif;
     --font-body: 'Inter', sans-serif;
     --heading-weight: 700;
     --heading-transform: none;
     --letter-spacing: -0.03em;
     --doodle-opacity: 0;
     --doodle-height: 0px;
   }
   
   /* THEME 3: SWISS POSTER GRID (International Typographic Style) */
   [data-theme="swiss"] {
     --bg-page: #f2efe9;
     --bg-surface: #f2efe9;
     --bg-pattern: none;
     --bg-pattern-size: auto;
     --text-main: #111111;
     --text-muted: #333333;
     --accent: #e1251b; /* Swiss Signal Red */
     --accent-hover: #111111;
     --accent-text: #ffffff;
     --border: 2px solid #111111;
     --radius: 0px;
     --btn-radius: 0px;
     --shadow: none;
     --font-heading: 'Archivo Black', sans-serif;
     --font-body: 'Inter', sans-serif;
     --heading-weight: 900;
     --heading-transform: uppercase;
     --letter-spacing: -0.04em;
     --doodle-opacity: 0;
     --doodle-height: 0px;
   }
   
   /* THEME 4: CLUB BERLIN (Acid Cyber-Brutalism) */
   [data-theme="brutal"] {
     --bg-page: #d9ff00;
     --bg-surface: #ffffff;
     --bg-pattern: none;
     --bg-pattern-size: auto;
     --text-main: #000000;
     --text-muted: #18181b;
     --accent: #ff006e;
     --accent-hover: #000000;
     --accent-text: #ffffff;
     --border: 3px solid #000000;
     --radius: 0px;
     --btn-radius: 0px;
     --shadow: 6px 6px 0px #000000;
     --font-heading: 'Syne', sans-serif;
     --font-body: 'JetBrains Mono', monospace;
     --heading-weight: 800;
     --heading-transform: uppercase;
     --letter-spacing: -0.03em;
     --doodle-opacity: 0;
     --doodle-height: 0px;
   }
   
   /* THEME 5: VAPORWAVE (80s Retro-Futuristic Synth Sunset) */
   [data-theme="vapor"] {
     --bg-page: #120428;
     --bg-surface: rgba(28, 10, 58, 0.82);
     --bg-pattern:
       radial-gradient(circle at 50% 15%, rgba(255, 42, 133, 0.35), transparent 50%),
       radial-gradient(circle at 85% 75%, rgba(0, 240, 255, 0.2), transparent 50%),
       linear-gradient(to right, rgba(0, 240, 255, 0.12) 1px, transparent 1px),
       linear-gradient(to bottom, rgba(255, 42, 133, 0.12) 1px, transparent 1px);
     --bg-pattern-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
     --text-main: #ffffff;
     --text-muted: #d8b4fe;
     --accent: #ff2a85;
     --accent-hover: #00f0ff;
     --accent-text: #ffffff;
     --border: 1px solid #00f0ff;
     --radius: 2px;
     --btn-radius: 2px;
     --shadow: 0 0 25px rgba(255, 42, 133, 0.25), inset 0 0 18px rgba(0, 240, 255, 0.12);
     --font-heading: 'Orbitron', sans-serif;
     --font-body: 'JetBrains Mono', monospace;
     --heading-weight: 800;
     --heading-transform: uppercase;
     --letter-spacing: 0.04em;
     --doodle-opacity: 0;
     --doodle-height: 0px;
   }
   
   /* THEME 6: WINDOWS 98 (Retro OS) */
   [data-theme="retro"] {
     --bg-page: #008080;
     --bg-surface: #c0c0c0;
     --bg-pattern: none;
     --bg-pattern-size: auto;
     --text-main: #000000;
     --text-muted: #222222;
     --accent: #000080;
     --accent-hover: #1084d0;
     --accent-text: #ffffff;
     --border: 2px solid #ffffff;
     --radius: 0px;
     --btn-radius: 0px;
     --shadow: inset -2px -2px 0px #808080, inset 2px 2px 0px #dfdfdf, 3px 3px 0px #000000;
     --font-heading: 'JetBrains Mono', monospace;
     --font-body: 'JetBrains Mono', monospace;
     --heading-weight: 700;
     --heading-transform: none;
     --letter-spacing: 0;
     --doodle-opacity: 0;
     --doodle-height: 0px;
   }
   
   /* =========================================
      2. BASE & LAYOUT
      ========================================= */
   
   * {
     box-sizing: border-box;
     margin: 0;
     padding: 0;
   }
   
   body {
     background-color: var(--bg-page);
     background-image: var(--bg-pattern);
     background-size: var(--bg-pattern-size);
     color: var(--text-main);
     font-family: var(--font-body);
     line-height: 1.6;
     min-height: 100vh;
   }
   
   .container {
     max-width: 1080px;
     margin: 0 auto;
     padding: 0 24px;
   }
   
   /* Header */
   .site-header {
     padding: 20px 0;
     border-bottom: var(--border);
     background: var(--bg-surface);
   }
   
   .header-inner {
     display: flex;
     justify-content: space-between;
     align-items: center;
   }
   
   .header-controls {
     display: flex;
     align-items: center;
     gap: 20px;
   }
   
   .nav-link {
     color: var(--text-muted);
     text-decoration: none;
     font-size: 0.9rem;
     font-weight: 500;
   }
   
   .nav-link:hover {
     color: var(--text-main);
   }
   
   .lang-btn {
     background: var(--bg-page);
     color: var(--text-main);
     border: var(--border);
     border-radius: var(--btn-radius);
     padding: 6px 12px;
     font-family: var(--font-body);
     font-weight: 700;
     font-size: 0.8rem;
     cursor: pointer;
   }
   
   /* =========================================
      3. HAND-DRAWN HOOK & THEME DOCK
      ========================================= */
   
   .hero {
     padding: 56px 0 40px;
   }
   
   .doodle-hook {
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 8px;
     margin-bottom: 8px;
     opacity: var(--doodle-opacity);
     height: var(--doodle-height);
     overflow: hidden;
     pointer-events: none;
   }
   
   .doodle-text {
     font-family: 'Caveat', cursive;
     font-size: 1.55rem;
     color: #ef4444;
     transform: rotate(-3deg);
   }
   
   .doodle-arrow {
     width: 68px;
     height: 44px;
     transform: translateY(6px);
   }
   
   .theme-dock {
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
     gap: 10px;
     margin-bottom: 36px;
   }
   
   .theme-btn {
     background: var(--bg-surface);
     color: var(--text-main);
     border: var(--border);
     border-radius: var(--btn-radius);
     box-shadow: var(--shadow);
     padding: 10px 16px;
     font-family: var(--font-body);
     font-size: 0.83rem;
     font-weight: 600;
     cursor: pointer;
     transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
   }
   
   .theme-btn:hover {
     transform: translateY(-2px);
   }
   
   .theme-btn.active {
     background: var(--accent);
     color: var(--accent-text);
     border-color: var(--accent);
   }
   
   /* =========================================
      4. HERO CARD & SECTIONS
      ========================================= */
   
   .hero-card,
   .card {
     background: var(--bg-surface);
     border: var(--border);
     border-radius: var(--radius);
     box-shadow: var(--shadow);
     padding: 40px;
     position: relative;
     transition: border-color 0.2s ease;
   }
   
   /* --- OBSIDIAN & EMBER SPECIALS --- */
   [data-theme="noir"] .theme-btn.active {
     box-shadow: 0 0 20px rgba(255, 85, 0, 0.35);
   }
   
   [data-theme="noir"] .card:hover {
     border-color: rgba(255, 85, 0, 0.55);
   }
   
   [data-theme="noir"] .badge {
     font-family: 'JetBrains Mono', monospace;
     background: rgba(255, 85, 0, 0.1);
     border: 1px solid rgba(255, 85, 0, 0.3);
     padding: 4px 10px;
     border-radius: 4px;
   }
   
   [data-theme="noir"] .btn-primary {
     box-shadow: 0 0 24px rgba(255, 85, 0, 0.28);
   }
   
   /* --- SWISS POSTER GRID SPECIALS --- */
   [data-theme="swiss"] .hero-card {
     border-top: 8px solid #111111;
     background: #ffffff;
   }
   
   [data-theme="swiss"] .grid-3,
   [data-theme="swiss"] .grid-2 {
     gap: 0;
     border-top: 2px solid #111111;
     border-left: 2px solid #111111;
   }
   
   [data-theme="swiss"] .grid-3 .card,
   [data-theme="swiss"] .grid-2 .card {
     border: none;
     border-right: 2px solid #111111;
     border-bottom: 2px solid #111111;
     background: #ffffff;
   }
   
   [data-theme="swiss"] .card-num {
     font-size: 3rem;
     line-height: 1;
     margin-bottom: 16px;
   }
   
   [data-theme="swiss"] .section-title {
     border-bottom: 4px solid #e1251b;
     display: inline-block;
     padding-bottom: 4px;
   }
   
   /* --- CLUB BERLIN SPECIALS --- */
   [data-theme="brutal"] .badge {
     background: #000;
     color: #d9ff00;
     padding: 4px 10px;
     transform: rotate(-1.5deg);
   }
   
   /* --- VAPORWAVE SPECIALS --- */
   [data-theme="vapor"] .hero-card,
   [data-theme="vapor"] .card {
     backdrop-filter: blur(10px);
   }
   
   [data-theme="vapor"] .hero-title {
     background: linear-gradient(90deg, #00f0ff 0%, #ffffff 45%, #ff2a85 100%);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     filter: drop-shadow(0 0 14px rgba(255, 42, 133, 0.45));
   }
   
   [data-theme="vapor"] .badge {
     color: #00f0ff;
     text-shadow: 0 0 10px rgba(0, 240, 255, 0.7);
   }
   
   [data-theme="vapor"] .btn-primary {
     background: linear-gradient(90deg, #ff2a85, #9d00ff);
     border: 1px solid #ff77b7;
     box-shadow: 0 0 20px rgba(255, 42, 133, 0.55);
   }
   
   [data-theme="vapor"] .btn-primary:hover {
     color: #120428;
   }
   
   /* --- WINDOWS 98 SPECIALS --- */
   [data-theme="retro"] .hero-card::before,
   [data-theme="retro"] .card::before {
     content: "■ FINATO_SYSTEM.EXE";
     display: block;
     background: linear-gradient(90deg, #000080, #1084d0);
     color: #ffffff;
     font-size: 0.75rem;
     font-weight: 700;
     padding: 4px 10px;
     margin: -38px -38px 24px -38px;
   }
   
   [data-theme="retro"] .card::before {
     margin: -30px -30px 20px -30px;
   }
   
   /* =========================================
      5. TYPOGRAPHY & COMPONENTS
      ========================================= */
   
   .badge {
     display: inline-block;
     font-size: 0.78rem;
     font-weight: 700;
     text-transform: uppercase;
     letter-spacing: 0.08em;
     color: var(--accent);
     margin-bottom: 14px;
   }
   
   .hero-title {
     font-family: var(--font-heading);
     font-weight: var(--heading-weight);
     text-transform: var(--heading-transform);
     letter-spacing: var(--letter-spacing);
     font-size: clamp(2.1rem, 4.8vw, 3.5rem);
     line-height: 1.08;
     margin-bottom: 18px;
   }
   
   .hero-sub {
     color: var(--text-muted);
     font-size: 1.08rem;
     max-width: 640px;
     margin-bottom: 28px;
   }
   
   .hero-actions {
     display: flex;
     flex-wrap: wrap;
     gap: 14px;
   }
   
   .btn {
     display: inline-block;
     padding: 13px 26px;
     border-radius: var(--btn-radius);
     font-weight: 700;
     font-size: 0.95rem;
     text-decoration: none;
     border: var(--border);
     box-shadow: var(--shadow);
     cursor: pointer;
   }
   
   .btn-primary {
     background: var(--accent);
     color: var(--accent-text);
     border-color: var(--accent);
   }
   
   .btn-primary:hover {
     background: var(--accent-hover);
   }
   
   .btn-secondary {
     background: var(--bg-page);
     color: var(--text-main);
   }
   
   /* Grids & Cards */
   .section {
     padding: 36px 0;
   }
   
   .section-title {
     font-family: var(--font-heading);
     font-weight: var(--heading-weight);
     text-transform: var(--heading-transform);
     font-size: 1.85rem;
     margin-bottom: 24px;
   }
   
   .grid-3 {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
     gap: 24px;
   }
   
   .grid-2 {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
     gap: 24px;
   }
   
   .card {
     padding: 32px;
   }
   
   .card-num {
     display: block;
     font-family: var(--font-heading);
     font-size: 1.3rem;
     font-weight: 800;
     color: var(--accent);
     margin-bottom: 10px;
   }
   
   .card h3 {
     font-family: var(--font-heading);
     font-weight: var(--heading-weight);
     font-size: 1.35rem;
     margin-bottom: 10px;
   }
   
   .card p,
   .work-meta {
     color: var(--text-muted);
     font-size: 0.95rem;
   }
   
   .work-meta {
     font-size: 0.8rem;
     font-weight: 600;
     color: var(--accent);
     margin-bottom: 8px;
   }
   
   .contact-box {
     text-align: center;
     padding: 48px 32px;
   }
   
   .contact-box h2 {
     font-family: var(--font-heading);
     font-size: 2rem;
     margin-bottom: 12px;
   }
   
   .contact-box p {
     margin: 0 auto 24px;
     max-width: 500px;
   }
   
   .site-footer {
     margin-top: 40px;
     padding: 24px 0;
     border-top: var(--border);
     font-size: 0.85rem;
     color: var(--text-muted);
   }
   
   .footer-inner {
     display: flex;
     justify-content: space-between;
     flex-wrap: wrap;
     gap: 12px;
   }
   /* Clickable Case Study Cards */
.work-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.18s ease, border-color 0.18s ease;
  }
  
  .work-link:hover {
    transform: translateY(-3px);
  }
  
  /* FAQ Accordion */
  .faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  
  .faq-item {
    padding: 22px 28px;
  }
  
  .faq-item summary {
    font-family: var(--font-heading);
    font-weight: var(--heading-weight);
    font-size: 1.12rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
  }
  
  .faq-item summary::-webkit-details-marker {
    display: none;
  }
  
  .faq-item summary::after {
    content: "+";
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.3rem;
    color: var(--accent);
    flex-shrink: 0;
  }
  
  .faq-item[open] summary::after {
    content: "−";
  }
  
  .faq-item p {
    margin-top: 14px;
    padding-top: 14px;
    border-top: var(--border);
    color: var(--text-muted);
    font-size: 0.96rem;
  }
  
  /* Swiss Poster override for FAQ list */
  [data-theme="swiss"] .faq-list {
    gap: 0;
    border-top: 2px solid #111111;
    border-left: 2px solid #111111;
  }
  
  [data-theme="swiss"] .faq-item {
    border: none;
    border-right: 2px solid #111111;
    border-bottom: 2px solid #111111;
    background: #ffffff;
  }


  .section-lead {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 680px;
    margin: -12px 0 28px;
  }
  
  .feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 16px;
  }
  
  .feature-list li {
    color: var(--text-muted);
    font-size: 0.95rem;
    padding-top: 14px;
    border-top: var(--border);
  }
  
  .feature-list strong {
    color: var(--text-main);
    display: block;
    margin-bottom: 2px;
  }

  .brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.04em;
    text-decoration: none;
    color: var(--text-main);
  }
  
  .brand-accent {
    color: var(--accent);
  }
  
  .footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
  }
  
  .footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
  }
  
  .footer-logo {
    height: 22px;
    width: auto;
    display: block;
  }

  .work-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
  }
  
  .work-header .work-meta {
    margin-bottom: 0;
  }
  
  .wip-badge {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 8px;
    border-radius: var(--btn-radius);
    border: var(--border);
    background: var(--bg-page);
    color: var(--text-muted);
    white-space: nowrap;
  }
  
  .work-wip {
    cursor: default;
  }

  /* Header Icon & Call Buttons */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-page);
  color: var(--text-main);
  border: var(--border);
  border-radius: var(--btn-radius);
  padding: 6px 10px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

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

/* Contact CTA Action Row */
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.call-btn,
.fb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Desktop / Laptop: show phone number, hide mobile "Call Us" text */
.phone-label {
  display: none;
}

.phone-number {
  display: inline;
}

/* Mobile / Phone: hide digits, show clean tap-to-call button */
@media (max-width: 768px) {
  .header-controls {
    gap: 10px;
  }

  .phone-number {
    display: none;
  }

  .phone-label {
    display: inline;
  }
}