/* ============================================================================
   FourthBrand Studio — page sections
   ========================================================================== */

/* Every photo in this theme fills a fixed-size frame. */
.gw-cover { width: 100%; height: 100%; object-fit: cover; }

/* Attachment-backed images inherit the frame the same way. */
.gw-hero__image,
.gw-chero__image,
.gw-faq__image,
.gw-block__image,
.gw-slider__image,
.gw-insp__image,
.gw-gallery__image,
.gw-cats__image {
  max-width: none;
}

/* Shown in place of a photo that is not in the Media Library yet, occupying
   exactly the same box so the layout never collapses. */
.gw-media-missing {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 120px;
  background: repeating-linear-gradient(
    45deg,
    rgba(184, 150, 88, 0.07) 0 10px,
    rgba(184, 150, 88, 0.13) 10px 20px
  );
  border: 1px dashed var(--gw-gold-50);
  color: var(--gw-ink-50);
  text-align: center;
  padding: 12px;
}

.gw-media-missing__name {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  word-break: break-all;
}

/* ======================================================================== */
/* HOME — hero                                                              */
/* ======================================================================== */

.gw-hero { position: relative; background: var(--gw-cream); }

.gw-hero__grid {
  display: grid;
  grid-template-columns: 486px minmax(0, 1fr);
  gap: 40px;
  align-items: stretch;
  padding-left: max(var(--gw-gutter), calc((100% - var(--gw-container)) / 2 + var(--gw-gutter)));
}

.gw-hero__copy { padding: 74px 0 40px; max-width: 440px; }

.gw-hero__heading {
  font-size: 66px;
  line-height: 1.08;
  letter-spacing: -0.012em;
}

.gw-hero__rule { margin: 36px 0 32px; }

.gw-hero__body {
  font-size: 13.5px;
  line-height: 2.05;
  color: var(--gw-ink-68);
  max-width: 372px;
  text-wrap: pretty;
}

.gw-hero__cta { margin-top: 40px; }

.gw-hero__pills {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 96px;
  flex-wrap: wrap;
}

.gw-hero__pill {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gw-ink-50);
  white-space: nowrap;
}

.gw-hero__dot {
  width: 3px;
  height: 3px;
  background: var(--gw-gold-line);
  border-radius: 50%;
  flex: none;
}

.gw-hero__media { position: relative; min-height: 700px; }

.gw-hero__squiggle {
  position: absolute;
  left: -58px;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.gw-hero__image-wrap {
  position: absolute;
  inset: 0;
  clip-path: url(#gwWave);
  overflow: hidden;
}

.gw-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 46% center;
  transition: transform 1600ms var(--gw-ease-image);
}

.gw-hero__image-wrap:hover .gw-hero__image { transform: scale(1.05); }


.gw-hero__play {
  position: absolute;
  left: 148px;
  bottom: 62px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--gw-on-dark);
}

.gw-hero__play:hover { color: var(--gw-on-dark); }

.gw-hero__play-circle {
  position: relative;
  width: 54px;
  height: 54px;
  flex: none;
  border-radius: 50%;
  background: rgba(251, 247, 243, 0.94);
  display: grid;
  place-items: center;
  box-shadow: 0 14px 34px -12px rgba(20, 18, 16, 0.55);
  transition: transform 380ms var(--gw-ease-out), background 380ms ease;
}

.gw-hero__play:hover .gw-hero__play-circle { transform: scale(1.1); background: var(--gw-cream); }

.gw-hero__play-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(251, 247, 243, 0.8);
  animation: gwPulse 2600ms ease-out infinite;
}

.gw-hero__play-icon { margin-left: 3px; }

.gw-hero__play-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  text-shadow: 0 1px 14px rgba(20, 18, 16, 0.6);
}

@media (max-width: 1239px) {
  .gw-hero__grid { grid-template-columns: 420px minmax(0, 1fr); gap: 32px; }
  .gw-hero__heading { font-size: 56px; }
  .gw-hero__copy { padding-top: 60px; }
  .gw-hero__pills { margin-top: 64px; }
  .gw-hero__media { min-height: 620px; }
  .gw-hero__play { left: 110px; bottom: 48px; }
}

@media (max-width: 1023px) {
  .gw-hero__grid { grid-template-columns: 1fr; gap: 0; padding-left: 0; }
  .gw-hero__copy { max-width: none; padding: 56px var(--gw-gutter) 44px; }
  .gw-hero__body { max-width: 560px; }
  .gw-hero__heading { font-size: 48px; }
  .gw-hero__pills { margin-top: 40px; }
  .gw-hero__media { min-height: 0; height: 460px; }
  .gw-hero__squiggle { display: none; }
  .gw-hero__image-wrap { position: relative; inset: auto; height: 100%; }
  .gw-hero__play { left: var(--gw-gutter); bottom: 32px; }
}

@media (max-width: 767px) {
  .gw-hero__heading { font-size: 38px; }
  .gw-hero__copy { padding-block: 44px 36px; }
  .gw-hero__media { height: 340px; }
  .gw-hero__image-wrap { clip-path: none; }
  .gw-hero__play-label { font-size: 9px; letter-spacing: 0.16em; }
  .gw-hero__play-circle { width: 46px; height: 46px; }
}

