/* Koper Design Services: stylesheet */

@font-face { font-family: "Host Grotesk"; src: url("../fonts/HostGrotesk-Light.ttf") format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Host Grotesk"; src: url("../fonts/HostGrotesk-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Host Grotesk"; src: url("../fonts/HostGrotesk-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Host Grotesk"; src: url("../fonts/HostGrotesk-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root {
  --green-900: #12352b;
  --green-700: #2a5648;
  --green-600: #437061;
  --sand-300: #d9c9a8;
  --field: #ece2cc; /* hero-, pagina-kop- en CTA-achtergrond: sand-300, twee tinten lichter */
  --sand-200: #e6dac0;
  --sand-100: #f0e7d3;
  --paper: #f3f4ee;
  --orange: #e48b54;
  --orange-deep: #cf7239;
  --ink: #14231f;
  --ink-soft: #3d4f49;
  --on-green: #f1eadb;
  --on-green-soft: #c9d3c6;

  --font: "Host Grotesk", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --radius-l: clamp(1.75rem, 3vw, 2.75rem);
  --radius-m: 1.5rem;
  --radius-p: 1.25rem;
  --section-pad: clamp(4rem, 9vw, 8rem);
  --hold: 55svh;
  --hold-last: 12svh;
  --t: 1;
  --reel-s: 5.2s;
  --marquee-s: 46s;
  --max: 88rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--green-600) var(--sand-100); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
::selection { background: var(--orange); color: var(--ink); }
:focus-visible { outline: 3px solid var(--green-600); outline-offset: 3px; border-radius: 4px; }
.on-green :focus-visible, .band-green :focus-visible, .site-footer :focus-visible { outline-color: var(--sand-300); }
.skip { position: absolute; left: -999px; top: 0.5rem; background: var(--ink); color: var(--paper); padding: 0.6rem 1rem; border-radius: 999px; z-index: 100; }
.skip:focus { left: 0.5rem; }

h1, h2, h3 { font-weight: 300; line-height: 1.04; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 7.6vw, 6rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); letter-spacing: -0.02em; font-weight: 400; }
p { margin: 0; max-width: 62ch; text-wrap: pretty; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 46ch; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: var(--orange); color: var(--ink); text-decoration: none;
  font: inherit; font-weight: 500; line-height: 1;
  padding: 1.05rem 1.6rem; border: 0; border-radius: 999px; cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  box-shadow: 0 6px 18px -8px rgb(20 35 31 / 0.45);
}
.btn:hover { background: #ee9a66; transform: translateY(-2px); box-shadow: 0 10px 22px -8px rgb(20 35 31 / 0.5); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--sm { padding: 0.8rem 1.25rem; font-size: 0.97rem; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-block: 0.35rem; min-height: 2.75rem; }
.link-arrow svg { width: 1.1em; height: 1.1em; transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- header ---------- */
html { scroll-padding-top: 5.5rem; }
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.4rem; transition: padding 0.3s var(--ease); }
.site-header.is-scrolled { background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 rgb(20 35 31 / 0.12), 0 12px 28px -20px rgb(20 35 31 / 0.4); }
.site-header.is-scrolled .wrap { padding-block: 0.7rem; }
.site-header.is-scrolled .wm { color: var(--ink); }
.site-header.is-scrolled .menu-btn { border-color: var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 0.9rem; text-decoration: none; }
.brand { gap: 0.7rem; }
.brand img { width: 2.75rem; height: auto; }
.wm { display: block; text-align: right; text-transform: uppercase; font-size: 0.85rem; line-height: 1.12; letter-spacing: 0.01em; color: var(--ink); }
.wm span { display: block; }
.wm span:nth-child(1) { font-weight: 600; }
.wm span:nth-child(2) { font-weight: 500; }
.wm span:nth-child(3) { font-weight: 400; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.25rem); }
.nav a:not(.btn) { text-decoration: none; font-weight: 400; padding: 0.4rem 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.35s var(--ease); }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { background-size: 100% 1px; }
.menu-btn { display: none; background: none; border: 1px solid currentColor; color: inherit; font: inherit; border-radius: 999px; padding: 0.55rem 1.05rem; cursor: pointer; }

