/* ==========================================================================
   SUNSET CASTLE — HOMEPAGE (redesign 2026, "Plakat" direction)
   Everything below the hero is built from the hero's own parts: plum wave
   stripes, the orange sun ring, stacked Bodoni, the glass lineup ribbon and
   the lime badge. Mobile-first; loads after hero.css.
   ========================================================================== */

:root {
  --night: #12020b;
  --plum: #2a041b;
  --plum-2: #3d0a28;
  --magenta: #9e1b68;
  --sun: #ff4c25;
  --sun-light: #ff7c3b;
  --sun-deep: #e62310;
  --gold: #ffeb3b;
  --lime: #d1ff3c;
  --cream: #f6eadb;
  --text: rgba(246, 234, 219, 0.78);
  --text-dim: rgba(246, 234, 219, 0.5);
  --hair: rgba(255, 255, 255, 0.12);
  --wrap: 1180px;
  --bar-h: 60px;
}

/* ---- Overrides of the old page-wide purple gradient ---------------------- */
html {
  background-color: var(--night);
  scroll-padding-top: var(--bar-h);
}

body::after {
  background: var(--night);
}

.scroll-container {
  align-items: stretch;
  padding: 0;
}

.scroll-container>*:not(.hero-fullscreen) {
  padding-left: 0;
  padding-right: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ==========================================================================
   HERO — facelift
   Same poster (video, waves, sun ring, stacked title/date, castle, ribbon,
   lime sticker), tightened: cleaner top bar, bigger sun with a halo, the
   sticker stuck on the sun, the sun setting behind a full-size castle, and a
   one-line ribbon with an arrow.
   ========================================================================== */

/* Still photo behind the YouTube video: shows while the video loads, or if
   YouTube is blocked, instead of a black screen. */
.hero-video-wrapper {
  background:
    linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.62)),
    #000 url('/rosbeh-2026/img/gallery/29.webp') center / cover no-repeat;
}

/* The video fades in only once YouTube has loaded (site.js), over the still */
.hero-video-iframe {
  animation: none;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-video-iframe.is-ready {
  opacity: 1;
}

/* Soft vignette: keeps the video visible in the middle, darkens the edges */
.hero-fullscreen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse 75% 65% at 50% 48%, transparent 35%, rgba(12, 1, 8, 0.6) 100%);
}

/* ---- Top bar: hairline-separated facts + language pill ------------------ */
.hero-top-bar {
  gap: 0;
  padding: 1.6rem 2rem 0;
}

.hero-top-item {
  padding: 0 1.6rem;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-top-item:first-child {
  border-left: 0;
}

.hero-top-item:last-child {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-top-item:last-child .hero-top-label {
  display: none;
}

.hero-top-item:last-child .hero-top-value {
  font-size: 0.8rem;
}

/* ---- Sun: bigger, with a slowly turning halo ----------------------------- */
.hero-poster-layout {
  --sun: clamp(250px, 40vw, 440px);
}

.hero-poster-sun {
  width: var(--sun);
  height: var(--sun);
  box-shadow: 0 0 110px rgba(255, 124, 59, 0.6), inset 0 0 36px rgba(255, 124, 59, 0.4);
}

.hero-poster-sun::after {
  content: "";
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 186, 140, 0.45);
  animation: slow-rotate 140s linear infinite;
}

/* ---- Title + date: legible over video, gentle staggered entrance -------- */
.hero-poster-title,
.hero-poster-date {
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.45);
}

.hero-poster-title span,
.hero-poster-date span {
  animation: sc-rise 0.9s var(--ease-smooth) both;
}

.hero-poster-title span:nth-child(2),
.hero-poster-date span:nth-child(2) {
  animation-delay: 0.08s;
}

.hero-poster-title span:nth-child(3),
.hero-poster-date span:nth-child(3) {
  animation-delay: 0.16s;
}

.hero-poster-title span:nth-child(4),
.hero-poster-date span:nth-child(4) {
  animation-delay: 0.24s;
}

/* EN "S/O/O/N": four single letters, centred on one axis, same rhythm as the
   four-line title on the left */
