/* =========================
   1. Lettertypes
   ========================= */

@font-face {
  font-family: "Mongolian Bali";
  src: url("../assets/fonts/monbaiti.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Pristina";
  src: url("../assets/fonts/PRISTINA.TTF") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


/* =========================
   2. Variabelen
   ========================= */

:root {
  --color-background-dark: #0a0214;
  --color-background-purple: #32185f;
  --color-surface: #493866;
  --color-button: #70687e;
  --color-light: #f5f5f5;

  --font-display: "Mongolian Bali", Georgia, serif;
  --font-body: "Zen Kurenaido", sans-serif;

  --radius-block: 24px;
  --content-width: 1200px;
}


/* =========================
   3. Reset
   ========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(
      ellipse 70% 55% at 35% 42%,
      var(--color-background-purple) 0%,
      var(--color-background-dark) 72%
    );
  background-attachment: fixed;
  color: var(--color-light);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}


/* =========================
   4. Algemene tekst
   ========================= */

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  text-transform: uppercase;
}

h1 {
  font-size: 48px;
}

h2 {
  font-size: 40px;
}

h3,
p,
a {
  font-family: var(--font-body);
}

h3 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.15;
}

p {
  font-size: 16px;
}

section {
  width: min(calc(100% - 112px), var(--content-width));
  margin-right: auto;
  margin-left: auto;
}


/* =========================
   5. Navigatie
   ========================= */

.site-header {
  width: min(calc(100% - 112px), var(--content-width));
  margin: 0 auto;
  padding-top: 32px;
}

.main-navigation {
  position: relative;
  display: flex;
  align-items: center;
}

.site-logo,
.navigation-list a {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1;
  text-transform: uppercase;
}

.navigation-list {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  gap: clamp(48px, 9vw, 128px);
  margin: 0;
  padding: 0;
  list-style: none;
  transform: translate(-50%, -50%);
}

.site-logo,
.navigation-list a,
.button {
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    background-color 180ms ease;
}

.site-logo:hover,
.navigation-list a:hover {
  opacity: 0.7;
}


/* =========================
   6. Knoppen
   ========================= */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 145px;
  min-height: 42px;
  padding: 8px 24px;
  border: 1px solid var(--color-light);
  border-radius: 12px;
  background-color: var(--color-button);
  color: var(--color-light);
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1;
  text-align: center;
}

.button:hover {
  background-color: var(--color-surface);
  transform: translateY(-2px);
}


/* =========================
   7. Hero
   ========================= */

.hero-section {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 650px;
  align-items: flex-start;
  justify-content: center;
  padding-top: 92px;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 112px), var(--content-width));
  text-align: center;
}

.hero-line-drawing {
  position: absolute;
  z-index: 0;
  bottom: 0;
  left: 50%;
  width: 100%;
  max-width: none;
  transform: translateX(-50%);
  pointer-events: none;
}


/* =========================
   8. Over mij
   ========================= */

.about-section {
  position: relative;
  display: flex;
  min-height: 350px;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 40px 70px;
  overflow: hidden;
  border: 1px solid var(--color-light);
  border-radius: var(--radius-block);
  background-color: var(--color-surface);
  margin-top: 64px;
}

.about-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.about-content h2 {
  margin-bottom: 24px;
}

.about-content p {
  margin-bottom: 16px;
}

.about-content .button {
  margin-top: 8px;
}

.about-line-drawing {
  position: absolute;
  right: 24px;
  bottom: 20px;
  z-index: 0;
  width: 33%;
  max-width: 330px;
  opacity: 0.95;
  pointer-events: none;
}


/* =========================
   9. Wat ik doe
   ========================= */

.skills-section {
  padding-top: 136px;
  padding-bottom: 100px;
}

.skills-section h2 {
  margin-bottom: 48px;
}

.skills-content {
  position: relative;
  min-height: 360px;
}

.skills-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 260px));
  gap: 64px 72px;
  width: min(60%, 600px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.skill-item h3 {
  margin-bottom: 24px;
}

.skill-item img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.skills-line-drawing {
  position: absolute;
  top: -32px;
  right: 4%;
  width: 240px;
  max-width: 30%;
  pointer-events: none;
}


/* =========================
   10. Projecten
   ========================= */

.projects-section {
  padding-bottom: 72px;
}

.projects-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.projects-heading h2 {
  margin-bottom: 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  overflow: hidden;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--color-light);
  border-radius: var(--radius-block);
  background-color: var(--color-surface);
}

.project-card > a {
  display: block;
  height: 100%;
}

.project-card-image {
  display: flex;
  height: 200px;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background-color: #ffffff;
}

.project-card-image img {
  width: 100%;
  max-width: 150px;
  max-height: 110px;
  height: auto;
  object-fit: contain;
  transition: transform 240ms ease;
}

.project-card > a:hover .project-card-image img {
  transform: scale(1.06);
}

.project-card-content {
  min-height: 130px;
  padding: 18px 22px 20px;
}

.project-card-content h3 {
  margin-bottom: 12px;
}

.project-card-content p {
  margin-bottom: 0;
}


/* =========================
   11. Uitgelicht project
   ========================= */

.featured-project-section {
  position: relative;
  display: flex;
  width: min(calc(100% - 112px), var(--content-width));
  margin-bottom: 100px;
  overflow: hidden;
  border-radius: var(--radius-block);
  background-color: #ffffff;
}

.featured-project-background {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: contain;
}

.featured-project-content {
  position: absolute;
  top: 68%;
  left: 9%;
  z-index: 1;
  width: 36%;
  transform: translateY(-50%);
  color: #202020;
}

.featured-project-description {
  margin-bottom: 28px;
  color: #202020;
  font-size: 20px;
  line-height: 1.45;
}

/* =========================
   12. Footer
   ========================= */

.site-footer {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
  padding: 72px max(56px, calc((100% - var(--content-width)) / 2));
  background-color: var(--color-surface);
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-column h2 {
  margin-bottom: 24px;
  font-size: 24px;
}

.footer-column p,
.footer-column a {
  margin-bottom: 12px;
  font-size: 20px;
}

.footer-column a:hover {
  text-decoration: underline;
}

/* =========================
   Over mij-pagina
   ========================= */

.about-page {
  padding-top: 112px;
}

/* Intro: tekst links, cartoon rechts */

.about-intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  align-items: start;
  gap: clamp(48px, 9vw, 150px);
  padding-bottom: 80px;
}

.about-intro-content {
  max-width: 610px;
}

.about-intro-content h1 {
  margin-bottom: 48px;
}

.about-intro-content p {
  max-width: 600px;
  margin-bottom: 28px;
}

.about-cartoon {
  width: min(100%, 360px);
  margin-top: 4px;
  margin-left: auto;
  object-fit: contain;
}

/* Afwisselende inhoudsblokken */

.about-story-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(64px, 12vw, 190px);
  min-height: 310px;
  padding: 44px 0;
}

.about-story-section-reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  padding-top: 76px;
  padding-bottom: 76px;
}

.story-content {
  max-width: 580px;
}

.story-content h2 {
  margin-bottom: 36px;
}

.story-content p {
  margin-bottom: 24px;
}

.story-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 230px;
}

.story-line-drawing {
  width: 100%;
  max-width: 360px;
  object-fit: contain;
}

.story-line-drawing-work {
  max-width: 280px;
}

.story-line-drawing-internship {
  max-width: 280px;
}

.story-line-drawing-hobbies {
  max-width: 400px;
}

/* Onderste acties / contact */

.about-actions-section {
  position: relative;
  display: flex;
  min-height: 300px;
  align-items: flex-end;
  justify-content: space-between;
  padding: 48px 0 92px;
  overflow: hidden;
}