/* ---------- hero (home) ---------- */
.hero { background: var(--field); position: relative; overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: stretch; padding-bottom: clamp(2rem, 4vw, 3.5rem); min-height: min(52rem, calc(100svh - 8.5rem)); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; gap: 2rem; padding-block: 2rem; }
.hero-copy h1 { font-size: clamp(2.9rem, 6.6vw, 6rem); }
.hero-copy .lede { color: var(--ink); }
.hero-tag { margin: 0; font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 400; letter-spacing: -0.01em; display: flex; align-items: center; gap: 1rem; color: var(--green-600); }
.hero-tag::before { content: ""; width: 2.5rem; height: 2px; background: var(--orange); }

.hero-panel { position: relative; background: var(--green-900); border-radius: var(--radius-l); padding: clamp(0.8rem, 1.6vw, 1.4rem); display: grid; grid-template-columns: 1.05fr 1fr; grid-template-rows: 1fr 1fr; gap: clamp(0.6rem, 1.2vw, 1rem); min-height: 34rem; isolation: isolate; }
.hero-panel::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: url("../img/tex-groen.jpg") center / cover; opacity: 0.18; mix-blend-mode: soft-light; z-index: -1; }
.tile { position: relative; border-radius: calc(var(--radius-l) - 0.8rem); overflow: hidden; margin: 0; background: var(--green-700); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile--tall { grid-row: 1 / 3; }
.tile a { position: absolute; inset: 0; text-decoration: none; display: flex; align-items: flex-end; padding: 0.9rem; }
.tile a:focus-visible { outline-offset: -6px; outline-color: var(--paper); border-radius: inherit; }
.chip { display: inline-flex; align-items: center; gap: 0.45rem; background: var(--paper); color: var(--ink); font-size: 0.82rem; font-weight: 500; padding: 0.45rem 0.9rem; border-radius: 999px; line-height: 1.2; white-space: nowrap; max-width: 100%; }
.chip svg { width: 0.9rem; height: 0.9rem; flex: none; transition: transform 0.3s var(--ease); }
.tile a:hover .chip svg, .tile a:focus-visible .chip svg { transform: translateX(3px); }
.tile--tall img { object-position: 56% 50%; }

.hero-dot { right: -1.6rem; bottom: 22%; width: clamp(5rem, 9vw, 8rem); aspect-ratio: 1; border-radius: 50%; background: var(--orange); position: absolute; z-index: 3; animation: drop 1.1s 0.5s var(--ease) both; }
@keyframes drop { from { transform: translateY(-3.5rem) scale(0.6); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- sections ---------- */
.section { padding-block: var(--section-pad); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head h2 { max-width: 16ch; }

/* services rows */
.services { background: var(--paper); }
.service-rows { border-top: 1px solid rgb(20 35 31 / 0.25); }
.service-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: clamp(1rem, 3vw, 3rem); align-items: center; padding: clamp(1.5rem, 3vw, 2.4rem) 0; border-bottom: 1px solid rgb(20 35 31 / 0.25); text-decoration: none; position: relative; isolation: isolate; }
.service-row h3 { transition: transform 0.4s var(--ease); }
.service-row::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); background: var(--sand-100); opacity: 0; transition: opacity 0.35s var(--ease); z-index: -1; }
.service-row:hover h3 { transform: translateX(1rem); }
.service-row:hover::before { opacity: 1; }
.service-row h3 { font-size: clamp(1.9rem, 4vw, 3.2rem); font-weight: 300; }
.service-row p { color: var(--ink-soft); }
.service-row .arrow { width: 3.4rem; height: 3.4rem; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; transition: background 0.3s var(--ease), border-color 0.3s; }
.service-row:hover .arrow { background: var(--orange); border-color: var(--orange); }
.service-row .arrow svg { width: 1.3rem; height: 1.3rem; }

/* work grid (home) */
.work-home { background: var(--paper); }
.work-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
.work-card { text-decoration: none; display: flex; flex-direction: column; gap: 0.9rem; }
.work-card .frame { position: relative; flex: 1; min-height: clamp(15rem, 28vw, 26rem); border-radius: var(--radius-m); overflow: hidden; background: var(--sand-200); }
.work-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.warm { mix-blend-mode: multiply; }
.work-card:hover img { transform: scale(1.045); }
.work-card h3 { font-size: 1.45rem; }
.work-card p { font-size: 0.97rem; color: var(--ink-soft); }
.work-card:nth-child(1) { grid-column: span 7; }
.work-card:nth-child(2) { grid-column: span 5; }
.work-card:nth-child(3) { grid-column: span 5; }
.work-card:nth-child(4) { grid-column: span 7; }

/* process band */
.band-green { background: var(--green-900); color: var(--on-green); position: relative; overflow: clip; }
.band-green::before { content: ""; position: absolute; inset: 0; background: url("../img/tex-groen.jpg") center / cover; opacity: 0.14; mix-blend-mode: soft-light; }
.band-green .wrap { position: relative; }
.process { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); }
.process h2 { max-width: 12ch; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr); gap: 1.5rem; align-items: baseline; padding: 1.6rem 0; border-top: 1px solid rgb(241 234 219 / 0.28); }
.steps li:last-child { border-bottom: 1px solid rgb(241 234 219 / 0.28); }
.steps strong { font-weight: 300; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.03em; line-height: 1; }
.steps strong i { font-style: normal; color: var(--orange); }
.steps p { color: var(--on-green-soft); }

