@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  /* Variables */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-cinematic: cubic-bezier(0.22, 1, 0.36, 1);

  /* Dark Theme Colors - SpaceX / Premium */
  --bg-core: #000000;
  --bg-card: #09090b;
  /* Zinc-950 */
  --text-primary: #FFFFFF;
  --text-secondary: #A1A1AA;
  /* Zinc-400 */
  --text-muted: #52525B;
  /* Zinc-600 */

  --border-light: rgba(255, 255, 255, 0.1);
  --border-medium: rgba(255, 255, 255, 0.2);
  --border-active: rgba(255, 255, 255, 0.4);

  /* Accent Colors - Coral/Orange */
  --accent-coral: #E07850;
  --accent-coral-light: #F5A07A;
  --accent-coral-dark: #C85D3D;
  --accent-coral-glow: rgba(224, 120, 80, 0.25);

  /* Glass / Space */
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.03);
}

body {
  background-color: var(--bg-core);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  /* Larger base size */
  line-height: 1.7;
  overflow-x: hidden;
  cursor: default;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
   ======================================== */

/* Base keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

/* Scroll reveal base - elements start hidden */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-cinematic), transform 0.8s var(--ease-cinematic);
}

.reveal-on-scroll[data-reveal="left"] {
  transform: translateX(-50px);
}

.reveal-on-scroll[data-reveal="right"] {
  transform: translateX(50px);
}

.reveal-on-scroll[data-reveal="scale"] {
  transform: scale(0.92);
}

.reveal-on-scroll[data-reveal="slide"] {
  transform: translateY(60px);
}

/* Revealed state */
.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Stagger classes for groups */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* ========================================
   HERO SECTION ANIMATIONS
   ======================================== */

@keyframes heroFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes heroLineExpand {
  from {
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left center;
  }
  to {
    opacity: 1;
    transform: scaleX(1);
    transform-origin: left center;
  }
}

.hero-fade-in {
  opacity: 0;
  animation: heroFadeIn 0.8s var(--ease-cinematic) forwards;
}

.hero-slide-up {
  opacity: 0;
  animation: heroSlideUp 1s var(--ease-cinematic) forwards;
}

.hero-line-expand {
  opacity: 0;
  animation: heroLineExpand 1.2s var(--ease-cinematic) forwards;
}

/* Hero Stagger Delays */
.hero-delay-1 { animation-delay: 0.1s; }
.hero-delay-2 { animation-delay: 0.3s; }
.hero-delay-3 { animation-delay: 0.5s; }
.hero-delay-4 { animation-delay: 0.7s; }
.hero-delay-5 { animation-delay: 0.9s; }
.hero-delay-6 { animation-delay: 1.1s; }

/* Stagger Delays */
.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-500 {
  animation-delay: 0.5s;
}

/* High Contrast Button */
.btn-contrast {
  background-color: #ffffff;
  color: #000000;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.9rem;
  padding: 1rem 2rem;
  border: 1px solid #ffffff;
  transition: all 0.4s var(--ease-cinematic);
}

.btn-contrast:hover {
  background-color: transparent;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

/* Custom Scrollbar - Minimal Dark */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #000000;
}

::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 4px;
  border: 2px solid #000000;
}

::-webkit-scrollbar-thumb:hover {
  background: #3f3f46;
}

/* Premium Utilities */
.glow-primary {
  background: radial-gradient(circle, var(--glow-primary) 0%, rgba(0, 0, 0, 0) 70%);
}

.glow-secondary {
  background: radial-gradient(circle, var(--glow-secondary) 0%, rgba(0, 0, 0, 0) 70%);
}

.glow-accent {
  background: radial-gradient(circle, var(--glow-accent) 0%, rgba(0, 0, 0, 0) 70%);
}

.glass-panel {
  background: rgba(0, 0, 0, 0);
  /* Removed border */
}

.glass-card {
  background: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  /* Subtle hairline */
  box-shadow: none;
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.02);
}

/* Serif Headline Utility */
.font-anthropic {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  letter-spacing: -0.02em;
}

/* Clean Button */
.btn-minimal {
  background: #ffffff;
  color: #000000;
  border-radius: 4px;
  /* Classic radius */
  font-weight: 500;
  transition: opacity 0.2s;
}

.btn-minimal:hover {
  opacity: 0.9;
}

.glass-button {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  transition: all 0.3s var(--ease-out-expo);
}

.glass-button:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

/* Cinematic Animations */
/* Duplicate removed - using single definition above */

/* Stagger Delays */
.delay-100 {
  animation-delay: 100ms;
}

.delay-200 {
  animation-delay: 200ms;
}

.delay-300 {
  animation-delay: 300ms;
}

.delay-400 {
  animation-delay: 400ms;
}

.delay-500 {
  animation-delay: 500ms;
}

/* Glowing Orbs for Depth */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  /* Soften the blur */
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}

.glow-primary {
  background: radial-gradient(circle, var(--glow-primary) 0%, rgba(0, 0, 0, 0) 70%);
}

.glow-secondary {
  background: radial-gradient(circle, var(--glow-secondary) 0%, rgba(0, 0, 0, 0) 70%);
}

/* Text Gradients - Space Theme */
.text-gradient-space {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.15));
}

.text-gradient-gold {
  /* Retained as legacy or secondary warm accent */
  background: linear-gradient(135deg, var(--accent-coral-light) 0%, var(--accent-coral) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Readable Text Utility - Large & Easy to Read */
.text-xl-readable {
  font-family: 'Inter', sans-serif;
  font-size: 1.35rem;
  /* ~21.6px */
  line-height: 1.8;
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

.text-xl-readable strong {
  color: var(--text-primary);
  font-weight: 500;
}

/* SpaceX / Sci-Fi Label */
.label-spacex {
  font-family: 'Michroma', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-left: 1px solid var(--accent-coral);
  padding-left: 12px;
  line-height: 1;
}

/* ========================================
   PREMIUM HERO SECTION STYLES
   ======================================== */

/* Coral Accent Text */
.text-accent {
  color: var(--accent-coral);
}

.text-accent-light {
  color: var(--accent-coral-light);
}

/* Underline Accent - Animated */
.underline-accent {
  position: relative;
  display: inline-block;
}

.underline-accent::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out-expo);
}

.underline-accent:hover::after,
.underline-accent.active::after {
  transform: scaleX(1);
}

/* Section Number Badge */
.section-number {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-coral);
}

