:root {
  --sand: #f2e6cf;
  --paper: #fff8ec;
  --ink: #1b1f24;
  --deep-sea: #0f3748;
  --terracotta: #d1603d;
  --olive: #5a6a38;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  --radius: 18px;
}

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

body {
  margin: 0;
  color: var(--ink);
  font-family: "Avenir Next", "Gill Sans", "Trebuchet MS", sans-serif;
  line-height: 1.5;
  background:
    linear-gradient(rgba(10, 22, 28, 0.76), rgba(10, 22, 28, 0.62)),
    url("img/background.jpg") center / cover fixed no-repeat;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  letter-spacing: 0.02em;
}

.hero {
  min-height: 68vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.hero__inner {
  max-width: 720px;
  width: min(94vw, 720px);
  background: rgba(255, 248, 236, 0.94);
  border-radius: var(--radius);
  padding: 1.5rem 1.2rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  font-size: 0.83rem;
  letter-spacing: 0.14em;
  color: var(--olive);
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: var(--deep-sea);
}

.lead {
  margin: 0.8rem auto 1.4rem;
  max-width: 60ch;
}

.event-chip {
  display: inline-block;
  margin: 0.65rem 0 0.2rem;
  padding: 0.34rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 55, 72, 0.32);
  background: rgba(255, 255, 255, 0.72);
  color: var(--deep-sea);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.cta {
  display: inline-block;
  background: var(--terracotta);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.72rem 1.1rem;
  font-weight: 700;
  transition: transform 220ms ease, filter 220ms ease;
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.section {
  width: min(96vw, 1100px);
  margin: 0 auto 2rem;
  padding: 1rem;
}

.section__head {
  text-align: center;
  color: var(--paper);
  margin-bottom: 1rem;
}

.section__head p {
  margin: 0.45rem 0 0;
}

.poster-grid {
  display: grid;
  gap: 0.95rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.poster-card {
  border: 0;
  margin: 0;
  padding: 0;
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, rgba(8, 23, 31, 0.95), rgba(16, 44, 57, 0.94));
}

.poster-card img {
  width: 100%;
  height: clamp(300px, 42vw, 560px);
  object-fit: contain;
  object-position: center top;
  display: block;
  transition: transform 340ms ease, filter 340ms ease;
}

.poster-card span {
  position: absolute;
  left: 0.6rem;
  bottom: 0.6rem;
  background: rgba(7, 30, 41, 0.78);
  color: #fff;
  border-radius: 999px;
  padding: 0.34rem 0.78rem;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.poster-card:hover img,
.poster-card:focus-visible img {
  transform: scale(1.03);
  filter: saturate(1.08);
}

.section--info .section__head {
  text-align: left;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.panel {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 12px;
  border: 1px solid rgba(15, 55, 72, 0.22);
  padding: 1.2rem 1.15rem;
  box-shadow: 0 10px 24px rgba(6, 20, 30, 0.2);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.panel:hover {
  border-color: rgba(15, 55, 72, 0.45);
  box-shadow: 0 14px 28px rgba(6, 20, 30, 0.24);
}

.panel h3 {
  color: var(--deep-sea);
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 0.55rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(15, 55, 72, 0.18);
}

address {
  margin-top: 0.6rem;
  font-style: normal;
  line-height: 1.7;
}

.hours {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.72rem;
}

.hours li {
  display: grid;
  gap: 0.24rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(15, 55, 72, 0.14);
}

.hours li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hours strong {
  color: var(--olive);
}

.footer {
  text-align: center;
  color: var(--sand);
  padding: 1rem 1rem 2rem;
}

.footer-links {
  margin-top: 0.35rem;
  display: inline-flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.footer-links a[aria-current="page"] {
  text-decoration-thickness: 2px;
}

.legal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-header {
  width: min(96vw, 860px);
  margin: 2rem auto 0.5rem;
  background: rgba(255, 248, 236, 0.94);
  border-radius: 12px;
  border: 1px solid rgba(15, 55, 72, 0.2);
  padding: 1.2rem 1rem;
  box-shadow: 0 12px 24px rgba(6, 20, 30, 0.18);
}

.legal-header h1 {
  margin-top: 0.35rem;
  color: var(--deep-sea);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.legal-back {
  margin-top: 0.9rem;
  display: inline-block;
  color: var(--deep-sea);
  font-weight: 700;
}

.legal-main {
  width: min(96vw, 860px);
  margin: 0 auto 1.5rem;
  display: grid;
  gap: 0.8rem;
}

.legal-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  border: 1px solid rgba(15, 55, 72, 0.22);
  padding: 1rem;
  box-shadow: 0 8px 18px rgba(6, 20, 30, 0.16);
}

.legal-card h2 {
  font-size: 1.1rem;
  color: var(--deep-sea);
  margin-bottom: 0.45rem;
}

.legal-card p {
  margin: 0;
}

.legal-card p + p {
  margin-top: 0.65rem;
}

.legal-card--notice {
  border-color: rgba(209, 96, 61, 0.45);
}

.footer--legal {
  margin-top: auto;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.83);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
  z-index: 20;
}

.lightbox img {
  width: min(96vw, 950px);
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.5);
}

.lightbox--open {
  opacity: 1;
  visibility: visible;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 0;
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
  font-weight: 700;
  background: var(--paper);
}

.to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  border: 0;
  border-radius: 999px;
  padding: 0.52rem 0.88rem;
  background: var(--deep-sea);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.to-top--visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 380ms ease, transform 380ms ease;
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 840px) {
  .poster-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .section--info .section__head {
    text-align: center;
  }

  .legal-header,
  .legal-main {
    width: min(96vw, 680px);
  }
}