/* cta */
.cta { background: var(--field); position: relative; overflow: clip; }
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.cta h2 { max-width: 14ch; }
.cta .lede, .page-hero .lede { color: var(--ink); }

/* footer */
.site-footer { background: var(--green-900); color: var(--on-green); padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 2.5rem; }
.footer-grid h2 { font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; color: var(--on-green-soft); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-grid a { text-decoration: none; display: inline-block; padding-block: 0.4rem; }
.footer-grid ul { gap: 0; }
.footer-brand .mail { text-decoration: underline; text-underline-offset: 0.25em; padding-block: 0.4rem; }
.footer-grid a:hover { text-decoration: underline; }
.footer-brand { display: flex; flex-direction: column; gap: 1.25rem; }
.footer-brand img { width: 4.2rem; }
.footer-brand p { color: var(--on-green-soft); }
.legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgb(241 234 219 / 0.22); font-size: 0.9rem; color: var(--on-green-soft); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- inner pages ---------- */
.page-hero { background: var(--field); padding-top: 5.6rem; padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.page-hero-body { padding-top: clamp(1rem, 3vw, 2.5rem); }
.page-hero--compact { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.page-hero--compact .page-hero-body { padding-top: 0.5rem; }
.page-hero--compact h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.page-hero h1 { max-width: 14ch; }
.page-hero .lede { margin-top: 1.75rem; color: var(--ink); }

.case { padding-block: clamp(3rem, 7vw, 6rem); border-bottom: 1px solid rgb(20 35 31 / 0.18); scroll-margin-top: 1rem; }
.case:nth-of-type(even) { background: var(--sand-100); }
.case-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: end; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.case-head h2 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
.case-meta { display: grid; gap: 0.9rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.tags li { border: 1px solid var(--ink); border-radius: 999px; padding: 0.3rem 0.85rem; font-size: 0.88rem; }
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(0.75rem, 1.6vw, 1.4rem); }
.gallery figure { margin: 0; border-radius: var(--radius-m); overflow: hidden; background: var(--sand-200); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.g-a { grid-column: span 8; aspect-ratio: 4 / 3; }
.g-b { grid-column: span 4; }
.g-c { grid-column: span 6; aspect-ratio: 4 / 3; }
.g-d { grid-column: span 6; aspect-ratio: 4 / 3; }
.g-full { grid-column: span 12; aspect-ratio: 21 / 9; }
.reveal { opacity: 1; }
.js .reveal { opacity: 0; clip-path: inset(0 0 12% 0 round 1.5rem); transform: translateY(1.5rem); transition: opacity 0.9s var(--ease), clip-path 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.in { opacity: 1; clip-path: inset(0 0 0 0 round 1.5rem); transform: none; }

/* services page */
.svc { padding-block: clamp(3rem, 7vw, 6rem); border-bottom: 1px solid rgb(20 35 31 / 0.18); scroll-margin-top: 1rem; }
.svc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.svc:nth-of-type(even) { background: var(--sand-100); }
.svc:nth-of-type(even) .svc-media { order: -1; }
.svc-copy { display: grid; gap: 1.5rem; }
.svc-copy ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.2rem; }
.svc-copy li { padding: 0.8rem 0; border-top: 1px solid rgb(20 35 31 / 0.2); display: flex; align-items: center; gap: 0.9rem; }
.svc-copy li::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--orange); flex: none; }
.svc-media { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc-media figure { margin: 0; border-radius: var(--radius-m); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand-200); }
.svc-media figure:first-child { grid-column: span 2; aspect-ratio: 16 / 10; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(3rem, 7vw, 6rem); }
.contact-side { display: grid; gap: 2rem; align-content: start; }
.contact-side dl { margin: 0; display: grid; gap: 1.25rem; }
.contact-side dt { font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }
.contact-side dd { margin: 0.2rem 0 0; font-size: 1.2rem; }
.form { display: grid; gap: 1.4rem; background: var(--sand-100); padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--radius-l); }
.field { display: grid; gap: 0.5rem; align-content: start; }
.field label, .field legend { font-weight: 500; font-size: 0.97rem; }
.field input, .field textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid rgb(20 35 31 / 0.35); border-radius: 1rem; padding: 0.95rem 1.1rem; width: 100%; transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { min-height: 9rem; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 4px rgb(67 112 97 / 0.28); }
.field [aria-invalid="true"] { border-color: #a63d1a; }
.err { color: #8c2f12; font-size: 0.92rem; min-height: 1.2em; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.6rem; }
.choices label { position: relative; font-weight: 400; }
.choices input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.choices span { display: inline-block; border: 1.5px solid rgb(20 35 31 / 0.5); border-radius: 999px; padding: 0.55rem 1.1rem; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.choices input:hover + span { border-color: var(--ink); background: var(--sand-200); }
.choices input:checked + span { background: var(--green-900); color: var(--on-green); border-color: var(--green-900); }
.choices input:focus-visible + span { outline: 3px solid var(--green-600); outline-offset: 3px; }
.form-note { font-size: 0.92rem; color: var(--ink-soft); }
.form-status { padding: 1rem 1.25rem; border-radius: 1rem; background: var(--green-900); color: var(--on-green); overflow-wrap: anywhere; }
.form-status a { color: inherit; }
.req { color: var(--green-700); font-weight: 400; }
.mail-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; }
.mail-line a { overflow-wrap: anywhere; }
.copy-btn { font: inherit; font-size: 0.9rem; color: var(--ink); background: transparent; border: 1.5px solid var(--ink); border-radius: 999px; padding: 0.55rem 1rem; min-height: 2.75rem; cursor: pointer; transition: background 0.2s, color 0.2s; }
.copy-btn:hover { background: var(--ink); color: var(--paper); }

/* over mij */
.about { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; padding-block: clamp(3rem, 7vw, 6rem); }
.portrait { margin: 0; border-radius: var(--radius-l); overflow: hidden; background: var(--sand-200); aspect-ratio: 1; position: relative; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-copy { display: grid; gap: 1.5rem; }
.about-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.facts { display: grid; gap: 0; margin: 1rem 0 0; }
.facts div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: 0.9rem 0; border-top: 1px solid rgb(20 35 31 / 0.2); }
.facts div:last-child { border-bottom: 1px solid rgb(20 35 31 / 0.2); }
.facts dt { color: var(--ink-soft); }
.facts dd { margin: 0; }

/* nieuwe blokken uit KDS Studio */
.prose { max-width: 48rem; margin-inline: auto; padding-block: clamp(3rem, 7vw, 6rem); }
.about--flip .portrait { order: 2; }
.page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 2rem; margin-top: 2rem; }
.gallery-title { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
@media (max-width: 62rem) { .about--flip .portrait { order: 0; } }

/* inline case link */
.case-more { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.contain img { object-fit: contain; }
.contain { background: var(--sand-100); }
.form-status[hidden] { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 62rem) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-panel { min-height: 30rem; }
  .process, .cta .wrap, .case-head, .svc-grid, .contact-grid, .about { grid-template-columns: 1fr; }
  .contact-grid .form { order: -1; }
  .portrait { max-width: 28rem; }
  .svc:nth-of-type(even) .svc-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .service-row { grid-template-columns: 1fr auto; }
  .service-row p { grid-column: 1; grid-row: 2; }
  .service-row .arrow { grid-row: 1 / 3; grid-column: 2; }
}
@media (max-width: 48rem) {
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% - 0.4rem); background: var(--paper); border-radius: 1.5rem; padding: 1.25rem 1.5rem; flex-direction: column; align-items: stretch; gap: 0.6rem; box-shadow: 0 18px 40px -16px rgb(20 35 31 / 0.5); display: none; }
  .nav.open { display: flex; }
  .nav .btn { justify-content: center; }
  .nav a:not(.btn) { padding: 0.8rem 0; }
  .work-card:nth-child(n) { grid-column: 1 / -1; }
  .work-card .frame { flex: none; min-height: 0; aspect-ratio: 4 / 3; }
  .hero-panel { grid-template-columns: 1fr 1fr; min-height: 26rem; }
  .hero-dot { top: -1.1rem; right: 1.25rem; bottom: auto; width: 3.6rem; }
  .chip { font-size: 0.75rem; padding: 0.4rem 0.7rem; }
  .tile a { padding: 0.6rem; }
  .steps li { grid-template-columns: 1fr; gap: 0.5rem; }
  .gallery > figure { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .gallery > .g-b { aspect-ratio: 1; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 0.2rem; }
}
/* ---------- showreel-wereld (home) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.site-header--over { color: var(--paper); }
.site-header--over .wm { color: var(--paper); }
.site-header--over .menu-btn { border-color: var(--paper); }

.reel { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: var(--paper); background: var(--green-900); overflow: hidden; isolation: isolate; }
.reel-media { position: absolute; inset: 0; z-index: -1; }
.reel-slides, .reel-video { position: absolute; inset: 0; width: 100%; height: 100%; }
.reel-video { object-fit: cover; }
.reel-video[hidden], .reel-slides[hidden] { display: none; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity calc(1.4s * var(--t)) var(--ease); }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform calc(var(--reel-s) * 1.35) linear; }
.slide.is-on { opacity: 1; }
.slide.is-on img { transform: scale(1); }
.reel-shade { position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--green-900) 66%, transparent) 0%, color-mix(in srgb, var(--green-900) 52%, transparent) 45%, color-mix(in srgb, var(--green-900) 84%, transparent) 100%); }
.reel-copy { padding-top: 9rem; padding-bottom: clamp(5.5rem, 11vw, 9rem); display: grid; gap: 1.75rem; }
.reel-copy h1 { font-size: clamp(3rem, 8.6vw, 6rem); line-height: 0.96; letter-spacing: -0.04em; max-width: 12ch; }
.reel-copy .lede { color: var(--on-green); max-width: 38ch; }
.reel-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 2rem; }
.reel-actions .link-arrow { color: var(--paper); }
.reel .btn:focus-visible, .reel a:focus-visible { outline-color: var(--sand-300); }
.reel-now { position: absolute; right: var(--gutter); bottom: clamp(5.5rem, 10vw, 8rem); display: inline-flex; align-items: center; gap: 0.7rem; background: var(--paper); color: var(--ink); text-decoration: none; padding: 0.75rem 1.2rem 0.75rem 1rem; min-height: 2.75rem; border-radius: 999px; font-size: 0.92rem; }
.reel-now[hidden] { display: none; }
.reel-now i { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--orange); animation: pulse 2s ease-in-out infinite; }
.reel-now b { font-weight: 500; }
@keyframes pulse { 50% { transform: scale(1.5); opacity: 0.6; } }

.wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(2.5rem, 6vw, 5.5rem); overflow: hidden; pointer-events: none; }
.wave svg { display: block; width: 200%; height: 100%; animation: waveMove 18s linear infinite; }
.wave path { fill: var(--paper); }
@keyframes waveMove { to { transform: translateX(-50%); } }

.statement { background: var(--paper); padding-block: clamp(3.5rem, 8vw, 7rem) clamp(4rem, 9vw, 8rem); }
.statement p { font-size: clamp(1.9rem, 4.6vw, 3.6rem); font-weight: 300; line-height: 1.12; letter-spacing: -0.03em; max-width: 28ch; text-wrap: balance; }
.js .w { display: inline-block; opacity: 0.14; transition: opacity calc(0.7s * var(--t)) var(--ease); transition-delay: calc(var(--i) * 45ms * var(--t)); }
.js .in .w { opacity: 1; }

.stack { display: flow-root; background: var(--green-900); color: var(--paper); }
.proj { position: sticky; top: 0; height: 100svh; min-height: 32rem; overflow: hidden; display: flex; align-items: flex-end; text-decoration: none; color: var(--paper); background: var(--green-900); }
.proj + .proj { border-top-left-radius: var(--radius-l); border-top-right-radius: var(--radius-l); }
/* scrollstop: elk project blijft eerst een tijd vastgepind staan voordat het volgende eroverheen schuift */
.proj { margin-bottom: var(--hold); }
.proj:last-of-type { margin-bottom: var(--hold-last); }
.proj-media { position: absolute; inset: 0; }
.proj-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
.proj::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--green-900) 12%, transparent) 25%, color-mix(in srgb, var(--green-900) 88%, transparent) 100%); }
.proj-body { position: relative; z-index: 2; display: grid; gap: 1rem; padding-bottom: clamp(2rem, 6vw, 4.5rem); }
.proj h2 { font-size: clamp(3rem, 9vw, 6rem); line-height: 0.95; letter-spacing: -0.04em; }
.proj p { color: var(--on-green); font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.proj .tags li { border-color: var(--paper); color: var(--paper); }
.proj:focus-visible { outline: 4px solid var(--sand-300); outline-offset: -8px; }
.stack-end { position: relative; z-index: 3; background: var(--green-900); padding-block: clamp(2.5rem, 6vw, 4.5rem); display: flex; justify-content: center; }
.stack-end .link-arrow { color: var(--paper); font-size: clamp(1.2rem, 2.2vw, 1.7rem); font-weight: 300; }
@supports (animation-timeline: view()) {
  .proj-media img { animation: parallax linear both; animation-timeline: view(); }
  @keyframes parallax { from { transform: translateY(-5%) scale(1.1); } to { transform: translateY(5%) scale(1.1); } }
}

.marquee { background: var(--field); overflow: hidden; padding-block: clamp(1.5rem, 3vw, 2.5rem); }
.marquee-track { display: flex; width: max-content; animation: marquee var(--marquee-s) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 2.5rem; padding-right: 2.5rem; font-size: clamp(2rem, 6vw, 4.6rem); font-weight: 300; letter-spacing: -0.03em; white-space: nowrap; }
.marquee-track span::after { content: ""; width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--orange); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

.cursor { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; }
.cursor-dot { display: grid; place-items: center; width: 6rem; height: 6rem; margin: -3rem 0 0 -3rem; border-radius: 50%; background: var(--orange); color: var(--ink); font-weight: 500; font-size: 0.95rem; transform: scale(0); transition: transform 0.35s var(--ease); }
.cursor.on .cursor-dot { transform: scale(1); }
@media (hover: hover) and (pointer: fine) { .js .proj { cursor: none; } }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* panelen met praatwolk-staart, schuine knoppen, dienstentrio (Daily Creations-indeling) */
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--green-900); }