.section-number::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--accent-coral);
}

/* Highlighted Text */
.text-highlight {
  background: linear-gradient(135deg, var(--accent-coral) 0%, var(--accent-coral-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Giant Headline Typography - Light Theme */
.headline-giant {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.headline-giant .serif-italic,
.headline-giant em {
  font-style: italic;
  color: var(--accent-coral);
}

/* ========================================
   EDITORIAL TOC LIST STYLES
   ======================================== */

.toc-editorial-list {
  display: flex;
  flex-direction: column;
}

.toc-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  transition: all 0.4s var(--ease-out-expo);
}

.toc-item:first-child {
  border-top: 1px solid var(--border-light);
}

.toc-item:hover {
  padding-left: 16px;
}

.toc-item:hover .toc-number {
  color: var(--accent-coral);
}

.toc-item:hover .toc-title {
  color: var(--accent-coral);
}

.toc-item:hover .toc-arrow {
  opacity: 1;
  transform: translateX(4px);
  color: var(--accent-coral);
}

.toc-number {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  min-width: 24px;
  transition: color 0.3s var(--ease-out-expo);
}

.toc-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.toc-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-primary);
  transition: color 0.3s var(--ease-out-expo);
}

.toc-desc {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--text-secondary);
}

.toc-arrow {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  opacity: 0;
  transition: all 0.3s var(--ease-out-expo);
}

/* Accent Bar Vertical */
.accent-bar {
  width: 3px;
  height: 100%;
  min-height: 60px;
  background: linear-gradient(180deg, var(--accent-coral) 0%, transparent 100%);
  border-radius: 2px;
}

/* TOC Card Styles */
.toc-card {
  background: #ffffff;
  color: #000000;
  border-radius: 8px;
  padding: 24px;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.toc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
}

.toc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.toc-card:hover::before {
  transform: scaleX(1);
}

.toc-card-dark {
  background: #18181b;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.toc-card-dark::before {
  background: var(--accent-coral);
}

.toc-card-dark:hover {
  border-color: var(--accent-coral);
  background: #1f1f22;
}

/* Geometric Decorations */
.geo-line-h {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
}

.geo-line-v {
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
}

.geo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-coral);
}

.geo-corner {
  position: absolute;
  width: 40px;
  height: 40px;
  border-color: rgba(255, 255, 255, 0.1);
  border-style: solid;
  border-width: 0;
}

.geo-corner-tl {
  top: 0;
  left: 0;
  border-top-width: 1px;
  border-left-width: 1px;
}

.geo-corner-tr {
  top: 0;
  right: 0;
  border-top-width: 1px;
  border-right-width: 1px;
}

.geo-corner-bl {
  bottom: 0;
  left: 0;
  border-bottom-width: 1px;
  border-left-width: 1px;
}

.geo-corner-br {
  bottom: 0;
  right: 0;
  border-bottom-width: 1px;
  border-right-width: 1px;
}

/* Floating Orb Accent */
.orb-accent {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-coral-glow) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

/* Hero Stats Grid */
.stat-item {
  text-align: center;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 400;
  color: var(--accent-coral);
  line-height: 1;
}

.stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 8px;
}

/* Animated Reveal Stagger */
.stagger-1 {
  animation-delay: 0.1s;
}

.stagger-2 {
  animation-delay: 0.2s;
}

.stagger-3 {
  animation-delay: 0.3s;
}

.stagger-4 {
  animation-delay: 0.4s;
}

.stagger-5 {
  animation-delay: 0.5s;
}

.stagger-6 {
  animation-delay: 0.6s;
}

.stagger-7 {
  animation-delay: 0.7s;
}

/* Scroll Down Indicator */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: float 3s ease-in-out infinite;
}

.scroll-indicator-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, var(--accent-coral) 0%, transparent 100%);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

/* TOC List Items */
.toc-list-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s var(--ease-out-expo);
  cursor: pointer;
}

.toc-list-item:hover {
  padding-left: 12px;
  border-color: var(--accent-coral);
}

.toc-list-item:hover .toc-list-number {
  color: var(--accent-coral);
}

.toc-list-number {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.3s;
}

.toc-list-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #ffffff;
}

/* Horizontal Divider with Accent */
.divider-accent {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.divider-accent::before,
.divider-accent::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.divider-accent-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-coral);
  border-radius: 50%;
}

/* Fade mask for gradients */
.fade-bottom {
  mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
}

/* Hide scrollbar utility */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}


/* Modal Transitions */
.modal-backdrop-enter {
  opacity: 0;
}

.modal-backdrop-enter-active {
  opacity: 1;
  transition: opacity 0.4s var(--ease-out-expo);
}

.modal-backdrop-exit {
  opacity: 1;
}

.modal-backdrop-exit-active {
  opacity: 0;
  transition: opacity 0.3s var(--ease-in-out-soft);
}

.modal-content-enter {
  opacity: 0;
  transform: scale(0.95) translateY(10px);
}

.modal-content-enter-active {
  opacity: 1;
  transform: scale(1) translateY(0);
  transition: all 0.5s var(--ease-out-expo);
}

.modal-content-exit {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.modal-content-exit-active {
  opacity: 0;
  transform: scale(0.95) translateY(10px);
  transition: all 0.3s var(--ease-in-out-soft);
}

/* ========================================
   INTERACTIVE DESIGN ELEMENTS
   ======================================== */

/* Label Badge (like "THE CONTEXT", "THE DILEMMA" in reference) */
.label-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--text-primary);
  color: var(--bg-core);
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 2px;
}