.hero-poster-date--letters {
  align-items: center;
}

@keyframes sc-rise {
  from {
    opacity: 0;
    transform: translateY(0.35em);
  }
}

/* ---- Lime sticker, now stuck on the sun's lower-right rim --------------- */
.hero-poster-layout .hero-afterparty-badge {
  position: absolute;
  bottom: auto;
  right: auto;
  left: calc(50% + var(--sun) * 0.14);
  top: calc(50% + var(--sun) * 0.27);
  width: 96px;
  height: 96px;
  z-index: 6;
  text-align: center;
  text-decoration: none;
  color: var(--color-espresso-dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.hero-poster-layout .hero-afterparty-badge span.after-title {
  font-size: 0.5rem;
}

.hero-poster-layout .hero-afterparty-badge span.club-name {
  font-size: 0.9rem;
  line-height: 1;
}

/* ---- Castle: full width again, the sun sets behind it -------------------- */
.castle-svg-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-castle-svg {
  width: min(50%, 680px);
  max-width: none;
  opacity: 0.92;
}

/* ---- Ribbon: link with an arrow ----------------------------------------- */
a.hero-lineup-bar {
  text-decoration: none;
  color: inherit;
  transition: background 0.3s ease;
}

a.hero-lineup-bar:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-lineup-go {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--color-espresso-dark);
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform 0.3s var(--ease-smooth);
}

a.hero-lineup-bar:hover .hero-lineup-go {
  transform: translateX(4px);
}

@media (max-width: 768px) {

  /* top bar: organiser top-left, language pill top-right, date + venue below */
  .hero-top-bar {
    padding: 3.6rem 1rem 0;
  }

  .hero-top-item {
    padding: 0 1.1rem;
  }

  .hero-top-item:nth-child(2) {
    position: absolute;
    top: 1.15rem;
    left: 1rem;
    flex-direction: row;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0;
    border: 0;
  }

  .hero-top-item:nth-child(3) {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
  }

  .hero-top-item:last-child {
    top: 0.85rem;
    right: 1rem;
    padding: 0.3rem 0.75rem;
  }

  .hero-poster-layout {
    --sun: clamp(170px, 46vw, 250px);
  }

  .hero-poster-sun {
    width: var(--sun);
    height: var(--sun);
    border-width: 3px;
    border-color: rgba(255, 124, 59, 0.9);
  }

  .hero-poster-title {
    left: 1rem;
  }

  .hero-poster-date {
    right: 1rem;
  }

  .hero-poster-layout .hero-afterparty-badge {
    width: 74px;
    height: 74px;
    left: calc(50% + var(--sun) * 0.1);
    top: calc(50% + var(--sun) * 0.3);
  }

  .hero-poster-layout .hero-afterparty-badge span.after-title {
    font-size: 0.42rem;
  }

  .hero-poster-layout .hero-afterparty-badge span.club-name {
    font-size: 0.72rem;
  }

  .hero-castle-svg {
    width: 96%;
    opacity: 0.85;
  }

  /* ribbon: two short lines instead of five */
  .hero-lineup-bar {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.35rem 0.9rem;
    padding: 0.85rem 1rem 1rem;
  }

  .hero-lineup-headliner,
  .hero-lineup-supports {
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
  }

  .hero-lineup-divider,
  .hero-lineup-supports .hero-lineup-role {
    display: none;
  }

  .hero-lineup-go {
    width: 26px;
    height: 26px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {

  .hero-poster-title,
  .hero-poster-date {
    font-size: clamp(2.5rem, 12vw, 3.4rem);
  }
}

@media (prefers-reduced-motion: reduce) {

  .hero-poster-title span,
  .hero-poster-date span,
  .hero-poster-sun::after {
    animation: none;
  }
}

/* ==========================================================================
   SHARED BUILDING BLOCKS
   ========================================================================== */
.sc-wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.sc-section {
  position: relative;
  padding: 4.5rem 0;
  color: var(--text);
}

.sc-kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.sc-kicker span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--sun-light);
}

.sc-kicker::after {
  content: "";
  flex: 0 0 2.5rem;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

/* Stacked poster headline, same voice as the hero title */
.sc-stack {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 12.5vw, 5.6rem);
  line-height: 0.86;
  letter-spacing: -0.02em;
  color: var(--color-pure-white);
  margin-bottom: 1.5rem;
}

.sc-stack span {
  display: block;
}

.sc-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  max-width: 34rem;
}

