:root{
  --bg: #102a2a;
  --bg-alt: #1d3d3a;
  --fg: #f5efe3;
  --fg-muted: #c9d6ca;
  --accent: #e59a6f;
  --line: #47625d;
  --maxw: 1180px;
}
*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .display{
  font-family: 'PT', serif;
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
}
a{ color: inherit; text-decoration: none; }

/* ---------- Animations ---------- */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-in {
  animation: slideInUp 0.6s ease-out forwards;
}

.animate-in.staggered {
  animation: slideInUp 0.6s ease-out forwards;
}

.animate-in--fast {
  animation: slideInUp 0.4s ease-out forwards;
}

/* Staggered animations voor meerdere elementen */
.hero-eyebrow.animate-in {
  animation: slideInUp 0.6s ease-out 0.1s forwards;
}

.hero h1.animate-in {
  animation: slideInUp 0.6s ease-out 0.2s forwards;
}

.hero-desc.animate-in {
  animation: slideInUp 0.6s ease-out 0.3s forwards;
}

.hero .btn.animate-in {
  animation: slideInUp 0.6s ease-out 0.4s forwards;
}

.section-head h2.animate-in {
  animation: slideInUp 0.6s ease-out 0s forwards;
}

/* Staggered tiles */
.tile.animate-in {
  animation: slideInUp 0.6s ease-out forwards;
}

.tile.animate-in:nth-child(1) { animation-delay: 0s; }
.tile.animate-in:nth-child(2) { animation-delay: 0.1s; }
.tile.animate-in:nth-child(3) { animation-delay: 0.2s; }
.tile.animate-in:nth-child(4) { animation-delay: 0.3s; }
.tile.animate-in:nth-child(5) { animation-delay: 0.4s; }
.tile.animate-in:nth-child(6) { animation-delay: 0.5s; }
.tile.animate-in:nth-child(n+7) { animation-delay: 0.6s; }

/* About section */
.about-portrait.animate-in {
  animation: slideInLeft 0.6s ease-out forwards;
}

.about h2.animate-in {
  animation: slideInRight 0.6s ease-out 0.1s forwards;
}

.about p.animate-in {
  animation: slideInRight 0.6s ease-out forwards;
}

.about p.animate-in:nth-of-type(1) { animation-delay: 0.2s; }
.about p.animate-in:nth-of-type(2) { animation-delay: 0.3s; }

.stat.animate-in {
  animation: slideInUp 0.6s ease-out forwards;
}

.stat.animate-in:nth-child(1) { animation-delay: 0.4s; }
.stat.animate-in:nth-child(2) { animation-delay: 0.5s; }
.stat.animate-in:nth-child(3) { animation-delay: 0.6s; }

/* Contact section */
.contact h2.animate-in {
  animation: slideInLeft 0.6s ease-out forwards;
}

.contact-email.animate-in {
  animation: slideInLeft 0.6s ease-out 0.1s forwards;
}

form > div.animate-in {
  animation: slideInUp 0.6s ease-out forwards;
}

form > div.animate-in:nth-child(1) { animation-delay: 0.2s; }
form > div.animate-in:nth-child(2) { animation-delay: 0.3s; }
form > div.animate-in:nth-child(3) { animation-delay: 0.4s; }

form > button.animate-in {
  animation: slideInUp 0.6s ease-out 0.5s forwards;
}