@media (max-width: 479px) {
  .gw-hero__heading { font-size: 32px; }
  .gw-hero__pills { gap: 10px; }
}

/* ======================================================================== */
/* HOME — ons verschil                                                      */
/* ======================================================================== */

.gw-diff {
  position: relative;
  background: var(--gw-cream-alt);
  padding: 76px 0 88px;
  overflow: hidden;
}

.gw-diff__halo {
  position: absolute;
  left: -220px;
  top: -70px;
  width: 660px;
  height: 660px;
  border-radius: 50%;
  background: var(--gw-cream-halo);
  pointer-events: none;
}

.gw-diff__inner {
  position: relative;
  max-width: var(--gw-container);
  margin-inline: auto;
  padding-inline: var(--gw-gutter);
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}

.gw-diff__copy { padding-top: 8px; }
.gw-diff__eyebrow { margin-bottom: 30px; }
.gw-diff__heading { font-size: 44px; line-height: 1.14; }

.gw-diff__body {
  font-size: 13px;
  line-height: 2;
  color: var(--gw-ink-66);
  margin-top: 28px;
  text-wrap: pretty;
}

.gw-diff__link { margin-top: 34px; }

.gw-diff__panel {
  background: var(--gw-cream-card);
  border-radius: 46px 0 0 0;
  padding: 48px 0 44px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-right: min(calc(-1 * var(--gw-gutter)), calc((var(--gw-container) - 100vw) / 2 - var(--gw-gutter)));
}

.gw-diff__card {
  padding: 0 24px;
  text-align: center;
  transition: transform 420ms var(--gw-ease-out);
}

.gw-diff__card:hover { transform: translateY(-6px); }

.gw-diff__card:not(:nth-child(5n)):not(:last-child) {
  border-right: 1px solid rgba(30, 30, 30, 0.08);
}

.gw-diff__icon { margin-inline: auto; color: var(--gw-gold); }

.gw-diff__card-title {
  font-family: var(--gw-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 24px 0 14px;
}

.gw-diff__card-body { font-size: 11.5px; line-height: 2; color: var(--gw-ink-58); }

@media (max-width: 1239px) {
  .gw-diff__inner { grid-template-columns: 280px minmax(0, 1fr); gap: 40px; }
  .gw-diff__heading { font-size: 38px; }
  .gw-diff__card { padding-inline: 18px; }
}

@media (max-width: 1023px) {
  .gw-diff { padding: 60px 0 68px; }
  .gw-diff__inner { grid-template-columns: 1fr; gap: 40px; }
  .gw-diff__halo { left: -300px; width: 520px; height: 520px; }
  .gw-diff__panel {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 0;
    border-radius: 32px 0 0 0;
    padding: 40px 8px 36px;
    margin-inline: calc(var(--gw-gutter) * -1);
  }
  .gw-diff__card:not(:nth-child(5n)):not(:last-child) { border-right: 0; }
  .gw-diff__card:not(:nth-child(3n)):not(:last-child) {
    border-right: 1px solid rgba(30, 30, 30, 0.08);
  }
}

@media (max-width: 639px) {
  .gw-diff__panel { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
  .gw-diff__card:not(:nth-child(3n)):not(:last-child) { border-right: 0; }
  .gw-diff__card:not(:nth-child(2n)):not(:last-child) {
    border-right: 1px solid rgba(30, 30, 30, 0.08);
  }
  .gw-diff__heading { font-size: 32px; }
}

@media (max-width: 419px) {
  .gw-diff__panel { grid-template-columns: 1fr; gap: 0; }
  .gw-diff__card { padding: 26px 20px; }
  .gw-diff__card:not(:nth-child(2n)):not(:last-child) { border-right: 0; }
  .gw-diff__card:not(:last-child) { border-bottom: 1px solid rgba(30, 30, 30, 0.08); }
}

/* ======================================================================== */
/* HOME — process strip                                                     */
/* ======================================================================== */

.gw-steps { position: relative; background: var(--gw-cream); padding: 62px 0 86px; }

.gw-steps__tab {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--gw-cream);
  clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 100%, 0 100%);
  padding: 11px 34px 12px;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gw-ink);
  font-weight: 500;
  white-space: nowrap;
}

.gw-steps__heading { font-size: 46px; text-align: center; margin: 30px 0 64px; }
.gw-steps__row { display: flex; gap: 34px; }

.gw-steps__step {
  position: relative;
  flex: 1;
  border: 1px solid var(--gw-gold-30);
  border-bottom: none;
  border-radius: 30px 30px 0 0;
  padding: 0 24px 40px;
  text-align: center;
}

.gw-steps__icon-wrap {
  display: inline-flex;
  margin-top: -16px;
  background: var(--gw-cream);
  padding: 0 14px;
  color: var(--gw-gold);
}

.gw-steps__number { font-size: 24px; color: var(--gw-gold); margin: 14px 0 16px; }
.gw-steps__title { font-size: 12.5px; font-weight: 600; margin: 0 0 14px; }
.gw-steps__body { font-size: 11.5px; line-height: 2; color: var(--gw-ink-58); }

