   /* ─── Design Tokens ─────────────────────────────────────────── */
    :root {
      --bg:         #2c3440;
      --surface:    #364050;
      --surface-2:  #3d4858;
      --ink:        #e8e4dc;
      --ink-muted:  #9aaa9e;
      --teal:       #02D0CD;
      --teal-dark:  #01b0ae;
      --accent:     #88A9A7;
      --border:     rgba(255,255,255,.09);
      --card-body:  #1e3a3a;
      --card-text:  #b8d4d0;
      --radius:     5px;
      --font-head:  'DM Serif Display', Georgia, serif;
      --font-body:  'DM Sans', system-ui, sans-serif;
    }

    /* ─── Light Theme Override ───────────────────────────────────── */
    body.light {
      --bg:         #f2f0ec;
      --surface:    #ffffff;
      --surface-2:  #e8e4dc;
      --ink:        #1a1a18;
      --ink-muted:  #5a5a55;
      --teal:       #019997;
      --teal-dark:  #017a78;
      --border:     #d4cfc6;
      --card-body:  #dff0ee;
      --card-text:  #1a3a38;
    }

    /* ─── Theme Toggle Button ────────────────────────────────────── */
    .theme-toggle {
      margin-left: auto;
      background: none; border: 1px solid var(--border);
      color: var(--ink-muted); border-radius: 20px;
      padding: 3px 12px; font-family: var(--font-body);
      font-size: 11px; font-weight: 500; cursor: pointer;
      display: flex; align-items: center; gap: 5px;
      transition: background .2s, color .2s, border-color .2s;
      white-space: nowrap;
    }
    .theme-toggle:hover { background: var(--teal); color: #fff; border-color: var(--teal); }

    /* ─── Reset ─────────────────────────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: var(--font-body);
      background: var(--bg);
      color: var(--ink);
      font-size: 16px;
      line-height: 1.6;
    }
    img { display: block; max-width: 100%; height: auto; }
    a   { color: inherit; text-decoration: none; }
    a:hover { color: var(--teal); }

    /* ─── Utility ────────────────────────────────────────────────── */
    .container { max-width: 1100px; margin-inline: auto; padding-inline: 20px; }
    .section    { padding-block: 28px; }
    .divider    { border: none; border-top: 1px solid var(--border); margin-block: 0; }
    .tag        { font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }

    /* ─── Project tabs bar ───────────────────────────────────────── */
    .project-tabs {
      background: var(--surface-2);
      border-bottom: 1px solid var(--border);
      position: sticky; top: 0; z-index: 100;
    }
    .project-tabs .container {
      display: flex; align-items: center; gap: 24px;
      flex-wrap: wrap; padding-block: 3px;
    }
    .project-tabs .label {
      font-size: 11px; font-weight: 600; color: var(--teal);
      text-transform: uppercase; letter-spacing: .07em; white-space: nowrap;
    }
    .tabs-list {
      display: flex; gap: 2px; flex-wrap: wrap; list-style: none;
    }
    .tabs-list a {
      display: inline-block; padding: 6px 12px; font-size: 12px; font-weight: 500;
      color: var(--ink-muted); border-bottom: 2px solid transparent;
      transition: color .15s, border-color .15s;
    }
    .tabs-list a:hover { color: var(--ink); border-color: var(--teal); }

    /* ─── Secondary nav row (Start / Contact / windoffer.eu) ──────── */
    .site-subnav {
      background: var(--surface);
      border-bottom: 1px solid var(--border);
    }
    .site-subnav .container {
      display: flex; align-items: center; gap: 2px;
      height: 32px;
    }
    .nav-links {
      display: flex; align-items: center; gap: 2px;
      list-style: none;
    }
    .nav-links a {
      font-size: 11px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase;
      padding: 4px 10px; border-radius: var(--radius);
      color: var(--ink-muted); transition: background .15s, color .15s;
    }
    .nav-links a:hover { background: var(--surface-2); color: var(--ink); }

    /* Dropdown */
    .nav-dropdown { position: relative; }
    .nav-dropdown > a::after { content: " ▾"; font-size: 9px; opacity: .6; }
    .dropdown-panel {
      display: none; position: absolute; top: calc(100% + 4px); left: 0;
      background: var(--surface); border: 1px solid var(--border);
      border-radius: var(--radius); min-width: 200px;
      box-shadow: 0 8px 24px rgba(0,0,0,.15); z-index: 50;
    }
    .dropdown-panel a {
      display: block; padding: 9px 14px; font-size: 13px;
      border-bottom: 1px solid var(--border); color: var(--ink-muted);
      transition: background .15s, color .15s;
    }
    .dropdown-panel li:last-child a { border-bottom: none; }
    .dropdown-panel a:hover { background: var(--surface-2); color: var(--ink); }
    .nav-dropdown:hover .dropdown-panel { display: block; }

    /* ─── Hero / Header ──────────────────────────────────────────── */
    .site-hero {
      background: var(--bg);
      padding-block: 20px 16px;
      border-bottom: 1px solid var(--border);
    }
    .site-hero .container {
      display: flex; align-items: center; justify-content: space-between; gap: 16px;
    }
    .site-hero-text { display: flex; flex-direction: column; gap: 2px; }
    .site-hero h1 {
      font-family: var(--font-head);
      font-size: clamp(24px, 4vw, 38px);
      font-weight: 400; line-height: 1.1;
      color: var(--ink);
    }
    .site-hero .subtitle { color: var(--teal); font-size: 12px; font-weight: 500; letter-spacing: .06em; }
    .hero-logo img { width: 110px; height: 64px; border-radius: 4px; opacity: .85; }

        /* ── HEADER BANNER ── */
 .banner {
width: 100%;
  max-width: 1200px;
  max-height: 100px;
  margin: 10px  auto;
  overflow: hidden;
  position: relative;
  border-radius: 6px; box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, var(--bg));
  transition: background 0.3s;
}