.actions-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, 260px));
  gap: 24px 32px;
  position: relative;
  z-index: 1;
}

.actions-list .button {
  width: 100%;
}

.contact-line-drawing {
  position: absolute;
  right: 8%;
  bottom: 34px;
  width: min(40%, 340px);
  object-fit: contain;
  pointer-events: none;
} 

/* =========================
   Projecten-pagina
   ========================= */

.projects-page {
  padding-top: 112px;
}

.projects-intro-section {
  padding-bottom: 112px;
}

.projects-intro-section h1 {
  margin-bottom: 48px;
}

.projects-intro-section p {
  max-width: 1060px;
  margin-bottom: 24px;
}

.projects-overview-section {
  padding-bottom: 112px;
}

/* Drie kaarten per rij op desktop */

.projects-page-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 72px 36px;
}

/* Elke link vult de volledige kaart */

.projects-page-grid .project-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Zorgt dat alle kaarten in een rij dezelfde hoogte krijgen */

.projects-page-grid .project-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 160px;
  padding: 24px 28px 28px;
}

/* Titel op de kaart: Zen Kurenaido, niet vet */

.projects-page-grid .project-card-content h2 {
  margin-bottom: 16px;
  color: var(--color-light);
  font-family: var(--font-body);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.15;
  text-transform: none;
}

/* Beschrijving op de kaart */

.projects-page-grid .project-card-content p {
  margin-bottom: 0;
  color: var(--color-light);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
}

/* =========================
   Terwinneke-projectpagina
   ========================= */

.project-page {
  padding-top: 112px;
  padding-bottom: 112px;
}

/* Intro */

.project-intro {
  width: min(calc(100% - 112px), var(--content-width));
  margin: 0 auto;
  padding-bottom: 56px;
}

.project-intro h1 {
  margin-bottom: 36px;
}

.project-intro p {
  max-width: 1100px;
  margin-bottom: 16px;
}

/* Algemene tekstsecties */

.project-text-section {
  position: relative;
  width: min(calc(100% - 112px), var(--content-width));
  margin: 0 auto;
  padding: 56px 0;
}

.project-text-section h2 {
  margin-bottom: 36px;
}

.project-text-section p {
  margin-bottom: 24px;
}

/* Projectcard */

.project-information-card {
  display: flex;
  width: min(calc(100% - 112px), var(--content-width));
  min-height: 360px;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  margin: 0 auto;
  padding: 52px 70px;
  border: 1px solid var(--color-light);
  border-radius: var(--radius-block);
  background-color: var(--color-surface);
}

.project-information-content {
  width: min(100%, 600px);
}

.project-information-content h2 {
  margin-bottom: 38px;
  font-family: var(--font-body);
  font-size: 32px;
  font-weight: 400;
  text-transform: uppercase;
}

.project-details {
  display: grid;
  gap: 22px;
  margin: 0;
}

.project-details div {
  display: flex;
  gap: 8px;
}

.project-details dt,
.project-details dd {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
}

.project-details dt {
  text-transform: uppercase;
}

.project-information-logo {
  width: min(30%, 270px);
  max-height: 170px;
  padding: 18px;
  border-radius: var(--radius-block);
  background-color: #ffffff;
  object-fit: contain;
}

/* =========================
   Tijdlijn
   ========================= */

.project-timeline-section {
  width: min(calc(100% - 112px), var(--content-width));
  margin: 0 auto;
  padding: 48px 0 56px;
}

.project-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 240px;
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-timeline::before {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 3px;
  background-color: var(--color-light);
  content: "";
}

/* Elk timeline-item vult dezelfde hoogte */

.project-timeline li {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 240px;
  flex-direction: column;
  align-items: center;
  padding-right: 12px;
  padding-left: 12px;
  text-align: center;
  isolation: isolate;
}

/* Zorgt dat de verticale timeline-lijn niet zichtbaar is door de tekst */

.project-timeline time,
.project-timeline span,
.project-timeline p {
  display: block;
  padding-right: 12px;
  padding-left: 12px;
  background-color: var(--color-background-dark);
}

/* Items boven de horizontale lijn */

.project-timeline li:nth-child(odd) {
  justify-content: flex-start;
  padding-top: 0;
  padding-bottom: 105px;
}

/* Items onder de horizontale lijn */

.project-timeline li:nth-child(even) {
  justify-content: flex-end;
  padding-top: 105px;
  padding-bottom: 0;
}

/* Verticale verbinding tussen tekstblok en horizontale lijn */

.project-timeline li::after {
  position: absolute;
  z-index: -1;
  top: calc(50% - 70px);
  left: 50%;
  width: 3px;
  height: 70px;
  background-color: var(--color-light);
  content: "";
  transform: translateX(-50%);
}

.project-timeline li:nth-child(even)::after {
  top: 50%;
  height: 70px;
}

/* Tekst */

.project-timeline time,
.project-timeline span,
.project-timeline p {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
}

.project-timeline time {
  text-transform: uppercase;
}

.project-timeline span {
  margin-top: 4px;
}

.project-timeline p {
  max-width: 190px;
  margin-top: 6px;
}

/* Analyse met friettekening */

.website-analysis-section {
  padding-top: 96px;
  padding-right: min(26%, 320px);
}

.project-line-drawing-fries {
  position: absolute;
  right: 4%;
  bottom: 40px;
  width: min(21%, 220px);
  pointer-events: none;
}

/* Persona-afbeelding */

.persona-section {
  width: min(calc(100% - 112px), var(--content-width));
  margin: 8px auto 40px;
}

.persona-image {
  width: 100%;
  border: 1px solid var(--color-light);
  border-radius: var(--radius-block);
}

/* Aanpak en procesflow */

.approach-section {
  padding-top: 72px;
}

.process-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 64px;
  font-family: var(--font-body);
  font-size: 16px;
  text-transform: uppercase;
  white-space: nowrap;
}

.process-flow span[aria-hidden="true"] {
  font-size: 32px;
  line-height: 1;
}

/* Afbeeldingsgrids */

.project-image-grid {
  display: grid;
  gap: 18px;
  margin-top: 48px;
}

.project-image-grid figure {
  margin: 0;
}

.project-image-grid img {
  width: 100%;
  border-radius: var(--radius-block);
}

/* Vier smalle wireframes + brede brandsheet */

.project-image-grid-wireframes {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: start;
}

.project-image-grid-wireframes figure:nth-child(-n + 4) {
  grid-column: span 1;
}

.project-image-grid-wireframes figure:last-child {
  grid-column: span 2;
}

/* Drie accessibility-afbeeldingen naast elkaar */

.project-image-grid-accessibility {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}

.project-image-grid-accessibility figure {
  display: flex;
  min-height: 300px;
  align-items: center;
  justify-content: center;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-block);
  background-color: #ffffff;
}

.project-image-grid-accessibility img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: contain;
  border-radius: var(--radius-block);
}

/* Resultaatlijst */

.result-section ul {
  margin: 0 0 24px;
  padding-left: 24px;
}

.result-section li {
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-size: 16px;
}

/* Video met drawings links en rechts */

.project-result-visual {
  position: relative;
  display: flex;
  width: min(calc(100% - 112px), var(--content-width));
  min-height: 360px;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 24px 0 40px;
  overflow: hidden;
}

.result-video {
  position: relative;
  z-index: 1;
  display: block;
  width: min(36%, 360px);
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-block);
  background-color: #000000;
}

.result-line-drawing {
  position: absolute;
  bottom: 34px;
  width: min(18%, 180px);
  max-height: 300px;
  object-fit: contain;
  pointer-events: none;
}

