:root {
  --ink: #1b1615;
  --ink-soft: #211d1a;
  --brown: #4b3028;
  --brown-light: #704b3e;
  --paper: #f3eee5;
  --paper-soft: #ddd4c7;
  --copper: #bd754f;
  --line: rgba(243, 238, 229, .2);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: min(90rem, calc(100% - 3rem));
}
* { box-sizing: border-box; }
html { background: var(--ink); color: var(--paper); scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--ink); color: var(--paper); font-family: var(--sans); line-height: 1.65; letter-spacing: .01em; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .22em; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 5px; border-radius: .15rem; }
.skip-link { position: fixed; z-index: 100; top: .75rem; left: .75rem; padding: .7rem 1rem; background: var(--paper); color: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.section-shell { width: var(--shell); margin-inline: auto; }
.site-header { position: relative; z-index: 20; width: var(--shell); min-height: 4.5rem; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; width: 8rem; }
.brand img { filter: none; }
.site-footer img { filter: invert(95%) sepia(8%) saturate(282%); }
.primary-nav { display: flex; align-items: center; gap: clamp(1.3rem, 3vw, 3rem); font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.primary-nav a { text-decoration: none; padding: .7rem 0; }
.primary-nav a[aria-current="page"] { color: var(--copper); }
.language-switch { display: flex; gap: .25rem; margin-left: -.6rem; }
.language-switch a { display: grid; min-width: 44px; min-height: 44px; place-items: center; padding: .35rem .5rem; border: 1px solid transparent; border-radius: 999px; }
.language-switch a[aria-current="page"] { border-color: var(--line); color: var(--paper); }
.menu-toggle { display: none; border: 0; border-radius: 999px; background: transparent; color: var(--paper); font: inherit; font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; min-height: 44px; padding: .5rem .8rem; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: .98; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(3.1rem, 8vw, 5rem); }
h2 { font-size: clamp(2.35rem, 5vw, 5.7rem); }
h3 { font-size: clamp(1.6rem, 2.5vw, 2.5rem); }
p { margin: 0 0 1.25rem; }
.lead { font-size: clamp(1.08rem, 1.8vw, 1.45rem); max-width: 45rem; color: var(--paper-soft); }
.eyebrow { margin: 0 0 1.1rem; color: var(--copper); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; margin-top: 2rem; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .8rem 1.25rem; border-radius: 999px; background: var(--copper); color: var(--ink); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.button:hover { background: var(--paper); }
.button-light { background: var(--paper); }
.button-light:hover { background: var(--copper); }
.text-link { font-weight: 700; text-decoration-color: var(--copper); }
.hero { min-height: min(49rem, calc(100svh - 4.5rem)); display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(18rem, .98fr); align-items: center; gap: clamp(2rem, 6vw, 7rem); padding-block: clamp(3rem, 7vw, 7rem); }
.hero-copy h1 { max-width: 13ch; font-size: clamp(3rem, 5vw, 4.8rem); line-height: 1.03; }
.hero-copy .lead { position: relative; isolation: isolate; max-width: 38rem; margin-top: 1.8rem; }
.hero-copy .lead::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  right: -4rem;
  width: clamp(12rem, 22vw, 21rem);
  aspect-ratio: 980 / 735;
  background: var(--copper);
  opacity: .13;
  transform: translateY(-50%);
  -webkit-mask: url("/assets/nyanga-tak-rechts.svg") center / contain no-repeat;
  mask: url("/assets/nyanga-tak-rechts.svg") center / contain no-repeat;
  pointer-events: none;
}
.hero-visual { min-width: 0; margin: 0; }
.hero-media { height: clamp(32rem, 67vh, 48rem); overflow: hidden; border-radius: 14px; background: var(--brown); }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.hero-credit { margin: .45rem .1rem 0; color: #3e382f; font-size: .7rem; line-height: 1.35; text-align: right; }
.offers { padding-block: clamp(5rem, 10vw, 10rem); border-top: 1px solid var(--line); }
.offers, .page-hero, .contact-cta { position: relative; isolation: isolate; overflow: hidden; }
.offers > *, .page-hero > *, .contact-cta > * { position: relative; z-index: 1; }
.offers::before,
.page-hero::after,
.contact-cta::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: clamp(10rem, 19vw, 19rem);
  background: var(--copper);
  opacity: .13;
  pointer-events: none;
}
.offers::before {
  left: -3rem;
  bottom: -2rem;
  width: clamp(14rem, 23vw, 23rem);
  aspect-ratio: 780 / 745;
  -webkit-mask: url("/assets/nyanga-tak-links.svg") center / contain no-repeat;
  mask: url("/assets/nyanga-tak-links.svg") center / contain no-repeat;
}
.page-hero::after {
  right: -3rem;
  top: 1rem;
  width: clamp(17rem, 27vw, 28rem);
  aspect-ratio: 980 / 735;
  -webkit-mask: url("/assets/nyanga-tak-rechts.svg") center / contain no-repeat;
  mask: url("/assets/nyanga-tak-rechts.svg") center / contain no-repeat;
}
.contact-cta::before {
  right: 1rem;
  bottom: -3rem;
  width: clamp(8rem, 12vw, 13rem);
  aspect-ratio: 400 / 620;
  -webkit-mask: url("/assets/nyanga-bladertak.svg") center / contain no-repeat;
  mask: url("/assets/nyanga-bladertak.svg") center / contain no-repeat;
  pointer-events: none;
  opacity: .17;
}
.offers > h2 { max-width: 13ch; }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: clamp(3rem, 6vw, 6rem) 0 2.5rem; background: var(--line); }
.offer-grid article { min-height: 21rem; padding: clamp(1.6rem, 3vw, 3rem); background: var(--ink); }
.offer-media { height: 16rem; margin: calc(clamp(1.6rem, 3vw, 3rem) * -1) calc(clamp(1.6rem, 3vw, 3rem) * -1) 1.5rem; overflow: hidden; }
.offer-image { width: 100%; height: 100%; object-fit: cover; }
.offer-grid article > span { color: var(--copper); font-size: .75rem; }
.offer-grid h3 { margin: 5rem 0 1.5rem; }
.offer-grid p { color: var(--paper-soft); }
.featured { padding-block: clamp(5rem, 9vw, 9rem); background: var(--paper); color: var(--ink); width: 100%; }
.featured > * { width: var(--shell); margin-inline: auto; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 3rem; }
.project-grid { display: grid; gap: clamp(1.5rem, 3vw, 3rem); }
.project-grid-featured { grid-template-columns: 1.15fr .85fr 1fr; }
.project-grid-all { grid-template-columns: repeat(12, 1fr); }
.project-grid-all .project-card { grid-column: span 6; }
.project-grid-all .project-card:nth-child(3n) { grid-column: 3 / span 8; }
.project-card a { display: block; text-decoration: none; }
.project-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--brown); display: grid; place-items: center; }
.project-image { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card a:hover .project-image { transform: scale(1.025); }
.project-monogram { font-family: var(--serif); font-size: 5rem; color: var(--copper); }
.project-meta { padding: 1.25rem .2rem 2rem; }
.project-meta p { margin: 0 0 .45rem; color: var(--brown-light); font-size: .72rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.project-meta h3 { margin-bottom: .85rem; }
.intro { display: grid; grid-template-columns: minmax(16rem, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(3rem, 8vw, 9rem); padding-block: clamp(6rem, 11vw, 11rem); }
.intro-media { height: min(42rem, 68vw); overflow: hidden; }
.about-image { width: 100%; height: 100%; object-fit: cover; }
.intro-copy h2 { margin-bottom: 2rem; max-width: 10ch; }
.intro-copy p:not(.eyebrow) { max-width: 42rem; color: var(--paper-soft); }
.contact-cta { padding-block: clamp(5rem, 10vw, 10rem); text-align: center; background: var(--brown); width: 100%; }
.contact-cta > * { margin-inline: auto; }
.contact-cta .button { margin-top: 2.5rem; }
.page-hero { padding-block: clamp(5rem, 10vw, 10rem); }
body[data-page="projecten"] .page-hero h1 { font-size: clamp(3rem, 5vw, 5rem); line-height: 1.03; }
body[data-page="aanbod"] .page-hero h1 { font-size: clamp(3rem, 5vw, 5rem); line-height: 1.03; }
.page-hero .lead { margin-top: 2rem; }
body[data-page="projecten"] main > .section-shell:last-child { padding-bottom: 8rem; }
.back-link { display: inline-flex; margin-bottom: clamp(3rem, 6vw, 6rem); color: var(--paper-soft); }
.project-hero { padding-block: clamp(3rem, 7vw, 7rem); }
.project-hero h1 { overflow-wrap: anywhere; }
.project-hero .lead { margin-top: 2rem; }
.project-cover { max-height: 48rem; overflow: hidden; padding-bottom: clamp(3rem, 7vw, 7rem); }
.project-cover-image { width: 100%; max-height: 43rem; object-fit: cover; }
.project-body { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(3rem, 8vw, 9rem); padding-bottom: clamp(5rem, 10vw, 10rem); }
.project-copy { max-width: 47rem; font-size: clamp(1.04rem, 1.5vw, 1.28rem); }
.project-copy section { margin-top: 3rem; }
.project-copy h2 { font-size: 2rem; margin-bottom: 1rem; }
.project-details { margin: 3rem 0; }
.project-details div { padding: 1.25rem 0; border-top: 1px solid var(--line); }
.project-details dt { color: var(--copper); font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.project-details dd { margin: .35rem 0 0; }
.project-gallery { display: grid; gap: 1rem; }
.gallery-image { width: 100%; }
.project-video { display: block; width: 100%; height: auto; background: #000; }
.credit { margin-top: 2rem; color: var(--paper-soft); font-size: .82rem; }
.standard-content { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(18rem, .95fr); gap: clamp(3rem, 8vw, 9rem); padding-bottom: clamp(6rem, 11vw, 11rem); }
.prose { max-width: 49rem; font-size: clamp(1.05rem, 1.5vw, 1.27rem); }
.prose p { margin-bottom: 1.6rem; }
.standard-media img { width: 100%; }
.offer-list { grid-column: 1 / -1; overflow-x: clip; }
.offer-list article { display: grid; grid-template-columns: minmax(15rem, .8fr) minmax(18rem, 1.2fr); align-items: center; gap: clamp(2rem, 7vw, 8rem); padding: clamp(3rem, 7vw, 7rem) 0; border-top: 1px solid var(--line); }
.offer-list article:nth-child(even) .offer-detail-media { order: 2; }
.offer-detail-media { height: clamp(22rem, 45vw, 38rem); overflow: hidden; border-radius: 14px; }
.offer-detail-image { width: 100%; height: 100%; object-fit: cover; }
.offer-list h2 { font-size: clamp(2rem, 4vw, 4rem); margin-bottom: 1.5rem; }
.offer-list p:not(.eyebrow) { color: var(--paper-soft); max-width: 36rem; }
.motion-reveal { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity 720ms ease, transform 720ms cubic-bezier(.22, 1, .36, 1); transition-delay: var(--motion-delay, 0ms); }
.motion-reveal.offer-reveal-left { transform: translate3d(-70px, 0, 0); }
.motion-reveal.offer-reveal-right { transform: translate3d(70px, 0, 0); }
.motion-reveal.offer-reveal-copy { transform: translate3d(0, 28px, 0); }
.motion-reveal.motion-visible { opacity: 1; transform: translate3d(0, 0, 0); }
.motion-parallax { --parallax-y: 0px; --motion-scale: 1.045; transform: translate3d(0, var(--parallax-y), 0) scale(var(--motion-scale)); will-change: transform; }
.project-card a:hover .project-image.motion-parallax { --motion-scale: 1.07; }
.site-footer { width: var(--shell); margin-inline: auto; padding-block: 4rem 2rem; display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 2rem; align-items: start; border-top: 1px solid var(--line); font-size: .8rem; color: var(--paper-soft); }
.social-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1rem; }
.social-list a { width: 44px; height: 44px; display: grid; place-items: center; color: var(--paper); }
.social-list a:hover { color: var(--copper); }
.social-list .icon { width: 30px; height: 24px; fill: currentColor; }
.copyright { grid-column: 1 / -1; text-align: center; }
@media (max-width: 900px) {
  .project-grid-featured { grid-template-columns: 1fr 1fr; }
  .project-grid-featured .project-card:last-child { grid-column: 1 / -1; width: 60%; margin-inline: auto; }
  .offer-list article { gap: 3rem; }
}
@media (max-width: 760px) {
  :root { --shell: calc(100% - 2rem); }
  .site-header { min-height: 4.25rem; }
  .brand { width: 6.6rem; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 1rem; background: var(--paper); color: var(--ink); box-shadow: 0 1rem 3rem rgba(0,0,0,.25); }
  .menu-open .primary-nav { display: flex; }
  .primary-nav a { min-height: 48px; padding: .85rem .5rem; border-bottom: 1px solid rgba(20,18,16,.16); }
  .language-switch { margin: .5rem 0 0; }
  .language-switch a { color: var(--ink); border-bottom: 0; }
  .hero { min-height: 0; grid-template-columns: 1fr; padding-top: 3rem; }
  .hero-visual { grid-row: 1; }
  .hero-media { height: min(115vw, 34rem); border-radius: 14px; }
  .hero-copy h1 { font-size: clamp(2.7rem, 11.5vw, 3.6rem); }
  .hero-copy .lead::after { right: -1rem; width: clamp(10rem, 48vw, 15rem); opacity: .1; }
  body[data-page="projecten"] .page-hero h1 { font-size: clamp(2.6rem, 11vw, 3.5rem); }
  body[data-page="aanbod"] .page-hero h1 { font-size: clamp(2.6rem, 11vw, 3.5rem); }
  .offer-grid, .project-grid-featured, .intro, .project-body, .standard-content { grid-template-columns: 1fr; }
  .offer-grid article { min-height: 15rem; }
  .offer-grid h3 { margin-top: 3rem; }
  .section-heading { align-items: start; flex-direction: column; }
  .project-grid-featured .project-card:last-child { grid-column: auto; width: 100%; }
  .project-grid-all { grid-template-columns: 1fr; }
  .project-grid-all .project-card, .project-grid-all .project-card:nth-child(3n) { grid-column: auto; }
  .intro-media { height: 115vw; max-height: 38rem; }
  .project-body { gap: 2rem; }
  .project-gallery { grid-template-columns: 1fr 1fr; }
  .offer-list article { grid-template-columns: 1fr; gap: 2rem; }
  .offer-list article:nth-child(even) .offer-detail-media { order: 0; }
  .motion-reveal.offer-reveal-left { transform: translate3d(-30px, 0, 0); }
  .motion-reveal.offer-reveal-right { transform: translate3d(30px, 0, 0); }
  .site-footer { grid-template-columns: 1fr; }
  .copyright { text-align: center; }
  .offers::before,
  .page-hero::after,
  .contact-cta::before { width: clamp(8rem, 38vw, 12rem); opacity: .1; }
  .offers::before { left: -4rem; bottom: -1rem; }
  .page-hero::after { right: -4rem; top: 1rem; }
  .contact-cta::before { right: -2rem; bottom: -2.5rem; width: clamp(6rem, 26vw, 8rem); }
}
@media (max-width: 390px) {
  :root { --shell: calc(100% - 1.5rem); }
  h1 { font-size: clamp(2.75rem, 14vw, 4rem); }
  h2 { font-size: clamp(2.15rem, 11vw, 3.5rem); }
  .button-row { align-items: stretch; flex-direction: column; }
  .button-row .button { width: 100%; }
  .project-gallery { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .motion-reveal, .motion-reveal.motion-visible { opacity: 1 !important; transform: none !important; transition: none !important; }
  .motion-parallax { transform: none !important; }
}
