/* ==========================================================================
   Simon van Kessel Loodgietersbedrijf
   Waarden komen uit het design (design/project/*.dc.html).
   ========================================================================== */

/* ---------- Lettertypes (zelf gehost) ---------- */

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/fonts/figtree-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/fonts/figtree-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "DM Serif Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/dm-serif-display-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "DM Serif Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/dm-serif-display-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Variabelen ---------- */

:root {
  --blue: #003da5;
  --red: #a4343a;
  --ink: #1c2130;
  --text: #2e3342;
  --text-soft: #3a3f4d;
  --muted: #5a5f6c;
  --white: #fff;
  --sand: #f4f2ee;
  --placeholder: #e9e6e1;
  --line: #e9e6e1;
  --line-strong: #e1ddd6;
  --line-soft: #f0ede8;
  --overlay: rgba(18, 22, 33, 0.94);

  --font-sans: "Figtree", system-ui, sans-serif;
  --font-serif: "DM Serif Display", serif;

  --gutter: clamp(20px, 5vw, 80px);
  --max-width: 1160px;
  --section-space: clamp(64px, 9vw, 128px);
  --header-offset: 76px;

  --shadow-card: 0 18px 40px rgba(28, 33, 48, 0.12);
  --shadow-button: 0 6px 20px rgba(28, 33, 48, 0.18);
  --ease-slide: cubic-bezier(0.22, 0.8, 0.24, 1);
}

/* ---------- Basis ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--red);
}

address {
  font-style: normal;
}

button {
  font-family: inherit;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

section[id] {
  scroll-margin-top: var(--header-offset);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--blue);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
  color: var(--white);
  outline-color: var(--white);
  outline-offset: -6px;
}

/* Pagina's met een korte inhoud: footer onderaan het venster */
.page-simple {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-simple main {
  flex: 1 1 auto;
}

.container {
  max-width: var(--max-width);
  margin-inline: auto;
}

/* Alleen zichtbaar boven 900 px (in het design de 'wide'-weergave) */
.only-wide {
  display: none;
}

@media (min-width: 901px) {
  .only-wide {
    display: inline;
  }
}

/* ---------- Gedeelde typografie ---------- */

.eyebrow {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(30px, 3.3vw, 46px);
  line-height: 1.04;
  color: var(--blue);
}

.section-title__ink {
  color: var(--ink);
}

.lead {
  font-size: clamp(18px, 1.5vw, 20px);
  line-height: 1.65;
  color: var(--text);
  text-wrap: pretty;
}

.card-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(24px, 2.1vw, 30px);
  line-height: 1.1;
  color: var(--blue);
}

.more-mark {
  color: var(--red);
  font-weight: 700;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-inline: var(--gutter);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  max-width: var(--max-width);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 24px;
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 14px;
  text-decoration: none;
}

.site-header__mark {
  width: 46px;
  height: 46px;
  max-width: none;
}

.site-header__wordmark {
  width: auto;
  height: clamp(22px, 6vw, 30px);
  max-width: none;
}

.site-header__back {
  display: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

.site-header__back:hover {
  color: var(--red);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.js .menu-toggle {
  display: flex;
}

/* Menu op smalle schermen: uitklappend paneel onder de balk */
.site-nav {
  /* Volle schermbreedte: de balk erboven heeft al marge links en rechts */
  flex: 0 0 calc(100% + var(--gutter) * 2);
  margin-inline: calc(var(--gutter) * -1);
  padding: 8px var(--gutter) 16px;
  border-top: 1px solid var(--line);
}

.js .site-nav {
  display: none;
}

.js .site-header[data-menu-open] .site-nav {
  display: block;
}

.site-nav ul {
  display: flex;
  flex-direction: column;
  font-size: 18px;
  font-weight: 500;
}

.site-nav a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
  text-decoration: none;
}

.site-nav li:last-child a {
  border-bottom: 0;
}

.site-nav a:hover {
  color: var(--red);
}

@media (min-width: 901px) {
  .site-header__back {
    display: block;
  }

  .js .menu-toggle {
    display: none;
  }

  .site-nav,
  .js .site-nav {
    display: block;
    flex: 0 1 auto;
    margin: 0;
    padding: 0;
    border: 0;
  }

  .site-nav ul {
    flex-direction: row;
    gap: clamp(14px, 1.8vw, 26px);
    font-size: 15px;
  }

  .site-nav a {
    padding: 0;
    border: 0;
  }
}

/* ---------- Home: hero ---------- */

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr));
  background: var(--white);
  container-type: inline-size;
}

.hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 36px;
  width: 100%;
  min-width: 0;
  padding: clamp(48px, 7vw, 104px) var(--gutter);
  /* Links uitlijnen op de 1160 px-kolom van de rest van de pagina */
  padding-left: max(var(--gutter), calc((100cqw - var(--max-width)) / 2));
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(36px, 4.2vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--blue);
  text-wrap: balance;
}

.hero__place {
  color: var(--red);
  white-space: nowrap;
}

.hero__lead {
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.65;
  color: var(--text);
  text-wrap: pretty;
}

.hero__media {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: clamp(420px, 52vw, 720px);
}

.hero__image {
  position: relative;
  flex: 1 1 auto;
  min-height: clamp(260px, 30vw, 480px);
  overflow: hidden;
  background: var(--red);
}

.hero__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 75%;
}

/* Twee kolommen: de foto krijgt marge en lijnt rechts uit op de 1160 px-kolom */
@container (min-width: 1040px) {
  .hero__media {
    padding-block: clamp(48px, 7vw, 104px);
    padding-right: max(var(--gutter), calc((100cqw - var(--max-width)) / 2));
  }
}

.contact-card {
  display: flex;
  align-items: stretch;
  max-width: 580px;
  background: var(--sand);
}

.contact-card__photo {
  position: relative;
  flex: 0 0 clamp(124px, 11vw, 168px);
  min-height: 148px;
  overflow: hidden;
  background: var(--blue);
}

.contact-card__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
}

.contact-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  min-width: 0;
  padding: clamp(16px, 1.8vw, 24px);
}

.contact-card__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-card__name {
  font-family: var(--font-serif);
  font-size: clamp(21px, 1.7vw, 25px);
  line-height: 1.1;
  color: var(--blue);
}

.contact-card__meta {
  display: flex;
  flex-wrap: wrap;
  column-gap: 6px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}

.contact-card__meta > span,
.contact-card__address > span {
  white-space: nowrap;
}

.contact-card__details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line-strong);
}

.contact-card__details a {
  color: var(--blue);
  text-decoration: none;
  white-space: nowrap;
}

.contact-card__details a:hover {
  color: var(--red);
}

.contact-card__tel {
  font-size: clamp(17px, 1.4vw, 19px);
  font-weight: 600;
}

.contact-card__mail {
  font-size: clamp(14px, 1.1vw, 15px);
  font-weight: 500;
}

.contact-card__address {
  display: flex;
  flex-wrap: wrap;
  column-gap: 5px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text);
}

.areas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.areas .eyebrow {
  letter-spacing: 0.2em;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips li {
  padding: 6px 14px;
  border: 1.5px solid var(--blue);
  border-radius: 999px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

/* ---------- Secties ---------- */

.section {
  padding: var(--section-space) var(--gutter);
  background: var(--white);
}

.section--sand {
  background: var(--sand);
}

.section__stack {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 64px);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-head__titles {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ---------- Loodgieterswerk ---------- */

.feature {
  display: flex;
  flex-wrap: wrap;
  background: var(--white);
}

.feature--reverse {
  flex-wrap: wrap-reverse;
}

.feature__media {
  position: relative;
  flex: 1 1 400px;
  min-height: 320px;
}

.feature__media img,
.costs__media img,
.quote__media img,
.project-card__media img,
.next-card__media img,
.thumbs__button img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature__body {
  display: flex;
  flex: 1 1 400px;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: clamp(28px, 4vw, 56px);
}

.feature__body--center {
  justify-content: center;
}

.feature__body p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-soft);
  text-wrap: pretty;
}

.bullets {
  display: flex;
  flex-direction: column;
}

.bullets li {
  display: flex;
  gap: 14px;
  padding: 6px 0;
  font-size: 16px;
  line-height: 1.5;
}

.bullets li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--red);
}

