:root {
  --bg: #f0f3d9;
  --bg-soft: #dcecc6;
  --panel: rgba(255, 247, 208, 0.8);
  --panel-strong: #fff3c8;
  --ink: #305548;
  --ink-soft: #567969;
  --accent: #f0c66d;
  --accent-strong: #dd8e5b;
  --shadow: 0 24px 60px rgba(48, 85, 72, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Instrument Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(255, 241, 189, 0.95), transparent 18rem),
    radial-gradient(circle at top left, rgba(239, 199, 116, 0.4), transparent 20rem),
    linear-gradient(180deg, #edf6d6 0%, #dcebc7 100%);
}

img {
  display: block;
  max-width: 100%;
}

.hidden {
  display: none !important;
}

.page-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 4rem;
}

.login-screen {
  min-height: calc(100vh - 2rem);
  display: grid;
  place-items: center;
}

.login-card,
.panel,
.album-card {
  backdrop-filter: blur(16px);
  border: 1px solid rgba(48, 85, 72, 0.1);
  box-shadow: var(--shadow);
}

.login-card {
  width: min(100%, 32rem);
  background: linear-gradient(180deg, rgba(255, 245, 206, 0.95), rgba(255, 255, 255, 0.78));
  border-radius: 2rem;
  padding: 2rem;
}

.eyebrow,
.section-kicker,
.schedule-day {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  color: var(--accent-strong);
}

h1,
h2,
h3 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.02em;
  margin: 0;
}

.login-card h1,
.hero h1 {
  font-size: clamp(3.3rem, 11vw, 7rem);
  line-height: 0.95;
}

.login-copy,
.hero-lead,
.hero-body,
.section-note,
.album-description,
.schedule-details,
#festival-description {
  color: var(--ink-soft);
}

.login-form {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.8rem;
}

.login-form label {
  font-size: 0.95rem;
  font-weight: 600;
}

.login-form input {
  border: 1px solid rgba(48, 85, 72, 0.18);
  border-radius: 999px;
  padding: 0.9rem 1rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.9);
}

.login-form button,
.ghost-button {
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.2rem;
  font: inherit;
  cursor: pointer;
}

