/* Steamy Windows — nagebouwd op de Squarespace-versie (Fluid Engine, 1440px als referentie).
   Maten in --u schalen mee met de inhoudsbreedte, net als in Squarespace. */

:root {
  --black: #000;
  --white: #fff;
  --font: "Helvetica Neue", Arial, sans-serif;
  --gutter: 4vw;
  --content: min(calc(100vw - 2 * var(--gutter)), 1800px);
  --u: calc(var(--content) / 1324);
}

@media (max-width: 767px) {
  :root { --gutter: 6vw; }
}

/* Basisgrootte: 24px op grote schermen, 16px daaronder (zoals Squarespace) */
html { font-size: 24px; -webkit-text-size-adjust: 100%; }
@media (max-width: 991px) {
  html { font-size: 16px; }
}

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

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; }

p { margin: 1rem 0; line-height: 1.5em; }
p:first-child { margin-top: 0; }
p:last-child { margin-bottom: 0; }

u {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}

/* Titels (heading-1: waarde 6.6, lijnhoogte 1.2em, -0.02em spatiëring) */
h1 {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: calc(1.2em * (1 + (1 - 6.6) / 25));
  font-size: min(calc(5.6 * 1.2vw + 1rem), max(calc(5.6 * 0.012 * 1800px + 1rem), 6.6rem));
  white-space: pre-wrap;
  overflow-wrap: break-word;
}

@media (max-width: 767px) and (orientation: portrait) {
  h1 { font-size: calc(5.6 * 0.012 * min(100vh, 900px) + 1rem); }
}

/* Kleine tekst (shop) */
.shop__text p {
  font-size: min(calc(-0.1 * 1.2vw + 1rem), max(calc(-0.1 * 0.012 * 1800px + 1rem), .9rem));
}
@media (max-width: 767px) and (orientation: portrait) {
  .shop__text p { font-size: calc(-0.1 * 0.012 * min(100vh, 900px) + 1rem); }
}

/* ---------- Header ---------- */
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 139px;
  padding: 14px var(--gutter) 15px;
}

.header a { text-decoration: none; }

.header__nav { display: flex; gap: 1.54rem; }
.header__nav a,
.header__actions a { font-size: 1rem; line-height: 1.2; }

.header__logo img { height: 110px; width: auto; }

.header__actions { justify-self: end; }
.header__actions a { display: inline-block; padding: 1rem 1.3rem; }

.header__burger { display: none; }

.mobile-menu { display: none; }

@media (max-width: 767px) {
  .header {
    grid-template-columns: auto 1fr;
    height: auto;
    padding: 23px var(--gutter) 20px;
  }
  .header__nav,
  .header__actions { display: none; }
  .header__logo img { height: 30px; }
  .header__burger {
    display: block;
    justify-self: end;
    position: relative;
    width: 47px;
    height: 37px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    z-index: 31;
  }
  .header__burger span {
    position: absolute;
    left: 6px;
    right: 6px;
    height: 1px;
    background: var(--black);
    transition: transform .25s ease, top .25s ease;
  }
  .header__burger span:first-child { top: 14px; }
  .header__burger span:last-child { top: 22px; }
  .menu-open .header__burger span:first-child { top: 18px; transform: rotate(45deg); }
  .menu-open .header__burger span:last-child { top: 18px; transform: rotate(-45deg); }
  .menu-open .header { position: fixed; }

  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 19;
    display: flex;
    flex-direction: column;
    background: var(--white);
    padding: 90px var(--gutter) 40px;
  }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu a { text-decoration: none; }
  .mobile-menu__nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .mobile-menu__nav a { font-size: 1.99rem; line-height: 1.25; }
  .mobile-menu__actions { text-align: center; }
  .mobile-menu__actions a { display: inline-block; padding: 1rem; }
  .menu-open { overflow: hidden; }
}

/* ---------- Intro (desktop: vrije plaatsing zoals Fluid Engine) ---------- */
.intro {
  position: relative;
  width: var(--content);
  margin: 0 auto;
  height: calc(957 * var(--u));
}

.intro > * { position: absolute; }
.intro img { width: 100%; height: 100%; object-fit: cover; }

