/* Welkomstscherm C11: glazen popup, mozaiek shuffled uit een pool. Gsm-shuffle ook. */
#sd-welkom.sd-welkom--C {
  --sd-w-ivory: #E1DBC9;
  --sd-w-cream: #F5F0EA;
  --sd-w-dim: rgba(24, 22, 20, 0.40);
  --sd-w-glass: rgba(46, 42, 38, 0.70);
  --sd-w-glass-line: rgba(245, 240, 234, 0.32);
  --sd-w-ink: #F5F0EA;
  --sd-w-gold: #6B7B84;
  --sd-w-olive: #2D4530;
  --sd-w-olive-dk: #243628;
  --sd-w-border: rgba(94,75,59,.16);
  --sd-w-font-d: "Cormorant Garamond", Georgia, serif;
  --sd-w-font-t: Italiana, "Cormorant Garamond", serif;
  --sd-w-font-sc: Inter, system-ui, sans-serif;
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: transparent;
  color: var(--sd-w-ink);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
#sd-welkom.sd-welkom--C.is-open {
  opacity: 1;
  pointer-events: auto;
}
#sd-welkom.sd-welkom--C::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--sd-w-dim);
  pointer-events: none;
  z-index: 0;
}
html.sd-welkom-open,
body.sd-welkom-open {
  overflow: hidden;
  height: 100%;
}
body.sd-welkom-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}
.sd-welkom--C .sd-welkom-paneel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;
  box-sizing: border-box;
  color: var(--sd-w-ink);
  background: var(--sd-w-glass);
  backdrop-filter: blur(24px) saturate(1.15);
  -webkit-backdrop-filter: blur(24px) saturate(1.15);
  border: 1px solid var(--sd-w-glass-line);
  border-radius: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 24px 60px rgba(0, 0, 0, 0.38);
}
.sd-welkom--C .sd-welkom-split {
  display: grid;
  grid-template-columns: 1fr;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.sd-welkom--C .sd-welkom-fotozijde {
  position: relative;
  background: transparent;
  display: flex;
  flex-direction: column;
}
.sd-welkom--C .sd-welkom-foto-tekst {
  position: relative;
  z-index: 1;
  padding: 56px 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 0 0 auto;
}
.sd-welkom--C .sd-welkom-mozaiek {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: transparent;
  flex: 0 0 auto;
  width: 100%;
}
.sd-welkom--C .sd-welkom-moz-item {
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--sd-w-olive-dk);
}
.sd-welkom--C .sd-welkom-moz-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.sd-welkom--C .sd-welkom-moz-desk {
  display: none;
}
.sd-welkom--C .sd-welkom-plek {
  font-family: var(--sd-w-font-sc);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: var(--sd-w-gold);
}
.sd-welkom--C #sd-welkom-titel {
  font-family: var(--sd-w-font-t);
  font-weight: 400;
  font-style: normal;
  font-size: 34px;
  line-height: 1.1;
  margin: 0 0 12px;
  color: var(--sd-w-ink);
}
.sd-welkom--C .sd-welkom-lead {
  font-family: var(--sd-w-font-d);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.5;
  margin: 0 0 12px;
  color: var(--sd-w-ink);
  max-width: 36em;
}
.sd-welkom--C .sd-welkom-lead:last-child {
  margin-bottom: 0;
}
/* Rechtermenu / tegels: indeling van C8, binnen het glasvenster. */
.sd-welkom--C .sd-welkom-raster {
  display: grid;
  grid-template-columns: 1fr;
  background: #0C0D0A;
}
.sd-welkom--C .sd-welkom-tegel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 18px 22px;
  min-height: 72px;
  text-decoration: none;
  color: #F5F0EA;
  background: #171614;
  border-bottom: 1px solid rgba(191,184,170,.16);
}
.sd-welkom--C .sd-welkom-tegel:nth-child(even) {
  background: #121110;
}
.sd-welkom--C .sd-welkom-tegel:hover,
.sd-welkom--C .sd-welkom-tegel:focus-visible {
  background: #BFB8AA;
  color: #0C0D0A;
  outline: none;
}
.sd-welkom--C .sd-welkom-tegel-naam {
  font-family: Italiana, "Cormorant Garamond", serif;
  font-size: 20px;
  letter-spacing: .04em;
}
.sd-welkom--C .sd-welkom-tegel-zin {
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: inherit;
  opacity: .85;
}
/* Sluiten blijft op het venster staan, ook als de inhoud scrollt. */
.sd-welkom--C .sd-welkom-sluit {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  border: 1px solid var(--sd-w-cream);
  background: rgba(46, 42, 38, 0.55);
  color: var(--sd-w-cream);
  font-family: var(--sd-w-font-sc);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 10px 14px;
  min-height: 44px;
  min-width: 44px;
  cursor: pointer;
  border-radius: 8px;
}
.sd-welkom--C .sd-welkom-sluit:hover,
.sd-welkom--C .sd-welkom-sluit:focus-visible {
  background: var(--sd-w-cream);
  color: #0C0D0A;
  outline: none;
}
@media (min-width: 768px) {
  #sd-welkom.sd-welkom--C {
    padding: 28px;
  }
}
@media (min-width: 900px) {
  .sd-welkom--C .sd-welkom-split {
    grid-template-columns: minmax(420px, 48%) 1fr;
    height: 100%;
    overflow: hidden;
  }
  .sd-welkom--C .sd-welkom-fotozijde {
    min-height: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
  }
  .sd-welkom--C .sd-welkom-foto-tekst {
    min-height: 0;
    padding: 28px 20px 16px;
    justify-content: flex-start;
  }
  .sd-welkom--C #sd-welkom-titel {
    font-size: 48px;
  }
  .sd-welkom--C .sd-welkom-lead {
    font-size: 1.15rem;
    line-height: 1.5;
    max-width: none;
  }
  .sd-welkom--C .sd-welkom-mozaiek {
    flex: 0 0 auto;
    min-height: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    border: 0;
    height: auto;
    align-self: stretch;
    grid-template-rows: repeat(3, auto);
  }
  .sd-welkom--C .sd-welkom-moz-item {
    aspect-ratio: 1 / 1;
    height: auto;
    min-height: 0;
  }
  .sd-welkom--C .sd-welkom-moz-desk {
    display: block;
  }
  .sd-welkom--C .sd-welkom-raster {
    grid-template-columns: 1fr;
    height: 100%;
    align-content: stretch;
  }
  .sd-welkom--C .sd-welkom-tegel {
    min-height: 0;
    flex: 1;
    padding: 0 36px;
  }
}
@media (min-width: 1280px) {
  #sd-welkom.sd-welkom--C {
    padding: 36px;
  }
  .sd-welkom--C .sd-welkom-split {
    grid-template-columns: 450px 1fr;
  }
  .sd-welkom--C .sd-welkom-fotozijde {
    width: 450px;
    max-width: 450px;
  }
  .sd-welkom--C .sd-welkom-foto-tekst {
    padding: 20px 16px 12px;
  }
}

@media (min-width: 1280px) and (max-height: 900px) {
  #sd-welkom.sd-welkom--C {
    padding: 16px;
  }
  .sd-welkom--C .sd-welkom-foto-tekst {
    padding: 12px 16px 8px;
  }
  .sd-welkom--C #sd-welkom-titel {
    font-size: 40px;
    margin: 0 0 8px;
  }
  .sd-welkom--C .sd-welkom-lead {
    font-size: 1.05rem;
    margin: 0 0 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #sd-welkom.sd-welkom--C { transition: none; }
}

#sd-welkom.sd-welkom--C:target {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
.sd-welkom--C .sd-welkom-moz-item img {
  aspect-ratio: 1 / 1;
}