.result-line-drawing-left {
  left: 12%;
}

.result-line-drawing-right {
  right: 12%;
}

/* =========================
   Lumière-projectpagina
   ========================= */

/* De Lumière-tijdlijn heeft zes mijlpalen in plaats van vier */

.lumiere-page .project-timeline {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.lumiere-page .project-timeline li {
  padding-right: 8px;
  padding-left: 8px;
}

.lumiere-page .project-timeline p {
  max-width: 150px;
  font-size: 14px;
}

/* Benchmark: ruimte voor de kaars-tekening rechts */

.lumiere-page .benchmark-section {
  min-height: 360px;
  padding-right: min(35%, 430px);
}

.project-line-drawing-candle {
  position: absolute;
  right: 0;
  bottom: 42px;
  width: min(33%, 399px);
  aspect-ratio: 399 / 232;
  object-fit: contain;
  pointer-events: none;
}

/* User stories: vijf afbeeldingen met gelijke hoogte */

.project-image-grid-user-stories {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  margin-top: 40px;
  margin-bottom: 36px;
}

.project-image-grid-user-stories figure {
  display: flex;
  width: auto;
  height: 500px;
  align-items: center;
  justify-content: center;
  margin: 0;
  flex: 0 0 auto;
}

.project-image-grid-user-stories img {
  display: block;
  width: auto;
  height: 500px;
  max-width: none;
  border-radius: var(--radius-block);
  object-fit: contain;
}

/* Elke afbeelding behoudt haar originele verhouding */

.project-image-grid-user-stories figure:nth-child(1) img {
  aspect-ratio: 19 / 53;
}

.project-image-grid-user-stories figure:nth-child(2) img {
  aspect-ratio: 65 / 154;
}

.project-image-grid-user-stories figure:nth-child(3) img {
  aspect-ratio: 27 / 64;
}

.project-image-grid-user-stories figure:nth-child(4) img {
  aspect-ratio: 58 / 121;
}

.project-image-grid-user-stories figure:nth-child(5) img {
  aspect-ratio: 33 / 82;
}

/* Flowchart en groepswireframes */

.project-single-image {
  width: min(72%, 815px);
  margin: 40px 0 48px;
}

.project-single-image img {
  display: block;
  width: 100%;
  border-radius: var(--radius-block);
  object-fit: contain;
}

.user-stories-section {
  position: relative;
  padding-right: min(36%, 440px);
}

.user-stories-section .project-single-image {
  width: min(82%, 920px);
  margin: 48px 0 56px;
  aspect-ratio: 119 / 86;
}

.project-line-drawing-clapperboard {
  position: absolute;
  top: 83%;
  right: 1%;
  bottom: auto;
  width: min(34%, 410px);
  aspect-ratio: 191 / 93;
  object-fit: contain;
  pointer-events: none;
  transform: translateY(-50%);
}

.project-single-image-wide {
  width: min(100%, 1192px);
  margin-bottom: 32px;
  aspect-ratio: 596 / 309;
}

/* Functionaliteiten: vijf verticale video's naast elkaar */

.project-video-grid {
  display: grid;
  gap: 18px;
  margin-top: 48px;
}

.project-video-grid figure {
  margin: 0;
}

.project-video-grid video {
  display: block;
  width: 100%;
  border-radius: var(--radius-block);
  background-color: #000000;
  object-fit: cover;
}

.project-video-grid figcaption {
  margin-top: 12px;
  font-family: var(--font-body);
  font-size: 16px;
  text-align: center;
}

.project-video-grid-functionality {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.project-video-grid-functionality figure {
  min-width: 0;
}

.project-video-grid-functionality video {
  width: 100%;
  aspect-ratio: 22 / 45;
  object-fit: cover;
}

/* Variables: tekst links en twee video's rechts */

.lumiere-page .variables-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.9fr);
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
}

.variables-section .variables-text h2 {
  margin-bottom: 36px;
}

.variables-section .project-video-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 0;
}

.project-video-grid-variables video {
  aspect-ratio: 22 / 45;
  object-fit: cover;
}

/* Resultaat: twee video's met Mongolian Bali-titels */

.project-result-videos {
  display: flex;
  justify-content: center;
  gap: clamp(56px, 12vw, 180px);
  margin-top: 56px;
}

.project-result-videos figure {
  width: min(34%, 300px);
  margin: 0;
}

.project-result-videos h3 {
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}

.project-result-videos video {
  display: block;
  width: 100%;
  aspect-ratio: 22 / 45;
  border-radius: var(--radius-block);
  background-color: #000000;
  object-fit: cover;
}

/* =========================
   NEXT-projectpagina
   ========================= */

/* Projectcard: informatie in twee kolommen */

.next-project-information-card {
  align-items: center;
}

.next-project-details {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 64px;
  row-gap: 22px;
}

.next-project-details div {
  display: block;
}

.next-project-details dd {
  margin-top: 4px;
}

/* Tijdlijn: acht mijlpalen */

.next-page .project-timeline {
  grid-template-columns: repeat(8, minmax(0, 1fr));
}

.next-page .project-timeline li {
  padding-right: 6px;
  padding-left: 6px;
}

.next-page .project-timeline time,
.next-page .project-timeline span,
.next-page .project-timeline p {
  font-size: 14px;
}

.next-page .project-timeline p {
  max-width: 120px;
}

/* Over NEXT: tekst links, brochure rechts */

.next-about-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.38fr);
  align-items: center;
  gap: clamp(48px, 10vw, 160px);
}

.next-text-column {
  max-width: 680px;
}

.next-text-column h2 {
  margin-bottom: 36px;
}

.next-text-column p {
  margin-bottom: 24px;
}

.next-side-image {
  margin: 0;
}

.next-side-image img {
  display: block;
  width: 100%;
  border-radius: var(--radius-block);
}

/* Research: brochures links en decoratieve lijntekening rechts */

.next-research-visuals {
  position: relative;
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 40px 0 36px;
  padding-right: min(34%, 420px);
}

.next-research-visuals figure {
  width: min(28%, 320px);
  margin: 0;
}

.next-research-visuals figure img {
  display: block;
  width: 100%;
  border-radius: var(--radius-block);
}

.next-line-drawing-research {
  position: absolute;
  top: 40%;
  right: 20%;
  width: min(28%, 300px);
  transform: translateY(-50%);
  pointer-events: none;
}

.next-wide-image {
  width: min(64%, 760px);
  margin: 44px 0 48px;
}

.next-wide-image img {
  display: block;
  width: 100%;
  border-radius: var(--radius-block);
}

.research-section {
  position: relative;
  padding-right: 0;
  padding-bottom: 48px;
}

.research-section > p {
  max-width: none;
}

.next-line-drawing-architecture {
  position: absolute;
  top: 80%;
  right: 10%;
  bottom: auto;
  width: min(24%, 260px);
  pointer-events: none;
  transform: translateY(-50%);
}

/* Eerste visuele richting */

.next-visual-direction-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr) minmax(140px, 0.42fr);
  align-items: stretch;
  gap: 36px;
  margin-top: 48px;
}

.next-visual-direction-grid figure,
.next-logo-ideas {
  height: 435px;
  margin: 0;
}

.next-visual-direction-grid figure {
  overflow: hidden;
  border-radius: var(--radius-block);
}

.next-visual-direction-grid figure img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-block);
  object-fit: cover;
}

.next-logo-ideas {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.next-logo-ideas img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-block);
  object-fit: contain;
  background-color: #ffffff;
}

/* Branding: vier palettes naast elkaar */

.next-branding-palettes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin-top: 48px;
  margin-bottom: 48px;
}

