  :root {
    --bg: #f4f3f0;
    --bg-dark: #0a0a0a;
    --surface: #eae9e5;
    --surface-dark: #111;
    --border: #d8d6d0;
    --border-dark: #222;
    --text: #0a0a0a;
    --text-light: #f4f3f0;
    --text-dim: #666;
    --text-muted: #999;
    --accent-dark: #4472C4;
    --accent: #5B8DEF;
    --warm-gray: #c0beb8;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scrollbar-width: thin; scrollbar-color: var(--warm-gray) transparent; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  body.intro-active { overflow: hidden; }

  /* ═══════════════════════════════════════════ */
  /* INTRO OVERLAY                               */
  /* ═══════════════════════════════════════════ */
  #intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: var(--bg-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  /* Design-tool canvas background */
  #intro-canvas {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0;
  }

  /* SVG text layer — above canvas/grid */
  #intro-text-svg {
    position: absolute;
    inset: 0;
    z-index: 5;
    width: 100%;
    height: 100%;
  }

  /* Mark construction area — centered, above canvas/guides */
  #intro-mark-stage {
    position: absolute;
    z-index: 10;
    width: clamp(120px, 16vw, 200px);
    height: clamp(120px, 16vw, 200px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
  }

  #intro-mark-svg {
    width: 100%;
    height: 100%;
  }

  /* Design tool UI panels */
  .tool-panel {
    position: absolute;
    z-index: 5;
    font-family: 'Space Mono', monospace;
    opacity: 0;
    pointer-events: none;
  }

  #color-values-panel {
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(20,20,20,0.85);
    backdrop-filter: blur(8px);
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 16px 18px;
    min-width: 155px;
  }
  .cv-title {
    font-size: 8px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #222;
  }
  .cv-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 9px;
  }
  .cv-label { color: #666; letter-spacing: 1px; }
  .cv-val { color: #ccc; font-weight: 700; }
  .cv-section { margin-top: 10px; padding-top: 8px; border-top: 1px solid #222; }
  .cv-hex {
    display: flex; align-items: center; gap: 8px;
    margin-top: 10px; padding-top: 8px; border-top: 1px solid #222;
    font-size: 10px; color: #ccc; font-weight: 700;
  }
  .cv-hex-dot {
    width: 12px; height: 12px; border-radius: 3px;
    border: 1px solid rgba(255,255,255,0.1);
  }

  #palette-panel {
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(20,20,20,0.85);
    backdrop-filter: blur(8px);
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 16px 18px;
  }
  .pp-title {
    font-size: 8px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #222;
  }
  .pp-swatches {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 10px;
  }
  .pp-swatch {
    width: 22px; height: 22px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.1);
    cursor: default;
  }
  .pp-swatch.active {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }
  .pp-active-label {
    font-size: 8px;
    letter-spacing: 1px;
    color: #666;
    text-transform: uppercase;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #222;
    text-align: center;
  }

  /* Skip button */
  #intro-skip {
    position: absolute;
    bottom: 32px;
    right: 40px;
    z-index: 20;
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #555;
    background: none;
    border: 1px solid #333;
    padding: 10px 24px;
    cursor: pointer;
    transition: color 0.3s, border-color 0.3s, opacity 0.4s;
  }
  #intro-skip:hover {
    color: #fff;
    border-color: #fff;
  }

  /* Progress bar */
  #intro-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 20;
    background: rgba(255,255,255,0.06);
  }
  #intro-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--accent);
    transition: width 0.1s linear;
  }

  /* Paint bucket cursor */
  #paint-bucket {
    position: absolute;
    z-index: 6;
    opacity: 0;
    pointer-events: none;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.15));
  }

  /* ═══════════════════════════════════════════ */
  /* NAV                                         */
  /* ═══════════════════════════════════════════ */
  #nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 900;
    padding: 20px max(40px, calc((100% - 1100px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(-20px);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(244, 243, 240, 0.85);
    border-bottom: 1px solid rgba(216, 214, 208, 0.5);
    transition: background 0.4s, border-color 0.4s;
  }
  #nav.nav-dark {
    background: rgba(10, 10, 10, 0.9);
    border-bottom-color: rgba(34, 34, 34, 0.5);
  }
  #nav.nav-dark .nav-link { color: var(--text-light); }
  #nav.nav-dark .nav-link:hover { color: var(--accent); }
  #nav.nav-dark .nav-logo-sub { color: #666; }
  #nav.nav-dark .nav-logo-name { color: var(--text-light); }
  #nav.nav-dark .nav-burger span { background: var(--text-light); }

  .nav-logo {
    display: flex; align-items: center; gap: 14px; text-decoration: none;
  }
  .nav-logo svg { width: 32px; height: 32px; }
  .nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
  .nav-logo-sub {
    font-size: 8px; font-weight: 400; letter-spacing: 2px;
    text-transform: lowercase; color: var(--text-dim); margin-bottom: 2px;
  }
  .nav-logo-name {
    font-size: 14px; font-weight: 500; letter-spacing: 5px;
    text-transform: uppercase; color: var(--text);
  }
  .nav-links { display: flex; gap: 36px; list-style: none; }
  .nav-link {
    font-family: 'Space Mono', monospace; font-size: 11px;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--text); text-decoration: none; transition: color 0.3s;
    position: relative;
  }
  .nav-link::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 1px; background: var(--accent); transition: width 0.3s;
  }
  .nav-link:hover { color: var(--accent); }
  .nav-link:hover::after { width: 100%; }

  .nav-burger {
    display: none; flex-direction: column; gap: 5px;
    cursor: pointer; background: none; border: none; padding: 4px;
  }
  .nav-burger span {
    width: 22px; height: 1.5px; background: var(--text);
    transition: all 0.3s; display: block;
  }

  /* ═══════════════════════════════════════════ */
  /* HERO                                        */
  /* ═══════════════════════════════════════════ */
  #hero {
    min-height: 100vh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    position: relative;
    padding: 100px 40px 80px;
    background: var(--bg);
    text-align: center;
    overflow: hidden;
  }

  /* Gradient blobs */
  .hero-blobs {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    contain: strict;
  }
  .hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.22;
    will-change: transform;
  }
  .hero-blob--1 {
    width: 500px; height: 500px;
    background: var(--accent);
    top: -10%; left: -8%;
    animation: blobFloat1 18s ease-in-out infinite alternate;
  }
  .hero-blob--2 {
    width: 400px; height: 400px;
    background: #8b5cf6;
    bottom: -12%; right: -6%;
    animation: blobFloat2 22s ease-in-out infinite alternate;
  }
  .hero-blob--3 {
    width: 300px; height: 300px;
    background: #14b8a6;
    top: 40%; left: 55%;
    animation: blobFloat3 20s ease-in-out infinite alternate;
  }
  @keyframes blobFloat1 {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(80px, 60px) scale(1.15); }
  }
  @keyframes blobFloat2 {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-60px, -50px) scale(1.1); }
  }
  @keyframes blobFloat3 {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-40px, 40px) scale(1.2); }
  }

  /* Noise/grain overlay */
  .hero-noise {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.12;
    contain: strict;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 128px 128px;
  }
  .hero-lockup {
    display: flex; flex-direction: column; align-items: center;
    gap: 6px; margin-bottom: 48px; opacity: 0;
    position: relative; z-index: 1;
  }
  .hero-lockup svg { width: 56px; height: 56px; margin-bottom: 16px; }
  .hero-lockup-sub {
    font-size: 12px; font-weight: 400; letter-spacing: 5px;
    text-transform: lowercase; color: var(--text-dim);
  }
  .hero-lockup-name {
    font-size: 28px; font-weight: 500; letter-spacing: 8px;
    text-transform: uppercase;
  }
  .hero-tagline {
    font-size: clamp(15px, 2vw, 18px); font-weight: 300;
    color: var(--text-dim); line-height: 1.8;
    max-width: 480px; margin-bottom: 48px; opacity: 0;
    position: relative; z-index: 1;
  }
  .hero-cta {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: 'Space Mono', monospace; font-size: 11px;
    letter-spacing: 3px; text-transform: uppercase;
    color: var(--text); text-decoration: none;
    padding: 16px 36px; border: 1px solid var(--text);
    transition: all 0.4s; opacity: 0;
    position: relative; z-index: 1;
  }
  .hero-cta:hover { background: var(--text); color: var(--bg); }
  .hero-cta svg { width: 14px; height: 14px; transition: transform 0.3s; }
  .hero-cta:hover svg { transform: translateX(4px); }

  .hero-scroll-hint {
    position: absolute; bottom: 32px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center;
    gap: 8px; opacity: 0;
    z-index: 1;
  }
  .hero-scroll-hint span {
    font-family: 'Space Mono', monospace; font-size: 8px;
    letter-spacing: 3px; text-transform: uppercase; color: var(--text-muted);
  }
  .scroll-line {
    width: 1px; height: 32px;
    background: linear-gradient(to bottom, var(--warm-gray), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
  }
  @keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
  }

  /* ═══════════════════════════════════════════ */
  /* SECTIONS                                    */
  /* ═══════════════════════════════════════════ */
  .section { padding: clamp(80px, 12vw, 160px) clamp(24px, 5vw, 80px); }
  .section-header { max-width: 1100px; margin: 0 auto 80px; }
  .section-num {
    font-family: 'Space Mono', monospace; font-size: 11px;
    letter-spacing: 3px; color: var(--text-muted); margin-bottom: 12px; display: block;
  }
  .section-title {
    font-size: clamp(32px, 5vw, 56px); font-weight: 400;
    letter-spacing: -1px; margin-bottom: 24px; line-height: 1.1;
  }
  .section-subtitle {
    font-size: 15px; font-weight: 300; color: var(--text-dim);
    max-width: 600px; line-height: 1.8;
  }

  /* Services (dark) */
  #leistungen { background: var(--bg-dark); color: var(--text-light); }
  #leistungen .section-num { color: #444; }
  #leistungen .section-subtitle { color: #888; }

  .services-grid {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
  .service-card {
    background: var(--bg-dark); padding: 48px 32px;
    display: flex; flex-direction: column; gap: 20px;
    transition: background 0.4s; position: relative; overflow: hidden;
    border-right: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
  }
  .service-card:nth-child(4n) { border-right: none; }
  .service-card:nth-last-child(-n+4) { border-bottom: none; }
  .service-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 100%; height: 2px; background: var(--accent);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .service-card:hover::before { transform: scaleX(1); }
  .service-card:hover { background: var(--surface-dark); }
  .service-num {
    font-family: 'Space Mono', monospace; font-size: 32px;
    font-weight: 700; color: #1a1a1a; line-height: 1; transition: color 0.4s;
  }
  .service-card:hover .service-num { color: var(--accent-dark); }
  .service-icon {
    width: 40px; height: 40px; color: var(--accent);
  }
  .service-icon .draw {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
  }
  .service-card.drawn .service-icon .draw {
    animation: drawStroke 6s ease-in-out infinite alternate;
  }
  @keyframes drawStroke {
    0% { stroke-dashoffset: 200; }
    100% { stroke-dashoffset: 0; }
  }
  .service-name { font-size: 18px; font-weight: 500; letter-spacing: 0.5px; }
  .service-desc { font-size: 13px; color: #666; line-height: 1.7; }

  /* About (light) */
  .about-layout {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: stretch;
  }
  .about-image {
    aspect-ratio: 3/4; background: var(--surface); border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
  }
  .about-image img {
    width: 100%; height: 100%; object-fit: cover;
  }
  .about-image-placeholder {
    font-family: 'Space Mono', monospace; font-size: 10px;
    letter-spacing: 3px; text-transform: uppercase; color: var(--warm-gray);
  }
  .about-text { padding-top: 0; display: flex; flex-direction: column; justify-content: space-between; }
  .about-text p { font-size: 16px; color: var(--text-dim); line-height: 1.9; margin-bottom: 32px; }
  .about-text p:first-of-type { font-size: 16px; color: var(--text); font-weight: 400; line-height: 1.9; }

  .values-grid { display: grid; gap: 24px; margin-top: auto; }
  .value-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 28px 0; border-top: 1px solid var(--border);
  }
  .value-left { display: flex; gap: 20px; align-items: flex-start; flex: 1; }
  .value-num { font-family: 'Space Mono', monospace; font-size: 11px; color: var(--accent); flex-shrink: 0; padding-top: 2px; }
  .value-content h4 { font-size: 15px; font-weight: 500; margin-bottom: 6px; }
  .value-content p { font-size: 13px !important; color: var(--text-dim) !important; margin-bottom: 0 !important; }
  .value-icon {
    width: 48px; height: 48px; color: var(--accent); flex-shrink: 0; margin-left: 32px;
  }
  .value-icon .draw {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
  }
  .value-item.drawn .value-icon .draw {
    animation: drawStroke 6s ease-in-out infinite alternate;
  }

  /* Reduce top padding after marquee */
  .marquee-section + .section {
    padding-top: clamp(40px, 6vw, 80px);
  }

  /* Marquee */
  .marquee-section {
    background: var(--bg-dark);
    padding: 20px 0;
    overflow: hidden;
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
  }
  .marquee-track {
    display: flex;
    gap: 48px;
    animation: marquee 40s linear infinite;
    width: max-content;
  }
  .marquee-item {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #555;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .marquee-item::after {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #333;
    flex-shrink: 0;
    margin-left: 38px;
  }
  .marquee-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    filter: brightness(0) invert(1) opacity(0.45);
  }
  .marquee-icon[src*="simpleicons"], .marquee-icon[src*="iconify"] {
    filter: none;
  }
  .marquee-icon[src*="assets/"] {
    filter: grayscale(1) brightness(0.5);
  }
  @keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

  /* Contact (dark) */
  #kontakt { background: var(--bg-dark); color: var(--text-light); }
  #kontakt .section-num { color: #444; }
  #kontakt .section-subtitle { color: #888; }
  #kontakt .section-header { margin-bottom: 32px; }

  .contact-layout {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
  }
  .contact-info p { font-size: 16px; color: #888; line-height: 1.9; margin-bottom: 48px; }
  .contact-detail { margin-bottom: 32px; }
  .contact-detail-label {
    font-family: 'Space Mono', monospace; font-size: 9px;
    letter-spacing: 3px; text-transform: uppercase; color: #444; margin-bottom: 8px;
  }
  .contact-detail-value { font-size: 16px; }
  .contact-detail-value a { color: var(--accent); text-decoration: none; transition: opacity 0.3s; }
  .contact-detail-value a:hover { opacity: 0.7; }

  .contact-form { display: flex; flex-direction: column; gap: 24px; margin-top: -86px; }
  .form-group label {
    display: block; font-family: 'Space Mono', monospace; font-size: 9px;
    letter-spacing: 3px; text-transform: uppercase; color: #555; margin-bottom: 10px;
  }
  .form-group input, .form-group textarea {
    width: 100%; background: transparent; border: none;
    border-bottom: 1px solid #222; padding: 12px 0;
    font-family: 'DM Sans', sans-serif; font-size: 16px;
    font-weight: 300; color: var(--text-light); outline: none;
    transition: border-color 0.3s; resize: none;
  }
  .form-group input:focus, .form-group textarea:focus { border-bottom-color: var(--accent); }
  .form-group input::placeholder, .form-group textarea::placeholder { color: #333; }

  .form-submit {
    align-self: flex-start; font-family: 'Space Mono', monospace;
    font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
    color: var(--bg-dark); background: var(--accent); border: none;
    padding: 18px 48px; cursor: pointer; transition: all 0.4s; margin-top: 4px;
  }
  .form-submit:hover { background: #fff; color: var(--bg-dark); }
  .form-submit:disabled { opacity: 0.5; cursor: not-allowed; }
  .contact-status {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 1px;
    padding: 0;
    margin-top: -16px;
  }
  .contact-status:empty { display: none; }
  .contact-status--success { color: #2ecc71; }
  .contact-status--error { color: #e05555; }

  /* Footer */
  /* Legal pages (Impressum, Datenschutz) */
  .legal-page {
    padding: 140px 24px 80px;
  }
  .legal-content {
    max-width: 1100px;
    margin: 0 auto;
  }
  .legal-content h1 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 400;
    letter-spacing: -0.5px;
    margin-bottom: 48px;
  }
  .legal-content h2 {
    font-size: 18px;
    font-weight: 500;
    margin-top: 40px;
    margin-bottom: 16px;
  }
  .legal-content h3 {
    font-size: 15px;
    font-weight: 500;
    margin-top: 28px;
    margin-bottom: 10px;
  }
  .legal-content p {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-dim);
    margin-bottom: 12px;
  }
  .legal-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 16px;
  }
  .legal-content ul li {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-dim);
    padding-left: 16px;
    position: relative;
  }
  .legal-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
  }
  .legal-content a {
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.3s;
  }
  .legal-content a:hover { opacity: 0.7; }
  .legal-content em {
    font-style: italic;
    color: var(--text-muted);
    font-size: 13px;
  }
  .legal-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 64px 0;
  }

  .footer {
    background: var(--bg-dark); border-top: 1px solid var(--border-dark);
    padding: 48px 40px;
  }
  .footer-inner {
    max-width: 1100px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
  }
  .footer-left { display: flex; align-items: center; gap: 14px; }
  .footer-left svg { width: 24px; height: 24px; }
  .footer-text { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: 2px; color: #333; text-transform: uppercase; }
  .footer-copy { font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: 2px; color: #333; }
  .footer-right { display: flex; align-items: center; gap: 20px; font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: 2px; color: #333; }
  .footer-right a { color: #555; text-decoration: none; transition: color 0.3s; }
  .footer-right a:hover { color: var(--accent); }

  /* Responsive */
  @media (max-width: 900px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .service-card:nth-child(4n) { border-right: 1px solid var(--border-dark); }
    .service-card:nth-child(2n) { border-right: none; }
    .service-card:nth-last-child(-n+4) { border-bottom: 1px solid var(--border-dark); }
    .service-card:nth-last-child(-n+2) { border-bottom: none; }
    .about-layout, .contact-layout { grid-template-columns: 1fr; gap: 48px; }
    .contact-form { margin-top: 0; }
    #nav { padding: 16px 24px; }
    .nav-links {
      display: none; position: absolute; top: 100%; left: 0; right: 0;
      background: var(--bg); flex-direction: column; padding: 32px 24px; gap: 28px;
      border-bottom: 1px solid var(--border);
    }
    .nav-link { font-size: 14px; letter-spacing: 3px; }
    #nav.nav-dark .nav-links { background: var(--bg-dark); border-bottom-color: var(--border-dark); }
    .nav-links.open { display: flex; }
    .nav-burger { display: flex; }
    .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
    .footer-right { flex-direction: column; gap: 8px; }

    /* ── Intro: Tablet adjustments ── */
    #color-values-panel {
      left: 3%;
      padding: 12px 14px;
      min-width: 130px;
    }
    #palette-panel {
      right: 3%;
      padding: 12px 14px;
    }
  }
  @media (max-width: 600px) {
    .services-grid { grid-template-columns: 1fr; }
    .service-card { padding: 32px 24px; border-right: none !important; }
    .service-card:nth-last-child(-n+2) { border-bottom: 1px solid var(--border-dark); }
    .service-card:last-child { border-bottom: none; }
    .service-card::before { transform: scaleX(0); }
    .service-card.service-card-active::before { transform: scaleX(1); }
    .service-card.service-card-active { background: var(--surface-dark); }
    .service-card.service-card-active .service-num { color: var(--accent-dark); }
    #hero { padding: 80px 24px 60px; }
    .hero-lockup svg { width: 44px; height: 44px; margin-bottom: 12px; }
    .hero-lockup-name { font-size: 22px; letter-spacing: 6px; }
    .hero-tagline { font-size: 14px; margin-bottom: 36px; }

    /* ── Intro: Mobile adjustments ── */

    /* Mark stage size/position set dynamically via JS */

    /* Both panels: side by side, bottom center on mobile */
    #color-values-panel {
      left: auto;
      right: calc(50% + 5px);
      top: auto;
      bottom: 14px;
      transform: none;
      padding: 12px 14px;
      min-width: auto;
      border-radius: 8px;
    }
    #color-values-panel .cv-title {
      font-size: 7px;
      letter-spacing: 2px;
      margin-bottom: 8px;
      padding-bottom: 6px;
    }
    #color-values-panel .cv-row {
      font-size: 9px;
      margin-bottom: 4px;
    }
    /* Hide CMYK section on mobile to keep panel compact */
    #color-values-panel .cv-section {
      display: none;
    }
    #color-values-panel .cv-hex {
      margin-top: 8px;
      padding-top: 6px;
      font-size: 10px;
      gap: 6px;
    }
    #color-values-panel .cv-hex-dot {
      width: 11px;
      height: 11px;
    }

    #palette-panel {
      left: calc(50% + 5px);
      right: auto;
      top: auto;
      bottom: 14px;
      transform: none;
      padding: 12px 14px;
      border-radius: 8px;
    }
    #palette-panel .pp-title {
      font-size: 7px;
      letter-spacing: 2px;
      margin-bottom: 8px;
      padding-bottom: 6px;
    }
    .pp-swatches {
      gap: 5px;
      margin-bottom: 8px;
    }
    .pp-swatch {
      width: 20px;
      height: 20px;
      border-radius: 4px;
    }
    .pp-active-label {
      font-size: 7px;
      margin-top: 8px;
      padding-top: 6px;
    }

    /* Guides & measurements smaller */
    #canvas-measurements text {
      font-size: 6px !important;
    }

    /* Brandmark description labels on mobile */
    .mark-desc {
      font-size: 11px !important;
      letter-spacing: 3px !important;
      bottom: -46px !important;
    }

    /* Skip button on mobile */
    #intro-skip {
      bottom: 32px;
      right: 20px;
    }

    /* Paint bucket on mobile */
    #paint-bucket {
      width: 30px !important;
      height: 30px !important;
    }
  }

  .reveal { opacity: 0; transform: translateY(40px); }

  /* ═══════════════════════════════════════════ */
  /* PROJECTS GRID                               */
  /* ═══════════════════════════════════════════ */
  .projects-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .project-card {
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
  }
  .project-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
  }
  .project-card:hover::before { transform: scaleX(1); }
  .project-card.project-card-active::before { transform: scaleX(1); }

  .project-card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--surface);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .project-card:hover .project-card-image img,
  .project-card.project-card-active .project-card-image img {
    transform: scale(1.03);
  }
  .project-card-placeholder {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--warm-gray);
  }

  .project-card-info { padding: 20px 0 0; }

  .project-card-category {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: 8px;
  }
  .project-card-title {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.5px;
  }

  .project-card--hidden { display: none; }
  .projects-more {
    max-width: 1100px;
    margin: 48px auto 0;
    text-align: center;
  }
  .btn-show-more {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text);
    background: none;
    border: 1px solid var(--border);
    padding: 14px 40px;
    cursor: pointer;
    transition: border-color 0.3s, color 0.3s;
  }
  .btn-show-more:hover {
    border-color: var(--accent);
    color: var(--accent);
  }

  /* ═══════════════════════════════════════════ */
  /* PROJECT DETAIL PAGE                         */
  /* ═══════════════════════════════════════════ */
  .projekt-detail { padding: 100px 24px 0; }

  .projekt-hero {
    padding: clamp(40px, 8vw, 100px) 0 48px;
    text-align: center;
  }
  .projekt-hero-inner { max-width: 700px; margin: 0 auto; }
  .projekt-category {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: 16px;
  }
  .projekt-title {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 400;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 20px;
  }
  .projekt-short-desc {
    font-size: 16px;
    font-weight: 300;
    color: var(--text-dim);
    line-height: 1.8;
  }

  .projekt-featured-image {
    max-width: 1100px;
    margin: 0 auto 64px;
  }
  .projekt-featured-image img {
    width: 100%;
    border-radius: 4px;
    background: var(--surface);
    min-height: 200px;
  }

  .projekt-content {
    max-width: 1100px;
    margin: 0 auto 64px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 64px;
    align-items: start;
  }

  .projekt-meta-item {
    margin-bottom: 24px;
  }
  .meta-label {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: 6px;
  }
  .meta-value {
    font-size: 15px;
    font-weight: 400;
  }
  .projekt-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
  }
  .tag {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border: 1px solid var(--border);
    border-radius: 3px;
    color: var(--text-dim);
  }
  .projekt-external-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    text-decoration: none;
    margin-top: 8px;
    transition: opacity 0.3s;
  }
  .projekt-external-link:hover { opacity: 0.7; }

  .projekt-description p {
    font-size: 16px;
    font-weight: 300;
    color: var(--text-dim);
    line-height: 1.9;
  }

  /* Section-based media layout with Masonry */
  .projekt-sections {
    max-width: 1100px;
    margin: 0 auto 64px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .projekt-section--1 { }
  .projekt-section--2v { }
  /* Masonry for multi-image sections */
  .projekt-section--2h,
  .projekt-section--4 {
    display: flex;
    gap: 16px;
  }
  .projekt-section--2h .masonry-col,
  .projekt-section--4 .masonry-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .projekt-section-item {
  }
  .projekt-section-item img {
    width: 100%;
    display: block;
    border-radius: 4px;
    background: var(--surface);
  }
  .projekt-section-item video {
    width: 100%;
    display: block;
    border-radius: 4px;
    background: #000;
  }

  /* Detail page reveal animations */
  .pd-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
  }
  .pd-reveal.pd-visible {
    opacity: 1;
    transform: translateY(0);
  }
  .pd-zoom {
    overflow: hidden;
  }
  .pd-zoom img {
    transform: scale(1.08);
    transition: transform 1.2s cubic-bezier(0.25, 0.1, 0.25, 1);
  }
  .pd-zoom.pd-visible img {
    transform: scale(1);
  }

  .projekt-nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 0;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .projekt-nav a {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.3s;
  }
  .projekt-nav a:hover { color: var(--accent); }

  /* Responsive additions */
  @media (max-width: 900px) {
    .projekt-content { grid-template-columns: 1fr; gap: 48px; }
  }
  @media (max-width: 600px) {
    .projekt-section--2h,
    .projekt-section--4 {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .projects-grid { grid-template-columns: 1fr; }
    .projekt-nav {
      flex-direction: column;
      gap: 20px;
      text-align: center;
    }
    .projekt-nav a, .projekt-nav span {
      display: block;
    }
  }
