/* ==========================================================================
   EJSound — layout en componenten
   Klassen staan op Gutenberg-blokken (veld "Extra CSS-klasse") of komen uit
   de dynamische blokken van het thema. Breakpoints: 1100, 960, 800, 560.
   theme.json zet blockGap op 0: alle tussenruimte staat hier.
   ========================================================================== */

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

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

:root body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

:root h1,
:root h2,
:root h3,
:root h4 {
  text-wrap: balance;
}

:root h1 {
  font-stretch: 80%;
  letter-spacing: -0.03em;
}

:root h2 {
  font-stretch: 84%;
}

:root h3 {
  font-stretch: 92%;
  letter-spacing: -0.01em;
}

:root p {
  text-wrap: pretty;
}

/* Geen standaardmarges: alle ruimte staat in de componenten en in .ejs-prose */
:root :where(h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul.wp-block-post-template) {
  margin: 0;
}

:root ::selection {
  background: var(--primary-l-3);
  color: var(--base);
}

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

:root .screen-reader-text,
:root .visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

:root .screen-reader-text:focus {
  position: fixed !important;
  top: 1.2rem;
  left: 1.2rem;
  z-index: 100001;
  width: auto;
  height: auto;
  margin: 0;
  padding: 1.2rem 1.6rem;
  clip: auto;
  background: var(--base);
  color: var(--white);
}

/* ---------- Layout ---------- */

:root .container {
  --bleed: calc((100vw - min(100vw - 2 * var(--gutter), var(--content-width))) / 2);
  width: min(100% - 2 * var(--gutter), var(--content-width));
  margin-inline: auto;
}

:root .grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
}

:root .section {
  padding-block: var(--section-space);
}

:root .section--tight {
  padding-block: var(--space-2xl);
}

:root .section--light {
  background: var(--bg-light);
}

:root .section--line {
  border-top: 1px solid var(--border-primary);
}

:root .section-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  row-gap: var(--space-s);
  align-items: end;
  margin-bottom: var(--space-xl);
}

:root .section-head__title {
  grid-column: 1 / span 7;
}

:root .section-head__title .label {
  margin-bottom: var(--space-s);
}

:root .section-head__aside {
  grid-column: 9 / span 4;
  color: var(--text-muted);
}

:root .section-head__aside > * + * {
  margin-top: var(--space-s);
}

/* Lopende tekst in de editor-inhoud */
:root .ejs-prose > * + * {
  margin-top: 1.1em;
}

:root .ejs-prose > * + :is(h2, h3, h4) {
  margin-top: var(--space-l);
}

:root .ejs-prose > :is(h2, h3, h4) + * {
  margin-top: var(--space-s);
}

:root .ejs-prose > * + :is(.wp-block-gallery, .wp-block-image, .wp-block-quote, .quote, .artists, .details) {
  margin-top: var(--space-xl);
}

:root .ejs-prose > * + .artiesten-blok {
  margin-top: var(--space-2xl);
}

:root .artiesten-blok > .wp-block-query {
  margin-top: var(--space-m);
}

:root .ejs-prose a {
  text-decoration-color: var(--primary);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

/* Secties onder elkaar zonder ruimte ertussen */
:root .wp-block-post-content.ejs-secties > * {
  margin-block: 0;
}

/* ---------- Tekststijlen ---------- */

:root .label {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 450;
  font-stretch: normal;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Het oranje streepje: een LED-segment uit de niveaumeter */
:root .label::before {
  content: "";
  flex: none;
  width: 1.6rem;
  height: 0.4rem;
  background: var(--primary);
}

:root .label--plain::before {
  display: none;
}

:root .lead,
:root .lead p {
  font-size: var(--text-l);
  line-height: 1.5;
  color: var(--text-body);
}

:root .lead--xl,
:root .lead--xl p {
  font-size: var(--text-xl);
  line-height: 1.4;
  color: var(--text-title);
}

:root .muted {
  color: var(--text-muted);
}

:root .mono {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
}

:root a.text-link,
:root .text-link a {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--primary);
  text-underline-offset: 0.35em;
  transition: color 0.2s;
}

:root .text-link a:hover,
:root a.text-link:hover {
  color: var(--primary-d-2);
}

:root .statement-text {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 560;
  font-stretch: 94%;
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: var(--text-title);
}

:root .figure-caption,
:root .wp-block-image figcaption.wp-element-caption {
  margin: 1.2rem 0 0;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-align: left;
}

/* ---------- Knoppen ---------- */

:root .wp-element-button,
:root .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}

:root .wp-block-button.is-style-outline > .wp-block-button__link,
:root .wp-block-button__link.is-style-outline {
  padding: 1.5rem 2.4rem;
  background: transparent;
  color: var(--base);
  border: 0;
  box-shadow: inset 0 0 0 1.5px var(--base);
}

:root .wp-block-button.is-style-outline > .wp-block-button__link:hover,
:root .wp-block-button__link.is-style-outline:hover {
  background: var(--base);
  color: var(--white);
}

:root .wp-block-button.is-style-inkt > .wp-block-button__link,
:root .wp-block-button__link.is-style-inkt {
  background: var(--base);
  color: var(--white);
}

:root .wp-block-button.is-style-inkt > .wp-block-button__link:hover,
:root .wp-block-button__link.is-style-inkt:hover {
  background: var(--white);
  color: var(--base);
}

:root .wp-block-button__link.is-full {
  width: 100%;
  justify-content: space-between;
}

/* Knopstijl "Tekstlink": onderstreepte link naast een gewone knop */
:root .wp-block-button.is-style-tekst > .wp-block-button__link {
  padding: 0;
  background: transparent;
  color: var(--base);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--primary);
  text-underline-offset: 0.35em;
}

:root .wp-block-button.is-style-tekst > .wp-block-button__link:hover {
  background: transparent;
  color: var(--primary-d-2);
}

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

:root .site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg-body);
  border-bottom: 1px solid var(--border-primary);
}

:root body.admin-bar .site-header {
  top: 32px;
}

:root .site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-m);
  min-height: 7.2rem;
}

:root .site-logo {
  display: block;
  flex: none;
  color: var(--base);
}

:root .site-logo svg {
  display: block;
  width: auto;
  height: 3.6rem;
}

:root .site-nav.wp-block-navigation {
  margin-inline: auto;
}

:root .site-nav .wp-block-navigation-item__content {
  position: relative;
  padding-block: 0.6rem;
  text-decoration: none;
}

:root .site-nav .wp-block-navigation-item__content::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

:root .site-nav .wp-block-navigation-item__content:hover::after,
:root .site-nav .current-menu-item > .wp-block-navigation-item__content::after {
  transform: scaleX(1);
}

:root .site-nav .wp-block-navigation-item__content:hover {
  color: inherit;
}

:root .site-nav .is-cta {
  display: none;
}

