/* GRIGA Events FZE - Core Styles */
:root {
  --color-red: #d11f26;
  --color-red-dark: #a8181e;
  --color-black: #222222;
  --color-black-soft: #333333;
  --color-white: #ffffff;
  --color-grey: #cccccc;
  --color-grey-light: #f4f4f4;

  --font-display: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-soft: 0 10px 30px rgba(0,0,0,0.08);
  --radius-soft: 8px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--color-black-soft);
  background: var(--color-white);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-soft);
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  opacity: 0.95;
  padding: 40px 0;
}

.section-dark {
  background: radial-gradient(circle at top left, rgba(209,31,38,0.3), transparent 65%),
              radial-gradient(circle at bottom right, rgba(0,0,0,0.25), transparent 70%);
  color: var(--color-white);
  text-align: center;
  margin-bottom: 24px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 32px;
  margin: 0 0 10px;
}

.section-header p {
  max-width: 540px;
  margin: 0 auto;
  color: #777;
}

.section-dark .section-header p {
  color: #bbb;
}

/* Typography */

h1,
.h1 {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1.05;
  margin: 0 0 18px;
  color: var(--color-black);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero .hero-content h1 span {
  display: block;
  white-space: nowrap;
}

h2,
.h2 {
  font-family: var(--font-display);
  font-size: 32px;
  margin: 0 0 12px;
}

h3,
.h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin: 0 0 10px;
}

p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 12px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  color: var(--color-red);
}

/* Header / Nav */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: padding 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 15px;
}

.site-header.shrink .header-inner {
  padding-top: 8px;
  padding-bottom: 8px;
}

.site-header.shrink {
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-black);
}

.logo span {
  color: var(--color-red);
}

.logo-branding {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.logo-branding img {
  height: 62px;
  width: auto;
  display: block;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-mobile-cta {
  display: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-black-soft);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--color-red);
  transition: width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  background: var(--color-white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  position: relative;
  z-index: 1200;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-black);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: var(--shadow-soft);
}

.btn-primary {
  background: var(--color-red);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-red-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.12);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-black);
  border-color: rgba(0,0,0,0.2);
}

.btn-secondary:hover {
  background: #111;
  color: var(--color-white);
}

.btn-whatsapp-channel {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}

.btn-whatsapp-channel:hover {
  background: #1ebe57;
  color: #fff;
  border-color: #1ebe57;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

.btn-instagram {
  background: #e1306c;
  color: #fff;
  border-color: #e1306c;
}

.btn-instagram:hover {
  background: #c13584;
  color: #fff;
  border-color: #c13584;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

.btn-tiktok {
  background: #010101;
  color: #fff;
  border-color: #010101;
}

.btn-tiktok:hover {
  background: #111;
  color: #fff;
  border-color: #111;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

.btn-lg {
  padding: 14px 32px;
}

.text-link {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-black-soft);
}

.text-link:hover {
  color: var(--color-red);
}

/* Hero */

.hero {
  position: relative;
  min-height: clamp(600px, 80vh, 780px);
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero-bg-main {
  background-image: linear-gradient(120deg, rgba(0,0,0,0.7), rgba(0,0,0,0.2)), url('../img/placeholder-hero.jpg');
}

.hero-poster {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(120deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.1)),
    url("../media/images/smoke-8th-edition-pics/preview/gallery-banner-1920.webp?v=20261111.16");
  background-size: cover;
  background-position: center;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: contrast(1.1) saturate(1.05);
  opacity: 0;
  transition: opacity 0.8s ease;
  will-change: opacity;
}

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

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    transition: none;
  }
}

.hero-bg-overlay {
  z-index: 1;
  background: radial-gradient(circle at top left, rgba(209,31,38,0.2), transparent 70%),
              radial-gradient(circle at bottom right, rgba(0,0,0,0.25), transparent 70%);
  mix-blend-mode: screen;
  opacity: 0.4;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.08), rgba(0,0,0,0.35));
  z-index: 1;
}