.bullets--large li {
  padding: 7px 0;
  font-size: 17px;
  line-height: 1.6;
}

.bullets--large li::before {
  margin-top: 10px;
}

.color-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 24px;
}

.color-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(28px, 3.5vw, 44px);
  color: var(--white);
}

.color-card--red {
  background: var(--red);
}

.color-card--blue {
  background: var(--blue);
}

.color-card--roomy {
  gap: 16px;
  padding: clamp(28px, 4vw, 56px);
}

.color-card .card-title {
  color: inherit;
}

.color-card p {
  font-size: 17px;
  line-height: 1.65;
  text-wrap: pretty;
}

.color-card--long p {
  line-height: 1.7;
}

/* ---------- Badkamers ---------- */

.bathrooms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  background: var(--sand);
  color: var(--ink);
  container-type: inline-size;
}

.bathrooms__media {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: clamp(420px, 48vw, 720px);
}

.bathrooms__image {
  position: relative;
  flex: 1 1 auto;
  min-height: clamp(340px, 46vw, 680px);
  overflow: hidden;
}

.bathrooms__image img {
  position: absolute;
  top: 0;
  left: -9%;
  width: 109%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: 100% 55%;
}

.bathrooms__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  max-width: 680px;
  padding: clamp(56px, 8vw, 112px) var(--gutter);
}

.bathrooms__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 3.5vw, 50px);
  line-height: 1.02;
  color: var(--blue);
  text-wrap: balance;
}

.bathrooms__text {
  font-size: 19px;
  line-height: 1.65;
  color: var(--text);
  text-wrap: pretty;
}

@container (min-width: 960px) {
  .bathrooms__media {
    padding-block: clamp(56px, 8vw, 112px);
    padding-left: max(var(--gutter), calc((100cqw - var(--max-width)) / 2));
    padding-right: clamp(24px, 5vw, 96px);
  }

  .bathrooms__body {
    padding-left: clamp(20px, 2vw, 32px);
  }
}

/* ---------- Werkproces ---------- */

.process {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(32px, 6vw, 96px);
}

.process__intro {
  display: flex;
  flex: 1 1 300px;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

@media (min-width: 1081px) {
  .process__intro {
    position: sticky;
    top: 120px;
  }
}

.process__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.05;
  color: var(--blue);
}

.process__intro p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-soft);
  text-wrap: pretty;
}

.steps {
  display: flex;
  flex: 2 1 560px;
  flex-direction: column;
  min-width: 0;
}

.step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  padding: 20px 0;
}

.step:first-child {
  padding-top: 28px;
  border-top: 2px solid var(--blue);
}

.step__nr {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 24px;
}

.step__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 10px;
}

.step__body p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  text-wrap: pretty;
}

/* ---------- Quote ---------- */

.quote {
  display: flex;
  flex-wrap: wrap;
  background: var(--blue);
  color: var(--white);
}

.quote__text {
  display: flex;
  flex: 1.4 1 480px;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  min-width: 0;
  padding: clamp(56px, 8vw, 112px) var(--gutter);
}

.quote__text blockquote {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.2;
  text-wrap: pretty;
}

.quote__text figcaption {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.quote__media {
  position: relative;
  flex: 1 1 360px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.quote__media img {
  object-position: 50% 40%;
}

/* ---------- Wat kost dat? ---------- */

.costs {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 24px;
}

.costs__column {
  display: flex;
  flex: 1 1 400px;
  flex-direction: column;
  min-width: 0;
}

.costs__media {
  display: none;
  position: relative;
  flex: 1 1 auto;
  min-height: 280px;
  background: var(--sand);
}

@media (min-width: 901px) {
  .costs__media {
    display: block;
  }
}

.costs__quote {
  display: flex;
  flex: 1 1 400px;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: clamp(28px, 4vw, 56px);
  background: var(--sand);
}

.costs__quote p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-soft);
  text-wrap: pretty;
}

/* ---------- Portfolio ---------- */

.portfolio {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.portfolio .lead {
  text-wrap: wrap;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 24px;
}

.project-grid li {
  display: flex;
  min-width: 0;
}

.project-card {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
}

.project-card:hover,
.next-card:hover {
  color: var(--ink);
  box-shadow: var(--shadow-card);
}

.project-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--placeholder);
}