.panel { position: relative; background: var(--green-900); color: var(--on-green); border-radius: var(--radius-p); padding: clamp(1.75rem, 4vw, 3.25rem); }
.panel .tail { position: absolute; width: 2.4rem; height: 2.4rem; background: var(--green-900); border-radius: 0.45rem; transform: rotate(45deg); }
.panel--down .tail { left: 50%; bottom: -1.1rem; margin-left: -1.2rem; }
.panel--right .tail { right: -1.1rem; top: 50%; margin-top: -1.2rem; }
.panel--left .tail { left: -1.1rem; top: 50%; margin-top: -1.2rem; }
.panel h3 { color: var(--paper); font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.panel p { color: var(--on-green); }
.panel--cta { background: var(--orange); color: var(--ink); }
.panel--cta .tail { background: var(--orange); }
.panel--cta h3, .panel--cta p { color: var(--ink); }
.btn-lite { display: inline-flex; align-items: center; justify-self: start; min-height: 2.75rem; padding: 0.7rem 1.25rem; border-radius: 999px; background: var(--sand-300); color: var(--ink); font-weight: 500; text-decoration: none; transition: background 0.25s; }
.btn-lite:hover { background: var(--field); }

.statement { position: relative; z-index: 4; background: var(--paper); padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(6.5rem, 12vw, 11rem); }
.statement .panel { max-width: 62rem; margin: 0 auto; padding-block: clamp(2.5rem, 5vw, 4.5rem); text-align: center; display: grid; justify-items: center; gap: clamp(2rem, 3.5vw, 2.75rem); }
.statement .panel p { color: var(--paper); margin-inline: auto; }

.team { background: var(--paper); padding-block: clamp(4rem, 8vw, 7rem); }
.team-head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.team-head h2 { margin-inline: auto; max-width: 18ch; }
.team-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem) clamp(2.25rem, 5vw, 4.5rem); }
.team-grid .panel { display: grid; gap: 0.9rem; align-content: start; }
.team-grid .cl { grid-column: 1; grid-row: var(--r, 1); }
.team-grid .cr { grid-column: 3; grid-row: var(--r, 1); }
.person { grid-column: 2; grid-row: 1 / span var(--rs, 2); display: grid; gap: 0.5rem; align-content: center; justify-items: center; text-align: center; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--sand-200); border-radius: 4.5rem 2.5rem 5.5rem 3rem; margin-bottom: 0.75rem; }
.person b { font-size: 1.25rem; font-weight: 500; }
.person a { overflow-wrap: anywhere; padding-block: 0.3rem; }
.person span { color: var(--ink-soft); }