:root .site-header__tel {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

:root .site-header__tel a {
  text-decoration: none;
}

:root .site-header__cta .wp-block-button__link {
  padding: 1.2rem 1.8rem;
}

/* Menuknop en volledig scherm-menu */
:root .site-nav .wp-block-navigation__responsive-container-open,
:root .site-nav .wp-block-navigation__responsive-container-close {
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  background: transparent;
  border: 1.5px solid var(--base);
  border-radius: var(--radius-xs);
  font: 600 var(--text-s) / 1 var(--font-body);
  color: var(--base);
  cursor: pointer;
}

:root .site-nav .wp-block-navigation__responsive-container-close {
  top: var(--space-s);
  right: var(--gutter);
}

:root .site-nav.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open {
  padding: var(--space-s) var(--gutter) var(--space-l);
  background: var(--bg-body);
  color: var(--base);
}

:root .site-nav .is-menu-open .wp-block-navigation__responsive-container-content {
  padding-top: 7.2rem;
  align-items: stretch;
}

:root .site-nav .is-menu-open .wp-block-navigation__container {
  flex-direction: column;
  align-items: stretch !important;
  gap: 0;
  width: 100%;
}

:root .site-nav .is-menu-open .wp-block-navigation-item {
  width: 100%;
  border-bottom: 1px solid var(--border-primary);
}

:root .site-nav .is-menu-open .wp-block-navigation-item__content {
  display: block;
  width: 100%;
  padding-block: 1.4rem;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 760;
  font-stretch: 82%;
  line-height: 1;
  letter-spacing: -0.02em;
}

:root .site-nav .is-menu-open .wp-block-navigation-item__content::after {
  display: none;
}

:root .site-nav .is-menu-open .is-cta {
  display: block;
  margin-top: var(--space-l);
  border: 0;
}

:root .site-nav .is-menu-open .is-cta .wp-block-navigation-item__content {
  padding: 1.8rem 2.4rem;
  background: var(--primary);
  font-family: var(--font-body);
  font-size: var(--text-m);
  font-weight: 600;
  font-stretch: normal;
  letter-spacing: 0;
}

/* ---------- Home: hero en niveaumeter ---------- */

:root .hero {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-l);
}

:root .hero__top {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  row-gap: var(--space-m);
  align-items: end;
}

:root .hero__label {
  grid-column: 1 / -1;
}

:root .hero__title {
  grid-column: 1 / span 8;
  font-size: var(--text-5xl);
  font-weight: 800;
  font-stretch: 76%;
  line-height: 0.84;
  letter-spacing: -0.035em;
}

:root .hero__intro {
  grid-column: 9 / span 4;
  padding-bottom: 0.8rem;
}

:root .hero__intro > p {
  margin-bottom: var(--space-m);
  font-size: var(--text-l);
  line-height: 1.45;
}

:root .hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem 2.4rem;
}

:root .hero__tel,
:root .cta-band__tel {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.02em;
}

:root .hero__tel a,
:root .cta-band__tel a {
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.2rem;
}

:root .eq {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr 2.6fr 0.85fr 1.15fr;
  align-items: end;
  column-gap: clamp(0.6rem, 1vw, 1.4rem);
  height: clamp(30rem, 46vw, 66rem);
  margin-top: var(--space-xl);
  margin-bottom: 5.6rem;
  border-bottom: 2px solid var(--base);
}

:root .eq > * {
  position: relative;
  height: var(--h, 100%);
  margin: 0;
  transition: height 0.5s var(--ease);
}

.is-h-36 { --h: 36%; }
.is-h-46 { --h: 46%; }
.is-h-54 { --h: 54%; }
.is-h-62 { --h: 62%; }
.is-h-72 { --h: 72%; }
.is-h-84 { --h: 84%; }
.is-h-100 { --h: 100%; }

:root .wp-block-image.eq__bar a,
:root .wp-block-image.eq__bar img {
  display: block;
  width: 100%;
  height: 100%;
}

:root .wp-block-image.eq__bar a,
:root .wp-block-image.eq__bar > img {
  overflow: hidden;
  background: var(--secondary);
}

:root .wp-block-image.eq__bar img {
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

:root .wp-block-image.eq__bar:hover {
  height: min(100%, calc(var(--h) + 7%));
}

:root .wp-block-image.eq__bar:hover img {
  transform: scale(1.04);
}

:root .wp-block-image.eq__bar figcaption.wp-element-caption {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 1.6rem;
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--base);
}

:root .wp-block-image.eq__bar figcaption strong {
  font-weight: inherit;
  color: var(--primary-d-2);
  margin-right: 0.6rem;
}

/* De oranje balk: bovenin vol, onderin LED-segmenten */
:root .eq__signal {
  background: var(--primary);
  color: var(--base);
}

:root .eq__signal::after {
  content: "";
  position: absolute;
  inset: 42% 0 0;
  background: repeating-linear-gradient(to top, transparent 0 1.2rem, var(--bg-body) 1.2rem 1.5rem);
}

:root .eq__signal > p {
  position: relative;
  z-index: 1;
  padding-inline: 1.2rem;
}

:root .eq__signal > p:first-child {
  padding-top: 1.2rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 3.2vw, 4.8rem);
  font-weight: 800;
  font-stretch: 78%;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

:root .eq__signal > p + p {
  margin-top: 0.4rem;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
}

/* ---------- Feitenstrook ---------- */

:root .facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: var(--space-xl);
  padding-top: var(--space-s);
  border-top: 1px solid var(--border-primary);
}

:root .fact {
  padding: 0 var(--space-s);
  border-left: 1px solid var(--border-primary);
}

:root .fact:first-child {
  padding-left: 0;
  border-left: 0;
}

:root .fact > p:first-child {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

:root .fact > p + p {
  margin-top: 0.8rem;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 720;
  font-stretch: 84%;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text-title);
}

/* ---------- Home: introductie ---------- */

:root .intro {
  align-items: start;
}

:root .wp-block-image.intro__media {
  grid-column: 1 / span 4;
}

:root .wp-block-image.intro__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 30%;
}

:root .intro__text {
  grid-column: 6 / span 7;
  padding-top: var(--space-s);
}

:root .intro__text .label {
  margin-bottom: var(--space-m);
}

:root .intro__more {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 3.2rem;
  align-items: center;
  margin-top: var(--space-l);
}

/* ---------- Diensten als genummerde lijst ---------- */

:root .services-home {
  align-items: start;
}

:root .services-home__head {
  grid-column: 1 / span 4;
  position: sticky;
  top: 11rem;
}

:root .services-home__head h2 {
  margin-block: var(--space-s) var(--space-m);
}

:root .services-home__head > p:not(.label) {
  margin-bottom: var(--space-m);
  color: var(--text-muted);
}

:root .services-home__list {
  grid-column: 5 / span 8;
}

:root .index-list {
  counter-reset: dienst;
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--border-primary);
}

:root .index-list > li {
  counter-increment: dienst;
}

