:root {
  color-scheme: light;
  --ink: #111111;
  --coal: #1b1a17;
  --steel: #687174;
  --mist: #f4f5f4;
  --paper: #ffffff;
  --line: #d9dcda;
  --forest: #40594d;
  --wine: #74323b;
  --shadow: 0 24px 70px rgba(17, 17, 17, 0.16);
  --max: 1180px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

body.lightbox-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: var(--paper);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled,
.site-header.nav-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 0 rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  margin-top: 4px;
  color: currentColor;
  opacity: 0.72;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
}

.site-nav a {
  text-decoration: none;
}

.nav-toggle {
  display: none;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  padding: 10px 14px;
  color: inherit;
  background: transparent;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--paper);
  background: var(--coal);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.78), rgba(17, 17, 17, 0.36) 52%, rgba(17, 17, 17, 0.18)),
    linear-gradient(0deg, rgba(17, 17, 17, 0.48), rgba(17, 17, 17, 0)),
    url("assets/gallery/werkplaats-tonny-1.jpg") center / cover;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding: 138px 0 86px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--forest);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #dce5df;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.02;
}

h1 {
  max-width: 760px;
  font-size: 68px;
}

h2 {
  font-size: 46px;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.18;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  border-color: var(--paper);
  color: var(--ink);
  background: var(--paper);
}

.button.ghost {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  width: 30px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 99px;
  transform: translateX(-50%);
}

.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 10px;
  width: 4px;
  height: 10px;
  border-radius: 999px;
  background: var(--paper);
  transform: translateX(-50%);
  animation: cue 1500ms ease-in-out infinite;
}

@keyframes cue {
  0%, 100% {
    transform: translate(-50%, 0);
    opacity: 0.45;
  }
  50% {
    transform: translate(-50%, 10px);
    opacity: 1;
  }
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.trust-strip div {
  min-height: 118px;
  padding: 30px clamp(20px, 4vw, 58px);
  background: var(--mist);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  font-size: 28px;
  line-height: 1.05;
}

.trust-strip span {
  margin-top: 8px;
  color: var(--steel);
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 108px 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
}

.section-copy p,
.section-heading p,
.contact-copy p,
.instagram-copy p,
.makers-copy p,
.upload-note p {
  color: #4f5657;
  font-size: 18px;
  line-height: 1.68;
}

.section-copy p {
  max-width: 610px;
}

.feature-figure {
  margin: 0;
}

.feature-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-figure figcaption {
  margin-top: 14px;
  color: var(--steel);
  font-size: 14px;
}

.section-heading {
  max-width: 770px;
  margin-bottom: 40px;
}

.section-heading.wide {
  max-width: 860px;
}

.door-types {
  width: 100%;
  background: var(--coal);
  color: var(--paper);
  padding-inline: max(18px, calc((100% - var(--max)) / 2));
}

.door-types .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.door-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.door-card {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-radius: var(--radius);
  background: #26231e;
}

.door-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: transform 500ms ease;
}

.door-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 17, 17, 0.85), rgba(17, 17, 17, 0.02) 62%);
}

.door-card div {
  position: relative;
  z-index: 1;
  padding: 28px;
}

.door-card p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.door-card ul {
  display: grid;
  gap: 7px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.45;
}

.door-card li::before {
  content: "•";
  margin-right: 8px;
  color: #dce8df;
}

.door-card:hover img {
  transform: scale(1.04);
}

.gallery-section {
  width: min(1320px, calc(100% - 36px));
}

.gallery-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-button {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
}

.filter-button.active,
.filter-button:hover {
  border-color: var(--ink);
  color: var(--paper);
  background: var(--ink);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  color: var(--paper);
  background: var(--coal);
  cursor: zoom-in;
}

.gallery-item[hidden] {
  display: none;
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide-item {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease, opacity 450ms ease;
}

.gallery-item span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--paper);
  background: rgba(17, 17, 17, 0.68);
  font-size: 13px;
  font-weight: 800;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.04);
  opacity: 0.88;
}



