/* BIMFuture B.V. — site stylesheet
   Palette and type scale ported 1:1 from the approved design (project/Website BIMFuture.dc.html) */

:root {
  --cream: #F1EDE6;
  --navy: #0F2B46;
  --navy-deep: #071726;
  --teal: #0E8C8C;
  --teal-bright: #12A8A8;
  --teal-contact-bg: #0E8C8C;
  --teal-contact-text: #021417;   /* donkere tekst op turquoise (contrast >= 4,5:1) */
  --teal-ink: #0A6E6E;            /* turquoise voor tekst op licht (contrast >= 5:1) */
  --ink-warm: #6E675C;            /* warme grijs voor kleine labels op licht */
  --ink-muted-1: #C3CBD3;
  --ink-muted-2: #A9B4BF;
  --ink-muted-3: #7E8A96;
  --ink-muted-4: #55606B;
  --ink-muted-5: #6B7480;
  --ink-muted-6: #9A9285;
  --ink-muted-7: #3A424A;
  --line-1: #C9C2B6;
  --line-2: #DDD8CE;
  --line-3: #E7E2D9;
  --pale: #E3DFD6;
  --img-placeholder: #E4E0D8;

  --font-body: Archivo, sans-serif;
  --font-mono: 'DM Mono', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--teal-ink); text-decoration: none; }
a:hover { color: var(--navy); }
h1, h2, h3, p { text-wrap: pretty; margin: 0; }
h1, h2 { text-wrap: balance; }
input, textarea, button { font-family: inherit; }
::placeholder { color: var(--ink-warm); }
::selection { background: var(--teal); color: var(--navy-deep); }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--teal-ink); outline-offset: 3px; }
.site-header :focus-visible, .hero-block :focus-visible, .section--dark :focus-visible, .section--darker :focus-visible,
.service-card--cta :focus-visible, .differentiators :focus-visible, .contact-call :focus-visible, .site-footer :focus-visible { outline-color: var(--teal-bright); }
main:focus { outline: none; }
.skip-link { position: absolute; left: 12px; top: -64px; z-index: 60; background: var(--cream); color: var(--navy); padding: 10px 16px; font-size: 14px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  background: rgba(7, 23, 38, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(241, 237, 230, .14);
}
.site-header .wrap {
  padding-top: 14px;
  padding-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px clamp(16px, 2.4vw, 32px);
}
.site-header__logo { display: block; flex: none; }
.site-header__logo img { width: 148px; height: auto; display: block; }
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px clamp(14px, 1.8vw, 26px);
  margin-left: auto;
  align-items: center;
  font-size: 13.5px;
  font-weight: 500;
}
.site-nav a { color: #E3DFD6; white-space: nowrap; }
.site-nav a:hover { color: var(--teal-bright); }
.header-actions { display: flex; align-items: center; gap: 16px; flex: none; }
.lang-switch { display: flex; gap: 2px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; }
.lang-switch a { padding: 4px 7px; color: var(--ink-muted-2); }
.lang-switch a.is-active { background: var(--teal); color: var(--teal-contact-text); }
.lang-switch a.is-active:hover { color: var(--teal-contact-text); }

.btn {
  display: inline-block;
  background: var(--teal);
  color: var(--teal-contact-text);
  font-size: 15px;
  font-weight: 600;
  padding: 15px 26px;
  border: 0;
  cursor: pointer;
}
.btn:hover { background: var(--cream); color: var(--navy); }
.btn--small { font-size: 13px; padding: 10px 18px; }
.btn--ghost {
  border: 1px solid rgba(241, 237, 230, .34);
  color: var(--cream);
  font-size: 15px;
  font-weight: 500;
  padding: 15px 26px;
  background: none;
}
.btn--ghost:hover { border-color: var(--teal-bright); color: var(--teal-bright); }
.btn--dark { background: var(--navy); color: var(--cream); }
.btn--dark:hover { background: var(--teal); color: var(--teal-contact-text); }

/* ---------- Hero ---------- */
.hero-block {
  position: relative;
  background: var(--navy-deep);
  color: var(--cream);
  overflow: hidden;
}
.hero-block__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-block__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7,23,38,.94) 0%, rgba(7,23,38,.72) 44%, rgba(7,23,38,.18) 78%);
}
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
}
.hero__inner { position: relative; max-width: 1240px; margin: 0 auto; padding: 190px 28px 84px; width: 100%; }
.hero__kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; color: var(--teal-bright); margin-bottom: 26px; }
.hero h1 {
  font-size: clamp(38px, 6.4vw, 82px);
  line-height: 1.02;
  font-weight: 700;
  font-stretch: 104%;
  letter-spacing: -.035em;
  margin: 0 0 30px;
  max-width: 19ch;
}
.hero p {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.65;
  color: var(--ink-muted-1);
  margin: 0 0 40px;
  max-width: 58ch;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__stack {
  margin-top: 64px;
  padding-top: 22px;
  border-top: 1px solid rgba(241, 237, 230, .16);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .13em;
  color: var(--ink-muted-3);
}

.intro-section {
  position: relative;
  padding: 0 0 116px;
  background: linear-gradient(180deg, rgba(7,23,38,0) 0%, rgba(7,23,38,.9) 34%, var(--navy-deep) 100%);
}
.intro-section .wrap {
  padding-top: 72px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 44px;
  align-items: start;
}
.intro-rule { width: 44px; height: 2px; background: var(--teal-bright); margin-bottom: 28px; }
.intro-section h2 {
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.03em;
  max-width: 22ch;
  color: var(--cream);
}
.intro-section__text { display: grid; gap: 20px; }
.intro-section__text p { font-size: 16px; line-height: 1.7; color: var(--ink-muted-1); }

/* ---------- Section shell ---------- */
.section { padding: 108px 0; scroll-margin-top: 74px; }
.section--dark { background: var(--navy); color: var(--cream); }
.section--darker { background: var(--navy-deep); color: var(--cream); }
.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  border-bottom: 1px solid var(--line-1);
  padding-bottom: 22px;
  margin-bottom: 56px;
}
.section--dark .section-head, .section--darker .section-head { border-bottom-color: rgba(241,237,230,.2); }
.section-head__eyebrow { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .2em; color: var(--teal-ink); margin-bottom: 14px; }
.section--dark .section-head__eyebrow, .section--darker .section-head__eyebrow { color: var(--teal-bright); }
.section-head h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1.05; font-weight: 700; letter-spacing: -.035em; }
.section-head__note { font-family: var(--font-mono); font-size: 12px; line-height: 1.9; color: var(--ink-muted-4); margin: 0; max-width: 42ch; }
.section--dark .section-head__note, .section--darker .section-head__note { color: var(--ink-muted-3); }