.banner img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center 60%;
  display: block;
}


.banner-title{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  color:white;
  font-size:2.2rem;
  font-weight:700;
  z-index:2;
  text-shadow:0 4px 12px rgba(0,0,0,0.6);
}




    /* ─── Intro / What's New ─────────────────────────────────────── */
    .intro-grid {
      display: grid;
      grid-template-columns: 1fr 2fr;
      gap: 28px;
      align-items: start;
    }

    /* AIMosaics featured card */
    .featured-card {
      border: 1px solid var(--border);
      border-radius: 6px; overflow: hidden;
      background: var(--surface);
      transition: box-shadow .2s;
    }
    .featured-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.3); }
    .featured-card img { width: 100%; object-fit: cover; }
    .featured-card-body { padding: 12px 14px; background: var(--card-body); }
    .featured-card-body h3 { font-family: var(--font-head); font-weight: 400; font-size: 17px; margin-bottom: 5px; color: var(--card-text); }
    .featured-card-body p  { font-size: 12px; color: var(--ink-muted); line-height: 1.5; }

    /* ─── Section Header ─────────────────────────────────────────── */
    .section-title {
      font-family: var(--font-head); font-size: 20px; font-weight: 400;
      color: var(--ink); margin-bottom: 16px;
    }

    /* ─── Card Grid ──────────────────────────────────────────────── */
    .card-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
    }
    .card {
       background: var(--card-body);
      border: 1px solid var(--border);
      border-radius: 6px; overflow: hidden;
      transition: box-shadow .2s, transform .2s;
    }
    .card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.3); transform: translateY(-2px); }
    .card-img-wrap { overflow: hidden; aspect-ratio: 1 / 1; background: var(--surface-2); }
    .card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
    .card:hover .card-img-wrap img { transform: scale(1.04); }
    .card-body { padding: 10px 12px;  }
    .card-body h3 { font-family: var(--font-head); font-size: 14px; font-weight: 400; margin-bottom: 3px; color: var(--card-text); }
    .card-body p  { font-size: 11px; color: var(--ink-muted); line-height: 1.45; }

    /* Digital Art chapters — taller image */
    .card-chapter .card-img-wrap { aspect-ratio: 5 / 6; }

    /* ─── About / Bio ────────────────────────────────────────────── */
    .about-grid {
      display: grid;
      grid-template-columns: 140px 1fr;
      gap: 24px;
      align-items: start;
    }
    .about-photo { border-radius: 4px; overflow: hidden; }
    .about-photo img { width: 200px; }
    .about-text h2 { font-family: var(--font-head); font-weight: 400; font-size: 20px; margin-bottom: 10px; color: var(--ink); }
    .about-text p  { font-size: 13px; color: var(--ink-muted); margin-bottom: 10px; }
    .about-text strong { color: var(--ink); }

/* Normal thumbnail */
.about-photo img {
  width: 200px;
  height: auto;
  cursor: zoom-in;
  transition: transform 0.25s ease;
}

.about-photo img:hover {
  transform: scale(1.05);
}

/* Lightbox overlay */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(4px);

  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

/* Show overlay when targeted */
.lightbox:target {
  opacity: 1;
  visibility: visible;
}

