/* StudioDijk — Architect-portfolio (donker, brons, chic) */
@font-face {
  font-family: 'Sora';
  src: url("../assets/fonts/sora.ttf") format('truetype-variations'),
       url("../assets/fonts/sora.ttf") format('truetype');
  font-weight: 100 800; font-style: normal; font-display: swap;
}
:root {
  --bg: #0A0A0A; --ink: #F5F2EC; --muted: #8A877F; --soft: #B9B6AE;
  --bronze: #A56E33; --line: rgba(255,255,255,0.10);
  --grad: linear-gradient(100deg,#8A5A28,#A56E33 42%,#C5934B);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Sora', system-ui, sans-serif; background: var(--bg); color: var(--ink);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
::selection { background: var(--bronze); color: #fff; }

/* ── beweging ── */
@keyframes sdReveal { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes sdParallax { from { transform: scale(1.16) translateY(-5%); } to { transform: scale(1.16) translateY(5%); } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    [data-reveal] { animation: sdReveal linear both; animation-timeline: view(); animation-range: entry 3% cover 24%; }
    [data-parallax] { animation: sdParallax linear both; animation-timeline: view(); animation-range: cover; }
  }
}

/* ── details: grain, cursor, progress ── */
.grain { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%27180%27 height=%27180%27%3E%3Cfilter id=%27n%27%3E%3CfeTurbulence type=%27fractalNoise%27 baseFrequency=%270.85%27 numOctaves=%272%27 stitchTiles=%27stitch%27/%3E%3C/filter%3E%3Crect width=%27100%25%27 height=%27100%25%27 filter=%27url(%23n)%27/%3E%3C/svg%3E");
  background-size: 180px 180px; }
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 120; background: var(--grad); }
.cursor { position: fixed; top: 0; left: 0; width: 26px; height: 26px; border: 1px solid var(--bronze); border-radius: 50%;
  transform: translate(-50%,-50%); pointer-events: none; z-index: 110; opacity: 0;
  transition: opacity .3s ease, width .25s ease, height .25s ease, background .25s ease; }
@media (hover: none) { .cursor { display: none; } }

/* ── lightbox ── */
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center;
  padding: clamp(16px,4vw,72px); background: rgba(8,8,8,0.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .35s ease; }
.lightbox.open { display: flex; opacity: 1; }
.lightbox-img { max-width: 100%; max-height: 86vh; object-fit: contain; border-radius: 3px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6); transform: scale(0.96); transition: transform .4s cubic-bezier(0.16,1,0.3,1); }
.lightbox.open .lightbox-img { transform: none; }
.lb-cap { position: absolute; left: 0; right: 0; bottom: clamp(18px,3vw,32px); text-align: center;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); }
.lb-cap b { color: var(--bronze); font-weight: 600; }
.lb-count { display: block; margin-top: 6px; font-size: 10px; letter-spacing: 0.2em; color: var(--muted); }
.lb-btn { position: absolute; background: none; border: 1px solid var(--line); color: var(--ink); cursor: pointer;
  width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 18px; line-height: 1; transition: border-color .25s ease, background .25s ease; -webkit-tap-highlight-color: transparent; }
.lb-btn:hover { border-color: var(--bronze); background: rgba(165,110,51,0.12); }
.lb-close { top: clamp(16px,3vw,28px); right: clamp(16px,3vw,28px); }
.lb-prev { left: clamp(12px,2vw,28px); top: 50%; transform: translateY(-50%); }
.lb-next { right: clamp(12px,2vw,28px); top: 50%; transform: translateY(-50%); }
@media (max-width: 760px) {
  .lb-prev { left: 12px; } .lb-next { right: 12px; }
  .lb-btn { width: 42px; height: 42px; }
}