/* ---------- Diensten (services) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 1px;
  background: var(--line-1);
  border: 1px solid var(--line-1);
  container-type: inline-size;
}
/* Contactkaart vult de laatste rij als er drie kolommen zijn (geen leeg grijs vak) */
@container (min-width: 962px) {
  .service-card--cta:nth-child(3n+2) { grid-column: span 2; }
  .service-card--cta:nth-child(3n+1) { grid-column: 1 / -1; }
}
.service-card {
  background: var(--cream);
  padding: 36px 32px 40px;
  transition: background .25s, box-shadow .25s;
  animation: rise .7s both;
  animation-timeline: view();
  animation-range: entry 0% cover 22%;
}
@media (hover: hover) {
  .service-card:hover { background: rgba(14,140,140,.09); box-shadow: inset 0 2px 0 0 var(--teal); }
}
.service-card h3 { font-size: 21px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; margin: 0 0 14px; }
.service-card p { font-size: 14.5px; line-height: 1.7; color: var(--ink-muted-4); }
.service-card--cta {
  background: var(--navy);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
}
.service-card--cta p { font-size: 17px; line-height: 1.5; font-weight: 500; color: var(--cream); max-width: 38ch; }
.service-card--cta a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--teal-bright);
  border-bottom: 1px solid rgba(18,168,168,.5);
  padding-bottom: 5px;
  align-self: flex-start;
}
.service-card--cta a:hover { color: var(--cream); border-color: var(--cream); }

