/* Sylke & Dyan — portfolio
   Lettertypen staan lokaal in assets/fonts (open licentie). */

@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda-italic.woff2") format("woff2"); font-weight: 400 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost.woff2") format("woff2"); font-weight: 300 500; font-style: normal; font-display: swap; }

:root {
  --offwhite: #FBF8F2;
  --cream: #F6F1E8;
  --beige: #E7DCCB;
  --taupe: #9C8B7B;
  --taupe-dark: #6E5E51;
  --choc: #3A281D;
  --choc-deep: #2A1C14;
  --black: #15100C;
  --serif: "Bodoni Moda", Didot, "Bodoni 72", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 64px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sec: clamp(88px, 12vw, 176px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body { margin: 0; background: var(--cream); color: var(--choc); font: 300 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.menu-open { overflow: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ol, ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
i { font-style: italic; }
::selection { background: var(--choc); color: var(--cream); }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--choc); color: var(--cream); padding: 8px 14px; }
.wrap { max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--sec) 0; }

/* Typografie */
.eyebrow { display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; color: var(--taupe-dark); }
/* De dubbele lijn: ons tweeling-teken, door de hele site heen */
.rule { display: inline-block; width: 34px; height: 5px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; flex: none; }
.h-xl, .h-lg { font-family: var(--serif); font-weight: 500; line-height: .98; letter-spacing: -.015em; font-optical-sizing: auto; }
.h-xl { font-size: clamp(60px, 11vw, 176px); }
.h-lg { font-size: clamp(44px, 6.4vw, 96px); }
.h-xl i, .h-lg i { font-weight: 500; }
/* Stevigere dunne lijnen in grote koppen: dichter bij Didot Bold en beter leesbaar */
.h-xl, .h-lg, .hero__title, .contact__title, .duo__text, .lead, .hero__role { font-optical-sizing: none; font-variation-settings: "opsz" 30; }
.h-xl, .h-lg, .hero__title, .contact__title, .duo__text { font-weight: 600; }

/* Knop: bij aanwijzen schuift er een 'tweeling' van de omlijning uit */
.btn { position: relative; display: inline-block; padding: 18px 34px; background: var(--choc); color: var(--cream); font-size: 12px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; transition: background .4s var(--ease); }
.btn::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--choc); transition: transform .5s var(--ease); pointer-events: none; }
.btn:hover::after, .btn:focus-visible::after { transform: translate(7px, 7px); }
.btn--light { background: var(--cream); color: var(--choc-deep); }
.btn--light::after { border-color: var(--cream); }

/* Tweelinglijnen langs de rand */
.twinline { position: fixed; top: 0; bottom: 0; width: 1px; z-index: 30; pointer-events: none; }
.twinline span { display: block; height: 100%; background: var(--taupe); transform: scaleY(0); }
.twinline--l { left: 14px; }
.twinline--l span { transform-origin: top; }
.twinline--r { right: 14px; }
.twinline--r span { transform-origin: bottom; }

/* Navigatie */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; justify-content: space-between; align-items: center; padding: 18px var(--gutter); background: rgba(251, 248, 242, .94); transition: background .4s, padding .4s, color .4s; }
.nav--solid { background: rgba(246, 241, 232, .93); padding-top: 12px; padding-bottom: 12px; }
.nav--dark { color: var(--cream); background: rgba(42, 28, 20, .93); }
.nav__mark { font: 500 22px/1 var(--serif); text-decoration: none; letter-spacing: .02em; }
.nav__mark i { font-weight: 400; padding: 0 1px; }
.nav__links { display: flex; gap: clamp(20px, 3vw, 44px); }
.nav__links a { position: relative; font-size: 12px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; padding: 6px 0; }
/* Twee puntjes onder het actieve menu-item */
.nav__links a::after { content: ""; position: absolute; left: 50%; bottom: -3px; width: 10px; height: 3px; margin-left: -5px; opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle at 1.5px 1.5px, currentColor 1.4px, transparent 1.6px) 0 0/7px 3px repeat-x; }
.nav__links a.is-on::after, .nav__links a:hover::after { opacity: 1; }
.nav__toggle { display: none; font-size: 12px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; padding: 8px 0; }

.overlay { position: fixed; inset: 0; z-index: 40; background: var(--cream); display: flex; align-items: center; padding: 0 var(--gutter); }
.overlay[hidden] { display: none; }
.overlay a { display: block; font: 500 clamp(40px, 12vw, 64px)/1.25 var(--serif); text-decoration: none; }

