@font-face {
  font-family: "Gilroy";
  src: url("/fonts/Gilroy-Light.eot");
  src: url("/fonts/Gilroy-Light.eot?#iefix") format("embedded-opentype"),
    url("/fonts/Gilroy-Light.woff") format("woff"),
    url("/fonts/Gilroy-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("/fonts/Gilroy-Extrabold.eot");
  src: url("/fonts/Gilroy-Extrabold.eot?#iefix") format("embedded-opentype"),
    url("/fonts/Gilroy-Extrabold.woff") format("woff"),
    url("/fonts/Gilroy-Extrabold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0b1724;
  --card: #122435;
  --accent: #5fb4ff;
  --text: #e8f1ff;
  --muted: #a9bedb;
  --border: #1f3550;
  --danger: #ff6b6b;
  --success: #4ade80;
  --info: #38bdf8;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --radius-lg: 18px;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

:root[data-theme="light"] {
  --bg: #f5f7fb;
  --card: #ffffff;
  --accent: #0f7cd3;
  --text: #0f172a;
  --muted: #4b5563;
  --border: #d9e2ec;
  --danger: #d14343;
  --success: #2fb344;
  --info: #0f7cd3;
  --shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

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

body {
  margin: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(95, 180, 255, 0.07), transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(56, 189, 248, 0.05), transparent 50%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root[data-theme="light"] body {
  background:
    radial-gradient(circle at 20% 20%, rgba(15, 124, 211, 0.08), transparent 30%),
    radial-gradient(circle at 70% 20%, rgba(15, 124, 211, 0.06), transparent 30%),
    var(--bg);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Account widget */
.account-widget {
  position: relative;
  margin-left: 12px;
}
.account-widget--desktop {
  position: relative;
}
.account-widget--mobile {
  margin-top: 12px;
  width: 100%;
}
.account-widget__button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  cursor: pointer;
  font-weight: 600;
  box-shadow: var(--shadow);
  width: auto;
  justify-content: center;
}
.account-widget__button:hover {
  text-decoration: none;
  border-color: var(--accent);
}
.account-widget__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}
.account-widget--mobile .account-widget__button {
  width: 100%;
  justify-content: space-between;
}
.account-widget__caret {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--text);
}
.account-widget__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  min-width: 220px;
  box-shadow: var(--shadow);
  padding: 8px 0;
  display: none;
  z-index: 5000;
}
.account-widget--mobile .account-widget__menu {
  position: relative;
  top: 0;
  right: 0;
  width: 100%;
}
.account-widget__menu.open {
  display: block;
}
.account-widget__menu a,
.account-widget__menu button {
  display: block;
  padding: 10px 14px;
  color: var(--text);
  text-decoration: none;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
}
.account-widget__menu a:hover,
.account-widget__menu button:hover {
  background: rgba(255,255,255,0.05);
}
.account-widget__name {
  font-weight: 700;
}
.account-widget__sub {
  font-size: 12px;
  color: var(--muted);
}

.login-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 18px;
}
.login-lightbox.open {
  display: flex;
}
.login-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 18px 14px;
  width: min(420px, 100%);
  box-shadow: var(--shadow);
}
.login-card h3 {
  margin: 0 0 12px;
}
.login-card form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.login-card label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
}
.login-card input[type="email"],
.login-card input[type="password"] {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text);
}
.login-card .actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}
.login-card .error {
  color: var(--danger);
  font-weight: 600;
}
.login-card .muted {
  color: var(--muted);
  font-size: 12px;
}

img.img-fade {
  opacity: 0;
  transition: opacity 0.35s ease;
}

.page-loader {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #0a0f16 0%, #0b1724 50%, #0d1a2a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  overflow: hidden;
  transition: opacity 0.5s ease;
}

.page-loader.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.page-loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  color: #f5f7fb;
  z-index: 5;
}

.page-loader__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-loader__spotlight {
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,215,140,0.15) 0%, rgba(255,200,100,0.05) 40%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 3s ease-in-out infinite;
}

.page-loader__logo-wrap {
  position: relative;
  padding: 16px;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
  border-radius: 50%;
  animation: float 4s ease-in-out infinite;
}

.page-loader__logo-wrap img {
  display: block;
  width: 80px;
  height: 80px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 60px rgba(255,200,100,0.15);
}

.page-loader__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-loader__title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.page-loader__tagline {
  font-size: 0.9rem;
  font-style: italic;
  color: rgba(255,215,140,0.8);
  letter-spacing: 1px;
}

.page-loader__dots {
  display: flex;
  gap: 8px;
}

.page-loader__dots span {
  width: 8px;
  height: 8px;
  background: rgba(255,215,140,0.6);
  border-radius: 50%;
  animation: bounce-dot 1.4s ease-in-out infinite;
}