/* ---------- Werkwijze (process) ---------- */
#werkwijze > .wrap { container-type: inline-size; }
.process-grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
@container (min-width: 440px) { .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (min-width: 640px) { .process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@container (min-width: 1100px) { .process-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.process-step { border-top: 2px solid rgba(241,237,230,.24); padding-top: 20px; transition: border-color .25s; }
.process-step--first { border-top-color: var(--teal-bright); }
@media (hover: hover) { .process-step:hover { border-top-color: var(--teal-bright); } }
.process-step h3 { font-size: 18px; line-height: 1.25; font-weight: 600; margin: 0 0 10px; }
.process-step p { font-size: 13.5px; line-height: 1.7; color: var(--ink-muted-2); }

/* ---------- Projecten ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 30px; }
.project-card {
  background: #FFFFFF;
  border: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  transition: border-color .25s, box-shadow .25s;
  animation: rise .7s both;
  animation-timeline: view();
  animation-range: entry 0% cover 20%;
}
@media (hover: hover) {
  .project-card:hover { border-color: var(--teal); }
  .project-card:has(.project-card__more):hover { box-shadow: 0 0 0 1px var(--teal), 0 18px 40px -24px rgba(14,140,140,.55); }
}
.project-card__media { position: relative; aspect-ratio: 3 / 2; background: var(--img-placeholder); overflow: hidden; border-bottom: 1px solid var(--line-3); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.project-card__tags { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: var(--ink-warm); margin-bottom: 14px; }
.project-card__tags span { white-space: nowrap; }
.project-card__tags span:last-child { text-align: right; }
.project-card h3 { font-size: 22px; line-height: 1.15; font-weight: 700; letter-spacing: -.022em; margin: 0 0 10px; }
.project-card__body > p { font-size: 14px; line-height: 1.65; color: var(--ink-muted-4); margin: 0 0 18px; }
.project-card__list { display: grid; gap: 6px; font-family: var(--font-mono); font-size: 12px; line-height: 1.6; color: var(--ink-muted-7); border-top: 1px solid var(--line-3); padding-top: 16px; margin-top: auto; }

.prior-work {
  margin-top: 44px;
  border: 1px solid var(--line-1);
  padding: 34px 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 32px;
  align-items: start;
}
.prior-work__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--teal-ink); margin-bottom: 16px; }
.prior-work__intro p { font-size: 15px; line-height: 1.7; color: var(--ink-muted-4); max-width: 40ch; }
.prior-work__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px 32px; }
.prior-work__item { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line-2); padding-bottom: 12px; }
.prior-work__item span:first-child { font-size: 15.5px; font-weight: 600; }
.prior-work__item span:last-child { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-muted-4); text-align: right; white-space: nowrap; }

/* ---------- Over Farhad ---------- */
.about-mission { max-width: 760px; display: grid; gap: 22px; margin-bottom: 44px; }
.about-mission p { font-size: 15.5px; line-height: 1.75; color: var(--ink-muted-2); margin: 0; }
.about-mission p:first-child { font-size: 18px; line-height: 1.65; color: var(--pale); }
.about-founder { max-width: 760px; border-top: 1px solid rgba(241,237,230,.18); padding-top: 30px; }
.about-founder__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: var(--ink-muted-3); margin-bottom: 18px; }
.about-founder__row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; align-items: start; }
.about-founder__frame { width: 120px; aspect-ratio: 4 / 5; position: relative; overflow: hidden; border: 1px solid rgba(241,237,230,.16); }
.about-founder__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.about-founder__body { display: grid; gap: 8px; padding-top: 2px; }
.about-founder__name { font-size: 15px; font-weight: 700; }
.about-founder__role { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--ink-muted-3); margin-top: 2px; }
.about-founder__body p { font-size: 14px; line-height: 1.6; color: var(--ink-muted-2); margin: 0; }

/* ---------- Expertise ---------- */
.expertise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 54px; align-items: start; }
.expertise-grid h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.06; font-weight: 700; letter-spacing: -.03em; margin: 0 0 30px; }
.expertise-groups { display: grid; gap: 30px; }
.expertise-group__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: var(--ink-warm); margin-bottom: 14px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { border: 1px solid var(--line-1); padding: 8px 14px; font-size: 13.5px; transition: border-color .2s, background .2s; }
@media (hover: hover) { .tag:hover { border-color: var(--teal); background: rgba(14,140,140,.09); } }
.differentiators { background: var(--navy); color: var(--cream); padding: 44px 40px; }
.differentiators__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--teal-bright); margin-bottom: 26px; }
.differentiators__list { display: grid; gap: 20px; }
.differentiators__item { display: block; border-bottom: 1px solid rgba(241,237,230,.14); padding-bottom: 18px; }
.differentiators__item:last-child { border-bottom: 0; padding-bottom: 0; }
.differentiators__item span { font-size: 15.5px; line-height: 1.6; }

