/* Wouter Vandenbranden Art — eigen build, geen builder
   ================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bad+Script&family=Raleway:wght@300;400;500;600&display=swap');

:root{
  --bg: #0a0908;
  --bg-panel: #121110;
  --nav-bg: #1b1a15;
  --gold: #e6bf5c;
  --gold-soft: #cda44a;
  --text: #d8cdb4;
  --text-dim: #9c9585;
  --white: #f3efe6;
  --line: rgba(230,191,92,0.25);
  --max: 1240px;
  --radius: 2px;
  --speed: .35s;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *,*::before,*::after{ animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
h1,h2,h3{ margin: 0; font-weight: 400; }

.script{
  font-family: 'Bad Script', cursive;
  color: var(--gold);
  line-height: 1;
}

.container{ max-width: var(--max); margin: 0 auto; padding: 0 32px; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Header ---------- */
header{
  position: sticky; top: 0; z-index: 100;
  background: var(--nav-bg);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-wrap{
  max-width: var(--max); margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
}
.brand{ display: flex; align-items: center; gap: 12px; }
.brand img{ height: 56px; width: auto; }
.brand-name{ font-family: 'Bad Script', cursive; font-size: 1.4rem; color: var(--gold); }

nav.primary{ display: flex; gap: 36px; }
nav.primary a{
  font-size: .95rem; letter-spacing: .02em; color: var(--white);
  padding: 6px 2px; border-bottom: 1px solid transparent;
  transition: color var(--speed), border-color var(--speed);
}
nav.primary a:hover, nav.primary a.active{ color: var(--gold); border-color: var(--gold); }

.hamburger{
  display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px;
}
.hamburger span{ width: 26px; height: 2px; background: var(--gold); display: block; }

@media (max-width: 860px){
  nav.primary{
    position: fixed; inset: 84px 0 0 0; height: calc(100vh - 84px);
    background: var(--nav-bg); flex-direction: column; align-items: flex-start;
    padding: 32px; gap: 26px; transform: translateX(100%);
    transition: transform var(--speed) ease;
  }
  nav.primary.open{ transform: translateX(0); }
  nav.primary a{ font-size: 1.2rem; }
  .hamburger{ display: flex; }
}

/* ---------- Hero ---------- */
.hero{
  position: relative; min-height: 88vh; display: flex; align-items: center;
  background-size: cover; background-position: center 62%;
  background-color: #050504;
}
.hero::after{
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5,5,4,.92) 0%, rgba(5,5,4,.55) 45%, rgba(5,5,4,.15) 100%);
}
.hero-content{ position: relative; z-index: 1; padding: 0 32px; max-width: var(--max); margin: 0 auto; width: 100%; }
.hero h1{ font-size: clamp(2.6rem, 6vw, 4.6rem); }
.hero p{ color: var(--text); margin: 18px 0 30px; font-size: 1.1rem; max-width: 40ch; }

.btn{
  display: inline-block; background: var(--gold); color: #1a1608; font-weight: 500;
  padding: 14px 34px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: 'Raleway', sans-serif; font-size: .95rem; letter-spacing: .02em;
  transition: transform var(--speed), background var(--speed);
}
.btn:hover{ background: var(--white); transform: translateY(-2px); }
.btn.ghost{ background: transparent; border: 1px solid var(--gold); color: var(--gold); }

/* ---------- Section shell ---------- */
section{ padding: 110px 0; }
section.alt{ background: var(--bg-panel); }
.section-head{ margin-bottom: 54px; }
.section-dot{
  width: 20px; height: 20px; border-radius: 50%; background: var(--gold); margin-bottom: 18px;
}
.section-head h2{ font-family: 'Bad Script', cursive; color: var(--gold); font-size: 3rem; }
.section-rule{ height: 2px; background: var(--gold); margin-top: 18px; width: 100%; opacity: .8; }

/* ---------- Portfolio (accordion per jaar) ---------- */
.year-block{ border-bottom: 1px solid var(--line); }
.year-toggle{
  width: 100%; background: none; border: 0; color: var(--white); cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 0; font-family: 'Bad Script', cursive; font-size: 2.2rem; color: var(--white);
}
.year-toggle .chev{
  font-family: 'Raleway', sans-serif; font-size: 1rem; color: var(--gold);
  transition: transform var(--speed);
}
.year-toggle[aria-expanded="true"] .chev{ transform: rotate(180deg); }
.year-toggle[aria-expanded="true"]{ color: var(--gold); }