.next-branding-palettes figure,
.next-logo-iterations figure {
  margin: 0;
}

.next-branding-palettes img,
.next-logo-iterations img {
  display: block;
  width: 100%;
  border-radius: var(--radius-block);
}

/* Drie logo-iteraties: twee afbeeldingen links, groot overzicht rechts */

.next-logo-iterations-intro {
  margin-top: 40px;
  margin-bottom: 0;
}

.next-logo-iterations {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 32px;
  margin-top: 56px;
}

.next-logo-iterations figure:nth-child(1) {
  grid-column: 1;
}

.next-logo-iterations figure:nth-child(2) {
  grid-column: 1;
}

.next-logo-iterations figure:nth-child(3) {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: stretch;
}

.next-logo-iterations figure:nth-child(3) img {
  height: 100%;
  object-fit: cover;
}

/* Slogan */

.next-slogan-intro {
  margin-top: 56px;
  margin-bottom: 18px;
}

.next-slogan-section {
  position: relative;
  display: flex;
  min-height: 170px;
  align-items: center;
  justify-content: center;
  margin: 0 0 36px;
}

.next-slogan-line-drawing {
  position: absolute;
  left: 8%;
  width: min(22%, 230px);
  pointer-events: none;
}

.next-slogan {
  max-width: 700px;
  margin: 0;
  color: var(--color-light);
  font-family: "Pristina", cursive;
  font-size: 64px;
  font-weight: 400;
  line-height: 1.1;
  text-align: center;
}

/* Navigatieheader: volledige contentbreedte */

.information-architecture-section .next-wide-image {
  width: 100%;
  max-width: none;
  margin-top: 48px;
  margin-bottom: 0;
}

/* Iteraties */

.next-iterations-grid,
.next-high-fidelity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 32px;
  margin-top: 56px;
}

.next-iterations-grid figure,
.next-high-fidelity-grid figure {
  margin: 0;
}

.next-iterations-grid h3,
.next-high-fidelity-grid h3 {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  text-align: center;
  text-transform: uppercase;
}

.next-iterations-grid img,
.next-high-fidelity-grid img {
  display: block;
  width: 100%;
  border-radius: var(--radius-block);
}

/* Iteratie 5 centraal en smaller */

.next-iterations-grid figure:nth-child(5) {
  grid-column: 1 / -1;
  width: min(52%, 600px);
  justify-self: center;
}

/* Feedback: zes even brede pagina-afbeeldingen op één rij */

.next-final-selection {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
  width: 100%;
  margin: 48px 0 0;
}

.next-final-selection figure {
  margin: 0;
  min-width: 0;
}

.next-final-selection img {
  display: block;
  width: 100%;
  border-radius: var(--radius-block);
}

/* Status: tekst links, line drawing en logo rechts */

.status-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  align-items: center;
  gap: clamp(48px, 10vw, 160px);
}

.next-status-content {
  max-width: 650px;
}

.next-status-content h2 {
  margin-bottom: 36px;
}

.next-status-content p {
  margin-bottom: 24px;
}

.next-status-visual {
  position: relative;
  display: flex;
  min-height: 260px;
  align-items: center;
  justify-content: center;
}

.next-status-line-drawing {
  position: absolute;
  left: -40%;
  width: min(78%, 320px);
  pointer-events: none;
}

.next-status-logo {
  position: relative;
  z-index: 1;
  width: min(34%, 140px);
  margin-left: 35%;
  border-radius: var(--radius-block);
}

/* Mijn bijdrage: tekst links, vier beelden rechts.
   De vier afbeeldingen krijgen dezelfde breedte als de zes afbeeldingen
   binnen Feedback en finale selectie. */

.contribution-section {
  display: block;
}

.next-contribution-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  align-items: start;
  gap: clamp(48px, 8vw, 120px);
}

.next-contribution-content {
  max-width: 650px;
}

.next-contribution-content h2 {
  margin-bottom: 36px;
}

.next-contribution-content p {
  margin-bottom: 24px;
}

.next-contribution-images figure {
  margin: 0;
}

.next-contribution-wireframes img,
.next-contribution-pages img {
  display: block;
  width: 100%;
  border-radius: var(--radius-block);
}

.next-contribution-wireframes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
}

.next-contribution-pages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  width: min(58%, 660px);
  margin-top: -600px;
}

.next-contribution-pages figure {
  margin: 0;
}

/* =========================
   Jazzzolder-projectpagina
   ========================= */

/* Projectcard zoals NEXT: metadata in twee kolommen */

.jazzzolder-project-information-card {
  align-items: center;
}

.jazzzolder-project-details {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 64px;
  row-gap: 22px;
}

.jazzzolder-project-details div {
  display: block;
}

.jazzzolder-project-details dd {
  margin-top: 4px;
}

/* Tijdlijn met acht mijlpalen */

.jazzzolder-page .project-timeline {
  grid-template-columns: repeat(8, minmax(0, 1fr));
}

.jazzzolder-page .project-timeline li {
  padding-right: 6px;
  padding-left: 6px;
}

.jazzzolder-page .project-timeline time,
.jazzzolder-page .project-timeline span,
.jazzzolder-page .project-timeline p {
  font-size: 14px;
}

.jazzzolder-page .project-timeline p {
  max-width: 120px;
}

/* Over Jazzzolder: tekst boven, foto-compositie eronder */

.about-jazzzolder-section {
  position: relative;
}

.jazzzolder-text-content {
  max-width: 100%;
}

.jazzzolder-text-content h2 {
  margin-bottom: 36px;
}

.jazzzolder-text-content p {
  margin-bottom: 24px;
}

.jazzzolder-club-gallery {
  display: grid;
  grid-template-columns: 500px 260px;
  grid-template-rows: 180px 180px;
  gap: 20px 48px;
  width: 808px;
  margin-top: 48px;
}

.jazzzolder-club-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-block);
}

.jazzzolder-club-gallery figure:first-child {
  grid-column: 1;
  grid-row: 1;
}

.jazzzolder-club-gallery figure:nth-child(2) {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.jazzzolder-club-gallery figure:nth-child(3) {
  grid-column: 1;
  grid-row: 2;
}

.jazzzolder-club-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-block);
  object-fit: cover;
}

.jazzzolder-line-drawing-notes {
  position: absolute;
  right: 9%;
  bottom: 30%;
  width: 108px;
  pointer-events: none;
}

/* Research en briefing: tekst links, live-foto rechts */

.research-briefing-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: clamp(48px, 9vw, 140px);
}

.jazzzolder-research-image {
  margin: 0;
}

.jazzzolder-research-image img {
  display: block;
  width: 100%;
  border-radius: var(--radius-block);
}

/* Brandsheet: afbeelding links, tekst rechts */

