/**
 * ═══════════════════════════════════════════════════════════════════════════
 * DEEP DIVE 7.0 x BEER ASIA - Playful Craft Design System
 * ═══════════════════════════════════════════════════════════════════════════
 *
 * Philosophy: Create a FUN, INVITING beer festival experience that blends
 * kinetic maximalism with playful retro-game UI elements. This should feel
 * like a craft beer celebration, not a tech startup or corporate bank.
 *
 * Event: Deep Dive 7.0 - Beer as Culture, Craft & Conversation
 * Dates: 23-25 January 2026
 * Venue: Malaka Spice, Pune
 *
 * Version: 4.7.0 - Performance optimization (images, fonts, meta, contrast)
 * ═══════════════════════════════════════════════════════════════════════════
 */

/* ═══════════════════════════════════════════════════════════════════════════
   GOOGLE FONTS - Permanent Marker (Brush/Hand-Painted Style)
   ═══════════════════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap');

/* ═══════════════════════════════════════════════════════════════════════════
   FOUNDERS GROTESK - Deep Dive Primary Typeface
   ═══════════════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Founders Grotesk';
  src: url('../deep-dive-assets/design/Founders Grotesk/Founders Grotesk - Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Founders Grotesk';
  src: url('../deep-dive-assets/design/Founders Grotesk/Founders Grotesk - Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Founders Grotesk';
  src: url('../deep-dive-assets/design/Founders Grotesk/Founders Grotesk - Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Founders Grotesk';
  src: url('../deep-dive-assets/design/Founders Grotesk/Founders Grotesk - Semibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Founders Grotesk';
  src: url('../deep-dive-assets/design/Founders Grotesk/Founders Grotesk - Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ═══════════════════════════════════════════════════════════════════════════
   DESIGN TOKENS - Brand-Aligned Palette (v3.1)
   Blue Primary, Orange Accent - matching brand assets
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* ─────────────────────────────────────────────────────────────────────────
     DEEP DIVE BRAND COLORS (v3.1 - aligned with visual assets)
     Blue is PRIMARY (logo, neon sign), Orange is ACCENT
     ───────────────────────────────────────────────────────────────────────── */

  /* PRIMARY - Deep Dive Blue (from logo) */
  --dd-blue: #1B5A96;
  --dd-blue-dark: #0F3D6B;
  --dd-blue-glow: #24B3D2;      /* Scooter - neon glow effect */

  /* ACCENT - Crusta Orange (warm accent) */
  --crusta: #F87D3A;
  --crusta-light: #FF9A5C;
  --crusta-dark: #C65D2A;

  /* Atoll - Supporting blue */
  --atoll: #0C4978;
  --atoll-dark: #082F50;

  /* Scooter - Bright cyan (neon effect) */
  --scooter: #24B3D2;
  --scooter-light: #4CC8E5;

  /* Hippie Blue - Muted teal */
  --hippie-blue: #5FA7B0;

  /* Ambient Purple (from venue lighting in photos) */
  --dd-purple: #6B4C7A;

  /* Legacy aliases for compatibility - NOW BLUE PRIMARY */
  --amber: var(--crusta);
  --amber-light: var(--crusta-light);
  --amber-dark: var(--crusta-dark);
  --copper: var(--crusta-dark);

  /* ─────────────────────────────────────────────────────────────────────────
     DARK BACKGROUNDS (Kinetic Maximalism - premium feel)
     ───────────────────────────────────────────────────────────────────────── */
  --night: #0A0A0C;
  --charcoal: #1A1A1E;
  --slate: #2D2D35;
  --steel: #4A4A55;

  /* ─────────────────────────────────────────────────────────────────────────
     LIGHT BACKGROUNDS
     ───────────────────────────────────────────────────────────────────────── */
  --cream: #FAF8F5;
  --paper: #F5F3F0;
  --sand: #E8E4DE;

  /* ─────────────────────────────────────────────────────────────────────────
     SEMANTIC
     ───────────────────────────────────────────────────────────────────────── */
  --success: #2A9D8F;
  --live: #E63946;
  --text-dark: #1A1A1E;
  --text-light: #FAF8F5;
  --text-muted: #5E5E68; /* Darkened from #8A8A95 for WCAG AA contrast (4.5:1+) */

  /* ─────────────────────────────────────────────────────────────────────────
     TYPOGRAPHY
     ───────────────────────────────────────────────────────────────────────── */
  --font-display: 'Founders Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Founders Grotesk', system-ui, -apple-system, sans-serif;
  --font-brush: 'Permanent Marker', cursive; /* Festival poster hand-painted style */

  /* Scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.5rem;
  --text-6xl: clamp(3rem, 8vw, 5rem);

  /* Weights */
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  /* ─────────────────────────────────────────────────────────────────────────
     SPACING
     ───────────────────────────────────────────────────────────────────────── */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* ─────────────────────────────────────────────────────────────────────────
     LAYOUT
     ───────────────────────────────────────────────────────────────────────── */
  --container-max: 1200px;
  --container-narrow: 800px;
  --container-wide: 1400px;

  /* ─────────────────────────────────────────────────────────────────────────
     SHADOWS & GLOW EFFECTS (v3.1 - Blue neon glow)
     ───────────────────────────────────────────────────────────────────────── */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

  /* Chunky 3D shadows for buttons - BLUE PRIMARY */
  --shadow-chunky: 0 6px 0 var(--dd-blue-dark), 0 8px 20px rgba(0,0,0,0.3);
  --shadow-chunky-hover: 0 8px 0 var(--dd-blue-dark), 0 12px 25px rgba(0,0,0,0.35);
  --shadow-chunky-active: 0 2px 0 var(--dd-blue-dark), 0 4px 10px rgba(0,0,0,0.3);

  /* Blue neon glow effects (primary - like the iconic neon sign) */
  --glow-primary: 0 0 20px rgba(36, 179, 210, 0.4);
  --glow-primary-strong: 0 0 30px rgba(36, 179, 210, 0.5);
  --glow-primary-inner: inset 0 0 30px rgba(27, 90, 150, 0.2);

  /* Orange glow (accent - for contrast elements) */
  --glow-accent: 0 0 20px rgba(248, 125, 58, 0.35);
  --glow-accent-strong: 0 0 30px rgba(248, 125, 58, 0.45);

  /* Legacy aliases - now point to blue glow */
  --glow-amber: var(--glow-primary);
  --glow-amber-strong: var(--glow-primary-strong);
  --glow-amber-inner: var(--glow-primary-inner);

  /* ─────────────────────────────────────────────────────────────────────────
     TRANSITIONS (Snappy, not corporate-smooth)
     ───────────────────────────────────────────────────────────────────────── */
  --transition-snap: 100ms ease-out;
  --transition-normal: 200ms ease-out;
  --transition-bounce: 300ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ─────────────────────────────────────────────────────────────────────────
     FESTIVAL POSTER v4.0 - Rotation & Skew System
     ───────────────────────────────────────────────────────────────────────── */
  --rotate-slight: -1.5deg;
  --rotate-medium: -3deg;
  --rotate-heavy: -5deg;
  --rotate-pos-slight: 1.5deg;
  --rotate-pos-medium: 3deg;

  /* Section skews */
  --skew-section: -2deg;
  --skew-section-alt: 2deg;

  /* Texture opacity */
  --texture-opacity: 0.12;

  /* Hand-drawn border simulation */
  --border-rough: 3px solid var(--dd-blue);
}

