/* ========================================
   SPREAD THE FLOW — GLOBAL STYLES
   Dark & Fiery design system
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
  --bg: #0a0a0f;
  --surface: #12121a;
  --primary: #C55A00;
  --accent: #00A4C4;
  --text: #f5f5f7;
  --text-muted: #999;
  --ember-glow: rgba(197, 90, 0, 0.3);
  --ember-glow-strong: rgba(197, 90, 0, 0.5);
  --accent-glow: rgba(0, 164, 196, 0.3);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --container: 1140px;
  --gap: clamp(1rem, 3vw, 2rem);
}

/* --- Reset --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}

h4 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* --- Layout --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
}

section {
  padding: clamp(4rem, 8vw, 8rem) 0;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 20px var(--ember-glow);
}

.btn-primary:hover {
  color: #fff;
  box-shadow: 0 0 35px var(--ember-glow-strong);
  transform: scale(1.03);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-secondary:hover {
  color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
  transform: scale(1.03);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(18, 18, 26, 0.95);
  padding: 0.6rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 55px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
}

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

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

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

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

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: right 0.3s ease;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-social-mobile {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-social-mobile a {
    color: var(--text-muted);
    transition: color 0.3s ease;
  }

  .nav-social-mobile a:hover {
    color: var(--primary);
  }
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 15, 0.4) 0%,
    rgba(10, 10, 15, 0.6) 50%,
    rgba(10, 10, 15, 0.95) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 700px;
  padding: 0 var(--gap);
}

.hero-title {
  color: #fff;
  text-shadow: 0 0 60px var(--ember-glow-strong);
  margin-bottom: 1rem;
}

.hero-title span {
  display: inline-block;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(5px); }
}

/* Hero ember canvas overlay */
.hero .ember-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* --- Page Header (inner pages) --- */
.page-header {
  padding: 10rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--ember-glow), transparent 70%);
  pointer-events: none;
}

.page-header h1 {
  position: relative;
  margin-bottom: 1rem;
}

.page-header p {
  position: relative;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* --- Sections --- */
.section-flow {
  position: relative;
  overflow: hidden;
}

.section-flow .streak-canvas,
.section-flow .heat-shimmer-canvas,
.section-flow .aurora-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.section-flow .container {
  position: relative;
  z-index: 1;
}

.flow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.flow-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 40px var(--ember-glow);
}

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

/* --- Event Section --- */
.section-event {
  text-align: center;
}

/* --- CTA Section (venue-facing) --- */
.section-cta {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center bottom, var(--ember-glow), transparent 70%);
  pointer-events: none;
}

.section-cta .container {
  position: relative;
  z-index: 1;
}

.section-cta h2 {
  margin-bottom: 1rem;
}