.gw-steps__connector,
.gw-steps__arrow { position: absolute; pointer-events: none; }

.gw-steps__connector {
  top: 0;
  left: 100%;
  width: 34px;
  height: 1px;
  background: var(--gw-gold-50);
}

.gw-steps__arrow {
  top: -3px;
  left: calc(100% + 27px);
  width: 0;
  height: 0;
  border-left: 7px solid rgba(184, 150, 88, 0.8);
  border-top: 3.5px solid transparent;
  border-bottom: 3.5px solid transparent;
}

@media (max-width: 1239px) {
  .gw-steps__heading { font-size: 40px; }
  .gw-steps__row { gap: 24px; }
  .gw-steps__connector { width: 24px; }
  .gw-steps__arrow { left: calc(100% + 17px); }
  .gw-steps__step { padding-inline: 16px; }
}

@media (max-width: 1023px) {
  .gw-steps { padding: 56px 0 66px; }
  .gw-steps__heading { font-size: 34px; margin-bottom: 48px; }
  .gw-steps__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .gw-steps__step { padding-inline: 20px; }
  .gw-steps__connector, .gw-steps__arrow { display: none; }
}

@media (max-width: 767px) {
  .gw-steps__row { grid-template-columns: repeat(2, 1fr); }
  .gw-steps__heading { font-size: 30px; }
  .gw-steps__tab { font-size: 9px; letter-spacing: 0.18em; padding-inline: 24px; }
}

@media (max-width: 479px) {
  .gw-steps__row { grid-template-columns: 1fr; gap: 30px; }
}

/* ======================================================================== */
/* HOME — interieur categories                                              */
/* ======================================================================== */

.gw-cats { background: var(--gw-cream-soft); padding: 78px 0 84px; }

.gw-cats__inner {
  max-width: var(--gw-container);
  margin-inline: auto;
  padding-inline: var(--gw-gutter);
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.gw-cats__eyebrow { margin-bottom: 30px; }
.gw-cats__heading { font-size: 42px; line-height: 1.18; }

.gw-cats__body {
  font-size: 13px;
  line-height: 2;
  color: var(--gw-ink-66);
  margin-top: 28px;
  text-wrap: pretty;
}

.gw-cats__link { margin-top: 34px; }
.gw-cats__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.gw-cats__card { display: block; color: inherit; }

.gw-cats__frame {
  position: relative;
  height: 430px;
  overflow: hidden;
  border-radius: 14px;
  transform: skewX(-6deg);
  box-shadow: 0 26px 50px -32px rgba(30, 30, 30, 0.55);
}

/* Skewing the frame by -6deg displaces its top and bottom edges sideways by
   (height / 2) * tan(6deg) — about 23px at the 430px desktop height. The
   counter-skewed image must overhang by at least that much on each side or the
   top and bottom corners are left uncovered. A percentage overhang does not
   work: 12% of a 144px card is only 17px, which is why the corners were clipped
   at rest and only looked right on hover, where scale(1.07) papered over it.
   A fixed 26px overhang clears the worst case at every breakpoint. */
.gw-cats__image {
  position: absolute;
  top: 0;
  left: -26px;
  width: calc(100% + 52px);
  height: 100%;
  object-fit: cover;
  transform: skewX(6deg) scale(1);
  transition: transform 1200ms var(--gw-ease-image);
}

.gw-cats__card:hover .gw-cats__image { transform: skewX(6deg) scale(1.07); }

.gw-cats__label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--gw-ink);
  margin-top: 26px;
  transition: color 260ms ease;
}

.gw-cats__card:hover .gw-cats__label { color: var(--gw-gold); }

@media (max-width: 1239px) {
  .gw-cats__inner { grid-template-columns: 280px minmax(0, 1fr); gap: 36px; }
  .gw-cats__heading { font-size: 36px; }
  .gw-cats__list { gap: 16px; }
  .gw-cats__frame { height: 360px; }
}

@media (max-width: 1023px) {
  .gw-cats { padding: 60px 0 66px; }
  .gw-cats__inner { grid-template-columns: 1fr; gap: 40px; }
  .gw-cats__list { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .gw-cats__frame { height: 300px; }
  .gw-cats__label { margin-top: 20px; }
}

@media (max-width: 767px) {
  .gw-cats__list { grid-template-columns: repeat(2, 1fr); }
  .gw-cats__heading { font-size: 30px; }
  /* the skew reads as a rendering bug once cards get this wide */
  .gw-cats__frame { transform: none; height: 240px; }
  .gw-cats__image { left: 0; width: 100%; transform: none; }
  .gw-cats__card:hover .gw-cats__image { transform: scale(1.05); }
}

/* If the frame heights above are ever changed, re-check the overhang:
   required = height / 2 * tan(6deg) ≈ height * 0.0526
     430px -> 22.6px    360px -> 18.9px    300px -> 15.8px   (26px covers all) */

@media (max-width: 419px) {
  .gw-cats__list { grid-template-columns: 1fr; }
  .gw-cats__frame { height: 220px; }
}

/* ======================================================================== */
/* HOME — uitgelicht werk (marquee)                                         */
/* ======================================================================== */

/* The section is made taller than the viewport by JS; the inner .gw-slider__pin
   sticks while you scroll through that extra height, and the track advances
   horizontally in step. When the track runs out, the page carries on.
   Without JS (or with reduced motion) it degrades to a normally scrollable
   horizontal strip — see the fallback block below. */
.gw-slider {
  position: relative;
  background: var(--gw-dark);
  color: var(--gw-on-dark);
}

.gw-slider__pin {
  padding: 82px 0 62px;
  overflow: hidden;
}

.gw-slider--pinned .gw-slider__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 0;
}