:root .index-row {
  position: relative;
  display: grid;
  grid-template-columns: 4rem minmax(0, 1.15fr) minmax(0, 1fr) 12rem 4.4rem;
  grid-template-areas:
    "nr titel tekst beeld pijl"
    "nr groep tekst beeld pijl";
  column-gap: var(--space-s);
  align-items: center;
  padding-block: var(--space-s);
  border-top: 1px solid var(--border-primary);
}

:root .index-row::before {
  content: counter(dienst, decimal-leading-zero);
  grid-area: nr;
  align-self: start;
  padding-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--primary-d-2);
}

:root .index-row::after {
  content: "→";
  grid-area: pijl;
  display: grid;
  place-items: center;
  width: 4.4rem;
  height: 4.4rem;
  border: 1.5px solid var(--base);
  border-radius: var(--radius-xs);
  font-size: 1.8rem;
  transition: background-color 0.2s, border-color 0.2s;
}

:root .index-row__title {
  grid-area: titel;
  align-self: end;
  font-size: var(--text-2xl);
  font-weight: 760;
  font-stretch: 84%;
  line-height: 0.95;
  transition: transform 0.35s var(--ease);
}

:root .index-row__title a {
  text-decoration: none;
}

/* De hele rij is klikbaar */
:root .index-row__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

:root .index-row__group {
  grid-area: groep;
  align-self: start;
  margin-top: 0.8rem;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

:root .index-row__text {
  grid-area: tekst;
  font-size: var(--text-s);
  line-height: 1.5;
  color: var(--text-muted);
}

:root .index-row__thumb {
  grid-area: beeld;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--secondary);
}

:root .wp-block-post-featured-image.index-row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

:root .index-row:hover .index-row__title {
  transform: translateX(0.8rem);
}

:root .index-row:hover .index-row__thumb img {
  transform: scale(1.07);
}

:root .index-row:hover::after {
  background: var(--primary);
  border-color: var(--primary);
}

/* ---------- Uitgelicht: tekst + foto die rechts uit het raster loopt ---------- */

:root .feature__text {
  grid-column: 1 / span 5;
  grid-row: 1;
  align-self: start;
  padding-top: var(--space-m);
}

:root .feature__text h2 {
  margin-block: var(--space-s) var(--space-m);
}

:root .feature__text > p + p {
  margin-top: 1em;
}

:root .wp-block-image.feature__media {
  grid-column: 7 / -1;
  grid-row: 1;
  margin: 0 calc(-1 * var(--bleed)) 0 0;
  min-height: clamp(36rem, 46vw, 68rem);
  overflow: hidden;
  background: var(--secondary);
}

:root .wp-block-image.feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% 50%;
}

:root .feature__panel {
  grid-column: 4 / span 6;
  grid-row: 2;
  position: relative;
  z-index: 1;
  margin-top: calc(-1 * var(--space-3xl));
  padding: var(--space-l);
  background: var(--bg-surface);
  border-top: 4px solid var(--primary);
}

:root .feature__panel h3 {
  margin-bottom: var(--space-s);
}

:root .feature__price {
  margin-top: var(--space-m);
  font-size: var(--text-s);
  color: var(--text-muted);
}

:root .feature__price strong {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 720;
  font-stretch: 88%;
  line-height: 1.15;
  color: var(--text-title);
}

/* ---------- Lijst met oranje segmentjes ---------- */

:root ul.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

:root .checklist li {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 1.4rem;
  padding-block: 1.1rem;
  border-top: 1px solid var(--border-primary);
  line-height: 1.45;
}

:root .checklist li::before {
  content: "";
  width: 1.6rem;
  height: 0.4rem;
  margin-top: 0.9rem;
  background: var(--primary);
}

:root .checklist--large li {
  padding-block: 1.8rem;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  font-stretch: 92%;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-title);
}

:root .checklist--large li::before {
  margin-top: 1.1rem;
}

/* ---------- Projectkaarten ---------- */

:root .work {
  position: relative;
}

:root .work__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--secondary);
}

:root .wp-block-post-featured-image.work__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

:root .is-formaat-flyer .work__media,
:root .is-formaat-logo .work__media {
  background: var(--secondary-d-1);
}

:root .is-formaat-flyer .wp-block-post-featured-image.work__media img,
:root .is-formaat-logo .wp-block-post-featured-image.work__media img {
  object-fit: contain;
  padding: var(--space-m);
}

:root .is-formaat-logo .work__media {
  background: var(--bg-surface);
  box-shadow: inset 0 0 0 1px var(--border-primary);
}

:root .work:hover .work__media img {
  transform: scale(1.035);
}

:root .work__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 1.6rem;
  margin-top: 1.6rem;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

:root .work__meta > :first-child {
  color: var(--primary-d-2);
}

:root .work__title {
  margin-top: 1rem;
  font-size: var(--text-2xl);
  font-weight: 760;
  font-stretch: 84%;
  line-height: 0.98;
}

:root .work__title a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 3px;
  text-underline-offset: 0.12em;
  transition: text-decoration-color 0.2s;
}

:root .work__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

:root .work:hover .work__title a {
  text-decoration-color: var(--primary);
}

:root .work__sub {
  margin-top: 0.6rem;
  font-size: var(--text-s);
  color: var(--text-muted);
}

/* Home: vier projecten, bewust ongelijk */
:root .work-grid,
:root .portfolio {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  row-gap: var(--space-xl);
  align-items: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

:root .work-grid > :nth-child(4n + 1) {
  grid-column: 1 / span 7;
}

:root .work-grid > :nth-child(4n + 2) {
  grid-column: 9 / span 4;
  margin-top: var(--space-3xl);
}

:root .work-grid > :nth-child(4n + 2) .work__media {
  aspect-ratio: 4 / 5;
}

:root .work-grid > :nth-child(4n + 3) {
  grid-column: 2 / span 5;
}

:root .work-grid > :nth-child(4n + 3) .work__media {
  aspect-ratio: 1 / 1;
}

:root .work-grid > :nth-child(4n + 4) {
  grid-column: 7 / span 6;
  margin-top: var(--space-2xl);
}

:root .work-grid > :nth-child(4n + 4) .work__media {
  aspect-ratio: 3 / 2;
}

/* Projectenpagina: zigzag in twee ongelijke kolommen */
:root .portfolio {
  row-gap: var(--space-2xl);
}

:root .portfolio > :nth-child(4n + 1) {
  grid-column: 1 / span 7;
}

:root .portfolio > :nth-child(4n + 2) {
  grid-column: 9 / span 4;
  margin-top: var(--space-2xl);
}

:root .portfolio > :nth-child(4n + 2) .work__media,
:root .portfolio > :nth-child(4n + 3) .work__media {
  aspect-ratio: 4 / 5;
}

:root .portfolio > :nth-child(4n + 3) {
  grid-column: 1 / span 5;
}

:root .portfolio > :nth-child(4n + 4) {
  grid-column: 7 / span 6;
  margin-top: var(--space-3xl);
}

:root .portfolio > :nth-child(4n + 4) .work__media {
  aspect-ratio: 3 / 2;
}

:root .filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: var(--space-xl);
}

