/* =========================================================
   Fonts
   ========================================================= */
@font-face {
  font-family: 'Asap';
  src: url('../fonts/Asap-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Asap';
  src: url('../fonts/Asap-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Asap';
  src: url('../fonts/Asap-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Asap';
  src: url('../fonts/Asap-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Awesome Serif';
  src: url('../fonts/AwesomeSerifItalic-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Awesome Serif';
  src: url('../fonts/AwesomeSerifItalic-MedRegular.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

/* =========================================================
   Reset / base
   ========================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #000;
  color: #fff;
  font-family: 'Asap', system-ui, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body { min-height: 100vh; overflow-x: hidden; }

a { color: inherit; text-decoration: none; }

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

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 48px;
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }

.site-header .brand img {
  width: 42px;
  height: auto;
  opacity: 0.95;
}

.site-header nav {
  display: flex;
  gap: 48px;
}

.site-header nav a {
  font-family: 'Asap', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: #fff;
  text-transform: uppercase;
  transition: opacity 0.25s ease;
}
.site-header nav a:hover { opacity: 0.55; }

/* =========================================================
   Home page (photo-locked composition)
   ---------------------------------------------------------
   The photo (bg_home_exp.jpg, 3100x2267) has a ~300px "bleed"
   margin of extra wall around the original 2500x1667 "core"
   (the room with the ladder + figure). The stage = the whole
   extended photo, scaled to COVER the viewport (full-bleed, no
   bars). Cover only ever crops into the sacrificial bleed, so
   the core + all overlay content stay visible. Everything is
   positioned in % of the stage and sized in cqw, so the whole
   composition stays locked to the photo at every viewport size.

   Core position inside the extended photo:
     horizontal: 300/3100 = 9.68% .. 90.32%
     vertical:   300/2267 = 13.23% .. 86.77%
   So a position P% measured on the CORE maps to the stage as:
     x% = (300 + P/100 * 2500) / 3100 * 100
     y% = (300 + P/100 * 1667) / 2267 * 100
   and core-relative sizes scale by 2500/3100 (x) / 1667/2267 (y).
   ========================================================= */
.body--home { background: #f5f3f0; }

.home {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #f5f3f0;
  color: #111;
}

/* Stage = extended photo, sized to COVER the viewport, centered.
   3100/2267 = 1.3674  ->  100vh*A = 136.74vh,  100vw/A = 73.13vw */
.home__stage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: max(100vw, 136.74vh);
  height: max(73.13vw, 100vh);
  background: url('../images/bg_home_zw.jpg') center / cover no-repeat;
  container-type: size;
  z-index: 1;
}

.home__beeldmerk {
  position: absolute;
  top: 15.4%;       /* core 3% */
  left: 12.5%;      /* core 3.5% */
  z-index: 3;
  width: 2.1cqw;
  min-width: 24px;
}
.home__beeldmerk img { width: 100%; height: auto; display: block; }

/* Column positioned in % of the stage (= % of the photo) and sized
   in cqw so the whole block scales together with the photo. */
.home__inner {
  position: absolute;
  left: 36.3%;      /* core 33% */
  top: 19.85%;      /* core 9% */
  width: 21.77%;    /* core 27% */
  display: flex;
  flex-direction: column;
  align-items: flex-start;        /* left-aligned to column */
  gap: 1.2em;
  font-size: 0.68cqw;             /* core 0.84cqw */
}

.home__quotes {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.2em;
}

.home__logo {
  display: block;
  width: 100%;
  height: auto;
}

/* Bottom quotes: narrower, square-ish blocks, left-aligned with the rest. */
.home__quotes--bottom {
  max-width: 52%;
  gap: 1.35em;
}

.home__quote {
  margin: 0;
  font-family: 'Asap', sans-serif;
  font-weight: 400;
  font-size: 1em;
  line-height: 1.45;
  color: #1a1a1a;
}

.home__quote p { margin: 0; }
.home__quote cite {
  display: block;
  font-style: italic;
  margin-top: 0.2em;
  color: #1a1a1a;
}

.home__nav {
  position: absolute;
  bottom: 16.2%;     /* core 4% */
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16.1%;  /* core 8% inset, locked to core edges */
}
.home__nav a {
  font-family: 'Asap', sans-serif;
  font-weight: 700;
  font-size: 1.06cqw;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #111;
  transition: opacity 0.25s ease;
}
.home__nav a:hover { opacity: 0.55; }

/* Mobile: drop the photo-lock; stack a simple centered column over a
   cover photo so everything stays readable on a narrow screen. */
@media (max-width: 600px) {
  .home { height: auto; min-height: 100vh; overflow: visible; }

  .home__stage {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    height: auto;
    min-height: 100vh;
    background-position: center;
    container-type: normal;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .home__beeldmerk {
    top: 18px;
    left: 20px;
    width: 28px;
    min-width: 0;
  }

  .home__inner {
    position: static;
    left: auto; top: auto;
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
    font-size: 11px;
    gap: 12px;
    padding: 80px 0;
  }

  .home__quotes--bottom { max-width: 70%; }

  .home__nav {
    bottom: 22px;
    padding: 0 24px;
  }
  .home__nav a { font-size: 16px; }
}

/* =========================================================
   Werk page (stacked stories)
   ========================================================= */
.werk {
  position: relative;
  background: #000;
}

.story {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #000;
  overflow: hidden;
}

.story__photo {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.story__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%);
}

.story__content {
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 5vw 0 5vw;
  position: relative;
}

.story__title {
  font-family: 'Awesome Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.18;
  margin: 0 0 22px;
  color: #fff;
  max-width: 38ch;
}

.story__lead {
  font-family: 'Asap', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 28px;
  color: #fff;
  opacity: 0.95;
  max-width: 52ch;
}

.story__body {
  font-family: 'Asap', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  color: #d8d8d8;
  max-width: 56ch;
  margin: 0 0 36px;
}

.story__cta {
  font-family: 'Asap', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  align-self: flex-start;
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
  transition: border-color 0.3s ease, opacity 0.3s ease;
}
.story__cta:hover { border-bottom-color: #fff; opacity: 0.85; }

/* spacer at the end so the last sticky section can settle */
.werk__end { height: 0; }

/* =========================================================
   Lees verder (article)
   ========================================================= */
.article {
  background: #000;
  color: #fff;
  padding-bottom: 120px;
}

.article__hero {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
}
.article__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%);
}

/* gradient + text overlay on hero */
.article__hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 8vw 10vh;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0)   30%,
    rgba(0,0,0,0)   45%,
    rgba(0,0,0,0.55) 80%,
    rgba(0,0,0,0.85) 100%
  );
  color: #fff;
}

.article__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 24px 0;
}

.article__title {
  font-family: 'Awesome Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.12;
  margin: 0 0 18px;
  letter-spacing: -0.005em;
  max-width: 18ch;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}

.article__lead {
  font-family: 'Asap', sans-serif;
  font-weight: 400;
  font-size: 19px;
  line-height: 1.55;
  color: #fff;
  margin: 0;
  opacity: 0.95;
  max-width: 48ch;
  text-shadow: 0 1px 16px rgba(0,0,0,0.4);
}

.article__body {
  font-family: 'Asap', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.78;
  color: #d8d8d8;
}

.article__body p { margin: 0 0 1.4em; }
.article__body strong, .article__body b { font-weight: 600; color: #fff; }
.article__body em, .article__body i { font-style: italic; }
.article__rich a { color: #fff; text-decoration: underline; text-underline-offset: 3px; transition: opacity 0.2s ease; }
.article__rich a:hover { opacity: 0.7; }
.article__body ul, .article__body ol { margin: 0 0 1.4em; padding-left: 1.4em; }
.article__body li { margin: 0 0 0.4em; line-height: 1.78; }
/* Each paragraph block gets its own spacing, even when the content is a bare
   text run (e.g. pasted from a PDF) without its own <p> wrapper. */
.article__rich { margin: 0 0 1.4em; }
.article__rich > :last-child { margin-bottom: 0; }

.article__pullquote {
  font-family: 'Awesome Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.32;
  color: #fff;
  margin: 56px -40px;
  padding: 0;
  border-left: 1px solid rgba(255,255,255,0.25);
  padding-left: 32px;
}

.article__back {
  display: inline-block;
  margin-top: 64px;
  font-family: 'Asap', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
  transition: border-color 0.3s ease, opacity 0.3s ease;
}
.article__back:hover { border-bottom-color: #fff; opacity: 0.85; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .site-header { padding: 20px 24px; }
  .site-header nav { gap: 24px; }

  .home__brand { right: 6%; }
  .quote { max-width: 240px; font-size: 12px; }

  /* Mobile: keep the sticky slide-over. Each text block is clamped to a
     fixed number of LINES (CSS line-clamp adds the … automatically) so the
     whole story — including the "Lees verder" link — always fits within
     100vh and stays visible & tappable while the next story slides over.
     Line-clamp is content-agnostic, so it truncates whatever the CMS feeds
     in later without any JS or character counting. Tune the line counts
     once real content / the CMS field limits are known. */
  .story {
    grid-template-columns: 1fr;
    grid-template-rows: 38vh 1fr;
  }
  .story__content { padding: 30px 28px 40px; }

  .story__title {
    font-size: 24px;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
  }
  .story__lead {
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
  }
  .story__body {
    margin-bottom: 22px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    overflow: hidden;
  }

  .article__hero { height: 55vh; }
  .article__inner { padding: 56px 24px 0; }
  .article__pullquote { margin: 40px 0; padding-left: 20px; }
}

/* =========================================================
   Story subscribe block (Substack CTA inside an article)
   ========================================================= */
.article__subscribe {
  margin: 56px 0;
  padding: 36px 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
}
.article__subscribe-heading {
  font-family: 'Awesome Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.2;
  margin: 0 0 12px;
  color: #fff;
}
.article__subscribe-text {
  font-family: 'Asap', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #d8d8d8;
  margin: 0 0 22px;
  max-width: 52ch;
}
.article__subscribe-btn {
  display: inline-block;
  font-family: 'Asap', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #111;
  background: #fff;
  padding: 13px 26px;
  transition: opacity 0.25s ease;
}
.article__subscribe-btn:hover { opacity: 0.82; }

.article__pullquote-author {
  display: block;
  margin-top: 14px;
  font-size: 14px;
  font-style: normal;
  opacity: 0.7;
}

/* Image block inside an article — never wider than the text column; if the
   real image is smaller, show it at its natural size (don't upscale). */
.article__image {
  margin: 56px 0;
}
.article__image img {
  display: block;
  max-width: 100%;   /* fit the column at most */
  width: auto;       /* but stay at natural size when smaller */
  height: auto;
}
.article__image-caption {
  margin-top: 12px;
  font-family: 'Asap', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}
@media (max-width: 760px) {
  .article__image { margin: 36px 0; }
}

/* =========================================================
   Error page (404)
   ========================================================= */
.body--error { background: #000; color: #fff; }
.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 8vw;
  gap: 10px;
}
.error-page__code {
  font-family: 'Asap', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3em;
  opacity: 0.6;
  margin: 0;
}
.error-page__title {
  font-family: 'Awesome Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.1;
  margin: 0 0 18px;
}
.error-page__back {
  font-family: 'Asap', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
  transition: border-color 0.3s ease;
}
.error-page__back:hover { border-bottom-color: #fff; }

/* =========================================================
   Contact page (dark, editorial)
   ========================================================= */
.body--contact { background: #000; color: #fff; }

.contact {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 8vw 80px;
}
.contact__inner { max-width: 1100px; width: 100%; }

.contact__legal {
  position: absolute;
  right: 8vw;
  bottom: 15px;
  margin: 0;
  text-align: right;
  font-family: 'Asap', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.45);
}

.contact__text {
  font-family: 'Asap', sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.6;
  color: #d8d8d8;
  max-width: 46ch;
  margin: 0 0 clamp(36px, 6vh, 72px);
}

.contact__email {
  display: inline-block;
  font-family: 'Asap', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(30px, 6vw, 76px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.25s ease;
  word-break: break-word;
}
.contact__email:hover { opacity: 0.6; }

.contact__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(8px, 1.4vh, 18px);
  margin-top: clamp(28px, 5vh, 56px);
}
.contact__link {
  font-family: 'Asap', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(20px, 3.4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.25s ease;
  word-break: break-word;
}
.contact__link:hover { opacity: 0.6; }

@media (max-width: 600px) {
  .contact { padding: 110px 24px 72px; }
  .contact__legal { left: 24px; right: 24px; bottom: 15px; text-align: right; }
}