.sc-head {
  margin-bottom: 2.5rem;
}

.sc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-pure-white);
  text-decoration: none;
  padding: 0.95rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.sc-btn:hover {
  background: var(--color-pure-white);
  color: var(--plum);
  border-color: var(--color-pure-white);
}

.sc-btn--lime {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--color-espresso-dark);
}

.sc-btn--lime:hover {
  background: var(--color-pure-white);
}

.sc-link {
  font-weight: 500;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 235, 59, 0.4);
  padding-bottom: 2px;
  transition: border-color 0.25s ease;
}

.sc-link:hover {
  border-color: var(--gold);
}

.sc-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
}

.sc-actions--center {
  justify-content: center;
}

.sc-waves {
  display: block;
  width: 100%;
  color: var(--plum);
}

.sc-skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  background: var(--lime);
  color: var(--color-espresso-dark);
  padding: 0.6rem 1rem;
  font-weight: 700;
}

.sc-skip:focus {
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

/* ==========================================================================
   COMPACT BAR (after the hero)
   ========================================================================== */
.sc-bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 1rem 0 1.25rem;
  background: rgba(18, 2, 11, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hair);
  transform: translateY(-100%);
  transition: transform 0.35s var(--ease-smooth);
}

.sc-bar.is-visible,
.sc-bar.is-open,
.sc-bar:focus-within {
  transform: none;
}

.sc-bar__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-right: auto;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-pure-white);
  text-decoration: none;
}

.sc-bar__sun {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--sun-light), var(--sun-deep));
  box-shadow: 0 0 14px rgba(255, 124, 59, 0.7);
}

.sc-bar__cta {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-espresso-dark);
  background: var(--lime);
  border-radius: 999px;
  padding: 0.6rem 0.95rem;
  white-space: nowrap;
}

.sc-bar__toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  gap: 6px;
  background: none;
  border: 0;
  cursor: pointer;
}

.sc-bar__toggle i {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-pure-white);
  transition: transform 0.3s ease;
}

.sc-bar.is-open .sc-bar__toggle i:first-of-type {
  transform: translateY(4px) rotate(45deg);
}

.sc-bar.is-open .sc-bar__toggle i:last-of-type {
  transform: translateY(-4px) rotate(-45deg);
}

/* Mobile: nav is a full-screen poster menu */
.sc-bar__nav {
  position: fixed;
  top: var(--bar-h);
  left: 0;
  right: 0;
  height: calc(100dvh - var(--bar-h));
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 2rem 1.25rem;
  background: var(--night);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.sc-bar.is-open .sc-bar__nav {
  visibility: visible;
  opacity: 1;
}

.sc-bar__nav a {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.3rem;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--color-pure-white);
  text-decoration: none;
}

.sc-bar__nav a:hover {
  color: var(--sun-light);
}

.sc-bar__lang {
  display: flex;
  gap: 0.6rem;
  margin-top: auto;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.15em;
}

.sc-bar__nav .sc-bar__lang a {
  font-size: 1rem;
  color: var(--text-dim);
}

@media (min-width: 960px) {
  .sc-bar {
    padding: 0 2rem;
    gap: 2rem;
  }

  .sc-bar__toggle {
    display: none;
  }

  .sc-bar__nav {
    position: static;
    height: auto;
    flex-direction: row;
    align-items: center;
    gap: 1.6rem;
    padding: 0;
    background: none;
    visibility: visible;
    opacity: 1;
  }

  .sc-bar__nav a {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    color: var(--text);
  }

  .sc-bar__nav a:hover {
    color: var(--color-pure-white);
  }

  .sc-bar__lang {
    margin: 0 0 0 0.5rem;
    font-size: 0.78rem;
  }

  .sc-bar__nav .sc-bar__lang a {
    font-size: 0.78rem;
  }
}