.label-badge--coral {
  background: var(--accent-coral);
  color: white;
}

.label-badge--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--text-primary);
}

/* Dark Highlight Box (like "The Dilemma" in reference) */
.highlight-box {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  padding: 48px;
  position: relative;
  border-radius: 4px;
}

.highlight-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-coral);
  border-radius: 2px 0 0 2px;
  z-index: 1;
}

.highlight-box h3 {
  color: var(--text-primary);
  font-size: 2rem;
}

.highlight-box em {
  color: var(--accent-coral);
  font-style: italic;
}

/* ========================================
   PROPOSED DIRECTIONS REDESIGN - LIST
   ======================================== */

.directions-list-container {
  display: flex;
  flex-direction: column;
  gap: 2px;
  /* Minimal gap for elegant separators */
}

/* Row Style */
.direction-row {
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-light);
  padding: 40px 0;
  transition: all 0.4s var(--ease-cinematic);
  position: relative;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .direction-row {
    flex-direction: row;
    align-items: baseline;
    gap: 48px;
    padding: 48px 24px;
    border-radius: 8px;
    /* Subtle radius on hover */
  }
}

.direction-row:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(10px);
}

/* Distinct hover accents */
.dir-1:hover {
  border-left: 4px solid #E07850;
  padding-left: 32px;
}

.dir-2:hover {
  border-left: 4px solid #38bdf8;
  padding-left: 32px;
}

.dir-3:hover {
  border-left: 4px solid #a78bfa;
  padding-left: 32px;
}

.dir-4:hover {
  border-left: 4px solid #34d399;
  padding-left: 32px;
}


/* Typography */
.direction-row-number {
  font-family: 'Michroma', sans-serif;
  font-size: 1.5rem;
  color: var(--text-muted);
  min-width: 60px;
  transition: color 0.3s;
}

.direction-row:hover .direction-row-number {
  color: #fff;
}

.direction-row-content {
  flex: 1;
}

.direction-row-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.1;
  transition: color 0.3s;
}

.direction-row:hover .direction-row-title {
  color: #fff;
  /* Keep white for contrast */
}

.dir-1:hover .direction-row-title {
  color: #E07850;
}

.dir-2:hover .direction-row-title {
  color: #38bdf8;
}

.dir-3:hover .direction-row-title {
  color: #a78bfa;
}

.dir-4:hover .direction-row-title {
  color: #34d399;
}

.direction-row-desc {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
  /* Zinc-400 */
  max-width: 800px;
}

.direction-meta {
  display: block;
  margin-top: 16px;
  font-size: 0.9rem;
  color: #fff;
  /* High contrast */
  opacity: 0.6;
  font-style: italic;
  font-family: 'Playfair Display', serif;
}

/* Ensure Parent Background is Dark */
.conclusion-section {
  background-color: #000000 !important;
  /* Force dark background */
  position: relative;
  z-index: 1;
}

/* TOC Card Styles - Dark Premium */
.toc-card {
  background: var(--bg-card);
  color: var(--text-primary);
  border-radius: 8px;
  padding: 24px;
  border: 1px solid var(--border-light);
  transition: all 0.4s var(--ease-cinematic);
  position: relative;
  overflow: hidden;
}

.toc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-cinematic);
}

.toc-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.toc-card:hover::before {
  transform: scaleX(1);
}

.highlight-box em {
  color: var(--accent-coral);
  font-style: italic;
}

/* Style Tabs for Episode 2 */
.style-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.style-tab {
  padding: 10px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1.5px solid var(--border-medium);
  border-radius: 4px;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
}

.style-tab:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.style-tab.active {
  background: var(--text-primary);
  border-color: var(--text-primary);
  color: var(--bg-cream);
}

.style-tab--coral.active {
  background: var(--accent-coral);
  border-color: var(--accent-coral);
  color: white;
}

/* Shotlist Special Layout */
.shotlist-container {
  width: 100%;
  margin: 32px 0;
  padding: 24px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
}

.shotlist-image {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.shotlist-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.shotlist-label::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent-coral);
  border-radius: 50%;
}

/* Style Section Card */
.style-section {
  margin-bottom: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border-light);
}

.style-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.style-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.style-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--text-primary);
}

.style-section-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
}

/* Image Grid for Styles */
.style-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.style-gallery-item {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
}

.style-gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-coral);
}

.style-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s var(--ease-out-expo);
}

.style-gallery-item:hover img {
  transform: scale(1.02);
}

.text-highlight-white {
  background-color: hsla(0, 0%, 100%, 0.1);
  padding: 0.1em 0.3em;
  border-radius: 0.15em;
  color: white;
}

/* Dark Card Variant */
.card-dark {
  background: var(--text-primary);
  color: var(--bg-cream);
  padding: 32px;
  border-radius: 8px;
}

.card-dark h3 {
  color: var(--bg-cream);
}

.card-dark p {
  color: rgba(245, 243, 239, 0.7);
}

.card-dark .accent {
  color: var(--accent-coral);
}

/* Larger Text Classes */
.text-xl-readable {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.text-2xl-readable {
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Interactive Hover Underline */
.hover-underline {
  position: relative;
  display: inline-block;
}

.hover-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-coral);
  transition: width 0.4s var(--ease-out-expo);
}

.hover-underline:hover::after {
  width: 100%;
}

/* ========================================
   CREATIVE SCROLL CAROUSEL - Episode 3
   ======================================== */

/* Full-width scroll container */
.creative-scroll-section {
  position: relative;
  padding: 32px 0;
  overflow: hidden;
}

/* ========================================
   EPISODE 6 - NIGHTMARE GALLERY
   ======================================== */

.ep6-gallery-wrapper {
  position: relative;
}

