:root{
  --bg: #e9ddcf;         /* warme beige achtergrond */
  --bg-soft: #f4ece2;    /* lichtere variant */
  --panel: #7c9270;      /* groen voor grote vlakken */
  --panel-soft: #efe5d8; /* zachte kaartkleur */
  --text: #1f1a17;       /* donkere tekst */
  --muted: #4f463d;
  --faint: #6f655b;
  --border: #1f1a17;
  --accent: #d88952;     /* terracotta accent */
  --accent-soft: #efc5a8;
  --shadow: 8px 8px 0 #1f1a17;
  --radius: 20px;
  --container: 1180px;
}

*{ box-sizing: border-box; }
html{
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

section[id]{
  scroll-margin-top: 112px;
}

a{ color: inherit; text-decoration: none; }
img, svg{ display:block; }

.container{
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.sr-only,
.skip-link{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0, 0, 0, 0);
  white-space:nowrap;
  border:0;
}

.skip-link:focus{
  clip:auto;
  width:auto;
  height:auto;
  margin:0;
  left: 16px;
  top: 16px;
  padding: 10px 14px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: #fff;
  z-index: 9999;
}

.site-header{
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background .18s ease, box-shadow .18s ease;
}

.site-header.is-elevated{
  background: rgba(233,221,207,0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 0 rgba(17,17,17,0.08);
}

.header-inner{
  display:grid;
  grid-template-columns: auto 1fr auto;
  align-items:center;
  gap: 24px;
  min-height: 82px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark{
  width: 46px;
  height: 46px;
  display:grid;
  place-items:center;
  border: 3px solid var(--border);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 4px 4px 0 var(--border);
  font-size: 13px;
  letter-spacing: .08em;
}

.brand-text{
  font-size: 15px;
  letter-spacing: -0.02em;
}

.nav{
  justify-self: center;
  position: relative;
}

.nav-toggle{
  display:none;
  align-items:center;
  justify-content:center;
  width: 52px;
  height: 52px;
  border: 3px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  box-shadow: 4px 4px 0 var(--border);
}

.burger,
.burger::before,
.burger::after{
  display:block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.burger{
  position: relative;
}

.burger::before,
.burger::after{
  content:"";
  position:absolute;
  left:0;
}

.burger::before{ top:-6px; }
.burger::after{ top:6px; }

.nav-menu{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 28px;
  list-style:none;
  margin:0;
  padding:0;
}

.nav-menu a{
  position: relative;
  font-size: 15px;
  font-weight: 700;
  padding: 8px 0;
}

.nav-menu a::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height: 4px;
  background: var(--accent);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .16s ease;
}

.nav-menu a:hover::after,
.nav-menu a.is-current::after{
  transform: scaleX(1);
}

.nav-menu a.is-current{ color: var(--accent); }

.header-links{
  display:flex;
  align-items:center;
  gap: 12px;
}

.header-link{
  width: 42px;
  height: 42px;
  display:grid;
  place-items:center;
  border-radius: 12px;
  transition: transform .16s ease, background .16s ease;
}

.header-link svg{
  width: 20px;
  height: 20px;
}

.header-link:hover{
  transform: translateY(-2px);
  background: rgba(17,17,17,0.05);
}

.hero{
  padding: 72px 0 48px;
}

.hero-layout{
  display:grid;
  gap: 34px;
}

.hero-frame{
  background: var(--panel);
  border: 5px solid var(--border);
  border-radius: 22px;
  box-shadow: 10px 10px 0 var(--border);
  padding: 52px 22px 18px;
}

.hero-intro{
  text-align:center;
  margin-bottom: 18px;
}

.hero-intro h1{
  margin: 0;
  font-family: "Archivo Black", Inter, sans-serif;
  font-size: clamp(46px, 7vw, 82px);
  line-height: .95;
}

.hero-intro p{
  margin: 4px 0 0;
  font-size: clamp(16px, 1.8vw, 24px);
  font-weight: 800;
}

.hero-nameplate{
  padding: clamp(34px, 6vw, 64px) 20px;
  border: 4px solid var(--border);
  border-radius: 10px 10px 14px 14px;
  background: var(--bg);
  text-align:center;
}

.hero-nameplate span{
  display:block;
  font-family: "Archivo Black", Inter, sans-serif;
  font-size: clamp(54px, 10vw, 124px);
  line-height: .82;
  letter-spacing: -0.06em;
}

.hero-copy{
  padding: 8px 10px 0;
}

.hero-subtitle{
  margin: 0;
  max-width: 950px;
  font-size: clamp(22px, 3vw, 42px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap: 14px;
  margin: 30px 0 24px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 170px;
  padding: 14px 18px;
  border: 3px solid var(--border);
  border-radius: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
  box-shadow: 4px 4px 0 var(--border);
}

.btn:hover{
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--border);
}

.btn.primary{
  background: var(--text);
  color: #fff;
}

.btn.secondary{
  background: #fff8e2;
}

.hero-details{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.detail-card{
  border: 3px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel-soft);
  box-shadow: var(--shadow);
}

.detail-card{
  padding: 18px 20px;
}

.detail-label,
.section-eyebrow,
.form span{
  display:block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
}

.detail-card strong{
  display:block;
  margin-top: 6px;
  font-size: 16px;
}

.section{
  padding: 48px 0 84px;
}

.section--tabbed{
  position: relative;
  margin-top: 88px;
}

.section-band{
  position: relative;
  margin-top: 24px;
  border-top: 4px solid var(--border);
  border-bottom: 4px solid var(--border);
}

.section-band--gold{
  background: var(--panel);
}

.section-band--purple{
  background: var(--accent-soft);
}

.section-tab{
  width: fit-content;
  display:flex;
  align-items:center;
  gap: 14px;
  margin: -24px 0 28px 24px;
  padding: 14px 22px;
  border: 4px solid var(--border);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  background: var(--bg);
}

.section--tabbed .section-tab{
  position: absolute;
  top: 0;
  left: 24px;
  margin: 0;
  z-index: 1;
}

.section--tabbed .section-tab.reveal{
  transform: translateY(calc(-100% + 18px));
}

.section--tabbed .section-tab.reveal.is-visible{
  transform: translateY(-100%);
}

.section-band--gold .section-tab{
  background: var(--panel);
}

.section-skills .section-tab{
  background: var(--bg);
}

.section-tab--purple{
  background: var(--accent-soft);
}

.section-tab__icon{
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.section-tab__label{
  font-family: "Archivo Black", Inter, sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  line-height: .95;
}

.about-layout{
  display:grid;
  grid-template-columns: 1.05fr 0.78fr 1fr;
  gap: 26px;
  align-items:center;
  padding-bottom: 16px;
}

.about-story{
  padding: 34px 22px;
  border: 4px solid var(--border);
  border-radius: 18px;
  background: var(--accent-soft);
  box-shadow: 10px 10px 0 var(--border);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 700;
  line-height: 1.62;
}

.about-story p{
  margin: 0 0 14px;
}

.about-story p:last-child{
  margin-bottom: 0;
}

.about-tags{
  display:grid;
  gap: 22px;
}

.about-tag{
  padding: 18px 20px;
  border: 4px solid var(--border);
  border-radius: 10px;
  background: var(--accent-soft);
  box-shadow: 10px 10px 0 var(--border);
  font-weight: 800;
  text-align:center;
}

.about-portrait{
  display:grid;
  place-items:center;
}

.about-portrait__frame{
  position: relative;
  width: min(100%, 410px);
  aspect-ratio: 1 / 1;
  border: 5px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  background:
    url("./img/plaatje.png") center / cover no-repeat;
}

.about-portrait__glow{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,0.22), transparent 24%),
    linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.16));
}

