:root{
    --bg:            #071a20;
    --bg-soft:       #0b232b;
    --surface:       #0e2c35;
    --surface-2:     #123640;
    --border:        rgba(94, 234, 212, 0.14);
    --border-strong: rgba(94, 234, 212, 0.28);

    --teal-deep:   #0e7d78;
    --teal:        #15b8ae;
    --teal-bright: #2dd4c8;
    --teal-light:  #5eead4;

    --ink:      #eafffb;
    --muted:    #8fb4b0;
    --muted-2:  #628683;

    --danger:   #f28b82;
    --success:  #5eead4;

    --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-mono:    'JetBrains Mono', ui-monospace, monospace;

    --radius: 16px;
    --radius-sm: 10px;
    --max-w: 1120px;
  }

  *{ box-sizing:border-box; }
  html{ scroll-behavior:smooth; }

  body{
    margin:0;
    background:
      radial-gradient(1100px 620px at 82% -10%, rgba(45,212,200,0.16), transparent 60%),
      radial-gradient(900px 500px at -10% 20%, rgba(94,234,212,0.08), transparent 55%),
      var(--bg);
    color:var(--ink);
    font-family:var(--font-display);
    line-height:1.55;
    -webkit-font-smoothing:antialiased;
  }

  a{ color:inherit; text-decoration:none; }
  img{ max-width:100%; display:block; }
  .container{ max-width:var(--max-w); margin-inline:auto; padding-inline:1.5rem; }

  ::selection{ background:var(--teal); color:#04211f; }

  :focus-visible{
    outline:2px solid var(--teal-light);
    outline-offset:3px;
    border-radius:6px;
  }

  @media (prefers-reduced-motion: reduce){
    *{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important; }
  }

  section[id]{ scroll-margin-top:88px; }

  /* ---------- Loading / page transition ---------- */
  body.is-loading::before{
    content:"";
    position:fixed; inset:0; z-index:9999;
    background:var(--bg);
  }
  body:not(.is-loading) .page-fade{
    animation:pageFadeIn .6s ease both;
  }
  @keyframes pageFadeIn{ from{ opacity:0; transform:translateY(8px); } to{ opacity:1; transform:translateY(0); } }

  /* ---------- Scroll progress bar ---------- */
  .scroll-progress{
    position:fixed; top:0; left:0; height:3px; width:0%;
    background:linear-gradient(90deg, var(--teal-bright), var(--teal-light));
    z-index:60;
    transition:width .08s linear;
  }

  /* ---------- Header ---------- */
  .page-header{
    position:sticky; top:0; z-index:50;
    background:rgba(7,26,32,0.72);
    backdrop-filter:blur(14px) saturate(140%);
    border-bottom:1px solid var(--border);
    transition:box-shadow .25s ease, background .25s ease;
  }
  .page-header.is-scrolled{
    background:rgba(7,26,32,0.92);
    box-shadow:0 10px 30px -18px rgba(0,0,0,0.6);
  }

  .nav{
    display:flex; align-items:center; justify-content:space-between;
    padding:1rem 1.5rem;
  }

  .brand-container{ display:flex; align-items:center; gap:0.65rem; transition:transform .2s ease; }
  .brand-container:hover{ transform:translateY(-1px); }
  .brand-container .logo{ height:34px; width:auto; }
  .brand{
    font-weight:800; font-size:1.15rem; letter-spacing:-0.02em; color:var(--ink);
  }

  .nav-links{ display:flex; align-items:center; gap:0.35rem; }
  .nav-links a{
    position:relative;
    font-family:var(--font-mono);
    font-size:0.82rem;
    font-weight:500;
    letter-spacing:0.02em;
    color:var(--muted);
    padding:0.5rem 0.85rem;
    border-radius:999px;
    transition:color .2s ease, background .2s ease;
    display:inline-flex;
    align-items:center;
    gap:0.35rem;
  }
  .nav-links a:hover{ color:var(--ink); background:var(--surface-2); }
  .nav-links a.is-active{ color:var(--teal-light); background:rgba(45,212,200,0.1); }
  .nav-links a.is-external::after{
    content:"↗";
    font-size:0.75em;
    opacity:0.7;
  }

  /* ---------- Mobile nav toggle ---------- */
  .nav-toggle{
    display:none;
    flex-direction:column;
    justify-content:center;
    gap:5px;
    width:38px; height:38px;
    border-radius:10px;
    border:1px solid var(--border);
    background:var(--surface);
    cursor:pointer;
    padding:0;
  }
  .nav-toggle span{
    display:block; height:2px; width:18px;
    margin-inline:auto;
    background:var(--ink);
    border-radius:2px;
    transition:transform .25s ease, opacity .25s ease;
  }
  .nav-toggle.is-open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2){ opacity:0; }
  .nav-toggle.is-open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

  /* ---------- Hero ---------- */
  .hero{
    position:relative;
    overflow:hidden;
    padding:4.5rem 0 3rem;
  }

  .hero-shards{
    position:absolute; inset:0;
    pointer-events:none;
    z-index:0;
    opacity:0.9;
  }
  .shard{ filter:blur(0px); animation:shardDrift 9s ease-in-out infinite; transform-origin:center; }
  .shard:nth-child(2){ animation-duration:11s; animation-delay:.3s; }
  .shard:nth-child(3){ animation-duration:13s; animation-delay:.6s; }
  @keyframes shardDrift{
    0%,100%{ transform:translate(0,0) rotate(0deg); }
    50%{ transform:translate(-6px, 8px) rotate(1.2deg); }
  }

  .hero-content{
    position:relative; z-index:1;
    display:grid;
    grid-template-columns:1.15fr 0.85fr;
    gap:2.5rem;
    align-items:center;
  }

  .eyebrow{
    display:inline-flex; align-items:center; gap:0.5rem;
    font-family:var(--font-mono);
    font-size:0.76rem;
    letter-spacing:0.06em;
    color:var(--teal-light);
    background:rgba(45,212,200,0.08);
    border:1px solid var(--border-strong);
    padding:0.4rem 0.8rem;
    border-radius:999px;
    margin:0 0 1.25rem;
  }
  .eyebrow::before{
    content:"";
    width:6px; height:6px; border-radius:50%;
    background:var(--teal-bright);
    box-shadow:0 0 8px 1px var(--teal-bright);
    animation:dotPulse 1.8s ease-in-out infinite;
  }
  @keyframes dotPulse{ 0%,100%{ opacity:1; } 50%{ opacity:.35; } }

  h1{
    font-size:clamp(2.3rem, 4.4vw, 3.4rem);
    line-height:1.08;
    letter-spacing:-0.03em;
    font-weight:800;
    margin:0 0 1rem;
    background:linear-gradient(135deg, var(--ink) 40%, var(--teal-light));
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
  }

  .lead{
    font-size:1.05rem;
    color:var(--muted);
    max-width:34ch;
    margin:0 0 1.75rem;
  }

  .button{
    display:inline-flex; align-items:center; gap:0.5rem;
    font-family:var(--font-mono);
    font-weight:600;
    font-size:0.88rem;
    letter-spacing:0.01em;
    padding:0.85rem 1.5rem;
    border-radius:999px;
    border:none;
    cursor:pointer;
    position:relative;
    overflow:hidden;
    transition:transform .2s ease, box-shadow .2s ease, filter .2s ease;
  }
  .button.primary{
    background:linear-gradient(135deg, var(--teal-bright), var(--teal-deep));
    color:#04211f;
    box-shadow:0 8px 24px -6px rgba(45,212,200,0.45);
  }
  .button.primary:hover{ transform:translateY(-2px); filter:brightness(1.08); }
  .button.primary:active{ transform:translateY(0) scale(.97); }
  .button.primary::after{ content:"→"; transition:transform .2s ease; }
  .button.primary:hover::after{ transform:translateX(3px); }
  .button.primary:disabled{ opacity:.6; cursor:not-allowed; transform:none !important; }

  .button.secondary{
    background:var(--surface-2);
    color:var(--ink);
    border:1px solid var(--border-strong);
  }
  .button.secondary:hover{ transform:translateY(-2px); background:var(--surface); }

  /* button ripple */
  .button .ripple{
    position:absolute; border-radius:50%;
    background:rgba(255,255,255,0.45);
    transform:scale(0); opacity:.6;
    animation:rippleAnim .55s ease-out forwards;
    pointer-events:none;
  }
  @keyframes rippleAnim{ to{ transform:scale(2.6); opacity:0; } }

  .hero-card{
    position:relative;
    background:linear-gradient(180deg, var(--surface), var(--surface-2));
    border:1px solid var(--border-strong);
    border-radius:var(--radius);
    padding:1.75rem;
    box-shadow:0 30px 60px -30px rgba(0,0,0,0.6);
    transition:transform .3s ease;
  }
  .hero-card:hover{ transform:translateY(-3px); }
  .hero-card::before{
    content:"";
    position:absolute; inset:0;
    border-radius:inherit;
    padding:1px;
    background:linear-gradient(135deg, var(--teal-bright), transparent 60%);
    -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite:xor;
    mask-composite:exclude;
    opacity:0.5;
    pointer-events:none;
  }
  .hero-card h3{
    font-family:var(--font-mono);
    font-size:0.78rem;
    text-transform:uppercase;
    letter-spacing:0.1em;
    color:var(--teal-light);
    margin:0 0 1.1rem;
  }
  .hero-card ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:0.75rem; }
  .hero-card li{
    display:flex; align-items:center; gap:0.65rem;
    font-size:0.95rem; color:var(--ink);
    transition:transform .2s ease;
  }
  .hero-card li:hover{ transform:translateX(3px); }
  .hero-card li::before{
    content:"";
    flex:none;
    width:18px; height:18px;
    border-radius:6px;
    background:linear-gradient(135deg, var(--teal-bright), var(--teal-deep));
    clip-path:polygon(20% 0%, 100% 0%, 80% 100%, 0% 100%);
  }

  /* ---------- Scroll reveal ---------- */
  .reveal{
    opacity:0;
    transform:translateY(22px);
    transition:opacity .6s cubic-bezier(.16,.84,.44,1), transform .6s cubic-bezier(.16,.84,.44,1);
  }
  .reveal.is-visible{ opacity:1; transform:translateY(0); }

  /* ---------- Section headers (shared) ---------- */
  .section-head{
    text-align:center;
    max-width:560px;
    margin:0 auto 2.75rem;
  }
  .section-head .eyebrow{ margin-bottom:1rem; }
  .section-head h2{
    font-size:clamp(1.7rem, 3vw, 2.2rem);
    letter-spacing:-0.02em;
    margin:0 0 0.6rem;
  }
  .section-head p{
    color:var(--muted);
    margin:0;
    font-size:0.98rem;
  }

  /* ---------- Features ---------- */
  .section-grid{
    padding:2.5rem 0 5rem;
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:1.25rem;
  }

  .card{
    position:relative;
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:var(--radius);
    padding:1.9rem 1.75rem;
    transition:border-color .25s ease, transform .25s ease, background .25s ease, box-shadow .25s ease;
  }
  .card:hover{
    border-color:var(--border-strong);
    transform:translateY(-6px);
    background:var(--surface-2);
    box-shadow:0 20px 40px -22px rgba(0,0,0,0.55);
  }
  .card .tag{
    font-family:var(--font-mono);
    font-size:0.75rem;
    color:var(--teal-bright);
    letter-spacing:0.08em;
    opacity:0.75;
  }
  .card h2{
    font-size:1.2rem;
    margin:0.6rem 0 0.6rem;
    letter-spacing:-0.01em;
  }
  .card p{
    margin:0;
    color:var(--muted);
    font-size:0.94rem;
  }

  /* ---------- Team ---------- */
  .team{ padding:2rem 0 5rem; }
  .team-grid{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:1.25rem;
  }
  .team-card{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:var(--radius);
    padding:1.75rem 1.5rem;
    text-align:center;
    transition:border-color .25s ease, transform .25s ease, background .25s ease, box-shadow .25s ease;
  }
  .team-card:hover{
    border-color:var(--border-strong);
    transform:translateY(-6px);
    background:var(--surface-2);
    box-shadow:0 20px 40px -22px rgba(0,0,0,0.55);
  }
  .team-avatar{
    width:84px; height:84px;
    margin:0 auto 1.1rem;
    border-radius:50%;
    object-fit:cover;
    display:block;
    background:var(--surface-2);
    border:2px solid var(--border-strong);
    box-shadow:0 0 0 4px rgba(45,212,200,0.08);
    transition:transform .3s ease, box-shadow .3s ease;
  }
  .team-card:hover .team-avatar{ transform:scale(1.06); box-shadow:0 0 0 6px rgba(45,212,200,0.14); }
  .team-card h3{ margin:0 0 0.25rem; font-size:1.02rem; }
  .team-card p{ margin:0; color:var(--muted); font-size:0.86rem; font-family:var(--font-mono); }

  /* ---------- Reviews ---------- */
  .reviews{ padding:2rem 0 5rem; }
  .reviews-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:1.25rem;
  }
  .review-card{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:var(--radius);
    padding:1.75rem 1.6rem;
    display:flex;
    flex-direction:column;
    gap:0.85rem;
    transition:border-color .25s ease, transform .25s ease, background .25s ease, box-shadow .25s ease;
  }
  .review-card:hover{
    border-color:var(--border-strong);
    transform:translateY(-6px);
    background:var(--surface-2);
    box-shadow:0 20px 40px -22px rgba(0,0,0,0.55);
  }
  .review-stars{
    font-size:1rem;
    letter-spacing:2px;
    color:var(--teal-bright);
  }
  .review-text{
    margin:0;
    color:var(--ink);
    font-size:0.95rem;
    line-height:1.65;
    flex:1;
  }
  .review-author{
    display:flex;
    align-items:center;
    gap:0.65rem;
    margin-top:0.25rem;
  }
  .review-avatar{
    width:36px; height:36px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg, var(--teal-bright), var(--teal-deep));
    color:#04211f;
    font-family:var(--font-mono);
    font-weight:700;
    font-size:0.85rem;
    flex:none;
  }
  .review-author span{
    font-family:var(--font-mono);
    font-size:0.88rem;
    color:var(--ink);
    font-weight:600;
  }

  /* ---------- Solliciteren ---------- */
  .apply{ padding:2rem 0 5rem; }
  .vacature-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:1.25rem;
    margin-bottom:3rem;
  }
  .vacature-card{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:var(--radius);
    padding:1.6rem 1.5rem;
    display:flex;
    flex-direction:column;
    gap:0.6rem;
    transition:transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  }
  .vacature-card:hover{ transform:translateY(-4px); box-shadow:0 20px 40px -24px rgba(0,0,0,.55); }
  .vacature-card.is-open{ border-color:var(--border-strong); }
  .vacature-top{ display:flex; align-items:center; justify-content:space-between; gap:0.75rem; }
  .vacature-top h3{ margin:0; font-size:1.05rem; }
  .badge{
    font-family:var(--font-mono);
    font-size:0.7rem;
    letter-spacing:0.05em;
    text-transform:uppercase;
    padding:0.3rem 0.65rem;
    border-radius:999px;
    white-space:nowrap;
  }
  .badge.open{ color:#04211f; background:var(--teal-bright); animation:badgePulse 2.4s ease-in-out infinite; }
  @keyframes badgePulse{ 0%,100%{ box-shadow:0 0 0 0 rgba(45,212,200,.55); } 50%{ box-shadow:0 0 0 6px rgba(45,212,200,0); } }
  .badge.closed{ color:var(--muted); background:var(--surface-2); border:1px solid var(--border); }
  .vacature-card p{ margin:0; color:var(--muted); font-size:0.92rem; flex:1; }
  .vacature-card .button.primary{ align-self:flex-start; margin-top:0.4rem; }
  .vacature-card .button.disabled{
    align-self:flex-start;
    margin-top:0.4rem;
    font-family:var(--font-mono);
    font-size:0.82rem;
    color:var(--muted-2);
    background:var(--surface-2);
    border:1px solid var(--border);
    padding:0.6rem 1.1rem;
    border-radius:999px;
    cursor:not-allowed;
  }

  .apply-note{
    font-size:0.86rem;
    color:var(--muted);
    font-family:var(--font-mono);
    margin:0 0 1.25rem;
  }

  /* ---------- Contact ---------- */
  .contact{ padding:2rem 0 5.5rem; }
  .contact-wrap{
    display:grid;
    grid-template-columns:0.9fr 1.1fr;
    gap:2.5rem;
    align-items:start;
  }

  .contact-side{
    display:flex;
    flex-direction:column;
    gap:1.5rem;
  }

  .contact-info{
    background:linear-gradient(180deg, var(--surface), var(--surface-2));
    border:1px solid var(--border-strong);
    border-radius:var(--radius);
    padding:2rem;
    transition:transform .3s ease;
  }
  .contact-info:hover{ transform:translateY(-3px); }
  .contact-info h3{
    font-size:1.15rem;
    margin:0 0 0.75rem;
  }
  .contact-info p{ color:var(--muted); margin:0 0 1.5rem; font-size:0.95rem; }
  .contact-info-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:0.9rem; }
  .contact-info-list a{
    display:flex; align-items:center; gap:0.65rem;
    font-size:0.92rem; color:var(--ink);
    transition:color .2s ease, transform .2s ease;
  }
  .contact-info-list a:hover{ color:var(--teal-light); transform:translateX(3px); }
  .contact-info-list a::before{
    content:"";
    flex:none; width:16px; height:16px;
    border-radius:6px;
    background:linear-gradient(135deg, var(--teal-bright), var(--teal-deep));
    clip-path:polygon(20% 0%, 100% 0%, 80% 100%, 0% 100%);
  }

  .discord-widget-card{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:var(--radius);
    padding:1.5rem;
    transition:transform .3s ease;
  }
  .discord-widget-card:hover{ transform:translateY(-3px); }
  .discord-widget-card h3{
    font-size:1rem;
    margin:0 0 1rem;
    display:flex;
    align-items:center;
    gap:0.5rem;
  }
  .discord-widget-frame{
    width:100%;
    max-width:350px;
    height:500px;
    border-radius:var(--radius-sm);
    overflow:hidden;
    border:1px solid var(--border);
    display:block;
  }

  .contact-form{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:var(--radius);
    padding:2rem;
    transition:transform .3s ease;
  }
  .form-row{ display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
  .field{ margin-bottom:1.1rem; display:flex; flex-direction:column; gap:0.45rem; }
  .field label{
    font-family:var(--font-mono);
    font-size:0.74rem;
    letter-spacing:0.06em;
    text-transform:uppercase;
    color:var(--muted);
  }
  .field input,
  .field textarea,
  .field select{
    width:100%;
    background:var(--bg-soft);
    border:1px solid var(--border);
    border-radius:var(--radius-sm);
    padding:0.75rem 0.9rem;
    color:var(--ink);
    font-family:var(--font-display);
    font-size:0.94rem;
    resize:vertical;
    transition:border-color .2s ease, background .2s ease, box-shadow .2s ease;
  }
  .field input:focus,
  .field textarea:focus,
  .field select:focus{
    outline:none;
    border-color:var(--teal-bright);
    background:var(--surface-2);
    box-shadow:0 0 0 3px rgba(45,212,200,0.16);
  }
  .field.is-invalid input,
  .field.is-invalid textarea,
  .field.is-invalid select{
    border-color:var(--danger);
    box-shadow:0 0 0 3px rgba(242,139,130,0.14);
  }
  .field select{
    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;
    cursor:pointer;
    padding-right:2.6rem;
    background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'><path d='M1 1L7 7L13 1' stroke='%235EEAD4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat:no-repeat;
    background-position:right 0.95rem center;
    background-size:13px 8px;
  }
  .field select option{
    background:var(--bg-soft);
    color:var(--ink);
  }
  .field select option:disabled{
    color:var(--muted-2);
  }
  .field-honeypot{
    position:absolute !important;
    left:-9999px !important;
    width:1px; height:1px;
    overflow:hidden;
  }

  .contact-form .button.primary{ width:100%; justify-content:center; margin-top:0.25rem; }

  .alert{
    display:flex; align-items:flex-start; gap:0.6rem;
    border-radius:var(--radius-sm);
    padding:0.85rem 1rem;
    font-size:0.88rem;
    margin-bottom:1.25rem;
    border:1px solid transparent;
    animation:alertIn .35s cubic-bezier(.16,.84,.44,1) both;
  }
  @keyframes alertIn{ from{ opacity:0; transform:translateY(-6px); } to{ opacity:1; transform:translateY(0); } }
  .alert.success{
    background:rgba(94,234,212,0.1);
    border-color:rgba(94,234,212,0.35);
    color:var(--success);
  }
  .alert.error{
    background:rgba(242,139,130,0.1);
    border-color:rgba(242,139,130,0.35);
    color:var(--danger);
  }
  .alert.info{
    background:rgba(45,212,200,0.08);
    border-color:var(--border-strong);
    color:var(--teal-light);
  }

  /* ---------- Nieuwsbrief ---------- */
  .newsletter{ padding:1rem 0 5.5rem; }
  .newsletter-card{
    position:relative;
    overflow:hidden;
    background:linear-gradient(135deg, var(--surface), var(--surface-2));
    border:1px solid var(--border-strong);
    border-radius:var(--radius);
    padding:2.5rem;
    display:grid;
    grid-template-columns:1fr 1.1fr;
    gap:2.5rem;
    align-items:center;
  }
  .newsletter-copy h2{
    font-size:clamp(1.5rem, 2.6vw, 1.9rem);
    letter-spacing:-0.02em;
    margin:0 0 0.6rem;
  }
  .newsletter-copy p{
    margin:0;
    color:var(--muted);
    font-size:0.95rem;
    max-width:38ch;
  }
  .newsletter-form{ width:100%; }
  .newsletter-form .form-row-inline{
    display:flex;
    gap:0.75rem;
  }
  .newsletter-form .form-row-inline .field{ flex:1; margin-bottom:0; }
  .newsletter-form .form-row-inline .button.primary{
    flex:none;
    white-space:nowrap;
  }
  .newsletter-consent{
    display:flex;
    align-items:flex-start;
    gap:0.6rem;
    margin-top:0.9rem;
  }
  .newsletter-consent input[type="checkbox"]{
    margin-top:0.2rem;
    width:16px; height:16px;
    accent-color:var(--teal-bright);
    flex:none;
    cursor:pointer;
  }
  .newsletter-consent label{
    font-size:0.84rem;
    color:var(--muted);
    line-height:1.5;
    cursor:pointer;
  }
  .newsletter-consent a{
    color:var(--teal-light);
    text-decoration:underline;
    text-underline-offset:2px;
  }
  .newsletter-consent a:hover{ color:var(--teal-bright); }
  .newsletter-form .alert{ margin-bottom:1rem; }

  @media (max-width: 860px){
    .newsletter-card{ grid-template-columns:1fr; padding:2rem; }
    .newsletter-form .form-row-inline{ flex-direction:column; }
    .newsletter-form .form-row-inline .button.primary{ width:100%; justify-content:center; }
  }

  /* ---------- Blog ---------- */
  .blog-hero{ padding:3.5rem 0 1rem; }
  .blog{ padding:2rem 0 5rem; }
  .blog-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:1.25rem;
  }
  .blog-card{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:var(--radius);
    overflow:hidden;
    display:flex;
    flex-direction:column;
    transition:border-color .25s ease, transform .25s ease, background .25s ease, box-shadow .25s ease;
  }
  .blog-card:hover{
    border-color:var(--border-strong);
    transform:translateY(-6px);
    background:var(--surface-2);
    box-shadow:0 20px 40px -22px rgba(0,0,0,0.55);
  }
  .blog-card-image{
    width:100%;
    aspect-ratio:16/9;
    object-fit:cover;
    background:var(--surface-2);
    display:block;
  }
  .blog-card-image.is-placeholder{
    display:flex;
    align-items:center;
    justify-content:center;
    font-family:var(--font-mono);
    font-size:0.78rem;
    color:var(--muted-2);
  }
  .blog-card-body{
    padding:1.5rem 1.5rem 1.75rem;
    display:flex;
    flex-direction:column;
    gap:0.6rem;
    flex:1;
  }
  .blog-card-meta{
    font-family:var(--font-mono);
    font-size:0.74rem;
    letter-spacing:0.03em;
    color:var(--muted-2);
    display:flex;
    align-items:center;
    gap:0.5rem;
  }
  .blog-card-body h3{ margin:0; font-size:1.08rem; letter-spacing:-0.01em; }
  .blog-card-body p{ margin:0; color:var(--muted); font-size:0.9rem; line-height:1.6; flex:1; }
  .blog-card-link{
    margin-top:0.4rem;
    font-family:var(--font-mono);
    font-size:0.82rem;
    font-weight:600;
    color:var(--teal-light);
    display:inline-flex;
    align-items:center;
    gap:0.35rem;
    transition:gap .2s ease, color .2s ease;
  }
  .blog-card-link::after{ content:"→"; transition:transform .2s ease; }
  .blog-card:hover .blog-card-link{ color:var(--teal-bright); gap:0.5rem; }

  .blog-empty{
    text-align:center;
    color:var(--muted);
    font-size:0.95rem;
    padding:3rem 1rem;
    border:1px dashed var(--border-strong);
    border-radius:var(--radius);
  }

  .blog-pagination{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:0.5rem;
    margin-top:2.5rem;
    flex-wrap:wrap;
  }
  .blog-pagination a,
  .blog-pagination span{
    font-family:var(--font-mono);
    font-size:0.85rem;
    padding:0.55rem 0.95rem;
    border-radius:999px;
    border:1px solid var(--border);
    color:var(--muted);
    transition:color .2s ease, border-color .2s ease, background .2s ease;
  }
  .blog-pagination a:hover{ color:var(--ink); border-color:var(--border-strong); background:var(--surface-2); }
  .blog-pagination .is-current{ color:#04211f; background:var(--teal-bright); border-color:var(--teal-bright); }
  .blog-pagination .is-disabled{ opacity:0.4; pointer-events:none; }

  /* ---------- Blogpost detail ---------- */
  .blogpost{ padding:2.5rem 0 5.5rem; }
  .blogpost-back{
    display:inline-flex; align-items:center; gap:0.4rem;
    font-family:var(--font-mono);
    font-size:0.85rem;
    color:var(--muted);
    margin-bottom:1.75rem;
    transition:color .2s ease, gap .2s ease;
  }
  .blogpost-back:hover{ color:var(--teal-light); gap:0.6rem; }
  .blogpost-back::before{ content:"←"; }
  .blogpost-header{ max-width:760px; margin:0 auto 2rem; }
  .blogpost-header .blog-card-meta{ justify-content:center; margin-bottom:0.9rem; }
  .blogpost-header h1{
    text-align:center;
    font-size:clamp(1.9rem, 4vw, 2.6rem);
    margin:0;
  }
  .blogpost-image{
    max-width:900px;
    width:100%;
    margin:0 auto 2.25rem;
    border-radius:var(--radius);
    overflow:hidden;
    border:1px solid var(--border);
  }
  .blogpost-image img{ width:100%; display:block; }
  .blogpost-body{
    max-width:760px;
    margin:0 auto;
    font-size:1.02rem;
    line-height:1.85;
    color:var(--ink);
    white-space:pre-line;
  }
  .blogpost-notfound{
    max-width:520px;
    margin:0 auto;
    text-align:center;
    color:var(--muted);
  }
  @media (max-width: 860px){
    .blog-grid{ grid-template-columns:1fr; }
  }

  .blogpost-notfound h1{ font-size:1.6rem; margin:0 0 0.75rem; }

  /* ---------- Producten (Parcel) ---------- */
  .producten{ padding:2rem 0 5rem; }
  .producten-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:1.25rem;
  }
  .product-card{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:var(--radius);
    overflow:hidden;
    display:flex;
    flex-direction:column;
    transition:border-color .25s ease, transform .25s ease, background .25s ease, box-shadow .25s ease;
  }
  .product-card:hover{
    border-color:var(--border-strong);
    transform:translateY(-6px);
    background:var(--surface-2);
    box-shadow:0 20px 40px -22px rgba(0,0,0,0.55);
  }
  .product-card-image{
    width:100%;
    aspect-ratio:1/1;
    object-fit:cover;
    background:var(--surface-2);
    display:block;
  }
  .product-card-image.is-placeholder{
    display:flex;
    align-items:center;
    justify-content:center;
    font-family:var(--font-mono);
    font-size:0.78rem;
    color:var(--muted-2);
  }
  .product-card-body{
    padding:1.5rem 1.5rem 1.75rem;
    display:flex;
    flex-direction:column;
    gap:0.6rem;
    flex:1;
  }
  .product-card-top{ display:flex; align-items:flex-start; justify-content:space-between; gap:0.75rem; }
  .product-card-top h3{ margin:0; font-size:1.05rem; letter-spacing:-0.01em; }
  .product-card-meta{
    font-family:var(--font-mono);
    font-size:0.74rem;
    letter-spacing:0.03em;
    color:var(--muted-2);
    display:flex;
    align-items:center;
    gap:0.5rem;
  }
  .product-card-body p{ margin:0; color:var(--muted); font-size:0.9rem; line-height:1.6; flex:1; }
  .product-card-body .button.primary,
  .product-card-body .button.disabled{ align-self:flex-start; margin-top:0.4rem; }

  @media (max-width: 860px){
    .producten-grid{ grid-template-columns:1fr; }
  }

  @media (max-width: 1080px) and (min-width: 861px){
    .producten-grid{ grid-template-columns:repeat(2, 1fr); }
  }

  /* ---------- Back to top ---------- */
  .back-to-top{
    position:fixed;
    right:1.5rem; bottom:1.5rem;
    width:46px; height:46px;
    border-radius:50%;
    background:linear-gradient(135deg, var(--teal-bright), var(--teal-deep));
    color:#04211f;
    border:none;
    display:flex; align-items:center; justify-content:center;
    font-size:1.1rem;
    cursor:pointer;
    box-shadow:0 10px 26px -10px rgba(45,212,200,0.6);
    opacity:0; transform:translateY(12px) scale(.9); pointer-events:none;
    transition:opacity .25s ease, transform .25s ease;
    z-index:55;
  }
  .back-to-top.is-visible{ opacity:1; transform:translateY(0) scale(1); pointer-events:auto; }
  .back-to-top:hover{ filter:brightness(1.08); transform:translateY(-3px); }

  /* ---------- Footer ---------- */
  .footer{
    margin-top:2rem;
    border-top:1px solid var(--border);
    background:linear-gradient(180deg, transparent, rgba(21,184,174,0.05));
  }

  .footer-grid{
    padding:3rem 0 1.75rem;
    display:grid;
    grid-template-columns:1.3fr 1fr 1fr 1fr;
    gap:2.5rem;
  }

  .footer-brand{ display:flex; align-items:center; gap:10px; margin-bottom:0.75rem; }
  .footer-brand img{ height:32px; width:auto; }
  .footer-brand span{ font-size:1.15rem; font-weight:800; letter-spacing:-0.02em; color:var(--ink); }

  .footer-blurb{
    font-size:0.9rem; line-height:1.6; color:var(--muted);
    max-width:300px; margin:0;
  }

  .footer h4{
    font-family:var(--font-mono);
    font-size:0.72rem;
    letter-spacing:0.1em;
    text-transform:uppercase;
    color:var(--teal-light);
    font-weight:600;
    margin:0 0 0.9rem;
  }

  .footer-links{ display:flex; flex-direction:column; gap:0.6rem; }
  .footer-links a{
    color:var(--muted); font-weight:500; font-size:0.92rem;
    transition:color .2s ease, transform .2s ease;
    display:inline-block;
  }
  .footer-links a:hover{ color:var(--teal-light); transform:translateX(3px); }

  .footer-bottom{
    border-top:1px solid var(--border);
    padding:1.1rem 0 2rem;
    text-align:center;
  }
  .footer-bottom p{ margin:0; font-size:0.82rem; color:var(--muted-2); }

  /* ---------- Mobile nav panel ---------- */
  .nav-mobile-panel{
    display:none;
    flex-direction:column;
    gap:0.25rem;
    padding:0 1.5rem 1.25rem;
    max-height:0;
    overflow:hidden;
    transition:max-height .3s ease;
  }
  .nav-mobile-panel.is-open{ max-height:400px; }
  .nav-mobile-panel a{
    font-family:var(--font-mono);
    font-size:0.9rem;
    color:var(--muted);
    padding:0.7rem 0.9rem;
    border-radius:12px;
    transition:color .2s ease, background .2s ease;
  }
  .nav-mobile-panel a:hover{ color:var(--ink); background:var(--surface-2); }

  /* ---------- Responsive ---------- */
  @media (max-width: 860px){
    .nav-links{ display:none; }
    .nav-toggle{ display:flex; }
    .nav-mobile-panel{ display:flex; }
    .hero-content{ grid-template-columns:1fr; }
    .section-grid{ grid-template-columns:1fr; }
    .team-grid{ grid-template-columns:1fr 1fr; }
    .reviews-grid{ grid-template-columns:1fr; }
    .vacature-grid{ grid-template-columns:1fr; }
    .contact-wrap{ grid-template-columns:1fr; }
    .form-row{ grid-template-columns:1fr; }
    .footer-grid{ grid-template-columns:1fr 1fr; }
  }
  @media (max-width: 480px){
    .team-grid{ grid-template-columns:1fr; }
    .footer-grid{ grid-template-columns:1fr; }
  }