:root {
  --color-bg: #fff;
  --color-text: #201e1d;
  --color-accent-red: #d9232e;
  --color-accent-blue: #0b4da2;
  --font-heading: "Archivo", system-ui, sans-serif;
  --font-body: "Krona One", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  margin: 0;
  background: var(--color-bg);
  overflow-x: hidden;
}

a {
  color: var(--color-accent-blue);
  text-decoration: none;
}

a:hover {
  color: var(--color-accent-red);
}

.poster {
  margin: 0 auto;
  max-width: 900px;
  height: 1140px;
  position: relative;
  overflow: auto;
  background: var(--color-bg);
  font-family: var(--font-body);
  color: var(--color-text);
}

.poster-texture {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(58deg, rgba(32, 30, 29, 0.05) 0px, rgba(32, 30, 29, 0.05) 1px, transparent 1px, transparent 7px);
  pointer-events: none;
}

.poster-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.banner {
  background: var(--color-text);
  color: var(--color-bg);
  padding: 16px 22px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 27px;
  letter-spacing: 0.09em;
}

.row-hero {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-content: center;
  height: 360px;
}

.logo-wrap {
  display: flex;
}

.logo {
  margin-left: 20px;
  display: block;
  height: 360px;
  width: auto;
}

.dates {
  display: flex;
  padding: 40px;
}

.dates-inner {
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
}

.dates-label {
  font-size: 30px;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}

.dates-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 52px;
  line-height: 1;
  letter-spacing: -0.01em;
}

.date-highlight {
  color: var(--color-accent-red);
}

.rule {
  height: 3px;
  background: var(--color-text);
}

.row-venue {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 18px 40px;
}

.venue {
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
}

.venue-kicker {
  font-size: 25px;
  letter-spacing: 0.16em;
  color: var(--color-accent-blue);
}

.venue-name {
  font-size: 52px;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin-top: 6px;
}

.venue-city {
  font-size: 28px;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.times {
  text-align: right;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 34px;
  line-height: 1.28;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.row-genres {
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

.genre {
  font-family: var(--font-heading);
  font-weight: 900;
  letter-spacing: 0.05em;
  padding: 4px 18px;
  text-transform: uppercase;
}

.genre-motown {
  color: var(--color-accent-blue);
  font-family: var(--font-body);
  font-size: 48px;
  letter-spacing: 0.03em;
  margin: 0 0 0 200px;
  padding: 24px 18px 8px;
}

.genre-british {
  background: var(--color-text);
  color: var(--color-bg);
  font-size: 46px;
}

.genre-garage {
  color: var(--color-accent-red);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 44px;
  letter-spacing: 0.03em;
  margin: 8px 0 0 80px;
}

.genre-soul {
  background: var(--color-accent-blue);
  color: var(--color-bg);
  font-size: 52px;
  letter-spacing: 0.1em;
  margin-left: 52px;
}

.genre-ska {
  color: var(--color-text);
  font-size: 52px;
  margin-left: 350px;
}

.row-genres-photo {
  position: absolute;
  right: 0;
  bottom: 70px;
  width: auto;
  height: 460px;
  overflow: hidden;
  background: var(--color-bg);
}

.row-genres-photo img {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 36% 40%;
  transform-origin: 30% 34%;
  filter: grayscale(1) brightness(1.05) contrast(340%);
}

.photo-tint {
  position: absolute;
  inset: 0;
  background: var(--color-accent-blue);
  mix-blend-mode: lighten;
  pointer-events: none;
}

.photo-halftone {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(242, 237, 227, 0.85) 1.2px, transparent 1.3px);
  background-size: 7px 7px;
  mix-blend-mode: screen;
  opacity: 0.5;
  pointer-events: none;
}

.spacer {
  flex: 1;
}

.site-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000;
  color: var(--color-bg);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 0.1em;
  padding: 20px 40px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.instagram-link {
  color: var(--color-bg);
  display: flex;
  align-items: center;
  gap: 6px;
}

.instagram-label {
  font-size: 18px;
  padding-right: 10px;
}

/* Responsive collapse for mobile: the poster is designed at 900x1140.
   Below 640px we stop enforcing the fixed height and let content stack,
   scaling type down and switching side-by-side rows to a column. */
@media (max-width: 640px) {
  .poster {
    height: auto;
    overflow: visible;
    max-width: 100%;
  }

  .poster-body {
    position: static;
  }

  .banner {
    font-size: 15px;
    letter-spacing: 0.05em;
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 4px;
  }

  .row-hero {
    height: auto;
    flex-direction: column;
    align-items: center;
  }

  .logo {
    margin: 16px auto 0;
    height: 220px;
  }

  .dates {
    padding: 20px;
  }

  .row-venue {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .times {
    text-align: left;
  }

  .genre {
    margin-left: 16px !important;
    font-size: 32px !important;
  }

  .row-genres-photo {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 220px;
  }

  .site-footer {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    font-size: 15px;
    letter-spacing: 0.04em;
    padding: 14px 16px;
  }

  .instagram-label {
    font-size: 13px;
    padding-right: 6px;
  }
}

@media (max-width: 400px) {
  .dates-list,
  .venue-name {
    font-size: 38px;
  }
}