/* ==========================================================================
   01 — SIGNUP: the sun, filled in
   ========================================================================== */
.sc-signup {
  position: relative;
  overflow: hidden;
  padding: 0 0 4rem;
  color: var(--plum);
  background: radial-gradient(circle at 78% 18%, var(--sun-light) 0%, var(--sun) 42%, var(--sun-deep) 100%);
}

/* giant sun ring echoing the hero */
.sc-signup::before {
  content: "";
  position: absolute;
  width: 135vw;
  max-width: 1100px;
  aspect-ratio: 1;
  right: -45vw;
  top: 4rem;
  border-radius: 50%;
  border: 2px solid rgba(42, 4, 27, 0.18);
  pointer-events: none;
}

.sc-signup .sc-waves--top {
  height: 90px;
  margin-bottom: 2.5rem;
}

.sc-signup__grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
}

.sc-signup .sc-kicker {
  color: rgba(42, 4, 27, 0.7);
}

.sc-signup .sc-kicker span {
  color: var(--plum);
}

.sc-signup .sc-stack {
  color: var(--plum);
  font-size: clamp(2.5rem, 11.5vw, 5.4rem);
}

.sc-stack__accent {
  color: var(--color-pure-white);
}

.sc-signup .sc-lead {
  color: rgba(42, 4, 27, 0.88);
  font-weight: 500;
}

.form-card {
  align-self: end;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.signup-form input[type="email"] {
  min-width: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--plum);
  background: rgba(255, 244, 232, 0.92);
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 1.05rem 1.5rem;
  outline: none;
}

.signup-form input[type="email"]::placeholder {
  color: rgba(42, 4, 27, 0.45);
}

.signup-form input[type="email"]:focus {
  border-color: var(--plum);
}

.signup-form button {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--plum);
  border: 0;
  border-radius: 999px;
  padding: 1.1rem 2rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s ease, transform 0.25s var(--ease-smooth);
}

.signup-form button:hover {
  background: #000;
  transform: translateY(-2px);
}

.signup-form button:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.form-note {
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(42, 4, 27, 0.72);
  margin-top: 0.9rem;
}

.form-success {
  display: none;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--plum);
}

.form-success strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-pure-white);
}

.form-card.is-done .signup-form,
.form-card.is-done .form-note {
  display: none;
}

.form-card.is-done .form-success {
  display: block;
}

.sc-steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1.75rem;
  border-top: 2px solid var(--plum);
}

.sc-steps li {
  counter-increment: step;
  padding: 0.8rem 0.6rem 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  text-transform: uppercase;
  line-height: 1.1;
}

.sc-steps li::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  opacity: 0.6;
  margin-bottom: 0.3rem;
}

.sc-steps small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  text-transform: none;
  letter-spacing: 0;
  margin-top: 0.25rem;
  opacity: 0.8;
}

@media (min-width: 900px) {
  .sc-signup {
    padding-bottom: 6rem;
  }

  .sc-signup::before {
    right: -18rem;
    top: 2rem;
  }

  .sc-signup .sc-waves--top {
    height: 120px;
    margin-bottom: 3.5rem;
  }

  .sc-signup__grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: end;
  }

  .signup-form {
    flex-direction: row;
  }

  .signup-form input[type="email"] {
    flex: 1;
  }
}

/* ==========================================================================
   RIBBON (hero lineup bar as a marquee)
   ========================================================================== */
.sc-ribbon {
  overflow: hidden;
  background: var(--night);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  padding: 1rem 0;
}

.sc-ribbon__track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: max-content;
  animation: sc-marquee 40s linear infinite;
}

.sc-ribbon span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-pure-white);
  white-space: nowrap;
}

.sc-ribbon i {
  font-style: normal;
  color: var(--gold);
  font-size: 0.8rem;
}

@keyframes sc-marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   02 — EVENTS: mini posters
   ========================================================================== */
.sc-events {
  background: var(--night);
}

.sc-posters {
  display: grid;
  gap: 1.5rem;
}

