@font-face {
  font-family: Delight;
  src: url("Delight-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
}

@font-face {
  font-family: Delight;
  src: url("Delight-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: Delight;
  src: url("Delight-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --background: #edf3ed;
  --ink: #292929;
  --coral: #ed6a5e;
}

* { box-sizing: border-box; }

html { min-width: 320px; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: Delight, Arial, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("detalle_fondo.svg") center center / auto 100% no-repeat;
}

.page {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, 890px);
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(52px, 8vh, 90px) 0 60px;
}

.festival-header { text-align: center; }

.festival-logo {
  display: block;
  width: min(100%, 393px);
  height: auto;
  margin: 0 auto;
}

.festival-dates {
  margin: 38px 0 0;
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

.festival-dates span,
.accent { color: var(--coral); }

.programme { margin-top: 62px; }

.programme h1 {
  margin: 0;
  text-align: center;
  font-size: clamp(27px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1.1;
}

.artists {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 76px;
  margin-top: 57px;
}

.artist {
  flex: 0 1 calc((100% - 76px) / 2);
  min-width: 0;
}

.artist-image {
  display: block;
  width: 100%;
  height: auto;
}

.artist h2 {
  margin: 9px 0 2px;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  line-height: 1.12;
}

.artist p {
  margin: 0;
  font-size: clamp(18px, 1.9vw, 23px);
  font-weight: 600;
  line-height: 1.2;
}

.tickets {
  display: block;
  width: 100%;
  margin-top: 50px;
  padding: 8px 20px 7px;
  background: var(--coral);
  color: #fff;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  font-size: clamp(18px, 2.2vw, 25px);
  font-weight: 700;
  line-height: 1.12;
  transition: background-color .15s ease;
}

.tickets:hover,
.tickets:focus-visible { background: #d85247; }
.tickets:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

@media (max-width: 700px) {
  body::before {
    background-size: auto 100%;
    background-position: 30% center;
  }

  .page {
    width: min(100% - 40px, 440px);
    padding-top: 42px;
    padding-bottom: 48px;
  }

  .festival-logo { width: min(100%, 290px); }

  .festival-dates {
    margin-top: 25px;
    font-size: clamp(17px, 4.6vw, 23px);
    white-space: normal;
  }

  .programme { margin-top: 46px; }
  .programme h1 { font-size: clamp(26px, 6.3vw, 32px); }

  .artists {
    gap: 33px;
    margin-top: 32px;
  }

  .artist { flex-basis: 100%; }

  .artist h2 { margin-top: 5px; font-size: 29px; }
  .artist p { font-size: 19px; }
  .tickets { margin-top: 37px; font-size: 19px; }
}
