:root {
  --red: #d12b2b;
  --red-dim: #8a1a1a;
  --bg: #0d0d0d;
  --bg2: #111111;
  --bg3: #161616;
  --off-white: #ede8d8;
  --grey: #888;
  --grey-dim: #444;
  --nav-h: 80px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--off-white);
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px;
  background: linear-gradient(to bottom, rgba(13,13,13,0.95) 0%, rgba(13,13,13,0) 100%);
  transition: background 0.4s;
}
nav.solid { background: rgba(13,13,13,0.97); border-bottom: 1px solid #1e1e1e; }

.nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-logo img { height: 56px; width: 56px; object-fit: contain; filter: invert(0); }
.nav-logo-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 22px; letter-spacing: 3px;
  color: var(--off-white); text-transform: uppercase;
  line-height: 1.05;
}
.nav-logo-text span {
  display: block;
  font-family: 'Barlow', sans-serif;
  font-style: normal; font-weight: 500;
  font-size: 12px; letter-spacing: 1.5px;
  color: var(--grey);
  text-transform: none;
  margin-top: 2px;
}

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 500; letter-spacing: 2px;
  text-transform: uppercase; color: var(--grey);
  text-decoration: none; transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 1px;
  background: var(--red); transition: width 0.3s;
}
.nav-links a:hover { color: var(--off-white); }
.nav-links a:hover::after { width: 100%; }
.nav-links .cta {
  border: 1px solid var(--red); padding: 7px 16px;
  color: var(--red) !important; letter-spacing: 2px;
  transition: background 0.2s, color 0.2s !important;
}
.nav-links .cta:hover { background: var(--red); color: var(--off-white) !important; }
.nav-links .cta::after { display: none; }