/* `width: 100%` is load-bearing here. Once the pin became a flex column, the
   `margin-inline: auto` on these children stopped stretching them — in flexbox
   an auto cross-axis margin cancels `align-items: stretch`, so they collapsed
   to content width and drifted out of line with every other section. */
.gw-slider__head {
  width: 100%;
  max-width: var(--gw-container);
  margin-inline: auto;
  padding-inline: var(--gw-gutter);
  display: flex;
  align-items: flex-end;
  gap: 40px;
}

.gw-slider__eyebrow-row { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }

.gw-slider__dash {
  width: 46px;
  height: 1px;
  background: var(--gw-gold);
  display: block;
  flex: none;
}

.gw-slider__eyebrow {
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gw-gold);
  font-weight: 500;
}

.gw-slider__heading { font-size: 54px; line-height: 1.08; color: var(--gw-on-dark); }
.gw-slider__head-link { margin-left: auto; flex: none; }

.gw-slider__viewport {
  margin-top: 44px;
  overflow: hidden;
}

/* Fallback: no pinning, so the strip scrolls horizontally by itself. */
.gw-slider--free .gw-slider__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.gw-slider--free .gw-slider__viewport::-webkit-scrollbar { display: none; }
.gw-slider--free .gw-slider__slide { scroll-snap-align: center; }

.gw-slider__track {
  display: flex;
  gap: 26px;
  padding-left: max(var(--gw-gutter), calc((100% - var(--gw-container)) / 2 + var(--gw-gutter)));
  padding-right: var(--gw-gutter);
  will-change: transform;
}

.gw-slider__slide { flex: none; width: 520px; }
.gw-slider__card { color: inherit; display: block; }
.gw-slider__card:hover { color: inherit; }

.gw-slider__frame {
  position: relative;
  height: 380px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--gw-dark-frame);
}

.gw-slider__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1400ms var(--gw-ease-image);
}

.gw-slider__card:hover .gw-slider__image { transform: scale(1.06); }
.gw-slider__caption { display: flex; align-items: baseline; gap: 20px; margin-top: 20px; }
.gw-slider__title { font-size: 25px; }

.gw-slider__meta {
  margin-left: auto;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gw-on-dark-48);
  white-space: nowrap;
}

.gw-slider__footer {
  width: 100%;
  max-width: var(--gw-container);
  margin: 46px auto 0;
  padding-inline: var(--gw-gutter);
  display: flex;
  align-items: center;
  gap: 24px;
}

.gw-slider__hint {
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gw-on-dark-45);
  flex: none;
}

.gw-slider__rail {
  flex: 1;
  height: 1px;
  background: var(--gw-on-dark-16);
  position: relative;
  overflow: hidden;
}

.gw-slider__progress {
  position: absolute;
  left: 0;
  top: -1px;
  height: 3px;
  width: 18%;
  background: var(--gw-gold);
  display: block;
}

@media (max-width: 1239px) {
  .gw-slider__heading { font-size: 44px; }
  .gw-slider__slide { width: 420px; }
  .gw-slider__frame { height: 320px; }
  .gw-slider__title { font-size: 22px; }
}

@media (max-width: 1023px) {
  .gw-slider { padding: 62px 0 52px; }
  .gw-slider__head { flex-direction: column; align-items: flex-start; gap: 22px; }
  .gw-slider__head-link { margin-left: 0; }
  .gw-slider__heading { font-size: 36px; }
  .gw-slider__slide { width: 340px; }
  .gw-slider__frame { height: 270px; }
}

@media (max-width: 767px) {
  .gw-slider__heading { font-size: 30px; }
  .gw-slider__track { gap: 16px; }
  .gw-slider__slide { width: 78vw; }
  .gw-slider__frame { height: 220px; }
  .gw-slider__title { font-size: 20px; }
  .gw-slider__caption { flex-direction: column; align-items: flex-start; gap: 6px; }
  .gw-slider__meta { margin-left: 0; }
  .gw-slider__hint { letter-spacing: 0.18em; }
}

/* ======================================================================== */
/* HOME — materialen                                                        */
/* ======================================================================== */

.gw-mats { position: relative; background: var(--gw-cream); padding: 84px 0 90px; overflow: hidden; }

.gw-mats__inner {
  position: relative;
  max-width: var(--gw-container);
  margin-inline: auto;
  padding-inline: var(--gw-gutter);
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}

