:root {
  --green: #2D4630;
  --green-deep: #1F3322;
  --sage: #7D9171;
  --sage-soft: #DCE3D3;
  --paper: #FCFBF6;
  --sand: #F3EEDF;
  --ink: #1F2A20;
  --muted: #55624F;
  --terra: #B5694A;
  --line: rgba(45, 70, 48, .16);
  --radius: 14px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font: 400 1.0625rem/1.65 var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; color: var(--green); letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; color: var(--sage); }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; border-radius: 4px; }

.eyebrow { font: 500 .78rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--sage); margin-bottom: 1.1rem; }
.eyebrow.light { color: #B5C4A9; }

/* buttons */
.btn { display: inline-block; background: var(--green); color: #fff; text-decoration: none; font-weight: 600; padding: .95em 1.7em; border-radius: 999px; border: 0; cursor: pointer; font-size: 1rem; font-family: var(--sans); transition: transform .2s, background .2s, box-shadow .2s; }
.btn:hover { background: var(--green-deep); transform: translateY(-2px); box-shadow: 0 8px 20px -8px rgba(31, 51, 34, .5); }
.btn-small { padding: .6em 1.2em; font-size: .95rem; }
.btn-light { background: var(--paper); color: var(--green); }
.btn-light:hover { background: #fff; }
.link-arrow { font-weight: 600; color: var(--green); text-decoration: none; border-bottom: 1.5px solid var(--sage); padding-bottom: 2px; }
.link-arrow span { display: inline-block; transition: transform .2s; }
.link-arrow:hover span { transform: translateX(4px); }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(252, 251, 246, .92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(31, 51, 34, .5); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .98rem; color: var(--green); position: relative; padding: 6px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--sage); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--green); transition: transform .25s, top .25s; }
.menu-btn span:first-child { top: 18px; }
.menu-btn span:last-child { top: 26px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* hero */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 110px); background: radial-gradient(1200px 600px at 85% 20%, #EEF1E4 0%, transparent 70%), var(--paper); }
.hero-mark { position: absolute; width: min(900px, 90vw); right: -12%; bottom: -14%; opacity: .045; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); font-variation-settings: "opsz" 144; margin-bottom: 1.4rem; }
.lead { font-size: 1.22rem; color: var(--muted); max-width: 34em; margin-bottom: 2rem; }
.hero-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 28px; margin-bottom: 2.4rem; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; color: var(--muted); font-size: .98rem; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 16px; height: 9px; border-left: 2px solid var(--sage); border-bottom: 2px solid var(--sage); transform: rotate(-45deg) scale(.8); }

