    /* all css här */
    
    /* Skip to content link - accessibility */
    .skip-to-content {
      position: absolute;
      top: -100px;
      left: 0;
      background: #1a1a1a;
      color: #fff;
      padding: 12px 20px;
      text-decoration: none;
      font-size: 14px;
      font-weight: 500;
      z-index: 10000;
      border-radius: 0 0 4px 0;
      transition: top 0.2s ease;
    }
    
    .skip-to-content:focus {
      top: 0;
      outline: 3px solid #d4d1c8;
      outline-offset: 2px;
    }
    
    body.light-mode .skip-to-content {
      background: #fff;
      color: #1a1a1a;
    }
    
    /* Stam-element */
    .stem-container {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 1;
      overflow: hidden;
    }
    
    .stem {
      position: absolute;
      width: 3px;
      background: #d4d1c8;
      transform-origin: top center;
      opacity: 0.6;
      transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
      filter: drop-shadow(0 0 8px rgba(212, 209, 200, 0.6));
      border-radius: 3px;
      z-index: 1;
      will-change: transform, opacity;
      backface-visibility: hidden;
    }
    
    /* Ljust läge - gör stammar vita */
    body.light-mode .stem {
      background: rgba(255, 255, 255, 0.7);
      filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
      width: 3px;
      opacity: 0.4;
    }
    
    body.light-mode .stem::before {
      background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 1));
    }
    
    body.light-mode .stem-knot {
      background: rgba(255, 255, 255, 0.85);
      border-color: rgba(255, 255, 255, 0.85);
      box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
      width: 12px;
      height: 12px;
      opacity: 0.5;
    }
    
    .stem::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(to bottom, transparent, var(--titanium));
      opacity: 0.8;
    }
    
    .stem-left {
      left: 10%;
    }
    
    .stem-right {
      right: 10%;
    }
    
    .stem-knot {
      position: absolute;
      width: 10px;
      height: 10px;
      background: var(--titanium);
      border-radius: 50%;
      transform: translate(-50%, -50%) scale(0);
      opacity: 0.7;
      transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
      border: 2px solid var(--titanium);
      box-shadow: 0 0 10px rgba(212, 209, 200, 0.6);
      z-index: 2;
    }
    
    .stem-knot.visible {
      transform: translate(-50%, -50%) scale(1);
    }
    
    .section-with-stems {
      position: relative;
      overflow: hidden;
      min-height: 100vh;
    }
    
    .section-with-stems > * {
      position: relative;
      z-index: 2;
    }
    :root {
      --white: #0a0a0a;
      --white-soft: #0f0f0f;
      --gray-50: #1a1a1a;
      --gray-100: #262626;
      --gray-200: #404040;
      --gray-400: #a3a3a3;
      --gray-600: #d4d4d4;
      --gray-800: #e8e8e8;
      --gray-900: #f5f5f5;
      --black: #ffffff;
      
      --titanium: #d4d1c8;
      --titanium-light: #e8e5dc;
      --steel: #c0c0c0;
      
      --line-light: rgba(255, 255, 255, 0.08);
      --line-medium: rgba(255, 255, 255, 0.15);
      --line-dark: rgba(255, 255, 255, 0.05);
      
      --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
      --ease-in-expo: cubic-bezier(0.7, 0, 0.84, 0);
      --ease-inout-expo: cubic-bezier(0.87, 0, 0.13, 1);
    }

    * { 
      box-sizing: border-box; 
      margin: 0; 
      padding: 0;
      /* Fullständig borttagning av tryck-highlight */
      -webkit-tap-highlight-color: rgba(0,0,0,0);
      -webkit-tap-highlight-color: transparent;
      outline: none;
      -webkit-touch-callout: none;
    }
    
    html { 
      scroll-behavior: smooth;
      background: #0a0a0a;
      touch-action: manipulation;
      -webkit-text-size-adjust: 100%;
    }
    
    html, body {
      height: 100%;
      margin: 0;
    }

    body {
      color: var(--gray-900);
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      font-weight: 400;
      background: #0a0a0a;
      line-height: 1.5;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      display: flex;
      flex-direction: column;
    }

    main {
      flex: 1;
    }

    ::selection {
      background: var(--titanium);
      color: #0a0a0a;
    }

    /* navigering */
    .nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      background: rgba(10, 10, 10, 0.85);
      backdrop-filter: blur(40px) saturate(200%);
      -webkit-backdrop-filter: blur(40px) saturate(200%);
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-inner {
      max-width: 1400px;
      margin: 0 auto;
      padding: 24px 48px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .brand {
      font-family: 'Playfair Display', serif;
      font-size: 20px;
      font-weight: 500;
      letter-spacing: 0.15em;
      text-decoration: none;
      color: #ffffff;
      transition: color 250ms ease;
      display: flex;
      align-items: center;
      gap: 16px;
      -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
      -webkit-tap-highlight-color: transparent !important;
      touch-action: manipulation;
    }
    
    .links a {
      position: relative;
      font-size: 13px;
      font-weight: 500;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, 0.85);
      transition: color 250ms ease;
      display: flex;
      align-items: center;
      gap: 16px;
      -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
      -webkit-tap-highlight-color: transparent !important;
      touch-action: manipulation;
    }
    
    .links a:hover {
      color: rgba(255, 255, 255, 1);
    }
    
    /* Ljust läge överskrivningar - ren kräm med mörk text */
    body,
    section,
    .card,
    .hero,
    .nav,
    .process-item,
    .why-list li,
    .form-grid,
    input,
    textarea,
    .image-placeholder,
    .mock,
    .chrome,
    .ui-bar,
    .wordmark,
    .brand,
    .section-label,
    .btn {
      transition: background-color 1200ms ease-in-out, color 1200ms ease-in-out, border-color 1200ms ease-in-out;
    }
    
    body.light-mode {
      background: #f5f1eb;
      color: #1a1a1a;
    }
    
    body.light-mode .nav {
      background: rgba(250, 247, 242, 0.92);
      border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    body.light-mode .brand,
    body.light-mode .links a {
      color: #1a1a1a;
    }
    
    body.light-mode .hamburger-line {
      background: #1a1a1a !important;
    }
    
    body.light-mode .links a::after {
      background: #1a1a1a;
    }
    
    body.light-mode .hero {
      background: linear-gradient(180deg, rgba(196, 96, 60, 0.3) 0%, rgba(196, 96, 60, 0.15) 50%, #ddd0bf 100%);
    }
    
    body.light-mode .section-label {
      color: #1a1a1a;
    }
    
    body.light-mode .section-label::before {
      border-color: rgba(255, 255, 255, 1);
      border-width: 4px;
      opacity: 1;
      filter: drop-shadow(0 6px 24px rgba(255, 255, 255, 0.9));
    }
    
    body.light-mode .section-label::after {
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.5));
      opacity: 1;
      filter: drop-shadow(0 6px 24px rgba(255, 255, 255, 0.8));
    }
    
    body.light-mode .section-alt {
      background: #ddd0bf;
      border-top: 1px solid rgba(255, 255, 255, 0.6);
      border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    }
    
    body.light-mode .section-dark {
      background: #ddd0bf;
      color: #ffffff;
      border-top: 1px solid rgba(255, 255, 255, 0.6);
      border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    }
    
    /* Gradient till persikofärg längst ner på sidan */
    body.light-mode #contact {
      background: linear-gradient(180deg, #ddd0bf 0%, #e8c5ad 50%, #f3b495 100%);
      position: relative;
    }
    
    /* Justera formulärstyling för persikobakgrund */
    body.light-mode #contact .form-grid {
      background: rgba(255, 255, 255, 0.85);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    }
    
    body.light-mode #contact .section-label {
      color: #1a1a1a;
    }
    
    /* Ljust läge - gör kontakt-blob subtil som andra sektioner */
    body.light-mode #contact .section-label::before {
      border-color: rgba(255, 255, 255, 1) !important;
      border-width: 4px !important;
      background: rgba(255, 255, 255, 0.15) !important;
      opacity: 1;
      filter: drop-shadow(0 6px 24px rgba(255, 255, 255, 0.9));
      will-change: transform;
    }
    
    body.light-mode #contact .section-label::after {
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.5)) !important;
      opacity: 1;
      filter: drop-shadow(0 6px 24px rgba(255, 255, 255, 0.8));
      will-change: transform;
    }
    
    /* Lägg till bakgrundsoskärpa för Om, Portfolio, Process-sektioner för bättre textläsbarhet */
    body.light-mode #about {
      background: #ddd0bf;
      position: relative;
    }
    
    body.light-mode #work {
      background: #ddd0bf;
      position: relative;
    }
    
    body.light-mode #process {
      background: #ddd0bf;
      position: relative;
    }
    
    body.light-mode #why {
      background: #ddd0bf;
      position: relative;
    }
    
    
    /* Fixa grå bakgrunder */
    body.light-mode section {
      background: transparent;
    }
    
    body.light-mode .card {
      background: #f5f1eb;
      border-color: rgba(0, 0, 0, 0.1);
    }
    
    body.light-mode .card:hover {
      border-color: rgba(0, 0, 0, 0.2);
      box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
    }
    
    body.light-mode .cta {
      border-color: #1a1a1a;
      color: #1a1a1a;
    }
    
    body.light-mode .cta::before {
      background: #1a1a1a;
    }
    
    body.light-mode .cta:hover span {
      color: #ffffff;
    }
    
    body.light-mode .wordmark {
      color: #1a1a1a;
    }
    
    body.light-mode .a-umlaut::before {
      background: #1a1a1a;
    }
    
    body.light-mode .mock {
      background: linear-gradient(180deg, #f5f1eb, #ebe7df);
      border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }
    
    body.light-mode .chrome {
      background: #f5f1eb;
      border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }
    
    body.light-mode .dot {
      background: #c9b89a;
      border: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    body.light-mode .ui-bar {
      background: #f5f1eb;
      border: 1px solid rgba(0, 0, 0, 0.08);
    }
    
    body.light-mode .ui-accent {
      background: linear-gradient(90deg, rgba(184, 160, 130, 0.2), transparent);
      border: 1px solid rgba(0, 0, 0, 0.08);
    }
    
    body.light-mode .process-item {
      background: rgba(255, 255, 255, 0.5);
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
    }
    
    body.light-mode .process-item::before {
      background: rgba(255, 255, 255, 0.7);
    }
    
    body.light-mode .process-icon {
      border-color: #1a1a1a;
    }
    
    body.light-mode .process-title {
      color: #1a1a1a;
    }
    
    body.light-mode .process-desc {
      color: #1a1a1a;
    }
    
    body.light-mode .why-list li {
      background: #f5f1eb;
      color: #1a1a1a;
    }
    
    body.light-mode .why-explanation {
      color: #1a1a1a;
    }
    
    body.light-mode .about-text {
      background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.55) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
      backdrop-filter: blur(50px) saturate(180%);
      -webkit-backdrop-filter: blur(50px) saturate(180%);
      padding: 48px;
      border-radius: 24px;
      box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset,
        0 0 40px rgba(255, 255, 255, 0.4),
        0 1px 2px rgba(255, 255, 255, 0.9) inset;
      border: 2px solid transparent;
      background-clip: padding-box;
      position: relative;
      overflow: hidden;
      width: 100%;
      max-width: 500px;
      aspect-ratio: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      animation: floatCard 8s ease-in-out infinite;
      transition: transform 0.4s ease-out, box-shadow 0.4s ease-out;
    }
    
    body.light-mode .about-text::after {
      content: '';
      position: absolute;
      inset: -2px;
      border-radius: 24px;
      padding: 2px;
      background: linear-gradient(135deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 20%, 
        rgba(255, 255, 255, 0.6) 40%, 
        rgba(255, 255, 255, 0.6) 60%, 
        rgba(255, 255, 255, 0.2) 80%, 
        transparent 100%);
      background-size: 200% 100%;
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      mask-composite: exclude;
      pointer-events: none;
      opacity: 0.5;
      animation: shimmer-smooth 5s ease-in-out infinite;
      transition: opacity 0.4s ease-out;
    }
    
    /* Subtle hover effect on desktop */
    @media (hover: hover) {
      body.light-mode .about-text:hover {
        animation-play-state: paused;
        transform: scale(1.03) translateY(-4px);
        box-shadow: 
          0 20px 80px rgba(0, 0, 0, 0.15),
          0 0 0 1px rgba(255, 255, 255, 1) inset,
          0 0 60px rgba(255, 255, 255, 0.6),
          0 2px 4px rgba(255, 255, 255, 1) inset;
      }
      
      body.light-mode .about-text:hover::after {
        opacity: 1;
      }
    }
    
    body.light-mode .about-text::before {
      content: '';
      position: absolute;
      top: 0;
      left: -150%;
      width: 150%;
      height: 100%;
      background: linear-gradient(90deg, 
        transparent 0%, 
        transparent 20%,
        rgba(255, 255, 255, 0.15) 40%, 
        rgba(255, 255, 255, 0.25) 50%, 
        rgba(255, 255, 255, 0.15) 60%,
        transparent 80%,
        transparent 100%);
      pointer-events: none;
      animation: shine-smooth 6s ease-in-out infinite;
      z-index: 1;
    }
    
    @keyframes shine {
      0% { left: -100%; }
      50%, 100% { left: 100%; }
    }
    
    @keyframes shine-smooth {
      0% { left: -150%; }
      100% { left: 150%; }
    }
    
    @keyframes subtle-pulse {
      0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
      50% { transform: translate(-10%, -10%) scale(1.1); opacity: 0.5; }
    }
    
    @keyframes shimmer {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }
    
    @keyframes shimmer-smooth {
      0% { background-position: -100% 50%; }
      100% { background-position: 200% 50%; }
    }
    
    body.light-mode .about-text p {
      color: #1a1a1a;
      font-weight: 400;
      line-height: 1.7;
      position: relative;
      z-index: 2;
      text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
      font-size: 16px;
      margin-bottom: 18px;
      letter-spacing: 0.01em;
      word-wrap: break-word;
      overflow-wrap: break-word;
      hyphens: none;
      -webkit-hyphens: none;
      -ms-hyphens: none;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }
    
    body.light-mode .image-placeholder {
      background: linear-gradient(135deg, #f5f1eb, #ebe7df);
      border: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    body.light-mode .image-placeholder:hover {
      background: linear-gradient(135deg, #faf7f2, #f5f1eb);
      border-color: rgba(0, 0, 0, 0.15);
    }
    
    body.light-mode .form-grid {
      background: #f5f1eb;
      border: 1px solid rgba(0, 0, 0, 0.1);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    }
    
    body.light-mode input,
    body.light-mode textarea {
      background: #f5f1eb;
      border: 1px solid rgba(0, 0, 0, 0.15);
      color: #1a1a1a;
    }
    
    body.light-mode input:focus,
    body.light-mode textarea:focus {
      background: #f5f1eb;
      box-shadow: 0 0 0 1px #1a1a1a, 0 0 0 4px rgba(0, 0, 0, 0.1);
    }
    
    body.light-mode label {
      color: #1a1a1a;
    }
    
    body.light-mode .btn {
      background: transparent;
      color: #1a1a1a;
      border-color: #1a1a1a;
    }
    
    body.light-mode .btn::before {
      background: #1a1a1a;
    }
    
    body.light-mode .btn:hover span {
      color: #ffffff;
    }
    
    body.light-mode .btn:hover {
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    }
    
    body.light-mode footer {
      border-top: 1px solid rgba(0, 0, 0, 0.1);
      color: #1a1a1a;
    }
    
    body.light-mode .mobile-menu {
      background: rgba(250, 247, 242, 0.98);
      border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    body.light-mode .mobile-menu-link {
      color: #1a1a1a;
    }
    
    body.light-mode .mobile-menu-link:active {
      color: #1a1a1a;
    }
    
    body.light-mode .card h3 {
      color: #1a1a1a;
    }
    
    body.light-mode .card p {
      color: #1a1a1a;
    }
    
    body.light-mode .form-status {
      color: #1a1a1a;
    }
    
    body.light-mode .form-cookie-notice {
      color: rgba(26, 26, 26, 0.5);
    }
    
    body.light-mode .cookie-checkbox-label {
      color: rgba(26, 26, 26, 0.7);
    }
    
    body.light-mode .cookie-checkbox-label input[type="checkbox"] {
      accent-color: #8b6e57;
    }
    
    body.light-mode .process-number {
      color: #b8a082;
    }
    
    body.light-mode .brand-divider {
      background: rgba(0, 0, 0, 0.2);
    }
    
    body.light-mode .brand-tagline {
      color: #1a1a1a;
    }
    
    body.light-mode .why-title::after {
      color: #b8a082;
    }
    
    body.light-mode .why-list li.open .why-title::after {
      color: #8b6e57;
    }
    
    body.light-mode .theme-toggle {
      background: rgba(0, 0, 0, 0.08);
      border-color: rgba(0, 0, 0, 0.15);
    }
    
    body.light-mode .theme-toggle-slider {
      background: #1a1a1a;
    }
    
    body.light-mode .theme-toggle:hover {
      background: rgba(0, 0, 0, 0.12);
    }
    
    body.light-mode .why-list {
      background: rgba(0, 0, 0, 0.05);
    }
    
    body.light-mode .why-list li:hover {
      background: rgba(255, 255, 255, 0.8);
    }
    
    body.light-mode .why-list li::before {
      background: #1a1a1a;
    }
    
    body.light-mode .mobile-call {
      background: rgba(0, 0, 0, 0.05);
      border-left-color: #1a1a1a !important;
    }
    
    body.light-mode .process-grid {
      background: rgba(0, 0, 0, 0.08);
    }
    
    body.light-mode .process-number {
      color: rgba(0, 0, 0, 0.4);
    }
    
    /* nya stilar för varumärkes-logotypen */
    .brand-wordmark {
        display: inline-flex;
        align-items: baseline;
        justify-content: center;
        gap: 0; 
        letter-spacing: -0.1em;
        font-size: 1.2em; /* skala upp lite */
        transform: translatex(0.04em);
    }

    .brand-letter {
        display: inline-block;
        padding: 0 0.05em;
    }

    .brand-a-umlaut {
        position: relative;
        display: inline-block;
        font-size: 1.04em; 
        /* vertikal vändning för A-form */
        transform: scaleY(-1) translateY(0.05em); 
        line-height: 1;
        margin: 0 -0.05em; 
        padding: 0; 
    }

    .brand-a-umlaut::before {
        content: '';
        position: absolute;
        top: 0.08em; /* Justerad position för mindre storlek */
        left: 0;
        right: 0;
        height: 0.08em; 
        background: currentColor;
        z-index: 1;
        transform: scaleY(-1); 
    }
    /* slut på varumärkes-logotyp stilar */


    .brand-divider {
      width: 1px;
      height: 16px;
      background: rgba(255, 255, 255, 0.2);
    }

    .brand-tagline {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      font-size: 11px;
      font-weight: 400;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--gray-400);
    }

    .brand:hover {
      color: var(--titanium-light);
    }

    .links {
      display: flex;
      gap: 48px;
    }

    .links a {
      text-decoration: none;
      color: var(--gray-400);
      font-size: 13px;
      font-weight: 400;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      transition: color 250ms ease;
      position: relative;
      -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
      -webkit-tap-highlight-color: transparent !important;
      touch-action: manipulation;
    }

    .links a::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0%;
      height: 1px;
      background: var(--white);
      transition: width 600ms var(--ease-out-expo);
    }

    .links a:hover::after {
      width: 100%;
    }

    /* nav ring-länk */
    .nav-right {
      display: flex;
      align-items: center;
      gap: 24px;
    }
    
    /* Tema-växlings-knapp */
    .theme-toggle {
      position: relative;
      width: 48px;
      height: 24px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 12px;
      cursor: pointer;
      transition: all 250ms ease;
      border: 1px solid rgba(255, 255, 255, 0.2);
      display: flex;
      align-items: center;
      padding: 2px;
      -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
      -webkit-tap-highlight-color: transparent !important;
      touch-action: manipulation;
    }
    
    .theme-toggle:hover {
      background: rgba(255, 255, 255, 0.15);
    }
    
    .theme-toggle-slider {
      width: 18px;
      height: 18px;
      background: #ffffff;
      border-radius: 50%;
      transition: all 400ms var(--ease-out-expo);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
    
    body.light-mode .theme-toggle {
      background: rgba(0, 0, 0, 0.08);
      border-color: rgba(0, 0, 0, 0.15);
    }
    
    body.light-mode .theme-toggle-slider {
      background: #1a1a1a;
      transform: translateX(24px);
    }
    
    body.light-mode .theme-toggle:hover {
      background: rgba(0, 0, 0, 0.12);
    }

    .nav-call-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .nav-call-link svg {
      transition: transform 400ms var(--ease-out-expo);
    }

    .nav-call-link:hover svg {
      transform: rotate(12deg) scale(1.1);
    }

    /* hamburgermeny - endast mobil, intrikat design */
    .hamburger {
      display: none;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 4px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 8px;
      cursor: pointer;
      padding: 10px;
      width: 40px;
      height: 40px;
      z-index: 1001;
      transition: all 250ms ease;
      position: relative;
      overflow: hidden;
      -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
      -webkit-tap-highlight-color: transparent !important;
      touch-action: manipulation;
    }
    
    .hamburger::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
      opacity: 0;
      transition: opacity 400ms var(--ease-out-expo);
    }
    
    .hamburger:hover::before {
      opacity: 1;
    }
    
    .hamburger:hover {
      background: rgba(255, 255, 255, 0.08);
      border-color: rgba(255, 255, 255, 0.15);
      transform: scale(1.05);
    }

    .hamburger-line {
      width: 18px;
      height: 1.5px;
      background: #ffffff;
      transition: all 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
      transform-origin: center;
      border-radius: 2px;
    }

    .hamburger.active .hamburger-line:nth-child(1) {
      transform: translateY(5.5px) rotate(45deg);
    }

    .hamburger.active .hamburger-line:nth-child(2) {
      opacity: 0;
      transform: scaleX(0);
    }

    .hamburger.active .hamburger-line:nth-child(3) {
      transform: translateY(-5.5px) rotate(-45deg);
    }
    
    .hamburger.active {
      background: rgba(255, 255, 255, 0.1);
      border-color: rgba(255, 255, 255, 0.2);
    }
    
    /* Ljust läge hamburgare */
    body.light-mode .hamburger {
      background: rgba(0, 0, 0, 0.05);
      border-color: rgba(0, 0, 0, 0.1);
    }
    
    body.light-mode .hamburger::before {
      background: linear-gradient(135deg, rgba(0, 0, 0, 0.1), transparent);
    }
    
    body.light-mode .hamburger:hover {
      background: rgba(0, 0, 0, 0.08);
      border-color: rgba(0, 0, 0, 0.15);
    }
    
    body.light-mode .hamburger-line {
      background: #1a1a1a;
    }
    
    body.light-mode .hamburger.active {
      background: rgba(0, 0, 0, 0.1);
      border-color: rgba(0, 0, 0, 0.2);
    }

    /* mobilmeny - smidig nedglädningsanimation */
    .mobile-menu {
      position: fixed;
      top: 72px;
      left: 0;
      right: 0;
      width: 100%;
      box-sizing: border-box;
      background: rgba(10, 10, 10, 0.98);
      backdrop-filter: blur(40px) saturate(200%);
      -webkit-backdrop-filter: blur(40px) saturate(200%);
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      padding: 0 24px;
      display: flex;
      flex-direction: column;
      gap: 0;
      opacity: 0;
      max-height: 0;
      overflow: hidden;
      transition: all 600ms cubic-bezier(0.16, 1, 0.3, 1);
      -webkit-overflow-scrolling: touch;
      pointer-events: none;
    }

    .mobile-menu.active {
      opacity: 1;
      max-height: 400px;
      padding: 20px 24px;
      pointer-events: all;
    }

    .mobile-menu-link {
      padding: 14px 18px;
      margin: 2px 0;
      color: var(--gray-400);
      text-decoration: none;
      font-size: 15px;
      font-weight: 400;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      transition: all 250ms ease;
      border-left: 2px solid transparent;
      border-radius: 6px;
      position: relative;
      overflow: hidden;
      width: 100%;
      box-sizing: border-box;
      display: block;
      opacity: 0;
      transform: translateX(-20px);
      -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
      -webkit-tap-highlight-color: transparent !important;
      touch-action: manipulation;
    }
    
    .mobile-menu.active .mobile-menu-link {
      opacity: 1;
      transform: translateX(0);
    }
    
    .mobile-menu.active .mobile-menu-link:nth-child(1) {
      transition-delay: 100ms;
    }
    
    .mobile-menu.active .mobile-menu-link:nth-child(2) {
      transition-delay: 150ms;
    }
    
    .mobile-menu.active .mobile-menu-link:nth-child(3) {
      transition-delay: 200ms;
    }

    .mobile-menu-link::before {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(255, 255, 255, 0.05);
      transform: translateX(-100%);
      transition: transform 400ms var(--ease-out-expo);
      border-radius: 6px;
    }

    .mobile-menu-link:active::before {
      transform: translateX(0);
    }

    .mobile-menu-link:active {
      color: var(--white);
      border-left-color: var(--titanium);
    }

    .mobile-call {
      display: flex;
      align-items: center;
      gap: 12px;
      background: rgba(184, 181, 173, 0.1);
      border-left-color: var(--titanium) !important;
      margin-top: 12px;
    }

    .mobile-call svg {
      flex-shrink: 0;
    }

    /* hero-sektion */
    .hero {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      position: relative;
      padding: 0 48px;
      background: linear-gradient(180deg, #0f0f0f 0%, #0a0a0a 100%);
      text-align: center;
      /* Bakgrundsbildstöd - avkommentera och lägg till din bild */
      /* background-image: url('your-image.jpg'); */
      /* background-size: cover; */
      /* background-position: center; */
      /* background-attachment: fixed; */
      /* background-blend-mode: overlay; */
    }

    .hero-grid {
      position: absolute;
      inset: 0;
      opacity: 0;
      pointer-events: none;
    }

    .hero-grid svg {
      width: 100%;
      height: 100%;
    }

    .weave-line {
      position: absolute;
      width: 1px;
      height: 100%;
      background: linear-gradient(180deg, transparent, var(--line-medium), transparent);
      opacity: 0;
      transform: scaley(0);
      transform-origin: top;
    }

    .weave-line-1 { left: calc(50% - 180px); }
    .weave-line-2 { left: 50%; }
    .weave-line-3 { left: calc(50% + 180px); }

    /* centrera ordet visuellt, inte matematiskt */
    .wordmark {
      font-family: 'Playfair Display', serif !important;
      font-size: clamp(72px, 15vw, 240px);
      font-weight: 500;
      letter-spacing: 0.20em;
      color: var(--gray-900);
      position: relative;
      margin-bottom: 0;
      user-select: none;
      text-align: center;
      line-height: 1;
    }

  .word-inner {
  display: inline-flex;
  align-items: center; /* eller baseline, men center är renare för detta */
  justify-content: flex-start; /* detta är fixet för justering */
  gap: 4px; /* lägg tillbaka detta om du vill ha lite mellanrum mellan bokstäver */
}

    .letter {
      display: inline-block;
      opacity: 0;
      transform-origin: center;
      clip-path: inset(100% 0 0 0); 
      font-size: 1em; /* Säkerställ att bokstav använder förälderns fontstorlek */
      padding: 0 0.05em; /* Liten padding för mellanrum */
      position: relative;
    }

    .letter:first-child { /* Första V */
        transform: translateX(0.06em); /* optisk justering */
    }

    .letter:last-child { /* Sista V */
        transform: translateX(-0.06em); /* optisk justering */
    }

    /* Styling for the central "Ã„" which is now a rotated V with an overline */
    .a-umlaut {
      position: relative;
      display: inline-block;
      font-size: 1.04em; /* Lite större för visuell balans */
      /* Ändrat från rotateY(180deg) till enkel scaleY(-1) för vertikal vändning (A-form) */
      transform: scaleY(-1) translateY(0.05em); 
      line-height: 1;
      margin: 0 -0.05em; /* Minska mellanrum */
      padding: 0; /* Ta bort extra padding */
    }

    .a-umlaut::before {
        content: '';
        position: absolute;
        top: 0.05em; /* Positionera överstrykn ingen */
        left: 0;
        right: 0;
        height: 0.05em; /* Tjocklek på överstrykn ingen */
        background: var(--gray-900);
        z-index: 1;
        transform: scaleY(-1); /* Säkerställ att den stannar ovanför när V vänds */
    }


    @media (max-width: 768px) {
      .wordmark { font-size: clamp(56px, 12vw, 120px); letter-spacing: 0.18em; }
      .word-inner { gap: 0; letter-spacing: -0.08em; transform: translateX(0.04em); }
      .a-umlaut { font-size: 1.04em; transform: scaleY(-1) translateY(0.05em); margin: 0 -0.05em; }
      .letter:first-child { transform: translateX(0.06em); }
      .letter:last-child { transform: translateX(-0.06em); }
    }


    .wordmark .letter {
      display: inline;
    }


    .letter-mask {
      position: absolute;
      inset: 0;
      background: var(--gray-50);
      transform-origin: top;
    }

    .wordmark::after {
      content: '';
      position: absolute;
      inset: -20px;
      background: radial-gradient(circle at center, rgba(184, 181, 173, 0.06), transparent 60%);
      opacity: 0;
      pointer-events: none;
    }

    /* hero CTA-knapp */
    .cta {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      padding: 18px 48px;
      border: 1px solid #ffffff;
      background: transparent;
      color: #ffffff;
      text-decoration: none;
      font-size: 13px;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      transition: transform 250ms ease, box-shadow 250ms ease;
      position: relative;
      overflow: hidden;
      opacity: 0;
      transform: translatey(20px);
      margin-top: 80px;
      cursor: pointer;
      -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
      -webkit-tap-highlight-color: transparent !important;
      touch-action: manipulation;
    }

    /* Magnetisk marköreffekt - endast desktop */
    .cta-magnetic {
      transition: all 400ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    .cta::before {
      content: '';
      position: absolute;
      inset: 0;
      background: #ffffff;
      transform: translatey(100%);
      transition: transform 250ms ease;
      will-change: transform;
    }

    .cta span {
      position: relative;
      z-index: 1;
      transition: color 250ms ease;
    }
    
    .cta:active {
      transform: translatey(0);
    }

    /* Endast desktop hover-effekter */
    @media (hover: hover) and (pointer: fine) {
      .cta:hover {
        transform: translatey(-4px) scale(1.02);
        box-shadow: 0 24px 72px rgba(0, 0, 0, 0.16);
      }
      
      .cta:hover::before {
        transform: translatey(0);
      }

      .cta:hover span {
        color: #0a0a0a;
      }
      
      .btn:hover {
        transform: translatey(-4px) scale(1.02);
        box-shadow: 0 24px 72px rgba(0, 0, 0, 0.18);
      }
      
      .card:hover {
        transform: translatey(-16px) scale(1.01);
        box-shadow: 0 48px 96px rgba(0, 0, 0, 0.12);
      }
    }

    /* sektion */
    section {
      max-width: 1400px;
      margin: 0 auto;
      padding: 240px 48px;
      position: relative;
    }

    .section-alt {
      background: rgba(15, 15, 15, 0.6);
      backdrop-filter: blur(24px) saturate(180%);
      -webkit-backdrop-filter: blur(24px) saturate(180%);
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .section-dark {
      background: #1a1a1a;
      color: #f5f5f5;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .section-label {
      font-size: 56px;
      font-weight: 500;
      letter-spacing: -0.02em;
      text-transform: none;
      color: var(--gray-900);
      margin-bottom: 96px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Playfair Display', serif;
      line-height: 1.1;
      text-align: center;
      position: relative;
      padding: 80px 40px;
    }
    
    /* Special styling for "Vem Ã¤r VÃ„V?" section */
    #about .section-label {
      font-size: 72px;
      margin-bottom: 100px;
      padding: 0 40px;
      margin-top: -60px;
      z-index: 1;
    }
    
    /* Geometric shapes - varied and more noticeable animations */
    .section-label::before {
      content: '';
      position: absolute;
      width: 300px;
      height: 300px;
      border: 2px solid rgba(212, 209, 200, 0.3);
      border-radius: 50%;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) rotate(45deg);
      opacity: 1;
      z-index: -1;
      transition: all 800ms var(--ease-out-expo);
      animation: floatShape 6s ease-in-out infinite;
    }
    
    /* Make contact blob more visible in dark mode */
    #contact .section-label::before {
      border: 4px solid rgba(255, 255, 255, 0.7);
      background: rgba(255, 255, 255, 0.12);
      filter: drop-shadow(0 6px 24px rgba(255, 255, 255, 0.4));
      will-change: transform;
    }
    
    #contact .section-label::after {
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
      filter: drop-shadow(0 6px 24px rgba(255, 255, 255, 0.3));
      will-change: transform;
    }
    
    .section-label::after {
      content: '';
      position: absolute;
      width: 200px;
      height: 200px;
      background: linear-gradient(135deg, rgba(212, 209, 200, 0.2), rgba(212, 209, 200, 0.05));
      border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) rotate(-20deg);
      opacity: 1;
      z-index: -1;
      transition: all 800ms var(--ease-out-expo);
      animation: morphShape 8s ease-in-out infinite;
    }
    
    /* Variation 1: Square rotated (for portfolio section) */
    #work .section-label::before {
      border-radius: 20%;
      animation: rotateSquare 7s ease-in-out infinite;
    }
    
    #work .section-label::after {
      border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%;
      animation: morphSquare 9s ease-in-out infinite;
    }
    
    /* Variation 2: Hexagon-ish (for process section) */
    #process .section-label::before {
      border-radius: 30%;
      width: 280px;
      height: 320px;
      animation: scaleHex 8s ease-in-out infinite;
    }
    
    #process .section-label::after {
      border-radius: 20% 80% 20% 80% / 80% 20% 80% 20%;
      animation: morphHex 7s ease-in-out infinite;
    }
    
    /* Variation 3: Diamond (for why section) */
    #why .section-label::before {
      border-radius: 10%;
      transform: translate(-50%, -50%) rotate(45deg);
      animation: rotateDiamond 6s ease-in-out infinite;
    }
    
    /* Variation 4: Organic oval (for about section) */
    #about .section-label::before {
      border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
      animation: breatheOval 9s ease-in-out infinite;
    }
    
    #about .section-label::after {
      border-radius: 70% 30% 50% 50% / 30% 70% 30% 70%;
      animation: morphOval 8s ease-in-out infinite;
    }
    
    /* Animated question mark shape for "Vem Ã¤r VÃ„V" */
    .question-shape {
      position: absolute;
      left: 50%;
      top: 40%;
      transform: translate(-50%, -50%);
      font-size: 280px;
      font-weight: 300;
      color: var(--titanium);
      font-family: 'Playfair Display', serif;
      opacity: 0.08;
      z-index: 0;
      line-height: 1;
      animation: questionFloat 8s ease-in-out infinite;
      font-style: italic;
      pointer-events: none;
    }
    
    /* Light mode - make question mark darker for tan background */
    body.light-mode .section-dark .question-shape,
    body.light-mode #about .question-shape {
      color: rgba(100, 80, 60, 0.25) !important;
      opacity: 1 !important;
      filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
    }
    
    body.light-mode .section-dark .section-label {
      color: #1a1a1a !important;
      text-shadow: 0 2px 4px rgba(255, 255, 255, 0.4);
    }
    
    /* Light mode - make geometric shapes behind text white */
    body.light-mode #about .section-label::before {
      border-color: rgba(255, 255, 255, 1) !important;
      border-width: 4px !important;
      opacity: 1;
      filter: drop-shadow(0 6px 24px rgba(255, 255, 255, 0.9));
    }
    
    body.light-mode #about .section-label::after {
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.5)) !important;
      opacity: 1;
      filter: drop-shadow(0 6px 24px rgba(255, 255, 255, 0.8));
    }
    
    /* Light mode - white shapes for process section */
    body.light-mode #process .section-label::before {
      border-color: rgba(255, 255, 255, 1) !important;
      border-width: 4px !important;
      opacity: 1;
      filter: drop-shadow(0 6px 24px rgba(255, 255, 255, 0.9));
    }
    
    body.light-mode #process .section-label::after {
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.5)) !important;
      opacity: 1;
      filter: drop-shadow(0 6px 24px rgba(255, 255, 255, 0.8));
    }
    
    /* Light mode - white shapes for portfolio/work section */
    body.light-mode #work .section-label::before {
      border-color: rgba(255, 255, 255, 1) !important;
      border-width: 4px !important;
      opacity: 1;
      filter: drop-shadow(0 6px 24px rgba(255, 255, 255, 0.9));
    }
    
    body.light-mode #work .section-label::after {
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.5)) !important;
      opacity: 1;
      filter: drop-shadow(0 6px 24px rgba(255, 255, 255, 0.8));
    }
    
    /* Ensure question mark is visible in dark mode */
    .section-dark .question-shape {
      color: var(--titanium-light);
      opacity: 0.12;
    }
    
    @keyframes questionFloat {
      0%, 100% {
        transform: translate(-50%, -40%) rotate(-3deg) scale(1);
      }
      25% {
        transform: translate(-48%, -42%) rotate(2deg) scale(1.05);
      }
      50% {
        transform: translate(-50%, -40%) rotate(-1deg) scale(1);
      }
      75% {
        transform: translate(-52%, -38%) rotate(3deg) scale(1.05);
      }
    }
    
    @media (max-width: 768px) {
      .question-shape {
        font-size: 180px;
        top: 38%;
      }
      
      #about .section-label {
        font-size: 48px;
        margin-top: -40px;
        margin-bottom: 80px;
        padding: 0 16px;
        white-space: nowrap;
      }
      
      /* Hide stem elements on tablet to prevent visual trails */
      .stem-container,
      .stem,
      .stem-knot {
        display: none !important;
      }
    }
    
    @media (max-width: 480px) {
      .question-shape {
        font-size: 140px;
        top: 35%;
      }
      
      #about .section-label {
        font-size: 40px;
        margin-top: -30px;
        padding: 0 12px;
        white-space: nowrap;
      }
      
      /* Hide stem elements on mobile to prevent visual trails */
      .stem-container,
      .stem,
      .stem-knot {
        display: none !important;
      }
    }
    
    /* More noticeable animations */
    @keyframes floatShape {
      0%, 100% { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
      33% { transform: translate(-48%, -52%) rotate(120deg) scale(1.05); }
      66% { transform: translate(-52%, -48%) rotate(240deg) scale(0.95); }
    }
    
    @keyframes morphShape {
      0%, 100% { 
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: translate(-50%, -50%) rotate(-20deg);
      }
      50% { 
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
        transform: translate(-50%, -45%) rotate(20deg);
      }
    }
    
    @keyframes rotateSquare {
      0%, 100% { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
      50% { transform: translate(-50%, -50%) rotate(90deg) scale(1.1); }
    }
    
    @keyframes morphSquare {
      0%, 100% { 
        border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%;
        transform: translate(-50%, -50%) rotate(0deg);
      }
      50% { 
        border-radius: 60% 40% 40% 60% / 40% 60% 40% 60%;
        transform: translate(-50%, -50%) rotate(45deg);
      }
    }
    
    @keyframes scaleHex {
      0%, 100% { transform: translate(-50%, -50%) rotate(30deg) scale(1); }
      50% { transform: translate(-50%, -50%) rotate(60deg) scale(1.08); }
    }
    
    @keyframes morphHex {
      0%, 100% { 
        border-radius: 20% 80% 20% 80% / 80% 20% 80% 20%;
        transform: translate(-50%, -50%) rotate(0deg);
      }
      50% { 
        border-radius: 80% 20% 80% 20% / 20% 80% 20% 80%;
        transform: translate(-50%, -50%) rotate(30deg);
      }
    }
    
    @keyframes rotateDiamond {
      0%, 100% { transform: translate(-50%, -50%) rotate(45deg) scale(1); }
      33% { transform: translate(-48%, -50%) rotate(135deg) scale(1.05); }
      66% { transform: translate(-52%, -50%) rotate(225deg) scale(0.95); }
    }
    
    @keyframes breatheOval {
      0%, 100% { 
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
      }
      50% { 
        border-radius: 40% 60% 70% 30% / 30% 70% 40% 60%;
        transform: translate(-50%, -50%) rotate(180deg) scale(1.1);
      }
    }
    
    @keyframes morphOval {
      0%, 100% { 
        border-radius: 70% 30% 50% 50% / 30% 70% 30% 70%;
        transform: translate(-50%, -50%) rotate(0deg);
      }
      50% { 
        border-radius: 30% 70% 50% 50% / 70% 30% 70% 30%;
        transform: translate(-50%, -48%) rotate(90deg);
      }
    }

    .section-dark .section-label {
      color: #ffffff;
    }
    
    .section-dark .section-label::before {
      border-color: rgba(232, 229, 220, 0.35);
      opacity: 1;
    }
    
    .section-dark .section-label::after {
      background: linear-gradient(135deg, rgba(232, 229, 220, 0.25), rgba(232, 229, 220, 0.08));
      opacity: 1;
    }

    /* cards */
    .cards {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 32px;
      max-width: 100%;
    }
    
    @media (min-width: 1025px) {
      .cards {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
      }
    }

    .card {
      background: #1a1a1a;
      border: 1px solid rgba(255, 255, 255, 0.1);
      text-decoration: none;
      color: inherit;
      display: block;
      overflow: hidden;
      transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
      position: relative;
      -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
      -webkit-tap-highlight-color: transparent !important;
      touch-action: manipulation;
    }

    .card::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent);
      opacity: 0;
      transition: opacity 300ms ease;
    }

    @media (hover: hover) {
      .card:hover {
        transform: translatey(-12px);
        border-color: rgba(255, 255, 255, 0.2);
        box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
      }

      .card:hover::before {
        opacity: 1;
      }
    }
    
    .card:active {
      transform: translatey(-4px);
    }

    .mock {
      aspect-ratio: 16 / 10;
      background: linear-gradient(180deg, #262626, #1a1a1a);
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      overflow: hidden;
      position: relative;
    }

    .portfolio-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 400ms ease, opacity 300ms ease;
    }

    @media (hover: hover) {
      .card:hover .portfolio-image {
        transform: scale(1.05);
        opacity: 0.95;
      }
    }

    .chrome {
      height: 48px;
      background: #0f0f0f;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      display: flex;
      align-items: center;
      padding: 0 20px;
      gap: 8px;
    }

    .dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: #404040;
      border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .ui {
      padding: 32px;
      display: grid;
      gap: 16px;
    }

    .ui-bar {
      height: 8px;
      background: #262626;
      border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .ui-row {
      display: grid;
      grid-template-columns: 2fr 1fr;
      gap: 16px;
    }

    .ui-accent {
      height: 32px;
      background: linear-gradient(90deg, rgba(212, 209, 200, 0.15), transparent);
      border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .card-content {
      padding: 24px;
    }

    .card h3 {
      font-size: 22px;
      font-weight: 500;
      color: var(--gray-900);
      margin-bottom: 12px;
      letter-spacing: -0.01em;
      font-family: 'Playfair Display', serif;
    }

    .card p {
      font-size: 14px;
      color: var(--gray-600);
      letter-spacing: 0.01em;
      line-height: 1.5;
    }

    /* process */
    .process-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 1px;
      background: var(--line-light);
    }

    .process-item {
      background: #1a1a1a;
      padding: 48px 32px;
      text-align: center;
      transition: all 600ms var(--ease-out-expo);
      position: relative;
    }

    .process-item::before {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(255, 255, 255, 0.02);
      opacity: 0;
      transition: opacity 600ms var(--ease-out-expo);
    }

    .process-item:hover::before {
      opacity: 1;
    }

    .process-number {
      font-size: 11px;
      font-weight: 500;
      color: var(--titanium);
      letter-spacing: 0.15em;
      margin-bottom: 24px;
      display: block;
      position: relative;
    }

    .process-icon {
      width: 32px;
      height: 32px;
      border: 1px solid #f5f5f5;
      margin: 0 auto 24px;
      position: relative;
    }

    .process-icon::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 8px;
      height: 8px;
      background: var(--titanium);
      opacity: 0.4;
    }

    .process-title {
      font-size: 20px;
      font-weight: 500;
      color: var(--gray-900);
      margin-bottom: 16px;
      letter-spacing: -0.01em;
      position: relative;
      font-family: 'Playfair Display', serif;
    }

    .process-desc {
      font-size: 15px;
      color: var(--gray-600);
      line-height: 1.6;
      letter-spacing: 0.01em;
      position: relative;
    }

    /* why list / accordion */
    .why-list {
      display: grid;
      gap: 1px;
      background: var(--line-dark);
      list-style: none;
    }

    .why-list li {
      background: #1a1a1a;
      padding: 40px 48px;
      font-size: 32px;
      font-weight: 500;
      color: #ffffff;
      letter-spacing: -0.02em;
      transition: background 250ms ease;
      position: relative;
      cursor: pointer;
      font-family: 'Playfair Display', serif;
      -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
      -webkit-tap-highlight-color: transparent !important;
      touch-action: manipulation;
    }

    .why-title {
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: relative;
      padding-right: 40px;
    }

    .why-list li::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 2px;
      background: var(--titanium);
      opacity: 0;
      transition: opacity 600ms var(--ease-out-expo);
    }

    .why-list li:hover {
      background: rgba(255, 255, 255, 0.02);
    }

    .why-list li:hover::before {
      opacity: 1;
    }

    .why-list li.open .why-title::after {
      content: '+';
      transform: rotate(135deg) scale(1.1);
      color: var(--titanium-light);
    }

    .why-title::after {
      content: '+';
      position: absolute;
      right: 0;
      font-size: 28px;
      font-weight: 300;
      color: var(--titanium);
      transition: transform 600ms var(--ease-out-expo), color 400ms ease;
      line-height: 1;
      transform-origin: center;
    }

    .why-explanation {
      max-height: 0;
      overflow: hidden;
      padding-top: 0;
      transition: max-height 800ms var(--ease-out-expo), padding-top 800ms var(--ease-out-expo);
      font-size: 19px; 
      color: var(--gray-400);
      line-height: 1.7;
      letter-spacing: 0.01em;
      margin-top: 24px;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      font-weight: 400;
    }

    .why-list li.open .why-explanation {
      max-height: 400px; /* arbitrary height to allow transition */
      padding-top: 24px;
    }

    /* about section */
    .about-content {
      display: grid;
      grid-template-columns: 1.2fr 1fr;
      gap: 80px;
      align-items: center;
    }

    .about-text {
      background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
      backdrop-filter: blur(50px) saturate(180%);
      -webkit-backdrop-filter: blur(50px) saturate(180%);
      padding: 48px !important;
      border-radius: 24px;
      box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset,
        0 0 60px rgba(212, 209, 200, 0.15),
        0 2px 4px rgba(255, 255, 255, 0.2) inset;
      border: 2px solid transparent;
      background-clip: padding-box;
      position: relative;
      overflow: hidden;
      width: 100%;
      max-width: 500px;
      aspect-ratio: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      animation: floatCard 8s ease-in-out infinite;
      transition: transform 0.4s ease-out, box-shadow 0.4s ease-out;
    }
    
    .about-text::after {
      content: '';
      position: absolute;
      inset: -2px;
      border-radius: 24px;
      padding: 2px;
      background: linear-gradient(135deg, 
        transparent 0%, 
        rgba(212, 209, 200, 0.2) 20%, 
        rgba(212, 209, 200, 0.4) 40%, 
        rgba(212, 209, 200, 0.4) 60%, 
        rgba(212, 209, 200, 0.2) 80%, 
        transparent 100%);
      background-size: 200% 100%;
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      mask-composite: exclude;
      pointer-events: none;
      opacity: 0.6;
      animation: shimmer-smooth 5s ease-in-out infinite;
      transition: opacity 0.4s ease-out;
    }
    
    /* Subtle hover effect on desktop */
    @media (hover: hover) {
      .about-text:hover {
        animation-play-state: paused;
        transform: scale(1.03) translateY(-4px);
        box-shadow: 
          0 20px 80px rgba(0, 0, 0, 1),
          0 0 0 1px rgba(255, 255, 255, 0.5) inset,
          0 0 50px rgba(255, 255, 255, 0.3),
          0 2px 4px rgba(255, 255, 255, 0.5) inset;
      }
      
      .about-text:hover::after {
        opacity: 1;
      }
    }
    
    .about-text::before {
      content: '';
      position: absolute;
      top: 0;
      left: -150%;
      width: 150%;
      height: 100%;
      background: linear-gradient(90deg, 
        transparent 0%, 
        transparent 20%,
        rgba(212, 209, 200, 0.12) 40%, 
        rgba(212, 209, 200, 0.2) 50%, 
        rgba(212, 209, 200, 0.12) 60%,
        transparent 80%,
        transparent 100%);
      pointer-events: none;
      animation: shine-smooth 6s ease-in-out infinite;
      z-index: 1;
    }

    .about-text p {
      color: var(--gray-600);
      font-weight: 400;
      line-height: 1.7;
      position: relative;
      z-index: 2;
      text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
      font-size: 16px;
      margin-bottom: 18px;
      letter-spacing: 0.01em;
      word-wrap: break-word;
      overflow-wrap: break-word;
      hyphens: none;
      -webkit-hyphens: none;
      -ms-hyphens: none;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }
    
    @keyframes fadeInUp {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    @keyframes floatCard {
      0% {
        transform: translateY(0px) rotate(0deg);
      }
      25% {
        transform: translateY(-8px) rotate(1deg);
      }
      50% {
        transform: translateY(-12px) rotate(0.5deg);
      }
      75% {
        transform: translateY(-8px) rotate(-1deg);
      }
      100% {
        transform: translateY(0px) rotate(0deg);
      }
    }

    .about-text p:last-child {
      margin-bottom: 0;
    }

    .about-image {
      position: relative;
    }

    .image-placeholder {
      width: 100%;
      max-width: 500px;
      aspect-ratio: 1;
      overflow: hidden;
      border-radius: 24px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      transition: all 400ms var(--ease-out-expo);
      animation: floatCard 8s ease-in-out infinite;
      animation-delay: 1s;
      position: relative;
    }
    
    .image-placeholder::after {
      content: '';
      position: absolute;
      inset: -2px;
      border-radius: 24px;
      padding: 2px;
      background: linear-gradient(135deg, 
        transparent 0%, 
        rgba(212, 209, 200, 0.15) 20%, 
        rgba(212, 209, 200, 0.3) 40%, 
        rgba(212, 209, 200, 0.3) 60%, 
        rgba(212, 209, 200, 0.15) 80%, 
        transparent 100%);
      background-size: 200% 100%;
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      mask-composite: exclude;
      pointer-events: none;
      opacity: 0.4;
      animation: shimmer-smooth 5s ease-in-out infinite;
      animation-delay: 1.5s;
      transition: opacity 0.4s ease-out;
    }

    .image-placeholder img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .image-placeholder:hover {
      border-color: rgba(255, 255, 255, 0.2);
      transform: scale(1.02);
    }
    
    .image-placeholder:hover::after {
      opacity: 0.7;
    }

    /* kontaktformulär */
    .form-grid {
      display: grid;
      gap: 24px;
      max-width: 720px;
      margin: 0 auto;
      padding: 40px;
      background: linear-gradient(135deg, rgba(40, 40, 40, 0.85), rgba(30, 30, 30, 0.9));
      /* Reducerad oskärpa för bättre prestanda */
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 16px;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
      transition: all 400ms var(--ease-out-expo);
      position: relative;
      overflow: hidden;
      transform: translateZ(0);
      will-change: transform;
    }
    
    .form-grid::before {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      right: -50%;
      bottom: -50%;
      background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.03) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.03) 100%
      );
      transform: rotate(45deg);
      z-index: -1;
      /* Animation inaktiverad för bättre markörprestanda på desktop */
      /* animation: shine 8s linear infinite; */
    }
    
    /* Shimmer-animation - inaktiverad för att förbättra markörprestanda
    @keyframes shine {
      0% { transform: translate3d(-100%, 0, 0) rotate(45deg); }
      100% { transform: translate3d(100%, 0, 0) rotate(45deg); }
    } */

    .form-group {
      display: grid;
      gap: 10px;
    }

    label {
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--gray-600);
    }

    input, textarea {
      width: 100%;
      background: rgba(15, 15, 15, 0.85);
      /* Borttagen backdrop-filter för bättre prestanda */
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 8px;
      color: #f5f5f5;
      padding: 16px 20px;
      font-family: inherit;
      font-size: 16px;
      letter-spacing: 0.01em;
      transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease, transform 200ms ease;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
      -webkit-tap-highlight-color: transparent !important;
      will-change: transform;
      backface-visibility: hidden;
    }

    input:focus, textarea:focus {
      outline: none;
      border-color: rgba(212, 209, 200, 0.4);
      background: rgba(15, 15, 15, 0.8);
      box-shadow: 0 0 0 2px rgba(212, 209, 200, 0.1), 0 8px 20px rgba(0, 0, 0, 0.2);
      transform: translateY(-2px);
    }

    textarea {
      min-height: 160px;
      resize: vertical;
      line-height: 1.6;
      font-size: 15px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      padding: 18px 48px;
      /* cta färgväxling - inverterad för mörkt läge */
      background: transparent;
      color: #ffffff;
      border: 1px solid #ffffff;
      /* slut cta färgväxling */
      font-family: inherit;
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      cursor: pointer;
      transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
      justify-self: center;
      position: relative;
      overflow: hidden;
      margin-top: 8px;
      -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
      -webkit-tap-highlight-color: transparent !important;
      touch-action: manipulation;
    }

    .btn::before {
      content: '';
      position: absolute;
      inset: 0;
      /* white hover color */
      background: #ffffff;
      transform: translatey(100%);
      transition: transform 250ms ease;
      will-change: transform;
    }

    .btn span {
      position: relative;
      z-index: 1;
      /* text color on hover */
      transition: color 250ms ease;
    }

    @media (hover: hover) {
      .btn:hover {
        transform: translatey(-2px);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
        border-color: #ffffff;
      }

      .btn:hover::before {
        transform: translatey(0);
      }

      .btn:hover span {
        /* black text on white hover */
        color: #0a0a0a;
      }
    }
    
    .btn:active {
      transform: translatey(0);
    }

    .btn:disabled {
      opacity: 0.3;
      cursor: not-allowed;
    }

    .form-status {
      font-size: 14px;
      color: var(--gray-600);
      letter-spacing: 0.02em;
      min-height: 24px;
      text-align: center;
    }

    .form-cookie-notice {
      font-size: 12px;
      color: rgba(212, 209, 200, 0.6);
      letter-spacing: 0.03em;
      text-align: center;
      margin-top: 12px;
      padding: 0;
      line-height: 1.6;
      font-weight: 400;
    }

    .form-cookie-checkbox {
      margin-bottom: 24px;
      opacity: 0;
      max-height: 0;
      overflow: hidden;
      transition: opacity 0.3s ease, max-height 0.3s ease;
      display: flex;
      justify-content: center;
    }

    .form-cookie-checkbox.show {
      opacity: 1;
      max-height: 100px;
    }

    .cookie-checkbox-label {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 13px;
      color: rgba(212, 209, 200, 0.8);
      letter-spacing: 0.02em;
      cursor: pointer;
      user-select: none;
    }

    .cookie-checkbox-label input[type="checkbox"] {
      width: 18px;
      height: 18px;
      cursor: pointer;
      accent-color: #d4d1c8;
    }

    .cookie-checkbox-label span {
      line-height: 1.5;
    }

    /* footer */
    footer {
      max-width: 1400px;
      margin: 0 auto;
      padding: 80px 48px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 12px;
      color: #ffffff;
      letter-spacing: 0.05em;
      flex-wrap: wrap;
      gap: 24px;
    }

    .footer-left {
      display: flex;
      gap: 32px;
      align-items: center;
    }

    .footer-privacy {
      margin-top: 4px;
    }

    .footer-privacy a {
      color: var(--titanium);
      text-decoration: none;
      font-size: 11px;
      letter-spacing: 0.05em;
      border-bottom: 1px solid transparent;
      transition: all 0.2s ease;
      text-transform: lowercase;
    }

    .footer-privacy a:hover {
      border-bottom-color: var(--titanium);
      opacity: 0.8;
    }

    body.light-mode .footer-privacy a {
      color: rgba(255, 255, 255, 0.9);
    }

    body.light-mode .footer-privacy a:hover {
      color: rgba(255, 255, 255, 1);
      border-bottom-color: rgba(255, 255, 255, 0.9);
    }

    /* Keep footer text white in light mode */
    body.light-mode footer,
    body.light-mode footer * {
      color: #ffffff !important;
    }

    /* scroll animations */
    .reveal {
      opacity: 0;
      transform: translatey(60px);
      transition: all 1200ms var(--ease-out-expo);
    }

    .reveal.in {
      opacity: 1;
      transform: translatey(0);
    }

    .reveal-card {
      opacity: 0;
      transform: translatey(100px) scale(0.94);
      transition: all 1100ms var(--ease-out-expo);
    }

    .reveal-card.in {
      opacity: 1;
      transform: translatey(0) scale(1);
    }

    .reveal-card:nth-child(1) { transition-delay: 0ms; }
    .reveal-card:nth-child(2) { transition-delay: 150ms; }
    .reveal-card:nth-child(3) { transition-delay: 300ms; }

    /* parallax */
    .hero-content {
      transition: transform 100ms linear;
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
    }

    /* responsive */
    @media (max-width: 1024px) {
      .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2px;
      }

      section {
        padding: 180px 32px;
      }

      .cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
      }
    }

    @media (max-width: 768px) {
      .nav-inner {
        padding: 20px 24px;
      }

      .brand {
        font-size: 18px;
      }

      .brand-tagline {
        font-size: 10px;
      }

      /* Hide desktop nav, show hamburger */
      .links {
        display: none;
      }

      .hamburger {
        display: flex;
      }

      .nav-call-link {
        display: none;
      }
      
      .theme-toggle {
        width: 44px;
        height: 22px;
      }
      
      .theme-toggle-slider {
        width: 16px;
        height: 16px;
      }
      
      body.light-mode .theme-toggle-slider {
        transform: translateX(22px);
      }

      .wordmark {
        font-size: clamp(72px, 14vw, 140px);
        letter-spacing: 0.18em;
        margin-bottom: 0;
      }

      .cta {
        margin-top: 64px;
        padding: 16px 40px;
        font-size: 12px;
      }

      .about-content {
        grid-template-columns: 1fr;
        gap: 48px;
      }

      .about-text p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 14px;
      }
      
      .about-text {
        border-radius: 20px;
        margin-left: auto;
        margin-right: auto;
        padding: 24px !important;
        max-width: calc(100% - 48px);
        animation: none;
        aspect-ratio: auto;
        width: 100%;
        align-items: flex-start;
        box-sizing: border-box;
      }
      
      body.light-mode .about-text {
        padding: 24px !important;
        border-radius: 20px;
        aspect-ratio: auto;
      }
      
      .image-placeholder {
        max-width: calc(100% - 48px);
        margin: 0 auto;
        box-sizing: border-box;
      }

      .section-label {
        font-size: 42px;
        margin-bottom: 72px;
        padding: 60px 32px;
      }
      
      .section-label::before {
        width: 220px;
        height: 220px;
      }
      
      .section-label::after {
        width: 140px;
        height: 140px;
      }

      section {
        padding: 140px 24px;
      }

      .cards {
        grid-template-columns: 1fr;
        gap: 32px;
      }

      .process-grid {
        grid-template-columns: 1fr;
        gap: 2px;
      }
      
      .form-grid {
        padding: 32px 24px;
      }

      footer {
        padding: 60px 24px;
        flex-direction: column;
        gap: 16px;
        text-align: center;
      }

      .footer-left {
        flex-direction: column;
        gap: 12px;
      }

      .weave-line-1 { left: calc(50% - 100px); }
      .weave-line-3 { left: calc(50% + 100px); }
    }

    @media (max-width: 480px) {
      .wordmark {
        font-size: clamp(64px, 12vw, 96px);
        letter-spacing: 0.15em;
      }

      section {
        padding: 100px 20px;
      }

      .cards {
        gap: 24px;
      }

      .section-label {
        font-size: 36px;
        margin-bottom: 64px;
        padding: 48px 24px;
      }
      
      .section-label::before {
        width: 180px;
        height: 180px;
      }
      
      .section-label::after {
        width: 120px;
        height: 120px;
      }

      .why-list li {
        font-size: 24px;
        padding: 32px 32px;
      }

      /* Adjust font size for smaller screens for accordion explanation */
      .why-explanation {
        font-size: 17px; 
      }

      .about-text p {
        font-size: 13px;
        line-height: 1.55;
        margin-bottom: 12px;
      }
      
      .about-text {
        border-radius: 16px;
        margin-left: auto;
        margin-right: auto;
        padding: 20px !important;
        max-width: calc(100% - 40px);
        animation: none;
        aspect-ratio: auto;
        width: 100%;
        align-items: flex-start;
        box-sizing: border-box;
      }
      
      body.light-mode .about-text {
        padding: 20px !important;
        border-radius: 16px;
        aspect-ratio: auto;
      }
      
      .image-placeholder {
        max-width: calc(100% - 40px);
        margin: 0 auto;
        box-sizing: border-box;
      }

      .card h3 {
        font-size: 24px;
      }

      .card p {
        font-size: 16px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      *:not(#contact .section-label), 
      *:not(#contact .section-label)::before, 
      *:not(#contact .section-label)::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
      
      /* Ensure contact blob stays visible */
      #contact .section-label::before,
      #contact .section-label::after {
        opacity: 1 !important;
        display: block !important;
      }
    }

    /* keyframes */
    @keyframes weaveDown {
      0% {
        clip-path: inset(0 0 100% 0);
        transform: translatey(-12px);
        opacity: 0;
      }
      100% {
        clip-path: inset(0 0 0 0);
        transform: translatey(0);
        opacity: 1;
      }
    }

    @keyframes weaveUp {
      0% {
        clip-path: inset(100% 0 0 0);
        transform: translatey(12px);
        opacity: 0;
      }
      100% {
        clip-path: inset(0 0 0 0);
        transform: translatey(0);
        opacity: 1;
      }
    }

    /* subtil kornighet */
    body::after {
      content: '';
      position: fixed;
      inset: 0;
      background-image: url("data:image/png;base64,ivborw0kggoaaaansuheugaaaaiaaaacgayaaabytg0kaaaagxrfwhrtoftdwarebdopegltagvszwfkedlyy2llpaaaabzjrefuepjie5p2r9//38gygaeessaaeegaasgjoagzjuneaaaaasuheugork5cyii=");
      opacity: 0.012;
      pointer-events: none;
      z-index: 10000;
      mix-blend-mode: overlay;
    }
    
    /* Scroll-drivna vävtrådar på kanterna */
    .weave-container {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      pointer-events: none;
      z-index: 1;
      overflow: hidden;
    }
    
    .weave-left,
    .weave-right {
      position: absolute;
      top: 0;
    }
    
    footer {
      position: relative;
      z-index: 10;
    }
    
    body.light-mode footer {
      background: transparent;
      border-top-color: rgba(255, 255, 255, 0.4);
    }
    
    /* Vertikal vävcanvas-animation */
    #weaveCanvas {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      pointer-events: none;
      z-index: 0;
      opacity: 1;
    }
    
    /* Säkerställ att innehåll är ovanför canvas */
    nav, main, footer {
      position: relative;
      z-index: 1;
    }
    
    /* Dölj canvas för användare som föredrar reducerad rörelse */
    @media (prefers-reduced-motion: reduce) {
      #weaveCanvas {
        display: none;
      }
    }
    /* ===== VISUELLA FÖRBÄTTRINGAR ===== */
    
    /* Dölj standard markör på interaktiva element när anpassad markör är aktiv - endast desktop */
    @media (hover: hover) and (pointer: fine) {
      button,
      .btn,
      .cta,
      input,
      textarea,
      select,
      a,
      .card,
      .hamburger,
      .theme-toggle,
      .nav-call-link,
      .why-list li,
      .process-item {
        cursor: none !important;
      }
    }
    
    /* Anpassad Markör */
    .custom-cursor {
      position: fixed;
      top: 0;
      left: 0;
      width: 16px;
      height: 16px;
      margin: -8px 0 0 -8px;
      background: rgba(212, 209, 200, 0.8);
      border-radius: 50%;
      pointer-events: none;
      z-index: 10001;
      mix-blend-mode: difference;
      transition: width 0.3s ease, height 0.3s ease, background 0.3s ease, margin 0.3s ease;
      box-shadow: 0 0 12px rgba(212, 209, 200, 0.4), 0 0 24px rgba(212, 209, 200, 0.2);
      will-change: transform;
      transform: translate3d(0, 0, 0);
    }
    
    .custom-cursor.hover {
      width: 48px;
      height: 48px;
      margin: -24px 0 0 -24px;
      background: rgba(212, 209, 200, 0.15);
      backdrop-filter: blur(2px);
      box-shadow: 0 0 20px rgba(212, 209, 200, 0.3), 0 0 40px rgba(212, 209, 200, 0.15);
    }
    
    body.light-mode .custom-cursor {
      background: #ffffff;
      mix-blend-mode: difference;
      box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
      border: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    body.light-mode .custom-cursor.hover {
      background: rgba(255, 255, 255, 0.3);
      border: 2px solid rgba(0, 0, 0, 0.1);
      box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
    }
    
    /* Dölj standard markör på desktop */
    @media (hover: hover) and (pointer: fine) {
      body, a, button, footer, footer * {
        cursor: none !important;
      }
      
      * {
        cursor: none !important;
      }
    }
    
    /* Scroll-framstegsindikator */
    .scroll-progress {
      position: fixed;
      top: 0;
      left: 0;
      width: 0%;
      height: 3px;
      background: linear-gradient(90deg, var(--titanium), var(--titanium-light));
      z-index: 10000;
      transition: width 0.1s ease-out;
      box-shadow: 0 0 10px rgba(212, 209, 200, 0.5);
    }
    
    body.light-mode .scroll-progress {
      background: linear-gradient(90deg, #1a1a1a, #4a4a4a);
      box-shadow: 0 0 10px rgba(26, 26, 26, 0.3);
    }
    
    /* DNA-tema laddare */
    .page-loader {
      position: fixed;
      inset: 0;
      background: var(--background);
      z-index: 99999;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: opacity 0.6s ease, visibility 0.6s ease;
    }
    
    .page-loader.hidden {
      opacity: 0;
      visibility: hidden;
    }
    
    .dna-loader {
      width: 60px;
      height: 60px;
      position: relative;
      animation: dnaRotate 2s linear infinite;
    }
    
    .dna-loader::before,
    .dna-loader::after {
      content: '';
      position: absolute;
      width: 12px;
      height: 12px;
      background: var(--titanium);
      border-radius: 50%;
      top: 50%;
      left: 50%;
      animation: dnaOrbit 2s ease-in-out infinite;
    }
    
    .dna-loader::after {
      animation-delay: -1s;
      background: var(--titanium-light);
    }
    
    @keyframes dnaRotate {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }
    
    @keyframes dnaOrbit {
      0%, 100% { transform: translate(-50%, -50%) translateX(-20px); }
      50% { transform: translate(-50%, -50%) translateX(20px); }
    }
    
    /* Scroll Reveal Animations */
    .reveal {
      opacity: 0;
      transform: translateY(40px);
      transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .reveal.active {
      opacity: 1;
      transform: translateY(0);
    }
    
    .reveal-left {
      opacity: 0;
      transform: translateX(-40px);
      transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .reveal-left.active {
      opacity: 1;
      transform: translateX(0);
    }
    
    .reveal-right {
      opacity: 0;
      transform: translateX(40px);
      transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .reveal-right.active {
      opacity: 1;
      transform: translateX(0);
    }
    
    /* Enhanced Hover Effects */
    .card, .project-card, .timeline-item {
      transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .card:hover {
      transform: translateY(-8px);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }
    
    .project-card:hover {
      transform: scale(1.02);
      box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    }
    
    body.light-mode .card:hover {
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }
    
    body.light-mode .project-card:hover {
      box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    }
    
    /* Magnetic Button Effect */
    .magnetic-btn {
      position: relative;
      transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    /* Gradient Backgrounds for Sections */
    .section-gradient-1 {
      background: radial-gradient(circle at top right, rgba(212, 209, 200, 0.03), transparent 70%);
    }
    
    .section-gradient-2 {
      background: radial-gradient(circle at bottom left, rgba(212, 209, 200, 0.03), transparent 70%);
    }
    
    body.light-mode .section-gradient-1 {
      background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.5), transparent 60%);
    }
    
    body.light-mode .section-gradient-2 {
      background: radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.5), transparent 60%);
    }
    
    /* Floating Shapes */
    .floating-shape {
      position: absolute;
      pointer-events: none;
      opacity: 0.1;
      will-change: transform;
      transition: transform 0.5s ease-out;
    }
    
    .floating-shape-1 {
      width: 100px;
      height: 100px;
      border: 2px solid var(--titanium);
      border-radius: 50%;
      top: 20%;
      right: 10%;
      animation: float 8s ease-in-out infinite;
    }
    
    .floating-shape-2 {
      width: 80px;
      height: 80px;
      background: linear-gradient(135deg, var(--titanium), transparent);
      border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
      top: 60%;
      left: 5%;
      animation: float 10s ease-in-out infinite reverse;
    }
    
    .floating-shape-3 {
      width: 60px;
      height: 60px;
      border: 2px solid var(--titanium-light);
      transform: rotate(45deg);
      top: 40%;
      right: 15%;
      animation: float 12s ease-in-out infinite;
    }
    
    /* Light mode - make floating shapes white */
    body.light-mode .floating-shape-1 {
      border-color: rgba(255, 255, 255, 1);
      border-width: 3px;
      opacity: 0.4;
      filter: drop-shadow(0 4px 24px rgba(255, 255, 255, 0.8));
    }
    
    body.light-mode .floating-shape-2 {
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.5));
      opacity: 0.4;
      filter: drop-shadow(0 4px 24px rgba(255, 255, 255, 0.7));
    }
    
    body.light-mode .floating-shape-3 {
      border-color: rgba(255, 255, 255, 1);
      border-width: 3px;
      opacity: 0.4;
      filter: drop-shadow(0 4px 24px rgba(255, 255, 255, 0.8));
    }
    
    @keyframes float {
      0%, 100% { transform: translate(0, 0) rotate(0deg); }
      25% { transform: translate(20px, -20px) rotate(5deg); }
      50% { transform: translate(-10px, -40px) rotate(-5deg); }
      75% { transform: translate(-20px, -20px) rotate(3deg); }
    }
    
    /* Section Dividers - Clean lines between sections */
    section::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 80%;
      max-width: 800px;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
      pointer-events: none;
      z-index: 10;
    }
    
    body.light-mode section::after {
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
      box-shadow: 0 1px 3px rgba(255, 255, 255, 0.6);
    }
    
    /* Decorative dot dividers - only in light mode to avoid conflicts */
    body.light-mode section:not(#about):not(#work):not(#process)::before {
      content: '';
      position: absolute;
      bottom: -6px;
      left: 50%;
      transform: translateX(-50%);
      width: 12px;
      height: 12px;
      background: rgba(255, 255, 255, 0.95);
      border-radius: 50%;
      pointer-events: none;
      z-index: 10;
      box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
    }
    
    /* Ta bort avdelare från footer och hero */
    footer::after,
    .hero::after {
      display: none;
    }
    
    /* Parallax-behållare */
    .parallax-container {
      position: relative;
      overflow: hidden;
    }
    
    .parallax-layer {
      position: absolute;
      inset: 0;
      will-change: transform;
    }
    
    /* Animerad textunderstrykning */
    .animated-link {
      position: relative;
      display: inline-block;
    }
    
    .animated-link::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 0%;
      height: 1px;
      background: var(--titanium);
      transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .animated-link:hover::after {
      width: 100%;
    }
    
    /* Partikel-canvas */
    #particleCanvas {
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 0;
      opacity: 0.6; /* Ökad från 0.3 för bättre synlighet */
    }
    
    /* Gör partiklar mer synliga i ljust läge */
    body.light-mode #particleCanvas {
      opacity: 0.5;
    }
    
    /* Kontaktsektionens partikel-canvas */
    #contactParticleCanvas {
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 0;
      opacity: 0.7;
    }
    
    body.light-mode #contactParticleCanvas {
      opacity: 0.6;
    }
    
    /* Gör kontaktsektion relativ för partikel-canvas */
    #contact {
      position: relative;
      overflow: hidden;
    }
    
    /* Flytande dekorativa linjer i kontaktsektion */
    .contact-lines {
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 0;
      overflow: hidden;
    }
    
    .contact-line {
      position: absolute;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
      height: 1px;
      opacity: 0.3;
      animation-timing-function: ease-in-out;
      animation-iteration-count: infinite;
      box-shadow: 0 0 6px rgba(255, 255, 255, 0.15);
      will-change: transform, opacity;
      transform: translate3d(0, 0, 0);
    }
    
    /* Mörkt läge linjer */
    body:not(.light-mode) .contact-line {
      background: linear-gradient(90deg, transparent, rgba(212, 209, 200, 0.2), transparent);
      box-shadow: 0 0 6px rgba(212, 209, 200, 0.1);
    }
    
    /* Individuella linjestil och animationer */
    .contact-line-1 {
      width: 200px;
      top: 15%;
      left: -200px;
      animation: floatLineRight 15s infinite;
      animation-delay: 0s;
    }
    
    .contact-line-2 {
      width: 150px;
      top: 35%;
      right: -150px;
      animation: floatLineLeft 18s infinite;
      animation-delay: 2s;
    }
    
    .contact-line-3 {
      width: 180px;
      top: 55%;
      left: -180px;
      animation: floatLineRight 20s infinite;
      animation-delay: 4s;
    }
    
    .contact-line-4 {
      width: 220px;
      top: 75%;
      right: -220px;
      animation: floatLineLeft 16s infinite;
      animation-delay: 1s;
    }
    
    .contact-line-5 {
      width: 160px;
      top: 25%;
      left: -160px;
      animation: floatLineRight 22s infinite;
      animation-delay: 6s;
    }
    
    .contact-line-6 {
      width: 190px;
      top: 65%;
      right: -190px;
      animation: floatLineLeft 19s infinite;
      animation-delay: 3s;
    }
    
    /* Flytande animationer */
    @keyframes floatLineRight {
      0% {
        transform: translate3d(0, 0, 0);
        opacity: 0;
      }
      10% {
        opacity: 0.4;
      }
      50% {
        transform: translate3d(calc(100vw + 200px), -20px, 0);
        opacity: 0.4;
      }
      90% {
        opacity: 0.4;
      }
      100% {
        transform: translate3d(calc(100vw + 400px), -40px, 0);
        opacity: 0;
      }
    }
    
    @keyframes floatLineLeft {
      0% {
        transform: translate3d(0, 0, 0);
        opacity: 0;
      }
      10% {
        opacity: 0.4;
      }
      50% {
        transform: translate3d(calc(-100vw - 200px), 20px, 0);
        opacity: 0.4;
      }
      90% {
        opacity: 0.4;
      }
      100% {
        transform: translate3d(calc(-100vw - 400px), 40px, 0);
        opacity: 0;
      }
    }
    
    /* Ljust läge - gör linjer VITA på persikobakgrund */
    body.light-mode .contact-line {
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
      opacity: 0.5;
      height: 2px;
      box-shadow: 0 0 12px rgba(255, 255, 255, 0.5), 0 0 24px rgba(255, 255, 255, 0.2);
    }
    
    /* Konami påskägg */
    .konami-active {
      animation: konami-rainbow 2s linear infinite;
    }
    
    @keyframes konami-rainbow {
      0% { filter: hue-rotate(0deg); }
      100% { filter: hue-rotate(360deg); }
    }
    
    .konami-message {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) scale(0);
      background: rgba(0, 0, 0, 0.95);
      padding: 40px 60px;
      border-radius: 20px;
      border: 2px solid var(--titanium);
      z-index: 100000;
      font-size: 32px;
      color: var(--titanium);
      text-align: center;
      animation: konamiPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    }
    
    @keyframes konamiPop {
      0% { transform: translate(-50%, -50%) scale(0) rotate(-180deg); opacity: 0; }
      100% { transform: translate(-50%, -50%) scale(1) rotate(0deg); opacity: 1; }
    }
    
    /* Respektera reducerad rörelse */
    @media (prefers-reduced-motion: reduce) {
      .custom-cursor,
      .reveal,
      .reveal-left,
      .reveal-right,
      .floating-shape,
      .animated-link::after,
      .konami-active,
      .konami-message {
        animation: none !important;
        transition: none !important;
      }
      
      .reveal, .reveal-left, .reveal-right {
        opacity: 1 !important;
        transform: none !important;
      }
      
      /* Håll kontakt-blob synlig även med reducerad rörelse */
      #contact .section-label::before,
      #contact .section-label::after {
        opacity: 1 !important;
        animation: none !important;
        transform: translate(-50%, -50%) !important;
      }
    }
    
    /* Mobil prestandaoptimeringar */
    @media (max-width: 768px) {
      /* Inaktivera dyrt backdrop-filter på mobil */
      .nav,
      .mobile-menu,
      .section-alt,
      .form-grid,
      .process-item,
      .about-text,
      input,
      textarea {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
      }
      
      /* Förenkla kortbakgrund på mobil mörkt läge men behåll synlighet */
      .about-text {
        background: rgba(26, 26, 26, 0.8);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.1);
      }
      
      .about-text::after,
      .about-text::before {
        display: none;
      }
      
      body.light-mode .about-text {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(0, 0, 0, 0.1);
      }
      
      /* Förenkla nav-bakgrund */
      .nav {
        background: rgba(10, 10, 10, 0.95);
      }
      
      body.light-mode .nav {
        background: rgba(250, 247, 242, 0.95);
      }
      
      /* Förenkla mobilmeny */
      .mobile-menu {
        background: rgba(10, 10, 10, 0.98);
      }
      
      body.light-mode .mobile-menu {
        background: rgba(250, 247, 242, 0.98);
      }
      
      /* Förenkla sektionsbakgrunder */
      .section-alt {
        background: rgba(15, 15, 15, 0.9);
      }
      
      body.light-mode .section-alt {
        background: #ddd0bf;
      }
      
      /* Förenkla formulärinmatningar */
      input, textarea {
        background: rgba(15, 15, 15, 0.8);
      }
      
      body.light-mode input,
      body.light-mode textarea {
        background: #f5f1eb;
      }
      
      /* Dölj anpassad markör på mobil */
      .custom-cursor {
        display: none !important;
      }
      
      /* Minska skuggkomplexitet */
      .card:hover,
      .btn:hover,
      .cta:hover {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
      }
      
      /* Inaktivera parallax på mobil för bättre scrollning */
      .floating-shape {
        transform: none !important;
      }
      
      /* Optimera canvas-rendering */
      #weaveCanvas,
      #particleCanvas {
        will-change: auto;
      }
      
      /* Håll kontakt-blob synlig på mobil med optimerade skuggor */
      #contact .section-label::before,
      #contact .section-label::after {
        display: block !important;
        opacity: 1 !important;
      }
      
      body.light-mode #contact .section-label::before {
        filter: drop-shadow(0 4px 16px rgba(255, 255, 255, 0.85)) !important;
        border-width: 3px !important;
        background: rgba(255, 255, 255, 0.12) !important;
        border-color: rgba(255, 255, 255, 1) !important;
      }
      
      body.light-mode #contact .section-label::after {
        filter: drop-shadow(0 4px 16px rgba(255, 255, 255, 0.75)) !important;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.45)) !important;
      }
      
      /* Mörkt läge kontakt-blob på mobil */
      #contact .section-label::before {
        filter: drop-shadow(0 4px 16px rgba(255, 255, 255, 0.35)) !important;
        border-width: 3px !important;
        border-color: rgba(255, 255, 255, 0.7) !important;
        background: rgba(255, 255, 255, 0.12) !important;
      }
      
      #contact .section-label::after {
        filter: drop-shadow(0 4px 16px rgba(255, 255, 255, 0.25)) !important;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08)) !important;
      }
      
      /* Förenkla blob-animationer på mobil för bättre prestanda */
      .section-label::before,
      .section-label::after {
        animation-duration: 8s !important;
      }
    }
    
    /* Prestandatips för animationer */
    .cta,
    .btn,
    .card,
    .mobile-menu-link,
    .hamburger,
    .theme-toggle-slider {
      will-change: transform;
    }
    
    .cta::before,
    .btn::before {
      will-change: transform;
    }
    
    /* Shimmer och flyt-animationer optimerade */
    .about-text {
      will-change: transform;
    }
    
    .about-text::before,
    .about-text::after {
      will-change: transform, opacity;
    }
    
    /* Tillbaka till toppen-knapp */
    .back-to-top {
      position: fixed;
      bottom: 40px;
      right: 40px;
      width: 56px;
      height: 56px;
      background: rgba(26, 26, 26, 0.9);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: none;
      z-index: 9999;
      opacity: 0;
      visibility: hidden;
      transform: translateY(20px) scale(0.8);
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
      border: 1px solid rgba(255, 255, 255, 0.15);
    }
    
    .back-to-top.visible {
      opacity: 1;
      visibility: visible;
      transform: translateY(0) scale(1);
    }
    
    .back-to-top::before {
      content: '';
      width: 12px;
      height: 12px;
      border-top: 2px solid var(--titanium);
      border-right: 2px solid var(--titanium);
      transform: rotate(-45deg);
      margin-top: 4px;
    }
    
    @media (hover: hover) {
      .back-to-top:hover {
        transform: translateY(-4px) scale(1.05);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
        background: rgba(26, 26, 26, 1);
      }
    }
    
    body.light-mode .back-to-top {
      background: rgba(255, 255, 255, 0.95);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
      border: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    body.light-mode .back-to-top::before {
      border-top-color: #1a1a1a;
      border-right-color: #1a1a1a;
    }
    
    body.light-mode .back-to-top:hover {
      background: rgba(255, 255, 255, 1);
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    }
    
    /* Mobiljusteringar */
    @media (max-width: 768px) {
      .back-to-top {
        bottom: 24px;
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(20px) scale(0.8);
        width: 48px;
        height: 48px;
      }
      
      .back-to-top.visible {
        transform: translateX(-50%) translateY(0) scale(1);
      }
      
      .back-to-top:hover {
        transform: translateX(-50%) translateY(-4px) scale(1.05);
      }
      
      .back-to-top::before {
        width: 10px;
        height: 10px;
      }
    }

    /* Cookie-samtyckesbanner */
    .cookie-consent {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background: rgba(26, 26, 26, 0.98);
      backdrop-filter: blur(20px);
      border-top: 1px solid rgba(212, 209, 200, 0.2);
      padding: 24px;
      z-index: 10000;
      transform: translateY(100%);
      transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
      box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
    }
    
    .cookie-consent.show {
      transform: translateY(0);
    }
    
    .cookie-consent-content {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 32px;
    }
    
    .cookie-consent-text {
      flex: 1;
    }
    
    .cookie-consent-text p {
      color: var(--gray-800);
      font-size: 14px;
      line-height: 1.6;
      margin: 0 0 8px 0;
    }
    
    .cookie-policy-link {
      color: var(--titanium);
      text-decoration: none;
      font-size: 13px;
      border-bottom: 1px solid transparent;
      transition: border-color 0.2s ease;
    }
    
    .cookie-policy-link:hover {
      border-bottom-color: var(--titanium);
    }
    
    .cookie-consent-actions {
      display: flex;
      gap: 12px;
      flex-shrink: 0;
    }
    
    .cookie-btn {
      padding: 12px 28px;
      font-size: 13px;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      font-weight: 500;
      letter-spacing: 0.5px;
      border: none;
      cursor: pointer;
      transition: all 0.3s ease;
      text-transform: uppercase;
      border-radius: 2px;
    }
    
    .cookie-btn-accept {
      background: var(--titanium);
      color: #0a0a0a;
    }
    
    .cookie-btn-accept:hover {
      background: var(--titanium-light);
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(212, 209, 200, 0.3);
    }
    
    .cookie-btn-decline {
      background: transparent;
      color: var(--gray-600);
      border: 1px solid var(--gray-200);
    }
    
    .cookie-btn-decline:hover {
      background: rgba(255, 255, 255, 0.05);
      border-color: var(--gray-400);
      color: var(--gray-800);
    }
    
    /* Ljust läge stilar */
    body.light-mode .cookie-consent {
      background: rgba(255, 255, 255, 0.98);
      border-top: 1px solid rgba(0, 0, 0, 0.1);
      box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.1);
    }
    
    body.light-mode .cookie-consent-text p {
      color: #333;
    }
    
    body.light-mode .cookie-policy-link {
      color: #1a1a1a;
    }
    
    body.light-mode .cookie-btn-accept {
      background: #1a1a1a;
      color: #ffffff;
    }
    
    body.light-mode .cookie-btn-accept:hover {
      background: #000000;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
    
    body.light-mode .cookie-btn-decline {
      color: #666;
      border: 1px solid #d4d4d4;
    }
    
    body.light-mode .cookie-btn-decline:hover {
      background: rgba(0, 0, 0, 0.05);
      border-color: #999;
      color: #333;
    }
    
    /* Mobilresponsiv */
    @media (max-width: 768px) {
      .cookie-consent {
        padding: 20px 16px;
      }
      
      .cookie-consent-content {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
      }
      
      .cookie-consent-text p {
        font-size: 13px;
      }
      
      .cookie-policy-link {
        font-size: 12px;
      }
      
      .cookie-consent-actions {
        width: 100%;
        flex-direction: column;
      }
      
      .cookie-btn {
        width: 100%;
        padding: 14px 24px;
      }
    }
    
    /* Desktop-specific adjustments for decorative elements */
    @media (min-width: 1024px) {
      /* Further reduce contact line intensity on desktop */
      .contact-line {
        opacity: 0.25;
        height: 1px;
      }
      
      body.light-mode .contact-line {
        opacity: 0.4;
        height: 1.5px;
      }
      
      /* Subtle stem elements on desktop */
      .stem {
        opacity: 0.5;
        width: 2px;
      }
      
      body.light-mode .stem {
        opacity: 0.3;
        width: 2px;
      }
      
      .stem-knot {
        width: 8px;
        height: 8px;
        opacity: 0.6;
      }
      
      body.light-mode .stem-knot {
        width: 10px;
        height: 10px;
        opacity: 0.4;
      }
    }
    
    /* Extra large desktop - even more subtle */
    @media (min-width: 1440px) {
      .contact-line {
        opacity: 0.2;
      }
      
      body.light-mode .contact-line {
        opacity: 0.35;
      }
      
      .stem {
        opacity: 0.4;
      }
      
      body.light-mode .stem {
        opacity: 0.25;
      }
    }