.year-panel{
  max-height: 0; overflow: hidden; transition: max-height .5s ease;
}
.year-grid{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  padding: 6px 0 40px;
}
@media (max-width: 900px){ .year-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .year-grid{ grid-template-columns: 1fr; } }

.piece{
  position: relative; aspect-ratio: 4/5; overflow: hidden; background: #0d0c0a;
  border-radius: var(--radius);
}
.piece img{
  width: 100%; height: 100%; object-fit: contain; object-position: center;
  transition: transform .6s ease;
}
.piece:hover img{ transform: scale(1.06); }
.piece-label{
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px;
  background: linear-gradient(0deg, rgba(0,0,0,.75), transparent);
  opacity: 0; transition: opacity var(--speed);
  font-size: .9rem; color: var(--white); letter-spacing: .02em;
}
.piece:hover .piece-label{ opacity: 1; }
.piece-link{ position: absolute; inset: 0; z-index: 2; }
.piece-zoom{
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.55);
  border: 1px solid var(--line); color: var(--gold); display: flex; align-items: center; justify-content: center;
  font-size: 1rem; cursor: pointer;
}

/* ---------- Expo (volledig open) ---------- */
.expo-year{ margin-bottom: 30px; }
.expo-year h3{ color: var(--white); font-family: 'Raleway', sans-serif; font-size: 1.1rem; letter-spacing: .05em; margin-bottom: 10px; opacity: .7; }
.expo-year ul{ list-style: none; margin: 0; padding: 0; }
.expo-year li{ padding: 8px 0; border-bottom: 1px dashed var(--line); }
.expo-year a{ color: var(--gold); }
.expo-year a:hover{ text-decoration: underline; }

/* ---------- About ---------- */
.about-grid{ display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: start; }
@media (max-width: 900px){ .about-grid{ grid-template-columns: 1fr; } }
.about-grid img{ border-radius: var(--radius); width: 100%; }
.about-grid p{ margin: 0 0 20px; }
.about-media{ display: flex; flex-direction: column; gap: 24px; }
.about-video-placeholder{ position: relative; }
.about-video-placeholder video{ width: 100%; aspect-ratio: 640/456; object-fit: cover; border-radius: var(--radius); border: 1px solid rgba(230,191,92,.25); background: #000; display: block; }

/* ---------- Contact ---------- */
.contact-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
@media (max-width: 900px){ .contact-grid{ grid-template-columns: 1fr; } }
.field{ margin-bottom: 22px; }
.field label{ display: block; font-size: .85rem; color: var(--text-dim); margin-bottom: 8px; letter-spacing: .03em; }
.field input, .field textarea{
  width: 100%; background: var(--bg-panel); border: 1px solid var(--line); color: var(--white);
  padding: 13px 14px; font-family: 'Raleway', sans-serif; font-size: .95rem; border-radius: var(--radius);
}
.field textarea{ min-height: 130px; resize: vertical; }
.form-note{ font-size: .8rem; color: var(--text-dim); margin-top: 10px; }
.contact-info p{ margin: 0 0 6px; }
.socials{ display: flex; gap: 16px; margin-top: 26px; }
.socials a{
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--gold);
  transition: background var(--speed), color var(--speed);
}
.socials a:hover{ background: var(--gold); color: #1a1608; }

/* ---------- Footer ---------- */
footer{ padding: 50px 0; border-top: 1px solid rgba(255,255,255,.05); text-align: center; color: var(--text-dim); font-size: .85rem; }
footer p{ margin: 4px 0; }

/* ---------- Work detail page ---------- */
.work-hero{ padding-top: 60px; }
.back-link{ display: inline-flex; align-items: center; gap: 8px; color: var(--gold-soft); font-size: .9rem; margin-bottom: 26px; }
.work-header h1{ font-family: 'Bad Script', cursive; color: var(--gold); font-size: clamp(2.4rem,5vw,3.6rem); margin-bottom: 6px; }
.work-soundtrack{ color: var(--text-dim); font-style: italic; font-size: .9rem; margin-bottom: 40px; }
.work-soundtrack a{ color: var(--gold-soft); text-decoration: underline; text-decoration-color: rgba(230,191,92,.4); text-underline-offset: 3px; }
.work-soundtrack a:hover{ color: var(--gold); }

.work-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
@media (max-width: 900px){ .work-grid{ grid-template-columns: 1fr; } }
.work-grid.flip .work-media{ order: 2; }
.work-grid.flip .work-copy{ order: 1; }
@media (max-width: 900px){ .work-grid.flip .work-media, .work-grid.flip .work-copy{ order: initial; } }

/* 3-koloms variant: contextfoto | tekst | carousel — voor werken die dit ook zo op de originele site hebben */
.work-grid.triple{ grid-template-columns: .85fr 1.3fr .85fr; }
@media (max-width: 1100px){ .work-grid.triple{ grid-template-columns: 1fr 1fr; } .work-grid.triple .work-copy{ grid-column: 1 / -1; order: 2; } .work-grid.triple .work-side-left{ order: 1; } .work-grid.triple .work-side-right{ order: 3; } }
@media (max-width: 900px){ .work-grid.triple{ grid-template-columns: 1fr; } .work-grid.triple .work-copy, .work-grid.triple .work-side-left, .work-grid.triple .work-side-right{ grid-column: auto; order: initial; } }
.work-side .work-context{ margin-top: 0; }

.work-copy p{ margin: 0 0 20px; }
.work-meta{ margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--text-dim); }
.work-meta strong{ color: var(--text); font-weight: 500; }
.work-credit{ margin-top: 8px; font-size: .8rem; }
.work-credit a{ color: var(--gold-soft); }

