       html, body { overflow-x: hidden; }
     /* make markdown fit your window and inherit bg */
      .markdown-body {
        background: transparent !important;
        color: inherit;
        padding: 16px 20px;
        box-sizing: border-box;
        width: 100%;
      }

      html { scrollbar-gutter: stable; }
      /* images responsive & rounded (nicely matches your style) */
      .markdown-body img { max-width: 100%; height: auto; border-radius: .5rem; }
      /* let code blocks scroll horizontally if needed */
      .markdown-body pre { overflow-x: auto; }

      /* --- macOS-like window animations --- */
#termWin { z-index: 70; }

      .macwin-genie-mask {
        /* maakt een zachte trechter naar de onderkant */
        -webkit-mask-image: radial-gradient(120% 50% at 50% 100%, #000 55%, transparent 70%);
                mask-image: radial-gradient(120% 50% at 50% 100%, #000 55%, transparent 70%);
        -webkit-mask-repeat: no-repeat;
                mask-repeat: no-repeat;
        -webkit-mask-position: 50% 100%;
                mask-position: 50% 100%;
        -webkit-mask-size: 140% 100%;
                mask-size: 140% 100%;
      }

      .use-clip {
        -webkit-clip-path: url(#macWinClip);
                clip-path: url(#macWinClip);
      }
    .use-clip-term{
    -webkit-clip-path: url(#termClip);
            clip-path: url(#termClip);
    }
    .use-clip-term { -webkit-clip-path: url(#termClip); clip-path: url(#termClip); }
      /* overlay standaard onzichtbaar, geen display toggling */
      #winOverlay { visibility: hidden; }
      #winOverlay.active { visibility: visible; }

      /* dim laag: begin transparant, animeren via background-color */
      .dim-layer {
        background-color: rgba(0,0,0,0);
        will-change: background-color;
        backface-visibility: hidden;
        transform: translateZ(0);
        contain: paint;
      }
      #sidePromo.is-visible { transform: translateX(0); opacity: 1; pointer-events: auto; }

      /* form styling */
    /* Contact: zachte spotlight + fijn raster */
    .contact-wrap {
        position: relative;
        isolation: isolate;
    }
    .contact-wrap::before,
    .contact-wrap::after {
        content: "";
        position: relative; isolation: isolate; overflow: hidden;
        inset: auto 0 0 auto; /* rechtsonder */
        width: 36rem;
        height: 36rem;
        border-radius: 9999px;
        filter: blur(90px);
        pointer-events: none;
        z-index: -1;
    }
    .contact-wrap::before {
        right: -10%;
        bottom: -10%;
        background: radial-gradient(35% 35% at 60% 60%, rgba(255,255,255,.12), transparent 60%);
    }
    .contact-wrap::after {
        right: 15%;
        bottom: 20%;
        background: radial-gradient(40% 40% at 50% 50%, rgba(236,72,153,.12), transparent 60%);
    }

    /* Subtiele â€œglassâ€ kaart rand versterkt bij focus in veld */
    .glass-card {
        border: 1px solid rgba(255,255,255,.08);
        background: rgba(255,255,255,.05);
        backdrop-filter: saturate(150%) blur(14px);
        -webkit-backdrop-filter: saturate(150%) blur(14px);
    }

    /* Floating label helper (zonder SVG) */
    .field {
        position: relative;
    }
    .field input,
    .field textarea {
        background: rgba(255,255,255,.06);
        border: 1px solid rgba(255,255,255,.10);
        color: #e5e7eb;
    }
    .field input::placeholder,
    .field textarea::placeholder {
        color: transparent; /* voor floating label techniek */
    }
    .field label {
        position: absolute;
        left: 1rem;
        top: .85rem;
        font-size: .875rem;
        color: #9ca3af;
        transition: all .18s ease;
        pointer-events: none;
    }
    .field:has(input:focus),
    .field:has(textarea:focus),
    .field.filled {
        /* accent rand als iets actief/gevuld is */
    }
    .field:has(input:focus) label,
    .field:has(textarea:focus) label,
    .field.filled label {
        top: -.45rem;
        font-size: .7rem;
        padding: 0 .35rem;
        background: rgba(2,2,4,.9);
        border-radius: .375rem;
        color: #fff;
        letter-spacing: .01em;
    }
    /* Onderlijntje dat inschuift op focus */
    .field .underline {
        position: absolute;
        left: .75rem;
        right: .75rem;
        bottom: .45rem;
        height: 1.5px;
        background: linear-gradient(90deg, rgba(255,255,255,.4), rgba(255,255,255,.8), rgba(255,255,255,.4));
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .18s ease;
        opacity: .85;
    }
    .field:has(input:focus) .underline,
    .field:has(textarea:focus) .underline {
        transform: scaleX(1);
    }

    /* Succes-toast */
    .toast {
        pointer-events: none;
        position: fixed;
        right: 1.5rem;
        bottom: 7.5rem; /* boven je dock */
        display: grid;
        gap: .4rem;
        padding: .75rem .9rem;
        border-radius: .75rem;
        border: 1px solid rgba(255,255,255,.10);
        background: rgba(22,22,28,.85);
        color: #e5e7eb;
        box-shadow: 0 12px 30px rgba(0,0,0,.35);
        opacity: 0;
        transform: translateY(6px);
        transition: opacity .18s ease, transform .18s ease;
        z-index: 70;
    }
    .toast.show {
        opacity: 1;
        transform: translateY(0);
    }

     /* timeline stlying 8?
     /* optional: gentle glow on the vertical line */
        #experience ol { box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); }
        #experience ol::before { content:''; position:absolute; left:-1px; top:0; bottom:0; width:2px; background:linear-gradient(to bottom, rgba(255,255,255,.15), transparent 20%, transparent 80%, rgba(255,255,255,.15)); pointer-events:none; }

    /* fadein tags timeline */
@keyframes tagFadeIn {
  from { opacity: 0; transform: translateY(-6px) translateX(6px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) translateX(0) scale(1); }
}
.tag-anim { animation: tagFadeIn .4s ease-out both; }
.tag-anim:nth-child(2){ animation-delay: .06s; }
.tag-anim:nth-child(3){ animation-delay: .12s; }
.tag-anim:nth-child(4){ animation-delay: .18s; }
.tag-anim:nth-child(5){ animation-delay: .24s; }
.tag-anim:nth-child(6){ animation-delay: .30s; }
.tag-anim:nth-child(7){ animation-delay: .36s; }

/* verberg horizontale scrollbar (alleen voor de tag-rail) */
.no-scrollbar::-webkit-scrollbar{ display:none; }
.no-scrollbar{ -ms-overflow-style:none; scrollbar-width:none; }


/* ======================================================
   MAC WINDOW LOADER (overlay + spinner in iframe)
   ====================================================== */

.mac-loader {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(3, 4, 10, 0.72); /* ink-ish */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10;

  /* belangrijk: loader moet muis events pakken */
  pointer-events: auto;
}

.mac-loader.hidden {
  display: none;
}

/* Spinner zelf */
.mac-spinner {
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  border: 3px solid rgba(255,255,255,0.18);
  border-top-color: rgba(255,255,255,0.85);
  animation: macspin 0.8s linear infinite;
}

/* Loading tekst */
.mac-loader-label {
  margin-top: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Spinner animatie */
@keyframes macspin {
  to { transform: rotate(360deg); }
}


/* ======================================================
   MAC BUSY CURSOR (static fallback)
   ====================================================== */

/* Als je géén fake spinner gebruikt, kun je dit aan laten staan.
   Maar met de fake spinner is 'cursor: none' het mooist. */
html .mac-busy {
  cursor: none !important; /* hide real cursor while loading */
  /* fallback cursor variant (als je none niet wil):
     cursor: url("../assets/beachball-cursor-32.png") 16 16, wait !important;
  */
}


/* ======================================================
   FAKE SPINNING CURSOR (follows pointer)
   ====================================================== */

.cursor-spinner {
  position: fixed;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  pointer-events: none;
  z-index: 99999;

  /* start off-screen */
  transform: translate(-9999px, -9999px);
  will-change: transform;

  /* JS zet display: block/none, maar safe default */
  display: none;
}

.cursor-spinner img {
  width: 100%;
  height: 100%;
  display: block;

  /* hergebruik dezelfde animatie als je loader spinner */
  animation: macspin 0.8s linear infinite;
}


/* ======================================================
   NOTE:
   Verwijderd: html/body cursor + rotation animation.
   Cursor kun je niet animeren via CSS.
   ====================================================== */