@font-face {
  font-family: Montserrat;
  src: url("../media/montserrat-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --blue: #005a7e;
  --yellow: #fffb4c;
  --white: #fff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--blue);
  color: var(--white);
  font:
    16px/1.5 Montserrat,
    Arial,
    sans-serif;
}
a {
  color: var(--yellow);
}
a:hover {
  color: white;
}
button,
input,
textarea {
  font: inherit;
}
button {
  min-height: 48px;
  padding: 12px 28px;
  border: 2px solid var(--yellow);
  border-radius: 4px;
  background: var(--yellow);
  color: var(--blue);
  font-weight: 700;
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
button.secondary {
  background: transparent;
  color: white;
  border-color: white;
}
button.text-button {
  min-height: 44px;
  padding: 0;
  background: transparent;
  color: white;
  border: 0;
  text-decoration: underline;
  font-weight: 400;
}
a,
button,
input,
textarea {
  outline-offset: 4px;
}
:focus-visible {
  outline: 3px solid var(--yellow);
}
input:focus-visible,
textarea:focus-visible {
  outline-color: var(--yellow);
}
[hidden] {
  display: none !important;
}
.layout {
  display: grid;
  grid-template-columns: min(50vw, 56.25vh) minmax(0, 1fr);
  align-items: start;
}
.teaser {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--blue);
}
.teaser video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.teaser button {
  position: absolute;
  bottom: 24px;
  left: 24px;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  padding: 0;
  background: var(--blue);
  color: var(--yellow);
  font-size: 24px;
}
main {
  min-width: 0;
}
section,
header {
  padding: 64px clamp(24px, 5vw, 72px);
}
.hero {
  min-height: 900px;
  background: url("../media/ribbon.png") top left/100% auto no-repeat;
  border-bottom: 1px solid #fffb4c66;
  display: flex;
  flex-direction: column;
}
.language {
  display: flex;
  text-decoration: none;
  display: flex;
  align-self: flex-end;
  width: max-content;
  margin: 0 0 40px auto;
  border: 1px solid var(--yellow);
  border-radius: 30px;
  padding: 3px;
  background: var(--blue);
}
.language span {
  min-width: 48px;
  min-height: 40px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 700;
}
.language .selected {
  color: var(--blue);
  background: var(--yellow);
}
h1 {
  color: var(--yellow);
  margin: 12px 0 0;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.035em;
  font-size: clamp(30px, 4.4vw, 64px);
}
h1 span,
h1 b {
  display: block;
}
h1 b {
  font-size: clamp(100px, 13vw, 184px);
  line-height: 0.85;
  letter-spacing: -0.045em;
}
.subtitle {
  white-space: pre-line;
  color: var(--yellow);
  font-size: clamp(18px, 1.55vw, 22px);
  max-width: 360px;
  margin-top: 32px;
}
.event {
  margin-top: auto;
  padding-top: 64px;
  align-self: flex-end;
  max-width: 320px;
  color: var(--yellow);
  font-size: 21px;
}
.event p:last-child {
  font-size: 18px;
}
.logos {
  display: flex;
  align-items: center;
  gap: 22px;
}
.logos img {
  object-fit: contain;
  max-width: 58%;
  height: auto;
}
.logos span {
  width: 1px;
  height: 72px;
  background: var(--yellow);
}
h2 {
  color: var(--yellow);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  margin: 0 0 24px;
}
h3 {
  margin: 0 0 8px;
}
.notice {
  border-left: 4px solid var(--yellow);
  padding: 16px 20px;
  background: #ffffff0d;
}
.notice p {
  margin: 0;
}
form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wide {
  grid-column: 1/-1;
}
label,
legend {
  font-size: 15px;
  font-weight: 600;
}
label span[aria-hidden] {
  color: var(--yellow);
}
input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
textarea {
  width: 100%;
  min-height: 52px;
  border: 2px solid white;
  border-radius: 4px;
  background: white;
  color: #0a2533;
  padding: 12px 16px;
}
textarea {
  resize: vertical;
  min-height: 136px;
}
input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #ffb4a9 !important;
}
.field-error {
  margin: 0;
  color: #ffc4ba;
  font-size: 14px;
  font-weight: 600;
}
.field-error:empty {
  display: none;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
legend {
  margin-bottom: 12px;
}
.choices {
  display: flex;
  gap: 16px;
}
.choices label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border: 2px solid white;
  border-radius: 4px;
  cursor: pointer;
}
.choices label:has(input:checked) {
  border-color: var(--yellow);
  color: var(--yellow);
  background: #fffb4c20;
}
input[type="radio"],
input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--yellow);
  flex: none;
  margin: 0;
}
.consent label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.consent a {
  display: inline-block;
  margin: 12px 0 0 36px;
}
.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.placeholder,
.map {
  border: 2px dashed #fffb4c99;
  border-radius: 4px;
  padding: 32px;
  background: #ffffff0a;
}
.program {
  display: block;
  width: 100%;
  height: auto;
}
.map {
  min-height: 300px;
  display: grid;
  place-items: center;
  text-align: center;
}
.map:has(iframe) {
  padding: 0;
  border: 0;
}
.map iframe {
  width: 100%;
  height: 340px;
  border: 0;
  border-radius: 4px;
}
footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 32px;
  border-top: 1px solid #ffffff40;
  padding: 28px clamp(24px, 5vw, 72px);
}
footer a {
  color: white;
}
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 20px 32px;
  background: var(--blue);
  border-top: 2px solid var(--yellow);
  box-shadow: 0 -8px 24px #0004;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 32px;
}
.cookie-banner h2 {
  font-size: 20px;
  margin: 0;
}
.cookie-banner p {
  flex: 1 1 400px;
  font-size: 14px;
  margin: 0;
}
.cookie-actions {
  display: flex;
  gap: 12px;
}
.simple-page {
  min-height: 90vh;
}
.page-title {
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.2;
  margin: 48px 0 32px;
}
.privacy-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.sr-only,
.skip:not(:focus) {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  background: var(--blue);
  padding: 16px;
}
@media (max-width: 1100px) and (min-width: 761px) {
  form {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: 800px;
  }
  .logos {
    gap: 16px;
  }
}
@media (max-width: 760px) {
  .layout {
    display: block;
  }
  .teaser {
    position: relative;
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .hero {
    min-height: 720px;
    padding-top: 24px;
  }
  h1 {
    font-size: clamp(34px, 10vw, 64px);
  }
  h1 b {
    font-size: clamp(112px, 32vw, 184px);
  }
  .subtitle {
    font-size: 20px;
  }
  .event {
    font-size: 20px;
  }
  section {
    padding: 48px 24px;
  }
  .cookie-banner {
    padding: 16px 20px;
    gap: 12px;
  }
  .cookie-actions {
    width: 100%;
  }
  .cookie-actions button {
    flex: 1;
  }
  .cookie-banner h2 {
    font-size: 18px;
  }
  .cookie-banner p {
    font-size: 13px;
  }
  .simple-page {
    min-height: auto;
  }
  form {
    gap: 20px 16px;
  }
}
@media (max-width: 420px) {
  form {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: 680px;
  }
  .logos {
    gap: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
/* Keep the decorative ribbon behind clear blue panels so yellow text and logos remain legible. */
.hero h1,
.hero .subtitle,
.hero .event {
  position: relative;
  background: var(--blue);
}
.hero h1,
.hero .subtitle {
  width: fit-content;
}
.hero .event {
  padding: 24px 16px 16px;
  margin-top: auto;
}
/* Full-screen QR code (/qr/{code}): as large as the phone screen allows, on its own white border. */
.qr-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-height: 100vh;
  padding: 24px 16px;
  text-align: center;
}
.qr-page .language {
  margin-bottom: 0;
}
.qr-brand {
  margin: 0;
  color: var(--yellow);
  font-size: 24px;
  line-height: 1;
}
.qr-brand strong {
  font-size: 48px;
}
.qr-code {
  width: min(85vw, 60vh, 420px);
  height: auto;
  image-rendering: pixelated;
}
.qr-text {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

html.privacy-open {
  overflow: hidden;
}
.privacy-dialog {
  width: min(760px, calc(100% - 32px));
  max-height: 85dvh;
  padding: 0;
  border: 2px solid var(--yellow);
  border-radius: 12px;
  color: var(--yellow);
  background: var(--blue);
}
.privacy-dialog::backdrop {
  background: rgb(0 0 0 / 65%);
}
.privacy-dialog[open] {
  display: flex;
  flex-direction: column;
}
.privacy-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--yellow);
}
.privacy-dialog-header h2 {
  margin: 0;
  font-size: clamp(20px, 4vw, 28px);
}
.privacy-dialog-content {
  overflow-y: auto;
  padding: 0 20px 20px;
  color: var(--white);
}