/* ---------- beweging ---------- */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.4s; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }

.ln { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.ln > span { display: block; }
.js .reel-copy h1 .ln > span { transform: translateY(112%); animation: rise calc(0.85s * var(--t)) cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.js .reel-copy h1 .ln:nth-child(2) > span { animation-delay: calc(0.14s * var(--t)); }
.js .reel-copy .lede, .js .reel-actions, .js .reel-now { opacity: 0; animation: fadeUp calc(0.7s * var(--t)) cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.js .reel-copy .lede { animation-delay: calc(0.5s * var(--t)); }
.js .reel-actions { animation-delay: calc(0.62s * var(--t)); }
.js .reel-now { animation-delay: calc(0.9s * var(--t)); }
@keyframes rise { to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(0.9rem); } to { opacity: 1; transform: none; } }

.reel-progress { position: absolute; left: var(--gutter); bottom: clamp(1.5rem, 3.5vw, 2.75rem); display: flex; gap: 0.5rem; z-index: 3; }
.reel-progress button { position: relative; width: clamp(2rem, 4vw, 3.5rem); height: 2.75rem; padding: 0; background: none; border: 0; cursor: pointer; }
.reel-progress button::before, .reel-progress button::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px; }
.reel-progress button::before { background: rgb(243 244 238 / 0.35); }
.reel-progress button::after { background: var(--orange); transform: scaleX(0); transform-origin: left; }
.reel-progress button.is-on::after { animation: fill var(--reel-s) linear forwards; }
.reel-progress.static button.is-on::after { animation: none; transform: none; }
.reel-progress button:hover::before { background: rgb(243 244 238 / 0.65); }
.reel-progress button:focus-visible { outline: 3px solid var(--sand-300); outline-offset: 2px; }
@keyframes fill { to { transform: scaleX(1); } }
.reel-now b { display: inline-block; }
.reel-now b.swap { animation: roll calc(0.45s * var(--t)) cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes roll { from { transform: translateY(70%); opacity: 0; } to { transform: none; opacity: 1; } }

.js .proj .ln > span { transform: translateY(112%); }
.js .proj.in .ln > span { transform: none; transition: transform calc(0.9s * var(--t)) var(--ease); }
.js .proj p, .js .proj .tags { opacity: 0; transform: translateY(0.9rem); }
.js .proj.in p, .js .proj.in .tags { opacity: 1; transform: none; transition: opacity calc(0.7s * var(--t)) var(--ease) calc(0.18s * var(--t)), transform calc(0.7s * var(--t)) var(--ease) calc(0.18s * var(--t)); }
.js .proj.in .tags { transition-delay: calc(0.3s * var(--t)); }

.reel[data-off] .reel-progress button::after, .reel[data-off] .reel-now i { animation-play-state: paused; }
.marquee[data-off] .marquee-track { animation-play-state: paused; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-0.5rem); } }
@media (max-width: 48rem) { .nav.open { animation: menuIn 0.25s var(--ease) both; } .reel-progress { bottom: 0.5rem; } }