.brandsheet-section {
  display: grid;
  grid-template-columns: minmax(230px, 0.52fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(48px, 11vw, 180px);
}

.jazzzolder-brandsheet-image {
  margin: 0;
}

.jazzzolder-brandsheet-image img {
  display: block;
  width: 100%;
  border-radius: var(--radius-block);
}

/* Figma prototype en feedback:
   acht afbeeldingen met gelijke breedte in één rij */

.jazzzolder-page-gallery {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
  width: 100%;
  margin-top: 48px;
}

.jazzzolder-page-gallery figure {
  min-width: 0;
  margin: 0;
}

.jazzzolder-page-gallery img {
  display: block;
  width: 100%;
  border-radius: var(--radius-block);
}

/* Figma-section met decoratieve muzikant */

.figma-prototype-section {
  position: relative;
  padding-bottom: 120px;
}

.jazzzolder-line-drawing-music {
  position: absolute;
  right: 8%;
  bottom: 60px;
  width: min(30%, 340px);
  pointer-events: none;
}

/* Feedback: plaats voor gecombineerde instrumenten-tekening */

.feedback-adjustments-section {
  position: relative;
  padding-bottom: 120px;
}

.jazzzolder-feedback-line-drawing {
  position: absolute;
  right: 2%;
  bottom: 300px;
  width: min(42%, 460px);
  pointer-events: none;
}

/* WordPress-video: exact de volledige contentbreedte */

.jazzzolder-wordpress-video {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 48px;
  border-radius: var(--radius-block);
  background-color: #000000;
}

/* Mijn bijdrage: twee gelijke afbeeldingen links,
   gecombineerd muziekbeeld rechts */

.jazzzolder-contribution-section {
  position: relative;
  min-height: 760px;
  padding-right: 0;
}

.jazzzolder-contribution-content {
  max-width: 100%;
}

.jazzzolder-contribution-content h2 {
  margin-bottom: 36px;
}

.jazzzolder-contribution-content p {
  margin-bottom: 24px;
}

.jazzzolder-contribution-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: min(58%, 520px);
  margin-top: 40px;
}

.jazzzolder-contribution-images figure {
  margin: 0;
}

.jazzzolder-contribution-images img {
  display: block;
  width: 100%;
  border-radius: var(--radius-block);
}

.jazzzolder-contribution-line-drawing {
  position: absolute;
  right: 4%;
  bottom: 900px;
  width: min(48%, 540px);
  pointer-events: none;
}

/* =========================
   Figma Learning-pagina
   ========================= */

/* =========================
   Figma Learning-pagina
   ========================= */

.figma-learning-page {
  padding-top: 112px;
  padding-bottom: 112px;
}

/* Intro */

.figma-learning-intro {
  width: min(calc(100% - 112px), var(--content-width));
  margin: 0 auto;
  padding-bottom: 72px;
}

.figma-learning-intro h1 {
  margin-bottom: 48px;
}

.figma-learning-intro p {
  max-width: 1120px;
  margin-bottom: 20px;
}

/* Kaarten en pen line drawing */

.figma-learning-projects {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  width: min(calc(100% - 112px), var(--content-width));
  min-height: 920px;
  margin: 0 auto;
  padding-bottom: 260px;
}

/* Klikbare kaart */

.figma-project-card {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-block);
  background-color: #ffffff;
  color: #111111;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.figma-project-card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transform: translateY(-6px);
}

.figma-project-card:focus-visible {
  outline: 3px solid var(--color-light);
  outline-offset: 5px;
}

/* Houdt alle kaartblokken exact even groot */

.figma-project-card {
  aspect-ratio: 1 / 1;
}

/* Witte beeldzone in de kaart */

.figma-project-card-image {
  display: flex;
  flex: 1;
  min-height: 0;
  align-items: center;
  justify-content: center;
  padding: 32px 32px 16px;
}

.figma-project-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Titel onderaan in de witte kaart */

.figma-project-card-title {
  display: flex;
  min-height: 90px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px 24px;
  color: #111111;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.1;
  text-align: center;
  text-transform: none;
}

/* Positie van de laatste kaart en de pen zoals in je ontwerp */

.figma-project-card:nth-child(6) {
  grid-column: 1;
  grid-row: 3;
}

.figma-learning-pen-line-drawing {
  position: absolute;
  right: 6%;
  bottom: 500px;
  width: min(42%, 450px);
  pointer-events: none;
}

/* =========================
   Popups / dialogen
   ========================= */

.figma-project-dialog {
  width: min(calc(100% - 112px), var(--content-width));
  max-width: var(--content-width);
  max-height: calc(100vh - 64px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--color-light);
  border-radius: var(--radius-block);
  background-color: var(--color-surface);
  color: var(--color-light);
}

.figma-project-dialog::backdrop {
  background-color: rgba(10, 2, 20, 0.8);
  backdrop-filter: blur(4px);
}

.figma-dialog-content {
  position: relative;
  max-height: calc(100vh - 64px);
  padding: 64px 72px;
  overflow-y: auto;
}

.figma-dialog-content h2 {
  margin-bottom: 28px;
}

.figma-dialog-content p {
  max-width: 900px;
  margin-bottom: 24px;
}

/* Sluitknop */

.figma-dialog-close {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin: 0 0 0 auto;
  border: 1px solid var(--color-light);
  border-radius: 50%;
  background-color: var(--color-button);
  color: var(--color-light);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 32px;
  line-height: 1;
}

.figma-dialog-close:hover {
  background-color: var(--color-background-dark);
}

/* Extra beelden binnen een popup */

.figma-dialog-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.figma-dialog-gallery img {
  display: block;
  width: 100%;
  border-radius: var(--radius-block);
}

/* ========================================
   FIGMA LEARNING — POPUPS
   ======================================== */

/* Het volledige popupvenster */

.figma-project-dialog {
  width: min(1180px, calc(100% - 96px));
  max-width: 1180px;
  max-height: calc(100vh - 64px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 28px;
  background-color: #4d3b69;
  color: #ffffff;
}

/* Donkere transparante achtergrond achter de popup */

.figma-project-dialog::backdrop {
  background-color: rgba(12, 4, 22, 0.82);
  backdrop-filter: blur(5px);
}

/* Scrollzone in de popup */

.figma-dialog-content {
  position: relative;
  max-height: calc(100vh - 64px);
  padding: 64px 72px 72px;
  overflow-y: auto;
  scrollbar-color: rgba(255, 255, 255, 0.75) transparent;
  scrollbar-width: thin;
}

/* WebKit-scrollbar: Chrome, Edge en Safari */

.figma-dialog-content::-webkit-scrollbar {
  width: 10px;
}

.figma-dialog-content::-webkit-scrollbar-track {
  background: transparent;
}

.figma-dialog-content::-webkit-scrollbar-thumb {
  border: 3px solid #4d3b69;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.75);
}

/* Titel van iedere popup */

.figma-dialog-content h2 {
  margin: 0 70px 38px;
  color: #ffffff;
  font-family: "Mongolian Baiti", Georgia, serif;
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  text-align: center;
}

/* Tekst in de popup */

.figma-dialog-content p {
  max-width: 100%;
  margin: 0 0 48px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}

/* Sluitknop: staat rechtsboven en blijft zichtbaar bij scrollen */

.figma-dialog-close-form {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: flex-end;
  height: 0;
  margin: 0;
}

.figma-dialog-close {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.12);
  color: #ffffff;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.figma-dialog-close:hover {
  background-color: #ffffff;
  color: #4d3b69;
  transform: rotate(90deg);
}

.figma-dialog-close:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

/* ========================================
   Raster met foto’s
   Geen bijkomende witte achtergrond:
   de foto zelf vormt ieder blok.
   ======================================== */

.popup-image-grid {
  display: grid;
  width: 100%;
  gap: 36px;
}

/* Drie even grote foto’s naast elkaar:
   Ruimte tekeningen en Line drawings */

.popup-image-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Vijf even grote foto’s naast elkaar:
   Line icons */

.popup-image-grid--five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
}

/* Foto's in een raster */

.popup-image-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  object-fit: cover;
}

/* Ruimte tekeningen en line drawings:
   de volledige illustratie moet zichtbaar blijven */

#ruimte-tekeningen-popup .popup-image-grid img,
#line-drawings-popup .popup-image-grid img {
  object-fit: contain;
}

/* Line icons:
   alle iconfoto’s blijven even groot in hun blok */

#line-icons-popup .popup-image-grid img {
  object-fit: cover;
}

/* ========================================
   Kampvuur
   Foto is zelf het blok, zonder extra container.
   ======================================== */