.sc-poster {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--color-pure-white);
  text-decoration: none;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 76, 37, 0.22), transparent 60%),
    linear-gradient(180deg, #1d0413 0%, #0b0107 100%);
  border: 1px solid var(--hair);
  transition: transform 0.4s var(--ease-smooth), border-color 0.4s ease;
}

.sc-poster:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 124, 59, 0.5);
}

.sc-poster__waves {
  position: absolute;
  inset: 0 0 auto 0;
  height: 64px;
  color: var(--plum-2);
}

.sc-poster__waves svg {
  width: 100%;
  height: 100%;
}

.sc-poster__meta {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sc-poster__meta span:last-child {
  text-align: right;
}

.sc-poster small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.2rem;
}

.sc-poster__art {
  position: relative;
  height: 310px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.sc-poster__sun {
  position: relative;
  width: 200px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle, var(--sun-light) 0%, var(--sun-deep) 100%);
  border: 3px solid rgba(255, 124, 59, 0.75);
  box-shadow: 0 0 60px rgba(255, 124, 59, 0.55);
  transition: transform 0.6s var(--ease-smooth);
}

.sc-poster:hover .sc-poster__sun {
  transform: scale(1.06);
}

.sc-poster__sun img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sc-poster__sun--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 124, 59, 0.15), rgba(230, 35, 16, 0.55));
  mix-blend-mode: multiply;
}

.sc-poster__title,
.sc-poster__date {
  position: absolute;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.6rem;
  line-height: 0.85;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.sc-poster__title {
  left: 1.25rem;
}

.sc-poster__date {
  right: 1.25rem;
}

.sc-poster__title span,
.sc-poster__date span {
  display: block;
}

.sc-poster__date--word {
  font-size: 2rem;
}

/* Sea You: the sun sets into the poster's wave stripes */
.sc-poster--sea .sc-poster__sun {
  transform: translateY(40px);
}

.sc-poster--sea:hover .sc-poster__sun {
  transform: translateY(28px) scale(1.04);
}

.sc-poster__sea {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  width: 100%;
  height: 120px;
  color: #12020b;
}

.sc-poster__ribbon {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.9rem 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sc-poster__ribbon b {
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--gold);
}

.sc-poster__badge {
  position: absolute;
  bottom: 0.9rem;
  right: 1rem;
  z-index: 3;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  background: var(--lime);
  color: var(--color-espresso-dark);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.78rem;
  line-height: 1;
  transform: rotate(-14deg);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s var(--ease-elastic);
}

.sc-poster__badge small {
  font-size: 0.42rem;
  color: rgba(31, 11, 3, 0.7);
}

.sc-poster:hover .sc-poster__badge {
  transform: rotate(4deg) scale(1.08);
}

.sc-poster__foot {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.1rem 1.25rem 1.35rem;
}

.sc-poster__name {
  font-size: 0.95rem;
  color: var(--text);
}

.sc-poster__cta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

@media (min-width: 600px) {
  .sc-poster__art {
    height: 340px;
  }

  .sc-poster__sun {
    width: 250px;
  }

  .sc-poster__title,
  .sc-poster__date {
    font-size: 3.4rem;
  }

  .sc-poster__date--word {
    font-size: 2.6rem;
  }
}

@media (min-width: 900px) {
  .sc-section {
    padding: 7rem 0;
  }

  .sc-posters {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .sc-poster__ribbon {
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
  }

  .sc-poster__ribbon > span + span {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 1.25rem;
  }

  .sc-head--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: end;
  }

  .sc-head--split .sc-lead {
    margin-bottom: 1.75rem;
  }
}

/* ==========================================================================
   03 — GALLERY: daylight to night
   ========================================================================== */
.sc-gallery {
  background: linear-gradient(180deg, var(--night) 0%, #1c0312 100%);
}

.sc-collage {
  list-style: none;
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 1.25rem 0.5rem;
  scrollbar-width: none;
}

.sc-collage::-webkit-scrollbar {
  display: none;
}

.sc-collage__item {
  flex: 0 0 auto;
  width: 80vw;
  height: 300px;
  scroll-snap-align: center;
  overflow: hidden;
  background: var(--plum);
}

.sc-collage__item--tall {
  width: 58vw;
}

.sc-collage__item a {
  display: block;
  height: 100%;
}

.sc-collage__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth), filter 0.6s ease;
}

