/* Hallmark · shape: Night showcase (custom) · genre: editorial · theme: custom (brand kept) · redesign: full
 * paper: oklch(19% 0.015 250) · accent: oklch(66% 0.16 50) · display: Instrument Serif · body: Geist · hero: Stage · nav: kept · footer: kept · signature: the name Pro-Monty set giant and cropped by the hero edge over one real client site
 * axes: dark/high-contrast-serif/warm · posture: Stage · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, the hero image is the existing BBQ '79 screenshot upscaled and dimmed; a photo of Marcel or a recorded screen would carry it better */
/* Hallmark · waive 44c · hero image and wordmark sit off the text centre · the cropped wordmark and image are the signature, as in both references */

:root {
  --hm-container: 1280px;
  --hm-gutter: 64px;
  --hm-gap: 32px;
  --hm-section: 128px;
  --hm-ease: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (max-width: 60rem) { :root { --hm-gutter: 24px; --hm-section: 80px; } }
@media (max-width: 40rem) { :root { --hm-gutter: 16px; --hm-section: 64px; --hm-gap: 16px; } }

html, body { overflow-x: clip; }

/* de hele homepage is nachtvlak: de kleurvariabelen van het ontwerpsysteem draaien om */
.hm {
  --color-ink: var(--pm-bone);
  --color-ink-2: color-mix(in oklab, var(--pm-bone) 84%, transparent);
  --color-muted: var(--pm-muted-soft);
  --color-rule: color-mix(in oklab, var(--pm-bone) 16%, transparent);
  --color-paper: var(--pm-ink);
  --color-paper-2: var(--pm-anthracite);
  --color-mark: color-mix(in oklab, var(--pm-bone) 70%, transparent);
  --color-focus: var(--pm-bone);
  background: var(--pm-ink);
  color: var(--color-ink-2);
  counter-reset: hm-n;
}
.hm-wrap { width: 100%; max-width: var(--hm-container); margin-inline: auto; padding-inline: var(--hm-gutter); box-sizing: border-box; }
.hm h1, .hm h2, .hm h3 { font-family: var(--font-display); font-weight: 400; color: var(--color-ink); letter-spacing: -0.02em; line-height: 1.02; min-width: 0; overflow-wrap: break-word; text-wrap: balance; }
.hm h2 { font-size: clamp(2.25rem, 2.2vw + 1.4rem, 3.75rem); max-width: 18ch; }
.hm h3 { font-size: clamp(1.75rem, 1vw + 1.4rem, 2.25rem); }
.hm p { margin: 0; text-wrap: pretty; }
.hm .hm-lead { font-size: clamp(1.125rem, 0.35vw + 1rem, 1.375rem); line-height: 1.45; max-width: 36ch; color: var(--color-ink-2); }
.hm :focus-visible { outline-color: var(--pm-bone); }

/* knoppen: 48px; primair vlak oranje, tweede omrand */
.hm-btn { min-height: 48px; padding-inline: 24px; font-size: 1rem; }
.hm-btn--ghost { background: transparent; color: var(--pm-bone); border: 1px solid color-mix(in oklab, var(--pm-bone) 50%, transparent); }
.hm-btn--ghost:hover { background: var(--pm-bone); color: var(--pm-ink); border-color: var(--pm-bone); }
.hm-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* genummerde secties: de cijfers zijn tellers, geen tekst */
.hm-section h2, .hm-band h2, .hm-over h2, .hm-contact h2 { counter-increment: hm-n; }
.hm-section h2::before, .hm-band h2::before, .hm-over h2::before, .hm-contact h2::before {
  content: counter(hm-n, decimal-leading-zero); content: counter(hm-n, decimal-leading-zero) / ""; display: block; margin-bottom: 16px;
  font-family: var(--font-body); font-size: 0.9375rem; font-weight: 500; color: var(--pm-orange);
  font-variant-numeric: tabular-nums;
}

/* hero: één beeld, de naam enorm en afgesneden onderaan */
.hm-hero { --hm-word: clamp(4rem, min(17vw, 21svh), 13rem); position: relative; overflow: clip; min-height: min(760px, calc(100svh - 76px)); background: var(--pm-ink); color: var(--pm-bone); border-bottom: 1px solid var(--color-rule); isolation: isolate; }
.hm-hero::before { content: ""; display: block; position: absolute; inset: 0; z-index: -3; pointer-events: none; background: radial-gradient(ellipse 38% 56% at 72% 50%, color-mix(in oklab, var(--pm-orange) 17%, transparent), transparent 72%); }
.hm-hero__photo { position: absolute; z-index: -2; right: 0; top: 0; width: 64%; height: 100%; object-fit: cover; object-position: 44% 12%; filter: contrast(1.2) brightness(0.74) saturate(0.88); transform: translate3d(calc(var(--mx, 0) * -10px), calc(var(--py, 0) * 40px + var(--my, 0) * -6px), 0) scale(1.04); transform-origin: 60% 30%; -webkit-mask-image: linear-gradient(to right, transparent 0%, var(--pm-ink) 34%), radial-gradient(ellipse 66% 82% at 56% 46%, var(--pm-ink) 42%, transparent 100%); mask-image: linear-gradient(to right, transparent 0%, var(--pm-ink) 34%), radial-gradient(ellipse 66% 82% at 56% 46%, var(--pm-ink) 42%, transparent 100%); -webkit-mask-composite: source-in; mask-composite: intersect; }
.hm-hero__mark { position: absolute; z-index: 0; right: 5%; top: 17%; width: clamp(110px, 12vw, 190px); height: auto; color: var(--pm-bone); filter: drop-shadow(0 14px 28px color-mix(in oklab, var(--pm-ink) 70%, transparent)); transform: translate3d(calc(var(--mx, 0) * -34px), calc(var(--py, 0) * 90px + var(--my, 0) * -18px), 0); }
.hm-mark__m { stroke-dasharray: 1; stroke-dashoffset: 1; animation: hm-stroke 1800ms var(--hm-ease) 500ms forwards; }
.hm-mark__bar, .hm-mark__dot { color: var(--pm-orange); transform-box: fill-box; transform-origin: center; opacity: 0; animation: hm-pop 900ms var(--hm-ease) 1700ms forwards; }
.hm-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to top, var(--pm-ink) 2%, transparent 22%); }
.hm-hero__line { position: absolute; z-index: 0; top: 0; bottom: 0; left: var(--hm-gutter); width: 1px; background: var(--pm-orange); opacity: 0.8; transform-origin: top; animation: hm-draw-y 1500ms var(--hm-ease) 200ms both; }
.hm-hero__content { position: relative; z-index: 1; padding-top: 40px; padding-bottom: calc(var(--hm-word) * 0.95 + 28px); padding-left: calc(var(--hm-gutter) + 32px); }
.hm-hero h1 { font-size: clamp(2.5rem, 2vw + 1.2rem, 4.25rem); max-width: 13ch; }
.hm-accent { color: var(--pm-orange); }
.hm-hero .hm-lead { margin-top: 24px; }
.hm-hero .hm-actions { margin-top: 32px; }
.hm .hm-hero__note { margin-top: 20px; font-size: 0.875rem; color: var(--pm-muted-soft); max-width: 44ch; }
.hm-hero__side { position: absolute; z-index: 1; right: 24px; top: 50%; writing-mode: vertical-rl; font-size: 0.875rem; color: var(--pm-muted-soft); transform: translateY(-50%) rotate(180deg); }
.hm-hero__scroll { position: absolute; z-index: 1; right: 32px; bottom: 36px; width: 1px; height: 56px; background: color-mix(in oklab, var(--pm-bone) 40%, transparent); transform-origin: top; animation: hm-scroll 2200ms var(--hm-ease) infinite; }
.hm-hero__word { position: absolute; z-index: 0; left: calc(var(--hm-gutter) + 14px); bottom: 0.06em; font-family: var(--font-display); font-size: var(--hm-word); line-height: 0.95; letter-spacing: -0.035em; white-space: nowrap; color: color-mix(in oklab, var(--pm-bone) 15%, transparent); transform: translate3d(0, calc(var(--py, 0) * -40px), 0); pointer-events: none; user-select: none; }