/* Lightbox image */
.lightbox img {
  max-width: 500px;
  width: 90%;
  height: auto;
  transform: scale(0.95);
  transition: transform 0.3s ease;
  cursor: zoom-out;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

.lightbox:target img {
  transform: scale(1);
}

    /* Podcast players */
    .podcast-players {
      display: flex; gap: 24px; flex-wrap: wrap; margin-top: 20px;
    }
    .podcast-player { display: flex; flex-direction: column; gap: 6px; }
    .podcast-player label { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); }
    .podcast-player audio { width: 260px; }

    /* ─── Intro text ─────────────────────────────────────────────── */
    .intro-whatsnew h2 { font-family: var(--font-head); font-weight: 400; font-size: 18px; margin-bottom: 10px; color: var(--ink); }
    .intro-whatsnew .new-list { list-style: none; display: flex; flex-direction: column; gap: 5px; }
    .intro-whatsnew .new-list a {
      font-size: 13px; font-weight: 500; color: var(--teal);
      border-bottom: 1px solid transparent; transition: border-color .15s;
    }
    .intro-whatsnew .new-list a:hover { border-color: var(--teal); }
    .intro-whatsnew p { margin-top: 10px; font-size: 13px; color: var(--ink-muted); }

    /* ─── Footer Links ───────────────────────────────────────────── */
    .footer-links {
      display: flex; align-items: center; justify-content: space-between;
      padding-block: 16px; flex-wrap: wrap; gap: 12px;
    }
    .footer-links a { font-size: 13px; color: var(--ink-muted); }
    .footer-links a:hover { color: var(--teal); }
    .instagram-icon img { width: 28px; height: 28px; }

    /* ─── Site Footer ────────────────────────────────────────────── */
    .site-footer {
      background: rgba(0,0,0,.3);
      color: rgba(255,255,255,.4);
      font-size: 13px;
    }
    .site-footer .container {
      display: flex; align-items: center; justify-content: space-between;
      flex-wrap: wrap; gap: 12px; padding-block: 16px;
    }
    .site-footer a { color: rgba(255,255,255,.5); }
    .site-footer a:hover { color: var(--teal); }

    /* ─── Responsive ─────────────────────────────────────────────── */
    @media (max-width: 768px) {
      .nav-toggle { display: flex; }
      .nav-links { flex-wrap: wrap; }
      .intro-grid    { grid-template-columns: 1fr; gap: 16px; }
      .about-grid    { grid-template-columns: 1fr; }
      .about-photo   { max-width: 120px; }
      .card-grid     { grid-template-columns: repeat(2, 1fr); }
      .podcast-players { flex-direction: column; }
      .podcast-player audio { width: 100%; }
      .footer-links  { justify-content: flex-start; }
    }

/* =========================================================
   PROJECT NAV TABS
========================================================= */
.project-tabs            { background: var(--surface-2); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.project-tabs .container { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding-block: 3px; }
.label                   { font-size: 11px; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: 0.07em; white-space: nowrap; }
.tabs-list               { list-style: none; display: flex; gap: 2px; flex-wrap: wrap; padding: 0; margin: 0; }
.tabs-list li            { position: relative; }
.tabs-list a             { display: inline-block; padding: 6px 12px; font-size: 12px; font-weight: 500; color: var(--ink-muted); border-bottom: 2px solid transparent; transition: color var(--transition), border-color var(--transition); }
.tabs-list a:hover       { color: var(--ink); border-color: var(--teal); }
.tabs-list li.current a  { color: var(--ink); font-weight: 400; border-bottom: 2px solid var(--teal); }
.tabs-list a.active      { color: #0077cc; font-weight: 600; border-bottom: 2px solid #0077cc; }

/* =========================================================
   THEME TOGGLE BUTTON
========================================================= */
.theme-toggle       { display: flex; align-items: center; gap: 5px; padding: 3px 12px; background: none; border: 1px solid var(--border); border-radius: 20px; color: var(--ink-muted); font-family: var(--font-body); font-size: 11px; font-weight: 500; cursor: pointer; transition: background var(--transition), color var(--transition), border-color var(--transition); }
.theme-toggle:hover { background: var(--teal); color: #fff; border-color: var(--teal); }


/* =========================================================
   NAV — SUBMENU
========================================================= */
.arrow                       { font-size: 0.7em; margin-left: 4px; }
.submenu                     { list-style: none; position: absolute; top: 110%; left: 0; background: white; padding: 6px 0; margin: 0; min-width: 160px; border-radius: 6px; box-shadow: 0 6px 18px rgba(0,0,0,0.15); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: all 0.25s ease; }
.submenu li a                { padding: 8px 14px; }
.submenu li a:hover          { background: #f3f3f3; }
.has-submenu:hover .submenu  { opacity: 1; transform: translateY(0); pointer-events: auto; }
.submenu a.active            { background: #f0f6ff; }

/* =========================================================
   FOOTER
========================================================= */
footer           { border-top: 1px solid var(--border); background: var(--surface); padding: 18px 0; font-size: 12px; }
footer .container { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 12px; }
footer .f-left   { color: var(--ink-muted); }
footer .f-center { text-align: center; color: var(--ink-muted); }
footer .f-right  { text-align: right; }
footer a         { color: var(--ink-muted); }
footer a:hover   { color: var(--teal); }

@media (max-width: 768px) {
  footer .container { grid-template-columns: 1fr; text-align: center; }
  footer .f-left, footer .f-right { text-align: center; }
}