.sc-collage__item a:hover img {
  transform: scale(1.05);
}

.sc-gallery__actions {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.sc-collage__item--video {
  position: relative;
}

.sc-video {
  position: relative;
  display: flex !important;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.9rem;
  padding: 1.4rem;
  color: var(--color-pure-white);
  text-decoration: none;
  overflow: hidden;
}

.sc-video img {
  position: absolute;
  inset: 0;
  z-index: 0;
  filter: brightness(0.45) saturate(1.1);
}

.sc-video::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(42, 4, 27, 0.9), rgba(42, 4, 27, 0) 70%);
}

.sc-video__play,
.sc-video__text {
  position: relative;
  z-index: 2;
}

.sc-video__play {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  padding-left: 4px;
  background: radial-gradient(circle, var(--sun-light), var(--sun-deep));
  box-shadow: 0 0 40px rgba(255, 124, 59, 0.7);
  font-size: 1.1rem;
  transition: transform 0.4s var(--ease-smooth);
}

.sc-video:hover .sc-video__play {
  transform: scale(1.1);
}

.sc-video__text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.35rem;
  line-height: 1.1;
  text-transform: uppercase;
  max-width: 18rem;
}

.sc-video__text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 0.45rem;
}

@media (min-width: 900px) {
  .sc-collage {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 170px;
    gap: 0.6rem;
    max-width: calc(var(--wrap) + 12rem);
    margin: 0 auto;
    overflow: visible;
    padding: 0 1.25rem;
  }

  .sc-collage__item {
    width: auto;
    height: auto;
    grid-column: span 2;
    grid-row: span 2;
  }

  .sc-collage__item--wide {
    grid-column: span 3;
  }

  .sc-collage__item--tall {
    grid-column: span 1;
  }

  /* last row: two photos + three-column closing tile */
  .sc-collage__item:last-child {
    grid-column: span 3;
  }
}

/* ==========================================================================
   04 — VENUE
   ========================================================================== */
.sc-venue {
  background: var(--plum);
}

.sc-venue__grid {
  display: grid;
  gap: 3rem;
}

.sc-venue__photo {
  position: relative;
  margin: 0 0 1.5rem;
}