.gw-mats__eyebrow {
  font-size: 9px;
  letter-spacing: 0.16em;
  white-space: nowrap;
  margin-bottom: 28px;
}

.gw-mats__heading { font-size: 42px; line-height: 1.18; }
.gw-mats__link { margin-top: 32px; }
.gw-mats__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }

.gw-mats__swatch {
  position: relative;
  width: 100%;
  height: 152px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 16px 32px -22px rgba(30, 30, 30, 0.55);
  transition: transform 520ms var(--gw-ease-out), box-shadow 520ms ease;
}

.gw-mats__swatch:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 26px 44px -22px rgba(30, 30, 30, 0.6);
}

.gw-mats__swatch--brass {
  background:
    repeating-linear-gradient(96deg, rgba(255, 255, 255, 0.07) 0 1px, rgba(0, 0, 0, 0.025) 1px 3px),
    linear-gradient(104deg, #b48f4c 0%, #d8bc85 34%, #c2a063 58%, #e0c79a 78%, #b0894a 100%);
}

.gw-mats__swatch--stone {
  background: radial-gradient(120% 90% at 30% 20%, #3a3733 0%, #24221f 55%, #191817 100%);
}

.gw-mats__caption {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gw-ink-50);
  margin-top: 18px;
}

@media (max-width: 1239px) {
  .gw-mats__inner { grid-template-columns: 320px minmax(0, 1fr); gap: 40px; }
  .gw-mats__heading { font-size: 36px; }
  .gw-mats__grid { gap: 16px; }
  .gw-mats__swatch { height: 128px; }
  .gw-mats__eyebrow { white-space: normal; }
}

@media (max-width: 1023px) {
  .gw-mats { padding: 62px 0 68px; }
  .gw-mats__inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 767px) {
  .gw-mats__grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .gw-mats__heading { font-size: 30px; }
  .gw-mats__swatch { height: 110px; }
  .gw-mats__caption { margin-top: 12px; }
}

@media (max-width: 419px) {
  .gw-mats__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ======================================================================== */
/* HOME — inspiratie bento                                                  */
/* ======================================================================== */

.gw-insp { background: var(--gw-cream-alt); padding: 80px 0 88px; }

.gw-insp__inner {
  max-width: var(--gw-container);
  margin-inline: auto;
  padding-inline: var(--gw-gutter);
  display: grid;
  grid-template-columns: 344px minmax(0, 1fr);
  gap: 52px;
  align-items: center;
}

.gw-insp__eyebrow {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  white-space: nowrap;
  line-height: 1.9;
  margin-bottom: 28px;
}

.gw-insp__heading { font-size: 36px; line-height: 1.22; }

.gw-insp__body {
  font-size: 12.5px;
  line-height: 2;
  color: var(--gw-ink-66);
  margin-top: 26px;
  text-wrap: pretty;
}

.gw-insp__link { margin-top: 30px; }

.gw-insp__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: 208px 152px;
  gap: 16px;
}

.gw-insp__tile { position: relative; overflow: hidden; border-radius: 3px; }
.gw-insp__tile--tall { grid-row: span 2; }
.gw-insp__tile--wide { grid-column: span 2; }

.gw-insp__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1200ms var(--gw-ease-image);
}

.gw-insp__tile:hover .gw-insp__image { transform: scale(1.07); }

@media (max-width: 1239px) {
  .gw-insp__inner { grid-template-columns: 300px minmax(0, 1fr); gap: 36px; }
  .gw-insp__heading { font-size: 32px; }
  .gw-insp__eyebrow { white-space: normal; }
  .gw-insp__grid { grid-template-rows: 180px 132px; }
}

@media (max-width: 1023px) {
  .gw-insp { padding: 62px 0 68px; }
  .gw-insp__inner { grid-template-columns: 1fr; gap: 36px; }
  .gw-insp__grid { grid-template-rows: 220px 160px; }
}

@media (max-width: 599px) {
  .gw-insp__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 170px 130px 130px;
    gap: 12px;
  }
  .gw-insp__tile--tall { grid-column: span 2; grid-row: span 1; }
  .gw-insp__heading { font-size: 28px; }
}

/* ======================================================================== */
/* WERK — gallery                                                           */
/* ======================================================================== */

.gw-gallery { padding: 36px 0 90px; }

.gw-gallery__divider {
  max-width: var(--gw-container);
  margin-inline: auto;
  padding-inline: var(--gw-gutter);
}

.gw-gallery__divider hr { border: 0; border-top: 1px solid var(--gw-rule); margin: 0; }

.gw-gallery__filters {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.gw-gallery__filter {
  background: none;
  border: 0;
  padding: 8px 0;
  cursor: pointer;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gw-ink);
  white-space: nowrap;
  transition: color 260ms ease, letter-spacing 260ms ease;
}

.gw-gallery__filter:hover { color: var(--gw-gold); letter-spacing: 0.22em; }

.gw-gallery__filter-bar {
  display: block;
  height: 1px;
  background: var(--gw-gold-line);
  margin-top: 9px;
  opacity: 0;
  transition: opacity 260ms ease;
}

.gw-gallery__filter[aria-selected="true"] .gw-gallery__filter-bar { opacity: 1; }