/* secties */
.hm-section { padding-block: var(--hm-section); }
.hm-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--hm-gap); align-items: end; margin-bottom: 56px; }
.hm-head__intro { max-width: 40ch; justify-self: end; color: var(--color-ink-2); }

/* werk: versprongen raster 7/5 en 5/7 op zwart */
.hm-works { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--hm-gap); row-gap: 56px; }
.hm-works > .work { min-width: 0; }
.hm-works > .work:nth-child(1) { grid-column: 1 / span 7; }
.hm-works > .work:nth-child(2) { grid-column: 8 / span 5; margin-top: 72px; }
.hm-works > .work:nth-child(3) { grid-column: 1 / span 5; }
.hm-works > .work:nth-child(4) { grid-column: 6 / span 7; margin-top: 72px; }
.hm-works > .work:nth-child(5) { grid-column: 1 / span 7; }
.hm .work__title, .hm .work__title a { color: var(--pm-bone); font-size: 2rem; }
.hm .work__pitch { color: var(--color-ink-2); font-size: 1rem; }
.hm .work__domain { color: var(--pm-muted-soft); font-size: 0.875rem; }
.hm .work__frame { border-color: var(--color-rule); }
.hm .badge { color: var(--pm-ink); }
.hm-also { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 96px; padding-top: 28px; border-top: 1px solid var(--color-rule); }
.hm-also strong { font-weight: 600; color: var(--pm-bone); margin-right: 8px; }