:root .filter {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.6rem;
  border: 1.5px solid var(--base-l-4);
  border-radius: var(--radius-xs);
  font-size: var(--text-s);
  font-weight: 500;
  line-height: 1.2;
  color: var(--base);
  text-decoration: none;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

:root .filter:hover {
  border-color: var(--base);
  color: var(--base);
}

:root .filter[aria-current="page"] {
  background: var(--base);
  border-color: var(--base);
  color: var(--white);
}

:root .filter__count {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  opacity: 0.7;
}

:root .geen-resultaten {
  color: var(--text-muted);
}

:root .wp-block-query-pagination {
  margin-top: var(--space-xl);
  gap: 1.6rem;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
}

/* ---------- Reviews ---------- */

:root .quotes {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  row-gap: var(--space-xl);
}

:root .quotes-label {
  margin-bottom: var(--space-xl);
}

:root .quotes > :nth-child(odd) {
  grid-column: 1 / span 8;
}

:root .quotes > :nth-child(even) {
  grid-column: 7 / span 6;
}

:root .quote__title {
  margin-bottom: var(--space-s);
}

:root .wp-block-quote.quote__text {
  margin: 0;
  padding: 0;
  border: 0;
}

:root .quote__text p {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 560;
  font-stretch: 94%;
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--text-title);
}

:root .quotes > :nth-child(odd) .quote__text p,
:root .ejs-prose .quote__text p {
  font-size: var(--text-2xl);
  line-height: 1.12;
}

:root .quote__text p::before {
  content: "\201C";
  color: var(--primary-d-1);
}

:root .quote__text p::after {
  content: "\201D";
  color: var(--primary-d-1);
}

:root .quote__by {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-top: var(--space-m);
}

:root .wp-block-image.quote__photo img {
  width: 6.4rem;
  height: 6.4rem;
  object-fit: cover;
  background: var(--secondary);
}

:root .quote__name {
  font-weight: 600;
  color: var(--text-title);
}

:root .quote__role {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

/* ---------- Werkwijze als fader-rail ---------- */

:root .timeline {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr 1.2fr;
  column-gap: var(--grid-gap);
  border-top: 2px solid var(--base);
}

:root .timeline__step {
  position: relative;
  padding-top: var(--space-m);
}

:root .timeline__step::before {
  content: "";
  position: absolute;
  top: -0.8rem;
  left: 0;
  width: 2.8rem;
  height: 1.4rem;
  background: var(--primary);
}

.timeline__step:nth-child(2)::before { left: 30%; }
.timeline__step:nth-child(3)::before { left: 12%; }
.timeline__step:nth-child(4)::before { left: 46%; }

:root .timeline__step h3 {
  margin-block: 1.2rem 1rem;
}

:root .timeline__step > p:last-child {
  max-width: 34ch;
  font-size: var(--text-s);
  color: var(--text-muted);
}

/* ---------- Offerteband ---------- */

:root .cta-band {
  padding-block: var(--space-2xl);
  background: var(--bg-accent);
  color: var(--base);
}

:root .cta-band :focus-visible {
  outline-color: var(--base);
}

:root .cta-band__grid {
  align-items: end;
  row-gap: var(--space-l);
}

:root .cta-band__title {
  grid-column: 1 / span 8;
  font-size: var(--text-4xl);
  font-weight: 800;
  font-stretch: 78%;
  line-height: 0.88;
  letter-spacing: -0.03em;
}

:root .cta-band__body {
  grid-column: 9 / span 4;
}

:root .cta-band__body > p:first-child {
  margin-bottom: var(--space-m);
}

:root .cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem 2.4rem;
}

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

:root .site-footer {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-m);
  background: var(--bg-light);
}

:root .site-footer__top {
  row-gap: var(--space-l);
}

:root .site-footer__brand {
  grid-column: 1 / span 4;
}

:root .site-footer__brand .site-logo svg {
  height: 4.4rem;
  margin-bottom: var(--space-s);
}

:root .site-footer__brand > p {
  max-width: 32ch;
  font-size: var(--text-s);
  color: var(--text-muted);
}

:root .site-footer__col {
  grid-column: span 2;
}

:root .site-footer__col--first {
  grid-column: 6 / span 2;
}

:root .site-footer__col--wide {
  grid-column: span 3;
}

:root .footer-title {
  margin-bottom: 1.6rem;
}

:root .footer-list,
:root .footer-list.wp-block-post-template {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--text-s);
}

:root .footer-list a {
  text-decoration: none;
}

:root .footer-list a:hover {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--primary);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}

:root .footer-list .wp-block-post-title {
  font-family: var(--font-body);
  font-size: var(--text-s);
  font-weight: 400;
  font-stretch: normal;
  line-height: 1.6;
  letter-spacing: 0;
  color: inherit;
}

:root .footer-list .muted {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
}

:root .site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.2rem 2.4rem;
  margin-top: var(--space-2xl);
  padding-top: var(--space-s);
  border-top: 1px solid var(--base-l-4);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

:root .site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 2.4rem;
}

:root .site-footer__bottom a {
  text-decoration: none;
}

:root .site-footer__bottom a:hover {
  color: var(--base);
}

/* ---------- Kop van subpagina's ---------- */

:root .page-hero {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

:root .page-hero__grid {
  row-gap: var(--space-m);
  align-items: end;
}

:root .crumbs-nav {
  grid-column: 1 / -1;
}

:root .section--start {
  padding-top: var(--space-s);
}

:root .page-hero__intro > .wp-block-buttons {
  margin-top: var(--space-m);
}

:root .crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

:root .crumbs li + li::before {
  content: "/";
  margin-right: 0.8rem;
  color: var(--base-l-3);
}

:root .crumbs a {
  text-decoration: none;
}

:root .crumbs a:hover {
  color: var(--base);
}

:root .page-hero__title {
  grid-column: 1 / span 8;
}

:root .page-hero__title--xl {
  font-size: var(--text-5xl);
  font-stretch: 76%;
  line-height: 0.84;
  letter-spacing: -0.035em;
  hyphens: auto;
  overflow-wrap: break-word;
}

:root .page-hero__intro {
  grid-column: 9 / span 4;
  padding-bottom: 0.6rem;
}

:root .page-hero__intro .lead {
  margin-bottom: var(--space-m);
}

:root .page-hero--stacked .page-hero__title {
  grid-column: 1 / -1;
}

:root .page-hero--stacked .page-hero__intro {
  grid-column: 7 / span 6;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-m);
}

:root .page-hero--stacked .page-hero__intro .lead {
  max-width: 44ch;
  margin: 0;
}

:root .jump-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--space-s);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border-primary);
  counter-reset: dienst;
}

:root .jump-list > li {
  counter-increment: dienst;
  border-bottom: 1px solid var(--border-primary);
}

