/* Preview direction, based on denhaag.nl's spacious masthead, clear hierarchy
   and restrained surfaces. Original campaign assets and Thesis fonts retained. */
:root {
  --bg: #fff;
  --text: #262329;
  --muted: #5b5660;
  --surface2: #f6f2f7;
  --border: #b6adb9;
  --border2: #e6e0e8;
  --primary: #893494;
  --primaryDeep: #54205d;
  --radius: 3px;
  --radiusLg: 3px;
  --shadow: none;
  --shadowSoft: none;
  --content: 1160px;
  --hero-image: url("assets/hqa-pride-circles.webp");
  --gutter: clamp(20px, 4vw, 56px);
}
body { background: #fff; font-size: 18px; line-height: 1.6; }
.wrap { padding: 0; overflow: clip; }
.page { max-width: none; gap: 0; }
.page > section, .page > figure, .page > noscript {
  width: min(var(--content), calc(100% - var(--gutter) * 2));
  margin: 0 auto 48px;
}
.siteHeader { background: #fff; border-bottom: 1px solid var(--border2); position: relative; z-index: 20; }
.masthead {
  width: min(var(--content), calc(100% - var(--gutter) * 2));
  margin: 0 auto; min-height: 116px; padding: 22px 0;
  flex-wrap: nowrap; gap: 32px; background: #fff;
}
.brandWordmark { width: 150px; height: auto; max-height: 75px; }
.brandHome { border-radius: 0; flex-shrink: 0; }
.siteNav { margin-left: auto; }
.navLinks { gap: 4px; }
.navLinks a {
  font-family: "TheMix", Arial, sans-serif; font-size: 17px; font-weight: 600;
  color: var(--text); padding: 12px 11px; border: 0;
  border-bottom: 3px solid transparent; border-radius: 0; white-space: nowrap;
}
.navLinks a:hover { background: #f7f5f8; border-color: var(--primary); color: var(--primary); }
.navLinks a[aria-current="page"] { background: none; border-color: var(--primary); color: var(--primary); }
.navToggle { border-radius: 3px; padding: 10px 16px; }
.hero { background: var(--primaryDeep); margin-bottom: 52px; }
.heroInner {
  width: min(var(--content), calc(100% - var(--gutter) * 2));
  margin: auto; border-radius: 0; box-shadow: none; padding: 48px 0 52px;
  background: none; color: var(--text); display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: center; gap: 48px;
}
.heroCopy { z-index: 1; }
.heroInner h1 { color: #fff; font-size: clamp(38px, 4.2vw, 58px); line-height: 1.12; margin: 0 0 18px; letter-spacing: -.025em; }
.heroInner .subtitle { color: #fff; font-size: clamp(19px, 1.7vw, 22px); max-width: 56ch; line-height: 1.55; text-wrap: pretty; }
body[data-page="index"] .hero { background: var(--primaryDeep); }
body[data-page="index"] .heroInner { min-height: 495px; padding: 56px 0; grid-template-columns: 1.1fr 1fr; gap: 32px; }
body[data-page="index"] .heroInner h1 { font-size: clamp(48px, 5.6vw, 78px); color: #fff; line-height: 1.04; margin-bottom: 24px; }
body[data-page="index"] .heroInner .subtitle { font-size: 21px; line-height: 1.5; color: #fff; max-width: 43ch; }
.heroEyebrow { color: #fff; font-size: 16px; margin: 0 0 20px; }
.heroEvent { color: #fff; margin: 26px 0 0; font-size: 17px; line-height: 1.5; padding-left: 18px; border-left: 3px solid #fecd1f; }
.navCards { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px; }
.navCard {
  grid-column: span 2; padding: 28px; gap: 16px; border: 1px solid var(--border2);
  border-radius: 3px; box-shadow: none; min-height: 300px;
  overflow: hidden; transition: border-color 160ms ease, background 160ms ease;
}
.navCard::before { display: none; }
.navCard:hover { transform: none; box-shadow: none; border-color: var(--primary); background: #fcf9fd; }
.navCard h3 { font-size: 27px; line-height: 1.15; padding: 0; margin: 0; letter-spacing: -.015em; }
.navCard p { font-size: 17px; line-height: 1.55; color: var(--text); }
.navCardBadge { position: static; align-self: flex-start; border: 0; border-radius: 2px; padding: 3px 9px; font-size: 12px; line-height: 1.5; }
.navCardBadge[data-tone="open"] { background: #e7f2e6; color: #245d2c; }
.navCardBadge[data-tone="closed"] { background: #f0ebf2; color: #655069; }
.navCardCta { font-size: 17px; padding-top: 12px; text-decoration: underline; text-underline-offset: 5px; }
.navCard[data-closed] { background: #f7f6f8; }
.navCard[data-closed] h3 { color: #655069; }
.navCard[data-closed]:hover { border-color: var(--border2); box-shadow: none; }
.navCard:nth-child(n+4) { grid-column: span 3; }
.navCardImage { margin: -28px -28px 10px; height: 255px; display: flex; background: #f1edf2; overflow: hidden; }
.navCardImage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.juryPreview img { width: 33.333%; object-position: center 25%; }
.card { border-radius: 3px; box-shadow: none; }
.cardHeader { padding: 28px 32px; background: #faf8fb; border-bottom: 1px solid var(--border2); }
.cardHeader h2 { font-size: 28px; line-height: 1.25; color: var(--primaryDeep); }
.cardHeader p { font-size: 16px; }
.cardBody { padding: 32px; }
.prose { max-width: 820px; }
.prose p, .prose ul { font-size: 18px; line-height: 1.75; }
.prose p { margin-bottom: 22px; }
.prose h3 { font-size: 26px; line-height: 1.25; margin: 38px 0 16px; }
.prose li { margin-bottom: 10px; }
body[data-page="programma"] .page > .card,
body[data-page="spelregels"] .page > .card { border: 0; }
body[data-page="programma"] .cardHeader,
body[data-page="spelregels"] .cardHeader { padding: 0 0 28px; background: none; align-items: center; }
body[data-page="programma"] .cardBody,
body[data-page="spelregels"] .cardBody { padding: 32px 0 0; }
body[data-page="programma"] .prose { max-width: 780px; }
body[data-page="gasten"] .page > .card { max-width: 960px; }
body[data-page="gasten"] .page > .card:not(.guestRegistration) { border: 0; }
body[data-page="gasten"] .page > .card:not(.guestRegistration) .cardBody { padding: 0; }
.guestRegistration { margin-top: 0; scroll-margin-top: 24px; }
.guestRegistration .cardHeader { display: block; }
.guestRegistration .cardHeader p { margin-top: 8px; }
.guestRegistration .cardBody > p:first-child { margin-top: 0; }
.guestNameFields, .guestEmailFields { gap: 24px; }
.formScroll { gap: 26px; }
.field { gap: 8px; }
.field label { font-size: 17px; font-weight: 600; }
.fieldHint { font-size: 15px; line-height: 1.55; }
.field input, .field select, .field textarea { border-radius: 3px; border-color: #918794; font-size: 18px; min-height: 50px; padding: 12px 14px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary); }
.field textarea { line-height: 1.6; }
.btn { border-radius: 3px; padding: 14px 23px; min-height: 50px; font-size: 18px; box-shadow: none; }
.btn:hover { transform: none; box-shadow: none; }
.btn--ghost { border: 1px solid var(--primary); }
a:focus-visible, button:focus-visible { outline: 3px solid #b27c00; outline-offset: 4px; box-shadow: none; }
.info, .notice, .response { border-radius: 3px; }
.info { padding: 22px; margin-bottom: 22px; }
.info p, .notice p, .response { font-size: 16px; line-height: 1.6; }
.infoTitle, .notice h3 { font-size: 20px; }
.notice { padding: 24px; }
.prizeGrid { gap: 24px; }
.grid--form { gap: 32px; }
.grid--form > aside .cardHeader { display: block; }
.grid--form > aside .cardHeader p { margin-top: 8px; }
.personGrid { gap: 40px; grid-template-columns: repeat(3, minmax(0,1fr)); }
.personCard { border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
.personPhoto { width: 100%; height: auto; aspect-ratio: 4 / 4.5; margin: 0; border-radius: 3px; }
.personPhoto img { object-position: center 25%; }
.personCard--bw .personPhoto img { filter: none; }
.personCard--bw:hover .personPhoto img { transform: none; }
.personBody { padding: 25px 0 0; gap: 14px; }
.personName { font-family: "TheMix", Arial, sans-serif; font-size: 28px; line-height: 1.2; }
.personText { font-size: 17px; line-height: 1.7; color: var(--text); }
.personSubtitle { font-size: 16px; }
.awardBadge { border: 0; border-radius: 2px; padding: 5px 10px; font-size: 14px; }
.winnersHero img { max-height: 620px; object-fit: cover; border-radius: 3px; }
.winnersHero figcaption { margin-top: 12px; font-size: 15px; }
.siteFooter {
  max-width: none; background: #f5f2f6; margin: 24px 0 0;
  padding: 42px max(var(--gutter), calc((100% - var(--content)) / 2));
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  font-size: 16px; color: var(--text); border-top: 1px solid var(--border2);
}
.siteFooter p { margin: 0; }
.siteFooterLogos img { height: 64px; }
@media (max-width: 1060px) {
  .navLinks { display: none; }
  .navToggle { display: inline-flex; }
  [data-nav][data-open="true"] .navLinks { border-radius: 3px; top: calc(100% + 14px); min-width: 265px; box-shadow: 0 10px 30px #26232918; }
  .navCard { padding: 24px; }
  .navCardImage { margin: -24px -24px 10px; }
}
@media (max-width: 760px) {
  .masthead { min-height: 94px; padding: 16px 0; }
  .brandWordmark { width: 125px; }
  .hero { margin-bottom: 32px; }
  .heroInner { padding: 32px 0; grid-template-columns: 1fr 120px; gap: 16px; }
    .heroInner h1 { font-size: 38px; }
  body[data-page="index"] .heroInner { grid-template-columns: 1fr 200px; min-height: 450px; padding: 38px 0; gap: 20px; }
  body[data-page="index"] .heroInner h1 { font-size: 54px; }
  body[data-page="index"] .heroInner .subtitle { font-size: 19px; }
    .navCards { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
  .navCard, .navCard:nth-child(n+4) { grid-column: auto; min-height: 280px; }
  .navCard:nth-child(3) { grid-column: span 2; min-height: 0; }
  .navCardImage { height: 195px; }
  .navCard h3 { font-size: 25px; }
  .personGrid { gap: 32px; grid-template-columns: 1fr; }
  .personCard { display: grid; grid-template-columns: minmax(140px, 1fr) 1.8fr; gap: 28px; align-items: start; }
  .personBody { padding-top: 0; }
  .cardHeader, .cardBody { padding: 24px; }
  .cardHeader h2 { font-size: 25px; }
  .siteFooter { align-items: flex-start; flex-direction: column; gap: 20px; padding-block: 32px; }
}
@media (max-width: 520px) {
  .heroInner { grid-template-columns: 1fr; }
    body[data-page="index"] .heroInner { grid-template-columns: 1fr; min-height: 0; padding: 36px 0 40px; }
  body[data-page="index"] .heroInner h1 { font-size: 52px; }
    .heroEyebrow { font-size: 15px; margin-bottom: 20px; }
  .heroEvent { font-size: 16px; }
  .navCards { grid-template-columns: minmax(0,1fr); }
  .navCard, .navCard:nth-child(3) { grid-column: auto; min-height: 0; }
  .navCardImage { height: 200px; }
  .cardHeader, .cardBody { padding: 22px 18px; }
  .personCard { display: flex; gap: 0; }
  .personPhoto { aspect-ratio: 4 / 4; }
  .personBody { padding-top: 22px; }
  .prizeGrid { grid-template-columns: 1fr; }
  .page > section, .page > figure { margin-bottom: 32px; }
  .siteFooterLogos img { height: 54px; }
  .guestNameFields, .guestEmailFields { gap: 26px; }
}

/* Local comparison, enabled only by the preview server query parameter. */
body[data-preview-visual="isometrisch"] { --hero-image: url("assets/hqa-pride-isometric.jpg"); }

body[data-preview-visual="cirkels"] { --hero-image: url("assets/hqa-pride-circles.jpg"); }
/* One full-width hero background; the copy sits directly over the artwork.
   Ingezoomd op de boog. De sluier loopt alleen links, waar de tekst staat, zodat
   de rechterkant van het beeld op volle kleur blijft. */
.hero, body[data-page="index"] .hero {
  background-color: #4b164d;
  background-image:
    linear-gradient(to right, rgb(28 7 36 / 80%) 0%, rgb(28 7 36 / 62%) 34%, rgb(28 7 36 / 0%) 68%),
    var(--hero-image);
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}
.heroArtwork, body[data-page="index"] .heroArtwork { display: none; }
.heroInner, body[data-page="index"] .heroInner {
  display: flex; align-items: center; position: relative;
  padding: 60px 0; min-height: 320px;
}
body[data-page="index"] .heroInner { min-height: 570px; padding: 64px 0; }
.heroCopy { position: relative; z-index: 1; max-width: 650px; }
body[data-page="index"] .heroCopy { max-width: 610px; }
@media (max-width: 760px) {
  .heroInner, body[data-page="index"] .heroInner { padding: 42px 0; }
  body[data-page="index"] .heroInner { min-height: 510px; }
}
@media (max-width: 520px) {
  .heroInner { min-height: 260px; padding: 36px 0; }
  body[data-page="index"] .heroInner { min-height: 520px; padding: 42px 0; }
}

/* Smaller: de tekst loopt verder het beeld in, dus de sluier reikt verder door. */
@media (max-width: 900px) {
  .hero, body[data-page="index"] .hero {
    background-image:
      linear-gradient(to right, rgb(28 7 36 / 80%) 0%, rgb(28 7 36 / 68%) 52%, rgb(28 7 36 / 10%) 100%),
      var(--hero-image);
  }
}
/* Onder deze breedte loopt de tekst over de volle breedte van het beeld. */
@media (max-width: 620px) {
  .hero, body[data-page="index"] .hero {
    background-image:
      linear-gradient(rgb(28 7 36 / 62%), rgb(28 7 36 / 62%)),
      var(--hero-image);
  }
}