/* ═══════════════════════════════════════════════════════════════════════════
   BASE RESET
   ═══════════════════════════════════════════════════════════════════════════ */

.dd-page {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-regular);
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.dd-page img {
  max-width: 100%;
  height: auto;
  display: block;
}

.dd-page a {
  color: inherit;
  text-decoration: none;
}

/* Override link color for buttons - ensure proper contrast */
.dd-page a.dd-btn--primary {
  color: #FFFFFF;
}

.dd-page a.dd-btn--secondary {
  color: #FFFFFF;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LAYOUT UTILITIES
   ═══════════════════════════════════════════════════════════════════════════ */

.dd-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

@media (min-width: 768px) {
  .dd-container {
    padding: 0 var(--space-8);
  }
}

.dd-container--narrow {
  max-width: var(--container-narrow);
}

.dd-container--wide {
  max-width: var(--container-wide);
}

.dd-container--full {
  max-width: none;
  padding: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FESTIVAL POSTER v4.0 - Rotation & Angle Utilities
   ═══════════════════════════════════════════════════════════════════════════ */

/* Rotation utilities */
.dd-rotate-1 { transform: rotate(var(--rotate-slight)); }
.dd-rotate-2 { transform: rotate(var(--rotate-medium)); }
.dd-rotate-3 { transform: rotate(var(--rotate-heavy)); }
.dd-rotate-pos-1 { transform: rotate(var(--rotate-pos-slight)); }
.dd-rotate-pos-2 { transform: rotate(var(--rotate-pos-medium)); }

/* Random rotation for cards (nth-child variation) */
.dd-rotate-random > *:nth-child(3n+1) { transform: rotate(-1.5deg); }
.dd-rotate-random > *:nth-child(3n+2) { transform: rotate(2deg); }
.dd-rotate-random > *:nth-child(3n+3) { transform: rotate(-0.5deg); }
.dd-rotate-random > *:nth-child(5n+1) { transform: rotate(1deg); }
.dd-rotate-random > *:nth-child(7n+1) { transform: rotate(-2.5deg); }

/* ═══════════════════════════════════════════════════════════════════════════
   FESTIVAL POSTER v4.0 - Skewed Sections
   ═══════════════════════════════════════════════════════════════════════════ */

.dd-section--skewed {
  position: relative;
  overflow: visible;
}

.dd-section--skewed::before {
  content: '';
  position: absolute;
  top: -40px;
  left: -5%;
  right: -5%;
  height: 80px;
  background: inherit;
  transform: skewY(var(--skew-section));
  z-index: -1;
}

/* Alternate skew direction */
.dd-section--skewed-alt::before {
  transform: skewY(var(--skew-section-alt));
}

/* Bottom skew */
.dd-section--skewed::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -5%;
  right: -5%;
  height: 80px;
  background: inherit;
  transform: skewY(var(--skew-section-alt));
  z-index: -1;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FESTIVAL POSTER v4.0 - Water Texture Overlay
   ═══════════════════════════════════════════════════════════════════════════ */

.dd-texture {
  position: relative;
}

.dd-texture::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../deep-dive-assets/Deep Dive Assets_2.png');
  background-size: cover;
  background-position: center;
  mix-blend-mode: overlay;
  opacity: var(--texture-opacity);
  pointer-events: none;
  z-index: 1;
}

/* Stronger texture */
.dd-texture--strong::before {
  opacity: 0.2;
}

/* Light texture for light sections */
.dd-texture--light::before {
  mix-blend-mode: multiply;
  opacity: 0.08;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FESTIVAL POSTER v4.0 - Splash / Banner Announcements
   ═══════════════════════════════════════════════════════════════════════════ */

.dd-splash {
  display: inline-block;
  padding: var(--space-3) var(--space-6);
  background: var(--crusta);
  color: var(--night);
  font-family: var(--font-brush);
  font-size: var(--text-lg);
  text-transform: uppercase;
  transform: rotate(var(--rotate-medium));
  position: relative;
  /* Rough edge simulation */
  clip-path: polygon(
    2% 5%, 8% 0%, 15% 3%, 25% 0%, 35% 2%, 45% 0%, 55% 3%, 65% 0%, 75% 2%, 85% 0%, 92% 3%, 98% 0%,
    100% 8%, 98% 20%, 100% 35%, 98% 50%, 100% 65%, 98% 80%, 100% 92%,
    98% 100%, 90% 97%, 80% 100%, 70% 98%, 60% 100%, 50% 97%, 40% 100%, 30% 98%, 20% 100%, 10% 97%, 2% 100%,
    0% 92%, 2% 80%, 0% 65%, 2% 50%, 0% 35%, 2% 20%, 0% 8%
  );
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
}

.dd-splash--blue {
  background: var(--dd-blue);
  color: var(--text-light);
}

.dd-splash--large {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
}

/* Splash positioned as floating badge */
.dd-splash--badge {
  position: absolute;
  z-index: 10;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FESTIVAL POSTER v4.0 - Hand-Drawn Border Effect
   ═══════════════════════════════════════════════════════════════════════════ */

.dd-border-rough {
  border: var(--border-rough);
  /* Simulate irregular hand-drawn border with box-shadow */
  box-shadow:
    inset 2px 0 0 -1px var(--dd-blue),
    inset -1px 2px 0 -1px var(--dd-blue),
    inset 0 -2px 0 -1px var(--dd-blue),
    3px 3px 0 var(--slate);
}

/* Tape/sticker corner effect */
.dd-taped {
  position: relative;
}

.dd-taped::before,
.dd-taped::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 15px;
  background: rgba(255, 255, 255, 0.7);
  z-index: 10;
}

.dd-taped::before {
  top: -5px;
  left: 15px;
  transform: rotate(-5deg);
}

.dd-taped::after {
  bottom: -5px;
  right: 15px;
  transform: rotate(3deg);
}

/* ═══════════════════════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════════════════ */

.dd-heading-display {
  font-family: var(--font-display);
  font-size: var(--text-6xl);
  font-weight: var(--font-bold);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.dd-heading-1 {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: var(--font-bold);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.dd-heading-2 {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--font-semibold);
  line-height: 1.2;
}

.dd-heading-3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--font-semibold);
  line-height: 1.3;
}

.dd-heading-4 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--font-medium);
  line-height: 1.4;
}