.button.instagram-button {
  border-color: rgba(255, 255, 255, 0.84);
  color: var(--paper);
  background: linear-gradient(135deg, #74323b, #40594d);
}

.button.instagram-dark {
  border-color: var(--coal);
  color: var(--paper);
  background: var(--coal);
}

.instagram-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(300px, 1fr);
  gap: clamp(34px, 7vw, 88px);
  align-items: center;
  border-top: 1px solid var(--line);
}

.instagram-copy p {
  max-width: 620px;
  color: #4f5657;
  font-size: 18px;
  line-height: 1.68;
}

.instagram-copy .button {
  margin-top: 18px;
}

.instagram-embed-card {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 22px;
  color: var(--ink);
  text-decoration: none;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.instagram-phone-bar {
  width: 58px;
  height: 5px;
  margin: 0 auto 4px;
  border-radius: 999px;
  background: var(--line);
}

.instagram-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.instagram-preview-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}

.instagram-embed-card strong {
  font-size: 22px;
}

.instagram-embed-card span:last-child {
  color: var(--steel);
}


.instagram-screenshot-card {
  padding: 0;
  overflow: hidden;
}

.instagram-screenshot-card img {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1.03;
  object-fit: cover;
  object-position: top center;
}

.instagram-screenshot-card span {
  display: block;
  padding: 18px 22px 22px;
  color: var(--steel);
  font-weight: 800;
}

.makers {
  display: grid;
  grid-template-columns: minmax(300px, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(34px, 7vw, 88px);
  align-items: center;
  border-top: 1px solid var(--line);
}

.makers-photo {
  margin: 0;
}

.makers-photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.makers-photo figcaption {
  margin-top: 14px;
  color: var(--steel);
  font-size: 14px;
}

.makers-copy p {
  color: #4f5657;
  font-size: 18px;
  line-height: 1.68;
}

.process {
  border-top: 1px solid var(--line);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
}

.process-list li {
  min-height: 250px;
  padding: 26px;
  background: var(--paper);
}

.process-list span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--wine);
  font-weight: 900;
}

.process-list p {
  color: #545b5d;
  line-height: 1.6;
}

.upload-note {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(240px, 0.65fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: start;
  padding-inline: max(18px, calc((100% - var(--max)) / 2));
  background: var(--mist);
}

.contact-band {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
  gap: clamp(32px, 7vw, 92px);
  padding: 104px max(18px, calc((100% - var(--max)) / 2));
  color: var(--paper);
  background: var(--forest);
}

.contact-band .eyebrow {
  color: #dce8df;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-link,
.contact-actions address {
  display: block;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  color: var(--paper);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
}

.contact-link span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.contact-link strong {
  font-size: 20px;
}

.contact-actions address {
  color: rgba(255, 255, 255, 0.86);
  font-style: normal;
  line-height: 1.55;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px max(18px, calc((100% - var(--max)) / 2));
  color: #545b5d;
  background: var(--paper);
}

.site-footer p {
  margin: 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 72px 18px 28px;
  background: rgba(17, 17, 17, 0.92);
}

.lightbox[hidden] {
  display: none;
}

.lightbox figure {
  width: min(980px, 100%);
  margin: 0;
}

.lightbox img {
  width: 100%;
  max-height: 78svh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox figcaption {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.84);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  color: var(--paper);
  background: transparent;
  cursor: pointer;
}

@media (max-width: 980px) {
  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 38px;
  }

  .site-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 74px;
    display: none;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a {
    padding: 12px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .trust-strip,
  .split,
  .door-grid,
  .process-list,
  .instagram-section,
  .makers,
  .upload-note,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .door-card {
    min-height: 430px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 210px;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding-bottom: 76px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-copy,
  .section-copy p,
  .section-heading p,
  .contact-copy p,
  .upload-note p {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 76px 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 320px;
  }

  .gallery-item.large,
  .gallery-item.tall,
  .gallery-item.wide-item {
    grid-column: span 1;
    grid-row: span 1;
  }

  .site-footer {
    display: grid;
  }
}
