:root {
  color-scheme: dark;
  --bg: #120d18;
  --bg-2: #1b1323;
  --surface: rgba(25, 17, 34, 0.82);
  --surface-strong: rgba(34, 24, 46, 0.94);
  --surface-soft: rgba(255, 255, 255, 0.04);
  --text: #f3e9f7;
  --muted: #c9bdd0;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #e34b71;
  --accent-2: #74d4cf;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --hero-glow: radial-gradient(circle at top, rgba(227, 75, 113, 0.24), transparent 36%);
}

html[data-theme="darker"] {
  --bg: #050507;
  --bg-2: #0a0a0f;
  --surface: rgba(12, 12, 17, 0.88);
  --surface-strong: rgba(18, 18, 25, 0.96);
  --surface-soft: rgba(255, 255, 255, 0.025);
  --text: #f5f1f7;
  --muted: #b4adbf;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #d93762;
  --accent-2: #7b8fff;
  --shadow: 0 24px 100px rgba(0, 0, 0, 0.7);
  --hero-glow: radial-gradient(circle at top, rgba(123, 143, 255, 0.16), transparent 34%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    var(--hero-glow),
    radial-gradient(circle at 20% 20%, rgba(116, 212, 207, 0.1), transparent 24%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}

main,
.topbar,
.footer {
  animation: rise 700ms ease both;
}

main {
  animation-delay: 80ms;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 70%);
}

.site-shell {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding-bottom: 4rem;
}

.topbar {
  position: sticky;
  top: 1rem;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 8, 12, 0.58);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(227, 75, 113, 0.32), rgba(116, 212, 207, 0.14));
}

.brand-copy {
  display: grid;
  gap: 0.2rem;
}

.brand-copy strong,
.eyebrow,
h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
}

.brand-copy strong {
  font-size: 1.15rem;
  letter-spacing: 0.03em;
}

.brand-copy small {
  color: var(--muted);
}

.site-nav {
  display: inline-flex;
  justify-self: center;
  gap: 1.1rem;
  align-items: center;
}

.site-nav a,
.footer a,
.venue-card a,
.practical-card a,
.link-grid a {
  color: inherit;
  text-decoration: none;
}

.site-nav a {
  color: var(--muted);
}

.site-nav a:hover,
.footer a:hover,
.venue-card a:hover,
.practical-card a:hover,
.link-grid a:hover {
  color: var(--text);
}

.nav-cta,
.button,
.nav-toggle {
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.nav-cta,
.button-primary {
  background: linear-gradient(135deg, var(--accent), #9b2845);
  color: #fff;
  padding: 0.8rem 1.15rem;
}

tito-button {
  display: inline-flex;
}

.nav-ticket-button,
.hero-ticket-button {
  align-items: center;
}

tito-button .tito-widget-button {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 3rem !important;
  margin: 0 !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--accent), #9b2845) !important;
  box-shadow: none !important;
  color: #fff !important;
  font-family: "Space Grotesk", sans-serif !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  padding: 0.8rem 1.15rem !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease !important;
}

tito-button .tito-widget-button:hover,
tito-button .tito-widget-button:focus-visible {
  background: linear-gradient(135deg, #ef547d, #a92d4f) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

tito-button .tito-widget-button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 2px;
}

body .tito-checkout-overlay {
  background: rgba(5, 5, 7, 0.68);
  backdrop-filter: blur(6px);
}

body .tito-widget,
body .tito-checkout,
body .tito-modal,
body .tito-overlay,
body .tito-checkout-overlay {
  z-index: 1000;
}

.button-secondary,
.nav-toggle {
  background: var(--surface-soft);
  color: var(--text);
  border-color: var(--line);
  padding: 0.8rem 1.15rem;
}

.nav-toggle {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  text-decoration: none;
}

.button:hover,
.ticket-button-slot .tito-widget-button:hover,
.nav-toggle:hover,
.nav-cta:hover {
  transform: translateY(-1px);
}

.section {
  padding: 4.5rem 0 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2rem;
  align-items: stretch;
  padding-top: 5rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--accent-2);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3.5rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.hero-text,
.panel-card p,
.manifesto-card p,
.artist-card p,
.schedule-card p,
.venue-card p,
.practical-card p,
.worldwide-copy p,
.footer p {
  color: var(--muted);
}

.hero-text {
  max-width: 62ch;
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 1.5rem 0 0;
}

.hero-actions,
.footer-nav,
.link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-actions {
  margin-top: 2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
}

.hero-meta li,
.tag {
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
}

.hero-meta-cta {
  margin-top: 1.4rem;
}

.hero-panel,
.panel-grid,
.manifesto-grid,
.artist-grid,
.artwork-grid,
.venue-grid,
.practical-grid {
  display: grid;
  gap: 1rem;
}

.hero-panel {
  align-content: start;
}

.panel-grid,
.manifesto-grid,
.artwork-grid,
.venue-grid,
.practical-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.artist-grid .artist-card {
  grid-column: span 2;
}

.artist-grid .artist-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.artist-grid .artist-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.panel-card,
.manifesto-card,
.artist-card,
.art-card,
.schedule-card,
.venue-card,
.practical-card {
  position: relative;
  overflow: hidden;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 45%),
    var(--surface);
  box-shadow: var(--shadow);
}

.panel-card-featured {
  padding: 1.6rem;
  min-height: 18rem;
}

.hero-art {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  min-height: 14rem;
}

.hero-art img,
.art-card img,
.artist-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-art img {
  min-height: 14rem;
}

.panel-card-featured::after,
.manifesto-card::after,
.artist-card::after,
.art-card::after,
.schedule-card::after,
.venue-card::after,
.practical-card::after {
  content: "";
  position: absolute;
  inset: auto -15% -30% auto;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 75, 113, 0.16), transparent 65%);
  pointer-events: none;
}