.dd-body-lg {
  font-size: var(--text-lg);
  line-height: 1.7;
}

.dd-body {
  font-size: var(--text-base);
  line-height: 1.6;
}

.dd-body-sm {
  font-size: var(--text-sm);
  line-height: 1.5;
}

.dd-label {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dd-caption {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════════════════
   BUTTONS - Chunky 3D Retro Style (Playful!)
   ═══════════════════════════════════════════════════════════════════════════ */

.dd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform var(--transition-snap), box-shadow var(--transition-snap);
}

/* Primary - CHUNKY 3D button that "presses" - BLUE */
.dd-btn--primary {
  background: var(--dd-blue);
  color: #FFFFFF;
  border-radius: 0;
  box-shadow: var(--shadow-chunky);
  position: relative;
}

.dd-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-chunky-hover);
  background: var(--dd-blue-glow);
  color: #FFFFFF;
}

.dd-btn--primary:active {
  transform: translateY(4px);
  box-shadow: var(--shadow-chunky-active);
}

.dd-btn--primary:focus-visible {
  outline: 3px solid var(--dd-blue-glow);
  outline-offset: 4px;
}

/* Secondary - Solid orange button */
.dd-btn--secondary {
  background: var(--crusta);
  color: #FFFFFF;
  border: 3px solid var(--crusta);
  border-radius: 0;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 0 var(--crusta-dark);
}

.dd-btn--secondary:hover {
  background: var(--crusta-light);
  color: #FFFFFF;
  border-color: var(--crusta-light);
  box-shadow: 0 6px 0 var(--crusta-dark), var(--glow-accent);
}

.dd-btn--secondary:focus-visible {
  outline: 3px solid var(--crusta-light);
  outline-offset: 4px;
}

/* On light backgrounds */
.dd-btn--secondary-dark {
  color: var(--text-dark);
  border-color: var(--copper);
}

.dd-btn--secondary-dark:hover {
  background: var(--copper);
  color: var(--cream);
}

.dd-btn__icon {
  width: 18px;
  height: 18px;
}

/* Large variant */
.dd-btn--large {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-sm);
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO SECTION - Festival Poster v4.0
   ═══════════════════════════════════════════════════════════════════════════ */

.dd-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--space-20) var(--space-4);
  overflow: hidden;
}

/* Photo Background */
.dd-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.dd-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gradient Overlay */
.dd-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 12, 0.5) 0%,
    rgba(10, 10, 12, 0.65) 50%,
    rgba(10, 10, 12, 0.9) 100%
  );
  z-index: 1;
}

/* Water Texture Overlay - Festival v4.0 */
.dd-hero__texture {
  position: absolute;
  inset: 0;
  background-image: url('../deep-dive-assets/Deep Dive Assets_2.png');
  background-size: cover;
  background-position: center;
  mix-blend-mode: overlay;
  opacity: 0.15;
  z-index: 2;
  pointer-events: none;
}

/* Floating Version Badge - Tilted like Asset 4 */
.dd-hero__version-badge {
  position: absolute;
  top: 15%;
  right: 8%;
  font-family: var(--font-brush);
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--crusta);
  transform: rotate(12deg);
  text-shadow:
    3px 3px 0 var(--night),
    6px 6px 0 rgba(0, 0, 0, 0.3);
  z-index: 5;
  line-height: 1;
}

@media (max-width: 768px) {
  .dd-hero__version-badge {
    top: 10%;
    right: 5%;
    font-size: 2.5rem;
  }
}

/* Hero Content */
.dd-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: var(--container-narrow);
  padding: var(--space-8);
}

/* Single Focused Logo with Blue Neon Glow (like the iconic sign!) */
.dd-hero__logo {
  width: 180px;
  height: 180px;
  margin: 0 auto var(--space-8);
  filter: drop-shadow(0 0 25px rgba(36, 179, 210, 0.5))
          drop-shadow(0 0 50px rgba(36, 179, 210, 0.3));
  animation: float 3s ease-in-out infinite;
}

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

@media (min-width: 768px) {
  .dd-hero__logo {
    width: 220px;
    height: 220px;
  }
}