/* ---------- Contact ---------- */
.contact-section { background: var(--teal-contact-bg); color: var(--teal-contact-text); }
.contact-section .section-head__eyebrow { color: var(--teal-contact-text); }
.contact-intro { max-width: 620px; margin-bottom: 56px; }
.contact-intro h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1.03; font-weight: 700; letter-spacing: -.035em; margin: 0 0 18px; }
.contact-intro p { font-size: 17px; line-height: 1.65; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 34px; align-items: start; }

.contact-form { background: var(--cream); padding: 38px 34px 34px; display: grid; gap: 20px; }
.form-field { display: grid; gap: 8px; }
.form-field label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; color: var(--ink-muted-4); }
.form-field input, .form-field textarea {
  border: 0; border-bottom: 1px solid var(--line-1); background: transparent;
  padding: 10px 2px; font-size: 15px; color: var(--navy); outline: none;
}
.form-field textarea { border: 1px solid var(--line-1); padding: 12px; line-height: 1.6; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--teal-ink); box-shadow: 0 1px 0 0 var(--teal-ink); }
.form-field textarea:focus { box-shadow: 0 0 0 1px var(--teal-ink); }
.contact-form button { justify-self: start; }
.form-note { font-size: 12.5px; color: var(--ink-muted-4); margin: -4px 0 0; }
.form-success { font-size: 14.5px; font-weight: 600; color: var(--navy); display: none; }
.contact-form.is-sent .form-success { display: block; }
.form-error { font-size: 14px; line-height: 1.55; color: #A23B2A; display: none; }
.form-error a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.contact-form.has-error .form-error { display: block; }
.contact-form.is-sending button { opacity: .7; cursor: progress; }
.contact-form.is-sent button { opacity: .55; cursor: default; }
.form-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.contact-side { display: grid; gap: 20px; }
.contact-call {
  background: var(--navy-deep); color: var(--cream); padding: 38px 34px;
}
.contact-call__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--teal-bright); margin-bottom: 18px; }
.contact-call h3 { font-size: 25px; line-height: 1.15; font-weight: 700; letter-spacing: -.025em; margin: 0 0 14px; }
.contact-call p { font-size: 14.5px; line-height: 1.7; color: var(--ink-muted-2); margin: 0 0 26px; }
.contact-details { background: var(--cream); padding: 32px 34px; display: grid; gap: 18px; font-size: 15px; }
.contact-details__row { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; align-items: baseline; }
.contact-details__row span:first-child { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; color: var(--ink-muted-4); }
.contact-details__row a { color: var(--navy); font-weight: 600; }
.contact-details__row a:hover { color: var(--teal-ink); }
.contact-details__row span.plain { color: var(--ink-muted-7); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--ink-muted-2); padding: 54px 0 40px; }
.site-footer .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 34px; align-items: end; }
.site-footer__logo { width: 168px; height: auto; }
.site-footer__col { font-family: var(--font-mono); font-size: 11.5px; line-height: 2; }
.site-footer__col--right { justify-self: end; text-align: right; }
.site-footer__col--right .muted { color: var(--ink-muted-3); }
.site-footer__col a { color: inherit; }
.site-footer__col a:hover { color: var(--teal-bright); }
.site-footer__tel { white-space: nowrap; }
.site-footer__credit { max-width: 1240px; margin: 34px auto 0; padding: 0 28px; }
.site-footer__credit p { padding-top: 22px; border-top: 1px solid rgba(241, 237, 230, .1); font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: var(--ink-muted-3); }
.site-footer__credit a { color: var(--ink-muted-1); border-bottom: 1px solid rgba(195, 203, 211, .35); transition: color .15s, border-color .15s; }
.site-footer__credit a:hover, .site-footer__credit a:focus-visible { color: var(--teal-bright); border-bottom-color: currentColor; }

@media (max-width: 640px) {
  .prior-work__item, .contact-details__row { grid-template-columns: 1fr; }
  .contact-details__row a, .contact-details__row span.plain { grid-column: 1; }
  .about-founder__row { grid-template-columns: 1fr; }
  .about-founder__frame { width: 120px; }
  .site-footer__col--right { justify-self: start; text-align: left; }
}