.about-portrait__initials{
  display: none;
}

.section-skills{
  margin-top: 0;
  padding-top: 70px;
}

.skills-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 34px;
  padding-top: 30px;
}

.skill-tile{
  min-height: 176px;
  display:grid;
  place-items:center;
  gap: 12px;
  padding: 18px;
  border: 3px solid var(--border);
  border-radius: 6px;
  background: var(--panel);
  box-shadow: 6px 6px 0 rgba(17,17,17,0.35);
  text-align:center;
}

.skill-icon{
  display:grid;
  place-items:center;
  width: 82px;
  height: 82px;
  border-radius: 2;
  background: rgba(255, 255, 255, 0.94);
  color: var(--panel);
  font-family: "Archivo Black", Inter, sans-serif;
  font-size: 28px;
  letter-spacing: -0.06em;
}

.skill-tile h3{
  margin: 0;
  font-size: 20px;
}

.project-list{
  display:grid;
  gap: 26px;
}

.project-panel{
  display:grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(0, 1.22fr);
  gap: 28px;
  align-items:center;
  padding: 22px;
  border: 3px solid var(--border);
  border-radius: 6px;
  background: var(--panel);
  box-shadow: 0 0 0 2px rgba(17,17,17,0.02);
}

.project-panel__media{
  display:flex;
  align-items:center;
  justify-content:center;
}

.project-shot{
  width: 100%;
  max-width: 330px;
  aspect-ratio: 1.45 / 1;
  border: 3px solid var(--border);
  border-radius: 4px;
  box-shadow: 6px 6px 0 rgba(17,17,17,0.25);
}

