/* Subpagina's + projectpagina's */

/* ---------- Paginakop ---------- */
.page-hero { padding: clamp(70px, 10vw, 150px) 0 clamp(50px, 6vw, 90px); }
.page-hero .title-xl { max-width: 1050px; margin-bottom: .45em; }
.page-hero .lead { max-width: 680px; }
.page-hero-sm { padding-bottom: 30px; }
.svc-hero-cta { margin-top: 2rem; }
.svc-hero-small { margin-top: clamp(44px, 5vw, 72px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--line); max-width: 680px; }
.svc-hero-small p { color: var(--text); margin: .7em 0 1.3em; }

/* ---------- Diensten ---------- */
.svc-layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(40px, 6vw, 100px); padding-bottom: clamp(80px, 10vw, 140px); }
.svc-toc { position: relative; }
.svc-toc ol { list-style: none; position: sticky; top: calc(var(--hh) + 30px); border-left: 1px solid var(--line); }
.svc-toc a { display: flex; gap: 14px; padding: 10px 0 10px 20px; margin-left: -1px; border-left: 1px solid transparent; font-size: .9rem; color: var(--grey); transition: color .3s, border-color .3s, padding .4s var(--ease-out); }
.svc-toc a span { font-size: .7rem; letter-spacing: .16em; padding-top: .2em; }
.svc-toc a b { font-weight: 500; }
.svc-toc a:hover { color: var(--ink); padding-left: 26px; }
.svc-toc a.active { color: var(--navy); border-left-color: var(--blue); }
.svc-toc a.active span { color: var(--blue); }
.svc-list { display: grid; gap: clamp(70px, 9vw, 130px); }
.svc-item { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(30px, 4vw, 64px); align-items: center; scroll-margin-top: calc(var(--hh) + 30px); }
.svc-item:nth-child(even) .svc-img { order: 2; }
.svc-img { aspect-ratio: 4 / 5; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-n { display: block; font-size: .74rem; letter-spacing: .22em; color: var(--blue); font-weight: 600; margin-bottom: 14px; }
.svc-body p { color: var(--text); }
.svc-incl { list-style: none; margin: 1.6rem 0 2rem; border-top: 1px solid var(--line); }
.svc-incl li { padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); position: relative; font-size: .95rem; color: var(--ink); }
.svc-incl li::before { content: ''; position: absolute; left: 0; top: 50%; width: 14px; height: 1px; background: var(--blue); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.faq-list { border-top: 1px solid #cdd7e2; }
.faq-list details { border-bottom: 1px solid #cdd7e2; }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 24px 50px 24px 0; position: relative; font-size: 1.12rem; color: var(--ink);
  transition: color .3s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after {
  content: ''; position: absolute; right: 6px; top: 50%; width: 16px; height: 1.5px; background: var(--navy);
  transition: transform .5s var(--ease-out);
}
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0); }
.faq-list summary:hover { color: var(--blue); }
.faq-list details > div { overflow: hidden; }
.faq-list details p { margin: 0 0 24px; color: var(--text); max-width: 640px; }
.faq-list details[open] > div { animation: faqIn .6s var(--ease-out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Realisaties ---------- */
.work-page { padding-bottom: clamp(80px, 10vw, 140px); }
.work-page .filters { margin-bottom: 44px; }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(36px, 4vw, 60px) clamp(20px, 3vw, 44px); }
.work-card { display: block; }
.work-card[hidden] { display: none; }
.work-wide { grid-column: 1 / -1; }
.work-img { aspect-ratio: 4 / 3; }
.work-wide .work-img { aspect-ratio: 21 / 9; }
.work-img img { width: 100%; height: 100%; object-fit: cover; }
.work-cap { display: grid; grid-template-columns: 1fr auto; align-items: end; padding-top: 18px; }
.work-cap span { grid-column: 1; font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); }
.work-cap h2 { grid-column: 1; font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 400; margin: .25em 0 0; transition: color .3s; }
.work-go { grid-column: 2; grid-row: 1 / span 2; font-style: normal; font-size: 1.4rem; color: var(--blue); width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: background .4s var(--ease), color .4s, border-color .4s, transform .5s var(--ease-out); }
.work-card:hover .work-go { background: var(--navy); color: #fff; border-color: var(--navy); transform: rotate(-45deg); }
.work-card:hover h2 { color: var(--blue); }
.work-page .note { margin-top: 40px; }
.work-ba-head { display: flex; flex-direction: column; margin-bottom: 40px; }
.work-ba-head .title-l { margin: 0; }
.masonry { columns: 3; column-gap: 18px; margin-top: 44px; }
.masonry a { display: block; margin-bottom: 18px; break-inside: avoid; overflow: hidden; position: relative; }
.masonry img { width: 100%; transition: transform 1.2s var(--ease-out), filter .6s; }
.masonry a:hover img { transform: scale(1.04); }
.masonry a::after { content: '+'; position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; font-size: 1.3rem; opacity: 0; transform: scale(.7); transition: opacity .4s, transform .5s var(--ease-out); }
.masonry a:hover::after { opacity: 1; transform: none; }

/* ---------- Over ons ---------- */
.about-banner { height: clamp(320px, 62vh, 680px); overflow: hidden; position: relative; }
.about-banner img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; }
.about-story-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 100px); }
.about-big { font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 300; line-height: 1.35; color: var(--ink); letter-spacing: -.01em; }
.about-cols p { color: var(--text); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 50px; border-top: 1px solid var(--line); }
.values > div { padding: 34px 28px 10px 0; }
.values > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.values span { font-size: .72rem; letter-spacing: .22em; color: var(--blue); font-weight: 600; }
.values h3 { font-size: 1.25rem; margin: 16px 0 10px; }
.values p { color: var(--grey); font-size: .95rem; }
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.numbers > div { display: flex; flex-direction: column; gap: 10px; padding: 10px 20px; }
.numbers > div + div { border-left: 1px solid var(--line); }
.numbers strong { font-size: clamp(2.2rem, 4.4vw, 3.8rem); font-weight: 300; color: var(--navy); line-height: 1; letter-spacing: -.02em; }
.numbers > div:last-child strong { font-size: clamp(1.4rem, 2.6vw, 2.2rem); line-height: 1.7; }
.numbers span:not([data-count]) { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--grey); }
.about-duo { display: grid; grid-template-columns: 1fr .7fr 1.1fr; gap: 0; background: var(--navy); color: #c3d3e5; align-items: stretch; }
.about-duo-img { overflow: hidden; min-height: 520px; position: relative; }
.about-duo-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-duo-text { padding: clamp(50px, 7vw, 110px) clamp(24px, 5vw, 90px); align-self: center; }
.about-duo-text h2 { color: #fff; }
.about-duo-text .btn { margin-top: 1rem; }
.about-duo-text .btn-dark { --bg: #fff; --fg: var(--navy); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(40px, 6vw, 100px); padding-bottom: clamp(80px, 10vw, 140px); align-items: start; }
.contact-form { background: #fff; }
.contact-side { display: grid; gap: 14px; }
.contact-card { padding: 30px 32px; background: var(--mist); }
.contact-card h2 { font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.contact-card p { margin: 0; }
.contact-card .note { margin-top: 10px; }
.contact-big { display: block; font-size: clamp(1.2rem, 1.8vw, 1.5rem); color: var(--navy); width: fit-content; margin-bottom: 6px; transition: color .3s; }
.contact-big:hover { color: var(--blue); }
.contact-role { font-size: .82rem; color: var(--grey); }
.contact-role + .contact-big { margin-top: 2px; }
.contact-big + .contact-role { margin-top: 14px; }
.contact-mail { font-size: clamp(1rem, 1.3vw, 1.12rem); margin-top: 18px; overflow-wrap: anywhere; }
a.u { text-decoration: underline; text-underline-offset: 3px; }
.ns-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 50px); margin-top: 50px; }
.ns-list li { background: #fff; padding: 36px 32px; position: relative; }
.ns-list span { font-size: 2.6rem; font-weight: 300; color: var(--blue-soft); line-height: 1; }
.ns-list h3 { font-size: 1.2rem; margin: 22px 0 10px; }
.ns-list p { color: var(--grey); margin: 0; font-size: .95rem; }
body[data-page="contact"] .footer-cta { display: none; }
body[data-page="contact"] .footer-grid { padding-top: 0; }

/* ---------- Privacy ---------- */
.prose { padding-bottom: clamp(80px, 10vw, 140px); }
.prose h2 { font-size: 1.2rem; font-weight: 600; margin-top: 2.2em; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Projectpagina ---------- */
.project-hero { position: relative; }
.project-hero-img { height: clamp(380px, 72vh, 780px); overflow: hidden; position: relative; }
.project-hero-img img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.project-hero-text { position: relative; margin-top: -120px; background: #fff; padding-top: 44px; padding-bottom: 10px; max-width: calc(var(--wrap) - 2 * var(--gutter)); width: calc(100% - 2 * var(--gutter)); }
.project-hero-text .title-xl { margin: 0; font-size: clamp(2.2rem, 5vw, 4.2rem); }
.back-link { display: flex; width: fit-content; align-items: center; gap: 10px; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--grey); margin-bottom: 28px; transition: color .3s, gap .4s var(--ease-out); }
.back-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.back-link:hover { color: var(--navy); gap: 14px; }
.sample-tag { margin-left: 14px; padding: 4px 10px; border: 1px dashed currentColor; letter-spacing: .14em; font-size: .62rem; color: var(--grey); }
.project-body { display: grid; grid-template-columns: 280px 1fr; gap: clamp(40px, 7vw, 120px); padding-top: clamp(50px, 6vw, 80px); padding-bottom: clamp(60px, 7vw, 100px); }
.project-facts { position: relative; }
.project-facts dl { margin: 0; position: sticky; top: calc(var(--hh) + 30px); border-top: 1px solid var(--line); }
.project-facts dl > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.project-facts dt { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--grey); margin-bottom: 4px; }
.project-facts dd { margin: 0; color: var(--ink); font-size: 1.05rem; }
.project-count { margin-top: 24px; font-size: .8rem; letter-spacing: .2em; color: var(--grey); }
.project-count span { color: var(--navy); font-size: 1.6rem; letter-spacing: 0; }
.lead-big { font-size: clamp(1.35rem, 2.2vw, 1.85rem); line-height: 1.45; color: var(--ink); font-weight: 300; margin-bottom: 1.3em; }
.project-text > p { max-width: 720px; }
.h-small { font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--blue); margin-top: 2.6rem; }
.scope { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; border-top: 1px solid var(--line); }
.scope li { padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line); position: relative; color: var(--ink); }
.scope li::before { content: ''; position: absolute; left: 0; top: 50%; width: 14px; height: 1px; background: var(--blue); }
.pg-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pg-item { display: block; aspect-ratio: 4 / 3; overflow: hidden; position: relative; cursor: zoom-in; }
.pg-item.pg-wide { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.pg-grid > .pg-item:last-child:nth-child(even) { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.pg-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.pg-item:hover img { transform: scale(1.04); }
.project-ba-wrap { padding-top: 18px; }
.project-ba-wrap:empty { display: none; }
.project + .note, .project > .note { margin-top: 30px; margin-bottom: 90px; }
.next-project { position: relative; display: block; height: clamp(300px, 46vh, 460px); overflow: hidden; color: #fff; background: var(--navy-deep); }
.next-project img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; transform: scale(1.04); transition: transform 1.6s var(--ease-out), opacity .6s; }
.next-project:hover img { transform: scale(1); opacity: .6; }
.next-inner { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.next-title { font-size: clamp(2rem, 5vw, 4rem); font-weight: 300; letter-spacing: -.02em; max-width: 900px; line-height: 1.1; }
.next-inner svg { width: 46px; height: 46px; fill: none; stroke: #fff; stroke-width: 1.2; margin-top: 26px; transition: transform .6s var(--ease-out); }
.next-project:hover svg { transform: translateX(14px); }

/* ---------- Responsief ---------- */
@media (max-width: 1000px) {
  .svc-layout { grid-template-columns: 1fr; }
  .svc-toc { display: none; }
  .faq-grid, .about-story-grid, .contact-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .values > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .numbers { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .numbers > div:nth-child(3) { border-left: 0; }
  .about-duo { grid-template-columns: 1fr 1fr; }
  .about-duo-text { grid-column: 1 / -1; }
  .about-duo-img { min-height: 340px; }
  .project-body { grid-template-columns: 1fr; }
  .project-facts dl { position: static; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 20px; }
  .ns-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .svc-item { grid-template-columns: 1fr; }
  .svc-item:nth-child(even) .svc-img { order: 0; }
  .svc-img { aspect-ratio: 4 / 3; }
  .work-grid { grid-template-columns: 1fr; }
  .work-wide .work-img { aspect-ratio: 4 / 3; }
  .work-go { width: 44px; height: 44px; }
  .masonry { columns: 2; column-gap: 10px; }
  .masonry a { margin-bottom: 10px; }
  .values { grid-template-columns: 1fr; }
  .values > div, .values > div + div { padding: 26px 0 6px; border-left: 0; border-bottom: 1px solid var(--line); }
  .about-duo { grid-template-columns: 1fr; }
  .about-duo-2 { display: none; }
  .about-duo-img { min-height: 0; aspect-ratio: 4 / 3; }
  .project-hero-text { margin-top: -60px; padding-top: 28px; }
  .project-hero-img { height: 52vh; }
  .project-facts dl { grid-template-columns: 1fr; }
  .scope { grid-template-columns: 1fr; }
  .pg-grid { grid-template-columns: 1fr; gap: 10px; }
  .pg-item, .pg-item.pg-wide, .pg-grid > .pg-item:last-child:nth-child(even) { grid-column: auto; aspect-ratio: 4 / 3; }
  .contact-card { padding: 24px; }
  .sample-tag { display: inline-block; margin: 10px 0 0; }
  .eyebrow:has(.sample-tag) { flex-wrap: wrap; }
}