:root .jump-list .wp-block-post-title {
  font-family: var(--font-body);
  font-size: var(--text-s);
  font-weight: 500;
  font-stretch: normal;
  line-height: 1.4;
  letter-spacing: 0;
}

:root .jump-list .wp-block-post-title a {
  display: flex;
  gap: 1rem;
  padding-block: 0.9rem;
  text-decoration: none;
}

:root .jump-list .wp-block-post-title a::before {
  content: counter(dienst, decimal-leading-zero);
  padding-top: 0.2rem;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--primary-d-2);
}

/* ---------- Dienstenpagina: blokken per groep ---------- */

:root .diensten-archief {
  counter-reset: dienst;
}

:root .service-group + .service-group {
  margin-top: var(--space-xl);
}

:root .group-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-s);
  padding-top: var(--space-s);
  margin-bottom: var(--space-xl);
  border-top: 2px solid var(--base);
}

:root .group-head h2 {
  font-size: var(--text-2xl);
}

:root .group-head p {
  max-width: 44ch;
  font-size: var(--text-s);
  color: var(--text-muted);
}

:root .service-blocks {
  margin: 0;
  padding: 0;
  list-style: none;
}

:root .service-blocks > li {
  counter-increment: dienst;
}

:root .service-block {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  row-gap: var(--space-l);
  align-items: center;
  margin-bottom: var(--space-3xl);
}

:root .service-blocks > li:last-child .service-block {
  margin-bottom: var(--space-xl);
}

:root .service-block__media {
  grid-column: 1 / span 7;
  position: relative;
  padding-bottom: var(--space-xl);
}

:root .service-block__main {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--secondary);
}

:root .service-block__main img,
:root .service-block__sub img,
:root .service-visual__main img,
:root .service-visual__sub img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

:root .service-block__sub {
  position: absolute;
  right: calc(-1 * var(--space-l));
  bottom: 0;
  width: 36%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--secondary);
  border: 0.8rem solid var(--bg-body);
}

:root .service-block__body {
  grid-column: 9 / span 4;
}

:root .service-blocks > li:nth-child(even) .service-block__media {
  grid-column: 6 / span 7;
  order: 2;
}

:root .service-blocks > li:nth-child(even) .service-block__sub {
  right: auto;
  left: calc(-1 * var(--space-l));
}

:root .service-blocks > li:nth-child(even) .service-block__body {
  grid-column: 1 / span 4;
  order: 1;
}

:root .service-block__nr {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

:root .service-block__nr::before {
  content: counter(dienst, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--primary-d-2);
}

:root .service-block__nr p {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

:root .service-block__title {
  margin-block: var(--space-s);
  font-size: var(--text-3xl);
  font-weight: 760;
  font-stretch: 84%;
  line-height: 0.94;
}

:root .service-block__title a {
  text-decoration: none;
}

:root .service-block__body .lead {
  margin-bottom: var(--space-m);
}

:root .service-block__body .wp-block-buttons {
  align-items: center;
  gap: 1.4rem 2.4rem;
}

/* ---------- Eén dienst ---------- */

:root .service-visual {
  row-gap: 0;
  align-items: end;
}

:root .service-visual__main {
  grid-column: 4 / -1;
  grid-row: 1;
  margin: 0 calc(-1 * var(--bleed)) 0 0;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  background: var(--secondary);
}

:root .service-visual__sub {
  grid-column: 1 / span 4;
  grid-row: 1;
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  margin-bottom: calc(-1 * var(--space-2xl));
  overflow: hidden;
  background: var(--secondary);
  border: 0.8rem solid var(--bg-body);
  border-left: 0;
}

:root .service-visual--enkel .service-visual__main {
  grid-column: 1 / -1;
}

:root .service-content {
  align-items: start;
  padding-top: var(--space-3xl);
}

:root .service-content__main {
  grid-column: 1 / span 7;
}

:root .service-content__main > h2 {
  font-size: var(--text-2xl);
}

:root .service-content__main > * + h2 {
  margin-top: var(--space-2xl);
}

:root .service-content__main > h2 + * {
  margin-top: var(--space-m);
}

:root .service-content__aside {
  grid-column: 9 / span 4;
  position: sticky;
  top: 10.4rem;
}

:root .details {
  display: grid;
  gap: var(--space-l);
}

:root .detail {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: var(--space-m);
  padding-top: var(--space-s);
  border-top: 1px solid var(--border-primary);
}

:root .aside-box {
  padding: var(--space-m);
  background: var(--bg-surface);
  border: 1px solid var(--border-primary);
  border-top: 4px solid var(--primary);
}

:root .aside-box h2 {
  margin-bottom: var(--space-s);
  font-size: var(--text-xl);
}

:root .aside-row {
  padding-block: 1.2rem;
  border-top: 1px solid var(--border-primary);
}

:root .aside-row > p:first-child {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

:root .aside-row > p + p {
  margin-top: 0.4rem;
  font-weight: 500;
  color: var(--text-title);
}

:root .aside-box .wp-block-buttons {
  margin-top: var(--space-m);
}

:root .aside-box .wp-block-buttons > .wp-block-button {
  width: 100%;
}

:root .aside-box .wp-block-button__link {
  width: 100%;
  justify-content: space-between;
}

:root .aside-box__tel {
  margin-top: 1.6rem;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-align: center;
}

:root .aside-box__tel a {
  text-decoration: none;
}

/* Galerij in de inhoud */
:root .wp-block-gallery.has-nested-images figure.wp-block-image img {
  background: var(--secondary);
}

/* Artiesten: drie portretten op verschillende hoogtes */
:root .artists {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  row-gap: var(--space-xl);
  align-items: start;
}

:root .artists > * {
  grid-column: span 4;
}

:root .artists > :nth-child(3n + 2) {
  margin-top: var(--space-xl);
}

:root .artists > :nth-child(3n + 3) {
  margin-top: var(--space-2xl);
}

:root .ejs-prose .artists > * {
  grid-column: span 6;
}

:root .ejs-prose .artists > :nth-child(n) {
  margin-top: 0;
}

:root .ejs-prose .artists > :nth-child(even) {
  margin-top: var(--space-xl);
}

:root .wp-block-image.artist__media img,
:root .wp-block-post-featured-image.artist__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
  background: var(--secondary);
}

:root .artist__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.2rem;
  margin-top: 1.6rem;
}

:root .artist__name {
  font-size: var(--text-xl);
  font-weight: 720;
  font-stretch: 86%;
}

:root .artist__place {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

:root .artist__bio {
  margin-top: 1rem;
  font-size: var(--text-s);
  color: var(--text-muted);
}

/* Andere diensten */
:root .other-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--border-primary);
}

:root .other-list > li {
  border-top: 1px solid var(--border-primary);
}

:root .other-list .wp-block-post-title {
  font-size: var(--text-xl);
  font-weight: 700;
  font-stretch: 88%;
  line-height: 1.05;
}