.panel-label,
.artist-name,
.schedule-time {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-2);
}

.section-heading {
  display: grid;
  gap: 0.35rem;
  max-width: 58rem;
  margin-bottom: 1.75rem;
}

h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 0.98;
}

h3 {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.05;
}

.day-tabs-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.9rem 1.25rem;
  margin-bottom: 1.25rem;
}

.day-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.day-tabs-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

.day-tabs-note-plus {
  color: var(--accent-2);
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 0;
  vertical-align: -0.05em;
}

.day-tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  padding: 0.8rem 1rem;
  font: inherit;
  cursor: pointer;
}

.day-tab.is-active {
  color: var(--text);
  background: linear-gradient(135deg, rgba(227, 75, 113, 0.24), rgba(255, 255, 255, 0.05));
  border-color: rgba(227, 75, 113, 0.4);
}

.art-card {
  padding: 0;
}

.art-card img {
  aspect-ratio: 1 / 1.06;
}

.art-copy {
  display: grid;
  gap: 0.55rem;
  padding: 1.1rem 1.2rem 1.25rem;
}

.art-copy a,
.artist-link {
  color: var(--accent-2);
  text-decoration: none;
}

.art-copy a:hover,
.artist-link:hover {
  color: var(--text);
}

.artist-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-content: start;
  padding: 0;
}

.artist-card-image {
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 2 / 3;
  height: auto;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  object-fit: cover;
  object-position: center top;
  background: none;
}

.artist-card-copy {
  display: grid;
  gap: 0.85rem;
  padding: 1.2rem 1.2rem 1.3rem;
}

.source-note {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.schedule-list {
  display: grid;
  gap: 1.1rem;
}

.schedule-slot-grid {
  display: grid;
  gap: 1rem;
}

.schedule-item {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 45%),
    var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.schedule-item-summary {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 1.2rem;
  cursor: pointer;
  list-style: none;
}

.schedule-item-main {
  display: grid;
  gap: 0.45rem;
}

.schedule-item-summary::-webkit-details-marker {
  display: none;
}

.schedule-item-summary::after {
  content: "+";
  color: var(--accent-2);
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1;
}

.schedule-item[open] .schedule-item-summary::after {
  content: "−";
}

.schedule-item-title {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.65rem;
  line-height: 1.05;
  margin-top: 0.1rem;
}

.schedule-item-teaser {
  display: block;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.schedule-item-body {
  box-sizing: border-box;
}

.schedule-item-body-inner {
  padding: 0 1.2rem 1.2rem;
}

.schedule-item-body p {
  margin: 0;
}

.schedule-item-body p + p {
  margin-top: 0.85rem;
}

.schedule-item-body a {
  color: var(--accent-2);
  text-decoration: none;
}

.schedule-item-body a:hover {
  color: var(--text);
}

.schedule-static-card {
  display: grid;
  gap: 0.75rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 45%),
    var(--surface);
  box-shadow: var(--shadow);
}

.schedule-static-copy {
  margin: 0;
}

.schedule-static-card .tag {
  justify-self: start;
}

.event-item {
  background:
    linear-gradient(180deg, rgba(116, 212, 207, 0.08), transparent 55%),
    var(--surface-strong);
}

.is-hidden {
  display: none;
}

.event-card {
  background:
    linear-gradient(180deg, rgba(116, 212, 207, 0.08), transparent 55%),
    var(--surface-strong);
}

@media (min-width: 760px) {
  .schedule-slot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.worldwide-copy {
  max-width: 52rem;
  margin-bottom: 1rem;
}

.link-grid a {
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
}

.footer {
  display: grid;
  justify-items: center;
  gap: 1.25rem;
  margin-top: 4.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer-nav {
  justify-content: center;
}

.footer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
}

.footer-socials a {
  display: inline-flex;
  width: 1.5rem;
  height: 1.5rem;
  color: rgba(240, 233, 235, 0.82);
  transition: transform 180ms ease, color 180ms ease;
}

.footer-socials a:hover {
  color: var(--accent);
  transform: scale(1.06);
}

.footer-socials svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: auto auto auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    display: none;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding-top: 0.3rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .hero,
  .panel-grid,
  .manifesto-grid,
  .venue-grid,
  .practical-grid {
    grid-template-columns: 1fr;
  }

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

  .schedule-item-summary {
    grid-template-columns: 1fr auto;
  }

  .schedule-item-summary .tag {
    justify-self: start;
    grid-column: 1 / 2;
  }

  .artist-grid .artist-card,
  .artist-grid .artist-card:nth-child(4),
  .artist-grid .artist-card:nth-child(5) {
    grid-column: span 1;
    width: 100%;
  }

}

@media (min-width: 744px) and (max-width: 979px) {
  .venue-grid,
  .practical-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .artist-grid .artist-card {
    grid-column: span 2;
    width: 100%;
  }

  .artist-grid .artist-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .artist-grid .artist-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

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

  .topbar {
    top: 0.5rem;
    border-radius: 1.4rem;
    padding: 0.9rem;
  }

  .brand-copy small {
    display: none;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 5rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .section {
    padding-top: 3.5rem;
  }

  .hero {
    padding-top: 4rem;
  }
}