/* dienstenblok: kop, portret en kaarten verschijnen bij het scrollen */
.team-grid .person { --d: 0s; }
.team-grid .cl { --d: calc(0.3s * var(--t)); --dx: -3rem; }
.team-grid .cr { --d: calc(0.55s * var(--t)); --dx: 3rem; }
.js .team-head:not(.in) h2 .ln > span { transform: translateY(112%); }
.js .team-grid .panel:not(.in), .js .team-grid .person:not(.in) { opacity: 0; }
.team-head.in h2 .ln > span { animation: riseUp calc(1.4s * var(--t)) var(--ease) backwards; }
.team-grid .panel.in { animation: panelIn calc(1.5s * var(--t)) var(--ease) var(--d) backwards; }
.team-grid .person.in { animation: personIn calc(1.5s * var(--t)) var(--ease) calc(0.05s * var(--t)) backwards; }
.team-grid .panel.in > h3 { animation: textIn calc(1.2s * var(--t)) var(--ease) calc(var(--d) + 0.55s * var(--t)) backwards; }
.team-grid .panel.in > p { animation: textIn calc(1.2s * var(--t)) var(--ease) calc(var(--d) + 0.75s * var(--t)) backwards; }
.team-grid .panel.in > .btn-lite, .team-grid .panel.in > .btn { animation: textIn calc(1.2s * var(--t)) var(--ease) calc(var(--d) + 0.95s * var(--t)) backwards; }
.team-grid .panel.in > .tail { animation: tailIn calc(0.9s * var(--t)) var(--ease) calc(var(--d) + 1.25s * var(--t)) backwards; }
@keyframes riseUp { from { transform: translateY(112%); } }
@keyframes panelIn { from { opacity: 0; transform: translate(var(--dx, 0), 1.25rem); } }
@keyframes personIn { from { opacity: 0; transform: scale(0.93); } }
@keyframes textIn { from { opacity: 0; transform: translateY(0.8rem); } }
@keyframes tailIn { from { transform: rotate(45deg) scale(0); } }