.section-cta p {
  color: var(--text-muted);
  max-width: 550px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

.section-cta .ember-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* --- Signup Section --- */
.section-signup {
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-signup h2 {
  margin-bottom: 0.5rem;
}

.signup-subtitle {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.signup-form {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 700px;
  margin: 0 auto;
}

.signup-form input {
  flex: 1;
  min-width: 180px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.signup-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--ember-glow);
}

.signup-form input::placeholder {
  color: var(--text-muted);
}

/* --- Venue Cards (Flow Jams) --- */
.venues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.venue-card {
  background: var(--surface);
  border: 1px solid rgba(197, 90, 0, 0.15);
  border-radius: 8px;
  padding: 2rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.venue-card:hover {
  border-color: var(--primary);
  box-shadow: 0 0 25px var(--ember-glow);
  transform: translateY(-4px);
}

.venue-card .venue-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.venue-card .venue-type {
  font-size: 0.75rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 1rem;
}

.venue-card .venue-detail {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.venue-card .venue-detail svg {
  flex-shrink: 0;
  color: var(--accent);
}

/* --- Offerings Grid (Entertainment) --- */
.offerings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.offering-card {
  background: var(--surface);
  border: 1px solid rgba(197, 90, 0, 0.15);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.offering-card:hover {
  border-color: var(--primary);
  box-shadow: 0 0 25px var(--ember-glow);
  transform: translateY(-4px);
}

.offering-card .offering-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.offering-card h3 {
  margin-bottom: 0.5rem;
}

.offering-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- Booking Form --- */
.booking-form {
  background: var(--surface);
  border: 1px solid rgba(197, 90, 0, 0.2);
  border-radius: 8px;
  padding: clamp(2rem, 4vw, 3rem);
  margin-top: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.booking-form h3 {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

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

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--ember-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.booking-form .btn {
  width: 100%;
  margin-top: 0.5rem;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

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

.contact-form .form-group {
  margin-bottom: 1rem;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.contact-info-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

.contact-info-item a {
  color: var(--text);
}

.contact-social {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* --- About Page --- */
.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.founders-photo {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 40px var(--ember-glow);
}

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

.props-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.prop-card {
  background: var(--surface);
  border: 1px solid rgba(197, 90, 0, 0.15);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.prop-card:hover {
  border-color: var(--primary);
  box-shadow: 0 0 20px var(--ember-glow);
}

.prop-card .prop-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.prop-card h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.prop-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.values-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.values-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
}

.values-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--ember-glow);
  flex-shrink: 0;
}

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

/* --- What to Expect --- */
.expect-list {
  list-style: none;
  max-width: 600px;
  margin: 1.5rem auto 0;
}

.expect-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.expect-list li svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- Social Button --- */
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.social-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--ember-glow);
}

/* --- Footer --- */
.footer {
  background: var(--surface);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-logo-img {
  height: 55px;
  width: auto;
  display: block;
  margin: 0 auto;
}

.footer-logo {
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .footer-logo-img {
    margin: 0 auto;
  }

  .footer-tagline {
    text-align: center;
  }
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
  margin-top: 0.25rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav h4 {
  margin-bottom: 0.5rem;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--primary);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact h4 {
  margin-bottom: 0.5rem;
}

.footer-contact a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-contact a:hover {
  color: var(--primary);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* --- Canvas Effects --- */
.ember-canvas,
.streak-canvas,
.heat-shimmer-canvas {
  pointer-events: none;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Heat Shimmer Section --- */
.section-heat {
  position: relative;
  overflow: hidden;
}

.section-heat .heat-shimmer-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.section-heat .container {
  position: relative;
  z-index: 1;
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-scroll {
    animation: none;
    opacity: 0.6;
  }

  .ember-canvas,
  .streak-canvas,
  .heat-shimmer-canvas,
  .aurora-canvas {
    display: none;
  }
}

/* ============================================================
   Upcoming Events list (homepage "Next Up" section)
   ============================================================ */

.event-list {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.event-list-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.event-list-item:first-child {
  border-top: none;
}

.event-list-item--special {
  border-left: 3px solid var(--ember-red, #ff4500);
  padding-left: 1rem;
  background: rgba(255, 69, 0, 0.04);
}

.event-list-when {
  flex: 0 0 7.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.event-list-date {
  font-weight: 600;
  color: var(--text-primary, #fff);
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.event-list-time {
  font-size: 0.85rem;
  color: var(--text-muted, rgba(255, 255, 255, 0.6));
  margin-top: 0.15rem;
}

.event-list-details {
  flex: 0 0 auto;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ember-red, #ff4500);
  text-decoration: none;
  border: 1px solid rgba(255, 69, 0, 0.5);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.event-list-details:hover,
.event-list-details:focus {
  background: var(--ember-red, #ff4500);
  color: #fff;
  border-color: var(--ember-red, #ff4500);
}

.event-list-logo {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  border-radius: 0.375rem;
}

.event-list-where {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.event-list-name {
  font-weight: 600;
  color: var(--text-primary, #fff);
  font-size: 1.05rem;
}

.event-list-location {
  font-size: 0.85rem;
  color: var(--text-muted, rgba(255, 255, 255, 0.6));
  margin-top: 0.15rem;
}

@media (max-width: 600px) {
  .event-list-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .event-list-when {
    flex: none;
  }
}

/* ============================================================
   Flow Jam Detail Pages
   ============================================================ */

/* --- Hero --- */
.flow-jam-hero {
  position: relative;
  min-height: 60vh;
  background-color: var(--surface);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 6rem 0 4rem;
  overflow: hidden;
}

.flow-jam-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 15, 0.55) 0%,
    rgba(10, 10, 15, 0.85) 70%,
    var(--bg) 100%
  );
}

.flow-jam-hero-content {
  position: relative;
  z-index: 1;
  text-align: left;
}

.flow-jam-hero-logo {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.4rem;
}

.flow-jam-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.05;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.flow-jam-hero-when {
  font-size: 1.15rem;
  color: var(--primary);
  font-weight: 600;
  margin: 0 0 0.4rem;
}

.flow-jam-hero-where {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  margin: 0 0 1.75rem;
  font-size: 0.95rem;
}

.flow-jam-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* --- Description prose --- */
.flow-jam-description {
  padding: 4rem 0 2rem;
}

.flow-jam-description .prose {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.7;
}

.flow-jam-description .prose p + p {
  margin-top: 1rem;
}

/* --- Optional whatToExpect intro --- */
.flow-jam-what-to-expect-intro {
  padding: 0 0 2rem;
}

.flow-jam-what-to-expect-intro p {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
  font-size: 1.05rem;
}

/* --- Map --- */
.flow-jam-map {
  padding: 4rem 0;
}

.flow-jam-map-address {
  color: var(--text-muted);
  margin: 0.5rem 0 1.5rem;
}

.flow-jam-map-embed {
  border-radius: 0.5rem;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* --- Gallery --- */
.flow-jam-gallery {
  padding: 4rem 0;
}

.flow-jam-gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 600px) {
  .flow-jam-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .flow-jam-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.flow-jam-gallery-item {
  display: block;
  border-radius: 0.5rem;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface);
}

.flow-jam-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.flow-jam-gallery-item:hover img {
  transform: scale(1.04);
}

/* --- Next jam callout --- */
.flow-jam-next {
  padding: 2rem 0 4rem;
}

.flow-jam-next-card {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
  border: 1px solid rgba(197, 90, 0, 0.4);
  border-radius: 0.75rem;
  background: rgba(197, 90, 0, 0.06);
}

.flow-jam-next-date {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text);
  margin: 0.5rem 0 1.5rem;
}

/* --- Clickable venue card on /flow-jams/ index --- */
.venue-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 0.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.venue-card-link:hover,
.venue-card-link:focus {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(197, 90, 0, 0.18);
}

.venue-card-link .venue-card {
  height: 100%;
}