/* Hero Title */
.dd-hero__title {
  font-family: var(--font-display);
  font-size: var(--text-6xl);
  font-weight: var(--font-bold);
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 var(--space-4);
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Tagline */
.dd-hero__tagline {
  font-size: var(--text-lg);
  font-weight: var(--font-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 var(--space-6);
  text-shadow: 0 0 20px rgba(248, 125, 58, 0.3);
}

@media (min-width: 768px) {
  .dd-hero__tagline {
    font-size: var(--text-xl);
  }
}

/* Event Meta */
.dd-hero__meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-10);
}

@media (min-width: 640px) {
  .dd-hero__meta {
    flex-direction: row;
    justify-content: center;
    gap: var(--space-8);
  }
}

.dd-hero__meta-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  color: var(--text-light);
}

.dd-hero__meta-icon {
  width: 20px;
  height: 20px;
  opacity: 0.8;
}

/* Phase Badge */
.dd-phase-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 0;
  margin-bottom: var(--space-8);
}

.dd-phase-badge--pre {
  background: var(--amber);
  color: var(--night);
}

.dd-phase-badge--live {
  background: var(--live);
  color: var(--cream);
  animation: pulse-badge 2s ease-in-out infinite;
}

.dd-phase-badge--post {
  background: var(--success);
  color: var(--cream);
}

@keyframes pulse-badge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.dd-phase-badge__dot {
  width: 8px;
  height: 8px;
  background: currentColor;
  border-radius: 50%;
}

.dd-phase-badge--live .dd-phase-badge__dot {
  animation: blink-dot 1s steps(1) infinite;
}

@keyframes blink-dot {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* CTA Group */
.dd-hero__cta-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
}

@media (min-width: 640px) {
  .dd-hero__cta-group {
    flex-direction: row;
    justify-content: center;
  }
}

/* Presented By - Simple text credit */
.dd-hero__presented {
  margin-top: var(--space-6);
  font-size: var(--text-sm);
  color: var(--text-light);
  opacity: 0.8;
  letter-spacing: 0.05em;
}

.dd-hero__presented a {
  color: var(--crusta-light);
  text-decoration: none;
  font-weight: var(--font-semibold);
}

.dd-hero__presented a:hover {
  color: var(--crusta);
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════════════════════
   COUNTDOWN TIMER - Festival Poster v4.0 (Rotated Hand-Crafted Boxes)
   ═══════════════════════════════════════════════════════════════════════════ */

.dd-countdown {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-10);
  /* Rotate the entire countdown block */
  transform: rotate(-2deg);
}

@media (min-width: 640px) {
  .dd-countdown {
    gap: var(--space-5);
  }
}

.dd-countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

/* Individual units at slightly different angles */
.dd-countdown__unit:nth-child(1) { transform: rotate(1deg); }
.dd-countdown__unit:nth-child(3) { transform: rotate(-1.5deg); }
.dd-countdown__unit:nth-child(5) { transform: rotate(2deg); }
.dd-countdown__unit:nth-child(7) { transform: rotate(-0.5deg); }

/* Hand-crafted countdown boxes - rough borders */
.dd-countdown__display {
  background: var(--charcoal);
  border: 4px solid var(--dd-blue);
  padding: var(--space-4) var(--space-5);
  min-width: 70px;
  text-align: center;
  position: relative;

  /* Hand-drawn style: irregular box-shadow creates rough edge feel */
  box-shadow:
    inset 0 0 30px rgba(27, 90, 150, 0.2),
    3px 4px 0 var(--dd-blue-dark),
    6px 7px 0 var(--slate),
    -1px -1px 0 var(--dd-blue-glow);

  /* Slight irregular clip for rough edge */
  clip-path: polygon(
    0% 3%, 3% 0%, 97% 0%, 100% 2%,
    100% 98%, 98% 100%, 2% 100%, 0% 97%
  );
}

@media (min-width: 640px) {
  .dd-countdown__display {
    padding: var(--space-5) var(--space-6);
    min-width: 85px;
  }
}

/* Orange numbers - big, bold, hand-painted feel */
.dd-countdown__value {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--crusta);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow:
    2px 2px 0 var(--night),
    0 0 20px rgba(248, 125, 58, 0.5);
}

@media (min-width: 640px) {
  .dd-countdown__value {
    font-size: var(--text-4xl);
  }
}

.dd-countdown__label {
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  opacity: 0.9;
}

/* Rough hand-drawn separator */
.dd-countdown__separator {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--crusta);
  margin-top: var(--space-4);
  text-shadow: 2px 2px 0 var(--night);
  transform: rotate(5deg);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTIONS - Compact v4.6 (20% smaller than v4.5)
   ═══════════════════════════════════════════════════════════════════════════ */

.dd-section {
  padding: var(--space-4) 0;
}

@media (min-width: 768px) {
  .dd-section {
    padding: var(--space-6) 0;
  }
}

/* Light sections */
.dd-section--light {
  background: var(--cream);
  color: var(--text-dark);
}

.dd-section--cream {
  background: var(--paper);
  color: var(--text-dark);
}

/* Dark sections */
.dd-section--dark {
  background: var(--charcoal);
  color: var(--text-light);
}

.dd-section--black {
  background: var(--night);
  color: var(--text-light);
}

/* Section Header - Festival Poster v4.6 (20% smaller) */
.dd-section__header {
  text-align: center;
  margin-bottom: var(--space-3);
}

/* Splash-style section label */
.dd-section__label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--night);
  background: var(--crusta);
  padding: var(--space-2) var(--space-4);
  margin-bottom: var(--space-4);
  transform: rotate(-2deg);
  /* Rough edge */
  clip-path: polygon(
    1% 8%, 5% 0%, 95% 2%, 99% 10%,
    100% 90%, 96% 100%, 4% 98%, 0% 88%
  );
}

.dd-section--dark .dd-section__label {
  background: var(--crusta);
  color: var(--night);
}

.dd-section--light .dd-section__label,
.dd-section--cream .dd-section__label {
  background: var(--dd-blue);
  color: var(--text-light);
}