/* werk: de pagina blijft staan en de projecten schuiven zijwaarts bij het scrollen (alleen met script) */
.hm-h { position: relative; }
.hm-h__pin { position: sticky; top: 76px; padding-block: 16px 24px; }
.hm-h-on .hm-works { display: flex; flex-wrap: nowrap; gap: var(--hm-gap); width: max-content; will-change: transform; }
.hm-h-on .hm-works > .work { flex: 0 0 clamp(280px, 38vw, 560px); grid-column: auto !important; margin-top: 0 !important; }
.hm-h-on .hm-head { margin-bottom: 32px; }
.hm-h__bar { display: block; height: 2px; margin-top: 28px; background: var(--color-rule); }
.hm-h__bar i { display: block; height: 100%; background: var(--pm-orange); transform-origin: left; transform: scaleX(0); }
@media (max-width: 40rem) { .hm-h-on .hm-works > .work { flex-basis: 78vw; } }

/* werkwijze: één stelling, woorden lichten op bij scrollen */
.hm-band { background: var(--pm-anthracite); padding-block: var(--hm-section); }
.hm-band__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--hm-gap); align-items: start; }
.hm-band h2 { font-size: clamp(1.75rem, 1vw + 1.4rem, 2.25rem); }
.hm-statement { font-family: var(--font-display); font-size: clamp(2rem, 2.6vw + 1rem, 3.75rem); line-height: 1.1; letter-spacing: -0.015em; color: var(--pm-bone); max-width: 24ch; }
.has-words .hm-w { opacity: 0.5; transition: opacity 400ms var(--hm-ease); }
.has-words .hm-w.is-lit { opacity: 1; }

/* diensten: twee vlakken met haarlijn */
.hm-diensten { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--hm-gap); }
.hm-dienst { background: var(--pm-anthracite); border: 1px solid var(--color-rule); border-radius: 2px; padding: 40px; min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.hm-dienst__nr { font-family: var(--pm-font-mono); font-size: 0.875rem; color: var(--pm-orange); }
.hm-dienst h3 { font-size: clamp(2rem, 1.6vw + 1.4rem, 3rem); margin-bottom: 12px; }
.hm-dienst p { max-width: 46ch; font-size: 1.125rem; color: var(--color-ink-2); }
.hm .hm-more { margin-top: 40px; }

/* over */
.hm-over { padding-block: var(--hm-section); border-top: 1px solid var(--color-rule); }
.hm-over__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--hm-gap); align-items: start; }
.hm-over h2 { font-size: clamp(1.75rem, 1vw + 1.4rem, 2.25rem); }
.hm-over__big { font-family: var(--font-display); font-size: clamp(1.875rem, 2vw + 1rem, 3rem); line-height: 1.12; letter-spacing: -0.015em; color: var(--pm-bone); max-width: 26ch; }


/* verhaal: hoe ik begon, hoe ik werk, wanneer ik werk */
.hm-story { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px var(--hm-gap); margin-top: 72px; }
.hm-story__item { border-top: 1px solid var(--pm-orange); padding-top: 24px; min-width: 0; }
.hm-story__item h3 { font-size: clamp(1.5rem, 0.8vw + 1.2rem, 2rem); margin-bottom: 14px; }
.hm-story__item p { font-size: 1.0625rem; line-height: 1.6; color: var(--color-ink-2); max-width: 46ch; }
.hm-story__item strong { color: var(--pm-bone); font-weight: 600; }