/* golfrand onder de kop van binnenpagina's */
.page-hero { position: relative; }

@media (max-width: 62rem) {
  .team-grid { grid-template-columns: 1fr; }
  .team-grid .cl, .team-grid .cr, .team-grid .person { grid-column: 1; grid-row: auto; }
  .person { order: -1; max-width: 22rem; justify-self: center; }
  .panel--left .tail, .panel--right .tail { display: none; }
}
@media (max-width: 48rem) {
  .site-header--over .nav a:not(.btn) { color: var(--ink); }
  .reel-copy { padding-top: 7rem; padding-bottom: 8.5rem; }
  .reel-now { left: var(--gutter); right: auto; bottom: 3.25rem; }
  .reel-copy h1 { font-size: clamp(2.8rem, 13vw, 4.2rem); }
  .proj { min-height: 28rem; }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .js .team-grid .panel:not(.in), .js .team-grid .person:not(.in) { opacity: 1; }
  .js .team-head:not(.in) h2 .ln > span { transform: none; }
  .js .reel-copy h1 .ln > span, .js .proj .ln > span { transform: none; }
  .js .reel-copy .lede, .js .reel-actions, .js .reel-now, .js .proj p, .js .proj .tags { opacity: 1; transform: none; }
  .reel-progress button.is-on::after { transform: none; }
  .slide img, .proj-media img { transform: none; animation: none; }
  .js .w { opacity: 1; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; clip-path: none; transform: none; }
}
