@import url("/assets/site-fonts.css");

@font-face {
  font-family: Montserrat;
  src: url("assets/montserrat-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #15140f;
  --yellow: #fdc814;
  --wit: #fff;
  --pad: clamp(1.1rem, 4vw, 4.5rem);
  --display: var(--ft-brand-display, Impact, sans-serif);
  --serif: var(--ft-brand-serif, Georgia, serif);
  --sans: Montserrat, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
::selection { background: var(--wit); color: #000; }
body { margin: 0; background: var(--yellow); color: var(--ink); font: 1rem/1.5 var(--sans); }
h1, h2, p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
img { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.label { font-size: .65rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }

.poster {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(1.125rem, 3vh, 2.75rem) var(--pad) clamp(1.125rem, 3.5vh, 2.75rem);
}
.poster-boven { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo {
  position: relative;
  flex-shrink: 0;
  width: clamp(8.5rem, 16vw, 15rem);
  min-height: 44px;
  aspect-ratio: 255.12 / 62.19;
  padding: 0;
  border: 0;
  background: transparent;
}
.logo img { position: absolute; top: 0; left: 0; width: 100%; height: auto; }
.logo[aria-pressed="true"] .logo-woordmerk,
.logo[aria-pressed="false"] .logo-volledig { display: none; }
.registratie-link {
  min-height: 44px;
  padding: .35rem 0;
  border: 0;
  background: transparent;
  font-size: .8rem;
  font-weight: 650;
  text-align: right;
  text-decoration: underline;
  text-underline-offset: .22em;
}
.poster-intro { align-self: center; padding-block: 1.25rem; }
.poster-titel svg { display: block; width: min(76%, 52rem); max-height: 50svh; overflow: visible; fill: currentColor; }
.poster-punt { fill: var(--wit); }
.poster-intro p { max-width: 44ch; margin-top: clamp(1rem, 3vh, 2rem); font: clamp(1.125rem, 2vw, 1.5rem)/1.45 var(--serif); }
.poster-acties { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.25rem; }
.poster-actie {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  min-height: 44px;
  padding: .6rem .85rem;
  border: 1px solid var(--ink);
  background: transparent;
  font: 1.15rem/1.1 var(--display);
  text-transform: uppercase;
  text-decoration: none;
}
.poster-actie-spel { background: var(--ink); color: var(--yellow); }
.poster-actie-spel:focus-visible, .knop:focus-visible { outline-color: var(--ink); }
.poster-actie:hover, .poster-socials a:hover { text-decoration: underline; text-underline-offset: .18em; }
.poster-actie span, .poster-socials span, .aanbod-actie > span { font: .8em/1 var(--sans); }
.poster-onder { display: flex; flex-direction: row-reverse; justify-content: space-between; align-items: flex-end; gap: .75rem; }
.poster-socials { display: flex; flex-wrap: wrap; column-gap: 1rem; }
.poster-socials a {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  min-height: 44px;
  font: 1.05rem/1.1 var(--display);
  text-transform: uppercase;
  text-decoration: none;
}
.socials { display: flex; gap: .25rem; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; }
.socials a:hover { background: #f1f1ef; }
.socials svg { width: 21px; height: 21px; }
.site-footer {
  display: grid;
  gap: .5rem;
  padding: 1.25rem var(--pad);
  background: var(--wit);
}
.footer-regel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 1.5rem;
}
.footer-logo { width: clamp(8rem, 14vw, 12rem); height: auto; }
.copyright { padding-block: .5rem; font-size: .75rem; }
.winkelinformatie { display: flex; flex-wrap: wrap; column-gap: 1rem; }
.winkelinformatie button {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: .75rem;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.aanbod { width: min(100%, 22rem); }
.aanbod-regel {
  display: grid;
  grid-template-columns: auto minmax(.75rem, 1fr) auto;
  align-items: baseline;
  gap: .5rem;
  width: 100%;
  min-height: 44px;
  padding: .4rem 0;
  border: 0;
  background: transparent;
  text-align: left;
  text-decoration: none;
  font: 1.15rem/1.2 var(--serif);
}
.aanbod-regel::after {
  grid-area: 1 / 2;
  content: "";
  height: 2px;
  background: radial-gradient(circle closest-side, currentColor 93%, transparent) left bottom / .32em 2px repeat-x;
}
.aanbod-actie { grid-area: 1 / 3; font: 1.05rem/1.1 var(--display); text-align: right; text-transform: uppercase; }
.aanbod-regel:hover .aanbod-actie { text-decoration: underline; text-underline-offset: .18em; }

dialog {
  position: fixed;
  max-width: min(520px, calc(100vw - 28px));
  max-height: calc(100% - 28px);
  padding: clamp(1.35rem, 5vw, 2.8rem);
  border: 0;
  background: var(--yellow);
  color: var(--ink);
}
dialog::backdrop { background: #16130bc9; }
dialog h2 { font: 400 clamp(2rem, 6vw, 4.25rem)/.94 var(--display); text-transform: uppercase; letter-spacing: -.025em; margin-block: .22em .35em; overflow-wrap: anywhere; }
dialog p:not(.label) { font-size: .9rem; }
dialog .label { padding-right: 1.5rem; }
dialog .klein { margin-top: 1rem; }
.sluit { position: absolute; top: .25rem; right: .3rem; width: 44px; height: 44px; border: 0; background: transparent; font-size: 1.5rem; }
.knop { min-height: 44px; padding: .65em 1em; border: 0; background: var(--ink); color: var(--yellow); font-weight: 750; }
.aanbod-registreer { margin-top: 1rem; }
.aanbod-dialoog[data-toegang="openbaar"] [data-stand="besloten"],
.aanbod-dialoog[data-toegang="besloten"] [data-stand="openbaar"] { display: none; }

@media (max-width: 560px) {
  .poster-onder { flex-direction: column; align-items: stretch; gap: .25rem; }
  .aanbod-regel { font-size: 1rem; }
  .aanbod-actie { font-size: .95rem; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (max-height: 480px) and (min-width: 701px) {
  .poster-titel svg { max-height: 45svh; }
}