.carousel{ position: relative; background: #050504; border-radius: var(--radius); overflow: hidden; }
.carousel-track{ aspect-ratio: 4/5; position: relative; }
.carousel-track img{
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .5s ease;
}
.carousel-track img.active{ opacity: 1; }
.carousel-arrow{
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  background: rgba(0,0,0,.45); border: 1px solid var(--line); color: var(--gold);
  width: 42px; height: 42px; border-radius: 50%; cursor: pointer; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
}
.carousel-arrow.prev{ left: 14px; } .carousel-arrow.next{ right: 14px; }
.carousel-dots{ position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.carousel-dots button{
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3); border: 0; cursor: pointer; padding: 0;
}
.carousel-dots button.active{ background: var(--gold); }
.work-context{ position: relative; margin-top: 22px; border-radius: var(--radius); overflow: hidden; }
.work-context img{ display: block; width: 100%; }
.work-context::after{
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,9,8,0) 55%, rgba(10,9,8,.85) 100%),
              linear-gradient(0deg, rgba(10,9,8,0) 88%, rgba(10,9,8,.5) 100%);
}
.work-context-under{ margin-top: 30px; }
.work-context-float{ float: left; width: 66%; margin: 0 30px 20px 0; shape-outside: margin-box; }
@media (max-width: 700px){ .work-context-float{ float: none; width: 100%; margin: 0 0 20px; } }

.work-nav{ display: flex; justify-content: space-between; padding: 70px 0 30px; border-top: 1px solid var(--line); margin-top: 40px; }
.work-nav a{ color: var(--gold-soft); font-size: .9rem; }
.work-nav a:hover{ color: var(--gold); }

/* ---------- Lightbox ---------- */
.lightbox{
  position: fixed; inset: 0; background: rgba(4,4,3,.94); z-index: 1000;
  display: none; align-items: center; justify-content: center; padding: 40px;
}
.lightbox.open{ display: flex; }
.lightbox img{ max-width: 92vw; max-height: 86vh; object-fit: contain; border-radius: var(--radius); }
.lightbox-close{
  position: absolute; top: 22px; right: 28px; background: none; border: 0; color: var(--gold);
  font-size: 2rem; cursor: pointer; line-height: 1;
}

/* placeholder banner shown while real photos aren't wired in yet */
.ph-note{
  font-size: .72rem; color: var(--text-dim); text-align: center; padding: 8px 0 0;
}