.hero .hero-content {
  width: min(960px, 95vw);
  color: var(--color-white);
  text-align: center;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: clamp(40px, 6vw, 80px) clamp(20px, 5vw, 60px) clamp(40px, 5vw, 60px);
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
}

.hero-logo {
  margin: 18px auto 0;
  display: inline-block;
}
  
.hero-logo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  background: transparent;
}

/* Hero heading uses full hero width so short text wraps cleanly */

.hero .hero-content h1 {
  max-width: min(720px, 92vw);
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 1.1;
  font-size: clamp(2.2rem, 3.6vw, 4rem);
  letter-spacing: 0.05em;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.65);
}

@media (min-width: 1024px) {
  .hero .hero-content h1 {
    font-size: clamp(3.2rem, 3.4vw, 5.4rem);
  }
}

.hero .hero-subtitle {
  margin: 0;
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  letter-spacing: 0.12em;
}

.hero .hero-content.hero-heading-visible {
  animation: heroHeadingZoom 0.9s ease-out forwards;
}

@keyframes heroHeadingZoom {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero .hero-content h1 span {
  display: block;
  width: 100%;
  text-align: center;
  white-space: nowrap;
  overflow-wrap: normal;
}

@media (max-width: 640px) {
  .hero .hero-content {
    width: min(540px, 92vw);
    gap: 12px;
    padding: 4px 12px;
  }

  .hero .hero-content h1 {
    font-size: clamp(2.4rem, 10vw, 3.5rem);
    line-height: 1.2;
  }

  .hero .hero-content h1 span {
    white-space: normal;
    word-break: break-word;
  }
}

@media (max-width: 767px) {
  .hero .hero-content h1 span {
    display: inline;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .hero .hero-content h1 span:first-child {
    display: inline;
  }

  .hero .hero-content h1 {
    font-weight: 1600;
  }
}

.hero .hero-subtitle {
  color: rgba(255,255,255,0.85);
  margin-bottom: 4px;
}

.hero-cta-group {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  width: min(1040px, 96vw);
  margin: 18px auto 0;
  padding: 0 clamp(12px, 2vw, 24px);
  animation: heroCtaIn 0.8s ease 0.15s both;
}

.hero-cta-group .hero-subtitle {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  letter-spacing: 0.08em;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-cta-group .hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 18px;
  width: 100%;
  margin-top: 4px;
}

.hero-primary-action {
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-cta-group .hero-primary-action .btn {
  width: auto;
  min-width: 210px;
  max-width: 100%;
  height: 56px;
  padding: 0 36px;
  gap: 8px;
  white-space: nowrap;
}

.hero-secondary-actions {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  gap: 16px;
  width: 100%;
}

.hero-cta-group .hero-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 210px;
  min-width: 210px;
  max-width: 210px;
  height: 56px;
  flex: 0 0 210px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  white-space: nowrap;
}

.hero-btn-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: block;
}

.hero-cta-group .btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.hero-cta-group .btn:active {
  transform: translateY(0);
}

@media (max-width: 1000px) {
  .hero-secondary-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 210px));
    justify-content: center;
    gap: 14px;
    width: auto;
    max-width: 100%;
  }

  .hero-cta-group .hero-secondary-btn {
    width: 100%;
    min-width: 0;
    max-width: none;
    flex: none;
  }

  .hero-secondary-actions .hero-secondary-btn:last-child {
    grid-column: 1 / -1;
    width: calc((100% - 14px) / 2);
    justify-self: center;
  }
}

@media (max-width: 520px) {
  .hero-cta-group .hero-actions {
    align-items: stretch;
  }

  .hero-cta-group .hero-primary-action .btn {
    width: auto;
    min-width: 0;
    max-width: 100%;
    align-self: center;
  }

  .hero-secondary-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 10px;
  }

  .hero-cta-group .hero-secondary-btn {
    height: 52px;
    padding: 0 6px;
    font-size: 9px;
    letter-spacing: 0;
    gap: 5px;
  }

  .hero-btn-icon {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
  }
}