.ep6-main-view {
  position: relative;
  background: #000;
  cursor: zoom-in;
}

.ep6-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  opacity: 0;
  transition: all 0.3s var(--ease-out-expo);
  z-index: 10;
}

.ep6-nav-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.1);
}

.ep6-main-view:hover .ep6-nav-btn {
  opacity: 1;
}

.ep6-prev {
  left: 20px;
}

.ep6-next {
  right: 20px;
}

.ep6-thumbnails-container {
  overflow-x: auto;
  padding: 4px 0 16px;
  /* Space for scrollbar if needed */
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
}

.ep6-thumbnails-container::-webkit-scrollbar {
  display: none;
}

.ep6-thumbnails-track {
  display: flex;
  gap: 12px;
  justify-content: center;
  min-width: min-content;
}

.ep6-thumb {
  width: 80px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s var(--ease-out-expo);
  opacity: 0.6;
  padding: 0;
  background: transparent;
  flex-shrink: 0;
}

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

.ep6-thumb:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.ep6-thumb.active {
  border-color: var(--accent-coral);
  opacity: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 640px) {
  .ep6-thumbnails-track {
    justify-content: flex-start;
    padding: 0 24px;
  }
}

/* ========================================
   CONCLUSION - EDITORIAL LAYOUT (Light Theme)
   ======================================== */

.conclusion-section {
  background-color: #f9f8f4;
  /* Light beige/off-white from reference */
  color: #1a1a1a;
  padding-top: 120px;
  position: relative;
  z-index: 10;
}

.editorial-header {
  position: relative;
}

.editorial-number {
  font-family: 'Playfair Display', serif;
  font-size: 120px;
  /* Larger as per reference */
  line-height: 0.8;
  color: #e8d0c3;
  /* Soft pastel peach/beige from reference */
  font-weight: 400;
  flex-shrink: 0;
  width: 160px;
  /* Fixed width for alignment */
}

/* Remove hover effect on number */
.direction-block:hover .editorial-number {
  transform: none;
  opacity: 1;
}

.direction-title {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

/* Override for light theme */
.conclusion-section .direction-title {
  color: #ffffff;
  /* Wait, the text in image is white? No it's white on the image but user wants "color contrasts". Ah, existing HTML has text-black classes. I should target them. */
  /* Actually, let's make sure the text color is correct. The HTML uses tailwind classes like text-black. */
  color: #1a1a1a;
  /* Dark text */
  opacity: 0.05;
  /* Faint initial state for title? No, reference shows it clearly. */
  opacity: 1;
}

.direction-title {
  color: #f7f7f7;
  /* Default for dark mode */
}

.conclusion-section .direction-title {
  color: #1a1a1a;
  /* Override for this section */
}


.direction-desc {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #666666;
  /* Grey text */
  max-width: 650px;
  margin-bottom: 0;
}

.directions-list {
  position: relative;
}


/* Responsive adjustments */
@media (max-width: 768px) {
  .editorial-number {
    font-size: 80px;
    width: auto;
    margin-bottom: 16px;
  }

  .conclusion-section {
    padding-top: 80px;
  }
}

/* Reset other styles from previous implementation that are not needed */
.direction-meta,
.direction-line,
.meta-item {
  display: none;
}

/* ========================================
   EPISODE 8 - ALIGNED ROW (Formerly Ep 7)
   ======================================== */

.ep8-aligned-grid {
  padding-bottom: 24px;
  /* Scrollbar hide */
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.ep8-aligned-grid::-webkit-scrollbar {
  display: none;
}

.text-highlight-box-red::before {
  background: rgba(220, 40, 40, 0.15);
  border: 1px solid rgba(220, 40, 40, 0.3);
}

/* ========================================
   EPISODE 7 - SHOTLIST SIDE-BY-SIDE
   ======================================== */

.ep7-text-side {
  position: relative;
  z-index: 2;
}

.ep7-image-side {
  position: relative;
  z-index: 1;
}

.ep8-shotlist-container {
  position: relative;
  padding: 12px;
  background: #fff;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
  transform: rotate(2deg);
  transition: transform 0.4s ease;
  cursor: zoom-in;
  max-width: 100%;
  margin: 0 auto;
}

.ep8-shotlist-container:hover {
  transform: rotate(0deg) scale(1.02);
  z-index: 10;
}

/* "Confidential" Tape Effect */
.shotlist-tape {
  position: absolute;
  top: -12px;
  right: 20%;
  left: auto;
  transform: rotate(-12deg);
  background: rgba(220, 20, 20, 0.9);
  color: white;
  padding: 4px 20px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 10;
  backdrop-filter: blur(4px);
}

.shotlist-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid #e5e5e5;
}

.shotlist-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.shotlist-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ep8-shotlist-container:hover .shotlist-overlay {
  opacity: 1;
}

.icon-zoom {
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  border-radius: 4px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .ep7-chaos-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .chaos-item {
    transform: none !important;
    grid-column: auto !important;
    grid-row: auto !important;
    aspect-ratio: 16/9 !important;
  }
}

/* ========================================
   STYLE TAG - Section Label
   ======================================== */

.style-tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 0;
  border-bottom: 2px solid var(--accent-coral);
  margin-bottom: 24px;
}

.style-tag--light {
  color: rgba(255, 255, 255, 0.7);
  border-bottom-color: var(--accent-coral);
}

/* ========================================
   EPISODE TRANSITION
   ======================================== */

.episode-transition {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 48px 0;
  max-width: 400px;
  margin: 0 auto;
}

.transition-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-medium), var(--accent-coral), var(--border-medium), transparent);
}

.transition-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-coral);
  box-shadow: 0 0 20px rgba(224, 120, 80, 0.4);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(224, 120, 80, 0.4);
  }

  50% {
    transform: scale(1.2);
    box-shadow: 0 0 30px rgba(224, 120, 80, 0.6);
  }
}

/* DARK CAROUSEL VARIANT
   ======================================== */

