
:root {
  --ivory: #FAF9F6;
  --lav: #F0EDF3;
  --mauve: #A18A9F;
  --ink: #292B38;
  --navy: #343B50;
  --line: #DCD5DE;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 16px/1.6 "Aptos", "Segoe UI", Arial, sans-serif;
}

a {
  color: inherit;
}

/* Navigatie */
header {
  min-height: 78px;
  padding: 1rem 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}

.logo {
  text-decoration: none;
  font-weight: 850;
  letter-spacing: .12em;
}

.logo span {
  color: var(--mauve);
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  font-size: .9rem;
}

button {
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

#menu {
  display: none;
}

/* Mobiele navigatie standaard verbergen */
#mobile {
  display: none;
}

#mobile[hidden] {
  display: none !important;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  background: var(--ink);
  color: white;
  padding: .7rem;
  z-index: 9;
}

/* Startpagina */
.hero {
  min-height: 590px;
  padding: 5rem 8vw;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 5vw;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border: 1px solid var(--line);
  border-radius: 50%;
  right: -180px;
  top: -180px;
}

.eyebrow {
  color: var(--mauve);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  line-height: 1;
  letter-spacing: -.055em;
  margin: .8rem 0 1.5rem;
}

h1 em {
  font: italic 1em Georgia, serif;
  color: var(--mauve);
}

.lead {
  max-width: 540px;
  color: var(--navy);
  font-size: 1.2rem;
}

.pill {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: .4rem .9rem;
  font-size: .82rem;
  margin-top: 1rem;
}

.hero figure {
  margin: 0;
  position: relative;
  max-width: 350px;
  justify-self: end;
  width: 100%;
}

.hero img {
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 48% 48% 8px 8px;
  background: var(--lav);
}

figcaption {
  position: absolute;
  bottom: 1.2rem;
  left: -1.5rem;
  background: var(--ink);
  color: var(--ivory);
  padding: .7rem 1rem;
  font: italic 1rem Georgia, serif;
  transform: rotate(-3deg);
}

.index {
  position: absolute;
  bottom: 1rem;
  left: 8vw;
  color: var(--mauve);
}

/* Over mij */
.about {
  background: var(--lav);
  padding: 5rem 8vw;
  display: grid;
  grid-template-columns: .6fr 1.4fr;
  gap: 3rem;
}

.about h2,
.expertise h2,
.work h2,
.contact h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -.04em;
  margin: .3rem 0 1rem;
}

.about div p {
  max-width: 760px;
  color: var(--navy);
  font-size: 1.1rem;
}

/* Expertise */
.expertise {
  padding: 5rem 8vw;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.cards article {
  background: var(--lav);
  padding: 1.4rem;
  min-height: 245px;
}

.cards i {
  font-style: normal;
  color: var(--mauve);
  font-size: .8rem;
}

.cards h3 {
  font-size: 1.15rem;
  line-height: 1.2;
}

.cards p,
.work-grid p {
  color: var(--navy);
  font-size: .9rem;
}

/* Realisaties */
.work {
  background: var(--navy);
  color: var(--ivory);
  padding: 5rem 8vw;
}

.work .eyebrow,
.work-grid small {
  color: #D6C6D5;
}

.work-lead {
  max-width: 700px;
  color: #E6E2E9;
  font-size: 1.1rem;
}

.mock {
  max-width: 720px;
  background: #E8E1E9;
  padding: 2rem;
  margin: 2rem 0;
  color: var(--navy);
  box-shadow: 0 18px 45px #17192733;
}

.mock > span {
  font-size: .7rem;
  letter-spacing: .14em;
}

.mock-inner {
  margin-top: 1rem;
  background: var(--ivory);
  padding: 1.5rem;
  min-height: 140px;
}

.mock-inner b {
  display: block;
  background: var(--line);
  height: 7px;
  width: 70%;
  margin: .7rem;
}

.mock-inner b:nth-child(2) {
  width: 90%;
}

.mock-inner div {
  display: flex;
  gap: .7rem;
  margin: 1rem;
}

.mock-inner i {
  height: 40px;
  flex: 1;
  background: var(--lav);
  border: 1px solid var(--line);
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.work-grid article {
  border-top: 1px solid #ffffff55;
  padding-top: 1rem;
}

.work-grid p {
  color: #E6E2E9;
}

/* Contact */
.contact {
  padding: 5rem 8vw;
}

.contact h2 {
  max-width: 760px;
}

.contact > p:not(.eyebrow) {
  color: var(--navy);
}

.contact > a {
  display: inline-block;
  background: var(--mauve);
  color: white;
  text-decoration: none;
  padding: .8rem 1.2rem;
  margin-top: 1rem;
  font-weight: 700;
}

/* Voettekst */
footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 8vw;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--navy);
  font-size: .8rem;
}

footer a {
  text-decoration: none;
}

/* Tablet */
@media (max-width: 850px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    gap: 2rem;
  }
}

/* Smartphone */
@media (max-width: 620px) {
  header nav {
    display: none;
  }

  #menu {
    display: block;
    font-size: 1.3rem;
  }

  header {
    gap: .5rem;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 3rem 7vw 4rem;
  }

  .hero figure {
    justify-self: center;
    max-width: 270px;
  }

  .about {
    grid-template-columns: 1fr;
    padding: 3.5rem 7vw;
    gap: .5rem;
  }

  .expertise,
  .work,
  .contact {
    padding: 3.5rem 7vw;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  #mobile:not([hidden]) {
    display: grid;
    padding: 1rem 7vw;
    background: var(--lav);
  }

  #mobile[hidden] {
    display: none !important;
  }

  #mobile a {
    padding: .5rem 0;
  }
}

/* Kleine smartphones */
@media (max-width: 390px) {
  .cards {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.7rem;
  }
}

/* Toegankelijkheid */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