.page-loader__dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.page-loader__dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes bounce-dot {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-10px); opacity: 1; }
}

img.img-fade.is-loaded {
  opacity: 1;
}

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

@keyframes floaty {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

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

.page-hero,
.show-hero,
.hero {
  animation: fadeUp 0.6s ease both;
}

.card,
.show-card {
  animation: fadeUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
  animation-delay: 0.05s;
}

.cta-floaty,
.btn.cta-floaty {
  animation: floaty 4s ease-in-out infinite;
}

.light-pulse {
  position: relative;
  overflow: hidden;
}

.light-pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.08), transparent 40%);
  opacity: 0;
  animation: pulseFade 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulseFade {
  0%, 100% { opacity: 0; }
  50% { opacity: 0.35; }
}

.card:hover,
.show-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 2px 8px rgba(0,0,0,0.15);
  transition: transform var(--transition), box-shadow var(--transition);
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 24px 0 48px;
}

header.site-header {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(11, 23, 36, 0.7);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-bar {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 18px;
  position: relative;
}

.site-title {
  font-size: 22px;
  letter-spacing: 0.8px;
  font-weight: 800;
  font-family: "Gilroy", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.brand-logo {
  height: 56px;
  width: auto;
}

:root[data-theme="light"] .brand-logo,
:root:not([data-theme]) .brand-logo {
  filter: brightness(0) saturate(100%) invert(17%) sepia(67%) saturate(1829%) hue-rotate(190deg) brightness(92%) contrast(94%);
}

:root[data-theme="light"] .site-footer .brand-logo {
  filter: none;
}

.brand-name {
  color: var(--text);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.alert-stack .container {
  padding: 0 18px;
}

.alert-banner {
  padding: 10px 0;
  background: rgba(56, 189, 248, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.alert-banner strong {
  display: block;
}

.alert-banner .meta {
  color: var(--text);
}

.alert-banner-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.alert-more-btn {
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 4px;
  white-space: nowrap;
}

.alert-dialog {
  background: #0f1d2e;
  color: #f4f7ff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 0;
  max-width: min(600px, 92vw);
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.alert-dialog::backdrop {
  background: rgba(0, 0, 0, 0.6);
}

.alert-dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.alert-dialog-header strong {
  font-size: 1.1rem;
}

.alert-dialog-close {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 18px;
  color: #f4f7ff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.alert-dialog-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.alert-dialog-body {
  padding: 20px;
  max-height: 70vh;
  overflow-y: auto;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.alert-banner.severity-info {
  background: rgba(56, 189, 248, 0.12);
}

.alert-banner.severity-warning {
  background: rgba(255, 193, 7, 0.14);
}

.alert-banner.severity-danger {
  background: rgba(255, 107, 107, 0.14);
}

.site-nav {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  flex: 1;
}

.site-nav a {
  font-weight: 600;
  color: var(--muted);
  transition: color var(--transition);
  font-size: 0.9rem;
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.header-ctas {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-left: auto;
}

.mobile-menu-button {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu-button span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(5, 11, 18, 0.96);
  z-index: 9998;
  transform: translateY(-100%);
  transition: transform 0.2s ease;
  color: var(--text);
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu-inner {
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 24px 0 32px;
}

.mobile-menu-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0 16px;
}

.mobile-menu-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 18px;
  cursor: pointer;
}

.mobile-nav {
  display: grid;
  gap: 12px;
  margin: 12px 0 18px;
}

.mobile-nav a {
  font-weight: 700;
  color: var(--text);
  font-size: 18px;
}

.mobile-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  padding: 4px;
}

.theme-toggle input {
  display: none;
}

.toggle-track {
  width: 46px;
  height: 24px;
  border-radius: 999px;
  background: var(--border);
  position: relative;
  transition: background 0.2s ease;
}

.toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.theme-toggle input:checked + .toggle-track {
  background: rgba(95, 180, 255, 0.2);
}

.theme-toggle input:checked + .toggle-track .toggle-thumb {
  transform: translateX(22px);
}

.hero {
  padding: 40px 0 28px;
}

.hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 12px;
  font-family: "Gilroy", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.page-hero {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 48px) clamp(20px, 4vw, 36px);
  overflow: hidden;
  background: var(--card);
}

.page-hero.has-image {
  background-size: cover;
  background-position: center;
  color: #f1f7ff;
}

.page-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 23, 36, 0.35), rgba(11, 23, 36, 0.18));
}

.page-hero .hero-inner {
  position: relative;
  max-width: 760px;
}

.home-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: -40px;
  border-radius: 0;
  padding: clamp(28px, 6vw, 64px) clamp(16px, 8vw, 80px);
  min-height: 30vh;
  display: grid;
  align-items: center;
}

.home-hero.has-image {
  height: 80vh;
  background: transparent;
  align-items: end;
}

.home-hero .hero-bg-blur {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(40px);
  transform: scale(1.1);
  z-index: 0;
}

.home-hero .hero-overlay {
  z-index: 2;
}

.home-hero .hero-inner {
  z-index: 3;
}

.home-hero .meta {
  color: #fff;
}

/* Hero Slider Styles */
.home-hero .hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-hero .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.home-hero .hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

/* Split layout: text left, image right */
.hero-slide-split {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  height: 100%;
  padding: clamp(28px, 6vw, 64px) clamp(16px, 8vw, 80px);
  gap: clamp(24px, 4vw, 60px);
}

.hero-slide-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  max-width: 600px;
}