.project-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 2vw, 28px);
}

.project-card__date {
  letter-spacing: 0.18em;
}

.project-card__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(22px, 1.9vw, 27px);
  line-height: 1.1;
  color: var(--blue);
}

.project-card__text {
  flex: 1 1 auto;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-soft);
  text-wrap: pretty;
}

.project-card__cta {
  padding-top: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
}

/* ---------- Tips ---------- */

.tips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  align-items: start;
  gap: clamp(32px, 6vw, 88px);
}

.tips__intro {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.tips__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(30px, 3.3vw, 46px);
  line-height: 1.05;
  color: var(--blue);
}

.tips__image {
  width: 100%;
  margin-top: 8px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.tips__content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.tips__lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-soft);
  text-wrap: pretty;
}

.tips__list {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--blue);
}

.tip__summary {
  display: grid;
  grid-template-columns: 44px 1fr 32px;
  align-items: center;
  gap: 12px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
}

.tip__summary::-webkit-details-marker {
  display: none;
}

.tip__nr {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--red);
}

.tip__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}

.tip__sign {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 20px;
  line-height: 1;
}

.tip__sign::before {
  content: "+";
}

.tip[open] .tip__sign {
  background: var(--red);
}

.tip[open] .tip__sign::before {
  content: "–";
}

.tip__body {
  padding: 0 44px 28px 56px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-soft);
  text-wrap: pretty;
}

/* ---------- Contact ---------- */

.contact {
  padding: var(--section-space) var(--gutter);
  background: var(--red);
  color: var(--white);
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.contact__intro {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(34px, 3.8vw, 54px);
  line-height: 1;
}

.contact__lead {
  max-width: 540px;
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.6;
  text-wrap: pretty;
}

.contact__card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(28px, 3.5vw, 44px);
  background: var(--white);
  color: var(--ink);
}

.contact__tel,
.contact__mail {
  color: var(--blue);
  text-decoration: none;
}

.contact__tel:hover,
.contact__mail:hover {
  color: var(--red);
}

.contact__tel {
  font-family: var(--font-serif);
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.1;
}

.contact__mail {
  font-size: 22px;
  font-weight: 600;
  word-break: break-word;
}

.contact__address {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 18px;
  line-height: 1.5;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.button {
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

.button--red {
  background: var(--red);
  color: var(--white);
}

.button--red:hover {
  background: var(--blue);
  color: var(--white);
}

.button--blue {
  background: var(--blue);
  color: var(--white);
}

.button--blue:hover {
  background: var(--red);
  color: var(--white);
}

.button--outline {
  padding: 11px 20px;
  border: 2px solid var(--blue);
  color: var(--blue);
}

.button--outline:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ---------- Footer home ---------- */

.site-footer {
  padding: 48px var(--gutter) 36px;
  background: var(--white);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.site-footer__logo {
  width: auto;
  height: 110px;
  max-width: none;
}

.site-footer__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

@media (min-width: 901px) {
  .site-footer__inner {
    max-width: var(--max-width);
    margin-inline: auto;
    flex-flow: row wrap;
    justify-content: space-between;
    gap: 32px;
    text-align: left;
  }

  .site-footer__info {
    flex-flow: row wrap;
    gap: 8px 32px;
  }
}

/* ---------- Footer projectpagina ---------- */

.simple-footer {
  padding: 40px var(--gutter) 32px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.simple-footer__inner {
  max-width: var(--max-width);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.simple-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.simple-footer__links a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}

.simple-footer__links a:hover {
  color: var(--red);
}

/* ---------- Projectpagina ---------- */

.project-intro {
  padding: clamp(40px, 6vw, 88px) var(--gutter) clamp(32px, 4vw, 56px);
}

.project-intro__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.back-link {
  align-self: flex-start;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}

.back-link:hover {
  color: var(--red);
}

.project-intro__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--blue);
  text-wrap: balance;
}

.project-intro__lead {
  max-width: 720px;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.65;
  color: var(--text);
  text-wrap: pretty;
  white-space: pre-line;
}

.project-photos {
  padding: 0 var(--gutter) clamp(64px, 8vw, 112px);
}

.project-photos__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Carrousel. Zonder JavaScript is het een rij foto's waar je doorheen kunt vegen. */
.carousel {
  position: relative;
  height: clamp(360px, 64vh, 720px);
  overflow: hidden;
  background: var(--sand);
  touch-action: pan-y;
}

.carousel__track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.js .carousel__track {
  overflow: visible;
  scroll-snap-type: none;
  transition: transform 0.55s var(--ease-slide);
}

.carousel__slide {
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: start;
}

.carousel__zoom {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}

.js .carousel__zoom {
  cursor: zoom-in;
}

/* De foto ligt over de knop heen: de focusrand staat daarom in een laag erboven */
.carousel__zoom:focus-visible {
  outline: none;
}

.carousel__zoom:focus-visible::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid var(--blue);
  pointer-events: none;
}

.carousel__zoom img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.carousel__nav,
.carousel__counter {
  display: none;
}

.js .carousel__nav {
  position: absolute;
  top: 50%;
  display: block;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--blue);
  font-size: 24px;
  line-height: 1;
  box-shadow: var(--shadow-button);
  transform: translateY(-50%);
  cursor: pointer;
}