/* Rotated section titles - v4.6 (20% smaller) */
.dd-section__title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 5vw, var(--text-4xl));
  font-weight: var(--font-bold);
  margin: 0 0 var(--space-2);
  line-height: 1.1;
  transform: rotate(-1deg);
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
}

.dd-section--dark .dd-section__title {
  text-shadow:
    2px 2px 0 var(--night),
    0 0 30px rgba(36, 179, 210, 0.3);
}

.dd-section__description {
  font-size: var(--text-base);
  max-width: 550px;
  margin: 0 auto;
  opacity: 0.85;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ABOUT SECTION - Compact Split Layout v4.5
   ═══════════════════════════════════════════════════════════════════════════ */

.dd-about {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  align-items: center;
}

@media (min-width: 768px) {
  .dd-about {
    grid-template-columns: 3fr 2fr;
    gap: var(--space-6);
  }
}

@media (min-width: 1024px) {
  .dd-about {
    gap: var(--space-8);
  }
}

.dd-about__content {
  order: 2;
}

@media (min-width: 768px) {
  .dd-about__content {
    order: 1;
  }
}

/* About image - compact with brand accent */
.dd-about__image {
  order: 1;
  position: relative;
  border-left: 5px solid var(--dd-blue);
  padding-left: var(--space-3);
}

@media (min-width: 768px) {
  .dd-about__image {
    order: 2;
  }
}

.dd-about__image img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
}

.dd-about__text {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}

.dd-about__text:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .dd-about__text {
    font-size: var(--text-base);
  }
}

/* Day Theme Cards */
.dd-day-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-10);
}

@media (min-width: 640px) {
  .dd-day-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.dd-day-card {
  padding: var(--space-6);
  background: var(--cream);
  border-left: 5px solid var(--dd-blue);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.dd-day-card:hover {
  transform: translateX(8px);
  box-shadow: -8px 0 0 var(--dd-blue-glow), var(--shadow-lg);
}

.dd-day-card__day {
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  color: var(--copper);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-2);
}

.dd-day-card__title {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-2);
}

.dd-day-card__audience {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SCHEDULE - Festival Poster Strip Layout v4.2 (corner day badges)
   ═══════════════════════════════════════════════════════════════════════════ */

/* Day Strip Container - with corner badge */
.dd-day-strip {
  margin-bottom: var(--space-4);
  position: relative;
  padding-left: 0;
}

.dd-day-strip:last-child {
  margin-bottom: 0;
}

/* Day Header - Corner badge style */
.dd-day-strip__header {
  position: absolute;
  top: 0;
  left: 0;
  padding: var(--space-2) var(--space-3);
  text-align: center;
  transform: rotate(-6deg);
  z-index: 10;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.3);
}

@media (min-width: 768px) {
  .dd-day-strip__header {
    left: -10px;
    top: -10px;
  }
}

/* Color variations per day */
.dd-day-strip--friday .dd-day-strip__header {
  background: var(--dd-blue);
}

.dd-day-strip--saturday .dd-day-strip__header {
  background: var(--crusta);
}

.dd-day-strip--sunday .dd-day-strip__header {
  background: var(--hippie-blue);
}

.dd-day-strip__day-name {
  font-family: var(--font-brush);
  font-size: var(--text-lg);
  color: var(--text-light);
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .dd-day-strip__day-name {
    font-size: var(--text-xl);
  }
}

.dd-day-strip--saturday .dd-day-strip__day-name {
  color: var(--night);
}

.dd-day-strip__date {
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--text-light);
  opacity: 0.9;
  display: block;
  margin-top: 2px;
}

.dd-day-strip--saturday .dd-day-strip__date {
  color: var(--night);
}

/* Theme tag - hidden in corner badge mode */
.dd-day-strip__theme {
  display: none;
}

/* Day divider - smaller */
.dd-day-strip__divider {
  height: 12px;
  background: linear-gradient(
    to right,
    var(--charcoal) 0%,
    var(--slate) 25%,
    var(--charcoal) 50%,
    var(--slate) 75%,
    var(--charcoal) 100%
  );
  margin: var(--space-4) 0;
  clip-path: polygon(
    0% 20%, 5% 80%, 10% 30%, 15% 70%, 20% 25%, 25% 75%, 30% 20%, 35% 80%, 40% 30%, 45% 70%, 50% 20%,
    55% 75%, 60% 25%, 65% 80%, 70% 30%, 75% 70%, 80% 25%, 85% 75%, 90% 30%, 95% 80%, 100% 20%,
    100% 100%, 0% 100%
  );
}

/* Sessions wrapper - with padding for corner badge */
.dd-day-strip__sessions {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-top: var(--space-16);
  padding-left: var(--space-2);
}

@media (min-width: 768px) {
  .dd-day-strip__sessions {
    padding-top: var(--space-8);
    padding-left: var(--space-4);
  }
}

/* Random rotation for session cards */
.dd-day-strip__sessions .dd-session:nth-child(3n+1) {
  transform: rotate(-0.5deg);
}
.dd-day-strip__sessions .dd-session:nth-child(3n+2) {
  transform: rotate(0.8deg);
}
.dd-day-strip__sessions .dd-session:nth-child(3n+3) {
  transform: rotate(-1deg);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SCHEDULE SECTION - Legacy Tabs (hidden in v4.0)
   ═══════════════════════════════════════════════════════════════════════════ */

.dd-tabs__list {
  display: flex;
  gap: 2px;
  background: var(--slate);
  padding: 4px;
  margin-bottom: var(--space-8);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.dd-tabs__list::-webkit-scrollbar {
  display: none;
}

.dd-tabs__trigger {
  flex: 1;
  min-width: max-content;
  padding: var(--space-4) var(--space-6);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color var(--transition-snap), background var(--transition-snap);
}

.dd-tabs__trigger:hover {
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.05);
}

.dd-tabs__trigger--active {
  color: var(--text-light);
  background: var(--dd-blue);
}

.dd-tabs__trigger-date {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--font-regular);
  opacity: 0.7;
  margin-top: 4px;
  letter-spacing: 0.05em;
}