.scroll-carousel--dark {
  margin: 0;
  padding: 24px 48px;
  flex-wrap: nowrap;
}

.scroll-carousel--dark .carousel-item {
  background: #111;
  border-color: rgba(255, 255, 255, 0.1);
  height: 280px;
  width: auto;
  max-width: none;
}

.scroll-carousel--dark .carousel-item img {
  height: 100%;
  width: auto;
  object-fit: cover;
}

.scroll-carousel--dark .carousel-item:hover {
  border-color: var(--accent-coral);
}

.scroll-carousel--dark::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

.scroll-carousel--dark::-webkit-scrollbar-thumb {
  background: var(--accent-coral);
}

/* Animated Text Header */
.animated-header {
  overflow: hidden;
}

.animated-header .word {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
  animation: wordReveal 0.8s var(--ease-out-expo) forwards;
}

.animated-header .word:nth-child(2) {
  animation-delay: 0.1s;
}

.animated-header .word:nth-child(3) {
  animation-delay: 0.2s;
}

.animated-header .word:nth-child(4) {
  animation-delay: 0.3s;
}

.animated-header .word:nth-child(5) {
  animation-delay: 0.4s;
}

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

/* Highlighted text with coral background */
.text-highlight-box {
  display: inline;
  padding: 4px 12px;
  background: var(--accent-coral);
  color: white;
  font-style: italic;
}

/* Horizontal scroll carousel */
.scroll-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 40px 48px;
  margin: 0 -48px;
  -webkit-overflow-scrolling: touch;
  align-items: center;
}

.scroll-carousel::-webkit-scrollbar {
  height: 4px;
}

.scroll-carousel::-webkit-scrollbar-track {
  background: var(--border-light);
  border-radius: 2px;
}

.scroll-carousel::-webkit-scrollbar-thumb {
  background: var(--accent-coral);
  border-radius: 2px;
}

/* Dark variant for carousel in dark sections */
.scroll-carousel--dark {
  background: transparent;
  padding: 40px 48px 60px;
  margin: 0;
}

.scroll-carousel--dark::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

.scroll-carousel--dark::-webkit-scrollbar-thumb {
  background: var(--accent-coral);
}

.scroll-carousel--dark .carousel-item {
  background: #111;
  border-color: rgba(255, 255, 255, 0.1);
}

.scroll-carousel--dark .carousel-item:hover {
  border-color: var(--accent-coral);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(224, 120, 80, 0.15);
}

/* Carousel Item */
.carousel-item {
  flex: 0 0 auto;
  width: 70vw;
  max-width: 600px;
  scroll-snap-align: center;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  transition: all 0.5s var(--ease-out-expo);
  cursor: pointer;
}

.carousel-item:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15);
  border-color: var(--accent-coral);
}

.carousel-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.8s var(--ease-out-expo);
}

.carousel-item:hover img {
  transform: scale(1.05);
}

/* Dark variant for carousel items in dark sections - Fixed height, variable width */
.carousel-item--dark {
  background: #111;
  border-color: rgba(255, 255, 255, 0.1);
  width: auto;
  max-width: none;
  height: 400px;
  /* Fixed height for alignment */
}

.carousel-item--dark img {
  width: auto;
  height: 100%;
  max-width: none;
}

.carousel-item--dark:hover {
  border-color: var(--accent-coral);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(224, 120, 80, 0.15);
}

.carousel-item--dark:hover img {
  transform: scale(1.02);
  /* Subtle zoom */
}

/* Responsive adjustments for dark carousel */
@media (max-width: 768px) {
  .carousel-item--dark {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .carousel-item--dark {
    height: 250px;
  }
}

/* Carousel Item Overlay */
.carousel-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  color: white;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-out-expo);
}

.carousel-item:hover .carousel-item-overlay {
  opacity: 1;
  transform: translateY(0);
}

.carousel-item-number {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent-coral);
  margin-bottom: 8px;
}

.carousel-item-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 400;
}

/* Scroll Indicators */
.scroll-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.scroll-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-medium);
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
}

.scroll-dot.active,
.scroll-dot:hover {
  background: var(--accent-coral);
  transform: scale(1.3);
}

/* Style Toggle Pills */
.style-pills {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.style-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 2px solid var(--border-medium);
  border-radius: 50px;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
}

.style-pill:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.style-pill.active {
  background: var(--text-primary);
  border-color: var(--text-primary);
  color: var(--bg-cream);
}

.style-pill-icon {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* Floating scroll hint */
.scroll-hint {
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: floatHint 2s ease-in-out infinite;
}

@keyframes floatHint {

  0%,
  100% {
    transform: translateY(-50%) translateX(0);
  }

  50% {
    transform: translateY(-50%) translateX(10px);
  }
}

.scroll-hint svg {
  width: 24px;
  height: 24px;
}

/* Dark section for contrast */
.section-dark {
  background: var(--text-primary);
  color: var(--bg-cream);
  padding: 80px 0;
  margin: 64px 0;
  position: relative;
}

.section-dark::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 40px;
  background: var(--accent-coral);
  z-index: -1;
}

.section-dark h3 {
  color: var(--bg-cream);
}

.section-dark p {
  color: rgba(245, 243, 239, 0.7);
}

.section-dark .accent {
  color: var(--accent-coral);
}

/* ========================================
   REALISM SECTION - Dark Wrapper & Bento Grid
   ======================================== */

/* Full-width dark wrapper */
.realism-dark-wrapper {
  background: #0a0a0a;
  position: relative;
}

.realism-dark-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(255, 255, 255, 0.1) 50%, transparent 90%);
}

.realism-dark-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(255, 255, 255, 0.1) 50%, transparent 90%);
}

/* Header within dark wrapper */
.realism-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
  padding: 0 24px;
}

/* Shotlist Card */
.realism-shotlist-card {
  max-width: 900px;
  margin: 0 auto 48px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
}