.hero-slide-text .chip {
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.12);
}

.home-hero.has-slider .hero-slide-text,
.home-hero.has-slider .hero-slide-text h1,
.home-hero.has-slider .hero-slide-text .meta,
.home-hero.has-slider .hero-slide-quote,
.home-hero.has-slider .hero-slide-quote cite {
  color: #fff;
}

.home-hero.has-slider .hero-slide-text .chip {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-title-treatment {
  max-width: 100%;
  height: auto;
  max-height: 260px;
  width: auto;
  display: block;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.4));
}

.hero-slide-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-slide-quote {
  margin: 0;
  padding: 0;
  font-style: italic;
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  max-width: 480px;
}

.hero-slide-quote cite {
  display: block;
  font-style: normal;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

.hero-slide-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 24px 0;
}

.hero-slide-image img {
  max-width: 100%;
  max-height: 60vh;
  height: auto;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius);
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.3));
}

.home-hero.has-slider {
  padding: 0;
}

.home-hero.has-slider .hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slider-nav {
  position: absolute;
  bottom: clamp(20px, 4vw, 40px);
  right: clamp(16px, 8vw, 80px);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10;
}

.hero-slider-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-dot:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.3);
}

.hero-dot.active {
  background: #fff;
  border-color: #fff;
}

.hero-slider-arrows {
  display: flex;
  gap: 8px;
}

.hero-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
}

@media (max-width: 768px) {
  .home-hero {
    width: 100%;
    margin-left: 0;
    min-height: 40vh;
  }
  .home-hero.has-image {
    height: auto;
    min-height: 60vh;
  }
  /* On mobile: full-bleed image bg, text overlaid at bottom */
  .home-hero .hero-bg-blur {
    filter: none;
    transform: none;
  }
  .hero-slide-split {
    grid-template-columns: 1fr;
    align-items: end;
    padding: 0 20px clamp(60px, 12vw, 80px);
    gap: 0;
  }
  .hero-slide-image {
    display: none;
  }
  .hero-slide-text {
    gap: 10px;
  }
  .hero-title-treatment {
    max-height: 140px;
  }
  .hero-slider-nav {
    right: 16px;
    bottom: 16px;
  }
  .hero-arrow {
    width: 36px;
    height: 36px;
  }
}

.grid {
  display: grid;
  gap: 16px;
}

.settings-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.settings-group {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--card);
}

.settings-group__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

.settings-group__header:hover {
  background: rgba(255, 255, 255, 0.04);
}

.settings-group__chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.settings-group__panel {
  padding: 0 20px 20px;
}

.settings-group:not(.is-open) .settings-group__panel {
  display: none;
}

.settings-group.is-open .settings-group__chevron {
  transform: rotate(180deg);
}

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

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

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

.grid.cards-4 {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card h3 {
  margin: 0 0 8px;
}

.ticket-exchange-cta__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.ticket-exchange-cta__text .meta {
  margin: 4px 0 0;
  max-width: 540px;
}

.meta {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: #0b1724;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  box-shadow: 0 4px 16px rgba(95, 180, 255, 0.2);
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(95, 180, 255, 0.3);
  text-decoration: none;
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(95, 180, 255, 0.2);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--muted);
}

.list-table {
  width: 100%;
  border-collapse: collapse;
}

.list-table th,
.list-table td {
  padding: 8px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.list-table .btn {
  padding: 6px 10px;
  font-size: 12px;
}

@media (max-width: 780px) {
  .responsive-table {
    display: block;
  }
  .responsive-table thead {
    display: none;
  }
  .responsive-table tbody {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .responsive-table tr {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px;
    box-shadow: var(--shadow);
  }
  .responsive-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: none;
    padding: 4px 0;
    white-space: normal;
  }
  .responsive-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--muted);
    margin-right: 8px;
  }
  .responsive-table td:last-child {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px;
  }
  .responsive-table td img {
    max-width: 72px;
    max-height: 72px;
  }
}

.chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(95, 180, 255, 0.12);
  color: var(--accent);
}

.chip.draft {
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.chip.live {
  background: rgba(74, 222, 128, 0.12);
  color: var(--success);
}

form.form-grid {
  display: grid;
  gap: 16px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(15, 29, 46, 0.95);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

:root[data-theme="light"] .field input,
:root[data-theme="light"] .field textarea,
:root[data-theme="light"] .field select,
:root[data-theme="light"] .faq-search input[type="text"] {
  color: #ffffff;
  background: rgba(255,255,255,0.08);
  border-color: #1f3550;
}

:root[data-theme="light"] .field input::placeholder,
:root[data-theme="light"] .field textarea::placeholder,
:root[data-theme="light"] .faq-search input[type="text"]::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input[type="color"] {
  padding: 4px;
  height: 48px;
}

.wysiwyg {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #0f1d2e;
}

.wysiwyg-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px;
  border-bottom: 1px solid var(--border);
}

.wysiwyg-toolbar button {
  background: rgba(232, 241, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
}

.wysiwyg-toolbar button:hover {
  background: rgba(95, 180, 255, 0.15);
  color: var(--accent);
}

.wysiwyg-editor {
  min-height: 220px;
  padding: 12px;
  color: var(--text);
}

.wysiwyg-editor:focus {
  outline: 2px solid rgba(95, 180, 255, 0.35);
}

.admin-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

.sidebar {
  padding: 20px;
  border-right: 1px solid var(--border);
  background: radial-gradient(circle at 20% 20%, rgba(95, 180, 255, 0.08), transparent 45%), #0d1a29;
}

.sidebar a {
  display: block;
  padding: 10px;
  border-radius: 8px;
  color: var(--muted);
  margin-bottom: 6px;
}

.sidebar a.active,
.sidebar a:hover {
  background: rgba(95, 180, 255, 0.12);
  color: var(--text);
}

.sidebar-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  margin: 12px 0 4px;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(95, 180, 255, 0.12);
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
}

.admin-version-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  font-size: 12px;
}

.admin-topbar-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-search-fab {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
  position: sticky;
  top: 10px;
  z-index: 15;
}

.search-popover {
  position: relative;
}

.search-popover-panel {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  margin-top: 6px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  display: none;
  min-width: 260px;
  z-index: 20;
}

.search-popover-panel form {
  display: flex;
  gap: 8px;
}

.search-popover-panel input[type="text"] {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #0f1d2e;
  color: var(--text);
}

.flash {
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.flash.success {
  background: rgba(74, 222, 128, 0.08);
  border-color: rgba(74, 222, 128, 0.5);
}

.flash.info {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.5);
}

.flash.error {
  background: rgba(255, 107, 107, 0.08);
  border-color: rgba(255, 107, 107, 0.5);
}

.errors {
  background: rgba(255, 107, 107, 0.08);
  border: 1px solid rgba(255, 107, 107, 0.4);
  padding: 10px 12px;
  border-radius: 10px;
}

.stack {
  display: grid;
  gap: 10px;
}