/* contact */
.hm-contact { background: var(--pm-anthracite); padding-block: calc(var(--hm-section) * 1.1); }
.hm-contact__inner { display: grid; gap: 28px; justify-items: start; }
.hm-contact h2 { font-size: clamp(2.5rem, 3.4vw + 1.2rem, 5rem); max-width: 16ch; }
.hm-contact .hm-lead { max-width: 44ch; }
.hm-mail { font-family: var(--pm-font-mono); font-size: 1rem; }
.hm-mail a { color: var(--pm-bone); text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }

/* menu met slash en donkere footer, alleen op de homepage */
.site-nav a:not(.btn)::before { content: "/"; content: "/" / ""; color: var(--pm-orange); margin-right: 2px; }
body:has(.hm) .site-footer { background: var(--pm-ink); color: var(--pm-bone); border-top: 1px solid var(--color-rule); }
body:has(.hm) .site-footer a, body:has(.hm) .site-footer .brand__name, body:has(.hm) .site-footer .footer-copy { color: var(--pm-bone); }
body:has(.hm) .site-footer .brand__name-accent { color: var(--color-accent-on-dark); }

@keyframes hm-stroke { to { stroke-dashoffset: 0; } }
@keyframes hm-pop { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }
@keyframes hm-draw-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes hm-scroll { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 56% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* telefoon en tablet: één kolom, volle zinnen, geen vage tekst */
@media (max-width: 60rem) {
  .hm-hero__content { padding-bottom: 600px; padding-left: calc(var(--hm-gutter) + 16px); }
  .hm-hero__photo { width: 100%; height: 520px; top: auto; bottom: 64px; object-position: 44% 16%; transform: none; -webkit-mask-image: linear-gradient(to top, transparent 0%, var(--pm-ink) 18%, var(--pm-ink) 80%, transparent 100%), radial-gradient(ellipse 80% 86% at 50% 46%, var(--pm-ink) 50%, transparent 100%); mask-image: linear-gradient(to top, transparent 0%, var(--pm-ink) 18%, var(--pm-ink) 80%, transparent 100%), radial-gradient(ellipse 80% 86% at 50% 46%, var(--pm-ink) 50%, transparent 100%); }
  .hm-hero__mark { width: 150px; right: 28px; top: auto; bottom: 440px; transform: none; }
  .hm-hero__line { left: var(--hm-gutter); }
  .hm-head, .hm-band__grid, .hm-over__grid { grid-template-columns: minmax(0, 1fr); }
  .hm-head__intro { justify-self: start; }
  .hm-works > .work:nth-child(n) { grid-column: 1 / -1; margin-top: 0; }
  .hm-diensten { grid-template-columns: minmax(0, 1fr); }
  .hm-story { grid-template-columns: minmax(0, 1fr); margin-top: 48px; gap: 32px; }
  .hm-dienst { padding: 28px; min-height: 0; }
  .has-words .hm-w { opacity: 1; }
  .hm-hero__mark { width: 112px; right: 20px; top: auto; bottom: 392px; }
  .hm-hero__photo { width: 100%; height: 440px; top: auto; bottom: 64px; object-position: 44% 15%; -webkit-mask-image: linear-gradient(to top, transparent 0%, var(--pm-ink) 18%, var(--pm-ink) 80%, transparent 100%), radial-gradient(ellipse 84% 88% at 50% 46%, var(--pm-ink) 52%, transparent 100%); mask-image: linear-gradient(to top, transparent 0%, var(--pm-ink) 18%, var(--pm-ink) 80%, transparent 100%), radial-gradient(ellipse 84% 88% at 50% 46%, var(--pm-ink) 52%, transparent 100%); }
  .hm-hero__side { display: none; }
}
@media (max-width: 40rem) {
  .hm-hero__content { padding-top: 48px; padding-bottom: 540px; padding-left: calc(var(--hm-gutter) + 16px); }
  .hm-hero h1 { font-size: clamp(2.5rem, 11vw, 3.25rem); }
  .hm-hero__line { left: 16px; }
  .hm-hero__scroll { display: none; }
  .hm-actions .btn { width: 100%; }
  .hm-works { row-gap: 40px; }
  .hm-also { margin-top: 56px; }
  .hm-mail { overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  .hm-hero__photo, .hm-hero__mark, .hm-hero__line, .hm-hero__scroll, .hm-hero__word, .hm-mark__m, .hm-mark__bar, .hm-mark__dot { animation: none !important; transform: none !important; stroke-dashoffset: 0 !important; opacity: 1 !important; }
  .has-words .hm-w { opacity: 1; }
  .hm *, .hm *::before, .hm *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