/* Hero */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 48fr) minmax(0, 52fr); min-height: 100svh; background: var(--offwhite); }
.hero__text { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: 110px 0 clamp(40px, 7vh, 80px) var(--gutter); }
.hero__eyebrow { margin-bottom: auto; }
.hero__title { font: 600 clamp(76px, 10.8vw, 196px)/.92 var(--serif); letter-spacing: -.02em; margin: 40px 0 clamp(36px, 3.6vw, 56px); white-space: nowrap; }
.hero__name { display: block; }
.hero__name--b { margin-left: .42em; }
.hero__name--b i { font-weight: 500; }
.hero__role { font: italic 400 clamp(20px, 1.9vw, 30px)/1.25 var(--serif); margin-bottom: 14px; }
.hero__sub { max-width: 27em; margin-bottom: 32px; color: var(--taupe-dark); }
.hero__image { position: relative; overflow: hidden; background: var(--beige); }
.hero__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }

/* Bij het laden schuiven de twee namen naar elkaar toe */
.js .hero__name--a { animation: fromLeft 1.2s var(--ease) both; }
.js .hero__name--b { animation: fromRight 1.2s var(--ease) both; }
.js .hero__image img { animation: settle 1.8s var(--ease) both; }
@keyframes fromLeft { from { opacity: 0; transform: translateX(-.25em); } }
@keyframes fromRight { from { opacity: 0; transform: translateX(.25em); } }
@keyframes settle { from { opacity: 0; transform: scale(1.04); } }

/* Scroll reveals */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Our Work */
.work { background: var(--cream); }
.work__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 18px 24px; margin-bottom: clamp(44px, 6vw, 88px); }
.work__head .eyebrow { grid-column: 1 / -1; }
.work__count { font-size: 14px; color: var(--taupe-dark); padding-bottom: 1.2em; }
.filters { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 36px; }
.filters[hidden] { display: none; }
.filter { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe-dark); padding-bottom: 4px; border-bottom: 1px solid transparent; }
.filter.is-on { color: var(--choc); border-color: currentColor; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 48px); row-gap: clamp(40px, 5vw, 72px); }
.grid > :nth-child(3n + 2) { margin-top: clamp(40px, 6vw, 96px); }
.vcard[hidden] { display: none; }

.vframe { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: var(--choc-deep); cursor: pointer; }
.vposter { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform 1.2s var(--ease); }
.vvideo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--choc-deep); }
.vframe:not(.is-live) .vvideo { visibility: hidden; }
.vframe.is-live .vposter { opacity: 0; }
.vframe:hover .vposter { transform: scale(1.025); }

.vtag { position: absolute; top: 16px; left: 16px; z-index: 2; padding: 5px 10px 4px; background: rgba(251, 248, 242, .94); color: var(--choc); font-size: 10.5px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; transition: opacity .3s; }
.vplay { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; width: 100%; transition: opacity .3s; }
.vplay__ring { display: flex; align-items: center; justify-content: center; width: 74px; height: 74px; border-radius: 50%; background: rgba(251, 248, 242, .94); color: var(--choc); transition: transform .5s var(--ease), box-shadow .5s var(--ease); box-shadow: 0 0 0 0 rgba(251, 248, 242, 0); }
.vplay__ring svg { width: 28px; height: 28px; margin-left: 2px; }
.vframe:hover .vplay__ring, .vplay:focus-visible .vplay__ring { transform: scale(1.06); box-shadow: 0 0 0 7px rgba(251, 248, 242, .3); }

.vframe[data-state="playing"] .vplay,
.vframe[data-state="playing"] .vtag { opacity: 0; pointer-events: none; }
.vframe[data-state="preview"] .vplay__ring { transform: scale(.82); }
.vframe[data-state="preview"] .vtag { opacity: 1; }

.vload { position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px; z-index: 2; border: 1px solid rgba(251,248,242,.35); border-top-color: var(--offwhite); border-radius: 50%; opacity: 0; pointer-events: none; }
.vframe[data-state="playing"].is-loading .vload { opacity: 1; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.vbar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 30px 12px 10px; color: var(--offwhite); background: linear-gradient(to top, rgba(21, 16, 12, .72), rgba(21, 16, 12, 0)); opacity: 0; pointer-events: none; transition: opacity .3s; }
.vframe[data-state="playing"] .vbar, .vframe[data-state="paused"] .vbar { opacity: 1; pointer-events: auto; }
.vbtn { flex: none; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; }
.vbtn svg { width: 22px; height: 22px; pointer-events: none; }
.vtime { flex: none; font-size: 12px; font-variant-numeric: tabular-nums; min-width: 2.4em; }
.vseek { flex: 1 1 auto; min-width: 0; height: 24px; margin: 0; background: none; -webkit-appearance: none; appearance: none; cursor: pointer; --p: 0%; }
.vseek::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(to right, var(--offwhite) var(--p), rgba(251,248,242,.35) var(--p)); }
.vseek::-moz-range-track { height: 2px; background: rgba(251,248,242,.35); }
.vseek::-moz-range-progress { height: 2px; background: var(--offwhite); }
.vseek::-webkit-slider-thumb { -webkit-appearance: none; width: 10px; height: 10px; margin-top: -4px; border-radius: 50%; background: var(--offwhite); }
.vseek::-moz-range-thumb { width: 10px; height: 10px; border: 0; border-radius: 50%; background: var(--offwhite); }