:root .other-list .wp-block-post-title a {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  padding-block: 1.8rem;
  text-decoration: none;
}

:root .other-list .wp-block-post-title a::after {
  content: "→";
  font-family: var(--font-body);
  font-weight: 400;
}

:root .other-list .wp-block-post-title a:hover {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--primary);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.15em;
}

/* ---------- Eén project ---------- */

:root .project-layout {
  align-items: start;
  row-gap: var(--space-xl);
}

:root .project-layout__media {
  grid-column: 1 / span 8;
  grid-row: 1;
  overflow: hidden;
  background: var(--secondary);
}

:root .project-layout__media img {
  width: 100%;
  height: auto;
}

:root .is-formaat-flyer .project-layout__media,
:root .is-formaat-logo .project-layout__media {
  display: grid;
  place-items: center;
  padding: var(--space-l);
  background: var(--secondary-d-1);
}

:root .is-formaat-flyer .project-layout__media img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
}

:root .is-formaat-logo .project-layout__media {
  background: var(--bg-surface);
  box-shadow: inset 0 0 0 1px var(--border-primary);
}

:root .is-formaat-logo .project-layout__media img {
  max-width: 56rem;
}

:root .project-meta {
  grid-column: 10 / span 3;
  grid-row: 1 / span 2;
  position: sticky;
  top: 10.4rem;
  margin: 0;
  border-top: 2px solid var(--base);
}

:root .project-meta div {
  padding-block: 1.4rem;
  border-bottom: 1px solid var(--border-primary);
}

:root .project-meta dt {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

:root .project-meta dd {
  margin: 0.4rem 0 0;
  font-weight: 500;
  color: var(--text-title);
}

:root .project-meta dd a {
  text-decoration-color: var(--primary);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

:root .project-text {
  grid-column: 1 / span 7;
  grid-row: 2;
}

:root .project-text > p {
  font-size: var(--text-l);
  line-height: 1.55;
}

:root .project-video {
  grid-column: 1 / span 8;
}

:root .video-link {
  position: relative;
  display: block;
  margin-top: var(--space-s);
  overflow: hidden;
  background: var(--secondary);
  color: var(--base);
  text-decoration: none;
}

:root .video-link img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

:root .video-link--zonder-beeld {
  aspect-ratio: 16 / 9;
  background: var(--secondary-d-1);
}

:root .video-link__play {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: 1.6rem 2.4rem 1.6rem 1.6rem;
  background: var(--primary);
  font-size: var(--text-s);
  font-weight: 600;
}

:root .video-link__play::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 0.9rem solid transparent;
  border-bottom: 0.9rem solid transparent;
  border-left: 1.5rem solid currentColor;
}

:root .video-link:hover img {
  transform: scale(1.03);
}

:root .video-link:hover .video-link__play {
  background: var(--base);
  color: var(--white);
}

:root .next-project {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-m);
  align-items: end;
  padding-block: var(--space-l);
  border-top: 2px solid var(--base);
  border-bottom: 1px solid var(--border-primary);
  text-decoration: none;
}

:root .next-project:hover {
  color: inherit;
}

:root .next-project strong {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 780;
  font-stretch: 82%;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

:root .next-project:hover strong {
  text-decoration: underline;
  text-decoration-color: var(--primary);
  text-decoration-thickness: 4px;
  text-underline-offset: 0.1em;
}

:root .next-project__knop {
  padding: 1.5rem 2.4rem;
  box-shadow: inset 0 0 0 1.5px var(--base);
  font-size: var(--text-s);
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- Over ons ---------- */

:root .duo {
  align-items: start;
}

:root .wp-block-image.duo__a {
  grid-column: 1 / span 5;
}

/* Eén brede foto in plaats van twee */
:root .wp-block-image.duo__solo {
  grid-column: 3 / -1;
}

:root .wp-block-image.duo__solo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 50% 30%;
}

:root .wp-block-image.duo__b {
  grid-column: 7 / span 6;
  margin-top: var(--space-3xl);
}

:root .wp-block-image.duo__a img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

:root .wp-block-image.duo__b img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 30%;
}

:root .story {
  align-items: start;
}

:root .story__aside {
  grid-column: 1 / span 3;
  position: sticky;
  top: 11rem;
}

:root .story__body {
  grid-column: 5 / span 7;
}

:root .story__body > p {
  font-size: var(--text-l);
  line-height: 1.55;
}

:root .story__body > p + p {
  margin-top: 1em;
}

:root .story__body > .pull,
:root .ejs-prose > .pull {
  margin-block: var(--space-xl);
  padding-left: var(--space-m);
  border-left: 4px solid var(--primary);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 640;
  font-stretch: 90%;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--text-title);
}

:root .statements {
  border-bottom: 1px solid var(--border-primary);
}

:root .statement {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1.2fr) minmax(0, 1fr);
  gap: var(--space-m);
  align-items: baseline;
  padding-block: var(--space-m);
  border-top: 1px solid var(--border-primary);
}

:root .statement > p:first-child {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--primary-d-2);
}

:root .statement h3 {
  font-size: var(--text-2xl);
  font-weight: 740;
  font-stretch: 86%;
}

:root .statement > p:last-child {
  color: var(--text-muted);
}

:root .cause {
  align-items: center;
  row-gap: var(--space-l);
}

:root .wp-block-image.cause__logo {
  grid-column: 1 / span 4;
  padding: var(--space-m);
  background: var(--bg-surface);
  border: 1px solid var(--border-primary);
}

:root .cause__text {
  grid-column: 6 / span 6;
}

:root .cause__text h2 {
  margin-block: var(--space-s);
  font-size: var(--text-2xl);
}

:root .cause__text > p:not(.label) + p {
  margin-top: var(--space-s);
}

:root ul.credits {
  columns: 2;
  column-gap: var(--space-xl);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--text-s);
}

:root .credits li {
  break-inside: avoid;
  padding-block: 1rem;
  border-top: 1px solid var(--border-primary);
}

:root .credits a {
  text-decoration-color: var(--primary);
  text-underline-offset: 0.25em;
}

/* ---------- Gewone pagina (bijv. privacyverklaring) ---------- */

:root .page-text {
  max-width: 72rem;
  padding-bottom: var(--section-space);
}

/* ---------- Offerteformulier ---------- */

:root .contact-layout {
  align-items: start;
  row-gap: var(--space-xl);
}

:root .contact-layout__form {
  grid-column: 1 / span 7;
}

:root .contact-layout__aside {
  grid-column: 9 / span 4;
  position: sticky;
  top: 10.4rem;
}

:root .form {
  display: grid;
  gap: var(--space-xl);
}

:root .form fieldset {
  min-width: 0;
  margin: 0;
  padding: var(--space-s) 0 0;
  border: 0;
  border-top: 2px solid var(--base);
}

:root .form legend {
  float: left;
  width: 100%;
  display: flex;
  align-items: baseline;
  gap: 1.4rem;
  margin-bottom: var(--space-m);
  padding: 0;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  font-stretch: 88%;
  color: var(--text-title);
}