.realism-shotlist-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent-coral);
  transform: translateY(-2px);
}

.realism-card-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
}

.realism-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-coral);
  border-radius: 50%;
}

.realism-shotlist-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Full width item */
.bento-item.bento-wide {
  grid-column: span 2;
}

/* Half width items */
.bento-item.bento-half {
  grid-column: span 1;
}

/* Square item - smaller centered */
.bento-item.bento-square {
  grid-column: span 1;
  max-width: 400px;
  justify-self: center;
}

/* When only one item in row, center the square */
@media (min-width: 768px) {
  .bento-item.bento-square:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 400px;
  }
}

/* Bento Item Base Styles */
.bento-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
}

.bento-item:hover {
  border-color: var(--accent-coral);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(224, 120, 80, 0.1);
}

.bento-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s var(--ease-out-expo);
}

.bento-item:hover img {
  transform: scale(1.03);
}

/* Bento Label */
.bento-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s var(--ease-out-expo);
}

.bento-item:hover .bento-label {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {


  .bento-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bento-item.bento-wide,
  .bento-item.bento-half,
  .bento-item.bento-square {
    grid-column: span 1;
    max-width: none;
  }

  .bento-item.bento-square {
    max-width: 100%;
  }
}

/* ========================================
   VERTICAL SCROLL GALLERY
   ======================================== */

.vertical-gallery {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Base Gallery Item */
.vg-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.6s var(--ease-out-expo);
  opacity: 0;
  transform: translateY(40px);
}

.vg-item.animate-reveal {
  opacity: 1;
  transform: translateY(0);
}

.vg-item:hover {
  border-color: var(--accent-coral);
  transform: translateY(-4px) !important;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(224, 120, 80, 0.15);
}

.vg-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.8s var(--ease-out-expo);
}

.vg-item:hover img {
  transform: scale(1.03);
}

/* Two column row */
.vg-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Centered square item */
.vg-centered {
  max-width: 450px;
  margin: 0 auto;
}

/* Overlay with number and title */
.vg-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 32px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  display: flex;
  align-items: flex-end;
  gap: 16px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s var(--ease-out-expo);
}

.vg-item:hover .vg-overlay {
  opacity: 1;
  transform: translateY(0);
}

.vg-number {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-coral);
}

.vg-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .vg-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .vg-centered {
    max-width: 100%;
  }

  .vg-overlay {
    padding: 20px 24px;
  }
}

/* ========================================
   EPISODE 4 - SHOWCASE GRID
   ======================================== */

.ep4-section {
  padding-top: 40px;
}

.ep4-showcase {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Masonry-style Grid */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 16px;
}

/* Showcase Card Base */
.showcase-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #f0f0f0;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all 0.5s var(--ease-out-expo);
}

.showcase-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border-color: var(--accent-coral);
  z-index: 10;
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease-out-expo);
}

.showcase-card:hover img {
  transform: scale(1.05);
}

/* Hero Card - larger, spans 2 columns */
.showcase-card.showcase-hero {
  grid-column: span 2;
}

/* Overlay with number */
.showcase-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out-expo);
}

.showcase-card:hover .showcase-overlay {
  opacity: 1;
}

.showcase-number {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.9);
}

/* Showcase Badge - Text overlay on top of card */
.showcase-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-coral);
  z-index: 5;
  transition: all 0.3s var(--ease-out-expo);
}

.showcase-card:hover .showcase-badge {
  background: var(--accent-coral);
  color: #fff;
  border-color: var(--accent-coral);
}

/* Responsive */
@media (max-width: 900px) {
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-card.showcase-hero {
    grid-column: span 2;
  }
}

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

  .showcase-card.showcase-hero {
    grid-column: span 1;
  }
}

/* ========================================
   EPISODE 4 - SURVEILLANCE CONTROL ROOM
   ======================================== */

/* Stagger Delays - Matching HTML classes */
.stagger-1 {
  animation-delay: 0.1s;
}

.stagger-2 {
  animation-delay: 0.2s;
}

.stagger-3 {
  animation-delay: 0.3s;
}

.stagger-4 {
  animation-delay: 0.4s;
}

.stagger-5 {
  animation-delay: 0.5s;
}

.ep4-surveillance-wrapper {
  background: #050505;
  position: relative;
  overflow: hidden;
}

/* Animated Scan Lines - Subtle */
.surveillance-scanlines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(0deg,
      transparent,
      transparent 3px,
      rgba(0, 0, 0, 0.08) 3px,
      rgba(0, 0, 0, 0.08) 6px);
  pointer-events: none;
  z-index: 10;
  opacity: 0.5;
}

@keyframes scanlineMove {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 0 100px;
  }
}

/* Header */
.surveillance-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
  padding: 0 24px;
  position: relative;
  z-index: 5;
}

.surveillance-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(255, 50, 50, 0.1);
  border: 1px solid rgba(255, 50, 50, 0.3);
  border-radius: 4px;
  margin-bottom: 24px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff3333;
  box-shadow: 0 0 12px #ff3333;
  animation: statusPulse 1.5s ease-in-out infinite;
}

.status-dot--live {
  background: #ff3333;
}

@keyframes statusPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.85);
  }
}

.status-text {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #ff3333;
  text-transform: uppercase;
}

/* Glitch Effect Title */
.surveillance-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.glitch-text {
  position: relative;
  display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.glitch-text::before {
  color: #ff3333;
  z-index: -1;
  animation: glitch1 3s infinite;
}

.glitch-text::after {
  color: #00ffff;
  z-index: -2;
  animation: glitch2 3s infinite;
}

@keyframes glitch1 {

  0%,
  90%,
  100% {
    transform: translate(0);
    opacity: 0;
  }

  91% {
    transform: translate(-3px, 1px);
    opacity: 0.8;
  }

  92% {
    transform: translate(3px, -1px);
    opacity: 0.8;
  }

  93% {
    transform: translate(0);
    opacity: 0;
  }
}

@keyframes glitch2 {

  0%,
  90%,
  100% {
    transform: translate(0);
    opacity: 0;
  }

  91.5% {
    transform: translate(3px, -1px);
    opacity: 0.8;
  }

  92.5% {
    transform: translate(-3px, 1px);
    opacity: 0.8;
  }

  93.5% {
    transform: translate(0);
    opacity: 0;
  }
}

.surveillance-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
  line-height: 1.6;
}

