/* Menno Middelkoop — generated by Publisher */

/* ── Fonts ─────────────────────────────────────────────────────────────── */

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(/assets/fonts/outfit-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(/assets/fonts/outfit-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/assets/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Base ──────────────────────────────────────────────────────────────── */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --color-bg: #fafaf8;
  --color-text: #2c2c2c;
  --color-text-light: #6b6b6b;
  --color-accent: #8b6914;
  --color-dark: #1a1a1a;
  --color-dark-soft: #2a2a2a;
  --color-border: #e8e4de;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --max-width: 1200px;
  --header-height: 64px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; }

img { display: block; max-width: 100%; height: auto; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Header ────────────────────────────────────────────────────────────── */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-dark);
  border-bottom: 3px solid var(--color-accent);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { display: flex; align-items: center; }
.logo img { height: 40px; width: auto; transition: opacity 0.2s; }
.logo:hover { text-decoration: none; }
.logo:hover img { opacity: 0.8; }

nav { display: flex; gap: 32px; }
nav a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.2s;
}
nav a:hover, nav a.active { color: #fff; text-decoration: none; }
nav a.active { border-bottom: 2px solid var(--color-accent); padding-bottom: 2px; }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span {
  display: block; width: 24px; height: 2px;
  background: #fff; margin: 5px 0; transition: 0.3s;
}

/* ── Hero slideshow ────────────────────────────────────────────────────── */

.hero-slideshow {
  position: relative;
  height: 75vh;
  min-height: 450px;
  overflow: hidden;
  background: var(--color-dark);
}

.slides { position: absolute; inset: 0; }

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.slide.active { opacity: 1; }

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 24px 40px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  white-space: nowrap;
}
.slide-caption h2 {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 500;
  font-family: var(--font-body);
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.slide-caption a {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  white-space: nowrap;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  transition: color 0.2s;
}
.slide-caption a:hover { color: #fff; text-decoration: none; }

.hero-identity {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2;
  pointer-events: none;
}
.hero-identity h1 {
  font-size: 3.5rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.hero-rule {
  width: 48px;
  height: 2px;
  background: rgba(255,255,255,0.6);
  margin: 14px auto;
  border-radius: 1px;
}
.hero-identity p {
  font-size: 1.15rem;
  opacity: 0.9;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.9rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.slide-dots {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  z-index: 3;
}
.slide-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  padding: 8px;
  box-sizing: content-box;
  background-clip: content-box;
  transition: background 0.3s, transform 0.3s;
  -webkit-tap-highlight-color: transparent;
}
.slide-dot:hover { background: rgba(255,255,255,0.7); background-clip: content-box; }
.slide-dot.active {
  background: #fff;
  background-clip: content-box;
  transform: scale(1.15);
}

/* ── Cards ─────────────────────────────────────────────────────────────── */

.cards-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.section-title {
  font-size: 1.75rem;
  margin-bottom: 32px;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 16px;
}
.section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.card {
  display: block;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  color: var(--color-text);
  border-top: 3px solid transparent;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  text-decoration: none;
  border-top-color: var(--color-accent);
}

.card-image { aspect-ratio: 4/3; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.card:hover .card-image img { transform: scale(1.04); }

.card-body { padding: 20px; }
.card-body h2 { font-size: 1.2rem; margin-bottom: 6px; }
.card-body time { font-size: 0.8rem; color: var(--color-text-light); letter-spacing: 0.03em; text-transform: uppercase; }
.card-body .dot { color: var(--color-accent); margin-right: 2px; }

.view-all {
  display: inline-block;
  margin-top: 32px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.work-intro {
  max-width: 640px;
  margin-bottom: 32px;
  color: var(--color-text-light);
  font-size: 1.05rem;
}

/* ── Page header ───────────────────────────────────────────────────────── */

.page-header {
  background: var(--color-dark);
  padding: 48px 24px;
  color: #fff;
}
.page-header h1 {
  max-width: var(--max-width);
  margin: 0 auto;
  font-size: 2.5rem;
}

/* ── Detail page ───────────────────────────────────────────────────────── */

.detail {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.detail-header { margin-bottom: 32px; }
.detail-header h1 { font-size: 2.25rem; }
.detail-rule { width: 40px; height: 3px; background: var(--color-accent); margin: 16px 0; border-radius: 2px; }
.detail-header time { color: var(--color-text-light); font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; }

.detail-text {
  max-width: 720px;
  margin-bottom: 40px;
  font-size: 1.05rem;
  line-height: 1.8;
}
.detail-text h2 { font-size: 1.4rem; margin: 24px 0 12px; }
.detail-text h3 { font-size: 1.2rem; margin: 20px 0 10px; }
.detail-text p { margin-bottom: 16px; }
.detail-text ul { margin: 0 0 16px 0; padding-left: 20px; border-left: 2px solid var(--color-accent); list-style: none; }
.detail-text li { margin-bottom: 6px; }
.detail-text li::before { content: 'A'; color: var(--color-accent); margin-right: 8px; font-weight: 600; }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 12px;
  margin-bottom: 40px;
}
.gallery a {
  display: block;
  border-radius: 6px;
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid var(--color-border);
  transition: border-color 0.3s;
}
.gallery a:hover { border-color: var(--color-accent); }
.gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.3s;
}
.gallery a:hover img { transform: scale(1.03); }

.detail-nav { padding-top: 16px; border-top: 1px solid var(--color-border); }
.detail-nav a { font-family: var(--font-heading); font-size: 1.05rem; }

/* ── Contact ───────────────────────────────────────────────────────────── */

.contact-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 64px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}

.contact-photo img { border-radius: 8px; }

.contact-text { font-size: 1.05rem; line-height: 1.8; }
.contact-text h2 { font-size: 1.4rem; margin: 24px 0 12px; }
.contact-text h3 { font-size: 1.2rem; margin: 20px 0 10px; }
.contact-text p { margin-bottom: 16px; }
.contact-text ul { margin: 0 0 16px 0; padding-left: 20px; border-left: 2px solid var(--color-accent); list-style: none; }
.contact-text li { margin-bottom: 6px; }
.contact-text li::before { content: 'A'; color: var(--color-accent); margin-right: 8px; font-weight: 600; }

/* ── Lightbox ──────────────────────────────────────────────────────────── */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  animation: fadeIn 0.2s;
}
.lightbox img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  cursor: default;
  border-radius: 4px;
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ── Footer ────────────────────────────────────────────────────────────── */

footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-col p { line-height: 1.6; }

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.8rem;
}

/* ── Mobile ────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .hero-slideshow { height: 55vh; min-height: 320px; }
  .hero-identity h1 { font-size: 2.25rem; }
  .hero-identity p { font-size: 0.95rem; }
  .slide-caption { padding: 32px 16px 36px; gap: 10px; }
  .slide-caption h2 { font-size: 1rem; }
  .slide-dots { padding: 8px 16px; }

  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }

  .contact-section { grid-template-columns: 1fr; gap: 24px; }
  .contact-photo { max-width: 300px; }

  .footer-inner { grid-template-columns: 1fr; gap: 24px; padding: 32px 24px 24px; }

  .detail-header h1 { font-size: 1.75rem; }
  .page-header h1 { font-size: 2rem; }

  nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-dark-soft);
    flex-direction: column;
    align-items: center;
    padding: 24px 0;
    gap: 20px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }
  .nav-open nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .menu-toggle { display: block; }
}
