:root {
  color-scheme: light;
  --paper: #fef2e4;
  --ink: #211715;
  --red: #861b23;
  --red-deep: #64151f;
  --green: #304c33;
  --ochre: #a56c1c;
  --display: "Cormorant Garamond", Georgia, serif;
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

* { box-sizing: border-box; }

body { margin: 0; }

.festival-symbols { position: absolute; }

a { color: inherit; }

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

.masthead,
.hero-inner,
.practical-inner,
.faq,
.footer {
  width: min(100% - 3rem, 72rem);
  margin-inline: auto;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
  border-bottom: 1px solid #a56c1c59;
  font-size: 0.875rem;
  font-weight: 700;
}

.home-logo {
  display: block;
  width: 4.75rem;
  flex: none;
  color: var(--red);
}

.home-logo::before {
  content: "";
  display: block;
  aspect-ratio: 3 / 2;
  background-color: currentColor;
  mask: url("../assets/uploads/1777810811184-naamloos-79.png") center / contain no-repeat;
}

.home-logo:hover { color: var(--red-deep); }

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  color: var(--red);
  text-decoration: none;
  white-space: nowrap;
}

.instagram-link svg { flex: none; }
.instagram-link:hover { color: var(--red-deep); }

.masthead a:hover { text-decoration: underline; }

.masthead-actions,
.language-switch {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.language-switch {
  gap: 0.3rem;
  padding-inline-start: 1rem;
  border-inline-start: 1px solid #a56c1c59;
  color: #695345;
}

.language-switch[hidden] { display: none; }

.language-switch a {
  display: grid;
  place-items: center;
  min-width: 1.6rem;
  min-height: 2rem;
  text-decoration: none;
}

.language-switch a[aria-current] {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.hero { overflow: hidden; }

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.94fr);
  isolation: isolate;
  min-height: 35rem;
}

.hero-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  padding-block: 2rem 1.5rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.15rem;
  color: var(--red);
  font-size: 0.95rem;
  font-weight: 800;
}

.star {
  display: inline-block;
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--green);
  background: currentColor;
  clip-path: polygon(50% 0, 55% 38%, 75% 25%, 62% 45%, 100% 50%, 62% 55%, 75% 75%, 55% 62%, 50% 100%, 45% 62%, 25% 75%, 38% 55%, 0 50%, 38% 45%, 25% 25%, 45% 38%);
}

h1,
h2,
.host {
  font-family: var(--display);
  font-weight: 600;
}

h1 {
  margin: 0;
  font-size: 6rem;
  font-style: italic;
  line-height: 0.86;
  overflow-wrap: anywhere;
}

h1 span {
  display: block;
  color: var(--red);
}

.date {
  margin: 1.5rem 0 0;
  color: var(--red);
  font-size: 1.2rem;
  font-weight: 800;
}

.date-weekday {
  display: block;
  font-size: 0.85em;
}

.host {
  margin: 0.65rem 0 0.9rem;
  font-size: 1.75rem;
  font-style: italic;
  line-height: 1.2;
}

.host strong { font-weight: inherit; }

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border-radius: 4px;
  background: var(--red);
  color: var(--paper);
  font-size: 0.875rem;
  font-weight: 800;
  text-decoration: none;
}

.primary-link:hover { background: var(--red-deep); }
.primary-link:focus-visible { outline-color: var(--red); }

.hero-art {
  position: relative;
  align-self: end;
  margin-top: 1.25rem;
}

.hero-fireworks {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.firework-gold { color: var(--ochre); }
.firework-red { color: var(--red); }
.firework-green { color: var(--green); }

@media (prefers-reduced-motion: no-preference) {
  .hero-fireworks {
    --firework-delay: 0.65s;
  }

  .firework-second { --firework-delay: 1.02s; }
  .firework-third { --firework-delay: 1.38s; }

  .hero-art.is-toasting :is(.firework-burst, .firework-spark) {
    transform-box: fill-box;
    transform-origin: center;
  }

  .hero-art.is-toasting .firework-burst {
    animation: firework-expand 1.4s ease-in-out var(--firework-delay);
  }

  .hero-art.is-toasting .firework-spark {
    animation: firework-twinkle 1s ease-in-out calc(var(--firework-delay) + 0.48s);
  }

  @keyframes firework-expand {
    21% { transform: scale(0.7); opacity: 0.42; }
    52% { transform: scale(1.14); opacity: 1; }
    79% { transform: scale(1.04); opacity: 0.76; }
  }

  @keyframes firework-twinkle {
    23% { transform: scale(0.56); opacity: 0.45; }
    58% { transform: scale(1.42); opacity: 1; }
  }
}

.portrait {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
}

.portrait-motion {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-art.is-toasting .portrait { visibility: hidden; }

.toast-toggle:not([hidden]) {
  position: absolute;
  right: 0.4rem;
  bottom: 0.55rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--red);
  border-radius: 50%;
  background: var(--paper);
  color: var(--red);
  cursor: pointer;
}

.toast-toggle:hover { background: var(--red); color: var(--paper); }
.toast-toggle:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.toast-toggle svg { width: 1.15rem; height: 1.15rem; }
.toast-toggle[data-playing="true"] .toast-play-icon,
.toast-toggle[data-playing="false"] .toast-pause-icon { display: none; }

.music-note {
  position: absolute;
  pointer-events: none;
  top: -0.75rem;
  right: 32%;
  font: 2.75rem / 1 Georgia, serif;
}

.practical {
  background: var(--red-deep);
  color: var(--paper);
  border-block: 2px solid #bc894f;
}

.practical-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  padding-block: 3rem 3.5rem;
}