.project-panel__media--one .project-shot{
  background:
    linear-gradient(180deg, #c80d46 0 24%, #f2eeb4 24% 100%),
    linear-gradient(90deg, transparent, transparent);
}

.project-panel__media--two .project-shot{
  background: linear-gradient(180deg, #1a1d21 0%, #242d31 100%);
}

.project-panel__media--three .project-shot{
  background: linear-gradient(135deg, #f3e69a 0%, #f4c233 45%, #d7b2ff 100%);
}

.project-panel__content h2{
  margin: 0 0 16px;
  font-family: "Archivo Black", Inter, sans-serif;
  font-size: clamp(40px, 5.2vw, 76px);
  line-height: .9;
  letter-spacing: -0.06em;
  text-align:right;
}

.project-panel__content p{
  max-width: 520px;
  margin: 0 0 14px auto;
  padding: 14px 16px;
  border: 3px solid var(--border);
  border-radius: 8px;
  background: var(--accent-soft);
  font-weight: 600;
  line-height: 1.6;
}

.project-panel__footer{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

.project-tech{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap: 12px;
  font-size: 14px;
}

.project-links{
  display:flex;
  gap: 12px;
}

.project-links a{
  font-size: 22px;
  font-weight: 900;
}

.contact{
  padding: 70px 0 96px;
}

.contact-layout{
  display:grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.72fr);
  gap: 56px;
  align-items:start;
}

.contact-pitch h2{
  margin: 0;
  font-family: "Archivo Black", Inter, sans-serif;
  font-size: clamp(56px, 8vw, 108px);
  line-height: .92;
  letter-spacing: -0.08em;
}

.contact-pitch span{
  display:inline-block;
  margin-top: 22px;
}

.contact-form-wrap{
  max-width: 430px;
  justify-self: end;
  width: 100%;
}

.form label{ display:block; }

.form label + label{
  margin-top: 24px;
}

.form input,
.form textarea{
  width:100%;
  margin-top: 8px;
  padding: 14px 16px;
  border: 3px solid var(--border);
  border-radius: 0;
  background: #f4f4f4;
  color: var(--text);
  font: inherit;
  outline: none;
}

.form input:focus,
.form textarea:focus{
  box-shadow: 0 0 0 4px rgba(251,109,69,0.18);
}

.form-actions{
  display:flex;
  align-items:center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.form-actions--end{
  justify-content: flex-end;
}

.btn--send{
  min-width: 156px;
  background: var(--panel);
}

.form-hint,
.footer-inner{
  color: var(--muted);
}

.site-footer{
  padding: 28px 0;
  border-top: 3px solid rgba(17,17,17,0.12);
}

.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  font-size: 14px;
}

.to-top{
  font-weight: 700;
}

.reveal{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce){
  .reveal{
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .work-card,
  .header-link,
  .nav-menu a::after{
    transition: none;
  }
}

@media (max-width: 980px){
  .header-inner{
    grid-template-columns: auto auto auto;
  }

  .about-layout,
  .hero-details{
    grid-template-columns: 1fr;
  }

  .skills-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-panel,
  .contact-layout{
    grid-template-columns: 1fr;
  }

  .contact-form-wrap{
    justify-self: start;
    max-width: 100%;
  }

  .project-panel__content h2,
  .project-panel__content p,
  .project-panel__footer,
  .project-tech{
    text-align: left;
    justify-content: flex-start;
    margin-left: 0;
    margin-right: 0;
  }

  .hero{
    padding-top: 44px;
  }
}

@media (max-width: 760px){
  .container{
    width: min(var(--container), calc(100% - 26px));
  }

  .header-inner{
    grid-template-columns: auto auto;
    grid-template-areas:
      "brand toggle"
      "social social";
    gap: 14px;
    padding: 14px 0;
  }

  .brand{ grid-area: brand; }
  .nav{ grid-area: toggle; justify-self: end; }
  .header-links{ grid-area: social; justify-self: start; }

  .nav-toggle{ display:inline-flex; }

  .nav-menu{
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(280px, calc(100vw - 26px));
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 12px;
    border: 3px solid var(--border);
    border-radius: 18px;
    background: var(--panel-soft);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity .16s ease, transform .16s ease;
  }

  .nav-menu.is-open{
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu a{
    display:block;
    padding: 10px 8px;
  }

  .hero-frame{
    padding: 34px 12px 12px;
    border-width: 4px;
    box-shadow: 8px 8px 0 var(--border);
  }

  .section-tab{
    padding: 12px 16px;
  }

  .section--tabbed{
    margin-top: 76px;
  }

  .section--tabbed .section-tab{
    left: 10px;
  }

  .section-tab__label{
    font-size: 28px;
  }

  .about-layout{
    gap: 20px;
  }

  .about-story{
    font-size: 16px;
    padding: 24px 18px;
  }

  .about-tags{
    gap: 14px;
  }

  .about-tag{
    box-shadow: 6px 6px 0 var(--border);
  }

  .skills-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .skill-tile{
    min-height: 150px;
  }

  .project-panel{
    padding: 16px;
  }

  .project-panel__content h2{
    font-size: clamp(34px, 11vw, 58px);
  }

  .contact{
    padding-top: 36px;
  }

  .contact-pitch h2{
    font-size: clamp(44px, 15vw, 72px);
  }

  .hero-nameplate{
    padding-inline: 10px;
  }

  .hero-subtitle{
    font-size: clamp(18px, 7vw, 30px);
  }

  .footer-inner{
    flex-direction: column;
    align-items: flex-start;
  }
}