@media (max-width: 700px) {
  .hero-secondary-actions {
    grid-template-columns: 1fr;
    width: min(100%, 340px);
    margin-inline: auto;
    gap: 10px;
  }

  .hero-secondary-actions .hero-secondary-btn:last-child {
    grid-column: auto;
    width: 100%;
    justify-self: stretch;
  }

  .hero-cta-group .hero-secondary-btn {
    height: 52px;
    padding: 0 16px;
    font-size: 14px;
    letter-spacing: 0.02em;
    gap: 8px;
  }

  .hero-btn-icon {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-cta-group .btn,
  .hero-cta-group .btn:hover,
  .hero-cta-group .btn:active {
    transition: none;
    transform: none;
  }
}

@keyframes heroCtaIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-cta-group {
    animation: none;
  }
}

/* Animated "BUY TICKET NOW" button in Upcoming Events */
.event-buy-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: none;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: eventBuyPulse 2.3s ease-in-out infinite;
}

.event-buy-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.12) 35%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0.12) 65%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: eventBuyShimmer 2.6s ease-in-out infinite;
  pointer-events: none;
}

.event-buy-btn:hover,
.event-buy-btn:focus-visible,
.event-buy-btn:hover::after,
.event-buy-btn:focus-visible::after {
  animation-play-state: paused;
}

@keyframes eventBuyPulse {
  0%,
  100% {
    transform: scale(1) translateY(0);
    box-shadow:
      0 0 0 0 rgba(255, 255, 255, 0.35),
      0 6px 18px rgba(0, 0, 0, 0.28),
      0 0 18px rgba(209, 31, 38, 0.55);
  }

  50% {
    transform: scale(1.045) translateY(-1px);
    box-shadow:
      0 0 0 9px rgba(255, 255, 255, 0.1),
      0 14px 32px rgba(0, 0, 0, 0.34),
      0 0 36px rgba(255, 255, 255, 0.22);
  }
}

@keyframes eventBuyShimmer {
  0% {
    left: -130%;
  }

  40%,
  100% {
    left: 160%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .event-buy-btn {
    animation: none;
    transform: none;
  }

  .event-buy-btn::after {
    animation: none;
    display: none;
  }
}

/* Tighten space between hero/logo and Upcoming Events */
#featured.section {
  padding-top: 12px;
  padding-bottom: 8px;
  margin-top: 0;
}

@media (max-width: 768px) {
  #featured.section {
    margin-top: 0;
  }
}

#featured .section-header,
#partners .section-header {
  margin-bottom: 18px;
  text-align: center;
}

.date-marquee {
  background: var(--color-red);
  color: #fff;
  overflow: hidden;
}

.date-marquee-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  animation: dateMarquee 32s linear infinite;
}

.date-marquee:hover .date-marquee-track,
.date-marquee:focus-within .date-marquee-track {
  animation-play-state: paused;
}

.date-marquee-group {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 13px 0;
}

.date-event {
  display: flex;
  align-items: center;
  margin: 0;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.date-event span {
  padding: 0 0.7rem;
}

.date-split {
  flex: 0 0 2px;
  width: 2px;
  height: 16px;
  margin: 0 18px;
  background: #fff;
}

@keyframes dateMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(var(--marquee-shift, -50%));
  }
}