/* Compacte kopbalk op tablet en telefoon: rij 1 logo + knop, rij 2 menu (schuifbaar) + taal */
@media (max-width: 960px) {
  .site-header .wrap { padding-top: 10px; padding-bottom: 0; gap: 0 14px; }
  .site-header__logo img { width: 124px; }
  .header-actions { display: contents; }
  .header-actions .btn { order: 2; margin-left: auto; }
  .site-nav {
    order: 3; flex: 1 1 calc(100% - 100px); margin-left: 0; flex-wrap: nowrap; gap: 0 22px;
    overflow-x: auto; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { padding: 12px 0; }
  .lang-switch { order: 4; margin-left: auto; }
  .lang-switch a { padding: 8px 9px; }
  .section { scroll-margin-top: 104px; }
  .form-field input, .form-field textarea { font-size: 16px; }
}
@media (max-width: 360px) {
  .site-header__logo img { width: 108px; }
  .btn--small { padding: 9px 12px; font-size: 12.5px; }
}

/* ---------- Fotocarrousel ---------- */
.project-card__media .carousel { position: absolute; inset: 0; }
.carousel { position: relative; width: 100%; height: 100%; }
.carousel__track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: -2px; }
.carousel__slide { flex: 0 0 100%; margin: 0; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 0; padding: 0; cursor: pointer;
  background: rgba(7, 23, 38, .72); color: var(--cream);
  backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .2s, background .2s, color .2s;
}
.carousel__btn--prev { left: 10px; }
.carousel__btn--next { right: 10px; }
.carousel:hover .carousel__btn, .carousel:focus-within .carousel__btn { opacity: 1; }
.carousel__btn:hover { background: var(--teal); color: var(--navy-deep); }
@media (hover: none) { .carousel__btn { opacity: 1; } }
.carousel__dots {
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%);
  display: flex; gap: 6px; padding: 6px 9px; background: rgba(7, 23, 38, .55);
}
.carousel__dots button { position: relative; width: 8px; height: 8px; padding: 0; border: 0; cursor: pointer; background: rgba(241, 237, 230, .55); transition: background .2s, width .2s; }
.carousel__dots button::before { content: ''; position: absolute; inset: -8px -3px; }
.carousel__dots button[aria-current="true"] { width: 22px; background: var(--teal-bright); }
.carousel--empty {
  display: grid; place-items: center; height: 100%;
  background: var(--img-placeholder); color: var(--ink-muted-6);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em;
}

/* ---------- Projectweergave (uitgebreide tekst + grote carrousel) ---------- */
.project-card__more {
  align-self: flex-start; margin: 0 0 18px; padding: 0 0 4px;
  background: none; border: 0; border-bottom: 1px solid rgba(14, 140, 140, .5);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em;
  color: var(--teal-ink); cursor: pointer; text-align: left;
}
.project-card__more:hover { color: var(--navy); border-bottom-color: var(--navy); }
html:has(dialog[open]) { overflow: hidden; }
.project-dialog {
  border: 0; padding: 0; background: #fff; color: var(--navy);
  width: min(1080px, calc(100vw - 32px)); max-width: none;
  max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  overflow: auto; box-shadow: 0 30px 80px -20px rgba(7, 23, 38, .6);
}
.project-dialog[open] { animation: rise .35s both; }
.project-dialog::backdrop { background: rgba(7, 23, 38, .72); backdrop-filter: blur(3px); }
.project-dialog__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.project-dialog__media { position: sticky; top: 0; align-self: start; aspect-ratio: 4 / 5; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); background: var(--img-placeholder); }
.project-dialog__media .carousel { position: absolute; inset: 0; }
.project-dialog__body { padding: 64px 34px 34px; }
.project-dialog__body h3 { font-size: 30px; line-height: 1.1; font-weight: 700; letter-spacing: -.025em; margin: 0 0 14px; }
.project-dialog__body .project-card__tags { margin-bottom: 16px; }
.project-dialog__lead { font-size: 15px; line-height: 1.65; color: var(--ink-muted-4); margin-bottom: 18px; }
.project-dialog__extra p { font-size: 14.5px; line-height: 1.75; color: var(--ink-muted-7); margin: 0 0 14px; }
.project-dialog .project-card__list { margin-top: 22px; }
.project-dialog__close {
  position: absolute; top: 12px; right: 12px; z-index: 5; width: 40px; height: 40px;
  display: grid; place-items: center; border: 0; padding: 0; cursor: pointer;
  background: var(--navy); color: var(--cream);
}
.project-dialog__close:hover { background: var(--teal); color: var(--navy-deep); }
@media (max-width: 820px) {
  .project-dialog__inner { grid-template-columns: 1fr; }
  .project-dialog__media { position: relative; aspect-ratio: 3 / 2; max-height: none; }
  .project-dialog__body { padding: 28px 22px 26px; }
}

/* ---------- Minder beweging ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .service-card, .project-card, .project-dialog[open] { animation: none; }
}
