/* Atelier TM */

@font-face { font-family: 'Outfit'; font-weight: 300 600; font-display: swap; src: url('/fonts/outfit-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Outfit'; font-weight: 300 600; font-display: swap; src: url('/fonts/outfit-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'General Sans'; font-weight: 400; font-display: swap; src: url('/fonts/general-sans-400.woff2') format('woff2'); }
@font-face { font-family: 'General Sans'; font-weight: 500; font-display: swap; src: url('/fonts/general-sans-500.woff2') format('woff2'); }
@font-face { font-family: 'General Sans'; font-weight: 600; font-display: swap; src: url('/fonts/general-sans-600.woff2') format('woff2'); }

:root {
  --acc: #ff7a1a;
  --line: rgba(255, 255, 255, .2);
  --soft: rgba(255, 255, 255, .75);
  --gutter: clamp(20px, 5vw, 72px);
  --display: 'General Sans', system-ui, sans-serif;
  --text: 'Outfit', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #000; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #000; color: #fff; font-family: var(--text); font-weight: 300; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: #fff; text-decoration: none; }
a:hover { color: var(--acc); }
img { display: block; }
[hidden] { display: none !important; }
::selection { background: var(--acc); color: #000; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 4px; border-radius: 4px; }

/* Nederlands / Engels */
[data-l="en"] { display: none; }
[data-lang="en"] [data-l="en"] { display: inline; }
[data-lang="en"] [data-l="nl"] { display: none; }

.acc, .title strong { color: var(--acc); font-weight: inherit; }
.nospace { font-size: 0; }
.mask { display: inline-block; overflow: hidden; vertical-align: bottom; }
.mask > span { display: inline-block; }
.mask--word { padding-bottom: .15em; margin-bottom: -.15em; }

.pill { display: inline-block; font: inherit; color: #fff; background: none; border: 1px solid rgba(255, 255, 255, .3); border-radius: 9999px; padding: 6px 12px; cursor: pointer; transition: background .2s, color .2s; }
.pill:hover { background: #fff; color: #000; }

/* Bovenaan */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: #000; }
.hero__beeld { position: absolute; left: 0; right: 0; bottom: 0; height: 90%; overflow: hidden; }
.hero__beeld img, .hero__beeld canvas { position: absolute; left: 0; top: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.hero__beeld canvas { opacity: 0; transition: opacity .6s; }
.hero__beeld canvas.is-klaar { opacity: 1; }
.hero__beeld::after { content: ""; position: absolute; inset: 0 0 auto; height: 24%; background: linear-gradient(#000, rgba(0, 0, 0, 0)); }
.hero__shade { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(90% 42% at 50% 0%, #000 30%, rgba(0, 0, 0, 0) 100%), linear-gradient(rgba(0, 0, 0, 0) 80%, #000 100%); }
.hero__head { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: clamp(1.2rem, 3vh, 2.2rem); padding: 5vh 20px 0; text-align: center; }
.hero__title { margin: 0; font-family: var(--display); font-weight: 600; font-size: 19vw; line-height: .8; letter-spacing: -.03em; white-space: nowrap; }
.hero__sub { margin: 0; font-weight: 400; font-size: clamp(.8rem, 1.5vw, 1.25rem); line-height: 1.9; letter-spacing: .42em; text-transform: uppercase; text-shadow: 0 4px 30px rgba(0, 0, 0, .5); }
.hero__foot { position: absolute; z-index: 3; left: 20px; right: 20px; bottom: 28px; display: flex; flex-direction: column; gap: 1.6rem; }
.hero__for { margin: 0; padding: 0 5px; font-family: var(--display); font-weight: 400; font-size: 1.4rem; letter-spacing: -.015em; }
.hero__line { height: 1px; background: var(--line); }
.hero__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 0 5px; font-size: .95rem; font-weight: 400; letter-spacing: .03em; }
.hero__mail { flex: 1; min-width: max-content; display: flex; align-items: center; gap: 14px; }
.hero__mail img { height: 36px; width: auto; }
.hero__nav { flex: 2; display: flex; justify-content: center; gap: clamp(1.2rem, 3vw, 2.8rem); }
.hero__right { flex: 1; min-width: max-content; display: flex; justify-content: flex-end; align-items: center; gap: 1.25rem; }
.hero__copy { color: var(--soft); }

/* Onderdelen */
.section { padding: clamp(80px, 14vh, 160px) var(--gutter); }
.section--work { padding-top: clamp(40px, 8vh, 100px); }
.section--contact { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; border-top: 1px solid var(--line); }
.section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: clamp(32px, 6vh, 64px); }
.title { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(40px, 6vw, 88px); line-height: 1; letter-spacing: -.035em; }
.title--big { font-size: clamp(44px, 7vw, 112px); }
.dot { display: flex; align-items: center; gap: 10px; margin: 0; font-size: .95rem; font-weight: 400; letter-spacing: .03em; color: var(--soft); }
.dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); }

.service { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px clamp(24px, 5vw, 80px); align-items: baseline; padding: clamp(22px, 3.5vh, 38px) 0; border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service__name { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3.6vw, 52px); line-height: 1.05; letter-spacing: -.025em; }
.service__text { margin: 0; font-size: 1.05rem; line-height: 1.55; color: rgba(255, 255, 255, .8); }

.contact__mail { font-family: var(--display); font-weight: 400; font-size: clamp(1.4rem, 3.2vw, 2.6rem); letter-spacing: -.02em; border-bottom: 1px solid rgba(255, 255, 255, .3); padding-bottom: 6px; }

.footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 28px var(--gutter); border-top: 1px solid var(--line); font-size: .95rem; font-weight: 400; letter-spacing: .03em; color: var(--soft); }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img { height: 29px; width: auto; }
.footer__brand > span { white-space: nowrap; }
.footer__by { padding-left: 14px; border-left: 1px solid var(--line); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px clamp(1.2rem, 3vw, 2.4rem); }
.footer__legal { display: flex; flex-wrap: wrap; flex: 1 0 100%; gap: 2px 24px; margin: 0; font-size: .85rem; }
.footer a { color: var(--soft); }
.footer a:hover { color: var(--acc); }

/* Privacy */
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px var(--gutter); border-bottom: 1px solid var(--line); font-size: .95rem; font-weight: 400; letter-spacing: .03em; }
.page-head__brand { display: flex; align-items: center; gap: 14px; }
.page-head__brand img { height: 36px; width: auto; }
.page__intro { max-width: 62ch; margin: clamp(24px, 4vh, 40px) 0 clamp(32px, 6vh, 64px); font-size: 1.25rem; line-height: 1.55; }
.page__part { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px clamp(24px, 5vw, 80px); padding: clamp(22px, 3.5vh, 38px) 0; border-top: 1px solid var(--line); }
.page__part h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -.025em; }
.page__text { max-width: 62ch; font-size: 1.05rem; line-height: 1.6; color: rgba(255, 255, 255, .8); }
.page p { margin: 0 0 1em; }
.page p:last-child { margin-bottom: 0; }
.page__text > div + p { margin-top: 1em; }
.page__text a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 3px; }
.page__date { padding-top: 22px; border-top: 1px solid var(--line); color: var(--soft); }

/* Recent werk */
.work + .work { margin-top: clamp(48px, 9vh, 104px); }
.work__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 48px; margin-bottom: clamp(18px, 2.6vh, 28px); padding-top: clamp(18px, 2.6vh, 28px); border-top: 1px solid var(--line); }
.work__title { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3.6vw, 52px); line-height: 1.05; letter-spacing: -.025em; }
.work__nav { flex: none; display: flex; gap: 8px; }
.work__arrow { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: none; color: #fff; font: 400 1.2rem/1 var(--text); cursor: pointer; transition: background .25s, color .25s, opacity .25s; }
.work__arrow:hover { background: #fff; color: #000; }
.work__arrow[aria-disabled="true"] { opacity: .35; cursor: default; background: none; color: #fff; }
.work__pause::before { content: ""; width: 4px; height: 12px; border-inline: 3px solid currentColor; }
.work__pause.is-paused::before { width: 0; height: 0; margin-left: 3px; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }
/* Een rij loopt door tot de rand van het scherm en schuift zijwaarts; het volgende werk piept er al in. */
.projects { display: grid; grid-auto-flow: column; grid-auto-columns: min(80vw, clamp(300px, 32vw, 560px)); justify-content: start; gap: clamp(18px, 2.2vw, 36px); min-height: 30vh; margin-inline: calc(var(--gutter) * -1); padding: 8px var(--gutter); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.projects::-webkit-scrollbar { display: none; }
.projects.is-ready { min-height: 0; }
/* Carrousel (site.js): glijdt vrij, zonder vast te klikken op een werk. */
.projects.is-loop { scroll-snap-type: none; }
.project { display: flex; flex-direction: column; gap: 14px; min-width: 0; scroll-snap-align: start; }
.project__link { display: flex; flex-direction: column; gap: 16px; border-radius: 18px; }
.project__media { position: relative; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .18); background: #0b0b0b; transition: border-color .3s; }
.project__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .9s cubic-bezier(.05, .9, .1, 1); }
.project__link:hover .project__media, .project__link:focus-visible .project__media { border-color: rgba(255, 255, 255, .45); }
.project__link:hover .project__media img { transform: scale(1.025); }
/* Staand of vierkant werk (affiche, flyer, logo): volledig tonen, als een blad op een donkere tafel. */
.project__media.is-sheet { background: radial-gradient(70% 90% at 50% 40%, #262626, #0d0d0d); padding: clamp(16px, 3%, 28px); }
.project__media.is-sheet img { object-fit: contain; object-position: center; filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .6)); }
/* Zonder foto: de naam in grote letters. */
.project__media.is-empty { display: grid; place-items: center; padding: 24px; font-family: var(--display); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.6rem); letter-spacing: -.03em; text-align: center; color: rgba(255, 255, 255, .3); }
.project__badge { position: absolute; right: 14px; bottom: 14px; padding: 4px 11px; border-radius: 9999px; background: rgba(0, 0, 0, .72); border: 1px solid rgba(255, 255, 255, .25); font-size: .8rem; font-weight: 500; letter-spacing: .06em; color: #fff; }
.project__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-family: var(--display); font-weight: 400; font-size: 1.25rem; letter-spacing: -.015em; }
.project__title { margin: 0; font: inherit; min-width: 0; overflow-wrap: anywhere; }
.project__kind { flex: none; max-width: 55%; font-family: var(--text); font-weight: 300; font-size: .95rem; letter-spacing: 0; color: var(--soft); text-align: right; }
.project__extra { margin: 0; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 9999px; font-size: .85rem; font-weight: 400; letter-spacing: .03em; color: rgba(255, 255, 255, .85); transition: background .2s, color .2s; }
.tag:hover { background: #fff; color: #000; }

/* Pdf of foto op volledig scherm */
.viewer { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(0, 0, 0, .94); color: #fff; overflow: hidden; }
.viewer[open] { display: flex; flex-direction: column; }
.viewer::backdrop { background: #000; }
.viewer__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: .95rem; font-weight: 400; letter-spacing: .03em; }
.viewer__title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--display); font-size: 1.15rem; letter-spacing: -.01em; }
.viewer__actions { flex: none; display: flex; align-items: center; gap: 10px; }
.viewer__count { color: var(--soft); white-space: nowrap; }
.viewer__body { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: clamp(16px, 3vw, 40px); display: flex; flex-direction: column; align-items: center; gap: 20px; }
.viewer__body:focus { outline: none; }
.viewer__page { flex: none; background: #1a1a1a; border-radius: 4px; overflow: hidden; box-shadow: 0 18px 50px rgba(0, 0, 0, .6); }
.viewer__page canvas { display: block; width: 100%; height: 100%; }
.viewer__image { max-width: 100%; max-height: 100%; margin: auto; object-fit: contain; border-radius: 4px; }
.viewer__note { margin: auto; text-align: center; color: var(--soft); line-height: 1.6; }

/* Ring rond de muis */
.ring { position: fixed; top: 0; left: 0; width: 48px; height: 48px; border: 1.5px solid rgba(255, 255, 255, .45); border-radius: 50%; z-index: 9998; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(0); will-change: transform; transition: opacity .4s, border-color .4s; }
@media (hover: none) { .ring { display: none; } }

@media (max-width: 760px) {
  .hero__shade { background: radial-gradient(90% 42% at 50% 0%, #000 30%, rgba(0, 0, 0, 0) 100%), linear-gradient(rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, .72) 80%, #000 100%); }
  .hero__copy { display: none; }
  .hero__nav { order: 3; flex: 1 0 100%; justify-content: center; padding-top: 4px; }
  .hero__mail, .hero__right { min-width: 0; }
  .hero__right { flex: none; }
  .viewer__count { display: none; }
  .footer { font-size: .85rem; }
  .footer__brand { gap: 6px 10px; flex-wrap: wrap; }
  .footer__by { padding-left: 10px; }
}

@media (max-width: 370px) { .footer__by { padding-left: 0; border-left: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ring { display: none; }
  .project__media img, .pill, .tag, .work__arrow { transition: none; }
  .project__link:hover .project__media img { transform: none; }
}

/* Achter de fullscreen-weergave scrolt de pagina niet mee. */
html.has-viewer { overflow: hidden; }
