@property --border-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

:root {
  --frame-width: clamp(8px, 2vw, 20px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: #fff;
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: #fff;
  color: #000;
  font-family: "DM Sans", sans-serif;
}

/* Zwarte rand langs de viewport */

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  padding: var(--frame-width);

  background: #000;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;

  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;

}

/* Twee kolommen */

.layout {
  width: 100%;
  max-width: 1440px;
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;

  padding:
    clamp(56px, 7vw, 110px)
    clamp(32px, 6vw, 96px);

  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

/* Linkerkolom */

.intro {
  min-width: 0;
}

.intro h1 {
  margin: 0 0 32px;
  font-size: clamp(48px, 5.5vw, 80px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.intro p {
  margin: 0;
  font-size: clamp(18px, 1.6vw, 23px);
  font-weight: 400;
  line-height: 1.55;
}

.intro p + p {
  margin-top: 24px;
}

/* Rechterkolom */

.event {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-bottom: 32px;
}

.event-details {
  margin: 0;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.5;
}

.event h2 {
  margin: 32px 0 20px;
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

/* Ticketknop */

.ticket-button {
  display: inline-block;
  max-width: 100%;
  padding: 18px 36px;
  border: 0;
  border-radius: 0;
  background: #000;
  color: #fff;

  font-family: inherit;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;

  transition: transform 200ms ease;
}

.ticket-button:hover {
  background: #000;
  color: #fff;
  transform: scale(1.05);
}

/* Instagram */

p.event-details a {
  display: inline-block;
  max-width: 100%;
  color: #000;
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 500;
  line-height: 1.4;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
p.event-details :hover {
  text-decoration-thickness: 2px;
}

.instagram {
  display: inline-block;
  max-width: 100%;
  margin-top: 36px;
  padding-block: 8px;
  color: #000;
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 500;
  line-height: 1.4;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.instagram:hover {
  text-decoration-thickness: 2px;
}

.ticket-button:focus-visible,
.instagram:focus-visible {
  outline: 2px solid #000;
  outline-offset: 6px;
}

/* Op kleinere schermen onder elkaar */

@media (max-width: 800px) {
  body {
    text-align: center;
  }

  .layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
    padding:
      56px
      calc(var(--frame-width) + 24px);
  }

  .intro h1 {
    font-size: clamp(42px, 8vw, 64px);
    margin-bottom: 28px;
  }

  .intro p {
    font-size: 18px;
  }

  .logo {
    max-width: 340px;
  }
}

/* Respecteer de voorkeur voor minder beweging */

@media (prefers-reduced-motion: reduce) {
  body::after {
    animation: none;
  }

  .ticket-button {
    transition: none;
  }

  .ticket-button:hover {
    transform: none;
  }
}