.surveillance-timestamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.timestamp-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.5);
}

.timestamp-value {
  color: #ff3333;
  animation: recBlink 1s ease-in-out infinite;
}

@keyframes recBlink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

/* Bento Grid Layout */
.surveillance-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 5;
  align-items: stretch;
}

/* Feed Cards */
.feed-card {
  position: relative;
  cursor: pointer;
  transition: all 0.5s var(--ease-out-expo);
}

.feed-frame {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #0a0a0a;
  border: 2px solid rgba(255, 255, 255, 0.08);
  transition: all 0.5s var(--ease-out-expo);
}

.feed-card:hover .feed-frame {
  border-color: var(--accent-coral);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(224, 120, 80, 0.15),
    inset 0 0 80px rgba(224, 120, 80, 0.05);
}

.feed-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out-expo);
}

.feed-card:hover img {
  transform: scale(1.05);
}

/* Primary Feed - Large */
.feed-primary {
  grid-column: 1;
  grid-row: 1 / -1;
}

.feed-primary .feed-frame {
  height: 100%;
}

/* Secondary Feeds */
.feed-secondary {
  display: flex;
}

.feed-secondary .feed-frame {
  flex: 1;
  display: flex;
}

/* Feed Overlay */
.feed-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.4s var(--ease-out-expo);
}

.feed-card:hover .feed-overlay {
  opacity: 1;
  transform: translateY(0);
}

.feed-id {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent-coral);
  text-transform: uppercase;
}

.feed-location {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
}

/* Vignette Effect */
.feed-vignette {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.5) 100%);
  pointer-events: none;
}

/* Noise Overlay */
.feed-noise {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* Responsive */
@media (max-width: 1024px) {
  .surveillance-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .feed-primary {
    grid-column: span 2;
    grid-row: span 1;
  }

  .feed-primary .feed-frame {
    min-height: 360px;
  }
}

@media (max-width: 640px) {


  .surveillance-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feed-primary {
    grid-column: span 1;
  }

  .feed-primary .feed-frame {
    min-height: 280px;
  }

  .feed-secondary .feed-frame {
    aspect-ratio: 16/9;
  }

  .surveillance-title {
    font-size: 1.8rem;
    letter-spacing: 0.1em;
  }
}

/* Surveillance Fade Out Transition */
.surveillance-fade-out {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(to bottom,
      transparent 0%,
      rgba(5, 5, 5, 0.3) 30%,
      rgba(5, 5, 5, 0.7) 60%,
      var(--bg-cream) 100%);
  pointer-events: none;
  z-index: 15;
}

/* ========================================
   EPISODE TRANSITION - SMOOTH DIVIDER
   ======================================== */

.episode-transition-smooth {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  position: relative;
}

.transition-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--accent-coral-glow) 0%, transparent 70%);
  filter: blur(60px);
  opacity: 0.5;
  pointer-events: none;
}

.transition-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.transition-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.transition-arrow {
  color: var(--accent-coral);
  opacity: 0.6;
  animation: floatArrow 2s ease-in-out infinite;
}

@keyframes floatArrow {

  0%,
  100% {
    transform: translateY(0);
    opacity: 0.6;
  }

  50% {
    transform: translateY(8px);
    opacity: 1;
  }
}

/* ========================================
   COMING SOON SECTION
   ======================================== */

.coming-soon-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px 80px;
}

.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  margin-bottom: 24px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.coming-soon-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-coral);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

.coming-soon-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.coming-soon-desc {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted);
}

/* ========================================
   CUSTOM UTILITIES & EP6 GALLERY
   ======================================== */

/* Custom Scrollbar Utility */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

/* Episode 6 Custom Gallery */
.ep6-gallery-wrapper {
  width: 100%;
  position: relative;
  user-select: none;
}

.ep6-main-view {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  cursor: zoom-in;
  background: #111;
}

.ep6-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  opacity: 0;
  backdrop-filter: blur(4px);
}

.ep6-main-view:hover .ep6-nav-btn {
  opacity: 1;
}

.ep6-nav-btn:hover {
  background: var(--accent-coral);
  border-color: var(--accent-coral);
  transform: translateY(-50%) scale(1.1);
}

.ep6-prev {
  left: 16px;
}

.ep6-next {
  right: 16px;
}

.ep6-thumbnails-container {
  width: 100%;
  overflow-x: auto;
  padding: 16px 0 4px;
  scrollbar-width: none;
}

.ep6-thumbnails-container::-webkit-scrollbar {
  display: none;
}

.ep6-thumbnails-track {
  display: flex;
  gap: 16px;
}

.ep6-thumb {
  width: 120px;
  aspect-ratio: 16/9;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.5;
  flex-shrink: 0;
  padding: 0;
  background: #111;
}

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

.ep6-thumb:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.ep6-thumb.active {
  opacity: 1;
  border-color: var(--accent-coral);
  box-shadow: 0 0 20px rgba(224, 120, 80, 0.3);
  transform: translateY(-2px);
}

/* Text Highlights Modifiers */
.text-highlight-box.bg-red-800,
.text-highlight-box--red,
.text-highlight-box-red {
  background-color: #991b1b !important;
  color: white;
  font-style: italic;
  display: inline;
  padding: 4px 12px;
}

/* ========================================
   INLINE MODES - FIX FOR GRID LAYOUT
   ======================================== */