.js .carousel__nav:hover {
  background: var(--blue);
  color: var(--white);
}

.carousel__nav--prev {
  left: clamp(10px, 2vw, 24px);
}

.carousel__nav--next {
  right: clamp(10px, 2vw, 24px);
}

.js .carousel__counter {
  position: absolute;
  right: clamp(10px, 2vw, 24px);
  bottom: clamp(10px, 2vw, 20px);
  display: block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
}

.js .carousel--single .carousel__nav,
.js .carousel--single .carousel__counter {
  display: none;
}

.thumbs {
  display: none;
}

.js .thumbs {
  display: flex;
  gap: 10px;
  padding-bottom: 4px;
  overflow-x: auto;
}

.thumbs li {
  flex: 0 0 auto;
}

.thumbs__button {
  position: relative;
  display: block;
  width: clamp(72px, 8vw, 108px);
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--placeholder);
  opacity: 0.55;
  transition: opacity 0.2s;
  cursor: pointer;
}

/* Rand van de actieve thumbnail, als laag boven de foto zodat hij zichtbaar blijft */
.thumbs__button::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid transparent;
}

.thumbs__button[aria-current="true"] {
  opacity: 1;
}

.thumbs__button[aria-current="true"]::after {
  border-color: var(--red);
}

.thumbs__button:focus-visible {
  opacity: 1;
  outline: none;
}

.thumbs__button:focus-visible::after {
  border-color: var(--blue);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: clamp(16px, 4vw, 64px);
  border: 0;
  background: var(--overlay);
  align-items: center;
  justify-content: center;
}

.lightbox[open] {
  display: flex;
}

.lightbox::backdrop {
  background: transparent;
}

html:has(.lightbox[open]) {
  overflow: hidden;
}

.lightbox__image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lightbox__button {
  position: absolute;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--blue);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.lightbox__button:focus-visible {
  outline-color: var(--white);
}

.lightbox__close {
  top: 16px;
  right: 16px;
  font-size: 24px;
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--prev {
  left: 16px;
}

.lightbox__nav--next {
  right: 16px;
}

.lightbox__counter {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

/* Volgend project */
.next-project {
  padding: clamp(48px, 6vw, 88px) var(--gutter);
  background: var(--sand);
}

.next-card {
  max-width: var(--max-width);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
}

.next-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--placeholder);
}

.next-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: clamp(24px, 3.5vw, 48px);
}

.next-card__title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.05;
  color: var(--blue);
}

.next-card__cta {
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
}

/* ---------- Niet gevonden ---------- */

.not-found {
  padding: var(--section-space) var(--gutter);
}

.not-found__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.not-found__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 52px);
  color: var(--blue);
}

.not-found__link {
  font-weight: 600;
}

/* ---------- Minder beweging ---------- */

@media (prefers-reduced-motion: reduce) {
  .js .carousel__track,
  .thumbs__button {
    transition: none;
  }
}