.dd-tabs__panel {
  display: none;
}

.dd-tabs__panel--active {
  display: block;
}

/* Day Theme Header */
.dd-day-theme {
  margin-bottom: var(--space-8);
  padding: var(--space-4) var(--space-6);
  background: rgba(27, 90, 150, 0.1);
  border-left: 4px solid var(--dd-blue);
}

.dd-day-theme__label {
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dd-blue-glow);
}

.dd-day-theme__audience {
  font-size: var(--text-sm);
  color: var(--text-light);
  opacity: 0.7;
  margin-top: 4px;
}

/* Session Cards - Slide Effect on Hover */
.dd-sessions {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.dd-session {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-3);
  background: var(--cream);
  color: var(--text-dark);
  border-left: 4px solid var(--dd-blue);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
}

@media (min-width: 768px) {
  .dd-session {
    grid-template-columns: 90px 1fr auto;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    align-items: start;
  }
}

/* Session SLIDE effect on hover */
.dd-session:hover {
  transform: translateX(8px);
  box-shadow: -8px 0 0 var(--dd-blue-glow), var(--shadow-lg);
}

.dd-session--featured {
  background: var(--cream);
  border-left-width: 5px;
  border-left-color: var(--crusta);
  box-shadow: var(--shadow-md);
}

/* Ensure featured session text is always readable */
.dd-session--featured .dd-session__title {
  color: var(--text-dark);
}

.dd-session--featured .dd-session__description {
  color: var(--text-muted);
}

.dd-session__time {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dd-session__time-start {
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  color: var(--dd-blue);
}

.dd-session__time-duration {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.dd-session__content {
  flex: 1;
}

.dd-session__title {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-1);
  line-height: 1.3;
}

.dd-session__description {
  font-size: var(--text-xs);
  color: var(--text-dark);
  opacity: 0.75;
  line-height: 1.5;
  margin-bottom: var(--space-2);
}

.dd-session__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
}

/* Festival v4.4 - Compact session tags with refined colors */
.dd-session__tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 8px;
  font-size: 0.65rem;
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 2px;
}

.dd-session__tag--speaker {
  background: var(--charcoal);
  color: var(--text-light);
  border: none;
}

.dd-session__tag--venue {
  background: var(--dd-blue);
  color: white;
  border: none;
}

.dd-session__tag--free {
  background: var(--success);
  color: white;
  border: none;
}

.dd-session__tag--paid {
  background: var(--crusta-dark);
  color: white;
  border: none;
}

.dd-session__actions {
  display: flex;
  align-items: flex-start;
}

.dd-session__featured-badge {
  font-size: 0.6rem;
  font-weight: var(--font-bold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: white;
  padding: 3px 8px;
  background: var(--crusta);
  border-radius: 2px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BREWERIES SECTION - Compact v4.2 (inline logo cards)
   ═══════════════════════════════════════════════════════════════════════════ */

.dd-breweries {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
}

/* Festival v4.2 - Brewery as compact horizontal card with logo */
.dd-brewery {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: var(--cream);
  border: 3px solid var(--dd-blue);
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;

  /* Chunky shadow for 3D effect */
  box-shadow:
    3px 4px 0 var(--dd-blue-dark),
    -1px -1px 0 rgba(36, 179, 210, 0.3);
}

/* Random scattered rotations */
.dd-brewery:nth-child(1) { transform: rotate(-2deg); }
.dd-brewery:nth-child(2) { transform: rotate(2.5deg); }
.dd-brewery:nth-child(3) { transform: rotate(-1deg); }

/* Alternating border colors for variety */
.dd-brewery:nth-child(2) {
  border-color: var(--crusta);
  box-shadow:
    3px 4px 0 var(--crusta-dark),
    -1px -1px 0 rgba(248, 125, 58, 0.3);
}
.dd-brewery:nth-child(3) {
  border-color: var(--hippie-blue);
}

/* Brewery hover - pop up */
.dd-brewery:hover {
  transform: translateY(-4px) rotate(0deg) scale(1.03);
  z-index: 10;
  box-shadow:
    5px 6px 0 var(--dd-blue-dark),
    var(--glow-primary);
}

/* Brewery logo */
.dd-brewery__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 4px;
  background: white;
  padding: 2px;
}

/* Fallback icon when no logo */
.dd-brewery__icon {
  font-size: 1.5rem;
  line-height: 1;
  min-width: 40px;
  text-align: center;
}

.dd-brewery__info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dd-brewery__name {
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  color: var(--dd-blue-dark);
  line-height: 1.2;
}

.dd-brewery__location {
  font-size: 0.65rem;
  color: var(--text-muted);
}

/* Highlight badge - inline small */
.dd-brewery__highlight {
  font-size: 0.55rem;
  font-weight: var(--font-bold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-light);
  background: var(--crusta);
  padding: 2px 5px;
  margin-top: 2px;
  display: inline-block;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ACTIVITIES SECTION - Ultra Compact v4.2 (tiny sticker chips)
   ═══════════════════════════════════════════════════════════════════════════ */

.dd-activities {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  justify-content: center;
}

/* Festival v4.2 - Activity as tiny inline chips */
.dd-activity {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--charcoal);
  border: 2px solid var(--crusta);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  border-radius: 0;

  /* Small shadow */
  box-shadow: 2px 2px 0 var(--slate);
}

/* Random scattered rotations */
.dd-activity:nth-child(1) { transform: rotate(-2deg); }
.dd-activity:nth-child(2) { transform: rotate(1.5deg); }
.dd-activity:nth-child(3) { transform: rotate(-1deg); }
.dd-activity:nth-child(4) { transform: rotate(2deg); }
.dd-activity:nth-child(5) { transform: rotate(-1.5deg); }
.dd-activity:nth-child(6) { transform: rotate(1deg); }
.dd-activity:nth-child(7) { transform: rotate(-0.5deg); }
.dd-activity:nth-child(8) { transform: rotate(2.5deg); }

/* Alternating border colors */
.dd-activity:nth-child(2n) {
  border-color: var(--dd-blue-glow);
}
.dd-activity:nth-child(3n) {
  border-color: var(--hippie-blue);
}

/* Activity hover - subtle pop */
.dd-activity:hover {
  border-color: var(--crusta);
  background: var(--slate);
  transform: translateY(-3px) rotate(0deg) scale(1.05);
  z-index: 10;
  box-shadow: 3px 4px 0 var(--night), var(--glow-accent);
}

.dd-activity__icon {
  font-size: 1rem;
  line-height: 1;
  transition: transform var(--transition-bounce);
}

/* Activity icon bounce on hover */
.dd-activity:hover .dd-activity__icon {
  transform: scale(1.2);
}

.dd-activity__name {
  font-size: 0.7rem;
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-light);
}