.realism-dark-wrapper.inline-mode {
  width: 100%;
  margin: 0;
  margin-top: 32px;
  padding: 32px;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
  left: auto;
  right: auto;
}

.realism-dark-wrapper.inline-mode::before,
.realism-dark-wrapper.inline-mode::after {
  display: none;
}

.ep4-surveillance-wrapper.inline-mode {
  width: 100%;
  margin: 0;
  margin-top: 32px;
  padding: 24px;
  /* Respect border radius from utility classes if present */
  position: relative;
  /* Reset left/right calc */
  margin-left: 0;
  margin-right: 0;
}

/* ========================================
   CAROUSEL UX ENHANCEMENTS
   ======================================== */

.carousel-container {
  position: relative;
  width: 100%;
}

/* Fade mask on the right to indicate more content */
.carousel-fade-mask {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 60px;
  background: linear-gradient(to left, var(--bg-black) 0%, transparent 100%);
  pointer-events: none;
  z-index: 10;
  opacity: 0.8;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* Text hint that pulses */
/* Text hint that pulses */
.carousel-scroll-hint {
  position: absolute;
  bottom: -28px;
  right: 0;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-coral);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 1;
  font-weight: 600;
  animation: hintPulse 2s infinite ease-in-out;
  pointer-events: none;
  text-shadow: 0 0 10px rgba(224, 120, 80, 0.4);
}

@keyframes hintPulse {

  0%,
  100% {
    opacity: 0.7;
    transform: translateX(0);
  }

  50% {
    opacity: 1;
    transform: translateX(5px);
  }
}

/* ========================================
   VARIABLES GRID (BOLD ORANGE)
   ======================================== */

/* ========================================
   ARTISTIC VARIABLES (BLACK ON ORANGE)
   ======================================== */

.matrix-section {
  background-color: #FF7F50;
  /* Vibrant Coral/Orange */
  color: #000000;
  position: relative;
  /* Force Full Width Bleed */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* Typography Overrides for this section */
.matrix-section h3,
.matrix-section h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  color: #000000;
}

/* The Option Pills */
.art-option {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 2px;
  /* Square shape */
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.7);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  /* Smooth easing */
  cursor: pointer;
  user-select: none;
}

.art-option:hover {
  border-color: #000;
  color: #000;
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

/* Active State (Selected Option) */
.art-option.active {
  border-color: #000;
  background: #000;
  color: #fff;
  transform: translateY(0);
}

/* Row Styling */
.artistic-row {
  cursor: default;
}

/* Hover effect on the row is handled via Tailwind classes in HTML 
   (group-hover:pl-4, etc.) but we add smooth easing here globally if needed */
.artistic-row .grid {
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Custom Selection Highlight */
::selection {
  background: #000;
  color: #FF7F50;
}
/* ========================================
   NEW CREATIVE REDESIGN STYLES (ADDED)
   ======================================== */

/* Interactive TOC Card */
.toc-card-interactive {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s var(--ease-cinematic);
    position: relative;
    overflow: hidden;
    margin-bottom: 12px;
}

.toc-card-interactive:hover {
    border-color: rgba(224, 120, 80, 0.4);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    transform: translateX(12px);
    box-shadow: -20px 0 40px -10px rgba(224, 120, 80, 0.15);
}

.toc-card-interactive .toc-number {
    font-family: 'Michroma', sans-serif; /* SpaceX Font */
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.2);
    margin-right: 24px;
    min-width: 30px;
    transition: color 0.4s;
}

.toc-card-interactive:hover .toc-number {
    color: var(--accent-coral);
    text-shadow: 0 0 10px rgba(224, 120, 80, 0.5);
}

/* Use flex-col for content to stack title/desc */
.toc-card-interactive .toc-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.toc-card-interactive .toc-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: white;
    font-weight: 400;
    margin-bottom: 4px;
    transition: color 0.3s;
}

.toc-card-interactive:hover .toc-title {
    color: white; /* Keep white or go accent? White is better for contrast */
}

.toc-card-interactive .toc-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.toc-card-interactive .toc-arrow {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s var(--ease-cinematic);
    color: var(--accent-coral);
    width: 24px;
    height: 24px;
}

.toc-card-interactive:hover .toc-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Guidelines Panels - Redesign */
.guideline-panel {
    background: rgba(15, 15, 18, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 40px;
    height: 100%;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    backdrop-filter: blur(20px);
}

.guideline-panel.focus-panel {
    background: linear-gradient(145deg, rgba(20, 20, 24, 0.8) 0%, rgba(5, 5, 8, 0.9) 100%);
    border: 1px solid rgba(224, 120, 80, 0.15);
    position: relative;
    box-shadow: 0 10px 40px -20px rgba(0,0,0,0.5);
}

.guideline-panel.focus-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-coral), transparent);
    opacity: 0.5;
}

.guideline-panel.focus-panel:hover {
    box-shadow: 0 25px 60px -20px rgba(0, 0, 0, 0.8), 0 0 30px -10px rgba(224, 120, 80, 0.1);
    transform: translateY(-4px);
    border-color: rgba(224, 120, 80, 0.3);
}

.guideline-panel.ignore-panel {
    opacity: 0.6;
    border: 1px dashed rgba(255,255,255,0.1);
    background: transparent;
}
.guideline-panel.ignore-panel:hover {
    opacity: 0.9;
    background: rgba(255,255,255,0.02);
}

.guideline-item {
    display: flex;
    align-items: start;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

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

.icon-box {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
    margin-top: 2px;
}

.icon-box.check {
    background: rgba(224, 120, 80, 0.15);
    color: var(--accent-coral);
    border: 1px solid rgba(224, 120, 80, 0.2);
    box-shadow: 0 0 15px rgba(224, 120, 80, 0.15);
}

.icon-box.cross {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.guidelines-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 8px;
}
.guidelines-subtitle {
     font-family: 'Inter', sans-serif;
     font-size: 0.85rem;
     color: var(--text-secondary);
}