.intro__t1 { left: 0; top: calc(237 * var(--u)); width: calc(880 * var(--u)); text-align: justify; }
.intro__img1 { left: calc(890 * var(--u)); top: calc(139 * var(--u)); width: calc(434 * var(--u)); height: calc(384 * var(--u)); }
.intro__img2 { left: 0; top: calc(613 * var(--u)); width: calc(434 * var(--u)); height: calc(265 * var(--u)); }
.intro__t2 { left: calc(501 * var(--u)); top: calc(708 * var(--u)); width: calc(824 * var(--u)); text-align: justify; }
.intro__spacer { display: none; }

/* ---------- Diavoorstelling ---------- */
.slideshow {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.slideshow__item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 400ms cubic-bezier(.2, .6, .3, 1);
}
.slideshow__item.is-active { opacity: 1; z-index: 1; }
.slideshow__item img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Shop ---------- */
.shop {
  position: relative;
  width: var(--content);
  margin: 0 auto;
  height: calc(1134 * var(--u));
}
.shop > * { position: absolute; }
.shop__title { left: 0; top: calc(42 * var(--u)); width: calc(657 * var(--u)); }
.shop__text { left: 0; top: calc(438 * var(--u)); width: calc(601 * var(--u)); }
.shop__img { left: calc(667 * var(--u)); top: calc(39 * var(--u)); width: calc(657 * var(--u)); height: calc(1015 * var(--u)); }
.shop__img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Fotostrook (rijen worden in JS berekend) ---------- */
.strips {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.strips__item { flex: 0 0 auto; height: 360px; width: 25%; overflow: hidden; }
.strips__item img { width: 100%; height: 100%; object-fit: cover; }

.spacer { height: 90px; }
.spacer--end { height: 97px; }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  width: var(--content);
  margin: 0 auto;
}
.footer__rule { display: none; }

.marquee {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: calc(85 * var(--u));
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__item { font-size: 1rem; line-height: 1.4; padding-right: 0; }
.marquee__item .star { display: inline-block; margin: 0 1.2em; }

.footer__cols {
  display: grid;
  grid-template-columns: calc(331 * var(--u)) calc(331 * var(--u)) calc(55 * var(--u)) calc(221 * var(--u)) calc(386 * var(--u));
  margin-top: calc(28 * var(--u));
  text-align: center;
  scroll-margin-top: 40px;
}
.footer__col--hours { grid-column: 1; }
.footer__col--closing { grid-column: 2; }
.footer__col--location { grid-column: 4; }
.footer__col--connect { grid-column: 5; }
.footer__col > p:first-child { margin-bottom: -.33rem; }
.footer__col > p:first-child + p { margin-top: 0; }
.footer__col a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }

/* ---------- Mobiel ---------- */
@media (max-width: 767px) {
  .intro,
  .shop { height: auto; }
  .intro > *,
  .shop > * { position: static; width: auto; }

  .intro { padding: 82px 0 35px; display: flex; flex-direction: column; gap: 11px; }
  .intro__t1, .intro__t2 { text-align: left; }
  .intro__spacer { display: block; height: 199px; }
  .intro__img1, .intro__img2 { height: auto; aspect-ratio: 330 / 234; }
  .intro__t2 { margin: 14px 0; }

  .shop { display: flex; flex-direction: column; padding: 35px 0 47px; }
  .shop__img { order: -1; width: 74.25%; align-self: center; aspect-ratio: 245 / 374; height: auto; margin-bottom: 46px; }
  .shop__text { margin-top: 1rem; }

  .spacer { height: 81px; }
  .spacer--end { height: 81px; }

  .footer { display: flex; flex-direction: column; padding-bottom: 0; }
  .footer__rule { display: block; width: 100vw; margin: 12px 0 0 calc(50% - 50vw); border: 0; border-top: 1px solid var(--black); }
  .footer__cols {
    display: block;
    width: 66%;
    margin: 48px auto 0;
  }
  .footer__col { margin-bottom: 12px; }
  .footer__col > p:first-child { margin-bottom: 0; }
  .footer__col > p:first-child + p { margin-top: 12px; }
  .marquee { order: 3; height: 72px; margin-top: 200px; }
}

/* ---------- Animaties bij het in beeld komen ---------- */
.js .anim-slide {
  opacity: 0;
  transform: translate(0, 30%);
  transition: transform .6s ease, opacity .6s ease;
}
.js .anim-fade {
  opacity: 0;
  transition: opacity .6s ease;
}
.js .anim-slide.is-in,
.js .anim-fade.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .anim-slide, .js .anim-fade { opacity: 1; transform: none; transition: none; }
  .slideshow__item { transition: none; }
}