/* ── nav ── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 80; display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(24px,5vw,72px); transition: background .4s ease, padding .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(10,10,10,0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding-top: 16px; padding-bottom: 16px; border-color: var(--line); }
.nav-logo { font-family: Georgia,'Times New Roman',serif; font-style: italic; font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }
.nav-logo span { color: var(--bronze); }
.nav-links { display: flex; align-items: center; gap: clamp(18px,2.4vw,36px); }
.nav-links a { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); position: relative; transition: color .25s ease; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0; background: var(--bronze); transition: width .3s cubic-bezier(0.16,1,0.3,1); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-alt { color: var(--bronze) !important; }

/* ── hero ── */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: grayscale(20%); }
.hero-overlay { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.55), rgba(10,10,10,0.25) 40%, rgba(10,10,10,0.95)); }
.hero-inner { position: relative; z-index: 2; padding: clamp(48px,6vw,104px) clamp(24px,5vw,72px); max-width: 1100px; }
.eyebrow { display: inline-block; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bronze); }
.hero h1 { font-family: 'Sora'; font-weight: 600; font-size: clamp(44px,7.5vw,120px); line-height: 0.94; letter-spacing: -0.035em; margin: 22px 0 0; }
.hero p { font-size: clamp(16px,1.6vw,20px); font-weight: 300; color: var(--soft); max-width: 46ch; margin: 26px 0 0; line-height: 1.55; }
.hero-cue { display: inline-flex; align-items: center; gap: 14px; margin-top: clamp(32px,4vw,48px);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
.cue-line { width: 46px; height: 1px; background: var(--bronze); transition: width .5s cubic-bezier(0.16,1,0.3,1); }
.hero-cue:hover .cue-line { width: 78px; }

/* ── werk ── */
.werk { padding: clamp(72px,9vw,140px) clamp(24px,5vw,72px); }
.werk-head { margin-bottom: clamp(36px,5vw,64px); }
.werk-head h2 { font-family: 'Sora'; font-weight: 600; font-size: clamp(40px,6vw,88px); letter-spacing: -0.03em; line-height: 1; margin-top: 12px; }
.img-wrap { overflow: hidden; background: #141312; border-radius: 3px; }
.img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 1000ms cubic-bezier(0.16,1,0.3,1), filter 900ms ease; filter: grayscale(18%); }
figure:hover .img-wrap img { transform: scale(1.045); filter: grayscale(0%); }
figure { position: relative; }
.feature { margin: 0 0 clamp(20px,3vw,40px); }
.feature .img-wrap { aspect-ratio: 16/9; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px,3vw,40px); margin-bottom: clamp(20px,3vw,40px); }
.pair .img-wrap { aspect-ratio: 3/2; }
.pair--offset figure:last-child { margin-top: clamp(24px,5vw,80px); }
/* drie naast elkaar */
.trio { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(16px,2.4vw,32px); margin-bottom: clamp(20px,3vw,40px); }
.trio .img-wrap { aspect-ratio: 3/4; }
.pair--tall .img-wrap { aspect-ratio: 2/3; }
/* staande, uitgelichte foto — gecentreerd */
.portrait-feature { display: flex; justify-content: center; margin: 0 0 clamp(20px,3vw,40px); }
.portrait-feature figure { width: 100%; max-width: clamp(320px,44vw,580px); }
.portrait-feature .img-wrap { aspect-ratio: 2/3; }
/* klikbaar → opent lightbox */
.img-wrap { cursor: pointer; }
@media (hover: none) { .img-wrap { cursor: default; } }
.cap { position: absolute; left: 0; bottom: 0; z-index: 2; padding: 16px 18px;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
  opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .4s ease; text-shadow: 0 1px 12px rgba(0,0,0,0.6); }
.cap b { color: var(--bronze); font-weight: 600; margin-right: 8px; }
figure:hover .cap { opacity: 1; transform: none; }

/* ── benadering ── */
.approach { padding: clamp(72px,9vw,140px) clamp(24px,5vw,72px); border-top: 1px solid var(--line); }
.approach h2 { font-family: 'Sora'; font-weight: 300; font-size: clamp(28px,3.8vw,52px); line-height: 1.2; letter-spacing: -0.02em; margin: 18px 0 clamp(44px,6vw,72px); max-width: 20ch; }
.approach-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(28px,4vw,56px); border-top: 1px solid var(--line); padding-top: clamp(32px,4vw,48px); }
.approach-grid h3 { font-family: 'Sora'; font-weight: 500; font-size: clamp(22px,2.4vw,30px); margin-bottom: 14px; }
.approach-grid .n { font-size: 11px; letter-spacing: 0.16em; color: var(--bronze); margin-bottom: 18px; display: block; }
.approach-grid p { font-size: 15px; font-weight: 300; line-height: 1.65; color: var(--soft); }

/* ── band (parallax-statement) ── */
.band { position: relative; height: clamp(340px,48vw,600px); overflow: hidden; }
.band-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: grayscale(25%); }
.band::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 120% at 50% 45%, rgba(10,10,10,0.35), rgba(10,10,10,0.85)); }
.band-inner { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; padding: clamp(28px,5vw,80px); }
.band-inner p { font-family: 'Sora'; font-weight: 300; font-size: clamp(24px,3.4vw,48px); line-height: 1.18; letter-spacing: -0.02em; max-width: 20ch; text-shadow: 0 2px 24px rgba(0,0,0,0.55); }

/* ── contact ── */
.contact { padding: clamp(80px,10vw,160px) clamp(24px,5vw,72px); }
.contact h2 { font-family: 'Sora'; font-weight: 600; font-size: clamp(44px,7vw,104px); line-height: 0.98; letter-spacing: -0.03em; margin: 18px 0 clamp(40px,5vw,64px); }
.contact-info { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.contact-info a[href^="mailto"] { font-family: 'Sora'; font-size: clamp(24px,3vw,40px); font-weight: 400; border-bottom: 1px solid rgba(245,242,236,0.4); padding-bottom: 8px; transition: border-color .25s ease; }
.contact-info a[href^="mailto"]:hover { border-color: var(--bronze); }
.contact-info span { font-size: 15px; font-weight: 300; color: var(--soft); }

/* ── footer ── */
.foot { border-top: 1px solid var(--line); padding: clamp(36px,4vw,52px) clamp(24px,5vw,72px);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 11px; letter-spacing: 0.08em; color: var(--muted); }
.foot-logo { font-family: Georgia,'Times New Roman',serif; font-style: italic; font-weight: 600; color: var(--ink); font-size: 16px; }
.foot-logo span { color: var(--bronze); }
.foot a { border-bottom: 1px solid rgba(138,135,127,0.4); transition: color .2s ease; }
.foot a:hover { color: var(--ink); }

/* ── responsive ── */
@media (max-width: 760px) {
  .nav-links a:not(.nav-alt):not([href="#contact"]) { display: none; }
  .pair { grid-template-columns: 1fr; }
  .pair--offset figure:last-child { margin-top: 0; }
  .trio { grid-template-columns: 1fr; }
  .trio .img-wrap { aspect-ratio: 3/2; }
  .portrait-feature figure { max-width: 100%; }
  .approach-grid { grid-template-columns: 1fr; gap: 32px; }
  .feature .img-wrap { aspect-ratio: 4/3; }
}