/* Hamburger toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  background: transparent; border: none; cursor: pointer;
  width: 32px; height: 32px;
  flex-direction: column; justify-content: center; gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--off-white);
  transition: transform 0.25s, opacity 0.25s;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
#hero {
  position: relative; height: 100vh; overflow: hidden;
  display: flex; align-items: flex-end;
}
.hero-bg {
  position: absolute; inset: -8%;
  background: #0d0d0d;
  will-change: transform;
}
.hero-photo-placeholder {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(13,13,13,0.35) 0%, rgba(13,13,13,0.05) 35%, rgba(13,13,13,0.75) 80%, rgba(13,13,13,1) 100%),
    url('assets/hero.jpg') center/cover no-repeat;
  background-color: #0e0e0e;
}
.hero-light {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 70% 40%, rgba(180,20,20,0.12) 0%, transparent 70%);
  mix-blend-mode: screen;
}
.hero-stack {
  position: relative; z-index: 2;
  width: 100%; display: flex; flex-direction: column;
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%; padding: 0 40px 0;
}
.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; letter-spacing: 4px; color: var(--red);
  text-transform: uppercase; margin-bottom: 10px;
  opacity: 0; animation: fadeUp 0.8s 0.3s forwards;
}
.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(72px, 10vw, 140px);
  font-weight: 800; line-height: 0.9;
  text-transform: uppercase; color: var(--off-white);
  letter-spacing: -1px;
  opacity: 0; animation: fadeUp 0.8s 0.5s forwards;
}
.hero-title em {
  font-style: normal; color: var(--off-white);
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 0.42em; display: block;
  letter-spacing: 1px;
  text-transform: none;
  margin-top: 4px;
}
.hero-strip {
  position: relative; z-index: 3;
  padding: 18px 40px 22px;
  display: flex; align-items: flex-end; gap: 6px;
  overflow: hidden;
  background: #0a0a0a;
  border-bottom: 1px solid #1a1a1a;
}
.hero-strip .strip-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px; letter-spacing: 3px; color: var(--red);
  text-transform: uppercase; white-space: nowrap;
  margin-right: 16px;
  writing-mode: vertical-lr; transform: rotate(180deg);
  opacity: 0.6; flex-shrink: 0;
}
.strip-thumb {
  flex-shrink: 0; width: 100px;
  cursor: pointer; overflow: hidden;
  transition: transform 0.3s, width 0.3s;
  position: relative;
  text-decoration: none;
  display: block;
  border: 1px solid #2a2a2a;
}
.strip-thumb:hover { transform: translateY(-6px); width: 130px; border-color: var(--red); }
.strip-thumb-inner {
  height: 68px;
  position: relative; overflow: hidden;
  background: #181818;
}
.strip-thumb-inner img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  filter: saturate(0.85);
  transition: filter 0.3s, transform 0.4s;
}
.strip-thumb:hover .strip-thumb-inner img { filter: saturate(1.1); transform: scale(1.06); }
.strip-thumb::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(209,43,43,0.4), transparent 60%);
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.strip-thumb:hover::after { opacity: 1; }
.strip-thumb-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--grey); padding: 4px 6px 2px;
  text-align: center; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis;
  background: rgba(13,13,13,0.92);
}
.strip-more {
  flex-shrink: 0; width: 44px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #2a2a2a; color: var(--red); font-size: 20px;
  cursor: pointer; transition: background 0.2s;
  text-decoration: none;
}
.strip-more:hover { background: #1e1e1e; }

/* ── SECTION GENERIC ── */
.section {
  position: relative; padding: 100px 40px 80px;
  border-top: 1px solid #1a1a1a;
  overflow: hidden;
}
.section-alt { background: var(--bg2); }
.section-bg-number {
  position: absolute; top: -20px; right: -10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(100px, 18vw, 240px); font-weight: 800;
  color: rgba(255,255,255,0.02); line-height: 1;
  pointer-events: none; user-select: none;
  text-transform: uppercase; letter-spacing: -4px;
}
.section-header {
  display: flex; align-items: baseline; gap: 20px;
  margin-bottom: 40px;
}
.section-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; color: var(--red); letter-spacing: 3px;
  padding-top: 4px;
}
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(36px, 5vw, 64px); font-weight: 800;
  text-transform: uppercase; letter-spacing: -1px; line-height: 1;
  color: var(--off-white);
}
.section-title-line {
  width: 48px; height: 2px; background: var(--red);
  margin-top: 8px;
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s, transform 0.7s; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-28px); transition: opacity 0.7s, transform 0.7s; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }

/* ── PROJECT GRID (one tile = one project folder) ── */
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.project-grid .g-item { height: 220px; }
.project-grid .g-item.tall { grid-row: span 2; height: auto; min-height: 446px; }
.project-grid .g-item.wide { grid-column: span 2; }

#badkamers .project-grid,
#projecten .project-grid { grid-template-columns: repeat(4, 1fr); }
#renovatie .project-grid { grid-template-columns: repeat(3, 1fr); }
#velux .project-grid { grid-template-columns: repeat(3, 1fr); }

/* Permanent tile project label (always visible) */
.tile-label {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 36px 16px 14px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 500; letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--off-white);
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}
.tile-label .tile-title {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tile-count {
  flex-shrink: 0;
  font-size: 12px; font-weight: 500; letter-spacing: 1px;
  color: var(--off-white);
  background: var(--red);
  padding: 4px 10px;
  border-radius: 1px;
}

.g-item {
  position: relative; overflow: hidden; cursor: pointer;
  background: #161616;
  border: 1px solid #1e1e1e;
  transition: border-color 0.3s, transform 0.3s;
}
.g-item::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -35deg, #1a1a1a 0, #1a1a1a 1px, transparent 1px, transparent 18px
  );
  opacity: 0.6;
}
.g-item .g-fill {
  width: 100%; height: 100%;
  position: relative; z-index: 1;
}
.g-item .g-fill img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1), filter 0.4s;
  filter: saturate(0.85);
}
.g-item:hover { border-color: var(--red); }
.g-item:hover .g-fill img { transform: scale(1.06); filter: saturate(1.1); }