.collage { position: relative; aspect-ratio: 1 / 1.02; }
.card { position: absolute; margin: 0; background: #FFFDF7; padding: 7px; border-radius: 8px; box-shadow: 0 1px 2px rgba(31, 51, 34, .15), 0 18px 40px -16px rgba(31, 51, 34, .45); animation: float 9s ease-in-out infinite; transition: scale .35s, box-shadow .35s; }
.card img { border-radius: 4px; width: 100%; }
.card:hover { scale: 1.04; z-index: 9; box-shadow: 0 1px 2px rgba(31, 51, 34, .15), 0 28px 50px -16px rgba(31, 51, 34, .55); }
.c1 { width: 55%; left: 0; top: 17%; rotate: -5deg; z-index: 3; }
.c2 { width: 53%; left: 30%; top: 0; rotate: 3deg; z-index: 1; animation-delay: -3s; }
.c3 { width: 56%; left: 42%; top: 38%; rotate: 5deg; z-index: 4; animation-delay: -5s; }
.c4 { width: 44%; left: 3%; top: 62%; rotate: -3deg; z-index: 2; animation-delay: -7s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* sections */
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section.tint { background: var(--sand); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); margin-bottom: 1rem; }
.section-head p:last-child { color: var(--muted); font-size: 1.12rem; margin-bottom: 0; }

/* principes */
.band { background: var(--green); color: #E8EDE1; padding: clamp(56px, 8vw, 100px) 0; position: relative; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); }
.principles article { border-top: 1px solid rgba(255, 255, 255, .22); padding-top: 22px; }
.principles h2 { color: #fff; font-size: 1.6rem; margin: .5rem 0 .8rem; }
.principles p { color: #C9D4BF; margin: 0; }
.num { font: italic 300 1.1rem var(--serif); color: #B5C4A9; }

/* diensten */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 30px; transition: transform .3s, box-shadow .3s, border-color .3s; }
.service:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -26px rgba(31, 51, 34, .5); border-color: var(--sage); }
.service svg { width: 52px; height: 52px; margin-bottom: 22px; fill: none; stroke: var(--sage); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service svg .fill { fill: var(--sage-soft); }
.service h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.service p { color: var(--muted); font-size: 1rem; margin: 0; }

/* werkwijze */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.plan-fig { margin: 0; position: sticky; top: 108px; background: #FFFDF7; padding: 10px; border-radius: 10px; box-shadow: 0 24px 50px -24px rgba(31, 51, 34, .5); rotate: 1.2deg; }
.plan-fig figcaption { font-size: .95rem; color: var(--muted); padding: 14px 8px 6px; line-height: 1.5; }
.plan-fig strong { color: var(--green); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 20px; }
.step-n { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--sage); display: grid; place-items: center; font: italic 400 1.4rem var(--serif); color: var(--green); background: var(--paper); }
.steps h3 { font-size: 1.4rem; margin: 6px 0 .4rem; }
.steps p { color: var(--muted); margin: 0; }

/* ontwerpen */
.project { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-bottom: clamp(56px, 8vw, 104px); }
.project:last-child { margin-bottom: 0; }
.project.rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.project.rev .proj-img { order: 2; }
.proj-img { position: relative; border: 0; padding: 10px; background: #FFFDF7; border-radius: 10px; box-shadow: 0 24px 50px -24px rgba(31, 51, 34, .55); cursor: zoom-in; rotate: -1deg; transition: transform .4s; }
.project.rev .proj-img { rotate: 1deg; }
.proj-img:hover { transform: translateY(-6px) scale(1.01); }
.proj-img img { border-radius: 5px; width: 100%; }
.zoom { position: absolute; right: 18px; bottom: 18px; background: rgba(31, 51, 34, .85); color: #fff; font: 500 .8rem var(--sans); padding: .35em .9em; border-radius: 99px; opacity: 0; transition: opacity .25s; }
.proj-img:hover .zoom, .proj-img:focus-visible .zoom { opacity: 1; }
.proj-tag { font: 500 .78rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; }
.proj-tag span { background: var(--sage-soft); color: var(--green); padding: .3em .8em; border-radius: 99px; margin-right: 10px; letter-spacing: .1em; }
.proj-text h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: .8rem; }
.proj-text > p { color: var(--muted); }
.proj-text dl { margin: 1.4rem 0; display: grid; gap: .2rem; }
.proj-text dt { font: 600 .8rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--sage); margin-top: .8rem; }
.proj-text dd { margin: 0; color: var(--ink); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font: italic 400 .92rem var(--serif); color: var(--green); border: 1px solid var(--line); background: #fff; padding: .3em .85em; border-radius: 99px; }

/* bloei */
.bloom { --label: 250px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 36px); }
.bl-head, .bl-row { display: grid; grid-template-columns: var(--label) repeat(12, 1fr); align-items: center; }
.bl-head { font: 500 .78rem var(--sans); letter-spacing: .08em; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.bl-head span { text-align: center; }
.bl-row { padding: 9px 0; border-bottom: 1px dashed rgba(45, 70, 48, .1); position: relative; }
.bl-row:last-of-type { border-bottom: 0; }
.bl-name { padding-right: 14px; line-height: 1.25; }
.bl-name b { display: block; font: italic 400 1.02rem var(--serif); color: var(--green); }
.bl-name small { color: var(--muted); font-size: .84rem; }
.bl-bar { height: 16px; border-radius: 99px; background: var(--c); grid-row: 1; transform-origin: left; transform: scaleX(0); transition: transform 1s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.bl-bar.struct { background: repeating-linear-gradient(135deg, var(--c) 0 3px, transparent 3px 7px); opacity: .55; border: 1px solid var(--c); height: 12px; background-color: transparent; }
.bloom.in .bl-bar { transform: scaleX(1); }
.bl-legend { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 16px; font-size: .88rem; color: var(--muted); }
.bl-legend i { display: inline-block; vertical-align: middle; width: 30px; height: 12px; border-radius: 99px; background: var(--sage); margin-right: 8px; }
.bl-legend i.s { background: repeating-linear-gradient(135deg, var(--sage) 0 3px, transparent 3px 7px); border: 1px solid var(--sage); }
.note { color: var(--muted); font-size: .88rem; margin-top: 12px; }

/* atelier */
.atelier { background: var(--paper); overflow: hidden; }
.gallery { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px max(24px, calc((100vw - 1180px) / 2)) 36px; scrollbar-width: thin; scrollbar-color: var(--sage) transparent; }
.g-item { flex: 0 0 min(460px, 78vw); scroll-snap-align: center; background: #FFFDF7; border: 0; padding: 9px 9px 14px; border-radius: 8px; box-shadow: 0 18px 40px -22px rgba(31, 51, 34, .55); cursor: zoom-in; text-align: left; font: inherit; transition: transform .3s; }
.g-item:nth-child(odd) { rotate: -.8deg; }
.g-item:nth-child(even) { rotate: .8deg; }
.g-item:hover { transform: translateY(-6px); }
.g-item img { border-radius: 4px; width: 100%; }
.g-item span { display: block; margin-top: 12px; padding-inline: 4px; font: italic 400 1.1rem var(--serif); color: var(--green); }
dialog { border: 0; padding: 14px; border-radius: 12px; background: #FFFDF7; max-width: min(960px, 94vw); box-shadow: 0 40px 100px rgba(0, 0, 0, .5); }
dialog::backdrop { background: rgba(20, 32, 22, .78); backdrop-filter: blur(3px); }
dialog img { width: 100%; border-radius: 6px; }
dialog p { margin: 12px 4px 4px; font: italic 400 1.05rem var(--serif); color: var(--green); }
.close { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(31, 51, 34, .85); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
dialog form { margin: 0; }

/* over */
.about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-mark { background: var(--paper); border-radius: 22px; padding: clamp(28px, 5vw, 64px); box-shadow: 0 24px 50px -28px rgba(31, 51, 34, .45); border: 1px solid var(--line); }
.about-mark img { width: 100%; height: auto; }
.about-text h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); margin-bottom: 1.4rem; }
.about-text p { color: var(--muted); }
.facts { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.facts li { border-top: 2px solid var(--sage); padding-top: 12px; font-size: .95rem; color: var(--muted); line-height: 1.4; }
.facts strong { display: block; font: 400 1.15rem var(--serif); color: var(--green); margin-bottom: 2px; }

/* contact */
.contact { background: var(--green); color: #E8EDE1; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: auto -10% -40% auto; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(125, 145, 113, .35), transparent 70%); pointer-events: none; }
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact h2 { color: #fff; font-size: clamp(2rem, 3.8vw, 3.2rem); margin-bottom: 1.2rem; }
.contact h3 { color: #fff; font-family: var(--sans); font-weight: 600; font-size: 1rem; letter-spacing: .02em; margin: 2rem 0 .8rem; }
.contact-text p { color: #C9D4BF; }
.contact-text ul { margin: 0; padding-left: 1.2em; color: #C9D4BF; display: grid; gap: .4rem; }
.contact-text li::marker { color: var(--sage); }
.mail-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 1.6rem 0 0; }
.mail { font: italic 400 clamp(1.4rem, 2.6vw, 1.9rem) var(--serif); color: #fff; text-decoration-color: var(--sage); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.copy { background: transparent; color: #E8EDE1; border: 1px solid rgba(255, 255, 255, .35); border-radius: 99px; padding: .4em 1em; cursor: pointer; font: 500 .85rem var(--sans); }
.copy:hover { background: rgba(255, 255, 255, .1); }
.form { background: rgba(252, 251, 246, .07); border: 1px solid rgba(255, 255, 255, .18); border-radius: 20px; padding: clamp(22px, 3.5vw, 40px); display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .88rem; font-weight: 500; color: #D5DFCB; }
.field label span { opacity: .7; font-weight: 400; }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid transparent; border-radius: 10px; padding: .75em .9em; width: 100%; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(125, 145, 113, .45); }
.field .err { border-color: #E59B7C; }
.form .btn { justify-self: start; }
.form-note { font-size: .86rem; color: #B5C4A9; margin: 0; }

/* footer */
.site-footer { background: var(--green-deep); color: #B5C4A9; padding: 44px 0; font-size: .92rem; }
.foot { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.foot img { height: 40px; width: auto; }
.foot nav { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot p { margin: 0; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1020px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .split, .about, .contact-grid, .project, .project.rev { grid-template-columns: 1fr; }
  .project.rev .proj-img { order: 0; }
  .plan-fig { position: static; }
  .collage { max-width: 640px; margin-inline: auto; width: 100%; }
  .foot { grid-template-columns: 1fr; justify-items: start; }
  .foot nav { justify-content: flex-start; }
}
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 76px; background: var(--paper); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; border-bottom: 1px solid var(--line); box-shadow: 0 24px 30px -24px rgba(31, 51, 34, .5); display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; text-align: center; }
  .principles { grid-template-columns: 1fr; }
  .bloom { --label: 1fr; }
  .bl-head { display: none; }
  .bl-row { grid-template-columns: repeat(12, 1fr); }
  .bl-name { grid-column: 1 / -1; padding-bottom: 6px; }
  .bl-bar { grid-row: 2; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .services { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .brand img { height: 38px; }
  .bar { height: 68px; }
  .nav { top: 68px; }
  .hero h1 { font-size: 2.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .bl-bar { transform: none; transition: none; }
}

.nav .lang { font: 600 .8rem var(--sans); letter-spacing: .1em; border: 1.5px solid var(--sage); border-radius: 99px; padding: .3em .8em; color: var(--green); text-decoration: none; }
.nav .lang:hover { background: var(--sage-soft); }
.nav a.lang::after { display: none; }
@media (max-width: 820px) { .nav .lang { align-self: flex-start; margin-top: 14px; border-bottom: 1.5px solid var(--sage) !important; } }