.popup-feature-image {
  display: block;
  width: 100%;
  border-radius: 22px;
}

/* ========================================
   Zeemeermin
   Dit is de enige afbeelding met een expliciet
   wit achtergrondblok.
   ======================================== */

.popup-white-image-block {
  display: flex;
  min-height: 560px;
  align-items: center;
  justify-content: center;
  padding: 52px;
  border-radius: 22px;
  background-color: #ffffff;
}

.popup-white-image-block img {
  display: block;
  width: min(100%, 520px);
  max-height: 520px;
  object-fit: contain;
}

/* ========================================
   Carrousel animatie
   De video is het blok zelf:
   geen witte achtergrondcontainer.
   ======================================== */

.popup-feature-video {
  display: block;
  width: 100%;
  max-height: 650px;
  border-radius: 22px;
  background-color: transparent;
  object-fit: contain;
}

/* =========================
   13. Tablet
   ========================= */

@media (max-width: 900px) {
  section,
  .site-header {
    width: min(calc(100% - 64px), var(--content-width));
  }

  .navigation-list {
    gap: 40px;
  }

  .about-section {
    padding: 36px 44px;
  }

  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-project-section {
    padding: 40px;
  }

  .featured-project-image {
    width: 48%;
  }

    /* Over mij-pagina */

  .about-page {
    padding-top: 80px;
  }

  .about-intro-section {
    gap: 48px;
  }

  .about-story-section,
  .about-story-section-reverse {
    gap: 64px;
  }

  .story-line-drawing-hobbies {
    max-width: 320px;
  }

  .contact-line-drawing {
    right: 3%;
  }

  /* Projecten-pagina */

  .projects-page {
    padding-top: 80px;
  }

  .projects-intro-section {
    padding-bottom: 80px;
  }

  .projects-overview-section {
    padding-bottom: 80px;
  }

  .projects-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 24px;
  }

    /* Terwinneke-projectpagina */

  .project-page {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .project-intro,
  .project-text-section,
  .project-information-card,
  .project-timeline-section,
  .persona-section,
  .project-result-visual {
    width: min(calc(100% - 64px), var(--content-width));
  }

  .project-information-card {
    padding: 44px 48px;
  }

  .project-timeline {
    gap: 8px;
  }

  .project-timeline li {
    padding-right: 6px;
    padding-left: 6px;
  }

  .process-flow {
    gap: 16px;
    font-size: 14px;
  }

  .project-image-grid-wireframes {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .project-image-grid-wireframes figure:last-child {
    grid-column: span 2;
  }

  .project-result-visual {
    min-height: 460px;
  }

  .result-video {
    width: min(42%, 340px);
  }

  .result-line-drawing-left {
    left: 3%;
  }

  .result-line-drawing-right {
    right: 3%;
  }

    /* Lumière-projectpagina */

  .lumiere-page .benchmark-section {
    padding-right: min(30%, 250px);
  }

  .project-line-drawing-candle {
    width: min(28%, 250px);
  }

  .project-image-grid-user-stories {
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .project-image-grid-user-stories figure,
  .project-image-grid-user-stories img {
    height: 340px;
    flex: 0 0 auto;
  }

  .user-stories-section {
    padding-right: min(26%, 230px);
  }

  .project-line-drawing-clapperboard {
    width: min(30%, 280px);
  }

  .project-video-grid-functionality {
    gap: 12px;
  }

  .lumiere-page .variables-section {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
    gap: 40px;
  }

  .variables-section .project-video-grid {
    gap: 16px;
  }

  .project-result-videos {
    gap: 72px;
  }

    /* NEXT-projectpagina */

  .next-project-details {
    column-gap: 32px;
  }

  .next-page .project-timeline time,
  .next-page .project-timeline span,
  .next-page .project-timeline p {
    font-size: 12px;
  }

  .next-about-section {
    gap: 56px;
  }

  .next-research-visuals {
    padding-right: min(28%, 240px);
  }

  .next-research-visuals figure {
    width: min(27%, 210px);
  }

  .next-line-drawing-research {
    right: 2%;
    width: min(25%, 210px);
  }

  .research-section {
    padding-right: min(25%, 220px);
  }

  .next-line-drawing-architecture {
    width: min(21%, 190px);
  }

  .next-visual-direction-grid {
    gap: 24px;
  }

  .next-branding-palettes {
    gap: 16px;
  }

  .next-logo-iterations {
    gap: 20px;
  }

  .next-slogan {
    font-size: 54px;
  }

  .next-final-selection {
    gap: 10px;
  }

  .status-section,
  .contribution-section {
    gap: 56px;
  }

  .next-contribution-images,
  .next-contribution-wireframes {
    gap: 18px;
  }

    /* Jazzzolder-projectpagina */

  .jazzzolder-project-details {
    column-gap: 32px;
  }

  .jazzzolder-page .project-timeline time,
  .jazzzolder-page .project-timeline span,
  .jazzzolder-page .project-timeline p {
    font-size: 12px;
  }

  .jazzzolder-club-gallery {
    width: min(86%, 760px);
  }

  .jazzzolder-line-drawing-notes {
    width: min(15%, 130px);
  }

  .research-briefing-section {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
    gap: 48px;
  }

  .brandsheet-section {
    gap: 64px;
  }

  .jazzzolder-page-gallery {
    gap: 8px;
  }

  .figma-prototype-section,
  .feedback-adjustments-section {
    padding-bottom: 280px;
  }

  .jazzzolder-line-drawing-music {
    width: min(30%, 270px);
  }

  .jazzzolder-feedback-line-drawing {
    width: min(40%, 360px);
  }

  .jazzzolder-contribution-section {
    min-height: 620px;
    padding-right: min(48%, 420px);
  }

  .jazzzolder-contribution-line-drawing {
    width: min(45%, 390px);
  }

  /* Figma Learning */

  .figma-learning-page {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .figma-learning-intro,
  .figma-learning-projects {
    width: min(calc(100% - 64px), var(--content-width));
  }

  .figma-learning-projects {
    gap: 20px;
    min-height: 760px;
    padding-bottom: 220px;
  }

  .figma-project-card-image {
    padding: 24px 24px 12px;
  }

  .figma-project-card-title {
    min-height: 70px;
    padding: 10px 16px 18px;
    font-size: 28px;
  }

  .figma-learning-pen-line-drawing {
    right: 4%;
    bottom: 48px;
    width: min(42%, 340px);
  }

  .figma-project-dialog {
    width: min(calc(100% - 64px), var(--content-width));
  }

  .figma-dialog-content {
    padding: 52px;
  }

  /* Figma Learning popups */

  .figma-project-dialog {
    width: calc(100% - 64px);
    max-height: calc(100vh - 48px);
  }

  .figma-dialog-content {
    max-height: calc(100vh - 48px);
    padding: 52px 44px 56px;
  }

  .figma-dialog-content h2 {
    margin: 0 58px 32px;
    font-size: clamp(34px, 5vw, 46px);
  }

  .figma-dialog-content p {
    margin-bottom: 36px;
    font-size: 15px;
  }

  .popup-image-grid {
    gap: 24px;
  }

  .popup-image-grid--five {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }

  .popup-white-image-block {
    min-height: 460px;
    padding: 40px;
  }

  .popup-white-image-block img {
    max-height: 420px;
  }

  .popup-feature-video {
    max-height: 520px;
  }
} 

/* =========================
   14. Mobiel
   ========================= */

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  section,
  .site-header {
    width: calc(100% - 32px);
  }

  .site-header {
    padding-top: 24px;
  }

  .main-navigation {
    min-height: 82px;
  }

  .navigation-list {
    position: static;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    transform: none;
  }

  .site-logo,
  .navigation-list a {
    font-size: 20px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 26px;
  }

  .hero-section {
    min-height: 420px;
    padding-top: 72px;
  }

  .hero-line-drawing {
    bottom: 24px;
    width: 180vw;
  }

  .about-section {
    display: block;
    min-height: 0;
    padding: 32px 24px 180px;
  }

  .about-line-drawing {
    right: 16px;
    bottom: 16px;
    width: 55%;
    max-width: 240px;
  }

  .skills-section {
    padding-top: 88px;
    padding-bottom: 72px;
  }

  .skills-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px 24px;
    width: 100%;
  }

  .skills-line-drawing {
    position: static;
    width: 140px;
    max-width: 45%;
    margin: 48px 0 0 auto;
  }

  .projects-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .project-card img {
    height: 220px;
  }

  .featured-project-content {
    top: 50%;
    left: 7%;
    width: 42%;
  }

  .featured-project-description {
    margin-bottom: 16px;
    font-size: 12px;
    line-height: 1.35;
  }

  .featured-project-content .button {
    min-width: 100px;
    min-height: 34px;
    padding: 6px 14px;
    font-size: 16px;
  } 

  .site-footer {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 52px 32px;
  }

    /* Over mij-pagina */

  .about-page {
    padding-top: 64px;
  }

  .about-intro-section {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 56px;
  }

  .about-intro-content h1 {
    margin-bottom: 32px;
  }

  .about-intro-content p {
    margin-bottom: 20px;
  }

  .about-cartoon {
    width: min(78%, 300px);
    margin: 0 auto;
  }

  .about-story-section,
  .about-story-section-reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: 0;
    padding: 48px 0;
  }

  .about-story-section-reverse .story-content {
    order: 1;
  }

  .about-story-section-reverse .story-visual {
    order: 2;
  }

  .story-content h2 {
    margin-bottom: 28px;
  }

  .story-content p {
    margin-bottom: 20px;
  }

  .story-visual {
    min-height: 160px;
  }

  .story-line-drawing,
  .story-line-drawing-hobbies {
    max-width: min(86%, 340px);
  }

  .about-actions-section {
    min-height: 420px;
    align-items: flex-start;
    padding: 36px 0 56px;
  }

  .actions-list {
    grid-template-columns: 1fr;
    width: min(100%, 320px);
    gap: 18px;
  }

  .contact-line-drawing {
    right: 0;
    bottom: 24px;
    width: min(70%, 280px);
  } 

    /* Projecten-pagina */

  .projects-page {
    padding-top: 64px;
  }

  .projects-intro-section {
    padding-bottom: 64px;
  }

  .projects-intro-section h1 {
    margin-bottom: 32px;
  }

  .projects-intro-section p {
    margin-bottom: 20px;
  }

  .projects-overview-section {
    padding-bottom: 64px;
  }

  .projects-page-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .projects-page-grid .project-card-content {
    min-height: 0;
    padding: 20px 24px 24px;
  }

  .projects-page-grid .project-card-content h2 {
    font-size: 28px;
  }

    /* Terwinneke-projectpagina */

  .project-page {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .project-intro,
  .project-text-section,
  .project-information-card,
  .project-timeline-section,
  .persona-section,
  .project-result-visual {
    width: calc(100% - 32px);
  }

  .project-intro {
    padding-bottom: 40px;
  }

  .project-intro h1 {
    margin-bottom: 28px;
  }

  .project-intro p,
  .project-text-section p {
    margin-bottom: 20px;
  }

  .project-text-section {
    padding: 40px 0;
  }

  .project-text-section h2 {
    margin-bottom: 28px;
  }

  .project-information-card {
    display: block;
    min-height: 0;
    padding: 32px 24px;
  }

  .project-information-content h2 {
    margin-bottom: 28px;
    font-size: 28px;
  }

  .project-information-logo {
    width: min(65%, 220px);
    margin: 32px auto 0;
    padding: 14px;
  }

  .project-details {
    gap: 16px;
  }

  .project-details div {
    display: block;
  }

  .project-details dd {
    margin-top: 4px;
  }

  .project-information-logo {
    width: min(65%, 220px);
    margin: 32px auto 0;
  }

    .project-timeline-section {
    padding: 48px 0;
  }

  .project-timeline {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 0;
    padding-left: 40px;
  }

  .project-timeline::before {
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    height: auto;
  }

  .project-timeline li,
  .project-timeline li:nth-child(odd),
  .project-timeline li:nth-child(even) {
    min-height: 0;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0 0 36px 28px;
    text-align: left;
  }

  .project-timeline li::after,
  .project-timeline li:nth-child(even)::after {
    top: 7px;
    left: -7px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background-color: var(--color-light);
  }

  .project-timeline p {
    max-width: none;
  }

  .website-analysis-section {
    padding-right: 0;
    padding-bottom: 190px;
  }

  .project-line-drawing-fries {
    right: 50%;
    bottom: 20px;
    width: 170px;
    transform: translateX(50%);
  }

  .persona-section {
    margin-top: 0;
    margin-bottom: 16px;
  }

  .process-flow {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 40px;
    white-space: normal;
  }

  .process-flow span[aria-hidden="true"] {
    font-size: 24px;
  }

  .project-image-grid {
    gap: 16px;
    margin-top: 32px;
  }

  .project-image-grid-wireframes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-image-grid-wireframes figure:last-child {
    grid-column: span 2;
  }

    .project-image-grid-accessibility {
    grid-template-columns: 1fr;
  }

  .project-image-grid-accessibility figure,
  .project-image-grid-accessibility img {
    height: auto;
    min-height: 0;
  }

  .project-image-grid-accessibility img {
    object-fit: contain;
  }

    .result-section {
    padding-bottom: 0;
  }

  .project-result-visual {
    min-height: 360px;
    padding-top: 0;
    padding-bottom: 24px;
  }

  .result-video {
    width: min(58%, 260px);
  }

  .result-line-drawing {
    bottom: 18px;
    max-height: 115px;
  }

  .result-line-drawing-left {
    left: 1%;
    width: min(25%, 105px);
  }

  .result-line-drawing-right {
    right: 1%;
    width: min(29%, 125px);
  }

    /* Lumière-projectpagina */

  .lumiere-page .project-timeline {
    grid-template-columns: 1fr;
  }

  .lumiere-page .benchmark-section {
    min-height: 0;
    padding-right: 0;
    padding-bottom: 190px;
  }

  .project-line-drawing-candle {
    right: 50%;
    bottom: 20px;
    width: min(74%, 300px);
    transform: translateX(50%);
  }

  .project-image-grid-user-stories {
    justify-content: flex-start;
    gap: 14px;
    margin-top: 32px;
    overflow-x: auto;
    padding-bottom: 12px;
  }

  .project-image-grid-user-stories figure,
  .project-image-grid-user-stories img {
    height: 300px;
    flex: 0 0 auto;
  }

  .user-stories-section {
    padding-right: 0;
    padding-bottom: 220px;
  }

  .project-single-image {
    width: 100%;
    margin: 32px 0 36px;
  }

  .project-line-drawing-clapperboard {
    right: 50%;
    bottom: 20px;
    width: min(82%, 340px);
    transform: translateX(50%);
  }

  .project-video-grid-functionality {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .project-video-grid-functionality figure:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 8px);
    justify-self: center;
  }

  .project-video-grid figcaption {
    margin-top: 8px;
    font-size: 14px;
  }

  .lumiere-page .variables-section {
    display: block;
  }

  .variables-section .project-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 32px;
  }

  .project-result-videos {
    flex-direction: column;
    align-items: center;
    gap: 48px;
    margin-top: 40px;
  }

  .project-result-videos figure {
    width: min(72%, 280px);
  }

  .project-result-videos h3 {
    margin-bottom: 16px;
    font-size: 22px;
  }

    /* NEXT-projectpagina */

  .next-project-details {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }

  .next-page .project-timeline {
    grid-template-columns: 1fr;
  }

  .next-about-section,
  .status-section,
  .contribution-section {
    display: block;
  }

  .next-side-image {
    width: min(78%, 320px);
    margin: 32px auto 0;
  }

  .research-section {
    padding-right: 0;
    padding-bottom: 190px;
  }

  .next-research-visuals {
    padding-right: 0;
  }

  .next-research-visuals figure {
    width: calc(50% - 8px);
  }

  .next-line-drawing-research {
    top: auto;
    right: 50%;
    bottom: -150px;
    width: min(72%, 280px);
    transform: translateX(50%);
  }

  .next-wide-image {
    width: 100%;
  }

  .next-line-drawing-architecture {
    right: 50%;
    bottom: 20px;
    width: min(70%, 270px);
    transform: translateX(50%);
  }

  .next-visual-direction-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .next-visual-direction-grid figure,
  .next-logo-ideas {
    height: auto;
  }

  .next-visual-direction-grid figure img {
    height: auto;
  }

  .next-logo-ideas {
    grid-template-rows: none;
  }

  .next-logo-ideas img {
    height: auto;
  }

  .next-branding-palettes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .next-logo-iterations {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .next-logo-iterations figure:nth-child(1),
  .next-logo-iterations figure:nth-child(2),
  .next-logo-iterations figure:nth-child(3) {
    grid-column: auto;
    grid-row: auto;
  }

  .next-logo-iterations figure:nth-child(3) img {
    height: auto;
  }

  .next-slogan-section {
    min-height: 220px;
    align-items: flex-end;
    padding-bottom: 16px;
  }

  .next-slogan-line-drawing {
    top: 12px;
    left: 0;
    width: min(42%, 160px);
  }

  .next-slogan {
    font-size: 40px;
  }

  .next-iterations-grid,
  .next-high-fidelity-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 40px;
  }

  .next-iterations-grid figure:nth-child(5) {
    grid-column: auto;
    width: 100%;
  }

  /* De zes finale pagina's worden op mobiel een horizontaal scrollbare rij,
     zodat elke pagina leesbaar genoeg blijft. */

  .next-final-selection {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 12px;
  }

  .next-final-selection figure {
    width: 150px;
    flex: 0 0 150px;
  }

  .next-status-visual {
    min-height: 210px;
    margin-top: 32px;
  }

  .next-status-line-drawing {
    left: -4%;
    width: min(72%, 270px);
  }

  .next-status-logo {
    width: 104px;
  }

  .next-contribution-images {
    margin-top: 32px;
    gap: 16px;
  }

  .next-contribution-top {
    display: block;
  }

  .next-contribution-pages {
    width: 100%;
    gap: 16px;
    margin-top: 32px;
  }

  .next-contribution-wireframes {
    gap: 16px;
  }

    /* Jazzzolder-projectpagina */

  .jazzzolder-project-details {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }

  .jazzzolder-page .project-timeline {
    grid-template-columns: 1fr;
  }

  .jazzzolder-club-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    width: 100%;
    gap: 16px;
  }

  .jazzzolder-club-gallery figure:first-child,
  .jazzzolder-club-gallery figure:nth-child(2),
  .jazzzolder-club-gallery figure:nth-child(3) {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .jazzzolder-line-drawing-notes {
    position: static;
    display: block;
    width: min(40%, 160px);
    margin: 24px 0 0 auto;
  }

  .research-briefing-section,
  .brandsheet-section {
    display: block;
  }

  .jazzzolder-research-image,
  .jazzzolder-brandsheet-image {
    width: min(88%, 420px);
    margin: 32px auto 0;
  }

  /* Een horizontaal scrollbare galerij houdt acht pagina-afbeeldingen
     voldoende groot en leesbaar op een telefoon. */

  .jazzzolder-page-gallery {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 12px;
  }

  .jazzzolder-page-gallery figure {
    width: 150px;
    flex: 0 0 150px;
  }

  .figma-prototype-section,
  .feedback-adjustments-section {
    padding-bottom: 240px;
  }

  .jazzzolder-line-drawing-music {
    right: 50%;
    bottom: 24px;
    width: min(72%, 300px);
    transform: translateX(50%);
  }

  .jazzzolder-feedback-line-drawing {
    right: 50%;
    bottom: 24px;
    width: min(85%, 360px);
    transform: translateX(50%);
  }

  .jazzzolder-wordpress-video {
    margin-top: 32px;
  }

  .jazzzolder-contribution-section {
    min-height: 0;
    padding-right: 0;
    padding-bottom: 280px;
  }

  .jazzzolder-contribution-images {
    width: min(80%, 420px);
    margin: 32px 0 0;
  }

  .jazzzolder-contribution-line-drawing {
    right: 50%;
    bottom: 24px;
    width: min(82%, 360px);
    transform: translateX(50%);
  }

  /* Figma Learning */

  .figma-learning-page {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .figma-learning-intro,
  .figma-learning-projects {
    width: calc(100% - 32px);
  }

  .figma-learning-intro {
    padding-bottom: 48px;
  }

  .figma-learning-intro h1 {
    margin-bottom: 32px;
  }

  .figma-learning-intro p {
    margin-bottom: 18px;
  }

  .figma-learning-projects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    min-height: 0;
    padding-bottom: 210px;
  }

  .figma-project-card:nth-child(6) {
    grid-column: auto;
    grid-row: auto;
  }

  .figma-project-card-image {
    padding: 18px 18px 8px;
  }

  .figma-project-card-title {
    min-height: 62px;
    padding: 8px 10px 14px;
    font-size: 22px;
  }

  .figma-learning-pen-line-drawing {
    right: 50%;
    bottom: 32px;
    width: min(75%, 300px);
    transform: translateX(50%);
  }

  .figma-project-dialog {
    width: calc(100% - 32px);
    max-height: calc(100vh - 32px);
  }

  .figma-dialog-content {
    max-height: calc(100vh - 32px);
    padding: 48px 24px 32px;
  }

  .figma-dialog-close {
    width: 38px;
    height: 38px;
    font-size: 28px;
  }

  .figma-dialog-gallery {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 28px;
  }

  /* Figma Learning popups */

  .figma-project-dialog {
    width: calc(100% - 32px);
    max-height: calc(100vh - 32px);
    border-radius: 20px;
  }

  .figma-dialog-content {
    max-height: calc(100vh - 32px);
    padding: 40px 20px 32px;
  }

  .figma-dialog-content h2 {
    margin: 0 48px 28px;
    font-size: 34px;
  }

  .figma-dialog-content p {
    margin-bottom: 28px;
    font-size: 15px;
    line-height: 1.6;
  }

  .figma-dialog-close {
    width: 38px;
    height: 38px;
    font-size: 30px;
  }

  /* Op mobiel: twee gelijke foto’s naast elkaar */

  .popup-image-grid--three,
  .popup-image-grid--five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .popup-image-grid img {
    border-radius: 14px;
  }

  .popup-feature-image,
  .popup-feature-video {
    border-radius: 14px;
  }

  .popup-white-image-block {
    min-height: 340px;
    padding: 24px;
    border-radius: 14px;
  }

  .popup-white-image-block img {
    max-height: 300px;
  }

  .popup-feature-video {
    max-height: 340px;
  }
}