/* Red corner-bracket accents that appear on hover */
.g-item .g-corner {
  position: absolute; width: 18px; height: 18px; z-index: 4;
  border: 2px solid var(--red);
  opacity: 0; transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}
.g-item .g-corner.tl { top: 8px; left: 8px; border-right: 0; border-bottom: 0; transform: translate(-4px, -4px); }
.g-item .g-corner.tr { top: 8px; right: 8px; border-left: 0; border-bottom: 0; transform: translate(4px, -4px); }
.g-item .g-corner.bl { bottom: 56px; left: 8px; border-right: 0; border-top: 0; transform: translate(-4px, 4px); }
.g-item .g-corner.br { bottom: 56px; right: 8px; border-left: 0; border-top: 0; transform: translate(4px, 4px); }
.g-item:hover .g-corner { opacity: 1; transform: translate(0, 0); }

.g-item.tall { grid-row: span 2; }
.g-item.wide { grid-column: span 2; }

.g-short { height: 160px; }
.g-tall { height: 100%; min-height: 200px; }

/* Projecten horizontal scroll */
.projecten-scroll {
  display: flex; gap: 6px;
  overflow-x: auto; padding-bottom: 12px;
  scrollbar-width: none;
}
.projecten-scroll::-webkit-scrollbar { display: none; }
.projecten-scroll .g-item { height: 240px; width: 280px; flex-shrink: 0; }
.projecten-drag-hint {
  text-align: center; margin-top: 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; letter-spacing: 4px;
  color: var(--grey); text-transform: uppercase;
}

/* ── ARCHIEF ── */
.archief { background: #0a0a0a; }
.archief-bg-number { color: rgba(255,255,255,0.015); }
.archief-num { color: #3a3a3a !important; }
.archief-title {
  color: #444 !important;
  font-size: clamp(28px, 3.5vw, 48px) !important;
}
.archief-line { background: #2a2a2a !important; }
.archief-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 4px;
}
.arch-item {
  height: 72px; background: #141414;
  position: relative; overflow: hidden; cursor: pointer;
  border: 1px solid #1c1c1c;
  transition: border-color 0.25s, transform 0.25s;
  filter: grayscale(0.4) brightness(0.85);
}
.arch-item .g-fill { width: 100%; height: 100%; position: absolute; inset: 0; }
.arch-item .g-fill img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.arch-item:hover {
  border-color: var(--red);
  filter: grayscale(0) brightness(1);
}
.arch-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 60%);
  pointer-events: none;
}
.arch-year {
  position: absolute; bottom: 4px; left: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; font-weight: 500; letter-spacing: 1px;
  color: rgba(237,232,216,0.85);
  z-index: 2;
  text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

/* ── CONTACT ── */
#contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  padding: 0;
}
.contact-left {
  background: var(--red);
  padding: 80px 60px;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 48px;
}
.contact-left-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(48px, 6vw, 80px); font-weight: 800;
  text-transform: uppercase; line-height: 0.9;
  color: #0d0d0d; letter-spacing: -1px;
}
.contact-left-title em {
  font-style: normal; display: block;
  font-family: 'Crimson Pro', serif; font-style: italic;
  color: rgba(13,13,13,0.6); font-size: 0.5em; letter-spacing: 2px;
}
.contact-details { display: flex; flex-direction: column; gap: 12px; }
.contact-detail {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; letter-spacing: 2px;
  color: rgba(13,13,13,0.75);
  text-transform: uppercase;
}
.contact-detail strong { color: #0d0d0d; display: block; font-size: 16px; }

.contact-right {
  background: var(--bg2);
  padding: 80px 60px;
  display: flex; flex-direction: column; justify-content: center;
}
.contact-right h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px; font-weight: 500; letter-spacing: 3px;
  text-transform: uppercase; color: var(--grey);
  margin-bottom: 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.form-field label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; letter-spacing: 3px; color: var(--red);
  text-transform: uppercase;
}
.form-field input, .form-field textarea, .form-field select {
  background: transparent; border: none; border-bottom: 1px solid #2a2a2a;
  color: var(--off-white); font-family: 'Barlow', sans-serif;
  font-size: 14px; font-weight: 300; padding: 8px 0;
  outline: none; transition: border-color 0.2s;
  width: 100%;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-bottom-color: var(--red);
}
.form-field select option { background: #111; color: var(--off-white); }
.form-field textarea { resize: vertical; min-height: 80px; }
.form-submit {
  margin-top: 24px;
  background: transparent; border: 1px solid var(--red);
  color: var(--red); font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 500; letter-spacing: 4px;
  text-transform: uppercase; padding: 14px 40px;
  cursor: pointer; transition: background 0.3s, color 0.3s;
  align-self: flex-start;
}
.form-submit:hover { background: var(--red); color: var(--off-white); }

/* ── RED DIVIDER BAR ── */
.red-bar { height: 3px; background: var(--red); }

/* ── FOOTER ── */
footer {
  background: #080808; padding: 28px 40px;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid #1a1a1a;
  gap: 16px; flex-wrap: wrap;
}
footer .foot-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 14px; letter-spacing: 4px;
  color: var(--grey); text-transform: uppercase;
}
footer .foot-copy {
  font-size: 11px; color: #3a3a3a; letter-spacing: 1px;
}
footer .foot-links { display: flex; gap: 20px; }
footer .foot-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; letter-spacing: 2px; color: #3a3a3a;
  text-decoration: none; text-transform: uppercase;
  transition: color 0.2s;
}
footer .foot-links a:hover { color: var(--red); }