/* main photo gets the castle's crenellated top edge */
.sc-venue__photo > img:first-child {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  -webkit-mask:
    linear-gradient(#000 0 0) 0 22px / 100% 100% no-repeat,
    repeating-linear-gradient(90deg, #000 0 34px, transparent 34px 56px) 0 0 / 100% 23px no-repeat;
  mask:
    linear-gradient(#000 0 0) 0 22px / 100% 100% no-repeat,
    repeating-linear-gradient(90deg, #000 0 34px, transparent 34px 56px) 0 0 / 100% 23px no-repeat;
}

.sc-venue__inset {
  position: absolute;
  right: -0.25rem;
  bottom: -1.5rem;
  width: 38%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(255, 124, 59, 0.8);
  box-shadow: 0 0 50px rgba(255, 124, 59, 0.55);
}

.sc-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.sc-facts div {
  padding: 1rem 1rem 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.sc-facts dt {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sun-light);
  margin-bottom: 0.35rem;
}

.sc-facts dd {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.3;
  color: var(--color-pure-white);
}

@media (min-width: 900px) {
  .sc-venue__grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: center;
  }

  .sc-venue__inset {
    right: -2.5rem;
  }
}

/* ==========================================================================
   05 — PEOPLE
   ========================================================================== */
.sc-people {
  background: var(--night);
}

.sc-subhead {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding-bottom: 0.8rem;
  margin: 2.5rem 0 1.75rem;
  border-bottom: 1px solid var(--hair);
}

.sc-crew {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 1rem;
  text-align: center;
}

.sc-crew li {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sc-ring {
  display: block;
  width: min(132px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 5px;
  border: 2.5px solid rgba(255, 124, 59, 0.75);
  box-shadow: 0 0 40px rgba(255, 124, 59, 0.35), inset 0 0 18px rgba(255, 124, 59, 0.3);
  margin-bottom: 1rem;
}

.sc-ring img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
}

.sc-crew b {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-pure-white);
}

.sc-crew small {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 0.3rem;
}

.sc-crew--small {
  grid-template-columns: repeat(3, 1fr);
}

.sc-crew--small .sc-ring {
  width: min(92px, 100%);
}

.sc-crew--small b {
  font-size: 0.95rem;
}

@media (min-width: 900px) {
  .sc-crew {
    grid-template-columns: repeat(4, 1fr);
  }

  .sc-ring {
    width: 172px;
  }

  .sc-crew--small {
    grid-template-columns: repeat(3, 1fr);
    max-width: 720px;
    margin: 0 auto;
  }

  .sc-crew--small .sc-ring {
    width: 116px;
  }
}

/* ==========================================================================
   06 — FAQ / TICKETS
   ========================================================================== */
.sc-faq {
  background: var(--plum);
}

.sc-faq__grid {
  display: grid;
  gap: 1rem;
}

.sc-faq__list details {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.sc-faq__list details:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.sc-faq__list summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--color-pure-white);
}

.sc-faq__list summary::-webkit-details-marker {
  display: none;
}

.sc-faq__list summary::after {
  content: "+";
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 124, 59, 0.7);
  color: var(--sun-light);
  font-family: var(--font-body);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.sc-faq__list details[open] summary::after {
  transform: rotate(45deg);
}

.sc-faq__list p {
  padding: 0 2.5rem 1.4rem 0;
  line-height: 1.65;
}

.sc-faq__list a {
  color: var(--gold);
}

@media (min-width: 900px) {
  .sc-faq__grid {
    grid-template-columns: 1fr 1.3fr;
    gap: 5rem;
    align-items: start;
  }
}

/* ==========================================================================
   FOOTER — castle + waves close the poster
   ========================================================================== */
.sc-footer {
  position: relative;
  background: var(--night);
  color: var(--text);
  padding-top: 4.5rem;
  overflow: hidden;
}

.sc-footer__grid {
  display: grid;
  gap: 2.5rem;
}

.sc-footer__mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 3.4rem;
  line-height: 0.85;
  text-transform: uppercase;
  color: var(--color-pure-white);
}

.sc-footer__mark span {
  display: block;
}

.sc-footer__tag {
  margin: 1.2rem 0 1.5rem;
  max-width: 22rem;
  line-height: 1.6;
}

.sc-footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.sc-footer__col a {
  color: var(--color-pure-white);
  text-decoration: none;
}

.sc-footer__col a:hover {
  color: var(--gold);
}

.sc-footer__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.3rem;
}

.sc-footer__label--gap {
  margin-top: 1.2rem;
}

.sc-footer__lang {
  display: flex;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.15em;
}

.sc-footer__col .sc-footer__lang a {
  color: rgba(255, 255, 255, 0.55);
}

.sc-footer__castle {
  position: relative;
  margin-top: 3.5rem;
}

.sc-footer__castle > svg:first-child {
  display: block;
  width: 100%;
  max-width: 900px;
  margin: 0 auto -6px;
  opacity: 0.75;
  filter: drop-shadow(0 -5px 25px rgba(158, 27, 104, 0.4));
}

.sc-footer__castle .sc-waves {
  height: 110px;
  background: #1c0312;
}

.sc-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  background: #1c0312;
}

.sc-footer__legal a {
  color: var(--text);
}

@media (min-width: 900px) {
  .sc-footer {
    padding-top: 6rem;
  }

  .sc-footer__grid {
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 4rem;
  }

  .sc-footer__mark {
    font-size: 4.6rem;
  }

  .sc-footer__legal {
    padding: 1.25rem 2rem;
  }
}

/* Room under the legal line for the "Postavke privatnosti" pill (analytics.js),
   which floats bottom-right while the footer is on screen */
.sc-footer__legal {
  padding-bottom: 4.25rem;
}

/* ==========================================================================
   MOTION PREFERENCES
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {

  .sc-ribbon__track,
  .sparkle,
  .starburst {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}