.gw-gallery__grid { display: grid; grid-template-columns: 1fr; gap: 16px; }

.gw-gallery__tile {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  height: 260px;
}

.gw-gallery__tile[hidden] { display: none; }

.gw-gallery__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1100ms var(--gw-ease-image);
}

.gw-gallery__tile:hover .gw-gallery__image { transform: scale(1.06); }

.gw-gallery__empty { text-align: center; padding: 60px 0 20px; }
.gw-gallery__empty[hidden] { display: none; }
.gw-gallery__empty p { font-size: 13px; color: var(--gw-ink-66); margin-bottom: 24px; }

@media (min-width: 600px) {
  .gw-gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .gw-gallery__tile { height: 280px; }
}

@media (min-width: 1024px) {
  /* the design's asymmetric mosaic, exactly as drawn */
  .gw-gallery__grid {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 336px 278px 292px 274px 306px;
  }
  .gw-gallery__tile { height: auto; }
  .gw-gallery__tile[data-span="4"] { grid-column: span 4; }
  .gw-gallery__tile[data-span="5"] { grid-column: span 5; }
  .gw-gallery__tile[data-span="7"] { grid-column: span 7; }
}

@media (max-width: 1023px) {
  .gw-gallery { padding-bottom: 66px; }
  .gw-gallery__filters { gap: 24px; margin-bottom: 34px; }
}

@media (max-width: 599px) {
  .gw-gallery__filters { gap: 16px 20px; justify-content: flex-start; }
  .gw-gallery__filter { font-size: 10px; letter-spacing: 0.14em; }
  .gw-gallery__filter:hover { letter-spacing: 0.16em; }
}

/* ======================================================================== */
/* WERKWIJZE — alternating blocks                                           */
/* ======================================================================== */

.gw-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 540px;
  align-items: stretch;
}

.gw-block--light { background: var(--gw-cream); }
.gw-block--alt { background: var(--gw-cream-alt); }
.gw-block__media { position: relative; overflow: hidden; }

.gw-block__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1400ms var(--gw-ease-image);
}

.gw-block__media:hover .gw-block__image { transform: scale(1.04); }

/* the big quarter-round mirrors with the photo's side */
.gw-block__image--left { border-radius: 0 0 240px 0; }
.gw-block__image--right { border-radius: 240px 0 0 0; }

.gw-block__copy { display: flex; flex-direction: column; justify-content: center; }
.gw-block__copy--right { padding: 44px 96px 44px 78px; }
.gw-block__copy--left { padding: 44px 78px 44px 96px; }
.gw-block__number-row { display: flex; align-items: center; gap: 16px; }

.gw-block__number {
  font-size: 30px;
  color: var(--gw-gold);
  font-feature-settings: "lnum";
}

.gw-block__dash { width: 34px; height: 1px; background: var(--gw-gold-line); flex: none; }
.gw-block__title { font-size: 34px; line-height: 1.24; margin: 22px 0 24px; }

.gw-block__para {
  font-size: 12.5px;
  line-height: 2.05;
  color: var(--gw-ink-66);
  max-width: 400px;
  text-wrap: pretty;
}

.gw-block__para + .gw-block__para { margin-top: 18px; }

@media (max-width: 1239px) {
  .gw-block { grid-template-rows: 460px; }
  .gw-block__copy--right { padding: 36px 48px 36px 44px; }
  .gw-block__copy--left { padding: 36px 44px 36px 48px; }
  .gw-block__title { font-size: 30px; }
  .gw-block__image--left { border-radius: 0 0 180px 0; }
  .gw-block__image--right { border-radius: 180px 0 0 0; }
}

@media (max-width: 899px) {
  /* stack, photo always first so the rhythm stays readable */
  .gw-block { grid-template-columns: 1fr; grid-template-rows: 320px auto; }
  .gw-block__media { grid-row: 1; }
  .gw-block__copy { grid-row: 2; }
  .gw-block__copy--right,
  .gw-block__copy--left { padding: 36px var(--gw-gutter) 48px; }
  .gw-block__para { max-width: 620px; }
  .gw-block__image--left,
  .gw-block__image--right { border-radius: 0 0 120px 0; }
}

@media (max-width: 599px) {
  .gw-block { grid-template-rows: 240px auto; }
  .gw-block__title { font-size: 26px; margin-top: 18px; }
  .gw-block__number { font-size: 26px; }
  .gw-block__image--left,
  .gw-block__image--right { border-radius: 0 0 80px 0; }
}

/* ======================================================================== */
/* CONTACT — hero                                                           */
/* ======================================================================== */

.gw-chero { position: relative; background: var(--gw-cream); }

.gw-chero__grid {
  display: grid;
  grid-template-columns: 510px minmax(0, 1fr);
  align-items: start;
  padding-left: max(var(--gw-gutter), calc((100% - var(--gw-container)) / 2 + var(--gw-gutter)));
}

.gw-chero__copy { padding: 74px 40px 84px 0; }

.gw-chero__eyebrow {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gw-ink-55);
}

.gw-chero__heading { font-size: 54px; line-height: 1.12; margin-top: 24px; }