:root .form legend span {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--primary-d-2);
}

:root .form legend + * {
  clear: both;
}

:root .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-m) var(--space-s);
}

:root .form-grid .span-2 {
  grid-column: 1 / -1;
}

:root .field {
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

:root .field label {
  font-size: var(--text-s);
  font-weight: 600;
  color: var(--text-title);
}

:root .field__optional {
  font-weight: 400;
  color: var(--text-muted);
}

:root .field__hint {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

:root .field input,
:root .field select,
:root .field textarea {
  width: 100%;
  padding: 1.4rem 1.6rem;
  background: var(--bg-surface);
  border: 1.5px solid var(--base-l-4);
  border-radius: var(--radius-xs);
  font: inherit;
  font-size: var(--text-m);
  color: var(--base);
  transition: border-color 0.2s, box-shadow 0.2s;
}

:root .field select {
  appearance: none;
  padding-right: 4.4rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--base) 50%), linear-gradient(-45deg, transparent 50%, var(--base) 50%);
  background-position: calc(100% - 2.2rem) 50%, calc(100% - 1.6rem) 50%;
  background-size: 0.6rem 0.6rem;
  background-repeat: no-repeat;
}

:root .field textarea {
  min-height: 16rem;
  resize: vertical;
}

:root .field input:hover,
:root .field select:hover,
:root .field textarea:hover {
  border-color: var(--base-l-3);
}

:root .field input:focus,
:root .field select:focus,
:root .field textarea:focus {
  outline: none;
  border-color: var(--base);
  box-shadow: 0 0 0 3px var(--primary-l-3);
}

:root .field__error {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--fout);
}

:root .has-error input,
:root .has-error select,
:root .has-error textarea,
:root .has-error .choice span {
  border-color: var(--fout);
}

:root .form-melding {
  padding: 1.6rem 2rem;
  border-left: 4px solid var(--fout);
  background: var(--bg-surface);
  font-size: var(--text-s);
}

:root .choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

:root .choice {
  position: relative;
}

:root .choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

:root .choice span {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.6rem;
  background: var(--bg-surface);
  border: 1.5px solid var(--base-l-4);
  border-radius: var(--radius-xs);
  font-size: var(--text-s);
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

:root .choice span::before {
  content: "";
  flex: none;
  width: 1.2rem;
  height: 1.2rem;
  border: 1.5px solid currentColor;
}

:root .choice input[type="radio"] + span::before {
  border-radius: 50%;
}

:root .choice:hover span {
  border-color: var(--base);
}

:root .choice input:checked + span {
  background: var(--base);
  border-color: var(--base);
  color: var(--white);
}

:root .choice input:checked + span::before {
  background: var(--primary);
  border-color: var(--primary);
}

:root .choice input:focus-visible + span {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

:root .consent {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  font-size: var(--text-s);
}

:root .consent input {
  flex: none;
  width: 2rem;
  height: 2rem;
  margin: 0.2rem 0 0;
  accent-color: var(--base);
}

:root .consent a {
  text-decoration-color: var(--primary);
  text-underline-offset: 0.25em;
}

:root .ejs-honing {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

:root .form__submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.6rem 2.4rem;
  padding-top: var(--space-s);
  border-top: 1px solid var(--border-primary);
}

:root .form__submit p {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

:root .form-success {
  padding: var(--space-l);
  background: var(--bg-surface);
  border: 1px solid var(--border-primary);
  border-top: 4px solid var(--primary);
}

:root .form-success h2 {
  margin-block: var(--space-s) var(--space-m);
  font-size: var(--text-3xl);
}

:root .form-success dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.8rem 2.4rem;
  margin: var(--space-m) 0 0;
  padding-top: var(--space-s);
  border-top: 1px solid var(--border-primary);
  font-size: var(--text-s);
}

:root .form-success dt {
  padding-top: 0.2rem;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

:root .form-success dd {
  margin: 0;
}

:root .contact-card {
  border-top: 2px solid var(--base);
}

:root .contact-card__row {
  padding-block: 1.8rem;
  border-bottom: 1px solid var(--border-primary);
}

:root .contact-card__row .label {
  margin-bottom: 0.8rem;
}

:root .contact-card .contact-card__big {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 720;
  font-stretch: 88%;
  line-height: 1.1;
  color: var(--text-title);
}

:root .contact-card__big a {
  text-decoration: none;
}

:root .contact-card__row > p:last-child:not(.contact-card__big) {
  margin-top: 0.4rem;
  font-size: var(--text-s);
  color: var(--text-muted);
}

:root .wp-block-image.contact-person {
  margin-top: var(--space-l);
}

:root .wp-block-image.contact-person img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 25%;
}

/* ---------- Kleinere schermen ---------- */

@media (max-width: 1100px) {
  :root .site-header__tel {
    display: none;
  }

  :root .hero__title {
    grid-column: 1 / span 9;
  }

  :root .hero__intro {
    grid-column: 1 / span 8;
  }

  :root .services-home__head {
    grid-column: 1 / -1;
    position: static;
    margin-bottom: var(--space-l);
  }

  :root .services-home__list {
    grid-column: 1 / -1;
  }

  :root .feature__text {
    grid-column: 1 / span 6;
  }

  :root .feature__panel {
    grid-column: 2 / span 9;
  }

  :root .site-footer__brand {
    grid-column: 1 / -1;
  }

  :root .site-footer__col--first,
  :root .site-footer__col {
    grid-column: span 3;
  }

  :root .site-footer__col--wide {
    grid-column: span 6;
  }

  :root .project-layout__media,
  :root .project-text {
    grid-column: 1 / span 8;
  }

  :root .project-meta {
    grid-column: 9 / span 4;
  }
}

@media (max-width: 960px) {
  /* Menu naar de knop vanaf 960px in plaats van de standaard 600px */
  :root .site-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: flex !important;
  }

  :root .site-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    display: none !important;
  }

  :root .site-nav.wp-block-navigation {
    order: 3;
    margin-inline: 0;
  }

  :root .site-header__cta {
    order: 2;
    margin-left: auto;
  }

  :root .section-head__title,
  :root .section-head__aside,
  :root .page-hero__title,
  :root .page-hero__intro,
  :root .page-hero--stacked .page-hero__intro,
  :root .cta-band__title,
  :root .cta-band__body {
    grid-column: 1 / -1;
  }

  :root .page-hero__intro,
  :root .cta-band__body,
  :root .section-head__aside {
    max-width: 60rem;
  }

  :root .wp-block-image.intro__media {
    grid-column: 1 / span 5;
  }

  :root .intro__text {
    grid-column: 6 / -1;
    padding-top: 0;
  }

  :root .service-block__media,
  :root .service-blocks > li:nth-child(even) .service-block__media {
    grid-column: 1 / -1;
    order: 1;
    margin-right: var(--space-l);
    margin-left: 0;
  }

  :root .service-blocks > li:nth-child(even) .service-block__media {
    margin-right: 0;
    margin-left: var(--space-l);
  }

  :root .service-block__body,
  :root .service-blocks > li:nth-child(even) .service-block__body {
    grid-column: 1 / -1;
    order: 2;
    max-width: 64rem;
  }

  :root .service-content__main,
  :root .service-content__aside {
    grid-column: 1 / -1;
    position: static;
  }

  :root .service-content {
    row-gap: var(--space-2xl);
  }

  :root .project-layout__media,
  :root .project-text,
  :root .project-video,
  :root .project-meta {
    grid-column: 1 / -1;
    grid-row: auto;
    position: static;
  }

  :root .contact-layout__form,
  :root .contact-layout__aside {
    grid-column: 1 / -1;
    position: static;
  }

  :root .contact-layout__aside {
    order: -1;
  }

  :root .wp-block-image.contact-person {
    display: none;
  }

  :root .story__aside,
  :root .story__body {
    grid-column: 1 / -1;
    position: static;
  }

  :root .story__aside {
    margin-bottom: var(--space-m);
  }

  :root .wp-block-image.cause__logo {
    grid-column: 1 / span 6;
  }

  :root .cause__text {
    grid-column: 1 / -1;
  }
}