.legal-note {
  background: #080808;
  padding: 0 40px 18px;
  font-size: 10px; letter-spacing: 0.5px;
  color: #2e2e2e;
  text-align: right;
  border-top: 0;
}

/* Registered-mark superscript */
.rmark {
  font-size: 0.55em;
  font-weight: 500;
  vertical-align: super;
  margin-left: 1px;
  opacity: 0.85;
}

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

.section-divider {
  width: 100%; height: 1px;
  background: linear-gradient(to right, var(--red), transparent 60%);
  margin-bottom: 48px;
}

/* Mobile-only marquee (hidden on desktop, redefined in mobile media query) */
.mobile-marquee { display: none; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .section { padding: 80px 28px 64px; }
  .project-grid,
  #badkamers .project-grid,
  #projecten .project-grid,
  #renovatie .project-grid,
  #velux .project-grid { grid-template-columns: repeat(3, 1fr); }
  .strip-thumb { width: 70px; }
  .strip-thumb:hover { width: 90px; }
  .contact-left, .contact-right { padding: 60px 40px; }
}

@media (max-width: 720px) {
  :root { --nav-h: 64px; }
  nav {
    padding: 0 16px;
    background: rgba(13,13,13,0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid #1e1e1e;
  }
  nav.solid { background: rgba(13,13,13,0.98); }
  .nav-logo img { height: 40px; width: 40px; }
  .nav-logo { gap: 10px; }
  .nav-logo-text { font-size: 17px; letter-spacing: 2px; }
  .nav-logo-text span { font-size: 10px; letter-spacing: 1px; }
  .nav-toggle { display: flex; position: relative; z-index: 1001; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: rgba(13,13,13,0.98);
    border-bottom: 1px solid #1e1e1e;
    padding: 12px 24px 24px;
    transform: translateY(-110%);
    transition: transform 0.3s ease-out;
  }
  body.nav-open .nav-links { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block; width: 100%;
    padding: 14px 0; font-size: 14px;
    border-bottom: 1px solid #1a1a1a;
  }
  .nav-links a::after { display: none; }
  .nav-links .cta {
    margin-top: 12px; text-align: center;
    border-bottom: 1px solid var(--red);
  }

  /* Shorter hero on mobile so photo doesn't dominate */
  #hero { height: 78vh; min-height: 520px; }
  .hero-bg { inset: 0; }
  .hero-photo-placeholder {
    background:
      linear-gradient(to bottom, rgba(13,13,13,0.25) 0%, rgba(13,13,13,0) 35%, rgba(13,13,13,0.65) 78%, rgba(13,13,13,1) 100%),
      url('assets/hero.jpg') center/cover no-repeat;
  }
  .hero-light {
    background: radial-gradient(ellipse 70% 50% at 60% 40%, rgba(209,43,43,0.18) 0%, transparent 70%);
  }
  .hero-content { padding: 0 24px; }
  .hero-title { font-size: clamp(48px, 12vw, 80px); }
  .hero-strip { display: none; }

  /* Accordion sections — editorial, photo-backed bars */
  .section.collapsible { padding: 0; border-top: 1px solid #1a1a1a; overflow: hidden; }
  .section.collapsible .section-bg-number { display: none; }
  .section.collapsible .section-header {
    margin: 0; padding: 36px 20px;
    cursor: pointer; user-select: none;
    align-items: center; gap: 14px;
    position: relative; overflow: hidden;
    transition: padding 0.3s;
    background: #0d0d0d;
    min-height: 120px;
  }
  /* Faded cover photo bleeds in from the right */
  .section.collapsible .section-header::before {
    content: '';
    position: absolute; inset: 0;
    background-image: var(--cover, none);
    background-size: cover;
    background-position: center right;
    opacity: 0.32;
    mask-image: linear-gradient(to right, transparent 0%, transparent 30%, #000 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 30%, #000 100%);
    transition: opacity 0.4s, transform 0.6s;
    transform: scale(1.05);
    pointer-events: none;
  }
  .section.collapsible .section-header::after {
    content: '';
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 1px; background: linear-gradient(to right, var(--red) 0%, transparent 60%);
    pointer-events: none;
  }
  .section.collapsible.expanded .section-header::before {
    opacity: 0.18; transform: scale(1);
  }
  .section.collapsible .section-header > * { position: relative; z-index: 1; }
  .section.collapsible .section-num {
    padding-top: 0; font-size: 12px; letter-spacing: 4px;
  }
  .section.collapsible .section-title-line {
    width: 28px; margin-top: 6px;
    transition: width 0.4s;
  }
  .section.collapsible.expanded .section-title-line { width: 56px; }
  .section.collapsible .section-title {
    font-size: 32px; letter-spacing: 0;
  }
  .section.collapsible .acc-chevron {
    margin-left: auto;
    width: 14px; height: 14px;
    border-right: 2px solid var(--red);
    border-bottom: 2px solid var(--red);
    transform: rotate(45deg);
    transition: transform 0.35s ease-out;
    flex-shrink: 0;
  }
  .section.collapsible.expanded .acc-chevron { transform: rotate(-135deg); }
  .section.collapsible .project-grid,
  .section.collapsible .projecten-scroll,
  .section.collapsible .projecten-drag-hint {
    display: none;
  }
  .section.collapsible.expanded .project-grid {
    display: grid;
    padding: 18px 20px 40px;
    animation: accFade 0.4s ease-out;
  }
  .section.collapsible.expanded .projecten-scroll {
    display: flex;
    padding: 18px 20px 12px;
    animation: accFade 0.4s ease-out;
  }
  .section.collapsible.expanded .projecten-drag-hint { display: block; }
  /* Stagger tiles in on expand */
  .section.collapsible.expanded .project-grid .g-item {
    opacity: 0; transform: translateY(14px);
    animation: tileUp 0.5s ease-out forwards;
  }
  .section.collapsible.expanded .project-grid .g-item:nth-child(1) { animation-delay: 0.05s; }
  .section.collapsible.expanded .project-grid .g-item:nth-child(2) { animation-delay: 0.10s; }
  .section.collapsible.expanded .project-grid .g-item:nth-child(3) { animation-delay: 0.15s; }
  .section.collapsible.expanded .project-grid .g-item:nth-child(4) { animation-delay: 0.20s; }
  .section.collapsible.expanded .project-grid .g-item:nth-child(5) { animation-delay: 0.25s; }
  .section.collapsible.expanded .project-grid .g-item:nth-child(6) { animation-delay: 0.30s; }
  .section.collapsible.expanded .project-grid .g-item:nth-child(n+7) { animation-delay: 0.35s; }

  /* Marquee strip under hero — replaces the desktop filmstrip on mobile */
  .mobile-marquee {
    display: block;
    background: #0a0a0a;
    border-bottom: 1px solid #1a1a1a;
    overflow: hidden;
    padding: 14px 0;
    position: relative;
  }
  .mobile-marquee::before, .mobile-marquee::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 40px;
    z-index: 2; pointer-events: none;
  }
  .mobile-marquee::before { left: 0; background: linear-gradient(to right, #0a0a0a, transparent); }
  .mobile-marquee::after { right: 0; background: linear-gradient(to left, #0a0a0a, transparent); }
  .marquee-track {
    display: flex; gap: 8px;
    animation: marquee 40s linear infinite;
    width: max-content;
  }
  .marquee-thumb {
    flex-shrink: 0; width: 90px; height: 60px;
    overflow: hidden;
    border: 1px solid #1e1e1e;
  }
  .marquee-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    filter: saturate(0.8);
  }

@keyframes accFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes tileUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

  .section { padding: 64px 20px 56px; }
  .section-header { gap: 14px; margin-bottom: 28px; }

  .project-grid,
  #badkamers .project-grid,
  #projecten .project-grid,
  #renovatie .project-grid,
  #velux .project-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid .g-item { height: 160px; }
  .project-grid .g-item.tall { min-height: 326px; }
  .project-grid .g-item.wide { grid-column: span 2; }

  .archief-grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }

  #contact { grid-template-columns: 1fr; }
  .contact-left, .contact-right { padding: 56px 28px; }

  footer { flex-direction: column; align-items: flex-start; padding: 24px 20px; }
}

@media (max-width: 480px) {
  .project-grid,
  #badkamers .project-grid,
  #projecten .project-grid,
  #renovatie .project-grid,
  #velux .project-grid { grid-template-columns: 1fr; }
  .project-grid .g-item { height: 200px; }
  .project-grid .g-item.tall { min-height: 200px; grid-row: span 1; }
  .project-grid .g-item.wide { grid-column: span 1; }
  .archief-grid { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); }
  .arch-item { height: 70px; }
  .form-row { grid-template-columns: 1fr; }
}


/* ── LIGHTBOX ── */
.lightbox {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(8,8,8,0.96);
  display: none;
  align-items: center; justify-content: center;
  cursor: auto;
}
.lightbox.open { display: flex; }
.lightbox .lb-stage {
  position: relative;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 60px 80px;
}
.lb-img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  box-shadow: 0 20px 80px rgba(0,0,0,0.6);
  user-select: none;
}
.lb-close, .lb-prev, .lb-next {
  position: absolute; z-index: 2;
  background: transparent; border: 1px solid rgba(237,232,216,0.25);
  color: var(--off-white);
  font-family: 'Barlow Condensed', sans-serif;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover {
  background: var(--red); border-color: var(--red); color: var(--off-white);
}
.lb-close {
  top: 20px; right: 24px;
  width: 44px; height: 44px;
  font-size: 28px; font-weight: 300;
}
.lb-prev, .lb-next {
  top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px;
  font-size: 32px;
}
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-caption {
  position: absolute; bottom: 20px; left: 0; right: 0;
  text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--off-white);
  padding: 0 20px;
}
.lb-counter { color: var(--red); margin-left: 14px; }

@media (max-width: 720px) {
  .lightbox .lb-stage { padding: 80px 12px 80px; }
  .lb-prev, .lb-next { width: 44px; height: 44px; font-size: 24px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .lb-caption { font-size: 10px; }
}

body.lb-open { overflow: hidden; }