.login-form button {
  background: linear-gradient(135deg, var(--ink), #406a59);
  color: white;
  font-weight: 700;
}

.form-message {
  min-height: 1.5rem;
  margin: 0;
  font-size: 0.95rem;
}

.festival-page {
  display: grid;
  gap: 1.5rem;
}

.hero {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  grid-template-columns: 1.1fr 0.9fr;
  padding-top: 1.5rem;
}

.hero-copy {
  position: relative;
  padding: 1rem 0;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 1rem auto auto -1rem;
  width: 9rem;
  height: 9rem;
  border-radius: 1.8rem;
  background: linear-gradient(135deg, rgba(240, 198, 109, 0.42), rgba(221, 142, 91, 0.18));
  filter: blur(4px);
  z-index: -1;
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: 2rem;
  top: 2rem;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  border: 1px solid rgba(48, 85, 72, 0.1);
  opacity: 0.7;
}

.hero-copy-inner {
  position: relative;
  overflow: hidden;
  padding: 2.25rem;
  border-radius: 2rem;
  background:
    radial-gradient(circle at top right, rgba(240, 198, 109, 0.6), transparent 16rem),
    radial-gradient(circle at bottom left, rgba(221, 142, 91, 0.18), transparent 14rem),
    linear-gradient(135deg, rgba(255, 248, 222, 0.99), rgba(246, 232, 174, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    0 24px 60px rgba(48, 85, 72, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(14px);
}

.hero-copy-inner::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border-radius: 1.4rem;
  border: 1px solid rgba(48, 85, 72, 0.08);
  pointer-events: none;
}

.hero-topline {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-date {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.hero-pass {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(48, 85, 72, 0.08);
  color: var(--ink);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-pass-main,
.hero-pass-sub {
  white-space: nowrap;
}

.hero-pass-main {
  color: var(--accent-strong);
}

.hero-pass-divider {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: rgba(48, 85, 72, 0.35);
}

.hero-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.ghost-button {
  background: rgba(48, 85, 72, 0.1);
  color: var(--ink);
  font-weight: 700;
}

.hero h1 {
  max-width: 7ch;
  margin-top: 1rem;
  font-size: clamp(4.8rem, 10vw, 7.8rem);
  line-height: 0.88;
}

.hero-lead {
  max-width: 20ch;
  margin: 1rem 0 0;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.15;
  color: var(--ink);
}

.hero-body {
  max-width: 34rem;
  margin: 1rem 0 0;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.6;
}

.hero-manifesto {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(48, 85, 72, 0.1);
}

.hero-manifesto-title {
  max-width: 11ch;
  margin-top: 0.75rem;
  font-size: clamp(2.7rem, 4.8vw, 4.8rem);
  line-height: 0.9;
  color: var(--ink);
}

.hero-manifesto-body {
  max-width: 34rem;
  margin: 1rem 0 0;
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  line-height: 1.55;
  color: #45685a;
}

.hero-manifesto-signature {
  margin: 1.2rem 0 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.25rem, 1.9vw, 1.75rem);
  letter-spacing: 0.06em;
  color: var(--accent-strong);
}

.hero-callout {
  display: grid;
  gap: 0.5rem;
  max-width: 30rem;
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(48, 85, 72, 0.08);
}

.hero-callout p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.55;
}

.hero-callout-label,
.hero-location {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.05em;
}

.hero-callout-label {
  font-size: 1.15rem;
  color: var(--accent-strong);
}

.hero-location {
  font-size: 1.5rem;
  color: var(--ink);
}

.poster-frame {
  background: linear-gradient(180deg, rgba(255, 248, 222, 0.92), rgba(255, 255, 255, 0.66));
  border-radius: 2rem;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.poster-frame img {
  border-radius: 1.2rem;
}

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

.panel,
.album-card {
  background: var(--panel);
  border-radius: 1.8rem;
  padding: 1.5rem;
}

.empty-state {
  color: var(--ink-soft);
}

.schedule-list,
.albums-grid,
.photo-grid,
.album-detail-grid {
  display: grid;
  gap: 1rem;
}

.schedule-item {
  padding: 1rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.5);
}

.music-panel {
  padding-bottom: 1rem;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
}

.embed-shell {
  overflow: hidden;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.56);
  min-height: 450px;
}

.embed-shell iframe {
  width: 100%;
  min-height: 450px;
  border: 0;
}

.albums-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.albums-overview,
.album-detail {
  margin-top: 1.25rem;
}

.album-overview-card {
  padding: 1rem;
}

.album-cover-button,
.detail-photo-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.album-cover {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 1.2rem;
  margin-bottom: 1rem;
}

.album-cover-button:hover .album-cover,
.detail-photo-button:hover .detail-photo-image {
  transform: scale(1.02);
}

.album-cover,
.detail-photo-image {
  transition: transform 180ms ease;
}

.album-detail-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.album-detail-copy h3 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 0.95;
}

.album-detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.album-detail-loadmore {
  display: grid;
  place-items: center;
  padding: 1rem 0 0.5rem;
}

.detail-photo-image {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.3);
}

.lightbox {
  width: min(92vw, 1100px);
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 1.6rem;
  background: rgba(17, 30, 25, 0.92);
  color: white;
}

.lightbox::backdrop {
  background: rgba(15, 20, 18, 0.82);
  backdrop-filter: blur(6px);
}

.lightbox-figure {
  margin: 0;
  min-height: min(78vh, 900px);
  display: grid;
  place-items: center;
  padding: 4.5rem 4.5rem 2rem;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: white;
  cursor: pointer;
  font: inherit;
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
  padding: 0.8rem 1rem;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  padding: 0.9rem 1rem;
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.lightbox-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

@media (max-width: 920px) {
  .hero,
  .albums-grid {
    grid-template-columns: 1fr;
  }

  .album-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 1rem, 100%);
  }

  .login-card,
  .panel,
  .album-card {
    border-radius: 1.4rem;
    padding: 1.2rem;
  }

  .hero {
    padding-top: 0.5rem;
  }

  .hero-copy-inner {
    padding: 1.4rem;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 18vw, 5.4rem);
  }

  .hero-lead {
    font-size: 1.3rem;
  }

  .hero-manifesto-title {
    font-size: clamp(2.6rem, 11vw, 3.8rem);
  }

  .album-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lightbox-figure {
    padding: 4.5rem 1rem 1rem;
    min-height: 60vh;
  }

  .lightbox-nav {
    top: auto;
    bottom: 1rem;
    transform: none;
  }

  .lightbox-prev {
    left: 1rem;
  }

  .lightbox-next {
    right: 1rem;
  }
}