@media (max-width: 800px) {
  :root .eq {
    grid-template-columns: 1fr 1.25fr 2fr 0.7fr 1fr;
    height: clamp(28rem, 80vw, 44rem);
    margin-bottom: 4.4rem;
  }

  :root .wp-block-image.eq__bar figcaption.wp-element-caption {
    font-size: 0;
  }

  :root .wp-block-image.eq__bar figcaption strong {
    font-size: 1.1rem;
    margin: 0;
  }

  :root .eq__signal > p {
    display: none;
  }

  :root .eq__signal::after {
    inset: 0;
  }

  :root .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: var(--space-m);
  }

  :root .fact:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  :root .index-row {
    grid-template-columns: 3.2rem minmax(0, 1fr) 9.6rem;
    grid-template-areas:
      "nr titel beeld"
      "nr groep beeld"
      "nr tekst beeld";
    row-gap: 0.4rem;
  }

  :root .index-row::after {
    display: none;
  }

  :root .index-row__text {
    margin-top: 0.8rem;
  }

  :root .feature__text,
  :root .wp-block-image.feature__media,
  :root .feature__panel {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  :root .wp-block-image.feature__media {
    min-height: 0;
    aspect-ratio: 4 / 3;
    margin-top: var(--space-l);
  }

  :root .feature__panel {
    margin: calc(-1 * var(--space-xl)) var(--space-s) 0;
  }

  :root .work-grid > *,
  :root .portfolio > * {
    grid-column: 1 / -1 !important;
    margin-top: 0 !important;
  }

  :root .work-grid > :nth-child(even),
  :root .portfolio > :nth-child(even) {
    margin-left: 18% !important;
  }

  :root .quotes > * {
    grid-column: 1 / -1 !important;
  }

  :root .quotes > :nth-child(even) {
    margin-left: 12%;
  }

  :root .timeline {
    grid-template-columns: 1fr;
    row-gap: var(--space-l);
    border-top: 0;
    border-left: 2px solid var(--base);
  }

  :root .timeline__step {
    padding-top: 0;
    padding-left: var(--space-m);
  }

  :root .timeline__step:nth-child(n)::before {
    top: 0.2rem;
    left: -0.8rem;
    width: 1.4rem;
    height: 2.8rem;
  }

  :root .timeline__step h3 {
    margin-top: 0.8rem;
  }

  :root .site-footer__col--first,
  :root .site-footer__col,
  :root .site-footer__col--wide {
    grid-column: span 6;
  }

  :root .jump-list {
    grid-template-columns: 1fr;
  }

  :root .service-visual__main {
    grid-column: 1 / -1;
    aspect-ratio: 4 / 3;
  }

  :root .service-visual__sub {
    grid-column: 1 / span 6;
    grid-row: 2;
    margin-top: calc(-1 * var(--space-2xl));
    margin-bottom: 0;
  }

  :root .service-content {
    padding-top: var(--space-xl);
  }

  :root .detail {
    grid-template-columns: 1fr;
    gap: var(--space-xs);
  }

  :root .artists > *,
  :root .artists > :nth-child(n),
  :root .ejs-prose .artists > :nth-child(n) {
    grid-column: span 6;
    margin-top: 0;
  }

  :root .artists > :nth-child(even),
  :root .ejs-prose .artists > :nth-child(even) {
    margin-top: var(--space-xl);
  }

  :root .other-list {
    grid-template-columns: 1fr;
  }

  :root .wp-block-image.duo__a {
    grid-column: 1 / span 8;
  }

  :root .wp-block-image.duo__b {
    grid-column: 4 / -1;
    margin-top: var(--space-l);
  }

  :root .wp-block-image.duo__solo {
    grid-column: 1 / -1;
  }

  :root .statement {
    grid-template-columns: 3.2rem 1fr;
    row-gap: var(--space-xs);
  }

  :root .statement > p:last-child {
    grid-column: 2;
  }

  :root ul.credits {
    columns: 1;
  }

  :root .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 782px) {
  :root body.admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 600px) {
  :root body.admin-bar .site-header {
    top: 0;
  }
}

@media (max-width: 560px) {
  :root .hero__title {
    grid-column: 1 / -1;
    font-size: 15.5vw;
  }

  :root .hero__intro {
    grid-column: 1 / -1;
  }

  :root .site-logo svg {
    height: 3rem;
  }

  :root .site-header__inner {
    gap: 1.2rem;
  }

  :root .site-header .site-header__cta {
    display: none;
  }

  :root .site-nav.wp-block-navigation {
    margin-left: auto;
  }

  :root .wp-block-image.intro__media {
    grid-column: 1 / span 9;
    margin-bottom: var(--space-l);
  }

  :root .intro__text {
    grid-column: 1 / -1;
  }

  :root .artists > *,
  :root .artists > :nth-child(n),
  :root .ejs-prose .artists > :nth-child(n) {
    grid-column: 1 / -1;
    margin-top: 0;
  }

  :root .artists > :nth-child(even),
  :root .ejs-prose .artists > :nth-child(even) {
    margin-left: 16%;
  }

  :root .site-footer__col--first,
  :root .site-footer__col,
  :root .site-footer__col--wide {
    grid-column: 1 / -1;
  }

  :root .service-block__media,
  :root .service-blocks > li:nth-child(even) .service-block__media {
    margin-inline: 0;
  }

  :root .service-block__sub {
    right: 0;
    width: 40%;
  }

  :root .service-blocks > li:nth-child(even) .service-block__sub {
    left: 0;
  }

  :root .wp-block-image.cause__logo {
    grid-column: 1 / -1;
  }

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

  :root .form-success dl {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  :root .form-success dd {
    margin-bottom: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