.faq-search {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.faq-search input[type="text"] {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #0f1d2e;
  color: var(--text);
}

.faq-image-wrap {
  margin: 10px 0;
}

.faq-image {
  max-width: min(600px, 100%);
  width: 100%;
  height: auto;
  border-radius: 10px;
  cursor: zoom-in;
  display: block;
}

.accordion {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  padding: 14px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.accordion-header:hover {
  background: rgba(255, 255, 255, 0.04);
}

.accordion-title {
  margin: 0;
  font-weight: 600;
}

.accordion-icon {
  transition: transform 0.2s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(90deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease, padding 0.2s ease;
  padding: 0 16px;
}

.accordion-item.active .accordion-panel {
  padding: 0 16px 14px;
}

.ticket-calendar {
  display: grid;
  gap: 14px;
}

.month-grid {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 12px;
}

.month-header h4 {
  margin: 0 0 8px;
}

.month-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 6px;
}

.month-cells {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.calendar-list {
  display: none;
  gap: 10px;
}

.calendar-list-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.calendar-list-date {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.calendar-list-dow {
  font-weight: 800;
  min-width: 42px;
  text-transform: uppercase;
}

.calendar-list-day {
  font-weight: 700;
}

.calendar-list-price {
  color: var(--muted);
  font-size: 12px;
}

.calendar-list-times {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.day-cell {
  min-height: 70px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--text);
  text-decoration: none;
  gap: 4px;
  padding: 8px 4px;
}
.day-cell.single-perf {
  cursor: pointer;
}

.day-cell:hover {
  border-color: var(--accent);
}

.day-cell.empty {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--border);
  color: rgba(255,255,255,0.4);
}

.day-cell.past {
  opacity: 0.3;
  pointer-events: none;
}

.grid.cards-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.day-num {
  font-weight: 800;
  font-size: 16px;
}

.day-price {
  color: var(--muted);
  font-size: 13px;
}

.day-times {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.btn.small {
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 8px;
}

.btn.small.available {
  background: var(--accent);
  color: #0b1724;
  border: 1px solid var(--accent);
}

.btn.small.limited {
  background: #f2ba3f;
  border: 1px solid #f2ba3f;
  color: #0b1724;
}

.btn.small.soldout {
  background: var(--danger);
  color: #fff;
  border: 1px solid var(--danger);
}

.btn.small.cancelled {
  background: var(--danger);
  border: 1px solid var(--danger);
  color: #fff;
}

.calendar-key {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.calendar-key-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.calendar-key-item .btn.small {
  width: 14px;
  height: 14px;
  min-width: 14px;
  padding: 0;
  border-radius: 4px;
  font-size: 0;
  pointer-events: none;
}

@media (max-width: 700px) {
  .calendar-grid {
    display: none;
  }
  .calendar-list {
    display: flex;
    flex-direction: column;
  }
  .month-grid {
    padding: 10px;
  }
  .month-weekdays {
    font-size: 12px;
  }
  .month-cells {
    gap: 4px;
  }
  .day-cell {
    min-height: 60px;
    padding: 6px 2px;
  }
  .day-num {
    font-size: 14px;
  }
  .day-price {
    font-size: 12px;
  }
  .day-times {
    gap: 4px;
  }
  .btn.small {
    padding: 4px 8px;
    font-size: 11px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 24px 0 16px;
  }
  .page-hero {
    padding: 20px 14px;
    border-radius: 12px;
  }
  .show-hero {
    min-height: 360px;
    border-radius: 12px;
  }
  .show-hero-inner {
    padding: 24px 16px;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .incursion-hero .show-hero-inner {
    padding-bottom: 28px;
  }
  .grid.cards-2 {
    grid-template-columns: 1fr;
  }
  .month-grid {
    padding: 10px;
  }
  .month-weekdays {
    font-size: 11px;
  }
  .month-cells {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
  }
  .day-cell {
    min-height: 68px;
    padding: 8px 6px;
    font-size: 13px;
  }
  .day-num {
    font-size: 15px;
  }
  .day-price {
    font-size: 12px;
  }
  .day-times {
    gap: 4px;
  }
  .btn.small {
    width: 100%;
    justify-content: center;
  }
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.info-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 10px;
}

.info-icon {
  color: var(--accent);
}

.info-label {
  font-weight: 700;
}

.info-value {
  color: var(--muted);
}

.sticky-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  background: var(--accent);
  color: #0b1724;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sticky-cta:hover {
  text-decoration: none;
}

@media (max-width: 700px) {
  .sticky-cta {
    left: 16px;
    right: auto;
  }
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.people-modal {
  background: #0f1d2e;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  max-width: min(720px, 94vw);
  width: 100%;
  display: grid;
  grid-template-columns: 200px 1fr;
  grid-template-areas:
    "photo text"
    "photo text";
  gap: 18px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  max-height: 85vh;
  color: #f4f7ff;
  --text: #f4f7ff;
  --muted: rgba(255, 255, 255, 0.82);
  --border: rgba(255, 255, 255, 0.32);
}

.people-modal .people-photo-wrap {
  grid-area: photo;
}

.people-modal .people-photo {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.people-modal .people-text {
  grid-area: text;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.people-modal .people-name {
  margin: 0;
}

.people-modal .people-role {
  margin: 0;
  font-weight: 700;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.people-modal .people-role::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.people-modal .people-bio {
  max-height: 50vh;
  overflow: auto;
  padding: 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
}

.people-modal .lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 18px;
  color: var(--text);
  cursor: pointer;
}

@media (max-width: 700px) {
  .people-modal {
    grid-template-columns: 1fr;
    grid-template-areas:
      "photo"
      "text";
    text-align: center;
    max-height: 90vh;
  }
  .people-modal .people-photo {
    margin: 0 auto;
  }
}

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #0f1d2e;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0;
}

.video-block.single-video .single-video-wrapper {
  display: block;
}

.video-block.single-video .video-embed {
  max-width: 100%;
  margin: 0 auto;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.lightbox-backdrop .lightbox-close,
.lightbox-backdrop .lightbox-prev,
.lightbox-backdrop .lightbox-next {
  position: absolute;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 10px 12px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.lightbox-backdrop .lightbox-close:hover,
.lightbox-backdrop .lightbox-prev:hover,
.lightbox-backdrop .lightbox-next:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.04);
}

.lightbox-backdrop .lightbox-close {
  top: 18px;
  right: 18px;
}

.lightbox-backdrop .lightbox-prev {
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-backdrop .lightbox-next {
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-backdrop img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.show-card {
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
  border-radius: var(--radius);
}

.show-card-flag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  background: linear-gradient(135deg, rgba(15, 36, 54, 0.95), rgba(32, 73, 106, 0.95));
  color: #fefefe;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}

/* Sale tag variants for production cards */
.show-card-flag.sale-tag-sold-out {
  background: linear-gradient(135deg, rgba(180, 30, 30, 0.95), rgba(120, 20, 20, 0.95));
}

.show-card-flag.sale-tag-limited {
  background: linear-gradient(135deg, rgba(200, 120, 20, 0.95), rgba(160, 80, 10, 0.95));
}

.show-card-flag.sale-tag-selling-fast {
  background: linear-gradient(135deg, rgba(220, 80, 20, 0.95), rgba(180, 50, 10, 0.95));
}

.show-card-flag.sale-tag-new {
  background: linear-gradient(135deg, rgba(30, 150, 80, 0.95), rgba(20, 110, 60, 0.95));
}

.show-card-flag.sale-tag-last-chance {
  background: linear-gradient(135deg, rgba(140, 50, 140, 0.95), rgba(100, 30, 100, 0.95));
}

/* Sale tag pill variant for production detail page */
.pill.sale-tag {
  font-weight: 700;
}

.pill.sale-tag-sold-out,
.show-hero .pill.sale-tag-sold-out {
  background: rgba(180, 30, 30, 0.9);
  color: #fff;
}

.pill.sale-tag-limited,
.show-hero .pill.sale-tag-limited {
  background: rgba(200, 120, 20, 0.9);
  color: #fff;
}

.pill.sale-tag-selling-fast,
.show-hero .pill.sale-tag-selling-fast {
  background: rgba(220, 80, 20, 0.9);
  color: #fff;
}

.pill.sale-tag-new,
.show-hero .pill.sale-tag-new {
  background: rgba(30, 150, 80, 0.9);
  color: #fff;
}

.pill.sale-tag-last-chance,
.show-hero .pill.sale-tag-last-chance {
  background: rgba(140, 50, 140, 0.9);
  color: #fff;
}

.artist-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.show-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.artist-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.staff-card {
  background: transparent;
  border: none;
  padding: 10px;
  box-shadow: none;
  cursor: pointer;
}

.staff-card:hover {
  box-shadow: none;
  transform: translateY(-2px);
}

.show-card-thumb {
  width: 100%;
  background: linear-gradient(135deg, rgba(95, 180, 255, 0.12), rgba(18, 36, 53, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.show-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.show-card:hover .show-card-thumb img,
.home-card-link:hover .show-card-thumb img {
  transform: scale(1.03);
}

.artist-card__thumb {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(95, 180, 255, 0.12), rgba(18, 36, 53, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
}

.artist-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.artist-card__thumb.is-placeholder {
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.3px;
}

.artist-card__initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.06));
  color: #f3f7ff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.artist-card__body h3 {
  margin: 0;
}

.artist-card__body .meta {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.staff-card .show-card-thumb {
  width: 120px;
  height: 120px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: rgba(10, 24, 38, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.staff-card .show-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.staff-card .show-card-body {
  text-align: center;
  color: #f3f7ff;
}

.bio-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.bio-lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.bio-card {
  background: #0d1a28;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  max-width: 640px;
  width: 100%;
  padding: 18px 18px 12px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.45);
  position: relative;
  color: #e8f2ff;
  max-height: min(90vh, calc(100vh - 3rem));
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.bio-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.bio-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.bio-name {
  color: #fff;
}

.bio-role {
  color: #c8d7ea;
}

.bio-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bio-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #1b2c41, #0f1d2e);
  color: #dfe9f5;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.person-card {
  text-align: center;
  padding: 12px;
}

.person-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  color: inherit;
}

.person-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  filter: grayscale(1);
  transition: filter 0.2s ease;
}

.person-avatar:hover img {
  filter: grayscale(0);
}

.person-name {
  font-weight: 700;
  margin-bottom: 4px;
}

.show-card-thumb.placeholder {
  color: var(--muted);
  font-weight: 600;
}

.show-block {
  margin-bottom: 22px;
}

/* Quote Block - Commercial Styling */
.quote-block-wrapper {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: clamp(16px, 2vw, 24px) clamp(16px, 3vw, 32px);
  margin-bottom: 24px;
  text-align: center;
}

.quote-carousel {
  position: relative;
  min-height: 100px;
}

.quote-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  pointer-events: none;
  gap: 12px;
}

.quote-slide.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.quote-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}

.quote-stars .star {
  font-size: clamp(20px, 3vw, 28px);
  color: #fbbf24;
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
}

.quote-text {
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 500;
  line-height: 1.5;
  color: #fff;
  margin: 0;
  font-style: italic;
  max-width: 800px;
}

.quote-author {
  font-size: clamp(13px, 1.5vw, 15px);
  color: rgba(255, 255, 255, 0.6);
  font-style: normal;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 4px;
}

.quote-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.quote-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.quote-dots button:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

.quote-dots button.active {
  background: var(--accent);
  border-color: var(--accent);
}

.video-embed.single,
.single-video .video-embed {
  aspect-ratio: 16 / 9;
}

.title-overlay { max-width: 420px; width: 100%; height: auto; display: block; }

.title-overlay {
  max-width: 420px;
  width: 100%;
  height: auto;
  display: block;
}

.title-overlay-large {
  max-width: 520px;
}

.perf-list {
  display: grid;
  gap: 12px;
}

.perf-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
}

.perf-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.perf-date {
  font-weight: 700;
}

.perf-actions .btn.small {
  padding: 8px 12px;
}

.venue-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 16px;
  align-items: center;
}

.venue-map img,
.venue-map iframe {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.venue-details h4 {
  margin: 0 0 6px;
  font-size: 20px;
}

@media (max-width: 820px) {
  .venue-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .show-hero-inner {
    grid-template-columns: 1fr;
    padding: 28px 20px;
  }
  .show-hero-thumb {
    max-width: 100%;
  }
  .show-hero {
    min-height: 360px;
  }
}

@media (max-width: 768px) {
  .site-nav {
    display: none;
  }

  .header-ctas {
    display: none;
  }

  .mobile-menu-button {
    display: inline-flex;
    margin-left: auto;
  }

}

@media (max-width: 1100px) {
  .grid.cards-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .grid.cards-3 {
    grid-template-columns: 1fr;
  }
}

.show-hero {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  margin-bottom: 18px;
  min-height: 480px;
  background-size: cover;
  background-position: center;
  background-color: #0d1a29;
  color: #f4f7ff;
  --text: #f4f7ff;
  --muted: rgba(255, 255, 255, 0.85);
  --border: rgba(255, 255, 255, 0.28);
}

.show-hero.no-image {
  background: radial-gradient(circle at 30% 20%, rgba(95, 180, 255, 0.12), rgba(11, 23, 36, 0.95));
}

.show-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 23, 36, 0.82), rgba(11, 23, 36, 0.6));
}

.show-hero-inner {
  position: relative;
  padding: 64px 48px;
  display: grid;
  grid-template-columns: 1.1fr auto;
  gap: 24px;
  align-items: center;
}

.show-hero-text h1 {
  margin: 8px 0;
  font-family: "Gilroy", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.show-hero .meta {
  color: rgba(255, 255, 255, 0.85);
}

.show-hero .chip {
  background: rgba(255, 255, 255, 0.16);
  color: #fefefe;
}

.show-hero .pill {
  background: rgba(255, 255, 255, 0.15);
  color: #fefefe;
}

.show-hero .btn.secondary {
  color: #fefefe;
  border-color: rgba(255, 255, 255, 0.5);
}

.show-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.show-hero-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  overflow: hidden;
  max-width: 380px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.show-hero-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Incursion hero tweaks: lighter image, bottom gradient, text pinned low */

/* ── Venue "Now Showing" banner ─────────────────────────────────────── */
.venue-now-showing {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.10), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 18px;
}
.venue-now-showing-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.92);
}
.venue-now-showing-icon {
  font-size: 0.7rem;
  color: #38bdf8;
}
.venue-now-showing-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.venue-now-showing-item:last-child {
  padding-bottom: 0;
}
.venue-now-showing-thumb {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
}
.venue-now-showing-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.venue-now-showing-details {
  flex: 1;
  min-width: 0;
}
.venue-now-showing-title {
  display: block;
  font-weight: 700;
  color: #f4f7ff;
  text-decoration: none;
  font-size: 1rem;
}
.venue-now-showing-title:hover {
  text-decoration: underline;
}
.venue-now-showing-dates {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 2px;
}
.venue-now-showing-also {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
}
.venue-now-showing-also a {
  color: #38bdf8;
  text-decoration: none;
}
.venue-now-showing-also a:hover {
  text-decoration: underline;
}
.venue-now-showing-btn {
  flex-shrink: 0;
  font-size: 0.8rem;
  padding: 6px 16px;
}
@media (max-width: 600px) {
  .venue-now-showing-item {
    flex-wrap: wrap;
  }
  .venue-now-showing-btn {
    width: 100%;
    text-align: center;
    margin-top: 6px;
  }
}
/* ── End venue now-showing ──────────────────────────────────────────── */

.incursion-hero .show-hero-overlay {
  background: linear-gradient(180deg, rgba(11, 23, 36, 0.15) 30%, rgba(11, 23, 36, 0.75) 100%);
}
.incursion-hero .show-hero-inner {
  align-items: flex-end;
  padding-bottom: 46px;
}

.show-quote {
  margin: 12px 0;
  font-size: 18px;
  line-height: 1.5;
}

.pill {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(95, 180, 255, 0.15);
  color: var(--text);
  margin-right: 8px;
  margin-bottom: 6px;
  font-size: 13px;
}

.site-footer {
  background: #0d1a29;
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding: 32px 0 40px;
  color: var(--muted);
  position: relative;
  overflow: hidden;
}

.footer-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.footer-overlay img {
  max-width: 520px;
  width: 100%;
  height: auto;
}

.footer-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.site-footer h4 {
  margin: 0 0 10px;
  color: var(--text);
  letter-spacing: 0.6px;
  font-size: 13px;
}

:root[data-theme="light"] .site-footer h4,
:root:not([data-theme]) .site-footer h4 {
  color: #ffffff;
}

.site-footer a {
  display: block;
  color: var(--muted);
  padding: 4px 0;
}

.site-footer a:hover {
  color: var(--accent);
}

.theme-toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.footer-meta {
  margin-top: 18px;
  font-size: 13px;
  display: grid;
  gap: 8px;
}

.acknowledgement {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .show-hero-inner {
    grid-template-columns: 1fr;
    padding: 32px 22px;
  }
  .show-hero-thumb {
    max-width: 100%;
  }
}

/* ── Homepage sections ─────────────────────────────────────────────── */

.home-section {
  margin-top: clamp(36px, 6vw, 64px);
}

.home-section h2 {
  margin-bottom: 20px;
  font-family: "Gilroy", "Inter", system-ui, sans-serif;
  letter-spacing: -0.02em;
}

.home-card-link {
  padding: 0;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius);
}

.home-card-body {
  padding: 18px;
}

.home-card-body h3 {
  margin: 0 0 6px;
}

.home-card-body .meta {
  margin: 0 0 10px;
}

.home-card-body .btn {
  margin-top: 4px;
}

/* ── Ticket exchange CTA ───────────────────────────────────────────── */

.ticket-exchange-cta {
  margin: clamp(24px, 4vw, 48px) 0;
}

.ticket-exchange-cta .cta-shell {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.08), transparent 40%),
              linear-gradient(120deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.3);
}