/* Hide description in compact mode */
.dd-activity__description {
  display: none;
}

/* Activity Icon SVG fallback */
.dd-activity__icon svg {
  width: 14px;
  height: 14px;
  color: var(--amber);
}

/* ═══════════════════════════════════════════════════════════════════════════
   GALLERY SECTION - Hover Reveal Effect
   ═══════════════════════════════════════════════════════════════════════════ */

.dd-section--gallery {
  background: var(--paper);
  color: var(--text-dark);
}

.dd-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

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

/* Festival v4.0 - Gallery items with polaroid/scattered photo feel */
.dd-gallery__item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
  border: 4px solid var(--text-light);
  box-shadow:
    4px 5px 0 var(--slate),
    0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all var(--transition-normal);
}

/* Random rotation on gallery items */
.dd-gallery__item:nth-child(3n+1) { transform: rotate(-2deg); }
.dd-gallery__item:nth-child(3n+2) { transform: rotate(1.5deg); }
.dd-gallery__item:nth-child(3n+3) { transform: rotate(-0.5deg); }

.dd-gallery__item:hover {
  transform: rotate(0deg) scale(1.02);
  z-index: 10;
}

.dd-gallery__item--wide {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

/* Gallery image zoom on hover */
.dd-gallery__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease-out;
}

.dd-gallery__item:hover .dd-gallery__image {
  transform: scale(1.05);
}

/* Gallery hover reveal overlay */
.dd-gallery__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 12, 0.9) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: var(--space-6);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease-out;
}

.dd-gallery__item:hover .dd-gallery__overlay {
  opacity: 1;
  transform: translateY(0);
}

.dd-gallery__caption {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ═══════════════════════════════════════════════════════════════════════════
   INFO CARDS - Compact v4.6 (no emojis, tighter spacing)
   ═══════════════════════════════════════════════════════════════════════════ */

.dd-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

@media (min-width: 640px) {
  .dd-info-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2);
  }
}

/* Festival v4.6 - Info cards compact with brand colors, no emojis */
.dd-info-card {
  padding: var(--space-2) var(--space-3);
  background: var(--cream);
  border: 2px solid var(--dd-blue);
  transition: all var(--transition-normal);
  position: relative;

  /* Subtle shadow */
  box-shadow:
    2px 3px 0 var(--dd-blue-dark),
    0 1px 4px rgba(0, 0, 0, 0.06);

  /* Rough edge */
  clip-path: polygon(
    0% 3%, 3% 0%, 97% 1%, 100% 4%,
    99% 96%, 96% 100%, 4% 99%, 0% 95%
  );
}

/* Random rotations for scattered look */
.dd-info-card:nth-child(1) { transform: rotate(-2deg); }
.dd-info-card:nth-child(2) { transform: rotate(1.5deg); }
.dd-info-card:nth-child(3) { transform: rotate(-1deg); }
.dd-info-card:nth-child(4) { transform: rotate(2deg); }
.dd-info-card:nth-child(5) { transform: rotate(-0.5deg); }
.dd-info-card:nth-child(6) { transform: rotate(1deg); }

/* Colored tape variations */
.dd-info-card::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 50px;
  height: 16px;
  background: rgba(248, 125, 58, 0.85);
  z-index: 1;
}

.dd-info-card:nth-child(2n)::before {
  background: rgba(27, 90, 150, 0.85);
  transform: translateX(-50%) rotate(3deg);
}

.dd-info-card:nth-child(3n)::before {
  background: rgba(36, 179, 210, 0.85);
  transform: translateX(-50%) rotate(-1deg);
}

/* Info card hover - lift and straighten */
.dd-info-card:hover {
  transform: translateY(-6px) rotate(0deg) scale(1.02);
  z-index: 10;
  box-shadow:
    6px 8px 0 var(--dd-blue-dark),
    var(--glow-primary-strong);
}

.dd-info-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-1);
  transition: transform var(--transition-bounce);
}

.dd-info-card:hover .dd-info-card__icon {
  transform: scale(1.1) rotate(-3deg);
}

.dd-info-card__icon svg {
  width: 20px;
  height: 20px;
  color: var(--dd-blue);
}

.dd-info-card__title {
  font-family: var(--font-brush);
  font-size: var(--text-sm);
  margin-bottom: var(--space-1);
  color: var(--dd-blue-dark);
}

.dd-info-card__content {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.4;
}

.dd-info-card__content a {
  color: var(--copper);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.dd-info-card__content a:hover {
  color: var(--amber);
}

/* ═══════════════════════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.dd-cta-section {
  position: relative;
  text-align: center;
  padding: var(--space-8) var(--space-4);
  overflow: hidden;
}

@media (min-width: 768px) {
  .dd-cta-section {
    padding: var(--space-10) var(--space-4);
  }
}

.dd-cta-section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.dd-cta-section__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dd-cta-section__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 12, 0.92) 0%,
    rgba(26, 26, 30, 0.88) 100%
  );
  z-index: 1;
}

.dd-cta-section__content {
  position: relative;
  z-index: 2;
}

.dd-cta-section__title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 5vw, var(--text-4xl));
  font-weight: var(--font-bold);
  color: var(--text-light);
  margin-bottom: var(--space-4);
}

.dd-cta-section__description {
  font-size: var(--text-lg);
  color: var(--text-light);
  opacity: 0.8;
  max-width: 500px;
  margin: 0 auto var(--space-10);
}

.dd-cta-section__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
}

@media (min-width: 640px) {
  .dd-cta-section__actions {
    flex-direction: row;
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   LINK STYLES
   ═══════════════════════════════════════════════════════════════════════════ */

.dd-link {
  color: var(--copper);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-snap);
}