@media (prefers-reduced-motion: reduce) {
  .date-marquee-track {
    animation: none;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .date-marquee-group[aria-hidden="true"] {
    display: none;
  }

  .date-marquee-group {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 8px;
    padding: 12px 16px;
  }

  .date-event {
    white-space: normal;
    justify-content: center;
    text-align: center;
  }
}

.upcoming-band {
  background: #f5f5f5;
}

.upcoming-head {
  margin-top: 16px;
  margin-bottom: -8px;
  overflow: visible;
  text-align: center;
}

.upcoming-head h2 {
  position: relative;
  display: inline-block;
  max-width: 100%;
  margin: 0;
  padding-bottom: 12px;
  color: #292929;
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-size: clamp(1.35rem, 4.2vw, 2.45rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 2.5px;
  text-transform: none;
}

.upcoming-head h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: clamp(72px, 16vw, 148px);
  height: 2px;
  background: #d71920;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
}

.upcoming-head.will-enter h2 {
  opacity: 0;
  transform: translateY(18px) scale(0.97);
}

.upcoming-head.is-in h2 {
  animation: nextBigHeadingIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.upcoming-head.is-in h2::after {
  animation: nextBigHeadingLine 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.28s forwards;
}

@keyframes nextBigHeadingIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes nextBigHeadingLine {
  to {
    transform: translateX(-50%) scaleX(1);
  }
}

@media (max-width: 700px) {
  .upcoming-head h2 {
    letter-spacing: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .upcoming-head.will-enter h2,
  .upcoming-head.is-in h2 {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .upcoming-head h2::after,
  .upcoming-head.is-in h2::after {
    animation: none;
    transform: translateX(-50%) scaleX(1);
  }
}

.upcoming-board {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  justify-items: stretch;
}

.poster-ring {
  --w: 210px;
  --ring-lift: 0px;
  position: relative;
  justify-self: center;
  width: 100%;
  margin: 18px auto 0;
  height: calc(var(--w) * 2.75);
  perspective: 1100px;
  perspective-origin: 50% 50%;
  touch-action: pan-y;
  overflow: visible;
}

@media (min-width: 701px) {
  .poster-ring {
    --ring-lift: 16px;
    height: calc(var(--w) * 2.75 - 16px);
  }
}

.poster-ring-spin {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.poster-ring-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--w);
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 22px 40px -24px rgba(0, 0, 0, 0.55);
  transform: translate(-50%, -50%) rotateY(var(--a)) translateZ(calc(var(--w) * var(--rzf, 1.63)));
}

.poster-ring-card img {
  width: 100%;
  height: auto;
  display: block;
  border: 0;
  border-radius: 0;
}

.poster-ring-card--static {
  position: relative;
  left: auto;
  top: auto;
  width: min(100%, 168px);
  margin: 12px auto 0;
  transform: none;
}

.poster-ring.is-ready .poster-ring-card--static {
  display: none;
}

.upcoming-list {
  display: grid;
  gap: 12px;
  width: 100%;
}

.upcoming-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 12px 20px;
  align-items: center;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  color: #1a1a1a;
}

.upcoming-row:hover {
  border-color: rgba(209, 31, 38, 0.35);
}

.upcoming-day {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--color-red);
}

.upcoming-month {
  display: block;
  margin-top: 4px;
  color: #777;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.upcoming-copy h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.upcoming-copy p {
  margin: 3px 0 0;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.35;
}

.upcoming-copy .upcoming-status {
  margin-top: 8px;
  color: var(--color-red);
  font-weight: 700;
}

@media (max-width: 700px) {
  .upcoming-board {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .poster-ring {
    --w: 92px;
    --ring-lift: 4px;
    width: 100%;
    margin-top: 14px;
    height: calc(var(--w) * 2.75 - 4px);
  }

  .upcoming-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px;
  }

  .upcoming-when {
    display: flex;
    align-items: baseline;
    gap: 10px;
  }

  .upcoming-day {
    font-size: 1.7rem;
  }

  .upcoming-month {
    margin-top: 0;
  }

  .upcoming-copy h3 {
    font-size: 1.2rem;
  }

  .back-to-top {
    left: 16px;
    right: auto;
    bottom: 16px;
  }
}


.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

/* Section split */

.section-split-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.split-media-card {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  background: radial-gradient(circle at top left, rgba(209,31,38,0.4), transparent 55%),
              linear-gradient(135deg, #111, #333);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  overflow: hidden;
}
.split-media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}
.split-media-cta {
  display: none;
  margin-top: 0.4rem;
  text-align: center;
}
.split-media-cta .btn {
  padding: 10px 16px;
  font-size: 11px;
}

/* Stats */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.stat-item {
  text-align: center;
  padding: 24px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 28px;
  margin-bottom: 6px;
}

.stat-label {
  color: #ccc;
  font-size: 14px;
}

/* Partnership cards */

.partners-band {
  background: var(--color-white);
}

.partners-band .section-header {
  margin-bottom: 1.5rem;
}

.partners-band .section-header h2 {
  color: var(--color-black);
}

.partner-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.partner-card {
  flex: 1 1 200px;
  max-width: 240px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
  padding: 1.35rem 1rem 1.15rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.partner-card img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 0;
}

.partner-card img.partner-logo-mutura {
  width: 124px;
  height: 124px;
}

.partner-card h3 {
  margin: 0.35rem 0 0;
  color: var(--color-black);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
}

.partner-card p {
  margin: 0;
  color: var(--color-black-soft);
  font-size: 0.85rem;
  line-height: 1.3;
}


@media (max-width: 640px) {
  .partner-cards {
    gap: 0.75rem;
  }

  .partner-card {
    flex: 1 1 calc(50% - 0.75rem);
    max-width: none;
    padding: 1rem 0.55rem 0.9rem;
  }

  .partner-card img {
    width: 77px;
    height: 77px;
  }

  .partner-card img.partner-logo-mutura {
    width: 96px;
    height: 96px;
  }

  .partner-card h3 {
    font-size: 0.72rem;
  }

  .partner-card p {
    font-size: 0.68rem;
  }
}
.event-card {
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.event-card img {
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: contain;
}

.event-poster {
  display: flex;
  justify-content: center;
}

.event-poster-frame {
  position: relative;
  width: min(100%, 300px);
  margin: 0 auto;
  padding-top: 0;
}

.event-poster-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  border: 5px solid var(--color-red);
  box-sizing: border-box;
}

.sold-out-badge {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 94%;
  height: 32px;
  margin: 0;
  padding: 0 0.7rem;
  border: 2px solid #111;
  border-radius: 0;
  background: #3a0006;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
  transform: translateX(-50%);
  overflow: hidden;
  pointer-events: none;
}

.sold-out-badge-fill {
  position: absolute;
  inset: 0;
  background: #e10600;
  animation: soldOutPulse 1.25s linear infinite;
}

.sold-out-badge-label {
  position: relative;
  z-index: 1;
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  animation: soldOutPulse 1.25s linear infinite;
}

@keyframes soldOutPulse {
  0%,
  16% {
    opacity: 1;
  }
  28%,
  68% {
    opacity: 0.38;
  }
  80%,
  100% {
    opacity: 1;
  }
}

@media (max-width: 600px) {
  .sold-out-badge {
    border-width: 1.5px;
  }

  .sold-out-badge-label {
    font-size: 12px;
    letter-spacing: 0.08em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sold-out-badge-fill,
  .sold-out-badge-label {
    animation: none;
    opacity: 1;
  }
}
.event-card-body {
  padding: 14px 16px 16px;
}

.event-meta {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #999;
  margin-bottom: 6px;
}

.event-description {
  color: #666;
}

.event-card-actions {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Swiper tweaks */

.featured-swiper .swiper-pagination-bullet {
  background: #ddd;
}

.featured-swiper .swiper-pagination-bullet-active {
  background: var(--color-red);
}

.featured-swiper {
  max-width: 900px;
  margin: 0 auto;
}

.home-terms {
  background: #fff;
  border-top: 1px solid #eee;
}

.home-terms[hidden],
.footer-links a[hidden] {
  display: none !important;
}

.home-terms-article {
  max-width: 760px;
}

.home-terms-article h2 {
  margin-bottom: 8px;
}

.home-terms-subtitle,
.home-terms-effective {
  color: #666;
  margin: 0 0 8px;
}

.home-terms-article h3 {
  font-size: 20px;
  margin: 22px 0 8px;
}

.home-terms-article ul {
  margin: 0 0 12px 1.2rem;
}

.home-terms-article a {
  color: var(--color-red);
  font-weight: 700;
}

/* Footer */

.site-footer {
  padding: 32px 0 22px;
  border-top: 1px solid #eee;
  background: #fafafa;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 24px;
  align-items: flex-start;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 6px;
}

.footer-text {
  color: #777;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-links a {
  font-size: 14px;
  color: #555;
}

.footer-links a:hover {
  color: var(--color-red);
}

.footer-meta {
  font-size: 13px;
  color: #777;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.footer-social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.footer-social a:hover {
  background: var(--color-red);
  color: var(--color-white);
  border-color: transparent;
}

/* Back to top */

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.76);
  color: var(--color-white);
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Page templates (Events, Event detail, About, Gallery, Contact) will share many of these utilities. */

.page-hero {
  padding-top: 120px;
  padding-bottom: 60px;
  background: radial-gradient(circle at top left, rgba(209,31,38,0.08), transparent 60%),
              linear-gradient(to bottom, #ffffff, #f8f8f8);
}

.page-hero h1 {
  margin-bottom: 10px;
}

.page-hero p {
  max-width: 540px;
}

/* Utility grids */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

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

/* Responsive */

@media (max-width: 960px) {
  .section {
    padding: 40px 0;
  }

  h1,
  .h1 {
    font-size: 42px;
  }

  h2,
  .h2 {
    font-size: 26px;
  }

  .section-split-inner {
    grid-template-columns: 1fr;
  }

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

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .section-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .site-header .header-inner {
    gap: 10px;
    padding-left: max(16px, env(safe-area-inset-left, 16px));
    padding-right: max(20px, env(safe-area-inset-right, 20px));
  }

  .site-header.shrink .header-inner {
    padding-left: max(16px, env(safe-area-inset-left, 16px));
    padding-right: max(20px, env(safe-area-inset-right, 20px));
  }

  .logo-branding {
    flex: 1 1 auto;
    min-width: 0;
    gap: 0.3rem;
  }

  .logo-branding img {
    height: 48px;
    max-width: 48px;
    object-fit: contain;
  }

  .logo {
    font-size: clamp(13px, 3.8vw, 16px);
    letter-spacing: 0.05em;
  }

  .main-nav {
    flex: 0 0 auto;
    flex-shrink: 0;
    margin-left: auto;
    gap: 8px;
  }

  .nav-toggle {
    display: inline-flex;
    flex-shrink: 0;
    margin-right: 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(60vw, 420px);
    height: 100vh;
    padding: 120px 20px 32px;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    gap: 18px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
    align-items: stretch;
    border-radius: 0 0 0 32px;
    overflow-y: auto;
    justify-content: flex-start;
    z-index: 1100;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links li.nav-mobile-cta-item {
    margin-top: 0;
  }

  .nav-links a {
    padding: 24px;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
  }

  .nav-mobile-cta {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    padding: 16px 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-red), var(--color-black));
    color: var(--color-white) !important;
    border: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 0;
    text-shadow: 0 1px 1px rgba(0,0,0,0.4);
  }

  .nav-links a::after {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-bottom: 80px;
  }

  .hero-logo {
    margin-top: 8px;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 768px) {
  .section-split-inner {
    grid-template-columns: 1fr;
  }

  .split-media-cta {
    display: block;
  }

  .split-text .split-text-cta {
    display: none;
  }
}

@media (max-width: 520px) {
  .logo-branding img {
    height: 40px;
    max-width: 40px;
  }

  .logo {
    font-size: 13px;
  }

  .section {
    padding: 32px 0;
  }

  .hero {
    padding-top: 90px;
    padding-bottom: 20px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .btn-lg {
    width: 100%;
  }

  h1,
  .h1 {
    font-size: 32px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  /* On mobile, remove extra space above Upcoming Events cards */
  #featured.section {
    padding-top: 10px;
    padding-bottom: 6px;
  }

  #featured .section-header {
    margin-bottom: 6px;
    padding: 0;
  }

  .upcoming-head {
    margin-top: 12px;
    margin-bottom: -6px;
    padding: 0;
  }

  /* Limit event description lines on mobile for cleaner cards */
  .event-description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-logo img {
    max-width: 480px;
    height: auto;
  }

  #featured.section {
    margin-top: 0;
  }
}