/* Footer */
footer.animate-in {
  animation: fadeIn 0.6s ease-out forwards;
}
img{ max-width: 100%; display:block; }
.wrap{ max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* ---------- Nav ---------- */
header{
  position: fixed; top:0; left:0; right:0; z-index: 50;
  background: linear-gradient(to bottom, rgba(16,42,42,.94), rgba(16,42,42,0));
  padding: 14px 0;
}
header .wrap{ display:flex; align-items:center; justify-content:space-between; }
.logo{ font-family:'Fraunces', serif; font-weight:600; font-size: 1.15rem; letter-spacing: .01em; display: flex; align-items: center; }
.logo em{ font-style: italic; color: var(--accent); }
.logo img{ height: 64px; width: auto; vertical-align: middle; }
nav ul{ list-style:none; display:flex; gap: 34px; margin:0; padding:0; }
nav a{ font-size: .95rem; color: var(--fg-muted); transition: color .2s ease; }
nav a:hover, nav a:focus-visible{ color: var(--fg); }
.nav-toggle{ display:none; background:none; border:0; color: var(--fg); font-size: 1.6rem; cursor:pointer; }

/* ---------- Hero ---------- */
.hero{
  min-height: 100svh;
  display:flex; flex-direction:column; justify-content:flex-end;
  padding-bottom: 90px; padding-top: 140px;
  position: relative;
  background:
    radial-gradient(ellipse at 70% 20%, #1d3d3a, transparent 55%),
    linear-gradient(180deg, #102a2a, #163533 60%, #28504a);
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.025) 0 1px, transparent 1px 90px);
  pointer-events:none;
}
.hero .wrap{ position:relative; }
.hero-eyebrow{ color: var(--fg-muted); font-size: .95rem; margin-bottom: 18px; max-width: 30ch; opacity: 0; }
.hero h1{
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  max-width: 14ch;
  opacity: 0;
}
.hero h1 .i{ font-style: italic; color: var(--accent); }
.hero-foot{
  display:flex; align-items:flex-end; justify-content:space-between; gap: 30px;
  margin-top: 46px; flex-wrap: wrap;
}

.hero-desc, .btn {
  opacity: 0;
}
.hero-desc{ max-width: 40ch; color: var(--fg-muted); }
.btn{
  display:inline-flex; align-items:center; gap:10px;
  border: 1px solid var(--line); padding: 13px 24px;
  font-size: .95rem; white-space:nowrap;
  transition: border-color .2s ease, background .2s ease;
  background:none; cursor:pointer; color:var(--fg); font-family:'Work Sans',sans-serif;
}
.btn:hover{ border-color: var(--accent); background: rgba(229,154,111,.1); }

/* ---------- Section shell ---------- */
section{ padding: 120px 0; scroll-margin-top: 94px; }
.section-head{
  display:flex; justify-content:space-between; align-items:flex-end;
  gap: 30px; margin-bottom: 56px; flex-wrap: wrap;
  border-bottom: 1px solid var(--line); padding-bottom: 26px;
}

.section-head h2 {
  opacity: 0;
}
.section-head h2{ font-size: clamp(1.9rem, 3.4vw, 2.6rem); }

/* ---------- Filters ---------- */
.filters{ display:flex; gap: 10px; }
.filter-btn{
  background:none; border:1px solid var(--line); color: var(--fg-muted);
  padding: 8px 16px; font-family:'Work Sans',sans-serif; font-size:.88rem;
  cursor:pointer; transition: all .2s ease;
}
.filter-btn.active, .filter-btn:hover{ color: var(--fg); border-color: var(--accent); }

/* ---------- Work grid ---------- */
.grid{
  column-count: 3;
  column-gap: 18px;
}
.tile{
  position: relative;
  display: inline-block;
  width: 100%;
  margin-bottom: 18px;
  break-inside: avoid;
  aspect-ratio: 4/3;
  overflow:hidden;
  cursor: pointer;
  background-size: cover; background-position:center;
  background-color: var(--bg-alt);
  opacity: 0;
}
.tile video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.tile.tall{ aspect-ratio: 3/4; }
.tile.wide{ aspect-ratio: 16/9; }
.tile.narrow{ aspect-ratio: 4/3; }
.tile-tag{
  position:absolute; top:14px; left:14px;
  font-size:.72rem; letter-spacing:.03em; color: var(--fg);
  background: rgba(16,42,42,.72); padding: 5px 10px;
  border: 1px solid rgba(245,239,227,.18);
}
.tile-cap{
  position:absolute; left:0; right:0; bottom:0;
  padding: 18px;
  background: linear-gradient(to top, rgba(16,42,42,.9), transparent);
  opacity:0; transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
}
.tile:hover .tile-cap{ opacity:1; transform: translateY(0); }
.tile-cap .t{ font-family:'Fraunces', serif; font-size:1.05rem; }
.tile-cap .s{ font-size:.82rem; color: var(--fg-muted); }

@media (max-width: 780px){
  .grid{ column-count: 1; }
  .tile, .tile.wide, .tile.narrow{ aspect-ratio: 4/3; }
}

/* ---------- About ---------- */
.about{ display:grid; grid-template-columns: .8fr 1fr; gap: 70px; align-items:center; }
.about-portrait{ aspect-ratio: 4/5; position:relative; overflow:hidden; background-color: var(--bg-alt); opacity: 0; }
.portrait-slide{
  position:absolute; inset:0; background-size:cover; background-position:center;
  opacity:0; transform:scale(1.03); transition: opacity 1.2s ease, transform 6s ease;
}
.portrait-slide.active{ opacity:1; transform:scale(1); }
.about h2{ font-size: clamp(1.9rem, 3.6vw, 2.7rem); max-width: 12ch; margin-bottom: 22px; opacity: 0; }
.about p{ color: var(--fg-muted); max-width: 52ch; opacity: 0; }
.about p + p{ margin-top: 16px; }
.stat-row{ display:flex; gap: 46px; margin-top: 36px; flex-wrap:wrap; }

.stat {
  opacity: 0;
}
.stat b{ font-family:'Fraunces', serif; font-size: 1.8rem; display:block; color: var(--fg); }
.stat span{ font-size:.85rem; color: var(--fg-muted); }
@media (max-width: 780px){ .about{ grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact{ display:grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.contact h2{ font-size: clamp(2.1rem, 4vw, 3rem); max-width: 10ch; opacity: 0; }
.contact-email{ display:inline-block; margin-top: 22px; font-size: 1.2rem; border-bottom: 1px solid var(--line); padding-bottom: 4px; opacity: 0; }
.contact-email:hover{ border-color: var(--accent); color: var(--accent); }
.socials{ display:flex; gap: 22px; margin-top: 34px; }
.socials a{ color: var(--fg-muted); font-size:.9rem; }
.socials a:hover{ color: var(--fg); }
form{ display:flex; flex-direction:column; gap: 18px; }

form > div, form > button {
  opacity: 0;
}
label{ font-size:.82rem; color: var(--fg-muted); margin-bottom:6px; display:block; }
input, textarea{
  width:100%; background: var(--bg-alt); border: 1px solid var(--line);
  color: var(--fg); padding: 12px 14px; font-family:'Work Sans',sans-serif; font-size: .95rem;
}
input:focus, textarea:focus{ outline: none; border-color: var(--accent); }
textarea{ resize: vertical; min-height: 110px; }
.form-note{ font-size:.78rem; color: var(--fg-muted); }
@media (max-width: 780px){ .contact{ grid-template-columns: 1fr; } }

footer{ border-top: 1px solid var(--line); padding: 34px 0; }
footer .wrap{ display:flex; justify-content:space-between; flex-wrap:wrap; gap: 12px; font-size:.82rem; color: var(--fg-muted); }

/* ---------- Lightbox ---------- */
.lightbox{
  position: fixed; inset:0; background: rgba(16,42,42,.96);
  display:none; align-items:center; justify-content:center;
  z-index: 100; padding: 40px;
}
.lightbox.open{ display:flex; }
.lightbox-inner{ max-width: 1400px; width:100%; }
/* Hele foto tonen (niet bijsnijden), zo groot als het scherm toelaat */
.lightbox-img{
  width:100%; height: 80vh;
  background-size: contain; background-repeat: no-repeat; background-position:center;
}
.lightbox-img iframe{ width:100%; height:100%; border:0; display:block; }
.lightbox-img video{ width:100%; height:100%; object-fit:contain; display:block; }
.lightbox-cap{ margin-top: 16px; display:flex; justify-content:space-between; color: var(--fg-muted); font-size:.9rem; flex-wrap:wrap; gap:10px;}
.lightbox-close{
  position: absolute; top: 28px; right: 32px;
  background:none; border:1px solid var(--line); color: var(--fg);
  width: 40px; height:40px; cursor:pointer; font-size:1.1rem;
}
.lightbox-close:hover{ border-color: var(--accent); }

@media (max-width: 700px){
  nav{ position: fixed; inset: 0 0 0 30%; background: var(--bg-alt); border-left:1px solid var(--line);
       transform: translateX(100%); transition: transform .3s ease; padding: 100px 30px; }
  nav.open{ transform: translateX(0); }
  nav ul{ flex-direction:column; gap: 26px; }
  .nav-toggle{ display:block; }
  section{ padding: 80px 0; }
  .lightbox{ padding: 70px 16px 24px; }
  .lightbox-img{ height: 70vh; }
}