.vframe:fullscreen { background: var(--black); width: 100%; height: 100%; aspect-ratio: auto; }
.vframe:fullscreen .vposter { object-fit: contain; }

.vcap { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding-top: 16px; }
.vcap__num { grid-row: 1 / 3; font-size: 12px; letter-spacing: .1em; color: var(--taupe-dark); padding-top: .6em; }
.vcap h3 { font: 500 clamp(22px, 2vw, 30px)/1.15 var(--serif); }
.vcap p { font-size: 14px; color: var(--taupe-dark); }

.vinvite { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 9 / 16; padding: clamp(20px, 3vw, 40px); background: var(--beige); text-decoration: none; overflow: hidden; align-self: start; }
.vinvite__amp { position: absolute; top: -.1em; right: -.02em; font: italic 400 clamp(200px, 26vw, 400px)/1 var(--serif); color: var(--offwhite); transition: transform 1.2s var(--ease); }
.vinvite:hover .vinvite__amp { transform: translate(-10px, 10px); }
.vinvite__text { position: relative; font: 500 clamp(30px, 3.4vw, 52px)/1.05 var(--serif); margin-bottom: 18px; }
.vinvite__text i { font-weight: 400; }
.vinvite__link { position: relative; font-size: 12px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; }

/* Echo: een dunne tweede omlijning die bij aanwijzen zichtbaar wordt */
.echo { position: relative; }
.echo::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--taupe); pointer-events: none; transition: transform .7s var(--ease), opacity .7s; opacity: 0; }

/* About */
.about { background: var(--offwhite); }
.about__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 8vw, 128px); align-items: center; }
.about__image::after { opacity: 1; transform: translate(14px, 14px); }
.about__image img { position: relative; width: 100%; }
.about__text .h-lg { margin: 26px 0 34px; }
.about__text p + p { margin-top: 1em; }
.about__text p:not(.eyebrow) { max-width: 33em; }
.lead { font: italic 400 clamp(22px, 2.1vw, 30px)/1.35 var(--serif); margin-bottom: 1.2em; }

/* Photography */
.photo { background: var(--cream); }
.photo__head { margin-bottom: clamp(44px, 6vw, 88px); display: grid; gap: 18px; }
.mosaic { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 48px); align-items: start; }
.mosaic__col { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: clamp(28px, 3vw, 48px) 0; }
.mosaic__col:nth-child(2) { padding-top: clamp(40px, 8vw, 128px); }
.shot { width: var(--w, 100%); }
.shot--end { margin-left: auto; }
.shot__img { overflow: hidden; background: var(--beige); }
.shot__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.shot:hover .shot__img img { transform: scale(1.02); }
.shot figcaption { padding-top: 10px; font-size: 12px; letter-spacing: .06em; color: var(--taupe-dark); }
.shot:hover.echo::after { opacity: 1; transform: translate(8px, 8px); }

/* Services */
.services { background: var(--offwhite); }

.duo { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 10px 24px; margin-top: clamp(64px, 8vw, 120px); text-align: center; }
.duo__label { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--taupe-dark); text-align: left; }
.duo__label--r { text-align: right; }
.duo__text { font: 500 clamp(40px, 7vw, 104px)/1.02 var(--serif); letter-spacing: -.01em; }
.duo__text i { font-weight: 400; }
.duo__note { grid-column: 1 / -1; max-width: 34em; margin: 12px auto 0; color: var(--taupe-dark); }

/* Experience */
.exp { background: var(--beige); }
.exp__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(48px, 8vw, 128px); align-items: start; }
.exp__own .h-lg { margin: 24px 0 28px; font-size: clamp(40px, 5.8vw, 88px); overflow-wrap: anywhere; }
.exp__claim { font: italic 400 clamp(24px, 2.6vw, 38px)/1.2 var(--serif); margin-bottom: 16px; }
.exp__own p:last-child { max-width: 30em; color: var(--taupe-dark); }
.exp .eyebrow { color: var(--taupe-dark); }
.bgroup { margin-top: 28px; }
.bgroup__title { font: 400 13px/1.4 var(--sans); color: var(--taupe-dark); margin-bottom: 8px; }
.blist li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(58, 40, 29, .22); }
.blist li:last-child { border-bottom: 1px solid rgba(58, 40, 29, .22); }
.blist__name { font: 500 clamp(22px, 2.2vw, 30px)/1.15 var(--serif); }
.blist__kind { flex: none; font-size: 13px; color: var(--taupe-dark); }
.blist img { max-height: 28px; width: auto; }