.gw-chero__body {
  font-size: 13px;
  line-height: 2.05;
  color: var(--gw-ink-66);
  margin: 28px 0 40px;
  max-width: 350px;
  text-wrap: pretty;
}

.gw-chero__details { display: flex; flex-direction: column; gap: 22px; }
.gw-chero__detail { display: flex; align-items: center; gap: 18px; color: var(--gw-ink); }
a.gw-chero__detail:hover { color: var(--gw-gold-line); }

.gw-chero__detail-icon {
  flex: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--gw-gold-50);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gw-gold-line);
}

.gw-chero__detail-text { font-size: 13px; line-height: 1.7; }
.gw-chero__media { position: relative; }

.gw-chero__squiggle {
  position: absolute;
  left: -58px;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 1;
}

.gw-chero__image-wrap {
  position: relative;
  height: 620px;
  clip-path: url(#gwWave);
  overflow: hidden;
}

.gw-chero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 46% center;
  transition: transform 1400ms var(--gw-ease-image);
}

.gw-chero__image-wrap:hover .gw-chero__image { transform: scale(1.04); }

@media (max-width: 1239px) {
  .gw-chero__grid { grid-template-columns: 430px minmax(0, 1fr); }
  .gw-chero__heading { font-size: 44px; }
  .gw-chero__copy { padding-bottom: 64px; }
  .gw-chero__image-wrap { height: 540px; }
}

@media (max-width: 1023px) {
  .gw-chero__grid { grid-template-columns: 1fr; padding-left: 0; }
  .gw-chero__copy { padding: 56px var(--gw-gutter) 44px; }
  .gw-chero__body { max-width: 560px; }
  .gw-chero__heading { font-size: 38px; }
  .gw-chero__squiggle { display: none; }
  .gw-chero__image-wrap { height: 400px; }
}

@media (max-width: 767px) {
  .gw-chero__heading { font-size: 32px; }
  .gw-chero__image-wrap { height: 300px; clip-path: none; }
}

@media (max-width: 479px) {
  .gw-chero__heading { font-size: 28px; }
  .gw-chero__detail-text { font-size: 12.5px; }
}

/* ======================================================================== */
/* CONTACT — form + info cards                                              */
/* ======================================================================== */

.gw-cform { background: var(--gw-cream-alt); padding: 70px 0 74px; }

.gw-cform__inner {
  max-width: var(--gw-container);
  margin-inline: auto;
  padding-inline: var(--gw-gutter);
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 34px;
  align-items: start;
}

.gw-cform__form {
  background: var(--gw-surface-card);
  border: 1px solid var(--gw-rule-faint);
  border-radius: 12px;
  padding: 38px 40px 34px;
}

.gw-cform__heading { font-size: 27px; margin-bottom: 26px; }
.gw-cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gw-cform__field { display: block; }
.gw-cform__field--stacked { margin-top: 12px; }

.gw-cform__input,
.gw-cform__select,
.gw-cform__textarea {
  width: 100%;
  border: 1px solid var(--gw-field-border);
  background: transparent;
  border-radius: 4px;
  padding: 14px 16px;
  font-size: 12.5px;
  color: var(--gw-ink);
  transition: border-color 300ms ease, background 300ms ease;
}

.gw-cform__input:hover,
.gw-cform__select:hover,
.gw-cform__textarea:hover { border-color: var(--gw-gold-50); }

.gw-cform__input:focus,
.gw-cform__select:focus,
.gw-cform__textarea:focus {
  border-color: var(--gw-gold-line);
  background: rgba(255, 255, 255, 0.5);
}

.gw-cform__select {
  color: var(--gw-ink-66);
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gw-gold-line) 50%),
    linear-gradient(135deg, var(--gw-gold-line) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 15px) calc(50% + 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.gw-cform__textarea { resize: vertical; min-height: 132px; }
.gw-cform__input.is-invalid,
.gw-cform__textarea.is-invalid { border-color: var(--gw-error); }

.gw-cform__error {
  display: block;
  font-size: 11px;
  color: var(--gw-error);
  margin-top: 6px;
}

.gw-cform__error[hidden] { display: none; }
.gw-cform__submit { margin-top: 24px; border-radius: 3px; padding: 16px 26px; }
.gw-cform__submit[disabled] { opacity: 0.6; cursor: progress; }
.gw-cform__hint { font-size: 11px; color: var(--gw-ink-50); margin-top: 18px; }
.gw-cform__success { font-size: 11.5px; color: var(--gw-success); margin-top: 18px; }
.gw-cform__failure { font-size: 11.5px; color: var(--gw-error); margin-top: 18px; }
.gw-cform__honeypot { position: absolute; left: -9999px; opacity: 0; }

.gw-ccards { display: flex; flex-direction: column; gap: 18px; }

.gw-ccards__card {
  background: var(--gw-surface-card);
  border: 1px solid var(--gw-rule-faint);
  border-radius: 12px;
  padding: 30px 34px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: start;
  transition: transform 460ms var(--gw-ease-out), box-shadow 460ms ease, border-color 460ms ease;
}

.gw-ccards__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px -30px rgba(30, 30, 30, 0.5);
  border-color: rgba(184, 150, 88, 0.45);
}