.dd-link:hover {
  color: var(--amber);
}

/* ═══════════════════════════════════════════════════════════════════════════
   ACCESSIBILITY
   ═══════════════════════════════════════════════════════════════════════════ */

/* Focus visible states */
.dd-page *:focus-visible {
  outline: 3px solid var(--dd-blue-glow);
  outline-offset: 2px;
}

/* Screen reader only */
.dd-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

/* ═══════════════════════════════════════════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════════════════════════════════════════ */

.dd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  animation: fade-in 0.3s ease-out;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.dd-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 12, 0.95);
}

.dd-lightbox__content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.dd-lightbox__image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

.dd-lightbox__close {
  position: absolute;
  top: -48px;
  right: 0;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: var(--space-2);
  opacity: 0.8;
  transition: opacity var(--transition-snap);
}

.dd-lightbox__close:hover {
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════════════════
   DECORATIVE STAR BURSTS - Festival Poster v4.3
   Orange accent shapes from promotional materials
   ═══════════════════════════════════════════════════════════════════════════ */

/* 4-pointed star burst shape using clip-path */
.dd-starburst {
  position: absolute;
  background: var(--crusta);
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
  pointer-events: none;
  z-index: 4;
}

/* 4-pointed star (more angular, like the promo images) */
.dd-starburst--four {
  clip-path: polygon(
    50% 0%,
    60% 40%,
    100% 50%,
    60% 60%,
    50% 100%,
    40% 60%,
    0% 50%,
    40% 40%
  );
}

/* 8-pointed asterisk burst */
.dd-starburst--asterisk {
  clip-path: polygon(
    50% 0%,
    56% 38%,
    85% 15%,
    62% 44%,
    100% 50%,
    62% 56%,
    85% 85%,
    56% 62%,
    50% 100%,
    44% 62%,
    15% 85%,
    38% 56%,
    0% 50%,
    38% 44%,
    15% 15%,
    44% 38%
  );
}

/* Hero section star bursts */
.dd-hero__starburst {
  z-index: 5;
}

/* Top-left large burst */
.dd-hero__starburst--tl {
  top: 5%;
  left: 3%;
  width: clamp(80px, 15vw, 180px);
  height: clamp(80px, 15vw, 180px);
  transform: rotate(-15deg);
  opacity: 0.95;
}

/* Top-right small burst */
.dd-hero__starburst--tr {
  top: 12%;
  right: 18%;
  width: clamp(40px, 8vw, 80px);
  height: clamp(40px, 8vw, 80px);
  transform: rotate(25deg);
  opacity: 0.9;
}

/* Bottom-left burst */
.dd-hero__starburst--bl {
  bottom: 20%;
  left: 5%;
  width: clamp(50px, 10vw, 100px);
  height: clamp(50px, 10vw, 100px);
  transform: rotate(-30deg);
  opacity: 0.85;
}

/* Smaller accent bursts (scattered) */
.dd-starburst--small {
  width: 30px;
  height: 30px;
}

.dd-starburst--medium {
  width: 60px;
  height: 60px;
}

.dd-starburst--large {
  width: 120px;
  height: 120px;
}

/* Section accent stars */
.dd-section__starburst {
  z-index: 2;
}

/* Organizer badge in hero */
.dd-organizer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-8);
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.95);
  border: 3px solid var(--night);
  box-shadow: 4px 5px 0 rgba(0, 0, 0, 0.3);
  transform: rotate(-1deg);
}

.dd-organizer__label {
  font-family: var(--font-brush);
  font-size: var(--text-sm);
  color: var(--text-dark);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dd-organizer__logo {
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .dd-organizer__logo {
    height: 50px;
    max-width: 200px;
  }
}

/* Brewery card with logo (Great State feature) */
.dd-brewery--organizer {
  background: var(--night);
  border-color: var(--crusta);
  padding: var(--space-4);
}

.dd-brewery--organizer .dd-brewery__info {
  color: var(--text-light);
}

.dd-brewery--organizer .dd-brewery__name {
  color: var(--text-light);
}

.dd-brewery--organizer .dd-brewery__location {
  color: var(--text-muted);
}

.dd-brewery--organizer .dd-brewery__logo {
  width: 60px;
  height: 60px;
  padding: 4px;
  background: white;
}

/* Animation for star bursts */
@keyframes starburst-pulse {
  0%, 100% {
    transform: scale(1) rotate(var(--burst-rotate, 0deg));
  }
  50% {
    transform: scale(1.05) rotate(var(--burst-rotate, 0deg));
  }
}

.dd-starburst--animated {
  animation: starburst-pulse 4s ease-in-out infinite;
}

.dd-hero__starburst--tl {
  --burst-rotate: -15deg;
  animation: starburst-pulse 5s ease-in-out infinite;
}

.dd-hero__starburst--tr {
  --burst-rotate: 25deg;
  animation: starburst-pulse 4s ease-in-out infinite 0.5s;
}

.dd-hero__starburst--bl {
  --burst-rotate: -30deg;
  animation: starburst-pulse 6s ease-in-out infinite 1s;
}

/* Hide some bursts on mobile for cleaner look */
@media (max-width: 640px) {
  .dd-hero__starburst--tr,
  .dd-hero__starburst--bl {
    display: none;
  }

  .dd-hero__starburst--tl {
    width: 60px;
    height: 60px;
  }
}