.ticket-exchange-cta .cta-shell h2 {
  margin: 8px 0 6px;
}

.ticket-exchange-cta .cta-shell .meta {
  margin: 0;
}

.ticket-exchange-cta .cta-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  width: fit-content;
}

.ticket-exchange-cta ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

.ticket-exchange-cta li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cfe4ff;
}

.ticket-exchange-cta li::before {
  content: "\2713";
  color: #8dd4ff;
  font-weight: 700;
}

@media (min-width: 720px) {
  .ticket-exchange-cta .cta-shell {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

/* ── Mailing list signup ───────────────────────────────────────────── */

.home-signup-wrap {
  max-width: 700px;
}

.home-signup-main .form-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

/* ── Helper FAB ────────────────────────────────────────────────────── */

.helper-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1100;
  text-align: right;
}

.helper-button {
  background: linear-gradient(135deg, #0d8bff, #6fc3ff);
  color: #0a1220;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 12px 16px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.helper-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.45);
}

.helper-panel {
  position: absolute;
  right: 0;
  bottom: 64px;
  width: min(360px, 90vw);
  background: rgba(13, 26, 40, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  transform-origin: 90% 100%;
  transform: scale(0.96) translateY(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.helper-fab.open .helper-panel {
  visibility: visible;
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.helper-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.helper-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  color: #fff;
  cursor: pointer;
  transition: background 0.15s ease;
}

.helper-close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.helper-list {
  margin: 0 0 12px;
  padding: 0;
  color: #cfe4ff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.helper-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: flex-start;
}

.helper-dot {
  color: #6fc3ff;
  font-size: 1.1em;
  line-height: 1;
  margin-top: 2px;
}

.helper-label {
  font-weight: 700;
  color: #fff;
}

.helper-copy a {
  color: #6fc3ff;
}

.helper-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.helper-links .btn.small {
  border-radius: 999px;
  padding: 8px 12px;
}

@media (max-width: 600px) {
  .helper-fab {
    right: 10px;
    bottom: 10px;
  }
}