.review { margin: clamp(64px, 8vw, 120px) 0 0; padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid rgba(58, 40, 29, .22); }
.review p { max-width: 24em; font: italic 500 clamp(28px, 4vw, 56px)/1.18 var(--serif); font-optical-sizing: none; font-variation-settings: "opsz" 30; }
.review footer { display: flex; align-items: center; gap: 14px; margin-top: 28px; font-size: 13px; letter-spacing: .08em; color: var(--taupe-dark); }

.grid.is-filtered > :nth-child(n) { margin-top: 0; }
.grid.is-filtered .vinvite { display: none; }

/* Contact */
.contact { position: relative; overflow: hidden; background: var(--choc-deep); color: var(--cream); padding-top: var(--sec); }
.contact__amp { position: absolute; top: -.18em; right: -.04em; font: italic 400 clamp(380px, 62vw, 1000px)/1 var(--serif); color: rgba(246, 241, 232, .045); pointer-events: none; user-select: none; }
.contact__inner { position: relative; padding-bottom: var(--sec); }
.contact__title { font: 500 clamp(52px, 10vw, 168px)/.98 var(--serif); letter-spacing: -.015em; margin-bottom: 36px; }
.contact__title i { font-weight: 400; }
.contact__sub { max-width: 28em; font-size: clamp(17px, 1.5vw, 21px); margin-bottom: 40px; color: var(--beige); }
.contact__mail { margin-top: 34px; }
.contact__mail a { font: italic 400 clamp(20px, 2vw, 28px)/1.3 var(--serif); text-decoration: none; border-bottom: 1px solid rgba(246,241,232,.35); transition: border-color .3s; overflow-wrap: anywhere; }
.contact__mail a:hover { border-color: var(--cream); }
.contact__social { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 26px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.contact__social[hidden] { display: none; }
.foot { position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 26px; font-size: 13px; color: var(--beige); }
.foot::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 5px; border-top: 1px solid rgba(246,241,232,.25); border-bottom: 1px solid rgba(246,241,232,.25); }
.foot a { text-decoration: none; }

/* Tablet */
@media (max-width: 1040px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid > :nth-child(3n + 2) { margin-top: 0; }
  .grid > :nth-child(2n) { margin-top: clamp(40px, 8vw, 80px); }
  .vinvite { aspect-ratio: auto; min-height: 340px; }
}

/* Telefoon en smal tablet: hero onder elkaar */
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .twinline { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__text { padding: 92px var(--gutter) 36px; }
  .hero__eyebrow { margin-bottom: 0; }
  .hero__title { font-size: clamp(60px, 21vw, 180px); margin-top: 28px; }
  .hero__name--b { margin-left: .28em; }
  .hero__image { aspect-ratio: 1 / 1.05; }
  .hero__image img { object-position: 50% 50%; }
  .about__grid, .exp__grid { grid-template-columns: 1fr; }
  .about__image { margin-right: 14px; }
  .work__head { grid-template-columns: 1fr; }
  .work__count { padding-bottom: 0; }
}

/* Telefoon: video's als veeg-rij, zodat ze groot in beeld blijven */
@media (max-width: 680px) {
  body { font-size: 16px; }
  .grid { display: flex; gap: 14px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .grid::-webkit-scrollbar { display: none; }
  .grid > :nth-child(n) { flex: 0 0 min(80vw, 340px); margin-top: 0; scroll-snap-align: start; }
  .js .grid .reveal { opacity: 1; transform: none; }
  .vinvite { aspect-ratio: 9 / 16; }
  .vplay__ring { width: 64px; height: 64px; }
  .mosaic { grid-template-columns: 1fr; }
  .mosaic__col:nth-child(2) { padding-top: 0; }
  .duo { grid-template-columns: 1fr 1fr; }
  .duo__text { grid-column: 1 / -1; grid-row: 2; }
  .duo__label--r { grid-row: 1; grid-column: 2; }
  .foot__mid { display: none; }
  .vinvite__amp { font-size: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Services: één UGC-aanbod */
.ugc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 8vw, 128px); align-items: start; }
.ugc header { display: grid; gap: 18px; }
.ugc__text p:not(.lead) { max-width: 33em; color: var(--taupe-dark); }
.ugc__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; margin-top: 36px; border-top: 1px solid var(--beige); }
.ugc__list li { padding: 11px 0; border-bottom: 1px solid var(--beige); font-size: 15px; }
@media (max-width: 860px) { .ugc { grid-template-columns: 1fr; } }