h2 {
  margin: 0 0 1rem;
  font-size: 2.75rem;
  font-style: italic;
  line-height: 1;
}

.detail-list { margin: 0 0 1.3rem; }

.detail-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: 20rem;
  padding-block: 0.55rem;
  border-bottom: 1px solid #fef2e446;
}

.detail-list dd { margin: 0; font-weight: 700; white-space: nowrap; }
address { margin-bottom: 0.8rem; font-style: normal; line-height: 1.55; }

.tickets {
  border-left: 1px solid #fef2e446;
  padding-left: 3rem;
}

.primary-link.ticket-button {
  background: var(--paper);
  color: var(--red-deep);
}

.primary-link.ticket-button:hover { background: #f7ddb7; }
.primary-link.ticket-button:focus-visible { outline-color: var(--paper); }

.text-link { font-weight: 700; text-underline-offset: 0.2em; }

.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 2rem;
  padding-block: 3rem;
  border-bottom: 1px solid #861b233d;
}

.faq h2 {
  margin: 0;
  color: var(--red);
}

.faq[hidden] { display: none; }

.faq-list {
  border-top: 1px solid #861b233d;
}

.faq-list details {
  border-bottom: 1px solid #861b233d;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0.25rem;
  list-style: none;
  font-weight: 700;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover,
.faq-list details[open] summary { color: var(--red); }

.faq-list summary:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: -2px;
}

.faq-toggle {
  display: grid;
  flex: none;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--red);
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  grid-area: 1 / 1;
  width: 0.875rem;
  height: 2px;
  background: currentColor;
}

.faq-toggle::after { transform: rotate(90deg); }
.faq-list details[open] .faq-toggle::after { display: none; }

.faq-list p {
  margin: 0 2rem 1rem 0.25rem;
  line-height: 1.55;
  white-space: pre-line;
}

.footer {
  padding-block: 2rem 1.3rem;
  text-align: center;
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 700;
}

.partner-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 1rem;
  width: min(100%, 30rem);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.partner-logos img {
  display: block;
  width: 100%;
  height: 3.75rem;
  object-fit: contain;
  background: #fdf2e3;
}

.partner-logos .partner-logo-vermeer {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 3.75rem;
  margin-inline: auto;
  clip-path: polygon(0 0, 68% 0, 68% 2%, 72% 2%, 72% 10%, 100% 10%, 100% 94%, 98% 100%, 0 100%);
}

.partner-logos .partner-logo-weemoed {
  height: auto;
  background: none;
  mix-blend-mode: multiply;
}

.footer p {
  margin: 1.35rem 0 0;
  color: #595959;
  font-weight: 400;
}

.footer .footer-contact {
  margin: 0 0 1.3rem;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.footer-contact a { color: var(--red); }

@media (max-width: 64rem) {
  h1 { font-size: 4.8rem; }
  .hero-inner { min-height: 29rem; }
}

@media (max-width: 44rem) {
  .masthead, .hero-inner, .practical-inner, .faq, .footer { width: min(100% - 2rem, 72rem); }
  .masthead { min-height: 3.5rem; }
  .home-logo { width: 3.75rem; }
  .instagram-link { gap: 0.3rem; font-size: 0.75rem; }
  .instagram-link svg { width: 1rem; height: 1rem; }
  .masthead-actions { gap: 0.65rem; }
  .language-switch { padding-inline-start: 0.65rem; }

  .hero-inner {
    display: block;
    min-height: 0;
  }

  .hero-copy { padding-block: 2.25rem 0; }
  .eyebrow { margin-bottom: 0.85rem; }
  h1 { font-size: 3.85rem; }
  .date { margin-top: 1rem; }
  .host { font-size: 1.5rem; margin-bottom: 0.85rem; }
  .hero-art { width: min(100%, 27rem); margin-left: auto; }
  .music-note { font-size: 2.25rem; }

  .practical-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-block: 2.25rem;
  }

  .tickets {
    border-left: 0;
    border-top: 1px solid #fef2e446;
    padding: 1.75rem 0 0;
  }

  .faq {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding-block: 2.25rem;
  }
}

@media (max-width: 24rem) {
  h1 { font-size: 3.2rem; }
}