.gw-ccards__icon { color: var(--gw-gold-line); }
.gw-ccards__title { font-size: 22px; margin-bottom: 10px; }
.gw-ccards__body { font-size: 12px; line-height: 1.95; color: var(--gw-ink-64); }
.gw-ccards__link { margin-top: 16px; font-weight: 600; }

@media (max-width: 1023px) {
  .gw-cform { padding: 56px 0 60px; }
  .gw-cform__inner { grid-template-columns: 1fr; gap: 24px; }
  .gw-cform__form { padding: 32px 28px 30px; }
}

@media (max-width: 599px) {
  .gw-cform__row { grid-template-columns: 1fr; }
  .gw-cform__row .gw-cform__field + .gw-cform__field { margin-top: 12px; }
  .gw-cform__form { padding: 26px 20px 24px; }
  .gw-cform__heading { font-size: 24px; }
  .gw-ccards__card { padding: 24px 22px; gap: 16px; }
  .gw-ccards__title { font-size: 20px; }
}

/* ======================================================================== */
/* CONTACT — FAQ                                                            */
/* ======================================================================== */

.gw-faq {
  background: var(--gw-cream);
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: stretch;
  min-height: 700px;
}

.gw-faq__media { position: relative; align-self: stretch; overflow: hidden; }

.gw-faq__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.gw-faq__body { padding: 62px var(--gw-gutter) 40px 76px; max-width: 900px; overflow: hidden; }

.gw-faq__eyebrow {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gw-ink-55);
}

.gw-faq__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 30px;
  margin: 18px 0 34px;
}

.gw-faq__heading { font-size: 34px; }
.gw-faq__head-link { font-weight: 600; white-space: nowrap; }
.gw-faq__list { border-top: 1px solid rgba(30, 30, 30, 0.1); }
.gw-faq__item { border-bottom: 1px solid rgba(30, 30, 30, 0.1); }

/* semantic heading only — the button carries the styling */
.gw-faq__item h3 { margin: 0; font-size: inherit; font-weight: inherit; }

.gw-faq__trigger {
  width: 100%;
  background: none;
  border: 0;
  font-weight: 400;
  padding: 20px 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  text-align: left;
  font-size: 13px;
  color: var(--gw-ink);
  transition: color 260ms ease, padding-left 300ms ease;
}

.gw-faq__trigger:hover { color: var(--gw-gold-line); padding-left: 8px; }

.gw-faq__sign {
  font-size: 17px;
  color: var(--gw-gold-line);
  flex: none;
  line-height: 1;
}

.gw-faq__answer {
  font-size: 12.5px;
  line-height: 2;
  color: var(--gw-ink-64);
  margin: 0 0 24px;
  max-width: 620px;
}

.gw-faq__answer[hidden] { display: none; }

@media (max-width: 1239px) {
  .gw-faq { grid-template-columns: 240px 1fr; min-height: 640px; }
  .gw-faq__body { padding-left: 48px; }
  .gw-faq__heading { font-size: 30px; }
}

@media (max-width: 899px) {
  .gw-faq { grid-template-columns: 1fr; min-height: 0; }
  .gw-faq__media { height: 240px; }
  .gw-faq__image { object-position: center 55%; }
  .gw-faq__body { padding: 48px var(--gw-gutter) 44px; max-width: none; }
}

@media (max-width: 599px) {
  .gw-faq__head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .gw-faq__heading { font-size: 26px; }
  .gw-faq__trigger { font-size: 12.5px; gap: 14px; }
}

/* ======================================================================== */
/* 404 + generic page/post content                                          */
/* ======================================================================== */

.gw-generic { background: var(--gw-cream); padding: 96px 0 110px; }
.gw-generic__heading { font-size: 46px; line-height: 1.14; }

.gw-generic__body {
  font-size: 13px;
  line-height: 2.05;
  color: var(--gw-ink-66);
  margin: 26px 0 40px;
  max-width: 620px;
  text-wrap: pretty;
}

.gw-generic--center { text-align: center; }
.gw-generic--center .gw-generic__body { margin-inline: auto; max-width: 420px; }

.gw-prose { font-size: 13.5px; line-height: 2.05; color: var(--gw-ink-68); max-width: 720px; }
.gw-prose > * + * { margin-top: 20px; }
.gw-prose h2 { font-family: var(--gw-serif); font-size: 32px; line-height: 1.2; margin-top: 40px; }
.gw-prose h3 { font-family: var(--gw-serif); font-size: 24px; line-height: 1.25; margin-top: 32px; }
.gw-prose ul, .gw-prose ol { padding-left: 20px; list-style: revert; }
.gw-prose li + li { margin-top: 8px; }
.gw-prose img { border-radius: 3px; }
.gw-prose a { text-decoration: underline; }

@media (max-width: 767px) {
  .gw-generic { padding: 64px 0 72px; }
  .gw-generic__heading { font-size: 32px; }
  .gw-prose h2 { font-size: 26px; }
  .gw-prose h3 { font-size: 21px; }
}
