/* braapstijn.com — dark, condensed, BRAAP yellow */
:root {
  --bg: #141414;
  --panel: #1d1d1d;
  --text: #f2f0ea;
  --muted: #9b988f;
  --line: #2e2e2e;
  --yellow: #f5dc0a;
  --yellow-dark: #f4c900;
  --yellow-light: #f8e842;
  --stripes: linear-gradient(90deg, var(--yellow-dark) 0 33%, var(--yellow) 33% 66%, var(--yellow-light) 66% 100%);
  --head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font: 400 16px/1.55 var(--body); min-height: 100vh; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: var(--yellow); color: #000; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

/* ---------- Logo ---------- */
.logo img { height: 34px; width: auto; }

/* ---------- Home split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.split-photo { position: relative; overflow: hidden; background: #000; }
.split-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.split-panel { background: var(--panel); display: flex; flex-direction: column; padding: 44px clamp(28px, 6vw, 96px); }
.split-panel .logo img { height: 42px; }
.panel-body { margin: auto 0; padding: 48px 0; max-width: 520px; }
.home h1 { font: 600 clamp(48px, 6.4vw, 96px)/0.92 var(--head); text-transform: uppercase; letter-spacing: 0.01em; }
.intro { margin: 18px 0 32px; color: var(--muted); font-size: 17px; max-width: 38ch; }
.buttons { display: grid; gap: 12px; max-width: 360px; }
.btn {
  display: block; text-align: center; padding: 11px 20px; border: 1.5px solid var(--yellow); border-radius: 999px;
  color: var(--yellow); font: 600 14px/1 var(--head); letter-spacing: 0.16em; text-transform: uppercase;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--yellow); color: #000; }

.socials { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.socials a { color: var(--muted); font: 500 13px/1 var(--head); letter-spacing: 0.14em; text-transform: uppercase; }
.socials a:hover { color: var(--yellow); }

/* ---------- Top bar + menu ---------- */
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 20px; padding: 22px clamp(16px, 4vw, 48px); background: linear-gradient(var(--bg) 70%, transparent); }
.menu-btn { width: 30px; height: 22px; background: none; border: 0; cursor: pointer; display: grid; align-content: space-between; position: relative; z-index: 40; }
.menu-btn span { display: block; height: 2px; background: var(--text); transition: transform .25s, opacity .25s; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 30; background: var(--bg); padding: 110px clamp(16px, 8vw, 120px) 40px; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.menu-open .menu { opacity: 1; visibility: visible; }
.menu ul:first-child a { font: 600 clamp(40px, 8vw, 84px)/1.05 var(--head); text-transform: uppercase; }
.menu ul:first-child a:hover { color: var(--yellow); }
.menu-open { overflow: hidden; }

/* ---------- Work list ---------- */
.list-page { padding: 6vh clamp(16px, 10vw, 160px) 80px; min-height: 70vh; }
.project-list li a {
  display: inline-block; font: 600 clamp(34px, 5.6vw, 72px)/1.02 var(--head); text-transform: uppercase;
  letter-spacing: 0.005em; transition: color .15s;
}
.project-list li a:hover, .project-list li a:focus-visible { color: var(--yellow); }
.hover-cover { position: fixed; right: clamp(16px, 6vw, 100px); top: 50%; width: min(34vw, 460px); aspect-ratio: 4/5; transform: translateY(-46%); pointer-events: none; opacity: 0; transition: opacity .2s, transform .3s; z-index: 1; }
.hover-cover img { width: 100%; height: 100%; object-fit: cover; }
.hover-cover.on { opacity: 1; transform: translateY(-50%); }
.project-list { position: relative; z-index: 2; }
.eyebrow { font: 600 14px/1 var(--head); letter-spacing: 0.16em; text-transform: uppercase; color: var(--yellow); margin-bottom: 18px; }
.project-list .soon { display: inline-block; font: 600 clamp(34px, 5.6vw, 72px)/1.02 var(--head); text-transform: uppercase; color: #4a4a4a; }
.project-list .soon small { font: 600 14px/1 var(--head); letter-spacing: 0.16em; color: var(--muted); vertical-align: middle; margin-left: 10px; }
.switch { margin-top: 56px; position: relative; z-index: 2; font: 600 clamp(20px, 2.4vw, 28px)/1 var(--head); text-transform: uppercase; }
.switch a:hover { color: var(--yellow); }
.also { margin-top: 72px; max-width: 640px; position: relative; z-index: 2; }
.also h2, .codes .sub { font: 600 14px/1 var(--head); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.also p { color: var(--muted); }

/* ---------- Codes ---------- */
.codes h1 { font: 600 clamp(44px, 7vw, 88px)/1 var(--head); text-transform: uppercase; margin-bottom: 14px; }
.codes .sub { text-transform: none; letter-spacing: 0; font: 400 17px/1.5 var(--body); margin-bottom: 36px; }
.code-list { max-width: 760px; border-top: 1px solid var(--line); }
.code-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.code-list .name { font: 600 clamp(26px, 3.6vw, 40px)/1.1 var(--head); text-transform: uppercase; }
.code-list .note { color: var(--muted); text-align: right; }
.code-list a:hover .name { color: var(--yellow); }

/* ---------- Project page ---------- */
.project { padding: 8vh clamp(16px, 6vw, 96px) 60px; }
.project-head { max-width: 760px; margin: 0 auto 64px; }
.project h1 { font: 600 clamp(44px, 7vw, 96px)/0.95 var(--head); text-transform: uppercase; margin-bottom: 22px; }
.project-head p { font-size: 17px; font-weight: 500; max-width: 60ch; }
.project-head .links { margin-top: 12px; }
.project-head .links a { color: var(--yellow); font-weight: 600; }
.project-head .links a:hover { text-decoration: underline; }
.gallery { columns: 3 300px; column-gap: 14px; max-width: 1400px; margin: 0 auto; }
.stat { max-width: 760px; margin: -24px auto 88px; }
.stat-nums { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 28px; }
.stat-nums > div { display: flex; flex-direction: column; }
.stat .num { font: 600 clamp(44px, 6vw, 80px)/0.9 var(--head); letter-spacing: 0.01em; }
.stat .num.from { color: var(--muted); }
.stat .num.to, .stat .pct .num { color: var(--yellow); }
.stat .arrow { font: 600 clamp(32px, 4vw, 52px)/1 var(--head); color: var(--muted); padding-bottom: 22px; }
.stat .pct { margin-left: auto; text-align: right; }
.stat .cap { font: 600 13px/1 var(--head); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.bars { margin-top: 22px; display: grid; gap: 8px; }
.bar { height: 10px; width: 0; background: #3a3a3a; transition: width 1.2s cubic-bezier(.2,.7,.2,1); }
.bar.to { background: var(--yellow); }
.stat.in .bar { width: var(--w); }
.sub { max-width: 1400px; margin: 0 auto 88px; }
.sub-head { max-width: 760px; margin: 0 auto 28px; border-top: 1px solid var(--line); padding-top: 28px; }
.sub-head h2 { font: 600 clamp(28px, 3.6vw, 48px)/1 var(--head); text-transform: uppercase; margin-bottom: 12px; }
.sub-head h2::before { content: ''; display: inline-block; width: 6px; height: 0.8em; background: var(--yellow); transform: skewX(-14deg); margin-right: 14px; vertical-align: -0.04em; }
.sub-head p { font-size: 17px; font-weight: 500; max-width: 60ch; }
.gallery.two { columns: 2 300px; max-width: 1100px; }
.shot { display: block; margin-bottom: 14px; break-inside: avoid; cursor: zoom-in; background: #222; }
.shot img { width: 100%; height: auto; transition: opacity .2s; }
.shot:hover img { opacity: .88; }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; max-width: 1200px; margin: 0 auto 14px; }
.videos video { width: 100%; aspect-ratio: 9/16; object-fit: cover; background: #000; }
.playlist { max-width: 1100px; margin: 0 auto 48px; }
.playlist h2 { font: 600 clamp(22px, 2.6vw, 32px)/1.1 var(--head); text-transform: uppercase; margin-bottom: 14px; }
.yt { position: relative; aspect-ratio: 16/9; background: #000; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.next { display: flex; justify-content: space-between; gap: 16px; max-width: 1400px; margin: 72px auto 0; padding-top: 24px; border-top: 1px solid var(--line); font: 600 clamp(18px, 2.4vw, 28px)/1.2 var(--head); text-transform: uppercase; }
.next a:hover { color: var(--yellow); }

.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(10,10,10,.96); display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 92vh; max-width: 94vw; width: auto; }
.lightbox button { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: var(--text); font-size: 40px; line-height: 1; cursor: pointer; }

.foot { display: flex; justify-content: space-between; gap: 16px; padding: 28px clamp(16px, 4vw, 48px); color: var(--muted); font: 500 13px/1 var(--head); letter-spacing: 0.14em; text-transform: uppercase; }
.foot .motto { font-style: italic; }

/* ---------- Phone ---------- */
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split-photo { height: 62vh; min-height: 380px; }
  .split-panel { padding: 32px 16px 36px; }
  .split-panel > .logo { display: none; }
  .panel-body { padding: 0 0 36px; }
  .buttons { max-width: none; }
  .hover-cover { display: none; }
  .list-page { padding-top: 3vh; }
  .project { padding-top: 4vh; }
  .project-head { margin-bottom: 36px; }
  .gallery { columns: 2 140px; column-gap: 8px; }
  .shot { margin-bottom: 8px; }
  .videos { grid-template-columns: 1fr 1fr; gap: 8px; }
  .code-list a { flex-direction: column; gap: 4px; }
  .code-list .note { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.gallery.wide { columns: 1; max-width: 1200px; }
.gallery.wide .shot { margin-bottom: 18px; }
.project h1.has-logo img { height: clamp(64px, 9vw, 110px); width: auto; }
/* Client review */
.quote { max-width: 760px; margin: -24px auto 88px; padding-left: 28px; border-left: 4px solid var(--yellow); }
.quote blockquote p { font-size: 18px; line-height: 1.6; margin-bottom: 14px; }
.quote blockquote p:first-child { font: 600 clamp(26px, 3.4vw, 40px)/1.1 var(--head); text-transform: uppercase; margin-bottom: 22px; }
.quote figcaption { margin-top: 22px; font: 600 14px/1 var(--head); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.quote figcaption strong { color: var(--yellow); }
@media (max-width: 820px) { .quote { padding-left: 18px; margin-top: 0; } .quote blockquote p { font-size: 16px; } }
/* Instagram reel embeds */
.reels { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; max-width: 1100px; margin: -24px auto 88px; }
.reels iframe { width: 100%; max-width: 400px; height: 720px; border: 0; border-radius: 8px; background: #fff; }
.reel-group { max-width: 1100px; margin: -24px auto 88px; }
.reel-group + .reel-group { margin-top: 0; }
.reel-group .eyebrow { text-align: center; }
.reel-group .reels { margin: 0 auto; }
.reel { width: 100%; max-width: 400px; }
.reel iframe { display: block; }
.reel figcaption { margin-top: 10px; text-align: center; font: 600 13px/1 var(--head); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.reel figcaption strong { color: var(--yellow); font-size: 16px; }
.project h1.has-logo.tall img { height: clamp(140px, 16vw, 200px); }
/* four reels in one row on wide screens */
.reel-group { max-width: 1400px; }
.reel-group .reels { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 320px)); justify-content: center; gap: 16px; max-width: none; }
.reel-group .reel { max-width: none; }
.reel-group .reel iframe { max-width: none; height: 600px; }
.project > .stat:last-of-type { margin-top: 0; }
.reel-group .reels { grid-template-columns: repeat(4, minmax(0, 300px)); }
.reel-group .reel { container-type: inline-size; }
.reel-group .reel iframe { height: calc(125cqw + 200px); }
@media (max-width: 1100px) { .reel-group .reels { grid-template-columns: repeat(2, minmax(0, 340px)); } }
@media (max-width: 560px) { .reel-group .reels { grid-template-columns: minmax(0, 400px); } }
/* Mosaic: photo columns that end at the same height */
.mosaic { display: flex; gap: 14px; max-width: 1100px; margin: 0 auto; align-items: flex-start; }
.mosaic .mcol { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.mosaic .shot { margin: 0; }
@media (max-width: 820px) { .mosaic { gap: 8px; } .mosaic .mcol { gap: 8px; } }
.mosaic { align-items: stretch; }
.mosaic .mcol .shot:last-child:not(:first-child) { flex: 1 1 0; min-height: 0; }
.mosaic .mcol .shot:last-child:not(:first-child) img { height: 100%; object-fit: cover; }
.mosaic + .mosaic { margin-top: 14px; } @media (max-width: 820px) { .mosaic + .mosaic { margin-top: 8px; } }
/* Intro with the client logo on the right */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.project-head.with-logo { max-width: 1100px; display: flex; align-items: center; justify-content: space-between; gap: 32px 64px; }
.project-head.with-logo .head-text { max-width: 620px; }
.head-logo { width: auto; height: auto; max-width: 340px; max-height: 110px; flex: none; }
.head-logo.tall { max-height: 200px; }
@media (max-width: 820px) {
  .project-head.with-logo { flex-direction: column-reverse; align-items: flex-start; }
  .head-logo { max-width: 220px; max-height: 72px; }
  .head-logo.tall { max-height: 140px; }
}
/* Key numbers inside a section */
.numbers { max-width: 760px; margin: 0 auto 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.numbers > div { display: flex; flex-direction: column; }
.numbers .num { font: 600 clamp(32px, 4vw, 52px)/0.95 var(--head); color: var(--yellow); }
.numbers .cap { font: 600 12px/1.2 var(--head); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
@media (max-width: 820px) { .numbers { grid-template-columns: repeat(2, 1fr); } }
.credit { max-width: 1300px; margin: 12px auto 0; text-align: center; color: var(--muted); font-size: 13px; }
.sub-head .doc { margin-top: 10px; } .sub-head .doc a { color: var(--yellow); font-weight: 600; } .sub-head .doc a:hover { text-decoration: underline; }
.sub-head a.doc { display: inline-flex; align-items: center; gap: 16px; margin-top: 18px; color: var(--yellow); font-weight: 600; }
.sub-head a.doc img { width: 90px; height: auto; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(0,0,0,.4); transition: transform .2s; }
.sub-head a.doc:hover img { transform: translateY(-3px) rotate(-1deg); }
.sub-head a.doc:hover span { text-decoration: underline; }
/* Section text with the key numbers stacked on the right */
.sub-head.with-numbers { max-width: 1000px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 64px; align-items: start; }
.sub-head.with-numbers .numbers { margin: 0; grid-template-columns: 1fr; gap: 18px; padding-left: 32px; border-left: 1px solid var(--line); }
@media (max-width: 820px) {
  .sub-head.with-numbers { grid-template-columns: 1fr; }
  .sub-head.with-numbers .numbers { grid-template-columns: repeat(2, 1fr); padding-left: 0; border-left: 0; }
}
.sub-head.with-numbers .numbers { grid-template-columns: repeat(2, auto); gap: 0 40px; }
.ngroup { display: flex; flex-direction: column; gap: 16px; }
.ngroup > div { display: flex; flex-direction: column; }
.nyear { font: 600 14px/1 var(--head); letter-spacing: 0.16em; color: var(--text); border-bottom: 2px solid var(--yellow); padding-bottom: 6px; align-self: flex-start; }
@media (max-width: 820px) { .sub-head.with-numbers .numbers { grid-template-columns: repeat(2, 1fr); gap: 0 20px; } }
/* More air between the photos and the reels below them */
.project > .mosaic + .reel-group, .project > .mosaic + .stat { margin-top: 96px; }
.project > .stat + .reel-group { margin-top: 72px; }
@media (max-width: 820px) { .project > .mosaic + .reel-group, .project > .mosaic + .stat { margin-top: 64px; } }
/* Home: "Hi, my name is Stijn and I'm a" + sliding role words */
.home h1.hello .hi { display: block; font: 500 clamp(18px, 1.9vw, 24px)/1.3 var(--body); text-transform: none; letter-spacing: 0; color: var(--muted); margin-bottom: 12px; }
.rotator { display: block; position: relative; height: 1.84em; overflow: hidden; color: var(--yellow); }
.rotator .word { position: absolute; left: 0; top: 0; width: 100%; transform: translateX(105%); opacity: 0; transition: transform .7s cubic-bezier(.7,0,.25,1), opacity .5s; }
.rotator .word.is-on { transform: none; opacity: 1; }
.rotator .word.is-out { transform: translateX(-105%); opacity: 0; }
.rotator .word.no-anim { transition: none; }
/* Text logo: BRAAPSTIJN with the yellow slash */
.wordmark { display: inline-flex; align-items: center; font: italic 700 26px/1 var(--head); letter-spacing: 0.02em; color: var(--text); white-space: nowrap; }
.wordmark::before { content: ''; width: 6px; height: 0.95em; background: var(--yellow); transform: skewX(-14deg); margin-right: 10px; }
.wordmark b { font-weight: 700; color: var(--yellow); }
.split-panel .logo .wordmark { font-size: clamp(30px, 2.6vw, 40px); }
.logo:hover .wordmark { color: var(--yellow); }
.home .hello + .buttons { margin-top: 36px; }
/* Brand stripes: dark, mid, light yellow (like the BRAAPStijn slash) */
.wordmark::before { width: 14px; background: var(--stripes); }
.sub-head h2::before { width: 14px; background: var(--stripes); }
.btn:hover { background: var(--yellow); }
.rotator .word { transition: transform 1.1s cubic-bezier(.65,0,.25,1), opacity .8s; }
.split-photo noscript img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home h1.hello .hi { font: 600 clamp(18px, 1.9vw, 24px)/1.2 var(--head); text-transform: uppercase; letter-spacing: 0.08em; }
.rotator .word { white-space: nowrap; }
/* Contact: details left, photo right */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 48px clamp(32px, 6vw, 96px); align-items: center; }
.contact .code-list { max-width: none; }
.contact-photo img { width: 100%; height: auto; max-height: 78vh; object-fit: cover; }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; } .contact-photo { order: -1; } .contact-photo img { max-height: 60vh; } }
.code-list a.phone:not(.shown) .note { font-style: italic; }
.code-list.apart { margin-top: 56px; }
/* YouTube videos inside a section */
.yt-grid { max-width: 1100px; margin: 0 auto 32px; display: grid; gap: 20px; }
.yt-grid.two { grid-template-columns: 1fr 1fr; max-width: 1300px; }
.yt-one figcaption { margin-top: 10px; font: 600 13px/1 var(--head); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 820px) { .yt-grid.two { grid-template-columns: 1fr; } }
.yt-grid.small { max-width: 720px; }
.mosaic .ytile { position: relative; aspect-ratio: 16 / 9; background: #000; cursor: default; }
.mosaic .ytile iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.credit a { color: var(--yellow); } .credit a:hover { text-decoration: underline; }
/* Home: big text links like the menu, instead of pill buttons */
.home .buttons { display: block; max-width: none; }
.home .buttons .btn { display: inline-block; padding: 0; border: 0; border-radius: 0; text-align: left; color: var(--text); font: 600 clamp(34px, 3.8vw, 56px)/1.08 var(--head); letter-spacing: 0.01em; transition: color .2s; }
.home .buttons .btn:hover { background: none; color: var(--yellow); }
.home .hello + .buttons { margin-top: 40px; }
.home .buttons li.gap { margin-top: clamp(18px, 2.2vw, 32px); }
.home .buttons li.small .btn { font-size: clamp(26px, 2.8vw, 40px); }
